~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to debian/patches/86_float_ppc.dpatch

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-11-28 03:03:42 UTC
  • mfrom: (8.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20121128030342-21zanj8354gas5gr
Tags: 8.20-3ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Make 'uname -i -p' return the real processor/hardware, instead of
    unknown.
  - Build-depend on gettext:any instead of on gettext, so that apt-get can
    properly resolve build-dependencies on the tool when cross-building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh /usr/share/dpatch/dpatch-run
2
 
## 86_float_ppc.dpatch by  <mstone@annuminas.home.mathom.us>
3
 
##
4
 
## All lines beginning with `## DP:' are a description of the patch.
5
 
## DP: No description.
6
 
 
7
 
@DPATCH@
8
 
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' coreutils-8.13~/autom4te.cache/output.0 coreutils-8.13/autom4te.cache/output.0
9
 
--- coreutils-8.13~/autom4te.cache/output.0     1969-12-31 19:00:00.000000000 -0500
10
 
+++ coreutils-8.13/autom4te.cache/output.0      2011-10-01 12:40:37.008925289 -0400
11
 
@@ -0,0 +1,61789 @@
12
 
+@%:@! /bin/sh
13
 
+@%:@ Guess values for system-dependent variables and create Makefiles.
14
 
+@%:@ Generated by GNU Autoconf 2.68 for GNU coreutils 8.13.
15
 
+@%:@
16
 
+@%:@ Report bugs to <bug-coreutils@gnu.org>.
17
 
+@%:@ 
18
 
+@%:@ 
19
 
+@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
20
 
+@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
21
 
+@%:@ Foundation, Inc.
22
 
+@%:@ 
23
 
+@%:@ 
24
 
+@%:@ This configure script is free software; the Free Software Foundation
25
 
+@%:@ gives unlimited permission to copy, distribute and modify it.
26
 
+## -------------------- ##
27
 
+## M4sh Initialization. ##
28
 
+## -------------------- ##
29
 
+
30
 
+# Be more Bourne compatible
31
 
+DUALCASE=1; export DUALCASE # for MKS sh
32
 
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
33
 
+  emulate sh
34
 
+  NULLCMD=:
35
 
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
36
 
+  # is contrary to our usage.  Disable this feature.
37
 
+  alias -g '${1+"$@"}'='"$@"'
38
 
+  setopt NO_GLOB_SUBST
39
 
+else
40
 
+  case `(set -o) 2>/dev/null` in @%:@(
41
 
+  *posix*) :
42
 
+    set -o posix ;; @%:@(
43
 
+  *) :
44
 
+     ;;
45
 
+esac
46
 
+fi
47
 
+
48
 
+
49
 
+as_nl='
50
 
+'
51
 
+export as_nl
52
 
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
53
 
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
54
 
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
55
 
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
56
 
+# Prefer a ksh shell builtin over an external printf program on Solaris,
57
 
+# but without wasting forks for bash or zsh.
58
 
+if test -z "$BASH_VERSION$ZSH_VERSION" \
59
 
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
60
 
+  as_echo='print -r --'
61
 
+  as_echo_n='print -rn --'
62
 
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
63
 
+  as_echo='printf %s\n'
64
 
+  as_echo_n='printf %s'
65
 
+else
66
 
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
67
 
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
68
 
+    as_echo_n='/usr/ucb/echo -n'
69
 
+  else
70
 
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
71
 
+    as_echo_n_body='eval
72
 
+      arg=$1;
73
 
+      case $arg in @%:@(
74
 
+      *"$as_nl"*)
75
 
+       expr "X$arg" : "X\\(.*\\)$as_nl";
76
 
+       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
77
 
+      esac;
78
 
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79
 
+    '
80
 
+    export as_echo_n_body
81
 
+    as_echo_n='sh -c $as_echo_n_body as_echo'
82
 
+  fi
83
 
+  export as_echo_body
84
 
+  as_echo='sh -c $as_echo_body as_echo'
85
 
+fi
86
 
+
87
 
+# The user is always right.
88
 
+if test "${PATH_SEPARATOR+set}" != set; then
89
 
+  PATH_SEPARATOR=:
90
 
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
91
 
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
92
 
+      PATH_SEPARATOR=';'
93
 
+  }
94
 
+fi
95
 
+
96
 
+
97
 
+# IFS
98
 
+# We need space, tab and new line, in precisely that order.  Quoting is
99
 
+# there to prevent editors from complaining about space-tab.
100
 
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
101
 
+# splitting by setting IFS to empty value.)
102
 
+IFS=" ""       $as_nl"
103
 
+
104
 
+# Find who we are.  Look in the path if we contain no directory separator.
105
 
+as_myself=
106
 
+case $0 in @%:@((
107
 
+  *[\\/]* ) as_myself=$0 ;;
108
 
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109
 
+for as_dir in $PATH
110
 
+do
111
 
+  IFS=$as_save_IFS
112
 
+  test -z "$as_dir" && as_dir=.
113
 
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
114
 
+  done
115
 
+IFS=$as_save_IFS
116
 
+
117
 
+     ;;
118
 
+esac
119
 
+# We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
+# in which case we are not to be found in the path.
121
 
+if test "x$as_myself" = x; then
122
 
+  as_myself=$0
123
 
+fi
124
 
+if test ! -f "$as_myself"; then
125
 
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
126
 
+  exit 1
127
 
+fi
128
 
+
129
 
+# Unset variables that we do not need and which cause bugs (e.g. in
130
 
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
131
 
+# suppresses any "Segmentation fault" message there.  '((' could
132
 
+# trigger a bug in pdksh 5.2.14.
133
 
+for as_var in BASH_ENV ENV MAIL MAILPATH
134
 
+do eval test x\${$as_var+set} = xset \
135
 
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136
 
+done
137
 
+PS1='$ '
138
 
+PS2='> '
139
 
+PS4='+ '
140
 
+
141
 
+# NLS nuisances.
142
 
+LC_ALL=C
143
 
+export LC_ALL
144
 
+LANGUAGE=C
145
 
+export LANGUAGE
146
 
+
147
 
+# CDPATH.
148
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
149
 
+
150
 
+if test "x$CONFIG_SHELL" = x; then
151
 
+  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
152
 
+  emulate sh
153
 
+  NULLCMD=:
154
 
+  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
155
 
+  # is contrary to our usage.  Disable this feature.
156
 
+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
157
 
+  setopt NO_GLOB_SUBST
158
 
+else
159
 
+  case \`(set -o) 2>/dev/null\` in @%:@(
160
 
+  *posix*) :
161
 
+    set -o posix ;; @%:@(
162
 
+  *) :
163
 
+     ;;
164
 
+esac
165
 
+fi
166
 
+"
167
 
+  as_required="as_fn_return () { (exit \$1); }
168
 
+as_fn_success () { as_fn_return 0; }
169
 
+as_fn_failure () { as_fn_return 1; }
170
 
+as_fn_ret_success () { return 0; }
171
 
+as_fn_ret_failure () { return 1; }
172
 
+
173
 
+exitcode=0
174
 
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
175
 
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
176
 
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
177
 
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
178
 
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
179
 
+  
180
 
+else
181
 
+  exitcode=1; echo positional parameters were not saved.
182
 
+fi
183
 
+test x\$exitcode = x0 || exit 1"
184
 
+  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
185
 
+  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
186
 
+  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
187
 
+  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
188
 
+test \$(( 1 + 1 )) = 2 || exit 1"
189
 
+  if (eval "$as_required") 2>/dev/null; then :
190
 
+  as_have_required=yes
191
 
+else
192
 
+  as_have_required=no
193
 
+fi
194
 
+  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
195
 
+  
196
 
+else
197
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198
 
+as_found=false
199
 
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200
 
+do
201
 
+  IFS=$as_save_IFS
202
 
+  test -z "$as_dir" && as_dir=.
203
 
+  as_found=:
204
 
+  case $as_dir in @%:@(
205
 
+        /*)
206
 
+          for as_base in sh bash ksh sh5; do
207
 
+            # Try only shells that exist, to save several forks.
208
 
+            as_shell=$as_dir/$as_base
209
 
+            if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
210
 
+                   { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
211
 
+  CONFIG_SHELL=$as_shell as_have_required=yes
212
 
+                  if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
213
 
+  break 2
214
 
+fi
215
 
+fi
216
 
+          done;;
217
 
+       esac
218
 
+  as_found=false
219
 
+done
220
 
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
221
 
+             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
222
 
+  CONFIG_SHELL=$SHELL as_have_required=yes
223
 
+fi; }
224
 
+IFS=$as_save_IFS
225
 
+
226
 
+
227
 
+      if test "x$CONFIG_SHELL" != x; then :
228
 
+  # We cannot yet assume a decent shell, so we have to provide a
229
 
+       # neutralization value for shells without unset; and this also
230
 
+       # works around shells that cannot unset nonexistent variables.
231
 
+       # Preserve -v and -x to the replacement shell.
232
 
+       BASH_ENV=/dev/null
233
 
+       ENV=/dev/null
234
 
+       (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
235
 
+       export CONFIG_SHELL
236
 
+       case $- in @%:@ ((((
237
 
+         *v*x* | *x*v* ) as_opts=-vx ;;
238
 
+         *v* ) as_opts=-v ;;
239
 
+         *x* ) as_opts=-x ;;
240
 
+         * ) as_opts= ;;
241
 
+       esac
242
 
+       exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
243
 
+fi
244
 
+
245
 
+    if test x$as_have_required = xno; then :
246
 
+  $as_echo "$0: This script requires a shell more modern than all"
247
 
+  $as_echo "$0: the shells that I found on your system."
248
 
+  if test x${ZSH_VERSION+set} = xset ; then
249
 
+    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
250
 
+    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
251
 
+  else
252
 
+    $as_echo "$0: Please tell bug-autoconf@gnu.org and
253
 
+$0: bug-coreutils@gnu.org about your system, including any
254
 
+$0: error possibly output before this message. Then install
255
 
+$0: a modern shell, or manually run the script under such a
256
 
+$0: shell if you do have one."
257
 
+  fi
258
 
+  exit 1
259
 
+fi
260
 
+fi
261
 
+fi
262
 
+SHELL=${CONFIG_SHELL-/bin/sh}
263
 
+export SHELL
264
 
+# Unset more variables known to interfere with behavior of common tools.
265
 
+CLICOLOR_FORCE= GREP_OPTIONS=
266
 
+unset CLICOLOR_FORCE GREP_OPTIONS
267
 
+
268
 
+## --------------------- ##
269
 
+## M4sh Shell Functions. ##
270
 
+## --------------------- ##
271
 
+@%:@ as_fn_unset VAR
272
 
+@%:@ ---------------
273
 
+@%:@ Portably unset VAR.
274
 
+as_fn_unset ()
275
 
+{
276
 
+  { eval $1=; unset $1;}
277
 
+}
278
 
+as_unset=as_fn_unset
279
 
+
280
 
+@%:@ as_fn_set_status STATUS
281
 
+@%:@ -----------------------
282
 
+@%:@ Set @S|@? to STATUS, without forking.
283
 
+as_fn_set_status ()
284
 
+{
285
 
+  return $1
286
 
+} @%:@ as_fn_set_status
287
 
+
288
 
+@%:@ as_fn_exit STATUS
289
 
+@%:@ -----------------
290
 
+@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
291
 
+as_fn_exit ()
292
 
+{
293
 
+  set +e
294
 
+  as_fn_set_status $1
295
 
+  exit $1
296
 
+} @%:@ as_fn_exit
297
 
+
298
 
+@%:@ as_fn_mkdir_p
299
 
+@%:@ -------------
300
 
+@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
301
 
+as_fn_mkdir_p ()
302
 
+{
303
 
+
304
 
+  case $as_dir in #(
305
 
+  -*) as_dir=./$as_dir;;
306
 
+  esac
307
 
+  test -d "$as_dir" || eval $as_mkdir_p || {
308
 
+    as_dirs=
309
 
+    while :; do
310
 
+      case $as_dir in #(
311
 
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312
 
+      *) as_qdir=$as_dir;;
313
 
+      esac
314
 
+      as_dirs="'$as_qdir' $as_dirs"
315
 
+      as_dir=`$as_dirname -- "$as_dir" ||
316
 
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
317
 
+        X"$as_dir" : 'X\(//\)[^/]' \| \
318
 
+        X"$as_dir" : 'X\(//\)$' \| \
319
 
+        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
320
 
+$as_echo X"$as_dir" |
321
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322
 
+           s//\1/
323
 
+           q
324
 
+         }
325
 
+         /^X\(\/\/\)[^/].*/{
326
 
+           s//\1/
327
 
+           q
328
 
+         }
329
 
+         /^X\(\/\/\)$/{
330
 
+           s//\1/
331
 
+           q
332
 
+         }
333
 
+         /^X\(\/\).*/{
334
 
+           s//\1/
335
 
+           q
336
 
+         }
337
 
+         s/.*/./; q'`
338
 
+      test -d "$as_dir" && break
339
 
+    done
340
 
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
341
 
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342
 
+
343
 
+
344
 
+} @%:@ as_fn_mkdir_p
345
 
+@%:@ as_fn_append VAR VALUE
346
 
+@%:@ ----------------------
347
 
+@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
348
 
+@%:@ advantage of any shell optimizations that allow amortized linear growth over
349
 
+@%:@ repeated appends, instead of the typical quadratic growth present in naive
350
 
+@%:@ implementations.
351
 
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
352
 
+  eval 'as_fn_append ()
353
 
+  {
354
 
+    eval $1+=\$2
355
 
+  }'
356
 
+else
357
 
+  as_fn_append ()
358
 
+  {
359
 
+    eval $1=\$$1\$2
360
 
+  }
361
 
+fi # as_fn_append
362
 
+
363
 
+@%:@ as_fn_arith ARG...
364
 
+@%:@ ------------------
365
 
+@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
366
 
+@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
367
 
+@%:@ must be portable across @S|@(()) and expr.
368
 
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
369
 
+  eval 'as_fn_arith ()
370
 
+  {
371
 
+    as_val=$(( $* ))
372
 
+  }'
373
 
+else
374
 
+  as_fn_arith ()
375
 
+  {
376
 
+    as_val=`expr "$@" || test $? -eq 1`
377
 
+  }
378
 
+fi # as_fn_arith
379
 
+
380
 
+
381
 
+@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
382
 
+@%:@ ----------------------------------------
383
 
+@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
384
 
+@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
385
 
+@%:@ script with STATUS, using 1 if that was 0.
386
 
+as_fn_error ()
387
 
+{
388
 
+  as_status=$1; test $as_status -eq 0 && as_status=1
389
 
+  if test "$4"; then
390
 
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
391
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
392
 
+  fi
393
 
+  $as_echo "$as_me: error: $2" >&2
394
 
+  as_fn_exit $as_status
395
 
+} @%:@ as_fn_error
396
 
+
397
 
+if expr a : '\(a\)' >/dev/null 2>&1 &&
398
 
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
399
 
+  as_expr=expr
400
 
+else
401
 
+  as_expr=false
402
 
+fi
403
 
+
404
 
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
405
 
+  as_basename=basename
406
 
+else
407
 
+  as_basename=false
408
 
+fi
409
 
+
410
 
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
411
 
+  as_dirname=dirname
412
 
+else
413
 
+  as_dirname=false
414
 
+fi
415
 
+
416
 
+as_me=`$as_basename -- "$0" ||
417
 
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
418
 
+        X"$0" : 'X\(//\)$' \| \
419
 
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
420
 
+$as_echo X/"$0" |
421
 
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
422
 
+           s//\1/
423
 
+           q
424
 
+         }
425
 
+         /^X\/\(\/\/\)$/{
426
 
+           s//\1/
427
 
+           q
428
 
+         }
429
 
+         /^X\/\(\/\).*/{
430
 
+           s//\1/
431
 
+           q
432
 
+         }
433
 
+         s/.*/./; q'`
434
 
+
435
 
+# Avoid depending upon Character Ranges.
436
 
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
437
 
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
438
 
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
439
 
+as_cr_digits='0123456789'
440
 
+as_cr_alnum=$as_cr_Letters$as_cr_digits
441
 
+
442
 
+
443
 
+  as_lineno_1=$LINENO as_lineno_1a=$LINENO
444
 
+  as_lineno_2=$LINENO as_lineno_2a=$LINENO
445
 
+  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
446
 
+  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
447
 
+  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
448
 
+  sed -n '
449
 
+    p
450
 
+    /[$]LINENO/=
451
 
+  ' <$as_myself |
452
 
+    sed '
453
 
+      s/[$]LINENO.*/&-/
454
 
+      t lineno
455
 
+      b
456
 
+      :lineno
457
 
+      N
458
 
+      :loop
459
 
+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460
 
+      t loop
461
 
+      s/-\n.*//
462
 
+    ' >$as_me.lineno &&
463
 
+  chmod +x "$as_me.lineno" ||
464
 
+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
465
 
+
466
 
+  # Don't try to exec as it changes $[0], causing all sort of problems
467
 
+  # (the dirname of $[0] is not the place where we might find the
468
 
+  # original and so on.  Autoconf is especially sensitive to this).
469
 
+  . "./$as_me.lineno"
470
 
+  # Exit status is that of the last command.
471
 
+  exit
472
 
+}
473
 
+
474
 
+ECHO_C= ECHO_N= ECHO_T=
475
 
+case `echo -n x` in @%:@(((((
476
 
+-n*)
477
 
+  case `echo 'xy\c'` in
478
 
+  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
479
 
+  xy)  ECHO_C='\c';;
480
 
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
481
 
+       ECHO_T='        ';;
482
 
+  esac;;
483
 
+*)
484
 
+  ECHO_N='-n';;
485
 
+esac
486
 
+
487
 
+rm -f conf$$ conf$$.exe conf$$.file
488
 
+if test -d conf$$.dir; then
489
 
+  rm -f conf$$.dir/conf$$.file
490
 
+else
491
 
+  rm -f conf$$.dir
492
 
+  mkdir conf$$.dir 2>/dev/null
493
 
+fi
494
 
+if (echo >conf$$.file) 2>/dev/null; then
495
 
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
496
 
+    as_ln_s='ln -s'
497
 
+    # ... but there are two gotchas:
498
 
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
499
 
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
500
 
+    # In both cases, we have to default to `cp -p'.
501
 
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
502
 
+      as_ln_s='cp -p'
503
 
+  elif ln conf$$.file conf$$ 2>/dev/null; then
504
 
+    as_ln_s=ln
505
 
+  else
506
 
+    as_ln_s='cp -p'
507
 
+  fi
508
 
+else
509
 
+  as_ln_s='cp -p'
510
 
+fi
511
 
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
 
+rmdir conf$$.dir 2>/dev/null
513
 
+
514
 
+if mkdir -p . 2>/dev/null; then
515
 
+  as_mkdir_p='mkdir -p "$as_dir"'
516
 
+else
517
 
+  test -d ./-p && rmdir ./-p
518
 
+  as_mkdir_p=false
519
 
+fi
520
 
+
521
 
+if test -x / >/dev/null 2>&1; then
522
 
+  as_test_x='test -x'
523
 
+else
524
 
+  if ls -dL / >/dev/null 2>&1; then
525
 
+    as_ls_L_option=L
526
 
+  else
527
 
+    as_ls_L_option=
528
 
+  fi
529
 
+  as_test_x='
530
 
+    eval sh -c '\''
531
 
+      if test -d "$1"; then
532
 
+       test -d "$1/.";
533
 
+      else
534
 
+       case $1 in @%:@(
535
 
+       -*)set "./$1";;
536
 
+       esac;
537
 
+       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
538
 
+       ???[sx]*):;;*)false;;esac;fi
539
 
+    '\'' sh
540
 
+  '
541
 
+fi
542
 
+as_executable_p=$as_test_x
543
 
+
544
 
+# Sed expression to map a string onto a valid CPP name.
545
 
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
 
+
547
 
+# Sed expression to map a string onto a valid variable name.
548
 
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
 
+
550
 
+
551
 
+test -n "$DJDIR" || exec 7<&0 </dev/null
552
 
+exec 6>&1
553
 
+
554
 
+# Name of the host.
555
 
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556
 
+# so uname gets run too.
557
 
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
 
+
559
 
+#
560
 
+# Initializations.
561
 
+#
562
 
+ac_default_prefix=/usr/local
563
 
+ac_clean_files=
564
 
+ac_config_libobj_dir=.
565
 
+LIB@&t@OBJS=
566
 
+cross_compiling=no
567
 
+subdirs=
568
 
+MFLAGS=
569
 
+MAKEFLAGS=
570
 
+
571
 
+# Identity of this package.
572
 
+PACKAGE_NAME='GNU coreutils'
573
 
+PACKAGE_TARNAME='coreutils'
574
 
+PACKAGE_VERSION='8.13'
575
 
+PACKAGE_STRING='GNU coreutils 8.13'
576
 
+PACKAGE_BUGREPORT='bug-coreutils@gnu.org'
577
 
+PACKAGE_URL='http://www.gnu.org/software/coreutils/'
578
 
+
579
 
+ac_unique_file="src/ls.c"
580
 
+# Factoring default headers for most tests.
581
 
+ac_includes_default="\
582
 
+#include <stdio.h>
583
 
+#ifdef HAVE_SYS_TYPES_H
584
 
+# include <sys/types.h>
585
 
+#endif
586
 
+#ifdef HAVE_SYS_STAT_H
587
 
+# include <sys/stat.h>
588
 
+#endif
589
 
+#ifdef STDC_HEADERS
590
 
+# include <stdlib.h>
591
 
+# include <stddef.h>
592
 
+#else
593
 
+# ifdef HAVE_STDLIB_H
594
 
+#  include <stdlib.h>
595
 
+# endif
596
 
+#endif
597
 
+#ifdef HAVE_STRING_H
598
 
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599
 
+#  include <memory.h>
600
 
+# endif
601
 
+# include <string.h>
602
 
+#endif
603
 
+#ifdef HAVE_STRINGS_H
604
 
+# include <strings.h>
605
 
+#endif
606
 
+#ifdef HAVE_INTTYPES_H
607
 
+# include <inttypes.h>
608
 
+#endif
609
 
+#ifdef HAVE_STDINT_H
610
 
+# include <stdint.h>
611
 
+#endif
612
 
+#ifdef HAVE_UNISTD_H
613
 
+# include <unistd.h>
614
 
+#endif"
615
 
+
616
 
+gl_use_threads_default=
617
 
+ac_header_list=
618
 
+ac_func_list=
619
 
+gl_fnmatch_required=POSIX
620
 
+gl_getopt_required=POSIX
621
 
+gl_getopt_required=POSIX
622
 
+gt_needs=
623
 
+ac_subst_vars='gltests_LTLIBOBJS
624
 
+gltests_LIBOBJS
625
 
+gl_LTLIBOBJS
626
 
+gl_LIBOBJS
627
 
+CONFIG_INCLUDE
628
 
+am__EXEEXT_FALSE
629
 
+am__EXEEXT_TRUE
630
 
+LTLIBOBJS
631
 
+POSUB
632
 
+INTLLIBS
633
 
+XGETTEXT_EXTRA_OPTIONS
634
 
+MSGMERGE
635
 
+XGETTEXT_015
636
 
+XGETTEXT
637
 
+GMSGFMT_015
638
 
+MSGFMT_015
639
 
+GMSGFMT
640
 
+MSGFMT
641
 
+GETTEXT_MACRO_VERSION
642
 
+USE_NLS
643
 
+CONFIG_STATUS_DEPENDENCIES
644
 
+CROSS_COMPILING_FALSE
645
 
+CROSS_COMPILING_TRUE
646
 
+NO_INSTALL_PROGS_DEFAULT
647
 
+OPTIONAL_PKGLIB_PROGS
648
 
+OPTIONAL_BIN_PROGS
649
 
+INSTALL_SU
650
 
+LIB_GMP
651
 
+LIB_CRYPT
652
 
+GNULIB_TEST_WARN_CFLAGS
653
 
+GNULIB_WARN_CFLAGS
654
 
+WERROR_CFLAGS
655
 
+SEQ_LIBM
656
 
+LIB_CAP
657
 
+LIB_FDATASYNC
658
 
+LIB_XATTR
659
 
+LIB@&t@OBJS
660
 
+ANSI2KNR
661
 
+U
662
 
+MAN
663
 
+HELP2MAN
664
 
+LIBTESTS_LIBDEPS
665
 
+LIBCOREUTILS_LTLIBDEPS
666
 
+LIBCOREUTILS_LIBDEPS
667
 
+YIELD_LIB
668
 
+abs_aux_dir
669
 
+INTL_MACOSX_LIBS
670
 
+INET_PTON_LIB
671
 
+LOCALE_TR_UTF8
672
 
+gltests_WITNESS
673
 
+NEXT_AS_FIRST_DIRECTIVE_WCHAR_H
674
 
+NEXT_WCHAR_H
675
 
+WARN_CFLAGS
676
 
+LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE
677
 
+LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE
678
 
+LIBUNISTRING_UNIWIDTH_H
679
 
+LIBUNISTRING_UNITYPES_H
680
 
+LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE
681
 
+LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE
682
 
+LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE
683
 
+LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE
684
 
+LIBUNISTRING_UNISTR_H
685
 
+HAVE_UNISTD_H
686
 
+NEXT_AS_FIRST_DIRECTIVE_UNISTD_H
687
 
+NEXT_UNISTD_H
688
 
+LIB_TIMER_TIME
689
 
+PTHREAD_H_DEFINES_STRUCT_TIMESPEC
690
 
+SYS_TIME_H_DEFINES_STRUCT_TIMESPEC
691
 
+TIME_H_DEFINES_STRUCT_TIMESPEC
692
 
+NEXT_AS_FIRST_DIRECTIVE_TIME_H
693
 
+NEXT_TIME_H
694
 
+NEXT_AS_FIRST_DIRECTIVE_TERMIOS_H
695
 
+NEXT_TERMIOS_H
696
 
+HAVE_TERMIOS_H
697
 
+HAVE_DECL_TCGETSID
698
 
+GNULIB_TCGETSID
699
 
+NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H
700
 
+NEXT_SYS_WAIT_H
701
 
+GNULIB_WAITPID
702
 
+HAVE_SYS_UTSNAME_H
703
 
+NEXT_AS_FIRST_DIRECTIVE_SYS_UTSNAME_H
704
 
+NEXT_SYS_UTSNAME_H
705
 
+HAVE_STRUCT_UTSNAME
706
 
+HAVE_UNAME
707
 
+GNULIB_UNAME
708
 
+HAVE_SYS_UIO_H
709
 
+NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H
710
 
+NEXT_SYS_UIO_H
711
 
+NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H
712
 
+NEXT_SYS_STAT_H
713
 
+NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H
714
 
+NEXT_SYS_IOCTL_H
715
 
+HAVE_SYS_IOCTL_H
716
 
+NEXT_AS_FIRST_DIRECTIVE_STRING_H
717
 
+NEXT_STRING_H
718
 
+NEXT_AS_FIRST_DIRECTIVE_STDLIB_H
719
 
+NEXT_STDLIB_H
720
 
+NEXT_AS_FIRST_DIRECTIVE_STDIO_H
721
 
+NEXT_STDIO_H
722
 
+GL_GENERATE_STDARG_H_FALSE
723
 
+GL_GENERATE_STDARG_H_TRUE
724
 
+STDARG_H
725
 
+NEXT_AS_FIRST_DIRECTIVE_STDARG_H
726
 
+NEXT_STDARG_H
727
 
+NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H
728
 
+NEXT_SIGNAL_H
729
 
+REPLACE_PTHREAD_SIGMASK
730
 
+HAVE_SIGHANDLER_T
731
 
+HAVE_TYPE_VOLATILE_SIG_ATOMIC_T
732
 
+HAVE_STRUCT_SIGACTION_SA_SIGACTION
733
 
+HAVE_SIGACTION
734
 
+HAVE_SIGINFO_T
735
 
+HAVE_SIGSET_T
736
 
+HAVE_PTHREAD_SIGMASK
737
 
+HAVE_POSIX_SIGNALBLOCKING
738
 
+GNULIB_SIGACTION
739
 
+GNULIB_SIGPROCMASK
740
 
+GNULIB_SIGNAL_H_SIGPIPE
741
 
+GNULIB_PTHREAD_SIGMASK
742
 
+GL_GENERATE_SELINUX_CONTEXT_H_FALSE
743
 
+GL_GENERATE_SELINUX_CONTEXT_H_TRUE
744
 
+SELINUX_CONTEXT_H
745
 
+NEXT_AS_FIRST_DIRECTIVE_SELINUX_SELINUX_H
746
 
+NEXT_SELINUX_SELINUX_H
747
 
+LIB_SELINUX
748
 
+GL_GENERATE_SCHED_H_FALSE
749
 
+GL_GENERATE_SCHED_H_TRUE
750
 
+SCHED_H
751
 
+HAVE_STRUCT_SCHED_PARAM
752
 
+HAVE_SCHED_H
753
 
+NEXT_AS_FIRST_DIRECTIVE_SCHED_H
754
 
+NEXT_SCHED_H
755
 
+LIB_PTHREAD
756
 
+GL_GENERATE_PTHREAD_H_FALSE
757
 
+GL_GENERATE_PTHREAD_H_TRUE
758
 
+PTHREAD_H
759
 
+NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H
760
 
+NEXT_PTHREAD_H
761
 
+HAVE_PTHREAD_SPINLOCK_T
762
 
+HAVE_PTHREAD_T
763
 
+HAVE_PTHREAD_H
764
 
+DEFAULT_POSIX2_VERSION
765
 
+PREFERABLY_POSIX_SHELL
766
 
+POSIX_SHELL
767
 
+PERL
768
 
+YFLAGS
769
 
+YACC
770
 
+HAVE__BOOL
771
 
+GL_GENERATE_STDBOOL_H_FALSE
772
 
+GL_GENERATE_STDBOOL_H_TRUE
773
 
+STDBOOL_H
774
 
+GL_GENERATE_NETINET_IN_H_FALSE
775
 
+GL_GENERATE_NETINET_IN_H_TRUE
776
 
+NETINET_IN_H
777
 
+HAVE_NETINET_IN_H
778
 
+NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H
779
 
+NEXT_NETINET_IN_H
780
 
+LIB_NANOSLEEP
781
 
+LIBSOCKET
782
 
+HAVE_SYS_SELECT_H
783
 
+NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H
784
 
+NEXT_SYS_SELECT_H
785
 
+REPLACE_SELECT
786
 
+REPLACE_PSELECT
787
 
+HAVE_PSELECT
788
 
+GNULIB_SELECT
789
 
+GNULIB_PSELECT
790
 
+REPLACE_TIMEGM
791
 
+REPLACE_NANOSLEEP
792
 
+REPLACE_MKTIME
793
 
+REPLACE_LOCALTIME_R
794
 
+HAVE_TIMEGM
795
 
+HAVE_STRPTIME
796
 
+HAVE_NANOSLEEP
797
 
+HAVE_DECL_LOCALTIME_R
798
 
+GNULIB_TIME_R
799
 
+GNULIB_TIMEGM
800
 
+GNULIB_STRPTIME
801
 
+GNULIB_NANOSLEEP
802
 
+GNULIB_MKTIME
803
 
+UNDEFINE_STRTOK_R
804
 
+REPLACE_STRTOK_R
805
 
+REPLACE_STRSIGNAL
806
 
+REPLACE_STRNLEN
807
 
+REPLACE_STRNDUP
808
 
+REPLACE_STRNCAT
809
 
+REPLACE_STRERROR_R
810
 
+REPLACE_STRERROR
811
 
+REPLACE_STRCHRNUL
812
 
+REPLACE_STRCASESTR
813
 
+REPLACE_STRSTR
814
 
+REPLACE_STRDUP
815
 
+REPLACE_STPNCPY
816
 
+REPLACE_MEMMEM
817
 
+REPLACE_MEMCHR
818
 
+HAVE_STRVERSCMP
819
 
+HAVE_DECL_STRSIGNAL
820
 
+HAVE_DECL_STRERROR_R
821
 
+HAVE_DECL_STRTOK_R
822
 
+HAVE_STRCASESTR
823
 
+HAVE_STRSEP
824
 
+HAVE_STRPBRK
825
 
+HAVE_DECL_STRNLEN
826
 
+HAVE_DECL_STRNDUP
827
 
+HAVE_DECL_STRDUP
828
 
+HAVE_STRCHRNUL
829
 
+HAVE_STPNCPY
830
 
+HAVE_STPCPY
831
 
+HAVE_RAWMEMCHR
832
 
+HAVE_DECL_MEMRCHR
833
 
+HAVE_MEMPCPY
834
 
+HAVE_DECL_MEMMEM
835
 
+HAVE_MEMCHR
836
 
+HAVE_FFSLL
837
 
+HAVE_FFSL
838
 
+HAVE_MBSLEN
839
 
+GNULIB_STRVERSCMP
840
 
+GNULIB_STRSIGNAL
841
 
+GNULIB_STRERROR_R
842
 
+GNULIB_STRERROR
843
 
+GNULIB_MBSTOK_R
844
 
+GNULIB_MBSSEP
845
 
+GNULIB_MBSSPN
846
 
+GNULIB_MBSPBRK
847
 
+GNULIB_MBSCSPN
848
 
+GNULIB_MBSCASESTR
849
 
+GNULIB_MBSPCASECMP
850
 
+GNULIB_MBSNCASECMP
851
 
+GNULIB_MBSCASECMP
852
 
+GNULIB_MBSSTR
853
 
+GNULIB_MBSRCHR
854
 
+GNULIB_MBSCHR
855
 
+GNULIB_MBSNLEN
856
 
+GNULIB_MBSLEN
857
 
+GNULIB_STRTOK_R
858
 
+GNULIB_STRCASESTR
859
 
+GNULIB_STRSTR
860
 
+GNULIB_STRSEP
861
 
+GNULIB_STRPBRK
862
 
+GNULIB_STRNLEN
863
 
+GNULIB_STRNDUP
864
 
+GNULIB_STRNCAT
865
 
+GNULIB_STRDUP
866
 
+GNULIB_STRCHRNUL
867
 
+GNULIB_STPNCPY
868
 
+GNULIB_STPCPY
869
 
+GNULIB_RAWMEMCHR
870
 
+GNULIB_MEMRCHR
871
 
+GNULIB_MEMPCPY
872
 
+GNULIB_MEMMEM
873
 
+GNULIB_MEMCHR
874
 
+GNULIB_FFSLL
875
 
+GNULIB_FFSL
876
 
+LOCALE_FR_UTF8
877
 
+LOCALE_ZH_CN
878
 
+LOCALE_JA
879
 
+NEXT_AS_FIRST_DIRECTIVE_MATH_H
880
 
+NEXT_MATH_H
881
 
+LTLIBMULTITHREAD
882
 
+LIBMULTITHREAD
883
 
+LTLIBTHREAD
884
 
+LIBTHREAD
885
 
+LIBPTH_PREFIX
886
 
+LTLIBPTH
887
 
+LIBPTH
888
 
+NEXT_AS_FIRST_DIRECTIVE_LOCALE_H
889
 
+NEXT_LOCALE_H
890
 
+HAVE_XLOCALE_H
891
 
+NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
892
 
+NEXT_STDDEF_H
893
 
+GL_GENERATE_STDDEF_H_FALSE
894
 
+GL_GENERATE_STDDEF_H_TRUE
895
 
+STDDEF_H
896
 
+HAVE_WCHAR_T
897
 
+REPLACE_NULL
898
 
+REPLACE_DUPLOCALE
899
 
+REPLACE_SETLOCALE
900
 
+HAVE_DUPLOCALE
901
 
+GNULIB_DUPLOCALE
902
 
+GNULIB_SETLOCALE
903
 
+LOCALCHARSET_TESTS_ENVIRONMENT
904
 
+GLIBC21
905
 
+IGNORE_UNUSED_LIBRARIES_CFLAGS
906
 
+HAVE_LANGINFO_YESEXPR
907
 
+HAVE_LANGINFO_ERA
908
 
+HAVE_LANGINFO_T_FMT_AMPM
909
 
+HAVE_LANGINFO_CODESET
910
 
+HAVE_LANGINFO_H
911
 
+NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H
912
 
+NEXT_LANGINFO_H
913
 
+REPLACE_NL_LANGINFO
914
 
+HAVE_NL_LANGINFO
915
 
+GNULIB_NL_LANGINFO
916
 
+REPLACE_TOWLOWER
917
 
+REPLACE_ISWCNTRL
918
 
+HAVE_WCTYPE_H
919
 
+NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H
920
 
+NEXT_WCTYPE_H
921
 
+HAVE_WINT_T
922
 
+HAVE_ISWCNTRL
923
 
+REPLACE_ISWBLANK
924
 
+HAVE_WCTRANS_T
925
 
+HAVE_WCTYPE_T
926
 
+HAVE_ISWBLANK
927
 
+GNULIB_TOWCTRANS
928
 
+GNULIB_WCTRANS
929
 
+GNULIB_ISWCTYPE
930
 
+GNULIB_WCTYPE
931
 
+GNULIB_ISWBLANK
932
 
+NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H
933
 
+NEXT_INTTYPES_H
934
 
+UINT64_MAX_EQ_ULONG_MAX
935
 
+UINT32_MAX_LT_UINTMAX_MAX
936
 
+PRIPTR_PREFIX
937
 
+PRI_MACROS_BROKEN
938
 
+INT64_MAX_EQ_LONG_MAX
939
 
+INT32_MAX_LT_INTMAX_MAX
940
 
+HAVE_DECL_STRTOUMAX
941
 
+HAVE_DECL_STRTOIMAX
942
 
+HAVE_DECL_IMAXDIV
943
 
+HAVE_DECL_IMAXABS
944
 
+GNULIB_STRTOUMAX
945
 
+GNULIB_STRTOIMAX
946
 
+GNULIB_IMAXDIV
947
 
+GNULIB_IMAXABS
948
 
+GL_GENERATE_STDINT_H_FALSE
949
 
+GL_GENERATE_STDINT_H_TRUE
950
 
+STDINT_H
951
 
+WINT_T_SUFFIX
952
 
+WCHAR_T_SUFFIX
953
 
+SIG_ATOMIC_T_SUFFIX
954
 
+SIZE_T_SUFFIX
955
 
+PTRDIFF_T_SUFFIX
956
 
+HAVE_SIGNED_WINT_T
957
 
+HAVE_SIGNED_WCHAR_T
958
 
+HAVE_SIGNED_SIG_ATOMIC_T
959
 
+BITSIZEOF_WINT_T
960
 
+BITSIZEOF_WCHAR_T
961
 
+BITSIZEOF_SIG_ATOMIC_T
962
 
+BITSIZEOF_SIZE_T
963
 
+BITSIZEOF_PTRDIFF_T
964
 
+APPLE_UNIVERSAL_BUILD
965
 
+HAVE_SYS_BITYPES_H
966
 
+HAVE_SYS_INTTYPES_H
967
 
+HAVE_STDINT_H
968
 
+NEXT_AS_FIRST_DIRECTIVE_STDINT_H
969
 
+NEXT_STDINT_H
970
 
+HAVE_SYS_TYPES_H
971
 
+HAVE_INTTYPES_H
972
 
+HAVE_WCHAR_H
973
 
+HAVE_UNSIGNED_LONG_LONG_INT
974
 
+HAVE_LONG_LONG_INT
975
 
+NEXT_AS_FIRST_DIRECTIVE_ICONV_H
976
 
+NEXT_ICONV_H
977
 
+GL_GENERATE_ICONV_H_FALSE
978
 
+GL_GENERATE_ICONV_H_TRUE
979
 
+ICONV_H
980
 
+REPLACE_ICONV_UTF
981
 
+REPLACE_ICONV_OPEN
982
 
+REPLACE_ICONV
983
 
+ICONV_CONST
984
 
+GNULIB_ICONV
985
 
+LTLIBICONV
986
 
+LIBICONV
987
 
+GNU_MAKE_FALSE
988
 
+GNU_MAKE_TRUE
989
 
+NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H
990
 
+NEXT_SYS_TIME_H
991
 
+REPLACE_GETTIMEOFDAY
992
 
+HAVE_SYS_TIME_H
993
 
+HAVE_STRUCT_TIMEVAL
994
 
+HAVE_GETTIMEOFDAY
995
 
+GNULIB_GETTIMEOFDAY
996
 
+LTLIBINTL
997
 
+LIBINTL
998
 
+GETOPT_H
999
 
+HAVE_GETOPT_H
1000
 
+NEXT_AS_FIRST_DIRECTIVE_GETOPT_H
1001
 
+NEXT_GETOPT_H
1002
 
+GETLOADAVG_LIBS
1003
 
+LIB_GETHRXTIME
1004
 
+GETHOSTNAME_LIB
1005
 
+GETADDRINFO_LIB
1006
 
+INET_NTOP_LIB
1007
 
+SERVENT_LIB
1008
 
+HOSTENT_LIB
1009
 
+HAVE_NETDB_H
1010
 
+NEXT_AS_FIRST_DIRECTIVE_NETDB_H
1011
 
+NEXT_NETDB_H
1012
 
+REPLACE_GAI_STRERROR
1013
 
+HAVE_DECL_GETNAMEINFO
1014
 
+HAVE_DECL_GETADDRINFO
1015
 
+HAVE_DECL_GAI_STRERROR
1016
 
+HAVE_DECL_FREEADDRINFO
1017
 
+HAVE_STRUCT_ADDRINFO
1018
 
+GNULIB_GETADDRINFO
1019
 
+HAVE_WS2TCPIP_H
1020
 
+HAVE_SYS_SOCKET_H
1021
 
+NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H
1022
 
+NEXT_SYS_SOCKET_H
1023
 
+HAVE_ACCEPT4
1024
 
+HAVE_SA_FAMILY_T
1025
 
+HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY
1026
 
+HAVE_STRUCT_SOCKADDR_STORAGE
1027
 
+GNULIB_ACCEPT4
1028
 
+GNULIB_SHUTDOWN
1029
 
+GNULIB_SETSOCKOPT
1030
 
+GNULIB_SENDTO
1031
 
+GNULIB_RECVFROM
1032
 
+GNULIB_SEND
1033
 
+GNULIB_RECV
1034
 
+GNULIB_LISTEN
1035
 
+GNULIB_GETSOCKOPT
1036
 
+GNULIB_GETSOCKNAME
1037
 
+GNULIB_GETPEERNAME
1038
 
+GNULIB_BIND
1039
 
+GNULIB_ACCEPT
1040
 
+GNULIB_CONNECT
1041
 
+GNULIB_SOCKET
1042
 
+REPLACE_TRUNCL
1043
 
+REPLACE_TRUNCF
1044
 
+REPLACE_TRUNC
1045
 
+REPLACE_SIGNBIT_USING_GCC
1046
 
+REPLACE_SIGNBIT
1047
 
+REPLACE_ROUNDL
1048
 
+REPLACE_ROUNDF
1049
 
+REPLACE_ROUND
1050
 
+REPLACE_NAN
1051
 
+REPLACE_LDEXPL
1052
 
+REPLACE_ISNAN
1053
 
+REPLACE_ISINF
1054
 
+REPLACE_ISFINITE
1055
 
+REPLACE_HUGE_VAL
1056
 
+REPLACE_FREXPL
1057
 
+REPLACE_FREXP
1058
 
+REPLACE_FLOORL
1059
 
+REPLACE_FLOORF
1060
 
+REPLACE_FLOOR
1061
 
+REPLACE_CEILL
1062
 
+REPLACE_CEILF
1063
 
+REPLACE_CEIL
1064
 
+HAVE_DECL_TRUNCL
1065
 
+HAVE_DECL_TRUNCF
1066
 
+HAVE_DECL_TRUNC
1067
 
+HAVE_DECL_TANL
1068
 
+HAVE_DECL_SQRTL
1069
 
+HAVE_DECL_SINL
1070
 
+HAVE_DECL_ROUNDL
1071
 
+HAVE_DECL_ROUNDF
1072
 
+HAVE_DECL_ROUND
1073
 
+HAVE_DECL_LOGL
1074
 
+HAVE_DECL_LOGB
1075
 
+HAVE_DECL_LDEXPL
1076
 
+HAVE_DECL_FREXPL
1077
 
+HAVE_DECL_FLOORL
1078
 
+HAVE_DECL_FLOORF
1079
 
+HAVE_DECL_EXPL
1080
 
+HAVE_DECL_COSL
1081
 
+HAVE_DECL_CEILL
1082
 
+HAVE_DECL_CEILF
1083
 
+HAVE_DECL_ATANL
1084
 
+HAVE_DECL_ASINL
1085
 
+HAVE_DECL_ACOSL
1086
 
+HAVE_TANL
1087
 
+HAVE_SQRTL
1088
 
+HAVE_SINL
1089
 
+HAVE_LOGL
1090
 
+HAVE_ISNANL
1091
 
+HAVE_ISNAND
1092
 
+HAVE_ISNANF
1093
 
+HAVE_EXPL
1094
 
+HAVE_COSL
1095
 
+HAVE_ATANL
1096
 
+HAVE_ASINL
1097
 
+HAVE_ACOSL
1098
 
+GNULIB_TRUNCL
1099
 
+GNULIB_TRUNCF
1100
 
+GNULIB_TRUNC
1101
 
+GNULIB_TANL
1102
 
+GNULIB_SQRTL
1103
 
+GNULIB_SINL
1104
 
+GNULIB_SIGNBIT
1105
 
+GNULIB_ROUNDL
1106
 
+GNULIB_ROUNDF
1107
 
+GNULIB_ROUND
1108
 
+GNULIB_LOGL
1109
 
+GNULIB_LOGB
1110
 
+GNULIB_LDEXPL
1111
 
+GNULIB_ISNANL
1112
 
+GNULIB_ISNAND
1113
 
+GNULIB_ISNANF
1114
 
+GNULIB_ISNAN
1115
 
+GNULIB_ISINF
1116
 
+GNULIB_ISFINITE
1117
 
+GNULIB_FREXPL
1118
 
+GNULIB_FREXP
1119
 
+GNULIB_FLOORL
1120
 
+GNULIB_FLOORF
1121
 
+GNULIB_FLOOR
1122
 
+GNULIB_EXPL
1123
 
+GNULIB_COSL
1124
 
+GNULIB_CEILL
1125
 
+GNULIB_CEILF
1126
 
+GNULIB_CEIL
1127
 
+GNULIB_ATANL
1128
 
+GNULIB_ASINL
1129
 
+GNULIB_ACOSL
1130
 
+GL_GENERATE_FNMATCH_H_FALSE
1131
 
+GL_GENERATE_FNMATCH_H_TRUE
1132
 
+FNMATCH_H
1133
 
+GL_GENERATE_FLOAT_H_FALSE
1134
 
+GL_GENERATE_FLOAT_H_TRUE
1135
 
+FLOAT_H
1136
 
+NEXT_AS_FIRST_DIRECTIVE_FLOAT_H
1137
 
+NEXT_FLOAT_H
1138
 
+NEXT_AS_FIRST_DIRECTIVE_FCNTL_H
1139
 
+NEXT_FCNTL_H
1140
 
+REPLACE_VSPRINTF
1141
 
+REPLACE_VSNPRINTF
1142
 
+REPLACE_VPRINTF
1143
 
+REPLACE_VFPRINTF
1144
 
+REPLACE_VDPRINTF
1145
 
+REPLACE_VASPRINTF
1146
 
+REPLACE_TMPFILE
1147
 
+REPLACE_STDIO_WRITE_FUNCS
1148
 
+REPLACE_STDIO_READ_FUNCS
1149
 
+REPLACE_SPRINTF
1150
 
+REPLACE_SNPRINTF
1151
 
+REPLACE_RENAMEAT
1152
 
+REPLACE_RENAME
1153
 
+REPLACE_REMOVE
1154
 
+REPLACE_PRINTF
1155
 
+REPLACE_POPEN
1156
 
+REPLACE_PERROR
1157
 
+REPLACE_OBSTACK_PRINTF
1158
 
+REPLACE_GETLINE
1159
 
+REPLACE_GETDELIM
1160
 
+REPLACE_FTELLO
1161
 
+REPLACE_FTELL
1162
 
+REPLACE_FSEEKO
1163
 
+REPLACE_FSEEK
1164
 
+REPLACE_FREOPEN
1165
 
+REPLACE_FPURGE
1166
 
+REPLACE_FPRINTF
1167
 
+REPLACE_FOPEN
1168
 
+REPLACE_FFLUSH
1169
 
+REPLACE_FCLOSE
1170
 
+REPLACE_DPRINTF
1171
 
+HAVE_VDPRINTF
1172
 
+HAVE_VASPRINTF
1173
 
+HAVE_RENAMEAT
1174
 
+HAVE_FTELLO
1175
 
+HAVE_FSEEKO
1176
 
+HAVE_DPRINTF
1177
 
+HAVE_DECL_VSNPRINTF
1178
 
+HAVE_DECL_SNPRINTF
1179
 
+HAVE_DECL_OBSTACK_PRINTF
1180
 
+HAVE_DECL_GETLINE
1181
 
+HAVE_DECL_GETDELIM
1182
 
+HAVE_DECL_FTELLO
1183
 
+HAVE_DECL_FSEEKO
1184
 
+HAVE_DECL_FPURGE
1185
 
+GNULIB_VSPRINTF_POSIX
1186
 
+GNULIB_VSNPRINTF
1187
 
+GNULIB_VPRINTF_POSIX
1188
 
+GNULIB_VPRINTF
1189
 
+GNULIB_VFPRINTF_POSIX
1190
 
+GNULIB_VFPRINTF
1191
 
+GNULIB_VDPRINTF
1192
 
+GNULIB_VSCANF
1193
 
+GNULIB_VFSCANF
1194
 
+GNULIB_VASPRINTF
1195
 
+GNULIB_TMPFILE
1196
 
+GNULIB_STDIO_H_SIGPIPE
1197
 
+GNULIB_STDIO_H_NONBLOCKING
1198
 
+GNULIB_SPRINTF_POSIX
1199
 
+GNULIB_SNPRINTF
1200
 
+GNULIB_SCANF
1201
 
+GNULIB_RENAMEAT
1202
 
+GNULIB_RENAME
1203
 
+GNULIB_REMOVE
1204
 
+GNULIB_PUTS
1205
 
+GNULIB_PUTCHAR
1206
 
+GNULIB_PUTC
1207
 
+GNULIB_PRINTF_POSIX
1208
 
+GNULIB_PRINTF
1209
 
+GNULIB_POPEN
1210
 
+GNULIB_PERROR
1211
 
+GNULIB_OBSTACK_PRINTF_POSIX
1212
 
+GNULIB_OBSTACK_PRINTF
1213
 
+GNULIB_GETS
1214
 
+GNULIB_GETLINE
1215
 
+GNULIB_GETDELIM
1216
 
+GNULIB_GETCHAR
1217
 
+GNULIB_GETC
1218
 
+GNULIB_FWRITE
1219
 
+GNULIB_FTELLO
1220
 
+GNULIB_FTELL
1221
 
+GNULIB_FSEEKO
1222
 
+GNULIB_FSEEK
1223
 
+GNULIB_FSCANF
1224
 
+GNULIB_FREOPEN
1225
 
+GNULIB_FREAD
1226
 
+GNULIB_FPUTS
1227
 
+GNULIB_FPUTC
1228
 
+GNULIB_FPURGE
1229
 
+GNULIB_FPRINTF_POSIX
1230
 
+GNULIB_FPRINTF
1231
 
+GNULIB_FOPEN
1232
 
+GNULIB_FGETS
1233
 
+GNULIB_FGETC
1234
 
+GNULIB_FFLUSH
1235
 
+GNULIB_FCLOSE
1236
 
+GNULIB_DPRINTF
1237
 
+REPLACE_UTIMENSAT
1238
 
+REPLACE_STAT
1239
 
+REPLACE_MKNOD
1240
 
+REPLACE_MKFIFO
1241
 
+REPLACE_MKDIR
1242
 
+REPLACE_LSTAT
1243
 
+REPLACE_FUTIMENS
1244
 
+REPLACE_FSTATAT
1245
 
+REPLACE_FSTAT
1246
 
+HAVE_UTIMENSAT
1247
 
+HAVE_MKNODAT
1248
 
+HAVE_MKNOD
1249
 
+HAVE_MKFIFOAT
1250
 
+HAVE_MKFIFO
1251
 
+HAVE_MKDIRAT
1252
 
+HAVE_LSTAT
1253
 
+HAVE_LCHMOD
1254
 
+HAVE_FUTIMENS
1255
 
+HAVE_FSTATAT
1256
 
+HAVE_FCHMODAT
1257
 
+GNULIB_UTIMENSAT
1258
 
+GNULIB_STAT
1259
 
+GNULIB_MKNODAT
1260
 
+GNULIB_MKNOD
1261
 
+GNULIB_MKFIFOAT
1262
 
+GNULIB_MKFIFO
1263
 
+GNULIB_MKDIRAT
1264
 
+GNULIB_LSTAT
1265
 
+GNULIB_LCHMOD
1266
 
+GNULIB_FUTIMENS
1267
 
+GNULIB_FSTATAT
1268
 
+GNULIB_FCHMODAT
1269
 
+REPLACE_OPENAT
1270
 
+REPLACE_OPEN
1271
 
+REPLACE_FCNTL
1272
 
+HAVE_OPENAT
1273
 
+HAVE_FCNTL
1274
 
+GNULIB_OPENAT
1275
 
+GNULIB_OPEN
1276
 
+GNULIB_NONBLOCKING
1277
 
+GNULIB_FCNTL
1278
 
+LIB_EACCESS
1279
 
+EOVERFLOW_VALUE
1280
 
+EOVERFLOW_HIDDEN
1281
 
+ENOLINK_VALUE
1282
 
+ENOLINK_HIDDEN
1283
 
+EMULTIHOP_VALUE
1284
 
+EMULTIHOP_HIDDEN
1285
 
+GL_GENERATE_ERRNO_H_FALSE
1286
 
+GL_GENERATE_ERRNO_H_TRUE
1287
 
+ERRNO_H
1288
 
+NEXT_AS_FIRST_DIRECTIVE_ERRNO_H
1289
 
+NEXT_ERRNO_H
1290
 
+NEXT_AS_FIRST_DIRECTIVE_DIRENT_H
1291
 
+NEXT_DIRENT_H
1292
 
+REPLACE_OPENDIR
1293
 
+REPLACE_FDOPENDIR
1294
 
+REPLACE_DIRFD
1295
 
+REPLACE_CLOSEDIR
1296
 
+HAVE_ALPHASORT
1297
 
+HAVE_SCANDIR
1298
 
+HAVE_FDOPENDIR
1299
 
+HAVE_DECL_FDOPENDIR
1300
 
+HAVE_DECL_DIRFD
1301
 
+GNULIB_ALPHASORT
1302
 
+GNULIB_SCANDIR
1303
 
+GNULIB_FDOPENDIR
1304
 
+GNULIB_DIRFD
1305
 
+NEXT_AS_FIRST_DIRECTIVE_CTYPE_H
1306
 
+NEXT_CTYPE_H
1307
 
+HAVE_ISBLANK
1308
 
+GNULIB_ISBLANK
1309
 
+pkglibexecdir
1310
 
+lispdir
1311
 
+HAVE_WINSOCK2_H
1312
 
+REPLACE_IOCTL
1313
 
+SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS
1314
 
+SYS_IOCTL_H_HAVE_WINSOCK2_H
1315
 
+GNULIB_IOCTL
1316
 
+LIB_CLOCK_GETTIME
1317
 
+UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS
1318
 
+UNISTD_H_HAVE_WINSOCK2_H
1319
 
+REPLACE_WRITE
1320
 
+REPLACE_USLEEP
1321
 
+REPLACE_UNLINKAT
1322
 
+REPLACE_UNLINK
1323
 
+REPLACE_TTYNAME_R
1324
 
+REPLACE_SYMLINK
1325
 
+REPLACE_SLEEP
1326
 
+REPLACE_RMDIR
1327
 
+REPLACE_READLINK
1328
 
+REPLACE_READ
1329
 
+REPLACE_PWRITE
1330
 
+REPLACE_PREAD
1331
 
+REPLACE_LSEEK
1332
 
+REPLACE_LINKAT
1333
 
+REPLACE_LINK
1334
 
+REPLACE_LCHOWN
1335
 
+REPLACE_GETPAGESIZE
1336
 
+REPLACE_GETGROUPS
1337
 
+REPLACE_GETLOGIN_R
1338
 
+REPLACE_GETDOMAINNAME
1339
 
+REPLACE_GETCWD
1340
 
+REPLACE_FCHOWNAT
1341
 
+REPLACE_DUP2
1342
 
+REPLACE_DUP
1343
 
+REPLACE_CLOSE
1344
 
+REPLACE_CHOWN
1345
 
+HAVE_SYS_PARAM_H
1346
 
+HAVE_OS_H
1347
 
+HAVE_DECL_TTYNAME_R
1348
 
+HAVE_DECL_GETUSERSHELL
1349
 
+HAVE_DECL_GETPAGESIZE
1350
 
+HAVE_DECL_GETLOGIN_R
1351
 
+HAVE_DECL_GETDOMAINNAME
1352
 
+HAVE_DECL_FCHDIR
1353
 
+HAVE_DECL_ENVIRON
1354
 
+HAVE_USLEEP
1355
 
+HAVE_UNLINKAT
1356
 
+HAVE_SYMLINKAT
1357
 
+HAVE_SYMLINK
1358
 
+HAVE_SLEEP
1359
 
+HAVE_READLINKAT
1360
 
+HAVE_READLINK
1361
 
+HAVE_PWRITE
1362
 
+HAVE_PREAD
1363
 
+HAVE_PIPE2
1364
 
+HAVE_PIPE
1365
 
+HAVE_LINKAT
1366
 
+HAVE_LINK
1367
 
+HAVE_LCHOWN
1368
 
+HAVE_GROUP_MEMBER
1369
 
+HAVE_GETPAGESIZE
1370
 
+HAVE_GETLOGIN
1371
 
+HAVE_GETHOSTNAME
1372
 
+HAVE_GETGROUPS
1373
 
+HAVE_GETDTABLESIZE
1374
 
+HAVE_FTRUNCATE
1375
 
+HAVE_FSYNC
1376
 
+HAVE_FCHOWNAT
1377
 
+HAVE_FCHDIR
1378
 
+HAVE_FACCESSAT
1379
 
+HAVE_EUIDACCESS
1380
 
+HAVE_DUP3
1381
 
+HAVE_DUP2
1382
 
+HAVE_CHOWN
1383
 
+GNULIB_WRITE
1384
 
+GNULIB_USLEEP
1385
 
+GNULIB_UNLINKAT
1386
 
+GNULIB_UNLINK
1387
 
+GNULIB_UNISTD_H_SIGPIPE
1388
 
+GNULIB_UNISTD_H_NONBLOCKING
1389
 
+GNULIB_UNISTD_H_GETOPT
1390
 
+GNULIB_TTYNAME_R
1391
 
+GNULIB_SYMLINKAT
1392
 
+GNULIB_SYMLINK
1393
 
+GNULIB_SLEEP
1394
 
+GNULIB_RMDIR
1395
 
+GNULIB_READLINKAT
1396
 
+GNULIB_READLINK
1397
 
+GNULIB_READ
1398
 
+GNULIB_PWRITE
1399
 
+GNULIB_PREAD
1400
 
+GNULIB_PIPE2
1401
 
+GNULIB_PIPE
1402
 
+GNULIB_LSEEK
1403
 
+GNULIB_LINKAT
1404
 
+GNULIB_LINK
1405
 
+GNULIB_LCHOWN
1406
 
+GNULIB_GROUP_MEMBER
1407
 
+GNULIB_GETUSERSHELL
1408
 
+GNULIB_GETPAGESIZE
1409
 
+GNULIB_GETLOGIN_R
1410
 
+GNULIB_GETLOGIN
1411
 
+GNULIB_GETHOSTNAME
1412
 
+GNULIB_GETGROUPS
1413
 
+GNULIB_GETDTABLESIZE
1414
 
+GNULIB_GETDOMAINNAME
1415
 
+GNULIB_GETCWD
1416
 
+GNULIB_FTRUNCATE
1417
 
+GNULIB_FSYNC
1418
 
+GNULIB_FCHOWNAT
1419
 
+GNULIB_FCHDIR
1420
 
+GNULIB_FACCESSAT
1421
 
+GNULIB_EUIDACCESS
1422
 
+GNULIB_ENVIRON
1423
 
+GNULIB_DUP3
1424
 
+GNULIB_DUP2
1425
 
+GNULIB_CLOSE
1426
 
+GNULIB_CHOWN
1427
 
+REPLACE_WCTOMB
1428
 
+REPLACE_UNSETENV
1429
 
+REPLACE_STRTOD
1430
 
+REPLACE_SETENV
1431
 
+REPLACE_REALPATH
1432
 
+REPLACE_REALLOC
1433
 
+REPLACE_PUTENV
1434
 
+REPLACE_MKSTEMP
1435
 
+REPLACE_MBTOWC
1436
 
+REPLACE_MALLOC
1437
 
+REPLACE_CANONICALIZE_FILE_NAME
1438
 
+REPLACE_CALLOC
1439
 
+HAVE_DECL_UNSETENV
1440
 
+HAVE_UNLOCKPT
1441
 
+HAVE_SYS_LOADAVG_H
1442
 
+HAVE_STRUCT_RANDOM_DATA
1443
 
+HAVE_STRTOULL
1444
 
+HAVE_STRTOLL
1445
 
+HAVE_STRTOD
1446
 
+HAVE_DECL_SETENV
1447
 
+HAVE_SETENV
1448
 
+HAVE_RPMATCH
1449
 
+HAVE_REALPATH
1450
 
+HAVE_RANDOM_R
1451
 
+HAVE_RANDOM_H
1452
 
+HAVE_PTSNAME
1453
 
+HAVE_MKSTEMPS
1454
 
+HAVE_MKSTEMP
1455
 
+HAVE_MKOSTEMPS
1456
 
+HAVE_MKOSTEMP
1457
 
+HAVE_MKDTEMP
1458
 
+HAVE_GRANTPT
1459
 
+HAVE_GETSUBOPT
1460
 
+HAVE_DECL_GETLOADAVG
1461
 
+HAVE_CANONICALIZE_FILE_NAME
1462
 
+HAVE_ATOLL
1463
 
+HAVE__EXIT
1464
 
+GNULIB_WCTOMB
1465
 
+GNULIB_UNSETENV
1466
 
+GNULIB_UNLOCKPT
1467
 
+GNULIB_SYSTEM_POSIX
1468
 
+GNULIB_STRTOULL
1469
 
+GNULIB_STRTOLL
1470
 
+GNULIB_STRTOD
1471
 
+GNULIB_SETENV
1472
 
+GNULIB_RPMATCH
1473
 
+GNULIB_REALPATH
1474
 
+GNULIB_REALLOC_POSIX
1475
 
+GNULIB_RANDOM_R
1476
 
+GNULIB_PUTENV
1477
 
+GNULIB_PTSNAME
1478
 
+GNULIB_MKSTEMPS
1479
 
+GNULIB_MKSTEMP
1480
 
+GNULIB_MKOSTEMPS
1481
 
+GNULIB_MKOSTEMP
1482
 
+GNULIB_MKDTEMP
1483
 
+GNULIB_MBTOWC
1484
 
+GNULIB_MALLOC_POSIX
1485
 
+GNULIB_GRANTPT
1486
 
+GNULIB_GETSUBOPT
1487
 
+GNULIB_GETLOADAVG
1488
 
+GNULIB_CANONICALIZE_FILE_NAME
1489
 
+GNULIB_CALLOC_POSIX
1490
 
+GNULIB_ATOLL
1491
 
+GNULIB__EXIT
1492
 
+LOCALE_FR
1493
 
+REPLACE_WCSWIDTH
1494
 
+REPLACE_WCWIDTH
1495
 
+REPLACE_WCSNRTOMBS
1496
 
+REPLACE_WCSRTOMBS
1497
 
+REPLACE_WCRTOMB
1498
 
+REPLACE_MBSNRTOWCS
1499
 
+REPLACE_MBSRTOWCS
1500
 
+REPLACE_MBRLEN
1501
 
+REPLACE_MBRTOWC
1502
 
+REPLACE_MBSINIT
1503
 
+REPLACE_WCTOB
1504
 
+REPLACE_BTOWC
1505
 
+REPLACE_MBSTATE_T
1506
 
+HAVE_DECL_WCWIDTH
1507
 
+HAVE_DECL_WCTOB
1508
 
+HAVE_WCSWIDTH
1509
 
+HAVE_WCSTOK
1510
 
+HAVE_WCSSTR
1511
 
+HAVE_WCSPBRK
1512
 
+HAVE_WCSSPN
1513
 
+HAVE_WCSCSPN
1514
 
+HAVE_WCSRCHR
1515
 
+HAVE_WCSCHR
1516
 
+HAVE_WCSDUP
1517
 
+HAVE_WCSXFRM
1518
 
+HAVE_WCSCOLL
1519
 
+HAVE_WCSNCASECMP
1520
 
+HAVE_WCSCASECMP
1521
 
+HAVE_WCSNCMP
1522
 
+HAVE_WCSCMP
1523
 
+HAVE_WCSNCAT
1524
 
+HAVE_WCSCAT
1525
 
+HAVE_WCPNCPY
1526
 
+HAVE_WCSNCPY
1527
 
+HAVE_WCPCPY
1528
 
+HAVE_WCSCPY
1529
 
+HAVE_WCSNLEN
1530
 
+HAVE_WCSLEN
1531
 
+HAVE_WMEMSET
1532
 
+HAVE_WMEMMOVE
1533
 
+HAVE_WMEMCPY
1534
 
+HAVE_WMEMCMP
1535
 
+HAVE_WMEMCHR
1536
 
+HAVE_WCSNRTOMBS
1537
 
+HAVE_WCSRTOMBS
1538
 
+HAVE_WCRTOMB
1539
 
+HAVE_MBSNRTOWCS
1540
 
+HAVE_MBSRTOWCS
1541
 
+HAVE_MBRLEN
1542
 
+HAVE_MBRTOWC
1543
 
+HAVE_MBSINIT
1544
 
+HAVE_BTOWC
1545
 
+GNULIB_WCSWIDTH
1546
 
+GNULIB_WCSTOK
1547
 
+GNULIB_WCSSTR
1548
 
+GNULIB_WCSPBRK
1549
 
+GNULIB_WCSSPN
1550
 
+GNULIB_WCSCSPN
1551
 
+GNULIB_WCSRCHR
1552
 
+GNULIB_WCSCHR
1553
 
+GNULIB_WCSDUP
1554
 
+GNULIB_WCSXFRM
1555
 
+GNULIB_WCSCOLL
1556
 
+GNULIB_WCSNCASECMP
1557
 
+GNULIB_WCSCASECMP
1558
 
+GNULIB_WCSNCMP
1559
 
+GNULIB_WCSCMP
1560
 
+GNULIB_WCSNCAT
1561
 
+GNULIB_WCSCAT
1562
 
+GNULIB_WCPNCPY
1563
 
+GNULIB_WCSNCPY
1564
 
+GNULIB_WCPCPY
1565
 
+GNULIB_WCSCPY
1566
 
+GNULIB_WCSNLEN
1567
 
+GNULIB_WCSLEN
1568
 
+GNULIB_WMEMSET
1569
 
+GNULIB_WMEMMOVE
1570
 
+GNULIB_WMEMCPY
1571
 
+GNULIB_WMEMCMP
1572
 
+GNULIB_WMEMCHR
1573
 
+GNULIB_WCWIDTH
1574
 
+GNULIB_WCSNRTOMBS
1575
 
+GNULIB_WCSRTOMBS
1576
 
+GNULIB_WCRTOMB
1577
 
+GNULIB_MBSNRTOWCS
1578
 
+GNULIB_MBSRTOWCS
1579
 
+GNULIB_MBRLEN
1580
 
+GNULIB_MBRTOWC
1581
 
+GNULIB_MBSINIT
1582
 
+GNULIB_WCTOB
1583
 
+GNULIB_BTOWC
1584
 
+HAVE_FEATURES_H
1585
 
+NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H
1586
 
+NEXT_ARPA_INET_H
1587
 
+PRAGMA_COLUMNS
1588
 
+PRAGMA_SYSTEM_HEADER
1589
 
+INCLUDE_NEXT_AS_FIRST_DIRECTIVE
1590
 
+INCLUDE_NEXT
1591
 
+HAVE_ARPA_INET_H
1592
 
+HAVE_DECL_INET_PTON
1593
 
+HAVE_DECL_INET_NTOP
1594
 
+GNULIB_INET_PTON
1595
 
+GNULIB_INET_NTOP
1596
 
+GL_GENERATE_ALLOCA_H_FALSE
1597
 
+GL_GENERATE_ALLOCA_H_TRUE
1598
 
+ALLOCA_H
1599
 
+ALLOCA
1600
 
+USE_ACL
1601
 
+LIB_ACL
1602
 
+GL_COND_LIBTOOL_FALSE
1603
 
+GL_COND_LIBTOOL_TRUE
1604
 
+host_os
1605
 
+host_vendor
1606
 
+host_cpu
1607
 
+host
1608
 
+build_os
1609
 
+build_vendor
1610
 
+build_cpu
1611
 
+build
1612
 
+ARFLAGS
1613
 
+AR
1614
 
+LN_S
1615
 
+RANLIB
1616
 
+EGREP
1617
 
+GREP
1618
 
+CPP
1619
 
+am__fastdepCC_FALSE
1620
 
+am__fastdepCC_TRUE
1621
 
+CCDEPMODE
1622
 
+AMDEPBACKSLASH
1623
 
+AMDEP_FALSE
1624
 
+AMDEP_TRUE
1625
 
+am__quote
1626
 
+am__include
1627
 
+DEPDIR
1628
 
+OBJEXT
1629
 
+EXEEXT
1630
 
+ac_ct_CC
1631
 
+CPPFLAGS
1632
 
+LDFLAGS
1633
 
+CFLAGS
1634
 
+CC
1635
 
+AM_BACKSLASH
1636
 
+AM_DEFAULT_VERBOSITY
1637
 
+am__untar
1638
 
+am__tar
1639
 
+AMTAR
1640
 
+am__leading_dot
1641
 
+SET_MAKE
1642
 
+AWK
1643
 
+mkdir_p
1644
 
+MKDIR_P
1645
 
+INSTALL_STRIP_PROGRAM
1646
 
+STRIP
1647
 
+install_sh
1648
 
+MAKEINFO
1649
 
+AUTOHEADER
1650
 
+AUTOMAKE
1651
 
+AUTOCONF
1652
 
+ACLOCAL
1653
 
+VERSION
1654
 
+PACKAGE
1655
 
+CYGPATH_W
1656
 
+am__isrc
1657
 
+INSTALL_DATA
1658
 
+INSTALL_SCRIPT
1659
 
+INSTALL_PROGRAM
1660
 
+target_alias
1661
 
+host_alias
1662
 
+build_alias
1663
 
+LIBS
1664
 
+ECHO_T
1665
 
+ECHO_N
1666
 
+ECHO_C
1667
 
+DEFS
1668
 
+mandir
1669
 
+localedir
1670
 
+libdir
1671
 
+psdir
1672
 
+pdfdir
1673
 
+dvidir
1674
 
+htmldir
1675
 
+infodir
1676
 
+docdir
1677
 
+oldincludedir
1678
 
+includedir
1679
 
+localstatedir
1680
 
+sharedstatedir
1681
 
+sysconfdir
1682
 
+datadir
1683
 
+datarootdir
1684
 
+libexecdir
1685
 
+sbindir
1686
 
+bindir
1687
 
+program_transform_name
1688
 
+prefix
1689
 
+exec_prefix
1690
 
+PACKAGE_URL
1691
 
+PACKAGE_BUGREPORT
1692
 
+PACKAGE_STRING
1693
 
+PACKAGE_VERSION
1694
 
+PACKAGE_TARNAME
1695
 
+PACKAGE_NAME
1696
 
+PATH_SEPARATOR
1697
 
+SHELL'
1698
 
+ac_subst_files=''
1699
 
+ac_user_opts='
1700
 
+enable_option_checking
1701
 
+enable_silent_rules
1702
 
+enable_dependency_tracking
1703
 
+enable_largefile
1704
 
+enable_threads
1705
 
+enable_acl
1706
 
+enable_assert
1707
 
+with_gnu_ld
1708
 
+enable_rpath
1709
 
+with_libiconv_prefix
1710
 
+with_libpth_prefix
1711
 
+with_included_regex
1712
 
+with_selinux
1713
 
+with_packager
1714
 
+with_packager_version
1715
 
+with_packager_bug_reports
1716
 
+enable_xattr
1717
 
+enable_libcap
1718
 
+with_tty_group
1719
 
+enable_gcc_warnings
1720
 
+with_gmp
1721
 
+enable_install_program
1722
 
+enable_no_install_program
1723
 
+enable_nls
1724
 
+with_libintl_prefix
1725
 
+'
1726
 
+      ac_precious_vars='build_alias
1727
 
+host_alias
1728
 
+target_alias
1729
 
+CC
1730
 
+CFLAGS
1731
 
+LDFLAGS
1732
 
+LIBS
1733
 
+CPPFLAGS
1734
 
+CPP
1735
 
+YACC
1736
 
+YFLAGS
1737
 
+DEFAULT_POSIX2_VERSION'
1738
 
+
1739
 
+
1740
 
+# Initialize some variables set by options.
1741
 
+ac_init_help=
1742
 
+ac_init_version=false
1743
 
+ac_unrecognized_opts=
1744
 
+ac_unrecognized_sep=
1745
 
+# The variables have the same names as the options, with
1746
 
+# dashes changed to underlines.
1747
 
+cache_file=/dev/null
1748
 
+exec_prefix=NONE
1749
 
+no_create=
1750
 
+no_recursion=
1751
 
+prefix=NONE
1752
 
+program_prefix=NONE
1753
 
+program_suffix=NONE
1754
 
+program_transform_name=s,x,x,
1755
 
+silent=
1756
 
+site=
1757
 
+srcdir=
1758
 
+verbose=
1759
 
+x_includes=NONE
1760
 
+x_libraries=NONE
1761
 
+
1762
 
+# Installation directory options.
1763
 
+# These are left unexpanded so users can "make install exec_prefix=/foo"
1764
 
+# and all the variables that are supposed to be based on exec_prefix
1765
 
+# by default will actually change.
1766
 
+# Use braces instead of parens because sh, perl, etc. also accept them.
1767
 
+# (The list follows the same order as the GNU Coding Standards.)
1768
 
+bindir='${exec_prefix}/bin'
1769
 
+sbindir='${exec_prefix}/sbin'
1770
 
+libexecdir='${exec_prefix}/libexec'
1771
 
+datarootdir='${prefix}/share'
1772
 
+datadir='${datarootdir}'
1773
 
+sysconfdir='${prefix}/etc'
1774
 
+sharedstatedir='${prefix}/com'
1775
 
+localstatedir='${prefix}/var'
1776
 
+includedir='${prefix}/include'
1777
 
+oldincludedir='/usr/include'
1778
 
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1779
 
+infodir='${datarootdir}/info'
1780
 
+htmldir='${docdir}'
1781
 
+dvidir='${docdir}'
1782
 
+pdfdir='${docdir}'
1783
 
+psdir='${docdir}'
1784
 
+libdir='${exec_prefix}/lib'
1785
 
+localedir='${datarootdir}/locale'
1786
 
+mandir='${datarootdir}/man'
1787
 
+
1788
 
+ac_prev=
1789
 
+ac_dashdash=
1790
 
+for ac_option
1791
 
+do
1792
 
+  # If the previous option needs an argument, assign it.
1793
 
+  if test -n "$ac_prev"; then
1794
 
+    eval $ac_prev=\$ac_option
1795
 
+    ac_prev=
1796
 
+    continue
1797
 
+  fi
1798
 
+
1799
 
+  case $ac_option in
1800
 
+  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1801
 
+  *=)   ac_optarg= ;;
1802
 
+  *)    ac_optarg=yes ;;
1803
 
+  esac
1804
 
+
1805
 
+  # Accept the important Cygnus configure options, so we can diagnose typos.
1806
 
+
1807
 
+  case $ac_dashdash$ac_option in
1808
 
+  --)
1809
 
+    ac_dashdash=yes ;;
1810
 
+
1811
 
+  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1812
 
+    ac_prev=bindir ;;
1813
 
+  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1814
 
+    bindir=$ac_optarg ;;
1815
 
+
1816
 
+  -build | --build | --buil | --bui | --bu)
1817
 
+    ac_prev=build_alias ;;
1818
 
+  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1819
 
+    build_alias=$ac_optarg ;;
1820
 
+
1821
 
+  -cache-file | --cache-file | --cache-fil | --cache-fi \
1822
 
+  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1823
 
+    ac_prev=cache_file ;;
1824
 
+  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1825
 
+  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1826
 
+    cache_file=$ac_optarg ;;
1827
 
+
1828
 
+  --config-cache | -C)
1829
 
+    cache_file=config.cache ;;
1830
 
+
1831
 
+  -datadir | --datadir | --datadi | --datad)
1832
 
+    ac_prev=datadir ;;
1833
 
+  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1834
 
+    datadir=$ac_optarg ;;
1835
 
+
1836
 
+  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1837
 
+  | --dataroo | --dataro | --datar)
1838
 
+    ac_prev=datarootdir ;;
1839
 
+  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1840
 
+  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1841
 
+    datarootdir=$ac_optarg ;;
1842
 
+
1843
 
+  -disable-* | --disable-*)
1844
 
+    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1845
 
+    # Reject names that are not valid shell variable names.
1846
 
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1847
 
+      as_fn_error $? "invalid feature name: $ac_useropt"
1848
 
+    ac_useropt_orig=$ac_useropt
1849
 
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1850
 
+    case $ac_user_opts in
1851
 
+      *"
1852
 
+"enable_$ac_useropt"
1853
 
+"*) ;;
1854
 
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1855
 
+        ac_unrecognized_sep=', ';;
1856
 
+    esac
1857
 
+    eval enable_$ac_useropt=no ;;
1858
 
+
1859
 
+  -docdir | --docdir | --docdi | --doc | --do)
1860
 
+    ac_prev=docdir ;;
1861
 
+  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1862
 
+    docdir=$ac_optarg ;;
1863
 
+
1864
 
+  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1865
 
+    ac_prev=dvidir ;;
1866
 
+  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1867
 
+    dvidir=$ac_optarg ;;
1868
 
+
1869
 
+  -enable-* | --enable-*)
1870
 
+    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1871
 
+    # Reject names that are not valid shell variable names.
1872
 
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1873
 
+      as_fn_error $? "invalid feature name: $ac_useropt"
1874
 
+    ac_useropt_orig=$ac_useropt
1875
 
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1876
 
+    case $ac_user_opts in
1877
 
+      *"
1878
 
+"enable_$ac_useropt"
1879
 
+"*) ;;
1880
 
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1881
 
+        ac_unrecognized_sep=', ';;
1882
 
+    esac
1883
 
+    eval enable_$ac_useropt=\$ac_optarg ;;
1884
 
+
1885
 
+  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1886
 
+  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1887
 
+  | --exec | --exe | --ex)
1888
 
+    ac_prev=exec_prefix ;;
1889
 
+  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1890
 
+  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1891
 
+  | --exec=* | --exe=* | --ex=*)
1892
 
+    exec_prefix=$ac_optarg ;;
1893
 
+
1894
 
+  -gas | --gas | --ga | --g)
1895
 
+    # Obsolete; use --with-gas.
1896
 
+    with_gas=yes ;;
1897
 
+
1898
 
+  -help | --help | --hel | --he | -h)
1899
 
+    ac_init_help=long ;;
1900
 
+  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1901
 
+    ac_init_help=recursive ;;
1902
 
+  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1903
 
+    ac_init_help=short ;;
1904
 
+
1905
 
+  -host | --host | --hos | --ho)
1906
 
+    ac_prev=host_alias ;;
1907
 
+  -host=* | --host=* | --hos=* | --ho=*)
1908
 
+    host_alias=$ac_optarg ;;
1909
 
+
1910
 
+  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1911
 
+    ac_prev=htmldir ;;
1912
 
+  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1913
 
+  | --ht=*)
1914
 
+    htmldir=$ac_optarg ;;
1915
 
+
1916
 
+  -includedir | --includedir | --includedi | --included | --include \
1917
 
+  | --includ | --inclu | --incl | --inc)
1918
 
+    ac_prev=includedir ;;
1919
 
+  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1920
 
+  | --includ=* | --inclu=* | --incl=* | --inc=*)
1921
 
+    includedir=$ac_optarg ;;
1922
 
+
1923
 
+  -infodir | --infodir | --infodi | --infod | --info | --inf)
1924
 
+    ac_prev=infodir ;;
1925
 
+  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1926
 
+    infodir=$ac_optarg ;;
1927
 
+
1928
 
+  -libdir | --libdir | --libdi | --libd)
1929
 
+    ac_prev=libdir ;;
1930
 
+  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1931
 
+    libdir=$ac_optarg ;;
1932
 
+
1933
 
+  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1934
 
+  | --libexe | --libex | --libe)
1935
 
+    ac_prev=libexecdir ;;
1936
 
+  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1937
 
+  | --libexe=* | --libex=* | --libe=*)
1938
 
+    libexecdir=$ac_optarg ;;
1939
 
+
1940
 
+  -localedir | --localedir | --localedi | --localed | --locale)
1941
 
+    ac_prev=localedir ;;
1942
 
+  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1943
 
+    localedir=$ac_optarg ;;
1944
 
+
1945
 
+  -localstatedir | --localstatedir | --localstatedi | --localstated \
1946
 
+  | --localstate | --localstat | --localsta | --localst | --locals)
1947
 
+    ac_prev=localstatedir ;;
1948
 
+  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1949
 
+  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1950
 
+    localstatedir=$ac_optarg ;;
1951
 
+
1952
 
+  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1953
 
+    ac_prev=mandir ;;
1954
 
+  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1955
 
+    mandir=$ac_optarg ;;
1956
 
+
1957
 
+  -nfp | --nfp | --nf)
1958
 
+    # Obsolete; use --without-fp.
1959
 
+    with_fp=no ;;
1960
 
+
1961
 
+  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1962
 
+  | --no-cr | --no-c | -n)
1963
 
+    no_create=yes ;;
1964
 
+
1965
 
+  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1966
 
+  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1967
 
+    no_recursion=yes ;;
1968
 
+
1969
 
+  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1970
 
+  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1971
 
+  | --oldin | --oldi | --old | --ol | --o)
1972
 
+    ac_prev=oldincludedir ;;
1973
 
+  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1974
 
+  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1975
 
+  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1976
 
+    oldincludedir=$ac_optarg ;;
1977
 
+
1978
 
+  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1979
 
+    ac_prev=prefix ;;
1980
 
+  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1981
 
+    prefix=$ac_optarg ;;
1982
 
+
1983
 
+  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1984
 
+  | --program-pre | --program-pr | --program-p)
1985
 
+    ac_prev=program_prefix ;;
1986
 
+  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1987
 
+  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1988
 
+    program_prefix=$ac_optarg ;;
1989
 
+
1990
 
+  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1991
 
+  | --program-suf | --program-su | --program-s)
1992
 
+    ac_prev=program_suffix ;;
1993
 
+  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1994
 
+  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1995
 
+    program_suffix=$ac_optarg ;;
1996
 
+
1997
 
+  -program-transform-name | --program-transform-name \
1998
 
+  | --program-transform-nam | --program-transform-na \
1999
 
+  | --program-transform-n | --program-transform- \
2000
 
+  | --program-transform | --program-transfor \
2001
 
+  | --program-transfo | --program-transf \
2002
 
+  | --program-trans | --program-tran \
2003
 
+  | --progr-tra | --program-tr | --program-t)
2004
 
+    ac_prev=program_transform_name ;;
2005
 
+  -program-transform-name=* | --program-transform-name=* \
2006
 
+  | --program-transform-nam=* | --program-transform-na=* \
2007
 
+  | --program-transform-n=* | --program-transform-=* \
2008
 
+  | --program-transform=* | --program-transfor=* \
2009
 
+  | --program-transfo=* | --program-transf=* \
2010
 
+  | --program-trans=* | --program-tran=* \
2011
 
+  | --progr-tra=* | --program-tr=* | --program-t=*)
2012
 
+    program_transform_name=$ac_optarg ;;
2013
 
+
2014
 
+  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2015
 
+    ac_prev=pdfdir ;;
2016
 
+  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2017
 
+    pdfdir=$ac_optarg ;;
2018
 
+
2019
 
+  -psdir | --psdir | --psdi | --psd | --ps)
2020
 
+    ac_prev=psdir ;;
2021
 
+  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2022
 
+    psdir=$ac_optarg ;;
2023
 
+
2024
 
+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2025
 
+  | -silent | --silent | --silen | --sile | --sil)
2026
 
+    silent=yes ;;
2027
 
+
2028
 
+  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2029
 
+    ac_prev=sbindir ;;
2030
 
+  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2031
 
+  | --sbi=* | --sb=*)
2032
 
+    sbindir=$ac_optarg ;;
2033
 
+
2034
 
+  -sharedstatedir | --sharedstatedir | --sharedstatedi \
2035
 
+  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2036
 
+  | --sharedst | --shareds | --shared | --share | --shar \
2037
 
+  | --sha | --sh)
2038
 
+    ac_prev=sharedstatedir ;;
2039
 
+  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2040
 
+  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2041
 
+  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2042
 
+  | --sha=* | --sh=*)
2043
 
+    sharedstatedir=$ac_optarg ;;
2044
 
+
2045
 
+  -site | --site | --sit)
2046
 
+    ac_prev=site ;;
2047
 
+  -site=* | --site=* | --sit=*)
2048
 
+    site=$ac_optarg ;;
2049
 
+
2050
 
+  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2051
 
+    ac_prev=srcdir ;;
2052
 
+  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2053
 
+    srcdir=$ac_optarg ;;
2054
 
+
2055
 
+  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2056
 
+  | --syscon | --sysco | --sysc | --sys | --sy)
2057
 
+    ac_prev=sysconfdir ;;
2058
 
+  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2059
 
+  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2060
 
+    sysconfdir=$ac_optarg ;;
2061
 
+
2062
 
+  -target | --target | --targe | --targ | --tar | --ta | --t)
2063
 
+    ac_prev=target_alias ;;
2064
 
+  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2065
 
+    target_alias=$ac_optarg ;;
2066
 
+
2067
 
+  -v | -verbose | --verbose | --verbos | --verbo | --verb)
2068
 
+    verbose=yes ;;
2069
 
+
2070
 
+  -version | --version | --versio | --versi | --vers | -V)
2071
 
+    ac_init_version=: ;;
2072
 
+
2073
 
+  -with-* | --with-*)
2074
 
+    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2075
 
+    # Reject names that are not valid shell variable names.
2076
 
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2077
 
+      as_fn_error $? "invalid package name: $ac_useropt"
2078
 
+    ac_useropt_orig=$ac_useropt
2079
 
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2080
 
+    case $ac_user_opts in
2081
 
+      *"
2082
 
+"with_$ac_useropt"
2083
 
+"*) ;;
2084
 
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2085
 
+        ac_unrecognized_sep=', ';;
2086
 
+    esac
2087
 
+    eval with_$ac_useropt=\$ac_optarg ;;
2088
 
+
2089
 
+  -without-* | --without-*)
2090
 
+    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2091
 
+    # Reject names that are not valid shell variable names.
2092
 
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2093
 
+      as_fn_error $? "invalid package name: $ac_useropt"
2094
 
+    ac_useropt_orig=$ac_useropt
2095
 
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2096
 
+    case $ac_user_opts in
2097
 
+      *"
2098
 
+"with_$ac_useropt"
2099
 
+"*) ;;
2100
 
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2101
 
+        ac_unrecognized_sep=', ';;
2102
 
+    esac
2103
 
+    eval with_$ac_useropt=no ;;
2104
 
+
2105
 
+  --x)
2106
 
+    # Obsolete; use --with-x.
2107
 
+    with_x=yes ;;
2108
 
+
2109
 
+  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2110
 
+  | --x-incl | --x-inc | --x-in | --x-i)
2111
 
+    ac_prev=x_includes ;;
2112
 
+  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2113
 
+  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2114
 
+    x_includes=$ac_optarg ;;
2115
 
+
2116
 
+  -x-libraries | --x-libraries | --x-librarie | --x-librari \
2117
 
+  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2118
 
+    ac_prev=x_libraries ;;
2119
 
+  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2120
 
+  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2121
 
+    x_libraries=$ac_optarg ;;
2122
 
+
2123
 
+  -*) as_fn_error $? "unrecognized option: \`$ac_option'
2124
 
+Try \`$0 --help' for more information"
2125
 
+    ;;
2126
 
+
2127
 
+  *=*)
2128
 
+    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2129
 
+    # Reject names that are not valid shell variable names.
2130
 
+    case $ac_envvar in #(
2131
 
+      '' | [0-9]* | *[!_$as_cr_alnum]* )
2132
 
+      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2133
 
+    esac
2134
 
+    eval $ac_envvar=\$ac_optarg
2135
 
+    export $ac_envvar ;;
2136
 
+
2137
 
+  *)
2138
 
+    # FIXME: should be removed in autoconf 3.0.
2139
 
+    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2140
 
+    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2141
 
+      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2142
 
+    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2143
 
+    ;;
2144
 
+
2145
 
+  esac
2146
 
+done
2147
 
+
2148
 
+if test -n "$ac_prev"; then
2149
 
+  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2150
 
+  as_fn_error $? "missing argument to $ac_option"
2151
 
+fi
2152
 
+
2153
 
+if test -n "$ac_unrecognized_opts"; then
2154
 
+  case $enable_option_checking in
2155
 
+    no) ;;
2156
 
+    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2157
 
+    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2158
 
+  esac
2159
 
+fi
2160
 
+
2161
 
+# Check all directory arguments for consistency.
2162
 
+for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
2163
 
+               datadir sysconfdir sharedstatedir localstatedir includedir \
2164
 
+               oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2165
 
+               libdir localedir mandir
2166
 
+do
2167
 
+  eval ac_val=\$$ac_var
2168
 
+  # Remove trailing slashes.
2169
 
+  case $ac_val in
2170
 
+    */ )
2171
 
+      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2172
 
+      eval $ac_var=\$ac_val;;
2173
 
+  esac
2174
 
+  # Be sure to have absolute directory names.
2175
 
+  case $ac_val in
2176
 
+    [\\/$]* | ?:[\\/]* )  continue;;
2177
 
+    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2178
 
+  esac
2179
 
+  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2180
 
+done
2181
 
+
2182
 
+# There might be people who depend on the old broken behavior: `$host'
2183
 
+# used to hold the argument of --host etc.
2184
 
+# FIXME: To remove some day.
2185
 
+build=$build_alias
2186
 
+host=$host_alias
2187
 
+target=$target_alias
2188
 
+
2189
 
+# FIXME: To remove some day.
2190
 
+if test "x$host_alias" != x; then
2191
 
+  if test "x$build_alias" = x; then
2192
 
+    cross_compiling=maybe
2193
 
+    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
2194
 
+    If a cross compiler is detected then cross compile mode will be used" >&2
2195
 
+  elif test "x$build_alias" != "x$host_alias"; then
2196
 
+    cross_compiling=yes
2197
 
+  fi
2198
 
+fi
2199
 
+
2200
 
+ac_tool_prefix=
2201
 
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
2202
 
+
2203
 
+test "$silent" = yes && exec 6>/dev/null
2204
 
+
2205
 
+
2206
 
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
2207
 
+ac_ls_di=`ls -di .` &&
2208
 
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2209
 
+  as_fn_error $? "working directory cannot be determined"
2210
 
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2211
 
+  as_fn_error $? "pwd does not report name of working directory"
2212
 
+
2213
 
+
2214
 
+# Find the source files, if location was not specified.
2215
 
+if test -z "$srcdir"; then
2216
 
+  ac_srcdir_defaulted=yes
2217
 
+  # Try the directory containing this script, then the parent directory.
2218
 
+  ac_confdir=`$as_dirname -- "$as_myself" ||
2219
 
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2220
 
+        X"$as_myself" : 'X\(//\)[^/]' \| \
2221
 
+        X"$as_myself" : 'X\(//\)$' \| \
2222
 
+        X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2223
 
+$as_echo X"$as_myself" |
2224
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2225
 
+           s//\1/
2226
 
+           q
2227
 
+         }
2228
 
+         /^X\(\/\/\)[^/].*/{
2229
 
+           s//\1/
2230
 
+           q
2231
 
+         }
2232
 
+         /^X\(\/\/\)$/{
2233
 
+           s//\1/
2234
 
+           q
2235
 
+         }
2236
 
+         /^X\(\/\).*/{
2237
 
+           s//\1/
2238
 
+           q
2239
 
+         }
2240
 
+         s/.*/./; q'`
2241
 
+  srcdir=$ac_confdir
2242
 
+  if test ! -r "$srcdir/$ac_unique_file"; then
2243
 
+    srcdir=..
2244
 
+  fi
2245
 
+else
2246
 
+  ac_srcdir_defaulted=no
2247
 
+fi
2248
 
+if test ! -r "$srcdir/$ac_unique_file"; then
2249
 
+  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2250
 
+  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2251
 
+fi
2252
 
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2253
 
+ac_abs_confdir=`(
2254
 
+       cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2255
 
+       pwd)`
2256
 
+# When building in place, set srcdir=.
2257
 
+if test "$ac_abs_confdir" = "$ac_pwd"; then
2258
 
+  srcdir=.
2259
 
+fi
2260
 
+# Remove unnecessary trailing slashes from srcdir.
2261
 
+# Double slashes in file names in object file debugging info
2262
 
+# mess up M-x gdb in Emacs.
2263
 
+case $srcdir in
2264
 
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2265
 
+esac
2266
 
+for ac_var in $ac_precious_vars; do
2267
 
+  eval ac_env_${ac_var}_set=\${${ac_var}+set}
2268
 
+  eval ac_env_${ac_var}_value=\$${ac_var}
2269
 
+  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2270
 
+  eval ac_cv_env_${ac_var}_value=\$${ac_var}
2271
 
+done
2272
 
+
2273
 
+#
2274
 
+# Report the --help message.
2275
 
+#
2276
 
+if test "$ac_init_help" = "long"; then
2277
 
+  # Omit some internal or obsolete options to make the list less imposing.
2278
 
+  # This message is too long to be a string in the A/UX 3.1 sh.
2279
 
+  cat <<_ACEOF
2280
 
+\`configure' configures GNU coreutils 8.13 to adapt to many kinds of systems.
2281
 
+
2282
 
+Usage: $0 [OPTION]... [VAR=VALUE]...
2283
 
+
2284
 
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
2285
 
+VAR=VALUE.  See below for descriptions of some of the useful variables.
2286
 
+
2287
 
+Defaults for the options are specified in brackets.
2288
 
+
2289
 
+Configuration:
2290
 
+  -h, --help              display this help and exit
2291
 
+      --help=short        display options specific to this package
2292
 
+      --help=recursive    display the short help of all the included packages
2293
 
+  -V, --version           display version information and exit
2294
 
+  -q, --quiet, --silent   do not print \`checking ...' messages
2295
 
+      --cache-file=FILE   cache test results in FILE [disabled]
2296
 
+  -C, --config-cache      alias for \`--cache-file=config.cache'
2297
 
+  -n, --no-create         do not create output files
2298
 
+      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
2299
 
+
2300
 
+Installation directories:
2301
 
+  --prefix=PREFIX         install architecture-independent files in PREFIX
2302
 
+                          @<:@@S|@ac_default_prefix@:>@
2303
 
+  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
2304
 
+                          @<:@PREFIX@:>@
2305
 
+
2306
 
+By default, \`make install' will install all the files in
2307
 
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
2308
 
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2309
 
+for instance \`--prefix=\$HOME'.
2310
 
+
2311
 
+For better control, use the options below.
2312
 
+
2313
 
+Fine tuning of the installation directories:
2314
 
+  --bindir=DIR            user executables [EPREFIX/bin]
2315
 
+  --sbindir=DIR           system admin executables [EPREFIX/sbin]
2316
 
+  --libexecdir=DIR        program executables [EPREFIX/libexec]
2317
 
+  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
2318
 
+  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
2319
 
+  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
2320
 
+  --libdir=DIR            object code libraries [EPREFIX/lib]
2321
 
+  --includedir=DIR        C header files [PREFIX/include]
2322
 
+  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
2323
 
+  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
2324
 
+  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
2325
 
+  --infodir=DIR           info documentation [DATAROOTDIR/info]
2326
 
+  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
2327
 
+  --mandir=DIR            man documentation [DATAROOTDIR/man]
2328
 
+  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/coreutils@:>@
2329
 
+  --htmldir=DIR           html documentation [DOCDIR]
2330
 
+  --dvidir=DIR            dvi documentation [DOCDIR]
2331
 
+  --pdfdir=DIR            pdf documentation [DOCDIR]
2332
 
+  --psdir=DIR             ps documentation [DOCDIR]
2333
 
+_ACEOF
2334
 
+
2335
 
+  cat <<\_ACEOF
2336
 
+
2337
 
+Program names:
2338
 
+  --program-prefix=PREFIX            prepend PREFIX to installed program names
2339
 
+  --program-suffix=SUFFIX            append SUFFIX to installed program names
2340
 
+  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
2341
 
+
2342
 
+System types:
2343
 
+  --build=BUILD     configure for building on BUILD [guessed]
2344
 
+  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
2345
 
+_ACEOF
2346
 
+fi
2347
 
+
2348
 
+if test -n "$ac_init_help"; then
2349
 
+  case $ac_init_help in
2350
 
+     short | recursive ) echo "Configuration of GNU coreutils 8.13:";;
2351
 
+   esac
2352
 
+  cat <<\_ACEOF
2353
 
+
2354
 
+Optional Features:
2355
 
+  --disable-option-checking  ignore unrecognized --enable/--with options
2356
 
+  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2357
 
+  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2358
 
+  --enable-silent-rules          less verbose build output (undo: `make V=1')
2359
 
+  --disable-silent-rules         verbose build output (undo: `make V=0')
2360
 
+  --disable-dependency-tracking  speeds up one-time build
2361
 
+  --enable-dependency-tracking   do not reject slow dependency extractors
2362
 
+  --disable-largefile     omit support for large files
2363
 
+  --enable-threads={posix|solaris|pth|win32} 
2364
 
+                          specify multithreading API
2365
 
+  --disable-threads       build without multithread safety
2366
 
+  --disable-acl           do not support ACLs
2367
 
+  --disable-assert        turn off assertions
2368
 
+  --disable-rpath         do not hardcode runtime library paths
2369
 
+  --disable-xattr         do not support extended attributes
2370
 
+  --disable-libcap        disable libcap support
2371
 
+  --enable-gcc-warnings   turn on lots of GCC warnings (for developers)
2372
 
+  --enable-install-program=PROG_LIST 
2373
 
+                          install the programs in PROG_LIST (comma-separated,
2374
 
+                          default: none)
2375
 
+  --enable-no-install-program=PROG_LIST 
2376
 
+                          do NOT install the programs in PROG_LIST
2377
 
+                          (comma-separated, default: arch,hostname,su)
2378
 
+  --disable-nls           do not use Native Language Support
2379
 
+
2380
 
+Optional Packages:
2381
 
+  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2382
 
+  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2383
 
+  --with-gnu-ld           assume the C compiler uses GNU ld default=no
2384
 
+  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
2385
 
+  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
2386
 
+  --with-libpth-prefix[=DIR]  search for libpth in DIR/include and DIR/lib
2387
 
+  --without-libpth-prefix     don't search for libpth in includedir and libdir
2388
 
+  --without-included-regex 
2389
 
+                          don't compile regex; this is the default on systems
2390
 
+                          with recent-enough versions of the GNU C Library
2391
 
+                          (use with caution on other systems).
2392
 
+  --without-selinux       do not use SELinux, even on systems with SELinux
2393
 
+  --with-packager         String identifying the packager of this software
2394
 
+  --with-packager-version Packager-specific version information
2395
 
+  --with-packager-bug-reports 
2396
 
+                          Packager info for bug reports (URL/e-mail/...)
2397
 
+  --with-tty-group[=NAME] 
2398
 
+                          group used by system for TTYs, "tty" when not
2399
 
+                          specified (default: do not rely on any group used
2400
 
+                          for TTYs)
2401
 
+  --without-gmp           do not use the GNU MP library for arbitrary
2402
 
+                          precision calculation (default: use it if available)
2403
 
+  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
2404
 
+  --without-libintl-prefix     don't search for libintl in includedir and libdir
2405
 
+
2406
 
+Some influential environment variables:
2407
 
+  CC          C compiler command
2408
 
+  CFLAGS      C compiler flags
2409
 
+  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2410
 
+              nonstandard directory <lib dir>
2411
 
+  LIBS        libraries to pass to the linker, e.g. -l<library>
2412
 
+  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2413
 
+              you have headers in a nonstandard directory <include dir>
2414
 
+  CPP         C preprocessor
2415
 
+  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
2416
 
+              `bison -y'. Values other than `bison -y' will most likely break
2417
 
+              on most systems.
2418
 
+  YFLAGS      YFLAGS contains the list arguments that will be passed by
2419
 
+              default to Bison. This script will default YFLAGS to the empty
2420
 
+              string to avoid a default value of `-d' given by some make
2421
 
+              applications.
2422
 
+  DEFAULT_POSIX2_VERSION 
2423
 
+              POSIX version to default to; see 'config.hin'.
2424
 
+
2425
 
+Use these variables to override the choices made by `configure' or to help
2426
 
+it to find libraries and programs with nonstandard names/locations.
2427
 
+
2428
 
+Report bugs to <bug-coreutils@gnu.org>.
2429
 
+GNU coreutils home page: <http://www.gnu.org/software/coreutils/>.
2430
 
+General help using GNU software: <http://www.gnu.org/gethelp/>.
2431
 
+_ACEOF
2432
 
+ac_status=$?
2433
 
+fi
2434
 
+
2435
 
+if test "$ac_init_help" = "recursive"; then
2436
 
+  # If there are subdirs, report their specific --help.
2437
 
+  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2438
 
+    test -d "$ac_dir" ||
2439
 
+      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2440
 
+      continue
2441
 
+    ac_builddir=.
2442
 
+
2443
 
+case "$ac_dir" in
2444
 
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2445
 
+*)
2446
 
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2447
 
+  # A ".." for each directory in $ac_dir_suffix.
2448
 
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2449
 
+  case $ac_top_builddir_sub in
2450
 
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2451
 
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2452
 
+  esac ;;
2453
 
+esac
2454
 
+ac_abs_top_builddir=$ac_pwd
2455
 
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
2456
 
+# for backward compatibility:
2457
 
+ac_top_builddir=$ac_top_build_prefix
2458
 
+
2459
 
+case $srcdir in
2460
 
+  .)  # We are building in place.
2461
 
+    ac_srcdir=.
2462
 
+    ac_top_srcdir=$ac_top_builddir_sub
2463
 
+    ac_abs_top_srcdir=$ac_pwd ;;
2464
 
+  [\\/]* | ?:[\\/]* )  # Absolute name.
2465
 
+    ac_srcdir=$srcdir$ac_dir_suffix;
2466
 
+    ac_top_srcdir=$srcdir
2467
 
+    ac_abs_top_srcdir=$srcdir ;;
2468
 
+  *) # Relative name.
2469
 
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2470
 
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
2471
 
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2472
 
+esac
2473
 
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2474
 
+
2475
 
+    cd "$ac_dir" || { ac_status=$?; continue; }
2476
 
+    # Check for guested configure.
2477
 
+    if test -f "$ac_srcdir/configure.gnu"; then
2478
 
+      echo &&
2479
 
+      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2480
 
+    elif test -f "$ac_srcdir/configure"; then
2481
 
+      echo &&
2482
 
+      $SHELL "$ac_srcdir/configure" --help=recursive
2483
 
+    else
2484
 
+      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2485
 
+    fi || ac_status=$?
2486
 
+    cd "$ac_pwd" || { ac_status=$?; break; }
2487
 
+  done
2488
 
+fi
2489
 
+
2490
 
+test -n "$ac_init_help" && exit $ac_status
2491
 
+if $ac_init_version; then
2492
 
+  cat <<\_ACEOF
2493
 
+GNU coreutils configure 8.13
2494
 
+generated by GNU Autoconf 2.68
2495
 
+
2496
 
+Copyright (C) 2010 Free Software Foundation, Inc.
2497
 
+This configure script is free software; the Free Software Foundation
2498
 
+gives unlimited permission to copy, distribute and modify it.
2499
 
+_ACEOF
2500
 
+  exit
2501
 
+fi
2502
 
+
2503
 
+## ------------------------ ##
2504
 
+## Autoconf initialization. ##
2505
 
+## ------------------------ ##
2506
 
+
2507
 
+@%:@ ac_fn_c_try_compile LINENO
2508
 
+@%:@ --------------------------
2509
 
+@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
2510
 
+ac_fn_c_try_compile ()
2511
 
+{
2512
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2513
 
+  rm -f conftest.$ac_objext
2514
 
+  if { { ac_try="$ac_compile"
2515
 
+case "(($ac_try" in
2516
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517
 
+  *) ac_try_echo=$ac_try;;
2518
 
+esac
2519
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2520
 
+$as_echo "$ac_try_echo"; } >&5
2521
 
+  (eval "$ac_compile") 2>conftest.err
2522
 
+  ac_status=$?
2523
 
+  if test -s conftest.err; then
2524
 
+    grep -v '^ *+' conftest.err >conftest.er1
2525
 
+    cat conftest.er1 >&5
2526
 
+    mv -f conftest.er1 conftest.err
2527
 
+  fi
2528
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2529
 
+  test $ac_status = 0; } && {
2530
 
+        test -z "$ac_c_werror_flag" ||
2531
 
+        test ! -s conftest.err
2532
 
+       } && test -s conftest.$ac_objext; then :
2533
 
+  ac_retval=0
2534
 
+else
2535
 
+  $as_echo "$as_me: failed program was:" >&5
2536
 
+sed 's/^/| /' conftest.$ac_ext >&5
2537
 
+
2538
 
+       ac_retval=1
2539
 
+fi
2540
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2541
 
+  as_fn_set_status $ac_retval
2542
 
+
2543
 
+} @%:@ ac_fn_c_try_compile
2544
 
+
2545
 
+@%:@ ac_fn_c_try_cpp LINENO
2546
 
+@%:@ ----------------------
2547
 
+@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
2548
 
+ac_fn_c_try_cpp ()
2549
 
+{
2550
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2551
 
+  if { { ac_try="$ac_cpp conftest.$ac_ext"
2552
 
+case "(($ac_try" in
2553
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2554
 
+  *) ac_try_echo=$ac_try;;
2555
 
+esac
2556
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2557
 
+$as_echo "$ac_try_echo"; } >&5
2558
 
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2559
 
+  ac_status=$?
2560
 
+  if test -s conftest.err; then
2561
 
+    grep -v '^ *+' conftest.err >conftest.er1
2562
 
+    cat conftest.er1 >&5
2563
 
+    mv -f conftest.er1 conftest.err
2564
 
+  fi
2565
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2566
 
+  test $ac_status = 0; } > conftest.i && {
2567
 
+        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2568
 
+        test ! -s conftest.err
2569
 
+       }; then :
2570
 
+  ac_retval=0
2571
 
+else
2572
 
+  $as_echo "$as_me: failed program was:" >&5
2573
 
+sed 's/^/| /' conftest.$ac_ext >&5
2574
 
+
2575
 
+    ac_retval=1
2576
 
+fi
2577
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2578
 
+  as_fn_set_status $ac_retval
2579
 
+
2580
 
+} @%:@ ac_fn_c_try_cpp
2581
 
+
2582
 
+@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2583
 
+@%:@ -------------------------------------------------------
2584
 
+@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
2585
 
+@%:@ the include files in INCLUDES and setting the cache variable VAR
2586
 
+@%:@ accordingly.
2587
 
+ac_fn_c_check_header_mongrel ()
2588
 
+{
2589
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2590
 
+  if eval \${$3+:} false; then :
2591
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2592
 
+$as_echo_n "checking for $2... " >&6; }
2593
 
+if eval \${$3+:} false; then :
2594
 
+  $as_echo_n "(cached) " >&6
2595
 
+fi
2596
 
+eval ac_res=\$$3
2597
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2598
 
+$as_echo "$ac_res" >&6; }
2599
 
+else
2600
 
+  # Is the header compilable?
2601
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2602
 
+$as_echo_n "checking $2 usability... " >&6; }
2603
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2604
 
+/* end confdefs.h.  */
2605
 
+$4
2606
 
+@%:@include <$2>
2607
 
+_ACEOF
2608
 
+if ac_fn_c_try_compile "$LINENO"; then :
2609
 
+  ac_header_compiler=yes
2610
 
+else
2611
 
+  ac_header_compiler=no
2612
 
+fi
2613
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2614
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2615
 
+$as_echo "$ac_header_compiler" >&6; }
2616
 
+
2617
 
+# Is the header present?
2618
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2619
 
+$as_echo_n "checking $2 presence... " >&6; }
2620
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2621
 
+/* end confdefs.h.  */
2622
 
+@%:@include <$2>
2623
 
+_ACEOF
2624
 
+if ac_fn_c_try_cpp "$LINENO"; then :
2625
 
+  ac_header_preproc=yes
2626
 
+else
2627
 
+  ac_header_preproc=no
2628
 
+fi
2629
 
+rm -f conftest.err conftest.i conftest.$ac_ext
2630
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2631
 
+$as_echo "$ac_header_preproc" >&6; }
2632
 
+
2633
 
+# So?  What about this header?
2634
 
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2635
 
+  yes:no: )
2636
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2637
 
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2638
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2639
 
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2640
 
+    ;;
2641
 
+  no:yes:* )
2642
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2643
 
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2644
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2645
 
+$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2646
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2647
 
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2648
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2649
 
+$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2650
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2651
 
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2652
 
+( $as_echo "## ------------------------------------ ##
2653
 
+## Report this to bug-coreutils@gnu.org ##
2654
 
+## ------------------------------------ ##"
2655
 
+     ) | sed "s/^/$as_me: WARNING:     /" >&2
2656
 
+    ;;
2657
 
+esac
2658
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2659
 
+$as_echo_n "checking for $2... " >&6; }
2660
 
+if eval \${$3+:} false; then :
2661
 
+  $as_echo_n "(cached) " >&6
2662
 
+else
2663
 
+  eval "$3=\$ac_header_compiler"
2664
 
+fi
2665
 
+eval ac_res=\$$3
2666
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2667
 
+$as_echo "$ac_res" >&6; }
2668
 
+fi
2669
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2670
 
+
2671
 
+} @%:@ ac_fn_c_check_header_mongrel
2672
 
+
2673
 
+@%:@ ac_fn_c_try_run LINENO
2674
 
+@%:@ ----------------------
2675
 
+@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
2676
 
+@%:@ that executables *can* be run.
2677
 
+ac_fn_c_try_run ()
2678
 
+{
2679
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2680
 
+  if { { ac_try="$ac_link"
2681
 
+case "(($ac_try" in
2682
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2683
 
+  *) ac_try_echo=$ac_try;;
2684
 
+esac
2685
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2686
 
+$as_echo "$ac_try_echo"; } >&5
2687
 
+  (eval "$ac_link") 2>&5
2688
 
+  ac_status=$?
2689
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2690
 
+  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2691
 
+  { { case "(($ac_try" in
2692
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2693
 
+  *) ac_try_echo=$ac_try;;
2694
 
+esac
2695
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696
 
+$as_echo "$ac_try_echo"; } >&5
2697
 
+  (eval "$ac_try") 2>&5
2698
 
+  ac_status=$?
2699
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2700
 
+  test $ac_status = 0; }; }; then :
2701
 
+  ac_retval=0
2702
 
+else
2703
 
+  $as_echo "$as_me: program exited with status $ac_status" >&5
2704
 
+       $as_echo "$as_me: failed program was:" >&5
2705
 
+sed 's/^/| /' conftest.$ac_ext >&5
2706
 
+
2707
 
+       ac_retval=$ac_status
2708
 
+fi
2709
 
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2710
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711
 
+  as_fn_set_status $ac_retval
2712
 
+
2713
 
+} @%:@ ac_fn_c_try_run
2714
 
+
2715
 
+@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2716
 
+@%:@ -------------------------------------------------------
2717
 
+@%:@ Tests whether HEADER exists and can be compiled using the include files in
2718
 
+@%:@ INCLUDES, setting the cache variable VAR accordingly.
2719
 
+ac_fn_c_check_header_compile ()
2720
 
+{
2721
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2722
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2723
 
+$as_echo_n "checking for $2... " >&6; }
2724
 
+if eval \${$3+:} false; then :
2725
 
+  $as_echo_n "(cached) " >&6
2726
 
+else
2727
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2728
 
+/* end confdefs.h.  */
2729
 
+$4
2730
 
+@%:@include <$2>
2731
 
+_ACEOF
2732
 
+if ac_fn_c_try_compile "$LINENO"; then :
2733
 
+  eval "$3=yes"
2734
 
+else
2735
 
+  eval "$3=no"
2736
 
+fi
2737
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2738
 
+fi
2739
 
+eval ac_res=\$$3
2740
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2741
 
+$as_echo "$ac_res" >&6; }
2742
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2743
 
+
2744
 
+} @%:@ ac_fn_c_check_header_compile
2745
 
+
2746
 
+@%:@ ac_fn_c_try_link LINENO
2747
 
+@%:@ -----------------------
2748
 
+@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2749
 
+ac_fn_c_try_link ()
2750
 
+{
2751
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2752
 
+  rm -f conftest.$ac_objext conftest$ac_exeext
2753
 
+  if { { ac_try="$ac_link"
2754
 
+case "(($ac_try" in
2755
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756
 
+  *) ac_try_echo=$ac_try;;
2757
 
+esac
2758
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2759
 
+$as_echo "$ac_try_echo"; } >&5
2760
 
+  (eval "$ac_link") 2>conftest.err
2761
 
+  ac_status=$?
2762
 
+  if test -s conftest.err; then
2763
 
+    grep -v '^ *+' conftest.err >conftest.er1
2764
 
+    cat conftest.er1 >&5
2765
 
+    mv -f conftest.er1 conftest.err
2766
 
+  fi
2767
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2768
 
+  test $ac_status = 0; } && {
2769
 
+        test -z "$ac_c_werror_flag" ||
2770
 
+        test ! -s conftest.err
2771
 
+       } && test -s conftest$ac_exeext && {
2772
 
+        test "$cross_compiling" = yes ||
2773
 
+        $as_test_x conftest$ac_exeext
2774
 
+       }; then :
2775
 
+  ac_retval=0
2776
 
+else
2777
 
+  $as_echo "$as_me: failed program was:" >&5
2778
 
+sed 's/^/| /' conftest.$ac_ext >&5
2779
 
+
2780
 
+       ac_retval=1
2781
 
+fi
2782
 
+  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2783
 
+  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2784
 
+  # interfere with the next link command; also delete a directory that is
2785
 
+  # left behind by Apple's compiler.  We do this before executing the actions.
2786
 
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2787
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2788
 
+  as_fn_set_status $ac_retval
2789
 
+
2790
 
+} @%:@ ac_fn_c_try_link
2791
 
+
2792
 
+@%:@ ac_fn_c_check_func LINENO FUNC VAR
2793
 
+@%:@ ----------------------------------
2794
 
+@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
2795
 
+ac_fn_c_check_func ()
2796
 
+{
2797
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2798
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2799
 
+$as_echo_n "checking for $2... " >&6; }
2800
 
+if eval \${$3+:} false; then :
2801
 
+  $as_echo_n "(cached) " >&6
2802
 
+else
2803
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2804
 
+/* end confdefs.h.  */
2805
 
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2806
 
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2807
 
+#define $2 innocuous_$2
2808
 
+
2809
 
+/* System header to define __stub macros and hopefully few prototypes,
2810
 
+    which can conflict with char $2 (); below.
2811
 
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2812
 
+    <limits.h> exists even on freestanding compilers.  */
2813
 
+
2814
 
+#ifdef __STDC__
2815
 
+# include <limits.h>
2816
 
+#else
2817
 
+# include <assert.h>
2818
 
+#endif
2819
 
+
2820
 
+#undef $2
2821
 
+
2822
 
+/* Override any GCC internal prototype to avoid an error.
2823
 
+   Use char because int might match the return type of a GCC
2824
 
+   builtin and then its argument prototype would still apply.  */
2825
 
+#ifdef __cplusplus
2826
 
+extern "C"
2827
 
+#endif
2828
 
+char $2 ();
2829
 
+/* The GNU C library defines this for functions which it implements
2830
 
+    to always fail with ENOSYS.  Some functions are actually named
2831
 
+    something starting with __ and the normal name is an alias.  */
2832
 
+#if defined __stub_$2 || defined __stub___$2
2833
 
+choke me
2834
 
+#endif
2835
 
+
2836
 
+int
2837
 
+main ()
2838
 
+{
2839
 
+return $2 ();
2840
 
+  ;
2841
 
+  return 0;
2842
 
+}
2843
 
+_ACEOF
2844
 
+if ac_fn_c_try_link "$LINENO"; then :
2845
 
+  eval "$3=yes"
2846
 
+else
2847
 
+  eval "$3=no"
2848
 
+fi
2849
 
+rm -f core conftest.err conftest.$ac_objext \
2850
 
+    conftest$ac_exeext conftest.$ac_ext
2851
 
+fi
2852
 
+eval ac_res=\$$3
2853
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2854
 
+$as_echo "$ac_res" >&6; }
2855
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2856
 
+
2857
 
+} @%:@ ac_fn_c_check_func
2858
 
+
2859
 
+@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2860
 
+@%:@ -------------------------------------------
2861
 
+@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
2862
 
+@%:@ variable VAR accordingly.
2863
 
+ac_fn_c_check_type ()
2864
 
+{
2865
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2866
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2867
 
+$as_echo_n "checking for $2... " >&6; }
2868
 
+if eval \${$3+:} false; then :
2869
 
+  $as_echo_n "(cached) " >&6
2870
 
+else
2871
 
+  eval "$3=no"
2872
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2873
 
+/* end confdefs.h.  */
2874
 
+$4
2875
 
+int
2876
 
+main ()
2877
 
+{
2878
 
+if (sizeof ($2))
2879
 
+        return 0;
2880
 
+  ;
2881
 
+  return 0;
2882
 
+}
2883
 
+_ACEOF
2884
 
+if ac_fn_c_try_compile "$LINENO"; then :
2885
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886
 
+/* end confdefs.h.  */
2887
 
+$4
2888
 
+int
2889
 
+main ()
2890
 
+{
2891
 
+if (sizeof (($2)))
2892
 
+           return 0;
2893
 
+  ;
2894
 
+  return 0;
2895
 
+}
2896
 
+_ACEOF
2897
 
+if ac_fn_c_try_compile "$LINENO"; then :
2898
 
+  
2899
 
+else
2900
 
+  eval "$3=yes"
2901
 
+fi
2902
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2903
 
+fi
2904
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2905
 
+fi
2906
 
+eval ac_res=\$$3
2907
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2908
 
+$as_echo "$ac_res" >&6; }
2909
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2910
 
+
2911
 
+} @%:@ ac_fn_c_check_type
2912
 
+
2913
 
+@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2914
 
+@%:@ ---------------------------------------------
2915
 
+@%:@ Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2916
 
+@%:@ accordingly.
2917
 
+ac_fn_c_check_decl ()
2918
 
+{
2919
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2920
 
+  as_decl_name=`echo $2|sed 's/ *(.*//'`
2921
 
+  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2922
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2923
 
+$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2924
 
+if eval \${$3+:} false; then :
2925
 
+  $as_echo_n "(cached) " >&6
2926
 
+else
2927
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2928
 
+/* end confdefs.h.  */
2929
 
+$4
2930
 
+int
2931
 
+main ()
2932
 
+{
2933
 
+@%:@ifndef $as_decl_name
2934
 
+@%:@ifdef __cplusplus
2935
 
+  (void) $as_decl_use;
2936
 
+@%:@else
2937
 
+  (void) $as_decl_name;
2938
 
+@%:@endif
2939
 
+@%:@endif
2940
 
+
2941
 
+  ;
2942
 
+  return 0;
2943
 
+}
2944
 
+_ACEOF
2945
 
+if ac_fn_c_try_compile "$LINENO"; then :
2946
 
+  eval "$3=yes"
2947
 
+else
2948
 
+  eval "$3=no"
2949
 
+fi
2950
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2951
 
+fi
2952
 
+eval ac_res=\$$3
2953
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2954
 
+$as_echo "$ac_res" >&6; }
2955
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2956
 
+
2957
 
+} @%:@ ac_fn_c_check_decl
2958
 
+
2959
 
+@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2960
 
+@%:@ --------------------------------------------
2961
 
+@%:@ Tries to find the compile-time value of EXPR in a program that includes
2962
 
+@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
2963
 
+@%:@ computed
2964
 
+ac_fn_c_compute_int ()
2965
 
+{
2966
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2967
 
+  if test "$cross_compiling" = yes; then
2968
 
+    # Depending upon the size, compute the lo and hi bounds.
2969
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2970
 
+/* end confdefs.h.  */
2971
 
+$4
2972
 
+int
2973
 
+main ()
2974
 
+{
2975
 
+static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
2976
 
+test_array @<:@0@:>@ = 0
2977
 
+
2978
 
+  ;
2979
 
+  return 0;
2980
 
+}
2981
 
+_ACEOF
2982
 
+if ac_fn_c_try_compile "$LINENO"; then :
2983
 
+  ac_lo=0 ac_mid=0
2984
 
+  while :; do
2985
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986
 
+/* end confdefs.h.  */
2987
 
+$4
2988
 
+int
2989
 
+main ()
2990
 
+{
2991
 
+static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
2992
 
+test_array @<:@0@:>@ = 0
2993
 
+
2994
 
+  ;
2995
 
+  return 0;
2996
 
+}
2997
 
+_ACEOF
2998
 
+if ac_fn_c_try_compile "$LINENO"; then :
2999
 
+  ac_hi=$ac_mid; break
3000
 
+else
3001
 
+  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
3002
 
+                       if test $ac_lo -le $ac_mid; then
3003
 
+                         ac_lo= ac_hi=
3004
 
+                         break
3005
 
+                       fi
3006
 
+                       as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
3007
 
+fi
3008
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3009
 
+  done
3010
 
+else
3011
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3012
 
+/* end confdefs.h.  */
3013
 
+$4
3014
 
+int
3015
 
+main ()
3016
 
+{
3017
 
+static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
3018
 
+test_array @<:@0@:>@ = 0
3019
 
+
3020
 
+  ;
3021
 
+  return 0;
3022
 
+}
3023
 
+_ACEOF
3024
 
+if ac_fn_c_try_compile "$LINENO"; then :
3025
 
+  ac_hi=-1 ac_mid=-1
3026
 
+  while :; do
3027
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3028
 
+/* end confdefs.h.  */
3029
 
+$4
3030
 
+int
3031
 
+main ()
3032
 
+{
3033
 
+static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
3034
 
+test_array @<:@0@:>@ = 0
3035
 
+
3036
 
+  ;
3037
 
+  return 0;
3038
 
+}
3039
 
+_ACEOF
3040
 
+if ac_fn_c_try_compile "$LINENO"; then :
3041
 
+  ac_lo=$ac_mid; break
3042
 
+else
3043
 
+  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
3044
 
+                       if test $ac_mid -le $ac_hi; then
3045
 
+                         ac_lo= ac_hi=
3046
 
+                         break
3047
 
+                       fi
3048
 
+                       as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
3049
 
+fi
3050
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051
 
+  done
3052
 
+else
3053
 
+  ac_lo= ac_hi=
3054
 
+fi
3055
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3056
 
+fi
3057
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058
 
+# Binary search between lo and hi bounds.
3059
 
+while test "x$ac_lo" != "x$ac_hi"; do
3060
 
+  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
3061
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062
 
+/* end confdefs.h.  */
3063
 
+$4
3064
 
+int
3065
 
+main ()
3066
 
+{
3067
 
+static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
3068
 
+test_array @<:@0@:>@ = 0
3069
 
+
3070
 
+  ;
3071
 
+  return 0;
3072
 
+}
3073
 
+_ACEOF
3074
 
+if ac_fn_c_try_compile "$LINENO"; then :
3075
 
+  ac_hi=$ac_mid
3076
 
+else
3077
 
+  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
3078
 
+fi
3079
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3080
 
+done
3081
 
+case $ac_lo in @%:@((
3082
 
+?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
3083
 
+'') ac_retval=1 ;;
3084
 
+esac
3085
 
+  else
3086
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3087
 
+/* end confdefs.h.  */
3088
 
+$4
3089
 
+static long int longval () { return $2; }
3090
 
+static unsigned long int ulongval () { return $2; }
3091
 
+@%:@include <stdio.h>
3092
 
+@%:@include <stdlib.h>
3093
 
+int
3094
 
+main ()
3095
 
+{
3096
 
+
3097
 
+  FILE *f = fopen ("conftest.val", "w");
3098
 
+  if (! f)
3099
 
+    return 1;
3100
 
+  if (($2) < 0)
3101
 
+    {
3102
 
+      long int i = longval ();
3103
 
+      if (i != ($2))
3104
 
+       return 1;
3105
 
+      fprintf (f, "%ld", i);
3106
 
+    }
3107
 
+  else
3108
 
+    {
3109
 
+      unsigned long int i = ulongval ();
3110
 
+      if (i != ($2))
3111
 
+       return 1;
3112
 
+      fprintf (f, "%lu", i);
3113
 
+    }
3114
 
+  /* Do not output a trailing newline, as this causes \r\n confusion
3115
 
+     on some platforms.  */
3116
 
+  return ferror (f) || fclose (f) != 0;
3117
 
+
3118
 
+  ;
3119
 
+  return 0;
3120
 
+}
3121
 
+_ACEOF
3122
 
+if ac_fn_c_try_run "$LINENO"; then :
3123
 
+  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3124
 
+else
3125
 
+  ac_retval=1
3126
 
+fi
3127
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3128
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
3129
 
+rm -f conftest.val
3130
 
+
3131
 
+  fi
3132
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3133
 
+  as_fn_set_status $ac_retval
3134
 
+
3135
 
+} @%:@ ac_fn_c_compute_int
3136
 
+
3137
 
+@%:@ ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3138
 
+@%:@ ----------------------------------------------------
3139
 
+@%:@ Tries to find if the field MEMBER exists in type AGGR, after including
3140
 
+@%:@ INCLUDES, setting cache variable VAR accordingly.
3141
 
+ac_fn_c_check_member ()
3142
 
+{
3143
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3144
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3145
 
+$as_echo_n "checking for $2.$3... " >&6; }
3146
 
+if eval \${$4+:} false; then :
3147
 
+  $as_echo_n "(cached) " >&6
3148
 
+else
3149
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150
 
+/* end confdefs.h.  */
3151
 
+$5
3152
 
+int
3153
 
+main ()
3154
 
+{
3155
 
+static $2 ac_aggr;
3156
 
+if (ac_aggr.$3)
3157
 
+return 0;
3158
 
+  ;
3159
 
+  return 0;
3160
 
+}
3161
 
+_ACEOF
3162
 
+if ac_fn_c_try_compile "$LINENO"; then :
3163
 
+  eval "$4=yes"
3164
 
+else
3165
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166
 
+/* end confdefs.h.  */
3167
 
+$5
3168
 
+int
3169
 
+main ()
3170
 
+{
3171
 
+static $2 ac_aggr;
3172
 
+if (sizeof ac_aggr.$3)
3173
 
+return 0;
3174
 
+  ;
3175
 
+  return 0;
3176
 
+}
3177
 
+_ACEOF
3178
 
+if ac_fn_c_try_compile "$LINENO"; then :
3179
 
+  eval "$4=yes"
3180
 
+else
3181
 
+  eval "$4=no"
3182
 
+fi
3183
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3184
 
+fi
3185
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3186
 
+fi
3187
 
+eval ac_res=\$$4
3188
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3189
 
+$as_echo "$ac_res" >&6; }
3190
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3191
 
+
3192
 
+} @%:@ ac_fn_c_check_member
3193
 
+cat >config.log <<_ACEOF
3194
 
+This file contains any messages produced by compilers while
3195
 
+running configure, to aid debugging if configure makes a mistake.
3196
 
+
3197
 
+It was created by GNU coreutils $as_me 8.13, which was
3198
 
+generated by GNU Autoconf 2.68.  Invocation command line was
3199
 
+
3200
 
+  $ $0 $@
3201
 
+
3202
 
+_ACEOF
3203
 
+exec 5>>config.log
3204
 
+{
3205
 
+cat <<_ASUNAME
3206
 
+## --------- ##
3207
 
+## Platform. ##
3208
 
+## --------- ##
3209
 
+
3210
 
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3211
 
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
3212
 
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
3213
 
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
3214
 
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
3215
 
+
3216
 
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3217
 
+/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3218
 
+
3219
 
+/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3220
 
+/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3221
 
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3222
 
+/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3223
 
+/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3224
 
+/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3225
 
+/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3226
 
+
3227
 
+_ASUNAME
3228
 
+
3229
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3230
 
+for as_dir in $PATH
3231
 
+do
3232
 
+  IFS=$as_save_IFS
3233
 
+  test -z "$as_dir" && as_dir=.
3234
 
+    $as_echo "PATH: $as_dir"
3235
 
+  done
3236
 
+IFS=$as_save_IFS
3237
 
+
3238
 
+} >&5
3239
 
+
3240
 
+cat >&5 <<_ACEOF
3241
 
+
3242
 
+
3243
 
+## ----------- ##
3244
 
+## Core tests. ##
3245
 
+## ----------- ##
3246
 
+
3247
 
+_ACEOF
3248
 
+
3249
 
+
3250
 
+# Keep a trace of the command line.
3251
 
+# Strip out --no-create and --no-recursion so they do not pile up.
3252
 
+# Strip out --silent because we don't want to record it for future runs.
3253
 
+# Also quote any args containing shell meta-characters.
3254
 
+# Make two passes to allow for proper duplicate-argument suppression.
3255
 
+ac_configure_args=
3256
 
+ac_configure_args0=
3257
 
+ac_configure_args1=
3258
 
+ac_must_keep_next=false
3259
 
+for ac_pass in 1 2
3260
 
+do
3261
 
+  for ac_arg
3262
 
+  do
3263
 
+    case $ac_arg in
3264
 
+    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3265
 
+    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3266
 
+    | -silent | --silent | --silen | --sile | --sil)
3267
 
+      continue ;;
3268
 
+    *\'*)
3269
 
+      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3270
 
+    esac
3271
 
+    case $ac_pass in
3272
 
+    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3273
 
+    2)
3274
 
+      as_fn_append ac_configure_args1 " '$ac_arg'"
3275
 
+      if test $ac_must_keep_next = true; then
3276
 
+       ac_must_keep_next=false # Got value, back to normal.
3277
 
+      else
3278
 
+       case $ac_arg in
3279
 
+         *=* | --config-cache | -C | -disable-* | --disable-* \
3280
 
+         | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3281
 
+         | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3282
 
+         | -with-* | --with-* | -without-* | --without-* | --x)
3283
 
+           case "$ac_configure_args0 " in
3284
 
+             "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3285
 
+           esac
3286
 
+           ;;
3287
 
+         -* ) ac_must_keep_next=true ;;
3288
 
+       esac
3289
 
+      fi
3290
 
+      as_fn_append ac_configure_args " '$ac_arg'"
3291
 
+      ;;
3292
 
+    esac
3293
 
+  done
3294
 
+done
3295
 
+{ ac_configure_args0=; unset ac_configure_args0;}
3296
 
+{ ac_configure_args1=; unset ac_configure_args1;}
3297
 
+
3298
 
+# When interrupted or exit'd, cleanup temporary files, and complete
3299
 
+# config.log.  We remove comments because anyway the quotes in there
3300
 
+# would cause problems or look ugly.
3301
 
+# WARNING: Use '\'' to represent an apostrophe within the trap.
3302
 
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3303
 
+trap 'exit_status=$?
3304
 
+  # Save into config.log some information that might help in debugging.
3305
 
+  {
3306
 
+    echo
3307
 
+
3308
 
+    $as_echo "## ---------------- ##
3309
 
+## Cache variables. ##
3310
 
+## ---------------- ##"
3311
 
+    echo
3312
 
+    # The following way of writing the cache mishandles newlines in values,
3313
 
+(
3314
 
+  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3315
 
+    eval ac_val=\$$ac_var
3316
 
+    case $ac_val in #(
3317
 
+    *${as_nl}*)
3318
 
+      case $ac_var in #(
3319
 
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3320
 
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3321
 
+      esac
3322
 
+      case $ac_var in #(
3323
 
+      _ | IFS | as_nl) ;; #(
3324
 
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3325
 
+      *) { eval $ac_var=; unset $ac_var;} ;;
3326
 
+      esac ;;
3327
 
+    esac
3328
 
+  done
3329
 
+  (set) 2>&1 |
3330
 
+    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3331
 
+    *${as_nl}ac_space=\ *)
3332
 
+      sed -n \
3333
 
+       "s/'\''/'\''\\\\'\'''\''/g;
3334
 
+         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3335
 
+      ;; #(
3336
 
+    *)
3337
 
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3338
 
+      ;;
3339
 
+    esac |
3340
 
+    sort
3341
 
+)
3342
 
+    echo
3343
 
+
3344
 
+    $as_echo "## ----------------- ##
3345
 
+## Output variables. ##
3346
 
+## ----------------- ##"
3347
 
+    echo
3348
 
+    for ac_var in $ac_subst_vars
3349
 
+    do
3350
 
+      eval ac_val=\$$ac_var
3351
 
+      case $ac_val in
3352
 
+      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3353
 
+      esac
3354
 
+      $as_echo "$ac_var='\''$ac_val'\''"
3355
 
+    done | sort
3356
 
+    echo
3357
 
+
3358
 
+    if test -n "$ac_subst_files"; then
3359
 
+      $as_echo "## ------------------- ##
3360
 
+## File substitutions. ##
3361
 
+## ------------------- ##"
3362
 
+      echo
3363
 
+      for ac_var in $ac_subst_files
3364
 
+      do
3365
 
+       eval ac_val=\$$ac_var
3366
 
+       case $ac_val in
3367
 
+       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3368
 
+       esac
3369
 
+       $as_echo "$ac_var='\''$ac_val'\''"
3370
 
+      done | sort
3371
 
+      echo
3372
 
+    fi
3373
 
+
3374
 
+    if test -s confdefs.h; then
3375
 
+      $as_echo "## ----------- ##
3376
 
+## confdefs.h. ##
3377
 
+## ----------- ##"
3378
 
+      echo
3379
 
+      cat confdefs.h
3380
 
+      echo
3381
 
+    fi
3382
 
+    test "$ac_signal" != 0 &&
3383
 
+      $as_echo "$as_me: caught signal $ac_signal"
3384
 
+    $as_echo "$as_me: exit $exit_status"
3385
 
+  } >&5
3386
 
+  rm -f core *.core core.conftest.* &&
3387
 
+    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3388
 
+    exit $exit_status
3389
 
+' 0
3390
 
+for ac_signal in 1 2 13 15; do
3391
 
+  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3392
 
+done
3393
 
+ac_signal=0
3394
 
+
3395
 
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
3396
 
+rm -f -r conftest* confdefs.h
3397
 
+
3398
 
+$as_echo "/* confdefs.h */" > confdefs.h
3399
 
+
3400
 
+# Predefined preprocessor variables.
3401
 
+
3402
 
+cat >>confdefs.h <<_ACEOF
3403
 
+@%:@define PACKAGE_NAME "$PACKAGE_NAME"
3404
 
+_ACEOF
3405
 
+
3406
 
+cat >>confdefs.h <<_ACEOF
3407
 
+@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3408
 
+_ACEOF
3409
 
+
3410
 
+cat >>confdefs.h <<_ACEOF
3411
 
+@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
3412
 
+_ACEOF
3413
 
+
3414
 
+cat >>confdefs.h <<_ACEOF
3415
 
+@%:@define PACKAGE_STRING "$PACKAGE_STRING"
3416
 
+_ACEOF
3417
 
+
3418
 
+cat >>confdefs.h <<_ACEOF
3419
 
+@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3420
 
+_ACEOF
3421
 
+
3422
 
+cat >>confdefs.h <<_ACEOF
3423
 
+@%:@define PACKAGE_URL "$PACKAGE_URL"
3424
 
+_ACEOF
3425
 
+
3426
 
+
3427
 
+# Let the site file select an alternate cache file if it wants to.
3428
 
+# Prefer an explicitly selected file to automatically selected ones.
3429
 
+ac_site_file1=NONE
3430
 
+ac_site_file2=NONE
3431
 
+if test -n "$CONFIG_SITE"; then
3432
 
+  # We do not want a PATH search for config.site.
3433
 
+  case $CONFIG_SITE in @%:@((
3434
 
+    -*)  ac_site_file1=./$CONFIG_SITE;;
3435
 
+    */*) ac_site_file1=$CONFIG_SITE;;
3436
 
+    *)   ac_site_file1=./$CONFIG_SITE;;
3437
 
+  esac
3438
 
+elif test "x$prefix" != xNONE; then
3439
 
+  ac_site_file1=$prefix/share/config.site
3440
 
+  ac_site_file2=$prefix/etc/config.site
3441
 
+else
3442
 
+  ac_site_file1=$ac_default_prefix/share/config.site
3443
 
+  ac_site_file2=$ac_default_prefix/etc/config.site
3444
 
+fi
3445
 
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3446
 
+do
3447
 
+  test "x$ac_site_file" = xNONE && continue
3448
 
+  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3449
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3450
 
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
3451
 
+    sed 's/^/| /' "$ac_site_file" >&5
3452
 
+    . "$ac_site_file" \
3453
 
+      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3454
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3455
 
+as_fn_error $? "failed to load site script $ac_site_file
3456
 
+See \`config.log' for more details" "$LINENO" 5; }
3457
 
+  fi
3458
 
+done
3459
 
+
3460
 
+if test -r "$cache_file"; then
3461
 
+  # Some versions of bash will fail to source /dev/null (special files
3462
 
+  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3463
 
+  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3464
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3465
 
+$as_echo "$as_me: loading cache $cache_file" >&6;}
3466
 
+    case $cache_file in
3467
 
+      [\\/]* | ?:[\\/]* ) . "$cache_file";;
3468
 
+      *)                      . "./$cache_file";;
3469
 
+    esac
3470
 
+  fi
3471
 
+else
3472
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3473
 
+$as_echo "$as_me: creating cache $cache_file" >&6;}
3474
 
+  >$cache_file
3475
 
+fi
3476
 
+
3477
 
+as_fn_append ac_header_list " arpa/inet.h"
3478
 
+as_fn_append ac_header_list " features.h"
3479
 
+as_fn_append ac_func_list " pathconf"
3480
 
+as_fn_append ac_func_list " btowc"
3481
 
+as_fn_append ac_func_list " canonicalize_file_name"
3482
 
+as_fn_append ac_func_list " realpath"
3483
 
+as_fn_append ac_func_list " readlinkat"
3484
 
+as_fn_append ac_func_list " chown"
3485
 
+as_fn_append ac_func_list " fchown"
3486
 
+as_fn_append ac_header_list " sys/socket.h"
3487
 
+as_fn_append ac_func_list " fchdir"
3488
 
+as_fn_append ac_header_list " dirent.h"
3489
 
+as_fn_append ac_func_list " fdopendir"
3490
 
+as_fn_append ac_func_list " faccessat"
3491
 
+as_fn_append ac_header_list " libgen.h"
3492
 
+as_fn_append ac_func_list " fchmodat"
3493
 
+as_fn_append ac_func_list " lchmod"
3494
 
+as_fn_append ac_func_list " mkdirat"
3495
 
+as_fn_append ac_func_list " openat"
3496
 
+as_fn_append ac_func_list " unlinkat"
3497
 
+as_fn_append ac_func_list " fstatat"
3498
 
+as_fn_append ac_func_list " access"
3499
 
+as_fn_append ac_func_list " posix_fadvise"
3500
 
+as_fn_append ac_func_list " fcntl"
3501
 
+as_fn_append ac_header_list " sys/param.h"
3502
 
+as_fn_append ac_func_list " mempcpy"
3503
 
+as_fn_append ac_func_list " isblank"
3504
 
+as_fn_append ac_func_list " iswctype"
3505
 
+as_fn_append ac_func_list " mbsrtowcs"
3506
 
+as_fn_append ac_func_list " wmemchr"
3507
 
+as_fn_append ac_func_list " wmemcpy"
3508
 
+as_fn_append ac_func_list " wmempcpy"
3509
 
+as_fn_append ac_header_list " wctype.h"
3510
 
+gl_fnmatch_required=GNU
3511
 
+as_fn_append ac_header_list " stdio_ext.h"
3512
 
+as_fn_append ac_func_list " __fpending"
3513
 
+as_fn_append ac_func_list " fpurge"
3514
 
+as_fn_append ac_func_list " __fpurge"
3515
 
+as_fn_append ac_func_list " __freading"
3516
 
+as_fn_append ac_header_list " sys/vfs.h"
3517
 
+as_fn_append ac_header_list " sys/fs_types.h"
3518
 
+as_fn_append ac_func_list " fsync"
3519
 
+as_fn_append ac_func_list " strtof"
3520
 
+as_fn_append ac_func_list " fstatfs"
3521
 
+as_fn_append ac_func_list " futimens"
3522
 
+as_fn_append ac_header_list " netdb.h"
3523
 
+as_fn_append ac_header_list " netinet/in.h"
3524
 
+as_fn_append ac_func_list " getdelim"
3525
 
+as_fn_append ac_func_list " getdtablesize"
3526
 
+as_fn_append ac_func_list " nanouptime"
3527
 
+as_fn_append ac_func_list " microuptime"
3528
 
+as_fn_append ac_func_list " flockfile"
3529
 
+as_fn_append ac_func_list " funlockfile"
3530
 
+gl_getopt_required=GNU
3531
 
+as_fn_append ac_header_list " getopt.h"
3532
 
+as_fn_append ac_header_list " termios.h"
3533
 
+as_fn_append ac_func_list " __fsetlocking"
3534
 
+as_fn_append ac_func_list " tcgetattr"
3535
 
+as_fn_append ac_func_list " tcsetattr"
3536
 
+as_fn_append ac_func_list " gettimeofday"
3537
 
+as_fn_append ac_func_list " nanotime"
3538
 
+as_fn_append ac_header_list " sys/time.h"
3539
 
+as_fn_append ac_header_list " grp.h"
3540
 
+as_fn_append ac_func_list " getusershell"
3541
 
+as_fn_append ac_header_list " iconv.h"
3542
 
+as_fn_append ac_header_list " wchar.h"
3543
 
+as_fn_append ac_header_list " stdint.h"
3544
 
+as_fn_append ac_header_list " inttypes.h"
3545
 
+as_fn_append ac_func_list " iswcntrl"
3546
 
+as_fn_append ac_func_list " iswblank"
3547
 
+as_fn_append ac_header_list " langinfo.h"
3548
 
+as_fn_append ac_func_list " link"
3549
 
+as_fn_append ac_func_list " readlink"
3550
 
+as_fn_append ac_func_list " linkat"
3551
 
+as_fn_append ac_func_list " symlink"
3552
 
+as_fn_append ac_header_list " xlocale.h"
3553
 
+as_fn_append ac_func_list " lstat"
3554
 
+as_fn_append ac_header_list " math.h"
3555
 
+as_fn_append ac_func_list " mbsinit"
3556
 
+as_fn_append ac_func_list " mbrtowc"
3557
 
+as_fn_append ac_func_list " mbrlen"
3558
 
+as_fn_append ac_func_list " mbslen"
3559
 
+as_fn_append ac_func_list " isascii"
3560
 
+as_fn_append ac_header_list " sys/mman.h"
3561
 
+as_fn_append ac_func_list " mprotect"
3562
 
+as_fn_append ac_func_list " getgrouplist"
3563
 
+as_fn_append ac_header_list " unistd.h"
3564
 
+as_fn_append ac_func_list " fchmod"
3565
 
+as_fn_append ac_func_list " mkstemp"
3566
 
+as_fn_append ac_func_list " alarm"
3567
 
+as_fn_append ac_header_list " sys/statvfs.h"
3568
 
+as_fn_append ac_header_list " sys/select.h"
3569
 
+as_fn_append ac_func_list " nl_langinfo"
3570
 
+gl_printf_safe=yes
3571
 
+as_fn_append ac_header_list " priv.h"
3572
 
+as_fn_append ac_header_list " pthread.h"
3573
 
+as_fn_append ac_header_list " utmp.h"
3574
 
+as_fn_append ac_header_list " utmpx.h"
3575
 
+as_fn_append ac_func_list " utmpname"
3576
 
+as_fn_append ac_func_list " utmpxname"
3577
 
+as_fn_append ac_func_list " wcscoll"
3578
 
+as_fn_append ac_header_list " sched.h"
3579
 
+as_fn_append ac_header_list " selinux/selinux.h"
3580
 
+as_fn_append ac_func_list " setenv"
3581
 
+as_fn_append ac_func_list " settimeofday"
3582
 
+as_fn_append ac_func_list " stime"
3583
 
+as_fn_append ac_func_list " sigaction"
3584
 
+as_fn_append ac_func_list " sigaltstack"
3585
 
+as_fn_append ac_func_list " siginterrupt"
3586
 
+as_fn_append ac_func_list " stpncpy"
3587
 
+as_fn_append ac_func_list " strdup"
3588
 
+as_fn_append ac_func_list " strerror_r"
3589
 
+as_fn_append ac_func_list " __xpg_strerror_r"
3590
 
+as_fn_append ac_func_list " tzset"
3591
 
+as_fn_append ac_func_list " strndup"
3592
 
+as_fn_append ac_func_list " strtoimax"
3593
 
+as_fn_append ac_func_list " strtoumax"
3594
 
+as_fn_append ac_header_list " sys/ioctl.h"
3595
 
+as_fn_append ac_header_list " sys/stat.h"
3596
 
+as_fn_append ac_header_list " sys/uio.h"
3597
 
+as_fn_append ac_header_list " sys/utsname.h"
3598
 
+as_fn_append ac_header_list " sys/wait.h"
3599
 
+as_fn_append ac_func_list " localtime_r"
3600
 
+as_fn_append ac_func_list " pipe"
3601
 
+as_fn_append ac_header_list " utime.h"
3602
 
+as_fn_append ac_func_list " futimes"
3603
 
+as_fn_append ac_func_list " futimesat"
3604
 
+as_fn_append ac_func_list " utimensat"
3605
 
+as_fn_append ac_func_list " lutimes"
3606
 
+as_fn_append ac_func_list " vasnprintf"
3607
 
+as_fn_append ac_func_list " wcrtomb"
3608
 
+as_fn_append ac_func_list " wcwidth"
3609
 
+as_fn_append ac_func_list " wcswidth"
3610
 
+as_fn_append ac_func_list " getegid"
3611
 
+as_fn_append ac_func_list " newlocale"
3612
 
+as_fn_append ac_func_list " sleep"
3613
 
+as_fn_append ac_func_list " catgets"
3614
 
+as_fn_append ac_func_list " symlinkat"
3615
 
+as_fn_append ac_func_list " shutdown"
3616
 
+as_fn_append ac_func_list " usleep"
3617
 
+as_fn_append ac_func_list " wctob"
3618
 
+as_fn_append ac_header_list " hurd.h"
3619
 
+as_fn_append ac_header_list " paths.h"
3620
 
+as_fn_append ac_header_list " stropts.h"
3621
 
+as_fn_append ac_header_list " sys/resource.h"
3622
 
+as_fn_append ac_header_list " sys/systeminfo.h"
3623
 
+as_fn_append ac_header_list " syslog.h"
3624
 
+as_fn_append ac_header_list " pwd.h"
3625
 
+as_fn_append ac_func_list " directio"
3626
 
+as_fn_append ac_func_list " setrlimit"
3627
 
+as_fn_append ac_func_list " endgrent"
3628
 
+as_fn_append ac_func_list " endpwent"
3629
 
+as_fn_append ac_func_list " ftruncate"
3630
 
+as_fn_append ac_func_list " iswspace"
3631
 
+as_fn_append ac_func_list " mkfifo"
3632
 
+as_fn_append ac_func_list " setgroups"
3633
 
+as_fn_append ac_func_list " sethostname"
3634
 
+as_fn_append ac_func_list " sync"
3635
 
+as_fn_append ac_func_list " sysctl"
3636
 
+as_fn_append ac_func_list " sysinfo"
3637
 
+as_fn_append ac_func_list " tcgetpgrp"
3638
 
+as_fn_append ac_header_list " OS.h"
3639
 
+gt_needs="$gt_needs need-formatstring-macros"
3640
 
+# Check that the precious variables saved in the cache have kept the same
3641
 
+# value.
3642
 
+ac_cache_corrupted=false
3643
 
+for ac_var in $ac_precious_vars; do
3644
 
+  eval ac_old_set=\$ac_cv_env_${ac_var}_set
3645
 
+  eval ac_new_set=\$ac_env_${ac_var}_set
3646
 
+  eval ac_old_val=\$ac_cv_env_${ac_var}_value
3647
 
+  eval ac_new_val=\$ac_env_${ac_var}_value
3648
 
+  case $ac_old_set,$ac_new_set in
3649
 
+    set,)
3650
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3651
 
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3652
 
+      ac_cache_corrupted=: ;;
3653
 
+    ,set)
3654
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3655
 
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3656
 
+      ac_cache_corrupted=: ;;
3657
 
+    ,);;
3658
 
+    *)
3659
 
+      if test "x$ac_old_val" != "x$ac_new_val"; then
3660
 
+       # differences in whitespace do not lead to failure.
3661
 
+       ac_old_val_w=`echo x $ac_old_val`
3662
 
+       ac_new_val_w=`echo x $ac_new_val`
3663
 
+       if test "$ac_old_val_w" != "$ac_new_val_w"; then
3664
 
+         { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3665
 
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3666
 
+         ac_cache_corrupted=:
3667
 
+       else
3668
 
+         { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3669
 
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3670
 
+         eval $ac_var=\$ac_old_val
3671
 
+       fi
3672
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3673
 
+$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3674
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3675
 
+$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3676
 
+      fi;;
3677
 
+  esac
3678
 
+  # Pass precious variables to config.status.
3679
 
+  if test "$ac_new_set" = set; then
3680
 
+    case $ac_new_val in
3681
 
+    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3682
 
+    *) ac_arg=$ac_var=$ac_new_val ;;
3683
 
+    esac
3684
 
+    case " $ac_configure_args " in
3685
 
+      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3686
 
+      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3687
 
+    esac
3688
 
+  fi
3689
 
+done
3690
 
+if $ac_cache_corrupted; then
3691
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3692
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3693
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3694
 
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3695
 
+  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3696
 
+fi
3697
 
+## -------------------- ##
3698
 
+## Main body of script. ##
3699
 
+## -------------------- ##
3700
 
+
3701
 
+ac_ext=c
3702
 
+ac_cpp='$CPP $CPPFLAGS'
3703
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3704
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3705
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3706
 
+
3707
 
+
3708
 
+
3709
 
+
3710
 
+
3711
 
+ac_aux_dir=
3712
 
+for ac_dir in build-aux "$srcdir"/build-aux; do
3713
 
+  if test -f "$ac_dir/install-sh"; then
3714
 
+    ac_aux_dir=$ac_dir
3715
 
+    ac_install_sh="$ac_aux_dir/install-sh -c"
3716
 
+    break
3717
 
+  elif test -f "$ac_dir/install.sh"; then
3718
 
+    ac_aux_dir=$ac_dir
3719
 
+    ac_install_sh="$ac_aux_dir/install.sh -c"
3720
 
+    break
3721
 
+  elif test -f "$ac_dir/shtool"; then
3722
 
+    ac_aux_dir=$ac_dir
3723
 
+    ac_install_sh="$ac_aux_dir/shtool install -c"
3724
 
+    break
3725
 
+  fi
3726
 
+done
3727
 
+if test -z "$ac_aux_dir"; then
3728
 
+  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
3729
 
+fi
3730
 
+
3731
 
+# These three variables are undocumented and unsupported,
3732
 
+# and are intended to be withdrawn in a future Autoconf release.
3733
 
+# They can cause serious problems if a builder's source tree is in a directory
3734
 
+# whose full name contains unusual characters.
3735
 
+ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3736
 
+ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3737
 
+ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3738
 
+
3739
 
+
3740
 
+ac_config_headers="$ac_config_headers lib/config.h:lib/config.hin"
3741
 
+
3742
 
+
3743
 
+am__api_version='1.11'
3744
 
+
3745
 
+# Find a good install program.  We prefer a C program (faster),
3746
 
+# so one script is as good as another.  But avoid the broken or
3747
 
+# incompatible versions:
3748
 
+# SysV /etc/install, /usr/sbin/install
3749
 
+# SunOS /usr/etc/install
3750
 
+# IRIX /sbin/install
3751
 
+# AIX /bin/install
3752
 
+# AmigaOS /C/install, which installs bootblocks on floppy discs
3753
 
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3754
 
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3755
 
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3756
 
+# OS/2's system install, which has a completely different semantic
3757
 
+# ./install, which can be erroneously created by make from ./install.sh.
3758
 
+# Reject install programs that cannot install multiple files.
3759
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3760
 
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
3761
 
+if test -z "$INSTALL"; then
3762
 
+if ${ac_cv_path_install+:} false; then :
3763
 
+  $as_echo_n "(cached) " >&6
3764
 
+else
3765
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3766
 
+for as_dir in $PATH
3767
 
+do
3768
 
+  IFS=$as_save_IFS
3769
 
+  test -z "$as_dir" && as_dir=.
3770
 
+    # Account for people who put trailing slashes in PATH elements.
3771
 
+case $as_dir/ in @%:@((
3772
 
+  ./ | .// | /[cC]/* | \
3773
 
+  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3774
 
+  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3775
 
+  /usr/ucb/* ) ;;
3776
 
+  *)
3777
 
+    # OSF1 and SCO ODT 3.0 have their own names for install.
3778
 
+    # Don't use installbsd from OSF since it installs stuff as root
3779
 
+    # by default.
3780
 
+    for ac_prog in ginstall scoinst install; do
3781
 
+      for ac_exec_ext in '' $ac_executable_extensions; do
3782
 
+       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3783
 
+         if test $ac_prog = install &&
3784
 
+           grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3785
 
+           # AIX install.  It has an incompatible calling convention.
3786
 
+           :
3787
 
+         elif test $ac_prog = install &&
3788
 
+           grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3789
 
+           # program-specific install script used by HP pwplus--don't use.
3790
 
+           :
3791
 
+         else
3792
 
+           rm -rf conftest.one conftest.two conftest.dir
3793
 
+           echo one > conftest.one
3794
 
+           echo two > conftest.two
3795
 
+           mkdir conftest.dir
3796
 
+           if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3797
 
+             test -s conftest.one && test -s conftest.two &&
3798
 
+             test -s conftest.dir/conftest.one &&
3799
 
+             test -s conftest.dir/conftest.two
3800
 
+           then
3801
 
+             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3802
 
+             break 3
3803
 
+           fi
3804
 
+         fi
3805
 
+       fi
3806
 
+      done
3807
 
+    done
3808
 
+    ;;
3809
 
+esac
3810
 
+
3811
 
+  done
3812
 
+IFS=$as_save_IFS
3813
 
+
3814
 
+rm -rf conftest.one conftest.two conftest.dir
3815
 
+
3816
 
+fi
3817
 
+  if test "${ac_cv_path_install+set}" = set; then
3818
 
+    INSTALL=$ac_cv_path_install
3819
 
+  else
3820
 
+    # As a last resort, use the slow shell script.  Don't cache a
3821
 
+    # value for INSTALL within a source directory, because that will
3822
 
+    # break other packages using the cache if that directory is
3823
 
+    # removed, or if the value is a relative name.
3824
 
+    INSTALL=$ac_install_sh
3825
 
+  fi
3826
 
+fi
3827
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3828
 
+$as_echo "$INSTALL" >&6; }
3829
 
+
3830
 
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3831
 
+# It thinks the first close brace ends the variable substitution.
3832
 
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3833
 
+
3834
 
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3835
 
+
3836
 
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3837
 
+
3838
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3839
 
+$as_echo_n "checking whether build environment is sane... " >&6; }
3840
 
+# Just in case
3841
 
+sleep 1
3842
 
+echo timestamp > conftest.file
3843
 
+# Reject unsafe characters in $srcdir or the absolute working directory
3844
 
+# name.  Accept space and tab only in the latter.
3845
 
+am_lf='
3846
 
+'
3847
 
+case `pwd` in
3848
 
+  *[\\\"\#\$\&\'\`$am_lf]*)
3849
 
+    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3850
 
+esac
3851
 
+case $srcdir in
3852
 
+  *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
3853
 
+    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3854
 
+esac
3855
 
+
3856
 
+# Do `set' in a subshell so we don't clobber the current shell's
3857
 
+# arguments.  Must try -L first in case configure is actually a
3858
 
+# symlink; some systems play weird games with the mod time of symlinks
3859
 
+# (eg FreeBSD returns the mod time of the symlink's containing
3860
 
+# directory).
3861
 
+if (
3862
 
+   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3863
 
+   if test "$*" = "X"; then
3864
 
+      # -L didn't work.
3865
 
+      set X `ls -t "$srcdir/configure" conftest.file`
3866
 
+   fi
3867
 
+   rm -f conftest.file
3868
 
+   if test "$*" != "X $srcdir/configure conftest.file" \
3869
 
+      && test "$*" != "X conftest.file $srcdir/configure"; then
3870
 
+
3871
 
+      # If neither matched, then we have a broken ls.  This can happen
3872
 
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
3873
 
+      # broken ls alias from the environment.  This has actually
3874
 
+      # happened.  Such a system could not be considered "sane".
3875
 
+      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3876
 
+alias in your environment" "$LINENO" 5
3877
 
+   fi
3878
 
+
3879
 
+   test "$2" = conftest.file
3880
 
+   )
3881
 
+then
3882
 
+   # Ok.
3883
 
+   :
3884
 
+else
3885
 
+   as_fn_error $? "newly created file is older than distributed files!
3886
 
+Check your system clock" "$LINENO" 5
3887
 
+fi
3888
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3889
 
+$as_echo "yes" >&6; }
3890
 
+test "$program_prefix" != NONE &&
3891
 
+  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3892
 
+# Use a double $ so make ignores it.
3893
 
+test "$program_suffix" != NONE &&
3894
 
+  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3895
 
+# Double any \ or $.
3896
 
+# By default was `s,x,x', remove it if useless.
3897
 
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3898
 
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3899
 
+
3900
 
+# expand $ac_aux_dir to an absolute path
3901
 
+am_aux_dir=`cd $ac_aux_dir && pwd`
3902
 
+
3903
 
+if test x"${MISSING+set}" != xset; then
3904
 
+  case $am_aux_dir in
3905
 
+  *\ * | *\    *)
3906
 
+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3907
 
+  *)
3908
 
+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3909
 
+  esac
3910
 
+fi
3911
 
+# Use eval to expand $SHELL
3912
 
+if eval "$MISSING --run true"; then
3913
 
+  am_missing_run="$MISSING --run "
3914
 
+else
3915
 
+  am_missing_run=
3916
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3917
 
+$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3918
 
+fi
3919
 
+
3920
 
+if test x"${install_sh}" != xset; then
3921
 
+  case $am_aux_dir in
3922
 
+  *\ * | *\    *)
3923
 
+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3924
 
+  *)
3925
 
+    install_sh="\${SHELL} $am_aux_dir/install-sh"
3926
 
+  esac
3927
 
+fi
3928
 
+
3929
 
+# Installed binaries are usually stripped using `strip' when the user
3930
 
+# run `make install-strip'.  However `strip' might not be the right
3931
 
+# tool to use in cross-compilation environments, therefore Automake
3932
 
+# will honor the `STRIP' environment variable to overrule this program.
3933
 
+if test "$cross_compiling" != no; then
3934
 
+  if test -n "$ac_tool_prefix"; then
3935
 
+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3936
 
+set dummy ${ac_tool_prefix}strip; ac_word=$2
3937
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3938
 
+$as_echo_n "checking for $ac_word... " >&6; }
3939
 
+if ${ac_cv_prog_STRIP+:} false; then :
3940
 
+  $as_echo_n "(cached) " >&6
3941
 
+else
3942
 
+  if test -n "$STRIP"; then
3943
 
+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3944
 
+else
3945
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3946
 
+for as_dir in $PATH
3947
 
+do
3948
 
+  IFS=$as_save_IFS
3949
 
+  test -z "$as_dir" && as_dir=.
3950
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
3951
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3952
 
+    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3953
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3954
 
+    break 2
3955
 
+  fi
3956
 
+done
3957
 
+  done
3958
 
+IFS=$as_save_IFS
3959
 
+
3960
 
+fi
3961
 
+fi
3962
 
+STRIP=$ac_cv_prog_STRIP
3963
 
+if test -n "$STRIP"; then
3964
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3965
 
+$as_echo "$STRIP" >&6; }
3966
 
+else
3967
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3968
 
+$as_echo "no" >&6; }
3969
 
+fi
3970
 
+
3971
 
+
3972
 
+fi
3973
 
+if test -z "$ac_cv_prog_STRIP"; then
3974
 
+  ac_ct_STRIP=$STRIP
3975
 
+  # Extract the first word of "strip", so it can be a program name with args.
3976
 
+set dummy strip; ac_word=$2
3977
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3978
 
+$as_echo_n "checking for $ac_word... " >&6; }
3979
 
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3980
 
+  $as_echo_n "(cached) " >&6
3981
 
+else
3982
 
+  if test -n "$ac_ct_STRIP"; then
3983
 
+  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3984
 
+else
3985
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3986
 
+for as_dir in $PATH
3987
 
+do
3988
 
+  IFS=$as_save_IFS
3989
 
+  test -z "$as_dir" && as_dir=.
3990
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
3991
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3992
 
+    ac_cv_prog_ac_ct_STRIP="strip"
3993
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3994
 
+    break 2
3995
 
+  fi
3996
 
+done
3997
 
+  done
3998
 
+IFS=$as_save_IFS
3999
 
+
4000
 
+fi
4001
 
+fi
4002
 
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4003
 
+if test -n "$ac_ct_STRIP"; then
4004
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4005
 
+$as_echo "$ac_ct_STRIP" >&6; }
4006
 
+else
4007
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4008
 
+$as_echo "no" >&6; }
4009
 
+fi
4010
 
+
4011
 
+  if test "x$ac_ct_STRIP" = x; then
4012
 
+    STRIP=":"
4013
 
+  else
4014
 
+    case $cross_compiling:$ac_tool_warned in
4015
 
+yes:)
4016
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4017
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4018
 
+ac_tool_warned=yes ;;
4019
 
+esac
4020
 
+    STRIP=$ac_ct_STRIP
4021
 
+  fi
4022
 
+else
4023
 
+  STRIP="$ac_cv_prog_STRIP"
4024
 
+fi
4025
 
+
4026
 
+fi
4027
 
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4028
 
+
4029
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4030
 
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4031
 
+if test -z "$MKDIR_P"; then
4032
 
+  if ${ac_cv_path_mkdir+:} false; then :
4033
 
+  $as_echo_n "(cached) " >&6
4034
 
+else
4035
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4036
 
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4037
 
+do
4038
 
+  IFS=$as_save_IFS
4039
 
+  test -z "$as_dir" && as_dir=.
4040
 
+    for ac_prog in mkdir gmkdir; do
4041
 
+        for ac_exec_ext in '' $ac_executable_extensions; do
4042
 
+          { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
4043
 
+          case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4044
 
+            'mkdir (GNU coreutils) '* | \
4045
 
+            'mkdir (coreutils) '* | \
4046
 
+            'mkdir (fileutils) '4.1*)
4047
 
+              ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4048
 
+              break 3;;
4049
 
+          esac
4050
 
+        done
4051
 
+       done
4052
 
+  done
4053
 
+IFS=$as_save_IFS
4054
 
+
4055
 
+fi
4056
 
+
4057
 
+  test -d ./--version && rmdir ./--version
4058
 
+  if test "${ac_cv_path_mkdir+set}" = set; then
4059
 
+    MKDIR_P="$ac_cv_path_mkdir -p"
4060
 
+  else
4061
 
+    # As a last resort, use the slow shell script.  Don't cache a
4062
 
+    # value for MKDIR_P within a source directory, because that will
4063
 
+    # break other packages using the cache if that directory is
4064
 
+    # removed, or if the value is a relative name.
4065
 
+    MKDIR_P="$ac_install_sh -d"
4066
 
+  fi
4067
 
+fi
4068
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4069
 
+$as_echo "$MKDIR_P" >&6; }
4070
 
+
4071
 
+    
4072
 
+mkdir_p="$MKDIR_P"
4073
 
+case $mkdir_p in
4074
 
+  [\\/$]* | ?:[\\/]*) ;;
4075
 
+  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4076
 
+esac
4077
 
+
4078
 
+for ac_prog in gawk mawk nawk awk
4079
 
+do
4080
 
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
4081
 
+set dummy $ac_prog; ac_word=$2
4082
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4083
 
+$as_echo_n "checking for $ac_word... " >&6; }
4084
 
+if ${ac_cv_prog_AWK+:} false; then :
4085
 
+  $as_echo_n "(cached) " >&6
4086
 
+else
4087
 
+  if test -n "$AWK"; then
4088
 
+  ac_cv_prog_AWK="$AWK" # Let the user override the test.
4089
 
+else
4090
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4091
 
+for as_dir in $PATH
4092
 
+do
4093
 
+  IFS=$as_save_IFS
4094
 
+  test -z "$as_dir" && as_dir=.
4095
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
4096
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4097
 
+    ac_cv_prog_AWK="$ac_prog"
4098
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4099
 
+    break 2
4100
 
+  fi
4101
 
+done
4102
 
+  done
4103
 
+IFS=$as_save_IFS
4104
 
+
4105
 
+fi
4106
 
+fi
4107
 
+AWK=$ac_cv_prog_AWK
4108
 
+if test -n "$AWK"; then
4109
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4110
 
+$as_echo "$AWK" >&6; }
4111
 
+else
4112
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113
 
+$as_echo "no" >&6; }
4114
 
+fi
4115
 
+
4116
 
+
4117
 
+  test -n "$AWK" && break
4118
 
+done
4119
 
+
4120
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4121
 
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4122
 
+set x ${MAKE-make}
4123
 
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4124
 
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4125
 
+  $as_echo_n "(cached) " >&6
4126
 
+else
4127
 
+  cat >conftest.make <<\_ACEOF
4128
 
+SHELL = /bin/sh
4129
 
+all:
4130
 
+       @echo '@@@%%%=$(MAKE)=@@@%%%'
4131
 
+_ACEOF
4132
 
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4133
 
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
4134
 
+  *@@@%%%=?*=@@@%%%*)
4135
 
+    eval ac_cv_prog_make_${ac_make}_set=yes;;
4136
 
+  *)
4137
 
+    eval ac_cv_prog_make_${ac_make}_set=no;;
4138
 
+esac
4139
 
+rm -f conftest.make
4140
 
+fi
4141
 
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4142
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4143
 
+$as_echo "yes" >&6; }
4144
 
+  SET_MAKE=
4145
 
+else
4146
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147
 
+$as_echo "no" >&6; }
4148
 
+  SET_MAKE="MAKE=${MAKE-make}"
4149
 
+fi
4150
 
+
4151
 
+rm -rf .tst 2>/dev/null
4152
 
+mkdir .tst 2>/dev/null
4153
 
+if test -d .tst; then
4154
 
+  am__leading_dot=.
4155
 
+else
4156
 
+  am__leading_dot=_
4157
 
+fi
4158
 
+rmdir .tst 2>/dev/null
4159
 
+
4160
 
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
4161
 
+  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4162
 
+  # is not polluted with repeated "-I."
4163
 
+  am__isrc=' -I$(srcdir)'
4164
 
+  # test to see if srcdir already configured
4165
 
+  if test -f $srcdir/config.status; then
4166
 
+    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4167
 
+  fi
4168
 
+fi
4169
 
+
4170
 
+# test whether we have cygpath
4171
 
+if test -z "$CYGPATH_W"; then
4172
 
+  if (cygpath --version) >/dev/null 2>/dev/null; then
4173
 
+    CYGPATH_W='cygpath -w'
4174
 
+  else
4175
 
+    CYGPATH_W=echo
4176
 
+  fi
4177
 
+fi
4178
 
+
4179
 
+
4180
 
+# Define the identity of the package.
4181
 
+ PACKAGE='coreutils'
4182
 
+ VERSION='8.13'
4183
 
+
4184
 
+
4185
 
+cat >>confdefs.h <<_ACEOF
4186
 
+@%:@define PACKAGE "$PACKAGE"
4187
 
+_ACEOF
4188
 
+
4189
 
4190
 
+cat >>confdefs.h <<_ACEOF
4191
 
+@%:@define VERSION "$VERSION"
4192
 
+_ACEOF
4193
 
+
4194
 
+# Some tools Automake needs.
4195
 
+
4196
 
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4197
 
+
4198
 
+
4199
 
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4200
 
+
4201
 
+
4202
 
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4203
 
+
4204
 
+
4205
 
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4206
 
+
4207
 
+
4208
 
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4209
 
+
4210
 
+# We need awk for the "check" target.  The system "awk" is bad on
4211
 
+# some platforms.
4212
 
+# Always define AMTAR for backward compatibility.
4213
 
+
4214
 
+AMTAR=${AMTAR-"${am_missing_run}tar"}
4215
 
+
4216
 
+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4217
 
+
4218
 
+
4219
 
+
4220
 
+
4221
 
+
4222
 
+@%:@ Check whether --enable-silent-rules was given.
4223
 
+if test "${enable_silent_rules+set}" = set; then :
4224
 
+  enableval=$enable_silent_rules; 
4225
 
+fi
4226
 
+
4227
 
+case $enable_silent_rules in
4228
 
+yes) AM_DEFAULT_VERBOSITY=0;;
4229
 
+no)  AM_DEFAULT_VERBOSITY=1;;
4230
 
+*)   AM_DEFAULT_VERBOSITY=0;;
4231
 
+esac
4232
 
+AM_BACKSLASH='\'
4233
 
+ # make --enable-silent-rules the default.
4234
 
+
4235
 
+DEPDIR="${am__leading_dot}deps"
4236
 
+
4237
 
+ac_config_commands="$ac_config_commands depfiles"
4238
 
+
4239
 
+
4240
 
+am_make=${MAKE-make}
4241
 
+cat > confinc << 'END'
4242
 
+am__doit:
4243
 
+       @echo this is the am__doit target
4244
 
+.PHONY: am__doit
4245
 
+END
4246
 
+# If we don't find an include directive, just comment out the code.
4247
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4248
 
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
4249
 
+am__include="#"
4250
 
+am__quote=
4251
 
+_am_result=none
4252
 
+# First try GNU make style include.
4253
 
+echo "include confinc" > confmf
4254
 
+# Ignore all kinds of additional output from `make'.
4255
 
+case `$am_make -s -f confmf 2> /dev/null` in #(
4256
 
+*the\ am__doit\ target*)
4257
 
+  am__include=include
4258
 
+  am__quote=
4259
 
+  _am_result=GNU
4260
 
+  ;;
4261
 
+esac
4262
 
+# Now try BSD make style include.
4263
 
+if test "$am__include" = "#"; then
4264
 
+   echo '.include "confinc"' > confmf
4265
 
+   case `$am_make -s -f confmf 2> /dev/null` in #(
4266
 
+   *the\ am__doit\ target*)
4267
 
+     am__include=.include
4268
 
+     am__quote="\""
4269
 
+     _am_result=BSD
4270
 
+     ;;
4271
 
+   esac
4272
 
+fi
4273
 
+
4274
 
+
4275
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4276
 
+$as_echo "$_am_result" >&6; }
4277
 
+rm -f confinc confmf
4278
 
+
4279
 
+@%:@ Check whether --enable-dependency-tracking was given.
4280
 
+if test "${enable_dependency_tracking+set}" = set; then :
4281
 
+  enableval=$enable_dependency_tracking; 
4282
 
+fi
4283
 
+
4284
 
+if test "x$enable_dependency_tracking" != xno; then
4285
 
+  am_depcomp="$ac_aux_dir/depcomp"
4286
 
+  AMDEPBACKSLASH='\'
4287
 
+fi
4288
 
+ if test "x$enable_dependency_tracking" != xno; then
4289
 
+  AMDEP_TRUE=
4290
 
+  AMDEP_FALSE='#'
4291
 
+else
4292
 
+  AMDEP_TRUE='#'
4293
 
+  AMDEP_FALSE=
4294
 
+fi
4295
 
+
4296
 
+
4297
 
+ac_ext=c
4298
 
+ac_cpp='$CPP $CPPFLAGS'
4299
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4300
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4301
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4302
 
+if test -n "$ac_tool_prefix"; then
4303
 
+  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4304
 
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
4305
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4306
 
+$as_echo_n "checking for $ac_word... " >&6; }
4307
 
+if ${ac_cv_prog_CC+:} false; then :
4308
 
+  $as_echo_n "(cached) " >&6
4309
 
+else
4310
 
+  if test -n "$CC"; then
4311
 
+  ac_cv_prog_CC="$CC" # Let the user override the test.
4312
 
+else
4313
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4314
 
+for as_dir in $PATH
4315
 
+do
4316
 
+  IFS=$as_save_IFS
4317
 
+  test -z "$as_dir" && as_dir=.
4318
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
4319
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4320
 
+    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4321
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4322
 
+    break 2
4323
 
+  fi
4324
 
+done
4325
 
+  done
4326
 
+IFS=$as_save_IFS
4327
 
+
4328
 
+fi
4329
 
+fi
4330
 
+CC=$ac_cv_prog_CC
4331
 
+if test -n "$CC"; then
4332
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4333
 
+$as_echo "$CC" >&6; }
4334
 
+else
4335
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4336
 
+$as_echo "no" >&6; }
4337
 
+fi
4338
 
+
4339
 
+
4340
 
+fi
4341
 
+if test -z "$ac_cv_prog_CC"; then
4342
 
+  ac_ct_CC=$CC
4343
 
+  # Extract the first word of "gcc", so it can be a program name with args.
4344
 
+set dummy gcc; ac_word=$2
4345
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4346
 
+$as_echo_n "checking for $ac_word... " >&6; }
4347
 
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
4348
 
+  $as_echo_n "(cached) " >&6
4349
 
+else
4350
 
+  if test -n "$ac_ct_CC"; then
4351
 
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4352
 
+else
4353
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4354
 
+for as_dir in $PATH
4355
 
+do
4356
 
+  IFS=$as_save_IFS
4357
 
+  test -z "$as_dir" && as_dir=.
4358
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
4359
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4360
 
+    ac_cv_prog_ac_ct_CC="gcc"
4361
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4362
 
+    break 2
4363
 
+  fi
4364
 
+done
4365
 
+  done
4366
 
+IFS=$as_save_IFS
4367
 
+
4368
 
+fi
4369
 
+fi
4370
 
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
4371
 
+if test -n "$ac_ct_CC"; then
4372
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4373
 
+$as_echo "$ac_ct_CC" >&6; }
4374
 
+else
4375
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376
 
+$as_echo "no" >&6; }
4377
 
+fi
4378
 
+
4379
 
+  if test "x$ac_ct_CC" = x; then
4380
 
+    CC=""
4381
 
+  else
4382
 
+    case $cross_compiling:$ac_tool_warned in
4383
 
+yes:)
4384
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4385
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4386
 
+ac_tool_warned=yes ;;
4387
 
+esac
4388
 
+    CC=$ac_ct_CC
4389
 
+  fi
4390
 
+else
4391
 
+  CC="$ac_cv_prog_CC"
4392
 
+fi
4393
 
+
4394
 
+if test -z "$CC"; then
4395
 
+          if test -n "$ac_tool_prefix"; then
4396
 
+    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4397
 
+set dummy ${ac_tool_prefix}cc; ac_word=$2
4398
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399
 
+$as_echo_n "checking for $ac_word... " >&6; }
4400
 
+if ${ac_cv_prog_CC+:} false; then :
4401
 
+  $as_echo_n "(cached) " >&6
4402
 
+else
4403
 
+  if test -n "$CC"; then
4404
 
+  ac_cv_prog_CC="$CC" # Let the user override the test.
4405
 
+else
4406
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407
 
+for as_dir in $PATH
4408
 
+do
4409
 
+  IFS=$as_save_IFS
4410
 
+  test -z "$as_dir" && as_dir=.
4411
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
4412
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4413
 
+    ac_cv_prog_CC="${ac_tool_prefix}cc"
4414
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4415
 
+    break 2
4416
 
+  fi
4417
 
+done
4418
 
+  done
4419
 
+IFS=$as_save_IFS
4420
 
+
4421
 
+fi
4422
 
+fi
4423
 
+CC=$ac_cv_prog_CC
4424
 
+if test -n "$CC"; then
4425
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4426
 
+$as_echo "$CC" >&6; }
4427
 
+else
4428
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429
 
+$as_echo "no" >&6; }
4430
 
+fi
4431
 
+
4432
 
+
4433
 
+  fi
4434
 
+fi
4435
 
+if test -z "$CC"; then
4436
 
+  # Extract the first word of "cc", so it can be a program name with args.
4437
 
+set dummy cc; ac_word=$2
4438
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4439
 
+$as_echo_n "checking for $ac_word... " >&6; }
4440
 
+if ${ac_cv_prog_CC+:} false; then :
4441
 
+  $as_echo_n "(cached) " >&6
4442
 
+else
4443
 
+  if test -n "$CC"; then
4444
 
+  ac_cv_prog_CC="$CC" # Let the user override the test.
4445
 
+else
4446
 
+  ac_prog_rejected=no
4447
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448
 
+for as_dir in $PATH
4449
 
+do
4450
 
+  IFS=$as_save_IFS
4451
 
+  test -z "$as_dir" && as_dir=.
4452
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
4453
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4454
 
+    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4455
 
+       ac_prog_rejected=yes
4456
 
+       continue
4457
 
+     fi
4458
 
+    ac_cv_prog_CC="cc"
4459
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4460
 
+    break 2
4461
 
+  fi
4462
 
+done
4463
 
+  done
4464
 
+IFS=$as_save_IFS
4465
 
+
4466
 
+if test $ac_prog_rejected = yes; then
4467
 
+  # We found a bogon in the path, so make sure we never use it.
4468
 
+  set dummy $ac_cv_prog_CC
4469
 
+  shift
4470
 
+  if test $@%:@ != 0; then
4471
 
+    # We chose a different compiler from the bogus one.
4472
 
+    # However, it has the same basename, so the bogon will be chosen
4473
 
+    # first if we set CC to just the basename; use the full file name.
4474
 
+    shift
4475
 
+    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4476
 
+  fi
4477
 
+fi
4478
 
+fi
4479
 
+fi
4480
 
+CC=$ac_cv_prog_CC
4481
 
+if test -n "$CC"; then
4482
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4483
 
+$as_echo "$CC" >&6; }
4484
 
+else
4485
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4486
 
+$as_echo "no" >&6; }
4487
 
+fi
4488
 
+
4489
 
+
4490
 
+fi
4491
 
+if test -z "$CC"; then
4492
 
+  if test -n "$ac_tool_prefix"; then
4493
 
+  for ac_prog in cl.exe
4494
 
+  do
4495
 
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4496
 
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4497
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4498
 
+$as_echo_n "checking for $ac_word... " >&6; }
4499
 
+if ${ac_cv_prog_CC+:} false; then :
4500
 
+  $as_echo_n "(cached) " >&6
4501
 
+else
4502
 
+  if test -n "$CC"; then
4503
 
+  ac_cv_prog_CC="$CC" # Let the user override the test.
4504
 
+else
4505
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4506
 
+for as_dir in $PATH
4507
 
+do
4508
 
+  IFS=$as_save_IFS
4509
 
+  test -z "$as_dir" && as_dir=.
4510
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
4511
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4512
 
+    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4513
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4514
 
+    break 2
4515
 
+  fi
4516
 
+done
4517
 
+  done
4518
 
+IFS=$as_save_IFS
4519
 
+
4520
 
+fi
4521
 
+fi
4522
 
+CC=$ac_cv_prog_CC
4523
 
+if test -n "$CC"; then
4524
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4525
 
+$as_echo "$CC" >&6; }
4526
 
+else
4527
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4528
 
+$as_echo "no" >&6; }
4529
 
+fi
4530
 
+
4531
 
+
4532
 
+    test -n "$CC" && break
4533
 
+  done
4534
 
+fi
4535
 
+if test -z "$CC"; then
4536
 
+  ac_ct_CC=$CC
4537
 
+  for ac_prog in cl.exe
4538
 
+do
4539
 
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
4540
 
+set dummy $ac_prog; ac_word=$2
4541
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4542
 
+$as_echo_n "checking for $ac_word... " >&6; }
4543
 
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
4544
 
+  $as_echo_n "(cached) " >&6
4545
 
+else
4546
 
+  if test -n "$ac_ct_CC"; then
4547
 
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4548
 
+else
4549
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4550
 
+for as_dir in $PATH
4551
 
+do
4552
 
+  IFS=$as_save_IFS
4553
 
+  test -z "$as_dir" && as_dir=.
4554
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
4555
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4556
 
+    ac_cv_prog_ac_ct_CC="$ac_prog"
4557
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4558
 
+    break 2
4559
 
+  fi
4560
 
+done
4561
 
+  done
4562
 
+IFS=$as_save_IFS
4563
 
+
4564
 
+fi
4565
 
+fi
4566
 
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
4567
 
+if test -n "$ac_ct_CC"; then
4568
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4569
 
+$as_echo "$ac_ct_CC" >&6; }
4570
 
+else
4571
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4572
 
+$as_echo "no" >&6; }
4573
 
+fi
4574
 
+
4575
 
+
4576
 
+  test -n "$ac_ct_CC" && break
4577
 
+done
4578
 
+
4579
 
+  if test "x$ac_ct_CC" = x; then
4580
 
+    CC=""
4581
 
+  else
4582
 
+    case $cross_compiling:$ac_tool_warned in
4583
 
+yes:)
4584
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4585
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4586
 
+ac_tool_warned=yes ;;
4587
 
+esac
4588
 
+    CC=$ac_ct_CC
4589
 
+  fi
4590
 
+fi
4591
 
+
4592
 
+fi
4593
 
+
4594
 
+
4595
 
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4596
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4597
 
+as_fn_error $? "no acceptable C compiler found in \$PATH
4598
 
+See \`config.log' for more details" "$LINENO" 5; }
4599
 
+
4600
 
+# Provide some information about the compiler.
4601
 
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4602
 
+set X $ac_compile
4603
 
+ac_compiler=$2
4604
 
+for ac_option in --version -v -V -qversion; do
4605
 
+  { { ac_try="$ac_compiler $ac_option >&5"
4606
 
+case "(($ac_try" in
4607
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4608
 
+  *) ac_try_echo=$ac_try;;
4609
 
+esac
4610
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4611
 
+$as_echo "$ac_try_echo"; } >&5
4612
 
+  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4613
 
+  ac_status=$?
4614
 
+  if test -s conftest.err; then
4615
 
+    sed '10a\
4616
 
+... rest of stderr output deleted ...
4617
 
+         10q' conftest.err >conftest.er1
4618
 
+    cat conftest.er1 >&5
4619
 
+  fi
4620
 
+  rm -f conftest.er1 conftest.err
4621
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4622
 
+  test $ac_status = 0; }
4623
 
+done
4624
 
+
4625
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626
 
+/* end confdefs.h.  */
4627
 
+
4628
 
+int
4629
 
+main ()
4630
 
+{
4631
 
+
4632
 
+  ;
4633
 
+  return 0;
4634
 
+}
4635
 
+_ACEOF
4636
 
+ac_clean_files_save=$ac_clean_files
4637
 
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4638
 
+# Try to create an executable without -o first, disregard a.out.
4639
 
+# It will help us diagnose broken compilers, and finding out an intuition
4640
 
+# of exeext.
4641
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4642
 
+$as_echo_n "checking whether the C compiler works... " >&6; }
4643
 
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4644
 
+
4645
 
+# The possible output files:
4646
 
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4647
 
+
4648
 
+ac_rmfiles=
4649
 
+for ac_file in $ac_files
4650
 
+do
4651
 
+  case $ac_file in
4652
 
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4653
 
+    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4654
 
+  esac
4655
 
+done
4656
 
+rm -f $ac_rmfiles
4657
 
+
4658
 
+if { { ac_try="$ac_link_default"
4659
 
+case "(($ac_try" in
4660
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661
 
+  *) ac_try_echo=$ac_try;;
4662
 
+esac
4663
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4664
 
+$as_echo "$ac_try_echo"; } >&5
4665
 
+  (eval "$ac_link_default") 2>&5
4666
 
+  ac_status=$?
4667
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4668
 
+  test $ac_status = 0; }; then :
4669
 
+  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4670
 
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4671
 
+# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4672
 
+# so that the user can short-circuit this test for compilers unknown to
4673
 
+# Autoconf.
4674
 
+for ac_file in $ac_files ''
4675
 
+do
4676
 
+  test -f "$ac_file" || continue
4677
 
+  case $ac_file in
4678
 
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4679
 
+       ;;
4680
 
+    [ab].out )
4681
 
+       # We found the default executable, but exeext='' is most
4682
 
+       # certainly right.
4683
 
+       break;;
4684
 
+    *.* )
4685
 
+       if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4686
 
+       then :; else
4687
 
+          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4688
 
+       fi
4689
 
+       # We set ac_cv_exeext here because the later test for it is not
4690
 
+       # safe: cross compilers may not add the suffix if given an `-o'
4691
 
+       # argument, so we may need to know it at that point already.
4692
 
+       # Even if this section looks crufty: it has the advantage of
4693
 
+       # actually working.
4694
 
+       break;;
4695
 
+    * )
4696
 
+       break;;
4697
 
+  esac
4698
 
+done
4699
 
+test "$ac_cv_exeext" = no && ac_cv_exeext=
4700
 
+
4701
 
+else
4702
 
+  ac_file=''
4703
 
+fi
4704
 
+if test -z "$ac_file"; then :
4705
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706
 
+$as_echo "no" >&6; }
4707
 
+$as_echo "$as_me: failed program was:" >&5
4708
 
+sed 's/^/| /' conftest.$ac_ext >&5
4709
 
+
4710
 
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4711
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4712
 
+as_fn_error 77 "C compiler cannot create executables
4713
 
+See \`config.log' for more details" "$LINENO" 5; }
4714
 
+else
4715
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4716
 
+$as_echo "yes" >&6; }
4717
 
+fi
4718
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4719
 
+$as_echo_n "checking for C compiler default output file name... " >&6; }
4720
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4721
 
+$as_echo "$ac_file" >&6; }
4722
 
+ac_exeext=$ac_cv_exeext
4723
 
+
4724
 
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4725
 
+ac_clean_files=$ac_clean_files_save
4726
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4727
 
+$as_echo_n "checking for suffix of executables... " >&6; }
4728
 
+if { { ac_try="$ac_link"
4729
 
+case "(($ac_try" in
4730
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4731
 
+  *) ac_try_echo=$ac_try;;
4732
 
+esac
4733
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4734
 
+$as_echo "$ac_try_echo"; } >&5
4735
 
+  (eval "$ac_link") 2>&5
4736
 
+  ac_status=$?
4737
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4738
 
+  test $ac_status = 0; }; then :
4739
 
+  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4740
 
+# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4741
 
+# work properly (i.e., refer to `conftest.exe'), while it won't with
4742
 
+# `rm'.
4743
 
+for ac_file in conftest.exe conftest conftest.*; do
4744
 
+  test -f "$ac_file" || continue
4745
 
+  case $ac_file in
4746
 
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4747
 
+    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4748
 
+         break;;
4749
 
+    * ) break;;
4750
 
+  esac
4751
 
+done
4752
 
+else
4753
 
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4754
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4755
 
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4756
 
+See \`config.log' for more details" "$LINENO" 5; }
4757
 
+fi
4758
 
+rm -f conftest conftest$ac_cv_exeext
4759
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4760
 
+$as_echo "$ac_cv_exeext" >&6; }
4761
 
+
4762
 
+rm -f conftest.$ac_ext
4763
 
+EXEEXT=$ac_cv_exeext
4764
 
+ac_exeext=$EXEEXT
4765
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4766
 
+/* end confdefs.h.  */
4767
 
+@%:@include <stdio.h>
4768
 
+int
4769
 
+main ()
4770
 
+{
4771
 
+FILE *f = fopen ("conftest.out", "w");
4772
 
+ return ferror (f) || fclose (f) != 0;
4773
 
+
4774
 
+  ;
4775
 
+  return 0;
4776
 
+}
4777
 
+_ACEOF
4778
 
+ac_clean_files="$ac_clean_files conftest.out"
4779
 
+# Check that the compiler produces executables we can run.  If not, either
4780
 
+# the compiler is broken, or we cross compile.
4781
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4782
 
+$as_echo_n "checking whether we are cross compiling... " >&6; }
4783
 
+if test "$cross_compiling" != yes; then
4784
 
+  { { ac_try="$ac_link"
4785
 
+case "(($ac_try" in
4786
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4787
 
+  *) ac_try_echo=$ac_try;;
4788
 
+esac
4789
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4790
 
+$as_echo "$ac_try_echo"; } >&5
4791
 
+  (eval "$ac_link") 2>&5
4792
 
+  ac_status=$?
4793
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4794
 
+  test $ac_status = 0; }
4795
 
+  if { ac_try='./conftest$ac_cv_exeext'
4796
 
+  { { case "(($ac_try" in
4797
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4798
 
+  *) ac_try_echo=$ac_try;;
4799
 
+esac
4800
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4801
 
+$as_echo "$ac_try_echo"; } >&5
4802
 
+  (eval "$ac_try") 2>&5
4803
 
+  ac_status=$?
4804
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4805
 
+  test $ac_status = 0; }; }; then
4806
 
+    cross_compiling=no
4807
 
+  else
4808
 
+    if test "$cross_compiling" = maybe; then
4809
 
+       cross_compiling=yes
4810
 
+    else
4811
 
+       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4812
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4813
 
+as_fn_error $? "cannot run C compiled programs.
4814
 
+If you meant to cross compile, use \`--host'.
4815
 
+See \`config.log' for more details" "$LINENO" 5; }
4816
 
+    fi
4817
 
+  fi
4818
 
+fi
4819
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4820
 
+$as_echo "$cross_compiling" >&6; }
4821
 
+
4822
 
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4823
 
+ac_clean_files=$ac_clean_files_save
4824
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4825
 
+$as_echo_n "checking for suffix of object files... " >&6; }
4826
 
+if ${ac_cv_objext+:} false; then :
4827
 
+  $as_echo_n "(cached) " >&6
4828
 
+else
4829
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4830
 
+/* end confdefs.h.  */
4831
 
+
4832
 
+int
4833
 
+main ()
4834
 
+{
4835
 
+
4836
 
+  ;
4837
 
+  return 0;
4838
 
+}
4839
 
+_ACEOF
4840
 
+rm -f conftest.o conftest.obj
4841
 
+if { { ac_try="$ac_compile"
4842
 
+case "(($ac_try" in
4843
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4844
 
+  *) ac_try_echo=$ac_try;;
4845
 
+esac
4846
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4847
 
+$as_echo "$ac_try_echo"; } >&5
4848
 
+  (eval "$ac_compile") 2>&5
4849
 
+  ac_status=$?
4850
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4851
 
+  test $ac_status = 0; }; then :
4852
 
+  for ac_file in conftest.o conftest.obj conftest.*; do
4853
 
+  test -f "$ac_file" || continue;
4854
 
+  case $ac_file in
4855
 
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4856
 
+    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4857
 
+       break;;
4858
 
+  esac
4859
 
+done
4860
 
+else
4861
 
+  $as_echo "$as_me: failed program was:" >&5
4862
 
+sed 's/^/| /' conftest.$ac_ext >&5
4863
 
+
4864
 
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4865
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4866
 
+as_fn_error $? "cannot compute suffix of object files: cannot compile
4867
 
+See \`config.log' for more details" "$LINENO" 5; }
4868
 
+fi
4869
 
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
4870
 
+fi
4871
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4872
 
+$as_echo "$ac_cv_objext" >&6; }
4873
 
+OBJEXT=$ac_cv_objext
4874
 
+ac_objext=$OBJEXT
4875
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4876
 
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4877
 
+if ${ac_cv_c_compiler_gnu+:} false; then :
4878
 
+  $as_echo_n "(cached) " >&6
4879
 
+else
4880
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4881
 
+/* end confdefs.h.  */
4882
 
+
4883
 
+int
4884
 
+main ()
4885
 
+{
4886
 
+#ifndef __GNUC__
4887
 
+       choke me
4888
 
+#endif
4889
 
+
4890
 
+  ;
4891
 
+  return 0;
4892
 
+}
4893
 
+_ACEOF
4894
 
+if ac_fn_c_try_compile "$LINENO"; then :
4895
 
+  ac_compiler_gnu=yes
4896
 
+else
4897
 
+  ac_compiler_gnu=no
4898
 
+fi
4899
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4900
 
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
4901
 
+
4902
 
+fi
4903
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4904
 
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4905
 
+if test $ac_compiler_gnu = yes; then
4906
 
+  GCC=yes
4907
 
+else
4908
 
+  GCC=
4909
 
+fi
4910
 
+ac_test_CFLAGS=${CFLAGS+set}
4911
 
+ac_save_CFLAGS=$CFLAGS
4912
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4913
 
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
4914
 
+if ${ac_cv_prog_cc_g+:} false; then :
4915
 
+  $as_echo_n "(cached) " >&6
4916
 
+else
4917
 
+  ac_save_c_werror_flag=$ac_c_werror_flag
4918
 
+   ac_c_werror_flag=yes
4919
 
+   ac_cv_prog_cc_g=no
4920
 
+   CFLAGS="-g"
4921
 
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4922
 
+/* end confdefs.h.  */
4923
 
+
4924
 
+int
4925
 
+main ()
4926
 
+{
4927
 
+
4928
 
+  ;
4929
 
+  return 0;
4930
 
+}
4931
 
+_ACEOF
4932
 
+if ac_fn_c_try_compile "$LINENO"; then :
4933
 
+  ac_cv_prog_cc_g=yes
4934
 
+else
4935
 
+  CFLAGS=""
4936
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4937
 
+/* end confdefs.h.  */
4938
 
+
4939
 
+int
4940
 
+main ()
4941
 
+{
4942
 
+
4943
 
+  ;
4944
 
+  return 0;
4945
 
+}
4946
 
+_ACEOF
4947
 
+if ac_fn_c_try_compile "$LINENO"; then :
4948
 
+  
4949
 
+else
4950
 
+  ac_c_werror_flag=$ac_save_c_werror_flag
4951
 
+        CFLAGS="-g"
4952
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953
 
+/* end confdefs.h.  */
4954
 
+
4955
 
+int
4956
 
+main ()
4957
 
+{
4958
 
+
4959
 
+  ;
4960
 
+  return 0;
4961
 
+}
4962
 
+_ACEOF
4963
 
+if ac_fn_c_try_compile "$LINENO"; then :
4964
 
+  ac_cv_prog_cc_g=yes
4965
 
+fi
4966
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4967
 
+fi
4968
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4969
 
+fi
4970
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4971
 
+   ac_c_werror_flag=$ac_save_c_werror_flag
4972
 
+fi
4973
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4974
 
+$as_echo "$ac_cv_prog_cc_g" >&6; }
4975
 
+if test "$ac_test_CFLAGS" = set; then
4976
 
+  CFLAGS=$ac_save_CFLAGS
4977
 
+elif test $ac_cv_prog_cc_g = yes; then
4978
 
+  if test "$GCC" = yes; then
4979
 
+    CFLAGS="-g -O2"
4980
 
+  else
4981
 
+    CFLAGS="-g"
4982
 
+  fi
4983
 
+else
4984
 
+  if test "$GCC" = yes; then
4985
 
+    CFLAGS="-O2"
4986
 
+  else
4987
 
+    CFLAGS=
4988
 
+  fi
4989
 
+fi
4990
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4991
 
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4992
 
+if ${ac_cv_prog_cc_c89+:} false; then :
4993
 
+  $as_echo_n "(cached) " >&6
4994
 
+else
4995
 
+  ac_cv_prog_cc_c89=no
4996
 
+ac_save_CC=$CC
4997
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998
 
+/* end confdefs.h.  */
4999
 
+#include <stdarg.h>
5000
 
+#include <stdio.h>
5001
 
+#include <sys/types.h>
5002
 
+#include <sys/stat.h>
5003
 
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5004
 
+struct buf { int x; };
5005
 
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
5006
 
+static char *e (p, i)
5007
 
+     char **p;
5008
 
+     int i;
5009
 
+{
5010
 
+  return p[i];
5011
 
+}
5012
 
+static char *f (char * (*g) (char **, int), char **p, ...)
5013
 
+{
5014
 
+  char *s;
5015
 
+  va_list v;
5016
 
+  va_start (v,p);
5017
 
+  s = g (p, va_arg (v,int));
5018
 
+  va_end (v);
5019
 
+  return s;
5020
 
+}
5021
 
+
5022
 
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5023
 
+   function prototypes and stuff, but not '\xHH' hex character constants.
5024
 
+   These don't provoke an error unfortunately, instead are silently treated
5025
 
+   as 'x'.  The following induces an error, until -std is added to get
5026
 
+   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5027
 
+   array size at least.  It's necessary to write '\x00'==0 to get something
5028
 
+   that's true only with -std.  */
5029
 
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5030
 
+
5031
 
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5032
 
+   inside strings and character constants.  */
5033
 
+#define FOO(x) 'x'
5034
 
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5035
 
+
5036
 
+int test (int i, double x);
5037
 
+struct s1 {int (*f) (int a);};
5038
 
+struct s2 {int (*f) (double a);};
5039
 
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5040
 
+int argc;
5041
 
+char **argv;
5042
 
+int
5043
 
+main ()
5044
 
+{
5045
 
+return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5046
 
+  ;
5047
 
+  return 0;
5048
 
+}
5049
 
+_ACEOF
5050
 
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5051
 
+       -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5052
 
+do
5053
 
+  CC="$ac_save_CC $ac_arg"
5054
 
+  if ac_fn_c_try_compile "$LINENO"; then :
5055
 
+  ac_cv_prog_cc_c89=$ac_arg
5056
 
+fi
5057
 
+rm -f core conftest.err conftest.$ac_objext
5058
 
+  test "x$ac_cv_prog_cc_c89" != "xno" && break
5059
 
+done
5060
 
+rm -f conftest.$ac_ext
5061
 
+CC=$ac_save_CC
5062
 
+
5063
 
+fi
5064
 
+# AC_CACHE_VAL
5065
 
+case "x$ac_cv_prog_cc_c89" in
5066
 
+  x)
5067
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5068
 
+$as_echo "none needed" >&6; } ;;
5069
 
+  xno)
5070
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5071
 
+$as_echo "unsupported" >&6; } ;;
5072
 
+  *)
5073
 
+    CC="$CC $ac_cv_prog_cc_c89"
5074
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5075
 
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5076
 
+esac
5077
 
+if test "x$ac_cv_prog_cc_c89" != xno; then :
5078
 
+  
5079
 
+fi
5080
 
+
5081
 
+ac_ext=c
5082
 
+ac_cpp='$CPP $CPPFLAGS'
5083
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5084
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5085
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
5086
 
+
5087
 
+depcc="$CC"   am_compiler_list=
5088
 
+
5089
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5090
 
+$as_echo_n "checking dependency style of $depcc... " >&6; }
5091
 
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5092
 
+  $as_echo_n "(cached) " >&6
5093
 
+else
5094
 
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5095
 
+  # We make a subdir and do the tests there.  Otherwise we can end up
5096
 
+  # making bogus files that we don't know about and never remove.  For
5097
 
+  # instance it was reported that on HP-UX the gcc test will end up
5098
 
+  # making a dummy file named `D' -- because `-MD' means `put the output
5099
 
+  # in D'.
5100
 
+  mkdir conftest.dir
5101
 
+  # Copy depcomp to subdir because otherwise we won't find it if we're
5102
 
+  # using a relative directory.
5103
 
+  cp "$am_depcomp" conftest.dir
5104
 
+  cd conftest.dir
5105
 
+  # We will build objects and dependencies in a subdirectory because
5106
 
+  # it helps to detect inapplicable dependency modes.  For instance
5107
 
+  # both Tru64's cc and ICC support -MD to output dependencies as a
5108
 
+  # side effect of compilation, but ICC will put the dependencies in
5109
 
+  # the current directory while Tru64 will put them in the object
5110
 
+  # directory.
5111
 
+  mkdir sub
5112
 
+
5113
 
+  am_cv_CC_dependencies_compiler_type=none
5114
 
+  if test "$am_compiler_list" = ""; then
5115
 
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5116
 
+  fi
5117
 
+  am__universal=false
5118
 
+  case " $depcc " in #(
5119
 
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5120
 
+     esac
5121
 
+
5122
 
+  for depmode in $am_compiler_list; do
5123
 
+    # Setup a source with many dependencies, because some compilers
5124
 
+    # like to wrap large dependency lists on column 80 (with \), and
5125
 
+    # we should not choose a depcomp mode which is confused by this.
5126
 
+    #
5127
 
+    # We need to recreate these files for each test, as the compiler may
5128
 
+    # overwrite some of them when testing with obscure command lines.
5129
 
+    # This happens at least with the AIX C compiler.
5130
 
+    : > sub/conftest.c
5131
 
+    for i in 1 2 3 4 5 6; do
5132
 
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5133
 
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5134
 
+      # Solaris 8's {/usr,}/bin/sh.
5135
 
+      touch sub/conftst$i.h
5136
 
+    done
5137
 
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5138
 
+
5139
 
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5140
 
+    # mode.  It turns out that the SunPro C++ compiler does not properly
5141
 
+    # handle `-M -o', and we need to detect this.  Also, some Intel
5142
 
+    # versions had trouble with output in subdirs
5143
 
+    am__obj=sub/conftest.${OBJEXT-o}
5144
 
+    am__minus_obj="-o $am__obj"
5145
 
+    case $depmode in
5146
 
+    gcc)
5147
 
+      # This depmode causes a compiler race in universal mode.
5148
 
+      test "$am__universal" = false || continue
5149
 
+      ;;
5150
 
+    nosideeffect)
5151
 
+      # after this tag, mechanisms are not by side-effect, so they'll
5152
 
+      # only be used when explicitly requested
5153
 
+      if test "x$enable_dependency_tracking" = xyes; then
5154
 
+       continue
5155
 
+      else
5156
 
+       break
5157
 
+      fi
5158
 
+      ;;
5159
 
+    msvisualcpp | msvcmsys)
5160
 
+      # This compiler won't grok `-c -o', but also, the minuso test has
5161
 
+      # not run yet.  These depmodes are late enough in the game, and
5162
 
+      # so weak that their functioning should not be impacted.
5163
 
+      am__obj=conftest.${OBJEXT-o}
5164
 
+      am__minus_obj=
5165
 
+      ;;
5166
 
+    none) break ;;
5167
 
+    esac
5168
 
+    if depmode=$depmode \
5169
 
+       source=sub/conftest.c object=$am__obj \
5170
 
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5171
 
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5172
 
+         >/dev/null 2>conftest.err &&
5173
 
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5174
 
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5175
 
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5176
 
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5177
 
+      # icc doesn't choke on unknown options, it will just issue warnings
5178
 
+      # or remarks (even with -Werror).  So we grep stderr for any message
5179
 
+      # that says an option was ignored or not supported.
5180
 
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
5181
 
+      #   icc: Command line warning: ignoring option '-M'; no argument required
5182
 
+      # The diagnosis changed in icc 8.0:
5183
 
+      #   icc: Command line remark: option '-MP' not supported
5184
 
+      if (grep 'ignoring option' conftest.err ||
5185
 
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5186
 
+        am_cv_CC_dependencies_compiler_type=$depmode
5187
 
+        break
5188
 
+      fi
5189
 
+    fi
5190
 
+  done
5191
 
+
5192
 
+  cd ..
5193
 
+  rm -rf conftest.dir
5194
 
+else
5195
 
+  am_cv_CC_dependencies_compiler_type=none
5196
 
+fi
5197
 
+
5198
 
+fi
5199
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5200
 
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5201
 
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5202
 
+
5203
 
+ if 
5204
 
+  test "x$enable_dependency_tracking" != xno \
5205
 
+  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5206
 
+  am__fastdepCC_TRUE=
5207
 
+  am__fastdepCC_FALSE='#'
5208
 
+else
5209
 
+  am__fastdepCC_TRUE='#'
5210
 
+  am__fastdepCC_FALSE=
5211
 
+fi
5212
 
+
5213
 
+
5214
 
+   case $ac_cv_prog_cc_stdc in @%:@(
5215
 
+  no) :
5216
 
+    ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; @%:@(
5217
 
+  *) :
5218
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5219
 
+$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5220
 
+if ${ac_cv_prog_cc_c99+:} false; then :
5221
 
+  $as_echo_n "(cached) " >&6
5222
 
+else
5223
 
+  ac_cv_prog_cc_c99=no
5224
 
+ac_save_CC=$CC
5225
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5226
 
+/* end confdefs.h.  */
5227
 
+#include <stdarg.h>
5228
 
+#include <stdbool.h>
5229
 
+#include <stdlib.h>
5230
 
+#include <wchar.h>
5231
 
+#include <stdio.h>
5232
 
+
5233
 
+// Check varargs macros.  These examples are taken from C99 6.10.3.5.
5234
 
+#define debug(...) fprintf (stderr, __VA_ARGS__)
5235
 
+#define showlist(...) puts (#__VA_ARGS__)
5236
 
+#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5237
 
+static void
5238
 
+test_varargs_macros (void)
5239
 
+{
5240
 
+  int x = 1234;
5241
 
+  int y = 5678;
5242
 
+  debug ("Flag");
5243
 
+  debug ("X = %d\n", x);
5244
 
+  showlist (The first, second, and third items.);
5245
 
+  report (x>y, "x is %d but y is %d", x, y);
5246
 
+}
5247
 
+
5248
 
+// Check long long types.
5249
 
+#define BIG64 18446744073709551615ull
5250
 
+#define BIG32 4294967295ul
5251
 
+#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5252
 
+#if !BIG_OK
5253
 
+  your preprocessor is broken;
5254
 
+#endif
5255
 
+#if BIG_OK
5256
 
+#else
5257
 
+  your preprocessor is broken;
5258
 
+#endif
5259
 
+static long long int bignum = -9223372036854775807LL;
5260
 
+static unsigned long long int ubignum = BIG64;
5261
 
+
5262
 
+struct incomplete_array
5263
 
+{
5264
 
+  int datasize;
5265
 
+  double data[];
5266
 
+};
5267
 
+
5268
 
+struct named_init {
5269
 
+  int number;
5270
 
+  const wchar_t *name;
5271
 
+  double average;
5272
 
+};
5273
 
+
5274
 
+typedef const char *ccp;
5275
 
+
5276
 
+static inline int
5277
 
+test_restrict (ccp restrict text)
5278
 
+{
5279
 
+  // See if C++-style comments work.
5280
 
+  // Iterate through items via the restricted pointer.
5281
 
+  // Also check for declarations in for loops.
5282
 
+  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5283
 
+    continue;
5284
 
+  return 0;
5285
 
+}
5286
 
+
5287
 
+// Check varargs and va_copy.
5288
 
+static void
5289
 
+test_varargs (const char *format, ...)
5290
 
+{
5291
 
+  va_list args;
5292
 
+  va_start (args, format);
5293
 
+  va_list args_copy;
5294
 
+  va_copy (args_copy, args);
5295
 
+
5296
 
+  const char *str;
5297
 
+  int number;
5298
 
+  float fnumber;
5299
 
+
5300
 
+  while (*format)
5301
 
+    {
5302
 
+      switch (*format++)
5303
 
+       {
5304
 
+       case 's': // string
5305
 
+         str = va_arg (args_copy, const char *);
5306
 
+         break;
5307
 
+       case 'd': // int
5308
 
+         number = va_arg (args_copy, int);
5309
 
+         break;
5310
 
+       case 'f': // float
5311
 
+         fnumber = va_arg (args_copy, double);
5312
 
+         break;
5313
 
+       default:
5314
 
+         break;
5315
 
+       }
5316
 
+    }
5317
 
+  va_end (args_copy);
5318
 
+  va_end (args);
5319
 
+}
5320
 
+
5321
 
+int
5322
 
+main ()
5323
 
+{
5324
 
+
5325
 
+  // Check bool.
5326
 
+  _Bool success = false;
5327
 
+
5328
 
+  // Check restrict.
5329
 
+  if (test_restrict ("String literal") == 0)
5330
 
+    success = true;
5331
 
+  char *restrict newvar = "Another string";
5332
 
+
5333
 
+  // Check varargs.
5334
 
+  test_varargs ("s, d' f .", "string", 65, 34.234);
5335
 
+  test_varargs_macros ();
5336
 
+
5337
 
+  // Check flexible array members.
5338
 
+  struct incomplete_array *ia =
5339
 
+    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5340
 
+  ia->datasize = 10;
5341
 
+  for (int i = 0; i < ia->datasize; ++i)
5342
 
+    ia->data[i] = i * 1.234;
5343
 
+
5344
 
+  // Check named initializers.
5345
 
+  struct named_init ni = {
5346
 
+    .number = 34,
5347
 
+    .name = L"Test wide string",
5348
 
+    .average = 543.34343,
5349
 
+  };
5350
 
+
5351
 
+  ni.number = 58;
5352
 
+
5353
 
+  int dynamic_array[ni.number];
5354
 
+  dynamic_array[ni.number - 1] = 543;
5355
 
+
5356
 
+  // work around unused variable warnings
5357
 
+  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5358
 
+         || dynamic_array[ni.number - 1] != 543);
5359
 
+
5360
 
+  ;
5361
 
+  return 0;
5362
 
+}
5363
 
+_ACEOF
5364
 
+for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
5365
 
+do
5366
 
+  CC="$ac_save_CC $ac_arg"
5367
 
+  if ac_fn_c_try_compile "$LINENO"; then :
5368
 
+  ac_cv_prog_cc_c99=$ac_arg
5369
 
+fi
5370
 
+rm -f core conftest.err conftest.$ac_objext
5371
 
+  test "x$ac_cv_prog_cc_c99" != "xno" && break
5372
 
+done
5373
 
+rm -f conftest.$ac_ext
5374
 
+CC=$ac_save_CC
5375
 
+
5376
 
+fi
5377
 
+# AC_CACHE_VAL
5378
 
+case "x$ac_cv_prog_cc_c99" in
5379
 
+  x)
5380
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5381
 
+$as_echo "none needed" >&6; } ;;
5382
 
+  xno)
5383
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5384
 
+$as_echo "unsupported" >&6; } ;;
5385
 
+  *)
5386
 
+    CC="$CC $ac_cv_prog_cc_c99"
5387
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5388
 
+$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5389
 
+esac
5390
 
+if test "x$ac_cv_prog_cc_c99" != xno; then :
5391
 
+  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5392
 
+else
5393
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5394
 
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5395
 
+if ${ac_cv_prog_cc_c89+:} false; then :
5396
 
+  $as_echo_n "(cached) " >&6
5397
 
+else
5398
 
+  ac_cv_prog_cc_c89=no
5399
 
+ac_save_CC=$CC
5400
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5401
 
+/* end confdefs.h.  */
5402
 
+#include <stdarg.h>
5403
 
+#include <stdio.h>
5404
 
+#include <sys/types.h>
5405
 
+#include <sys/stat.h>
5406
 
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5407
 
+struct buf { int x; };
5408
 
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
5409
 
+static char *e (p, i)
5410
 
+     char **p;
5411
 
+     int i;
5412
 
+{
5413
 
+  return p[i];
5414
 
+}
5415
 
+static char *f (char * (*g) (char **, int), char **p, ...)
5416
 
+{
5417
 
+  char *s;
5418
 
+  va_list v;
5419
 
+  va_start (v,p);
5420
 
+  s = g (p, va_arg (v,int));
5421
 
+  va_end (v);
5422
 
+  return s;
5423
 
+}
5424
 
+
5425
 
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5426
 
+   function prototypes and stuff, but not '\xHH' hex character constants.
5427
 
+   These don't provoke an error unfortunately, instead are silently treated
5428
 
+   as 'x'.  The following induces an error, until -std is added to get
5429
 
+   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5430
 
+   array size at least.  It's necessary to write '\x00'==0 to get something
5431
 
+   that's true only with -std.  */
5432
 
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5433
 
+
5434
 
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5435
 
+   inside strings and character constants.  */
5436
 
+#define FOO(x) 'x'
5437
 
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5438
 
+
5439
 
+int test (int i, double x);
5440
 
+struct s1 {int (*f) (int a);};
5441
 
+struct s2 {int (*f) (double a);};
5442
 
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5443
 
+int argc;
5444
 
+char **argv;
5445
 
+int
5446
 
+main ()
5447
 
+{
5448
 
+return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5449
 
+  ;
5450
 
+  return 0;
5451
 
+}
5452
 
+_ACEOF
5453
 
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5454
 
+       -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5455
 
+do
5456
 
+  CC="$ac_save_CC $ac_arg"
5457
 
+  if ac_fn_c_try_compile "$LINENO"; then :
5458
 
+  ac_cv_prog_cc_c89=$ac_arg
5459
 
+fi
5460
 
+rm -f core conftest.err conftest.$ac_objext
5461
 
+  test "x$ac_cv_prog_cc_c89" != "xno" && break
5462
 
+done
5463
 
+rm -f conftest.$ac_ext
5464
 
+CC=$ac_save_CC
5465
 
+
5466
 
+fi
5467
 
+# AC_CACHE_VAL
5468
 
+case "x$ac_cv_prog_cc_c89" in
5469
 
+  x)
5470
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5471
 
+$as_echo "none needed" >&6; } ;;
5472
 
+  xno)
5473
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5474
 
+$as_echo "unsupported" >&6; } ;;
5475
 
+  *)
5476
 
+    CC="$CC $ac_cv_prog_cc_c89"
5477
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5478
 
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5479
 
+esac
5480
 
+if test "x$ac_cv_prog_cc_c89" != xno; then :
5481
 
+  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5482
 
+else
5483
 
+  ac_cv_prog_cc_stdc=no
5484
 
+fi
5485
 
+
5486
 
+fi
5487
 
+ ;;
5488
 
+esac
5489
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
5490
 
+$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
5491
 
+  if ${ac_cv_prog_cc_stdc+:} false; then :
5492
 
+  $as_echo_n "(cached) " >&6
5493
 
+fi
5494
 
+
5495
 
+  case $ac_cv_prog_cc_stdc in @%:@(
5496
 
+  no) :
5497
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5498
 
+$as_echo "unsupported" >&6; } ;; @%:@(
5499
 
+  '') :
5500
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5501
 
+$as_echo "none needed" >&6; } ;; @%:@(
5502
 
+  *) :
5503
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
5504
 
+$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
5505
 
+esac
5506
 
+
5507
 
+if test "x$CC" != xcc; then
5508
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5509
 
+$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5510
 
+else
5511
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5512
 
+$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5513
 
+fi
5514
 
+set dummy $CC; ac_cc=`$as_echo "$2" |
5515
 
+                     sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5516
 
+if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5517
 
+  $as_echo_n "(cached) " >&6
5518
 
+else
5519
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5520
 
+/* end confdefs.h.  */
5521
 
+
5522
 
+int
5523
 
+main ()
5524
 
+{
5525
 
+
5526
 
+  ;
5527
 
+  return 0;
5528
 
+}
5529
 
+_ACEOF
5530
 
+# Make sure it works both with $CC and with simple cc.
5531
 
+# We do the test twice because some compilers refuse to overwrite an
5532
 
+# existing .o file with -o, though they will create one.
5533
 
+ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5534
 
+rm -f conftest2.*
5535
 
+if { { case "(($ac_try" in
5536
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5537
 
+  *) ac_try_echo=$ac_try;;
5538
 
+esac
5539
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5540
 
+$as_echo "$ac_try_echo"; } >&5
5541
 
+  (eval "$ac_try") 2>&5
5542
 
+  ac_status=$?
5543
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5544
 
+  test $ac_status = 0; } &&
5545
 
+   test -f conftest2.$ac_objext && { { case "(($ac_try" in
5546
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5547
 
+  *) ac_try_echo=$ac_try;;
5548
 
+esac
5549
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5550
 
+$as_echo "$ac_try_echo"; } >&5
5551
 
+  (eval "$ac_try") 2>&5
5552
 
+  ac_status=$?
5553
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5554
 
+  test $ac_status = 0; };
5555
 
+then
5556
 
+  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5557
 
+  if test "x$CC" != xcc; then
5558
 
+    # Test first that cc exists at all.
5559
 
+    if { ac_try='cc -c conftest.$ac_ext >&5'
5560
 
+  { { case "(($ac_try" in
5561
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5562
 
+  *) ac_try_echo=$ac_try;;
5563
 
+esac
5564
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5565
 
+$as_echo "$ac_try_echo"; } >&5
5566
 
+  (eval "$ac_try") 2>&5
5567
 
+  ac_status=$?
5568
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5569
 
+  test $ac_status = 0; }; }; then
5570
 
+      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5571
 
+      rm -f conftest2.*
5572
 
+      if { { case "(($ac_try" in
5573
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5574
 
+  *) ac_try_echo=$ac_try;;
5575
 
+esac
5576
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5577
 
+$as_echo "$ac_try_echo"; } >&5
5578
 
+  (eval "$ac_try") 2>&5
5579
 
+  ac_status=$?
5580
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5581
 
+  test $ac_status = 0; } &&
5582
 
+        test -f conftest2.$ac_objext && { { case "(($ac_try" in
5583
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5584
 
+  *) ac_try_echo=$ac_try;;
5585
 
+esac
5586
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5587
 
+$as_echo "$ac_try_echo"; } >&5
5588
 
+  (eval "$ac_try") 2>&5
5589
 
+  ac_status=$?
5590
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5591
 
+  test $ac_status = 0; };
5592
 
+      then
5593
 
+       # cc works too.
5594
 
+       :
5595
 
+      else
5596
 
+       # cc exists but doesn't like -o.
5597
 
+       eval ac_cv_prog_cc_${ac_cc}_c_o=no
5598
 
+      fi
5599
 
+    fi
5600
 
+  fi
5601
 
+else
5602
 
+  eval ac_cv_prog_cc_${ac_cc}_c_o=no
5603
 
+fi
5604
 
+rm -f core conftest*
5605
 
+
5606
 
+fi
5607
 
+if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5608
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5609
 
+$as_echo "yes" >&6; }
5610
 
+else
5611
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612
 
+$as_echo "no" >&6; }
5613
 
+  
5614
 
+$as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5615
 
+
5616
 
+fi
5617
 
+
5618
 
+# FIXME: we rely on the cache variable name because
5619
 
+# there is no other way.
5620
 
+set dummy $CC
5621
 
+am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5622
 
+eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5623
 
+if test "$am_t" != yes; then
5624
 
+   # Losing compiler, so override with the script.
5625
 
+   # FIXME: It is wrong to rewrite CC.
5626
 
+   # But if we don't then we get into trouble of one sort or another.
5627
 
+   # A longer-term fix would be to have automake use am__CC in this case,
5628
 
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5629
 
+   CC="$am_aux_dir/compile $CC"
5630
 
+fi
5631
 
+
5632
 
+
5633
 
+ac_ext=c
5634
 
+ac_cpp='$CPP $CPPFLAGS'
5635
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5636
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5637
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
5638
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5639
 
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
5640
 
+# On Suns, sometimes $CPP names a directory.
5641
 
+if test -n "$CPP" && test -d "$CPP"; then
5642
 
+  CPP=
5643
 
+fi
5644
 
+if test -z "$CPP"; then
5645
 
+  if ${ac_cv_prog_CPP+:} false; then :
5646
 
+  $as_echo_n "(cached) " >&6
5647
 
+else
5648
 
+      # Double quotes because CPP needs to be expanded
5649
 
+    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5650
 
+    do
5651
 
+      ac_preproc_ok=false
5652
 
+for ac_c_preproc_warn_flag in '' yes
5653
 
+do
5654
 
+  # Use a header file that comes with gcc, so configuring glibc
5655
 
+  # with a fresh cross-compiler works.
5656
 
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5657
 
+  # <limits.h> exists even on freestanding compilers.
5658
 
+  # On the NeXT, cc -E runs the code through the compiler's parser,
5659
 
+  # not just through cpp. "Syntax error" is here to catch this case.
5660
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5661
 
+/* end confdefs.h.  */
5662
 
+@%:@ifdef __STDC__
5663
 
+@%:@ include <limits.h>
5664
 
+@%:@else
5665
 
+@%:@ include <assert.h>
5666
 
+@%:@endif
5667
 
+                    Syntax error
5668
 
+_ACEOF
5669
 
+if ac_fn_c_try_cpp "$LINENO"; then :
5670
 
+  
5671
 
+else
5672
 
+  # Broken: fails on valid input.
5673
 
+continue
5674
 
+fi
5675
 
+rm -f conftest.err conftest.i conftest.$ac_ext
5676
 
+
5677
 
+  # OK, works on sane cases.  Now check whether nonexistent headers
5678
 
+  # can be detected and how.
5679
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5680
 
+/* end confdefs.h.  */
5681
 
+@%:@include <ac_nonexistent.h>
5682
 
+_ACEOF
5683
 
+if ac_fn_c_try_cpp "$LINENO"; then :
5684
 
+  # Broken: success on invalid input.
5685
 
+continue
5686
 
+else
5687
 
+  # Passes both tests.
5688
 
+ac_preproc_ok=:
5689
 
+break
5690
 
+fi
5691
 
+rm -f conftest.err conftest.i conftest.$ac_ext
5692
 
+
5693
 
+done
5694
 
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5695
 
+rm -f conftest.i conftest.err conftest.$ac_ext
5696
 
+if $ac_preproc_ok; then :
5697
 
+  break
5698
 
+fi
5699
 
+
5700
 
+    done
5701
 
+    ac_cv_prog_CPP=$CPP
5702
 
+  
5703
 
+fi
5704
 
+  CPP=$ac_cv_prog_CPP
5705
 
+else
5706
 
+  ac_cv_prog_CPP=$CPP
5707
 
+fi
5708
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5709
 
+$as_echo "$CPP" >&6; }
5710
 
+ac_preproc_ok=false
5711
 
+for ac_c_preproc_warn_flag in '' yes
5712
 
+do
5713
 
+  # Use a header file that comes with gcc, so configuring glibc
5714
 
+  # with a fresh cross-compiler works.
5715
 
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5716
 
+  # <limits.h> exists even on freestanding compilers.
5717
 
+  # On the NeXT, cc -E runs the code through the compiler's parser,
5718
 
+  # not just through cpp. "Syntax error" is here to catch this case.
5719
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5720
 
+/* end confdefs.h.  */
5721
 
+@%:@ifdef __STDC__
5722
 
+@%:@ include <limits.h>
5723
 
+@%:@else
5724
 
+@%:@ include <assert.h>
5725
 
+@%:@endif
5726
 
+                    Syntax error
5727
 
+_ACEOF
5728
 
+if ac_fn_c_try_cpp "$LINENO"; then :
5729
 
+  
5730
 
+else
5731
 
+  # Broken: fails on valid input.
5732
 
+continue
5733
 
+fi
5734
 
+rm -f conftest.err conftest.i conftest.$ac_ext
5735
 
+
5736
 
+  # OK, works on sane cases.  Now check whether nonexistent headers
5737
 
+  # can be detected and how.
5738
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5739
 
+/* end confdefs.h.  */
5740
 
+@%:@include <ac_nonexistent.h>
5741
 
+_ACEOF
5742
 
+if ac_fn_c_try_cpp "$LINENO"; then :
5743
 
+  # Broken: success on invalid input.
5744
 
+continue
5745
 
+else
5746
 
+  # Passes both tests.
5747
 
+ac_preproc_ok=:
5748
 
+break
5749
 
+fi
5750
 
+rm -f conftest.err conftest.i conftest.$ac_ext
5751
 
+
5752
 
+done
5753
 
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5754
 
+rm -f conftest.i conftest.err conftest.$ac_ext
5755
 
+if $ac_preproc_ok; then :
5756
 
+  
5757
 
+else
5758
 
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5759
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5760
 
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5761
 
+See \`config.log' for more details" "$LINENO" 5; }
5762
 
+fi
5763
 
+
5764
 
+ac_ext=c
5765
 
+ac_cpp='$CPP $CPPFLAGS'
5766
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5767
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5768
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
5769
 
+
5770
 
+
5771
 
+
5772
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5773
 
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5774
 
+if ${ac_cv_path_GREP+:} false; then :
5775
 
+  $as_echo_n "(cached) " >&6
5776
 
+else
5777
 
+  if test -z "$GREP"; then
5778
 
+  ac_path_GREP_found=false
5779
 
+  # Loop through the user's path and test for each of PROGNAME-LIST
5780
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781
 
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5782
 
+do
5783
 
+  IFS=$as_save_IFS
5784
 
+  test -z "$as_dir" && as_dir=.
5785
 
+    for ac_prog in grep ggrep; do
5786
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
5787
 
+      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5788
 
+      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5789
 
+# Check for GNU ac_path_GREP and select it if it is found.
5790
 
+  # Check for GNU $ac_path_GREP
5791
 
+case `"$ac_path_GREP" --version 2>&1` in
5792
 
+*GNU*)
5793
 
+  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5794
 
+*)
5795
 
+  ac_count=0
5796
 
+  $as_echo_n 0123456789 >"conftest.in"
5797
 
+  while :
5798
 
+  do
5799
 
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
5800
 
+    mv "conftest.tmp" "conftest.in"
5801
 
+    cp "conftest.in" "conftest.nl"
5802
 
+    $as_echo 'GREP' >> "conftest.nl"
5803
 
+    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5804
 
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5805
 
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
5806
 
+    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5807
 
+      # Best one so far, save it but keep looking for a better one
5808
 
+      ac_cv_path_GREP="$ac_path_GREP"
5809
 
+      ac_path_GREP_max=$ac_count
5810
 
+    fi
5811
 
+    # 10*(2^10) chars as input seems more than enough
5812
 
+    test $ac_count -gt 10 && break
5813
 
+  done
5814
 
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5815
 
+esac
5816
 
+
5817
 
+      $ac_path_GREP_found && break 3
5818
 
+    done
5819
 
+  done
5820
 
+  done
5821
 
+IFS=$as_save_IFS
5822
 
+  if test -z "$ac_cv_path_GREP"; then
5823
 
+    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5824
 
+  fi
5825
 
+else
5826
 
+  ac_cv_path_GREP=$GREP
5827
 
+fi
5828
 
+
5829
 
+fi
5830
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5831
 
+$as_echo "$ac_cv_path_GREP" >&6; }
5832
 
+ GREP="$ac_cv_path_GREP"
5833
 
5834
 
+
5835
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5836
 
+$as_echo_n "checking for egrep... " >&6; }
5837
 
+if ${ac_cv_path_EGREP+:} false; then :
5838
 
+  $as_echo_n "(cached) " >&6
5839
 
+else
5840
 
+  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5841
 
+   then ac_cv_path_EGREP="$GREP -E"
5842
 
+   else
5843
 
+     if test -z "$EGREP"; then
5844
 
+  ac_path_EGREP_found=false
5845
 
+  # Loop through the user's path and test for each of PROGNAME-LIST
5846
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847
 
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5848
 
+do
5849
 
+  IFS=$as_save_IFS
5850
 
+  test -z "$as_dir" && as_dir=.
5851
 
+    for ac_prog in egrep; do
5852
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
5853
 
+      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5854
 
+      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5855
 
+# Check for GNU ac_path_EGREP and select it if it is found.
5856
 
+  # Check for GNU $ac_path_EGREP
5857
 
+case `"$ac_path_EGREP" --version 2>&1` in
5858
 
+*GNU*)
5859
 
+  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5860
 
+*)
5861
 
+  ac_count=0
5862
 
+  $as_echo_n 0123456789 >"conftest.in"
5863
 
+  while :
5864
 
+  do
5865
 
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
5866
 
+    mv "conftest.tmp" "conftest.in"
5867
 
+    cp "conftest.in" "conftest.nl"
5868
 
+    $as_echo 'EGREP' >> "conftest.nl"
5869
 
+    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5870
 
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5871
 
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
5872
 
+    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5873
 
+      # Best one so far, save it but keep looking for a better one
5874
 
+      ac_cv_path_EGREP="$ac_path_EGREP"
5875
 
+      ac_path_EGREP_max=$ac_count
5876
 
+    fi
5877
 
+    # 10*(2^10) chars as input seems more than enough
5878
 
+    test $ac_count -gt 10 && break
5879
 
+  done
5880
 
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5881
 
+esac
5882
 
+
5883
 
+      $ac_path_EGREP_found && break 3
5884
 
+    done
5885
 
+  done
5886
 
+  done
5887
 
+IFS=$as_save_IFS
5888
 
+  if test -z "$ac_cv_path_EGREP"; then
5889
 
+    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5890
 
+  fi
5891
 
+else
5892
 
+  ac_cv_path_EGREP=$EGREP
5893
 
+fi
5894
 
+
5895
 
+   fi
5896
 
+fi
5897
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5898
 
+$as_echo "$ac_cv_path_EGREP" >&6; }
5899
 
+ EGREP="$ac_cv_path_EGREP"
5900
 
5901
 
+
5902
 
+if test $ac_cv_c_compiler_gnu = yes; then
5903
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
5904
 
+$as_echo_n "checking whether $CC needs -traditional... " >&6; }
5905
 
+if ${ac_cv_prog_gcc_traditional+:} false; then :
5906
 
+  $as_echo_n "(cached) " >&6
5907
 
+else
5908
 
+    ac_pattern="Autoconf.*'x'"
5909
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5910
 
+/* end confdefs.h.  */
5911
 
+#include <sgtty.h>
5912
 
+Autoconf TIOCGETP
5913
 
+_ACEOF
5914
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5915
 
+  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5916
 
+  ac_cv_prog_gcc_traditional=yes
5917
 
+else
5918
 
+  ac_cv_prog_gcc_traditional=no
5919
 
+fi
5920
 
+rm -f conftest*
5921
 
+
5922
 
+
5923
 
+  if test $ac_cv_prog_gcc_traditional = no; then
5924
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5925
 
+/* end confdefs.h.  */
5926
 
+#include <termio.h>
5927
 
+Autoconf TCGETA
5928
 
+_ACEOF
5929
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5930
 
+  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5931
 
+  ac_cv_prog_gcc_traditional=yes
5932
 
+fi
5933
 
+rm -f conftest*
5934
 
+
5935
 
+  fi
5936
 
+fi
5937
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
5938
 
+$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
5939
 
+  if test $ac_cv_prog_gcc_traditional = yes; then
5940
 
+    CC="$CC -traditional"
5941
 
+  fi
5942
 
+fi
5943
 
+
5944
 
+if test -n "$ac_tool_prefix"; then
5945
 
+  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5946
 
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5947
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5948
 
+$as_echo_n "checking for $ac_word... " >&6; }
5949
 
+if ${ac_cv_prog_RANLIB+:} false; then :
5950
 
+  $as_echo_n "(cached) " >&6
5951
 
+else
5952
 
+  if test -n "$RANLIB"; then
5953
 
+  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5954
 
+else
5955
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956
 
+for as_dir in $PATH
5957
 
+do
5958
 
+  IFS=$as_save_IFS
5959
 
+  test -z "$as_dir" && as_dir=.
5960
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
5961
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5962
 
+    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5963
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5964
 
+    break 2
5965
 
+  fi
5966
 
+done
5967
 
+  done
5968
 
+IFS=$as_save_IFS
5969
 
+
5970
 
+fi
5971
 
+fi
5972
 
+RANLIB=$ac_cv_prog_RANLIB
5973
 
+if test -n "$RANLIB"; then
5974
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5975
 
+$as_echo "$RANLIB" >&6; }
5976
 
+else
5977
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5978
 
+$as_echo "no" >&6; }
5979
 
+fi
5980
 
+
5981
 
+
5982
 
+fi
5983
 
+if test -z "$ac_cv_prog_RANLIB"; then
5984
 
+  ac_ct_RANLIB=$RANLIB
5985
 
+  # Extract the first word of "ranlib", so it can be a program name with args.
5986
 
+set dummy ranlib; ac_word=$2
5987
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5988
 
+$as_echo_n "checking for $ac_word... " >&6; }
5989
 
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5990
 
+  $as_echo_n "(cached) " >&6
5991
 
+else
5992
 
+  if test -n "$ac_ct_RANLIB"; then
5993
 
+  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5994
 
+else
5995
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5996
 
+for as_dir in $PATH
5997
 
+do
5998
 
+  IFS=$as_save_IFS
5999
 
+  test -z "$as_dir" && as_dir=.
6000
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
6001
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6002
 
+    ac_cv_prog_ac_ct_RANLIB="ranlib"
6003
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6004
 
+    break 2
6005
 
+  fi
6006
 
+done
6007
 
+  done
6008
 
+IFS=$as_save_IFS
6009
 
+
6010
 
+fi
6011
 
+fi
6012
 
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6013
 
+if test -n "$ac_ct_RANLIB"; then
6014
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6015
 
+$as_echo "$ac_ct_RANLIB" >&6; }
6016
 
+else
6017
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6018
 
+$as_echo "no" >&6; }
6019
 
+fi
6020
 
+
6021
 
+  if test "x$ac_ct_RANLIB" = x; then
6022
 
+    RANLIB=":"
6023
 
+  else
6024
 
+    case $cross_compiling:$ac_tool_warned in
6025
 
+yes:)
6026
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6027
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6028
 
+ac_tool_warned=yes ;;
6029
 
+esac
6030
 
+    RANLIB=$ac_ct_RANLIB
6031
 
+  fi
6032
 
+else
6033
 
+  RANLIB="$ac_cv_prog_RANLIB"
6034
 
+fi
6035
 
+
6036
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6037
 
+$as_echo_n "checking whether ln -s works... " >&6; }
6038
 
+LN_S=$as_ln_s
6039
 
+if test "$LN_S" = "ln -s"; then
6040
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6041
 
+$as_echo "yes" >&6; }
6042
 
+else
6043
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6044
 
+$as_echo "no, using $LN_S" >&6; }
6045
 
+fi
6046
 
+
6047
 
+
6048
 
+          
6049
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5
6050
 
+$as_echo_n "checking for Minix Amsterdam compiler... " >&6; }
6051
 
+if ${gl_cv_c_amsterdam_compiler+:} false; then :
6052
 
+  $as_echo_n "(cached) " >&6
6053
 
+else
6054
 
+  
6055
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6056
 
+/* end confdefs.h.  */
6057
 
+
6058
 
+#ifdef __ACK__
6059
 
+Amsterdam
6060
 
+#endif
6061
 
+        
6062
 
+_ACEOF
6063
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6064
 
+  $EGREP "Amsterdam" >/dev/null 2>&1; then :
6065
 
+  gl_cv_c_amsterdam_compiler=yes
6066
 
+else
6067
 
+  gl_cv_c_amsterdam_compiler=no
6068
 
+fi
6069
 
+rm -f conftest*
6070
 
+
6071
 
+    
6072
 
+fi
6073
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5
6074
 
+$as_echo "$gl_cv_c_amsterdam_compiler" >&6; }
6075
 
+  if test -z "$AR"; then
6076
 
+    if test $gl_cv_c_amsterdam_compiler = yes; then
6077
 
+      AR='cc -c.a'
6078
 
+      if test -z "$ARFLAGS"; then
6079
 
+        ARFLAGS='-o'
6080
 
+      fi
6081
 
+    else
6082
 
+                  if test -n "$ac_tool_prefix"; then
6083
 
+  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6084
 
+set dummy ${ac_tool_prefix}ar; ac_word=$2
6085
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6086
 
+$as_echo_n "checking for $ac_word... " >&6; }
6087
 
+if ${ac_cv_prog_AR+:} false; then :
6088
 
+  $as_echo_n "(cached) " >&6
6089
 
+else
6090
 
+  if test -n "$AR"; then
6091
 
+  ac_cv_prog_AR="$AR" # Let the user override the test.
6092
 
+else
6093
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6094
 
+for as_dir in $PATH
6095
 
+do
6096
 
+  IFS=$as_save_IFS
6097
 
+  test -z "$as_dir" && as_dir=.
6098
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
6099
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6100
 
+    ac_cv_prog_AR="${ac_tool_prefix}ar"
6101
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6102
 
+    break 2
6103
 
+  fi
6104
 
+done
6105
 
+  done
6106
 
+IFS=$as_save_IFS
6107
 
+
6108
 
+fi
6109
 
+fi
6110
 
+AR=$ac_cv_prog_AR
6111
 
+if test -n "$AR"; then
6112
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6113
 
+$as_echo "$AR" >&6; }
6114
 
+else
6115
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116
 
+$as_echo "no" >&6; }
6117
 
+fi
6118
 
+
6119
 
+
6120
 
+fi
6121
 
+if test -z "$ac_cv_prog_AR"; then
6122
 
+  ac_ct_AR=$AR
6123
 
+  # Extract the first word of "ar", so it can be a program name with args.
6124
 
+set dummy ar; ac_word=$2
6125
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126
 
+$as_echo_n "checking for $ac_word... " >&6; }
6127
 
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
6128
 
+  $as_echo_n "(cached) " >&6
6129
 
+else
6130
 
+  if test -n "$ac_ct_AR"; then
6131
 
+  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6132
 
+else
6133
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134
 
+for as_dir in $PATH
6135
 
+do
6136
 
+  IFS=$as_save_IFS
6137
 
+  test -z "$as_dir" && as_dir=.
6138
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
6139
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6140
 
+    ac_cv_prog_ac_ct_AR="ar"
6141
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6142
 
+    break 2
6143
 
+  fi
6144
 
+done
6145
 
+  done
6146
 
+IFS=$as_save_IFS
6147
 
+
6148
 
+fi
6149
 
+fi
6150
 
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
6151
 
+if test -n "$ac_ct_AR"; then
6152
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6153
 
+$as_echo "$ac_ct_AR" >&6; }
6154
 
+else
6155
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156
 
+$as_echo "no" >&6; }
6157
 
+fi
6158
 
+
6159
 
+  if test "x$ac_ct_AR" = x; then
6160
 
+    AR="ar"
6161
 
+  else
6162
 
+    case $cross_compiling:$ac_tool_warned in
6163
 
+yes:)
6164
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6165
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6166
 
+ac_tool_warned=yes ;;
6167
 
+esac
6168
 
+    AR=$ac_ct_AR
6169
 
+  fi
6170
 
+else
6171
 
+  AR="$ac_cv_prog_AR"
6172
 
+fi
6173
 
+
6174
 
+      if test -z "$ARFLAGS"; then
6175
 
+        ARFLAGS='cru'
6176
 
+      fi
6177
 
+    fi
6178
 
+  else
6179
 
+    if test -z "$ARFLAGS"; then
6180
 
+      ARFLAGS='cru'
6181
 
+    fi
6182
 
+  fi
6183
 
+  
6184
 
+  
6185
 
+  if test -z "$RANLIB"; then
6186
 
+    if test $gl_cv_c_amsterdam_compiler = yes; then
6187
 
+      RANLIB=':'
6188
 
+    else
6189
 
+            if test -n "$ac_tool_prefix"; then
6190
 
+  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6191
 
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6192
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6193
 
+$as_echo_n "checking for $ac_word... " >&6; }
6194
 
+if ${ac_cv_prog_RANLIB+:} false; then :
6195
 
+  $as_echo_n "(cached) " >&6
6196
 
+else
6197
 
+  if test -n "$RANLIB"; then
6198
 
+  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6199
 
+else
6200
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201
 
+for as_dir in $PATH
6202
 
+do
6203
 
+  IFS=$as_save_IFS
6204
 
+  test -z "$as_dir" && as_dir=.
6205
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
6206
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6207
 
+    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6208
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6209
 
+    break 2
6210
 
+  fi
6211
 
+done
6212
 
+  done
6213
 
+IFS=$as_save_IFS
6214
 
+
6215
 
+fi
6216
 
+fi
6217
 
+RANLIB=$ac_cv_prog_RANLIB
6218
 
+if test -n "$RANLIB"; then
6219
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6220
 
+$as_echo "$RANLIB" >&6; }
6221
 
+else
6222
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6223
 
+$as_echo "no" >&6; }
6224
 
+fi
6225
 
+
6226
 
+
6227
 
+fi
6228
 
+if test -z "$ac_cv_prog_RANLIB"; then
6229
 
+  ac_ct_RANLIB=$RANLIB
6230
 
+  # Extract the first word of "ranlib", so it can be a program name with args.
6231
 
+set dummy ranlib; ac_word=$2
6232
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6233
 
+$as_echo_n "checking for $ac_word... " >&6; }
6234
 
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6235
 
+  $as_echo_n "(cached) " >&6
6236
 
+else
6237
 
+  if test -n "$ac_ct_RANLIB"; then
6238
 
+  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6239
 
+else
6240
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6241
 
+for as_dir in $PATH
6242
 
+do
6243
 
+  IFS=$as_save_IFS
6244
 
+  test -z "$as_dir" && as_dir=.
6245
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
6246
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6247
 
+    ac_cv_prog_ac_ct_RANLIB="ranlib"
6248
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6249
 
+    break 2
6250
 
+  fi
6251
 
+done
6252
 
+  done
6253
 
+IFS=$as_save_IFS
6254
 
+
6255
 
+fi
6256
 
+fi
6257
 
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6258
 
+if test -n "$ac_ct_RANLIB"; then
6259
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6260
 
+$as_echo "$ac_ct_RANLIB" >&6; }
6261
 
+else
6262
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6263
 
+$as_echo "no" >&6; }
6264
 
+fi
6265
 
+
6266
 
+  if test "x$ac_ct_RANLIB" = x; then
6267
 
+    RANLIB=":"
6268
 
+  else
6269
 
+    case $cross_compiling:$ac_tool_warned in
6270
 
+yes:)
6271
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6272
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6273
 
+ac_tool_warned=yes ;;
6274
 
+esac
6275
 
+    RANLIB=$ac_ct_RANLIB
6276
 
+  fi
6277
 
+else
6278
 
+  RANLIB="$ac_cv_prog_RANLIB"
6279
 
+fi
6280
 
+
6281
 
+    fi
6282
 
+  fi
6283
 
+  
6284
 
+
6285
 
+# Make sure we can run config.sub.
6286
 
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6287
 
+  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6288
 
+
6289
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6290
 
+$as_echo_n "checking build system type... " >&6; }
6291
 
+if ${ac_cv_build+:} false; then :
6292
 
+  $as_echo_n "(cached) " >&6
6293
 
+else
6294
 
+  ac_build_alias=$build_alias
6295
 
+test "x$ac_build_alias" = x &&
6296
 
+  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6297
 
+test "x$ac_build_alias" = x &&
6298
 
+  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6299
 
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6300
 
+  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6301
 
+
6302
 
+fi
6303
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6304
 
+$as_echo "$ac_cv_build" >&6; }
6305
 
+case $ac_cv_build in
6306
 
+*-*-*) ;;
6307
 
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6308
 
+esac
6309
 
+build=$ac_cv_build
6310
 
+ac_save_IFS=$IFS; IFS='-'
6311
 
+set x $ac_cv_build
6312
 
+shift
6313
 
+build_cpu=$1
6314
 
+build_vendor=$2
6315
 
+shift; shift
6316
 
+# Remember, the first character of IFS is used to create $*,
6317
 
+# except with old shells:
6318
 
+build_os=$*
6319
 
+IFS=$ac_save_IFS
6320
 
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6321
 
+
6322
 
+
6323
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6324
 
+$as_echo_n "checking host system type... " >&6; }
6325
 
+if ${ac_cv_host+:} false; then :
6326
 
+  $as_echo_n "(cached) " >&6
6327
 
+else
6328
 
+  if test "x$host_alias" = x; then
6329
 
+  ac_cv_host=$ac_cv_build
6330
 
+else
6331
 
+  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6332
 
+    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6333
 
+fi
6334
 
+
6335
 
+fi
6336
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6337
 
+$as_echo "$ac_cv_host" >&6; }
6338
 
+case $ac_cv_host in
6339
 
+*-*-*) ;;
6340
 
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6341
 
+esac
6342
 
+host=$ac_cv_host
6343
 
+ac_save_IFS=$IFS; IFS='-'
6344
 
+set x $ac_cv_host
6345
 
+shift
6346
 
+host_cpu=$1
6347
 
+host_vendor=$2
6348
 
+shift; shift
6349
 
+# Remember, the first character of IFS is used to create $*,
6350
 
+# except with old shells:
6351
 
+host_os=$*
6352
 
+IFS=$ac_save_IFS
6353
 
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6354
 
+
6355
 
+
6356
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6357
 
+$as_echo_n "checking for ANSI C header files... " >&6; }
6358
 
+if ${ac_cv_header_stdc+:} false; then :
6359
 
+  $as_echo_n "(cached) " >&6
6360
 
+else
6361
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6362
 
+/* end confdefs.h.  */
6363
 
+#include <stdlib.h>
6364
 
+#include <stdarg.h>
6365
 
+#include <string.h>
6366
 
+#include <float.h>
6367
 
+
6368
 
+int
6369
 
+main ()
6370
 
+{
6371
 
+
6372
 
+  ;
6373
 
+  return 0;
6374
 
+}
6375
 
+_ACEOF
6376
 
+if ac_fn_c_try_compile "$LINENO"; then :
6377
 
+  ac_cv_header_stdc=yes
6378
 
+else
6379
 
+  ac_cv_header_stdc=no
6380
 
+fi
6381
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6382
 
+
6383
 
+if test $ac_cv_header_stdc = yes; then
6384
 
+  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6385
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6386
 
+/* end confdefs.h.  */
6387
 
+#include <string.h>
6388
 
+
6389
 
+_ACEOF
6390
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6391
 
+  $EGREP "memchr" >/dev/null 2>&1; then :
6392
 
+  
6393
 
+else
6394
 
+  ac_cv_header_stdc=no
6395
 
+fi
6396
 
+rm -f conftest*
6397
 
+
6398
 
+fi
6399
 
+
6400
 
+if test $ac_cv_header_stdc = yes; then
6401
 
+  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6402
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6403
 
+/* end confdefs.h.  */
6404
 
+#include <stdlib.h>
6405
 
+
6406
 
+_ACEOF
6407
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6408
 
+  $EGREP "free" >/dev/null 2>&1; then :
6409
 
+  
6410
 
+else
6411
 
+  ac_cv_header_stdc=no
6412
 
+fi
6413
 
+rm -f conftest*
6414
 
+
6415
 
+fi
6416
 
+
6417
 
+if test $ac_cv_header_stdc = yes; then
6418
 
+  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6419
 
+  if test "$cross_compiling" = yes; then :
6420
 
+  :
6421
 
+else
6422
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6423
 
+/* end confdefs.h.  */
6424
 
+#include <ctype.h>
6425
 
+#include <stdlib.h>
6426
 
+#if ((' ' & 0x0FF) == 0x020)
6427
 
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6428
 
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6429
 
+#else
6430
 
+# define ISLOWER(c) \
6431
 
+                  (('a' <= (c) && (c) <= 'i') \
6432
 
+                    || ('j' <= (c) && (c) <= 'r') \
6433
 
+                    || ('s' <= (c) && (c) <= 'z'))
6434
 
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6435
 
+#endif
6436
 
+
6437
 
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6438
 
+int
6439
 
+main ()
6440
 
+{
6441
 
+  int i;
6442
 
+  for (i = 0; i < 256; i++)
6443
 
+    if (XOR (islower (i), ISLOWER (i))
6444
 
+       || toupper (i) != TOUPPER (i))
6445
 
+      return 2;
6446
 
+  return 0;
6447
 
+}
6448
 
+_ACEOF
6449
 
+if ac_fn_c_try_run "$LINENO"; then :
6450
 
+  
6451
 
+else
6452
 
+  ac_cv_header_stdc=no
6453
 
+fi
6454
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6455
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
6456
 
+fi
6457
 
+
6458
 
+fi
6459
 
+fi
6460
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6461
 
+$as_echo "$ac_cv_header_stdc" >&6; }
6462
 
+if test $ac_cv_header_stdc = yes; then
6463
 
+  
6464
 
+$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
6465
 
+
6466
 
+fi
6467
 
+
6468
 
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6469
 
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6470
 
+                 inttypes.h stdint.h unistd.h
6471
 
+do :
6472
 
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6473
 
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6474
 
+"
6475
 
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6476
 
+  cat >>confdefs.h <<_ACEOF
6477
 
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6478
 
+_ACEOF
6479
 
6480
 
+fi
6481
 
+
6482
 
+done
6483
 
+
6484
 
+
6485
 
+
6486
 
+  
6487
 
+
6488
 
+  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
6489
 
+if test "x$ac_cv_header_minix_config_h" = xyes; then :
6490
 
+  MINIX=yes
6491
 
+else
6492
 
+  MINIX=
6493
 
+fi
6494
 
+
6495
 
+
6496
 
+  if test "$MINIX" = yes; then
6497
 
+    
6498
 
+$as_echo "@%:@define _POSIX_SOURCE 1" >>confdefs.h
6499
 
+
6500
 
+    
6501
 
+$as_echo "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h
6502
 
+
6503
 
+    
6504
 
+$as_echo "@%:@define _MINIX 1" >>confdefs.h
6505
 
+
6506
 
+  fi
6507
 
+
6508
 
+        case "$host_os" in
6509
 
+    hpux*)
6510
 
+      
6511
 
+$as_echo "@%:@define _XOPEN_SOURCE 500" >>confdefs.h
6512
 
+
6513
 
+      ;;
6514
 
+  esac
6515
 
+
6516
 
+  
6517
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
6518
 
+$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
6519
 
+if ${ac_cv_safe_to_define___extensions__+:} false; then :
6520
 
+  $as_echo_n "(cached) " >&6
6521
 
+else
6522
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6523
 
+/* end confdefs.h.  */
6524
 
+
6525
 
+#         define __EXTENSIONS__ 1
6526
 
+          $ac_includes_default
6527
 
+int
6528
 
+main ()
6529
 
+{
6530
 
+
6531
 
+  ;
6532
 
+  return 0;
6533
 
+}
6534
 
+_ACEOF
6535
 
+if ac_fn_c_try_compile "$LINENO"; then :
6536
 
+  ac_cv_safe_to_define___extensions__=yes
6537
 
+else
6538
 
+  ac_cv_safe_to_define___extensions__=no
6539
 
+fi
6540
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6541
 
+fi
6542
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
6543
 
+$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
6544
 
+  test $ac_cv_safe_to_define___extensions__ = yes &&
6545
 
+    $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h
6546
 
+
6547
 
+  $as_echo "@%:@define _ALL_SOURCE 1" >>confdefs.h
6548
 
+
6549
 
+  $as_echo "@%:@define _DARWIN_C_SOURCE 1" >>confdefs.h
6550
 
+
6551
 
+  $as_echo "@%:@define _GNU_SOURCE 1" >>confdefs.h
6552
 
+
6553
 
+  $as_echo "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
6554
 
+
6555
 
+  $as_echo "@%:@define _TANDEM_SOURCE 1" >>confdefs.h
6556
 
+
6557
 
+
6558
 
+
6559
 
+
6560
 
+              
6561
 
+
6562
 
+  
6563
 
+
6564
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
6565
 
+$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
6566
 
+if ${ac_cv_sys_largefile_source+:} false; then :
6567
 
+  $as_echo_n "(cached) " >&6
6568
 
+else
6569
 
+  while :; do
6570
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6571
 
+/* end confdefs.h.  */
6572
 
+#include <sys/types.h> /* for off_t */
6573
 
+     #include <stdio.h>
6574
 
+int
6575
 
+main ()
6576
 
+{
6577
 
+int (*fp) (FILE *, off_t, int) = fseeko;
6578
 
+     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
6579
 
+  ;
6580
 
+  return 0;
6581
 
+}
6582
 
+_ACEOF
6583
 
+if ac_fn_c_try_link "$LINENO"; then :
6584
 
+  ac_cv_sys_largefile_source=no; break
6585
 
+fi
6586
 
+rm -f core conftest.err conftest.$ac_objext \
6587
 
+    conftest$ac_exeext conftest.$ac_ext
6588
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6589
 
+/* end confdefs.h.  */
6590
 
+@%:@define _LARGEFILE_SOURCE 1
6591
 
+#include <sys/types.h> /* for off_t */
6592
 
+     #include <stdio.h>
6593
 
+int
6594
 
+main ()
6595
 
+{
6596
 
+int (*fp) (FILE *, off_t, int) = fseeko;
6597
 
+     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
6598
 
+  ;
6599
 
+  return 0;
6600
 
+}
6601
 
+_ACEOF
6602
 
+if ac_fn_c_try_link "$LINENO"; then :
6603
 
+  ac_cv_sys_largefile_source=1; break
6604
 
+fi
6605
 
+rm -f core conftest.err conftest.$ac_objext \
6606
 
+    conftest$ac_exeext conftest.$ac_ext
6607
 
+  ac_cv_sys_largefile_source=unknown
6608
 
+  break
6609
 
+done
6610
 
+fi
6611
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
6612
 
+$as_echo "$ac_cv_sys_largefile_source" >&6; }
6613
 
+case $ac_cv_sys_largefile_source in #(
6614
 
+  no | unknown) ;;
6615
 
+  *) 
6616
 
+cat >>confdefs.h <<_ACEOF
6617
 
+@%:@define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
6618
 
+_ACEOF
6619
 
+;;
6620
 
+esac
6621
 
+rm -rf conftest*
6622
 
+
6623
 
+# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
6624
 
+# in glibc 2.1.3, but that breaks too many other things.
6625
 
+# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
6626
 
+if test $ac_cv_sys_largefile_source != unknown; then
6627
 
+  
6628
 
+$as_echo "@%:@define HAVE_FSEEKO 1" >>confdefs.h
6629
 
+
6630
 
+fi
6631
 
+
6632
 
+
6633
 
+  
6634
 
+  
6635
 
+  # IEEE behaviour is the default on all CPUs except Alpha and SH
6636
 
+  # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4
6637
 
+  # and the GCC 4.1.2 manual).
6638
 
+  case "$host_cpu" in
6639
 
+    alpha*)
6640
 
+      # On Alpha systems, a compiler option provides the behaviour.
6641
 
+      # See the ieee(3) manual page, also available at
6642
 
+      # <http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN3/0600____.HTM>
6643
 
+      if test -n "$GCC"; then
6644
 
+        # GCC has the option -mieee.
6645
 
+        CPPFLAGS="$CPPFLAGS -mieee"
6646
 
+      else
6647
 
+        # Compaq (ex-DEC) C has the option -ieee.
6648
 
+        CPPFLAGS="$CPPFLAGS -ieee"
6649
 
+      fi
6650
 
+      ;;
6651
 
+    sh*)
6652
 
+      if test -n "$GCC"; then
6653
 
+        # GCC has the option -mieee.
6654
 
+        CPPFLAGS="$CPPFLAGS -mieee"
6655
 
+      fi
6656
 
+      ;;
6657
 
+  esac
6658
 
+
6659
 
+@%:@ Check whether --enable-largefile was given.
6660
 
+if test "${enable_largefile+set}" = set; then :
6661
 
+  enableval=$enable_largefile; 
6662
 
+fi
6663
 
+
6664
 
+if test "$enable_largefile" != no; then
6665
 
+
6666
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6667
 
+$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6668
 
+if ${ac_cv_sys_largefile_CC+:} false; then :
6669
 
+  $as_echo_n "(cached) " >&6
6670
 
+else
6671
 
+  ac_cv_sys_largefile_CC=no
6672
 
+     if test "$GCC" != yes; then
6673
 
+       ac_save_CC=$CC
6674
 
+       while :; do
6675
 
+         # IRIX 6.2 and later do not support large files by default,
6676
 
+         # so use the C compiler's -n32 option if that helps.
6677
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6678
 
+/* end confdefs.h.  */
6679
 
+@%:@include <sys/types.h>
6680
 
+ /* Check that off_t can represent 2**63 - 1 correctly.
6681
 
+    We can't simply define LARGE_OFF_T to be 9223372036854775807,
6682
 
+    since some C++ compilers masquerading as C compilers
6683
 
+    incorrectly reject 9223372036854775807.  */
6684
 
+@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6685
 
+  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6686
 
+                       && LARGE_OFF_T % 2147483647 == 1)
6687
 
+                      ? 1 : -1];
6688
 
+int
6689
 
+main ()
6690
 
+{
6691
 
+
6692
 
+  ;
6693
 
+  return 0;
6694
 
+}
6695
 
+_ACEOF
6696
 
+         if ac_fn_c_try_compile "$LINENO"; then :
6697
 
+  break
6698
 
+fi
6699
 
+rm -f core conftest.err conftest.$ac_objext
6700
 
+         CC="$CC -n32"
6701
 
+         if ac_fn_c_try_compile "$LINENO"; then :
6702
 
+  ac_cv_sys_largefile_CC=' -n32'; break
6703
 
+fi
6704
 
+rm -f core conftest.err conftest.$ac_objext
6705
 
+         break
6706
 
+       done
6707
 
+       CC=$ac_save_CC
6708
 
+       rm -f conftest.$ac_ext
6709
 
+    fi
6710
 
+fi
6711
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6712
 
+$as_echo "$ac_cv_sys_largefile_CC" >&6; }
6713
 
+  if test "$ac_cv_sys_largefile_CC" != no; then
6714
 
+    CC=$CC$ac_cv_sys_largefile_CC
6715
 
+  fi
6716
 
+
6717
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6718
 
+$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6719
 
+if ${ac_cv_sys_file_offset_bits+:} false; then :
6720
 
+  $as_echo_n "(cached) " >&6
6721
 
+else
6722
 
+  while :; do
6723
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6724
 
+/* end confdefs.h.  */
6725
 
+@%:@include <sys/types.h>
6726
 
+ /* Check that off_t can represent 2**63 - 1 correctly.
6727
 
+    We can't simply define LARGE_OFF_T to be 9223372036854775807,
6728
 
+    since some C++ compilers masquerading as C compilers
6729
 
+    incorrectly reject 9223372036854775807.  */
6730
 
+@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6731
 
+  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6732
 
+                       && LARGE_OFF_T % 2147483647 == 1)
6733
 
+                      ? 1 : -1];
6734
 
+int
6735
 
+main ()
6736
 
+{
6737
 
+
6738
 
+  ;
6739
 
+  return 0;
6740
 
+}
6741
 
+_ACEOF
6742
 
+if ac_fn_c_try_compile "$LINENO"; then :
6743
 
+  ac_cv_sys_file_offset_bits=no; break
6744
 
+fi
6745
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6746
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6747
 
+/* end confdefs.h.  */
6748
 
+@%:@define _FILE_OFFSET_BITS 64
6749
 
+@%:@include <sys/types.h>
6750
 
+ /* Check that off_t can represent 2**63 - 1 correctly.
6751
 
+    We can't simply define LARGE_OFF_T to be 9223372036854775807,
6752
 
+    since some C++ compilers masquerading as C compilers
6753
 
+    incorrectly reject 9223372036854775807.  */
6754
 
+@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6755
 
+  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6756
 
+                       && LARGE_OFF_T % 2147483647 == 1)
6757
 
+                      ? 1 : -1];
6758
 
+int
6759
 
+main ()
6760
 
+{
6761
 
+
6762
 
+  ;
6763
 
+  return 0;
6764
 
+}
6765
 
+_ACEOF
6766
 
+if ac_fn_c_try_compile "$LINENO"; then :
6767
 
+  ac_cv_sys_file_offset_bits=64; break
6768
 
+fi
6769
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6770
 
+  ac_cv_sys_file_offset_bits=unknown
6771
 
+  break
6772
 
+done
6773
 
+fi
6774
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6775
 
+$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6776
 
+case $ac_cv_sys_file_offset_bits in #(
6777
 
+  no | unknown) ;;
6778
 
+  *) 
6779
 
+cat >>confdefs.h <<_ACEOF
6780
 
+@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6781
 
+_ACEOF
6782
 
+;;
6783
 
+esac
6784
 
+rm -rf conftest*
6785
 
+  if test $ac_cv_sys_file_offset_bits = unknown; then
6786
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6787
 
+$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6788
 
+if ${ac_cv_sys_large_files+:} false; then :
6789
 
+  $as_echo_n "(cached) " >&6
6790
 
+else
6791
 
+  while :; do
6792
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6793
 
+/* end confdefs.h.  */
6794
 
+@%:@include <sys/types.h>
6795
 
+ /* Check that off_t can represent 2**63 - 1 correctly.
6796
 
+    We can't simply define LARGE_OFF_T to be 9223372036854775807,
6797
 
+    since some C++ compilers masquerading as C compilers
6798
 
+    incorrectly reject 9223372036854775807.  */
6799
 
+@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6800
 
+  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6801
 
+                       && LARGE_OFF_T % 2147483647 == 1)
6802
 
+                      ? 1 : -1];
6803
 
+int
6804
 
+main ()
6805
 
+{
6806
 
+
6807
 
+  ;
6808
 
+  return 0;
6809
 
+}
6810
 
+_ACEOF
6811
 
+if ac_fn_c_try_compile "$LINENO"; then :
6812
 
+  ac_cv_sys_large_files=no; break
6813
 
+fi
6814
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6815
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6816
 
+/* end confdefs.h.  */
6817
 
+@%:@define _LARGE_FILES 1
6818
 
+@%:@include <sys/types.h>
6819
 
+ /* Check that off_t can represent 2**63 - 1 correctly.
6820
 
+    We can't simply define LARGE_OFF_T to be 9223372036854775807,
6821
 
+    since some C++ compilers masquerading as C compilers
6822
 
+    incorrectly reject 9223372036854775807.  */
6823
 
+@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6824
 
+  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6825
 
+                       && LARGE_OFF_T % 2147483647 == 1)
6826
 
+                      ? 1 : -1];
6827
 
+int
6828
 
+main ()
6829
 
+{
6830
 
+
6831
 
+  ;
6832
 
+  return 0;
6833
 
+}
6834
 
+_ACEOF
6835
 
+if ac_fn_c_try_compile "$LINENO"; then :
6836
 
+  ac_cv_sys_large_files=1; break
6837
 
+fi
6838
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6839
 
+  ac_cv_sys_large_files=unknown
6840
 
+  break
6841
 
+done
6842
 
+fi
6843
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6844
 
+$as_echo "$ac_cv_sys_large_files" >&6; }
6845
 
+case $ac_cv_sys_large_files in #(
6846
 
+  no | unknown) ;;
6847
 
+  *) 
6848
 
+cat >>confdefs.h <<_ACEOF
6849
 
+@%:@define _LARGE_FILES $ac_cv_sys_large_files
6850
 
+_ACEOF
6851
 
+;;
6852
 
+esac
6853
 
+rm -rf conftest*
6854
 
+  fi
6855
 
+
6856
 
+  
6857
 
+fi
6858
 
+
6859
 
+
6860
 
+          
6861
 
+  
6862
 
+        
6863
 
+    
6864
 
+  @%:@ Check whether --enable-threads was given.
6865
 
+if test "${enable_threads+set}" = set; then :
6866
 
+  enableval=$enable_threads; gl_use_threads=$enableval
6867
 
+else
6868
 
+  if test -n "$gl_use_threads_default"; then
6869
 
+       gl_use_threads="$gl_use_threads_default"
6870
 
+     else
6871
 
+       case "$host_os" in
6872
 
+                                                               osf*) gl_use_threads=no ;;
6873
 
+         cygwin*)
6874
 
+               case `uname -r` in
6875
 
+                 1.[0-5].*) gl_use_threads=no ;;
6876
 
+                 *)         gl_use_threads=yes ;;
6877
 
+               esac
6878
 
+               ;;
6879
 
+         *)    gl_use_threads=yes ;;
6880
 
+       esac
6881
 
+     fi
6882
 
+    
6883
 
+fi
6884
 
+
6885
 
+  if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
6886
 
+    # For using <pthread.h>:
6887
 
+    case "$host_os" in
6888
 
+      osf*)
6889
 
+        # On OSF/1, the compiler needs the flag -D_REENTRANT so that it
6890
 
+        # groks <pthread.h>. cc also understands the flag -pthread, but
6891
 
+        # we don't use it because 1. gcc-2.95 doesn't understand -pthread,
6892
 
+        # 2. putting a flag into CPPFLAGS that has an effect on the linker
6893
 
+        # causes the AC_LINK_IFELSE test below to succeed unexpectedly,
6894
 
+        # leading to wrong values of LIBTHREAD and LTLIBTHREAD.
6895
 
+        CPPFLAGS="$CPPFLAGS -D_REENTRANT"
6896
 
+        ;;
6897
 
+    esac
6898
 
+    # Some systems optimize for single-threaded programs by default, and
6899
 
+    # need special flags to disable these optimizations. For example, the
6900
 
+    # definition of 'errno' in <errno.h>.
6901
 
+    case "$host_os" in
6902
 
+      aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
6903
 
+      solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
6904
 
+    esac
6905
 
+  fi
6906
 
+
6907
 
+
6908
 
+          
6909
 
+  
6910
 
+  # Code from module accept:
6911
 
+  # Code from module acl:
6912
 
+  # Code from module acl-tests:
6913
 
+  # Code from module alignof:
6914
 
+  # Code from module alignof-tests:
6915
 
+  # Code from module alloca:
6916
 
+  # Code from module alloca-opt:
6917
 
+  # Code from module alloca-opt-tests:
6918
 
+  # Code from module allocator:
6919
 
+  # Code from module announce-gen:
6920
 
+  # Code from module areadlink:
6921
 
+  # Code from module areadlink-tests:
6922
 
+  # Code from module areadlink-with-size:
6923
 
+  # Code from module areadlink-with-size-tests:
6924
 
+  # Code from module areadlinkat:
6925
 
+  # Code from module areadlinkat-tests:
6926
 
+  # Code from module argmatch:
6927
 
+  # Code from module argmatch-tests:
6928
 
+  # Code from module argv-iter:
6929
 
+  # Code from module argv-iter-tests:
6930
 
+  # Code from module arpa_inet:
6931
 
+  # Code from module arpa_inet-tests:
6932
 
+  # Code from module assert:
6933
 
+  # Code from module autobuild:
6934
 
+  
6935
 
+  
6936
 
+  
6937
 
+
6938
 
+  if test -z "$AB_PACKAGE"; then
6939
 
+    AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE}
6940
 
+  fi
6941
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild project... $AB_PACKAGE" >&5
6942
 
+$as_echo "$as_me: autobuild project... $AB_PACKAGE" >&6;}
6943
 
+
6944
 
+  if test -z "$AB_VERSION"; then
6945
 
+    AB_VERSION=${PACKAGE_VERSION:-$VERSION}
6946
 
+  fi
6947
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild revision... $AB_VERSION" >&5
6948
 
+$as_echo "$as_me: autobuild revision... $AB_VERSION" >&6;}
6949
 
+
6950
 
+  hostname=`hostname`
6951
 
+  if test "$hostname"; then
6952
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild hostname... $hostname" >&5
6953
 
+$as_echo "$as_me: autobuild hostname... $hostname" >&6;}
6954
 
+  fi
6955
 
+
6956
 
+  
6957
 
+
6958
 
+  date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ`
6959
 
+  if test "$?" != 0; then
6960
 
+    date=`date`
6961
 
+  fi
6962
 
+  if test "$date"; then
6963
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild timestamp... $date" >&5
6964
 
+$as_echo "$as_me: autobuild timestamp... $date" >&6;}
6965
 
+  fi
6966
 
+
6967
 
+  # Code from module backupfile:
6968
 
+  # Code from module base64:
6969
 
+  # Code from module base64-tests:
6970
 
+  # Code from module binary-io:
6971
 
+  # Code from module binary-io-tests:
6972
 
+  # Code from module bind:
6973
 
+  # Code from module bitrotate:
6974
 
+  # Code from module bitrotate-tests:
6975
 
+  # Code from module btowc:
6976
 
+  # Code from module btowc-tests:
6977
 
+  # Code from module c-ctype:
6978
 
+  # Code from module c-ctype-tests:
6979
 
+  # Code from module c-strcase:
6980
 
+  # Code from module c-strcase-tests:
6981
 
+  # Code from module c-strtod:
6982
 
+  # Code from module c-strtold:
6983
 
+  # Code from module calloc-gnu:
6984
 
+  # Code from module calloc-gnu-tests:
6985
 
+  # Code from module calloc-posix:
6986
 
+  # Code from module canon-host:
6987
 
+  # Code from module canonicalize:
6988
 
+  # Code from module canonicalize-tests:
6989
 
+  # Code from module careadlinkat:
6990
 
+  # Code from module chdir-long:
6991
 
+  # Code from module chown:
6992
 
+  # Code from module chown-tests:
6993
 
+  # Code from module clock-time:
6994
 
+  # Code from module cloexec:
6995
 
+  # Code from module cloexec-tests:
6996
 
+  # Code from module close:
6997
 
+  # Code from module close-stream:
6998
 
+  # Code from module closein:
6999
 
+  # Code from module closein-tests:
7000
 
+  # Code from module closeout:
7001
 
+  # Code from module config-h:
7002
 
+  # Code from module configmake:
7003
 
+  # Code from module connect:
7004
 
+  # Code from module crypto/md5:
7005
 
+  # Code from module crypto/md5-tests:
7006
 
+  # Code from module crypto/sha1:
7007
 
+  # Code from module crypto/sha1-tests:
7008
 
+  # Code from module crypto/sha256:
7009
 
+  # Code from module crypto/sha512:
7010
 
+  # Code from module ctype:
7011
 
+  # Code from module ctype-tests:
7012
 
+  # Code from module cycle-check:
7013
 
+  # Code from module d-ino:
7014
 
+  # Code from module d-type:
7015
 
+  # Code from module dev-ino:
7016
 
+  # Code from module di-set:
7017
 
+  # Code from module di-set-tests:
7018
 
+  # Code from module diacrit:
7019
 
+  # Code from module dirent:
7020
 
+  # Code from module dirent-safer:
7021
 
+  # Code from module dirent-safer-tests:
7022
 
+  # Code from module dirent-tests:
7023
 
+  # Code from module dirfd:
7024
 
+  # Code from module dirname:
7025
 
+  # Code from module dirname-lgpl:
7026
 
+  # Code from module dirname-tests:
7027
 
+  # Code from module do-release-commit-and-tag:
7028
 
+  # Code from module dosname:
7029
 
+  # Code from module double-slash-root:
7030
 
+  # Code from module dtoastr:
7031
 
+  # Code from module dtotimespec:
7032
 
+  # Code from module dup2:
7033
 
+  # Code from module dup2-tests:
7034
 
+  # Code from module environ:
7035
 
+  # Code from module environ-tests:
7036
 
+  # Code from module errno:
7037
 
+  # Code from module errno-tests:
7038
 
+  # Code from module error:
7039
 
+  # Code from module euidaccess:
7040
 
+  # Code from module exclude:
7041
 
+  # Code from module exclude-tests:
7042
 
+  # Code from module exitfail:
7043
 
+  # Code from module extensions:
7044
 
+  
7045
 
+  # Code from module faccessat:
7046
 
+  # Code from module fadvise:
7047
 
+  # Code from module fadvise-tests:
7048
 
+  # Code from module fchdir:
7049
 
+  # Code from module fchdir-tests:
7050
 
+  # Code from module fclose:
7051
 
+  # Code from module fclose-tests:
7052
 
+  # Code from module fcntl:
7053
 
+  # Code from module fcntl-h:
7054
 
+  # Code from module fcntl-h-tests:
7055
 
+  # Code from module fcntl-safer:
7056
 
+  # Code from module fcntl-safer-tests:
7057
 
+  # Code from module fcntl-tests:
7058
 
+  # Code from module fd-hook:
7059
 
+  # Code from module fd-safer-flag:
7060
 
+  # Code from module fdl:
7061
 
+  # Code from module fdopendir:
7062
 
+  # Code from module fdopendir-tests:
7063
 
+  # Code from module fdutimensat:
7064
 
+  # Code from module fdutimensat-tests:
7065
 
+  # Code from module fflush:
7066
 
+  
7067
 
+  # Code from module fflush-tests:
7068
 
+  # Code from module file-set:
7069
 
+  # Code from module file-type:
7070
 
+  # Code from module fileblocks:
7071
 
+  # Code from module filemode:
7072
 
+  # Code from module filenamecat:
7073
 
+  # Code from module filenamecat-lgpl:
7074
 
+  # Code from module filenamecat-tests:
7075
 
+  # Code from module filevercmp:
7076
 
+  # Code from module filevercmp-tests:
7077
 
+  # Code from module flexmember:
7078
 
+  # Code from module float:
7079
 
+  # Code from module float-tests:
7080
 
+  # Code from module fnmatch:
7081
 
+  # Code from module fnmatch-gnu:
7082
 
+  # Code from module fnmatch-tests:
7083
 
+  # Code from module fopen:
7084
 
+  # Code from module fopen-safer:
7085
 
+  # Code from module fopen-safer-tests:
7086
 
+  # Code from module fopen-tests:
7087
 
+  # Code from module fpending:
7088
 
+  # Code from module fpending-tests:
7089
 
+  # Code from module fpieee:
7090
 
+  
7091
 
+  # Code from module fprintftime:
7092
 
+  # Code from module fpucw:
7093
 
+  # Code from module fpurge:
7094
 
+  # Code from module fpurge-tests:
7095
 
+  # Code from module freadahead:
7096
 
+  # Code from module freadahead-tests:
7097
 
+  # Code from module freading:
7098
 
+  # Code from module freading-tests:
7099
 
+  # Code from module freadptr:
7100
 
+  # Code from module freadptr-tests:
7101
 
+  # Code from module freadseek:
7102
 
+  # Code from module freadseek-tests:
7103
 
+  # Code from module freopen:
7104
 
+  # Code from module freopen-safer:
7105
 
+  # Code from module freopen-safer-tests:
7106
 
+  # Code from module freopen-tests:
7107
 
+  # Code from module frexp-nolibm:
7108
 
+  # Code from module frexp-nolibm-tests:
7109
 
+  # Code from module frexpl-nolibm:
7110
 
+  # Code from module frexpl-nolibm-tests:
7111
 
+  # Code from module fseek:
7112
 
+  # Code from module fseek-tests:
7113
 
+  # Code from module fseeko:
7114
 
+  
7115
 
+  # Code from module fseeko-tests:
7116
 
+  # Code from module fseterr:
7117
 
+  # Code from module fseterr-tests:
7118
 
+  # Code from module fsusage:
7119
 
+  # Code from module fsync:
7120
 
+  # Code from module fsync-tests:
7121
 
+  # Code from module ftell:
7122
 
+  # Code from module ftell-tests:
7123
 
+  # Code from module ftello:
7124
 
+  
7125
 
+  # Code from module ftello-tests:
7126
 
+  # Code from module ftoastr:
7127
 
+  # Code from module fts:
7128
 
+  # Code from module full-read:
7129
 
+  # Code from module full-write:
7130
 
+  # Code from module futimens:
7131
 
+  # Code from module futimens-tests:
7132
 
+  # Code from module gendocs:
7133
 
+  # Code from module getaddrinfo:
7134
 
+  # Code from module getaddrinfo-tests:
7135
 
+  # Code from module getcwd:
7136
 
+  # Code from module getcwd-lgpl:
7137
 
+  # Code from module getcwd-lgpl-tests:
7138
 
+  # Code from module getcwd-tests:
7139
 
+  # Code from module getdelim:
7140
 
+  # Code from module getdelim-tests:
7141
 
+  # Code from module getdtablesize:
7142
 
+  # Code from module getdtablesize-tests:
7143
 
+  # Code from module getgroups:
7144
 
+  # Code from module getgroups-tests:
7145
 
+  # Code from module gethostname:
7146
 
+  # Code from module gethostname-tests:
7147
 
+  # Code from module gethrxtime:
7148
 
+  # Code from module getline:
7149
 
+  # Code from module getline-tests:
7150
 
+  # Code from module getloadavg:
7151
 
+  # Code from module getloadavg-tests:
7152
 
+  # Code from module getndelim2:
7153
 
+  # Code from module getndelim2-tests:
7154
 
+  # Code from module getopt-gnu:
7155
 
+  # Code from module getopt-posix:
7156
 
+  # Code from module getopt-posix-tests:
7157
 
+  # Code from module getpagesize:
7158
 
+  # Code from module getpass-gnu:
7159
 
+  # Code from module gettext:
7160
 
+  # Code from module gettext-h:
7161
 
+  # Code from module gettime:
7162
 
+  # Code from module gettimeofday:
7163
 
+  # Code from module gettimeofday-tests:
7164
 
+  # Code from module getugroups:
7165
 
+  # Code from module getusershell:
7166
 
+  # Code from module git-version-gen:
7167
 
+  # Code from module gitlog-to-changelog:
7168
 
+  # Code from module gnu-make:
7169
 
+  # Code from module gnu-web-doc-update:
7170
 
+  # Code from module gnumakefile:
7171
 
+  # Code from module gnupload:
7172
 
+  # Code from module gperf:
7173
 
+  # Code from module group-member:
7174
 
+  # Code from module hard-locale:
7175
 
+  # Code from module hash:
7176
 
+  # Code from module hash-pjw:
7177
 
+  # Code from module hash-tests:
7178
 
+  # Code from module hash-triple:
7179
 
+  # Code from module havelib:
7180
 
+  # Code from module heap:
7181
 
+  # Code from module host-os:
7182
 
+  # Code from module hostent:
7183
 
+  # Code from module human:
7184
 
+  # Code from module i-ring:
7185
 
+  # Code from module i-ring-tests:
7186
 
+  # Code from module iconv:
7187
 
+  # Code from module iconv-h:
7188
 
+  # Code from module iconv-h-tests:
7189
 
+  # Code from module iconv-tests:
7190
 
+  # Code from module iconv_open:
7191
 
+  # Code from module idcache:
7192
 
+  # Code from module ignore-value:
7193
 
+  # Code from module ignore-value-tests:
7194
 
+  # Code from module include_next:
7195
 
+  # Code from module inet_ntop:
7196
 
+  # Code from module inet_ntop-tests:
7197
 
+  # Code from module inet_pton:
7198
 
+  # Code from module inet_pton-tests:
7199
 
+  # Code from module inline:
7200
 
+  # Code from module ino-map:
7201
 
+  # Code from module ino-map-tests:
7202
 
+  # Code from module intprops:
7203
 
+  # Code from module intprops-tests:
7204
 
+  # Code from module inttostr:
7205
 
+  # Code from module inttostr-tests:
7206
 
+  # Code from module inttypes:
7207
 
+  # Code from module inttypes-incomplete:
7208
 
+  # Code from module inttypes-tests:
7209
 
+  # Code from module ioctl:
7210
 
+  # Code from module isapipe:
7211
 
+  # Code from module isblank:
7212
 
+  # Code from module isblank-tests:
7213
 
+  # Code from module isnand-nolibm:
7214
 
+  # Code from module isnand-nolibm-tests:
7215
 
+  # Code from module isnanf-nolibm:
7216
 
+  # Code from module isnanf-nolibm-tests:
7217
 
+  # Code from module isnanl-nolibm:
7218
 
+  # Code from module isnanl-nolibm-tests:
7219
 
+  # Code from module iswblank:
7220
 
+  # Code from module iswblank-tests:
7221
 
+  # Code from module langinfo:
7222
 
+  # Code from module langinfo-tests:
7223
 
+  # Code from module largefile:
7224
 
+  
7225
 
+  # Code from module lchmod:
7226
 
+  # Code from module lchown:
7227
 
+  # Code from module lchown-tests:
7228
 
+  # Code from module ldtoastr:
7229
 
+  # Code from module lib-ignore:
7230
 
+  # Code from module linebuffer:
7231
 
+  # Code from module link:
7232
 
+  # Code from module link-follow:
7233
 
+  # Code from module link-tests:
7234
 
+  # Code from module linkat:
7235
 
+  # Code from module linkat-tests:
7236
 
+  # Code from module listen:
7237
 
+  # Code from module localcharset:
7238
 
+  # Code from module locale:
7239
 
+  # Code from module locale-tests:
7240
 
+  # Code from module localename:
7241
 
+  # Code from module localename-tests:
7242
 
+  # Code from module lock:
7243
 
+  # Code from module lock-tests:
7244
 
+  # Code from module long-options:
7245
 
+  # Code from module lseek:
7246
 
+  # Code from module lseek-tests:
7247
 
+  # Code from module lstat:
7248
 
+  # Code from module lstat-tests:
7249
 
+  # Code from module maintainer-makefile:
7250
 
+  # Code from module malloc-gnu:
7251
 
+  # Code from module malloc-gnu-tests:
7252
 
+  # Code from module malloc-posix:
7253
 
+  # Code from module malloca:
7254
 
+  # Code from module malloca-tests:
7255
 
+  # Code from module manywarnings:
7256
 
+  # Code from module math:
7257
 
+  # Code from module math-tests:
7258
 
+  # Code from module mbchar:
7259
 
+  # Code from module mbiter:
7260
 
+  # Code from module mbrlen:
7261
 
+  # Code from module mbrtowc:
7262
 
+  # Code from module mbrtowc-tests:
7263
 
+  # Code from module mbsalign:
7264
 
+  # Code from module mbsalign-tests:
7265
 
+  # Code from module mbscasecmp:
7266
 
+  # Code from module mbscasecmp-tests:
7267
 
+  # Code from module mbsinit:
7268
 
+  # Code from module mbsinit-tests:
7269
 
+  # Code from module mbslen:
7270
 
+  # Code from module mbsrtowcs:
7271
 
+  # Code from module mbsrtowcs-tests:
7272
 
+  # Code from module mbsstr:
7273
 
+  # Code from module mbsstr-tests:
7274
 
+  # Code from module mbswidth:
7275
 
+  # Code from module mbtowc:
7276
 
+  # Code from module mbuiter:
7277
 
+  # Code from module memcasecmp:
7278
 
+  # Code from module memcasecmp-tests:
7279
 
+  # Code from module memchr:
7280
 
+  # Code from module memchr-tests:
7281
 
+  # Code from module memchr2:
7282
 
+  # Code from module memchr2-tests:
7283
 
+  # Code from module memcmp2:
7284
 
+  # Code from module memcoll:
7285
 
+  # Code from module memcoll-tests:
7286
 
+  # Code from module mempcpy:
7287
 
+  # Code from module memrchr:
7288
 
+  # Code from module memrchr-tests:
7289
 
+  # Code from module mgetgroups:
7290
 
+  # Code from module mkancesdirs:
7291
 
+  # Code from module mkdir:
7292
 
+  # Code from module mkdir-p:
7293
 
+  # Code from module mkdir-tests:
7294
 
+  # Code from module mkstemp:
7295
 
+  # Code from module mktime:
7296
 
+  # Code from module modechange:
7297
 
+  # Code from module mountlist:
7298
 
+  # Code from module mpsort:
7299
 
+  # Code from module multiarch:
7300
 
+  # Code from module nanosleep:
7301
 
+  # Code from module nanosleep-tests:
7302
 
+  # Code from module netdb:
7303
 
+  # Code from module netdb-tests:
7304
 
+  # Code from module netinet_in:
7305
 
+  # Code from module netinet_in-tests:
7306
 
+  # Code from module nl_langinfo:
7307
 
+  # Code from module nl_langinfo-tests:
7308
 
+  # Code from module nocrash:
7309
 
+  # Code from module nproc:
7310
 
+  # Code from module obstack:
7311
 
+  # Code from module open:
7312
 
+  # Code from module open-tests:
7313
 
+  # Code from module openat:
7314
 
+  # Code from module openat-die:
7315
 
+  # Code from module openat-safer:
7316
 
+  # Code from module openat-safer-tests:
7317
 
+  # Code from module openat-tests:
7318
 
+  # Code from module parse-datetime:
7319
 
+  # Code from module parse-datetime-tests:
7320
 
+  # Code from module pathmax:
7321
 
+  # Code from module pathmax-tests:
7322
 
+  # Code from module perl:
7323
 
+  # Code from module perror:
7324
 
+  # Code from module perror-tests:
7325
 
+  # Code from module physmem:
7326
 
+  # Code from module pipe-posix:
7327
 
+  # Code from module pipe-posix-tests:
7328
 
+  # Code from module posix-shell:
7329
 
+  # Code from module posixtm:
7330
 
+  # Code from module posixtm-tests:
7331
 
+  # Code from module posixver:
7332
 
+  # Code from module printf-frexp:
7333
 
+  # Code from module printf-frexp-tests:
7334
 
+  # Code from module printf-frexpl:
7335
 
+  # Code from module printf-frexpl-tests:
7336
 
+  # Code from module printf-safe:
7337
 
+  # Code from module priv-set:
7338
 
+  # Code from module priv-set-tests:
7339
 
+  # Code from module progname:
7340
 
+  # Code from module propername:
7341
 
+  # Code from module pthread:
7342
 
+  # Code from module putenv:
7343
 
+  # Code from module quote:
7344
 
+  # Code from module quotearg:
7345
 
+  # Code from module quotearg-simple:
7346
 
+  # Code from module quotearg-simple-tests:
7347
 
+  # Code from module randint:
7348
 
+  # Code from module randperm:
7349
 
+  # Code from module randread:
7350
 
+  # Code from module randread-tests:
7351
 
+  # Code from module read:
7352
 
+  # Code from module read-file:
7353
 
+  # Code from module read-file-tests:
7354
 
+  # Code from module readlink:
7355
 
+  # Code from module readlink-tests:
7356
 
+  # Code from module readlinkat:
7357
 
+  # Code from module readlinkat-tests:
7358
 
+  # Code from module readtokens:
7359
 
+  # Code from module readtokens0:
7360
 
+  # Code from module readutmp:
7361
 
+  # Code from module realloc-gnu:
7362
 
+  # Code from module realloc-gnu-tests:
7363
 
+  # Code from module realloc-posix:
7364
 
+  # Code from module regex:
7365
 
+  # Code from module remove:
7366
 
+  # Code from module remove-tests:
7367
 
+  # Code from module rename:
7368
 
+  # Code from module rename-tests:
7369
 
+  # Code from module rmdir:
7370
 
+  # Code from module rmdir-tests:
7371
 
+  # Code from module root-dev-ino:
7372
 
+  # Code from module rpmatch:
7373
 
+  # Code from module safe-read:
7374
 
+  # Code from module safe-write:
7375
 
+  # Code from module same:
7376
 
+  # Code from module same-inode:
7377
 
+  # Code from module save-cwd:
7378
 
+  # Code from module savedir:
7379
 
+  # Code from module savewd:
7380
 
+  # Code from module sched:
7381
 
+  # Code from module sched-tests:
7382
 
+  # Code from module select:
7383
 
+  # Code from module select-tests:
7384
 
+  # Code from module selinux-at:
7385
 
+  # Code from module selinux-h:
7386
 
+  # Code from module servent:
7387
 
+  # Code from module setenv:
7388
 
+  # Code from module setenv-tests:
7389
 
+  # Code from module setlocale:
7390
 
+  # Code from module setlocale-tests:
7391
 
+  # Code from module setsockopt:
7392
 
+  # Code from module settime:
7393
 
+  # Code from module sig2str:
7394
 
+  # Code from module sigaction:
7395
 
+  # Code from module sigaction-tests:
7396
 
+  # Code from module signal:
7397
 
+  # Code from module signal-tests:
7398
 
+  # Code from module signbit:
7399
 
+  # Code from module signbit-tests:
7400
 
+  # Code from module sigprocmask:
7401
 
+  # Code from module sigprocmask-tests:
7402
 
+  # Code from module size_max:
7403
 
+  # Code from module sleep:
7404
 
+  # Code from module sleep-tests:
7405
 
+  # Code from module snippet/_Noreturn:
7406
 
+  # Code from module snippet/arg-nonnull:
7407
 
+  # Code from module snippet/c++defs:
7408
 
+  # Code from module snippet/unused-parameter:
7409
 
+  # Code from module snippet/warn-on-use:
7410
 
+  # Code from module snprintf:
7411
 
+  # Code from module snprintf-tests:
7412
 
+  # Code from module socket:
7413
 
+  # Code from module socketlib:
7414
 
+  # Code from module sockets:
7415
 
+  # Code from module sockets-tests:
7416
 
+  # Code from module socklen:
7417
 
+  # Code from module ssize_t:
7418
 
+  # Code from module stat:
7419
 
+  # Code from module stat-macros:
7420
 
+  # Code from module stat-size:
7421
 
+  # Code from module stat-tests:
7422
 
+  # Code from module stat-time:
7423
 
+  # Code from module stat-time-tests:
7424
 
+  # Code from module stdarg:
7425
 
+          
7426
 
+  # Code from module stdbool:
7427
 
+  # Code from module stdbool-tests:
7428
 
+  # Code from module stddef:
7429
 
+  # Code from module stddef-tests:
7430
 
+  # Code from module stdint:
7431
 
+  # Code from module stdint-tests:
7432
 
+  # Code from module stdio:
7433
 
+  # Code from module stdio-tests:
7434
 
+  # Code from module stdlib:
7435
 
+  # Code from module stdlib-safer:
7436
 
+  # Code from module stdlib-tests:
7437
 
+  # Code from module stpcpy:
7438
 
+  # Code from module stpncpy:
7439
 
+  # Code from module strdup-posix:
7440
 
+  # Code from module streq:
7441
 
+  # Code from module strerror:
7442
 
+  # Code from module strerror-override:
7443
 
+  # Code from module strerror-tests:
7444
 
+  # Code from module strerror_r-posix:
7445
 
+  # Code from module strerror_r-posix-tests:
7446
 
+  # Code from module strftime:
7447
 
+  # Code from module strftime-tests:
7448
 
+  # Code from module striconv:
7449
 
+  # Code from module striconv-tests:
7450
 
+  # Code from module string:
7451
 
+  # Code from module string-tests:
7452
 
+  # Code from module strndup:
7453
 
+  # Code from module strnlen:
7454
 
+  # Code from module strnlen-tests:
7455
 
+  # Code from module strnlen1:
7456
 
+  # Code from module strsignal:
7457
 
+  # Code from module strsignal-tests:
7458
 
+  # Code from module strstr-simple:
7459
 
+  # Code from module strtod:
7460
 
+  # Code from module strtod-tests:
7461
 
+  # Code from module strtoimax:
7462
 
+  # Code from module strtoimax-tests:
7463
 
+  # Code from module strtoll:
7464
 
+  # Code from module strtoull:
7465
 
+  # Code from module strtoumax:
7466
 
+  # Code from module strtoumax-tests:
7467
 
+  # Code from module symlink:
7468
 
+  # Code from module symlink-tests:
7469
 
+  # Code from module symlinkat:
7470
 
+  # Code from module symlinkat-tests:
7471
 
+  # Code from module sys_ioctl:
7472
 
+  # Code from module sys_ioctl-tests:
7473
 
+  # Code from module sys_select:
7474
 
+  # Code from module sys_select-tests:
7475
 
+  # Code from module sys_socket:
7476
 
+  # Code from module sys_socket-tests:
7477
 
+  # Code from module sys_stat:
7478
 
+  # Code from module sys_stat-tests:
7479
 
+  # Code from module sys_time:
7480
 
+  # Code from module sys_time-tests:
7481
 
+  # Code from module sys_uio:
7482
 
+  # Code from module sys_uio-tests:
7483
 
+  # Code from module sys_utsname:
7484
 
+  # Code from module sys_utsname-tests:
7485
 
+  # Code from module sys_wait:
7486
 
+  # Code from module sys_wait-tests:
7487
 
+  # Code from module tempname:
7488
 
+  # Code from module termios:
7489
 
+  # Code from module termios-tests:
7490
 
+  # Code from module thread:
7491
 
+  # Code from module thread-tests:
7492
 
+  # Code from module threadlib:
7493
 
+  
7494
 
+  
7495
 
+
7496
 
+  # Code from module time:
7497
 
+  # Code from module time-tests:
7498
 
+  # Code from module time_r:
7499
 
+  # Code from module timer-time:
7500
 
+  # Code from module timespec:
7501
 
+  # Code from module tls:
7502
 
+  # Code from module tls-tests:
7503
 
+  # Code from module trim:
7504
 
+  # Code from module tzset:
7505
 
+  # Code from module u64:
7506
 
+  # Code from module u64-tests:
7507
 
+  # Code from module uname:
7508
 
+  # Code from module uname-tests:
7509
 
+  # Code from module unicodeio:
7510
 
+  # Code from module unistd:
7511
 
+  # Code from module unistd-safer:
7512
 
+  # Code from module unistd-safer-tests:
7513
 
+  # Code from module unistd-tests:
7514
 
+  # Code from module unistr/base:
7515
 
+  # Code from module unistr/u8-mbtoucr:
7516
 
+  # Code from module unistr/u8-mbtoucr-tests:
7517
 
+  # Code from module unistr/u8-uctomb:
7518
 
+  # Code from module unistr/u8-uctomb-tests:
7519
 
+  # Code from module unitypes:
7520
 
+  # Code from module uniwidth/base:
7521
 
+  # Code from module uniwidth/width:
7522
 
+  # Code from module uniwidth/width-tests:
7523
 
+  # Code from module unlink:
7524
 
+  # Code from module unlink-busy:
7525
 
+  # Code from module unlink-tests:
7526
 
+  # Code from module unlinkdir:
7527
 
+  # Code from module unlocked-io:
7528
 
+  # Code from module unsetenv:
7529
 
+  # Code from module unsetenv-tests:
7530
 
+  # Code from module update-copyright:
7531
 
+  # Code from module update-copyright-tests:
7532
 
+  # Code from module uptime:
7533
 
+  # Code from module useless-if-before-free:
7534
 
+  # Code from module userspec:
7535
 
+  # Code from module userspec-tests:
7536
 
+  # Code from module usleep:
7537
 
+  # Code from module usleep-tests:
7538
 
+  # Code from module utimecmp:
7539
 
+  # Code from module utimens:
7540
 
+  # Code from module utimens-tests:
7541
 
+  # Code from module utimensat:
7542
 
+  # Code from module utimensat-tests:
7543
 
+  # Code from module vasnprintf:
7544
 
+  # Code from module vasnprintf-tests:
7545
 
+  # Code from module vasprintf:
7546
 
+  # Code from module vasprintf-posix:
7547
 
+  # Code from module vasprintf-posix-tests:
7548
 
+  # Code from module vasprintf-tests:
7549
 
+  # Code from module vc-list-files:
7550
 
+  # Code from module vc-list-files-tests:
7551
 
+  # Code from module verify:
7552
 
+  # Code from module verify-tests:
7553
 
+  # Code from module verror:
7554
 
+  # Code from module version-etc:
7555
 
+  # Code from module version-etc-fsf:
7556
 
+  # Code from module version-etc-tests:
7557
 
+  # Code from module vfprintf-posix:
7558
 
+  # Code from module vfprintf-posix-tests:
7559
 
+  # Code from module vprintf-posix:
7560
 
+  # Code from module vprintf-posix-tests:
7561
 
+  # Code from module warnings:
7562
 
+  # Code from module wchar:
7563
 
+  # Code from module wchar-tests:
7564
 
+  # Code from module wcrtomb:
7565
 
+  # Code from module wcrtomb-tests:
7566
 
+  # Code from module wcswidth:
7567
 
+  # Code from module wctob:
7568
 
+  # Code from module wctomb:
7569
 
+  # Code from module wctype-h:
7570
 
+  # Code from module wctype-h-tests:
7571
 
+  # Code from module wcwidth:
7572
 
+  # Code from module wcwidth-tests:
7573
 
+  # Code from module winsz-ioctl:
7574
 
+  # Code from module winsz-termios:
7575
 
+  # Code from module write:
7576
 
+  # Code from module write-any-file:
7577
 
+  # Code from module xalloc:
7578
 
+  # Code from module xalloc-die:
7579
 
+  # Code from module xalloc-die-tests:
7580
 
+  # Code from module xalloc-oversized:
7581
 
+  # Code from module xfreopen:
7582
 
+  # Code from module xgetcwd:
7583
 
+  # Code from module xgetgroups:
7584
 
+  # Code from module xgethostname:
7585
 
+  # Code from module xmemcoll:
7586
 
+  # Code from module xnanosleep:
7587
 
+  # Code from module xprintf:
7588
 
+  # Code from module xprintf-posix:
7589
 
+  # Code from module xprintf-posix-tests:
7590
 
+  # Code from module xreadlink:
7591
 
+  # Code from module xsize:
7592
 
+  # Code from module xstriconv:
7593
 
+  # Code from module xstrndup:
7594
 
+  # Code from module xstrtod:
7595
 
+  # Code from module xstrtoimax:
7596
 
+  # Code from module xstrtoimax-tests:
7597
 
+  # Code from module xstrtol:
7598
 
+  # Code from module xstrtol-tests:
7599
 
+  # Code from module xstrtold:
7600
 
+  # Code from module xstrtoumax:
7601
 
+  # Code from module xstrtoumax-tests:
7602
 
+  # Code from module xvasprintf:
7603
 
+  # Code from module xvasprintf-tests:
7604
 
+  # Code from module yesno:
7605
 
+  # Code from module yesno-tests:
7606
 
+  # Code from module yield:
7607
 
+
7608
 
+
7609
 
+
7610
 
+  
7611
 
+  
7612
 
+  
7613
 
+          LIBC_FATAL_STDERR_=1
7614
 
+  export LIBC_FATAL_STDERR_
7615
 
+
7616
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
7617
 
+$as_echo_n "checking for inline... " >&6; }
7618
 
+if ${ac_cv_c_inline+:} false; then :
7619
 
+  $as_echo_n "(cached) " >&6
7620
 
+else
7621
 
+  ac_cv_c_inline=no
7622
 
+for ac_kw in inline __inline__ __inline; do
7623
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7624
 
+/* end confdefs.h.  */
7625
 
+#ifndef __cplusplus
7626
 
+typedef int foo_t;
7627
 
+static $ac_kw foo_t static_foo () {return 0; }
7628
 
+$ac_kw foo_t foo () {return 0; }
7629
 
+#endif
7630
 
+
7631
 
+_ACEOF
7632
 
+if ac_fn_c_try_compile "$LINENO"; then :
7633
 
+  ac_cv_c_inline=$ac_kw
7634
 
+fi
7635
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7636
 
+  test "$ac_cv_c_inline" != no && break
7637
 
+done
7638
 
+
7639
 
+fi
7640
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
7641
 
+$as_echo "$ac_cv_c_inline" >&6; }
7642
 
+
7643
 
+case $ac_cv_c_inline in
7644
 
+  inline | yes) ;;
7645
 
+  *)
7646
 
+    case $ac_cv_c_inline in
7647
 
+      no) ac_val=;;
7648
 
+      *) ac_val=$ac_cv_c_inline;;
7649
 
+    esac
7650
 
+    cat >>confdefs.h <<_ACEOF
7651
 
+#ifndef __cplusplus
7652
 
+#define inline $ac_val
7653
 
+#endif
7654
 
+_ACEOF
7655
 
+    ;;
7656
 
+esac
7657
 
+
7658
 
+ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7659
 
+if test "x$ac_cv_type_size_t" = xyes; then :
7660
 
+  
7661
 
+else
7662
 
+  
7663
 
+cat >>confdefs.h <<_ACEOF
7664
 
+@%:@define size_t unsigned int
7665
 
+_ACEOF
7666
 
+
7667
 
+fi
7668
 
+
7669
 
+# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7670
 
+# for constant arguments.  Useless!
7671
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
7672
 
+$as_echo_n "checking for working alloca.h... " >&6; }
7673
 
+if ${ac_cv_working_alloca_h+:} false; then :
7674
 
+  $as_echo_n "(cached) " >&6
7675
 
+else
7676
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7677
 
+/* end confdefs.h.  */
7678
 
+@%:@include <alloca.h>
7679
 
+int
7680
 
+main ()
7681
 
+{
7682
 
+char *p = (char *) alloca (2 * sizeof (int));
7683
 
+                         if (p) return 0;
7684
 
+  ;
7685
 
+  return 0;
7686
 
+}
7687
 
+_ACEOF
7688
 
+if ac_fn_c_try_link "$LINENO"; then :
7689
 
+  ac_cv_working_alloca_h=yes
7690
 
+else
7691
 
+  ac_cv_working_alloca_h=no
7692
 
+fi
7693
 
+rm -f core conftest.err conftest.$ac_objext \
7694
 
+    conftest$ac_exeext conftest.$ac_ext
7695
 
+fi
7696
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
7697
 
+$as_echo "$ac_cv_working_alloca_h" >&6; }
7698
 
+if test $ac_cv_working_alloca_h = yes; then
7699
 
+  
7700
 
+$as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h
7701
 
+
7702
 
+fi
7703
 
+
7704
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
7705
 
+$as_echo_n "checking for alloca... " >&6; }
7706
 
+if ${ac_cv_func_alloca_works+:} false; then :
7707
 
+  $as_echo_n "(cached) " >&6
7708
 
+else
7709
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7710
 
+/* end confdefs.h.  */
7711
 
+#ifdef __GNUC__
7712
 
+# define alloca __builtin_alloca
7713
 
+#else
7714
 
+# ifdef _MSC_VER
7715
 
+#  include <malloc.h>
7716
 
+#  define alloca _alloca
7717
 
+# else
7718
 
+#  ifdef HAVE_ALLOCA_H
7719
 
+#   include <alloca.h>
7720
 
+#  else
7721
 
+#   ifdef _AIX
7722
 
+ #pragma alloca
7723
 
+#   else
7724
 
+#    ifndef alloca /* predefined by HP cc +Olibcalls */
7725
 
+void *alloca (size_t);
7726
 
+#    endif
7727
 
+#   endif
7728
 
+#  endif
7729
 
+# endif
7730
 
+#endif
7731
 
+
7732
 
+int
7733
 
+main ()
7734
 
+{
7735
 
+char *p = (char *) alloca (1);
7736
 
+                                   if (p) return 0;
7737
 
+  ;
7738
 
+  return 0;
7739
 
+}
7740
 
+_ACEOF
7741
 
+if ac_fn_c_try_link "$LINENO"; then :
7742
 
+  ac_cv_func_alloca_works=yes
7743
 
+else
7744
 
+  ac_cv_func_alloca_works=no
7745
 
+fi
7746
 
+rm -f core conftest.err conftest.$ac_objext \
7747
 
+    conftest$ac_exeext conftest.$ac_ext
7748
 
+fi
7749
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
7750
 
+$as_echo "$ac_cv_func_alloca_works" >&6; }
7751
 
+
7752
 
+if test $ac_cv_func_alloca_works = yes; then
7753
 
+  
7754
 
+$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
7755
 
+
7756
 
+else
7757
 
+  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
7758
 
+# that cause trouble.  Some versions do not even contain alloca or
7759
 
+# contain a buggy version.  If you still want to use their alloca,
7760
 
+# use ar to extract alloca.o from them instead of compiling alloca.c.
7761
 
+
7762
 
+  
7763
 
+    
7764
 
+  
7765
 
+
7766
 
+ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
7767
 
+
7768
 
+$as_echo "@%:@define C_ALLOCA 1" >>confdefs.h
7769
 
+
7770
 
+
7771
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
7772
 
+$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
7773
 
+if ${ac_cv_os_cray+:} false; then :
7774
 
+  $as_echo_n "(cached) " >&6
7775
 
+else
7776
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7777
 
+/* end confdefs.h.  */
7778
 
+#if defined CRAY && ! defined CRAY2
7779
 
+webecray
7780
 
+#else
7781
 
+wenotbecray
7782
 
+#endif
7783
 
+
7784
 
+_ACEOF
7785
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7786
 
+  $EGREP "webecray" >/dev/null 2>&1; then :
7787
 
+  ac_cv_os_cray=yes
7788
 
+else
7789
 
+  ac_cv_os_cray=no
7790
 
+fi
7791
 
+rm -f conftest*
7792
 
+
7793
 
+fi
7794
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
7795
 
+$as_echo "$ac_cv_os_cray" >&6; }
7796
 
+if test $ac_cv_os_cray = yes; then
7797
 
+  for ac_func in _getb67 GETB67 getb67; do
7798
 
+    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7799
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7800
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7801
 
+  
7802
 
+cat >>confdefs.h <<_ACEOF
7803
 
+@%:@define CRAY_STACKSEG_END $ac_func
7804
 
+_ACEOF
7805
 
+
7806
 
+    break
7807
 
+fi
7808
 
+
7809
 
+  done
7810
 
+fi
7811
 
+
7812
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
7813
 
+$as_echo_n "checking stack direction for C alloca... " >&6; }
7814
 
+if ${ac_cv_c_stack_direction+:} false; then :
7815
 
+  $as_echo_n "(cached) " >&6
7816
 
+else
7817
 
+  if test "$cross_compiling" = yes; then :
7818
 
+  ac_cv_c_stack_direction=0
7819
 
+else
7820
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7821
 
+/* end confdefs.h.  */
7822
 
+$ac_includes_default
7823
 
+int
7824
 
+find_stack_direction (int *addr, int depth)
7825
 
+{
7826
 
+  int dir, dummy = 0;
7827
 
+  if (! addr)
7828
 
+    addr = &dummy;
7829
 
+  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
7830
 
+  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
7831
 
+  return dir + dummy;
7832
 
+}
7833
 
+
7834
 
+int
7835
 
+main (int argc, char **argv)
7836
 
+{
7837
 
+  return find_stack_direction (0, argc + !argv + 20) < 0;
7838
 
+}
7839
 
+_ACEOF
7840
 
+if ac_fn_c_try_run "$LINENO"; then :
7841
 
+  ac_cv_c_stack_direction=1
7842
 
+else
7843
 
+  ac_cv_c_stack_direction=-1
7844
 
+fi
7845
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7846
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
7847
 
+fi
7848
 
+
7849
 
+fi
7850
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
7851
 
+$as_echo "$ac_cv_c_stack_direction" >&6; }
7852
 
+cat >>confdefs.h <<_ACEOF
7853
 
+@%:@define STACK_DIRECTION $ac_cv_c_stack_direction
7854
 
+_ACEOF
7855
 
+
7856
 
+
7857
 
+fi
7858
 
+
7859
 
+
7860
 
+  GNULIB_INET_NTOP=0;     
7861
 
+  GNULIB_INET_PTON=0;     
7862
 
+    HAVE_DECL_INET_NTOP=1;  
7863
 
+  HAVE_DECL_INET_PTON=1;  
7864
 
+
7865
 
+
7866
 
+
7867
 
+  
7868
 
+  for ac_header in $ac_header_list
7869
 
+do :
7870
 
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7871
 
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7872
 
+"
7873
 
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7874
 
+  cat >>confdefs.h <<_ACEOF
7875
 
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7876
 
+_ACEOF
7877
 
7878
 
+fi
7879
 
+
7880
 
+done
7881
 
+
7882
 
+  
7883
 
+
7884
 
+
7885
 
+  
7886
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
7887
 
+$as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
7888
 
+if ${gl_cv_have_include_next+:} false; then :
7889
 
+  $as_echo_n "(cached) " >&6
7890
 
+else
7891
 
+  rm -rf conftestd1a conftestd1b conftestd2
7892
 
+     mkdir conftestd1a conftestd1b conftestd2
7893
 
+                                                  cat <<EOF > conftestd1a/conftest.h
7894
 
+#define DEFINED_IN_CONFTESTD1
7895
 
+#include_next <conftest.h>
7896
 
+#ifdef DEFINED_IN_CONFTESTD2
7897
 
+int foo;
7898
 
+#else
7899
 
+#error "include_next doesn't work"
7900
 
+#endif
7901
 
+EOF
7902
 
+     cat <<EOF > conftestd1b/conftest.h
7903
 
+#define DEFINED_IN_CONFTESTD1
7904
 
+#include <stdio.h>
7905
 
+#include_next <conftest.h>
7906
 
+#ifdef DEFINED_IN_CONFTESTD2
7907
 
+int foo;
7908
 
+#else
7909
 
+#error "include_next doesn't work"
7910
 
+#endif
7911
 
+EOF
7912
 
+     cat <<EOF > conftestd2/conftest.h
7913
 
+#ifndef DEFINED_IN_CONFTESTD1
7914
 
+#error "include_next test doesn't work"
7915
 
+#endif
7916
 
+#define DEFINED_IN_CONFTESTD2
7917
 
+EOF
7918
 
+     gl_save_CPPFLAGS="$CPPFLAGS"
7919
 
+     CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2"
7920
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7921
 
+/* end confdefs.h.  */
7922
 
+#include <conftest.h>
7923
 
+_ACEOF
7924
 
+if ac_fn_c_try_compile "$LINENO"; then :
7925
 
+  gl_cv_have_include_next=yes
7926
 
+else
7927
 
+  CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2"
7928
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7929
 
+/* end confdefs.h.  */
7930
 
+#include <conftest.h>
7931
 
+_ACEOF
7932
 
+if ac_fn_c_try_compile "$LINENO"; then :
7933
 
+  gl_cv_have_include_next=buggy
7934
 
+else
7935
 
+  gl_cv_have_include_next=no
7936
 
+fi
7937
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7938
 
+       
7939
 
+fi
7940
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7941
 
+     CPPFLAGS="$gl_save_CPPFLAGS"
7942
 
+     rm -rf conftestd1a conftestd1b conftestd2
7943
 
+    
7944
 
+fi
7945
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5
7946
 
+$as_echo "$gl_cv_have_include_next" >&6; }
7947
 
+  PRAGMA_SYSTEM_HEADER=
7948
 
+  if test $gl_cv_have_include_next = yes; then
7949
 
+    INCLUDE_NEXT=include_next
7950
 
+    INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
7951
 
+    if test -n "$GCC"; then
7952
 
+      PRAGMA_SYSTEM_HEADER='#pragma GCC system_header'
7953
 
+    fi
7954
 
+  else
7955
 
+    if test $gl_cv_have_include_next = buggy; then
7956
 
+      INCLUDE_NEXT=include
7957
 
+      INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
7958
 
+    else
7959
 
+      INCLUDE_NEXT=include
7960
 
+      INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include
7961
 
+    fi
7962
 
+  fi
7963
 
+  
7964
 
+  
7965
 
+  
7966
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5
7967
 
+$as_echo_n "checking whether system header files limit the line length... " >&6; }
7968
 
+if ${gl_cv_pragma_columns+:} false; then :
7969
 
+  $as_echo_n "(cached) " >&6
7970
 
+else
7971
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7972
 
+/* end confdefs.h.  */
7973
 
+
7974
 
+#ifdef __TANDEM
7975
 
+choke me
7976
 
+#endif
7977
 
+       
7978
 
+_ACEOF
7979
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7980
 
+  $EGREP "choke me" >/dev/null 2>&1; then :
7981
 
+  gl_cv_pragma_columns=yes
7982
 
+else
7983
 
+  gl_cv_pragma_columns=no
7984
 
+fi
7985
 
+rm -f conftest*
7986
 
+
7987
 
+    
7988
 
+fi
7989
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5
7990
 
+$as_echo "$gl_cv_pragma_columns" >&6; }
7991
 
+  if test $gl_cv_pragma_columns = yes; then
7992
 
+    PRAGMA_COLUMNS="#pragma COLUMNS 10000"
7993
 
+  else
7994
 
+    PRAGMA_COLUMNS=
7995
 
+  fi
7996
 
+  
7997
 
+
7998
 
+
7999
 
+
8000
 
+
8001
 
+  
8002
 
+  if test $ac_cv_header_features_h = yes; then
8003
 
+    HAVE_FEATURES_H=1
8004
 
+  else
8005
 
+    HAVE_FEATURES_H=0
8006
 
+  fi
8007
 
+  
8008
 
+
8009
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for d_ino member in directory struct" >&5
8010
 
+$as_echo_n "checking for d_ino member in directory struct... " >&6; }
8011
 
+if ${gl_cv_struct_dirent_d_ino+:} false; then :
8012
 
+  $as_echo_n "(cached) " >&6
8013
 
+else
8014
 
+  if test "$cross_compiling" = yes; then :
8015
 
+  gl_cv_struct_dirent_d_ino=no
8016
 
+else
8017
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8018
 
+/* end confdefs.h.  */
8019
 
+#include <sys/types.h>
8020
 
+             #include <sys/stat.h>
8021
 
+             #include <dirent.h>
8022
 
+           
8023
 
+int
8024
 
+main ()
8025
 
+{
8026
 
+DIR *dp = opendir (".");
8027
 
+             struct dirent *e;
8028
 
+             struct stat st;
8029
 
+             if (! dp)
8030
 
+               return 1;
8031
 
+             e = readdir (dp);
8032
 
+             if (! e)
8033
 
+               return 2;
8034
 
+             if (stat (e->d_name, &st) != 0)
8035
 
+               return 3;
8036
 
+             if (e->d_ino != st.st_ino)
8037
 
+               return 4;
8038
 
+             return 0;
8039
 
+           
8040
 
+  ;
8041
 
+  return 0;
8042
 
+}
8043
 
+_ACEOF
8044
 
+if ac_fn_c_try_run "$LINENO"; then :
8045
 
+  gl_cv_struct_dirent_d_ino=yes
8046
 
+else
8047
 
+  gl_cv_struct_dirent_d_ino=no
8048
 
+fi
8049
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8050
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
8051
 
+fi
8052
 
+
8053
 
+fi
8054
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_struct_dirent_d_ino" >&5
8055
 
+$as_echo "$gl_cv_struct_dirent_d_ino" >&6; }
8056
 
+   if test $gl_cv_struct_dirent_d_ino = yes; then
8057
 
+     
8058
 
+$as_echo "@%:@define D_INO_IN_DIRENT 1" >>confdefs.h
8059
 
+
8060
 
+   fi
8061
 
+  
8062
 
+
8063
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5
8064
 
+$as_echo_n "checking for long file names... " >&6; }
8065
 
+if ${ac_cv_sys_long_file_names+:} false; then :
8066
 
+  $as_echo_n "(cached) " >&6
8067
 
+else
8068
 
+  ac_cv_sys_long_file_names=yes
8069
 
+# Test for long file names in all the places we know might matter:
8070
 
+#      .               the current directory, where building will happen
8071
 
+#      $prefix/lib     where we will be installing things
8072
 
+#      $exec_prefix/lib        likewise
8073
 
+#      $TMPDIR         if set, where it might want to write temporary files
8074
 
+#      /tmp            where it might want to write temporary files
8075
 
+#      /var/tmp                likewise
8076
 
+#      /usr/tmp                likewise
8077
 
+for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib"; do
8078
 
+  # Skip $TMPDIR if it is empty or bogus, and skip $exec_prefix/lib
8079
 
+  # in the usual case where exec_prefix is '${prefix}'.
8080
 
+  case $ac_dir in #(
8081
 
+    . | /* | ?:[\\/]*) ;; #(
8082
 
+    *) continue;;
8083
 
+  esac
8084
 
+  test -w "$ac_dir/." || continue # It is less confusing to not echo anything here.
8085
 
+  ac_xdir=$ac_dir/cf$$
8086
 
+  (umask 077 && mkdir "$ac_xdir" 2>/dev/null) || continue
8087
 
+  ac_tf1=$ac_xdir/conftest9012345
8088
 
+  ac_tf2=$ac_xdir/conftest9012346
8089
 
+  touch "$ac_tf1" 2>/dev/null && test -f "$ac_tf1" && test ! -f "$ac_tf2" ||
8090
 
+    ac_cv_sys_long_file_names=no
8091
 
+  rm -f -r "$ac_xdir" 2>/dev/null
8092
 
+  test $ac_cv_sys_long_file_names = no && break
8093
 
+done
8094
 
+fi
8095
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5
8096
 
+$as_echo "$ac_cv_sys_long_file_names" >&6; }
8097
 
+if test $ac_cv_sys_long_file_names = yes; then
8098
 
+  
8099
 
+$as_echo "@%:@define HAVE_LONG_FILE_NAMES 1" >>confdefs.h
8100
 
+
8101
 
+fi
8102
 
+
8103
 
+
8104
 
+
8105
 
+  
8106
 
+  for ac_func in $ac_func_list
8107
 
+do :
8108
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8109
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8110
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8111
 
+  cat >>confdefs.h <<_ACEOF
8112
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8113
 
+_ACEOF
8114
 
8115
 
+fi
8116
 
+done
8117
 
+
8118
 
+  
8119
 
+
8120
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
8121
 
+$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
8122
 
+if ${ac_cv_c_restrict+:} false; then :
8123
 
+  $as_echo_n "(cached) " >&6
8124
 
+else
8125
 
+  ac_cv_c_restrict=no
8126
 
+   # The order here caters to the fact that C++ does not require restrict.
8127
 
+   for ac_kw in __restrict __restrict__ _Restrict restrict; do
8128
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8129
 
+/* end confdefs.h.  */
8130
 
+typedef int * int_ptr;
8131
 
+       int foo (int_ptr $ac_kw ip) {
8132
 
+       return ip[0];
8133
 
+       }
8134
 
+int
8135
 
+main ()
8136
 
+{
8137
 
+int s[1];
8138
 
+       int * $ac_kw t = s;
8139
 
+       t[0] = 0;
8140
 
+       return foo(t)
8141
 
+  ;
8142
 
+  return 0;
8143
 
+}
8144
 
+_ACEOF
8145
 
+if ac_fn_c_try_compile "$LINENO"; then :
8146
 
+  ac_cv_c_restrict=$ac_kw
8147
 
+fi
8148
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8149
 
+     test "$ac_cv_c_restrict" != no && break
8150
 
+   done
8151
 
+  
8152
 
+fi
8153
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
8154
 
+$as_echo "$ac_cv_c_restrict" >&6; }
8155
 
8156
 
+ case $ac_cv_c_restrict in
8157
 
+   restrict) ;;
8158
 
+   no) $as_echo "@%:@define restrict /**/" >>confdefs.h
8159
 
+ ;;
8160
 
+   *)  cat >>confdefs.h <<_ACEOF
8161
 
+@%:@define restrict $ac_cv_c_restrict
8162
 
+_ACEOF
8163
 
+ ;;
8164
 
+ esac
8165
 
+
8166
 
+
8167
 
+  GNULIB_BTOWC=0;       
8168
 
+  GNULIB_WCTOB=0;       
8169
 
+  GNULIB_MBSINIT=0;     
8170
 
+  GNULIB_MBRTOWC=0;     
8171
 
+  GNULIB_MBRLEN=0;      
8172
 
+  GNULIB_MBSRTOWCS=0;   
8173
 
+  GNULIB_MBSNRTOWCS=0;  
8174
 
+  GNULIB_WCRTOMB=0;     
8175
 
+  GNULIB_WCSRTOMBS=0;   
8176
 
+  GNULIB_WCSNRTOMBS=0;  
8177
 
+  GNULIB_WCWIDTH=0;     
8178
 
+  GNULIB_WMEMCHR=0;     
8179
 
+  GNULIB_WMEMCMP=0;     
8180
 
+  GNULIB_WMEMCPY=0;     
8181
 
+  GNULIB_WMEMMOVE=0;    
8182
 
+  GNULIB_WMEMSET=0;     
8183
 
+  GNULIB_WCSLEN=0;      
8184
 
+  GNULIB_WCSNLEN=0;     
8185
 
+  GNULIB_WCSCPY=0;      
8186
 
+  GNULIB_WCPCPY=0;      
8187
 
+  GNULIB_WCSNCPY=0;     
8188
 
+  GNULIB_WCPNCPY=0;     
8189
 
+  GNULIB_WCSCAT=0;      
8190
 
+  GNULIB_WCSNCAT=0;     
8191
 
+  GNULIB_WCSCMP=0;      
8192
 
+  GNULIB_WCSNCMP=0;     
8193
 
+  GNULIB_WCSCASECMP=0;  
8194
 
+  GNULIB_WCSNCASECMP=0; 
8195
 
+  GNULIB_WCSCOLL=0;     
8196
 
+  GNULIB_WCSXFRM=0;     
8197
 
+  GNULIB_WCSDUP=0;      
8198
 
+  GNULIB_WCSCHR=0;      
8199
 
+  GNULIB_WCSRCHR=0;     
8200
 
+  GNULIB_WCSCSPN=0;     
8201
 
+  GNULIB_WCSSPN=0;      
8202
 
+  GNULIB_WCSPBRK=0;     
8203
 
+  GNULIB_WCSSTR=0;      
8204
 
+  GNULIB_WCSTOK=0;      
8205
 
+  GNULIB_WCSWIDTH=0;    
8206
 
+    HAVE_BTOWC=1;         
8207
 
+  HAVE_MBSINIT=1;       
8208
 
+  HAVE_MBRTOWC=1;       
8209
 
+  HAVE_MBRLEN=1;        
8210
 
+  HAVE_MBSRTOWCS=1;     
8211
 
+  HAVE_MBSNRTOWCS=1;    
8212
 
+  HAVE_WCRTOMB=1;       
8213
 
+  HAVE_WCSRTOMBS=1;     
8214
 
+  HAVE_WCSNRTOMBS=1;    
8215
 
+  HAVE_WMEMCHR=1;       
8216
 
+  HAVE_WMEMCMP=1;       
8217
 
+  HAVE_WMEMCPY=1;       
8218
 
+  HAVE_WMEMMOVE=1;      
8219
 
+  HAVE_WMEMSET=1;       
8220
 
+  HAVE_WCSLEN=1;        
8221
 
+  HAVE_WCSNLEN=1;       
8222
 
+  HAVE_WCSCPY=1;        
8223
 
+  HAVE_WCPCPY=1;        
8224
 
+  HAVE_WCSNCPY=1;       
8225
 
+  HAVE_WCPNCPY=1;       
8226
 
+  HAVE_WCSCAT=1;        
8227
 
+  HAVE_WCSNCAT=1;       
8228
 
+  HAVE_WCSCMP=1;        
8229
 
+  HAVE_WCSNCMP=1;       
8230
 
+  HAVE_WCSCASECMP=1;    
8231
 
+  HAVE_WCSNCASECMP=1;   
8232
 
+  HAVE_WCSCOLL=1;       
8233
 
+  HAVE_WCSXFRM=1;       
8234
 
+  HAVE_WCSDUP=1;        
8235
 
+  HAVE_WCSCHR=1;        
8236
 
+  HAVE_WCSRCHR=1;       
8237
 
+  HAVE_WCSCSPN=1;       
8238
 
+  HAVE_WCSSPN=1;        
8239
 
+  HAVE_WCSPBRK=1;       
8240
 
+  HAVE_WCSSTR=1;        
8241
 
+  HAVE_WCSTOK=1;        
8242
 
+  HAVE_WCSWIDTH=1;      
8243
 
+  HAVE_DECL_WCTOB=1;    
8244
 
+  HAVE_DECL_WCWIDTH=1;  
8245
 
+  REPLACE_MBSTATE_T=0;  
8246
 
+  REPLACE_BTOWC=0;      
8247
 
+  REPLACE_WCTOB=0;      
8248
 
+  REPLACE_MBSINIT=0;    
8249
 
+  REPLACE_MBRTOWC=0;    
8250
 
+  REPLACE_MBRLEN=0;     
8251
 
+  REPLACE_MBSRTOWCS=0;  
8252
 
+  REPLACE_MBSNRTOWCS=0; 
8253
 
+  REPLACE_WCRTOMB=0;    
8254
 
+  REPLACE_WCSRTOMBS=0;  
8255
 
+  REPLACE_WCSNRTOMBS=0; 
8256
 
+  REPLACE_WCWIDTH=0;    
8257
 
+  REPLACE_WCSWIDTH=0;   
8258
 
+
8259
 
+
8260
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <wchar.h> uses 'inline' correctly" >&5
8261
 
+$as_echo_n "checking whether <wchar.h> uses 'inline' correctly... " >&6; }
8262
 
+if ${gl_cv_header_wchar_h_correct_inline+:} false; then :
8263
 
+  $as_echo_n "(cached) " >&6
8264
 
+else
8265
 
+  gl_cv_header_wchar_h_correct_inline=yes
8266
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8267
 
+/* end confdefs.h.  */
8268
 
+
8269
 
+       #define wcstod renamed_wcstod
8270
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
8271
 
+   <wchar.h>.
8272
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
8273
 
+   included before <wchar.h>.  */
8274
 
+#include <stddef.h>
8275
 
+#include <stdio.h>
8276
 
+#include <time.h>
8277
 
+#include <wchar.h>
8278
 
+extern int zero (void);
8279
 
+int main () { return zero(); }
8280
 
+
8281
 
+_ACEOF
8282
 
+     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8283
 
+  (eval $ac_compile) 2>&5
8284
 
+  ac_status=$?
8285
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8286
 
+  test $ac_status = 0; }; then
8287
 
+       mv conftest.$ac_objext conftest1.$ac_objext
8288
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8289
 
+/* end confdefs.h.  */
8290
 
+
8291
 
+         #define wcstod renamed_wcstod
8292
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
8293
 
+   <wchar.h>.
8294
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
8295
 
+   included before <wchar.h>.  */
8296
 
+#include <stddef.h>
8297
 
+#include <stdio.h>
8298
 
+#include <time.h>
8299
 
+#include <wchar.h>
8300
 
+int zero (void) { return 0; }
8301
 
+
8302
 
+_ACEOF
8303
 
+       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8304
 
+  (eval $ac_compile) 2>&5
8305
 
+  ac_status=$?
8306
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8307
 
+  test $ac_status = 0; }; then
8308
 
+         mv conftest.$ac_objext conftest2.$ac_objext
8309
 
+         if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then
8310
 
+           :
8311
 
+         else
8312
 
+           gl_cv_header_wchar_h_correct_inline=no
8313
 
+         fi
8314
 
+       fi
8315
 
+     fi
8316
 
+     rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext
8317
 
+    
8318
 
+fi
8319
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5
8320
 
+$as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; }
8321
 
+  if test $gl_cv_header_wchar_h_correct_inline = no; then
8322
 
+    as_fn_error $? "<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS).
8323
 
+This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
8324
 
+C99 mode. You have four options:
8325
 
+  - Add the flag -fgnu89-inline to CC and reconfigure, or
8326
 
+  - Fix your include files, using parts of
8327
 
+    <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
8328
 
+  - Use a gcc version older than 4.3, or
8329
 
+  - Don't use the flags -std=c99 or -std=gnu99.
8330
 
+Configuration aborted." "$LINENO" 5
8331
 
+  fi
8332
 
+
8333
 
+
8334
 
+
8335
 
+
8336
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
8337
 
+$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
8338
 
+if ${am_cv_langinfo_codeset+:} false; then :
8339
 
+  $as_echo_n "(cached) " >&6
8340
 
+else
8341
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8342
 
+/* end confdefs.h.  */
8343
 
+#include <langinfo.h>
8344
 
+int
8345
 
+main ()
8346
 
+{
8347
 
+char* cs = nl_langinfo(CODESET); return !cs;
8348
 
+  ;
8349
 
+  return 0;
8350
 
+}
8351
 
+_ACEOF
8352
 
+if ac_fn_c_try_link "$LINENO"; then :
8353
 
+  am_cv_langinfo_codeset=yes
8354
 
+else
8355
 
+  am_cv_langinfo_codeset=no
8356
 
+fi
8357
 
+rm -f core conftest.err conftest.$ac_objext \
8358
 
+    conftest$ac_exeext conftest.$ac_ext
8359
 
+    
8360
 
+fi
8361
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
8362
 
+$as_echo "$am_cv_langinfo_codeset" >&6; }
8363
 
+  if test $am_cv_langinfo_codeset = yes; then
8364
 
+    
8365
 
+$as_echo "@%:@define HAVE_LANGINFO_CODESET 1" >>confdefs.h
8366
 
+
8367
 
+  fi
8368
 
+
8369
 
+
8370
 
+  
8371
 
+  
8372
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
8373
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
8374
 
+if ${gt_cv_locale_fr+:} false; then :
8375
 
+  $as_echo_n "(cached) " >&6
8376
 
+else
8377
 
+  
8378
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8379
 
+/* end confdefs.h.  */
8380
 
+
8381
 
+#include <locale.h>
8382
 
+#include <time.h>
8383
 
+#if HAVE_LANGINFO_CODESET
8384
 
+# include <langinfo.h>
8385
 
+#endif
8386
 
+#include <stdlib.h>
8387
 
+#include <string.h>
8388
 
+struct tm t;
8389
 
+char buf[16];
8390
 
+int main () {
8391
 
+  /* Check whether the given locale name is recognized by the system.  */
8392
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
8393
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
8394
 
+     not at the environment variables.  Also, when an encoding suffix such
8395
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
8396
 
+     category of the locale to "C".  */
8397
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
8398
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
8399
 
+    return 1;
8400
 
+#else
8401
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
8402
 
+#endif
8403
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
8404
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
8405
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
8406
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
8407
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
8408
 
+     some unit tests fail.
8409
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
8410
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
8411
 
+#if HAVE_LANGINFO_CODESET
8412
 
+  {
8413
 
+    const char *cs = nl_langinfo (CODESET);
8414
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
8415
 
+        || strcmp (cs, "UTF-8") == 0)
8416
 
+      return 1;
8417
 
+  }
8418
 
+#endif
8419
 
+#ifdef __CYGWIN__
8420
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
8421
 
+     locale_charset() function relies on the encoding suffix.  Note that
8422
 
+     LC_ALL is set on the command line.  */
8423
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
8424
 
+#endif
8425
 
+  /* Check whether in the abbreviation of the second month, the second
8426
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
8427
 
+     one byte long. This excludes the UTF-8 encoding.  */
8428
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
8429
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
8430
 
+  /* Check whether the decimal separator is a comma.
8431
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
8432
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
8433
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
8434
 
+  return 0;
8435
 
+}
8436
 
+      
8437
 
+_ACEOF
8438
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8439
 
+  (eval $ac_link) 2>&5
8440
 
+  ac_status=$?
8441
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8442
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
8443
 
+      case "$host_os" in
8444
 
+        # Handle native Windows specially, because there setlocale() interprets
8445
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
8446
 
+        # "fr" or "fra" as "French" or "French_France.1252",
8447
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
8448
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
8449
 
+        # and similar.
8450
 
+        mingw*)
8451
 
+          # Test for the native Win32 locale name.
8452
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
8453
 
+            gt_cv_locale_fr=French_France.1252
8454
 
+          else
8455
 
+            # None found.
8456
 
+            gt_cv_locale_fr=none
8457
 
+          fi
8458
 
+          ;;
8459
 
+        *)
8460
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
8461
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
8462
 
+          # configure script would override the LC_ALL setting. Likewise for
8463
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
8464
 
+          # Test for the usual locale name.
8465
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
8466
 
+            gt_cv_locale_fr=fr_FR
8467
 
+          else
8468
 
+            # Test for the locale name with explicit encoding suffix.
8469
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
8470
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
8471
 
+            else
8472
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
8473
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
8474
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
8475
 
+              else
8476
 
+                # Test for the HP-UX locale name.
8477
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
8478
 
+                  gt_cv_locale_fr=fr_FR.iso88591
8479
 
+                else
8480
 
+                  # Test for the Solaris 7 locale name.
8481
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
8482
 
+                    gt_cv_locale_fr=fr
8483
 
+                  else
8484
 
+                    # None found.
8485
 
+                    gt_cv_locale_fr=none
8486
 
+                  fi
8487
 
+                fi
8488
 
+              fi
8489
 
+            fi
8490
 
+          fi
8491
 
+          ;;
8492
 
+      esac
8493
 
+    fi
8494
 
+    rm -fr conftest*
8495
 
+  
8496
 
+fi
8497
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
8498
 
+$as_echo "$gt_cv_locale_fr" >&6; }
8499
 
+  LOCALE_FR=$gt_cv_locale_fr
8500
 
+  
8501
 
+
8502
 
+
8503
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtold conforms to C99" >&5
8504
 
+$as_echo_n "checking whether strtold conforms to C99... " >&6; }
8505
 
+if ${gl_cv_func_c99_strtold+:} false; then :
8506
 
+  $as_echo_n "(cached) " >&6
8507
 
+else
8508
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8509
 
+/* end confdefs.h.  */
8510
 
+/* On HP-UX before 11.23, strtold returns a struct instead of
8511
 
+                long double.  Reject implementations like that, by requiring
8512
 
+                compatibility with the C99 prototype.  */
8513
 
+             #include <stdlib.h>
8514
 
+             static long double (*p) (char const *, char **) = strtold;
8515
 
+             static long double
8516
 
+             test (char const *nptr, char **endptr)
8517
 
+             {
8518
 
+               long double r;
8519
 
+               r = strtold (nptr, endptr);
8520
 
+               return r;
8521
 
+             }
8522
 
+int
8523
 
+main ()
8524
 
+{
8525
 
+return test ("1.0", NULL) != 1 || p ("1.0", NULL) != 1;
8526
 
+  ;
8527
 
+  return 0;
8528
 
+}
8529
 
+_ACEOF
8530
 
+if ac_fn_c_try_link "$LINENO"; then :
8531
 
+  gl_cv_func_c99_strtold=yes
8532
 
+else
8533
 
+  gl_cv_func_c99_strtold=no
8534
 
+fi
8535
 
+rm -f core conftest.err conftest.$ac_objext \
8536
 
+    conftest$ac_exeext conftest.$ac_ext
8537
 
+fi
8538
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_c99_strtold" >&5
8539
 
+$as_echo "$gl_cv_func_c99_strtold" >&6; }
8540
 
+  if test $gl_cv_func_c99_strtold = yes; then
8541
 
+    
8542
 
+$as_echo "@%:@define HAVE_C99_STRTOLD 1" >>confdefs.h
8543
 
+
8544
 
+  fi
8545
 
+
8546
 
+
8547
 
+  GNULIB__EXIT=0;         
8548
 
+  GNULIB_ATOLL=0;         
8549
 
+  GNULIB_CALLOC_POSIX=0;  
8550
 
+  GNULIB_CANONICALIZE_FILE_NAME=0;  
8551
 
+  GNULIB_GETLOADAVG=0;    
8552
 
+  GNULIB_GETSUBOPT=0;     
8553
 
+  GNULIB_GRANTPT=0;       
8554
 
+  GNULIB_MALLOC_POSIX=0;  
8555
 
+  GNULIB_MBTOWC=0;        
8556
 
+  GNULIB_MKDTEMP=0;       
8557
 
+  GNULIB_MKOSTEMP=0;      
8558
 
+  GNULIB_MKOSTEMPS=0;     
8559
 
+  GNULIB_MKSTEMP=0;       
8560
 
+  GNULIB_MKSTEMPS=0;      
8561
 
+  GNULIB_PTSNAME=0;       
8562
 
+  GNULIB_PUTENV=0;        
8563
 
+  GNULIB_RANDOM_R=0;      
8564
 
+  GNULIB_REALLOC_POSIX=0; 
8565
 
+  GNULIB_REALPATH=0;      
8566
 
+  GNULIB_RPMATCH=0;       
8567
 
+  GNULIB_SETENV=0;        
8568
 
+  GNULIB_STRTOD=0;        
8569
 
+  GNULIB_STRTOLL=0;       
8570
 
+  GNULIB_STRTOULL=0;      
8571
 
+  GNULIB_SYSTEM_POSIX=0;  
8572
 
+  GNULIB_UNLOCKPT=0;      
8573
 
+  GNULIB_UNSETENV=0;      
8574
 
+  GNULIB_WCTOMB=0;        
8575
 
+    HAVE__EXIT=1;              
8576
 
+  HAVE_ATOLL=1;              
8577
 
+  HAVE_CANONICALIZE_FILE_NAME=1;  
8578
 
+  HAVE_DECL_GETLOADAVG=1;    
8579
 
+  HAVE_GETSUBOPT=1;          
8580
 
+  HAVE_GRANTPT=1;            
8581
 
+  HAVE_MKDTEMP=1;            
8582
 
+  HAVE_MKOSTEMP=1;           
8583
 
+  HAVE_MKOSTEMPS=1;          
8584
 
+  HAVE_MKSTEMP=1;            
8585
 
+  HAVE_MKSTEMPS=1;           
8586
 
+  HAVE_PTSNAME=1;            
8587
 
+  HAVE_RANDOM_H=1;           
8588
 
+  HAVE_RANDOM_R=1;           
8589
 
+  HAVE_REALPATH=1;           
8590
 
+  HAVE_RPMATCH=1;            
8591
 
+  HAVE_SETENV=1;             
8592
 
+  HAVE_DECL_SETENV=1;        
8593
 
+  HAVE_STRTOD=1;             
8594
 
+  HAVE_STRTOLL=1;            
8595
 
+  HAVE_STRTOULL=1;           
8596
 
+  HAVE_STRUCT_RANDOM_DATA=1; 
8597
 
+  HAVE_SYS_LOADAVG_H=0;      
8598
 
+  HAVE_UNLOCKPT=1;           
8599
 
+  HAVE_DECL_UNSETENV=1;      
8600
 
+  REPLACE_CALLOC=0;          
8601
 
+  REPLACE_CANONICALIZE_FILE_NAME=0;  
8602
 
+  REPLACE_MALLOC=0;          
8603
 
+  REPLACE_MBTOWC=0;          
8604
 
+  REPLACE_MKSTEMP=0;         
8605
 
+  REPLACE_PUTENV=0;          
8606
 
+  REPLACE_REALLOC=0;         
8607
 
+  REPLACE_REALPATH=0;        
8608
 
+  REPLACE_SETENV=0;          
8609
 
+  REPLACE_STRTOD=0;          
8610
 
+  REPLACE_UNSETENV=0;        
8611
 
+  REPLACE_WCTOMB=0;          
8612
 
+
8613
 
+
8614
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5
8615
 
+$as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; }
8616
 
+if ${gl_cv_func_malloc_posix+:} false; then :
8617
 
+  $as_echo_n "(cached) " >&6
8618
 
+else
8619
 
+  
8620
 
+                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8621
 
+/* end confdefs.h.  */
8622
 
+
8623
 
+int
8624
 
+main ()
8625
 
+{
8626
 
+#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
8627
 
+             choke me
8628
 
+             #endif
8629
 
+            
8630
 
+  ;
8631
 
+  return 0;
8632
 
+}
8633
 
+_ACEOF
8634
 
+if ac_fn_c_try_compile "$LINENO"; then :
8635
 
+  gl_cv_func_malloc_posix=yes
8636
 
+else
8637
 
+  gl_cv_func_malloc_posix=no
8638
 
+fi
8639
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8640
 
+    
8641
 
+fi
8642
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5
8643
 
+$as_echo "$gl_cv_func_malloc_posix" >&6; }
8644
 
+
8645
 
+
8646
 
+
8647
 
+
8648
 
+  
8649
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
8650
 
+$as_echo_n "checking whether // is distinct from /... " >&6; }
8651
 
+if ${gl_cv_double_slash_root+:} false; then :
8652
 
+  $as_echo_n "(cached) " >&6
8653
 
+else
8654
 
+   if test x"$cross_compiling" = xyes ; then
8655
 
+        # When cross-compiling, there is no way to tell whether // is special
8656
 
+        # short of a list of hosts.  However, the only known hosts to date
8657
 
+        # that have a distinct // are Apollo DomainOS (too old to port to),
8658
 
+        # Cygwin, and z/OS.  If anyone knows of another system for which // has
8659
 
+        # special semantics and is distinct from /, please report it to
8660
 
+        # <bug-gnulib@gnu.org>.
8661
 
+        case $host in
8662
 
+          *-cygwin | i370-ibm-openedition)
8663
 
+            gl_cv_double_slash_root=yes ;;
8664
 
+          *)
8665
 
+            # Be optimistic and assume that / and // are the same when we
8666
 
+            # don't know.
8667
 
+            gl_cv_double_slash_root='unknown, assuming no' ;;
8668
 
+        esac
8669
 
+      else
8670
 
+        set x `ls -di / // 2>/dev/null`
8671
 
+        if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then
8672
 
+          gl_cv_double_slash_root=no
8673
 
+        else
8674
 
+          gl_cv_double_slash_root=yes
8675
 
+        fi
8676
 
+      fi
8677
 
+fi
8678
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
8679
 
+$as_echo "$gl_cv_double_slash_root" >&6; }
8680
 
+  if test "$gl_cv_double_slash_root" = yes; then
8681
 
+    
8682
 
+$as_echo "@%:@define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
8683
 
+
8684
 
+  fi
8685
 
+
8686
 
+
8687
 
+
8688
 
+
8689
 
+  
8690
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether realpath works" >&5
8691
 
+$as_echo_n "checking whether realpath works... " >&6; }
8692
 
+if ${gl_cv_func_realpath_works+:} false; then :
8693
 
+  $as_echo_n "(cached) " >&6
8694
 
+else
8695
 
+  
8696
 
+    touch conftest.a
8697
 
+    mkdir conftest.d
8698
 
+    if test "$cross_compiling" = yes; then :
8699
 
+  gl_cv_func_realpath_works="guessing no"
8700
 
+else
8701
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8702
 
+/* end confdefs.h.  */
8703
 
+
8704
 
+      
8705
 
+        
8706
 
+#include <stdlib.h>
8707
 
+#if defined __MACH__ && defined __APPLE__
8708
 
+/* Avoid a crash on MacOS X.  */
8709
 
+#include <mach/mach.h>
8710
 
+#include <mach/mach_error.h>
8711
 
+#include <mach/thread_status.h>
8712
 
+#include <mach/exception.h>
8713
 
+#include <mach/task.h>
8714
 
+#include <pthread.h>
8715
 
+/* The exception port on which our thread listens.  */
8716
 
+static mach_port_t our_exception_port;
8717
 
+/* The main function of the thread listening for exceptions of type
8718
 
+   EXC_BAD_ACCESS.  */
8719
 
+static void *
8720
 
+mach_exception_thread (void *arg)
8721
 
+{
8722
 
+  /* Buffer for a message to be received.  */
8723
 
+  struct {
8724
 
+    mach_msg_header_t head;
8725
 
+    mach_msg_body_t msgh_body;
8726
 
+    char data[1024];
8727
 
+  } msg;
8728
 
+  mach_msg_return_t retval;
8729
 
+  /* Wait for a message on the exception port.  */
8730
 
+  retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
8731
 
+                     our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
8732
 
+  if (retval != MACH_MSG_SUCCESS)
8733
 
+    abort ();
8734
 
+  exit (1);
8735
 
+}
8736
 
+static void
8737
 
+nocrash_init (void)
8738
 
+{
8739
 
+  mach_port_t self = mach_task_self ();
8740
 
+  /* Allocate a port on which the thread shall listen for exceptions.  */
8741
 
+  if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
8742
 
+      == KERN_SUCCESS) {
8743
 
+    /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html.  */
8744
 
+    if (mach_port_insert_right (self, our_exception_port, our_exception_port,
8745
 
+                                MACH_MSG_TYPE_MAKE_SEND)
8746
 
+        == KERN_SUCCESS) {
8747
 
+      /* The exceptions we want to catch.  Only EXC_BAD_ACCESS is interesting
8748
 
+         for us.  */
8749
 
+      exception_mask_t mask = EXC_MASK_BAD_ACCESS;
8750
 
+      /* Create the thread listening on the exception port.  */
8751
 
+      pthread_attr_t attr;
8752
 
+      pthread_t thread;
8753
 
+      if (pthread_attr_init (&attr) == 0
8754
 
+          && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
8755
 
+          && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
8756
 
+        pthread_attr_destroy (&attr);
8757
 
+        /* Replace the exception port info for these exceptions with our own.
8758
 
+           Note that we replace the exception port for the entire task, not only
8759
 
+           for a particular thread.  This has the effect that when our exception
8760
 
+           port gets the message, the thread specific exception port has already
8761
 
+           been asked, and we don't need to bother about it.
8762
 
+           See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html.  */
8763
 
+        task_set_exception_ports (self, mask, our_exception_port,
8764
 
+                                  EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
8765
 
+      }
8766
 
+    }
8767
 
+  }
8768
 
+}
8769
 
+#else
8770
 
+/* Avoid a crash on POSIX systems.  */
8771
 
+#include <signal.h>
8772
 
+/* A POSIX signal handler.  */
8773
 
+static void
8774
 
+exception_handler (int sig)
8775
 
+{
8776
 
+  exit (1);
8777
 
+}
8778
 
+static void
8779
 
+nocrash_init (void)
8780
 
+{
8781
 
+#ifdef SIGSEGV
8782
 
+  signal (SIGSEGV, exception_handler);
8783
 
+#endif
8784
 
+#ifdef SIGBUS
8785
 
+  signal (SIGBUS, exception_handler);
8786
 
+#endif
8787
 
+}
8788
 
+#endif
8789
 
+
8790
 
+        #include <stdlib.h>
8791
 
+        #include <string.h>
8792
 
+      
8793
 
+int
8794
 
+main ()
8795
 
+{
8796
 
+
8797
 
+        int result = 0;
8798
 
+        {
8799
 
+          char *name = realpath ("conftest.a", NULL);
8800
 
+          if (!(name && *name == '/'))
8801
 
+            result |= 1;
8802
 
+        }
8803
 
+        {
8804
 
+          char *name = realpath ("conftest.b/../conftest.a", NULL);
8805
 
+          if (name != NULL)
8806
 
+            result |= 2;
8807
 
+        }
8808
 
+        {
8809
 
+          char *name = realpath ("conftest.a/", NULL);
8810
 
+          if (name != NULL)
8811
 
+            result |= 4;
8812
 
+        }
8813
 
+        {
8814
 
+          char *name1 = realpath (".", NULL);
8815
 
+          char *name2 = realpath ("conftest.d//./..", NULL);
8816
 
+          if (strcmp (name1, name2) != 0)
8817
 
+            result |= 8;
8818
 
+        }
8819
 
+        return result;
8820
 
+      
8821
 
+  ;
8822
 
+  return 0;
8823
 
+}
8824
 
+    
8825
 
+_ACEOF
8826
 
+if ac_fn_c_try_run "$LINENO"; then :
8827
 
+  gl_cv_func_realpath_works=yes
8828
 
+else
8829
 
+  gl_cv_func_realpath_works=no
8830
 
+fi
8831
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8832
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
8833
 
+fi
8834
 
+
8835
 
+    rm -rf conftest.a conftest.d
8836
 
+  
8837
 
+fi
8838
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_realpath_works" >&5
8839
 
+$as_echo "$gl_cv_func_realpath_works" >&6; }
8840
 
+  if test "$gl_cv_func_realpath_works" = yes; then
8841
 
+    
8842
 
+$as_echo "@%:@define FUNC_REALPATH_WORKS 1" >>confdefs.h
8843
 
+
8844
 
+  fi
8845
 
+
8846
 
+
8847
 
+
8848
 
+
8849
 
+  GNULIB_CHOWN=0;                
8850
 
+  GNULIB_CLOSE=0;                
8851
 
+  GNULIB_DUP2=0;                 
8852
 
+  GNULIB_DUP3=0;                 
8853
 
+  GNULIB_ENVIRON=0;              
8854
 
+  GNULIB_EUIDACCESS=0;           
8855
 
+  GNULIB_FACCESSAT=0;            
8856
 
+  GNULIB_FCHDIR=0;               
8857
 
+  GNULIB_FCHOWNAT=0;             
8858
 
+  GNULIB_FSYNC=0;                
8859
 
+  GNULIB_FTRUNCATE=0;            
8860
 
+  GNULIB_GETCWD=0;               
8861
 
+  GNULIB_GETDOMAINNAME=0;        
8862
 
+  GNULIB_GETDTABLESIZE=0;        
8863
 
+  GNULIB_GETGROUPS=0;            
8864
 
+  GNULIB_GETHOSTNAME=0;          
8865
 
+  GNULIB_GETLOGIN=0;             
8866
 
+  GNULIB_GETLOGIN_R=0;           
8867
 
+  GNULIB_GETPAGESIZE=0;          
8868
 
+  GNULIB_GETUSERSHELL=0;         
8869
 
+  GNULIB_GROUP_MEMBER=0;         
8870
 
+  GNULIB_LCHOWN=0;               
8871
 
+  GNULIB_LINK=0;                 
8872
 
+  GNULIB_LINKAT=0;               
8873
 
+  GNULIB_LSEEK=0;                
8874
 
+  GNULIB_PIPE=0;                 
8875
 
+  GNULIB_PIPE2=0;                
8876
 
+  GNULIB_PREAD=0;                
8877
 
+  GNULIB_PWRITE=0;               
8878
 
+  GNULIB_READ=0;                 
8879
 
+  GNULIB_READLINK=0;             
8880
 
+  GNULIB_READLINKAT=0;           
8881
 
+  GNULIB_RMDIR=0;                
8882
 
+  GNULIB_SLEEP=0;                
8883
 
+  GNULIB_SYMLINK=0;              
8884
 
+  GNULIB_SYMLINKAT=0;            
8885
 
+  GNULIB_TTYNAME_R=0;            
8886
 
+  GNULIB_UNISTD_H_GETOPT=0;      
8887
 
+  GNULIB_UNISTD_H_NONBLOCKING=0; 
8888
 
+  GNULIB_UNISTD_H_SIGPIPE=0;     
8889
 
+  GNULIB_UNLINK=0;               
8890
 
+  GNULIB_UNLINKAT=0;             
8891
 
+  GNULIB_USLEEP=0;               
8892
 
+  GNULIB_WRITE=0;                
8893
 
+    HAVE_CHOWN=1;           
8894
 
+  HAVE_DUP2=1;            
8895
 
+  HAVE_DUP3=1;            
8896
 
+  HAVE_EUIDACCESS=1;      
8897
 
+  HAVE_FACCESSAT=1;       
8898
 
+  HAVE_FCHDIR=1;          
8899
 
+  HAVE_FCHOWNAT=1;        
8900
 
+  HAVE_FSYNC=1;           
8901
 
+  HAVE_FTRUNCATE=1;       
8902
 
+  HAVE_GETDTABLESIZE=1;   
8903
 
+  HAVE_GETGROUPS=1;       
8904
 
+  HAVE_GETHOSTNAME=1;     
8905
 
+  HAVE_GETLOGIN=1;        
8906
 
+  HAVE_GETPAGESIZE=1;     
8907
 
+  HAVE_GROUP_MEMBER=1;    
8908
 
+  HAVE_LCHOWN=1;          
8909
 
+  HAVE_LINK=1;            
8910
 
+  HAVE_LINKAT=1;          
8911
 
+  HAVE_PIPE=1;            
8912
 
+  HAVE_PIPE2=1;           
8913
 
+  HAVE_PREAD=1;           
8914
 
+  HAVE_PWRITE=1;          
8915
 
+  HAVE_READLINK=1;        
8916
 
+  HAVE_READLINKAT=1;      
8917
 
+  HAVE_SLEEP=1;           
8918
 
+  HAVE_SYMLINK=1;         
8919
 
+  HAVE_SYMLINKAT=1;       
8920
 
+  HAVE_UNLINKAT=1;        
8921
 
+  HAVE_USLEEP=1;          
8922
 
+  HAVE_DECL_ENVIRON=1;    
8923
 
+  HAVE_DECL_FCHDIR=1;     
8924
 
+  HAVE_DECL_GETDOMAINNAME=1; 
8925
 
+  HAVE_DECL_GETLOGIN_R=1; 
8926
 
+  HAVE_DECL_GETPAGESIZE=1; 
8927
 
+  HAVE_DECL_GETUSERSHELL=1; 
8928
 
+  HAVE_DECL_TTYNAME_R=1;  
8929
 
+  HAVE_OS_H=0;            
8930
 
+  HAVE_SYS_PARAM_H=0;     
8931
 
+  REPLACE_CHOWN=0;        
8932
 
+  REPLACE_CLOSE=0;        
8933
 
+  REPLACE_DUP=0;          
8934
 
+  REPLACE_DUP2=0;         
8935
 
+  REPLACE_FCHOWNAT=0;     
8936
 
+  REPLACE_GETCWD=0;       
8937
 
+  REPLACE_GETDOMAINNAME=0; 
8938
 
+  REPLACE_GETLOGIN_R=0;   
8939
 
+  REPLACE_GETGROUPS=0;    
8940
 
+  REPLACE_GETPAGESIZE=0;  
8941
 
+  REPLACE_LCHOWN=0;       
8942
 
+  REPLACE_LINK=0;         
8943
 
+  REPLACE_LINKAT=0;       
8944
 
+  REPLACE_LSEEK=0;        
8945
 
+  REPLACE_PREAD=0;        
8946
 
+  REPLACE_PWRITE=0;       
8947
 
+  REPLACE_READ=0;         
8948
 
+  REPLACE_READLINK=0;     
8949
 
+  REPLACE_RMDIR=0;        
8950
 
+  REPLACE_SLEEP=0;        
8951
 
+  REPLACE_SYMLINK=0;      
8952
 
+  REPLACE_TTYNAME_R=0;    
8953
 
+  REPLACE_UNLINK=0;       
8954
 
+  REPLACE_UNLINKAT=0;     
8955
 
+  REPLACE_USLEEP=0;       
8956
 
+  REPLACE_WRITE=0;        
8957
 
+  UNISTD_H_HAVE_WINSOCK2_H=0; 
8958
 
+  UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0;
8959
 
+                           
8960
 
+
8961
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8962
 
+$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8963
 
+if ${ac_cv_type_uid_t+:} false; then :
8964
 
+  $as_echo_n "(cached) " >&6
8965
 
+else
8966
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8967
 
+/* end confdefs.h.  */
8968
 
+#include <sys/types.h>
8969
 
+
8970
 
+_ACEOF
8971
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8972
 
+  $EGREP "uid_t" >/dev/null 2>&1; then :
8973
 
+  ac_cv_type_uid_t=yes
8974
 
+else
8975
 
+  ac_cv_type_uid_t=no
8976
 
+fi
8977
 
+rm -f conftest*
8978
 
+
8979
 
+fi
8980
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8981
 
+$as_echo "$ac_cv_type_uid_t" >&6; }
8982
 
+if test $ac_cv_type_uid_t = no; then
8983
 
+  
8984
 
+$as_echo "@%:@define uid_t int" >>confdefs.h
8985
 
+
8986
 
+  
8987
 
+$as_echo "@%:@define gid_t int" >>confdefs.h
8988
 
+
8989
 
+fi
8990
 
+
8991
 
+for ac_header in unistd.h
8992
 
+do :
8993
 
+  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
8994
 
+if test "x$ac_cv_header_unistd_h" = xyes; then :
8995
 
+  cat >>confdefs.h <<_ACEOF
8996
 
+@%:@define HAVE_UNISTD_H 1
8997
 
+_ACEOF
8998
 
8999
 
+fi
9000
 
+
9001
 
+done
9002
 
+
9003
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
9004
 
+$as_echo_n "checking for working chown... " >&6; }
9005
 
+if ${ac_cv_func_chown_works+:} false; then :
9006
 
+  $as_echo_n "(cached) " >&6
9007
 
+else
9008
 
+  if test "$cross_compiling" = yes; then :
9009
 
+  ac_cv_func_chown_works=no
9010
 
+else
9011
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9012
 
+/* end confdefs.h.  */
9013
 
+$ac_includes_default
9014
 
+#include <fcntl.h>
9015
 
+
9016
 
+int
9017
 
+main ()
9018
 
+{
9019
 
+  char *f = "conftest.chown";
9020
 
+  struct stat before, after;
9021
 
+
9022
 
+  if (creat (f, 0600) < 0)
9023
 
+    return 1;
9024
 
+  if (stat (f, &before) < 0)
9025
 
+    return 1;
9026
 
+  if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
9027
 
+    return 1;
9028
 
+  if (stat (f, &after) < 0)
9029
 
+    return 1;
9030
 
+  return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
9031
 
+
9032
 
+  ;
9033
 
+  return 0;
9034
 
+}
9035
 
+_ACEOF
9036
 
+if ac_fn_c_try_run "$LINENO"; then :
9037
 
+  ac_cv_func_chown_works=yes
9038
 
+else
9039
 
+  ac_cv_func_chown_works=no
9040
 
+fi
9041
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9042
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
9043
 
+fi
9044
 
+
9045
 
+rm -f conftest.chown
9046
 
+
9047
 
+fi
9048
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5
9049
 
+$as_echo "$ac_cv_func_chown_works" >&6; }
9050
 
+if test $ac_cv_func_chown_works = yes; then
9051
 
+  
9052
 
+$as_echo "@%:@define HAVE_CHOWN 1" >>confdefs.h
9053
 
+
9054
 
+fi
9055
 
+
9056
 
+
9057
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether chown dereferences symlinks" >&5
9058
 
+$as_echo_n "checking whether chown dereferences symlinks... " >&6; }
9059
 
+if ${gl_cv_func_chown_follows_symlink+:} false; then :
9060
 
+  $as_echo_n "(cached) " >&6
9061
 
+else
9062
 
+  
9063
 
+      if test "$cross_compiling" = yes; then :
9064
 
+  gl_cv_func_chown_follows_symlink=yes
9065
 
+      
9066
 
+else
9067
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9068
 
+/* end confdefs.h.  */
9069
 
+
9070
 
+#include <unistd.h>
9071
 
+#include <stdlib.h>
9072
 
+#include <errno.h>
9073
 
+
9074
 
+        int
9075
 
+        main ()
9076
 
+        {
9077
 
+          int result = 0;
9078
 
+          char const *dangling_symlink = "conftest.dangle";
9079
 
+
9080
 
+          unlink (dangling_symlink);
9081
 
+          if (symlink ("conftest.no-such", dangling_symlink))
9082
 
+            abort ();
9083
 
+
9084
 
+          /* Exit successfully on a conforming system,
9085
 
+             i.e., where chown must fail with ENOENT.  */
9086
 
+          if (chown (dangling_symlink, getuid (), getgid ()) == 0)
9087
 
+            result |= 1;
9088
 
+          if (errno != ENOENT)
9089
 
+            result |= 2;
9090
 
+          return result;
9091
 
+        }
9092
 
+        
9093
 
+_ACEOF
9094
 
+if ac_fn_c_try_run "$LINENO"; then :
9095
 
+  gl_cv_func_chown_follows_symlink=yes
9096
 
+else
9097
 
+  gl_cv_func_chown_follows_symlink=no
9098
 
+fi
9099
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9100
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
9101
 
+fi
9102
 
+
9103
 
+    
9104
 
+  
9105
 
+fi
9106
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_chown_follows_symlink" >&5
9107
 
+$as_echo "$gl_cv_func_chown_follows_symlink" >&6; }
9108
 
+
9109
 
+  if test $gl_cv_func_chown_follows_symlink = no; then
9110
 
+    
9111
 
+$as_echo "@%:@define CHOWN_MODIFIES_SYMLINK 1" >>confdefs.h
9112
 
+
9113
 
+  fi
9114
 
+
9115
 
+
9116
 
+
9117
 
+
9118
 
+
9119
 
+
9120
 
+  
9121
 
+  
9122
 
+  
9123
 
+  
9124
 
+  
9125
 
+
9126
 
+    if test $ac_cv_func_chown = no; then
9127
 
+    HAVE_CHOWN=0
9128
 
+  else
9129
 
+        if test $gl_cv_func_chown_follows_symlink = no; then
9130
 
+      REPLACE_CHOWN=1
9131
 
+    fi
9132
 
+
9133
 
+        if test $ac_cv_func_chown_works = no; then
9134
 
+      
9135
 
+$as_echo "@%:@define CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE 1" >>confdefs.h
9136
 
+
9137
 
+      REPLACE_CHOWN=1
9138
 
+    fi
9139
 
+
9140
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether chown honors trailing slash" >&5
9141
 
+$as_echo_n "checking whether chown honors trailing slash... " >&6; }
9142
 
+if ${gl_cv_func_chown_slash_works+:} false; then :
9143
 
+  $as_echo_n "(cached) " >&6
9144
 
+else
9145
 
+  touch conftest.file && rm -f conftest.link
9146
 
+       if test "$cross_compiling" = yes; then :
9147
 
+  gl_cv_func_chown_slash_works="guessing no"
9148
 
+else
9149
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9150
 
+/* end confdefs.h.  */
9151
 
+
9152
 
+#include <unistd.h>
9153
 
+#include <stdlib.h>
9154
 
+#include <errno.h>
9155
 
+
9156
 
+int
9157
 
+main ()
9158
 
+{
9159
 
+    if (symlink ("conftest.file", "conftest.link")) return 1;
9160
 
+          if (chown ("conftest.link/", getuid (), getgid ()) == 0) return 2;
9161
 
+        
9162
 
+  ;
9163
 
+  return 0;
9164
 
+}
9165
 
+_ACEOF
9166
 
+if ac_fn_c_try_run "$LINENO"; then :
9167
 
+  gl_cv_func_chown_slash_works=yes
9168
 
+else
9169
 
+  gl_cv_func_chown_slash_works=no
9170
 
+fi
9171
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9172
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
9173
 
+fi
9174
 
+
9175
 
+      rm -f conftest.link conftest.file
9176
 
+fi
9177
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_chown_slash_works" >&5
9178
 
+$as_echo "$gl_cv_func_chown_slash_works" >&6; }
9179
 
+    if test "$gl_cv_func_chown_slash_works" != yes; then
9180
 
+      
9181
 
+$as_echo "@%:@define CHOWN_TRAILING_SLASH_BUG 1" >>confdefs.h
9182
 
+
9183
 
+      REPLACE_CHOWN=1
9184
 
+    fi
9185
 
+
9186
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether chown always updates ctime" >&5
9187
 
+$as_echo_n "checking whether chown always updates ctime... " >&6; }
9188
 
+if ${gl_cv_func_chown_ctime_works+:} false; then :
9189
 
+  $as_echo_n "(cached) " >&6
9190
 
+else
9191
 
+  if test "$cross_compiling" = yes; then :
9192
 
+  gl_cv_func_chown_ctime_works="guessing no"
9193
 
+else
9194
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9195
 
+/* end confdefs.h.  */
9196
 
+
9197
 
+#include <unistd.h>
9198
 
+#include <stdlib.h>
9199
 
+#include <errno.h>
9200
 
+#include <fcntl.h>
9201
 
+#include <sys/stat.h>
9202
 
+
9203
 
+int
9204
 
+main ()
9205
 
+{
9206
 
+    struct stat st1, st2;
9207
 
+          if (close (creat ("conftest.file", 0600))) return 1;
9208
 
+          if (stat ("conftest.file", &st1)) return 2;
9209
 
+          sleep (1);
9210
 
+          if (chown ("conftest.file", st1.st_uid, st1.st_gid)) return 3;
9211
 
+          if (stat ("conftest.file", &st2)) return 4;
9212
 
+          if (st2.st_ctime <= st1.st_ctime) return 5;
9213
 
+        
9214
 
+  ;
9215
 
+  return 0;
9216
 
+}
9217
 
+_ACEOF
9218
 
+if ac_fn_c_try_run "$LINENO"; then :
9219
 
+  gl_cv_func_chown_ctime_works=yes
9220
 
+else
9221
 
+  gl_cv_func_chown_ctime_works=no
9222
 
+fi
9223
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9224
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
9225
 
+fi
9226
 
+
9227
 
+      rm -f conftest.file
9228
 
+fi
9229
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_chown_ctime_works" >&5
9230
 
+$as_echo "$gl_cv_func_chown_ctime_works" >&6; }
9231
 
+    if test "$gl_cv_func_chown_ctime_works" != yes; then
9232
 
+      
9233
 
+$as_echo "@%:@define CHOWN_CHANGE_TIME_BUG 1" >>confdefs.h
9234
 
+
9235
 
+      REPLACE_CHOWN=1
9236
 
+    fi
9237
 
+  fi
9238
 
+
9239
 
+
9240
 
+  GNULIB_IOCTL=0;         
9241
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=0; 
9242
 
+  SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0;
9243
 
+                        
9244
 
+  REPLACE_IOCTL=0;      
9245
 
+
9246
 
+
9247
 
+
9248
 
+
9249
 
+
9250
 
+
9251
 
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
9252
 
+$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
9253
 
+if ${ac_cv_c_bigendian+:} false; then :
9254
 
+  $as_echo_n "(cached) " >&6
9255
 
+else
9256
 
+  ac_cv_c_bigendian=unknown
9257
 
+    # See if we're dealing with a universal compiler.
9258
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9259
 
+/* end confdefs.h.  */
9260
 
+#ifndef __APPLE_CC__
9261
 
+              not a universal capable compiler
9262
 
+            #endif
9263
 
+            typedef int dummy;
9264
 
+           
9265
 
+_ACEOF
9266
 
+if ac_fn_c_try_compile "$LINENO"; then :
9267
 
+  
9268
 
+       # Check for potential -arch flags.  It is not universal unless
9269
 
+       # there are at least two -arch flags with different values.
9270
 
+       ac_arch=
9271
 
+       ac_prev=
9272
 
+       for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
9273
 
+        if test -n "$ac_prev"; then
9274
 
+          case $ac_word in
9275
 
+            i?86 | x86_64 | ppc | ppc64)
9276
 
+              if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
9277
 
+                ac_arch=$ac_word
9278
 
+              else
9279
 
+                ac_cv_c_bigendian=universal
9280
 
+                break
9281
 
+              fi
9282
 
+              ;;
9283
 
+          esac
9284
 
+          ac_prev=
9285
 
+        elif test "x$ac_word" = "x-arch"; then
9286
 
+          ac_prev=arch
9287
 
+        fi
9288
 
+       done
9289
 
+fi
9290
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9291
 
+    if test $ac_cv_c_bigendian = unknown; then
9292
 
+      # See if sys/param.h defines the BYTE_ORDER macro.
9293
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9294
 
+/* end confdefs.h.  */
9295
 
+#include <sys/types.h>
9296
 
+            #include <sys/param.h>
9297
 
+          
9298
 
+int
9299
 
+main ()
9300
 
+{
9301
 
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
9302
 
+                    && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
9303
 
+                    && LITTLE_ENDIAN)
9304
 
+             bogus endian macros
9305
 
+            #endif
9306
 
+          
9307
 
+  ;
9308
 
+  return 0;
9309
 
+}
9310
 
+_ACEOF
9311
 
+if ac_fn_c_try_compile "$LINENO"; then :
9312
 
+  # It does; now see whether it defined to BIG_ENDIAN or not.
9313
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9314
 
+/* end confdefs.h.  */
9315
 
+#include <sys/types.h>
9316
 
+               #include <sys/param.h>
9317
 
+             
9318
 
+int
9319
 
+main ()
9320
 
+{
9321
 
+#if BYTE_ORDER != BIG_ENDIAN
9322
 
+                not big endian
9323
 
+               #endif
9324
 
+             
9325
 
+  ;
9326
 
+  return 0;
9327
 
+}
9328
 
+_ACEOF
9329
 
+if ac_fn_c_try_compile "$LINENO"; then :
9330
 
+  ac_cv_c_bigendian=yes
9331
 
+else
9332
 
+  ac_cv_c_bigendian=no
9333
 
+fi
9334
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9335
 
+fi
9336
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9337
 
+    fi
9338
 
+    if test $ac_cv_c_bigendian = unknown; then
9339
 
+      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
9340
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9341
 
+/* end confdefs.h.  */
9342
 
+#include <limits.h>
9343
 
+          
9344
 
+int
9345
 
+main ()
9346
 
+{
9347
 
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
9348
 
+             bogus endian macros
9349
 
+            #endif
9350
 
+          
9351
 
+  ;
9352
 
+  return 0;
9353
 
+}
9354
 
+_ACEOF
9355
 
+if ac_fn_c_try_compile "$LINENO"; then :
9356
 
+  # It does; now see whether it defined to _BIG_ENDIAN or not.
9357
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9358
 
+/* end confdefs.h.  */
9359
 
+#include <limits.h>
9360
 
+             
9361
 
+int
9362
 
+main ()
9363
 
+{
9364
 
+#ifndef _BIG_ENDIAN
9365
 
+                not big endian
9366
 
+               #endif
9367
 
+             
9368
 
+  ;
9369
 
+  return 0;
9370
 
+}
9371
 
+_ACEOF
9372
 
+if ac_fn_c_try_compile "$LINENO"; then :
9373
 
+  ac_cv_c_bigendian=yes
9374
 
+else
9375
 
+  ac_cv_c_bigendian=no
9376
 
+fi
9377
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9378
 
+fi
9379
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9380
 
+    fi
9381
 
+    if test $ac_cv_c_bigendian = unknown; then
9382
 
+      # Compile a test program.
9383
 
+      if test "$cross_compiling" = yes; then :
9384
 
+  # Try to guess by grepping values from an object file.
9385
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9386
 
+/* end confdefs.h.  */
9387
 
+short int ascii_mm[] =
9388
 
+                 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
9389
 
+               short int ascii_ii[] =
9390
 
+                 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
9391
 
+               int use_ascii (int i) {
9392
 
+                 return ascii_mm[i] + ascii_ii[i];
9393
 
+               }
9394
 
+               short int ebcdic_ii[] =
9395
 
+                 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
9396
 
+               short int ebcdic_mm[] =
9397
 
+                 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
9398
 
+               int use_ebcdic (int i) {
9399
 
+                 return ebcdic_mm[i] + ebcdic_ii[i];
9400
 
+               }
9401
 
+               extern int foo;
9402
 
+             
9403
 
+int
9404
 
+main ()
9405
 
+{
9406
 
+return use_ascii (foo) == use_ebcdic (foo);
9407
 
+  ;
9408
 
+  return 0;
9409
 
+}
9410
 
+_ACEOF
9411
 
+if ac_fn_c_try_compile "$LINENO"; then :
9412
 
+  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
9413
 
+             ac_cv_c_bigendian=yes
9414
 
+           fi
9415
 
+           if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
9416
 
+             if test "$ac_cv_c_bigendian" = unknown; then
9417
 
+               ac_cv_c_bigendian=no
9418
 
+             else
9419
 
+               # finding both strings is unlikely to happen, but who knows?
9420
 
+               ac_cv_c_bigendian=unknown
9421
 
+             fi
9422
 
+           fi
9423
 
+fi
9424
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9425
 
+else
9426
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9427
 
+/* end confdefs.h.  */
9428
 
+$ac_includes_default
9429
 
+int
9430
 
+main ()
9431
 
+{
9432
 
+
9433
 
+            /* Are we little or big endian?  From Harbison&Steele.  */
9434
 
+            union
9435
 
+            {
9436
 
+              long int l;
9437
 
+              char c[sizeof (long int)];
9438
 
+            } u;
9439
 
+            u.l = 1;
9440
 
+            return u.c[sizeof (long int) - 1] == 1;
9441
 
+          
9442
 
+  ;
9443
 
+  return 0;
9444
 
+}
9445
 
+_ACEOF
9446
 
+if ac_fn_c_try_run "$LINENO"; then :
9447
 
+  ac_cv_c_bigendian=no
9448
 
+else
9449
 
+  ac_cv_c_bigendian=yes
9450
 
+fi
9451
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9452
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
9453
 
+fi
9454
 
+
9455
 
+    fi
9456
 
+fi
9457
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
9458
 
+$as_echo "$ac_cv_c_bigendian" >&6; }
9459
 
+ case $ac_cv_c_bigendian in #(
9460
 
+   yes)
9461
 
+     $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
9462
 
+;; #(
9463
 
+   no)
9464
 
+      ;; #(
9465
 
+   universal)
9466
 
+       
9467
 
+$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
9468
 
+
9469
 
+     ;; #(
9470
 
+   *)
9471
 
+     as_fn_error $? "unknown endianness
9472
 
+ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
9473
 
+ esac
9474
 
+
9475
 
+
9476
 
+
9477
 
+  GNULIB_ISBLANK=0; 
9478
 
+    HAVE_ISBLANK=1;   
9479
 
+
9480
 
+
9481
 
+     GNULIB_DIRFD=0;       
9482
 
+  GNULIB_FDOPENDIR=0;   
9483
 
+  GNULIB_SCANDIR=0;     
9484
 
+  GNULIB_ALPHASORT=0;   
9485
 
+    HAVE_DECL_DIRFD=1;    
9486
 
+  HAVE_DECL_FDOPENDIR=1;
9487
 
+  HAVE_FDOPENDIR=1;     
9488
 
+  HAVE_SCANDIR=1;       
9489
 
+  HAVE_ALPHASORT=1;     
9490
 
+  REPLACE_CLOSEDIR=0;   
9491
 
+  REPLACE_DIRFD=0;      
9492
 
+  REPLACE_FDOPENDIR=0;  
9493
 
+  REPLACE_OPENDIR=0;    
9494
 
+
9495
 
+
9496
 
+
9497
 
+
9498
 
+
9499
 
+
9500
 
+    
9501
 
+
9502
 
+    
9503
 
+
9504
 
+  
9505
 
+    
9506
 
+  
9507
 
+  
9508
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5
9509
 
+$as_echo_n "checking if environ is properly declared... " >&6; }
9510
 
+  if ${gt_cv_var_environ_declaration+:} false; then :
9511
 
+  $as_echo_n "(cached) " >&6
9512
 
+else
9513
 
+  
9514
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515
 
+/* end confdefs.h.  */
9516
 
+#include <unistd.h>
9517
 
+           extern struct { int foo; } environ;
9518
 
+int
9519
 
+main ()
9520
 
+{
9521
 
+environ.foo = 1;
9522
 
+  ;
9523
 
+  return 0;
9524
 
+}
9525
 
+_ACEOF
9526
 
+if ac_fn_c_try_compile "$LINENO"; then :
9527
 
+  gt_cv_var_environ_declaration=no
9528
 
+else
9529
 
+  gt_cv_var_environ_declaration=yes
9530
 
+fi
9531
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9532
 
+fi
9533
 
+
9534
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_var_environ_declaration" >&5
9535
 
+$as_echo "$gt_cv_var_environ_declaration" >&6; }
9536
 
+  if test $gt_cv_var_environ_declaration = yes; then
9537
 
+    
9538
 
+$as_echo "@%:@define HAVE_ENVIRON_DECL 1" >>confdefs.h
9539
 
+
9540
 
+  fi
9541
 
+  
9542
 
+
9543
 
+  if test $gt_cv_var_environ_declaration != yes; then
9544
 
+    HAVE_DECL_ENVIRON=0
9545
 
+  fi
9546
 
+
9547
 
+
9548
 
+  
9549
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5
9550
 
+$as_echo_n "checking for complete errno.h... " >&6; }
9551
 
+if ${gl_cv_header_errno_h_complete+:} false; then :
9552
 
+  $as_echo_n "(cached) " >&6
9553
 
+else
9554
 
+  
9555
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9556
 
+/* end confdefs.h.  */
9557
 
+
9558
 
+#include <errno.h>
9559
 
+#if !defined ENOMSG
9560
 
+booboo
9561
 
+#endif
9562
 
+#if !defined EIDRM
9563
 
+booboo
9564
 
+#endif
9565
 
+#if !defined ENOLINK
9566
 
+booboo
9567
 
+#endif
9568
 
+#if !defined EPROTO
9569
 
+booboo
9570
 
+#endif
9571
 
+#if !defined EMULTIHOP
9572
 
+booboo
9573
 
+#endif
9574
 
+#if !defined EBADMSG
9575
 
+booboo
9576
 
+#endif
9577
 
+#if !defined EOVERFLOW
9578
 
+booboo
9579
 
+#endif
9580
 
+#if !defined ENOTSUP
9581
 
+booboo
9582
 
+#endif
9583
 
+#if !defined ENETRESET
9584
 
+booboo
9585
 
+#endif
9586
 
+#if !defined ECONNABORTED
9587
 
+booboo
9588
 
+#endif
9589
 
+#if !defined ESTALE
9590
 
+booboo
9591
 
+#endif
9592
 
+#if !defined EDQUOT
9593
 
+booboo
9594
 
+#endif
9595
 
+#if !defined ECANCELED
9596
 
+booboo
9597
 
+#endif
9598
 
+      
9599
 
+_ACEOF
9600
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9601
 
+  $EGREP "booboo" >/dev/null 2>&1; then :
9602
 
+  gl_cv_header_errno_h_complete=no
9603
 
+else
9604
 
+  gl_cv_header_errno_h_complete=yes
9605
 
+fi
9606
 
+rm -f conftest*
9607
 
+
9608
 
+  
9609
 
+fi
9610
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5
9611
 
+$as_echo "$gl_cv_header_errno_h_complete" >&6; }
9612
 
+  if test $gl_cv_header_errno_h_complete = yes; then
9613
 
+    ERRNO_H=''
9614
 
+  else
9615
 
+    
9616
 
+  
9617
 
+  
9618
 
+  
9619
 
+
9620
 
+  
9621
 
+
9622
 
+  
9623
 
+     if test $gl_cv_have_include_next = yes; then
9624
 
+       gl_cv_next_errno_h='<'errno.h'>'
9625
 
+     else
9626
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <errno.h>" >&5
9627
 
+$as_echo_n "checking absolute name of <errno.h>... " >&6; }
9628
 
+if ${gl_cv_next_errno_h+:} false; then :
9629
 
+  $as_echo_n "(cached) " >&6
9630
 
+else
9631
 
+  
9632
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633
 
+/* end confdefs.h.  */
9634
 
+#include <errno.h>
9635
 
+                  
9636
 
+_ACEOF
9637
 
+                                                                                                                        case "$host_os" in
9638
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
9639
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
9640
 
+               esac
9641
 
+                                                            gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
9642
 
+                  sed -n '\#/errno.h#{
9643
 
+                    s#.*"\(.*/errno.h\)".*#\1#
9644
 
+                    s#^/[^/]#//&#
9645
 
+                    p
9646
 
+                    q
9647
 
+                  }'`'"'
9648
 
+          
9649
 
+         
9650
 
+fi
9651
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5
9652
 
+$as_echo "$gl_cv_next_errno_h" >&6; }
9653
 
+     fi
9654
 
+     NEXT_ERRNO_H=$gl_cv_next_errno_h
9655
 
+
9656
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
9657
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
9658
 
+       gl_next_as_first_directive='<'errno.h'>'
9659
 
+     else
9660
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
9661
 
+       gl_next_as_first_directive=$gl_cv_next_errno_h
9662
 
+     fi
9663
 
+     NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive
9664
 
+
9665
 
+     
9666
 
+
9667
 
+
9668
 
+    ERRNO_H='errno.h'
9669
 
+  fi
9670
 
+  
9671
 
+   if test -n "$ERRNO_H"; then
9672
 
+  GL_GENERATE_ERRNO_H_TRUE=
9673
 
+  GL_GENERATE_ERRNO_H_FALSE='#'
9674
 
+else
9675
 
+  GL_GENERATE_ERRNO_H_TRUE='#'
9676
 
+  GL_GENERATE_ERRNO_H_FALSE=
9677
 
+fi
9678
 
+
9679
 
+  
9680
 
+  if test -n "$ERRNO_H"; then
9681
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5
9682
 
+$as_echo_n "checking for EMULTIHOP value... " >&6; }
9683
 
+if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then :
9684
 
+  $as_echo_n "(cached) " >&6
9685
 
+else
9686
 
+  
9687
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9688
 
+/* end confdefs.h.  */
9689
 
+
9690
 
+#include <errno.h>
9691
 
+#ifdef EMULTIHOP
9692
 
+yes
9693
 
+#endif
9694
 
+      
9695
 
+_ACEOF
9696
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9697
 
+  $EGREP "yes" >/dev/null 2>&1; then :
9698
 
+  gl_cv_header_errno_h_EMULTIHOP=yes
9699
 
+else
9700
 
+  gl_cv_header_errno_h_EMULTIHOP=no
9701
 
+fi
9702
 
+rm -f conftest*
9703
 
+
9704
 
+      if test $gl_cv_header_errno_h_EMULTIHOP = no; then
9705
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9706
 
+/* end confdefs.h.  */
9707
 
+
9708
 
+#define _XOPEN_SOURCE_EXTENDED 1
9709
 
+#include <errno.h>
9710
 
+#ifdef EMULTIHOP
9711
 
+yes
9712
 
+#endif
9713
 
+          
9714
 
+_ACEOF
9715
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9716
 
+  $EGREP "yes" >/dev/null 2>&1; then :
9717
 
+  gl_cv_header_errno_h_EMULTIHOP=hidden
9718
 
+fi
9719
 
+rm -f conftest*
9720
 
+
9721
 
+        if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then
9722
 
+                              if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP"        "
9723
 
+#define _XOPEN_SOURCE_EXTENDED 1
9724
 
+#include <errno.h>
9725
 
+/* The following two lines are a workaround against an autoconf-2.52 bug.  */
9726
 
+#include <stdio.h>
9727
 
+#include <stdlib.h>
9728
 
+"; then :
9729
 
+  
9730
 
+fi
9731
 
+
9732
 
+        fi
9733
 
+      fi
9734
 
+    
9735
 
+fi
9736
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5
9737
 
+$as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; }
9738
 
+    case $gl_cv_header_errno_h_EMULTIHOP in
9739
 
+      yes | no)
9740
 
+        EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE=
9741
 
+        ;;
9742
 
+      *)
9743
 
+        EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP"
9744
 
+        ;;
9745
 
+    esac
9746
 
+    
9747
 
+    
9748
 
+  fi
9749
 
+
9750
 
+  
9751
 
+  if test -n "$ERRNO_H"; then
9752
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5
9753
 
+$as_echo_n "checking for ENOLINK value... " >&6; }
9754
 
+if ${gl_cv_header_errno_h_ENOLINK+:} false; then :
9755
 
+  $as_echo_n "(cached) " >&6
9756
 
+else
9757
 
+  
9758
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9759
 
+/* end confdefs.h.  */
9760
 
+
9761
 
+#include <errno.h>
9762
 
+#ifdef ENOLINK
9763
 
+yes
9764
 
+#endif
9765
 
+      
9766
 
+_ACEOF
9767
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9768
 
+  $EGREP "yes" >/dev/null 2>&1; then :
9769
 
+  gl_cv_header_errno_h_ENOLINK=yes
9770
 
+else
9771
 
+  gl_cv_header_errno_h_ENOLINK=no
9772
 
+fi
9773
 
+rm -f conftest*
9774
 
+
9775
 
+      if test $gl_cv_header_errno_h_ENOLINK = no; then
9776
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9777
 
+/* end confdefs.h.  */
9778
 
+
9779
 
+#define _XOPEN_SOURCE_EXTENDED 1
9780
 
+#include <errno.h>
9781
 
+#ifdef ENOLINK
9782
 
+yes
9783
 
+#endif
9784
 
+          
9785
 
+_ACEOF
9786
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9787
 
+  $EGREP "yes" >/dev/null 2>&1; then :
9788
 
+  gl_cv_header_errno_h_ENOLINK=hidden
9789
 
+fi
9790
 
+rm -f conftest*
9791
 
+
9792
 
+        if test $gl_cv_header_errno_h_ENOLINK = hidden; then
9793
 
+                              if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK"        "
9794
 
+#define _XOPEN_SOURCE_EXTENDED 1
9795
 
+#include <errno.h>
9796
 
+/* The following two lines are a workaround against an autoconf-2.52 bug.  */
9797
 
+#include <stdio.h>
9798
 
+#include <stdlib.h>
9799
 
+"; then :
9800
 
+  
9801
 
+fi
9802
 
+
9803
 
+        fi
9804
 
+      fi
9805
 
+    
9806
 
+fi
9807
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5
9808
 
+$as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; }
9809
 
+    case $gl_cv_header_errno_h_ENOLINK in
9810
 
+      yes | no)
9811
 
+        ENOLINK_HIDDEN=0; ENOLINK_VALUE=
9812
 
+        ;;
9813
 
+      *)
9814
 
+        ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK"
9815
 
+        ;;
9816
 
+    esac
9817
 
+    
9818
 
+    
9819
 
+  fi
9820
 
+
9821
 
+  
9822
 
+  if test -n "$ERRNO_H"; then
9823
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5
9824
 
+$as_echo_n "checking for EOVERFLOW value... " >&6; }
9825
 
+if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then :
9826
 
+  $as_echo_n "(cached) " >&6
9827
 
+else
9828
 
+  
9829
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830
 
+/* end confdefs.h.  */
9831
 
+
9832
 
+#include <errno.h>
9833
 
+#ifdef EOVERFLOW
9834
 
+yes
9835
 
+#endif
9836
 
+      
9837
 
+_ACEOF
9838
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9839
 
+  $EGREP "yes" >/dev/null 2>&1; then :
9840
 
+  gl_cv_header_errno_h_EOVERFLOW=yes
9841
 
+else
9842
 
+  gl_cv_header_errno_h_EOVERFLOW=no
9843
 
+fi
9844
 
+rm -f conftest*
9845
 
+
9846
 
+      if test $gl_cv_header_errno_h_EOVERFLOW = no; then
9847
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848
 
+/* end confdefs.h.  */
9849
 
+
9850
 
+#define _XOPEN_SOURCE_EXTENDED 1
9851
 
+#include <errno.h>
9852
 
+#ifdef EOVERFLOW
9853
 
+yes
9854
 
+#endif
9855
 
+          
9856
 
+_ACEOF
9857
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9858
 
+  $EGREP "yes" >/dev/null 2>&1; then :
9859
 
+  gl_cv_header_errno_h_EOVERFLOW=hidden
9860
 
+fi
9861
 
+rm -f conftest*
9862
 
+
9863
 
+        if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then
9864
 
+                              if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW"        "
9865
 
+#define _XOPEN_SOURCE_EXTENDED 1
9866
 
+#include <errno.h>
9867
 
+/* The following two lines are a workaround against an autoconf-2.52 bug.  */
9868
 
+#include <stdio.h>
9869
 
+#include <stdlib.h>
9870
 
+"; then :
9871
 
+  
9872
 
+fi
9873
 
+
9874
 
+        fi
9875
 
+      fi
9876
 
+    
9877
 
+fi
9878
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5
9879
 
+$as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; }
9880
 
+    case $gl_cv_header_errno_h_EOVERFLOW in
9881
 
+      yes | no)
9882
 
+        EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE=
9883
 
+        ;;
9884
 
+      *)
9885
 
+        EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW"
9886
 
+        ;;
9887
 
+    esac
9888
 
+    
9889
 
+    
9890
 
+  fi
9891
 
+
9892
 
+
9893
 
+ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
9894
 
+if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
9895
 
+  ac_have_decl=1
9896
 
+else
9897
 
+  ac_have_decl=0
9898
 
+fi
9899
 
+
9900
 
+cat >>confdefs.h <<_ACEOF
9901
 
+@%:@define HAVE_DECL_STRERROR_R $ac_have_decl
9902
 
+_ACEOF
9903
 
+
9904
 
+for ac_func in strerror_r
9905
 
+do :
9906
 
+  ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
9907
 
+if test "x$ac_cv_func_strerror_r" = xyes; then :
9908
 
+  cat >>confdefs.h <<_ACEOF
9909
 
+@%:@define HAVE_STRERROR_R 1
9910
 
+_ACEOF
9911
 
9912
 
+fi
9913
 
+done
9914
 
+
9915
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
9916
 
+$as_echo_n "checking whether strerror_r returns char *... " >&6; }
9917
 
+if ${ac_cv_func_strerror_r_char_p+:} false; then :
9918
 
+  $as_echo_n "(cached) " >&6
9919
 
+else
9920
 
+  
9921
 
+    ac_cv_func_strerror_r_char_p=no
9922
 
+    if test $ac_cv_have_decl_strerror_r = yes; then
9923
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9924
 
+/* end confdefs.h.  */
9925
 
+$ac_includes_default
9926
 
+int
9927
 
+main ()
9928
 
+{
9929
 
+
9930
 
+         char buf[100];
9931
 
+         char x = *strerror_r (0, buf, sizeof buf);
9932
 
+         char *p = strerror_r (0, buf, sizeof buf);
9933
 
+         return !p || x;
9934
 
+       
9935
 
+  ;
9936
 
+  return 0;
9937
 
+}
9938
 
+_ACEOF
9939
 
+if ac_fn_c_try_compile "$LINENO"; then :
9940
 
+  ac_cv_func_strerror_r_char_p=yes
9941
 
+fi
9942
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9943
 
+    else
9944
 
+      # strerror_r is not declared.  Choose between
9945
 
+      # systems that have relatively inaccessible declarations for the
9946
 
+      # function.  BeOS and DEC UNIX 4.0 fall in this category, but the
9947
 
+      # former has a strerror_r that returns char*, while the latter
9948
 
+      # has a strerror_r that returns `int'.
9949
 
+      # This test should segfault on the DEC system.
9950
 
+      if test "$cross_compiling" = yes; then :
9951
 
+  :
9952
 
+else
9953
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9954
 
+/* end confdefs.h.  */
9955
 
+$ac_includes_default
9956
 
+       extern char *strerror_r ();
9957
 
+int
9958
 
+main ()
9959
 
+{
9960
 
+char buf[100];
9961
 
+         char x = *strerror_r (0, buf, sizeof buf);
9962
 
+         return ! isalpha (x);
9963
 
+  ;
9964
 
+  return 0;
9965
 
+}
9966
 
+_ACEOF
9967
 
+if ac_fn_c_try_run "$LINENO"; then :
9968
 
+  ac_cv_func_strerror_r_char_p=yes
9969
 
+fi
9970
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9971
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
9972
 
+fi
9973
 
+
9974
 
+    fi
9975
 
+  
9976
 
+fi
9977
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
9978
 
+$as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
9979
 
+if test $ac_cv_func_strerror_r_char_p = yes; then
9980
 
+  
9981
 
+$as_echo "@%:@define STRERROR_R_CHAR_P 1" >>confdefs.h
9982
 
+
9983
 
+fi
9984
 
+
9985
 
+
9986
 
+  XGETTEXT_EXTRA_OPTIONS=
9987
 
+
9988
 
+
9989
 
+
9990
 
+
9991
 
+
9992
 
+ac_fn_c_check_decl "$LINENO" "setregid" "ac_cv_have_decl_setregid" "$ac_includes_default"
9993
 
+if test "x$ac_cv_have_decl_setregid" = xyes; then :
9994
 
+  ac_have_decl=1
9995
 
+else
9996
 
+  ac_have_decl=0
9997
 
+fi
9998
 
+
9999
 
+cat >>confdefs.h <<_ACEOF
10000
 
+@%:@define HAVE_DECL_SETREGID $ac_have_decl
10001
 
+_ACEOF
10002
 
+
10003
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
10004
 
+$as_echo_n "checking type of array argument to getgroups... " >&6; }
10005
 
+if ${ac_cv_type_getgroups+:} false; then :
10006
 
+  $as_echo_n "(cached) " >&6
10007
 
+else
10008
 
+  if test "$cross_compiling" = yes; then :
10009
 
+  ac_cv_type_getgroups=cross
10010
 
+else
10011
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10012
 
+/* end confdefs.h.  */
10013
 
+/* Thanks to Mike Rendell for this test.  */
10014
 
+$ac_includes_default
10015
 
+#define NGID 256
10016
 
+#undef MAX
10017
 
+#define MAX(x, y) ((x) > (y) ? (x) : (y))
10018
 
+
10019
 
+int
10020
 
+main ()
10021
 
+{
10022
 
+  gid_t gidset[NGID];
10023
 
+  int i, n;
10024
 
+  union { gid_t gval; long int lval; }  val;
10025
 
+
10026
 
+  val.lval = -1;
10027
 
+  for (i = 0; i < NGID; i++)
10028
 
+    gidset[i] = val.gval;
10029
 
+  n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
10030
 
+                gidset);
10031
 
+  /* Exit non-zero if getgroups seems to require an array of ints.  This
10032
 
+     happens when gid_t is short int but getgroups modifies an array
10033
 
+     of ints.  */
10034
 
+  return n > 0 && gidset[n] != val.gval;
10035
 
+}
10036
 
+_ACEOF
10037
 
+if ac_fn_c_try_run "$LINENO"; then :
10038
 
+  ac_cv_type_getgroups=gid_t
10039
 
+else
10040
 
+  ac_cv_type_getgroups=int
10041
 
+fi
10042
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10043
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
10044
 
+fi
10045
 
+
10046
 
+if test $ac_cv_type_getgroups = cross; then
10047
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10048
 
+/* end confdefs.h.  */
10049
 
+#include <unistd.h>
10050
 
+
10051
 
+_ACEOF
10052
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10053
 
+  $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then :
10054
 
+  ac_cv_type_getgroups=gid_t
10055
 
+else
10056
 
+  ac_cv_type_getgroups=int
10057
 
+fi
10058
 
+rm -f conftest*
10059
 
+
10060
 
+fi
10061
 
+fi
10062
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
10063
 
+$as_echo "$ac_cv_type_getgroups" >&6; }
10064
 
+
10065
 
+cat >>confdefs.h <<_ACEOF
10066
 
+@%:@define GETGROUPS_T $ac_cv_type_getgroups
10067
 
+_ACEOF
10068
 
+
10069
 
+
10070
 
+ac_fn_c_check_func "$LINENO" "getgroups" "ac_cv_func_getgroups"
10071
 
+if test "x$ac_cv_func_getgroups" = xyes; then :
10072
 
+  
10073
 
+fi
10074
 
+
10075
 
+
10076
 
+# If we don't yet have getgroups, see if it's in -lbsd.
10077
 
+# This is reported to be necessary on an ITOS 3000WS running SEIUX 3.1.
10078
 
+ac_save_LIBS=$LIBS
10079
 
+if test $ac_cv_func_getgroups = no; then
10080
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgroups in -lbsd" >&5
10081
 
+$as_echo_n "checking for getgroups in -lbsd... " >&6; }
10082
 
+if ${ac_cv_lib_bsd_getgroups+:} false; then :
10083
 
+  $as_echo_n "(cached) " >&6
10084
 
+else
10085
 
+  ac_check_lib_save_LIBS=$LIBS
10086
 
+LIBS="-lbsd  $LIBS"
10087
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10088
 
+/* end confdefs.h.  */
10089
 
+
10090
 
+/* Override any GCC internal prototype to avoid an error.
10091
 
+   Use char because int might match the return type of a GCC
10092
 
+   builtin and then its argument prototype would still apply.  */
10093
 
+#ifdef __cplusplus
10094
 
+extern "C"
10095
 
+#endif
10096
 
+char getgroups ();
10097
 
+int
10098
 
+main ()
10099
 
+{
10100
 
+return getgroups ();
10101
 
+  ;
10102
 
+  return 0;
10103
 
+}
10104
 
+_ACEOF
10105
 
+if ac_fn_c_try_link "$LINENO"; then :
10106
 
+  ac_cv_lib_bsd_getgroups=yes
10107
 
+else
10108
 
+  ac_cv_lib_bsd_getgroups=no
10109
 
+fi
10110
 
+rm -f core conftest.err conftest.$ac_objext \
10111
 
+    conftest$ac_exeext conftest.$ac_ext
10112
 
+LIBS=$ac_check_lib_save_LIBS
10113
 
+fi
10114
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_getgroups" >&5
10115
 
+$as_echo "$ac_cv_lib_bsd_getgroups" >&6; }
10116
 
+if test "x$ac_cv_lib_bsd_getgroups" = xyes; then :
10117
 
+  GETGROUPS_LIB=-lbsd
10118
 
+fi
10119
 
+
10120
 
+fi
10121
 
+
10122
 
+# Run the program to test the functionality of the system-supplied
10123
 
+# getgroups function only if there is such a function.
10124
 
+if test $ac_cv_func_getgroups = yes; then
10125
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getgroups" >&5
10126
 
+$as_echo_n "checking for working getgroups... " >&6; }
10127
 
+if ${ac_cv_func_getgroups_works+:} false; then :
10128
 
+  $as_echo_n "(cached) " >&6
10129
 
+else
10130
 
+  if test "$cross_compiling" = yes; then :
10131
 
+  ac_cv_func_getgroups_works=no
10132
 
+else
10133
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10134
 
+/* end confdefs.h.  */
10135
 
+$ac_includes_default
10136
 
+int
10137
 
+main ()
10138
 
+{
10139
 
+/* On Ultrix 4.3, getgroups (0, 0) always fails.  */
10140
 
+       return getgroups (0, 0) == -1;
10141
 
+  ;
10142
 
+  return 0;
10143
 
+}
10144
 
+_ACEOF
10145
 
+if ac_fn_c_try_run "$LINENO"; then :
10146
 
+  ac_cv_func_getgroups_works=yes
10147
 
+else
10148
 
+  ac_cv_func_getgroups_works=no
10149
 
+fi
10150
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10151
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
10152
 
+fi
10153
 
+
10154
 
+   
10155
 
+fi
10156
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getgroups_works" >&5
10157
 
+$as_echo "$ac_cv_func_getgroups_works" >&6; }
10158
 
+else
10159
 
+  ac_cv_func_getgroups_works=no
10160
 
+fi
10161
 
+if test $ac_cv_func_getgroups_works = yes; then
10162
 
+  
10163
 
+$as_echo "@%:@define HAVE_GETGROUPS 1" >>confdefs.h
10164
 
+
10165
 
+fi
10166
 
+LIBS=$ac_save_LIBS
10167
 
+
10168
 
+
10169
 
+  GNULIB_FCNTL=0;        
10170
 
+  GNULIB_NONBLOCKING=0;  
10171
 
+  GNULIB_OPEN=0;         
10172
 
+  GNULIB_OPENAT=0;       
10173
 
+    HAVE_FCNTL=1;          
10174
 
+  HAVE_OPENAT=1;         
10175
 
+  REPLACE_FCNTL=0;       
10176
 
+  REPLACE_OPEN=0;        
10177
 
+  REPLACE_OPENAT=0;      
10178
 
+
10179
 
+
10180
 
+     GNULIB_FCHMODAT=0;    
10181
 
+  GNULIB_FSTATAT=0;     
10182
 
+  GNULIB_FUTIMENS=0;    
10183
 
+  GNULIB_LCHMOD=0;      
10184
 
+  GNULIB_LSTAT=0;       
10185
 
+  GNULIB_MKDIRAT=0;     
10186
 
+  GNULIB_MKFIFO=0;      
10187
 
+  GNULIB_MKFIFOAT=0;    
10188
 
+  GNULIB_MKNOD=0;       
10189
 
+  GNULIB_MKNODAT=0;     
10190
 
+  GNULIB_STAT=0;        
10191
 
+  GNULIB_UTIMENSAT=0;   
10192
 
+    HAVE_FCHMODAT=1;      
10193
 
+  HAVE_FSTATAT=1;       
10194
 
+  HAVE_FUTIMENS=1;      
10195
 
+  HAVE_LCHMOD=1;        
10196
 
+  HAVE_LSTAT=1;         
10197
 
+  HAVE_MKDIRAT=1;       
10198
 
+  HAVE_MKFIFO=1;        
10199
 
+  HAVE_MKFIFOAT=1;      
10200
 
+  HAVE_MKNOD=1;         
10201
 
+  HAVE_MKNODAT=1;       
10202
 
+  HAVE_UTIMENSAT=1;     
10203
 
+  REPLACE_FSTAT=0;      
10204
 
+  REPLACE_FSTATAT=0;    
10205
 
+  REPLACE_FUTIMENS=0;   
10206
 
+  REPLACE_LSTAT=0;      
10207
 
+  REPLACE_MKDIR=0;      
10208
 
+  REPLACE_MKFIFO=0;     
10209
 
+  REPLACE_MKNOD=0;      
10210
 
+  REPLACE_STAT=0;       
10211
 
+  REPLACE_UTIMENSAT=0;  
10212
 
+
10213
 
+
10214
 
+
10215
 
+
10216
 
+
10217
 
+
10218
 
+
10219
 
+
10220
 
+
10221
 
+
10222
 
+
10223
 
+
10224
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
10225
 
+$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
10226
 
+if ${gl_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
10227
 
+  $as_echo_n "(cached) " >&6
10228
 
+else
10229
 
+  rm -f conftest.sym conftest.file
10230
 
+     echo >conftest.file
10231
 
+     if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
10232
 
+       if test "$cross_compiling" = yes; then :
10233
 
+  # When cross-compiling, be pessimistic so we will end up using the
10234
 
+          # replacement version of lstat that checks for trailing slashes and
10235
 
+          # calls lstat a second time when necessary.
10236
 
+          gl_cv_func_lstat_dereferences_slashed_symlink=no
10237
 
+         
10238
 
+else
10239
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10240
 
+/* end confdefs.h.  */
10241
 
+$ac_includes_default
10242
 
+int
10243
 
+main ()
10244
 
+{
10245
 
+struct stat sbuf;
10246
 
+              /* Linux will dereference the symlink and fail, as required by
10247
 
+                 POSIX.  That is better in the sense that it means we will not
10248
 
+                 have to compile and use the lstat wrapper.  */
10249
 
+              return lstat ("conftest.sym/", &sbuf) == 0;
10250
 
+            
10251
 
+  ;
10252
 
+  return 0;
10253
 
+}
10254
 
+_ACEOF
10255
 
+if ac_fn_c_try_run "$LINENO"; then :
10256
 
+  gl_cv_func_lstat_dereferences_slashed_symlink=yes
10257
 
+else
10258
 
+  gl_cv_func_lstat_dereferences_slashed_symlink=no
10259
 
+fi
10260
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10261
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
10262
 
+fi
10263
 
+
10264
 
+     else
10265
 
+       # If the 'ln -s' command failed, then we probably don't even
10266
 
+       # have an lstat function.
10267
 
+       gl_cv_func_lstat_dereferences_slashed_symlink=no
10268
 
+     fi
10269
 
+     rm -f conftest.sym conftest.file
10270
 
+    
10271
 
+fi
10272
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5
10273
 
+$as_echo "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; }
10274
 
+  test $gl_cv_func_lstat_dereferences_slashed_symlink = yes &&
10275
 
+    
10276
 
+cat >>confdefs.h <<_ACEOF
10277
 
+@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
10278
 
+_ACEOF
10279
 
+
10280
 
+
10281
 
+
10282
 
+  
10283
 
+  
10284
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unlink honors trailing slashes" >&5
10285
 
+$as_echo_n "checking whether unlink honors trailing slashes... " >&6; }
10286
 
+if ${gl_cv_func_unlink_honors_slashes+:} false; then :
10287
 
+  $as_echo_n "(cached) " >&6
10288
 
+else
10289
 
+  touch conftest.file
10290
 
+     # Assume that if we have lstat, we can also check symlinks.
10291
 
+     if test $ac_cv_func_lstat = yes; then
10292
 
+       ln -s conftest.file conftest.lnk
10293
 
+     fi
10294
 
+     if test "$cross_compiling" = yes; then :
10295
 
+  gl_cv_func_unlink_honors_slashes="guessing no"
10296
 
+else
10297
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10298
 
+/* end confdefs.h.  */
10299
 
+#include <unistd.h>
10300
 
+           #include <errno.h>
10301
 
+         
10302
 
+int
10303
 
+main ()
10304
 
+{
10305
 
+int result = 0;
10306
 
+           if (!unlink ("conftest.file/"))
10307
 
+             result |= 1;
10308
 
+           else if (errno != ENOTDIR)
10309
 
+             result |= 2;
10310
 
+#if HAVE_LSTAT
10311
 
+           if (!unlink ("conftest.lnk/"))
10312
 
+             result |= 4;
10313
 
+           else if (errno != ENOTDIR)
10314
 
+             result |= 8;
10315
 
+#endif
10316
 
+           return result;
10317
 
+         
10318
 
+  ;
10319
 
+  return 0;
10320
 
+}
10321
 
+_ACEOF
10322
 
+if ac_fn_c_try_run "$LINENO"; then :
10323
 
+  gl_cv_func_unlink_honors_slashes=yes
10324
 
+else
10325
 
+  gl_cv_func_unlink_honors_slashes=no
10326
 
+fi
10327
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10328
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
10329
 
+fi
10330
 
+
10331
 
+     rm -f conftest.file conftest.lnk
10332
 
+fi
10333
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unlink_honors_slashes" >&5
10334
 
+$as_echo "$gl_cv_func_unlink_honors_slashes" >&6; }
10335
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unlink of a parent directory fails as it should" >&5
10336
 
+$as_echo_n "checking whether unlink of a parent directory fails as it should... " >&6; }
10337
 
+if ${gl_cv_func_unlink_parent_fails+:} false; then :
10338
 
+  $as_echo_n "(cached) " >&6
10339
 
+else
10340
 
+  case "$host_os" in
10341
 
+       darwin*)
10342
 
+                                                      if {
10343
 
+              # Use the mktemp program if available. If not available, hide the error
10344
 
+              # message.
10345
 
+              tmp=`(umask 077 && mktemp -d /tmp/gtXXXXXX) 2>/dev/null` &&
10346
 
+              test -n "$tmp" && test -d "$tmp"
10347
 
+            } ||
10348
 
+            {
10349
 
+              # Use a simple mkdir command. It is guaranteed to fail if the directory
10350
 
+              # already exists.  $RANDOM is bash specific and expands to empty in shells
10351
 
+              # other than bash, ksh and zsh.  Its use does not increase security;
10352
 
+              # rather, it minimizes the probability of failure in a very cluttered /tmp
10353
 
+              # directory.
10354
 
+              tmp=/tmp/gt$$-$RANDOM
10355
 
+              (umask 077 && mkdir "$tmp")
10356
 
+            }; then
10357
 
+           mkdir "$tmp/subdir"
10358
 
+           GL_SUBDIR_FOR_UNLINK="$tmp/subdir"
10359
 
+           export GL_SUBDIR_FOR_UNLINK
10360
 
+           if test "$cross_compiling" = yes; then :
10361
 
+  gl_cv_func_unlink_parent_fails="guessing no"
10362
 
+else
10363
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10364
 
+/* end confdefs.h.  */
10365
 
+
10366
 
+                #include <stdlib.h>
10367
 
+                #include <unistd.h>
10368
 
+                int main ()
10369
 
+                {
10370
 
+                  int result = 0;
10371
 
+                  if (chdir (getenv ("GL_SUBDIR_FOR_UNLINK")) != 0)
10372
 
+                    result |= 1;
10373
 
+                  else if (unlink ("..") == 0)
10374
 
+                    result |= 2;
10375
 
+                  return result;
10376
 
+                }
10377
 
+              
10378
 
+_ACEOF
10379
 
+if ac_fn_c_try_run "$LINENO"; then :
10380
 
+  gl_cv_func_unlink_parent_fails=yes
10381
 
+else
10382
 
+  gl_cv_func_unlink_parent_fails=no
10383
 
+fi
10384
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10385
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
10386
 
+fi
10387
 
+
10388
 
+           unset GL_SUBDIR_FOR_UNLINK
10389
 
+           rm -rf "$tmp"
10390
 
+         else
10391
 
+           gl_cv_func_unlink_parent_fails="guessing no"
10392
 
+         fi
10393
 
+         ;;
10394
 
+       *)
10395
 
+         gl_cv_func_unlink_parent_fails="guessing yes"
10396
 
+         ;;
10397
 
+     esac
10398
 
+    
10399
 
+fi
10400
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unlink_parent_fails" >&5
10401
 
+$as_echo "$gl_cv_func_unlink_parent_fails" >&6; }
10402
 
+  case "$gl_cv_func_unlink_parent_fails" in
10403
 
+    *no)
10404
 
+      
10405
 
+$as_echo "@%:@define UNLINK_PARENT_BUG 1" >>confdefs.h
10406
 
+
10407
 
+      ;;
10408
 
+  esac
10409
 
+  if test "$gl_cv_func_unlink_honors_slashes" != yes \
10410
 
+     || { case "$gl_cv_func_unlink_parent_fails" in
10411
 
+            *yes) false;;
10412
 
+            *no) true;;
10413
 
+          esac
10414
 
+        }; then
10415
 
+    REPLACE_UNLINK=1
10416
 
+  fi
10417
 
+
10418
 
+ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
10419
 
+if test "x$ac_cv_type_mode_t" = xyes; then :
10420
 
+  
10421
 
+else
10422
 
+  
10423
 
+cat >>confdefs.h <<_ACEOF
10424
 
+@%:@define mode_t int
10425
 
+_ACEOF
10426
 
+
10427
 
+fi
10428
 
+
10429
 
+
10430
 
+  
10431
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for promoted mode_t type" >&5
10432
 
+$as_echo_n "checking for promoted mode_t type... " >&6; }
10433
 
+if ${gl_cv_promoted_mode_t+:} false; then :
10434
 
+  $as_echo_n "(cached) " >&6
10435
 
+else
10436
 
+  
10437
 
+                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10438
 
+/* end confdefs.h.  */
10439
 
+#include <sys/types.h>
10440
 
+int
10441
 
+main ()
10442
 
+{
10443
 
+typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1];
10444
 
+  ;
10445
 
+  return 0;
10446
 
+}
10447
 
+_ACEOF
10448
 
+if ac_fn_c_try_compile "$LINENO"; then :
10449
 
+  gl_cv_promoted_mode_t='int'
10450
 
+else
10451
 
+  gl_cv_promoted_mode_t='mode_t'
10452
 
+fi
10453
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10454
 
+  
10455
 
+fi
10456
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_promoted_mode_t" >&5
10457
 
+$as_echo "$gl_cv_promoted_mode_t" >&6; }
10458
 
+  
10459
 
+cat >>confdefs.h <<_ACEOF
10460
 
+@%:@define PROMOTED_MODE_T $gl_cv_promoted_mode_t
10461
 
+_ACEOF
10462
 
+
10463
 
+
10464
 
+
10465
 
+
10466
 
+
10467
 
+  
10468
 
+  GNULIB_OPENAT=1
10469
 
+
10470
 
+  
10471
 
+  GNULIB_FCHMODAT=1
10472
 
+  GNULIB_FSTATAT=1
10473
 
+  GNULIB_MKDIRAT=1
10474
 
+
10475
 
+  
10476
 
+  GNULIB_FCHOWNAT=1
10477
 
+  GNULIB_UNLINKAT=1
10478
 
+
10479
 
+  
10480
 
+  
10481
 
+  
10482
 
+  
10483
 
+  case $ac_cv_func_openat+$gl_cv_func_lstat_dereferences_slashed_symlink in
10484
 
+  yes+yes)
10485
 
+    # GNU/Hurd has unlinkat, but it has the same bug as unlink.
10486
 
+    if test $REPLACE_UNLINK = 1; then
10487
 
+      REPLACE_UNLINKAT=1
10488
 
+    fi ;;
10489
 
+  yes+*)
10490
 
+    # Solaris 9 has *at functions, but uniformly mishandles trailing
10491
 
+    # slash in all of them.
10492
 
+    REPLACE_OPENAT=1
10493
 
+    REPLACE_UNLINKAT=1
10494
 
+    ;;
10495
 
+  *)
10496
 
+    HAVE_OPENAT=0
10497
 
+    HAVE_UNLINKAT=0 # No known system with unlinkat but not openat
10498
 
+    
10499
 
+  
10500
 
+  
10501
 
+  :
10502
 
+;;
10503
 
+  esac
10504
 
+  if test $ac_cv_func_fchmodat != yes; then
10505
 
+    HAVE_FCHMODAT=0
10506
 
+  fi
10507
 
+  if test $ac_cv_func_mkdirat != yes; then
10508
 
+    HAVE_MKDIRAT=0
10509
 
+  fi
10510
 
+  
10511
 
+  
10512
 
+  
10513
 
+  ac_fn_c_check_func "$LINENO" "fchownat" "ac_cv_func_fchownat"
10514
 
+if test "x$ac_cv_func_fchownat" = xyes; then :
10515
 
+  
10516
 
+    
10517
 
+
10518
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fchownat works with AT_SYMLINK_NOFOLLOW" >&5
10519
 
+$as_echo_n "checking whether fchownat works with AT_SYMLINK_NOFOLLOW... " >&6; }
10520
 
+if ${gl_cv_func_fchownat_nofollow_works+:} false; then :
10521
 
+  $as_echo_n "(cached) " >&6
10522
 
+else
10523
 
+  
10524
 
+     gl_dangle=conftest.dangle
10525
 
+     # Remove any remnants of a previous test.
10526
 
+     rm -f $gl_dangle
10527
 
+     # Arrange for deletion of the temporary file this test creates.
10528
 
+     ac_clean_files="$ac_clean_files $gl_dangle"
10529
 
+     ln -s conftest.no-such $gl_dangle
10530
 
+     if test "$cross_compiling" = yes; then :
10531
 
+  gl_cv_func_fchownat_nofollow_works=no
10532
 
+else
10533
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10534
 
+/* end confdefs.h.  */
10535
 
+
10536
 
+#include <fcntl.h>
10537
 
+#include <unistd.h>
10538
 
+#include <stdlib.h>
10539
 
+#include <errno.h>
10540
 
+#include <sys/types.h>
10541
 
+int
10542
 
+main ()
10543
 
+{
10544
 
+  return (fchownat (AT_FDCWD, "$gl_dangle", -1, getgid (),
10545
 
+                    AT_SYMLINK_NOFOLLOW) != 0
10546
 
+          && errno == ENOENT);
10547
 
+}
10548
 
+          
10549
 
+_ACEOF
10550
 
+if ac_fn_c_try_run "$LINENO"; then :
10551
 
+  gl_cv_func_fchownat_nofollow_works=yes
10552
 
+else
10553
 
+  gl_cv_func_fchownat_nofollow_works=no
10554
 
+fi
10555
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10556
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
10557
 
+fi
10558
 
+
10559
 
+  
10560
 
+fi
10561
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fchownat_nofollow_works" >&5
10562
 
+$as_echo "$gl_cv_func_fchownat_nofollow_works" >&6; }
10563
 
+  if test $gl_cv_func_fchownat_nofollow_works = no; then :
10564
 
+  REPLACE_FCHOWNAT=1
10565
 
+        
10566
 
+$as_echo "@%:@define FCHOWNAT_NOFOLLOW_BUG 1" >>confdefs.h
10567
 
+
10568
 
+       
10569
 
+fi
10570
 
+
10571
 
+     
10572
 
+    
10573
 
+
10574
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fchownat works with an empty file name" >&5
10575
 
+$as_echo_n "checking whether fchownat works with an empty file name... " >&6; }
10576
 
+if ${gl_cv_func_fchownat_empty_filename_works+:} false; then :
10577
 
+  $as_echo_n "(cached) " >&6
10578
 
+else
10579
 
+  if test "$cross_compiling" = yes; then :
10580
 
+  gl_cv_func_fchownat_empty_filename_works="guessing no"
10581
 
+else
10582
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10583
 
+/* end confdefs.h.  */
10584
 
+#include <unistd.h>
10585
 
+            #include <fcntl.h>
10586
 
+          
10587
 
+int
10588
 
+main ()
10589
 
+{
10590
 
+int fd;
10591
 
+            int ret;
10592
 
+            if (mkdir ("conftestdir", 0700) < 0)
10593
 
+              return 2;
10594
 
+            fd = open ("conftestdir", O_RDONLY);
10595
 
+            if (fd < 0)
10596
 
+              return 3;
10597
 
+            ret = fchownat (fd, "", -1, -1, 0);
10598
 
+            close (fd);
10599
 
+            rmdir ("conftestdir");
10600
 
+            return ret == 0;
10601
 
+          
10602
 
+  ;
10603
 
+  return 0;
10604
 
+}
10605
 
+_ACEOF
10606
 
+if ac_fn_c_try_run "$LINENO"; then :
10607
 
+  gl_cv_func_fchownat_empty_filename_works=yes
10608
 
+else
10609
 
+  gl_cv_func_fchownat_empty_filename_works=no
10610
 
+fi
10611
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10612
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
10613
 
+fi
10614
 
+
10615
 
+    
10616
 
+fi
10617
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fchownat_empty_filename_works" >&5
10618
 
+$as_echo "$gl_cv_func_fchownat_empty_filename_works" >&6; }
10619
 
+  if test "$gl_cv_func_fchownat_empty_filename_works" != yes; then :
10620
 
+  REPLACE_FCHOWNAT=1
10621
 
+        
10622
 
+$as_echo "@%:@define FCHOWNAT_EMPTY_FILENAME_BUG 1" >>confdefs.h
10623
 
+
10624
 
+       
10625
 
+fi
10626
 
+
10627
 
+     if test $REPLACE_CHOWN = 1; then
10628
 
+       REPLACE_FCHOWNAT=1
10629
 
+     fi
10630
 
+else
10631
 
+  HAVE_FCHOWNAT=0
10632
 
+fi
10633
 
+
10634
 
+
10635
 
+  
10636
 
+  
10637
 
+  
10638
 
+  
10639
 
+  
10640
 
+
10641
 
+  if test $ac_cv_func_fstatat = no; then
10642
 
+    HAVE_FSTATAT=0
10643
 
+  else
10644
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fstatat (..., 0) works" >&5
10645
 
+$as_echo_n "checking whether fstatat (..., 0) works... " >&6; }
10646
 
+if ${gl_cv_func_fstatat_zero_flag+:} false; then :
10647
 
+  $as_echo_n "(cached) " >&6
10648
 
+else
10649
 
+  gl_cv_func_fstatat_zero_flag=no
10650
 
+       if test "$cross_compiling" = yes; then :
10651
 
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10652
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10653
 
+as_fn_error $? "cannot run test program while cross compiling
10654
 
+See \`config.log' for more details" "$LINENO" 5; }
10655
 
+else
10656
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10657
 
+/* end confdefs.h.  */
10658
 
+
10659
 
+              #include <fcntl.h>
10660
 
+              #include <sys/stat.h>
10661
 
+              int
10662
 
+              main (void)
10663
 
+              {
10664
 
+                struct stat a;
10665
 
+                return fstatat (AT_FDCWD, ".", &a, 0) != 0;
10666
 
+              }
10667
 
+            
10668
 
+_ACEOF
10669
 
+if ac_fn_c_try_run "$LINENO"; then :
10670
 
+  gl_cv_func_fstatat_zero_flag=yes
10671
 
+fi
10672
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10673
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
10674
 
+fi
10675
 
+
10676
 
+fi
10677
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fstatat_zero_flag" >&5
10678
 
+$as_echo "$gl_cv_func_fstatat_zero_flag" >&6; }
10679
 
+
10680
 
+    case $gl_cv_func_fstatat_zero_flag+$gl_cv_func_lstat_dereferences_slashed_symlink in
10681
 
+    yes+yes) ;;
10682
 
+    *) REPLACE_FSTATAT=1
10683
 
+       if test $gl_cv_func_fstatat_zero_flag != yes; then
10684
 
+         
10685
 
+$as_echo "@%:@define FSTATAT_ZERO_FLAG_BROKEN 1" >>confdefs.h
10686
 
+
10687
 
+       fi
10688
 
+       ;;
10689
 
+    esac
10690
 
+  fi
10691
 
+
10692
 
+
10693
 
+    
10694
 
+  
10695
 
+cat >>confdefs.h <<_ACEOF
10696
 
+@%:@define GNULIB_OPENAT 1
10697
 
+_ACEOF
10698
 
+
10699
 
+
10700
 
+
10701
 
+
10702
 
+
10703
 
+
10704
 
+
10705
 
+ac_fn_c_check_decl "$LINENO" "fchdir" "ac_cv_have_decl_fchdir" "$ac_includes_default"
10706
 
+if test "x$ac_cv_have_decl_fchdir" = xyes; then :
10707
 
+  ac_have_decl=1
10708
 
+else
10709
 
+  ac_have_decl=0
10710
 
+fi
10711
 
+
10712
 
+cat >>confdefs.h <<_ACEOF
10713
 
+@%:@define HAVE_DECL_FCHDIR $ac_have_decl
10714
 
+_ACEOF
10715
 
+
10716
 
+
10717
 
+  GNULIB_DPRINTF=0;              
10718
 
+  GNULIB_FCLOSE=0;               
10719
 
+  GNULIB_FFLUSH=0;               
10720
 
+  GNULIB_FGETC=0;                
10721
 
+  GNULIB_FGETS=0;                
10722
 
+  GNULIB_FOPEN=0;                
10723
 
+  GNULIB_FPRINTF=0;              
10724
 
+  GNULIB_FPRINTF_POSIX=0;        
10725
 
+  GNULIB_FPURGE=0;               
10726
 
+  GNULIB_FPUTC=0;                
10727
 
+  GNULIB_FPUTS=0;                
10728
 
+  GNULIB_FREAD=0;                
10729
 
+  GNULIB_FREOPEN=0;              
10730
 
+  GNULIB_FSCANF=0;               
10731
 
+  GNULIB_FSEEK=0;                
10732
 
+  GNULIB_FSEEKO=0;               
10733
 
+  GNULIB_FTELL=0;                
10734
 
+  GNULIB_FTELLO=0;               
10735
 
+  GNULIB_FWRITE=0;               
10736
 
+  GNULIB_GETC=0;                 
10737
 
+  GNULIB_GETCHAR=0;              
10738
 
+  GNULIB_GETDELIM=0;             
10739
 
+  GNULIB_GETLINE=0;              
10740
 
+  GNULIB_GETS=0;                 
10741
 
+  GNULIB_OBSTACK_PRINTF=0;       
10742
 
+  GNULIB_OBSTACK_PRINTF_POSIX=0; 
10743
 
+  GNULIB_PERROR=0;               
10744
 
+  GNULIB_POPEN=0;                
10745
 
+  GNULIB_PRINTF=0;               
10746
 
+  GNULIB_PRINTF_POSIX=0;         
10747
 
+  GNULIB_PUTC=0;                 
10748
 
+  GNULIB_PUTCHAR=0;              
10749
 
+  GNULIB_PUTS=0;                 
10750
 
+  GNULIB_REMOVE=0;               
10751
 
+  GNULIB_RENAME=0;               
10752
 
+  GNULIB_RENAMEAT=0;             
10753
 
+  GNULIB_SCANF=0;                
10754
 
+  GNULIB_SNPRINTF=0;             
10755
 
+  GNULIB_SPRINTF_POSIX=0;        
10756
 
+  GNULIB_STDIO_H_NONBLOCKING=0;  
10757
 
+  GNULIB_STDIO_H_SIGPIPE=0;      
10758
 
+  GNULIB_TMPFILE=0;              
10759
 
+  GNULIB_VASPRINTF=0;            
10760
 
+  GNULIB_VFSCANF=0;              
10761
 
+  GNULIB_VSCANF=0;               
10762
 
+  GNULIB_VDPRINTF=0;             
10763
 
+  GNULIB_VFPRINTF=0;             
10764
 
+  GNULIB_VFPRINTF_POSIX=0;       
10765
 
+  GNULIB_VPRINTF=0;              
10766
 
+  GNULIB_VPRINTF_POSIX=0;        
10767
 
+  GNULIB_VSNPRINTF=0;            
10768
 
+  GNULIB_VSPRINTF_POSIX=0;       
10769
 
+    HAVE_DECL_FPURGE=1;            
10770
 
+  HAVE_DECL_FSEEKO=1;            
10771
 
+  HAVE_DECL_FTELLO=1;            
10772
 
+  HAVE_DECL_GETDELIM=1;          
10773
 
+  HAVE_DECL_GETLINE=1;           
10774
 
+  HAVE_DECL_OBSTACK_PRINTF=1;    
10775
 
+  HAVE_DECL_SNPRINTF=1;          
10776
 
+  HAVE_DECL_VSNPRINTF=1;         
10777
 
+  HAVE_DPRINTF=1;                
10778
 
+  HAVE_FSEEKO=1;                 
10779
 
+  HAVE_FTELLO=1;                 
10780
 
+  HAVE_RENAMEAT=1;               
10781
 
+  HAVE_VASPRINTF=1;              
10782
 
+  HAVE_VDPRINTF=1;               
10783
 
+  REPLACE_DPRINTF=0;             
10784
 
+  REPLACE_FCLOSE=0;              
10785
 
+  REPLACE_FFLUSH=0;              
10786
 
+  REPLACE_FOPEN=0;               
10787
 
+  REPLACE_FPRINTF=0;             
10788
 
+  REPLACE_FPURGE=0;              
10789
 
+  REPLACE_FREOPEN=0;             
10790
 
+  REPLACE_FSEEK=0;               
10791
 
+  REPLACE_FSEEKO=0;              
10792
 
+  REPLACE_FTELL=0;               
10793
 
+  REPLACE_FTELLO=0;              
10794
 
+  REPLACE_GETDELIM=0;            
10795
 
+  REPLACE_GETLINE=0;             
10796
 
+  REPLACE_OBSTACK_PRINTF=0;      
10797
 
+  REPLACE_PERROR=0;              
10798
 
+  REPLACE_POPEN=0;               
10799
 
+  REPLACE_PRINTF=0;              
10800
 
+  REPLACE_REMOVE=0;              
10801
 
+  REPLACE_RENAME=0;              
10802
 
+  REPLACE_RENAMEAT=0;            
10803
 
+  REPLACE_SNPRINTF=0;            
10804
 
+  REPLACE_SPRINTF=0;             
10805
 
+  REPLACE_STDIO_READ_FUNCS=0;    
10806
 
+  REPLACE_STDIO_WRITE_FUNCS=0;   
10807
 
+  REPLACE_TMPFILE=0;             
10808
 
+  REPLACE_VASPRINTF=0;           
10809
 
+  REPLACE_VDPRINTF=0;            
10810
 
+  REPLACE_VFPRINTF=0;            
10811
 
+  REPLACE_VPRINTF=0;             
10812
 
+  REPLACE_VSNPRINTF=0;           
10813
 
+  REPLACE_VSPRINTF=0;            
10814
 
+
10815
 
+
10816
 
+
10817
 
+
10818
 
+        
10819
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5
10820
 
+$as_echo_n "checking for working fcntl.h... " >&6; }
10821
 
+if ${gl_cv_header_working_fcntl_h+:} false; then :
10822
 
+  $as_echo_n "(cached) " >&6
10823
 
+else
10824
 
+  if test "$cross_compiling" = yes; then :
10825
 
+  gl_cv_header_working_fcntl_h=cross-compiling
10826
 
+else
10827
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10828
 
+/* end confdefs.h.  */
10829
 
+#include <sys/types.h>
10830
 
+           #include <sys/stat.h>
10831
 
+           #include <unistd.h>
10832
 
+           #include <fcntl.h>
10833
 
+           #ifndef O_NOATIME
10834
 
+            #define O_NOATIME 0
10835
 
+           #endif
10836
 
+           #ifndef O_NOFOLLOW
10837
 
+            #define O_NOFOLLOW 0
10838
 
+           #endif
10839
 
+           static int const constants[] =
10840
 
+            {
10841
 
+              O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
10842
 
+              O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
10843
 
+            };
10844
 
+          
10845
 
+int
10846
 
+main ()
10847
 
+{
10848
 
+
10849
 
+            int result = !constants;
10850
 
+            {
10851
 
+              static char const sym[] = "conftest.sym";
10852
 
+              if (symlink (".", sym) != 0)
10853
 
+                result |= 2;
10854
 
+              else
10855
 
+                {
10856
 
+                  int fd = open (sym, O_RDONLY | O_NOFOLLOW);
10857
 
+                  if (fd >= 0)
10858
 
+                    {
10859
 
+                      close (fd);
10860
 
+                      result |= 4;
10861
 
+                    }
10862
 
+                }
10863
 
+              unlink (sym);
10864
 
+            }
10865
 
+            {
10866
 
+              static char const file[] = "confdefs.h";
10867
 
+              int fd = open (file, O_RDONLY | O_NOATIME);
10868
 
+              if (fd < 0)
10869
 
+                result |= 8;
10870
 
+              else
10871
 
+                {
10872
 
+                  struct stat st0;
10873
 
+                  if (fstat (fd, &st0) != 0)
10874
 
+                    result |= 16;
10875
 
+                  else
10876
 
+                    {
10877
 
+                      char c;
10878
 
+                      sleep (1);
10879
 
+                      if (read (fd, &c, 1) != 1)
10880
 
+                        result |= 24;
10881
 
+                      else
10882
 
+                        {
10883
 
+                          if (close (fd) != 0)
10884
 
+                            result |= 32;
10885
 
+                          else
10886
 
+                            {
10887
 
+                              struct stat st1;
10888
 
+                              if (stat (file, &st1) != 0)
10889
 
+                                result |= 40;
10890
 
+                              else
10891
 
+                                if (st0.st_atime != st1.st_atime)
10892
 
+                                  result |= 64;
10893
 
+                            }
10894
 
+                        }
10895
 
+                    }
10896
 
+                }
10897
 
+            }
10898
 
+            return result;
10899
 
+  ;
10900
 
+  return 0;
10901
 
+}
10902
 
+_ACEOF
10903
 
+if ac_fn_c_try_run "$LINENO"; then :
10904
 
+  gl_cv_header_working_fcntl_h=yes
10905
 
+else
10906
 
+  case $? in #(
10907
 
+        4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #(
10908
 
+        64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #(
10909
 
+        68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #(
10910
 
+         *) gl_cv_header_working_fcntl_h='no';;
10911
 
+        esac
10912
 
+fi
10913
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10914
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
10915
 
+fi
10916
 
+
10917
 
+fi
10918
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5
10919
 
+$as_echo "$gl_cv_header_working_fcntl_h" >&6; }
10920
 
+
10921
 
+  case $gl_cv_header_working_fcntl_h in #(
10922
 
+  *O_NOATIME* | no | cross-compiling) ac_val=0;; #(
10923
 
+  *) ac_val=1;;
10924
 
+  esac
10925
 
+  
10926
 
+cat >>confdefs.h <<_ACEOF
10927
 
+@%:@define HAVE_WORKING_O_NOATIME $ac_val
10928
 
+_ACEOF
10929
 
+
10930
 
+
10931
 
+  case $gl_cv_header_working_fcntl_h in #(
10932
 
+  *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #(
10933
 
+  *) ac_val=1;;
10934
 
+  esac
10935
 
+  
10936
 
+cat >>confdefs.h <<_ACEOF
10937
 
+@%:@define HAVE_WORKING_O_NOFOLLOW $ac_val
10938
 
+_ACEOF
10939
 
+
10940
 
+
10941
 
+
10942
 
+
10943
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_dm_mode in struct stat" >&5
10944
 
+$as_echo_n "checking for st_dm_mode in struct stat... " >&6; }
10945
 
+if ${ac_cv_struct_st_dm_mode+:} false; then :
10946
 
+  $as_echo_n "(cached) " >&6
10947
 
+else
10948
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10949
 
+/* end confdefs.h.  */
10950
 
+
10951
 
+#include <sys/types.h>
10952
 
+#include <sys/stat.h>
10953
 
+int
10954
 
+main ()
10955
 
+{
10956
 
+struct stat s; s.st_dm_mode;
10957
 
+  ;
10958
 
+  return 0;
10959
 
+}
10960
 
+_ACEOF
10961
 
+if ac_fn_c_try_compile "$LINENO"; then :
10962
 
+  ac_cv_struct_st_dm_mode=yes
10963
 
+else
10964
 
+  ac_cv_struct_st_dm_mode=no
10965
 
+fi
10966
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10967
 
+fi
10968
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_st_dm_mode" >&5
10969
 
+$as_echo "$ac_cv_struct_st_dm_mode" >&6; }
10970
 
+
10971
 
+  if test $ac_cv_struct_st_dm_mode = yes; then
10972
 
+    
10973
 
+$as_echo "@%:@define HAVE_ST_DM_MODE 1" >>confdefs.h
10974
 
+
10975
 
+  fi
10976
 
10977
 
+
10978
 
+ac_fn_c_check_decl "$LINENO" "strmode" "ac_cv_have_decl_strmode" "$ac_includes_default"
10979
 
+if test "x$ac_cv_have_decl_strmode" = xyes; then :
10980
 
+  ac_have_decl=1
10981
 
+else
10982
 
+  ac_have_decl=0
10983
 
+fi
10984
 
+
10985
 
+cat >>confdefs.h <<_ACEOF
10986
 
+@%:@define HAVE_DECL_STRMODE $ac_have_decl
10987
 
+_ACEOF
10988
 
+
10989
 
+
10990
 
+
10991
 
+
10992
 
+    
10993
 
+
10994
 
+
10995
 
+    
10996
 
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
10997
 
+$as_echo_n "checking for mbstate_t... " >&6; }
10998
 
+if ${ac_cv_type_mbstate_t+:} false; then :
10999
 
+  $as_echo_n "(cached) " >&6
11000
 
+else
11001
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11002
 
+/* end confdefs.h.  */
11003
 
+$ac_includes_default
11004
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
11005
 
+   <wchar.h>.
11006
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
11007
 
+   included before <wchar.h>.  */
11008
 
+#include <stddef.h>
11009
 
+#include <stdio.h>
11010
 
+#include <time.h>
11011
 
+#include <wchar.h>
11012
 
+int
11013
 
+main ()
11014
 
+{
11015
 
+mbstate_t x; return sizeof x;
11016
 
+  ;
11017
 
+  return 0;
11018
 
+}
11019
 
+_ACEOF
11020
 
+if ac_fn_c_try_compile "$LINENO"; then :
11021
 
+  ac_cv_type_mbstate_t=yes
11022
 
+else
11023
 
+  ac_cv_type_mbstate_t=no
11024
 
+fi
11025
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11026
 
+fi
11027
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
11028
 
+$as_echo "$ac_cv_type_mbstate_t" >&6; }
11029
 
+   if test $ac_cv_type_mbstate_t = yes; then
11030
 
+     
11031
 
+$as_echo "@%:@define HAVE_MBSTATE_T 1" >>confdefs.h
11032
 
+
11033
 
+   else
11034
 
+     
11035
 
+$as_echo "@%:@define mbstate_t int" >>confdefs.h
11036
 
+
11037
 
+   fi
11038
 
+
11039
 
+
11040
 
+
11041
 
+
11042
 
+
11043
 
+
11044
 
+
11045
 
+
11046
 
+
11047
 
+
11048
 
+
11049
 
+
11050
 
+
11051
 
+
11052
 
+
11053
 
+
11054
 
+
11055
 
+
11056
 
+
11057
 
+
11058
 
+
11059
 
+
11060
 
+
11061
 
+
11062
 
+
11063
 
+
11064
 
+  GNULIB_ACOSL=0;    
11065
 
+  GNULIB_ASINL=0;    
11066
 
+  GNULIB_ATANL=0;    
11067
 
+  GNULIB_CEIL=0;     
11068
 
+  GNULIB_CEILF=0;    
11069
 
+  GNULIB_CEILL=0;    
11070
 
+  GNULIB_COSL=0;     
11071
 
+  GNULIB_EXPL=0;     
11072
 
+  GNULIB_FLOOR=0;    
11073
 
+  GNULIB_FLOORF=0;   
11074
 
+  GNULIB_FLOORL=0;   
11075
 
+  GNULIB_FREXP=0;    
11076
 
+  GNULIB_FREXPL=0;   
11077
 
+  GNULIB_ISFINITE=0; 
11078
 
+  GNULIB_ISINF=0;    
11079
 
+  GNULIB_ISNAN=0;    
11080
 
+  GNULIB_ISNANF=0;   
11081
 
+  GNULIB_ISNAND=0;   
11082
 
+  GNULIB_ISNANL=0;   
11083
 
+  GNULIB_LDEXPL=0;   
11084
 
+  GNULIB_LOGB=0;     
11085
 
+  GNULIB_LOGL=0;     
11086
 
+  GNULIB_ROUND=0;    
11087
 
+  GNULIB_ROUNDF=0;   
11088
 
+  GNULIB_ROUNDL=0;   
11089
 
+  GNULIB_SIGNBIT=0;  
11090
 
+  GNULIB_SINL=0;     
11091
 
+  GNULIB_SQRTL=0;    
11092
 
+  GNULIB_TANL=0;     
11093
 
+  GNULIB_TRUNC=0;    
11094
 
+  GNULIB_TRUNCF=0;   
11095
 
+  GNULIB_TRUNCL=0;   
11096
 
+    HAVE_ACOSL=1;                
11097
 
+  HAVE_ASINL=1;                
11098
 
+  HAVE_ATANL=1;                
11099
 
+  HAVE_COSL=1;                 
11100
 
+  HAVE_EXPL=1;                 
11101
 
+  HAVE_ISNANF=1;               
11102
 
+  HAVE_ISNAND=1;               
11103
 
+  HAVE_ISNANL=1;               
11104
 
+  HAVE_LOGL=1;                 
11105
 
+  HAVE_SINL=1;                 
11106
 
+  HAVE_SQRTL=1;                
11107
 
+  HAVE_TANL=1;                 
11108
 
+  HAVE_DECL_ACOSL=1;           
11109
 
+  HAVE_DECL_ASINL=1;           
11110
 
+  HAVE_DECL_ATANL=1;           
11111
 
+  HAVE_DECL_CEILF=1;           
11112
 
+  HAVE_DECL_CEILL=1;           
11113
 
+  HAVE_DECL_COSL=1;            
11114
 
+  HAVE_DECL_EXPL=1;            
11115
 
+  HAVE_DECL_FLOORF=1;          
11116
 
+  HAVE_DECL_FLOORL=1;          
11117
 
+  HAVE_DECL_FREXPL=1;          
11118
 
+  HAVE_DECL_LDEXPL=1;          
11119
 
+  HAVE_DECL_LOGB=1;            
11120
 
+  HAVE_DECL_LOGL=1;            
11121
 
+  HAVE_DECL_ROUND=1;           
11122
 
+  HAVE_DECL_ROUNDF=1;          
11123
 
+  HAVE_DECL_ROUNDL=1;          
11124
 
+  HAVE_DECL_SINL=1;            
11125
 
+  HAVE_DECL_SQRTL=1;           
11126
 
+  HAVE_DECL_TANL=1;            
11127
 
+  HAVE_DECL_TRUNC=1;           
11128
 
+  HAVE_DECL_TRUNCF=1;          
11129
 
+  HAVE_DECL_TRUNCL=1;          
11130
 
+  REPLACE_CEIL=0;              
11131
 
+  REPLACE_CEILF=0;             
11132
 
+  REPLACE_CEILL=0;             
11133
 
+  REPLACE_FLOOR=0;             
11134
 
+  REPLACE_FLOORF=0;            
11135
 
+  REPLACE_FLOORL=0;            
11136
 
+  REPLACE_FREXP=0;             
11137
 
+  REPLACE_FREXPL=0;            
11138
 
+  REPLACE_HUGE_VAL=0;          
11139
 
+  REPLACE_ISFINITE=0;          
11140
 
+  REPLACE_ISINF=0;             
11141
 
+  REPLACE_ISNAN=0;             
11142
 
+  REPLACE_LDEXPL=0;            
11143
 
+  REPLACE_NAN=0;               
11144
 
+  REPLACE_ROUND=0;             
11145
 
+  REPLACE_ROUNDF=0;            
11146
 
+  REPLACE_ROUNDL=0;            
11147
 
+  REPLACE_SIGNBIT=0;           
11148
 
+  REPLACE_SIGNBIT_USING_GCC=0; 
11149
 
+  REPLACE_TRUNC=0;             
11150
 
+  REPLACE_TRUNCF=0;            
11151
 
+  REPLACE_TRUNCL=0;            
11152
 
+
11153
 
+
11154
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp() can be used without linking with libm" >&5
11155
 
+$as_echo_n "checking whether frexp() can be used without linking with libm... " >&6; }
11156
 
+if ${gl_cv_func_frexp_no_libm+:} false; then :
11157
 
+  $as_echo_n "(cached) " >&6
11158
 
+else
11159
 
+  
11160
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161
 
+/* end confdefs.h.  */
11162
 
+#include <math.h>
11163
 
+             double x;
11164
 
+int
11165
 
+main ()
11166
 
+{
11167
 
+int e; return frexp (x, &e) > 0;
11168
 
+  ;
11169
 
+  return 0;
11170
 
+}
11171
 
+_ACEOF
11172
 
+if ac_fn_c_try_link "$LINENO"; then :
11173
 
+  gl_cv_func_frexp_no_libm=yes
11174
 
+else
11175
 
+  gl_cv_func_frexp_no_libm=no
11176
 
+fi
11177
 
+rm -f core conftest.err conftest.$ac_objext \
11178
 
+    conftest$ac_exeext conftest.$ac_ext
11179
 
+    
11180
 
+fi
11181
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_no_libm" >&5
11182
 
+$as_echo "$gl_cv_func_frexp_no_libm" >&6; }
11183
 
+
11184
 
+
11185
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdin defaults to large file offsets" >&5
11186
 
+$as_echo_n "checking whether stdin defaults to large file offsets... " >&6; }
11187
 
+if ${gl_cv_var_stdin_large_offset+:} false; then :
11188
 
+  $as_echo_n "(cached) " >&6
11189
 
+else
11190
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11191
 
+/* end confdefs.h.  */
11192
 
+#include <stdio.h>
11193
 
+int
11194
 
+main ()
11195
 
+{
11196
 
+#if defined __SL64 && defined __SCLE /* cygwin */
11197
 
+  /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making
11198
 
+     fseeko/ftello needlessly fail.  This bug was fixed in 1.5.25, and
11199
 
+     it is easier to do a version check than building a runtime test.  */
11200
 
+# include <cygwin/version.h>
11201
 
+# if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25)
11202
 
+  choke me
11203
 
+# endif
11204
 
+#endif
11205
 
+  ;
11206
 
+  return 0;
11207
 
+}
11208
 
+_ACEOF
11209
 
+if ac_fn_c_try_link "$LINENO"; then :
11210
 
+  gl_cv_var_stdin_large_offset=yes
11211
 
+else
11212
 
+  gl_cv_var_stdin_large_offset=no
11213
 
+fi
11214
 
+rm -f core conftest.err conftest.$ac_objext \
11215
 
+    conftest$ac_exeext conftest.$ac_ext
11216
 
+fi
11217
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var_stdin_large_offset" >&5
11218
 
+$as_echo "$gl_cv_var_stdin_large_offset" >&6; }
11219
 
+
11220
 
+ac_fn_c_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default"
11221
 
+if test "x$ac_cv_have_decl_fseeko" = xyes; then :
11222
 
+  ac_have_decl=1
11223
 
+else
11224
 
+  ac_have_decl=0
11225
 
+fi
11226
 
+
11227
 
+cat >>confdefs.h <<_ACEOF
11228
 
+@%:@define HAVE_DECL_FSEEKO $ac_have_decl
11229
 
+_ACEOF
11230
 
+
11231
 
+
11232
 
+  
11233
 
+  
11234
 
+  
11235
 
+
11236
 
+    
11237
 
+
11238
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5
11239
 
+$as_echo_n "checking for fseeko... " >&6; }
11240
 
+if ${gl_cv_func_fseeko+:} false; then :
11241
 
+  $as_echo_n "(cached) " >&6
11242
 
+else
11243
 
+  
11244
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11245
 
+/* end confdefs.h.  */
11246
 
+#include <stdio.h>
11247
 
+
11248
 
+int
11249
 
+main ()
11250
 
+{
11251
 
+fseeko (stdin, 0, 0);
11252
 
+  ;
11253
 
+  return 0;
11254
 
+}
11255
 
+_ACEOF
11256
 
+if ac_fn_c_try_link "$LINENO"; then :
11257
 
+  gl_cv_func_fseeko=yes
11258
 
+else
11259
 
+  gl_cv_func_fseeko=no
11260
 
+fi
11261
 
+rm -f core conftest.err conftest.$ac_objext \
11262
 
+    conftest$ac_exeext conftest.$ac_ext
11263
 
+    
11264
 
+fi
11265
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fseeko" >&5
11266
 
+$as_echo "$gl_cv_func_fseeko" >&6; }
11267
 
+
11268
 
+  
11269
 
+  if test $ac_cv_have_decl_fseeko = no; then
11270
 
+    HAVE_DECL_FSEEKO=0
11271
 
+  fi
11272
 
+
11273
 
+  if test $gl_cv_func_fseeko = no; then
11274
 
+    HAVE_FSEEKO=0
11275
 
+  else
11276
 
+    if test $gl_cv_var_stdin_large_offset = no; then
11277
 
+      REPLACE_FSEEKO=1
11278
 
+    fi
11279
 
+    
11280
 
+      
11281
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5
11282
 
+$as_echo_n "checking whether fflush works on input streams... " >&6; }
11283
 
+if ${gl_cv_func_fflush_stdin+:} false; then :
11284
 
+  $as_echo_n "(cached) " >&6
11285
 
+else
11286
 
+  echo hello world > conftest.txt
11287
 
+     if test "$cross_compiling" = yes; then :
11288
 
+        gl_cv_func_fflush_stdin=no
11289
 
+else
11290
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11291
 
+/* end confdefs.h.  */
11292
 
+
11293
 
+#include <stdio.h>
11294
 
+#include <unistd.h>
11295
 
+       
11296
 
+int
11297
 
+main ()
11298
 
+{
11299
 
+FILE *f = fopen ("conftest.txt", "r");
11300
 
+         char buffer[10];
11301
 
+         int fd;
11302
 
+         int c;
11303
 
+         if (f == NULL)
11304
 
+           return 1;
11305
 
+         fd = fileno (f);
11306
 
+         if (fd < 0 || fread (buffer, 1, 5, f) != 5)
11307
 
+           return 2;
11308
 
+         /* For deterministic results, ensure f read a bigger buffer.  */
11309
 
+         if (lseek (fd, 0, SEEK_CUR) == 5)
11310
 
+           return 3;
11311
 
+         /* POSIX requires fflush-fseek to set file offset of fd.  This fails
11312
 
+            on BSD systems and on mingw.  */
11313
 
+         if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0)
11314
 
+           return 4;
11315
 
+         if (lseek (fd, 0, SEEK_CUR) != 5)
11316
 
+           return 5;
11317
 
+         /* Verify behaviour of fflush after ungetc. See
11318
 
+            <http://www.opengroup.org/austin/aardvark/latest/xshbug3.txt>  */
11319
 
+         /* Verify behaviour of fflush after a backup ungetc.  This fails on
11320
 
+            mingw.  */
11321
 
+         c = fgetc (f);
11322
 
+         ungetc (c, f);
11323
 
+         fflush (f);
11324
 
+         if (fgetc (f) != c)
11325
 
+           return 6;
11326
 
+         /* Verify behaviour of fflush after a non-backup ungetc.  This fails
11327
 
+            on glibc 2.8 and on BSD systems.  */
11328
 
+         c = fgetc (f);
11329
 
+         ungetc ('@', f);
11330
 
+         fflush (f);
11331
 
+         if (fgetc (f) != c)
11332
 
+           return 7;
11333
 
+         return 0;
11334
 
+       
11335
 
+  ;
11336
 
+  return 0;
11337
 
+}
11338
 
+_ACEOF
11339
 
+if ac_fn_c_try_run "$LINENO"; then :
11340
 
+  gl_cv_func_fflush_stdin=yes
11341
 
+else
11342
 
+  gl_cv_func_fflush_stdin=no
11343
 
+fi
11344
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11345
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
11346
 
+fi
11347
 
+
11348
 
+     rm conftest.txt
11349
 
+    
11350
 
+fi
11351
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5
11352
 
+$as_echo "$gl_cv_func_fflush_stdin" >&6; }
11353
 
+
11354
 
+      if test $gl_cv_func_fflush_stdin = no; then
11355
 
+        REPLACE_FSEEKO=1
11356
 
+      fi
11357
 
+    
11358
 
+  fi
11359
 
+
11360
 
+
11361
 
+
11362
 
+
11363
 
+
11364
 
+
11365
 
+
11366
 
+ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default"
11367
 
+if test "x$ac_cv_have_decl_ftello" = xyes; then :
11368
 
+  ac_have_decl=1
11369
 
+else
11370
 
+  ac_have_decl=0
11371
 
+fi
11372
 
+
11373
 
+cat >>confdefs.h <<_ACEOF
11374
 
+@%:@define HAVE_DECL_FTELLO $ac_have_decl
11375
 
+_ACEOF
11376
 
+
11377
 
+
11378
 
+  
11379
 
+  
11380
 
+  
11381
 
+
11382
 
+    
11383
 
+
11384
 
+  
11385
 
+  if test $ac_cv_have_decl_ftello = no; then
11386
 
+    HAVE_DECL_FTELLO=0
11387
 
+  fi
11388
 
+
11389
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftello" >&5
11390
 
+$as_echo_n "checking for ftello... " >&6; }
11391
 
+if ${gl_cv_func_ftello+:} false; then :
11392
 
+  $as_echo_n "(cached) " >&6
11393
 
+else
11394
 
+  
11395
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396
 
+/* end confdefs.h.  */
11397
 
+#include <stdio.h>
11398
 
+int
11399
 
+main ()
11400
 
+{
11401
 
+ftello (stdin);
11402
 
+  ;
11403
 
+  return 0;
11404
 
+}
11405
 
+_ACEOF
11406
 
+if ac_fn_c_try_link "$LINENO"; then :
11407
 
+  gl_cv_func_ftello=yes
11408
 
+else
11409
 
+  gl_cv_func_ftello=no
11410
 
+fi
11411
 
+rm -f core conftest.err conftest.$ac_objext \
11412
 
+    conftest$ac_exeext conftest.$ac_ext
11413
 
+    
11414
 
+fi
11415
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello" >&5
11416
 
+$as_echo "$gl_cv_func_ftello" >&6; }
11417
 
+  if test $gl_cv_func_ftello = no; then
11418
 
+    HAVE_FTELLO=0
11419
 
+  else
11420
 
+    if test $gl_cv_var_stdin_large_offset = no; then
11421
 
+      REPLACE_FTELLO=1
11422
 
+    else
11423
 
+                                    
11424
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ftello works" >&5
11425
 
+$as_echo_n "checking whether ftello works... " >&6; }
11426
 
+if ${gl_cv_func_ftello_works+:} false; then :
11427
 
+  $as_echo_n "(cached) " >&6
11428
 
+else
11429
 
+  
11430
 
+                              case "$host_os" in
11431
 
+                      # Guess no on Solaris.
11432
 
+            solaris*) gl_cv_func_ftello_works="guessing no" ;;
11433
 
+                      # Guess yes otherwise.
11434
 
+            *)        gl_cv_func_ftello_works="guessing yes" ;;
11435
 
+          esac
11436
 
+          if test "$cross_compiling" = yes; then :
11437
 
+  :
11438
 
+else
11439
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11440
 
+/* end confdefs.h.  */
11441
 
+
11442
 
+#include <stdio.h>
11443
 
+#include <stdlib.h>
11444
 
+#include <string.h>
11445
 
+#define TESTFILE "conftest.tmp"
11446
 
+int
11447
 
+main (void)
11448
 
+{
11449
 
+  FILE *fp;
11450
 
+
11451
 
+  /* Create a file with some contents.  */
11452
 
+  fp = fopen (TESTFILE, "w");
11453
 
+  if (fp == NULL)
11454
 
+    return 70;
11455
 
+  if (fwrite ("foogarsh", 1, 8, fp) < 8)
11456
 
+    return 71;
11457
 
+  if (fclose (fp))
11458
 
+    return 72;
11459
 
+
11460
 
+  /* The file's contents is now "foogarsh".  */
11461
 
+
11462
 
+  /* Try writing after reading to EOF.  */
11463
 
+  fp = fopen (TESTFILE, "r+");
11464
 
+  if (fp == NULL)
11465
 
+    return 73;
11466
 
+  if (fseek (fp, -1, SEEK_END))
11467
 
+    return 74;
11468
 
+  if (!(getc (fp) == 'h'))
11469
 
+    return 1;
11470
 
+  if (!(getc (fp) == EOF))
11471
 
+    return 2;
11472
 
+  if (!(ftell (fp) == 8))
11473
 
+    return 3;
11474
 
+  if (!(ftell (fp) == 8))
11475
 
+    return 4;
11476
 
+  if (!(putc ('!', fp) == '!'))
11477
 
+    return 5;
11478
 
+  if (!(ftell (fp) == 9))
11479
 
+    return 6;
11480
 
+  if (!(fclose (fp) == 0))
11481
 
+    return 7;
11482
 
+  fp = fopen (TESTFILE, "r");
11483
 
+  if (fp == NULL)
11484
 
+    return 75;
11485
 
+  {
11486
 
+    char buf[10];
11487
 
+    if (!(fread (buf, 1, 10, fp) == 9))
11488
 
+      return 10;
11489
 
+    if (!(memcmp (buf, "foogarsh!", 9) == 0))
11490
 
+      return 11;
11491
 
+  }
11492
 
+  if (!(fclose (fp) == 0))
11493
 
+    return 12;
11494
 
+
11495
 
+  /* The file's contents is now "foogarsh!".  */
11496
 
+
11497
 
+  return 0;
11498
 
+}
11499
 
+_ACEOF
11500
 
+if ac_fn_c_try_run "$LINENO"; then :
11501
 
+  gl_cv_func_ftello_works=yes
11502
 
+else
11503
 
+  gl_cv_func_ftello_works=no
11504
 
+fi
11505
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11506
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
11507
 
+fi
11508
 
+
11509
 
+        
11510
 
+fi
11511
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello_works" >&5
11512
 
+$as_echo "$gl_cv_func_ftello_works" >&6; }
11513
 
+      case "$gl_cv_func_ftello_works" in
11514
 
+        *yes) ;;
11515
 
+        *)
11516
 
+          REPLACE_FTELLO=1
11517
 
+          
11518
 
+$as_echo "@%:@define FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE 1" >>confdefs.h
11519
 
+
11520
 
+          ;;
11521
 
+      esac
11522
 
+    fi
11523
 
+  fi
11524
 
+
11525
 
+
11526
 
+
11527
 
+
11528
 
+
11529
 
+
11530
 
+
11531
 
+
11532
 
+  GNULIB_SOCKET=0;      
11533
 
+  GNULIB_CONNECT=0;     
11534
 
+  GNULIB_ACCEPT=0;      
11535
 
+  GNULIB_BIND=0;        
11536
 
+  GNULIB_GETPEERNAME=0; 
11537
 
+  GNULIB_GETSOCKNAME=0; 
11538
 
+  GNULIB_GETSOCKOPT=0;  
11539
 
+  GNULIB_LISTEN=0;      
11540
 
+  GNULIB_RECV=0;        
11541
 
+  GNULIB_SEND=0;        
11542
 
+  GNULIB_RECVFROM=0;    
11543
 
+  GNULIB_SENDTO=0;      
11544
 
+  GNULIB_SETSOCKOPT=0;  
11545
 
+  GNULIB_SHUTDOWN=0;    
11546
 
+  GNULIB_ACCEPT4=0;     
11547
 
+  HAVE_STRUCT_SOCKADDR_STORAGE=1; 
11548
 
+  HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=1;
11549
 
+                        
11550
 
+  HAVE_SA_FAMILY_T=1;   
11551
 
+  HAVE_ACCEPT4=1;       
11552
 
+
11553
 
+
11554
 
+   if test $ac_cv_header_sys_socket_h = no; then
11555
 
+                         for ac_header in ws2tcpip.h
11556
 
+do :
11557
 
+  ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default"
11558
 
+if test "x$ac_cv_header_ws2tcpip_h" = xyes; then :
11559
 
+  cat >>confdefs.h <<_ACEOF
11560
 
+@%:@define HAVE_WS2TCPIP_H 1
11561
 
+_ACEOF
11562
 
11563
 
+fi
11564
 
+
11565
 
+done
11566
 
+
11567
 
+   fi
11568
 
+  
11569
 
+
11570
 
+  
11571
 
+  
11572
 
+  
11573
 
+
11574
 
+        case "$host_os" in
11575
 
+    osf*)
11576
 
+      
11577
 
+$as_echo "@%:@define _POSIX_PII_SOCKET 1" >>confdefs.h
11578
 
+
11579
 
+      ;;
11580
 
+  esac
11581
 
+
11582
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/socket.h> is self-contained" >&5
11583
 
+$as_echo_n "checking whether <sys/socket.h> is self-contained... " >&6; }
11584
 
+if ${gl_cv_header_sys_socket_h_selfcontained+:} false; then :
11585
 
+  $as_echo_n "(cached) " >&6
11586
 
+else
11587
 
+  
11588
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11589
 
+/* end confdefs.h.  */
11590
 
+#include <sys/socket.h>
11591
 
+int
11592
 
+main ()
11593
 
+{
11594
 
+
11595
 
+  ;
11596
 
+  return 0;
11597
 
+}
11598
 
+_ACEOF
11599
 
+if ac_fn_c_try_compile "$LINENO"; then :
11600
 
+  gl_cv_header_sys_socket_h_selfcontained=yes
11601
 
+else
11602
 
+  gl_cv_header_sys_socket_h_selfcontained=no
11603
 
+fi
11604
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11605
 
+    
11606
 
+fi
11607
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5
11608
 
+$as_echo "$gl_cv_header_sys_socket_h_selfcontained" >&6; }
11609
 
+  if test $gl_cv_header_sys_socket_h_selfcontained = yes; then
11610
 
+            for ac_func in shutdown
11611
 
+do :
11612
 
+  ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown"
11613
 
+if test "x$ac_cv_func_shutdown" = xyes; then :
11614
 
+  cat >>confdefs.h <<_ACEOF
11615
 
+@%:@define HAVE_SHUTDOWN 1
11616
 
+_ACEOF
11617
 
11618
 
+fi
11619
 
+done
11620
 
+
11621
 
+    if test $ac_cv_func_shutdown = yes; then
11622
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/socket.h> defines the SHUT_* macros" >&5
11623
 
+$as_echo_n "checking whether <sys/socket.h> defines the SHUT_* macros... " >&6; }
11624
 
+if ${gl_cv_header_sys_socket_h_shut+:} false; then :
11625
 
+  $as_echo_n "(cached) " >&6
11626
 
+else
11627
 
+  
11628
 
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11629
 
+/* end confdefs.h.  */
11630
 
+#include <sys/socket.h>
11631
 
+int
11632
 
+main ()
11633
 
+{
11634
 
+int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR };
11635
 
+  ;
11636
 
+  return 0;
11637
 
+}
11638
 
+_ACEOF
11639
 
+if ac_fn_c_try_compile "$LINENO"; then :
11640
 
+  gl_cv_header_sys_socket_h_shut=yes
11641
 
+else
11642
 
+  gl_cv_header_sys_socket_h_shut=no
11643
 
+fi
11644
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11645
 
+        
11646
 
+fi
11647
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5
11648
 
+$as_echo "$gl_cv_header_sys_socket_h_shut" >&6; }
11649
 
+      if test $gl_cv_header_sys_socket_h_shut = no; then
11650
 
+        SYS_SOCKET_H='sys/socket.h'
11651
 
+      fi
11652
 
+    fi
11653
 
+  fi
11654
 
+  # We need to check for ws2tcpip.h now.
11655
 
+  
11656
 
+    
11657
 
+  
11658
 
+  
11659
 
+  
11660
 
+  
11661
 
+
11662
 
+  
11663
 
+    
11664
 
+
11665
 
+  
11666
 
+     if test $gl_cv_have_include_next = yes; then
11667
 
+       gl_cv_next_sys_socket_h='<'sys/socket.h'>'
11668
 
+     else
11669
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/socket.h>" >&5
11670
 
+$as_echo_n "checking absolute name of <sys/socket.h>... " >&6; }
11671
 
+if ${gl_cv_next_sys_socket_h+:} false; then :
11672
 
+  $as_echo_n "(cached) " >&6
11673
 
+else
11674
 
+  
11675
 
+             if test $ac_cv_header_sys_socket_h = yes; then
11676
 
+             
11677
 
+            
11678
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679
 
+/* end confdefs.h.  */
11680
 
+#include <sys/socket.h>
11681
 
+                  
11682
 
+_ACEOF
11683
 
+                                                                                                                        case "$host_os" in
11684
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
11685
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
11686
 
+               esac
11687
 
+                                                            gl_cv_next_sys_socket_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
11688
 
+                  sed -n '\#/sys/socket.h#{
11689
 
+                    s#.*"\(.*/sys/socket.h\)".*#\1#
11690
 
+                    s#^/[^/]#//&#
11691
 
+                    p
11692
 
+                    q
11693
 
+                  }'`'"'
11694
 
+          else
11695
 
+               gl_cv_next_sys_socket_h='<'sys/socket.h'>'
11696
 
+             fi
11697
 
+            
11698
 
+         
11699
 
+fi
11700
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5
11701
 
+$as_echo "$gl_cv_next_sys_socket_h" >&6; }
11702
 
+     fi
11703
 
+     NEXT_SYS_SOCKET_H=$gl_cv_next_sys_socket_h
11704
 
+
11705
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
11706
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
11707
 
+       gl_next_as_first_directive='<'sys/socket.h'>'
11708
 
+     else
11709
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
11710
 
+       gl_next_as_first_directive=$gl_cv_next_sys_socket_h
11711
 
+     fi
11712
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H=$gl_next_as_first_directive
11713
 
+
11714
 
+     
11715
 
+
11716
 
+
11717
 
+  if test $ac_cv_header_sys_socket_h = yes; then
11718
 
+    HAVE_SYS_SOCKET_H=1
11719
 
+    HAVE_WS2TCPIP_H=0
11720
 
+  else
11721
 
+    HAVE_SYS_SOCKET_H=0
11722
 
+    if test $ac_cv_header_ws2tcpip_h = yes; then
11723
 
+      HAVE_WS2TCPIP_H=1
11724
 
+    else
11725
 
+      HAVE_WS2TCPIP_H=0
11726
 
+    fi
11727
 
+  fi
11728
 
+  
11729
 
+  
11730
 
+
11731
 
+  ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
11732
 
+  /* sys/types.h is not needed according to POSIX, but the
11733
 
+     sys/socket.h in i386-unknown-freebsd4.10 and
11734
 
+     powerpc-apple-darwin5.5 required it. */
11735
 
+#include <sys/types.h>
11736
 
+#ifdef HAVE_SYS_SOCKET_H
11737
 
+#include <sys/socket.h>
11738
 
+#endif
11739
 
+#ifdef HAVE_WS2TCPIP_H
11740
 
+#include <ws2tcpip.h>
11741
 
+#endif
11742
 
+
11743
 
+"
11744
 
+if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
11745
 
+  
11746
 
+cat >>confdefs.h <<_ACEOF
11747
 
+@%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1
11748
 
+_ACEOF
11749
 
+
11750
 
+
11751
 
+fi
11752
 
+ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" "
11753
 
+  /* sys/types.h is not needed according to POSIX, but the
11754
 
+     sys/socket.h in i386-unknown-freebsd4.10 and
11755
 
+     powerpc-apple-darwin5.5 required it. */
11756
 
+#include <sys/types.h>
11757
 
+#ifdef HAVE_SYS_SOCKET_H
11758
 
+#include <sys/socket.h>
11759
 
+#endif
11760
 
+#ifdef HAVE_WS2TCPIP_H
11761
 
+#include <ws2tcpip.h>
11762
 
+#endif
11763
 
+
11764
 
+"
11765
 
+if test "x$ac_cv_type_sa_family_t" = xyes; then :
11766
 
+  
11767
 
+cat >>confdefs.h <<_ACEOF
11768
 
+@%:@define HAVE_SA_FAMILY_T 1
11769
 
+_ACEOF
11770
 
+
11771
 
+
11772
 
+fi
11773
 
+
11774
 
+  if test $ac_cv_type_struct_sockaddr_storage = no; then
11775
 
+    HAVE_STRUCT_SOCKADDR_STORAGE=0
11776
 
+  fi
11777
 
+  if test $ac_cv_type_sa_family_t = no; then
11778
 
+    HAVE_SA_FAMILY_T=0
11779
 
+  fi
11780
 
+  if test $ac_cv_type_struct_sockaddr_storage != no; then
11781
 
+    ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "#include <sys/types.h>
11782
 
+       #ifdef HAVE_SYS_SOCKET_H
11783
 
+       #include <sys/socket.h>
11784
 
+       #endif
11785
 
+       #ifdef HAVE_WS2TCPIP_H
11786
 
+       #include <ws2tcpip.h>
11787
 
+       #endif
11788
 
+      
11789
 
+"
11790
 
+if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then :
11791
 
+  
11792
 
+cat >>confdefs.h <<_ACEOF
11793
 
+@%:@define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
11794
 
+_ACEOF
11795
 
+
11796
 
+
11797
 
+else
11798
 
+  HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=0
11799
 
+fi
11800
 
+
11801
 
+  fi
11802
 
+  if test $HAVE_STRUCT_SOCKADDR_STORAGE = 0 || test $HAVE_SA_FAMILY_T = 0 \
11803
 
+     || test $HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = 0; then
11804
 
+    SYS_SOCKET_H='sys/socket.h'
11805
 
+  fi
11806
 
+  
11807
 
+  
11808
 
+  
11809
 
+  
11810
 
+  if test $ac_cv_header_sys_socket_h != yes; then
11811
 
+                    for ac_header in winsock2.h
11812
 
+do :
11813
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
11814
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
11815
 
+  cat >>confdefs.h <<_ACEOF
11816
 
+@%:@define HAVE_WINSOCK2_H 1
11817
 
+_ACEOF
11818
 
11819
 
+fi
11820
 
+
11821
 
+done
11822
 
+
11823
 
+  fi
11824
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
11825
 
+    HAVE_WINSOCK2_H=1
11826
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
11827
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
11828
 
+  else
11829
 
+    HAVE_WINSOCK2_H=0
11830
 
+  fi
11831
 
+  
11832
 
+
11833
 
+
11834
 
+      
11835
 
+    for gl_func in socket connect accept bind getpeername getsockname getsockopt     listen recv send recvfrom sendto setsockopt shutdown accept4; do
11836
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
11837
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
11838
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
11839
 
+if eval \${$as_gl_Symbol+:} false; then :
11840
 
+  $as_echo_n "(cached) " >&6
11841
 
+else
11842
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11843
 
+/* end confdefs.h.  */
11844
 
+
11845
 
+/* Some systems require prerequisite headers.  */
11846
 
+#include <sys/types.h>
11847
 
+#include <sys/socket.h>
11848
 
+    
11849
 
+int
11850
 
+main ()
11851
 
+{
11852
 
+@%:@undef $gl_func
11853
 
+  (void) $gl_func;
11854
 
+  ;
11855
 
+  return 0;
11856
 
+}
11857
 
+_ACEOF
11858
 
+if ac_fn_c_try_compile "$LINENO"; then :
11859
 
+  eval "$as_gl_Symbol=yes"
11860
 
+else
11861
 
+  eval "$as_gl_Symbol=no"
11862
 
+fi
11863
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11864
 
+fi
11865
 
+eval ac_res=\$$as_gl_Symbol
11866
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11867
 
+$as_echo "$ac_res" >&6; }
11868
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
11869
 
+  cat >>confdefs.h <<_ACEOF
11870
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
11871
 
+_ACEOF
11872
 
+
11873
 
+                     eval ac_cv_have_decl_$gl_func=yes
11874
 
+fi
11875
 
+      done
11876
 
+
11877
 
+
11878
 
+
11879
 
+  GNULIB_GETADDRINFO=0; 
11880
 
+    HAVE_STRUCT_ADDRINFO=1;   
11881
 
+  HAVE_DECL_FREEADDRINFO=1; 
11882
 
+  HAVE_DECL_GAI_STRERROR=1; 
11883
 
+  HAVE_DECL_GETADDRINFO=1;  
11884
 
+  HAVE_DECL_GETNAMEINFO=1;  
11885
 
+  REPLACE_GAI_STRERROR=0;   
11886
 
+
11887
 
+
11888
 
+
11889
 
+
11890
 
+  
11891
 
+  
11892
 
+  
11893
 
+  
11894
 
+  
11895
 
+
11896
 
+  
11897
 
+    
11898
 
+
11899
 
+  
11900
 
+     if test $gl_cv_have_include_next = yes; then
11901
 
+       gl_cv_next_netdb_h='<'netdb.h'>'
11902
 
+     else
11903
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <netdb.h>" >&5
11904
 
+$as_echo_n "checking absolute name of <netdb.h>... " >&6; }
11905
 
+if ${gl_cv_next_netdb_h+:} false; then :
11906
 
+  $as_echo_n "(cached) " >&6
11907
 
+else
11908
 
+  
11909
 
+             if test $ac_cv_header_netdb_h = yes; then
11910
 
+             
11911
 
+            
11912
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11913
 
+/* end confdefs.h.  */
11914
 
+#include <netdb.h>
11915
 
+                  
11916
 
+_ACEOF
11917
 
+                                                                                                                        case "$host_os" in
11918
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
11919
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
11920
 
+               esac
11921
 
+                                                            gl_cv_next_netdb_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
11922
 
+                  sed -n '\#/netdb.h#{
11923
 
+                    s#.*"\(.*/netdb.h\)".*#\1#
11924
 
+                    s#^/[^/]#//&#
11925
 
+                    p
11926
 
+                    q
11927
 
+                  }'`'"'
11928
 
+          else
11929
 
+               gl_cv_next_netdb_h='<'netdb.h'>'
11930
 
+             fi
11931
 
+            
11932
 
+         
11933
 
+fi
11934
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5
11935
 
+$as_echo "$gl_cv_next_netdb_h" >&6; }
11936
 
+     fi
11937
 
+     NEXT_NETDB_H=$gl_cv_next_netdb_h
11938
 
+
11939
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
11940
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
11941
 
+       gl_next_as_first_directive='<'netdb.h'>'
11942
 
+     else
11943
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
11944
 
+       gl_next_as_first_directive=$gl_cv_next_netdb_h
11945
 
+     fi
11946
 
+     NEXT_AS_FIRST_DIRECTIVE_NETDB_H=$gl_next_as_first_directive
11947
 
+
11948
 
+     
11949
 
+
11950
 
+
11951
 
+  if test $ac_cv_header_netdb_h = yes; then
11952
 
+    HAVE_NETDB_H=1
11953
 
+  else
11954
 
+    HAVE_NETDB_H=0
11955
 
+  fi
11956
 
+  
11957
 
+
11958
 
+      
11959
 
+    for gl_func in getaddrinfo freeaddrinfo gai_strerror getnameinfo; do
11960
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
11961
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
11962
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
11963
 
+if eval \${$as_gl_Symbol+:} false; then :
11964
 
+  $as_echo_n "(cached) " >&6
11965
 
+else
11966
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967
 
+/* end confdefs.h.  */
11968
 
+#include <netdb.h>
11969
 
+int
11970
 
+main ()
11971
 
+{
11972
 
+@%:@undef $gl_func
11973
 
+  (void) $gl_func;
11974
 
+  ;
11975
 
+  return 0;
11976
 
+}
11977
 
+_ACEOF
11978
 
+if ac_fn_c_try_compile "$LINENO"; then :
11979
 
+  eval "$as_gl_Symbol=yes"
11980
 
+else
11981
 
+  eval "$as_gl_Symbol=no"
11982
 
+fi
11983
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11984
 
+fi
11985
 
+eval ac_res=\$$as_gl_Symbol
11986
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11987
 
+$as_echo "$ac_res" >&6; }
11988
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
11989
 
+  cat >>confdefs.h <<_ACEOF
11990
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
11991
 
+_ACEOF
11992
 
+
11993
 
+                     eval ac_cv_have_decl_$gl_func=yes
11994
 
+fi
11995
 
+      done
11996
 
+
11997
 
+
11998
 
+
11999
 
+                  HOSTENT_LIB=
12000
 
+  gl_saved_libs="$LIBS"
12001
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12002
 
+$as_echo_n "checking for library containing gethostbyname... " >&6; }
12003
 
+if ${ac_cv_search_gethostbyname+:} false; then :
12004
 
+  $as_echo_n "(cached) " >&6
12005
 
+else
12006
 
+  ac_func_search_save_LIBS=$LIBS
12007
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008
 
+/* end confdefs.h.  */
12009
 
+
12010
 
+/* Override any GCC internal prototype to avoid an error.
12011
 
+   Use char because int might match the return type of a GCC
12012
 
+   builtin and then its argument prototype would still apply.  */
12013
 
+#ifdef __cplusplus
12014
 
+extern "C"
12015
 
+#endif
12016
 
+char gethostbyname ();
12017
 
+int
12018
 
+main ()
12019
 
+{
12020
 
+return gethostbyname ();
12021
 
+  ;
12022
 
+  return 0;
12023
 
+}
12024
 
+_ACEOF
12025
 
+for ac_lib in '' nsl network net; do
12026
 
+  if test -z "$ac_lib"; then
12027
 
+    ac_res="none required"
12028
 
+  else
12029
 
+    ac_res=-l$ac_lib
12030
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12031
 
+  fi
12032
 
+  if ac_fn_c_try_link "$LINENO"; then :
12033
 
+  ac_cv_search_gethostbyname=$ac_res
12034
 
+fi
12035
 
+rm -f core conftest.err conftest.$ac_objext \
12036
 
+    conftest$ac_exeext
12037
 
+  if ${ac_cv_search_gethostbyname+:} false; then :
12038
 
+  break
12039
 
+fi
12040
 
+done
12041
 
+if ${ac_cv_search_gethostbyname+:} false; then :
12042
 
+  
12043
 
+else
12044
 
+  ac_cv_search_gethostbyname=no
12045
 
+fi
12046
 
+rm conftest.$ac_ext
12047
 
+LIBS=$ac_func_search_save_LIBS
12048
 
+fi
12049
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12050
 
+$as_echo "$ac_cv_search_gethostbyname" >&6; }
12051
 
+ac_res=$ac_cv_search_gethostbyname
12052
 
+if test "$ac_res" != no; then :
12053
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12054
 
+  if test "$ac_cv_search_gethostbyname" != "none required"; then
12055
 
+       HOSTENT_LIB="$ac_cv_search_gethostbyname"
12056
 
+     fi
12057
 
+fi
12058
 
+
12059
 
+  LIBS="$gl_saved_libs"
12060
 
+  if test -z "$HOSTENT_LIB"; then
12061
 
+    for ac_func in gethostbyname
12062
 
+do :
12063
 
+  ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
12064
 
+if test "x$ac_cv_func_gethostbyname" = xyes; then :
12065
 
+  cat >>confdefs.h <<_ACEOF
12066
 
+@%:@define HAVE_GETHOSTBYNAME 1
12067
 
+_ACEOF
12068
 
12069
 
+else
12070
 
+  
12071
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5
12072
 
+$as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; }
12073
 
+if ${gl_cv_w32_gethostbyname+:} false; then :
12074
 
+  $as_echo_n "(cached) " >&6
12075
 
+else
12076
 
+  gl_cv_w32_gethostbyname=no
12077
 
+         gl_save_LIBS="$LIBS"
12078
 
+         LIBS="$LIBS -lws2_32"
12079
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12080
 
+/* end confdefs.h.  */
12081
 
+
12082
 
+#ifdef HAVE_WINSOCK2_H
12083
 
+#include <winsock2.h>
12084
 
+#endif
12085
 
+#include <stddef.h>
12086
 
+              
12087
 
+int
12088
 
+main ()
12089
 
+{
12090
 
+gethostbyname(NULL);
12091
 
+  ;
12092
 
+  return 0;
12093
 
+}
12094
 
+_ACEOF
12095
 
+if ac_fn_c_try_link "$LINENO"; then :
12096
 
+  gl_cv_w32_gethostbyname=yes
12097
 
+fi
12098
 
+rm -f core conftest.err conftest.$ac_objext \
12099
 
+    conftest$ac_exeext conftest.$ac_ext
12100
 
+         LIBS="$gl_save_LIBS"
12101
 
+        
12102
 
+fi
12103
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostbyname" >&5
12104
 
+$as_echo "$gl_cv_w32_gethostbyname" >&6; }
12105
 
+      if test "$gl_cv_w32_gethostbyname" = "yes"; then
12106
 
+        HOSTENT_LIB="-lws2_32"
12107
 
+      fi
12108
 
+    
12109
 
+fi
12110
 
+done
12111
 
+
12112
 
+  fi
12113
 
+  
12114
 
+
12115
 
+
12116
 
+                      SERVENT_LIB=
12117
 
+  gl_saved_libs="$LIBS"
12118
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5
12119
 
+$as_echo_n "checking for library containing getservbyname... " >&6; }
12120
 
+if ${ac_cv_search_getservbyname+:} false; then :
12121
 
+  $as_echo_n "(cached) " >&6
12122
 
+else
12123
 
+  ac_func_search_save_LIBS=$LIBS
12124
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12125
 
+/* end confdefs.h.  */
12126
 
+
12127
 
+/* Override any GCC internal prototype to avoid an error.
12128
 
+   Use char because int might match the return type of a GCC
12129
 
+   builtin and then its argument prototype would still apply.  */
12130
 
+#ifdef __cplusplus
12131
 
+extern "C"
12132
 
+#endif
12133
 
+char getservbyname ();
12134
 
+int
12135
 
+main ()
12136
 
+{
12137
 
+return getservbyname ();
12138
 
+  ;
12139
 
+  return 0;
12140
 
+}
12141
 
+_ACEOF
12142
 
+for ac_lib in '' socket network net; do
12143
 
+  if test -z "$ac_lib"; then
12144
 
+    ac_res="none required"
12145
 
+  else
12146
 
+    ac_res=-l$ac_lib
12147
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12148
 
+  fi
12149
 
+  if ac_fn_c_try_link "$LINENO"; then :
12150
 
+  ac_cv_search_getservbyname=$ac_res
12151
 
+fi
12152
 
+rm -f core conftest.err conftest.$ac_objext \
12153
 
+    conftest$ac_exeext
12154
 
+  if ${ac_cv_search_getservbyname+:} false; then :
12155
 
+  break
12156
 
+fi
12157
 
+done
12158
 
+if ${ac_cv_search_getservbyname+:} false; then :
12159
 
+  
12160
 
+else
12161
 
+  ac_cv_search_getservbyname=no
12162
 
+fi
12163
 
+rm conftest.$ac_ext
12164
 
+LIBS=$ac_func_search_save_LIBS
12165
 
+fi
12166
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5
12167
 
+$as_echo "$ac_cv_search_getservbyname" >&6; }
12168
 
+ac_res=$ac_cv_search_getservbyname
12169
 
+if test "$ac_res" != no; then :
12170
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12171
 
+  if test "$ac_cv_search_getservbyname" != "none required"; then
12172
 
+       SERVENT_LIB="$ac_cv_search_getservbyname"
12173
 
+     fi
12174
 
+fi
12175
 
+
12176
 
+  LIBS="$gl_saved_libs"
12177
 
+  if test -z "$SERVENT_LIB"; then
12178
 
+    for ac_func in getservbyname
12179
 
+do :
12180
 
+  ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
12181
 
+if test "x$ac_cv_func_getservbyname" = xyes; then :
12182
 
+  cat >>confdefs.h <<_ACEOF
12183
 
+@%:@define HAVE_GETSERVBYNAME 1
12184
 
+_ACEOF
12185
 
12186
 
+else
12187
 
+  
12188
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5
12189
 
+$as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; }
12190
 
+if ${gl_cv_w32_getservbyname+:} false; then :
12191
 
+  $as_echo_n "(cached) " >&6
12192
 
+else
12193
 
+  gl_cv_w32_getservbyname=no
12194
 
+         gl_save_LIBS="$LIBS"
12195
 
+         LIBS="$LIBS -lws2_32"
12196
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12197
 
+/* end confdefs.h.  */
12198
 
+
12199
 
+#ifdef HAVE_WINSOCK2_H
12200
 
+#include <winsock2.h>
12201
 
+#endif
12202
 
+#include <stddef.h>
12203
 
+              
12204
 
+int
12205
 
+main ()
12206
 
+{
12207
 
+getservbyname(NULL,NULL);
12208
 
+  ;
12209
 
+  return 0;
12210
 
+}
12211
 
+_ACEOF
12212
 
+if ac_fn_c_try_link "$LINENO"; then :
12213
 
+  gl_cv_w32_getservbyname=yes
12214
 
+fi
12215
 
+rm -f core conftest.err conftest.$ac_objext \
12216
 
+    conftest$ac_exeext conftest.$ac_ext
12217
 
+         LIBS="$gl_save_LIBS"
12218
 
+        
12219
 
+fi
12220
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getservbyname" >&5
12221
 
+$as_echo "$gl_cv_w32_getservbyname" >&6; }
12222
 
+      if test "$gl_cv_w32_getservbyname" = "yes"; then
12223
 
+        SERVENT_LIB="-lws2_32"
12224
 
+      fi
12225
 
+    
12226
 
+fi
12227
 
+done
12228
 
+
12229
 
+  fi
12230
 
+  
12231
 
+
12232
 
+
12233
 
+    
12234
 
+
12235
 
+      HAVE_INET_NTOP=1
12236
 
+  gl_save_LIBS=$LIBS
12237
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
12238
 
+$as_echo_n "checking for library containing inet_ntop... " >&6; }
12239
 
+if ${ac_cv_search_inet_ntop+:} false; then :
12240
 
+  $as_echo_n "(cached) " >&6
12241
 
+else
12242
 
+  ac_func_search_save_LIBS=$LIBS
12243
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12244
 
+/* end confdefs.h.  */
12245
 
+
12246
 
+/* Override any GCC internal prototype to avoid an error.
12247
 
+   Use char because int might match the return type of a GCC
12248
 
+   builtin and then its argument prototype would still apply.  */
12249
 
+#ifdef __cplusplus
12250
 
+extern "C"
12251
 
+#endif
12252
 
+char inet_ntop ();
12253
 
+int
12254
 
+main ()
12255
 
+{
12256
 
+return inet_ntop ();
12257
 
+  ;
12258
 
+  return 0;
12259
 
+}
12260
 
+_ACEOF
12261
 
+for ac_lib in '' nsl; do
12262
 
+  if test -z "$ac_lib"; then
12263
 
+    ac_res="none required"
12264
 
+  else
12265
 
+    ac_res=-l$ac_lib
12266
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12267
 
+  fi
12268
 
+  if ac_fn_c_try_link "$LINENO"; then :
12269
 
+  ac_cv_search_inet_ntop=$ac_res
12270
 
+fi
12271
 
+rm -f core conftest.err conftest.$ac_objext \
12272
 
+    conftest$ac_exeext
12273
 
+  if ${ac_cv_search_inet_ntop+:} false; then :
12274
 
+  break
12275
 
+fi
12276
 
+done
12277
 
+if ${ac_cv_search_inet_ntop+:} false; then :
12278
 
+  
12279
 
+else
12280
 
+  ac_cv_search_inet_ntop=no
12281
 
+fi
12282
 
+rm conftest.$ac_ext
12283
 
+LIBS=$ac_func_search_save_LIBS
12284
 
+fi
12285
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5
12286
 
+$as_echo "$ac_cv_search_inet_ntop" >&6; }
12287
 
+ac_res=$ac_cv_search_inet_ntop
12288
 
+if test "$ac_res" != no; then :
12289
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12290
 
+  
12291
 
+else
12292
 
+  for ac_func in inet_ntop
12293
 
+do :
12294
 
+  ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
12295
 
+if test "x$ac_cv_func_inet_ntop" = xyes; then :
12296
 
+  cat >>confdefs.h <<_ACEOF
12297
 
+@%:@define HAVE_INET_NTOP 1
12298
 
+_ACEOF
12299
 
12300
 
+fi
12301
 
+done
12302
 
+
12303
 
+     if test $ac_cv_func_inet_ntop = no; then
12304
 
+       HAVE_INET_NTOP=0
12305
 
+     fi
12306
 
+    
12307
 
+fi
12308
 
+
12309
 
+  LIBS=$gl_save_LIBS
12310
 
+
12311
 
+  INET_NTOP_LIB=
12312
 
+  if test "$ac_cv_search_inet_ntop" != "no" &&
12313
 
+     test "$ac_cv_search_inet_ntop" != "none required"; then
12314
 
+    INET_NTOP_LIB="$ac_cv_search_inet_ntop"
12315
 
+  fi
12316
 
+  
12317
 
+
12318
 
+  
12319
 
+  ac_fn_c_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include <arpa/inet.h>
12320
 
+     #if HAVE_NETDB_H
12321
 
+     # include <netdb.h>
12322
 
+     #endif
12323
 
+    
12324
 
+"
12325
 
+if test "x$ac_cv_have_decl_inet_ntop" = xyes; then :
12326
 
+  ac_have_decl=1
12327
 
+else
12328
 
+  ac_have_decl=0
12329
 
+fi
12330
 
+
12331
 
+cat >>confdefs.h <<_ACEOF
12332
 
+@%:@define HAVE_DECL_INET_NTOP $ac_have_decl
12333
 
+_ACEOF
12334
 
+
12335
 
+  if test $ac_cv_have_decl_inet_ntop = no; then
12336
 
+    HAVE_DECL_INET_NTOP=0
12337
 
+    
12338
 
+  fi
12339
 
+
12340
 
+
12341
 
+
12342
 
+
12343
 
+  
12344
 
+  
12345
 
+
12346
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv4 sockets" >&5
12347
 
+$as_echo_n "checking for IPv4 sockets... " >&6; }
12348
 
+  if ${gl_cv_socket_ipv4+:} false; then :
12349
 
+  $as_echo_n "(cached) " >&6
12350
 
+else
12351
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12352
 
+/* end confdefs.h.  */
12353
 
+#include <sys/types.h>
12354
 
+#ifdef HAVE_SYS_SOCKET_H
12355
 
+#include <sys/socket.h>
12356
 
+#endif
12357
 
+#ifdef HAVE_NETINET_IN_H
12358
 
+#include <netinet/in.h>
12359
 
+#endif
12360
 
+#ifdef HAVE_WINSOCK2_H
12361
 
+#include <winsock2.h>
12362
 
+#endif
12363
 
+int
12364
 
+main ()
12365
 
+{
12366
 
+int x = AF_INET; struct in_addr y; struct sockaddr_in z;
12367
 
+ if (&x && &y && &z) return 0;
12368
 
+  ;
12369
 
+  return 0;
12370
 
+}
12371
 
+_ACEOF
12372
 
+if ac_fn_c_try_compile "$LINENO"; then :
12373
 
+  gl_cv_socket_ipv4=yes
12374
 
+else
12375
 
+  gl_cv_socket_ipv4=no
12376
 
+fi
12377
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12378
 
+fi
12379
 
+
12380
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv4" >&5
12381
 
+$as_echo "$gl_cv_socket_ipv4" >&6; }
12382
 
+  if test $gl_cv_socket_ipv4 = yes; then
12383
 
+    
12384
 
+$as_echo "@%:@define HAVE_IPV4 1" >>confdefs.h
12385
 
+
12386
 
+  fi
12387
 
+
12388
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv6 sockets" >&5
12389
 
+$as_echo_n "checking for IPv6 sockets... " >&6; }
12390
 
+  if ${gl_cv_socket_ipv6+:} false; then :
12391
 
+  $as_echo_n "(cached) " >&6
12392
 
+else
12393
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12394
 
+/* end confdefs.h.  */
12395
 
+#include <sys/types.h>
12396
 
+#ifdef HAVE_SYS_SOCKET_H
12397
 
+#include <sys/socket.h>
12398
 
+#endif
12399
 
+#ifdef HAVE_NETINET_IN_H
12400
 
+#include <netinet/in.h>
12401
 
+#endif
12402
 
+#ifdef HAVE_WINSOCK2_H
12403
 
+#include <winsock2.h>
12404
 
+#endif
12405
 
+#ifdef HAVE_WS2TCPIP_H
12406
 
+#include <ws2tcpip.h>
12407
 
+#endif
12408
 
+int
12409
 
+main ()
12410
 
+{
12411
 
+int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z;
12412
 
+ if (&x && &y && &z) return 0;
12413
 
+  ;
12414
 
+  return 0;
12415
 
+}
12416
 
+_ACEOF
12417
 
+if ac_fn_c_try_compile "$LINENO"; then :
12418
 
+  gl_cv_socket_ipv6=yes
12419
 
+else
12420
 
+  gl_cv_socket_ipv6=no
12421
 
+fi
12422
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12423
 
+fi
12424
 
+
12425
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv6" >&5
12426
 
+$as_echo "$gl_cv_socket_ipv6" >&6; }
12427
 
+  if test $gl_cv_socket_ipv6 = yes; then
12428
 
+    
12429
 
+$as_echo "@%:@define HAVE_IPV6 1" >>confdefs.h
12430
 
+
12431
 
+  fi
12432
 
+
12433
 
+
12434
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getcwd (NULL, 0) allocates memory for result" >&5
12435
 
+$as_echo_n "checking whether getcwd (NULL, 0) allocates memory for result... " >&6; }
12436
 
+if ${gl_cv_func_getcwd_null+:} false; then :
12437
 
+  $as_echo_n "(cached) " >&6
12438
 
+else
12439
 
+  if test "$cross_compiling" = yes; then :
12440
 
+  
12441
 
+       case "$host_os" in
12442
 
+                               # Guess yes on glibc systems.
12443
 
+         *-gnu*)               gl_cv_func_getcwd_null="guessing yes";;
12444
 
+                               # Guess yes on Cygwin.
12445
 
+         cygwin*)              gl_cv_func_getcwd_null="guessing yes";;
12446
 
+                               # If we don't know, assume the worst.
12447
 
+         *)                    gl_cv_func_getcwd_null="guessing no";;
12448
 
+       esac
12449
 
+        
12450
 
+else
12451
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12452
 
+/* end confdefs.h.  */
12453
 
+
12454
 
+#        include <unistd.h>
12455
 
+#        ifndef getcwd
12456
 
+         char *getcwd ();
12457
 
+#        endif
12458
 
+
12459
 
+int
12460
 
+main ()
12461
 
+{
12462
 
+
12463
 
+#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
12464
 
+/* mingw cwd does not start with '/', but getcwd does allocate.
12465
 
+   However, mingw fails to honor non-zero size.  */
12466
 
+#else
12467
 
+           if (chdir ("/") != 0)
12468
 
+             return 1;
12469
 
+           else
12470
 
+             {
12471
 
+               char *f = getcwd (NULL, 0);
12472
 
+               if (! f)
12473
 
+                 return 2;
12474
 
+               if (f[0] != '/')
12475
 
+                 return 3;
12476
 
+               if (f[1] != '\0')
12477
 
+                 return 4;
12478
 
+               return 0;
12479
 
+             }
12480
 
+#endif
12481
 
+         
12482
 
+  ;
12483
 
+  return 0;
12484
 
+}
12485
 
+_ACEOF
12486
 
+if ac_fn_c_try_run "$LINENO"; then :
12487
 
+  gl_cv_func_getcwd_null=yes
12488
 
+else
12489
 
+  gl_cv_func_getcwd_null=no
12490
 
+fi
12491
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12492
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
12493
 
+fi
12494
 
+
12495
 
+fi
12496
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_null" >&5
12497
 
+$as_echo "$gl_cv_func_getcwd_null" >&6; }
12498
 
+
12499
 
+
12500
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getcwd with POSIX signature" >&5
12501
 
+$as_echo_n "checking for getcwd with POSIX signature... " >&6; }
12502
 
+if ${gl_cv_func_getcwd_posix_signature+:} false; then :
12503
 
+  $as_echo_n "(cached) " >&6
12504
 
+else
12505
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506
 
+/* end confdefs.h.  */
12507
 
+#include <unistd.h>
12508
 
+int
12509
 
+main ()
12510
 
+{
12511
 
+extern
12512
 
+           #ifdef __cplusplus
12513
 
+           "C"
12514
 
+           #endif
12515
 
+           char *getcwd (char *, size_t);
12516
 
+         
12517
 
+  ;
12518
 
+  return 0;
12519
 
+}
12520
 
+      
12521
 
+_ACEOF
12522
 
+if ac_fn_c_try_compile "$LINENO"; then :
12523
 
+  gl_cv_func_getcwd_posix_signature=yes
12524
 
+else
12525
 
+  gl_cv_func_getcwd_posix_signature=no
12526
 
+fi
12527
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12528
 
+   
12529
 
+fi
12530
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_posix_signature" >&5
12531
 
+$as_echo "$gl_cv_func_getcwd_posix_signature" >&6; }
12532
 
+
12533
 
+ac_fn_c_check_decl "$LINENO" "getcwd" "ac_cv_have_decl_getcwd" "$ac_includes_default"
12534
 
+if test "x$ac_cv_have_decl_getcwd" = xyes; then :
12535
 
+  ac_have_decl=1
12536
 
+else
12537
 
+  ac_have_decl=0
12538
 
+fi
12539
 
+
12540
 
+cat >>confdefs.h <<_ACEOF
12541
 
+@%:@define HAVE_DECL_GETCWD $ac_have_decl
12542
 
+_ACEOF
12543
 
+
12544
 
+ac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" "$ac_includes_default"
12545
 
+if test "x$ac_cv_have_decl_getdelim" = xyes; then :
12546
 
+  ac_have_decl=1
12547
 
+else
12548
 
+  ac_have_decl=0
12549
 
+fi
12550
 
+
12551
 
+cat >>confdefs.h <<_ACEOF
12552
 
+@%:@define HAVE_DECL_GETDELIM $ac_have_decl
12553
 
+_ACEOF
12554
 
+
12555
 
+
12556
 
+
12557
 
+
12558
 
+
12559
 
+
12560
 
+  
12561
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arithmetic hrtime_t" >&5
12562
 
+$as_echo_n "checking for arithmetic hrtime_t... " >&6; }
12563
 
+if ${gl_cv_arithmetic_hrtime_t+:} false; then :
12564
 
+  $as_echo_n "(cached) " >&6
12565
 
+else
12566
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567
 
+/* end confdefs.h.  */
12568
 
+#include <time.h>
12569
 
+int
12570
 
+main ()
12571
 
+{
12572
 
+hrtime_t x = 0; return x/x;
12573
 
+  ;
12574
 
+  return 0;
12575
 
+}
12576
 
+_ACEOF
12577
 
+if ac_fn_c_try_compile "$LINENO"; then :
12578
 
+  gl_cv_arithmetic_hrtime_t=yes
12579
 
+else
12580
 
+  gl_cv_arithmetic_hrtime_t=no
12581
 
+fi
12582
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12583
 
+fi
12584
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_arithmetic_hrtime_t" >&5
12585
 
+$as_echo "$gl_cv_arithmetic_hrtime_t" >&6; }
12586
 
+  if test $gl_cv_arithmetic_hrtime_t = yes; then
12587
 
+    
12588
 
+$as_echo "@%:@define HAVE_ARITHMETIC_HRTIME_T 1" >>confdefs.h
12589
 
+
12590
 
+  fi
12591
 
+
12592
 
+
12593
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
12594
 
+$as_echo_n "checking for unsigned long long int... " >&6; }
12595
 
+if ${ac_cv_type_unsigned_long_long_int+:} false; then :
12596
 
+  $as_echo_n "(cached) " >&6
12597
 
+else
12598
 
+  ac_cv_type_unsigned_long_long_int=yes
12599
 
+     if test "x${ac_cv_prog_cc_c99-no}" = xno; then
12600
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12601
 
+/* end confdefs.h.  */
12602
 
+
12603
 
+  /* For now, do not test the preprocessor; as of 2007 there are too many
12604
 
+         implementations with broken preprocessors.  Perhaps this can
12605
 
+         be revisited in 2012.  In the meantime, code should not expect
12606
 
+         #if to work with literals wider than 32 bits.  */
12607
 
+      /* Test literals.  */
12608
 
+      long long int ll = 9223372036854775807ll;
12609
 
+      long long int nll = -9223372036854775807LL;
12610
 
+      unsigned long long int ull = 18446744073709551615ULL;
12611
 
+      /* Test constant expressions.   */
12612
 
+      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
12613
 
+                     ? 1 : -1)];
12614
 
+      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
12615
 
+                     ? 1 : -1)];
12616
 
+      int i = 63;
12617
 
+int
12618
 
+main ()
12619
 
+{
12620
 
+/* Test availability of runtime routines for shift and division.  */
12621
 
+      long long int llmax = 9223372036854775807ll;
12622
 
+      unsigned long long int ullmax = 18446744073709551615ull;
12623
 
+      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
12624
 
+              | (llmax / ll) | (llmax % ll)
12625
 
+              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
12626
 
+              | (ullmax / ull) | (ullmax % ull));
12627
 
+  ;
12628
 
+  return 0;
12629
 
+}
12630
 
+
12631
 
+_ACEOF
12632
 
+if ac_fn_c_try_link "$LINENO"; then :
12633
 
+  
12634
 
+else
12635
 
+  ac_cv_type_unsigned_long_long_int=no
12636
 
+fi
12637
 
+rm -f core conftest.err conftest.$ac_objext \
12638
 
+    conftest$ac_exeext conftest.$ac_ext
12639
 
+     fi
12640
 
+fi
12641
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
12642
 
+$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
12643
 
+  if test $ac_cv_type_unsigned_long_long_int = yes; then
12644
 
+    
12645
 
+$as_echo "@%:@define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
12646
 
+
12647
 
+  fi
12648
 
+
12649
 
+
12650
 
+  
12651
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
12652
 
+$as_echo_n "checking for long long int... " >&6; }
12653
 
+if ${ac_cv_type_long_long_int+:} false; then :
12654
 
+  $as_echo_n "(cached) " >&6
12655
 
+else
12656
 
+  ac_cv_type_long_long_int=yes
12657
 
+      if test "x${ac_cv_prog_cc_c99-no}" = xno; then
12658
 
+        ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
12659
 
+        if test $ac_cv_type_long_long_int = yes; then
12660
 
+                                        if test "$cross_compiling" = yes; then :
12661
 
+  :
12662
 
+else
12663
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12664
 
+/* end confdefs.h.  */
12665
 
+@%:@include <limits.h>
12666
 
+                 @%:@ifndef LLONG_MAX
12667
 
+                 @%:@ define HALF \
12668
 
+                          (1LL << (sizeof (long long int) * CHAR_BIT - 2))
12669
 
+                 @%:@ define LLONG_MAX (HALF - 1 + HALF)
12670
 
+                 @%:@endif
12671
 
+int
12672
 
+main ()
12673
 
+{
12674
 
+long long int n = 1;
12675
 
+                 int i;
12676
 
+                 for (i = 0; ; i++)
12677
 
+                   {
12678
 
+                     long long int m = n << i;
12679
 
+                     if (m >> i != n)
12680
 
+                       return 1;
12681
 
+                     if (LLONG_MAX / 2 < m)
12682
 
+                       break;
12683
 
+                   }
12684
 
+                 return 0;
12685
 
+  ;
12686
 
+  return 0;
12687
 
+}
12688
 
+_ACEOF
12689
 
+if ac_fn_c_try_run "$LINENO"; then :
12690
 
+  
12691
 
+else
12692
 
+  ac_cv_type_long_long_int=no
12693
 
+fi
12694
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12695
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
12696
 
+fi
12697
 
+
12698
 
+        fi
12699
 
+      fi
12700
 
+fi
12701
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
12702
 
+$as_echo "$ac_cv_type_long_long_int" >&6; }
12703
 
+  if test $ac_cv_type_long_long_int = yes; then
12704
 
+    
12705
 
+$as_echo "@%:@define HAVE_LONG_LONG_INT 1" >>confdefs.h
12706
 
+
12707
 
+  fi
12708
 
+
12709
 
+
12710
 
+  
12711
 
+  
12712
 
+  :
12713
 
+
12714
 
+
12715
 
+
12716
 
+
12717
 
+
12718
 
+ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "$ac_includes_default"
12719
 
+if test "x$ac_cv_have_decl_getline" = xyes; then :
12720
 
+  ac_have_decl=1
12721
 
+else
12722
 
+  ac_have_decl=0
12723
 
+fi
12724
 
+
12725
 
+cat >>confdefs.h <<_ACEOF
12726
 
+@%:@define HAVE_DECL_GETLINE $ac_have_decl
12727
 
+_ACEOF
12728
 
+
12729
 
+
12730
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
12731
 
+$as_echo_n "checking for ssize_t... " >&6; }
12732
 
+if ${gt_cv_ssize_t+:} false; then :
12733
 
+  $as_echo_n "(cached) " >&6
12734
 
+else
12735
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12736
 
+/* end confdefs.h.  */
12737
 
+#include <sys/types.h>
12738
 
+int
12739
 
+main ()
12740
 
+{
12741
 
+int x = sizeof (ssize_t *) + sizeof (ssize_t);
12742
 
+            return !x;
12743
 
+  ;
12744
 
+  return 0;
12745
 
+}
12746
 
+_ACEOF
12747
 
+if ac_fn_c_try_compile "$LINENO"; then :
12748
 
+  gt_cv_ssize_t=yes
12749
 
+else
12750
 
+  gt_cv_ssize_t=no
12751
 
+fi
12752
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12753
 
+fi
12754
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5
12755
 
+$as_echo "$gt_cv_ssize_t" >&6; }
12756
 
+  if test $gt_cv_ssize_t = no; then
12757
 
+    
12758
 
+$as_echo "@%:@define ssize_t int" >>confdefs.h
12759
 
+
12760
 
+  fi
12761
 
+
12762
 
+
12763
 
+
12764
 
+
12765
 
+
12766
 
+
12767
 
+
12768
 
+
12769
 
+      
12770
 
+    
12771
 
+
12772
 
+  
12773
 
+  
12774
 
+  
12775
 
+  
12776
 
+
12777
 
+  
12778
 
+    
12779
 
+
12780
 
+  
12781
 
+     if test $gl_cv_have_include_next = yes; then
12782
 
+       gl_cv_next_getopt_h='<'getopt.h'>'
12783
 
+     else
12784
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <getopt.h>" >&5
12785
 
+$as_echo_n "checking absolute name of <getopt.h>... " >&6; }
12786
 
+if ${gl_cv_next_getopt_h+:} false; then :
12787
 
+  $as_echo_n "(cached) " >&6
12788
 
+else
12789
 
+  
12790
 
+             if test $ac_cv_header_getopt_h = yes; then
12791
 
+             
12792
 
+            
12793
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12794
 
+/* end confdefs.h.  */
12795
 
+#include <getopt.h>
12796
 
+                  
12797
 
+_ACEOF
12798
 
+                                                                                                                        case "$host_os" in
12799
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
12800
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
12801
 
+               esac
12802
 
+                                                            gl_cv_next_getopt_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
12803
 
+                  sed -n '\#/getopt.h#{
12804
 
+                    s#.*"\(.*/getopt.h\)".*#\1#
12805
 
+                    s#^/[^/]#//&#
12806
 
+                    p
12807
 
+                    q
12808
 
+                  }'`'"'
12809
 
+          else
12810
 
+               gl_cv_next_getopt_h='<'getopt.h'>'
12811
 
+             fi
12812
 
+            
12813
 
+         
12814
 
+fi
12815
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_getopt_h" >&5
12816
 
+$as_echo "$gl_cv_next_getopt_h" >&6; }
12817
 
+     fi
12818
 
+     NEXT_GETOPT_H=$gl_cv_next_getopt_h
12819
 
+
12820
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
12821
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
12822
 
+       gl_next_as_first_directive='<'getopt.h'>'
12823
 
+     else
12824
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
12825
 
+       gl_next_as_first_directive=$gl_cv_next_getopt_h
12826
 
+     fi
12827
 
+     NEXT_AS_FIRST_DIRECTIVE_GETOPT_H=$gl_next_as_first_directive
12828
 
+
12829
 
+     
12830
 
+
12831
 
+
12832
 
+  if test $ac_cv_header_getopt_h = yes; then
12833
 
+    HAVE_GETOPT_H=1
12834
 
+  else
12835
 
+    HAVE_GETOPT_H=0
12836
 
+  fi
12837
 
+  
12838
 
+
12839
 
+  gl_replace_getopt=
12840
 
+
12841
 
+    if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
12842
 
+    for ac_header in getopt.h
12843
 
+do :
12844
 
+  ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
12845
 
+if test "x$ac_cv_header_getopt_h" = xyes; then :
12846
 
+  cat >>confdefs.h <<_ACEOF
12847
 
+@%:@define HAVE_GETOPT_H 1
12848
 
+_ACEOF
12849
 
12850
 
+else
12851
 
+  gl_replace_getopt=yes
12852
 
+fi
12853
 
+
12854
 
+done
12855
 
+
12856
 
+  fi
12857
 
+
12858
 
+    if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
12859
 
+    for ac_func in getopt_long_only
12860
 
+do :
12861
 
+  ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only"
12862
 
+if test "x$ac_cv_func_getopt_long_only" = xyes; then :
12863
 
+  cat >>confdefs.h <<_ACEOF
12864
 
+@%:@define HAVE_GETOPT_LONG_ONLY 1
12865
 
+_ACEOF
12866
 
12867
 
+else
12868
 
+  gl_replace_getopt=yes
12869
 
+fi
12870
 
+done
12871
 
+
12872
 
+  fi
12873
 
+
12874
 
+                    if test -z "$gl_replace_getopt"; then
12875
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5
12876
 
+$as_echo_n "checking whether getopt is POSIX compatible... " >&6; }
12877
 
+if ${gl_cv_func_getopt_posix+:} false; then :
12878
 
+  $as_echo_n "(cached) " >&6
12879
 
+else
12880
 
+  
12881
 
+                                                                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12882
 
+/* end confdefs.h.  */
12883
 
+#include <unistd.h>
12884
 
+int
12885
 
+main ()
12886
 
+{
12887
 
+int *p = &optreset; return optreset;
12888
 
+  ;
12889
 
+  return 0;
12890
 
+}
12891
 
+_ACEOF
12892
 
+if ac_fn_c_try_link "$LINENO"; then :
12893
 
+  gl_optind_min=1
12894
 
+else
12895
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12896
 
+/* end confdefs.h.  */
12897
 
+#include <getopt.h>
12898
 
+int
12899
 
+main ()
12900
 
+{
12901
 
+return !getopt_clip;
12902
 
+  ;
12903
 
+  return 0;
12904
 
+}
12905
 
+_ACEOF
12906
 
+if ac_fn_c_try_compile "$LINENO"; then :
12907
 
+  gl_optind_min=1
12908
 
+else
12909
 
+  gl_optind_min=0
12910
 
+fi
12911
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12912
 
+fi
12913
 
+rm -f core conftest.err conftest.$ac_objext \
12914
 
+    conftest$ac_exeext conftest.$ac_ext
12915
 
+
12916
 
+                gl_save_CPPFLAGS=$CPPFLAGS
12917
 
+        CPPFLAGS="$CPPFLAGS -DOPTIND_MIN=$gl_optind_min"
12918
 
+        if test "$cross_compiling" = yes; then :
12919
 
+  case "$host_os" in
12920
 
+             mingw*)         gl_cv_func_getopt_posix="guessing no";;
12921
 
+             darwin* | aix*) gl_cv_func_getopt_posix="guessing no";;
12922
 
+             *)              gl_cv_func_getopt_posix="guessing yes";;
12923
 
+           esac
12924
 
+          
12925
 
+else
12926
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12927
 
+/* end confdefs.h.  */
12928
 
+
12929
 
+#include <unistd.h>
12930
 
+#include <stdlib.h>
12931
 
+#include <string.h>
12932
 
+
12933
 
+int
12934
 
+main ()
12935
 
+{
12936
 
+  {
12937
 
+    static char program[] = "program";
12938
 
+    static char a[] = "-a";
12939
 
+    static char foo[] = "foo";
12940
 
+    static char bar[] = "bar";
12941
 
+    char *argv[] = { program, a, foo, bar, NULL };
12942
 
+    int c;
12943
 
+
12944
 
+    optind = OPTIND_MIN;
12945
 
+    opterr = 0;
12946
 
+
12947
 
+    c = getopt (4, argv, "ab");
12948
 
+    if (!(c == 'a'))
12949
 
+      return 1;
12950
 
+    c = getopt (4, argv, "ab");
12951
 
+    if (!(c == -1))
12952
 
+      return 2;
12953
 
+    if (!(optind == 2))
12954
 
+      return 3;
12955
 
+  }
12956
 
+  /* Some internal state exists at this point.  */
12957
 
+  {
12958
 
+    static char program[] = "program";
12959
 
+    static char donald[] = "donald";
12960
 
+    static char p[] = "-p";
12961
 
+    static char billy[] = "billy";
12962
 
+    static char duck[] = "duck";
12963
 
+    static char a[] = "-a";
12964
 
+    static char bar[] = "bar";
12965
 
+    char *argv[] = { program, donald, p, billy, duck, a, bar, NULL };
12966
 
+    int c;
12967
 
+
12968
 
+    optind = OPTIND_MIN;
12969
 
+    opterr = 0;
12970
 
+
12971
 
+    c = getopt (7, argv, "+abp:q:");
12972
 
+    if (!(c == -1))
12973
 
+      return 4;
12974
 
+    if (!(strcmp (argv[0], "program") == 0))
12975
 
+      return 5;
12976
 
+    if (!(strcmp (argv[1], "donald") == 0))
12977
 
+      return 6;
12978
 
+    if (!(strcmp (argv[2], "-p") == 0))
12979
 
+      return 7;
12980
 
+    if (!(strcmp (argv[3], "billy") == 0))
12981
 
+      return 8;
12982
 
+    if (!(strcmp (argv[4], "duck") == 0))
12983
 
+      return 9;
12984
 
+    if (!(strcmp (argv[5], "-a") == 0))
12985
 
+      return 10;
12986
 
+    if (!(strcmp (argv[6], "bar") == 0))
12987
 
+      return 11;
12988
 
+    if (!(optind == 1))
12989
 
+      return 12;
12990
 
+  }
12991
 
+  /* Detect MacOS 10.5, AIX 7.1 bug.  */
12992
 
+  {
12993
 
+    static char program[] = "program";
12994
 
+    static char ab[] = "-ab";
12995
 
+    char *argv[3] = { program, ab, NULL };
12996
 
+    optind = OPTIND_MIN;
12997
 
+    opterr = 0;
12998
 
+    if (getopt (2, argv, "ab:") != 'a')
12999
 
+      return 13;
13000
 
+    if (getopt (2, argv, "ab:") != '?')
13001
 
+      return 14;
13002
 
+    if (optopt != 'b')
13003
 
+      return 15;
13004
 
+    if (optind != 2)
13005
 
+      return 16;
13006
 
+  }
13007
 
+
13008
 
+  return 0;
13009
 
+}
13010
 
+
13011
 
+_ACEOF
13012
 
+if ac_fn_c_try_run "$LINENO"; then :
13013
 
+  gl_cv_func_getopt_posix=yes
13014
 
+else
13015
 
+  gl_cv_func_getopt_posix=no
13016
 
+fi
13017
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13018
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
13019
 
+fi
13020
 
+
13021
 
+        CPPFLAGS=$gl_save_CPPFLAGS
13022
 
+      
13023
 
+fi
13024
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5
13025
 
+$as_echo "$gl_cv_func_getopt_posix" >&6; }
13026
 
+    case "$gl_cv_func_getopt_posix" in
13027
 
+      *no) gl_replace_getopt=yes ;;
13028
 
+    esac
13029
 
+  fi
13030
 
+
13031
 
+  if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
13032
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5
13033
 
+$as_echo_n "checking for working GNU getopt function... " >&6; }
13034
 
+if ${gl_cv_func_getopt_gnu+:} false; then :
13035
 
+  $as_echo_n "(cached) " >&6
13036
 
+else
13037
 
+  # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the
13038
 
+       # optstring is necessary for programs like m4 that have POSIX-mandated
13039
 
+       # semantics for supporting options interspersed with files.
13040
 
+       # Also, since getopt_long is a GNU extension, we require optind=0.
13041
 
+       # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT;
13042
 
+       # so take care to revert to the correct (non-)export state.
13043
 
+       gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }'
13044
 
+       case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" </dev/null` in
13045
 
+         xx) gl_had_POSIXLY_CORRECT=exported ;;
13046
 
+         x)  gl_had_POSIXLY_CORRECT=yes      ;;
13047
 
+         *)  gl_had_POSIXLY_CORRECT=         ;;
13048
 
+       esac
13049
 
+       POSIXLY_CORRECT=1
13050
 
+       export POSIXLY_CORRECT
13051
 
+       if test "$cross_compiling" = yes; then :
13052
 
+           case $host_os:$ac_cv_have_decl_optreset in
13053
 
+           *-gnu*:* | mingw*:*) gl_cv_func_getopt_gnu=no;;
13054
 
+           *:yes)               gl_cv_func_getopt_gnu=no;;
13055
 
+           *)                   gl_cv_func_getopt_gnu=yes;;
13056
 
+         esac
13057
 
+        
13058
 
+else
13059
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13060
 
+/* end confdefs.h.  */
13061
 
+#include <getopt.h>
13062
 
+                           #include <stddef.h>
13063
 
+                           #include <string.h>
13064
 
+           
13065
 
+#include <stdlib.h>
13066
 
+#if defined __MACH__ && defined __APPLE__
13067
 
+/* Avoid a crash on MacOS X.  */
13068
 
+#include <mach/mach.h>
13069
 
+#include <mach/mach_error.h>
13070
 
+#include <mach/thread_status.h>
13071
 
+#include <mach/exception.h>
13072
 
+#include <mach/task.h>
13073
 
+#include <pthread.h>
13074
 
+/* The exception port on which our thread listens.  */
13075
 
+static mach_port_t our_exception_port;
13076
 
+/* The main function of the thread listening for exceptions of type
13077
 
+   EXC_BAD_ACCESS.  */
13078
 
+static void *
13079
 
+mach_exception_thread (void *arg)
13080
 
+{
13081
 
+  /* Buffer for a message to be received.  */
13082
 
+  struct {
13083
 
+    mach_msg_header_t head;
13084
 
+    mach_msg_body_t msgh_body;
13085
 
+    char data[1024];
13086
 
+  } msg;
13087
 
+  mach_msg_return_t retval;
13088
 
+  /* Wait for a message on the exception port.  */
13089
 
+  retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
13090
 
+                     our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
13091
 
+  if (retval != MACH_MSG_SUCCESS)
13092
 
+    abort ();
13093
 
+  exit (1);
13094
 
+}
13095
 
+static void
13096
 
+nocrash_init (void)
13097
 
+{
13098
 
+  mach_port_t self = mach_task_self ();
13099
 
+  /* Allocate a port on which the thread shall listen for exceptions.  */
13100
 
+  if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
13101
 
+      == KERN_SUCCESS) {
13102
 
+    /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html.  */
13103
 
+    if (mach_port_insert_right (self, our_exception_port, our_exception_port,
13104
 
+                                MACH_MSG_TYPE_MAKE_SEND)
13105
 
+        == KERN_SUCCESS) {
13106
 
+      /* The exceptions we want to catch.  Only EXC_BAD_ACCESS is interesting
13107
 
+         for us.  */
13108
 
+      exception_mask_t mask = EXC_MASK_BAD_ACCESS;
13109
 
+      /* Create the thread listening on the exception port.  */
13110
 
+      pthread_attr_t attr;
13111
 
+      pthread_t thread;
13112
 
+      if (pthread_attr_init (&attr) == 0
13113
 
+          && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
13114
 
+          && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
13115
 
+        pthread_attr_destroy (&attr);
13116
 
+        /* Replace the exception port info for these exceptions with our own.
13117
 
+           Note that we replace the exception port for the entire task, not only
13118
 
+           for a particular thread.  This has the effect that when our exception
13119
 
+           port gets the message, the thread specific exception port has already
13120
 
+           been asked, and we don't need to bother about it.
13121
 
+           See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html.  */
13122
 
+        task_set_exception_ports (self, mask, our_exception_port,
13123
 
+                                  EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
13124
 
+      }
13125
 
+    }
13126
 
+  }
13127
 
+}
13128
 
+#else
13129
 
+/* Avoid a crash on POSIX systems.  */
13130
 
+#include <signal.h>
13131
 
+/* A POSIX signal handler.  */
13132
 
+static void
13133
 
+exception_handler (int sig)
13134
 
+{
13135
 
+  exit (1);
13136
 
+}
13137
 
+static void
13138
 
+nocrash_init (void)
13139
 
+{
13140
 
+#ifdef SIGSEGV
13141
 
+  signal (SIGSEGV, exception_handler);
13142
 
+#endif
13143
 
+#ifdef SIGBUS
13144
 
+  signal (SIGBUS, exception_handler);
13145
 
+#endif
13146
 
+}
13147
 
+#endif
13148
 
+
13149
 
+           
13150
 
+int
13151
 
+main ()
13152
 
+{
13153
 
+
13154
 
+             int result = 0;
13155
 
+
13156
 
+             nocrash_init();
13157
 
+
13158
 
+             /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw,
13159
 
+                and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5,
13160
 
+                OSF/1 5.1, Solaris 10.  */
13161
 
+             {
13162
 
+               static char conftest[] = "conftest";
13163
 
+               static char plus[] = "-+";
13164
 
+               char *argv[3] = { conftest, plus, NULL };
13165
 
+               opterr = 0;
13166
 
+               if (getopt (2, argv, "+a") != '?')
13167
 
+                 result |= 1;
13168
 
+             }
13169
 
+             /* This code succeeds on glibc 2.8, mingw,
13170
 
+                and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11,
13171
 
+                IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x.  */
13172
 
+             {
13173
 
+               static char program[] = "program";
13174
 
+               static char p[] = "-p";
13175
 
+               static char foo[] = "foo";
13176
 
+               static char bar[] = "bar";
13177
 
+               char *argv[] = { program, p, foo, bar, NULL };
13178
 
+
13179
 
+               optind = 1;
13180
 
+               if (getopt (4, argv, "p::") != 'p')
13181
 
+                 result |= 2;
13182
 
+               else if (optarg != NULL)
13183
 
+                 result |= 4;
13184
 
+               else if (getopt (4, argv, "p::") != -1)
13185
 
+                 result |= 6;
13186
 
+               else if (optind != 2)
13187
 
+                 result |= 8;
13188
 
+             }
13189
 
+             /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0.  */
13190
 
+             {
13191
 
+               static char program[] = "program";
13192
 
+               static char foo[] = "foo";
13193
 
+               static char p[] = "-p";
13194
 
+               char *argv[] = { program, foo, p, NULL };
13195
 
+               optind = 0;
13196
 
+               if (getopt (3, argv, "-p") != 1)
13197
 
+                 result |= 16;
13198
 
+               else if (getopt (3, argv, "-p") != 'p')
13199
 
+                 result |= 32;
13200
 
+             }
13201
 
+             /* This code fails on glibc 2.11.  */
13202
 
+             {
13203
 
+               static char program[] = "program";
13204
 
+               static char b[] = "-b";
13205
 
+               static char a[] = "-a";
13206
 
+               char *argv[] = { program, b, a, NULL };
13207
 
+               optind = opterr = 0;
13208
 
+               if (getopt (3, argv, "+:a:b") != 'b')
13209
 
+                 result |= 64;
13210
 
+               else if (getopt (3, argv, "+:a:b") != ':')
13211
 
+                 result |= 64;
13212
 
+             }
13213
 
+             /* This code dumps core on glibc 2.14.  */
13214
 
+             {
13215
 
+               static char program[] = "program";
13216
 
+               static char w[] = "-W";
13217
 
+               static char dummy[] = "dummy";
13218
 
+               char *argv[] = { program, w, dummy, NULL };
13219
 
+               optind = opterr = 1;
13220
 
+               if (getopt (3, argv, "W;") != 'W')
13221
 
+                 result |= 128;
13222
 
+             }
13223
 
+             return result;
13224
 
+           
13225
 
+  ;
13226
 
+  return 0;
13227
 
+}
13228
 
+_ACEOF
13229
 
+if ac_fn_c_try_run "$LINENO"; then :
13230
 
+  gl_cv_func_getopt_gnu=yes
13231
 
+else
13232
 
+  gl_cv_func_getopt_gnu=no
13233
 
+fi
13234
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13235
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
13236
 
+fi
13237
 
+
13238
 
+       case $gl_had_POSIXLY_CORRECT in
13239
 
+         exported) ;;
13240
 
+         yes) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}; POSIXLY_CORRECT=1 ;;
13241
 
+         *) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} ;;
13242
 
+       esac
13243
 
+      
13244
 
+fi
13245
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_gnu" >&5
13246
 
+$as_echo "$gl_cv_func_getopt_gnu" >&6; }
13247
 
+    if test "$gl_cv_func_getopt_gnu" = "no"; then
13248
 
+      gl_replace_getopt=yes
13249
 
+    fi
13250
 
+  fi
13251
 
+
13252
 
+
13253
 
+  
13254
 
+  
13255
 
+        
13256
 
+    REPLACE_GETOPT=0
13257
 
+    
13258
 
+  
13259
 
+  if test -n "$gl_replace_getopt"; then :
13260
 
+  
13261
 
+      REPLACE_GETOPT=1
13262
 
+    
13263
 
+fi
13264
 
+
13265
 
+  
13266
 
+  if test $REPLACE_GETOPT = 1; then
13267
 
+        
13268
 
+  GETOPT_H=getopt.h
13269
 
+  
13270
 
+$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h
13271
 
+
13272
 
+  
13273
 
+
13274
 
+        GNULIB_UNISTD_H_GETOPT=1
13275
 
+  fi
13276
 
+
13277
 
+ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
13278
 
+if test "x$ac_cv_have_decl_getenv" = xyes; then :
13279
 
+  ac_have_decl=1
13280
 
+else
13281
 
+  ac_have_decl=0
13282
 
+fi
13283
 
+
13284
 
+cat >>confdefs.h <<_ACEOF
13285
 
+@%:@define HAVE_DECL_GETENV $ac_have_decl
13286
 
+_ACEOF
13287
 
+
13288
 
+ac_fn_c_check_decl "$LINENO" "getpass" "ac_cv_have_decl_getpass" "$ac_includes_default"
13289
 
+if test "x$ac_cv_have_decl_getpass" = xyes; then :
13290
 
+  ac_have_decl=1
13291
 
+else
13292
 
+  ac_have_decl=0
13293
 
+fi
13294
 
+
13295
 
+cat >>confdefs.h <<_ACEOF
13296
 
+@%:@define HAVE_DECL_GETPASS $ac_have_decl
13297
 
+_ACEOF
13298
 
+
13299
 
+
13300
 
+
13301
 
+
13302
 
+
13303
 
+
13304
 
+
13305
 
+
13306
 
+
13307
 
+ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
13308
 
+if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then :
13309
 
+  ac_have_decl=1
13310
 
+else
13311
 
+  ac_have_decl=0
13312
 
+fi
13313
 
+
13314
 
+cat >>confdefs.h <<_ACEOF
13315
 
+@%:@define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
13316
 
+_ACEOF
13317
 
+
13318
 
+ac_fn_c_check_decl "$LINENO" "flockfile" "ac_cv_have_decl_flockfile" "$ac_includes_default"
13319
 
+if test "x$ac_cv_have_decl_flockfile" = xyes; then :
13320
 
+  ac_have_decl=1
13321
 
+else
13322
 
+  ac_have_decl=0
13323
 
+fi
13324
 
+
13325
 
+cat >>confdefs.h <<_ACEOF
13326
 
+@%:@define HAVE_DECL_FLOCKFILE $ac_have_decl
13327
 
+_ACEOF
13328
 
+
13329
 
+ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
13330
 
+if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then :
13331
 
+  ac_have_decl=1
13332
 
+else
13333
 
+  ac_have_decl=0
13334
 
+fi
13335
 
+
13336
 
+cat >>confdefs.h <<_ACEOF
13337
 
+@%:@define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
13338
 
+_ACEOF
13339
 
+
13340
 
+ac_fn_c_check_decl "$LINENO" "funlockfile" "ac_cv_have_decl_funlockfile" "$ac_includes_default"
13341
 
+if test "x$ac_cv_have_decl_funlockfile" = xyes; then :
13342
 
+  ac_have_decl=1
13343
 
+else
13344
 
+  ac_have_decl=0
13345
 
+fi
13346
 
+
13347
 
+cat >>confdefs.h <<_ACEOF
13348
 
+@%:@define HAVE_DECL_FUNLOCKFILE $ac_have_decl
13349
 
+_ACEOF
13350
 
+
13351
 
+ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
13352
 
+if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then :
13353
 
+  ac_have_decl=1
13354
 
+else
13355
 
+  ac_have_decl=0
13356
 
+fi
13357
 
+
13358
 
+cat >>confdefs.h <<_ACEOF
13359
 
+@%:@define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl
13360
 
+_ACEOF
13361
 
+
13362
 
+
13363
 
+    
13364
 
+
13365
 
+
13366
 
+
13367
 
+
13368
 
+
13369
 
+
13370
 
+  GNULIB_GETTIMEOFDAY=0;     
13371
 
+    HAVE_GETTIMEOFDAY=1;       
13372
 
+  HAVE_STRUCT_TIMEVAL=1;     
13373
 
+  HAVE_SYS_TIME_H=1;         
13374
 
+  REPLACE_GETTIMEOFDAY=0;    
13375
 
+
13376
 
+
13377
 
+
13378
 
+
13379
 
+  
13380
 
+  
13381
 
+  
13382
 
+  
13383
 
+  
13384
 
+  
13385
 
+  
13386
 
+
13387
 
+  
13388
 
+    
13389
 
+
13390
 
+  
13391
 
+     if test $gl_cv_have_include_next = yes; then
13392
 
+       gl_cv_next_sys_time_h='<'sys/time.h'>'
13393
 
+     else
13394
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/time.h>" >&5
13395
 
+$as_echo_n "checking absolute name of <sys/time.h>... " >&6; }
13396
 
+if ${gl_cv_next_sys_time_h+:} false; then :
13397
 
+  $as_echo_n "(cached) " >&6
13398
 
+else
13399
 
+  
13400
 
+             if test $ac_cv_header_sys_time_h = yes; then
13401
 
+             
13402
 
+            
13403
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13404
 
+/* end confdefs.h.  */
13405
 
+#include <sys/time.h>
13406
 
+                  
13407
 
+_ACEOF
13408
 
+                                                                                                                        case "$host_os" in
13409
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
13410
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
13411
 
+               esac
13412
 
+                                                            gl_cv_next_sys_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
13413
 
+                  sed -n '\#/sys/time.h#{
13414
 
+                    s#.*"\(.*/sys/time.h\)".*#\1#
13415
 
+                    s#^/[^/]#//&#
13416
 
+                    p
13417
 
+                    q
13418
 
+                  }'`'"'
13419
 
+          else
13420
 
+               gl_cv_next_sys_time_h='<'sys/time.h'>'
13421
 
+             fi
13422
 
+            
13423
 
+         
13424
 
+fi
13425
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_time_h" >&5
13426
 
+$as_echo "$gl_cv_next_sys_time_h" >&6; }
13427
 
+     fi
13428
 
+     NEXT_SYS_TIME_H=$gl_cv_next_sys_time_h
13429
 
+
13430
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
13431
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
13432
 
+       gl_next_as_first_directive='<'sys/time.h'>'
13433
 
+     else
13434
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
13435
 
+       gl_next_as_first_directive=$gl_cv_next_sys_time_h
13436
 
+     fi
13437
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H=$gl_next_as_first_directive
13438
 
+
13439
 
+     
13440
 
+
13441
 
+
13442
 
+
13443
 
+  if test $ac_cv_header_sys_time_h != yes; then
13444
 
+    HAVE_SYS_TIME_H=0
13445
 
+  fi
13446
 
+
13447
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
13448
 
+$as_echo_n "checking for struct timeval... " >&6; }
13449
 
+if ${gl_cv_sys_struct_timeval+:} false; then :
13450
 
+  $as_echo_n "(cached) " >&6
13451
 
+else
13452
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13453
 
+/* end confdefs.h.  */
13454
 
+#if HAVE_SYS_TIME_H
13455
 
+             #include <sys/time.h>
13456
 
+            #endif
13457
 
+            #include <time.h>
13458
 
+          
13459
 
+int
13460
 
+main ()
13461
 
+{
13462
 
+static struct timeval x; x.tv_sec = x.tv_usec;
13463
 
+  ;
13464
 
+  return 0;
13465
 
+}
13466
 
+_ACEOF
13467
 
+if ac_fn_c_try_compile "$LINENO"; then :
13468
 
+  gl_cv_sys_struct_timeval=yes
13469
 
+else
13470
 
+  gl_cv_sys_struct_timeval=no
13471
 
+fi
13472
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13473
 
+fi
13474
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timeval" >&5
13475
 
+$as_echo "$gl_cv_sys_struct_timeval" >&6; }
13476
 
+  if test $gl_cv_sys_struct_timeval != yes; then
13477
 
+    HAVE_STRUCT_TIMEVAL=0
13478
 
+  fi
13479
 
+
13480
 
+      
13481
 
+    for gl_func in gettimeofday; do
13482
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
13483
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
13484
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
13485
 
+if eval \${$as_gl_Symbol+:} false; then :
13486
 
+  $as_echo_n "(cached) " >&6
13487
 
+else
13488
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13489
 
+/* end confdefs.h.  */
13490
 
+
13491
 
+#if HAVE_SYS_TIME_H
13492
 
+# include <sys/time.h>
13493
 
+#endif
13494
 
+#include <time.h>
13495
 
+    
13496
 
+int
13497
 
+main ()
13498
 
+{
13499
 
+@%:@undef $gl_func
13500
 
+  (void) $gl_func;
13501
 
+  ;
13502
 
+  return 0;
13503
 
+}
13504
 
+_ACEOF
13505
 
+if ac_fn_c_try_compile "$LINENO"; then :
13506
 
+  eval "$as_gl_Symbol=yes"
13507
 
+else
13508
 
+  eval "$as_gl_Symbol=no"
13509
 
+fi
13510
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13511
 
+fi
13512
 
+eval ac_res=\$$as_gl_Symbol
13513
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13514
 
+$as_echo "$ac_res" >&6; }
13515
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
13516
 
+  cat >>confdefs.h <<_ACEOF
13517
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
13518
 
+_ACEOF
13519
 
+
13520
 
+                     eval ac_cv_have_decl_$gl_func=yes
13521
 
+fi
13522
 
+      done
13523
 
+
13524
 
+
13525
 
+
13526
 
+        
13527
 
+
13528
 
+
13529
 
+
13530
 
+
13531
 
+
13532
 
+
13533
 
+      if test "X$prefix" = "XNONE"; then
13534
 
+    acl_final_prefix="$ac_default_prefix"
13535
 
+  else
13536
 
+    acl_final_prefix="$prefix"
13537
 
+  fi
13538
 
+  if test "X$exec_prefix" = "XNONE"; then
13539
 
+    acl_final_exec_prefix='${prefix}'
13540
 
+  else
13541
 
+    acl_final_exec_prefix="$exec_prefix"
13542
 
+  fi
13543
 
+  acl_save_prefix="$prefix"
13544
 
+  prefix="$acl_final_prefix"
13545
 
+  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13546
 
+  prefix="$acl_save_prefix"
13547
 
+
13548
 
+
13549
 
+@%:@ Check whether --with-gnu-ld was given.
13550
 
+if test "${with_gnu_ld+set}" = set; then :
13551
 
+  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13552
 
+else
13553
 
+  with_gnu_ld=no
13554
 
+fi
13555
 
+
13556
 
+# Prepare PATH_SEPARATOR.
13557
 
+# The user is always right.
13558
 
+if test "${PATH_SEPARATOR+set}" != set; then
13559
 
+  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
13560
 
+  # contains only /bin. Note that ksh looks also at the FPATH variable,
13561
 
+  # so we have to set that as well for the test.
13562
 
+  PATH_SEPARATOR=:
13563
 
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13564
 
+    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13565
 
+           || PATH_SEPARATOR=';'
13566
 
+       }
13567
 
+fi
13568
 
+ac_prog=ld
13569
 
+if test "$GCC" = yes; then
13570
 
+  # Check if gcc -print-prog-name=ld gives a path.
13571
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13572
 
+$as_echo_n "checking for ld used by GCC... " >&6; }
13573
 
+  case $host in
13574
 
+  *-*-mingw*)
13575
 
+    # gcc leaves a trailing carriage return which upsets mingw
13576
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13577
 
+  *)
13578
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13579
 
+  esac
13580
 
+  case $ac_prog in
13581
 
+    # Accept absolute paths.
13582
 
+    [\\/]* | [A-Za-z]:[\\/]*)
13583
 
+      re_direlt='/[^/][^/]*/\.\./'
13584
 
+      # Canonicalize the path of ld
13585
 
+      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
13586
 
+      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13587
 
+        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13588
 
+      done
13589
 
+      test -z "$LD" && LD="$ac_prog"
13590
 
+      ;;
13591
 
+  "")
13592
 
+    # If it fails, then pretend we aren't using GCC.
13593
 
+    ac_prog=ld
13594
 
+    ;;
13595
 
+  *)
13596
 
+    # If it is relative, then search for the first ld in PATH.
13597
 
+    with_gnu_ld=unknown
13598
 
+    ;;
13599
 
+  esac
13600
 
+elif test "$with_gnu_ld" = yes; then
13601
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13602
 
+$as_echo_n "checking for GNU ld... " >&6; }
13603
 
+else
13604
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13605
 
+$as_echo_n "checking for non-GNU ld... " >&6; }
13606
 
+fi
13607
 
+if ${acl_cv_path_LD+:} false; then :
13608
 
+  $as_echo_n "(cached) " >&6
13609
 
+else
13610
 
+  if test -z "$LD"; then
13611
 
+  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13612
 
+  for ac_dir in $PATH; do
13613
 
+    test -z "$ac_dir" && ac_dir=.
13614
 
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13615
 
+      acl_cv_path_LD="$ac_dir/$ac_prog"
13616
 
+      # Check to see if the program is GNU ld.  I'd rather use --version,
13617
 
+      # but apparently some GNU ld's only accept -v.
13618
 
+      # Break only if it was the GNU/non-GNU ld that we prefer.
13619
 
+      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13620
 
+      *GNU* | *'with BFD'*)
13621
 
+        test "$with_gnu_ld" != no && break ;;
13622
 
+      *)
13623
 
+        test "$with_gnu_ld" != yes && break ;;
13624
 
+      esac
13625
 
+    fi
13626
 
+  done
13627
 
+  IFS="$ac_save_ifs"
13628
 
+else
13629
 
+  acl_cv_path_LD="$LD" # Let the user override the test with a path.
13630
 
+fi
13631
 
+fi
13632
 
+
13633
 
+LD="$acl_cv_path_LD"
13634
 
+if test -n "$LD"; then
13635
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13636
 
+$as_echo "$LD" >&6; }
13637
 
+else
13638
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13639
 
+$as_echo "no" >&6; }
13640
 
+fi
13641
 
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13642
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13643
 
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13644
 
+if ${acl_cv_prog_gnu_ld+:} false; then :
13645
 
+  $as_echo_n "(cached) " >&6
13646
 
+else
13647
 
+  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13648
 
+case `$LD -v 2>&1 </dev/null` in
13649
 
+*GNU* | *'with BFD'*)
13650
 
+  acl_cv_prog_gnu_ld=yes ;;
13651
 
+*)
13652
 
+  acl_cv_prog_gnu_ld=no ;;
13653
 
+esac
13654
 
+fi
13655
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13656
 
+$as_echo "$acl_cv_prog_gnu_ld" >&6; }
13657
 
+with_gnu_ld=$acl_cv_prog_gnu_ld
13658
 
+
13659
 
+
13660
 
+
13661
 
+    
13662
 
+                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13663
 
+$as_echo_n "checking for shared library run path origin... " >&6; }
13664
 
+if ${acl_cv_rpath+:} false; then :
13665
 
+  $as_echo_n "(cached) " >&6
13666
 
+else
13667
 
+  
13668
 
+    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
13669
 
+    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13670
 
+    . ./conftest.sh
13671
 
+    rm -f ./conftest.sh
13672
 
+    acl_cv_rpath=done
13673
 
+  
13674
 
+fi
13675
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13676
 
+$as_echo "$acl_cv_rpath" >&6; }
13677
 
+  wl="$acl_cv_wl"
13678
 
+  acl_libext="$acl_cv_libext"
13679
 
+  acl_shlibext="$acl_cv_shlibext"
13680
 
+  acl_libname_spec="$acl_cv_libname_spec"
13681
 
+  acl_library_names_spec="$acl_cv_library_names_spec"
13682
 
+  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13683
 
+  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13684
 
+  acl_hardcode_direct="$acl_cv_hardcode_direct"
13685
 
+  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
13686
 
+    @%:@ Check whether --enable-rpath was given.
13687
 
+if test "${enable_rpath+set}" = set; then :
13688
 
+  enableval=$enable_rpath; :
13689
 
+else
13690
 
+  enable_rpath=yes
13691
 
+fi
13692
 
+
13693
 
+
13694
 
+
13695
 
+                          
13696
 
+  acl_libdirstem=lib
13697
 
+  acl_libdirstem2=
13698
 
+  case "$host_os" in
13699
 
+    solaris*)
13700
 
+                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
13701
 
+$as_echo_n "checking for 64-bit host... " >&6; }
13702
 
+if ${gl_cv_solaris_64bit+:} false; then :
13703
 
+  $as_echo_n "(cached) " >&6
13704
 
+else
13705
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13706
 
+/* end confdefs.h.  */
13707
 
+
13708
 
+#ifdef _LP64
13709
 
+sixtyfour bits
13710
 
+#endif
13711
 
+           
13712
 
+_ACEOF
13713
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13714
 
+  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
13715
 
+  gl_cv_solaris_64bit=yes
13716
 
+else
13717
 
+  gl_cv_solaris_64bit=no
13718
 
+fi
13719
 
+rm -f conftest*
13720
 
+
13721
 
+        
13722
 
+fi
13723
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
13724
 
+$as_echo "$gl_cv_solaris_64bit" >&6; }
13725
 
+      if test $gl_cv_solaris_64bit = yes; then
13726
 
+        acl_libdirstem=lib/64
13727
 
+        case "$host_cpu" in
13728
 
+          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
13729
 
+          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
13730
 
+        esac
13731
 
+      fi
13732
 
+      ;;
13733
 
+    *)
13734
 
+      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13735
 
+      if test -n "$searchpath"; then
13736
 
+        acl_save_IFS="${IFS=   }"; IFS=":"
13737
 
+        for searchdir in $searchpath; do
13738
 
+          if test -d "$searchdir"; then
13739
 
+            case "$searchdir" in
13740
 
+              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13741
 
+              */../ | */.. )
13742
 
+                # Better ignore directories of this form. They are misleading.
13743
 
+                ;;
13744
 
+              *) searchdir=`cd "$searchdir" && pwd`
13745
 
+                 case "$searchdir" in
13746
 
+                   */lib64 ) acl_libdirstem=lib64 ;;
13747
 
+                 esac ;;
13748
 
+            esac
13749
 
+          fi
13750
 
+        done
13751
 
+        IFS="$acl_save_IFS"
13752
 
+      fi
13753
 
+      ;;
13754
 
+  esac
13755
 
+  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
13756
 
+
13757
 
+
13758
 
+    
13759
 
+  
13760
 
+
13761
 
+      
13762
 
+  
13763
 
+  
13764
 
+  
13765
 
+  
13766
 
+  
13767
 
+    
13768
 
+    use_additional=yes
13769
 
+  
13770
 
+  acl_save_prefix="$prefix"
13771
 
+  prefix="$acl_final_prefix"
13772
 
+  acl_save_exec_prefix="$exec_prefix"
13773
 
+  exec_prefix="$acl_final_exec_prefix"
13774
 
+  
13775
 
+    eval additional_includedir=\"$includedir\"
13776
 
+    eval additional_libdir=\"$libdir\"
13777
 
+  
13778
 
+  exec_prefix="$acl_save_exec_prefix"
13779
 
+  prefix="$acl_save_prefix"
13780
 
+
13781
 
+  
13782
 
+@%:@ Check whether --with-libiconv-prefix was given.
13783
 
+if test "${with_libiconv_prefix+set}" = set; then :
13784
 
+  withval=$with_libiconv_prefix; 
13785
 
+    if test "X$withval" = "Xno"; then
13786
 
+      use_additional=no
13787
 
+    else
13788
 
+      if test "X$withval" = "X"; then
13789
 
+        
13790
 
+  acl_save_prefix="$prefix"
13791
 
+  prefix="$acl_final_prefix"
13792
 
+  acl_save_exec_prefix="$exec_prefix"
13793
 
+  exec_prefix="$acl_final_exec_prefix"
13794
 
+  
13795
 
+          eval additional_includedir=\"$includedir\"
13796
 
+          eval additional_libdir=\"$libdir\"
13797
 
+        
13798
 
+  exec_prefix="$acl_save_exec_prefix"
13799
 
+  prefix="$acl_save_prefix"
13800
 
+
13801
 
+      else
13802
 
+        additional_includedir="$withval/include"
13803
 
+        additional_libdir="$withval/$acl_libdirstem"
13804
 
+        if test "$acl_libdirstem2" != "$acl_libdirstem" \
13805
 
+           && ! test -d "$withval/$acl_libdirstem"; then
13806
 
+          additional_libdir="$withval/$acl_libdirstem2"
13807
 
+        fi
13808
 
+      fi
13809
 
+    fi
13810
 
+
13811
 
+fi
13812
 
+
13813
 
+      LIBICONV=
13814
 
+  LTLIBICONV=
13815
 
+  INCICONV=
13816
 
+  LIBICONV_PREFIX=
13817
 
+      HAVE_LIBICONV=
13818
 
+  rpathdirs=
13819
 
+  ltrpathdirs=
13820
 
+  names_already_handled=
13821
 
+  names_next_round='iconv '
13822
 
+  while test -n "$names_next_round"; do
13823
 
+    names_this_round="$names_next_round"
13824
 
+    names_next_round=
13825
 
+    for name in $names_this_round; do
13826
 
+      already_handled=
13827
 
+      for n in $names_already_handled; do
13828
 
+        if test "$n" = "$name"; then
13829
 
+          already_handled=yes
13830
 
+          break
13831
 
+        fi
13832
 
+      done
13833
 
+      if test -z "$already_handled"; then
13834
 
+        names_already_handled="$names_already_handled $name"
13835
 
+                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
13836
 
+        eval value=\"\$HAVE_LIB$uppername\"
13837
 
+        if test -n "$value"; then
13838
 
+          if test "$value" = yes; then
13839
 
+            eval value=\"\$LIB$uppername\"
13840
 
+            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13841
 
+            eval value=\"\$LTLIB$uppername\"
13842
 
+            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13843
 
+          else
13844
 
+                                    :
13845
 
+          fi
13846
 
+        else
13847
 
+                              found_dir=
13848
 
+          found_la=
13849
 
+          found_so=
13850
 
+          found_a=
13851
 
+          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
13852
 
+          if test -n "$acl_shlibext"; then
13853
 
+            shrext=".$acl_shlibext"             # typically: shrext=.so
13854
 
+          else
13855
 
+            shrext=
13856
 
+          fi
13857
 
+          if test $use_additional = yes; then
13858
 
+            dir="$additional_libdir"
13859
 
+                                    if test -n "$acl_shlibext"; then
13860
 
+              if test -f "$dir/$libname$shrext"; then
13861
 
+                found_dir="$dir"
13862
 
+                found_so="$dir/$libname$shrext"
13863
 
+              else
13864
 
+                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13865
 
+                  ver=`(cd "$dir" && \
13866
 
+                        for f in "$libname$shrext".*; do echo "$f"; done \
13867
 
+                        | sed -e "s,^$libname$shrext\\\\.,," \
13868
 
+                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13869
 
+                        | sed 1q ) 2>/dev/null`
13870
 
+                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13871
 
+                    found_dir="$dir"
13872
 
+                    found_so="$dir/$libname$shrext.$ver"
13873
 
+                  fi
13874
 
+                else
13875
 
+                  eval library_names=\"$acl_library_names_spec\"
13876
 
+                  for f in $library_names; do
13877
 
+                    if test -f "$dir/$f"; then
13878
 
+                      found_dir="$dir"
13879
 
+                      found_so="$dir/$f"
13880
 
+                      break
13881
 
+                    fi
13882
 
+                  done
13883
 
+                fi
13884
 
+              fi
13885
 
+            fi
13886
 
+                        if test "X$found_dir" = "X"; then
13887
 
+              if test -f "$dir/$libname.$acl_libext"; then
13888
 
+                found_dir="$dir"
13889
 
+                found_a="$dir/$libname.$acl_libext"
13890
 
+              fi
13891
 
+            fi
13892
 
+            if test "X$found_dir" != "X"; then
13893
 
+              if test -f "$dir/$libname.la"; then
13894
 
+                found_la="$dir/$libname.la"
13895
 
+              fi
13896
 
+            fi
13897
 
+          fi
13898
 
+          if test "X$found_dir" = "X"; then
13899
 
+            for x in $LDFLAGS $LTLIBICONV; do
13900
 
+              
13901
 
+  acl_save_prefix="$prefix"
13902
 
+  prefix="$acl_final_prefix"
13903
 
+  acl_save_exec_prefix="$exec_prefix"
13904
 
+  exec_prefix="$acl_final_exec_prefix"
13905
 
+  eval x=\"$x\"
13906
 
+  exec_prefix="$acl_save_exec_prefix"
13907
 
+  prefix="$acl_save_prefix"
13908
 
+
13909
 
+              case "$x" in
13910
 
+                -L*)
13911
 
+                  dir=`echo "X$x" | sed -e 's/^X-L//'`
13912
 
+                                    if test -n "$acl_shlibext"; then
13913
 
+                    if test -f "$dir/$libname$shrext"; then
13914
 
+                      found_dir="$dir"
13915
 
+                      found_so="$dir/$libname$shrext"
13916
 
+                    else
13917
 
+                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13918
 
+                        ver=`(cd "$dir" && \
13919
 
+                              for f in "$libname$shrext".*; do echo "$f"; done \
13920
 
+                              | sed -e "s,^$libname$shrext\\\\.,," \
13921
 
+                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13922
 
+                              | sed 1q ) 2>/dev/null`
13923
 
+                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13924
 
+                          found_dir="$dir"
13925
 
+                          found_so="$dir/$libname$shrext.$ver"
13926
 
+                        fi
13927
 
+                      else
13928
 
+                        eval library_names=\"$acl_library_names_spec\"
13929
 
+                        for f in $library_names; do
13930
 
+                          if test -f "$dir/$f"; then
13931
 
+                            found_dir="$dir"
13932
 
+                            found_so="$dir/$f"
13933
 
+                            break
13934
 
+                          fi
13935
 
+                        done
13936
 
+                      fi
13937
 
+                    fi
13938
 
+                  fi
13939
 
+                                    if test "X$found_dir" = "X"; then
13940
 
+                    if test -f "$dir/$libname.$acl_libext"; then
13941
 
+                      found_dir="$dir"
13942
 
+                      found_a="$dir/$libname.$acl_libext"
13943
 
+                    fi
13944
 
+                  fi
13945
 
+                  if test "X$found_dir" != "X"; then
13946
 
+                    if test -f "$dir/$libname.la"; then
13947
 
+                      found_la="$dir/$libname.la"
13948
 
+                    fi
13949
 
+                  fi
13950
 
+                  ;;
13951
 
+              esac
13952
 
+              if test "X$found_dir" != "X"; then
13953
 
+                break
13954
 
+              fi
13955
 
+            done
13956
 
+          fi
13957
 
+          if test "X$found_dir" != "X"; then
13958
 
+                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13959
 
+            if test "X$found_so" != "X"; then
13960
 
+                                                        if test "$enable_rpath" = no \
13961
 
+                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
13962
 
+                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
13963
 
+                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13964
 
+              else
13965
 
+                                                                                haveit=
13966
 
+                for x in $ltrpathdirs; do
13967
 
+                  if test "X$x" = "X$found_dir"; then
13968
 
+                    haveit=yes
13969
 
+                    break
13970
 
+                  fi
13971
 
+                done
13972
 
+                if test -z "$haveit"; then
13973
 
+                  ltrpathdirs="$ltrpathdirs $found_dir"
13974
 
+                fi
13975
 
+                                if test "$acl_hardcode_direct" = yes; then
13976
 
+                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13977
 
+                else
13978
 
+                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13979
 
+                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13980
 
+                                                            haveit=
13981
 
+                    for x in $rpathdirs; do
13982
 
+                      if test "X$x" = "X$found_dir"; then
13983
 
+                        haveit=yes
13984
 
+                        break
13985
 
+                      fi
13986
 
+                    done
13987
 
+                    if test -z "$haveit"; then
13988
 
+                      rpathdirs="$rpathdirs $found_dir"
13989
 
+                    fi
13990
 
+                  else
13991
 
+                                                                                haveit=
13992
 
+                    for x in $LDFLAGS $LIBICONV; do
13993
 
+                      
13994
 
+  acl_save_prefix="$prefix"
13995
 
+  prefix="$acl_final_prefix"
13996
 
+  acl_save_exec_prefix="$exec_prefix"
13997
 
+  exec_prefix="$acl_final_exec_prefix"
13998
 
+  eval x=\"$x\"
13999
 
+  exec_prefix="$acl_save_exec_prefix"
14000
 
+  prefix="$acl_save_prefix"
14001
 
+
14002
 
+                      if test "X$x" = "X-L$found_dir"; then
14003
 
+                        haveit=yes
14004
 
+                        break
14005
 
+                      fi
14006
 
+                    done
14007
 
+                    if test -z "$haveit"; then
14008
 
+                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14009
 
+                    fi
14010
 
+                    if test "$acl_hardcode_minus_L" != no; then
14011
 
+                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14012
 
+                    else
14013
 
+                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14014
 
+                    fi
14015
 
+                  fi
14016
 
+                fi
14017
 
+              fi
14018
 
+            else
14019
 
+              if test "X$found_a" != "X"; then
14020
 
+                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
14021
 
+              else
14022
 
+                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14023
 
+              fi
14024
 
+            fi
14025
 
+                        additional_includedir=
14026
 
+            case "$found_dir" in
14027
 
+              */$acl_libdirstem | */$acl_libdirstem/)
14028
 
+                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14029
 
+                if test "$name" = 'iconv'; then
14030
 
+                  LIBICONV_PREFIX="$basedir"
14031
 
+                fi
14032
 
+                additional_includedir="$basedir/include"
14033
 
+                ;;
14034
 
+              */$acl_libdirstem2 | */$acl_libdirstem2/)
14035
 
+                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
14036
 
+                if test "$name" = 'iconv'; then
14037
 
+                  LIBICONV_PREFIX="$basedir"
14038
 
+                fi
14039
 
+                additional_includedir="$basedir/include"
14040
 
+                ;;
14041
 
+            esac
14042
 
+            if test "X$additional_includedir" != "X"; then
14043
 
+                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
14044
 
+                haveit=
14045
 
+                if test "X$additional_includedir" = "X/usr/local/include"; then
14046
 
+                  if test -n "$GCC"; then
14047
 
+                    case $host_os in
14048
 
+                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14049
 
+                    esac
14050
 
+                  fi
14051
 
+                fi
14052
 
+                if test -z "$haveit"; then
14053
 
+                  for x in $CPPFLAGS $INCICONV; do
14054
 
+                    
14055
 
+  acl_save_prefix="$prefix"
14056
 
+  prefix="$acl_final_prefix"
14057
 
+  acl_save_exec_prefix="$exec_prefix"
14058
 
+  exec_prefix="$acl_final_exec_prefix"
14059
 
+  eval x=\"$x\"
14060
 
+  exec_prefix="$acl_save_exec_prefix"
14061
 
+  prefix="$acl_save_prefix"
14062
 
+
14063
 
+                    if test "X$x" = "X-I$additional_includedir"; then
14064
 
+                      haveit=yes
14065
 
+                      break
14066
 
+                    fi
14067
 
+                  done
14068
 
+                  if test -z "$haveit"; then
14069
 
+                    if test -d "$additional_includedir"; then
14070
 
+                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14071
 
+                    fi
14072
 
+                  fi
14073
 
+                fi
14074
 
+              fi
14075
 
+            fi
14076
 
+                        if test -n "$found_la"; then
14077
 
+                                                        save_libdir="$libdir"
14078
 
+              case "$found_la" in
14079
 
+                */* | *\\*) . "$found_la" ;;
14080
 
+                *) . "./$found_la" ;;
14081
 
+              esac
14082
 
+              libdir="$save_libdir"
14083
 
+                            for dep in $dependency_libs; do
14084
 
+                case "$dep" in
14085
 
+                  -L*)
14086
 
+                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14087
 
+                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
14088
 
+                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
14089
 
+                      haveit=
14090
 
+                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
14091
 
+                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
14092
 
+                        if test -n "$GCC"; then
14093
 
+                          case $host_os in
14094
 
+                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14095
 
+                          esac
14096
 
+                        fi
14097
 
+                      fi
14098
 
+                      if test -z "$haveit"; then
14099
 
+                        haveit=
14100
 
+                        for x in $LDFLAGS $LIBICONV; do
14101
 
+                          
14102
 
+  acl_save_prefix="$prefix"
14103
 
+  prefix="$acl_final_prefix"
14104
 
+  acl_save_exec_prefix="$exec_prefix"
14105
 
+  exec_prefix="$acl_final_exec_prefix"
14106
 
+  eval x=\"$x\"
14107
 
+  exec_prefix="$acl_save_exec_prefix"
14108
 
+  prefix="$acl_save_prefix"
14109
 
+
14110
 
+                          if test "X$x" = "X-L$additional_libdir"; then
14111
 
+                            haveit=yes
14112
 
+                            break
14113
 
+                          fi
14114
 
+                        done
14115
 
+                        if test -z "$haveit"; then
14116
 
+                          if test -d "$additional_libdir"; then
14117
 
+                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14118
 
+                          fi
14119
 
+                        fi
14120
 
+                        haveit=
14121
 
+                        for x in $LDFLAGS $LTLIBICONV; do
14122
 
+                          
14123
 
+  acl_save_prefix="$prefix"
14124
 
+  prefix="$acl_final_prefix"
14125
 
+  acl_save_exec_prefix="$exec_prefix"
14126
 
+  exec_prefix="$acl_final_exec_prefix"
14127
 
+  eval x=\"$x\"
14128
 
+  exec_prefix="$acl_save_exec_prefix"
14129
 
+  prefix="$acl_save_prefix"
14130
 
+
14131
 
+                          if test "X$x" = "X-L$additional_libdir"; then
14132
 
+                            haveit=yes
14133
 
+                            break
14134
 
+                          fi
14135
 
+                        done
14136
 
+                        if test -z "$haveit"; then
14137
 
+                          if test -d "$additional_libdir"; then
14138
 
+                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14139
 
+                          fi
14140
 
+                        fi
14141
 
+                      fi
14142
 
+                    fi
14143
 
+                    ;;
14144
 
+                  -R*)
14145
 
+                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
14146
 
+                    if test "$enable_rpath" != no; then
14147
 
+                                                                  haveit=
14148
 
+                      for x in $rpathdirs; do
14149
 
+                        if test "X$x" = "X$dir"; then
14150
 
+                          haveit=yes
14151
 
+                          break
14152
 
+                        fi
14153
 
+                      done
14154
 
+                      if test -z "$haveit"; then
14155
 
+                        rpathdirs="$rpathdirs $dir"
14156
 
+                      fi
14157
 
+                                                                  haveit=
14158
 
+                      for x in $ltrpathdirs; do
14159
 
+                        if test "X$x" = "X$dir"; then
14160
 
+                          haveit=yes
14161
 
+                          break
14162
 
+                        fi
14163
 
+                      done
14164
 
+                      if test -z "$haveit"; then
14165
 
+                        ltrpathdirs="$ltrpathdirs $dir"
14166
 
+                      fi
14167
 
+                    fi
14168
 
+                    ;;
14169
 
+                  -l*)
14170
 
+                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14171
 
+                    ;;
14172
 
+                  *.la)
14173
 
+                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14174
 
+                    ;;
14175
 
+                  *)
14176
 
+                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
14177
 
+                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14178
 
+                    ;;
14179
 
+                esac
14180
 
+              done
14181
 
+            fi
14182
 
+          else
14183
 
+                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14184
 
+            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14185
 
+          fi
14186
 
+        fi
14187
 
+      fi
14188
 
+    done
14189
 
+  done
14190
 
+  if test "X$rpathdirs" != "X"; then
14191
 
+    if test -n "$acl_hardcode_libdir_separator"; then
14192
 
+                        alldirs=
14193
 
+      for found_dir in $rpathdirs; do
14194
 
+        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14195
 
+      done
14196
 
+            acl_save_libdir="$libdir"
14197
 
+      libdir="$alldirs"
14198
 
+      eval flag=\"$acl_hardcode_libdir_flag_spec\"
14199
 
+      libdir="$acl_save_libdir"
14200
 
+      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14201
 
+    else
14202
 
+            for found_dir in $rpathdirs; do
14203
 
+        acl_save_libdir="$libdir"
14204
 
+        libdir="$found_dir"
14205
 
+        eval flag=\"$acl_hardcode_libdir_flag_spec\"
14206
 
+        libdir="$acl_save_libdir"
14207
 
+        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14208
 
+      done
14209
 
+    fi
14210
 
+  fi
14211
 
+  if test "X$ltrpathdirs" != "X"; then
14212
 
+            for found_dir in $ltrpathdirs; do
14213
 
+      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14214
 
+    done
14215
 
+  fi
14216
 
+  
14217
 
+  
14218
 
+  
14219
 
+  
14220
 
+  
14221
 
+
14222
 
+
14223
 
+
14224
 
+  GNULIB_ICONV=0;       
14225
 
+    ICONV_CONST=;         
14226
 
+  REPLACE_ICONV=0;      
14227
 
+  REPLACE_ICONV_OPEN=0; 
14228
 
+  REPLACE_ICONV_UTF=0;  
14229
 
+  ICONV_H='';           
14230
 
+   if test -n "$ICONV_H"; then
14231
 
+  GL_GENERATE_ICONV_H_TRUE=
14232
 
+  GL_GENERATE_ICONV_H_FALSE='#'
14233
 
+else
14234
 
+  GL_GENERATE_ICONV_H_TRUE='#'
14235
 
+  GL_GENERATE_ICONV_H_FALSE=
14236
 
+fi
14237
 
+
14238
 
+
14239
 
+
14240
 
+  
14241
 
+       
14242
 
+      
14243
 
+
14244
 
+          am_save_CPPFLAGS="$CPPFLAGS"
14245
 
+  
14246
 
+  for element in $INCICONV; do
14247
 
+    haveit=
14248
 
+    for x in $CPPFLAGS; do
14249
 
+      
14250
 
+  acl_save_prefix="$prefix"
14251
 
+  prefix="$acl_final_prefix"
14252
 
+  acl_save_exec_prefix="$exec_prefix"
14253
 
+  exec_prefix="$acl_final_exec_prefix"
14254
 
+  eval x=\"$x\"
14255
 
+  exec_prefix="$acl_save_exec_prefix"
14256
 
+  prefix="$acl_save_prefix"
14257
 
+
14258
 
+      if test "X$x" = "X$element"; then
14259
 
+        haveit=yes
14260
 
+        break
14261
 
+      fi
14262
 
+    done
14263
 
+    if test -z "$haveit"; then
14264
 
+      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14265
 
+    fi
14266
 
+  done
14267
 
+
14268
 
+
14269
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14270
 
+$as_echo_n "checking for iconv... " >&6; }
14271
 
+if ${am_cv_func_iconv+:} false; then :
14272
 
+  $as_echo_n "(cached) " >&6
14273
 
+else
14274
 
+  
14275
 
+    am_cv_func_iconv="no, consider installing GNU libiconv"
14276
 
+    am_cv_lib_iconv=no
14277
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14278
 
+/* end confdefs.h.  */
14279
 
+
14280
 
+#include <stdlib.h>
14281
 
+#include <iconv.h>
14282
 
+         
14283
 
+int
14284
 
+main ()
14285
 
+{
14286
 
+iconv_t cd = iconv_open("","");
14287
 
+           iconv(cd,NULL,NULL,NULL,NULL);
14288
 
+           iconv_close(cd);
14289
 
+  ;
14290
 
+  return 0;
14291
 
+}
14292
 
+_ACEOF
14293
 
+if ac_fn_c_try_link "$LINENO"; then :
14294
 
+  am_cv_func_iconv=yes
14295
 
+fi
14296
 
+rm -f core conftest.err conftest.$ac_objext \
14297
 
+    conftest$ac_exeext conftest.$ac_ext
14298
 
+    if test "$am_cv_func_iconv" != yes; then
14299
 
+      am_save_LIBS="$LIBS"
14300
 
+      LIBS="$LIBS $LIBICONV"
14301
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14302
 
+/* end confdefs.h.  */
14303
 
+
14304
 
+#include <stdlib.h>
14305
 
+#include <iconv.h>
14306
 
+           
14307
 
+int
14308
 
+main ()
14309
 
+{
14310
 
+iconv_t cd = iconv_open("","");
14311
 
+             iconv(cd,NULL,NULL,NULL,NULL);
14312
 
+             iconv_close(cd);
14313
 
+  ;
14314
 
+  return 0;
14315
 
+}
14316
 
+_ACEOF
14317
 
+if ac_fn_c_try_link "$LINENO"; then :
14318
 
+  am_cv_lib_iconv=yes
14319
 
+        am_cv_func_iconv=yes
14320
 
+fi
14321
 
+rm -f core conftest.err conftest.$ac_objext \
14322
 
+    conftest$ac_exeext conftest.$ac_ext
14323
 
+      LIBS="$am_save_LIBS"
14324
 
+    fi
14325
 
+  
14326
 
+fi
14327
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14328
 
+$as_echo "$am_cv_func_iconv" >&6; }
14329
 
+  if test "$am_cv_func_iconv" = yes; then
14330
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
14331
 
+$as_echo_n "checking for working iconv... " >&6; }
14332
 
+if ${am_cv_func_iconv_works+:} false; then :
14333
 
+  $as_echo_n "(cached) " >&6
14334
 
+else
14335
 
+  
14336
 
+                  am_save_LIBS="$LIBS"
14337
 
+      if test $am_cv_lib_iconv = yes; then
14338
 
+        LIBS="$LIBS $LIBICONV"
14339
 
+      fi
14340
 
+      if test "$cross_compiling" = yes; then :
14341
 
+  
14342
 
+         case "$host_os" in
14343
 
+           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
14344
 
+           *)            am_cv_func_iconv_works="guessing yes" ;;
14345
 
+         esac
14346
 
+        
14347
 
+else
14348
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14349
 
+/* end confdefs.h.  */
14350
 
+
14351
 
+#include <iconv.h>
14352
 
+#include <string.h>
14353
 
+int main ()
14354
 
+{
14355
 
+  int result = 0;
14356
 
+  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14357
 
+     returns.  */
14358
 
+  {
14359
 
+    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14360
 
+    if (cd_utf8_to_88591 != (iconv_t)(-1))
14361
 
+      {
14362
 
+        static const char input[] = "\342\202\254"; /* EURO SIGN */
14363
 
+        char buf[10];
14364
 
+        const char *inptr = input;
14365
 
+        size_t inbytesleft = strlen (input);
14366
 
+        char *outptr = buf;
14367
 
+        size_t outbytesleft = sizeof (buf);
14368
 
+        size_t res = iconv (cd_utf8_to_88591,
14369
 
+                            (char **) &inptr, &inbytesleft,
14370
 
+                            &outptr, &outbytesleft);
14371
 
+        if (res == 0)
14372
 
+          result |= 1;
14373
 
+        iconv_close (cd_utf8_to_88591);
14374
 
+      }
14375
 
+  }
14376
 
+  /* Test against Solaris 10 bug: Failures are not distinguishable from
14377
 
+     successful returns.  */
14378
 
+  {
14379
 
+    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
14380
 
+    if (cd_ascii_to_88591 != (iconv_t)(-1))
14381
 
+      {
14382
 
+        static const char input[] = "\263";
14383
 
+        char buf[10];
14384
 
+        const char *inptr = input;
14385
 
+        size_t inbytesleft = strlen (input);
14386
 
+        char *outptr = buf;
14387
 
+        size_t outbytesleft = sizeof (buf);
14388
 
+        size_t res = iconv (cd_ascii_to_88591,
14389
 
+                            (char **) &inptr, &inbytesleft,
14390
 
+                            &outptr, &outbytesleft);
14391
 
+        if (res == 0)
14392
 
+          result |= 2;
14393
 
+        iconv_close (cd_ascii_to_88591);
14394
 
+      }
14395
 
+  }
14396
 
+  /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
14397
 
+  {
14398
 
+    iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
14399
 
+    if (cd_88591_to_utf8 != (iconv_t)(-1))
14400
 
+      {
14401
 
+        static const char input[] = "\304";
14402
 
+        static char buf[2] = { (char)0xDE, (char)0xAD };
14403
 
+        const char *inptr = input;
14404
 
+        size_t inbytesleft = 1;
14405
 
+        char *outptr = buf;
14406
 
+        size_t outbytesleft = 1;
14407
 
+        size_t res = iconv (cd_88591_to_utf8,
14408
 
+                            (char **) &inptr, &inbytesleft,
14409
 
+                            &outptr, &outbytesleft);
14410
 
+        if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
14411
 
+          result |= 4;
14412
 
+        iconv_close (cd_88591_to_utf8);
14413
 
+      }
14414
 
+  }
14415
 
+#if 0 /* This bug could be worked around by the caller.  */
14416
 
+  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
14417
 
+  {
14418
 
+    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14419
 
+    if (cd_88591_to_utf8 != (iconv_t)(-1))
14420
 
+      {
14421
 
+        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14422
 
+        char buf[50];
14423
 
+        const char *inptr = input;
14424
 
+        size_t inbytesleft = strlen (input);
14425
 
+        char *outptr = buf;
14426
 
+        size_t outbytesleft = sizeof (buf);
14427
 
+        size_t res = iconv (cd_88591_to_utf8,
14428
 
+                            (char **) &inptr, &inbytesleft,
14429
 
+                            &outptr, &outbytesleft);
14430
 
+        if ((int)res > 0)
14431
 
+          result |= 8;
14432
 
+        iconv_close (cd_88591_to_utf8);
14433
 
+      }
14434
 
+  }
14435
 
+#endif
14436
 
+  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14437
 
+     provided.  */
14438
 
+  if (/* Try standardized names.  */
14439
 
+      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14440
 
+      /* Try IRIX, OSF/1 names.  */
14441
 
+      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14442
 
+      /* Try AIX names.  */
14443
 
+      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14444
 
+      /* Try HP-UX names.  */
14445
 
+      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14446
 
+    result |= 16;
14447
 
+  return result;
14448
 
+}
14449
 
+_ACEOF
14450
 
+if ac_fn_c_try_run "$LINENO"; then :
14451
 
+  am_cv_func_iconv_works=yes
14452
 
+else
14453
 
+  am_cv_func_iconv_works=no
14454
 
+fi
14455
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14456
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
14457
 
+fi
14458
 
+
14459
 
+      LIBS="$am_save_LIBS"
14460
 
+    
14461
 
+fi
14462
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
14463
 
+$as_echo "$am_cv_func_iconv_works" >&6; }
14464
 
+    case "$am_cv_func_iconv_works" in
14465
 
+      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
14466
 
+      *)   am_func_iconv=yes ;;
14467
 
+    esac
14468
 
+  else
14469
 
+    am_func_iconv=no am_cv_lib_iconv=no
14470
 
+  fi
14471
 
+  if test "$am_func_iconv" = yes; then
14472
 
+    
14473
 
+$as_echo "@%:@define HAVE_ICONV 1" >>confdefs.h
14474
 
+
14475
 
+  fi
14476
 
+  if test "$am_cv_lib_iconv" = yes; then
14477
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14478
 
+$as_echo_n "checking how to link with libiconv... " >&6; }
14479
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14480
 
+$as_echo "$LIBICONV" >&6; }
14481
 
+  else
14482
 
+            CPPFLAGS="$am_save_CPPFLAGS"
14483
 
+    LIBICONV=
14484
 
+    LTLIBICONV=
14485
 
+  fi
14486
 
+  
14487
 
+  
14488
 
+
14489
 
+  if test "$am_cv_func_iconv" = yes; then
14490
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
14491
 
+$as_echo_n "checking for iconv declaration... " >&6; }
14492
 
+    if ${am_cv_proto_iconv+:} false; then :
14493
 
+  $as_echo_n "(cached) " >&6
14494
 
+else
14495
 
+  
14496
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14497
 
+/* end confdefs.h.  */
14498
 
+
14499
 
+#include <stdlib.h>
14500
 
+#include <iconv.h>
14501
 
+extern
14502
 
+#ifdef __cplusplus
14503
 
+"C"
14504
 
+#endif
14505
 
+#if defined(__STDC__) || defined(__cplusplus)
14506
 
+size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
14507
 
+#else
14508
 
+size_t iconv();
14509
 
+#endif
14510
 
+           
14511
 
+int
14512
 
+main ()
14513
 
+{
14514
 
+
14515
 
+  ;
14516
 
+  return 0;
14517
 
+}
14518
 
+_ACEOF
14519
 
+if ac_fn_c_try_compile "$LINENO"; then :
14520
 
+  am_cv_proto_iconv_arg1=""
14521
 
+else
14522
 
+  am_cv_proto_iconv_arg1="const"
14523
 
+fi
14524
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14525
 
+      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);"
14526
 
+fi
14527
 
+
14528
 
+    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
14529
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: 
14530
 
+         $am_cv_proto_iconv" >&5
14531
 
+$as_echo "
14532
 
+         $am_cv_proto_iconv" >&6; }
14533
 
+    
14534
 
+cat >>confdefs.h <<_ACEOF
14535
 
+@%:@define ICONV_CONST $am_cv_proto_iconv_arg1
14536
 
+_ACEOF
14537
 
+
14538
 
+        
14539
 
+       if test -n "$am_cv_proto_iconv_arg1"; then
14540
 
+         ICONV_CONST="const"
14541
 
+       fi
14542
 
+      
14543
 
+  fi
14544
 
+
14545
 
+
14546
 
+
14547
 
+ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14548
 
+if test "x$ac_cv_type_off_t" = xyes; then :
14549
 
+  
14550
 
+else
14551
 
+  
14552
 
+cat >>confdefs.h <<_ACEOF
14553
 
+@%:@define off_t long int
14554
 
+_ACEOF
14555
 
+
14556
 
+fi
14557
 
+
14558
 
+
14559
 
+
14560
 
+
14561
 
+
14562
 
+
14563
 
+    gl_cv_c_multiarch=no
14564
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14565
 
+/* end confdefs.h.  */
14566
 
+#ifndef __APPLE_CC__
14567
 
+         not a universal capable compiler
14568
 
+        #endif
14569
 
+        typedef int dummy;
14570
 
+      
14571
 
+_ACEOF
14572
 
+if ac_fn_c_try_compile "$LINENO"; then :
14573
 
+  
14574
 
+               arch=
14575
 
+     prev=
14576
 
+     for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do
14577
 
+       if test -n "$prev"; then
14578
 
+         case $word in
14579
 
+           i?86 | x86_64 | ppc | ppc64)
14580
 
+             if test -z "$arch" || test "$arch" = "$word"; then
14581
 
+               arch="$word"
14582
 
+             else
14583
 
+               gl_cv_c_multiarch=yes
14584
 
+             fi
14585
 
+             ;;
14586
 
+         esac
14587
 
+         prev=
14588
 
+       else
14589
 
+         if test "x$word" = "x-arch"; then
14590
 
+           prev=arch
14591
 
+         fi
14592
 
+       fi
14593
 
+     done
14594
 
+    
14595
 
+fi
14596
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14597
 
+  if test $gl_cv_c_multiarch = yes; then
14598
 
+    APPLE_UNIVERSAL_BUILD=1
14599
 
+  else
14600
 
+    APPLE_UNIVERSAL_BUILD=0
14601
 
+  fi
14602
 
+  
14603
 
+
14604
 
+
14605
 
+  
14606
 
+    
14607
 
+  if test $ac_cv_type_long_long_int = yes; then
14608
 
+    HAVE_LONG_LONG_INT=1
14609
 
+  else
14610
 
+    HAVE_LONG_LONG_INT=0
14611
 
+  fi
14612
 
+  
14613
 
+  
14614
 
+  if test $ac_cv_type_unsigned_long_long_int = yes; then
14615
 
+    HAVE_UNSIGNED_LONG_LONG_INT=1
14616
 
+  else
14617
 
+    HAVE_UNSIGNED_LONG_LONG_INT=0
14618
 
+  fi
14619
 
+  
14620
 
+
14621
 
+    
14622
 
+  if test $ac_cv_header_wchar_h = yes; then
14623
 
+    HAVE_WCHAR_H=1
14624
 
+  else
14625
 
+    HAVE_WCHAR_H=0
14626
 
+  fi
14627
 
+  
14628
 
+
14629
 
+      if test $ac_cv_header_inttypes_h = yes; then
14630
 
+    HAVE_INTTYPES_H=1
14631
 
+  else
14632
 
+    HAVE_INTTYPES_H=0
14633
 
+  fi
14634
 
+  
14635
 
+
14636
 
+      if test $ac_cv_header_sys_types_h = yes; then
14637
 
+    HAVE_SYS_TYPES_H=1
14638
 
+  else
14639
 
+    HAVE_SYS_TYPES_H=0
14640
 
+  fi
14641
 
+  
14642
 
+
14643
 
+  
14644
 
+  
14645
 
+  
14646
 
+  
14647
 
+
14648
 
+  
14649
 
+    
14650
 
+
14651
 
+  
14652
 
+     if test $gl_cv_have_include_next = yes; then
14653
 
+       gl_cv_next_stdint_h='<'stdint.h'>'
14654
 
+     else
14655
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
14656
 
+$as_echo_n "checking absolute name of <stdint.h>... " >&6; }
14657
 
+if ${gl_cv_next_stdint_h+:} false; then :
14658
 
+  $as_echo_n "(cached) " >&6
14659
 
+else
14660
 
+  
14661
 
+             if test $ac_cv_header_stdint_h = yes; then
14662
 
+             
14663
 
+            
14664
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14665
 
+/* end confdefs.h.  */
14666
 
+#include <stdint.h>
14667
 
+                  
14668
 
+_ACEOF
14669
 
+                                                                                                                        case "$host_os" in
14670
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
14671
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
14672
 
+               esac
14673
 
+                                                            gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
14674
 
+                  sed -n '\#/stdint.h#{
14675
 
+                    s#.*"\(.*/stdint.h\)".*#\1#
14676
 
+                    s#^/[^/]#//&#
14677
 
+                    p
14678
 
+                    q
14679
 
+                  }'`'"'
14680
 
+          else
14681
 
+               gl_cv_next_stdint_h='<'stdint.h'>'
14682
 
+             fi
14683
 
+            
14684
 
+         
14685
 
+fi
14686
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5
14687
 
+$as_echo "$gl_cv_next_stdint_h" >&6; }
14688
 
+     fi
14689
 
+     NEXT_STDINT_H=$gl_cv_next_stdint_h
14690
 
+
14691
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
14692
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
14693
 
+       gl_next_as_first_directive='<'stdint.h'>'
14694
 
+     else
14695
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
14696
 
+       gl_next_as_first_directive=$gl_cv_next_stdint_h
14697
 
+     fi
14698
 
+     NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive
14699
 
+
14700
 
+     
14701
 
+
14702
 
+
14703
 
+  if test $ac_cv_header_stdint_h = yes; then
14704
 
+    HAVE_STDINT_H=1
14705
 
+  else
14706
 
+    HAVE_STDINT_H=0
14707
 
+  fi
14708
 
+  
14709
 
+
14710
 
+    if test $ac_cv_header_stdint_h = yes; then
14711
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
14712
 
+$as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
14713
 
+if ${gl_cv_header_working_stdint_h+:} false; then :
14714
 
+  $as_echo_n "(cached) " >&6
14715
 
+else
14716
 
+  gl_cv_header_working_stdint_h=no
14717
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14718
 
+/* end confdefs.h.  */
14719
 
+
14720
 
+         
14721
 
+#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
14722
 
+#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
14723
 
+#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
14724
 
+#include <stdint.h>
14725
 
+/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>.  */
14726
 
+#if !(defined WCHAR_MIN && defined WCHAR_MAX)
14727
 
+#error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
14728
 
+#endif
14729
 
+
14730
 
+
14731
 
+  /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
14732
 
+     included before <wchar.h>.  */
14733
 
+  #include <stddef.h>
14734
 
+  #include <signal.h>
14735
 
+  #if HAVE_WCHAR_H
14736
 
+  # include <stdio.h>
14737
 
+  # include <time.h>
14738
 
+  # include <wchar.h>
14739
 
+  #endif
14740
 
+
14741
 
+
14742
 
+#ifdef INT8_MAX
14743
 
+int8_t a1 = INT8_MAX;
14744
 
+int8_t a1min = INT8_MIN;
14745
 
+#endif
14746
 
+#ifdef INT16_MAX
14747
 
+int16_t a2 = INT16_MAX;
14748
 
+int16_t a2min = INT16_MIN;
14749
 
+#endif
14750
 
+#ifdef INT32_MAX
14751
 
+int32_t a3 = INT32_MAX;
14752
 
+int32_t a3min = INT32_MIN;
14753
 
+#endif
14754
 
+#ifdef INT64_MAX
14755
 
+int64_t a4 = INT64_MAX;
14756
 
+int64_t a4min = INT64_MIN;
14757
 
+#endif
14758
 
+#ifdef UINT8_MAX
14759
 
+uint8_t b1 = UINT8_MAX;
14760
 
+#else
14761
 
+typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
14762
 
+#endif
14763
 
+#ifdef UINT16_MAX
14764
 
+uint16_t b2 = UINT16_MAX;
14765
 
+#endif
14766
 
+#ifdef UINT32_MAX
14767
 
+uint32_t b3 = UINT32_MAX;
14768
 
+#endif
14769
 
+#ifdef UINT64_MAX
14770
 
+uint64_t b4 = UINT64_MAX;
14771
 
+#endif
14772
 
+int_least8_t c1 = INT8_C (0x7f);
14773
 
+int_least8_t c1max = INT_LEAST8_MAX;
14774
 
+int_least8_t c1min = INT_LEAST8_MIN;
14775
 
+int_least16_t c2 = INT16_C (0x7fff);
14776
 
+int_least16_t c2max = INT_LEAST16_MAX;
14777
 
+int_least16_t c2min = INT_LEAST16_MIN;
14778
 
+int_least32_t c3 = INT32_C (0x7fffffff);
14779
 
+int_least32_t c3max = INT_LEAST32_MAX;
14780
 
+int_least32_t c3min = INT_LEAST32_MIN;
14781
 
+int_least64_t c4 = INT64_C (0x7fffffffffffffff);
14782
 
+int_least64_t c4max = INT_LEAST64_MAX;
14783
 
+int_least64_t c4min = INT_LEAST64_MIN;
14784
 
+uint_least8_t d1 = UINT8_C (0xff);
14785
 
+uint_least8_t d1max = UINT_LEAST8_MAX;
14786
 
+uint_least16_t d2 = UINT16_C (0xffff);
14787
 
+uint_least16_t d2max = UINT_LEAST16_MAX;
14788
 
+uint_least32_t d3 = UINT32_C (0xffffffff);
14789
 
+uint_least32_t d3max = UINT_LEAST32_MAX;
14790
 
+uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
14791
 
+uint_least64_t d4max = UINT_LEAST64_MAX;
14792
 
+int_fast8_t e1 = INT_FAST8_MAX;
14793
 
+int_fast8_t e1min = INT_FAST8_MIN;
14794
 
+int_fast16_t e2 = INT_FAST16_MAX;
14795
 
+int_fast16_t e2min = INT_FAST16_MIN;
14796
 
+int_fast32_t e3 = INT_FAST32_MAX;
14797
 
+int_fast32_t e3min = INT_FAST32_MIN;
14798
 
+int_fast64_t e4 = INT_FAST64_MAX;
14799
 
+int_fast64_t e4min = INT_FAST64_MIN;
14800
 
+uint_fast8_t f1 = UINT_FAST8_MAX;
14801
 
+uint_fast16_t f2 = UINT_FAST16_MAX;
14802
 
+uint_fast32_t f3 = UINT_FAST32_MAX;
14803
 
+uint_fast64_t f4 = UINT_FAST64_MAX;
14804
 
+#ifdef INTPTR_MAX
14805
 
+intptr_t g = INTPTR_MAX;
14806
 
+intptr_t gmin = INTPTR_MIN;
14807
 
+#endif
14808
 
+#ifdef UINTPTR_MAX
14809
 
+uintptr_t h = UINTPTR_MAX;
14810
 
+#endif
14811
 
+intmax_t i = INTMAX_MAX;
14812
 
+uintmax_t j = UINTMAX_MAX;
14813
 
+
14814
 
+#include <limits.h> /* for CHAR_BIT */
14815
 
+#define TYPE_MINIMUM(t) \
14816
 
+  ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t)))
14817
 
+#define TYPE_MAXIMUM(t) \
14818
 
+  ((t) ((t) 0 < (t) -1 \
14819
 
+        ? (t) -1 \
14820
 
+        : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
14821
 
+struct s {
14822
 
+  int check_PTRDIFF:
14823
 
+      PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
14824
 
+      && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
14825
 
+      ? 1 : -1;
14826
 
+  /* Detect bug in FreeBSD 6.0 / ia64.  */
14827
 
+  int check_SIG_ATOMIC:
14828
 
+      SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
14829
 
+      && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
14830
 
+      ? 1 : -1;
14831
 
+  int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
14832
 
+  int check_WCHAR:
14833
 
+      WCHAR_MIN == TYPE_MINIMUM (wchar_t)
14834
 
+      && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
14835
 
+      ? 1 : -1;
14836
 
+  /* Detect bug in mingw.  */
14837
 
+  int check_WINT:
14838
 
+      WINT_MIN == TYPE_MINIMUM (wint_t)
14839
 
+      && WINT_MAX == TYPE_MAXIMUM (wint_t)
14840
 
+      ? 1 : -1;
14841
 
+
14842
 
+  /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others.  */
14843
 
+  int check_UINT8_C:
14844
 
+        (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
14845
 
+  int check_UINT16_C:
14846
 
+        (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
14847
 
+
14848
 
+  /* Detect bugs in OpenBSD 3.9 stdint.h.  */
14849
 
+#ifdef UINT8_MAX
14850
 
+  int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
14851
 
+#endif
14852
 
+#ifdef UINT16_MAX
14853
 
+  int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
14854
 
+#endif
14855
 
+#ifdef UINT32_MAX
14856
 
+  int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
14857
 
+#endif
14858
 
+#ifdef UINT64_MAX
14859
 
+  int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
14860
 
+#endif
14861
 
+  int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
14862
 
+  int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
14863
 
+  int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
14864
 
+  int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
14865
 
+  int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
14866
 
+  int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
14867
 
+  int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
14868
 
+  int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
14869
 
+  int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
14870
 
+  int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
14871
 
+  int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
14872
 
+};
14873
 
+         
14874
 
+int
14875
 
+main ()
14876
 
+{
14877
 
+
14878
 
+  ;
14879
 
+  return 0;
14880
 
+}
14881
 
+_ACEOF
14882
 
+if ac_fn_c_try_compile "$LINENO"; then :
14883
 
+                                                    if test "$cross_compiling" = yes; then :
14884
 
+                 gl_cv_header_working_stdint_h=yes
14885
 
+              
14886
 
+else
14887
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14888
 
+/* end confdefs.h.  */
14889
 
+
14890
 
+            
14891
 
+#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
14892
 
+#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
14893
 
+#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
14894
 
+#include <stdint.h>
14895
 
+
14896
 
+
14897
 
+  /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
14898
 
+     included before <wchar.h>.  */
14899
 
+  #include <stddef.h>
14900
 
+  #include <signal.h>
14901
 
+  #if HAVE_WCHAR_H
14902
 
+  # include <stdio.h>
14903
 
+  # include <time.h>
14904
 
+  # include <wchar.h>
14905
 
+  #endif
14906
 
+
14907
 
+
14908
 
+#include <stdio.h>
14909
 
+#include <string.h>
14910
 
+#define MVAL(macro) MVAL1(macro)
14911
 
+#define MVAL1(expression) #expression
14912
 
+static const char *macro_values[] =
14913
 
+  {
14914
 
+#ifdef INT8_MAX
14915
 
+    MVAL (INT8_MAX),
14916
 
+#endif
14917
 
+#ifdef INT16_MAX
14918
 
+    MVAL (INT16_MAX),
14919
 
+#endif
14920
 
+#ifdef INT32_MAX
14921
 
+    MVAL (INT32_MAX),
14922
 
+#endif
14923
 
+#ifdef INT64_MAX
14924
 
+    MVAL (INT64_MAX),
14925
 
+#endif
14926
 
+#ifdef UINT8_MAX
14927
 
+    MVAL (UINT8_MAX),
14928
 
+#endif
14929
 
+#ifdef UINT16_MAX
14930
 
+    MVAL (UINT16_MAX),
14931
 
+#endif
14932
 
+#ifdef UINT32_MAX
14933
 
+    MVAL (UINT32_MAX),
14934
 
+#endif
14935
 
+#ifdef UINT64_MAX
14936
 
+    MVAL (UINT64_MAX),
14937
 
+#endif
14938
 
+    NULL
14939
 
+  };
14940
 
+
14941
 
+int
14942
 
+main ()
14943
 
+{
14944
 
+
14945
 
+  const char **mv;
14946
 
+  for (mv = macro_values; *mv != NULL; mv++)
14947
 
+    {
14948
 
+      const char *value = *mv;
14949
 
+      /* Test whether it looks like a cast expression.  */
14950
 
+      if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0
14951
 
+          || strncmp (value, "((unsigned short)"/*)*/, 17) == 0
14952
 
+          || strncmp (value, "((unsigned char)"/*)*/, 16) == 0
14953
 
+          || strncmp (value, "((int)"/*)*/, 6) == 0
14954
 
+          || strncmp (value, "((signed short)"/*)*/, 15) == 0
14955
 
+          || strncmp (value, "((signed char)"/*)*/, 14) == 0)
14956
 
+        return mv - macro_values + 1;
14957
 
+    }
14958
 
+  return 0;
14959
 
+
14960
 
+  ;
14961
 
+  return 0;
14962
 
+}
14963
 
+_ACEOF
14964
 
+if ac_fn_c_try_run "$LINENO"; then :
14965
 
+  gl_cv_header_working_stdint_h=yes
14966
 
+fi
14967
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14968
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
14969
 
+fi
14970
 
+
14971
 
+         
14972
 
+fi
14973
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14974
 
+      
14975
 
+fi
14976
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5
14977
 
+$as_echo "$gl_cv_header_working_stdint_h" >&6; }
14978
 
+  fi
14979
 
+  if test "$gl_cv_header_working_stdint_h" = yes; then
14980
 
+    STDINT_H=
14981
 
+  else
14982
 
+            for ac_header in sys/inttypes.h sys/bitypes.h
14983
 
+do :
14984
 
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14985
 
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14986
 
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14987
 
+  cat >>confdefs.h <<_ACEOF
14988
 
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14989
 
+_ACEOF
14990
 
14991
 
+fi
14992
 
+
14993
 
+done
14994
 
+
14995
 
+    if test $ac_cv_header_sys_inttypes_h = yes; then
14996
 
+      HAVE_SYS_INTTYPES_H=1
14997
 
+    else
14998
 
+      HAVE_SYS_INTTYPES_H=0
14999
 
+    fi
15000
 
+    
15001
 
+    if test $ac_cv_header_sys_bitypes_h = yes; then
15002
 
+      HAVE_SYS_BITYPES_H=1
15003
 
+    else
15004
 
+      HAVE_SYS_BITYPES_H=0
15005
 
+    fi
15006
 
+    
15007
 
+
15008
 
+    
15009
 
+  
15010
 
+  if test $APPLE_UNIVERSAL_BUILD = 0; then
15011
 
+    
15012
 
+          
15013
 
+  for gltype in ptrdiff_t size_t ; do
15014
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
15015
 
+$as_echo_n "checking for bit size of $gltype... " >&6; }
15016
 
+if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
15017
 
+  $as_echo_n "(cached) " >&6
15018
 
+else
15019
 
+  if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result"        "
15020
 
+  /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
15021
 
+     included before <wchar.h>.  */
15022
 
+  #include <stddef.h>
15023
 
+  #include <signal.h>
15024
 
+  #if HAVE_WCHAR_H
15025
 
+  # include <stdio.h>
15026
 
+  # include <time.h>
15027
 
+  # include <wchar.h>
15028
 
+  #endif
15029
 
+
15030
 
+#include <limits.h>"; then :
15031
 
+  
15032
 
+else
15033
 
+  result=unknown
15034
 
+fi
15035
 
+
15036
 
+       eval gl_cv_bitsizeof_${gltype}=\$result
15037
 
+      
15038
 
+fi
15039
 
+eval ac_res=\$gl_cv_bitsizeof_${gltype}
15040
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15041
 
+$as_echo "$ac_res" >&6; }
15042
 
+    eval result=\$gl_cv_bitsizeof_${gltype}
15043
 
+    if test $result = unknown; then
15044
 
+                                                result=0
15045
 
+    fi
15046
 
+    GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
15047
 
+    cat >>confdefs.h <<_ACEOF
15048
 
+@%:@define BITSIZEOF_${GLTYPE} $result
15049
 
+_ACEOF
15050
 
+
15051
 
+    eval BITSIZEOF_${GLTYPE}=\$result
15052
 
+  done
15053
 
+  
15054
 
+
15055
 
+  fi
15056
 
+  
15057
 
+          
15058
 
+  for gltype in sig_atomic_t wchar_t wint_t ; do
15059
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
15060
 
+$as_echo_n "checking for bit size of $gltype... " >&6; }
15061
 
+if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
15062
 
+  $as_echo_n "(cached) " >&6
15063
 
+else
15064
 
+  if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result"        "
15065
 
+  /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
15066
 
+     included before <wchar.h>.  */
15067
 
+  #include <stddef.h>
15068
 
+  #include <signal.h>
15069
 
+  #if HAVE_WCHAR_H
15070
 
+  # include <stdio.h>
15071
 
+  # include <time.h>
15072
 
+  # include <wchar.h>
15073
 
+  #endif
15074
 
+
15075
 
+#include <limits.h>"; then :
15076
 
+  
15077
 
+else
15078
 
+  result=unknown
15079
 
+fi
15080
 
+
15081
 
+       eval gl_cv_bitsizeof_${gltype}=\$result
15082
 
+      
15083
 
+fi
15084
 
+eval ac_res=\$gl_cv_bitsizeof_${gltype}
15085
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15086
 
+$as_echo "$ac_res" >&6; }
15087
 
+    eval result=\$gl_cv_bitsizeof_${gltype}
15088
 
+    if test $result = unknown; then
15089
 
+                                                result=0
15090
 
+    fi
15091
 
+    GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
15092
 
+    cat >>confdefs.h <<_ACEOF
15093
 
+@%:@define BITSIZEOF_${GLTYPE} $result
15094
 
+_ACEOF
15095
 
+
15096
 
+    eval BITSIZEOF_${GLTYPE}=\$result
15097
 
+  done
15098
 
+  
15099
 
+
15100
 
+  
15101
 
+          
15102
 
+  for gltype in sig_atomic_t wchar_t wint_t ; do
15103
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
15104
 
+$as_echo_n "checking whether $gltype is signed... " >&6; }
15105
 
+if eval \${gl_cv_type_${gltype}_signed+:} false; then :
15106
 
+  $as_echo_n "(cached) " >&6
15107
 
+else
15108
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15109
 
+/* end confdefs.h.  */
15110
 
+
15111
 
+  /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
15112
 
+     included before <wchar.h>.  */
15113
 
+  #include <stddef.h>
15114
 
+  #include <signal.h>
15115
 
+  #if HAVE_WCHAR_H
15116
 
+  # include <stdio.h>
15117
 
+  # include <time.h>
15118
 
+  # include <wchar.h>
15119
 
+  #endif
15120
 
+
15121
 
+            int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
15122
 
+int
15123
 
+main ()
15124
 
+{
15125
 
+
15126
 
+  ;
15127
 
+  return 0;
15128
 
+}
15129
 
+_ACEOF
15130
 
+if ac_fn_c_try_compile "$LINENO"; then :
15131
 
+  result=yes
15132
 
+else
15133
 
+  result=no
15134
 
+fi
15135
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15136
 
+       eval gl_cv_type_${gltype}_signed=\$result
15137
 
+      
15138
 
+fi
15139
 
+eval ac_res=\$gl_cv_type_${gltype}_signed
15140
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15141
 
+$as_echo "$ac_res" >&6; }
15142
 
+    eval result=\$gl_cv_type_${gltype}_signed
15143
 
+    GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
15144
 
+    if test "$result" = yes; then
15145
 
+      cat >>confdefs.h <<_ACEOF
15146
 
+@%:@define HAVE_SIGNED_${GLTYPE} 1
15147
 
+_ACEOF
15148
 
+
15149
 
+      eval HAVE_SIGNED_${GLTYPE}=1
15150
 
+    else
15151
 
+      eval HAVE_SIGNED_${GLTYPE}=0
15152
 
+    fi
15153
 
+  done
15154
 
+  
15155
 
+
15156
 
+  gl_cv_type_ptrdiff_t_signed=yes
15157
 
+  gl_cv_type_size_t_signed=no
15158
 
+  if test $APPLE_UNIVERSAL_BUILD = 0; then
15159
 
+    
15160
 
+          
15161
 
+  for gltype in ptrdiff_t size_t ; do
15162
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
15163
 
+$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
15164
 
+if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
15165
 
+  $as_echo_n "(cached) " >&6
15166
 
+else
15167
 
+  eval gl_cv_type_${gltype}_suffix=no
15168
 
+       eval result=\$gl_cv_type_${gltype}_signed
15169
 
+       if test "$result" = yes; then
15170
 
+         glsufu=
15171
 
+       else
15172
 
+         glsufu=u
15173
 
+       fi
15174
 
+       for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
15175
 
+         case $glsuf in
15176
 
+           '')  gltype1='int';;
15177
 
+           l)   gltype1='long int';;
15178
 
+           ll)  gltype1='long long int';;
15179
 
+           i64) gltype1='__int64';;
15180
 
+           u)   gltype1='unsigned int';;
15181
 
+           ul)  gltype1='unsigned long int';;
15182
 
+           ull) gltype1='unsigned long long int';;
15183
 
+           ui64)gltype1='unsigned __int64';;
15184
 
+         esac
15185
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186
 
+/* end confdefs.h.  */
15187
 
+
15188
 
+  /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
15189
 
+     included before <wchar.h>.  */
15190
 
+  #include <stddef.h>
15191
 
+  #include <signal.h>
15192
 
+  #if HAVE_WCHAR_H
15193
 
+  # include <stdio.h>
15194
 
+  # include <time.h>
15195
 
+  # include <wchar.h>
15196
 
+  #endif
15197
 
+
15198
 
+              extern $gltype foo;
15199
 
+              extern $gltype1 foo;
15200
 
+int
15201
 
+main ()
15202
 
+{
15203
 
+
15204
 
+  ;
15205
 
+  return 0;
15206
 
+}
15207
 
+_ACEOF
15208
 
+if ac_fn_c_try_compile "$LINENO"; then :
15209
 
+  eval gl_cv_type_${gltype}_suffix=\$glsuf
15210
 
+fi
15211
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15212
 
+         eval result=\$gl_cv_type_${gltype}_suffix
15213
 
+         test "$result" != no && break
15214
 
+       done
15215
 
+fi
15216
 
+eval ac_res=\$gl_cv_type_${gltype}_suffix
15217
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15218
 
+$as_echo "$ac_res" >&6; }
15219
 
+    GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
15220
 
+    eval result=\$gl_cv_type_${gltype}_suffix
15221
 
+    test "$result" = no && result=
15222
 
+    eval ${GLTYPE}_SUFFIX=\$result
15223
 
+    cat >>confdefs.h <<_ACEOF
15224
 
+@%:@define ${GLTYPE}_SUFFIX $result
15225
 
+_ACEOF
15226
 
+
15227
 
+  done
15228
 
+  
15229
 
+
15230
 
+  fi
15231
 
+  
15232
 
+          
15233
 
+  for gltype in sig_atomic_t wchar_t wint_t ; do
15234
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
15235
 
+$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
15236
 
+if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
15237
 
+  $as_echo_n "(cached) " >&6
15238
 
+else
15239
 
+  eval gl_cv_type_${gltype}_suffix=no
15240
 
+       eval result=\$gl_cv_type_${gltype}_signed
15241
 
+       if test "$result" = yes; then
15242
 
+         glsufu=
15243
 
+       else
15244
 
+         glsufu=u
15245
 
+       fi
15246
 
+       for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
15247
 
+         case $glsuf in
15248
 
+           '')  gltype1='int';;
15249
 
+           l)   gltype1='long int';;
15250
 
+           ll)  gltype1='long long int';;
15251
 
+           i64) gltype1='__int64';;
15252
 
+           u)   gltype1='unsigned int';;
15253
 
+           ul)  gltype1='unsigned long int';;
15254
 
+           ull) gltype1='unsigned long long int';;
15255
 
+           ui64)gltype1='unsigned __int64';;
15256
 
+         esac
15257
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15258
 
+/* end confdefs.h.  */
15259
 
+
15260
 
+  /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
15261
 
+     included before <wchar.h>.  */
15262
 
+  #include <stddef.h>
15263
 
+  #include <signal.h>
15264
 
+  #if HAVE_WCHAR_H
15265
 
+  # include <stdio.h>
15266
 
+  # include <time.h>
15267
 
+  # include <wchar.h>
15268
 
+  #endif
15269
 
+
15270
 
+              extern $gltype foo;
15271
 
+              extern $gltype1 foo;
15272
 
+int
15273
 
+main ()
15274
 
+{
15275
 
+
15276
 
+  ;
15277
 
+  return 0;
15278
 
+}
15279
 
+_ACEOF
15280
 
+if ac_fn_c_try_compile "$LINENO"; then :
15281
 
+  eval gl_cv_type_${gltype}_suffix=\$glsuf
15282
 
+fi
15283
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15284
 
+         eval result=\$gl_cv_type_${gltype}_suffix
15285
 
+         test "$result" != no && break
15286
 
+       done
15287
 
+fi
15288
 
+eval ac_res=\$gl_cv_type_${gltype}_suffix
15289
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15290
 
+$as_echo "$ac_res" >&6; }
15291
 
+    GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
15292
 
+    eval result=\$gl_cv_type_${gltype}_suffix
15293
 
+    test "$result" = no && result=
15294
 
+    eval ${GLTYPE}_SUFFIX=\$result
15295
 
+    cat >>confdefs.h <<_ACEOF
15296
 
+@%:@define ${GLTYPE}_SUFFIX $result
15297
 
+_ACEOF
15298
 
+
15299
 
+  done
15300
 
+  
15301
 
+
15302
 
+
15303
 
+    STDINT_H=stdint.h
15304
 
+  fi
15305
 
+  
15306
 
+   if test -n "$STDINT_H"; then
15307
 
+  GL_GENERATE_STDINT_H_TRUE=
15308
 
+  GL_GENERATE_STDINT_H_FALSE='#'
15309
 
+else
15310
 
+  GL_GENERATE_STDINT_H_TRUE='#'
15311
 
+  GL_GENERATE_STDINT_H_FALSE=
15312
 
+fi
15313
 
+
15314
 
+
15315
 
+
15316
 
+
15317
 
+
15318
 
+  GNULIB_IMAXABS=0;      
15319
 
+  GNULIB_IMAXDIV=0;      
15320
 
+  GNULIB_STRTOIMAX=0;    
15321
 
+  GNULIB_STRTOUMAX=0;    
15322
 
+    HAVE_DECL_IMAXABS=1;   
15323
 
+  HAVE_DECL_IMAXDIV=1;   
15324
 
+  HAVE_DECL_STRTOIMAX=1; 
15325
 
+  HAVE_DECL_STRTOUMAX=1; 
15326
 
+  INT32_MAX_LT_INTMAX_MAX=1;  
15327
 
+  INT64_MAX_EQ_LONG_MAX='defined _LP64';  
15328
 
+  PRI_MACROS_BROKEN=0;   
15329
 
+  PRIPTR_PREFIX=__PRIPTR_PREFIX;  
15330
 
+  UINT32_MAX_LT_UINTMAX_MAX=1;  
15331
 
+  UINT64_MAX_EQ_ULONG_MAX='defined _LP64';  
15332
 
+
15333
 
+
15334
 
+  
15335
 
+  
15336
 
+
15337
 
+    
15338
 
+  
15339
 
+  
15340
 
+  
15341
 
+  
15342
 
+
15343
 
+  
15344
 
+    
15345
 
+
15346
 
+  
15347
 
+     if test $gl_cv_have_include_next = yes; then
15348
 
+       gl_cv_next_inttypes_h='<'inttypes.h'>'
15349
 
+     else
15350
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <inttypes.h>" >&5
15351
 
+$as_echo_n "checking absolute name of <inttypes.h>... " >&6; }
15352
 
+if ${gl_cv_next_inttypes_h+:} false; then :
15353
 
+  $as_echo_n "(cached) " >&6
15354
 
+else
15355
 
+  
15356
 
+             if test $ac_cv_header_inttypes_h = yes; then
15357
 
+             
15358
 
+            
15359
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15360
 
+/* end confdefs.h.  */
15361
 
+#include <inttypes.h>
15362
 
+                  
15363
 
+_ACEOF
15364
 
+                                                                                                                        case "$host_os" in
15365
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
15366
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
15367
 
+               esac
15368
 
+                                                            gl_cv_next_inttypes_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
15369
 
+                  sed -n '\#/inttypes.h#{
15370
 
+                    s#.*"\(.*/inttypes.h\)".*#\1#
15371
 
+                    s#^/[^/]#//&#
15372
 
+                    p
15373
 
+                    q
15374
 
+                  }'`'"'
15375
 
+          else
15376
 
+               gl_cv_next_inttypes_h='<'inttypes.h'>'
15377
 
+             fi
15378
 
+            
15379
 
+         
15380
 
+fi
15381
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_inttypes_h" >&5
15382
 
+$as_echo "$gl_cv_next_inttypes_h" >&6; }
15383
 
+     fi
15384
 
+     NEXT_INTTYPES_H=$gl_cv_next_inttypes_h
15385
 
+
15386
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
15387
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
15388
 
+       gl_next_as_first_directive='<'inttypes.h'>'
15389
 
+     else
15390
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
15391
 
+       gl_next_as_first_directive=$gl_cv_next_inttypes_h
15392
 
+     fi
15393
 
+     NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H=$gl_next_as_first_directive
15394
 
+
15395
 
+     
15396
 
+
15397
 
+
15398
 
+
15399
 
+  
15400
 
+
15401
 
+              
15402
 
+$as_echo "@%:@define GL_TRIGGER_STDC_LIMIT_MACROS 1" >>confdefs.h
15403
 
+
15404
 
+  
15405
 
+
15406
 
+      
15407
 
+    for gl_func in imaxabs imaxdiv strtoimax strtoumax; do
15408
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
15409
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
15410
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
15411
 
+if eval \${$as_gl_Symbol+:} false; then :
15412
 
+  $as_echo_n "(cached) " >&6
15413
 
+else
15414
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15415
 
+/* end confdefs.h.  */
15416
 
+#include <inttypes.h>
15417
 
+    
15418
 
+int
15419
 
+main ()
15420
 
+{
15421
 
+@%:@undef $gl_func
15422
 
+  (void) $gl_func;
15423
 
+  ;
15424
 
+  return 0;
15425
 
+}
15426
 
+_ACEOF
15427
 
+if ac_fn_c_try_compile "$LINENO"; then :
15428
 
+  eval "$as_gl_Symbol=yes"
15429
 
+else
15430
 
+  eval "$as_gl_Symbol=no"
15431
 
+fi
15432
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15433
 
+fi
15434
 
+eval ac_res=\$$as_gl_Symbol
15435
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15436
 
+$as_echo "$ac_res" >&6; }
15437
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
15438
 
+  cat >>confdefs.h <<_ACEOF
15439
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
15440
 
+_ACEOF
15441
 
+
15442
 
+                     eval ac_cv_have_decl_$gl_func=yes
15443
 
+fi
15444
 
+      done
15445
 
+
15446
 
+
15447
 
+
15448
 
+  for ac_header in inttypes.h
15449
 
+do :
15450
 
+  ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
15451
 
+if test "x$ac_cv_header_inttypes_h" = xyes; then :
15452
 
+  cat >>confdefs.h <<_ACEOF
15453
 
+@%:@define HAVE_INTTYPES_H 1
15454
 
+_ACEOF
15455
 
15456
 
+fi
15457
 
+
15458
 
+done
15459
 
+
15460
 
+  if test $ac_cv_header_inttypes_h = yes; then
15461
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
15462
 
+$as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
15463
 
+if ${gt_cv_inttypes_pri_broken+:} false; then :
15464
 
+  $as_echo_n "(cached) " >&6
15465
 
+else
15466
 
+  
15467
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15468
 
+/* end confdefs.h.  */
15469
 
+
15470
 
+#include <inttypes.h>
15471
 
+#ifdef PRId32
15472
 
+char *p = PRId32;
15473
 
+#endif
15474
 
+             
15475
 
+int
15476
 
+main ()
15477
 
+{
15478
 
+
15479
 
+  ;
15480
 
+  return 0;
15481
 
+}
15482
 
+_ACEOF
15483
 
+if ac_fn_c_try_compile "$LINENO"; then :
15484
 
+  gt_cv_inttypes_pri_broken=no
15485
 
+else
15486
 
+  gt_cv_inttypes_pri_broken=yes
15487
 
+fi
15488
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15489
 
+      
15490
 
+fi
15491
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
15492
 
+$as_echo "$gt_cv_inttypes_pri_broken" >&6; }
15493
 
+  fi
15494
 
+  if test "$gt_cv_inttypes_pri_broken" = yes; then
15495
 
+    
15496
 
+cat >>confdefs.h <<_ACEOF
15497
 
+@%:@define PRI_MACROS_BROKEN 1
15498
 
+_ACEOF
15499
 
+
15500
 
+    PRI_MACROS_BROKEN=1
15501
 
+  else
15502
 
+    PRI_MACROS_BROKEN=0
15503
 
+  fi
15504
 
+  
15505
 
+
15506
 
+
15507
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
15508
 
+$as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
15509
 
+if ${gl_cv_cc_float_expbit0+:} false; then :
15510
 
+  $as_echo_n "(cached) " >&6
15511
 
+else
15512
 
+  
15513
 
+      if test "$cross_compiling" = yes; then :
15514
 
+  gl_cv_cc_float_expbit0="word 0 bit 23"
15515
 
+else
15516
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15517
 
+/* end confdefs.h.  */
15518
 
+
15519
 
+#include <float.h>
15520
 
+#include <stddef.h>
15521
 
+#include <stdio.h>
15522
 
+#include <string.h>
15523
 
+#define NWORDS \
15524
 
+  ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
15525
 
+typedef union { float value; unsigned int word[NWORDS]; } memory_float;
15526
 
+static unsigned int ored_words[NWORDS];
15527
 
+static unsigned int anded_words[NWORDS];
15528
 
+static void add_to_ored_words (float x)
15529
 
+{
15530
 
+  memory_float m;
15531
 
+  size_t i;
15532
 
+  /* Clear it first, in case
15533
 
+     sizeof (float) < sizeof (memory_float).  */
15534
 
+  memset (&m, 0, sizeof (memory_float));
15535
 
+  m.value = x;
15536
 
+  for (i = 0; i < NWORDS; i++)
15537
 
+    {
15538
 
+      ored_words[i] |= m.word[i];
15539
 
+      anded_words[i] &= m.word[i];
15540
 
+    }
15541
 
+}
15542
 
+int main ()
15543
 
+{
15544
 
+  size_t j;
15545
 
+  FILE *fp = fopen ("conftest.out", "w");
15546
 
+  if (fp == NULL)
15547
 
+    return 1;
15548
 
+  for (j = 0; j < NWORDS; j++)
15549
 
+    anded_words[j] = ~ (unsigned int) 0;
15550
 
+  add_to_ored_words (0.25f);
15551
 
+  add_to_ored_words (0.5f);
15552
 
+  add_to_ored_words (1.0f);
15553
 
+  add_to_ored_words (2.0f);
15554
 
+  add_to_ored_words (4.0f);
15555
 
+  /* Remove bits that are common (e.g. if representation of the first mantissa
15556
 
+     bit is explicit).  */
15557
 
+  for (j = 0; j < NWORDS; j++)
15558
 
+    ored_words[j] &= ~anded_words[j];
15559
 
+  /* Now find the nonzero word.  */
15560
 
+  for (j = 0; j < NWORDS; j++)
15561
 
+    if (ored_words[j] != 0)
15562
 
+      break;
15563
 
+  if (j < NWORDS)
15564
 
+    {
15565
 
+      size_t i;
15566
 
+      for (i = j + 1; i < NWORDS; i++)
15567
 
+        if (ored_words[i] != 0)
15568
 
+          {
15569
 
+            fprintf (fp, "unknown");
15570
 
+            return (fclose (fp) != 0);
15571
 
+          }
15572
 
+      for (i = 0; ; i++)
15573
 
+        if ((ored_words[j] >> i) & 1)
15574
 
+          {
15575
 
+            fprintf (fp, "word %d bit %d", (int) j, (int) i);
15576
 
+            return (fclose (fp) != 0);
15577
 
+          }
15578
 
+    }
15579
 
+  fprintf (fp, "unknown");
15580
 
+  return (fclose (fp) != 0);
15581
 
+}
15582
 
+        
15583
 
+_ACEOF
15584
 
+if ac_fn_c_try_run "$LINENO"; then :
15585
 
+  gl_cv_cc_float_expbit0=`cat conftest.out`
15586
 
+else
15587
 
+  gl_cv_cc_float_expbit0="unknown"
15588
 
+fi
15589
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15590
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
15591
 
+fi
15592
 
+
15593
 
+      rm -f conftest.out
15594
 
+    
15595
 
+fi
15596
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5
15597
 
+$as_echo "$gl_cv_cc_float_expbit0" >&6; }
15598
 
+  case "$gl_cv_cc_float_expbit0" in
15599
 
+    word*bit*)
15600
 
+      word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
15601
 
+      bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'`
15602
 
+      
15603
 
+cat >>confdefs.h <<_ACEOF
15604
 
+@%:@define FLT_EXPBIT0_WORD $word
15605
 
+_ACEOF
15606
 
+
15607
 
+      
15608
 
+cat >>confdefs.h <<_ACEOF
15609
 
+@%:@define FLT_EXPBIT0_BIT $bit
15610
 
+_ACEOF
15611
 
+
15612
 
+      ;;
15613
 
+  esac
15614
 
+
15615
 
+
15616
 
+  GNULIB_ISWBLANK=0;    
15617
 
+  GNULIB_WCTYPE=0;      
15618
 
+  GNULIB_ISWCTYPE=0;    
15619
 
+  GNULIB_WCTRANS=0;     
15620
 
+  GNULIB_TOWCTRANS=0;   
15621
 
+    HAVE_ISWBLANK=1;      
15622
 
+  HAVE_WCTYPE_T=1;      
15623
 
+  HAVE_WCTRANS_T=1;     
15624
 
+  REPLACE_ISWBLANK=0;   
15625
 
+
15626
 
+
15627
 
+
15628
 
+
15629
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
15630
 
+$as_echo_n "checking for wint_t... " >&6; }
15631
 
+if ${gt_cv_c_wint_t+:} false; then :
15632
 
+  $as_echo_n "(cached) " >&6
15633
 
+else
15634
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15635
 
+/* end confdefs.h.  */
15636
 
+
15637
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
15638
 
+   <wchar.h>.
15639
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
15640
 
+   before <wchar.h>.  */
15641
 
+#include <stddef.h>
15642
 
+#include <stdio.h>
15643
 
+#include <time.h>
15644
 
+#include <wchar.h>
15645
 
+            wint_t foo = (wchar_t)'\0';
15646
 
+int
15647
 
+main ()
15648
 
+{
15649
 
+
15650
 
+  ;
15651
 
+  return 0;
15652
 
+}
15653
 
+_ACEOF
15654
 
+if ac_fn_c_try_compile "$LINENO"; then :
15655
 
+  gt_cv_c_wint_t=yes
15656
 
+else
15657
 
+  gt_cv_c_wint_t=no
15658
 
+fi
15659
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15660
 
+fi
15661
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
15662
 
+$as_echo "$gt_cv_c_wint_t" >&6; }
15663
 
+  if test $gt_cv_c_wint_t = yes; then
15664
 
+    
15665
 
+$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h
15666
 
+
15667
 
+  fi
15668
 
+
15669
 
+
15670
 
+  
15671
 
+  
15672
 
+  
15673
 
+  
15674
 
+  if test $ac_cv_func_iswcntrl = yes; then
15675
 
+    HAVE_ISWCNTRL=1
15676
 
+  else
15677
 
+    HAVE_ISWCNTRL=0
15678
 
+  fi
15679
 
+  
15680
 
+
15681
 
+  
15682
 
+
15683
 
+  
15684
 
+  if test $gt_cv_c_wint_t = yes; then
15685
 
+    HAVE_WINT_T=1
15686
 
+  else
15687
 
+    HAVE_WINT_T=0
15688
 
+  fi
15689
 
+  
15690
 
+
15691
 
+  
15692
 
+  
15693
 
+  
15694
 
+  
15695
 
+
15696
 
+  
15697
 
+    
15698
 
+
15699
 
+  
15700
 
+     if test $gl_cv_have_include_next = yes; then
15701
 
+       gl_cv_next_wctype_h='<'wctype.h'>'
15702
 
+     else
15703
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wctype.h>" >&5
15704
 
+$as_echo_n "checking absolute name of <wctype.h>... " >&6; }
15705
 
+if ${gl_cv_next_wctype_h+:} false; then :
15706
 
+  $as_echo_n "(cached) " >&6
15707
 
+else
15708
 
+  
15709
 
+             if test $ac_cv_header_wctype_h = yes; then
15710
 
+             
15711
 
+            
15712
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15713
 
+/* end confdefs.h.  */
15714
 
+#include <wctype.h>
15715
 
+                  
15716
 
+_ACEOF
15717
 
+                                                                                                                        case "$host_os" in
15718
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
15719
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
15720
 
+               esac
15721
 
+                                                            gl_cv_next_wctype_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
15722
 
+                  sed -n '\#/wctype.h#{
15723
 
+                    s#.*"\(.*/wctype.h\)".*#\1#
15724
 
+                    s#^/[^/]#//&#
15725
 
+                    p
15726
 
+                    q
15727
 
+                  }'`'"'
15728
 
+          else
15729
 
+               gl_cv_next_wctype_h='<'wctype.h'>'
15730
 
+             fi
15731
 
+            
15732
 
+         
15733
 
+fi
15734
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5
15735
 
+$as_echo "$gl_cv_next_wctype_h" >&6; }
15736
 
+     fi
15737
 
+     NEXT_WCTYPE_H=$gl_cv_next_wctype_h
15738
 
+
15739
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
15740
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
15741
 
+       gl_next_as_first_directive='<'wctype.h'>'
15742
 
+     else
15743
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
15744
 
+       gl_next_as_first_directive=$gl_cv_next_wctype_h
15745
 
+     fi
15746
 
+     NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H=$gl_next_as_first_directive
15747
 
+
15748
 
+     
15749
 
+
15750
 
+
15751
 
+  if test $ac_cv_header_wctype_h = yes; then
15752
 
+    if test $ac_cv_func_iswcntrl = yes; then
15753
 
+                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5
15754
 
+$as_echo_n "checking whether iswcntrl works... " >&6; }
15755
 
+if ${gl_cv_func_iswcntrl_works+:} false; then :
15756
 
+  $as_echo_n "(cached) " >&6
15757
 
+else
15758
 
+  
15759
 
+          if test "$cross_compiling" = yes; then :
15760
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15761
 
+/* end confdefs.h.  */
15762
 
+#include <stdlib.h>
15763
 
+                          #if __GNU_LIBRARY__ == 1
15764
 
+                          Linux libc5 i18n is broken.
15765
 
+                          #endif
15766
 
+int
15767
 
+main ()
15768
 
+{
15769
 
+
15770
 
+  ;
15771
 
+  return 0;
15772
 
+}
15773
 
+_ACEOF
15774
 
+if ac_fn_c_try_compile "$LINENO"; then :
15775
 
+  gl_cv_func_iswcntrl_works=yes
15776
 
+else
15777
 
+  gl_cv_func_iswcntrl_works=no
15778
 
+fi
15779
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15780
 
+            
15781
 
+else
15782
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15783
 
+/* end confdefs.h.  */
15784
 
+
15785
 
+               /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
15786
 
+                  included before <wchar.h>.
15787
 
+                  BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
15788
 
+                  must be included before <wchar.h>.  */
15789
 
+               #include <stddef.h>
15790
 
+               #include <stdio.h>
15791
 
+               #include <time.h>
15792
 
+               #include <wchar.h>
15793
 
+               #include <wctype.h>
15794
 
+               int main () { return iswprint ('x') == 0; }
15795
 
+            
15796
 
+_ACEOF
15797
 
+if ac_fn_c_try_run "$LINENO"; then :
15798
 
+  gl_cv_func_iswcntrl_works=yes
15799
 
+else
15800
 
+  gl_cv_func_iswcntrl_works=no
15801
 
+fi
15802
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15803
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
15804
 
+fi
15805
 
+
15806
 
+        
15807
 
+fi
15808
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswcntrl_works" >&5
15809
 
+$as_echo "$gl_cv_func_iswcntrl_works" >&6; }
15810
 
+    fi
15811
 
+    HAVE_WCTYPE_H=1
15812
 
+  else
15813
 
+    HAVE_WCTYPE_H=0
15814
 
+  fi
15815
 
+  
15816
 
+
15817
 
+  if test "$gl_cv_func_iswcntrl_works" = no; then
15818
 
+    REPLACE_ISWCNTRL=1
15819
 
+  else
15820
 
+    REPLACE_ISWCNTRL=0
15821
 
+  fi
15822
 
+  
15823
 
+
15824
 
+  if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
15825
 
+        :
15826
 
+  fi
15827
 
+
15828
 
+  if test $REPLACE_ISWCNTRL = 1; then
15829
 
+    REPLACE_TOWLOWER=1
15830
 
+  else
15831
 
+    for ac_func in towlower
15832
 
+do :
15833
 
+  ac_fn_c_check_func "$LINENO" "towlower" "ac_cv_func_towlower"
15834
 
+if test "x$ac_cv_func_towlower" = xyes; then :
15835
 
+  cat >>confdefs.h <<_ACEOF
15836
 
+@%:@define HAVE_TOWLOWER 1
15837
 
+_ACEOF
15838
 
15839
 
+fi
15840
 
+done
15841
 
+
15842
 
+    if test $ac_cv_func_towlower = yes; then
15843
 
+      REPLACE_TOWLOWER=0
15844
 
+    else
15845
 
+      ac_fn_c_check_decl "$LINENO" "towlower" "ac_cv_have_decl_towlower" "/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
15846
 
+             included before <wchar.h>.
15847
 
+             BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
15848
 
+             must be included before <wchar.h>.  */
15849
 
+          #include <stddef.h>
15850
 
+          #include <stdio.h>
15851
 
+          #include <time.h>
15852
 
+          #include <wchar.h>
15853
 
+          #if HAVE_WCTYPE_H
15854
 
+          # include <wctype.h>
15855
 
+          #endif
15856
 
+        
15857
 
+"
15858
 
+if test "x$ac_cv_have_decl_towlower" = xyes; then :
15859
 
+  ac_have_decl=1
15860
 
+else
15861
 
+  ac_have_decl=0
15862
 
+fi
15863
 
+
15864
 
+cat >>confdefs.h <<_ACEOF
15865
 
+@%:@define HAVE_DECL_TOWLOWER $ac_have_decl
15866
 
+_ACEOF
15867
 
+
15868
 
+      if test $ac_cv_have_decl_towlower = yes; then
15869
 
+                                REPLACE_TOWLOWER=1
15870
 
+      else
15871
 
+        REPLACE_TOWLOWER=0
15872
 
+      fi
15873
 
+    fi
15874
 
+  fi
15875
 
+  
15876
 
+
15877
 
+  if test $HAVE_ISWCNTRL = 0 || test $REPLACE_TOWLOWER = 1; then
15878
 
+        :
15879
 
+  fi
15880
 
+
15881
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5
15882
 
+$as_echo_n "checking for wctype_t... " >&6; }
15883
 
+if ${gl_cv_type_wctype_t+:} false; then :
15884
 
+  $as_echo_n "(cached) " >&6
15885
 
+else
15886
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15887
 
+/* end confdefs.h.  */
15888
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
15889
 
+               included before <wchar.h>.
15890
 
+               BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
15891
 
+               must be included before <wchar.h>.  */
15892
 
+            #include <stddef.h>
15893
 
+            #include <stdio.h>
15894
 
+            #include <time.h>
15895
 
+            #include <wchar.h>
15896
 
+            #if HAVE_WCTYPE_H
15897
 
+            # include <wctype.h>
15898
 
+            #endif
15899
 
+            wctype_t a;
15900
 
+          
15901
 
+int
15902
 
+main ()
15903
 
+{
15904
 
+
15905
 
+  ;
15906
 
+  return 0;
15907
 
+}
15908
 
+_ACEOF
15909
 
+if ac_fn_c_try_compile "$LINENO"; then :
15910
 
+  gl_cv_type_wctype_t=yes
15911
 
+else
15912
 
+  gl_cv_type_wctype_t=no
15913
 
+fi
15914
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15915
 
+    
15916
 
+fi
15917
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctype_t" >&5
15918
 
+$as_echo "$gl_cv_type_wctype_t" >&6; }
15919
 
+  if test $gl_cv_type_wctype_t = no; then
15920
 
+    HAVE_WCTYPE_T=0
15921
 
+  fi
15922
 
+
15923
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5
15924
 
+$as_echo_n "checking for wctrans_t... " >&6; }
15925
 
+if ${gl_cv_type_wctrans_t+:} false; then :
15926
 
+  $as_echo_n "(cached) " >&6
15927
 
+else
15928
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15929
 
+/* end confdefs.h.  */
15930
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
15931
 
+               included before <wchar.h>.
15932
 
+               BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
15933
 
+               must be included before <wchar.h>.  */
15934
 
+            #include <stddef.h>
15935
 
+            #include <stdio.h>
15936
 
+            #include <time.h>
15937
 
+            #include <wchar.h>
15938
 
+            #include <wctype.h>
15939
 
+            wctrans_t a;
15940
 
+          
15941
 
+int
15942
 
+main ()
15943
 
+{
15944
 
+
15945
 
+  ;
15946
 
+  return 0;
15947
 
+}
15948
 
+_ACEOF
15949
 
+if ac_fn_c_try_compile "$LINENO"; then :
15950
 
+  gl_cv_type_wctrans_t=yes
15951
 
+else
15952
 
+  gl_cv_type_wctrans_t=no
15953
 
+fi
15954
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15955
 
+    
15956
 
+fi
15957
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctrans_t" >&5
15958
 
+$as_echo "$gl_cv_type_wctrans_t" >&6; }
15959
 
+  if test $gl_cv_type_wctrans_t = no; then
15960
 
+    HAVE_WCTRANS_T=0
15961
 
+  fi
15962
 
+
15963
 
+      
15964
 
+    for gl_func in wctype iswctype wctrans towctrans     ; do
15965
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
15966
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
15967
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
15968
 
+if eval \${$as_gl_Symbol+:} false; then :
15969
 
+  $as_echo_n "(cached) " >&6
15970
 
+else
15971
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15972
 
+/* end confdefs.h.  */
15973
 
+
15974
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
15975
 
+   <wchar.h>.
15976
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
15977
 
+   included before <wchar.h>.  */
15978
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
15979
 
+# include <stddef.h>
15980
 
+# include <stdio.h>
15981
 
+# include <time.h>
15982
 
+# include <wchar.h>
15983
 
+#endif
15984
 
+#include <wctype.h>
15985
 
+    
15986
 
+int
15987
 
+main ()
15988
 
+{
15989
 
+@%:@undef $gl_func
15990
 
+  (void) $gl_func;
15991
 
+  ;
15992
 
+  return 0;
15993
 
+}
15994
 
+_ACEOF
15995
 
+if ac_fn_c_try_compile "$LINENO"; then :
15996
 
+  eval "$as_gl_Symbol=yes"
15997
 
+else
15998
 
+  eval "$as_gl_Symbol=no"
15999
 
+fi
16000
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16001
 
+fi
16002
 
+eval ac_res=\$$as_gl_Symbol
16003
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16004
 
+$as_echo "$ac_res" >&6; }
16005
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
16006
 
+  cat >>confdefs.h <<_ACEOF
16007
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
16008
 
+_ACEOF
16009
 
+
16010
 
+                     eval ac_cv_have_decl_$gl_func=yes
16011
 
+fi
16012
 
+      done
16013
 
+
16014
 
+
16015
 
+
16016
 
+
16017
 
+
16018
 
+  GNULIB_NL_LANGINFO=0;  
16019
 
+    HAVE_NL_LANGINFO=1;    
16020
 
+  REPLACE_NL_LANGINFO=0; 
16021
 
+
16022
 
+
16023
 
+
16024
 
+
16025
 
+
16026
 
+
16027
 
+
16028
 
+
16029
 
+
16030
 
+
16031
 
+
16032
 
+ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
16033
 
+if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
16034
 
+  ac_have_decl=1
16035
 
+else
16036
 
+  ac_have_decl=0
16037
 
+fi
16038
 
+
16039
 
+cat >>confdefs.h <<_ACEOF
16040
 
+@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
16041
 
+_ACEOF
16042
 
+
16043
 
+
16044
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library >= 2.1 or uClibc" >&5
16045
 
+$as_echo_n "checking whether we are using the GNU C Library >= 2.1 or uClibc... " >&6; }
16046
 
+if ${ac_cv_gnu_library_2_1+:} false; then :
16047
 
+  $as_echo_n "(cached) " >&6
16048
 
+else
16049
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16050
 
+/* end confdefs.h.  */
16051
 
+
16052
 
+#include <features.h>
16053
 
+#ifdef __GNU_LIBRARY__
16054
 
+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
16055
 
+  Lucky GNU user
16056
 
+ #endif
16057
 
+#endif
16058
 
+#ifdef __UCLIBC__
16059
 
+ Lucky user
16060
 
+#endif
16061
 
+        
16062
 
+_ACEOF
16063
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16064
 
+  $EGREP "Lucky" >/dev/null 2>&1; then :
16065
 
+  ac_cv_gnu_library_2_1=yes
16066
 
+else
16067
 
+  ac_cv_gnu_library_2_1=no
16068
 
+fi
16069
 
+rm -f conftest*
16070
 
+
16071
 
+      
16072
 
+    
16073
 
+fi
16074
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
16075
 
+$as_echo "$ac_cv_gnu_library_2_1" >&6; }
16076
 
+    
16077
 
+    GLIBC21="$ac_cv_gnu_library_2_1"
16078
 
+  
16079
 
+
16080
 
+
16081
 
+  GNULIB_SETLOCALE=0;  
16082
 
+  GNULIB_DUPLOCALE=0;  
16083
 
+    HAVE_DUPLOCALE=1;    
16084
 
+  REPLACE_SETLOCALE=0; 
16085
 
+  REPLACE_DUPLOCALE=0; 
16086
 
+
16087
 
+
16088
 
+    REPLACE_NULL=0;                
16089
 
+  HAVE_WCHAR_T=1;                
16090
 
+
16091
 
+
16092
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
16093
 
+$as_echo_n "checking for wchar_t... " >&6; }
16094
 
+if ${gt_cv_c_wchar_t+:} false; then :
16095
 
+  $as_echo_n "(cached) " >&6
16096
 
+else
16097
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16098
 
+/* end confdefs.h.  */
16099
 
+#include <stddef.h>
16100
 
+            wchar_t foo = (wchar_t)'\0';
16101
 
+int
16102
 
+main ()
16103
 
+{
16104
 
+
16105
 
+  ;
16106
 
+  return 0;
16107
 
+}
16108
 
+_ACEOF
16109
 
+if ac_fn_c_try_compile "$LINENO"; then :
16110
 
+  gt_cv_c_wchar_t=yes
16111
 
+else
16112
 
+  gt_cv_c_wchar_t=no
16113
 
+fi
16114
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16115
 
+fi
16116
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
16117
 
+$as_echo "$gt_cv_c_wchar_t" >&6; }
16118
 
+  if test $gt_cv_c_wchar_t = yes; then
16119
 
+    
16120
 
+$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h
16121
 
+
16122
 
+  fi
16123
 
+
16124
 
+
16125
 
+  
16126
 
+  
16127
 
+  STDDEF_H=
16128
 
+  if test $gt_cv_c_wchar_t = no; then
16129
 
+    HAVE_WCHAR_T=0
16130
 
+    STDDEF_H=stddef.h
16131
 
+  fi
16132
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
16133
 
+$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
16134
 
+if ${gl_cv_decl_null_works+:} false; then :
16135
 
+  $as_echo_n "(cached) " >&6
16136
 
+else
16137
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16138
 
+/* end confdefs.h.  */
16139
 
+#include <stddef.h>
16140
 
+      int test[2 * (sizeof NULL == sizeof (void *)) -1];
16141
 
+
16142
 
+int
16143
 
+main ()
16144
 
+{
16145
 
+
16146
 
+  ;
16147
 
+  return 0;
16148
 
+}
16149
 
+_ACEOF
16150
 
+if ac_fn_c_try_compile "$LINENO"; then :
16151
 
+  gl_cv_decl_null_works=yes
16152
 
+else
16153
 
+  gl_cv_decl_null_works=no
16154
 
+fi
16155
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16156
 
+fi
16157
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5
16158
 
+$as_echo "$gl_cv_decl_null_works" >&6; }
16159
 
+  if test $gl_cv_decl_null_works = no; then
16160
 
+    REPLACE_NULL=1
16161
 
+    STDDEF_H=stddef.h
16162
 
+  fi
16163
 
+  
16164
 
+   if test -n "$STDDEF_H"; then
16165
 
+  GL_GENERATE_STDDEF_H_TRUE=
16166
 
+  GL_GENERATE_STDDEF_H_FALSE='#'
16167
 
+else
16168
 
+  GL_GENERATE_STDDEF_H_TRUE='#'
16169
 
+  GL_GENERATE_STDDEF_H_FALSE=
16170
 
+fi
16171
 
+
16172
 
+  if test -n "$STDDEF_H"; then
16173
 
+    
16174
 
+  
16175
 
+  
16176
 
+  
16177
 
+
16178
 
+  
16179
 
+
16180
 
+  
16181
 
+     if test $gl_cv_have_include_next = yes; then
16182
 
+       gl_cv_next_stddef_h='<'stddef.h'>'
16183
 
+     else
16184
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
16185
 
+$as_echo_n "checking absolute name of <stddef.h>... " >&6; }
16186
 
+if ${gl_cv_next_stddef_h+:} false; then :
16187
 
+  $as_echo_n "(cached) " >&6
16188
 
+else
16189
 
+  
16190
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16191
 
+/* end confdefs.h.  */
16192
 
+#include <stddef.h>
16193
 
+                  
16194
 
+_ACEOF
16195
 
+                                                                                                                        case "$host_os" in
16196
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
16197
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
16198
 
+               esac
16199
 
+                                                            gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
16200
 
+                  sed -n '\#/stddef.h#{
16201
 
+                    s#.*"\(.*/stddef.h\)".*#\1#
16202
 
+                    s#^/[^/]#//&#
16203
 
+                    p
16204
 
+                    q
16205
 
+                  }'`'"'
16206
 
+          
16207
 
+         
16208
 
+fi
16209
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
16210
 
+$as_echo "$gl_cv_next_stddef_h" >&6; }
16211
 
+     fi
16212
 
+     NEXT_STDDEF_H=$gl_cv_next_stddef_h
16213
 
+
16214
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
16215
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
16216
 
+       gl_next_as_first_directive='<'stddef.h'>'
16217
 
+     else
16218
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
16219
 
+       gl_next_as_first_directive=$gl_cv_next_stddef_h
16220
 
+     fi
16221
 
+     NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive
16222
 
+
16223
 
+     
16224
 
+
16225
 
+
16226
 
+  fi
16227
 
+
16228
 
+
16229
 
+
16230
 
+
16231
 
+  
16232
 
+  gl_threads_api=none
16233
 
+  LIBTHREAD=
16234
 
+  LTLIBTHREAD=
16235
 
+  LIBMULTITHREAD=
16236
 
+  LTLIBMULTITHREAD=
16237
 
+  if test "$gl_use_threads" != no; then
16238
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5
16239
 
+$as_echo_n "checking whether imported symbols can be declared weak... " >&6; }
16240
 
+if ${gl_cv_have_weak+:} false; then :
16241
 
+  $as_echo_n "(cached) " >&6
16242
 
+else
16243
 
+  gl_cv_have_weak=no
16244
 
+              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16245
 
+/* end confdefs.h.  */
16246
 
+extern void xyzzy ();
16247
 
+#pragma weak xyzzy
16248
 
+int
16249
 
+main ()
16250
 
+{
16251
 
+xyzzy();
16252
 
+  ;
16253
 
+  return 0;
16254
 
+}
16255
 
+_ACEOF
16256
 
+if ac_fn_c_try_link "$LINENO"; then :
16257
 
+  gl_cv_have_weak=maybe
16258
 
+fi
16259
 
+rm -f core conftest.err conftest.$ac_objext \
16260
 
+    conftest$ac_exeext conftest.$ac_ext
16261
 
+       if test $gl_cv_have_weak = maybe; then
16262
 
+                           if test "$cross_compiling" = yes; then :
16263
 
+                          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16264
 
+/* end confdefs.h.  */
16265
 
+#ifdef __ELF__
16266
 
+               Extensible Linking Format
16267
 
+               #endif
16268
 
+              
16269
 
+_ACEOF
16270
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16271
 
+  $EGREP "Extensible Linking Format" >/dev/null 2>&1; then :
16272
 
+  gl_cv_have_weak="guessing yes"
16273
 
+else
16274
 
+  gl_cv_have_weak="guessing no"
16275
 
+fi
16276
 
+rm -f conftest*
16277
 
+
16278
 
+           
16279
 
+else
16280
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16281
 
+/* end confdefs.h.  */
16282
 
+
16283
 
+#include <stdio.h>
16284
 
+#pragma weak fputs
16285
 
+int main ()
16286
 
+{
16287
 
+  return (fputs == NULL);
16288
 
+}
16289
 
+_ACEOF
16290
 
+if ac_fn_c_try_run "$LINENO"; then :
16291
 
+  gl_cv_have_weak=yes
16292
 
+else
16293
 
+  gl_cv_have_weak=no
16294
 
+fi
16295
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16296
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
16297
 
+fi
16298
 
+
16299
 
+       fi
16300
 
+      
16301
 
+fi
16302
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5
16303
 
+$as_echo "$gl_cv_have_weak" >&6; }
16304
 
+    if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
16305
 
+      # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
16306
 
+      # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY.
16307
 
+      ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
16308
 
+if test "x$ac_cv_header_pthread_h" = xyes; then :
16309
 
+  gl_have_pthread_h=yes
16310
 
+else
16311
 
+  gl_have_pthread_h=no
16312
 
+fi
16313
 
+
16314
 
+
16315
 
+      if test "$gl_have_pthread_h" = yes; then
16316
 
+        # Other possible tests:
16317
 
+        #   -lpthreads (FSU threads, PCthreads)
16318
 
+        #   -lgthreads
16319
 
+        gl_have_pthread=
16320
 
+        # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
16321
 
+        # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
16322
 
+        # the second one only in libpthread, and lock.c needs it.
16323
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16324
 
+/* end confdefs.h.  */
16325
 
+#include <pthread.h>
16326
 
+int
16327
 
+main ()
16328
 
+{
16329
 
+pthread_mutex_lock((pthread_mutex_t*)0);
16330
 
+               pthread_mutexattr_init((pthread_mutexattr_t*)0);
16331
 
+  ;
16332
 
+  return 0;
16333
 
+}
16334
 
+_ACEOF
16335
 
+if ac_fn_c_try_link "$LINENO"; then :
16336
 
+  gl_have_pthread=yes
16337
 
+fi
16338
 
+rm -f core conftest.err conftest.$ac_objext \
16339
 
+    conftest$ac_exeext conftest.$ac_ext
16340
 
+        # Test for libpthread by looking for pthread_kill. (Not pthread_self,
16341
 
+        # since it is defined as a macro on OSF/1.)
16342
 
+        if test -n "$gl_have_pthread"; then
16343
 
+          # The program links fine without libpthread. But it may actually
16344
 
+          # need to link with libpthread in order to create multiple threads.
16345
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
16346
 
+$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
16347
 
+if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
16348
 
+  $as_echo_n "(cached) " >&6
16349
 
+else
16350
 
+  ac_check_lib_save_LIBS=$LIBS
16351
 
+LIBS="-lpthread  $LIBS"
16352
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16353
 
+/* end confdefs.h.  */
16354
 
+
16355
 
+/* Override any GCC internal prototype to avoid an error.
16356
 
+   Use char because int might match the return type of a GCC
16357
 
+   builtin and then its argument prototype would still apply.  */
16358
 
+#ifdef __cplusplus
16359
 
+extern "C"
16360
 
+#endif
16361
 
+char pthread_kill ();
16362
 
+int
16363
 
+main ()
16364
 
+{
16365
 
+return pthread_kill ();
16366
 
+  ;
16367
 
+  return 0;
16368
 
+}
16369
 
+_ACEOF
16370
 
+if ac_fn_c_try_link "$LINENO"; then :
16371
 
+  ac_cv_lib_pthread_pthread_kill=yes
16372
 
+else
16373
 
+  ac_cv_lib_pthread_pthread_kill=no
16374
 
+fi
16375
 
+rm -f core conftest.err conftest.$ac_objext \
16376
 
+    conftest$ac_exeext conftest.$ac_ext
16377
 
+LIBS=$ac_check_lib_save_LIBS
16378
 
+fi
16379
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
16380
 
+$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
16381
 
+if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
16382
 
+  LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
16383
 
+             # On Solaris and HP-UX, most pthread functions exist also in libc.
16384
 
+             # Therefore pthread_in_use() needs to actually try to create a
16385
 
+             # thread: pthread_create from libc will fail, whereas
16386
 
+             # pthread_create will actually create a thread.
16387
 
+             case "$host_os" in
16388
 
+               solaris* | hpux*)
16389
 
+                 
16390
 
+$as_echo "@%:@define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
16391
 
+
16392
 
+             esac
16393
 
+            
16394
 
+fi
16395
 
+
16396
 
+        else
16397
 
+          # Some library is needed. Try libpthread and libc_r.
16398
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
16399
 
+$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
16400
 
+if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
16401
 
+  $as_echo_n "(cached) " >&6
16402
 
+else
16403
 
+  ac_check_lib_save_LIBS=$LIBS
16404
 
+LIBS="-lpthread  $LIBS"
16405
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16406
 
+/* end confdefs.h.  */
16407
 
+
16408
 
+/* Override any GCC internal prototype to avoid an error.
16409
 
+   Use char because int might match the return type of a GCC
16410
 
+   builtin and then its argument prototype would still apply.  */
16411
 
+#ifdef __cplusplus
16412
 
+extern "C"
16413
 
+#endif
16414
 
+char pthread_kill ();
16415
 
+int
16416
 
+main ()
16417
 
+{
16418
 
+return pthread_kill ();
16419
 
+  ;
16420
 
+  return 0;
16421
 
+}
16422
 
+_ACEOF
16423
 
+if ac_fn_c_try_link "$LINENO"; then :
16424
 
+  ac_cv_lib_pthread_pthread_kill=yes
16425
 
+else
16426
 
+  ac_cv_lib_pthread_pthread_kill=no
16427
 
+fi
16428
 
+rm -f core conftest.err conftest.$ac_objext \
16429
 
+    conftest$ac_exeext conftest.$ac_ext
16430
 
+LIBS=$ac_check_lib_save_LIBS
16431
 
+fi
16432
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
16433
 
+$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
16434
 
+if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
16435
 
+  gl_have_pthread=yes
16436
 
+             LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
16437
 
+             LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
16438
 
+fi
16439
 
+
16440
 
+          if test -z "$gl_have_pthread"; then
16441
 
+            # For FreeBSD 4.
16442
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5
16443
 
+$as_echo_n "checking for pthread_kill in -lc_r... " >&6; }
16444
 
+if ${ac_cv_lib_c_r_pthread_kill+:} false; then :
16445
 
+  $as_echo_n "(cached) " >&6
16446
 
+else
16447
 
+  ac_check_lib_save_LIBS=$LIBS
16448
 
+LIBS="-lc_r  $LIBS"
16449
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16450
 
+/* end confdefs.h.  */
16451
 
+
16452
 
+/* Override any GCC internal prototype to avoid an error.
16453
 
+   Use char because int might match the return type of a GCC
16454
 
+   builtin and then its argument prototype would still apply.  */
16455
 
+#ifdef __cplusplus
16456
 
+extern "C"
16457
 
+#endif
16458
 
+char pthread_kill ();
16459
 
+int
16460
 
+main ()
16461
 
+{
16462
 
+return pthread_kill ();
16463
 
+  ;
16464
 
+  return 0;
16465
 
+}
16466
 
+_ACEOF
16467
 
+if ac_fn_c_try_link "$LINENO"; then :
16468
 
+  ac_cv_lib_c_r_pthread_kill=yes
16469
 
+else
16470
 
+  ac_cv_lib_c_r_pthread_kill=no
16471
 
+fi
16472
 
+rm -f core conftest.err conftest.$ac_objext \
16473
 
+    conftest$ac_exeext conftest.$ac_ext
16474
 
+LIBS=$ac_check_lib_save_LIBS
16475
 
+fi
16476
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5
16477
 
+$as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; }
16478
 
+if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then :
16479
 
+  gl_have_pthread=yes
16480
 
+               LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
16481
 
+               LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r
16482
 
+fi
16483
 
+
16484
 
+          fi
16485
 
+        fi
16486
 
+        if test -n "$gl_have_pthread"; then
16487
 
+          gl_threads_api=posix
16488
 
+          
16489
 
+$as_echo "@%:@define USE_POSIX_THREADS 1" >>confdefs.h
16490
 
+
16491
 
+          if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
16492
 
+            if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
16493
 
+              
16494
 
+$as_echo "@%:@define USE_POSIX_THREADS_WEAK 1" >>confdefs.h
16495
 
+
16496
 
+              LIBTHREAD=
16497
 
+              LTLIBTHREAD=
16498
 
+            fi
16499
 
+          fi
16500
 
+        fi
16501
 
+      fi
16502
 
+    fi
16503
 
+    if test -z "$gl_have_pthread"; then
16504
 
+      if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
16505
 
+        gl_have_solaristhread=
16506
 
+        gl_save_LIBS="$LIBS"
16507
 
+        LIBS="$LIBS -lthread"
16508
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16509
 
+/* end confdefs.h.  */
16510
 
+
16511
 
+#include <thread.h>
16512
 
+#include <synch.h>
16513
 
+             
16514
 
+int
16515
 
+main ()
16516
 
+{
16517
 
+thr_self();
16518
 
+  ;
16519
 
+  return 0;
16520
 
+}
16521
 
+_ACEOF
16522
 
+if ac_fn_c_try_link "$LINENO"; then :
16523
 
+  gl_have_solaristhread=yes
16524
 
+fi
16525
 
+rm -f core conftest.err conftest.$ac_objext \
16526
 
+    conftest$ac_exeext conftest.$ac_ext
16527
 
+        LIBS="$gl_save_LIBS"
16528
 
+        if test -n "$gl_have_solaristhread"; then
16529
 
+          gl_threads_api=solaris
16530
 
+          LIBTHREAD=-lthread
16531
 
+          LTLIBTHREAD=-lthread
16532
 
+          LIBMULTITHREAD="$LIBTHREAD"
16533
 
+          LTLIBMULTITHREAD="$LTLIBTHREAD"
16534
 
+          
16535
 
+$as_echo "@%:@define USE_SOLARIS_THREADS 1" >>confdefs.h
16536
 
+
16537
 
+          if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
16538
 
+            
16539
 
+$as_echo "@%:@define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h
16540
 
+
16541
 
+            LIBTHREAD=
16542
 
+            LTLIBTHREAD=
16543
 
+          fi
16544
 
+        fi
16545
 
+      fi
16546
 
+    fi
16547
 
+    if test "$gl_use_threads" = pth; then
16548
 
+      gl_save_CPPFLAGS="$CPPFLAGS"
16549
 
+      
16550
 
+  
16551
 
+  
16552
 
+  
16553
 
+  
16554
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5
16555
 
+$as_echo_n "checking how to link with libpth... " >&6; }
16556
 
+if ${ac_cv_libpth_libs+:} false; then :
16557
 
+  $as_echo_n "(cached) " >&6
16558
 
+else
16559
 
+  
16560
 
+    
16561
 
+  
16562
 
+  
16563
 
+  
16564
 
+  
16565
 
+  
16566
 
+    
16567
 
+    use_additional=yes
16568
 
+  
16569
 
+  acl_save_prefix="$prefix"
16570
 
+  prefix="$acl_final_prefix"
16571
 
+  acl_save_exec_prefix="$exec_prefix"
16572
 
+  exec_prefix="$acl_final_exec_prefix"
16573
 
+  
16574
 
+    eval additional_includedir=\"$includedir\"
16575
 
+    eval additional_libdir=\"$libdir\"
16576
 
+  
16577
 
+  exec_prefix="$acl_save_exec_prefix"
16578
 
+  prefix="$acl_save_prefix"
16579
 
+
16580
 
+  
16581
 
+@%:@ Check whether --with-libpth-prefix was given.
16582
 
+if test "${with_libpth_prefix+set}" = set; then :
16583
 
+  withval=$with_libpth_prefix; 
16584
 
+    if test "X$withval" = "Xno"; then
16585
 
+      use_additional=no
16586
 
+    else
16587
 
+      if test "X$withval" = "X"; then
16588
 
+        
16589
 
+  acl_save_prefix="$prefix"
16590
 
+  prefix="$acl_final_prefix"
16591
 
+  acl_save_exec_prefix="$exec_prefix"
16592
 
+  exec_prefix="$acl_final_exec_prefix"
16593
 
+  
16594
 
+          eval additional_includedir=\"$includedir\"
16595
 
+          eval additional_libdir=\"$libdir\"
16596
 
+        
16597
 
+  exec_prefix="$acl_save_exec_prefix"
16598
 
+  prefix="$acl_save_prefix"
16599
 
+
16600
 
+      else
16601
 
+        additional_includedir="$withval/include"
16602
 
+        additional_libdir="$withval/$acl_libdirstem"
16603
 
+        if test "$acl_libdirstem2" != "$acl_libdirstem" \
16604
 
+           && ! test -d "$withval/$acl_libdirstem"; then
16605
 
+          additional_libdir="$withval/$acl_libdirstem2"
16606
 
+        fi
16607
 
+      fi
16608
 
+    fi
16609
 
+
16610
 
+fi
16611
 
+
16612
 
+      LIBPTH=
16613
 
+  LTLIBPTH=
16614
 
+  INCPTH=
16615
 
+  LIBPTH_PREFIX=
16616
 
+      HAVE_LIBPTH=
16617
 
+  rpathdirs=
16618
 
+  ltrpathdirs=
16619
 
+  names_already_handled=
16620
 
+  names_next_round='pth '
16621
 
+  while test -n "$names_next_round"; do
16622
 
+    names_this_round="$names_next_round"
16623
 
+    names_next_round=
16624
 
+    for name in $names_this_round; do
16625
 
+      already_handled=
16626
 
+      for n in $names_already_handled; do
16627
 
+        if test "$n" = "$name"; then
16628
 
+          already_handled=yes
16629
 
+          break
16630
 
+        fi
16631
 
+      done
16632
 
+      if test -z "$already_handled"; then
16633
 
+        names_already_handled="$names_already_handled $name"
16634
 
+                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
16635
 
+        eval value=\"\$HAVE_LIB$uppername\"
16636
 
+        if test -n "$value"; then
16637
 
+          if test "$value" = yes; then
16638
 
+            eval value=\"\$LIB$uppername\"
16639
 
+            test -z "$value" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value"
16640
 
+            eval value=\"\$LTLIB$uppername\"
16641
 
+            test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$value"
16642
 
+          else
16643
 
+                                    :
16644
 
+          fi
16645
 
+        else
16646
 
+                              found_dir=
16647
 
+          found_la=
16648
 
+          found_so=
16649
 
+          found_a=
16650
 
+          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
16651
 
+          if test -n "$acl_shlibext"; then
16652
 
+            shrext=".$acl_shlibext"             # typically: shrext=.so
16653
 
+          else
16654
 
+            shrext=
16655
 
+          fi
16656
 
+          if test $use_additional = yes; then
16657
 
+            dir="$additional_libdir"
16658
 
+                                    if test -n "$acl_shlibext"; then
16659
 
+              if test -f "$dir/$libname$shrext"; then
16660
 
+                found_dir="$dir"
16661
 
+                found_so="$dir/$libname$shrext"
16662
 
+              else
16663
 
+                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16664
 
+                  ver=`(cd "$dir" && \
16665
 
+                        for f in "$libname$shrext".*; do echo "$f"; done \
16666
 
+                        | sed -e "s,^$libname$shrext\\\\.,," \
16667
 
+                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16668
 
+                        | sed 1q ) 2>/dev/null`
16669
 
+                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16670
 
+                    found_dir="$dir"
16671
 
+                    found_so="$dir/$libname$shrext.$ver"
16672
 
+                  fi
16673
 
+                else
16674
 
+                  eval library_names=\"$acl_library_names_spec\"
16675
 
+                  for f in $library_names; do
16676
 
+                    if test -f "$dir/$f"; then
16677
 
+                      found_dir="$dir"
16678
 
+                      found_so="$dir/$f"
16679
 
+                      break
16680
 
+                    fi
16681
 
+                  done
16682
 
+                fi
16683
 
+              fi
16684
 
+            fi
16685
 
+                        if test "X$found_dir" = "X"; then
16686
 
+              if test -f "$dir/$libname.$acl_libext"; then
16687
 
+                found_dir="$dir"
16688
 
+                found_a="$dir/$libname.$acl_libext"
16689
 
+              fi
16690
 
+            fi
16691
 
+            if test "X$found_dir" != "X"; then
16692
 
+              if test -f "$dir/$libname.la"; then
16693
 
+                found_la="$dir/$libname.la"
16694
 
+              fi
16695
 
+            fi
16696
 
+          fi
16697
 
+          if test "X$found_dir" = "X"; then
16698
 
+            for x in $LDFLAGS $LTLIBPTH; do
16699
 
+              
16700
 
+  acl_save_prefix="$prefix"
16701
 
+  prefix="$acl_final_prefix"
16702
 
+  acl_save_exec_prefix="$exec_prefix"
16703
 
+  exec_prefix="$acl_final_exec_prefix"
16704
 
+  eval x=\"$x\"
16705
 
+  exec_prefix="$acl_save_exec_prefix"
16706
 
+  prefix="$acl_save_prefix"
16707
 
+
16708
 
+              case "$x" in
16709
 
+                -L*)
16710
 
+                  dir=`echo "X$x" | sed -e 's/^X-L//'`
16711
 
+                                    if test -n "$acl_shlibext"; then
16712
 
+                    if test -f "$dir/$libname$shrext"; then
16713
 
+                      found_dir="$dir"
16714
 
+                      found_so="$dir/$libname$shrext"
16715
 
+                    else
16716
 
+                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16717
 
+                        ver=`(cd "$dir" && \
16718
 
+                              for f in "$libname$shrext".*; do echo "$f"; done \
16719
 
+                              | sed -e "s,^$libname$shrext\\\\.,," \
16720
 
+                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16721
 
+                              | sed 1q ) 2>/dev/null`
16722
 
+                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16723
 
+                          found_dir="$dir"
16724
 
+                          found_so="$dir/$libname$shrext.$ver"
16725
 
+                        fi
16726
 
+                      else
16727
 
+                        eval library_names=\"$acl_library_names_spec\"
16728
 
+                        for f in $library_names; do
16729
 
+                          if test -f "$dir/$f"; then
16730
 
+                            found_dir="$dir"
16731
 
+                            found_so="$dir/$f"
16732
 
+                            break
16733
 
+                          fi
16734
 
+                        done
16735
 
+                      fi
16736
 
+                    fi
16737
 
+                  fi
16738
 
+                                    if test "X$found_dir" = "X"; then
16739
 
+                    if test -f "$dir/$libname.$acl_libext"; then
16740
 
+                      found_dir="$dir"
16741
 
+                      found_a="$dir/$libname.$acl_libext"
16742
 
+                    fi
16743
 
+                  fi
16744
 
+                  if test "X$found_dir" != "X"; then
16745
 
+                    if test -f "$dir/$libname.la"; then
16746
 
+                      found_la="$dir/$libname.la"
16747
 
+                    fi
16748
 
+                  fi
16749
 
+                  ;;
16750
 
+              esac
16751
 
+              if test "X$found_dir" != "X"; then
16752
 
+                break
16753
 
+              fi
16754
 
+            done
16755
 
+          fi
16756
 
+          if test "X$found_dir" != "X"; then
16757
 
+                        LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name"
16758
 
+            if test "X$found_so" != "X"; then
16759
 
+                                                        if test "$enable_rpath" = no \
16760
 
+                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
16761
 
+                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
16762
 
+                                LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
16763
 
+              else
16764
 
+                                                                                haveit=
16765
 
+                for x in $ltrpathdirs; do
16766
 
+                  if test "X$x" = "X$found_dir"; then
16767
 
+                    haveit=yes
16768
 
+                    break
16769
 
+                  fi
16770
 
+                done
16771
 
+                if test -z "$haveit"; then
16772
 
+                  ltrpathdirs="$ltrpathdirs $found_dir"
16773
 
+                fi
16774
 
+                                if test "$acl_hardcode_direct" = yes; then
16775
 
+                                                      LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
16776
 
+                else
16777
 
+                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16778
 
+                                                            LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
16779
 
+                                                            haveit=
16780
 
+                    for x in $rpathdirs; do
16781
 
+                      if test "X$x" = "X$found_dir"; then
16782
 
+                        haveit=yes
16783
 
+                        break
16784
 
+                      fi
16785
 
+                    done
16786
 
+                    if test -z "$haveit"; then
16787
 
+                      rpathdirs="$rpathdirs $found_dir"
16788
 
+                    fi
16789
 
+                  else
16790
 
+                                                                                haveit=
16791
 
+                    for x in $LDFLAGS $LIBPTH; do
16792
 
+                      
16793
 
+  acl_save_prefix="$prefix"
16794
 
+  prefix="$acl_final_prefix"
16795
 
+  acl_save_exec_prefix="$exec_prefix"
16796
 
+  exec_prefix="$acl_final_exec_prefix"
16797
 
+  eval x=\"$x\"
16798
 
+  exec_prefix="$acl_save_exec_prefix"
16799
 
+  prefix="$acl_save_prefix"
16800
 
+
16801
 
+                      if test "X$x" = "X-L$found_dir"; then
16802
 
+                        haveit=yes
16803
 
+                        break
16804
 
+                      fi
16805
 
+                    done
16806
 
+                    if test -z "$haveit"; then
16807
 
+                      LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir"
16808
 
+                    fi
16809
 
+                    if test "$acl_hardcode_minus_L" != no; then
16810
 
+                                                                                        LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
16811
 
+                    else
16812
 
+                                                                                                                                                                                LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
16813
 
+                    fi
16814
 
+                  fi
16815
 
+                fi
16816
 
+              fi
16817
 
+            else
16818
 
+              if test "X$found_a" != "X"; then
16819
 
+                                LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a"
16820
 
+              else
16821
 
+                                                LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir -l$name"
16822
 
+              fi
16823
 
+            fi
16824
 
+                        additional_includedir=
16825
 
+            case "$found_dir" in
16826
 
+              */$acl_libdirstem | */$acl_libdirstem/)
16827
 
+                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16828
 
+                if test "$name" = 'pth'; then
16829
 
+                  LIBPTH_PREFIX="$basedir"
16830
 
+                fi
16831
 
+                additional_includedir="$basedir/include"
16832
 
+                ;;
16833
 
+              */$acl_libdirstem2 | */$acl_libdirstem2/)
16834
 
+                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
16835
 
+                if test "$name" = 'pth'; then
16836
 
+                  LIBPTH_PREFIX="$basedir"
16837
 
+                fi
16838
 
+                additional_includedir="$basedir/include"
16839
 
+                ;;
16840
 
+            esac
16841
 
+            if test "X$additional_includedir" != "X"; then
16842
 
+                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
16843
 
+                haveit=
16844
 
+                if test "X$additional_includedir" = "X/usr/local/include"; then
16845
 
+                  if test -n "$GCC"; then
16846
 
+                    case $host_os in
16847
 
+                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16848
 
+                    esac
16849
 
+                  fi
16850
 
+                fi
16851
 
+                if test -z "$haveit"; then
16852
 
+                  for x in $CPPFLAGS $INCPTH; do
16853
 
+                    
16854
 
+  acl_save_prefix="$prefix"
16855
 
+  prefix="$acl_final_prefix"
16856
 
+  acl_save_exec_prefix="$exec_prefix"
16857
 
+  exec_prefix="$acl_final_exec_prefix"
16858
 
+  eval x=\"$x\"
16859
 
+  exec_prefix="$acl_save_exec_prefix"
16860
 
+  prefix="$acl_save_prefix"
16861
 
+
16862
 
+                    if test "X$x" = "X-I$additional_includedir"; then
16863
 
+                      haveit=yes
16864
 
+                      break
16865
 
+                    fi
16866
 
+                  done
16867
 
+                  if test -z "$haveit"; then
16868
 
+                    if test -d "$additional_includedir"; then
16869
 
+                                            INCPTH="${INCPTH}${INCPTH:+ }-I$additional_includedir"
16870
 
+                    fi
16871
 
+                  fi
16872
 
+                fi
16873
 
+              fi
16874
 
+            fi
16875
 
+                        if test -n "$found_la"; then
16876
 
+                                                        save_libdir="$libdir"
16877
 
+              case "$found_la" in
16878
 
+                */* | *\\*) . "$found_la" ;;
16879
 
+                *) . "./$found_la" ;;
16880
 
+              esac
16881
 
+              libdir="$save_libdir"
16882
 
+                            for dep in $dependency_libs; do
16883
 
+                case "$dep" in
16884
 
+                  -L*)
16885
 
+                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16886
 
+                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
16887
 
+                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
16888
 
+                      haveit=
16889
 
+                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
16890
 
+                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
16891
 
+                        if test -n "$GCC"; then
16892
 
+                          case $host_os in
16893
 
+                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16894
 
+                          esac
16895
 
+                        fi
16896
 
+                      fi
16897
 
+                      if test -z "$haveit"; then
16898
 
+                        haveit=
16899
 
+                        for x in $LDFLAGS $LIBPTH; do
16900
 
+                          
16901
 
+  acl_save_prefix="$prefix"
16902
 
+  prefix="$acl_final_prefix"
16903
 
+  acl_save_exec_prefix="$exec_prefix"
16904
 
+  exec_prefix="$acl_final_exec_prefix"
16905
 
+  eval x=\"$x\"
16906
 
+  exec_prefix="$acl_save_exec_prefix"
16907
 
+  prefix="$acl_save_prefix"
16908
 
+
16909
 
+                          if test "X$x" = "X-L$additional_libdir"; then
16910
 
+                            haveit=yes
16911
 
+                            break
16912
 
+                          fi
16913
 
+                        done
16914
 
+                        if test -z "$haveit"; then
16915
 
+                          if test -d "$additional_libdir"; then
16916
 
+                                                        LIBPTH="${LIBPTH}${LIBPTH:+ }-L$additional_libdir"
16917
 
+                          fi
16918
 
+                        fi
16919
 
+                        haveit=
16920
 
+                        for x in $LDFLAGS $LTLIBPTH; do
16921
 
+                          
16922
 
+  acl_save_prefix="$prefix"
16923
 
+  prefix="$acl_final_prefix"
16924
 
+  acl_save_exec_prefix="$exec_prefix"
16925
 
+  exec_prefix="$acl_final_exec_prefix"
16926
 
+  eval x=\"$x\"
16927
 
+  exec_prefix="$acl_save_exec_prefix"
16928
 
+  prefix="$acl_save_prefix"
16929
 
+
16930
 
+                          if test "X$x" = "X-L$additional_libdir"; then
16931
 
+                            haveit=yes
16932
 
+                            break
16933
 
+                          fi
16934
 
+                        done
16935
 
+                        if test -z "$haveit"; then
16936
 
+                          if test -d "$additional_libdir"; then
16937
 
+                                                        LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$additional_libdir"
16938
 
+                          fi
16939
 
+                        fi
16940
 
+                      fi
16941
 
+                    fi
16942
 
+                    ;;
16943
 
+                  -R*)
16944
 
+                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
16945
 
+                    if test "$enable_rpath" != no; then
16946
 
+                                                                  haveit=
16947
 
+                      for x in $rpathdirs; do
16948
 
+                        if test "X$x" = "X$dir"; then
16949
 
+                          haveit=yes
16950
 
+                          break
16951
 
+                        fi
16952
 
+                      done
16953
 
+                      if test -z "$haveit"; then
16954
 
+                        rpathdirs="$rpathdirs $dir"
16955
 
+                      fi
16956
 
+                                                                  haveit=
16957
 
+                      for x in $ltrpathdirs; do
16958
 
+                        if test "X$x" = "X$dir"; then
16959
 
+                          haveit=yes
16960
 
+                          break
16961
 
+                        fi
16962
 
+                      done
16963
 
+                      if test -z "$haveit"; then
16964
 
+                        ltrpathdirs="$ltrpathdirs $dir"
16965
 
+                      fi
16966
 
+                    fi
16967
 
+                    ;;
16968
 
+                  -l*)
16969
 
+                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16970
 
+                    ;;
16971
 
+                  *.la)
16972
 
+                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16973
 
+                    ;;
16974
 
+                  *)
16975
 
+                                        LIBPTH="${LIBPTH}${LIBPTH:+ }$dep"
16976
 
+                    LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$dep"
16977
 
+                    ;;
16978
 
+                esac
16979
 
+              done
16980
 
+            fi
16981
 
+          else
16982
 
+                                                            LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
16983
 
+            LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-l$name"
16984
 
+          fi
16985
 
+        fi
16986
 
+      fi
16987
 
+    done
16988
 
+  done
16989
 
+  if test "X$rpathdirs" != "X"; then
16990
 
+    if test -n "$acl_hardcode_libdir_separator"; then
16991
 
+                        alldirs=
16992
 
+      for found_dir in $rpathdirs; do
16993
 
+        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16994
 
+      done
16995
 
+            acl_save_libdir="$libdir"
16996
 
+      libdir="$alldirs"
16997
 
+      eval flag=\"$acl_hardcode_libdir_flag_spec\"
16998
 
+      libdir="$acl_save_libdir"
16999
 
+      LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
17000
 
+    else
17001
 
+            for found_dir in $rpathdirs; do
17002
 
+        acl_save_libdir="$libdir"
17003
 
+        libdir="$found_dir"
17004
 
+        eval flag=\"$acl_hardcode_libdir_flag_spec\"
17005
 
+        libdir="$acl_save_libdir"
17006
 
+        LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
17007
 
+      done
17008
 
+    fi
17009
 
+  fi
17010
 
+  if test "X$ltrpathdirs" != "X"; then
17011
 
+            for found_dir in $ltrpathdirs; do
17012
 
+      LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir"
17013
 
+    done
17014
 
+  fi
17015
 
+  
17016
 
+  
17017
 
+  
17018
 
+  
17019
 
+  
17020
 
+
17021
 
+    ac_cv_libpth_libs="$LIBPTH"
17022
 
+    ac_cv_libpth_ltlibs="$LTLIBPTH"
17023
 
+    ac_cv_libpth_cppflags="$INCPTH"
17024
 
+    ac_cv_libpth_prefix="$LIBPTH_PREFIX"
17025
 
+  
17026
 
+fi
17027
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5
17028
 
+$as_echo "$ac_cv_libpth_libs" >&6; }
17029
 
+  LIBPTH="$ac_cv_libpth_libs"
17030
 
+  LTLIBPTH="$ac_cv_libpth_ltlibs"
17031
 
+  INCPTH="$ac_cv_libpth_cppflags"
17032
 
+  LIBPTH_PREFIX="$ac_cv_libpth_prefix"
17033
 
+  
17034
 
+  for element in $INCPTH; do
17035
 
+    haveit=
17036
 
+    for x in $CPPFLAGS; do
17037
 
+      
17038
 
+  acl_save_prefix="$prefix"
17039
 
+  prefix="$acl_final_prefix"
17040
 
+  acl_save_exec_prefix="$exec_prefix"
17041
 
+  exec_prefix="$acl_final_exec_prefix"
17042
 
+  eval x=\"$x\"
17043
 
+  exec_prefix="$acl_save_exec_prefix"
17044
 
+  prefix="$acl_save_prefix"
17045
 
+
17046
 
+      if test "X$x" = "X$element"; then
17047
 
+        haveit=yes
17048
 
+        break
17049
 
+      fi
17050
 
+    done
17051
 
+    if test -z "$haveit"; then
17052
 
+      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17053
 
+    fi
17054
 
+  done
17055
 
+
17056
 
+  
17057
 
+  
17058
 
+  
17059
 
+      HAVE_LIBPTH=yes
17060
 
+  
17061
 
+  
17062
 
+
17063
 
+      gl_have_pth=
17064
 
+      gl_save_LIBS="$LIBS"
17065
 
+      LIBS="$LIBS $LIBPTH"
17066
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17067
 
+/* end confdefs.h.  */
17068
 
+#include <pth.h>
17069
 
+int
17070
 
+main ()
17071
 
+{
17072
 
+pth_self();
17073
 
+  ;
17074
 
+  return 0;
17075
 
+}
17076
 
+_ACEOF
17077
 
+if ac_fn_c_try_link "$LINENO"; then :
17078
 
+  gl_have_pth=yes
17079
 
+fi
17080
 
+rm -f core conftest.err conftest.$ac_objext \
17081
 
+    conftest$ac_exeext conftest.$ac_ext
17082
 
+      LIBS="$gl_save_LIBS"
17083
 
+      if test -n "$gl_have_pth"; then
17084
 
+        gl_threads_api=pth
17085
 
+        LIBTHREAD="$LIBPTH"
17086
 
+        LTLIBTHREAD="$LTLIBPTH"
17087
 
+        LIBMULTITHREAD="$LIBTHREAD"
17088
 
+        LTLIBMULTITHREAD="$LTLIBTHREAD"
17089
 
+        
17090
 
+$as_echo "@%:@define USE_PTH_THREADS 1" >>confdefs.h
17091
 
+
17092
 
+        if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
17093
 
+          if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
17094
 
+            
17095
 
+$as_echo "@%:@define USE_PTH_THREADS_WEAK 1" >>confdefs.h
17096
 
+
17097
 
+            LIBTHREAD=
17098
 
+            LTLIBTHREAD=
17099
 
+          fi
17100
 
+        fi
17101
 
+      else
17102
 
+        CPPFLAGS="$gl_save_CPPFLAGS"
17103
 
+      fi
17104
 
+    fi
17105
 
+    if test -z "$gl_have_pthread"; then
17106
 
+      if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then
17107
 
+        if { case "$host_os" in
17108
 
+               mingw*) true;;
17109
 
+               *) false;;
17110
 
+             esac
17111
 
+           }; then
17112
 
+          gl_threads_api=win32
17113
 
+          
17114
 
+$as_echo "@%:@define USE_WIN32_THREADS 1" >>confdefs.h
17115
 
+
17116
 
+        fi
17117
 
+      fi
17118
 
+    fi
17119
 
+  fi
17120
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5
17121
 
+$as_echo_n "checking for multithread API to use... " >&6; }
17122
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5
17123
 
+$as_echo "$gl_threads_api" >&6; }
17124
 
+  
17125
 
+  
17126
 
+  
17127
 
+  
17128
 
+
17129
 
+
17130
 
+  
17131
 
+  
17132
 
+
17133
 
+
17134
 
+
17135
 
+
17136
 
+  for ac_header in stdlib.h
17137
 
+do :
17138
 
+  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
17139
 
+if test "x$ac_cv_header_stdlib_h" = xyes; then :
17140
 
+  cat >>confdefs.h <<_ACEOF
17141
 
+@%:@define HAVE_STDLIB_H 1
17142
 
+_ACEOF
17143
 
17144
 
+fi
17145
 
+
17146
 
+done
17147
 
+
17148
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
17149
 
+$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
17150
 
+if ${ac_cv_func_malloc_0_nonnull+:} false; then :
17151
 
+  $as_echo_n "(cached) " >&6
17152
 
+else
17153
 
+  if test "$cross_compiling" = yes; then :
17154
 
+  ac_cv_func_malloc_0_nonnull=no
17155
 
+else
17156
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17157
 
+/* end confdefs.h.  */
17158
 
+#if defined STDC_HEADERS || defined HAVE_STDLIB_H
17159
 
+# include <stdlib.h>
17160
 
+#else
17161
 
+char *malloc ();
17162
 
+#endif
17163
 
+
17164
 
+int
17165
 
+main ()
17166
 
+{
17167
 
+return ! malloc (0);
17168
 
+  ;
17169
 
+  return 0;
17170
 
+}
17171
 
+_ACEOF
17172
 
+if ac_fn_c_try_run "$LINENO"; then :
17173
 
+  ac_cv_func_malloc_0_nonnull=yes
17174
 
+else
17175
 
+  ac_cv_func_malloc_0_nonnull=no
17176
 
+fi
17177
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17178
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
17179
 
+fi
17180
 
+
17181
 
+fi
17182
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
17183
 
+$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
17184
 
+if test $ac_cv_func_malloc_0_nonnull = yes; then :
17185
 
+  gl_cv_func_malloc_0_nonnull=1
17186
 
+else
17187
 
+  gl_cv_func_malloc_0_nonnull=0
17188
 
+fi
17189
 
+
17190
 
+  
17191
 
+cat >>confdefs.h <<_ACEOF
17192
 
+@%:@define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull
17193
 
+_ACEOF
17194
 
+
17195
 
+
17196
 
+
17197
 
+
17198
 
+
17199
 
+
17200
 
+
17201
 
+
17202
 
+
17203
 
+  
17204
 
+  
17205
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
17206
 
+$as_echo_n "checking for a traditional japanese locale... " >&6; }
17207
 
+if ${gt_cv_locale_ja+:} false; then :
17208
 
+  $as_echo_n "(cached) " >&6
17209
 
+else
17210
 
+  
17211
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17212
 
+/* end confdefs.h.  */
17213
 
+
17214
 
+#include <locale.h>
17215
 
+#include <time.h>
17216
 
+#if HAVE_LANGINFO_CODESET
17217
 
+# include <langinfo.h>
17218
 
+#endif
17219
 
+#include <stdlib.h>
17220
 
+#include <string.h>
17221
 
+struct tm t;
17222
 
+char buf[16];
17223
 
+int main ()
17224
 
+{
17225
 
+  const char *p;
17226
 
+  /* Check whether the given locale name is recognized by the system.  */
17227
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
17228
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
17229
 
+     not at the environment variables.  Also, when an encoding suffix such
17230
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
17231
 
+     category of the locale to "C".  */
17232
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
17233
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
17234
 
+    return 1;
17235
 
+#else
17236
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
17237
 
+#endif
17238
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
17239
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
17240
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
17241
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
17242
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
17243
 
+     some unit tests fail.
17244
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
17245
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
17246
 
+#if HAVE_LANGINFO_CODESET
17247
 
+  {
17248
 
+    const char *cs = nl_langinfo (CODESET);
17249
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
17250
 
+        || strcmp (cs, "UTF-8") == 0)
17251
 
+      return 1;
17252
 
+  }
17253
 
+#endif
17254
 
+#ifdef __CYGWIN__
17255
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
17256
 
+     locale_charset() function relies on the encoding suffix.  Note that
17257
 
+     LC_ALL is set on the command line.  */
17258
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
17259
 
+#endif
17260
 
+  /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
17261
 
+     on Cygwin 1.5.x.  */
17262
 
+  if (MB_CUR_MAX == 1)
17263
 
+    return 1;
17264
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
17265
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
17266
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
17267
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
17268
 
+  for (p = buf; *p != '\0'; p++)
17269
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
17270
 
+      return 1;
17271
 
+  return 0;
17272
 
+}
17273
 
+      
17274
 
+_ACEOF
17275
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
17276
 
+  (eval $ac_link) 2>&5
17277
 
+  ac_status=$?
17278
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17279
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
17280
 
+      case "$host_os" in
17281
 
+        # Handle native Windows specially, because there setlocale() interprets
17282
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
17283
 
+        # "fr" or "fra" as "French" or "French_France.1252",
17284
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
17285
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
17286
 
+        # and similar.
17287
 
+        mingw*)
17288
 
+          # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
17289
 
+          # and CP932 is very different from EUC-JP, so we cannot use it here.
17290
 
+          gt_cv_locale_ja=none
17291
 
+          ;;
17292
 
+        *)
17293
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
17294
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
17295
 
+          # configure script would override the LC_ALL setting. Likewise for
17296
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
17297
 
+          # Test for the AIX locale name.
17298
 
+          if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
17299
 
+            gt_cv_locale_ja=ja_JP
17300
 
+          else
17301
 
+            # Test for the locale name with explicit encoding suffix.
17302
 
+            if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
17303
 
+              gt_cv_locale_ja=ja_JP.EUC-JP
17304
 
+            else
17305
 
+              # Test for the HP-UX, OSF/1, NetBSD locale name.
17306
 
+              if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
17307
 
+                gt_cv_locale_ja=ja_JP.eucJP
17308
 
+              else
17309
 
+                # Test for the IRIX, FreeBSD locale name.
17310
 
+                if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
17311
 
+                  gt_cv_locale_ja=ja_JP.EUC
17312
 
+                else
17313
 
+                  # Test for the Solaris 7 locale name.
17314
 
+                  if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
17315
 
+                    gt_cv_locale_ja=ja
17316
 
+                  else
17317
 
+                    # Special test for NetBSD 1.6.
17318
 
+                    if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
17319
 
+                      gt_cv_locale_ja=ja_JP.eucJP
17320
 
+                    else
17321
 
+                      # None found.
17322
 
+                      gt_cv_locale_ja=none
17323
 
+                    fi
17324
 
+                  fi
17325
 
+                fi
17326
 
+              fi
17327
 
+            fi
17328
 
+          fi
17329
 
+          ;;
17330
 
+      esac
17331
 
+    fi
17332
 
+    rm -fr conftest*
17333
 
+  
17334
 
+fi
17335
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
17336
 
+$as_echo "$gt_cv_locale_ja" >&6; }
17337
 
+  LOCALE_JA=$gt_cv_locale_ja
17338
 
+  
17339
 
+
17340
 
+
17341
 
+  
17342
 
+  
17343
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
17344
 
+$as_echo_n "checking for a transitional chinese locale... " >&6; }
17345
 
+if ${gt_cv_locale_zh_CN+:} false; then :
17346
 
+  $as_echo_n "(cached) " >&6
17347
 
+else
17348
 
+  
17349
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17350
 
+/* end confdefs.h.  */
17351
 
+
17352
 
+#include <locale.h>
17353
 
+#include <stdlib.h>
17354
 
+#include <time.h>
17355
 
+#if HAVE_LANGINFO_CODESET
17356
 
+# include <langinfo.h>
17357
 
+#endif
17358
 
+#include <stdlib.h>
17359
 
+#include <string.h>
17360
 
+struct tm t;
17361
 
+char buf[16];
17362
 
+int main ()
17363
 
+{
17364
 
+  const char *p;
17365
 
+  /* Check whether the given locale name is recognized by the system.  */
17366
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
17367
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
17368
 
+     not at the environment variables.  Also, when an encoding suffix such
17369
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
17370
 
+     category of the locale to "C".  */
17371
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
17372
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
17373
 
+    return 1;
17374
 
+#else
17375
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
17376
 
+#endif
17377
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
17378
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
17379
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
17380
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
17381
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
17382
 
+     some unit tests fail.
17383
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
17384
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
17385
 
+#if HAVE_LANGINFO_CODESET
17386
 
+  {
17387
 
+    const char *cs = nl_langinfo (CODESET);
17388
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
17389
 
+        || strcmp (cs, "UTF-8") == 0)
17390
 
+      return 1;
17391
 
+  }
17392
 
+#endif
17393
 
+#ifdef __CYGWIN__
17394
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
17395
 
+     locale_charset() function relies on the encoding suffix.  Note that
17396
 
+     LC_ALL is set on the command line.  */
17397
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
17398
 
+#endif
17399
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
17400
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
17401
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
17402
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
17403
 
+  for (p = buf; *p != '\0'; p++)
17404
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
17405
 
+      return 1;
17406
 
+  /* Check whether a typical GB18030 multibyte sequence is recognized as a
17407
 
+     single wide character.  This excludes the GB2312 and GBK encodings.  */
17408
 
+  if (mblen ("\203\062\332\066", 5) != 4)
17409
 
+    return 1;
17410
 
+  return 0;
17411
 
+}
17412
 
+      
17413
 
+_ACEOF
17414
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
17415
 
+  (eval $ac_link) 2>&5
17416
 
+  ac_status=$?
17417
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17418
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
17419
 
+      case "$host_os" in
17420
 
+        # Handle native Windows specially, because there setlocale() interprets
17421
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
17422
 
+        # "fr" or "fra" as "French" or "French_France.1252",
17423
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
17424
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
17425
 
+        # and similar.
17426
 
+        mingw*)
17427
 
+          # Test for the hypothetical native Win32 locale name.
17428
 
+          if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
17429
 
+            gt_cv_locale_zh_CN=Chinese_China.54936
17430
 
+          else
17431
 
+            # None found.
17432
 
+            gt_cv_locale_zh_CN=none
17433
 
+          fi
17434
 
+          ;;
17435
 
+        solaris2.8)
17436
 
+          # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
17437
 
+          # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
17438
 
+          # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
17439
 
+          gt_cv_locale_zh_CN=none
17440
 
+          ;;
17441
 
+        *)
17442
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
17443
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
17444
 
+          # configure script would override the LC_ALL setting. Likewise for
17445
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
17446
 
+          # Test for the locale name without encoding suffix.
17447
 
+          if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
17448
 
+            gt_cv_locale_zh_CN=zh_CN
17449
 
+          else
17450
 
+            # Test for the locale name with explicit encoding suffix.
17451
 
+            if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
17452
 
+              gt_cv_locale_zh_CN=zh_CN.GB18030
17453
 
+            else
17454
 
+              # None found.
17455
 
+              gt_cv_locale_zh_CN=none
17456
 
+            fi
17457
 
+          fi
17458
 
+          ;;
17459
 
+      esac
17460
 
+    else
17461
 
+      # If there was a link error, due to mblen(), the system is so old that
17462
 
+      # it certainly doesn't have a chinese locale.
17463
 
+      gt_cv_locale_zh_CN=none
17464
 
+    fi
17465
 
+    rm -fr conftest*
17466
 
+  
17467
 
+fi
17468
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
17469
 
+$as_echo "$gt_cv_locale_zh_CN" >&6; }
17470
 
+  LOCALE_ZH_CN=$gt_cv_locale_zh_CN
17471
 
+  
17472
 
+
17473
 
+
17474
 
+  
17475
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
17476
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
17477
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
17478
 
+  $as_echo_n "(cached) " >&6
17479
 
+else
17480
 
+  
17481
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17482
 
+/* end confdefs.h.  */
17483
 
+
17484
 
+#include <locale.h>
17485
 
+#include <time.h>
17486
 
+#if HAVE_LANGINFO_CODESET
17487
 
+# include <langinfo.h>
17488
 
+#endif
17489
 
+#include <stdlib.h>
17490
 
+#include <string.h>
17491
 
+struct tm t;
17492
 
+char buf[16];
17493
 
+int main () {
17494
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
17495
 
+     imitates locale dependent behaviour by looking at the environment
17496
 
+     variables, and all locales use the UTF-8 encoding.  */
17497
 
+#if !(defined __BEOS__ || defined __HAIKU__)
17498
 
+  /* Check whether the given locale name is recognized by the system.  */
17499
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
17500
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
17501
 
+     not at the environment variables.  Also, when an encoding suffix such
17502
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
17503
 
+     category of the locale to "C".  */
17504
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
17505
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
17506
 
+    return 1;
17507
 
+# else
17508
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
17509
 
+# endif
17510
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
17511
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
17512
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
17513
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
17514
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
17515
 
+     some unit tests fail.  */
17516
 
+# if HAVE_LANGINFO_CODESET
17517
 
+  {
17518
 
+    const char *cs = nl_langinfo (CODESET);
17519
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
17520
 
+      return 1;
17521
 
+  }
17522
 
+# endif
17523
 
+# ifdef __CYGWIN__
17524
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
17525
 
+     locale_charset() function relies on the encoding suffix.  Note that
17526
 
+     LC_ALL is set on the command line.  */
17527
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
17528
 
+# endif
17529
 
+  /* Check whether in the abbreviation of the second month, the second
17530
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
17531
 
+     two bytes long, with UTF-8 encoding.  */
17532
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
17533
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
17534
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
17535
 
+    return 1;
17536
 
+#endif
17537
 
+  /* Check whether the decimal separator is a comma.
17538
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
17539
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
17540
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
17541
 
+  return 0;
17542
 
+}
17543
 
+      
17544
 
+_ACEOF
17545
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
17546
 
+  (eval $ac_link) 2>&5
17547
 
+  ac_status=$?
17548
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17549
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
17550
 
+      case "$host_os" in
17551
 
+        # Handle native Windows specially, because there setlocale() interprets
17552
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
17553
 
+        # "fr" or "fra" as "French" or "French_France.1252",
17554
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
17555
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
17556
 
+        # and similar.
17557
 
+        mingw*)
17558
 
+          # Test for the hypothetical native Win32 locale name.
17559
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
17560
 
+            gt_cv_locale_fr_utf8=French_France.65001
17561
 
+          else
17562
 
+            # None found.
17563
 
+            gt_cv_locale_fr_utf8=none
17564
 
+          fi
17565
 
+          ;;
17566
 
+        *)
17567
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
17568
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
17569
 
+          # configure script would override the LC_ALL setting. Likewise for
17570
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
17571
 
+          # Test for the usual locale name.
17572
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
17573
 
+            gt_cv_locale_fr_utf8=fr_FR
17574
 
+          else
17575
 
+            # Test for the locale name with explicit encoding suffix.
17576
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
17577
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
17578
 
+            else
17579
 
+              # Test for the Solaris 7 locale name.
17580
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
17581
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
17582
 
+              else
17583
 
+                # None found.
17584
 
+                gt_cv_locale_fr_utf8=none
17585
 
+              fi
17586
 
+            fi
17587
 
+          fi
17588
 
+          ;;
17589
 
+      esac
17590
 
+    fi
17591
 
+    rm -fr conftest*
17592
 
+  
17593
 
+fi
17594
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
17595
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
17596
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
17597
 
+  
17598
 
+
17599
 
+
17600
 
+  
17601
 
+
17602
 
+  
17603
 
+  
17604
 
+  
17605
 
+
17606
 
+  
17607
 
+  
17608
 
+  
17609
 
+  if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
17610
 
+    
17611
 
+  
17612
 
+  
17613
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
17614
 
+$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
17615
 
+if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
17616
 
+  $as_echo_n "(cached) " >&6
17617
 
+else
17618
 
+  
17619
 
+                  case "$host_os" in
17620
 
+                     # Guess no on AIX and OSF/1.
17621
 
+        aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
17622
 
+                     # Guess yes otherwise.
17623
 
+        *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
17624
 
+      esac
17625
 
+      if test $LOCALE_JA != none; then
17626
 
+        if test "$cross_compiling" = yes; then :
17627
 
+  :
17628
 
+else
17629
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17630
 
+/* end confdefs.h.  */
17631
 
+
17632
 
+#include <locale.h>
17633
 
+#include <string.h>
17634
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
17635
 
+   <wchar.h>.
17636
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
17637
 
+   included before <wchar.h>.  */
17638
 
+#include <stddef.h>
17639
 
+#include <stdio.h>
17640
 
+#include <time.h>
17641
 
+#include <wchar.h>
17642
 
+int main ()
17643
 
+{
17644
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
17645
 
+    {
17646
 
+      const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
17647
 
+      mbstate_t state;
17648
 
+      wchar_t wc;
17649
 
+
17650
 
+      memset (&state, '\0', sizeof (mbstate_t));
17651
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
17652
 
+        if (mbsinit (&state))
17653
 
+          return 1;
17654
 
+    }
17655
 
+  return 0;
17656
 
+}
17657
 
+_ACEOF
17658
 
+if ac_fn_c_try_run "$LINENO"; then :
17659
 
+  gl_cv_func_mbrtowc_incomplete_state=yes
17660
 
+else
17661
 
+  gl_cv_func_mbrtowc_incomplete_state=no
17662
 
+fi
17663
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17664
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
17665
 
+fi
17666
 
+
17667
 
+      fi
17668
 
+    
17669
 
+fi
17670
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
17671
 
+$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
17672
 
+
17673
 
+    
17674
 
+  
17675
 
+  
17676
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
17677
 
+$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
17678
 
+if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
17679
 
+  $as_echo_n "(cached) " >&6
17680
 
+else
17681
 
+  
17682
 
+                  case "$host_os" in
17683
 
+                    # Guess no on Solaris 8.
17684
 
+        solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
17685
 
+                    # Guess yes otherwise.
17686
 
+        *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
17687
 
+      esac
17688
 
+      if test $LOCALE_ZH_CN != none; then
17689
 
+        if test "$cross_compiling" = yes; then :
17690
 
+  :
17691
 
+else
17692
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693
 
+/* end confdefs.h.  */
17694
 
+
17695
 
+#include <locale.h>
17696
 
+#include <stdlib.h>
17697
 
+#include <string.h>
17698
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
17699
 
+   <wchar.h>.
17700
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
17701
 
+   included before <wchar.h>.  */
17702
 
+#include <stddef.h>
17703
 
+#include <stdio.h>
17704
 
+#include <time.h>
17705
 
+#include <wchar.h>
17706
 
+int main ()
17707
 
+{
17708
 
+  /* This fails on Solaris 8:
17709
 
+     mbrtowc returns 2, and sets wc to 0x00F0.
17710
 
+     mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
17711
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
17712
 
+    {
17713
 
+      char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
17714
 
+      mbstate_t state;
17715
 
+      wchar_t wc;
17716
 
+
17717
 
+      memset (&state, '\0', sizeof (mbstate_t));
17718
 
+      if (mbrtowc (&wc, input + 3, 6, &state) != 4
17719
 
+          && mbtowc (&wc, input + 3, 6) == 4)
17720
 
+        return 1;
17721
 
+    }
17722
 
+  return 0;
17723
 
+}
17724
 
+_ACEOF
17725
 
+if ac_fn_c_try_run "$LINENO"; then :
17726
 
+  gl_cv_func_mbrtowc_sanitycheck=yes
17727
 
+else
17728
 
+  gl_cv_func_mbrtowc_sanitycheck=no
17729
 
+fi
17730
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17731
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
17732
 
+fi
17733
 
+
17734
 
+      fi
17735
 
+    
17736
 
+fi
17737
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
17738
 
+$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
17739
 
+
17740
 
+    REPLACE_MBSTATE_T=0
17741
 
+    case "$gl_cv_func_mbrtowc_incomplete_state" in
17742
 
+      *yes) ;;
17743
 
+      *) REPLACE_MBSTATE_T=1 ;;
17744
 
+    esac
17745
 
+    case "$gl_cv_func_mbrtowc_sanitycheck" in
17746
 
+      *yes) ;;
17747
 
+      *) REPLACE_MBSTATE_T=1 ;;
17748
 
+    esac
17749
 
+  else
17750
 
+    REPLACE_MBSTATE_T=1
17751
 
+  fi
17752
 
+
17753
 
+
17754
 
+  
17755
 
+  if test $ac_cv_func_mbrtowc = no; then
17756
 
+    HAVE_MBRTOWC=0
17757
 
+    ac_fn_c_check_decl "$LINENO" "mbrtowc" "ac_cv_have_decl_mbrtowc" "
17758
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
17759
 
+   <wchar.h>.
17760
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
17761
 
+   included before <wchar.h>.  */
17762
 
+#include <stddef.h>
17763
 
+#include <stdio.h>
17764
 
+#include <time.h>
17765
 
+#include <wchar.h>
17766
 
+
17767
 
+"
17768
 
+if test "x$ac_cv_have_decl_mbrtowc" = xyes; then :
17769
 
+  ac_have_decl=1
17770
 
+else
17771
 
+  ac_have_decl=0
17772
 
+fi
17773
 
+
17774
 
+cat >>confdefs.h <<_ACEOF
17775
 
+@%:@define HAVE_DECL_MBRTOWC $ac_have_decl
17776
 
+_ACEOF
17777
 
+
17778
 
+    if test $ac_cv_have_decl_mbrtowc = yes; then
17779
 
+                        REPLACE_MBRTOWC=1
17780
 
+    fi
17781
 
+  else
17782
 
+    if test $REPLACE_MBSTATE_T = 1; then
17783
 
+      REPLACE_MBRTOWC=1
17784
 
+    else
17785
 
+      
17786
 
+  
17787
 
+  
17788
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5
17789
 
+$as_echo_n "checking whether mbrtowc handles a NULL pwc argument... " >&6; }
17790
 
+if ${gl_cv_func_mbrtowc_null_arg1+:} false; then :
17791
 
+  $as_echo_n "(cached) " >&6
17792
 
+else
17793
 
+  
17794
 
+                  case "$host_os" in
17795
 
+                  # Guess no on Solaris.
17796
 
+        solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;;
17797
 
+                  # Guess yes otherwise.
17798
 
+        *)        gl_cv_func_mbrtowc_null_arg1="guessing yes" ;;
17799
 
+      esac
17800
 
+      if test $LOCALE_FR_UTF8 != none; then
17801
 
+        if test "$cross_compiling" = yes; then :
17802
 
+  :
17803
 
+else
17804
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805
 
+/* end confdefs.h.  */
17806
 
+
17807
 
+#include <locale.h>
17808
 
+#include <stdlib.h>
17809
 
+#include <string.h>
17810
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
17811
 
+   <wchar.h>.
17812
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
17813
 
+   included before <wchar.h>.  */
17814
 
+#include <stddef.h>
17815
 
+#include <stdio.h>
17816
 
+#include <time.h>
17817
 
+#include <wchar.h>
17818
 
+int main ()
17819
 
+{
17820
 
+  int result = 0;
17821
 
+
17822
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
17823
 
+    {
17824
 
+      char input[] = "\303\237er";
17825
 
+      mbstate_t state;
17826
 
+      wchar_t wc;
17827
 
+      size_t ret;
17828
 
+
17829
 
+      memset (&state, '\0', sizeof (mbstate_t));
17830
 
+      wc = (wchar_t) 0xBADFACE;
17831
 
+      ret = mbrtowc (&wc, input, 5, &state);
17832
 
+      if (ret != 2)
17833
 
+        result |= 1;
17834
 
+      if (!mbsinit (&state))
17835
 
+        result |= 2;
17836
 
+
17837
 
+      memset (&state, '\0', sizeof (mbstate_t));
17838
 
+      ret = mbrtowc (NULL, input, 5, &state);
17839
 
+      if (ret != 2) /* Solaris 7 fails here: ret is -1.  */
17840
 
+        result |= 4;
17841
 
+      if (!mbsinit (&state))
17842
 
+        result |= 8;
17843
 
+    }
17844
 
+  return result;
17845
 
+}
17846
 
+_ACEOF
17847
 
+if ac_fn_c_try_run "$LINENO"; then :
17848
 
+  gl_cv_func_mbrtowc_null_arg1=yes
17849
 
+else
17850
 
+  gl_cv_func_mbrtowc_null_arg1=no
17851
 
+fi
17852
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17853
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
17854
 
+fi
17855
 
+
17856
 
+      fi
17857
 
+    
17858
 
+fi
17859
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg1" >&5
17860
 
+$as_echo "$gl_cv_func_mbrtowc_null_arg1" >&6; }
17861
 
+
17862
 
+      
17863
 
+  
17864
 
+  
17865
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5
17866
 
+$as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; }
17867
 
+if ${gl_cv_func_mbrtowc_null_arg2+:} false; then :
17868
 
+  $as_echo_n "(cached) " >&6
17869
 
+else
17870
 
+  
17871
 
+                  case "$host_os" in
17872
 
+              # Guess no on OSF/1.
17873
 
+        osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;;
17874
 
+              # Guess yes otherwise.
17875
 
+        *)    gl_cv_func_mbrtowc_null_arg2="guessing yes" ;;
17876
 
+      esac
17877
 
+      if test $LOCALE_FR_UTF8 != none; then
17878
 
+        if test "$cross_compiling" = yes; then :
17879
 
+  :
17880
 
+else
17881
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17882
 
+/* end confdefs.h.  */
17883
 
+
17884
 
+#include <locale.h>
17885
 
+#include <string.h>
17886
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
17887
 
+   <wchar.h>.
17888
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
17889
 
+   included before <wchar.h>.  */
17890
 
+#include <stddef.h>
17891
 
+#include <stdio.h>
17892
 
+#include <time.h>
17893
 
+#include <wchar.h>
17894
 
+int main ()
17895
 
+{
17896
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
17897
 
+    {
17898
 
+      mbstate_t state;
17899
 
+      wchar_t wc;
17900
 
+      int ret;
17901
 
+
17902
 
+      memset (&state, '\0', sizeof (mbstate_t));
17903
 
+      wc = (wchar_t) 0xBADFACE;
17904
 
+      mbrtowc (&wc, NULL, 5, &state);
17905
 
+      /* Check that wc was not modified.  */
17906
 
+      if (wc != (wchar_t) 0xBADFACE)
17907
 
+        return 1;
17908
 
+    }
17909
 
+  return 0;
17910
 
+}
17911
 
+_ACEOF
17912
 
+if ac_fn_c_try_run "$LINENO"; then :
17913
 
+  gl_cv_func_mbrtowc_null_arg2=yes
17914
 
+else
17915
 
+  gl_cv_func_mbrtowc_null_arg2=no
17916
 
+fi
17917
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17918
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
17919
 
+fi
17920
 
+
17921
 
+      fi
17922
 
+    
17923
 
+fi
17924
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg2" >&5
17925
 
+$as_echo "$gl_cv_func_mbrtowc_null_arg2" >&6; }
17926
 
+
17927
 
+      
17928
 
+  
17929
 
+  
17930
 
+  
17931
 
+  
17932
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5
17933
 
+$as_echo_n "checking whether mbrtowc has a correct return value... " >&6; }
17934
 
+if ${gl_cv_func_mbrtowc_retval+:} false; then :
17935
 
+  $as_echo_n "(cached) " >&6
17936
 
+else
17937
 
+  
17938
 
+                  case "$host_os" in
17939
 
+                                   # Guess no on HP-UX, Solaris, native Windows.
17940
 
+        hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;;
17941
 
+                                   # Guess yes otherwise.
17942
 
+        *)                         gl_cv_func_mbrtowc_retval="guessing yes" ;;
17943
 
+      esac
17944
 
+      if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \
17945
 
+         || { case "$host_os" in mingw*) true;; *) false;; esac; }; then
17946
 
+        if test "$cross_compiling" = yes; then :
17947
 
+  :
17948
 
+else
17949
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17950
 
+/* end confdefs.h.  */
17951
 
+
17952
 
+#include <locale.h>
17953
 
+#include <string.h>
17954
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
17955
 
+   <wchar.h>.
17956
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
17957
 
+   included before <wchar.h>.  */
17958
 
+#include <stddef.h>
17959
 
+#include <stdio.h>
17960
 
+#include <time.h>
17961
 
+#include <wchar.h>
17962
 
+int main ()
17963
 
+{
17964
 
+  int result = 0;
17965
 
+  int found_some_locale = 0;
17966
 
+  /* This fails on Solaris.  */
17967
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
17968
 
+    {
17969
 
+      char input[] = "B\303\274\303\237er"; /* "Büßer" */
17970
 
+      mbstate_t state;
17971
 
+      wchar_t wc;
17972
 
+
17973
 
+      memset (&state, '\0', sizeof (mbstate_t));
17974
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
17975
 
+        {
17976
 
+          input[1] = '\0';
17977
 
+          if (mbrtowc (&wc, input + 2, 5, &state) != 1)
17978
 
+            result |= 1;
17979
 
+        }
17980
 
+      found_some_locale = 1;
17981
 
+    }
17982
 
+  /* This fails on HP-UX 11.11.  */
17983
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
17984
 
+    {
17985
 
+      char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
17986
 
+      mbstate_t state;
17987
 
+      wchar_t wc;
17988
 
+
17989
 
+      memset (&state, '\0', sizeof (mbstate_t));
17990
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
17991
 
+        {
17992
 
+          input[1] = '\0';
17993
 
+          if (mbrtowc (&wc, input + 2, 5, &state) != 2)
17994
 
+            result |= 2;
17995
 
+        }
17996
 
+      found_some_locale = 1;
17997
 
+    }
17998
 
+  /* This fails on native Windows.  */
17999
 
+  if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL)
18000
 
+    {
18001
 
+      char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */
18002
 
+      mbstate_t state;
18003
 
+      wchar_t wc;
18004
 
+
18005
 
+      memset (&state, '\0', sizeof (mbstate_t));
18006
 
+      if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
18007
 
+        {
18008
 
+          input[3] = '\0';
18009
 
+          if (mbrtowc (&wc, input + 4, 4, &state) != 1)
18010
 
+            result |= 4;
18011
 
+        }
18012
 
+      found_some_locale = 1;
18013
 
+    }
18014
 
+  if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL)
18015
 
+    {
18016
 
+      char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */
18017
 
+      mbstate_t state;
18018
 
+      wchar_t wc;
18019
 
+
18020
 
+      memset (&state, '\0', sizeof (mbstate_t));
18021
 
+      if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
18022
 
+        {
18023
 
+          input[3] = '\0';
18024
 
+          if (mbrtowc (&wc, input + 4, 4, &state) != 1)
18025
 
+            result |= 8;
18026
 
+        }
18027
 
+      found_some_locale = 1;
18028
 
+    }
18029
 
+  if (setlocale (LC_ALL, "Chinese_China.936") != NULL)
18030
 
+    {
18031
 
+      char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */
18032
 
+      mbstate_t state;
18033
 
+      wchar_t wc;
18034
 
+
18035
 
+      memset (&state, '\0', sizeof (mbstate_t));
18036
 
+      if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
18037
 
+        {
18038
 
+          input[3] = '\0';
18039
 
+          if (mbrtowc (&wc, input + 4, 4, &state) != 1)
18040
 
+            result |= 16;
18041
 
+        }
18042
 
+      found_some_locale = 1;
18043
 
+    }
18044
 
+  return (found_some_locale ? result : 77);
18045
 
+}
18046
 
+_ACEOF
18047
 
+if ac_fn_c_try_run "$LINENO"; then :
18048
 
+  gl_cv_func_mbrtowc_retval=yes
18049
 
+else
18050
 
+  if test $? != 77; then
18051
 
+             gl_cv_func_mbrtowc_retval=no
18052
 
+           fi
18053
 
+          
18054
 
+fi
18055
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18056
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
18057
 
+fi
18058
 
+
18059
 
+      fi
18060
 
+    
18061
 
+fi
18062
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5
18063
 
+$as_echo "$gl_cv_func_mbrtowc_retval" >&6; }
18064
 
+
18065
 
+      
18066
 
+  
18067
 
+  
18068
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5
18069
 
+$as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; }
18070
 
+if ${gl_cv_func_mbrtowc_nul_retval+:} false; then :
18071
 
+  $as_echo_n "(cached) " >&6
18072
 
+else
18073
 
+  
18074
 
+                  case "$host_os" in
18075
 
+                       # Guess no on Solaris 8 and 9.
18076
 
+        solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;;
18077
 
+                       # Guess yes otherwise.
18078
 
+        *)             gl_cv_func_mbrtowc_nul_retval="guessing yes" ;;
18079
 
+      esac
18080
 
+      if test $LOCALE_ZH_CN != none; then
18081
 
+        if test "$cross_compiling" = yes; then :
18082
 
+  :
18083
 
+else
18084
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18085
 
+/* end confdefs.h.  */
18086
 
+
18087
 
+#include <locale.h>
18088
 
+#include <string.h>
18089
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
18090
 
+   <wchar.h>.
18091
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
18092
 
+   included before <wchar.h>.  */
18093
 
+#include <stddef.h>
18094
 
+#include <stdio.h>
18095
 
+#include <time.h>
18096
 
+#include <wchar.h>
18097
 
+int main ()
18098
 
+{
18099
 
+  /* This fails on Solaris 8 and 9.  */
18100
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
18101
 
+    {
18102
 
+      mbstate_t state;
18103
 
+      wchar_t wc;
18104
 
+
18105
 
+      memset (&state, '\0', sizeof (mbstate_t));
18106
 
+      if (mbrtowc (&wc, "", 1, &state) != 0)
18107
 
+        return 1;
18108
 
+    }
18109
 
+  return 0;
18110
 
+}
18111
 
+_ACEOF
18112
 
+if ac_fn_c_try_run "$LINENO"; then :
18113
 
+  gl_cv_func_mbrtowc_nul_retval=yes
18114
 
+else
18115
 
+  gl_cv_func_mbrtowc_nul_retval=no
18116
 
+fi
18117
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18118
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
18119
 
+fi
18120
 
+
18121
 
+      fi
18122
 
+    
18123
 
+fi
18124
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5
18125
 
+$as_echo "$gl_cv_func_mbrtowc_nul_retval" >&6; }
18126
 
+
18127
 
+      case "$gl_cv_func_mbrtowc_null_arg1" in
18128
 
+        *yes) ;;
18129
 
+        *) 
18130
 
+$as_echo "@%:@define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h
18131
 
+
18132
 
+           REPLACE_MBRTOWC=1
18133
 
+           ;;
18134
 
+      esac
18135
 
+      case "$gl_cv_func_mbrtowc_null_arg2" in
18136
 
+        *yes) ;;
18137
 
+        *) 
18138
 
+$as_echo "@%:@define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h
18139
 
+
18140
 
+           REPLACE_MBRTOWC=1
18141
 
+           ;;
18142
 
+      esac
18143
 
+      case "$gl_cv_func_mbrtowc_retval" in
18144
 
+        *yes) ;;
18145
 
+        *) 
18146
 
+$as_echo "@%:@define MBRTOWC_RETVAL_BUG 1" >>confdefs.h
18147
 
+
18148
 
+           REPLACE_MBRTOWC=1
18149
 
+           ;;
18150
 
+      esac
18151
 
+      case "$gl_cv_func_mbrtowc_nul_retval" in
18152
 
+        *yes) ;;
18153
 
+        *) 
18154
 
+$as_echo "@%:@define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h
18155
 
+
18156
 
+           REPLACE_MBRTOWC=1
18157
 
+           ;;
18158
 
+      esac
18159
 
+    fi
18160
 
+  fi
18161
 
+
18162
 
+
18163
 
+
18164
 
+
18165
 
+  GNULIB_FFSL=0;        
18166
 
+  GNULIB_FFSLL=0;       
18167
 
+  GNULIB_MEMCHR=0;      
18168
 
+  GNULIB_MEMMEM=0;      
18169
 
+  GNULIB_MEMPCPY=0;     
18170
 
+  GNULIB_MEMRCHR=0;     
18171
 
+  GNULIB_RAWMEMCHR=0;   
18172
 
+  GNULIB_STPCPY=0;      
18173
 
+  GNULIB_STPNCPY=0;     
18174
 
+  GNULIB_STRCHRNUL=0;   
18175
 
+  GNULIB_STRDUP=0;      
18176
 
+  GNULIB_STRNCAT=0;     
18177
 
+  GNULIB_STRNDUP=0;     
18178
 
+  GNULIB_STRNLEN=0;     
18179
 
+  GNULIB_STRPBRK=0;     
18180
 
+  GNULIB_STRSEP=0;      
18181
 
+  GNULIB_STRSTR=0;      
18182
 
+  GNULIB_STRCASESTR=0;  
18183
 
+  GNULIB_STRTOK_R=0;    
18184
 
+  GNULIB_MBSLEN=0;      
18185
 
+  GNULIB_MBSNLEN=0;     
18186
 
+  GNULIB_MBSCHR=0;      
18187
 
+  GNULIB_MBSRCHR=0;     
18188
 
+  GNULIB_MBSSTR=0;      
18189
 
+  GNULIB_MBSCASECMP=0;  
18190
 
+  GNULIB_MBSNCASECMP=0; 
18191
 
+  GNULIB_MBSPCASECMP=0; 
18192
 
+  GNULIB_MBSCASESTR=0;  
18193
 
+  GNULIB_MBSCSPN=0;     
18194
 
+  GNULIB_MBSPBRK=0;     
18195
 
+  GNULIB_MBSSPN=0;      
18196
 
+  GNULIB_MBSSEP=0;      
18197
 
+  GNULIB_MBSTOK_R=0;    
18198
 
+  GNULIB_STRERROR=0;    
18199
 
+  GNULIB_STRERROR_R=0;  
18200
 
+  GNULIB_STRSIGNAL=0;   
18201
 
+  GNULIB_STRVERSCMP=0;  
18202
 
+  HAVE_MBSLEN=0;        
18203
 
+    HAVE_FFSL=1;                  
18204
 
+  HAVE_FFSLL=1;                 
18205
 
+  HAVE_MEMCHR=1;                
18206
 
+  HAVE_DECL_MEMMEM=1;           
18207
 
+  HAVE_MEMPCPY=1;               
18208
 
+  HAVE_DECL_MEMRCHR=1;          
18209
 
+  HAVE_RAWMEMCHR=1;             
18210
 
+  HAVE_STPCPY=1;                
18211
 
+  HAVE_STPNCPY=1;               
18212
 
+  HAVE_STRCHRNUL=1;             
18213
 
+  HAVE_DECL_STRDUP=1;           
18214
 
+  HAVE_DECL_STRNDUP=1;          
18215
 
+  HAVE_DECL_STRNLEN=1;          
18216
 
+  HAVE_STRPBRK=1;               
18217
 
+  HAVE_STRSEP=1;                
18218
 
+  HAVE_STRCASESTR=1;            
18219
 
+  HAVE_DECL_STRTOK_R=1;         
18220
 
+  HAVE_DECL_STRERROR_R=1;       
18221
 
+  HAVE_DECL_STRSIGNAL=1;        
18222
 
+  HAVE_STRVERSCMP=1;            
18223
 
+  REPLACE_MEMCHR=0;             
18224
 
+  REPLACE_MEMMEM=0;             
18225
 
+  REPLACE_STPNCPY=0;            
18226
 
+  REPLACE_STRDUP=0;             
18227
 
+  REPLACE_STRSTR=0;             
18228
 
+  REPLACE_STRCASESTR=0;         
18229
 
+  REPLACE_STRCHRNUL=0;          
18230
 
+  REPLACE_STRERROR=0;           
18231
 
+  REPLACE_STRERROR_R=0;         
18232
 
+  REPLACE_STRNCAT=0;            
18233
 
+  REPLACE_STRNDUP=0;            
18234
 
+  REPLACE_STRNLEN=0;            
18235
 
+  REPLACE_STRSIGNAL=0;          
18236
 
+  REPLACE_STRTOK_R=0;           
18237
 
+  UNDEFINE_STRTOK_R=0;          
18238
 
+
18239
 
+
18240
 
+
18241
 
+
18242
 
+
18243
 
+
18244
 
+
18245
 
+
18246
 
+
18247
 
+
18248
 
+    
18249
 
+    
18250
 
+
18251
 
+  # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
18252
 
+  # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
18253
 
+  # irrelevant for anonymous mappings.
18254
 
+  ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
18255
 
+if test "x$ac_cv_func_mmap" = xyes; then :
18256
 
+  gl_have_mmap=yes
18257
 
+else
18258
 
+  gl_have_mmap=no
18259
 
+fi
18260
 
+
18261
 
+
18262
 
+  # Try to allow MAP_ANONYMOUS.
18263
 
+  gl_have_mmap_anonymous=no
18264
 
+  if test $gl_have_mmap = yes; then
18265
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
18266
 
+$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
18267
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18268
 
+/* end confdefs.h.  */
18269
 
+
18270
 
+#include <sys/mman.h>
18271
 
+#ifdef MAP_ANONYMOUS
18272
 
+    I cant identify this map
18273
 
+#endif
18274
 
+
18275
 
+_ACEOF
18276
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18277
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
18278
 
+  gl_have_mmap_anonymous=yes
18279
 
+fi
18280
 
+rm -f conftest*
18281
 
+
18282
 
+    if test $gl_have_mmap_anonymous != yes; then
18283
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18284
 
+/* end confdefs.h.  */
18285
 
+
18286
 
+#include <sys/mman.h>
18287
 
+#ifdef MAP_ANON
18288
 
+    I cant identify this map
18289
 
+#endif
18290
 
+
18291
 
+_ACEOF
18292
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18293
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
18294
 
+  
18295
 
+$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
18296
 
+
18297
 
+         gl_have_mmap_anonymous=yes
18298
 
+fi
18299
 
+rm -f conftest*
18300
 
+
18301
 
+    fi
18302
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
18303
 
+$as_echo "$gl_have_mmap_anonymous" >&6; }
18304
 
+    if test $gl_have_mmap_anonymous = yes; then
18305
 
+      
18306
 
+$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
18307
 
+
18308
 
+    fi
18309
 
+  fi
18310
 
+
18311
 
+  
18312
 
+  
18313
 
+
18314
 
+  
18315
 
+  
18316
 
+  if test $HAVE_MEMCHR = 1; then
18317
 
+    # Detect platform-specific bugs in some versions of glibc:
18318
 
+    # memchr should not dereference anything with length 0
18319
 
+    #   http://bugzilla.redhat.com/499689
18320
 
+    # memchr should not dereference overestimated length after a match
18321
 
+    #   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737
18322
 
+    #   http://sourceware.org/bugzilla/show_bug.cgi?id=10162
18323
 
+    # Assume that memchr works on platforms that lack mprotect.
18324
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5
18325
 
+$as_echo_n "checking whether memchr works... " >&6; }
18326
 
+if ${gl_cv_func_memchr_works+:} false; then :
18327
 
+  $as_echo_n "(cached) " >&6
18328
 
+else
18329
 
+  if test "$cross_compiling" = yes; then :
18330
 
+         gl_cv_func_memchr_works="guessing no"
18331
 
+else
18332
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18333
 
+/* end confdefs.h.  */
18334
 
+
18335
 
+#include <string.h>
18336
 
+#if HAVE_SYS_MMAN_H
18337
 
+# include <fcntl.h>
18338
 
+# include <unistd.h>
18339
 
+# include <sys/types.h>
18340
 
+# include <sys/mman.h>
18341
 
+# ifndef MAP_FILE
18342
 
+#  define MAP_FILE 0
18343
 
+# endif
18344
 
+#endif
18345
 
+
18346
 
+int
18347
 
+main ()
18348
 
+{
18349
 
+
18350
 
+  int result = 0;
18351
 
+  char *fence = NULL;
18352
 
+#if HAVE_SYS_MMAN_H && HAVE_MPROTECT
18353
 
+# if HAVE_MAP_ANONYMOUS
18354
 
+  const int flags = MAP_ANONYMOUS | MAP_PRIVATE;
18355
 
+  const int fd = -1;
18356
 
+# else /* !HAVE_MAP_ANONYMOUS */
18357
 
+  const int flags = MAP_FILE | MAP_PRIVATE;
18358
 
+  int fd = open ("/dev/zero", O_RDONLY, 0666);
18359
 
+  if (fd >= 0)
18360
 
+# endif
18361
 
+    {
18362
 
+      int pagesize = getpagesize ();
18363
 
+      char *two_pages =
18364
 
+        (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
18365
 
+                       flags, fd, 0);
18366
 
+      if (two_pages != (char *)(-1)
18367
 
+          && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0)
18368
 
+        fence = two_pages + pagesize;
18369
 
+    }
18370
 
+#endif
18371
 
+  if (fence)
18372
 
+    {
18373
 
+      if (memchr (fence, 0, 0))
18374
 
+        result |= 1;
18375
 
+      strcpy (fence - 9, "12345678");
18376
 
+      if (memchr (fence - 9, 0, 79) != fence - 1)
18377
 
+        result |= 2;
18378
 
+      if (memchr (fence - 1, 0, 3) != fence - 1)
18379
 
+        result |= 4;
18380
 
+    }
18381
 
+  return result;
18382
 
+
18383
 
+  ;
18384
 
+  return 0;
18385
 
+}
18386
 
+_ACEOF
18387
 
+if ac_fn_c_try_run "$LINENO"; then :
18388
 
+  gl_cv_func_memchr_works=yes
18389
 
+else
18390
 
+  gl_cv_func_memchr_works=no
18391
 
+fi
18392
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18393
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
18394
 
+fi
18395
 
+
18396
 
+fi
18397
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5
18398
 
+$as_echo "$gl_cv_func_memchr_works" >&6; }
18399
 
+    if test "$gl_cv_func_memchr_works" != yes; then
18400
 
+      REPLACE_MEMCHR=1
18401
 
+    fi
18402
 
+  fi
18403
 
+
18404
 
+ac_fn_c_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default"
18405
 
+if test "x$ac_cv_have_decl_memrchr" = xyes; then :
18406
 
+  ac_have_decl=1
18407
 
+else
18408
 
+  ac_have_decl=0
18409
 
+fi
18410
 
+
18411
 
+cat >>confdefs.h <<_ACEOF
18412
 
+@%:@define HAVE_DECL_MEMRCHR $ac_have_decl
18413
 
+_ACEOF
18414
 
+
18415
 
+
18416
 
+
18417
 
+
18418
 
+
18419
 
+
18420
 
+
18421
 
+
18422
 
+
18423
 
+
18424
 
+  GNULIB_MKTIME=0;                       
18425
 
+  GNULIB_NANOSLEEP=0;                    
18426
 
+  GNULIB_STRPTIME=0;                     
18427
 
+  GNULIB_TIMEGM=0;                       
18428
 
+  GNULIB_TIME_R=0;                       
18429
 
+    HAVE_DECL_LOCALTIME_R=1;               
18430
 
+  HAVE_NANOSLEEP=1;                      
18431
 
+  HAVE_STRPTIME=1;                       
18432
 
+  HAVE_TIMEGM=1;                         
18433
 
+        REPLACE_LOCALTIME_R=GNULIB_PORTCHECK;  
18434
 
+  REPLACE_MKTIME=GNULIB_PORTCHECK;       
18435
 
+  REPLACE_NANOSLEEP=GNULIB_PORTCHECK;    
18436
 
+  REPLACE_TIMEGM=GNULIB_PORTCHECK;       
18437
 
+
18438
 
+
18439
 
+
18440
 
+
18441
 
+
18442
 
+
18443
 
+  GNULIB_PSELECT=0; 
18444
 
+  GNULIB_SELECT=0; 
18445
 
+    HAVE_PSELECT=1; 
18446
 
+  REPLACE_PSELECT=0; 
18447
 
+  REPLACE_SELECT=0; 
18448
 
+
18449
 
+
18450
 
+
18451
 
+
18452
 
+  
18453
 
+  
18454
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/select.h> is self-contained" >&5
18455
 
+$as_echo_n "checking whether <sys/select.h> is self-contained... " >&6; }
18456
 
+if ${gl_cv_header_sys_select_h_selfcontained+:} false; then :
18457
 
+  $as_echo_n "(cached) " >&6
18458
 
+else
18459
 
+  
18460
 
+                                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18461
 
+/* end confdefs.h.  */
18462
 
+#include <sys/select.h>
18463
 
+int
18464
 
+main ()
18465
 
+{
18466
 
+struct timeval b;
18467
 
+  ;
18468
 
+  return 0;
18469
 
+}
18470
 
+_ACEOF
18471
 
+if ac_fn_c_try_compile "$LINENO"; then :
18472
 
+  gl_cv_header_sys_select_h_selfcontained=yes
18473
 
+else
18474
 
+  gl_cv_header_sys_select_h_selfcontained=no
18475
 
+fi
18476
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18477
 
+                        if test $gl_cv_header_sys_select_h_selfcontained = yes; then
18478
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18479
 
+/* end confdefs.h.  */
18480
 
+#include <sys/select.h>
18481
 
+int
18482
 
+main ()
18483
 
+{
18484
 
+int memset; int bzero;
18485
 
+  ;
18486
 
+  return 0;
18487
 
+}
18488
 
+          
18489
 
+_ACEOF
18490
 
+if ac_fn_c_try_compile "$LINENO"; then :
18491
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18492
 
+/* end confdefs.h.  */
18493
 
+#include <sys/select.h>
18494
 
+int
18495
 
+main ()
18496
 
+{
18497
 
+
18498
 
+                  #undef memset
18499
 
+                  #define memset nonexistent_memset
18500
 
+                  extern
18501
 
+                  #ifdef __cplusplus
18502
 
+                  "C"
18503
 
+                  #endif
18504
 
+                  void *memset (void *, int, unsigned long);
18505
 
+                  #undef bzero
18506
 
+                  #define bzero nonexistent_bzero
18507
 
+                  extern
18508
 
+                  #ifdef __cplusplus
18509
 
+                  "C"
18510
 
+                  #endif
18511
 
+                  void bzero (void *, unsigned long);
18512
 
+                  fd_set fds;
18513
 
+                  FD_ZERO (&fds);
18514
 
+                
18515
 
+  ;
18516
 
+  return 0;
18517
 
+}
18518
 
+             
18519
 
+_ACEOF
18520
 
+if ac_fn_c_try_link "$LINENO"; then :
18521
 
+  
18522
 
+else
18523
 
+  gl_cv_header_sys_select_h_selfcontained=no
18524
 
+fi
18525
 
+rm -f core conftest.err conftest.$ac_objext \
18526
 
+    conftest$ac_exeext conftest.$ac_ext
18527
 
+          
18528
 
+fi
18529
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18530
 
+      fi
18531
 
+    
18532
 
+fi
18533
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_select_h_selfcontained" >&5
18534
 
+$as_echo "$gl_cv_header_sys_select_h_selfcontained" >&6; }
18535
 
+    
18536
 
+  
18537
 
+  
18538
 
+  
18539
 
+
18540
 
+  
18541
 
+    
18542
 
+
18543
 
+  
18544
 
+     if test $gl_cv_have_include_next = yes; then
18545
 
+       gl_cv_next_sys_select_h='<'sys/select.h'>'
18546
 
+     else
18547
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/select.h>" >&5
18548
 
+$as_echo_n "checking absolute name of <sys/select.h>... " >&6; }
18549
 
+if ${gl_cv_next_sys_select_h+:} false; then :
18550
 
+  $as_echo_n "(cached) " >&6
18551
 
+else
18552
 
+  
18553
 
+             if test $ac_cv_header_sys_select_h = yes; then
18554
 
+             
18555
 
+            
18556
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18557
 
+/* end confdefs.h.  */
18558
 
+#include <sys/select.h>
18559
 
+                  
18560
 
+_ACEOF
18561
 
+                                                                                                                        case "$host_os" in
18562
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
18563
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
18564
 
+               esac
18565
 
+                                                            gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
18566
 
+                  sed -n '\#/sys/select.h#{
18567
 
+                    s#.*"\(.*/sys/select.h\)".*#\1#
18568
 
+                    s#^/[^/]#//&#
18569
 
+                    p
18570
 
+                    q
18571
 
+                  }'`'"'
18572
 
+          else
18573
 
+               gl_cv_next_sys_select_h='<'sys/select.h'>'
18574
 
+             fi
18575
 
+            
18576
 
+         
18577
 
+fi
18578
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_select_h" >&5
18579
 
+$as_echo "$gl_cv_next_sys_select_h" >&6; }
18580
 
+     fi
18581
 
+     NEXT_SYS_SELECT_H=$gl_cv_next_sys_select_h
18582
 
+
18583
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
18584
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
18585
 
+       gl_next_as_first_directive='<'sys/select.h'>'
18586
 
+     else
18587
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
18588
 
+       gl_next_as_first_directive=$gl_cv_next_sys_select_h
18589
 
+     fi
18590
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H=$gl_next_as_first_directive
18591
 
+
18592
 
+     
18593
 
+
18594
 
+
18595
 
+  if test $ac_cv_header_sys_select_h = yes; then
18596
 
+    HAVE_SYS_SELECT_H=1
18597
 
+  else
18598
 
+    HAVE_SYS_SELECT_H=0
18599
 
+  fi
18600
 
+  
18601
 
+  
18602
 
+  
18603
 
+  
18604
 
+  
18605
 
+  if test $ac_cv_header_sys_socket_h != yes; then
18606
 
+                    for ac_header in winsock2.h
18607
 
+do :
18608
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
18609
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
18610
 
+  cat >>confdefs.h <<_ACEOF
18611
 
+@%:@define HAVE_WINSOCK2_H 1
18612
 
+_ACEOF
18613
 
18614
 
+fi
18615
 
+
18616
 
+done
18617
 
+
18618
 
+  fi
18619
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
18620
 
+    HAVE_WINSOCK2_H=1
18621
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
18622
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
18623
 
+  else
18624
 
+    HAVE_WINSOCK2_H=0
18625
 
+  fi
18626
 
+  
18627
 
+
18628
 
+
18629
 
+      
18630
 
+    for gl_func in pselect select; do
18631
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
18632
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
18633
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
18634
 
+if eval \${$as_gl_Symbol+:} false; then :
18635
 
+  $as_echo_n "(cached) " >&6
18636
 
+else
18637
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18638
 
+/* end confdefs.h.  */
18639
 
+
18640
 
+/* Some systems require prerequisite headers.  */
18641
 
+#include <sys/types.h>
18642
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__) && HAVE_SYS_TIME_H
18643
 
+# include <sys/time.h>
18644
 
+#endif
18645
 
+#include <sys/select.h>
18646
 
+    
18647
 
+int
18648
 
+main ()
18649
 
+{
18650
 
+@%:@undef $gl_func
18651
 
+  (void) $gl_func;
18652
 
+  ;
18653
 
+  return 0;
18654
 
+}
18655
 
+_ACEOF
18656
 
+if ac_fn_c_try_compile "$LINENO"; then :
18657
 
+  eval "$as_gl_Symbol=yes"
18658
 
+else
18659
 
+  eval "$as_gl_Symbol=no"
18660
 
+fi
18661
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18662
 
+fi
18663
 
+eval ac_res=\$$as_gl_Symbol
18664
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18665
 
+$as_echo "$ac_res" >&6; }
18666
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
18667
 
+  cat >>confdefs.h <<_ACEOF
18668
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
18669
 
+_ACEOF
18670
 
+
18671
 
+                     eval ac_cv_have_decl_$gl_func=yes
18672
 
+fi
18673
 
+      done
18674
 
+
18675
 
+
18676
 
+
18677
 
+  
18678
 
+  
18679
 
+  
18680
 
+  
18681
 
+  if test $ac_cv_header_sys_socket_h != yes; then
18682
 
+                    for ac_header in winsock2.h
18683
 
+do :
18684
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
18685
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
18686
 
+  cat >>confdefs.h <<_ACEOF
18687
 
+@%:@define HAVE_WINSOCK2_H 1
18688
 
+_ACEOF
18689
 
18690
 
+fi
18691
 
+
18692
 
+done
18693
 
+
18694
 
+  fi
18695
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
18696
 
+    HAVE_WINSOCK2_H=1
18697
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
18698
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
18699
 
+  else
18700
 
+    HAVE_WINSOCK2_H=0
18701
 
+  fi
18702
 
+  
18703
 
+   LIBSOCKET=
18704
 
+  if test $HAVE_WINSOCK2_H = 1; then
18705
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to call WSAStartup in winsock2.h and -lws2_32" >&5
18706
 
+$as_echo_n "checking if we need to call WSAStartup in winsock2.h and -lws2_32... " >&6; }
18707
 
+if ${gl_cv_func_wsastartup+:} false; then :
18708
 
+  $as_echo_n "(cached) " >&6
18709
 
+else
18710
 
+  
18711
 
+      gl_save_LIBS="$LIBS"
18712
 
+      LIBS="$LIBS -lws2_32"
18713
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714
 
+/* end confdefs.h.  */
18715
 
+
18716
 
+#ifdef HAVE_WINSOCK2_H
18717
 
+# include <winsock2.h>
18718
 
+#endif
18719
 
+int
18720
 
+main ()
18721
 
+{
18722
 
+
18723
 
+          WORD wVersionRequested = MAKEWORD(1, 1);
18724
 
+          WSADATA wsaData;
18725
 
+          int err = WSAStartup(wVersionRequested, &wsaData);
18726
 
+          WSACleanup ();
18727
 
+  ;
18728
 
+  return 0;
18729
 
+}
18730
 
+_ACEOF
18731
 
+if ac_fn_c_try_link "$LINENO"; then :
18732
 
+  gl_cv_func_wsastartup=yes
18733
 
+else
18734
 
+  gl_cv_func_wsastartup=no
18735
 
+fi
18736
 
+rm -f core conftest.err conftest.$ac_objext \
18737
 
+    conftest$ac_exeext conftest.$ac_ext
18738
 
+      LIBS="$gl_save_LIBS"
18739
 
+    
18740
 
+fi
18741
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wsastartup" >&5
18742
 
+$as_echo "$gl_cv_func_wsastartup" >&6; }
18743
 
+    if test "$gl_cv_func_wsastartup" = "yes"; then
18744
 
+      
18745
 
+$as_echo "@%:@define WINDOWS_SOCKETS 1" >>confdefs.h
18746
 
+
18747
 
+      LIBSOCKET='-lws2_32'
18748
 
+    fi
18749
 
+  else
18750
 
+                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
18751
 
+$as_echo_n "checking for library containing setsockopt... " >&6; }
18752
 
+if ${gl_cv_lib_socket+:} false; then :
18753
 
+  $as_echo_n "(cached) " >&6
18754
 
+else
18755
 
+  
18756
 
+      gl_cv_lib_socket=
18757
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18758
 
+/* end confdefs.h.  */
18759
 
+extern
18760
 
+#ifdef __cplusplus
18761
 
+"C"
18762
 
+#endif
18763
 
+char setsockopt();
18764
 
+int
18765
 
+main ()
18766
 
+{
18767
 
+setsockopt();
18768
 
+  ;
18769
 
+  return 0;
18770
 
+}
18771
 
+_ACEOF
18772
 
+if ac_fn_c_try_link "$LINENO"; then :
18773
 
+  
18774
 
+else
18775
 
+  gl_save_LIBS="$LIBS"
18776
 
+         LIBS="$gl_save_LIBS -lsocket"
18777
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18778
 
+/* end confdefs.h.  */
18779
 
+extern
18780
 
+#ifdef __cplusplus
18781
 
+"C"
18782
 
+#endif
18783
 
+char setsockopt();
18784
 
+int
18785
 
+main ()
18786
 
+{
18787
 
+setsockopt();
18788
 
+  ;
18789
 
+  return 0;
18790
 
+}
18791
 
+_ACEOF
18792
 
+if ac_fn_c_try_link "$LINENO"; then :
18793
 
+  gl_cv_lib_socket="-lsocket"
18794
 
+fi
18795
 
+rm -f core conftest.err conftest.$ac_objext \
18796
 
+    conftest$ac_exeext conftest.$ac_ext
18797
 
+         if test -z "$gl_cv_lib_socket"; then
18798
 
+           LIBS="$gl_save_LIBS -lnetwork"
18799
 
+           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18800
 
+/* end confdefs.h.  */
18801
 
+extern
18802
 
+#ifdef __cplusplus
18803
 
+"C"
18804
 
+#endif
18805
 
+char setsockopt();
18806
 
+int
18807
 
+main ()
18808
 
+{
18809
 
+setsockopt();
18810
 
+  ;
18811
 
+  return 0;
18812
 
+}
18813
 
+_ACEOF
18814
 
+if ac_fn_c_try_link "$LINENO"; then :
18815
 
+  gl_cv_lib_socket="-lnetwork"
18816
 
+fi
18817
 
+rm -f core conftest.err conftest.$ac_objext \
18818
 
+    conftest$ac_exeext conftest.$ac_ext
18819
 
+           if test -z "$gl_cv_lib_socket"; then
18820
 
+             LIBS="$gl_save_LIBS -lnet"
18821
 
+             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18822
 
+/* end confdefs.h.  */
18823
 
+extern
18824
 
+#ifdef __cplusplus
18825
 
+"C"
18826
 
+#endif
18827
 
+char setsockopt();
18828
 
+int
18829
 
+main ()
18830
 
+{
18831
 
+setsockopt();
18832
 
+  ;
18833
 
+  return 0;
18834
 
+}
18835
 
+_ACEOF
18836
 
+if ac_fn_c_try_link "$LINENO"; then :
18837
 
+  gl_cv_lib_socket="-lnet"
18838
 
+fi
18839
 
+rm -f core conftest.err conftest.$ac_objext \
18840
 
+    conftest$ac_exeext conftest.$ac_ext
18841
 
+           fi
18842
 
+         fi
18843
 
+         LIBS="$gl_save_LIBS"
18844
 
+        
18845
 
+fi
18846
 
+rm -f core conftest.err conftest.$ac_objext \
18847
 
+    conftest$ac_exeext conftest.$ac_ext
18848
 
+      if test -z "$gl_cv_lib_socket"; then
18849
 
+        gl_cv_lib_socket="none needed"
18850
 
+      fi
18851
 
+    
18852
 
+fi
18853
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_socket" >&5
18854
 
+$as_echo "$gl_cv_lib_socket" >&6; }
18855
 
+    if test "$gl_cv_lib_socket" != "none needed"; then
18856
 
+      LIBSOCKET="$gl_cv_lib_socket"
18857
 
+    fi
18858
 
+  fi
18859
 
+  
18860
 
+
18861
 
+
18862
 
+  
18863
 
+  
18864
 
+  
18865
 
+  :
18866
 
+
18867
 
+
18868
 
+
18869
 
+  
18870
 
+     
18871
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
18872
 
+    REPLACE_SELECT=1
18873
 
+  else
18874
 
+            
18875
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether select supports a 0 argument" >&5
18876
 
+$as_echo_n "checking whether select supports a 0 argument... " >&6; }
18877
 
+if ${gl_cv_func_select_supports0+:} false; then :
18878
 
+  $as_echo_n "(cached) " >&6
18879
 
+else
18880
 
+  
18881
 
+        if test "$cross_compiling" = yes; then :
18882
 
+  
18883
 
+           case "$host_os" in
18884
 
+                       # Guess no on Interix.
18885
 
+             interix*) gl_cv_func_select_supports0="guessing no";;
18886
 
+                       # Guess yes otherwise.
18887
 
+             *)        gl_cv_func_select_supports0="guessing yes";;
18888
 
+           esac
18889
 
+          
18890
 
+else
18891
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18892
 
+/* end confdefs.h.  */
18893
 
+
18894
 
+#include <sys/types.h>
18895
 
+#include <sys/time.h>
18896
 
+#if HAVE_SYS_SELECT_H
18897
 
+#include <sys/select.h>
18898
 
+#endif
18899
 
+int main ()
18900
 
+{
18901
 
+  struct timeval timeout;
18902
 
+  timeout.tv_sec = 0;
18903
 
+  timeout.tv_usec = 5;
18904
 
+  return select (0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &timeout) < 0;
18905
 
+}
18906
 
+_ACEOF
18907
 
+if ac_fn_c_try_run "$LINENO"; then :
18908
 
+  gl_cv_func_select_supports0=yes
18909
 
+else
18910
 
+  gl_cv_func_select_supports0=no
18911
 
+fi
18912
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18913
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
18914
 
+fi
18915
 
+
18916
 
+      
18917
 
+fi
18918
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_select_supports0" >&5
18919
 
+$as_echo "$gl_cv_func_select_supports0" >&6; }
18920
 
+    case "$gl_cv_func_select_supports0" in
18921
 
+      *yes) ;;
18922
 
+      *) REPLACE_SELECT=1 ;;
18923
 
+    esac
18924
 
+  fi
18925
 
+
18926
 
+
18927
 
+
18928
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
18929
 
+$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
18930
 
+if ${ac_cv_header_stdbool_h+:} false; then :
18931
 
+  $as_echo_n "(cached) " >&6
18932
 
+else
18933
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18934
 
+/* end confdefs.h.  */
18935
 
+
18936
 
+             #include <stdbool.h>
18937
 
+             #ifndef bool
18938
 
+              "error: bool is not defined"
18939
 
+             #endif
18940
 
+             #ifndef false
18941
 
+              "error: false is not defined"
18942
 
+             #endif
18943
 
+             #if false
18944
 
+              "error: false is not 0"
18945
 
+             #endif
18946
 
+             #ifndef true
18947
 
+              "error: true is not defined"
18948
 
+             #endif
18949
 
+             #if true != 1
18950
 
+              "error: true is not 1"
18951
 
+             #endif
18952
 
+             #ifndef __bool_true_false_are_defined
18953
 
+              "error: __bool_true_false_are_defined is not defined"
18954
 
+             #endif
18955
 
+
18956
 
+             struct s { _Bool s: 1; _Bool t; } s;
18957
 
+
18958
 
+             char a[true == 1 ? 1 : -1];
18959
 
+             char b[false == 0 ? 1 : -1];
18960
 
+             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
18961
 
+             char d[(bool) 0.5 == true ? 1 : -1];
18962
 
+             /* See body of main program for 'e'.  */
18963
 
+             char f[(_Bool) 0.0 == false ? 1 : -1];
18964
 
+             char g[true];
18965
 
+             char h[sizeof (_Bool)];
18966
 
+             char i[sizeof s.t];
18967
 
+             enum { j = false, k = true, l = false * true, m = true * 256 };
18968
 
+             /* The following fails for
18969
 
+                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
18970
 
+             _Bool n[m];
18971
 
+             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
18972
 
+             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
18973
 
+             /* Catch a bug in an HP-UX C compiler.  See
18974
 
+                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
18975
 
+                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
18976
 
+              */
18977
 
+             _Bool q = true;
18978
 
+             _Bool *pq = &q;
18979
 
+           
18980
 
+int
18981
 
+main ()
18982
 
+{
18983
 
+
18984
 
+             bool e = &s;
18985
 
+             *pq |= q;
18986
 
+             *pq |= ! q;
18987
 
+             /* Refer to every declared value, to avoid compiler optimizations.  */
18988
 
+             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
18989
 
+                     + !m + !n + !o + !p + !q + !pq);
18990
 
+           
18991
 
+  ;
18992
 
+  return 0;
18993
 
+}
18994
 
+_ACEOF
18995
 
+if ac_fn_c_try_compile "$LINENO"; then :
18996
 
+  ac_cv_header_stdbool_h=yes
18997
 
+else
18998
 
+  ac_cv_header_stdbool_h=no
18999
 
+fi
19000
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19001
 
+fi
19002
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
19003
 
+$as_echo "$ac_cv_header_stdbool_h" >&6; }
19004
 
+   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
19005
 
+if test "x$ac_cv_type__Bool" = xyes; then :
19006
 
+  
19007
 
+cat >>confdefs.h <<_ACEOF
19008
 
+@%:@define HAVE__BOOL 1
19009
 
+_ACEOF
19010
 
+
19011
 
+
19012
 
+fi
19013
 
+
19014
 
+
19015
 
+
19016
 
+  
19017
 
+
19018
 
+  # Define two additional variables used in the Makefile substitution.
19019
 
+
19020
 
+  if test "$ac_cv_header_stdbool_h" = yes; then
19021
 
+    STDBOOL_H=''
19022
 
+  else
19023
 
+    STDBOOL_H='stdbool.h'
19024
 
+  fi
19025
 
+  
19026
 
+   if test -n "$STDBOOL_H"; then
19027
 
+  GL_GENERATE_STDBOOL_H_TRUE=
19028
 
+  GL_GENERATE_STDBOOL_H_FALSE='#'
19029
 
+else
19030
 
+  GL_GENERATE_STDBOOL_H_TRUE='#'
19031
 
+  GL_GENERATE_STDBOOL_H_FALSE=
19032
 
+fi
19033
 
+
19034
 
+
19035
 
+  if test "$ac_cv_type__Bool" = yes; then
19036
 
+    HAVE__BOOL=1
19037
 
+  else
19038
 
+    HAVE__BOOL=0
19039
 
+  fi
19040
 
+  
19041
 
+
19042
 
+
19043
 
+  # parse-datetime.y works with bison only.
19044
 
+  : ${YACC='bison -y'}
19045
 
+    
19046
 
+
19047
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compound literals" >&5
19048
 
+$as_echo_n "checking for compound literals... " >&6; }
19049
 
+if ${gl_cv_compound_literals+:} false; then :
19050
 
+  $as_echo_n "(cached) " >&6
19051
 
+else
19052
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19053
 
+/* end confdefs.h.  */
19054
 
+struct s { int i, j; };
19055
 
+int
19056
 
+main ()
19057
 
+{
19058
 
+struct s t = (struct s) { 3, 4 };
19059
 
+        if (t.i != 0) return 0;
19060
 
+  ;
19061
 
+  return 0;
19062
 
+}
19063
 
+_ACEOF
19064
 
+if ac_fn_c_try_compile "$LINENO"; then :
19065
 
+  gl_cv_compound_literals=yes
19066
 
+else
19067
 
+  gl_cv_compound_literals=no
19068
 
+fi
19069
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19070
 
+fi
19071
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_compound_literals" >&5
19072
 
+$as_echo "$gl_cv_compound_literals" >&6; }
19073
 
+  if test $gl_cv_compound_literals = yes; then
19074
 
+    
19075
 
+$as_echo "@%:@define HAVE_COMPOUND_LITERALS 1" >>confdefs.h
19076
 
+
19077
 
+  fi
19078
 
+
19079
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
19080
 
+$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
19081
 
+if ${ac_cv_struct_tm+:} false; then :
19082
 
+  $as_echo_n "(cached) " >&6
19083
 
+else
19084
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19085
 
+/* end confdefs.h.  */
19086
 
+#include <sys/types.h>
19087
 
+#include <time.h>
19088
 
+
19089
 
+int
19090
 
+main ()
19091
 
+{
19092
 
+struct tm tm;
19093
 
+                                    int *p = &tm.tm_sec;
19094
 
+                                    return !p;
19095
 
+  ;
19096
 
+  return 0;
19097
 
+}
19098
 
+_ACEOF
19099
 
+if ac_fn_c_try_compile "$LINENO"; then :
19100
 
+  ac_cv_struct_tm=time.h
19101
 
+else
19102
 
+  ac_cv_struct_tm=sys/time.h
19103
 
+fi
19104
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19105
 
+fi
19106
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
19107
 
+$as_echo "$ac_cv_struct_tm" >&6; }
19108
 
+if test $ac_cv_struct_tm = sys/time.h; then
19109
 
+  
19110
 
+$as_echo "@%:@define TM_IN_SYS_TIME 1" >>confdefs.h
19111
 
+
19112
 
+fi
19113
 
+
19114
 
+
19115
 
+ ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
19116
 
+"
19117
 
+if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
19118
 
+  
19119
 
+$as_echo "@%:@define HAVE_TM_GMTOFF 1" >>confdefs.h
19120
 
+
19121
 
+fi
19122
 
+
19123
 
+
19124
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for external symbol _system_configuration" >&5
19125
 
+$as_echo_n "checking for external symbol _system_configuration... " >&6; }
19126
 
+if ${gl_cv_var__system_configuration+:} false; then :
19127
 
+  $as_echo_n "(cached) " >&6
19128
 
+else
19129
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19130
 
+/* end confdefs.h.  */
19131
 
+#include <sys/systemcfg.h>
19132
 
+                      
19133
 
+int
19134
 
+main ()
19135
 
+{
19136
 
+double x = _system_configuration.physmem;
19137
 
+                        if (x > 0.0) return 0;
19138
 
+  ;
19139
 
+  return 0;
19140
 
+}
19141
 
+_ACEOF
19142
 
+if ac_fn_c_try_link "$LINENO"; then :
19143
 
+  gl_cv_var__system_configuration=yes
19144
 
+else
19145
 
+  gl_cv_var__system_configuration=no
19146
 
+fi
19147
 
+rm -f core conftest.err conftest.$ac_objext \
19148
 
+    conftest$ac_exeext conftest.$ac_ext
19149
 
+fi
19150
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var__system_configuration" >&5
19151
 
+$as_echo "$gl_cv_var__system_configuration" >&6; }
19152
 
+
19153
 
+    if test $gl_cv_var__system_configuration = yes; then
19154
 
+      
19155
 
+$as_echo "@%:@define HAVE__SYSTEM_CONFIGURATION 1" >>confdefs.h
19156
 
+
19157
 
+    fi
19158
 
+  
19159
 
+
19160
 
+
19161
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for desired default level of POSIX conformance" >&5
19162
 
+$as_echo_n "checking for desired default level of POSIX conformance... " >&6; }
19163
 
+  gl_default_posix2_version=none-specified
19164
 
+  if test -n "$ac_cv_env_DEFAULT_POSIX2_VERSION_set"; then
19165
 
+    gl_default_posix2_version=$ac_cv_env_DEFAULT_POSIX2_VERSION_value
19166
 
+    
19167
 
+cat >>confdefs.h <<_ACEOF
19168
 
+@%:@define DEFAULT_POSIX2_VERSION $gl_default_posix2_version
19169
 
+_ACEOF
19170
 
+
19171
 
+  fi
19172
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_default_posix2_version" >&5
19173
 
+$as_echo "$gl_default_posix2_version" >&6; }
19174
 
+  
19175
 
+
19176
 
+
19177
 
+
19178
 
+
19179
 
+    HAVE_PTHREAD_H=1;              
19180
 
+  HAVE_PTHREAD_T=1;              
19181
 
+  HAVE_PTHREAD_SPINLOCK_T=1;     
19182
 
+
19183
 
+
19184
 
+
19185
 
+
19186
 
+
19187
 
+
19188
 
+
19189
 
+
19190
 
+
19191
 
+
19192
 
+
19193
 
+
19194
 
+
19195
 
+
19196
 
+  
19197
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rmdir works" >&5
19198
 
+$as_echo_n "checking whether rmdir works... " >&6; }
19199
 
+if ${gl_cv_func_rmdir_works+:} false; then :
19200
 
+  $as_echo_n "(cached) " >&6
19201
 
+else
19202
 
+  mkdir conftest.dir
19203
 
+     touch conftest.file
19204
 
+     if test "$cross_compiling" = yes; then :
19205
 
+  gl_cv_func_rmdir_works="guessing no"
19206
 
+else
19207
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19208
 
+/* end confdefs.h.  */
19209
 
+#include <stdio.h>
19210
 
+           #include <errno.h>
19211
 
+           #include <unistd.h>
19212
 
+
19213
 
+int
19214
 
+main ()
19215
 
+{
19216
 
+int result = 0;
19217
 
+      if (!rmdir ("conftest.file/"))
19218
 
+        result |= 1;
19219
 
+      else if (errno != ENOTDIR)
19220
 
+        result |= 2;
19221
 
+      if (!rmdir ("conftest.dir/./"))
19222
 
+        result |= 4;
19223
 
+      return result;
19224
 
+    
19225
 
+  ;
19226
 
+  return 0;
19227
 
+}
19228
 
+_ACEOF
19229
 
+if ac_fn_c_try_run "$LINENO"; then :
19230
 
+  gl_cv_func_rmdir_works=yes
19231
 
+else
19232
 
+  gl_cv_func_rmdir_works=no
19233
 
+fi
19234
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19235
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
19236
 
+fi
19237
 
+
19238
 
+     rm -rf conftest.dir conftest.file
19239
 
+fi
19240
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rmdir_works" >&5
19241
 
+$as_echo "$gl_cv_func_rmdir_works" >&6; }
19242
 
+  if test x"$gl_cv_func_rmdir_works" != xyes; then
19243
 
+    REPLACE_RMDIR=1
19244
 
+  fi
19245
 
+
19246
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
19247
 
+$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
19248
 
+if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
19249
 
+  $as_echo_n "(cached) " >&6
19250
 
+else
19251
 
+  rm -f conftest.sym conftest.file
19252
 
+echo >conftest.file
19253
 
+if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
19254
 
+  if test "$cross_compiling" = yes; then :
19255
 
+  ac_cv_func_lstat_dereferences_slashed_symlink=no
19256
 
+else
19257
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19258
 
+/* end confdefs.h.  */
19259
 
+$ac_includes_default
19260
 
+int
19261
 
+main ()
19262
 
+{
19263
 
+struct stat sbuf;
19264
 
+     /* Linux will dereference the symlink and fail, as required by POSIX.
19265
 
+       That is better in the sense that it means we will not
19266
 
+       have to compile and use the lstat wrapper.  */
19267
 
+     return lstat ("conftest.sym/", &sbuf) == 0;
19268
 
+  ;
19269
 
+  return 0;
19270
 
+}
19271
 
+_ACEOF
19272
 
+if ac_fn_c_try_run "$LINENO"; then :
19273
 
+  ac_cv_func_lstat_dereferences_slashed_symlink=yes
19274
 
+else
19275
 
+  ac_cv_func_lstat_dereferences_slashed_symlink=no
19276
 
+fi
19277
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19278
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
19279
 
+fi
19280
 
+
19281
 
+else
19282
 
+  # If the `ln -s' command failed, then we probably don't even
19283
 
+  # have an lstat function.
19284
 
+  ac_cv_func_lstat_dereferences_slashed_symlink=no
19285
 
+fi
19286
 
+rm -f conftest.sym conftest.file
19287
 
+
19288
 
+fi
19289
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
19290
 
+$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
19291
 
+
19292
 
+test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
19293
 
+  
19294
 
+cat >>confdefs.h <<_ACEOF
19295
 
+@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
19296
 
+_ACEOF
19297
 
+
19298
 
+
19299
 
+if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
19300
 
+  
19301
 
+  
19302
 
+  
19303
 
+    
19304
 
+      
19305
 
+      
19306
 
+    
19307
 
+  
19308
 
+  gl_LIBOBJS="$gl_LIBOBJS lstat.$ac_objext"
19309
 
+
19310
 
+fi
19311
 
+
19312
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5
19313
 
+$as_echo_n "checking whether lstat accepts an empty string... " >&6; }
19314
 
+if ${ac_cv_func_lstat_empty_string_bug+:} false; then :
19315
 
+  $as_echo_n "(cached) " >&6
19316
 
+else
19317
 
+  if test "$cross_compiling" = yes; then :
19318
 
+  ac_cv_func_lstat_empty_string_bug=yes
19319
 
+else
19320
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19321
 
+/* end confdefs.h.  */
19322
 
+$ac_includes_default
19323
 
+int
19324
 
+main ()
19325
 
+{
19326
 
+struct stat sbuf;
19327
 
+  return lstat ("", &sbuf) == 0;
19328
 
+  ;
19329
 
+  return 0;
19330
 
+}
19331
 
+_ACEOF
19332
 
+if ac_fn_c_try_run "$LINENO"; then :
19333
 
+  ac_cv_func_lstat_empty_string_bug=no
19334
 
+else
19335
 
+  ac_cv_func_lstat_empty_string_bug=yes
19336
 
+fi
19337
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19338
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
19339
 
+fi
19340
 
+
19341
 
+fi
19342
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5
19343
 
+$as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
19344
 
+if test $ac_cv_func_lstat_empty_string_bug = yes; then
19345
 
+  
19346
 
+  
19347
 
+  
19348
 
+    
19349
 
+      
19350
 
+      
19351
 
+    
19352
 
+  
19353
 
+  gl_LIBOBJS="$gl_LIBOBJS lstat.$ac_objext"
19354
 
+
19355
 
+  
19356
 
+cat >>confdefs.h <<_ACEOF
19357
 
+@%:@define HAVE_LSTAT_EMPTY_STRING_BUG 1
19358
 
+_ACEOF
19359
 
+
19360
 
+fi
19361
 
+
19362
 
+
19363
 
+
19364
 
+
19365
 
+  
19366
 
+  
19367
 
+
19368
 
+  
19369
 
+@%:@ Check whether --with-selinux was given.
19370
 
+if test "${with_selinux+set}" = set; then :
19371
 
+  withval=$with_selinux; 
19372
 
+else
19373
 
+  with_selinux=maybe
19374
 
+fi
19375
 
+
19376
 
+
19377
 
+  LIB_SELINUX=
19378
 
+  if test "$with_selinux" != no; then
19379
 
+    gl_save_LIBS=$LIBS
19380
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setfilecon" >&5
19381
 
+$as_echo_n "checking for library containing setfilecon... " >&6; }
19382
 
+if ${ac_cv_search_setfilecon+:} false; then :
19383
 
+  $as_echo_n "(cached) " >&6
19384
 
+else
19385
 
+  ac_func_search_save_LIBS=$LIBS
19386
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19387
 
+/* end confdefs.h.  */
19388
 
+
19389
 
+/* Override any GCC internal prototype to avoid an error.
19390
 
+   Use char because int might match the return type of a GCC
19391
 
+   builtin and then its argument prototype would still apply.  */
19392
 
+#ifdef __cplusplus
19393
 
+extern "C"
19394
 
+#endif
19395
 
+char setfilecon ();
19396
 
+int
19397
 
+main ()
19398
 
+{
19399
 
+return setfilecon ();
19400
 
+  ;
19401
 
+  return 0;
19402
 
+}
19403
 
+_ACEOF
19404
 
+for ac_lib in '' selinux; do
19405
 
+  if test -z "$ac_lib"; then
19406
 
+    ac_res="none required"
19407
 
+  else
19408
 
+    ac_res=-l$ac_lib
19409
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19410
 
+  fi
19411
 
+  if ac_fn_c_try_link "$LINENO"; then :
19412
 
+  ac_cv_search_setfilecon=$ac_res
19413
 
+fi
19414
 
+rm -f core conftest.err conftest.$ac_objext \
19415
 
+    conftest$ac_exeext
19416
 
+  if ${ac_cv_search_setfilecon+:} false; then :
19417
 
+  break
19418
 
+fi
19419
 
+done
19420
 
+if ${ac_cv_search_setfilecon+:} false; then :
19421
 
+  
19422
 
+else
19423
 
+  ac_cv_search_setfilecon=no
19424
 
+fi
19425
 
+rm conftest.$ac_ext
19426
 
+LIBS=$ac_func_search_save_LIBS
19427
 
+fi
19428
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setfilecon" >&5
19429
 
+$as_echo "$ac_cv_search_setfilecon" >&6; }
19430
 
+ac_res=$ac_cv_search_setfilecon
19431
 
+if test "$ac_res" != no; then :
19432
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19433
 
+  test "$ac_cv_search_setfilecon" = "none required" ||
19434
 
+                    LIB_SELINUX=$ac_cv_search_setfilecon
19435
 
+fi
19436
 
+
19437
 
+    LIBS=$gl_save_LIBS
19438
 
+  fi
19439
 
+  
19440
 
+
19441
 
+  # Warn if SELinux is found but libselinux is absent;
19442
 
+  if test "$ac_cv_search_setfilecon" = no &&
19443
 
+     test "$host" = "$build" && test -d /selinux; then
19444
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This system supports SELinux but libselinux is missing." >&5
19445
 
+$as_echo "$as_me: WARNING: This system supports SELinux but libselinux is missing." >&2;}
19446
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU coreutils will be compiled without SELinux support." >&5
19447
 
+$as_echo "$as_me: WARNING: GNU coreutils will be compiled without SELinux support." >&2;}
19448
 
+  fi
19449
 
+
19450
 
+
19451
 
+
19452
 
+ac_fn_c_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default"
19453
 
+if test "x$ac_cv_have_decl_setenv" = xyes; then :
19454
 
+  ac_have_decl=1
19455
 
+else
19456
 
+  ac_have_decl=0
19457
 
+fi
19458
 
+
19459
 
+cat >>confdefs.h <<_ACEOF
19460
 
+@%:@define HAVE_DECL_SETENV $ac_have_decl
19461
 
+_ACEOF
19462
 
+
19463
 
+
19464
 
+
19465
 
+
19466
 
+  
19467
 
+  
19468
 
+  if test $ac_cv_have_decl_setenv = no; then
19469
 
+    HAVE_DECL_SETENV=0
19470
 
+  fi
19471
 
+  
19472
 
+  
19473
 
+  
19474
 
+  
19475
 
+  
19476
 
+  for ac_header in search.h
19477
 
+do :
19478
 
+  ac_fn_c_check_header_mongrel "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default"
19479
 
+if test "x$ac_cv_header_search_h" = xyes; then :
19480
 
+  cat >>confdefs.h <<_ACEOF
19481
 
+@%:@define HAVE_SEARCH_H 1
19482
 
+_ACEOF
19483
 
19484
 
+fi
19485
 
+
19486
 
+done
19487
 
+
19488
 
+  for ac_func in tsearch
19489
 
+do :
19490
 
+  ac_fn_c_check_func "$LINENO" "tsearch" "ac_cv_func_tsearch"
19491
 
+if test "x$ac_cv_func_tsearch" = xyes; then :
19492
 
+  cat >>confdefs.h <<_ACEOF
19493
 
+@%:@define HAVE_TSEARCH 1
19494
 
+_ACEOF
19495
 
19496
 
+fi
19497
 
+done
19498
 
+
19499
 
+
19500
 
+
19501
 
+
19502
 
+
19503
 
+
19504
 
+
19505
 
+
19506
 
+  GNULIB_PTHREAD_SIGMASK=0;    
19507
 
+  GNULIB_SIGNAL_H_SIGPIPE=0;   
19508
 
+  GNULIB_SIGPROCMASK=0;        
19509
 
+  GNULIB_SIGACTION=0;          
19510
 
+    HAVE_POSIX_SIGNALBLOCKING=1; 
19511
 
+  HAVE_PTHREAD_SIGMASK=1;      
19512
 
+  HAVE_SIGSET_T=1;             
19513
 
+  HAVE_SIGINFO_T=1;            
19514
 
+  HAVE_SIGACTION=1;            
19515
 
+  HAVE_STRUCT_SIGACTION_SA_SIGACTION=1;
19516
 
+                               
19517
 
+  HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1;
19518
 
+                               
19519
 
+  HAVE_SIGHANDLER_T=1;         
19520
 
+  REPLACE_PTHREAD_SIGMASK=0;   
19521
 
+
19522
 
+
19523
 
+
19524
 
+
19525
 
+
19526
 
+
19527
 
+
19528
 
+
19529
 
+  ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "
19530
 
+      #include <signal.h>
19531
 
+      /* Mingw defines sigset_t not in <signal.h>, but in <sys/types.h>.  */
19532
 
+      #include <sys/types.h>
19533
 
+    
19534
 
+"
19535
 
+if test "x$ac_cv_type_sigset_t" = xyes; then :
19536
 
+  
19537
 
+cat >>confdefs.h <<_ACEOF
19538
 
+@%:@define HAVE_SIGSET_T 1
19539
 
+_ACEOF
19540
 
+
19541
 
+gl_cv_type_sigset_t=yes
19542
 
+else
19543
 
+  gl_cv_type_sigset_t=no
19544
 
+fi
19545
 
+
19546
 
+  if test $gl_cv_type_sigset_t != yes; then
19547
 
+    HAVE_SIGSET_T=0
19548
 
+  fi
19549
 
+
19550
 
+
19551
 
+  
19552
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5
19553
 
+$as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; }
19554
 
+if ${gl_cv_func_snprintf_retval_c99+:} false; then :
19555
 
+  $as_echo_n "(cached) " >&6
19556
 
+else
19557
 
+  
19558
 
+      if test "$cross_compiling" = yes; then :
19559
 
+  
19560
 
+         case "$host_os" in
19561
 
+                                 # Guess yes on glibc systems.
19562
 
+           *-gnu*)               gl_cv_func_snprintf_retval_c99="guessing yes";;
19563
 
+                                 # Guess yes on FreeBSD >= 5.
19564
 
+           freebsd[1-4]*)        gl_cv_func_snprintf_retval_c99="guessing no";;
19565
 
+           freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";;
19566
 
+                                 # Guess yes on MacOS X >= 10.3.
19567
 
+           darwin[1-6].*)        gl_cv_func_snprintf_retval_c99="guessing no";;
19568
 
+           darwin*)              gl_cv_func_snprintf_retval_c99="guessing yes";;
19569
 
+                                 # Guess yes on OpenBSD >= 3.9.
19570
 
+           openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
19571
 
+                                 gl_cv_func_snprintf_retval_c99="guessing no";;
19572
 
+           openbsd*)             gl_cv_func_snprintf_retval_c99="guessing yes";;
19573
 
+                                 # Guess yes on Solaris >= 2.10.
19574
 
+           solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
19575
 
+           solaris*)             gl_cv_func_printf_sizes_c99="guessing no";;
19576
 
+                                 # Guess yes on AIX >= 4.
19577
 
+           aix[1-3]*)            gl_cv_func_snprintf_retval_c99="guessing no";;
19578
 
+           aix*)                 gl_cv_func_snprintf_retval_c99="guessing yes";;
19579
 
+                                 # Guess yes on NetBSD >= 3.
19580
 
+           netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
19581
 
+                                 gl_cv_func_snprintf_retval_c99="guessing no";;
19582
 
+           netbsd*)              gl_cv_func_snprintf_retval_c99="guessing yes";;
19583
 
+                                 # Guess yes on BeOS.
19584
 
+           beos*)                gl_cv_func_snprintf_retval_c99="guessing yes";;
19585
 
+                                 # If we don't know, assume the worst.
19586
 
+           *)                    gl_cv_func_snprintf_retval_c99="guessing no";;
19587
 
+         esac
19588
 
+        
19589
 
+else
19590
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19591
 
+/* end confdefs.h.  */
19592
 
+
19593
 
+#include <stdio.h>
19594
 
+#include <string.h>
19595
 
+static char buf[100];
19596
 
+int main ()
19597
 
+{
19598
 
+  strcpy (buf, "ABCDEF");
19599
 
+  if (snprintf (buf, 3, "%d %d", 4567, 89) != 7)
19600
 
+    return 1;
19601
 
+  if (snprintf (buf, 0, "%d %d", 4567, 89) != 7)
19602
 
+    return 2;
19603
 
+  if (snprintf (NULL, 0, "%d %d", 4567, 89) != 7)
19604
 
+    return 3;
19605
 
+  return 0;
19606
 
+}
19607
 
+_ACEOF
19608
 
+if ac_fn_c_try_run "$LINENO"; then :
19609
 
+  gl_cv_func_snprintf_retval_c99=yes
19610
 
+else
19611
 
+  gl_cv_func_snprintf_retval_c99=no
19612
 
+fi
19613
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19614
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
19615
 
+fi
19616
 
+
19617
 
+    
19618
 
+fi
19619
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_retval_c99" >&5
19620
 
+$as_echo "$gl_cv_func_snprintf_retval_c99" >&6; }
19621
 
+
19622
 
+ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
19623
 
+if test "x$ac_cv_have_decl_snprintf" = xyes; then :
19624
 
+  ac_have_decl=1
19625
 
+else
19626
 
+  ac_have_decl=0
19627
 
+fi
19628
 
+
19629
 
+cat >>confdefs.h <<_ACEOF
19630
 
+@%:@define HAVE_DECL_SNPRINTF $ac_have_decl
19631
 
+_ACEOF
19632
 
+
19633
 
+ac_fn_c_check_decl "$LINENO" "stpncpy" "ac_cv_have_decl_stpncpy" "$ac_includes_default"
19634
 
+if test "x$ac_cv_have_decl_stpncpy" = xyes; then :
19635
 
+  ac_have_decl=1
19636
 
+else
19637
 
+  ac_have_decl=0
19638
 
+fi
19639
 
+
19640
 
+cat >>confdefs.h <<_ACEOF
19641
 
+@%:@define HAVE_DECL_STPNCPY $ac_have_decl
19642
 
+_ACEOF
19643
 
+
19644
 
+
19645
 
+
19646
 
+
19647
 
+
19648
 
+ac_fn_c_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default"
19649
 
+if test "x$ac_cv_have_decl_strdup" = xyes; then :
19650
 
+  ac_have_decl=1
19651
 
+else
19652
 
+  ac_have_decl=0
19653
 
+fi
19654
 
+
19655
 
+cat >>confdefs.h <<_ACEOF
19656
 
+@%:@define HAVE_DECL_STRDUP $ac_have_decl
19657
 
+_ACEOF
19658
 
+
19659
 
+
19660
 
+  REPLACE_STRERROR_0=0
19661
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5
19662
 
+$as_echo_n "checking whether strerror(0) succeeds... " >&6; }
19663
 
+if ${gl_cv_func_strerror_0_works+:} false; then :
19664
 
+  $as_echo_n "(cached) " >&6
19665
 
+else
19666
 
+  if test "$cross_compiling" = yes; then :
19667
 
+         gl_cv_func_strerror_0_works="guessing no"
19668
 
+else
19669
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670
 
+/* end confdefs.h.  */
19671
 
+#include <string.h>
19672
 
+           #include <errno.h>
19673
 
+         
19674
 
+int
19675
 
+main ()
19676
 
+{
19677
 
+int result = 0;
19678
 
+           char *str;
19679
 
+           errno = 0;
19680
 
+           str = strerror (0);
19681
 
+           if (!*str) result |= 1;
19682
 
+           if (errno) result |= 2;
19683
 
+           if (strstr (str, "nknown") || strstr (str, "ndefined"))
19684
 
+             result |= 4;
19685
 
+           return result;
19686
 
+  ;
19687
 
+  return 0;
19688
 
+}
19689
 
+_ACEOF
19690
 
+if ac_fn_c_try_run "$LINENO"; then :
19691
 
+  gl_cv_func_strerror_0_works=yes
19692
 
+else
19693
 
+  gl_cv_func_strerror_0_works=no
19694
 
+fi
19695
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19696
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
19697
 
+fi
19698
 
+
19699
 
+  
19700
 
+fi
19701
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_0_works" >&5
19702
 
+$as_echo "$gl_cv_func_strerror_0_works" >&6; }
19703
 
+  if test "$gl_cv_func_strerror_0_works" != yes; then
19704
 
+    REPLACE_STRERROR_0=1
19705
 
+    
19706
 
+$as_echo "@%:@define REPLACE_STRERROR_0 1" >>confdefs.h
19707
 
+
19708
 
+  fi
19709
 
+
19710
 
+
19711
 
+
19712
 
+
19713
 
+
19714
 
+
19715
 
+  
19716
 
+     
19717
 
+
19718
 
+  
19719
 
+  if test $ac_cv_func_strerror_r = yes; then
19720
 
+    if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
19721
 
+                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror_r with POSIX signature" >&5
19722
 
+$as_echo_n "checking for strerror_r with POSIX signature... " >&6; }
19723
 
+if ${gl_cv_func_strerror_r_posix_signature+:} false; then :
19724
 
+  $as_echo_n "(cached) " >&6
19725
 
+else
19726
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19727
 
+/* end confdefs.h.  */
19728
 
+#include <string.h>
19729
 
+                int strerror_r (int, char *, size_t);
19730
 
+              
19731
 
+int
19732
 
+main ()
19733
 
+{
19734
 
+
19735
 
+  ;
19736
 
+  return 0;
19737
 
+}
19738
 
+_ACEOF
19739
 
+if ac_fn_c_try_compile "$LINENO"; then :
19740
 
+  gl_cv_func_strerror_r_posix_signature=yes
19741
 
+else
19742
 
+  gl_cv_func_strerror_r_posix_signature=no
19743
 
+fi
19744
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19745
 
+        
19746
 
+fi
19747
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_r_posix_signature" >&5
19748
 
+$as_echo "$gl_cv_func_strerror_r_posix_signature" >&6; }
19749
 
+      if test $gl_cv_func_strerror_r_posix_signature = yes; then
19750
 
+                                                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r works" >&5
19751
 
+$as_echo_n "checking whether strerror_r works... " >&6; }
19752
 
+if ${gl_cv_func_strerror_r_works+:} false; then :
19753
 
+  $as_echo_n "(cached) " >&6
19754
 
+else
19755
 
+  if test "$cross_compiling" = yes; then :
19756
 
+  
19757
 
+              case "$host_os" in
19758
 
+                       # Guess no on AIX.
19759
 
+                aix*)  gl_cv_func_strerror_r_works="guessing no";;
19760
 
+                       # Guess no on HP-UX.
19761
 
+                hpux*) gl_cv_func_strerror_r_works="guessing no";;
19762
 
+                       # Guess no on BSD variants.
19763
 
+                *bsd*)  gl_cv_func_strerror_r_works="guessing no";;
19764
 
+                       # Guess yes otherwise.
19765
 
+                *)     gl_cv_func_strerror_r_works="guessing yes";;
19766
 
+              esac
19767
 
+             
19768
 
+else
19769
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19770
 
+/* end confdefs.h.  */
19771
 
+#include <errno.h>
19772
 
+                  #include <string.h>
19773
 
+                
19774
 
+int
19775
 
+main ()
19776
 
+{
19777
 
+int result = 0;
19778
 
+                  char buf[79];
19779
 
+                  if (strerror_r (EACCES, buf, 0) < 0)
19780
 
+                    result |= 1;
19781
 
+                  errno = 0;
19782
 
+                  if (strerror_r (EACCES, buf, sizeof buf) != 0)
19783
 
+                    result |= 2;
19784
 
+                  strcpy (buf, "Unknown");
19785
 
+                  if (strerror_r (0, buf, sizeof buf) != 0)
19786
 
+                    result |= 4;
19787
 
+                  if (errno)
19788
 
+                    result |= 8;
19789
 
+                  if (strstr (buf, "nknown") || strstr (buf, "ndefined"))
19790
 
+                    result |= 0x10;
19791
 
+                  errno = 0;
19792
 
+                  *buf = 0;
19793
 
+                  if (strerror_r (-3, buf, sizeof buf) < 0)
19794
 
+                    result |= 0x20;
19795
 
+                  if (errno)
19796
 
+                    result |= 0x40;
19797
 
+                  if (!*buf)
19798
 
+                    result |= 0x80;
19799
 
+                  return result;
19800
 
+                
19801
 
+  ;
19802
 
+  return 0;
19803
 
+}
19804
 
+_ACEOF
19805
 
+if ac_fn_c_try_run "$LINENO"; then :
19806
 
+  gl_cv_func_strerror_r_works=yes
19807
 
+else
19808
 
+  gl_cv_func_strerror_r_works=no
19809
 
+fi
19810
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19811
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
19812
 
+fi
19813
 
+
19814
 
+          
19815
 
+fi
19816
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_r_works" >&5
19817
 
+$as_echo "$gl_cv_func_strerror_r_works" >&6; }
19818
 
+      else
19819
 
+                        
19820
 
+                        if test $ac_cv_func___xpg_strerror_r = yes; then
19821
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __xpg_strerror_r works" >&5
19822
 
+$as_echo_n "checking whether __xpg_strerror_r works... " >&6; }
19823
 
+if ${gl_cv_func_strerror_r_works+:} false; then :
19824
 
+  $as_echo_n "(cached) " >&6
19825
 
+else
19826
 
+  if test "$cross_compiling" = yes; then :
19827
 
+                                  gl_cv_func_strerror_r_works="guessing no"
19828
 
+               
19829
 
+else
19830
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19831
 
+/* end confdefs.h.  */
19832
 
+#include <errno.h>
19833
 
+                    #include <string.h>
19834
 
+                    extern
19835
 
+                    #ifdef __cplusplus
19836
 
+                    "C"
19837
 
+                    #endif
19838
 
+                    int __xpg_strerror_r(int, char *, size_t);
19839
 
+                  
19840
 
+int
19841
 
+main ()
19842
 
+{
19843
 
+int result = 0;
19844
 
+                    char buf[256] = "^";
19845
 
+                    char copy[256];
19846
 
+                    char *str = strerror (-1);
19847
 
+                    strcpy (copy, str);
19848
 
+                    if (__xpg_strerror_r (-2, buf, 1) == 0)
19849
 
+                      result |= 1;
19850
 
+                    if (*buf)
19851
 
+                      result |= 2;
19852
 
+                    __xpg_strerror_r (-2, buf, 256);
19853
 
+                    if (strcmp (str, copy))
19854
 
+                      result |= 4;
19855
 
+                    return result;
19856
 
+                  
19857
 
+  ;
19858
 
+  return 0;
19859
 
+}
19860
 
+_ACEOF
19861
 
+if ac_fn_c_try_run "$LINENO"; then :
19862
 
+  gl_cv_func_strerror_r_works=yes
19863
 
+else
19864
 
+  gl_cv_func_strerror_r_works=no
19865
 
+fi
19866
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19867
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
19868
 
+fi
19869
 
+
19870
 
+            
19871
 
+fi
19872
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_r_works" >&5
19873
 
+$as_echo "$gl_cv_func_strerror_r_works" >&6; }
19874
 
+        fi
19875
 
+      fi
19876
 
+    fi
19877
 
+  fi
19878
 
+
19879
 
+
19880
 
+
19881
 
+
19882
 
+  
19883
 
+  
19884
 
+  
19885
 
+  
19886
 
+  
19887
 
+  
19888
 
+
19889
 
+  
19890
 
+
19891
 
+  
19892
 
+     if test $gl_cv_have_include_next = yes; then
19893
 
+       gl_cv_next_string_h='<'string.h'>'
19894
 
+     else
19895
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
19896
 
+$as_echo_n "checking absolute name of <string.h>... " >&6; }
19897
 
+if ${gl_cv_next_string_h+:} false; then :
19898
 
+  $as_echo_n "(cached) " >&6
19899
 
+else
19900
 
+  
19901
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19902
 
+/* end confdefs.h.  */
19903
 
+#include <string.h>
19904
 
+                  
19905
 
+_ACEOF
19906
 
+                                                                                                                        case "$host_os" in
19907
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
19908
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
19909
 
+               esac
19910
 
+                                                            gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
19911
 
+                  sed -n '\#/string.h#{
19912
 
+                    s#.*"\(.*/string.h\)".*#\1#
19913
 
+                    s#^/[^/]#//&#
19914
 
+                    p
19915
 
+                    q
19916
 
+                  }'`'"'
19917
 
+          
19918
 
+         
19919
 
+fi
19920
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5
19921
 
+$as_echo "$gl_cv_next_string_h" >&6; }
19922
 
+     fi
19923
 
+     NEXT_STRING_H=$gl_cv_next_string_h
19924
 
+
19925
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
19926
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
19927
 
+       gl_next_as_first_directive='<'string.h'>'
19928
 
+     else
19929
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
19930
 
+       gl_next_as_first_directive=$gl_cv_next_string_h
19931
 
+     fi
19932
 
+     NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive
19933
 
+
19934
 
+     
19935
 
+
19936
 
+
19937
 
+
19938
 
+        
19939
 
+    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
19940
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
19941
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
19942
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
19943
 
+if eval \${$as_gl_Symbol+:} false; then :
19944
 
+  $as_echo_n "(cached) " >&6
19945
 
+else
19946
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19947
 
+/* end confdefs.h.  */
19948
 
+#include <string.h>
19949
 
+    
19950
 
+int
19951
 
+main ()
19952
 
+{
19953
 
+@%:@undef $gl_func
19954
 
+  (void) $gl_func;
19955
 
+  ;
19956
 
+  return 0;
19957
 
+}
19958
 
+_ACEOF
19959
 
+if ac_fn_c_try_compile "$LINENO"; then :
19960
 
+  eval "$as_gl_Symbol=yes"
19961
 
+else
19962
 
+  eval "$as_gl_Symbol=no"
19963
 
+fi
19964
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19965
 
+fi
19966
 
+eval ac_res=\$$as_gl_Symbol
19967
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19968
 
+$as_echo "$ac_res" >&6; }
19969
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
19970
 
+  cat >>confdefs.h <<_ACEOF
19971
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
19972
 
+_ACEOF
19973
 
+
19974
 
+                     eval ac_cv_have_decl_$gl_func=yes
19975
 
+fi
19976
 
+      done
19977
 
+
19978
 
+
19979
 
+ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
19980
 
+if test "x$ac_cv_have_decl_strndup" = xyes; then :
19981
 
+  ac_have_decl=1
19982
 
+else
19983
 
+  ac_have_decl=0
19984
 
+fi
19985
 
+
19986
 
+cat >>confdefs.h <<_ACEOF
19987
 
+@%:@define HAVE_DECL_STRNDUP $ac_have_decl
19988
 
+_ACEOF
19989
 
+
19990
 
+
19991
 
+
19992
 
+ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
19993
 
+if test "x$ac_cv_have_decl_strnlen" = xyes; then :
19994
 
+  ac_have_decl=1
19995
 
+else
19996
 
+  ac_have_decl=0
19997
 
+fi
19998
 
+
19999
 
+cat >>confdefs.h <<_ACEOF
20000
 
+@%:@define HAVE_DECL_STRNLEN $ac_have_decl
20001
 
+_ACEOF
20002
 
+
20003
 
+ac_fn_c_check_decl "$LINENO" "strsignal" "ac_cv_have_decl_strsignal" "$ac_includes_default"
20004
 
+if test "x$ac_cv_have_decl_strsignal" = xyes; then :
20005
 
+  ac_have_decl=1
20006
 
+else
20007
 
+  ac_have_decl=0
20008
 
+fi
20009
 
+
20010
 
+cat >>confdefs.h <<_ACEOF
20011
 
+@%:@define HAVE_DECL_STRSIGNAL $ac_have_decl
20012
 
+_ACEOF
20013
 
+
20014
 
+ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "#include <signal.h>
20015
 
+/* NetBSD declares sys_siglist in unistd.h.  */
20016
 
+#ifdef HAVE_UNISTD_H
20017
 
+# include <unistd.h>
20018
 
+#endif
20019
 
+
20020
 
+"
20021
 
+if test "x$ac_cv_have_decl_sys_siglist" = xyes; then :
20022
 
+  ac_have_decl=1
20023
 
+else
20024
 
+  ac_have_decl=0
20025
 
+fi
20026
 
+
20027
 
+cat >>confdefs.h <<_ACEOF
20028
 
+@%:@define HAVE_DECL_SYS_SIGLIST $ac_have_decl
20029
 
+_ACEOF
20030
 
+
20031
 
+
20032
 
+
20033
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexp() can be used without linking with libm" >&5
20034
 
+$as_echo_n "checking whether ldexp() can be used without linking with libm... " >&6; }
20035
 
+if ${gl_cv_func_ldexp_no_libm+:} false; then :
20036
 
+  $as_echo_n "(cached) " >&6
20037
 
+else
20038
 
+  
20039
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20040
 
+/* end confdefs.h.  */
20041
 
+#ifndef __NO_MATH_INLINES
20042
 
+                           # define __NO_MATH_INLINES 1 /* for glibc */
20043
 
+                           #endif
20044
 
+                           #include <math.h>
20045
 
+                           double (*funcptr) (double, int) = ldexp;
20046
 
+                           double x;
20047
 
+int
20048
 
+main ()
20049
 
+{
20050
 
+return ldexp (x, -1) > 0;
20051
 
+  ;
20052
 
+  return 0;
20053
 
+}
20054
 
+_ACEOF
20055
 
+if ac_fn_c_try_link "$LINENO"; then :
20056
 
+  gl_cv_func_ldexp_no_libm=yes
20057
 
+else
20058
 
+  gl_cv_func_ldexp_no_libm=no
20059
 
+fi
20060
 
+rm -f core conftest.err conftest.$ac_objext \
20061
 
+    conftest$ac_exeext conftest.$ac_ext
20062
 
+    
20063
 
+fi
20064
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_no_libm" >&5
20065
 
+$as_echo "$gl_cv_func_ldexp_no_libm" >&6; }
20066
 
+
20067
 
+
20068
 
+
20069
 
+ac_fn_c_check_decl "$LINENO" "strtoimax" "ac_cv_have_decl_strtoimax" "$ac_includes_default"
20070
 
+if test "x$ac_cv_have_decl_strtoimax" = xyes; then :
20071
 
+  ac_have_decl=1
20072
 
+else
20073
 
+  ac_have_decl=0
20074
 
+fi
20075
 
+
20076
 
+cat >>confdefs.h <<_ACEOF
20077
 
+@%:@define HAVE_DECL_STRTOIMAX $ac_have_decl
20078
 
+_ACEOF
20079
 
+
20080
 
+
20081
 
+
20082
 
+ac_fn_c_check_decl "$LINENO" "strtoumax" "ac_cv_have_decl_strtoumax" "$ac_includes_default"
20083
 
+if test "x$ac_cv_have_decl_strtoumax" = xyes; then :
20084
 
+  ac_have_decl=1
20085
 
+else
20086
 
+  ac_have_decl=0
20087
 
+fi
20088
 
+
20089
 
+cat >>confdefs.h <<_ACEOF
20090
 
+@%:@define HAVE_DECL_STRTOUMAX $ac_have_decl
20091
 
+_ACEOF
20092
 
+
20093
 
+
20094
 
+
20095
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
20096
 
+$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
20097
 
+if ${ac_cv_header_stat_broken+:} false; then :
20098
 
+  $as_echo_n "(cached) " >&6
20099
 
+else
20100
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20101
 
+/* end confdefs.h.  */
20102
 
+#include <sys/types.h>
20103
 
+#include <sys/stat.h>
20104
 
+
20105
 
+#if defined S_ISBLK && defined S_IFDIR
20106
 
+extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
20107
 
+#endif
20108
 
+
20109
 
+#if defined S_ISBLK && defined S_IFCHR
20110
 
+extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
20111
 
+#endif
20112
 
+
20113
 
+#if defined S_ISLNK && defined S_IFREG
20114
 
+extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
20115
 
+#endif
20116
 
+
20117
 
+#if defined S_ISSOCK && defined S_IFREG
20118
 
+extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
20119
 
+#endif
20120
 
+
20121
 
+_ACEOF
20122
 
+if ac_fn_c_try_compile "$LINENO"; then :
20123
 
+  ac_cv_header_stat_broken=no
20124
 
+else
20125
 
+  ac_cv_header_stat_broken=yes
20126
 
+fi
20127
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20128
 
+fi
20129
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
20130
 
+$as_echo "$ac_cv_header_stat_broken" >&6; }
20131
 
+if test $ac_cv_header_stat_broken = yes; then
20132
 
+  
20133
 
+$as_echo "@%:@define STAT_MACROS_BROKEN 1" >>confdefs.h
20134
 
+
20135
 
+fi
20136
 
+
20137
 
+
20138
 
+
20139
 
+
20140
 
+
20141
 
+
20142
 
+
20143
 
+
20144
 
+  GNULIB_UNAME=0;         
20145
 
+    HAVE_UNAME=1;           
20146
 
+  HAVE_STRUCT_UTSNAME=1;  
20147
 
+
20148
 
+
20149
 
+
20150
 
+
20151
 
+  GNULIB_WAITPID=0; 
20152
 
+  
20153
 
+
20154
 
+
20155
 
+
20156
 
+  GNULIB_TCGETSID=0;      
20157
 
+    HAVE_DECL_TCGETSID=1;   
20158
 
+  HAVE_TERMIOS_H=1;       
20159
 
+
20160
 
+
20161
 
+  
20162
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5
20163
 
+$as_echo_n "checking for struct timespec in <time.h>... " >&6; }
20164
 
+if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then :
20165
 
+  $as_echo_n "(cached) " >&6
20166
 
+else
20167
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20168
 
+/* end confdefs.h.  */
20169
 
+#include <time.h>
20170
 
+          
20171
 
+int
20172
 
+main ()
20173
 
+{
20174
 
+static struct timespec x; x.tv_sec = x.tv_nsec;
20175
 
+  ;
20176
 
+  return 0;
20177
 
+}
20178
 
+_ACEOF
20179
 
+if ac_fn_c_try_compile "$LINENO"; then :
20180
 
+  gl_cv_sys_struct_timespec_in_time_h=yes
20181
 
+else
20182
 
+  gl_cv_sys_struct_timespec_in_time_h=no
20183
 
+fi
20184
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20185
 
+fi
20186
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5
20187
 
+$as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; }
20188
 
+
20189
 
+  TIME_H_DEFINES_STRUCT_TIMESPEC=0
20190
 
+  SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0
20191
 
+  PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0
20192
 
+  if test $gl_cv_sys_struct_timespec_in_time_h = yes; then
20193
 
+    TIME_H_DEFINES_STRUCT_TIMESPEC=1
20194
 
+  else
20195
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5
20196
 
+$as_echo_n "checking for struct timespec in <sys/time.h>... " >&6; }
20197
 
+if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then :
20198
 
+  $as_echo_n "(cached) " >&6
20199
 
+else
20200
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20201
 
+/* end confdefs.h.  */
20202
 
+#include <sys/time.h>
20203
 
+            
20204
 
+int
20205
 
+main ()
20206
 
+{
20207
 
+static struct timespec x; x.tv_sec = x.tv_nsec;
20208
 
+  ;
20209
 
+  return 0;
20210
 
+}
20211
 
+_ACEOF
20212
 
+if ac_fn_c_try_compile "$LINENO"; then :
20213
 
+  gl_cv_sys_struct_timespec_in_sys_time_h=yes
20214
 
+else
20215
 
+  gl_cv_sys_struct_timespec_in_sys_time_h=no
20216
 
+fi
20217
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20218
 
+fi
20219
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5
20220
 
+$as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; }
20221
 
+    if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then
20222
 
+      SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1
20223
 
+    else
20224
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5
20225
 
+$as_echo_n "checking for struct timespec in <pthread.h>... " >&6; }
20226
 
+if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then :
20227
 
+  $as_echo_n "(cached) " >&6
20228
 
+else
20229
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20230
 
+/* end confdefs.h.  */
20231
 
+#include <pthread.h>
20232
 
+              
20233
 
+int
20234
 
+main ()
20235
 
+{
20236
 
+static struct timespec x; x.tv_sec = x.tv_nsec;
20237
 
+  ;
20238
 
+  return 0;
20239
 
+}
20240
 
+_ACEOF
20241
 
+if ac_fn_c_try_compile "$LINENO"; then :
20242
 
+  gl_cv_sys_struct_timespec_in_pthread_h=yes
20243
 
+else
20244
 
+  gl_cv_sys_struct_timespec_in_pthread_h=no
20245
 
+fi
20246
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20247
 
+fi
20248
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5
20249
 
+$as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; }
20250
 
+      if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then
20251
 
+        PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1
20252
 
+      fi
20253
 
+    fi
20254
 
+  fi
20255
 
+  
20256
 
+  
20257
 
+  
20258
 
+
20259
 
+
20260
 
+  
20261
 
+  
20262
 
+  
20263
 
+  
20264
 
+  
20265
 
+  
20266
 
+
20267
 
+  
20268
 
+
20269
 
+  
20270
 
+     if test $gl_cv_have_include_next = yes; then
20271
 
+       gl_cv_next_time_h='<'time.h'>'
20272
 
+     else
20273
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5
20274
 
+$as_echo_n "checking absolute name of <time.h>... " >&6; }
20275
 
+if ${gl_cv_next_time_h+:} false; then :
20276
 
+  $as_echo_n "(cached) " >&6
20277
 
+else
20278
 
+  
20279
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20280
 
+/* end confdefs.h.  */
20281
 
+#include <time.h>
20282
 
+                  
20283
 
+_ACEOF
20284
 
+                                                                                                                        case "$host_os" in
20285
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
20286
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
20287
 
+               esac
20288
 
+                                                            gl_cv_next_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
20289
 
+                  sed -n '\#/time.h#{
20290
 
+                    s#.*"\(.*/time.h\)".*#\1#
20291
 
+                    s#^/[^/]#//&#
20292
 
+                    p
20293
 
+                    q
20294
 
+                  }'`'"'
20295
 
+          
20296
 
+         
20297
 
+fi
20298
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5
20299
 
+$as_echo "$gl_cv_next_time_h" >&6; }
20300
 
+     fi
20301
 
+     NEXT_TIME_H=$gl_cv_next_time_h
20302
 
+
20303
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
20304
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
20305
 
+       gl_next_as_first_directive='<'time.h'>'
20306
 
+     else
20307
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
20308
 
+       gl_next_as_first_directive=$gl_cv_next_time_h
20309
 
+     fi
20310
 
+     NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive
20311
 
+
20312
 
+     
20313
 
+
20314
 
+
20315
 
+  
20316
 
+
20317
 
+ac_fn_c_check_decl "$LINENO" "localtime_r" "ac_cv_have_decl_localtime_r" "$ac_includes_default"
20318
 
+if test "x$ac_cv_have_decl_localtime_r" = xyes; then :
20319
 
+  ac_have_decl=1
20320
 
+else
20321
 
+  ac_have_decl=0
20322
 
+fi
20323
 
+
20324
 
+cat >>confdefs.h <<_ACEOF
20325
 
+@%:@define HAVE_DECL_LOCALTIME_R $ac_have_decl
20326
 
+_ACEOF
20327
 
+
20328
 
+
20329
 
+
20330
 
+
20331
 
+
20332
 
+
20333
 
+    
20334
 
+
20335
 
+  
20336
 
+
20337
 
+
20338
 
+gl_libunistring_sed_extract_major='/^[0-9]/{s/^\([0-9]*\).*/\1/p;q;}
20339
 
+i\
20340
 
+0
20341
 
+q
20342
 
+'
20343
 
+gl_libunistring_sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{s/^[0-9]*[.]\([0-9]*\).*/\1/p;q;}
20344
 
+i\
20345
 
+0
20346
 
+q
20347
 
+'
20348
 
+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;}
20349
 
+i\
20350
 
+0
20351
 
+q
20352
 
+'
20353
 
+
20354
 
+
20355
 
+  if test "$HAVE_LIBUNISTRING" = yes; then
20356
 
+    LIBUNISTRING_VERSION_MAJOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_major"`
20357
 
+    LIBUNISTRING_VERSION_MINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_minor"`
20358
 
+    LIBUNISTRING_VERSION_SUBMINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_subminor"`
20359
 
+  fi
20360
 
+
20361
 
+ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
20362
 
+if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then :
20363
 
+  ac_have_decl=1
20364
 
+else
20365
 
+  ac_have_decl=0
20366
 
+fi
20367
 
+
20368
 
+cat >>confdefs.h <<_ACEOF
20369
 
+@%:@define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
20370
 
+_ACEOF
20371
 
+
20372
 
+ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
20373
 
+if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then :
20374
 
+  ac_have_decl=1
20375
 
+else
20376
 
+  ac_have_decl=0
20377
 
+fi
20378
 
+
20379
 
+cat >>confdefs.h <<_ACEOF
20380
 
+@%:@define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
20381
 
+_ACEOF
20382
 
+
20383
 
+ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
20384
 
+if test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then :
20385
 
+  ac_have_decl=1
20386
 
+else
20387
 
+  ac_have_decl=0
20388
 
+fi
20389
 
+
20390
 
+cat >>confdefs.h <<_ACEOF
20391
 
+@%:@define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
20392
 
+_ACEOF
20393
 
+
20394
 
+ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
20395
 
+if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then :
20396
 
+  ac_have_decl=1
20397
 
+else
20398
 
+  ac_have_decl=0
20399
 
+fi
20400
 
+
20401
 
+cat >>confdefs.h <<_ACEOF
20402
 
+@%:@define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
20403
 
+_ACEOF
20404
 
+
20405
 
+ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
20406
 
+if test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then :
20407
 
+  ac_have_decl=1
20408
 
+else
20409
 
+  ac_have_decl=0
20410
 
+fi
20411
 
+
20412
 
+cat >>confdefs.h <<_ACEOF
20413
 
+@%:@define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
20414
 
+_ACEOF
20415
 
+
20416
 
+ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
20417
 
+if test "x$ac_cv_have_decl_fread_unlocked" = xyes; then :
20418
 
+  ac_have_decl=1
20419
 
+else
20420
 
+  ac_have_decl=0
20421
 
+fi
20422
 
+
20423
 
+cat >>confdefs.h <<_ACEOF
20424
 
+@%:@define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
20425
 
+_ACEOF
20426
 
+
20427
 
+ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
20428
 
+if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then :
20429
 
+  ac_have_decl=1
20430
 
+else
20431
 
+  ac_have_decl=0
20432
 
+fi
20433
 
+
20434
 
+cat >>confdefs.h <<_ACEOF
20435
 
+@%:@define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
20436
 
+_ACEOF
20437
 
+
20438
 
+ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
20439
 
+if test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then :
20440
 
+  ac_have_decl=1
20441
 
+else
20442
 
+  ac_have_decl=0
20443
 
+fi
20444
 
+
20445
 
+cat >>confdefs.h <<_ACEOF
20446
 
+@%:@define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
20447
 
+_ACEOF
20448
 
+
20449
 
+ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
20450
 
+if test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then :
20451
 
+  ac_have_decl=1
20452
 
+else
20453
 
+  ac_have_decl=0
20454
 
+fi
20455
 
+
20456
 
+cat >>confdefs.h <<_ACEOF
20457
 
+@%:@define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
20458
 
+_ACEOF
20459
 
+
20460
 
+ac_fn_c_check_decl "$LINENO" "unsetenv" "ac_cv_have_decl_unsetenv" "$ac_includes_default"
20461
 
+if test "x$ac_cv_have_decl_unsetenv" = xyes; then :
20462
 
+  ac_have_decl=1
20463
 
+else
20464
 
+  ac_have_decl=0
20465
 
+fi
20466
 
+
20467
 
+cat >>confdefs.h <<_ACEOF
20468
 
+@%:@define HAVE_DECL_UNSETENV $ac_have_decl
20469
 
+_ACEOF
20470
 
+
20471
 
+
20472
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the utimes function works" >&5
20473
 
+$as_echo_n "checking whether the utimes function works... " >&6; }
20474
 
+if ${gl_cv_func_working_utimes+:} false; then :
20475
 
+  $as_echo_n "(cached) " >&6
20476
 
+else
20477
 
+  
20478
 
+  if test "$cross_compiling" = yes; then :
20479
 
+  gl_cv_func_working_utimes=no
20480
 
+else
20481
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20482
 
+/* end confdefs.h.  */
20483
 
+
20484
 
+#include <sys/types.h>
20485
 
+#include <sys/stat.h>
20486
 
+#include <fcntl.h>
20487
 
+#include <sys/time.h>
20488
 
+#include <time.h>
20489
 
+#include <unistd.h>
20490
 
+#include <stdlib.h>
20491
 
+#include <stdio.h>
20492
 
+#include <utime.h>
20493
 
+
20494
 
+static int
20495
 
+inorder (time_t a, time_t b, time_t c)
20496
 
+{
20497
 
+  return a <= b && b <= c;
20498
 
+}
20499
 
+
20500
 
+int
20501
 
+main ()
20502
 
+{
20503
 
+  int result = 0;
20504
 
+  char const *file = "conftest.utimes";
20505
 
+  static struct timeval timeval[2] = {{9, 10}, {999999, 999999}};
20506
 
+
20507
 
+  /* Test whether utimes() essentially works.  */
20508
 
+  {
20509
 
+    struct stat sbuf;
20510
 
+    FILE *f = fopen (file, "w");
20511
 
+    if (f == NULL)
20512
 
+      result |= 1;
20513
 
+    else if (fclose (f) != 0)
20514
 
+      result |= 1;
20515
 
+    else if (utimes (file, timeval) != 0)
20516
 
+      result |= 2;
20517
 
+    else if (lstat (file, &sbuf) != 0)
20518
 
+      result |= 1;
20519
 
+    else if (!(sbuf.st_atime == timeval[0].tv_sec
20520
 
+               && sbuf.st_mtime == timeval[1].tv_sec))
20521
 
+      result |= 4;
20522
 
+    if (unlink (file) != 0)
20523
 
+      result |= 1;
20524
 
+  }
20525
 
+
20526
 
+  /* Test whether utimes() with a NULL argument sets the file's timestamp
20527
 
+     to the current time.  Use 'fstat' as well as 'time' to
20528
 
+     determine the "current" time, to accommodate NFS file systems
20529
 
+     if there is a time skew between the host and the NFS server.  */
20530
 
+  {
20531
 
+    int fd = open (file, O_WRONLY|O_CREAT, 0644);
20532
 
+    if (fd < 0)
20533
 
+      result |= 1;
20534
 
+    else
20535
 
+      {
20536
 
+        time_t t0, t2;
20537
 
+        struct stat st0, st1, st2;
20538
 
+        if (time (&t0) == (time_t) -1)
20539
 
+          result |= 1;
20540
 
+        else if (fstat (fd, &st0) != 0)
20541
 
+          result |= 1;
20542
 
+        else if (utimes (file, timeval) != 0)
20543
 
+          result |= 2;
20544
 
+        else if (utimes (file, NULL) != 0)
20545
 
+          result |= 8;
20546
 
+        else if (fstat (fd, &st1) != 0)
20547
 
+          result |= 1;
20548
 
+        else if (write (fd, "\n", 1) != 1)
20549
 
+          result |= 1;
20550
 
+        else if (fstat (fd, &st2) != 0)
20551
 
+          result |= 1;
20552
 
+        else if (time (&t2) == (time_t) -1)
20553
 
+          result |= 1;
20554
 
+        else
20555
 
+          {
20556
 
+            int m_ok_POSIX = inorder (t0, st1.st_mtime, t2);
20557
 
+            int m_ok_NFS = inorder (st0.st_mtime, st1.st_mtime, st2.st_mtime);
20558
 
+            if (! (st1.st_atime == st1.st_mtime))
20559
 
+              result |= 16;
20560
 
+            if (! (m_ok_POSIX || m_ok_NFS))
20561
 
+              result |= 32;
20562
 
+          }
20563
 
+        if (close (fd) != 0)
20564
 
+          result |= 1;
20565
 
+      }
20566
 
+    if (unlink (file) != 0)
20567
 
+      result |= 1;
20568
 
+  }
20569
 
+
20570
 
+  /* Test whether utimes() with a NULL argument works on read-only files.  */
20571
 
+  {
20572
 
+    int fd = open (file, O_WRONLY|O_CREAT, 0444);
20573
 
+    if (fd < 0)
20574
 
+      result |= 1;
20575
 
+    else if (close (fd) != 0)
20576
 
+      result |= 1;
20577
 
+    else if (utimes (file, NULL) != 0)
20578
 
+      result |= 64;
20579
 
+    if (unlink (file) != 0)
20580
 
+      result |= 1;
20581
 
+  }
20582
 
+
20583
 
+  return result;
20584
 
+}
20585
 
+  
20586
 
+_ACEOF
20587
 
+if ac_fn_c_try_run "$LINENO"; then :
20588
 
+  gl_cv_func_working_utimes=yes
20589
 
+else
20590
 
+  gl_cv_func_working_utimes=no
20591
 
+fi
20592
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20593
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
20594
 
+fi
20595
 
+
20596
 
+fi
20597
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_utimes" >&5
20598
 
+$as_echo "$gl_cv_func_working_utimes" >&6; }
20599
 
+
20600
 
+  if test $gl_cv_func_working_utimes = yes; then
20601
 
+    
20602
 
+$as_echo "@%:@define HAVE_WORKING_UTIMES 1" >>confdefs.h
20603
 
+
20604
 
+  fi
20605
 
+
20606
 
+
20607
 
+
20608
 
+
20609
 
+  
20610
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5
20611
 
+$as_echo_n "checking for struct utimbuf... " >&6; }
20612
 
+if ${gl_cv_sys_struct_utimbuf+:} false; then :
20613
 
+  $as_echo_n "(cached) " >&6
20614
 
+else
20615
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20616
 
+/* end confdefs.h.  */
20617
 
+#if HAVE_SYS_TIME_H
20618
 
+             #include <sys/time.h>
20619
 
+            #endif
20620
 
+            #include <time.h>
20621
 
+            #ifdef HAVE_UTIME_H
20622
 
+             #include <utime.h>
20623
 
+            #endif
20624
 
+          
20625
 
+int
20626
 
+main ()
20627
 
+{
20628
 
+static struct utimbuf x; x.actime = x.modtime;
20629
 
+  ;
20630
 
+  return 0;
20631
 
+}
20632
 
+_ACEOF
20633
 
+if ac_fn_c_try_compile "$LINENO"; then :
20634
 
+  gl_cv_sys_struct_utimbuf=yes
20635
 
+else
20636
 
+  gl_cv_sys_struct_utimbuf=no
20637
 
+fi
20638
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20639
 
+fi
20640
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_utimbuf" >&5
20641
 
+$as_echo "$gl_cv_sys_struct_utimbuf" >&6; }
20642
 
+
20643
 
+  if test $gl_cv_sys_struct_utimbuf = yes; then
20644
 
+    
20645
 
+$as_echo "@%:@define HAVE_STRUCT_UTIMBUF 1" >>confdefs.h
20646
 
+
20647
 
+  fi
20648
 
+
20649
 
+
20650
 
+
20651
 
+
20652
 
+
20653
 
+
20654
 
+
20655
 
+
20656
 
+
20657
 
+
20658
 
+
20659
 
+
20660
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
20661
 
+$as_echo_n "checking for inttypes.h... " >&6; }
20662
 
+if ${gl_cv_header_inttypes_h+:} false; then :
20663
 
+  $as_echo_n "(cached) " >&6
20664
 
+else
20665
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20666
 
+/* end confdefs.h.  */
20667
 
+
20668
 
+#include <sys/types.h>
20669
 
+#include <inttypes.h>
20670
 
+          
20671
 
+int
20672
 
+main ()
20673
 
+{
20674
 
+uintmax_t i = (uintmax_t) -1; return !i;
20675
 
+  ;
20676
 
+  return 0;
20677
 
+}
20678
 
+_ACEOF
20679
 
+if ac_fn_c_try_compile "$LINENO"; then :
20680
 
+  gl_cv_header_inttypes_h=yes
20681
 
+else
20682
 
+  gl_cv_header_inttypes_h=no
20683
 
+fi
20684
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20685
 
+fi
20686
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5
20687
 
+$as_echo "$gl_cv_header_inttypes_h" >&6; }
20688
 
+  if test $gl_cv_header_inttypes_h = yes; then
20689
 
+    
20690
 
+cat >>confdefs.h <<_ACEOF
20691
 
+@%:@define HAVE_INTTYPES_H_WITH_UINTMAX 1
20692
 
+_ACEOF
20693
 
+
20694
 
+  fi
20695
 
+
20696
 
+
20697
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
20698
 
+$as_echo_n "checking for stdint.h... " >&6; }
20699
 
+if ${gl_cv_header_stdint_h+:} false; then :
20700
 
+  $as_echo_n "(cached) " >&6
20701
 
+else
20702
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20703
 
+/* end confdefs.h.  */
20704
 
+#include <sys/types.h>
20705
 
+            #include <stdint.h>
20706
 
+int
20707
 
+main ()
20708
 
+{
20709
 
+uintmax_t i = (uintmax_t) -1; return !i;
20710
 
+  ;
20711
 
+  return 0;
20712
 
+}
20713
 
+_ACEOF
20714
 
+if ac_fn_c_try_compile "$LINENO"; then :
20715
 
+  gl_cv_header_stdint_h=yes
20716
 
+else
20717
 
+  gl_cv_header_stdint_h=no
20718
 
+fi
20719
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20720
 
+fi
20721
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5
20722
 
+$as_echo "$gl_cv_header_stdint_h" >&6; }
20723
 
+  if test $gl_cv_header_stdint_h = yes; then
20724
 
+    
20725
 
+cat >>confdefs.h <<_ACEOF
20726
 
+@%:@define HAVE_STDINT_H_WITH_UINTMAX 1
20727
 
+_ACEOF
20728
 
+
20729
 
+  fi
20730
 
+
20731
 
+
20732
 
+  
20733
 
+  
20734
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
20735
 
+$as_echo_n "checking for intmax_t... " >&6; }
20736
 
+if ${gt_cv_c_intmax_t+:} false; then :
20737
 
+  $as_echo_n "(cached) " >&6
20738
 
+else
20739
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20740
 
+/* end confdefs.h.  */
20741
 
+
20742
 
+#include <stddef.h>
20743
 
+#include <stdlib.h>
20744
 
+#if HAVE_STDINT_H_WITH_UINTMAX
20745
 
+#include <stdint.h>
20746
 
+#endif
20747
 
+#if HAVE_INTTYPES_H_WITH_UINTMAX
20748
 
+#include <inttypes.h>
20749
 
+#endif
20750
 
+          
20751
 
+int
20752
 
+main ()
20753
 
+{
20754
 
+intmax_t x = -1; return !x;
20755
 
+  ;
20756
 
+  return 0;
20757
 
+}
20758
 
+_ACEOF
20759
 
+if ac_fn_c_try_compile "$LINENO"; then :
20760
 
+  gt_cv_c_intmax_t=yes
20761
 
+else
20762
 
+  gt_cv_c_intmax_t=no
20763
 
+fi
20764
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20765
 
+fi
20766
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
20767
 
+$as_echo "$gt_cv_c_intmax_t" >&6; }
20768
 
+  if test $gt_cv_c_intmax_t = yes; then
20769
 
+    
20770
 
+$as_echo "@%:@define HAVE_INTMAX_T 1" >>confdefs.h
20771
 
+
20772
 
+  else
20773
 
+    
20774
 
+    test $ac_cv_type_long_long_int = yes \
20775
 
+      && ac_type='long long' \
20776
 
+      || ac_type='long'
20777
 
+    
20778
 
+cat >>confdefs.h <<_ACEOF
20779
 
+@%:@define intmax_t $ac_type
20780
 
+_ACEOF
20781
 
+
20782
 
+  fi
20783
 
+
20784
 
+
20785
 
+  
20786
 
+  
20787
 
+  
20788
 
+  
20789
 
+  
20790
 
+  for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb
20791
 
+do :
20792
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20793
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20794
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20795
 
+  cat >>confdefs.h <<_ACEOF
20796
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20797
 
+_ACEOF
20798
 
20799
 
+fi
20800
 
+done
20801
 
+
20802
 
+      ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include <stdio.h>
20803
 
+"
20804
 
+if test "x$ac_cv_have_decl__snprintf" = xyes; then :
20805
 
+  ac_have_decl=1
20806
 
+else
20807
 
+  ac_have_decl=0
20808
 
+fi
20809
 
+
20810
 
+cat >>confdefs.h <<_ACEOF
20811
 
+@%:@define HAVE_DECL__SNPRINTF $ac_have_decl
20812
 
+_ACEOF
20813
 
+
20814
 
+      
20815
 
+  case "$gl_cv_func_snprintf_retval_c99" in
20816
 
+    *yes)
20817
 
+      
20818
 
+$as_echo "@%:@define HAVE_SNPRINTF_RETVAL_C99 1" >>confdefs.h
20819
 
+
20820
 
+      ;;
20821
 
+  esac
20822
 
+
20823
 
+
20824
 
+  
20825
 
+  
20826
 
+  
20827
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports size specifiers as in C99" >&5
20828
 
+$as_echo_n "checking whether printf supports size specifiers as in C99... " >&6; }
20829
 
+if ${gl_cv_func_printf_sizes_c99+:} false; then :
20830
 
+  $as_echo_n "(cached) " >&6
20831
 
+else
20832
 
+  
20833
 
+      if test "$cross_compiling" = yes; then :
20834
 
+  
20835
 
+         case "$host_os" in
20836
 
+                                 # Guess yes on glibc systems.
20837
 
+           *-gnu*)               gl_cv_func_printf_sizes_c99="guessing yes";;
20838
 
+                                 # Guess yes on FreeBSD >= 5.
20839
 
+           freebsd[1-4]*)        gl_cv_func_printf_sizes_c99="guessing no";;
20840
 
+           freebsd* | kfreebsd*) gl_cv_func_printf_sizes_c99="guessing yes";;
20841
 
+                                 # Guess yes on MacOS X >= 10.3.
20842
 
+           darwin[1-6].*)        gl_cv_func_printf_sizes_c99="guessing no";;
20843
 
+           darwin*)              gl_cv_func_printf_sizes_c99="guessing yes";;
20844
 
+                                 # Guess yes on OpenBSD >= 3.9.
20845
 
+           openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
20846
 
+                                 gl_cv_func_printf_sizes_c99="guessing no";;
20847
 
+           openbsd*)             gl_cv_func_printf_sizes_c99="guessing yes";;
20848
 
+                                 # Guess yes on Solaris >= 2.10.
20849
 
+           solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
20850
 
+           solaris*)             gl_cv_func_printf_sizes_c99="guessing no";;
20851
 
+                                 # Guess yes on NetBSD >= 3.
20852
 
+           netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
20853
 
+                                 gl_cv_func_printf_sizes_c99="guessing no";;
20854
 
+           netbsd*)              gl_cv_func_printf_sizes_c99="guessing yes";;
20855
 
+                                 # If we don't know, assume the worst.
20856
 
+           *)                    gl_cv_func_printf_sizes_c99="guessing no";;
20857
 
+         esac
20858
 
+        
20859
 
+else
20860
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20861
 
+/* end confdefs.h.  */
20862
 
+
20863
 
+#include <stddef.h>
20864
 
+#include <stdio.h>
20865
 
+#include <string.h>
20866
 
+#include <sys/types.h>
20867
 
+#if HAVE_STDINT_H_WITH_UINTMAX
20868
 
+# include <stdint.h>
20869
 
+#endif
20870
 
+#if HAVE_INTTYPES_H_WITH_UINTMAX
20871
 
+# include <inttypes.h>
20872
 
+#endif
20873
 
+static char buf[100];
20874
 
+int main ()
20875
 
+{
20876
 
+  int result = 0;
20877
 
+#if HAVE_STDINT_H_WITH_UINTMAX || HAVE_INTTYPES_H_WITH_UINTMAX
20878
 
+  buf[0] = '\0';
20879
 
+  if (sprintf (buf, "%ju %d", (uintmax_t) 12345671, 33, 44, 55) < 0
20880
 
+      || strcmp (buf, "12345671 33") != 0)
20881
 
+    result |= 1;
20882
 
+#endif
20883
 
+  buf[0] = '\0';
20884
 
+  if (sprintf (buf, "%zu %d", (size_t) 12345672, 33, 44, 55) < 0
20885
 
+      || strcmp (buf, "12345672 33") != 0)
20886
 
+    result |= 2;
20887
 
+  buf[0] = '\0';
20888
 
+  if (sprintf (buf, "%tu %d", (ptrdiff_t) 12345673, 33, 44, 55) < 0
20889
 
+      || strcmp (buf, "12345673 33") != 0)
20890
 
+    result |= 4;
20891
 
+  buf[0] = '\0';
20892
 
+  if (sprintf (buf, "%Lg %d", (long double) 1.5, 33, 44, 55) < 0
20893
 
+      || strcmp (buf, "1.5 33") != 0)
20894
 
+    result |= 8;
20895
 
+  return result;
20896
 
+}
20897
 
+_ACEOF
20898
 
+if ac_fn_c_try_run "$LINENO"; then :
20899
 
+  gl_cv_func_printf_sizes_c99=yes
20900
 
+else
20901
 
+  gl_cv_func_printf_sizes_c99=no
20902
 
+fi
20903
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20904
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
20905
 
+fi
20906
 
+
20907
 
+    
20908
 
+fi
20909
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_sizes_c99" >&5
20910
 
+$as_echo "$gl_cv_func_printf_sizes_c99" >&6; }
20911
 
+
20912
 
+
20913
 
+  
20914
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports 'long double' arguments" >&5
20915
 
+$as_echo_n "checking whether printf supports 'long double' arguments... " >&6; }
20916
 
+if ${gl_cv_func_printf_long_double+:} false; then :
20917
 
+  $as_echo_n "(cached) " >&6
20918
 
+else
20919
 
+  
20920
 
+      if test "$cross_compiling" = yes; then :
20921
 
+  
20922
 
+         case "$host_os" in
20923
 
+           beos*)        gl_cv_func_printf_long_double="guessing no";;
20924
 
+           mingw* | pw*) gl_cv_func_printf_long_double="guessing no";;
20925
 
+           *)            gl_cv_func_printf_long_double="guessing yes";;
20926
 
+         esac
20927
 
+        
20928
 
+else
20929
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20930
 
+/* end confdefs.h.  */
20931
 
+
20932
 
+#include <stdio.h>
20933
 
+#include <string.h>
20934
 
+static char buf[10000];
20935
 
+int main ()
20936
 
+{
20937
 
+  int result = 0;
20938
 
+  buf[0] = '\0';
20939
 
+  if (sprintf (buf, "%Lf %d", 1.75L, 33, 44, 55) < 0
20940
 
+      || strcmp (buf, "1.750000 33") != 0)
20941
 
+    result |= 1;
20942
 
+  buf[0] = '\0';
20943
 
+  if (sprintf (buf, "%Le %d", 1.75L, 33, 44, 55) < 0
20944
 
+      || strcmp (buf, "1.750000e+00 33") != 0)
20945
 
+    result |= 2;
20946
 
+  buf[0] = '\0';
20947
 
+  if (sprintf (buf, "%Lg %d", 1.75L, 33, 44, 55) < 0
20948
 
+      || strcmp (buf, "1.75 33") != 0)
20949
 
+    result |= 4;
20950
 
+  return result;
20951
 
+}
20952
 
+_ACEOF
20953
 
+if ac_fn_c_try_run "$LINENO"; then :
20954
 
+  gl_cv_func_printf_long_double=yes
20955
 
+else
20956
 
+  gl_cv_func_printf_long_double=no
20957
 
+fi
20958
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20959
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
20960
 
+fi
20961
 
+
20962
 
+    
20963
 
+fi
20964
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_long_double" >&5
20965
 
+$as_echo "$gl_cv_func_printf_long_double" >&6; }
20966
 
+
20967
 
+
20968
 
+  
20969
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'double' arguments" >&5
20970
 
+$as_echo_n "checking whether printf supports infinite 'double' arguments... " >&6; }
20971
 
+if ${gl_cv_func_printf_infinite+:} false; then :
20972
 
+  $as_echo_n "(cached) " >&6
20973
 
+else
20974
 
+  
20975
 
+      if test "$cross_compiling" = yes; then :
20976
 
+  
20977
 
+         case "$host_os" in
20978
 
+                                 # Guess yes on glibc systems.
20979
 
+           *-gnu*)               gl_cv_func_printf_infinite="guessing yes";;
20980
 
+                                 # Guess yes on FreeBSD >= 6.
20981
 
+           freebsd[1-5]*)        gl_cv_func_printf_infinite="guessing no";;
20982
 
+           freebsd* | kfreebsd*) gl_cv_func_printf_infinite="guessing yes";;
20983
 
+                                 # Guess yes on MacOS X >= 10.3.
20984
 
+           darwin[1-6].*)        gl_cv_func_printf_infinite="guessing no";;
20985
 
+           darwin*)              gl_cv_func_printf_infinite="guessing yes";;
20986
 
+                                 # Guess yes on HP-UX >= 11.
20987
 
+           hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite="guessing no";;
20988
 
+           hpux*)                gl_cv_func_printf_infinite="guessing yes";;
20989
 
+                                 # Guess yes on NetBSD >= 3.
20990
 
+           netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
20991
 
+                                 gl_cv_func_printf_infinite="guessing no";;
20992
 
+           netbsd*)              gl_cv_func_printf_infinite="guessing yes";;
20993
 
+                                 # Guess yes on BeOS.
20994
 
+           beos*)                gl_cv_func_printf_infinite="guessing yes";;
20995
 
+                                 # If we don't know, assume the worst.
20996
 
+           *)                    gl_cv_func_printf_infinite="guessing no";;
20997
 
+         esac
20998
 
+        
20999
 
+else
21000
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21001
 
+/* end confdefs.h.  */
21002
 
+
21003
 
+#include <stdio.h>
21004
 
+#include <string.h>
21005
 
+static int
21006
 
+strisnan (const char *string, size_t start_index, size_t end_index)
21007
 
+{
21008
 
+  if (start_index < end_index)
21009
 
+    {
21010
 
+      if (string[start_index] == '-')
21011
 
+        start_index++;
21012
 
+      if (start_index + 3 <= end_index
21013
 
+          && memcmp (string + start_index, "nan", 3) == 0)
21014
 
+        {
21015
 
+          start_index += 3;
21016
 
+          if (start_index == end_index
21017
 
+              || (string[start_index] == '(' && string[end_index - 1] == ')'))
21018
 
+            return 1;
21019
 
+        }
21020
 
+    }
21021
 
+  return 0;
21022
 
+}
21023
 
+static int
21024
 
+have_minus_zero ()
21025
 
+{
21026
 
+  static double plus_zero = 0.0;
21027
 
+  double minus_zero = - plus_zero;
21028
 
+  return memcmp (&plus_zero, &minus_zero, sizeof (double)) != 0;
21029
 
+}
21030
 
+static char buf[10000];
21031
 
+static double zero = 0.0;
21032
 
+int main ()
21033
 
+{
21034
 
+  int result = 0;
21035
 
+  if (sprintf (buf, "%f", 1.0 / 0.0) < 0
21036
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
21037
 
+    result |= 1;
21038
 
+  if (sprintf (buf, "%f", -1.0 / 0.0) < 0
21039
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
21040
 
+    result |= 1;
21041
 
+  if (sprintf (buf, "%f", zero / zero) < 0
21042
 
+      || !strisnan (buf, 0, strlen (buf)))
21043
 
+    result |= 2;
21044
 
+  if (sprintf (buf, "%e", 1.0 / 0.0) < 0
21045
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
21046
 
+    result |= 4;
21047
 
+  if (sprintf (buf, "%e", -1.0 / 0.0) < 0
21048
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
21049
 
+    result |= 4;
21050
 
+  if (sprintf (buf, "%e", zero / zero) < 0
21051
 
+      || !strisnan (buf, 0, strlen (buf)))
21052
 
+    result |= 8;
21053
 
+  if (sprintf (buf, "%g", 1.0 / 0.0) < 0
21054
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
21055
 
+    result |= 16;
21056
 
+  if (sprintf (buf, "%g", -1.0 / 0.0) < 0
21057
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
21058
 
+    result |= 16;
21059
 
+  if (sprintf (buf, "%g", zero / zero) < 0
21060
 
+      || !strisnan (buf, 0, strlen (buf)))
21061
 
+    result |= 32;
21062
 
+  /* This test fails on HP-UX 10.20.  */
21063
 
+  if (have_minus_zero ())
21064
 
+    if (sprintf (buf, "%g", - zero) < 0
21065
 
+        || strcmp (buf, "-0") != 0)
21066
 
+    result |= 64;
21067
 
+  return result;
21068
 
+}
21069
 
+_ACEOF
21070
 
+if ac_fn_c_try_run "$LINENO"; then :
21071
 
+  gl_cv_func_printf_infinite=yes
21072
 
+else
21073
 
+  gl_cv_func_printf_infinite=no
21074
 
+fi
21075
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21076
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
21077
 
+fi
21078
 
+
21079
 
+    
21080
 
+fi
21081
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_infinite" >&5
21082
 
+$as_echo "$gl_cv_func_printf_infinite" >&6; }
21083
 
+
21084
 
+
21085
 
+  
21086
 
+  
21087
 
+  
21088
 
+         if test -n "$gl_printf_safe"; then
21089
 
+    
21090
 
+$as_echo "@%:@define CHECK_PRINTF_SAFE 1" >>confdefs.h
21091
 
+
21092
 
+  fi
21093
 
+  case "$gl_cv_func_printf_long_double" in
21094
 
+    *yes)
21095
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'long double' arguments" >&5
21096
 
+$as_echo_n "checking whether printf supports infinite 'long double' arguments... " >&6; }
21097
 
+if ${gl_cv_func_printf_infinite_long_double+:} false; then :
21098
 
+  $as_echo_n "(cached) " >&6
21099
 
+else
21100
 
+  
21101
 
+          if test "$cross_compiling" = yes; then :
21102
 
+  
21103
 
+             case "$host_cpu" in
21104
 
+                                     # Guess no on ia64, x86_64, i386.
21105
 
+               ia64 | x86_64 | i*86) gl_cv_func_printf_infinite_long_double="guessing no";;
21106
 
+               *)
21107
 
+                 case "$host_os" in
21108
 
+                                         # Guess yes on glibc systems.
21109
 
+                   *-gnu*)               gl_cv_func_printf_infinite_long_double="guessing yes";;
21110
 
+                                         # Guess yes on FreeBSD >= 6.
21111
 
+                   freebsd[1-5]*)        gl_cv_func_printf_infinite_long_double="guessing no";;
21112
 
+                   freebsd* | kfreebsd*) gl_cv_func_printf_infinite_long_double="guessing yes";;
21113
 
+                                         # Guess yes on HP-UX >= 11.
21114
 
+                   hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite_long_double="guessing no";;
21115
 
+                   hpux*)                gl_cv_func_printf_infinite_long_double="guessing yes";;
21116
 
+                                         # If we don't know, assume the worst.
21117
 
+                   *)                    gl_cv_func_printf_infinite_long_double="guessing no";;
21118
 
+                 esac
21119
 
+                 ;;
21120
 
+             esac
21121
 
+            
21122
 
+else
21123
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21124
 
+/* end confdefs.h.  */
21125
 
+
21126
 
+
21127
 
+#include <stdlib.h>
21128
 
+#if defined __MACH__ && defined __APPLE__
21129
 
+/* Avoid a crash on MacOS X.  */
21130
 
+#include <mach/mach.h>
21131
 
+#include <mach/mach_error.h>
21132
 
+#include <mach/thread_status.h>
21133
 
+#include <mach/exception.h>
21134
 
+#include <mach/task.h>
21135
 
+#include <pthread.h>
21136
 
+/* The exception port on which our thread listens.  */
21137
 
+static mach_port_t our_exception_port;
21138
 
+/* The main function of the thread listening for exceptions of type
21139
 
+   EXC_BAD_ACCESS.  */
21140
 
+static void *
21141
 
+mach_exception_thread (void *arg)
21142
 
+{
21143
 
+  /* Buffer for a message to be received.  */
21144
 
+  struct {
21145
 
+    mach_msg_header_t head;
21146
 
+    mach_msg_body_t msgh_body;
21147
 
+    char data[1024];
21148
 
+  } msg;
21149
 
+  mach_msg_return_t retval;
21150
 
+  /* Wait for a message on the exception port.  */
21151
 
+  retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
21152
 
+                     our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
21153
 
+  if (retval != MACH_MSG_SUCCESS)
21154
 
+    abort ();
21155
 
+  exit (1);
21156
 
+}
21157
 
+static void
21158
 
+nocrash_init (void)
21159
 
+{
21160
 
+  mach_port_t self = mach_task_self ();
21161
 
+  /* Allocate a port on which the thread shall listen for exceptions.  */
21162
 
+  if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
21163
 
+      == KERN_SUCCESS) {
21164
 
+    /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html.  */
21165
 
+    if (mach_port_insert_right (self, our_exception_port, our_exception_port,
21166
 
+                                MACH_MSG_TYPE_MAKE_SEND)
21167
 
+        == KERN_SUCCESS) {
21168
 
+      /* The exceptions we want to catch.  Only EXC_BAD_ACCESS is interesting
21169
 
+         for us.  */
21170
 
+      exception_mask_t mask = EXC_MASK_BAD_ACCESS;
21171
 
+      /* Create the thread listening on the exception port.  */
21172
 
+      pthread_attr_t attr;
21173
 
+      pthread_t thread;
21174
 
+      if (pthread_attr_init (&attr) == 0
21175
 
+          && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
21176
 
+          && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
21177
 
+        pthread_attr_destroy (&attr);
21178
 
+        /* Replace the exception port info for these exceptions with our own.
21179
 
+           Note that we replace the exception port for the entire task, not only
21180
 
+           for a particular thread.  This has the effect that when our exception
21181
 
+           port gets the message, the thread specific exception port has already
21182
 
+           been asked, and we don't need to bother about it.
21183
 
+           See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html.  */
21184
 
+        task_set_exception_ports (self, mask, our_exception_port,
21185
 
+                                  EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
21186
 
+      }
21187
 
+    }
21188
 
+  }
21189
 
+}
21190
 
+#else
21191
 
+/* Avoid a crash on POSIX systems.  */
21192
 
+#include <signal.h>
21193
 
+/* A POSIX signal handler.  */
21194
 
+static void
21195
 
+exception_handler (int sig)
21196
 
+{
21197
 
+  exit (1);
21198
 
+}
21199
 
+static void
21200
 
+nocrash_init (void)
21201
 
+{
21202
 
+#ifdef SIGSEGV
21203
 
+  signal (SIGSEGV, exception_handler);
21204
 
+#endif
21205
 
+#ifdef SIGBUS
21206
 
+  signal (SIGBUS, exception_handler);
21207
 
+#endif
21208
 
+}
21209
 
+#endif
21210
 
+
21211
 
+#include <float.h>
21212
 
+#include <stdio.h>
21213
 
+#include <string.h>
21214
 
+static int
21215
 
+strisnan (const char *string, size_t start_index, size_t end_index)
21216
 
+{
21217
 
+  if (start_index < end_index)
21218
 
+    {
21219
 
+      if (string[start_index] == '-')
21220
 
+        start_index++;
21221
 
+      if (start_index + 3 <= end_index
21222
 
+          && memcmp (string + start_index, "nan", 3) == 0)
21223
 
+        {
21224
 
+          start_index += 3;
21225
 
+          if (start_index == end_index
21226
 
+              || (string[start_index] == '(' && string[end_index - 1] == ')'))
21227
 
+            return 1;
21228
 
+        }
21229
 
+    }
21230
 
+  return 0;
21231
 
+}
21232
 
+static char buf[10000];
21233
 
+static long double zeroL = 0.0L;
21234
 
+int main ()
21235
 
+{
21236
 
+  int result = 0;
21237
 
+  nocrash_init();
21238
 
+  if (sprintf (buf, "%Lf", 1.0L / 0.0L) < 0
21239
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
21240
 
+    result |= 1;
21241
 
+  if (sprintf (buf, "%Lf", -1.0L / 0.0L) < 0
21242
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
21243
 
+    result |= 1;
21244
 
+  if (sprintf (buf, "%Lf", zeroL / zeroL) < 0
21245
 
+      || !strisnan (buf, 0, strlen (buf)))
21246
 
+    result |= 1;
21247
 
+  if (sprintf (buf, "%Le", 1.0L / 0.0L) < 0
21248
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
21249
 
+    result |= 1;
21250
 
+  if (sprintf (buf, "%Le", -1.0L / 0.0L) < 0
21251
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
21252
 
+    result |= 1;
21253
 
+  if (sprintf (buf, "%Le", zeroL / zeroL) < 0
21254
 
+      || !strisnan (buf, 0, strlen (buf)))
21255
 
+    result |= 1;
21256
 
+  if (sprintf (buf, "%Lg", 1.0L / 0.0L) < 0
21257
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
21258
 
+    result |= 1;
21259
 
+  if (sprintf (buf, "%Lg", -1.0L / 0.0L) < 0
21260
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
21261
 
+    result |= 1;
21262
 
+  if (sprintf (buf, "%Lg", zeroL / zeroL) < 0
21263
 
+      || !strisnan (buf, 0, strlen (buf)))
21264
 
+    result |= 1;
21265
 
+#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_))
21266
 
+/* Representation of an 80-bit 'long double' as an initializer for a sequence
21267
 
+   of 'unsigned int' words.  */
21268
 
+# ifdef WORDS_BIGENDIAN
21269
 
+#  define LDBL80_WORDS(exponent,manthi,mantlo) \
21270
 
+     { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \
21271
 
+       ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16),    \
21272
 
+       (unsigned int) (mantlo) << 16                                        \
21273
 
+     }
21274
 
+# else
21275
 
+#  define LDBL80_WORDS(exponent,manthi,mantlo) \
21276
 
+     { mantlo, manthi, exponent }
21277
 
+# endif
21278
 
+  { /* Quiet NaN.  */
21279
 
+    static union { unsigned int word[4]; long double value; } x =
21280
 
+      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
21281
 
+    if (sprintf (buf, "%Lf", x.value) < 0
21282
 
+        || !strisnan (buf, 0, strlen (buf)))
21283
 
+      result |= 2;
21284
 
+    if (sprintf (buf, "%Le", x.value) < 0
21285
 
+        || !strisnan (buf, 0, strlen (buf)))
21286
 
+      result |= 2;
21287
 
+    if (sprintf (buf, "%Lg", x.value) < 0
21288
 
+        || !strisnan (buf, 0, strlen (buf)))
21289
 
+      result |= 2;
21290
 
+  }
21291
 
+  {
21292
 
+    /* Signalling NaN.  */
21293
 
+    static union { unsigned int word[4]; long double value; } x =
21294
 
+      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
21295
 
+    if (sprintf (buf, "%Lf", x.value) < 0
21296
 
+        || !strisnan (buf, 0, strlen (buf)))
21297
 
+      result |= 2;
21298
 
+    if (sprintf (buf, "%Le", x.value) < 0
21299
 
+        || !strisnan (buf, 0, strlen (buf)))
21300
 
+      result |= 2;
21301
 
+    if (sprintf (buf, "%Lg", x.value) < 0
21302
 
+        || !strisnan (buf, 0, strlen (buf)))
21303
 
+      result |= 2;
21304
 
+  }
21305
 
+  { /* Pseudo-NaN.  */
21306
 
+    static union { unsigned int word[4]; long double value; } x =
21307
 
+      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
21308
 
+    if (sprintf (buf, "%Lf", x.value) < 0
21309
 
+        || !strisnan (buf, 0, strlen (buf)))
21310
 
+      result |= 4;
21311
 
+    if (sprintf (buf, "%Le", x.value) < 0
21312
 
+        || !strisnan (buf, 0, strlen (buf)))
21313
 
+      result |= 4;
21314
 
+    if (sprintf (buf, "%Lg", x.value) < 0
21315
 
+        || !strisnan (buf, 0, strlen (buf)))
21316
 
+      result |= 4;
21317
 
+  }
21318
 
+  { /* Pseudo-Infinity.  */
21319
 
+    static union { unsigned int word[4]; long double value; } x =
21320
 
+      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
21321
 
+    if (sprintf (buf, "%Lf", x.value) < 0
21322
 
+        || !strisnan (buf, 0, strlen (buf)))
21323
 
+      result |= 8;
21324
 
+    if (sprintf (buf, "%Le", x.value) < 0
21325
 
+        || !strisnan (buf, 0, strlen (buf)))
21326
 
+      result |= 8;
21327
 
+    if (sprintf (buf, "%Lg", x.value) < 0
21328
 
+        || !strisnan (buf, 0, strlen (buf)))
21329
 
+      result |= 8;
21330
 
+  }
21331
 
+  { /* Pseudo-Zero.  */
21332
 
+    static union { unsigned int word[4]; long double value; } x =
21333
 
+      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
21334
 
+    if (sprintf (buf, "%Lf", x.value) < 0
21335
 
+        || !strisnan (buf, 0, strlen (buf)))
21336
 
+      result |= 16;
21337
 
+    if (sprintf (buf, "%Le", x.value) < 0
21338
 
+        || !strisnan (buf, 0, strlen (buf)))
21339
 
+      result |= 16;
21340
 
+    if (sprintf (buf, "%Lg", x.value) < 0
21341
 
+        || !strisnan (buf, 0, strlen (buf)))
21342
 
+      result |= 16;
21343
 
+  }
21344
 
+  { /* Unnormalized number.  */
21345
 
+    static union { unsigned int word[4]; long double value; } x =
21346
 
+      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
21347
 
+    if (sprintf (buf, "%Lf", x.value) < 0
21348
 
+        || !strisnan (buf, 0, strlen (buf)))
21349
 
+      result |= 32;
21350
 
+    if (sprintf (buf, "%Le", x.value) < 0
21351
 
+        || !strisnan (buf, 0, strlen (buf)))
21352
 
+      result |= 32;
21353
 
+    if (sprintf (buf, "%Lg", x.value) < 0
21354
 
+        || !strisnan (buf, 0, strlen (buf)))
21355
 
+      result |= 32;
21356
 
+  }
21357
 
+  { /* Pseudo-Denormal.  */
21358
 
+    static union { unsigned int word[4]; long double value; } x =
21359
 
+      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
21360
 
+    if (sprintf (buf, "%Lf", x.value) < 0
21361
 
+        || !strisnan (buf, 0, strlen (buf)))
21362
 
+      result |= 64;
21363
 
+    if (sprintf (buf, "%Le", x.value) < 0
21364
 
+        || !strisnan (buf, 0, strlen (buf)))
21365
 
+      result |= 64;
21366
 
+    if (sprintf (buf, "%Lg", x.value) < 0
21367
 
+        || !strisnan (buf, 0, strlen (buf)))
21368
 
+      result |= 64;
21369
 
+  }
21370
 
+#endif
21371
 
+  return result;
21372
 
+}
21373
 
+_ACEOF
21374
 
+if ac_fn_c_try_run "$LINENO"; then :
21375
 
+  gl_cv_func_printf_infinite_long_double=yes
21376
 
+else
21377
 
+  gl_cv_func_printf_infinite_long_double=no
21378
 
+fi
21379
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21380
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
21381
 
+fi
21382
 
+
21383
 
+        
21384
 
+fi
21385
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_infinite_long_double" >&5
21386
 
+$as_echo "$gl_cv_func_printf_infinite_long_double" >&6; }
21387
 
+      ;;
21388
 
+    *)
21389
 
+      gl_cv_func_printf_infinite_long_double="irrelevant"
21390
 
+      ;;
21391
 
+  esac
21392
 
+
21393
 
+
21394
 
+  
21395
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'a' and 'A' directives" >&5
21396
 
+$as_echo_n "checking whether printf supports the 'a' and 'A' directives... " >&6; }
21397
 
+if ${gl_cv_func_printf_directive_a+:} false; then :
21398
 
+  $as_echo_n "(cached) " >&6
21399
 
+else
21400
 
+  
21401
 
+      if test "$cross_compiling" = yes; then :
21402
 
+  
21403
 
+         case "$host_os" in
21404
 
+                                 # Guess yes on glibc >= 2.5 systems.
21405
 
+           *-gnu*)
21406
 
+             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21407
 
+/* end confdefs.h.  */
21408
 
+
21409
 
+               #include <features.h>
21410
 
+               #ifdef __GNU_LIBRARY__
21411
 
+                #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 5) || (__GLIBC__ > 2)) && !defined __UCLIBC__
21412
 
+                 BZ2908
21413
 
+                #endif
21414
 
+               #endif
21415
 
+               
21416
 
+_ACEOF
21417
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21418
 
+  $EGREP "BZ2908" >/dev/null 2>&1; then :
21419
 
+  gl_cv_func_printf_directive_a="guessing yes"
21420
 
+else
21421
 
+  gl_cv_func_printf_directive_a="guessing no"
21422
 
+fi
21423
 
+rm -f conftest*
21424
 
+
21425
 
+             ;;
21426
 
+                                 # If we don't know, assume the worst.
21427
 
+           *)                    gl_cv_func_printf_directive_a="guessing no";;
21428
 
+         esac
21429
 
+        
21430
 
+else
21431
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21432
 
+/* end confdefs.h.  */
21433
 
+
21434
 
+#include <stdio.h>
21435
 
+#include <string.h>
21436
 
+static char buf[100];
21437
 
+int main ()
21438
 
+{
21439
 
+  int result = 0;
21440
 
+  if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0
21441
 
+      || (strcmp (buf, "0x1.922p+1 33") != 0
21442
 
+          && strcmp (buf, "0x3.244p+0 33") != 0
21443
 
+          && strcmp (buf, "0x6.488p-1 33") != 0
21444
 
+          && strcmp (buf, "0xc.91p-2 33") != 0))
21445
 
+    result |= 1;
21446
 
+  if (sprintf (buf, "%A %d", -3.1416015625, 33, 44, 55) < 0
21447
 
+      || (strcmp (buf, "-0X1.922P+1 33") != 0
21448
 
+          && strcmp (buf, "-0X3.244P+0 33") != 0
21449
 
+          && strcmp (buf, "-0X6.488P-1 33") != 0
21450
 
+          && strcmp (buf, "-0XC.91P-2 33") != 0))
21451
 
+    result |= 2;
21452
 
+  /* This catches a FreeBSD 6.1 bug: it doesn't round.  */
21453
 
+  if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0
21454
 
+      || (strcmp (buf, "0x1.83p+0 33") != 0
21455
 
+          && strcmp (buf, "0x3.05p-1 33") != 0
21456
 
+          && strcmp (buf, "0x6.0ap-2 33") != 0
21457
 
+          && strcmp (buf, "0xc.14p-3 33") != 0))
21458
 
+    result |= 4;
21459
 
+  /* This catches a FreeBSD 6.1 bug.  See
21460
 
+     <http://lists.gnu.org/archive/html/bug-gnulib/2007-04/msg00107.html> */
21461
 
+  if (sprintf (buf, "%010a %d", 1.0 / 0.0, 33, 44, 55) < 0
21462
 
+      || buf[0] == '0')
21463
 
+    result |= 8;
21464
 
+  /* This catches a MacOS X 10.3.9 (Darwin 7.9) bug.  */
21465
 
+  if (sprintf (buf, "%.1a", 1.999) < 0
21466
 
+      || (strcmp (buf, "0x1.0p+1") != 0
21467
 
+          && strcmp (buf, "0x2.0p+0") != 0
21468
 
+          && strcmp (buf, "0x4.0p-1") != 0
21469
 
+          && strcmp (buf, "0x8.0p-2") != 0))
21470
 
+    result |= 16;
21471
 
+  /* This catches the same MacOS X 10.3.9 (Darwin 7.9) bug and also a
21472
 
+     glibc 2.4 bug <http://sourceware.org/bugzilla/show_bug.cgi?id=2908>.  */
21473
 
+  if (sprintf (buf, "%.1La", 1.999L) < 0
21474
 
+      || (strcmp (buf, "0x1.0p+1") != 0
21475
 
+          && strcmp (buf, "0x2.0p+0") != 0
21476
 
+          && strcmp (buf, "0x4.0p-1") != 0
21477
 
+          && strcmp (buf, "0x8.0p-2") != 0))
21478
 
+    result |= 32;
21479
 
+  return result;
21480
 
+}
21481
 
+_ACEOF
21482
 
+if ac_fn_c_try_run "$LINENO"; then :
21483
 
+  gl_cv_func_printf_directive_a=yes
21484
 
+else
21485
 
+  gl_cv_func_printf_directive_a=no
21486
 
+fi
21487
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21488
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
21489
 
+fi
21490
 
+
21491
 
+    
21492
 
+fi
21493
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_a" >&5
21494
 
+$as_echo "$gl_cv_func_printf_directive_a" >&6; }
21495
 
+
21496
 
+
21497
 
+  
21498
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'F' directive" >&5
21499
 
+$as_echo_n "checking whether printf supports the 'F' directive... " >&6; }
21500
 
+if ${gl_cv_func_printf_directive_f+:} false; then :
21501
 
+  $as_echo_n "(cached) " >&6
21502
 
+else
21503
 
+  
21504
 
+      if test "$cross_compiling" = yes; then :
21505
 
+  
21506
 
+         case "$host_os" in
21507
 
+                                 # Guess yes on glibc systems.
21508
 
+           *-gnu*)               gl_cv_func_printf_directive_f="guessing yes";;
21509
 
+                                 # Guess yes on FreeBSD >= 6.
21510
 
+           freebsd[1-5]*)        gl_cv_func_printf_directive_f="guessing no";;
21511
 
+           freebsd* | kfreebsd*) gl_cv_func_printf_directive_f="guessing yes";;
21512
 
+                                 # Guess yes on MacOS X >= 10.3.
21513
 
+           darwin[1-6].*)        gl_cv_func_printf_directive_f="guessing no";;
21514
 
+           darwin*)              gl_cv_func_printf_directive_f="guessing yes";;
21515
 
+                                 # Guess yes on Solaris >= 2.10.
21516
 
+           solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
21517
 
+           solaris*)             gl_cv_func_printf_sizes_c99="guessing no";;
21518
 
+                                 # If we don't know, assume the worst.
21519
 
+           *)                    gl_cv_func_printf_directive_f="guessing no";;
21520
 
+         esac
21521
 
+        
21522
 
+else
21523
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21524
 
+/* end confdefs.h.  */
21525
 
+
21526
 
+#include <stdio.h>
21527
 
+#include <string.h>
21528
 
+static char buf[100];
21529
 
+int main ()
21530
 
+{
21531
 
+  int result = 0;
21532
 
+  if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0
21533
 
+      || strcmp (buf, "1234567.000000 33") != 0)
21534
 
+    result |= 1;
21535
 
+  if (sprintf (buf, "%F", 1.0 / 0.0) < 0
21536
 
+      || (strcmp (buf, "INF") != 0 && strcmp (buf, "INFINITY") != 0))
21537
 
+    result |= 2;
21538
 
+  /* This catches a Cygwin 1.5.x bug.  */
21539
 
+  if (sprintf (buf, "%.F", 1234.0) < 0
21540
 
+      || strcmp (buf, "1234") != 0)
21541
 
+    result |= 4;
21542
 
+  return result;
21543
 
+}
21544
 
+_ACEOF
21545
 
+if ac_fn_c_try_run "$LINENO"; then :
21546
 
+  gl_cv_func_printf_directive_f=yes
21547
 
+else
21548
 
+  gl_cv_func_printf_directive_f=no
21549
 
+fi
21550
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21551
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
21552
 
+fi
21553
 
+
21554
 
+    
21555
 
+fi
21556
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_f" >&5
21557
 
+$as_echo "$gl_cv_func_printf_directive_f" >&6; }
21558
 
+
21559
 
+
21560
 
+  
21561
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'n' directive" >&5
21562
 
+$as_echo_n "checking whether printf supports the 'n' directive... " >&6; }
21563
 
+if ${gl_cv_func_printf_directive_n+:} false; then :
21564
 
+  $as_echo_n "(cached) " >&6
21565
 
+else
21566
 
+  
21567
 
+      if test "$cross_compiling" = yes; then :
21568
 
+  
21569
 
+         case "$host_os" in
21570
 
+           *)     gl_cv_func_printf_directive_n="guessing yes";;
21571
 
+         esac
21572
 
+        
21573
 
+else
21574
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21575
 
+/* end confdefs.h.  */
21576
 
+
21577
 
+#include <stdio.h>
21578
 
+#include <string.h>
21579
 
+static char fmtstring[10];
21580
 
+static char buf[100];
21581
 
+int main ()
21582
 
+{
21583
 
+  int count = -1;
21584
 
+  /* Copy the format string.  Some systems (glibc with _FORTIFY_SOURCE=2)
21585
 
+     support %n in format strings in read-only memory but not in writable
21586
 
+     memory.  */
21587
 
+  strcpy (fmtstring, "%d %n");
21588
 
+  if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0
21589
 
+      || strcmp (buf, "123 ") != 0
21590
 
+      || count != 4)
21591
 
+    return 1;
21592
 
+  return 0;
21593
 
+}
21594
 
+_ACEOF
21595
 
+if ac_fn_c_try_run "$LINENO"; then :
21596
 
+  gl_cv_func_printf_directive_n=yes
21597
 
+else
21598
 
+  gl_cv_func_printf_directive_n=no
21599
 
+fi
21600
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21601
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
21602
 
+fi
21603
 
+
21604
 
+    
21605
 
+fi
21606
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_n" >&5
21607
 
+$as_echo "$gl_cv_func_printf_directive_n" >&6; }
21608
 
+
21609
 
+
21610
 
+  
21611
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'ls' directive" >&5
21612
 
+$as_echo_n "checking whether printf supports the 'ls' directive... " >&6; }
21613
 
+if ${gl_cv_func_printf_directive_ls+:} false; then :
21614
 
+  $as_echo_n "(cached) " >&6
21615
 
+else
21616
 
+  
21617
 
+      if test "$cross_compiling" = yes; then :
21618
 
+  
21619
 
+         case "$host_os" in
21620
 
+           openbsd*)        gl_cv_func_printf_directive_ls="guessing no";;
21621
 
+           irix*)           gl_cv_func_printf_directive_ls="guessing no";;
21622
 
+           solaris*)        gl_cv_func_printf_directive_ls="guessing no";;
21623
 
+           cygwin*)         gl_cv_func_printf_directive_ls="guessing no";;
21624
 
+           beos* | haiku*)  gl_cv_func_printf_directive_ls="guessing no";;
21625
 
+           *)               gl_cv_func_printf_directive_ls="guessing yes";;
21626
 
+         esac
21627
 
+        
21628
 
+else
21629
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21630
 
+/* end confdefs.h.  */
21631
 
+
21632
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
21633
 
+   <wchar.h>.
21634
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
21635
 
+   included before <wchar.h>.  */
21636
 
+#include <stddef.h>
21637
 
+#include <stdio.h>
21638
 
+#include <time.h>
21639
 
+#include <wchar.h>
21640
 
+#include <string.h>
21641
 
+int main ()
21642
 
+{
21643
 
+  int result = 0;
21644
 
+  char buf[100];
21645
 
+  /* Test whether %ls works at all.
21646
 
+     This test fails on OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Haiku, but not on
21647
 
+     Cygwin 1.5.  */
21648
 
+  {
21649
 
+    static const wchar_t wstring[] = { 'a', 'b', 'c', 0 };
21650
 
+    buf[0] = '\0';
21651
 
+    if (sprintf (buf, "%ls", wstring) < 0
21652
 
+        || strcmp (buf, "abc") != 0)
21653
 
+      result |= 1;
21654
 
+  }
21655
 
+  /* This test fails on IRIX 6.5, Solaris 2.6, Cygwin 1.5, Haiku (with an
21656
 
+     assertion failure inside libc), but not on OpenBSD 4.0.  */
21657
 
+  {
21658
 
+    static const wchar_t wstring[] = { 'a', 0 };
21659
 
+    buf[0] = '\0';
21660
 
+    if (sprintf (buf, "%ls", wstring) < 0
21661
 
+        || strcmp (buf, "a") != 0)
21662
 
+      result |= 2;
21663
 
+  }
21664
 
+  /* Test whether precisions in %ls are supported as specified in ISO C 99
21665
 
+     section 7.19.6.1:
21666
 
+       "If a precision is specified, no more than that many bytes are written
21667
 
+        (including shift sequences, if any), and the array shall contain a
21668
 
+        null wide character if, to equal the multibyte character sequence
21669
 
+        length given by the precision, the function would need to access a
21670
 
+        wide character one past the end of the array."
21671
 
+     This test fails on Solaris 10.  */
21672
 
+  {
21673
 
+    static const wchar_t wstring[] = { 'a', 'b', (wchar_t) 0xfdfdfdfd, 0 };
21674
 
+    buf[0] = '\0';
21675
 
+    if (sprintf (buf, "%.2ls", wstring) < 0
21676
 
+        || strcmp (buf, "ab") != 0)
21677
 
+      result |= 8;
21678
 
+  }
21679
 
+  return result;
21680
 
+}
21681
 
+_ACEOF
21682
 
+if ac_fn_c_try_run "$LINENO"; then :
21683
 
+  gl_cv_func_printf_directive_ls=yes
21684
 
+else
21685
 
+  gl_cv_func_printf_directive_ls=no
21686
 
+fi
21687
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21688
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
21689
 
+fi
21690
 
+
21691
 
+    
21692
 
+fi
21693
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_ls" >&5
21694
 
+$as_echo "$gl_cv_func_printf_directive_ls" >&6; }
21695
 
+
21696
 
+
21697
 
+  
21698
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the grouping flag" >&5
21699
 
+$as_echo_n "checking whether printf supports the grouping flag... " >&6; }
21700
 
+if ${gl_cv_func_printf_flag_grouping+:} false; then :
21701
 
+  $as_echo_n "(cached) " >&6
21702
 
+else
21703
 
+  
21704
 
+      if test "$cross_compiling" = yes; then :
21705
 
+  
21706
 
+         case "$host_os" in
21707
 
+           cygwin*)      gl_cv_func_printf_flag_grouping="guessing no";;
21708
 
+           netbsd*)      gl_cv_func_printf_flag_grouping="guessing no";;
21709
 
+           mingw* | pw*) gl_cv_func_printf_flag_grouping="guessing no";;
21710
 
+           *)            gl_cv_func_printf_flag_grouping="guessing yes";;
21711
 
+         esac
21712
 
+        
21713
 
+else
21714
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21715
 
+/* end confdefs.h.  */
21716
 
+
21717
 
+#include <stdio.h>
21718
 
+#include <string.h>
21719
 
+static char buf[100];
21720
 
+int main ()
21721
 
+{
21722
 
+  if (sprintf (buf, "%'d %d", 1234567, 99) < 0
21723
 
+      || buf[strlen (buf) - 1] != '9')
21724
 
+    return 1;
21725
 
+  return 0;
21726
 
+}
21727
 
+_ACEOF
21728
 
+if ac_fn_c_try_run "$LINENO"; then :
21729
 
+  gl_cv_func_printf_flag_grouping=yes
21730
 
+else
21731
 
+  gl_cv_func_printf_flag_grouping=no
21732
 
+fi
21733
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21734
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
21735
 
+fi
21736
 
+
21737
 
+    
21738
 
+fi
21739
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_flag_grouping" >&5
21740
 
+$as_echo "$gl_cv_func_printf_flag_grouping" >&6; }
21741
 
+
21742
 
+
21743
 
+  
21744
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the left-adjust flag correctly" >&5
21745
 
+$as_echo_n "checking whether printf supports the left-adjust flag correctly... " >&6; }
21746
 
+if ${gl_cv_func_printf_flag_leftadjust+:} false; then :
21747
 
+  $as_echo_n "(cached) " >&6
21748
 
+else
21749
 
+  
21750
 
+      if test "$cross_compiling" = yes; then :
21751
 
+  
21752
 
+         case "$host_os" in
21753
 
+                    # Guess yes on HP-UX 11.
21754
 
+           hpux11*) gl_cv_func_printf_flag_leftadjust="guessing yes";;
21755
 
+                    # Guess no on HP-UX 10 and older.
21756
 
+           hpux*)   gl_cv_func_printf_flag_leftadjust="guessing no";;
21757
 
+                    # Guess yes otherwise.
21758
 
+           *)       gl_cv_func_printf_flag_leftadjust="guessing yes";;
21759
 
+         esac
21760
 
+        
21761
 
+else
21762
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21763
 
+/* end confdefs.h.  */
21764
 
+
21765
 
+#include <stdio.h>
21766
 
+#include <string.h>
21767
 
+static char buf[100];
21768
 
+int main ()
21769
 
+{
21770
 
+  /* Check that a '-' flag is not annihilated by a negative width.  */
21771
 
+  if (sprintf (buf, "a%-*sc", -3, "b") < 0
21772
 
+      || strcmp (buf, "ab  c") != 0)
21773
 
+    return 1;
21774
 
+  return 0;
21775
 
+}
21776
 
+_ACEOF
21777
 
+if ac_fn_c_try_run "$LINENO"; then :
21778
 
+  gl_cv_func_printf_flag_leftadjust=yes
21779
 
+else
21780
 
+  gl_cv_func_printf_flag_leftadjust=no
21781
 
+fi
21782
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21783
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
21784
 
+fi
21785
 
+
21786
 
+    
21787
 
+fi
21788
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_flag_leftadjust" >&5
21789
 
+$as_echo "$gl_cv_func_printf_flag_leftadjust" >&6; }
21790
 
+
21791
 
+
21792
 
+  
21793
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the zero flag correctly" >&5
21794
 
+$as_echo_n "checking whether printf supports the zero flag correctly... " >&6; }
21795
 
+if ${gl_cv_func_printf_flag_zero+:} false; then :
21796
 
+  $as_echo_n "(cached) " >&6
21797
 
+else
21798
 
+  
21799
 
+      if test "$cross_compiling" = yes; then :
21800
 
+  
21801
 
+         case "$host_os" in
21802
 
+                   # Guess yes on glibc systems.
21803
 
+           *-gnu*) gl_cv_func_printf_flag_zero="guessing yes";;
21804
 
+                   # Guess yes on BeOS.
21805
 
+           beos*)  gl_cv_func_printf_flag_zero="guessing yes";;
21806
 
+                   # If we don't know, assume the worst.
21807
 
+           *)      gl_cv_func_printf_flag_zero="guessing no";;
21808
 
+         esac
21809
 
+        
21810
 
+else
21811
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21812
 
+/* end confdefs.h.  */
21813
 
+
21814
 
+#include <stdio.h>
21815
 
+#include <string.h>
21816
 
+static char buf[100];
21817
 
+int main ()
21818
 
+{
21819
 
+  if (sprintf (buf, "%010f", 1.0 / 0.0, 33, 44, 55) < 0
21820
 
+      || (strcmp (buf, "       inf") != 0
21821
 
+          && strcmp (buf, "  infinity") != 0))
21822
 
+    return 1;
21823
 
+  return 0;
21824
 
+}
21825
 
+_ACEOF
21826
 
+if ac_fn_c_try_run "$LINENO"; then :
21827
 
+  gl_cv_func_printf_flag_zero=yes
21828
 
+else
21829
 
+  gl_cv_func_printf_flag_zero=no
21830
 
+fi
21831
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21832
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
21833
 
+fi
21834
 
+
21835
 
+    
21836
 
+fi
21837
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_flag_zero" >&5
21838
 
+$as_echo "$gl_cv_func_printf_flag_zero" >&6; }
21839
 
+
21840
 
+
21841
 
+  
21842
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports large precisions" >&5
21843
 
+$as_echo_n "checking whether printf supports large precisions... " >&6; }
21844
 
+if ${gl_cv_func_printf_precision+:} false; then :
21845
 
+  $as_echo_n "(cached) " >&6
21846
 
+else
21847
 
+  
21848
 
+      if test "$cross_compiling" = yes; then :
21849
 
+  
21850
 
+         case "$host_os" in
21851
 
+           # Guess no only on Solaris, native Win32, and BeOS systems.
21852
 
+           solaris*)     gl_cv_func_printf_precision="guessing no" ;;
21853
 
+           mingw* | pw*) gl_cv_func_printf_precision="guessing no" ;;
21854
 
+           beos*)        gl_cv_func_printf_precision="guessing no" ;;
21855
 
+           *)            gl_cv_func_printf_precision="guessing yes" ;;
21856
 
+         esac
21857
 
+        
21858
 
+else
21859
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21860
 
+/* end confdefs.h.  */
21861
 
+
21862
 
+#include <stdio.h>
21863
 
+#include <string.h>
21864
 
+static char buf[5000];
21865
 
+int main ()
21866
 
+{
21867
 
+  int result = 0;
21868
 
+#ifdef __BEOS__
21869
 
+  /* On BeOS, this would crash and show a dialog box.  Avoid the crash.  */
21870
 
+  return 1;
21871
 
+#endif
21872
 
+  if (sprintf (buf, "%.4000d %d", 1, 33, 44) < 4000 + 3)
21873
 
+    result |= 1;
21874
 
+  if (sprintf (buf, "%.4000f %d", 1.0, 33, 44) < 4000 + 5)
21875
 
+    result |= 2;
21876
 
+  if (sprintf (buf, "%.511f %d", 1.0, 33, 44) < 511 + 5
21877
 
+      || buf[0] != '1')
21878
 
+    result |= 4;
21879
 
+  if (sprintf (buf, "%.999f %d", 1.0, 33, 44) < 999 + 5
21880
 
+      || buf[0] != '1')
21881
 
+    result |= 4;
21882
 
+  return result;
21883
 
+}
21884
 
+_ACEOF
21885
 
+if ac_fn_c_try_run "$LINENO"; then :
21886
 
+  gl_cv_func_printf_precision=yes
21887
 
+else
21888
 
+  gl_cv_func_printf_precision=no
21889
 
+fi
21890
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21891
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
21892
 
+fi
21893
 
+
21894
 
+    
21895
 
+fi
21896
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_precision" >&5
21897
 
+$as_echo "$gl_cv_func_printf_precision" >&6; }
21898
 
+
21899
 
+
21900
 
+  
21901
 
+  
21902
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf survives out-of-memory conditions" >&5
21903
 
+$as_echo_n "checking whether printf survives out-of-memory conditions... " >&6; }
21904
 
+if ${gl_cv_func_printf_enomem+:} false; then :
21905
 
+  $as_echo_n "(cached) " >&6
21906
 
+else
21907
 
+  
21908
 
+      gl_cv_func_printf_enomem="guessing no"
21909
 
+      if test "$cross_compiling" = no; then
21910
 
+        if test $APPLE_UNIVERSAL_BUILD = 0; then
21911
 
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21912
 
+/* end confdefs.h.  */
21913
 
+
21914
 
+
21915
 
+#include <stdlib.h>
21916
 
+#if defined __MACH__ && defined __APPLE__
21917
 
+/* Avoid a crash on MacOS X.  */
21918
 
+#include <mach/mach.h>
21919
 
+#include <mach/mach_error.h>
21920
 
+#include <mach/thread_status.h>
21921
 
+#include <mach/exception.h>
21922
 
+#include <mach/task.h>
21923
 
+#include <pthread.h>
21924
 
+/* The exception port on which our thread listens.  */
21925
 
+static mach_port_t our_exception_port;
21926
 
+/* The main function of the thread listening for exceptions of type
21927
 
+   EXC_BAD_ACCESS.  */
21928
 
+static void *
21929
 
+mach_exception_thread (void *arg)
21930
 
+{
21931
 
+  /* Buffer for a message to be received.  */
21932
 
+  struct {
21933
 
+    mach_msg_header_t head;
21934
 
+    mach_msg_body_t msgh_body;
21935
 
+    char data1024;
21936
 
+  } msg;
21937
 
+  mach_msg_return_t retval;
21938
 
+  /* Wait for a message on the exception port.  */
21939
 
+  retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
21940
 
+                     our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
21941
 
+  if (retval != MACH_MSG_SUCCESS)
21942
 
+    abort ();
21943
 
+  exit (1);
21944
 
+}
21945
 
+static void
21946
 
+nocrash_init (void)
21947
 
+{
21948
 
+  mach_port_t self = mach_task_self ();
21949
 
+  /* Allocate a port on which the thread shall listen for exceptions.  */
21950
 
+  if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
21951
 
+      == KERN_SUCCESS) {
21952
 
+    /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html.  */
21953
 
+    if (mach_port_insert_right (self, our_exception_port, our_exception_port,
21954
 
+                                MACH_MSG_TYPE_MAKE_SEND)
21955
 
+        == KERN_SUCCESS) {
21956
 
+      /* The exceptions we want to catch.  Only EXC_BAD_ACCESS is interesting
21957
 
+         for us.  */
21958
 
+      exception_mask_t mask = EXC_MASK_BAD_ACCESS;
21959
 
+      /* Create the thread listening on the exception port.  */
21960
 
+      pthread_attr_t attr;
21961
 
+      pthread_t thread;
21962
 
+      if (pthread_attr_init (&attr) == 0
21963
 
+          && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
21964
 
+          && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
21965
 
+        pthread_attr_destroy (&attr);
21966
 
+        /* Replace the exception port info for these exceptions with our own.
21967
 
+           Note that we replace the exception port for the entire task, not only
21968
 
+           for a particular thread.  This has the effect that when our exception
21969
 
+           port gets the message, the thread specific exception port has already
21970
 
+           been asked, and we don't need to bother about it.
21971
 
+           See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html.  */
21972
 
+        task_set_exception_ports (self, mask, our_exception_port,
21973
 
+                                  EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
21974
 
+      }
21975
 
+    }
21976
 
+  }
21977
 
+}
21978
 
+#else
21979
 
+/* Avoid a crash on POSIX systems.  */
21980
 
+#include <signal.h>
21981
 
+/* A POSIX signal handler.  */
21982
 
+static void
21983
 
+exception_handler (int sig)
21984
 
+{
21985
 
+  exit (1);
21986
 
+}
21987
 
+static void
21988
 
+nocrash_init (void)
21989
 
+{
21990
 
+#ifdef SIGSEGV
21991
 
+  signal (SIGSEGV, exception_handler);
21992
 
+#endif
21993
 
+#ifdef SIGBUS
21994
 
+  signal (SIGBUS, exception_handler);
21995
 
+#endif
21996
 
+}
21997
 
+#endif
21998
 
+
21999
 
+#include <stdio.h>
22000
 
+#include <sys/types.h>
22001
 
+#include <sys/time.h>
22002
 
+#include <sys/resource.h>
22003
 
+#include <errno.h>
22004
 
+int main()
22005
 
+{
22006
 
+  struct rlimit limit;
22007
 
+  int ret;
22008
 
+  nocrash_init ();
22009
 
+  /* Some printf implementations allocate temporary space with malloc.  */
22010
 
+  /* On BSD systems, malloc() is limited by RLIMIT_DATA.  */
22011
 
+#ifdef RLIMIT_DATA
22012
 
+  if (getrlimit (RLIMIT_DATA, &limit) < 0)
22013
 
+    return 77;
22014
 
+  if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
22015
 
+    limit.rlim_max = 5000000;
22016
 
+  limit.rlim_cur = limit.rlim_max;
22017
 
+  if (setrlimit (RLIMIT_DATA, &limit) < 0)
22018
 
+    return 77;
22019
 
+#endif
22020
 
+  /* On Linux systems, malloc() is limited by RLIMIT_AS.  */
22021
 
+#ifdef RLIMIT_AS
22022
 
+  if (getrlimit (RLIMIT_AS, &limit) < 0)
22023
 
+    return 77;
22024
 
+  if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
22025
 
+    limit.rlim_max = 5000000;
22026
 
+  limit.rlim_cur = limit.rlim_max;
22027
 
+  if (setrlimit (RLIMIT_AS, &limit) < 0)
22028
 
+    return 77;
22029
 
+#endif
22030
 
+  /* Some printf implementations allocate temporary space on the stack.  */
22031
 
+#ifdef RLIMIT_STACK
22032
 
+  if (getrlimit (RLIMIT_STACK, &limit) < 0)
22033
 
+    return 77;
22034
 
+  if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
22035
 
+    limit.rlim_max = 5000000;
22036
 
+  limit.rlim_cur = limit.rlim_max;
22037
 
+  if (setrlimit (RLIMIT_STACK, &limit) < 0)
22038
 
+    return 77;
22039
 
+#endif
22040
 
+  ret = printf ("%.5000000f", 1.0);
22041
 
+  return !(ret == 5000002 || (ret < 0 && errno == ENOMEM));
22042
 
+}
22043
 
+          
22044
 
+_ACEOF
22045
 
+          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
22046
 
+  (eval $ac_link) 2>&5
22047
 
+  ac_status=$?
22048
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22049
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
22050
 
+            (./conftest
22051
 
+             result=$?
22052
 
+             if test $result != 0 && test $result != 77; then result=1; fi
22053
 
+             exit $result
22054
 
+            ) >/dev/null 2>/dev/null
22055
 
+            case $? in
22056
 
+              0) gl_cv_func_printf_enomem="yes" ;;
22057
 
+              77) gl_cv_func_printf_enomem="guessing no" ;;
22058
 
+              *) gl_cv_func_printf_enomem="no" ;;
22059
 
+            esac
22060
 
+          else
22061
 
+            gl_cv_func_printf_enomem="guessing no"
22062
 
+          fi
22063
 
+          rm -fr conftest*
22064
 
+        else
22065
 
+                                        gl_cv_func_printf_enomem="guessing no"
22066
 
+        fi
22067
 
+      fi
22068
 
+      if test "$gl_cv_func_printf_enomem" = "guessing no"; then
22069
 
+        case "$host_os" in
22070
 
+                    # Guess yes on glibc systems.
22071
 
+          *-gnu*)   gl_cv_func_printf_enomem="guessing yes";;
22072
 
+                    # Guess yes on Solaris.
22073
 
+          solaris*) gl_cv_func_printf_enomem="guessing yes";;
22074
 
+                    # Guess yes on AIX.
22075
 
+          aix*)     gl_cv_func_printf_enomem="guessing yes";;
22076
 
+                    # Guess yes on HP-UX/hppa.
22077
 
+          hpux*)    case "$host_cpu" in
22078
 
+                      hppa*) gl_cv_func_printf_enomem="guessing yes";;
22079
 
+                      *)     gl_cv_func_printf_enomem="guessing no";;
22080
 
+                    esac
22081
 
+                    ;;
22082
 
+                    # Guess yes on IRIX.
22083
 
+          irix*)    gl_cv_func_printf_enomem="guessing yes";;
22084
 
+                    # Guess yes on OSF/1.
22085
 
+          osf*)     gl_cv_func_printf_enomem="guessing yes";;
22086
 
+                    # Guess yes on BeOS.
22087
 
+          beos*)    gl_cv_func_printf_enomem="guessing yes";;
22088
 
+                    # Guess yes on Haiku.
22089
 
+          haiku*)   gl_cv_func_printf_enomem="guessing yes";;
22090
 
+                    # If we don't know, assume the worst.
22091
 
+          *)        gl_cv_func_printf_enomem="guessing no";;
22092
 
+        esac
22093
 
+      fi
22094
 
+    
22095
 
+fi
22096
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_enomem" >&5
22097
 
+$as_echo "$gl_cv_func_printf_enomem" >&6; }
22098
 
+
22099
 
+
22100
 
+  
22101
 
+  case "$gl_cv_func_printf_long_double" in
22102
 
+    *yes)
22103
 
+      ;;
22104
 
+    *)
22105
 
+      
22106
 
+$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
22107
 
+
22108
 
+      ;;
22109
 
+  esac
22110
 
+
22111
 
+
22112
 
+
22113
 
+
22114
 
+
22115
 
+
22116
 
+  
22117
 
+   
22118
 
+    
22119
 
+
22120
 
+  
22121
 
+  
22122
 
+
22123
 
+  
22124
 
+  
22125
 
+
22126
 
+  ac_fn_c_check_decl "$LINENO" "wcwidth" "ac_cv_have_decl_wcwidth" "
22127
 
+/* AIX 3.2.5 declares wcwidth in <string.h>. */
22128
 
+#include <string.h>
22129
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
22130
 
+   <wchar.h>.
22131
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
22132
 
+   before <wchar.h>.  */
22133
 
+#include <stddef.h>
22134
 
+#include <stdio.h>
22135
 
+#include <time.h>
22136
 
+#include <wchar.h>
22137
 
+
22138
 
+"
22139
 
+if test "x$ac_cv_have_decl_wcwidth" = xyes; then :
22140
 
+  ac_have_decl=1
22141
 
+else
22142
 
+  ac_have_decl=0
22143
 
+fi
22144
 
+
22145
 
+cat >>confdefs.h <<_ACEOF
22146
 
+@%:@define HAVE_DECL_WCWIDTH $ac_have_decl
22147
 
+_ACEOF
22148
 
+
22149
 
+  if test $ac_cv_have_decl_wcwidth != yes; then
22150
 
+    HAVE_DECL_WCWIDTH=0
22151
 
+  fi
22152
 
+
22153
 
+  if test $ac_cv_func_wcwidth = yes; then
22154
 
+    HAVE_WCWIDTH=1
22155
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcwidth works reasonably in UTF-8 locales" >&5
22156
 
+$as_echo_n "checking whether wcwidth works reasonably in UTF-8 locales... " >&6; }
22157
 
+if ${gl_cv_func_wcwidth_works+:} false; then :
22158
 
+  $as_echo_n "(cached) " >&6
22159
 
+else
22160
 
+  
22161
 
+        if test "$cross_compiling" = yes; then :
22162
 
+  
22163
 
+           case "$host_os" in
22164
 
+                     # Guess yes on glibc and AIX 7 systems.
22165
 
+             *-gnu* | aix[7-9]*) gl_cv_func_wcwidth_works="guessing yes";;
22166
 
+             *)                  gl_cv_func_wcwidth_works="guessing no";;
22167
 
+           esac
22168
 
+          
22169
 
+else
22170
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22171
 
+/* end confdefs.h.  */
22172
 
+
22173
 
+#include <locale.h>
22174
 
+/* AIX 3.2.5 declares wcwidth in <string.h>. */
22175
 
+#include <string.h>
22176
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
22177
 
+   <wchar.h>.
22178
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
22179
 
+   before <wchar.h>.  */
22180
 
+#include <stddef.h>
22181
 
+#include <stdio.h>
22182
 
+#include <time.h>
22183
 
+#include <wchar.h>
22184
 
+#if !HAVE_DECL_WCWIDTH
22185
 
+extern
22186
 
+# ifdef __cplusplus
22187
 
+"C"
22188
 
+# endif
22189
 
+int wcwidth (int);
22190
 
+#endif
22191
 
+int main ()
22192
 
+{
22193
 
+  int result = 0;
22194
 
+  if (setlocale (LC_ALL, "fr_FR.UTF-8") != NULL)
22195
 
+    {
22196
 
+      if (wcwidth (0x0301) > 0)
22197
 
+        result |= 1;
22198
 
+      if (wcwidth (0x200B) > 0)
22199
 
+        result |= 2;
22200
 
+    }
22201
 
+  return result;
22202
 
+}
22203
 
+_ACEOF
22204
 
+if ac_fn_c_try_run "$LINENO"; then :
22205
 
+  gl_cv_func_wcwidth_works=yes
22206
 
+else
22207
 
+  gl_cv_func_wcwidth_works=no
22208
 
+fi
22209
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22210
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
22211
 
+fi
22212
 
+
22213
 
+      
22214
 
+fi
22215
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcwidth_works" >&5
22216
 
+$as_echo "$gl_cv_func_wcwidth_works" >&6; }
22217
 
+    case "$gl_cv_func_wcwidth_works" in
22218
 
+      *yes) ;;
22219
 
+      *no) REPLACE_WCWIDTH=1 ;;
22220
 
+    esac
22221
 
+  else
22222
 
+    HAVE_WCWIDTH=0
22223
 
+  fi
22224
 
+    
22225
 
+
22226
 
+
22227
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX termios" >&5
22228
 
+$as_echo_n "checking POSIX termios... " >&6; }
22229
 
+if ${ac_cv_sys_posix_termios+:} false; then :
22230
 
+  $as_echo_n "(cached) " >&6
22231
 
+else
22232
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22233
 
+/* end confdefs.h.  */
22234
 
+#include <sys/types.h>
22235
 
+#include <unistd.h>
22236
 
+#include <termios.h>
22237
 
+
22238
 
+int
22239
 
+main ()
22240
 
+{
22241
 
+/* SunOS 4.0.3 has termios.h but not the library calls.  */
22242
 
+   tcgetattr(0, 0);
22243
 
+  ;
22244
 
+  return 0;
22245
 
+}
22246
 
+_ACEOF
22247
 
+if ac_fn_c_try_link "$LINENO"; then :
22248
 
+  ac_cv_sys_posix_termios=yes
22249
 
+else
22250
 
+  ac_cv_sys_posix_termios=no
22251
 
+fi
22252
 
+rm -f core conftest.err conftest.$ac_objext \
22253
 
+    conftest$ac_exeext conftest.$ac_ext
22254
 
+fi
22255
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_posix_termios" >&5
22256
 
+$as_echo "$ac_cv_sys_posix_termios" >&6; }
22257
 
+
22258
 
+
22259
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use of TIOCGWINSZ requires termios.h" >&5
22260
 
+$as_echo_n "checking whether use of TIOCGWINSZ requires termios.h... " >&6; }
22261
 
+if ${gl_cv_sys_tiocgwinsz_needs_termios_h+:} false; then :
22262
 
+  $as_echo_n "(cached) " >&6
22263
 
+else
22264
 
+  gl_cv_sys_tiocgwinsz_needs_termios_h=no
22265
 
+
22266
 
+   if test $ac_cv_sys_posix_termios = yes; then
22267
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22268
 
+/* end confdefs.h.  */
22269
 
+#include <sys/types.h>
22270
 
+#      include <termios.h>
22271
 
+#      ifdef TIOCGWINSZ
22272
 
+         yes
22273
 
+#      endif
22274
 
+     
22275
 
+_ACEOF
22276
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22277
 
+  $EGREP "yes" >/dev/null 2>&1; then :
22278
 
+  gl_cv_sys_tiocgwinsz_needs_termios_h=yes
22279
 
+fi
22280
 
+rm -f conftest*
22281
 
+
22282
 
+   fi
22283
 
+  
22284
 
+fi
22285
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_tiocgwinsz_needs_termios_h" >&5
22286
 
+$as_echo "$gl_cv_sys_tiocgwinsz_needs_termios_h" >&6; }
22287
 
+
22288
 
+ac_fn_c_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default"
22289
 
+if test "x$ac_cv_have_decl_alarm" = xyes; then :
22290
 
+  ac_have_decl=1
22291
 
+else
22292
 
+  ac_have_decl=0
22293
 
+fi
22294
 
+
22295
 
+cat >>confdefs.h <<_ACEOF
22296
 
+@%:@define HAVE_DECL_ALARM $ac_have_decl
22297
 
+_ACEOF
22298
 
+
22299
 
+
22300
 
+
22301
 
+
22302
 
+  
22303
 
+
22304
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ungetc works on arbitrary bytes" >&5
22305
 
+$as_echo_n "checking whether ungetc works on arbitrary bytes... " >&6; }
22306
 
+if ${gl_cv_func_ungetc_works+:} false; then :
22307
 
+  $as_echo_n "(cached) " >&6
22308
 
+else
22309
 
+  if test "$cross_compiling" = yes; then :
22310
 
+  gl_cv_func_ungetc_works='guessing no'
22311
 
+else
22312
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22313
 
+/* end confdefs.h.  */
22314
 
+
22315
 
+#include <stdio.h>
22316
 
+      
22317
 
+int
22318
 
+main ()
22319
 
+{
22320
 
+FILE *f;
22321
 
+           if (!(f = fopen ("conftest.tmp", "w+"))) return 1;
22322
 
+           if (fputs ("abc", f) < 0) return 2;
22323
 
+           rewind (f);
22324
 
+           if (fgetc (f) != 'a') return 3;
22325
 
+           if (fgetc (f) != 'b') return 4;
22326
 
+           if (ungetc ('d', f) != 'd') return 5;
22327
 
+           if (ftell (f) != 1) return 6;
22328
 
+           if (fgetc (f) != 'd') return 7;
22329
 
+           if (ftell (f) != 2) return 8;
22330
 
+           if (fseek (f, 0, SEEK_CUR) != 0) return 9;
22331
 
+           if (ftell (f) != 2) return 10;
22332
 
+           if (fgetc (f) != 'c') return 11;
22333
 
+           fclose (f); remove ("conftest.tmp");
22334
 
+  ;
22335
 
+  return 0;
22336
 
+}
22337
 
+_ACEOF
22338
 
+if ac_fn_c_try_run "$LINENO"; then :
22339
 
+  gl_cv_func_ungetc_works=yes
22340
 
+else
22341
 
+  gl_cv_func_ungetc_works=no
22342
 
+fi
22343
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22344
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
22345
 
+fi
22346
 
+
22347
 
+    
22348
 
+fi
22349
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ungetc_works" >&5
22350
 
+$as_echo "$gl_cv_func_ungetc_works" >&6; }
22351
 
+  if test "$gl_cv_func_ungetc_works" != yes; then
22352
 
+    
22353
 
+$as_echo "@%:@define FUNC_UNGETC_BROKEN 1" >>confdefs.h
22354
 
+
22355
 
+  fi
22356
 
+
22357
 
+
22358
 
+
22359
 
+
22360
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
22361
 
+$as_echo_n "checking for LC_MESSAGES... " >&6; }
22362
 
+if ${gt_cv_val_LC_MESSAGES+:} false; then :
22363
 
+  $as_echo_n "(cached) " >&6
22364
 
+else
22365
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22366
 
+/* end confdefs.h.  */
22367
 
+#include <locale.h>
22368
 
+int
22369
 
+main ()
22370
 
+{
22371
 
+return LC_MESSAGES
22372
 
+  ;
22373
 
+  return 0;
22374
 
+}
22375
 
+_ACEOF
22376
 
+if ac_fn_c_try_link "$LINENO"; then :
22377
 
+  gt_cv_val_LC_MESSAGES=yes
22378
 
+else
22379
 
+  gt_cv_val_LC_MESSAGES=no
22380
 
+fi
22381
 
+rm -f core conftest.err conftest.$ac_objext \
22382
 
+    conftest$ac_exeext conftest.$ac_ext
22383
 
+fi
22384
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5
22385
 
+$as_echo "$gt_cv_val_LC_MESSAGES" >&6; }
22386
 
+  if test $gt_cv_val_LC_MESSAGES = yes; then
22387
 
+    
22388
 
+$as_echo "@%:@define HAVE_LC_MESSAGES 1" >>confdefs.h
22389
 
+
22390
 
+  fi
22391
 
+
22392
 
+
22393
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
22394
 
+$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
22395
 
+if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
22396
 
+  $as_echo_n "(cached) " >&6
22397
 
+else
22398
 
+  gt_save_LIBS="$LIBS"
22399
 
+     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
22400
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22401
 
+/* end confdefs.h.  */
22402
 
+#include <CoreFoundation/CFPreferences.h>
22403
 
+int
22404
 
+main ()
22405
 
+{
22406
 
+CFPreferencesCopyAppValue(NULL, NULL)
22407
 
+  ;
22408
 
+  return 0;
22409
 
+}
22410
 
+_ACEOF
22411
 
+if ac_fn_c_try_link "$LINENO"; then :
22412
 
+  gt_cv_func_CFPreferencesCopyAppValue=yes
22413
 
+else
22414
 
+  gt_cv_func_CFPreferencesCopyAppValue=no
22415
 
+fi
22416
 
+rm -f core conftest.err conftest.$ac_objext \
22417
 
+    conftest$ac_exeext conftest.$ac_ext
22418
 
+     LIBS="$gt_save_LIBS"
22419
 
+fi
22420
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
22421
 
+$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
22422
 
+  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
22423
 
+    
22424
 
+$as_echo "@%:@define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
22425
 
+
22426
 
+  fi
22427
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
22428
 
+$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
22429
 
+if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
22430
 
+  $as_echo_n "(cached) " >&6
22431
 
+else
22432
 
+  gt_save_LIBS="$LIBS"
22433
 
+     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
22434
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22435
 
+/* end confdefs.h.  */
22436
 
+#include <CoreFoundation/CFLocale.h>
22437
 
+int
22438
 
+main ()
22439
 
+{
22440
 
+CFLocaleCopyCurrent();
22441
 
+  ;
22442
 
+  return 0;
22443
 
+}
22444
 
+_ACEOF
22445
 
+if ac_fn_c_try_link "$LINENO"; then :
22446
 
+  gt_cv_func_CFLocaleCopyCurrent=yes
22447
 
+else
22448
 
+  gt_cv_func_CFLocaleCopyCurrent=no
22449
 
+fi
22450
 
+rm -f core conftest.err conftest.$ac_objext \
22451
 
+    conftest$ac_exeext conftest.$ac_ext
22452
 
+     LIBS="$gt_save_LIBS"
22453
 
+fi
22454
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
22455
 
+$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
22456
 
+  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
22457
 
+    
22458
 
+$as_echo "@%:@define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
22459
 
+
22460
 
+  fi
22461
 
+  INTL_MACOSX_LIBS=
22462
 
+  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
22463
 
+    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
22464
 
+  fi
22465
 
+  
22466
 
+
22467
 
+ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
22468
 
+if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
22469
 
+  ac_have_decl=1
22470
 
+else
22471
 
+  ac_have_decl=0
22472
 
+fi
22473
 
+
22474
 
+cat >>confdefs.h <<_ACEOF
22475
 
+@%:@define HAVE_DECL_STRERROR_R $ac_have_decl
22476
 
+_ACEOF
22477
 
+
22478
 
+
22479
 
+  
22480
 
+  
22481
 
+
22482
 
+    
22483
 
+
22484
 
+      
22485
 
+  if test $ac_cv_have_decl_strerror_r = no; then
22486
 
+    HAVE_DECL_STRERROR_R=0
22487
 
+  fi
22488
 
+
22489
 
+  if test $ac_cv_func_strerror_r = yes; then
22490
 
+    if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
22491
 
+      if test $gl_cv_func_strerror_r_posix_signature = yes; then
22492
 
+        case "$gl_cv_func_strerror_r_works" in
22493
 
+                    *no) REPLACE_STRERROR_R=1 ;;
22494
 
+        esac
22495
 
+      else
22496
 
+                REPLACE_STRERROR_R=1
22497
 
+      fi
22498
 
+    else
22499
 
+                  REPLACE_STRERROR_R=1
22500
 
+    fi
22501
 
+  fi
22502
 
+
22503
 
+
22504
 
+
22505
 
+
22506
 
+
22507
 
+
22508
 
+
22509
 
+
22510
 
+
22511
 
+
22512
 
+
22513
 
+
22514
 
+
22515
 
+
22516
 
+   if false; then
22517
 
+  GL_COND_LIBTOOL_TRUE=
22518
 
+  GL_COND_LIBTOOL_FALSE='#'
22519
 
+else
22520
 
+  GL_COND_LIBTOOL_TRUE='#'
22521
 
+  GL_COND_LIBTOOL_FALSE=
22522
 
+fi
22523
 
+
22524
 
+  gl_cond_libtool=false
22525
 
+  gl_libdeps=
22526
 
+  gl_ltlibdeps=
22527
 
+  gl_m4_base='m4'
22528
 
+  
22529
 
+  
22530
 
+  
22531
 
+  
22532
 
+  
22533
 
+  
22534
 
+    
22535
 
+  
22536
 
+
22537
 
+  gl_source_base='lib'
22538
 
+
22539
 
+  @%:@ Check whether --enable-acl was given.
22540
 
+if test "${enable_acl+set}" = set; then :
22541
 
+  enableval=$enable_acl; 
22542
 
+else
22543
 
+  enable_acl=auto
22544
 
+fi
22545
 
+
22546
 
+
22547
 
+  LIB_ACL=
22548
 
+  use_acl=0
22549
 
+  
22550
 
+  if test "x$enable_acl" != "xno"; then
22551
 
+        for ac_header in sys/acl.h
22552
 
+do :
22553
 
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/acl.h" "ac_cv_header_sys_acl_h" "$ac_includes_default"
22554
 
+if test "x$ac_cv_header_sys_acl_h" = xyes; then :
22555
 
+  cat >>confdefs.h <<_ACEOF
22556
 
+@%:@define HAVE_SYS_ACL_H 1
22557
 
+_ACEOF
22558
 
22559
 
+fi
22560
 
+
22561
 
+done
22562
 
+
22563
 
+    if test $ac_cv_header_sys_acl_h = yes; then
22564
 
+      ac_save_LIBS=$LIBS
22565
 
+
22566
 
+                  if test $use_acl = 0; then
22567
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing acl_get_file" >&5
22568
 
+$as_echo_n "checking for library containing acl_get_file... " >&6; }
22569
 
+if ${ac_cv_search_acl_get_file+:} false; then :
22570
 
+  $as_echo_n "(cached) " >&6
22571
 
+else
22572
 
+  ac_func_search_save_LIBS=$LIBS
22573
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22574
 
+/* end confdefs.h.  */
22575
 
+
22576
 
+/* Override any GCC internal prototype to avoid an error.
22577
 
+   Use char because int might match the return type of a GCC
22578
 
+   builtin and then its argument prototype would still apply.  */
22579
 
+#ifdef __cplusplus
22580
 
+extern "C"
22581
 
+#endif
22582
 
+char acl_get_file ();
22583
 
+int
22584
 
+main ()
22585
 
+{
22586
 
+return acl_get_file ();
22587
 
+  ;
22588
 
+  return 0;
22589
 
+}
22590
 
+_ACEOF
22591
 
+for ac_lib in '' acl pacl; do
22592
 
+  if test -z "$ac_lib"; then
22593
 
+    ac_res="none required"
22594
 
+  else
22595
 
+    ac_res=-l$ac_lib
22596
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
22597
 
+  fi
22598
 
+  if ac_fn_c_try_link "$LINENO"; then :
22599
 
+  ac_cv_search_acl_get_file=$ac_res
22600
 
+fi
22601
 
+rm -f core conftest.err conftest.$ac_objext \
22602
 
+    conftest$ac_exeext
22603
 
+  if ${ac_cv_search_acl_get_file+:} false; then :
22604
 
+  break
22605
 
+fi
22606
 
+done
22607
 
+if ${ac_cv_search_acl_get_file+:} false; then :
22608
 
+  
22609
 
+else
22610
 
+  ac_cv_search_acl_get_file=no
22611
 
+fi
22612
 
+rm conftest.$ac_ext
22613
 
+LIBS=$ac_func_search_save_LIBS
22614
 
+fi
22615
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_acl_get_file" >&5
22616
 
+$as_echo "$ac_cv_search_acl_get_file" >&6; }
22617
 
+ac_res=$ac_cv_search_acl_get_file
22618
 
+if test "$ac_res" != no; then :
22619
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22620
 
+  if test "$ac_cv_search_acl_get_file" != "none required"; then
22621
 
+             LIB_ACL=$ac_cv_search_acl_get_file
22622
 
+           fi
22623
 
+           for ac_func in acl_get_file acl_get_fd acl_set_file acl_set_fd \
22624
 
+              acl_free acl_from_mode acl_from_text \
22625
 
+              acl_delete_def_file acl_extended_file acl_extended_file_nofollow \
22626
 
+              acl_delete_fd_np acl_delete_file_np \
22627
 
+              acl_copy_ext_native acl_create_entry_np \
22628
 
+              acl_to_short_text acl_free_text
22629
 
+do :
22630
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22631
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22632
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22633
 
+  cat >>confdefs.h <<_ACEOF
22634
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22635
 
+_ACEOF
22636
 
22637
 
+fi
22638
 
+done
22639
 
+
22640
 
+           # If the acl_get_file bug is detected, don't enable the ACL support.
22641
 
+           
22642
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working acl_get_file" >&5
22643
 
+$as_echo_n "checking for working acl_get_file... " >&6; }
22644
 
+if ${gl_cv_func_working_acl_get_file+:} false; then :
22645
 
+  $as_echo_n "(cached) " >&6
22646
 
+else
22647
 
+  if test "$cross_compiling" = yes; then :
22648
 
+  gl_cv_func_working_acl_get_file=cross-compiling
22649
 
+else
22650
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22651
 
+/* end confdefs.h.  */
22652
 
+#include <sys/types.h>
22653
 
+           #include <sys/acl.h>
22654
 
+           #include <errno.h>
22655
 
+          
22656
 
+int
22657
 
+main ()
22658
 
+{
22659
 
+if (!acl_get_file (".", ACL_TYPE_ACCESS) && errno == ENOENT)
22660
 
+              return 1;
22661
 
+            return 0;
22662
 
+          
22663
 
+  ;
22664
 
+  return 0;
22665
 
+}
22666
 
+_ACEOF
22667
 
+if ac_fn_c_try_run "$LINENO"; then :
22668
 
+  gl_cv_func_working_acl_get_file=yes
22669
 
+else
22670
 
+  gl_cv_func_working_acl_get_file=no
22671
 
+fi
22672
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22673
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
22674
 
+fi
22675
 
+
22676
 
+fi
22677
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_acl_get_file" >&5
22678
 
+$as_echo "$gl_cv_func_working_acl_get_file" >&6; }
22679
 
+
22680
 
+  if test $gl_cv_func_working_acl_get_file = yes; then :
22681
 
+  use_acl=1
22682
 
+fi
22683
 
+
22684
 
+           if test $use_acl = 1; then
22685
 
+                          for ac_header in acl/libacl.h
22686
 
+do :
22687
 
+  ac_fn_c_check_header_mongrel "$LINENO" "acl/libacl.h" "ac_cv_header_acl_libacl_h" "$ac_includes_default"
22688
 
+if test "x$ac_cv_header_acl_libacl_h" = xyes; then :
22689
 
+  cat >>confdefs.h <<_ACEOF
22690
 
+@%:@define HAVE_ACL_LIBACL_H 1
22691
 
+_ACEOF
22692
 
22693
 
+fi
22694
 
+
22695
 
+done
22696
 
+
22697
 
+             
22698
 
+  
22699
 
+  
22700
 
+    
22701
 
+      
22702
 
+      
22703
 
+    
22704
 
+  
22705
 
+  for ac_func in acl_entries
22706
 
+do :
22707
 
+  ac_fn_c_check_func "$LINENO" "acl_entries" "ac_cv_func_acl_entries"
22708
 
+if test "x$ac_cv_func_acl_entries" = xyes; then :
22709
 
+  cat >>confdefs.h <<_ACEOF
22710
 
+@%:@define HAVE_ACL_ENTRIES 1
22711
 
+_ACEOF
22712
 
22713
 
+else
22714
 
+  
22715
 
+    gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext"
22716
 
+
22717
 
+fi
22718
 
+done
22719
 
+
22720
 
+
22721
 
+             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ACL_FIRST_ENTRY" >&5
22722
 
+$as_echo_n "checking for ACL_FIRST_ENTRY... " >&6; }
22723
 
+if ${gl_cv_acl_ACL_FIRST_ENTRY+:} false; then :
22724
 
+  $as_echo_n "(cached) " >&6
22725
 
+else
22726
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22727
 
+/* end confdefs.h.  */
22728
 
+#include <sys/types.h>
22729
 
+#include <sys/acl.h>
22730
 
+int type = ACL_FIRST_ENTRY;
22731
 
+int
22732
 
+main ()
22733
 
+{
22734
 
+
22735
 
+  ;
22736
 
+  return 0;
22737
 
+}
22738
 
+_ACEOF
22739
 
+if ac_fn_c_try_compile "$LINENO"; then :
22740
 
+  gl_cv_acl_ACL_FIRST_ENTRY=yes
22741
 
+else
22742
 
+  gl_cv_acl_ACL_FIRST_ENTRY=no
22743
 
+fi
22744
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22745
 
+fi
22746
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_acl_ACL_FIRST_ENTRY" >&5
22747
 
+$as_echo "$gl_cv_acl_ACL_FIRST_ENTRY" >&6; }
22748
 
+             if test $gl_cv_acl_ACL_FIRST_ENTRY = yes; then
22749
 
+               
22750
 
+$as_echo "@%:@define HAVE_ACL_FIRST_ENTRY 1" >>confdefs.h
22751
 
+
22752
 
+             fi
22753
 
+                          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ACL_TYPE_EXTENDED" >&5
22754
 
+$as_echo_n "checking for ACL_TYPE_EXTENDED... " >&6; }
22755
 
+if ${gl_cv_acl_ACL_TYPE_EXTENDED+:} false; then :
22756
 
+  $as_echo_n "(cached) " >&6
22757
 
+else
22758
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22759
 
+/* end confdefs.h.  */
22760
 
+#include <sys/types.h>
22761
 
+#include <sys/acl.h>
22762
 
+int type = ACL_TYPE_EXTENDED;
22763
 
+int
22764
 
+main ()
22765
 
+{
22766
 
+
22767
 
+  ;
22768
 
+  return 0;
22769
 
+}
22770
 
+_ACEOF
22771
 
+if ac_fn_c_try_compile "$LINENO"; then :
22772
 
+  gl_cv_acl_ACL_TYPE_EXTENDED=yes
22773
 
+else
22774
 
+  gl_cv_acl_ACL_TYPE_EXTENDED=no
22775
 
+fi
22776
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22777
 
+fi
22778
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_acl_ACL_TYPE_EXTENDED" >&5
22779
 
+$as_echo "$gl_cv_acl_ACL_TYPE_EXTENDED" >&6; }
22780
 
+             if test $gl_cv_acl_ACL_TYPE_EXTENDED = yes; then
22781
 
+               
22782
 
+$as_echo "@%:@define HAVE_ACL_TYPE_EXTENDED 1" >>confdefs.h
22783
 
+
22784
 
+             fi
22785
 
+           else
22786
 
+             LIB_ACL=
22787
 
+           fi
22788
 
+          
22789
 
+fi
22790
 
+
22791
 
+      fi
22792
 
+
22793
 
+            if test $use_acl = 0; then
22794
 
+        for ac_func in facl
22795
 
+do :
22796
 
+  ac_fn_c_check_func "$LINENO" "facl" "ac_cv_func_facl"
22797
 
+if test "x$ac_cv_func_facl" = xyes; then :
22798
 
+  cat >>confdefs.h <<_ACEOF
22799
 
+@%:@define HAVE_FACL 1
22800
 
+_ACEOF
22801
 
22802
 
+fi
22803
 
+done
22804
 
+
22805
 
+        if test $ac_cv_func_facl = yes; then
22806
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing acl_trivial" >&5
22807
 
+$as_echo_n "checking for library containing acl_trivial... " >&6; }
22808
 
+if ${ac_cv_search_acl_trivial+:} false; then :
22809
 
+  $as_echo_n "(cached) " >&6
22810
 
+else
22811
 
+  ac_func_search_save_LIBS=$LIBS
22812
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22813
 
+/* end confdefs.h.  */
22814
 
+
22815
 
+/* Override any GCC internal prototype to avoid an error.
22816
 
+   Use char because int might match the return type of a GCC
22817
 
+   builtin and then its argument prototype would still apply.  */
22818
 
+#ifdef __cplusplus
22819
 
+extern "C"
22820
 
+#endif
22821
 
+char acl_trivial ();
22822
 
+int
22823
 
+main ()
22824
 
+{
22825
 
+return acl_trivial ();
22826
 
+  ;
22827
 
+  return 0;
22828
 
+}
22829
 
+_ACEOF
22830
 
+for ac_lib in '' sec; do
22831
 
+  if test -z "$ac_lib"; then
22832
 
+    ac_res="none required"
22833
 
+  else
22834
 
+    ac_res=-l$ac_lib
22835
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
22836
 
+  fi
22837
 
+  if ac_fn_c_try_link "$LINENO"; then :
22838
 
+  ac_cv_search_acl_trivial=$ac_res
22839
 
+fi
22840
 
+rm -f core conftest.err conftest.$ac_objext \
22841
 
+    conftest$ac_exeext
22842
 
+  if ${ac_cv_search_acl_trivial+:} false; then :
22843
 
+  break
22844
 
+fi
22845
 
+done
22846
 
+if ${ac_cv_search_acl_trivial+:} false; then :
22847
 
+  
22848
 
+else
22849
 
+  ac_cv_search_acl_trivial=no
22850
 
+fi
22851
 
+rm conftest.$ac_ext
22852
 
+LIBS=$ac_func_search_save_LIBS
22853
 
+fi
22854
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_acl_trivial" >&5
22855
 
+$as_echo "$ac_cv_search_acl_trivial" >&6; }
22856
 
+ac_res=$ac_cv_search_acl_trivial
22857
 
+if test "$ac_res" != no; then :
22858
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22859
 
+  if test "$ac_cv_search_acl_trivial" != "none required"; then
22860
 
+               LIB_ACL=$ac_cv_search_acl_trivial
22861
 
+             fi
22862
 
+            
22863
 
+fi
22864
 
+
22865
 
+          for ac_func in acl_trivial
22866
 
+do :
22867
 
+  ac_fn_c_check_func "$LINENO" "acl_trivial" "ac_cv_func_acl_trivial"
22868
 
+if test "x$ac_cv_func_acl_trivial" = xyes; then :
22869
 
+  cat >>confdefs.h <<_ACEOF
22870
 
+@%:@define HAVE_ACL_TRIVIAL 1
22871
 
+_ACEOF
22872
 
22873
 
+fi
22874
 
+done
22875
 
+
22876
 
+          use_acl=1
22877
 
+        fi
22878
 
+      fi
22879
 
+
22880
 
+            if test $use_acl = 0; then
22881
 
+        for ac_func in getacl
22882
 
+do :
22883
 
+  ac_fn_c_check_func "$LINENO" "getacl" "ac_cv_func_getacl"
22884
 
+if test "x$ac_cv_func_getacl" = xyes; then :
22885
 
+  cat >>confdefs.h <<_ACEOF
22886
 
+@%:@define HAVE_GETACL 1
22887
 
+_ACEOF
22888
 
22889
 
+fi
22890
 
+done
22891
 
+
22892
 
+        if test $ac_cv_func_getacl = yes; then
22893
 
+          use_acl=1
22894
 
+        fi
22895
 
+                for ac_header in aclv.h
22896
 
+do :
22897
 
+  ac_fn_c_check_header_compile "$LINENO" "aclv.h" "ac_cv_header_aclv_h" "#include <sys/types.h>
22898
 
+"
22899
 
+if test "x$ac_cv_header_aclv_h" = xyes; then :
22900
 
+  cat >>confdefs.h <<_ACEOF
22901
 
+@%:@define HAVE_ACLV_H 1
22902
 
+_ACEOF
22903
 
22904
 
+fi
22905
 
+
22906
 
+done
22907
 
+
22908
 
+      fi
22909
 
+
22910
 
+            if test $use_acl = 0; then
22911
 
+        for ac_func in aclx_get
22912
 
+do :
22913
 
+  ac_fn_c_check_func "$LINENO" "aclx_get" "ac_cv_func_aclx_get"
22914
 
+if test "x$ac_cv_func_aclx_get" = xyes; then :
22915
 
+  cat >>confdefs.h <<_ACEOF
22916
 
+@%:@define HAVE_ACLX_GET 1
22917
 
+_ACEOF
22918
 
22919
 
+fi
22920
 
+done
22921
 
+
22922
 
+        if test $ac_cv_func_aclx_get = yes; then
22923
 
+          use_acl=1
22924
 
+        fi
22925
 
+      fi
22926
 
+
22927
 
+            if test $use_acl = 0 || test "$ac_cv_func_aclx_get" = yes; then
22928
 
+        for ac_func in statacl
22929
 
+do :
22930
 
+  ac_fn_c_check_func "$LINENO" "statacl" "ac_cv_func_statacl"
22931
 
+if test "x$ac_cv_func_statacl" = xyes; then :
22932
 
+  cat >>confdefs.h <<_ACEOF
22933
 
+@%:@define HAVE_STATACL 1
22934
 
+_ACEOF
22935
 
22936
 
+fi
22937
 
+done
22938
 
+
22939
 
+        if test $ac_cv_func_statacl = yes; then
22940
 
+          use_acl=1
22941
 
+        fi
22942
 
+      fi
22943
 
+
22944
 
+            if test $use_acl = 0; then
22945
 
+        for ac_func in aclsort
22946
 
+do :
22947
 
+  ac_fn_c_check_func "$LINENO" "aclsort" "ac_cv_func_aclsort"
22948
 
+if test "x$ac_cv_func_aclsort" = xyes; then :
22949
 
+  cat >>confdefs.h <<_ACEOF
22950
 
+@%:@define HAVE_ACLSORT 1
22951
 
+_ACEOF
22952
 
22953
 
+fi
22954
 
+done
22955
 
+
22956
 
+        if test $ac_cv_func_aclsort = yes; then
22957
 
+          use_acl=1
22958
 
+        fi
22959
 
+      fi
22960
 
+
22961
 
+      LIBS=$ac_save_LIBS
22962
 
+    fi
22963
 
+    if test "x$enable_acl$use_acl" = "xyes0"; then
22964
 
+      as_fn_error $? "ACLs enabled but support not detected" "$LINENO" 5
22965
 
+    elif test "x$enable_acl$use_acl" = "xauto0"; then
22966
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libacl development library was not found or not usable." >&5
22967
 
+$as_echo "$as_me: WARNING: libacl development library was not found or not usable." >&2;}
22968
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU coreutils will be built without ACL support." >&5
22969
 
+$as_echo "$as_me: WARNING: GNU coreutils will be built without ACL support." >&2;}
22970
 
+    fi
22971
 
+  fi
22972
 
+  
22973
 
+  
22974
 
+cat >>confdefs.h <<_ACEOF
22975
 
+@%:@define USE_ACL $use_acl
22976
 
+_ACEOF
22977
 
+
22978
 
+  USE_ACL=$use_acl
22979
 
+  
22980
 
+
22981
 
+
22982
 
+  
22983
 
+  if test $ac_cv_func_alloca_works = no; then
22984
 
+    :
22985
 
+  fi
22986
 
+
22987
 
+  # Define an additional variable used in the Makefile substitution.
22988
 
+  if test $ac_cv_working_alloca_h = yes; then
22989
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5
22990
 
+$as_echo_n "checking for alloca as a compiler built-in... " >&6; }
22991
 
+if ${gl_cv_rpl_alloca+:} false; then :
22992
 
+  $as_echo_n "(cached) " >&6
22993
 
+else
22994
 
+  
22995
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22996
 
+/* end confdefs.h.  */
22997
 
+
22998
 
+#if defined __GNUC__ || defined _AIX || defined _MSC_VER
22999
 
+        Need own alloca
23000
 
+#endif
23001
 
+        
23002
 
+_ACEOF
23003
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23004
 
+  $EGREP "Need own alloca" >/dev/null 2>&1; then :
23005
 
+  gl_cv_rpl_alloca=yes
23006
 
+else
23007
 
+  gl_cv_rpl_alloca=no
23008
 
+fi
23009
 
+rm -f conftest*
23010
 
+
23011
 
+    
23012
 
+fi
23013
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5
23014
 
+$as_echo "$gl_cv_rpl_alloca" >&6; }
23015
 
+    if test $gl_cv_rpl_alloca = yes; then
23016
 
+            
23017
 
+$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
23018
 
+
23019
 
+      ALLOCA_H=alloca.h
23020
 
+    else
23021
 
+                  ALLOCA_H=
23022
 
+    fi
23023
 
+  else
23024
 
+    ALLOCA_H=alloca.h
23025
 
+  fi
23026
 
+  
23027
 
+   if test -n "$ALLOCA_H"; then
23028
 
+  GL_GENERATE_ALLOCA_H_TRUE=
23029
 
+  GL_GENERATE_ALLOCA_H_FALSE='#'
23030
 
+else
23031
 
+  GL_GENERATE_ALLOCA_H_TRUE='#'
23032
 
+  GL_GENERATE_ALLOCA_H_FALSE=
23033
 
+fi
23034
 
+
23035
 
+
23036
 
+
23037
 
+  
23038
 
+cat >>confdefs.h <<_ACEOF
23039
 
+@%:@define GNULIB_AREADLINKAT 1
23040
 
+_ACEOF
23041
 
+
23042
 
+
23043
 
+
23044
 
+      
23045
 
+
23046
 
+  
23047
 
+  if test $ac_cv_header_arpa_inet_h = yes; then
23048
 
+    HAVE_ARPA_INET_H=1
23049
 
+  else
23050
 
+    HAVE_ARPA_INET_H=0
23051
 
+  fi
23052
 
+  
23053
 
+    
23054
 
+  
23055
 
+  
23056
 
+  
23057
 
+
23058
 
+  
23059
 
+    
23060
 
+
23061
 
+  
23062
 
+     if test $gl_cv_have_include_next = yes; then
23063
 
+       gl_cv_next_arpa_inet_h='<'arpa/inet.h'>'
23064
 
+     else
23065
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <arpa/inet.h>" >&5
23066
 
+$as_echo_n "checking absolute name of <arpa/inet.h>... " >&6; }
23067
 
+if ${gl_cv_next_arpa_inet_h+:} false; then :
23068
 
+  $as_echo_n "(cached) " >&6
23069
 
+else
23070
 
+  
23071
 
+             if test $ac_cv_header_arpa_inet_h = yes; then
23072
 
+             
23073
 
+            
23074
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23075
 
+/* end confdefs.h.  */
23076
 
+#include <arpa/inet.h>
23077
 
+                  
23078
 
+_ACEOF
23079
 
+                                                                                                                        case "$host_os" in
23080
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
23081
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
23082
 
+               esac
23083
 
+                                                            gl_cv_next_arpa_inet_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
23084
 
+                  sed -n '\#/arpa/inet.h#{
23085
 
+                    s#.*"\(.*/arpa/inet.h\)".*#\1#
23086
 
+                    s#^/[^/]#//&#
23087
 
+                    p
23088
 
+                    q
23089
 
+                  }'`'"'
23090
 
+          else
23091
 
+               gl_cv_next_arpa_inet_h='<'arpa/inet.h'>'
23092
 
+             fi
23093
 
+            
23094
 
+         
23095
 
+fi
23096
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_arpa_inet_h" >&5
23097
 
+$as_echo "$gl_cv_next_arpa_inet_h" >&6; }
23098
 
+     fi
23099
 
+     NEXT_ARPA_INET_H=$gl_cv_next_arpa_inet_h
23100
 
+
23101
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
23102
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
23103
 
+       gl_next_as_first_directive='<'arpa/inet.h'>'
23104
 
+     else
23105
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
23106
 
+       gl_next_as_first_directive=$gl_cv_next_arpa_inet_h
23107
 
+     fi
23108
 
+     NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H=$gl_next_as_first_directive
23109
 
+
23110
 
+     
23111
 
+
23112
 
+
23113
 
+
23114
 
+  
23115
 
+
23116
 
+      
23117
 
+    for gl_func in inet_ntop inet_pton; do
23118
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
23119
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
23120
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
23121
 
+if eval \${$as_gl_Symbol+:} false; then :
23122
 
+  $as_echo_n "(cached) " >&6
23123
 
+else
23124
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23125
 
+/* end confdefs.h.  */
23126
 
+
23127
 
+/* On some systems, this header is not self-consistent.  */
23128
 
+#if !(defined __GLIBC__ || defined __UCLIBC__)
23129
 
+# include <sys/socket.h>
23130
 
+#endif
23131
 
+#ifdef __TANDEM
23132
 
+# include <netdb.h>
23133
 
+#endif
23134
 
+#include <arpa/inet.h>
23135
 
+    
23136
 
+int
23137
 
+main ()
23138
 
+{
23139
 
+@%:@undef $gl_func
23140
 
+  (void) $gl_func;
23141
 
+  ;
23142
 
+  return 0;
23143
 
+}
23144
 
+_ACEOF
23145
 
+if ac_fn_c_try_compile "$LINENO"; then :
23146
 
+  eval "$as_gl_Symbol=yes"
23147
 
+else
23148
 
+  eval "$as_gl_Symbol=no"
23149
 
+fi
23150
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23151
 
+fi
23152
 
+eval ac_res=\$$as_gl_Symbol
23153
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
23154
 
+$as_echo "$ac_res" >&6; }
23155
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
23156
 
+  cat >>confdefs.h <<_ACEOF
23157
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
23158
 
+_ACEOF
23159
 
+
23160
 
+                     eval ac_cv_have_decl_$gl_func=yes
23161
 
+fi
23162
 
+      done
23163
 
+
23164
 
+
23165
 
+
23166
 
+
23167
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5
23168
 
+$as_echo_n "checking whether to enable assertions... " >&6; }
23169
 
+  @%:@ Check whether --enable-assert was given.
23170
 
+if test "${enable_assert+set}" = set; then :
23171
 
+  enableval=$enable_assert; if test "x$enableval" = xno; then :
23172
 
+  
23173
 
+$as_echo "@%:@define NDEBUG 1" >>confdefs.h
23174
 
+
23175
 
+elif test "x$enableval" != xyes; then :
23176
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5
23177
 
+$as_echo "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;}
23178
 
+      enable_assert=yes
23179
 
+fi
23180
 
+else
23181
 
+  enable_assert=yes
23182
 
+fi
23183
 
+
23184
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_assert" >&5
23185
 
+$as_echo "$enable_assert" >&6; }
23186
 
+
23187
 
+
23188
 
+  
23189
 
+  
23190
 
+  
23191
 
+
23192
 
+
23193
 
+  
23194
 
+  
23195
 
+  
23196
 
+
23197
 
+
23198
 
+
23199
 
+
23200
 
+  
23201
 
+
23202
 
+        
23203
 
+
23204
 
+  
23205
 
+  if test $ac_cv_func_btowc = no; then
23206
 
+    HAVE_BTOWC=0
23207
 
+  else
23208
 
+
23209
 
+    
23210
 
+    
23211
 
+     
23212
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5
23213
 
+$as_echo_n "checking whether btowc(0) is correct... " >&6; }
23214
 
+if ${gl_cv_func_btowc_nul+:} false; then :
23215
 
+  $as_echo_n "(cached) " >&6
23216
 
+else
23217
 
+  
23218
 
+        if test "$cross_compiling" = yes; then :
23219
 
+  
23220
 
+           case "$host_os" in
23221
 
+                      # Guess no on Cygwin.
23222
 
+             cygwin*) gl_cv_func_btowc_nul="guessing no" ;;
23223
 
+                      # Guess yes otherwise.
23224
 
+             *)       gl_cv_func_btowc_nul="guessing yes" ;;
23225
 
+           esac
23226
 
+          
23227
 
+else
23228
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23229
 
+/* end confdefs.h.  */
23230
 
+
23231
 
+#include <string.h>
23232
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
23233
 
+   <wchar.h>.
23234
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
23235
 
+   included before <wchar.h>.  */
23236
 
+#include <stddef.h>
23237
 
+#include <stdio.h>
23238
 
+#include <time.h>
23239
 
+#include <wchar.h>
23240
 
+int main ()
23241
 
+{
23242
 
+  if (btowc ('\0') != 0)
23243
 
+    return 1;
23244
 
+  return 0;
23245
 
+}
23246
 
+_ACEOF
23247
 
+if ac_fn_c_try_run "$LINENO"; then :
23248
 
+  gl_cv_func_btowc_nul=yes
23249
 
+else
23250
 
+  gl_cv_func_btowc_nul=no
23251
 
+fi
23252
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23253
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
23254
 
+fi
23255
 
+
23256
 
+      
23257
 
+fi
23258
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_nul" >&5
23259
 
+$as_echo "$gl_cv_func_btowc_nul" >&6; }
23260
 
+
23261
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5
23262
 
+$as_echo_n "checking whether btowc(EOF) is correct... " >&6; }
23263
 
+if ${gl_cv_func_btowc_eof+:} false; then :
23264
 
+  $as_echo_n "(cached) " >&6
23265
 
+else
23266
 
+  
23267
 
+                        case "$host_os" in
23268
 
+                 # Guess no on IRIX.
23269
 
+          irix*) gl_cv_func_btowc_eof="guessing no" ;;
23270
 
+                 # Guess yes otherwise.
23271
 
+          *)     gl_cv_func_btowc_eof="guessing yes" ;;
23272
 
+        esac
23273
 
+        if test $LOCALE_FR != none; then
23274
 
+          if test "$cross_compiling" = yes; then :
23275
 
+  :
23276
 
+else
23277
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23278
 
+/* end confdefs.h.  */
23279
 
+
23280
 
+#include <locale.h>
23281
 
+#include <string.h>
23282
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
23283
 
+   <wchar.h>.
23284
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
23285
 
+   included before <wchar.h>.  */
23286
 
+#include <stddef.h>
23287
 
+#include <stdio.h>
23288
 
+#include <time.h>
23289
 
+#include <wchar.h>
23290
 
+int main ()
23291
 
+{
23292
 
+  if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
23293
 
+    {
23294
 
+      if (btowc (EOF) != WEOF)
23295
 
+        return 1;
23296
 
+    }
23297
 
+  return 0;
23298
 
+}
23299
 
+_ACEOF
23300
 
+if ac_fn_c_try_run "$LINENO"; then :
23301
 
+  gl_cv_func_btowc_eof=yes
23302
 
+else
23303
 
+  gl_cv_func_btowc_eof=no
23304
 
+fi
23305
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23306
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
23307
 
+fi
23308
 
+
23309
 
+        fi
23310
 
+      
23311
 
+fi
23312
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_eof" >&5
23313
 
+$as_echo "$gl_cv_func_btowc_eof" >&6; }
23314
 
+
23315
 
+    case "$gl_cv_func_btowc_nul" in
23316
 
+      *yes) ;;
23317
 
+      *) REPLACE_BTOWC=1 ;;
23318
 
+    esac
23319
 
+    case "$gl_cv_func_btowc_eof" in
23320
 
+      *yes) ;;
23321
 
+      *) REPLACE_BTOWC=1 ;;
23322
 
+    esac
23323
 
+  fi
23324
 
+
23325
 
+if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
23326
 
+  
23327
 
+  
23328
 
+  
23329
 
+    
23330
 
+      
23331
 
+      
23332
 
+    
23333
 
+  
23334
 
+  gl_LIBOBJS="$gl_LIBOBJS btowc.$ac_objext"
23335
 
+
23336
 
+  
23337
 
+  :
23338
 
+
23339
 
+fi
23340
 
+
23341
 
+    
23342
 
+  
23343
 
+  
23344
 
+  
23345
 
+          GNULIB_BTOWC=1
23346
 
+    
23347
 
+
23348
 
+
23349
 
+    
23350
 
+  
23351
 
+$as_echo "@%:@define GNULIB_TEST_BTOWC 1" >>confdefs.h
23352
 
+
23353
 
+
23354
 
+
23355
 
+
23356
 
+  
23357
 
+  for ac_func in strtod_l
23358
 
+do :
23359
 
+  ac_fn_c_check_func "$LINENO" "strtod_l" "ac_cv_func_strtod_l"
23360
 
+if test "x$ac_cv_func_strtod_l" = xyes; then :
23361
 
+  cat >>confdefs.h <<_ACEOF
23362
 
+@%:@define HAVE_STRTOD_L 1
23363
 
+_ACEOF
23364
 
23365
 
+fi
23366
 
+done
23367
 
+
23368
 
+
23369
 
+  
23370
 
+  :
23371
 
+
23372
 
+
23373
 
+  
23374
 
+  
23375
 
+  for ac_func in strtold_l
23376
 
+do :
23377
 
+  ac_fn_c_check_func "$LINENO" "strtold_l" "ac_cv_func_strtold_l"
23378
 
+if test "x$ac_cv_func_strtold_l" = xyes; then :
23379
 
+  cat >>confdefs.h <<_ACEOF
23380
 
+@%:@define HAVE_STRTOLD_L 1
23381
 
+_ACEOF
23382
 
23383
 
+fi
23384
 
+done
23385
 
+
23386
 
+
23387
 
+  
23388
 
+  :
23389
 
+
23390
 
+
23391
 
+  
23392
 
+  
23393
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible calloc" >&5
23394
 
+$as_echo_n "checking for GNU libc compatible calloc... " >&6; }
23395
 
+if ${ac_cv_func_calloc_0_nonnull+:} false; then :
23396
 
+  $as_echo_n "(cached) " >&6
23397
 
+else
23398
 
+  if test "$cross_compiling" = yes; then :
23399
 
+  ac_cv_func_calloc_0_nonnull=no
23400
 
+else
23401
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23402
 
+/* end confdefs.h.  */
23403
 
+$ac_includes_default
23404
 
+int
23405
 
+main ()
23406
 
+{
23407
 
+int result = 0;
23408
 
+            if (!calloc (0, 0))
23409
 
+              result |= 1;
23410
 
+            if (calloc ((size_t) -1 / 8 + 1, 8))
23411
 
+              result |= 2;
23412
 
+            return result;
23413
 
+          
23414
 
+  ;
23415
 
+  return 0;
23416
 
+}
23417
 
+_ACEOF
23418
 
+if ac_fn_c_try_run "$LINENO"; then :
23419
 
+  ac_cv_func_calloc_0_nonnull=yes
23420
 
+else
23421
 
+  ac_cv_func_calloc_0_nonnull=no
23422
 
+fi
23423
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23424
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
23425
 
+fi
23426
 
+
23427
 
+fi
23428
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_calloc_0_nonnull" >&5
23429
 
+$as_echo "$ac_cv_func_calloc_0_nonnull" >&6; }
23430
 
+  if test $ac_cv_func_calloc_0_nonnull = yes; then :
23431
 
+  
23432
 
+$as_echo "@%:@define HAVE_CALLOC_GNU 1" >>confdefs.h
23433
 
+
23434
 
+else
23435
 
+  $as_echo "@%:@define HAVE_CALLOC_GNU 0" >>confdefs.h
23436
 
+
23437
 
+     REPLACE_CALLOC=1
23438
 
+    
23439
 
+fi
23440
 
+
23441
 
+
23442
 
+if test $REPLACE_CALLOC = 1; then
23443
 
+  
23444
 
+  
23445
 
+  
23446
 
+    
23447
 
+      
23448
 
+      
23449
 
+    
23450
 
+  
23451
 
+  gl_LIBOBJS="$gl_LIBOBJS calloc.$ac_objext"
23452
 
+
23453
 
+fi
23454
 
+
23455
 
+  
23456
 
+cat >>confdefs.h <<_ACEOF
23457
 
+@%:@define GNULIB_CALLOC_GNU 1
23458
 
+_ACEOF
23459
 
+
23460
 
+
23461
 
+
23462
 
+  
23463
 
+  
23464
 
+  if test $gl_cv_func_malloc_posix = yes; then
23465
 
+    
23466
 
+$as_echo "@%:@define HAVE_CALLOC_POSIX 1" >>confdefs.h
23467
 
+
23468
 
+  else
23469
 
+    REPLACE_CALLOC=1
23470
 
+  fi
23471
 
+
23472
 
+if test $REPLACE_CALLOC = 1; then
23473
 
+  
23474
 
+  
23475
 
+  
23476
 
+    
23477
 
+      
23478
 
+      
23479
 
+    
23480
 
+  
23481
 
+  gl_LIBOBJS="$gl_LIBOBJS calloc.$ac_objext"
23482
 
+
23483
 
+fi
23484
 
+
23485
 
+    
23486
 
+  
23487
 
+  
23488
 
+  
23489
 
+          GNULIB_CALLOC_POSIX=1
23490
 
+    
23491
 
+
23492
 
+
23493
 
+    
23494
 
+  
23495
 
+$as_echo "@%:@define GNULIB_TEST_CALLOC_POSIX 1" >>confdefs.h
23496
 
+
23497
 
+
23498
 
+
23499
 
+
23500
 
+  :
23501
 
+
23502
 
+
23503
 
+  
23504
 
+  
23505
 
+  
23506
 
+  
23507
 
+  if test $ac_cv_func_canonicalize_file_name = no; then
23508
 
+    HAVE_CANONICALIZE_FILE_NAME=0
23509
 
+  elif test "$gl_cv_func_realpath_works" != yes; then
23510
 
+    REPLACE_CANONICALIZE_FILE_NAME=1
23511
 
+  fi
23512
 
+
23513
 
+
23514
 
+  
23515
 
+cat >>confdefs.h <<_ACEOF
23516
 
+@%:@define GNULIB_CANONICALIZE 1
23517
 
+_ACEOF
23518
 
+
23519
 
+
23520
 
+
23521
 
+  
23522
 
+$as_echo "@%:@define GNULIB_TEST_CANONICALIZE 1" >>confdefs.h
23523
 
+
23524
 
+
23525
 
+
23526
 
+    
23527
 
+  
23528
 
+  
23529
 
+  
23530
 
+          GNULIB_CANONICALIZE_FILE_NAME=1
23531
 
+    
23532
 
+
23533
 
+
23534
 
+    
23535
 
+  
23536
 
+$as_echo "@%:@define GNULIB_TEST_CANONICALIZE_FILE_NAME 1" >>confdefs.h
23537
 
+
23538
 
+
23539
 
+
23540
 
+
23541
 
+
23542
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether this system has an arbitrary file name length limit" >&5
23543
 
+$as_echo_n "checking whether this system has an arbitrary file name length limit... " >&6; }
23544
 
+if ${gl_cv_have_arbitrary_file_name_length_limit+:} false; then :
23545
 
+  $as_echo_n "(cached) " >&6
23546
 
+else
23547
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23548
 
+/* end confdefs.h.  */
23549
 
+#include <unistd.h>
23550
 
+#include <limits.h>
23551
 
+#if defined PATH_MAX || defined MAXPATHLEN
23552
 
+have_arbitrary_file_name_length_limit
23553
 
+#endif
23554
 
+_ACEOF
23555
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23556
 
+  $EGREP "have_arbitrary_file_name_length_limit" >/dev/null 2>&1; then :
23557
 
+  gl_cv_have_arbitrary_file_name_length_limit=yes
23558
 
+else
23559
 
+  gl_cv_have_arbitrary_file_name_length_limit=no
23560
 
+fi
23561
 
+rm -f conftest*
23562
 
+
23563
 
+fi
23564
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_arbitrary_file_name_length_limit" >&5
23565
 
+$as_echo "$gl_cv_have_arbitrary_file_name_length_limit" >&6; }
23566
 
+
23567
 
+if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
23568
 
+  
23569
 
+  
23570
 
+  
23571
 
+    
23572
 
+      
23573
 
+      
23574
 
+    
23575
 
+  
23576
 
+  gl_LIBOBJS="$gl_LIBOBJS chdir-long.$ac_objext"
23577
 
+
23578
 
+  
23579
 
+  
23580
 
+  :
23581
 
+
23582
 
+fi
23583
 
+
23584
 
+if test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1; then
23585
 
+  
23586
 
+  
23587
 
+  
23588
 
+    
23589
 
+      
23590
 
+      
23591
 
+    
23592
 
+  
23593
 
+  gl_LIBOBJS="$gl_LIBOBJS chown.$ac_objext"
23594
 
+
23595
 
+fi
23596
 
+if test $REPLACE_CHOWN = 1 && test $ac_cv_func_fchown = no; then
23597
 
+  
23598
 
+  
23599
 
+  
23600
 
+    
23601
 
+      
23602
 
+      
23603
 
+    
23604
 
+  
23605
 
+  gl_LIBOBJS="$gl_LIBOBJS fchown-stub.$ac_objext"
23606
 
+
23607
 
+fi
23608
 
+
23609
 
+    
23610
 
+  
23611
 
+  
23612
 
+  
23613
 
+          GNULIB_CHOWN=1
23614
 
+    
23615
 
+
23616
 
+
23617
 
+    
23618
 
+  
23619
 
+$as_echo "@%:@define GNULIB_TEST_CHOWN 1" >>confdefs.h
23620
 
+
23621
 
+
23622
 
+
23623
 
+
23624
 
+    
23625
 
+
23626
 
+  # Solaris 2.5.1 needs -lposix4 to get the clock_gettime function.
23627
 
+  # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4.
23628
 
+
23629
 
+  # Save and restore LIBS so e.g., -lrt, isn't added to it.  Otherwise, *all*
23630
 
+  # programs in the package would end up linked with that potentially-shared
23631
 
+  # library, inducing unnecessary run-time overhead.
23632
 
+  LIB_CLOCK_GETTIME=
23633
 
+  
23634
 
+  gl_saved_libs=$LIBS
23635
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
23636
 
+$as_echo_n "checking for library containing clock_gettime... " >&6; }
23637
 
+if ${ac_cv_search_clock_gettime+:} false; then :
23638
 
+  $as_echo_n "(cached) " >&6
23639
 
+else
23640
 
+  ac_func_search_save_LIBS=$LIBS
23641
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23642
 
+/* end confdefs.h.  */
23643
 
+
23644
 
+/* Override any GCC internal prototype to avoid an error.
23645
 
+   Use char because int might match the return type of a GCC
23646
 
+   builtin and then its argument prototype would still apply.  */
23647
 
+#ifdef __cplusplus
23648
 
+extern "C"
23649
 
+#endif
23650
 
+char clock_gettime ();
23651
 
+int
23652
 
+main ()
23653
 
+{
23654
 
+return clock_gettime ();
23655
 
+  ;
23656
 
+  return 0;
23657
 
+}
23658
 
+_ACEOF
23659
 
+for ac_lib in '' rt posix4; do
23660
 
+  if test -z "$ac_lib"; then
23661
 
+    ac_res="none required"
23662
 
+  else
23663
 
+    ac_res=-l$ac_lib
23664
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
23665
 
+  fi
23666
 
+  if ac_fn_c_try_link "$LINENO"; then :
23667
 
+  ac_cv_search_clock_gettime=$ac_res
23668
 
+fi
23669
 
+rm -f core conftest.err conftest.$ac_objext \
23670
 
+    conftest$ac_exeext
23671
 
+  if ${ac_cv_search_clock_gettime+:} false; then :
23672
 
+  break
23673
 
+fi
23674
 
+done
23675
 
+if ${ac_cv_search_clock_gettime+:} false; then :
23676
 
+  
23677
 
+else
23678
 
+  ac_cv_search_clock_gettime=no
23679
 
+fi
23680
 
+rm conftest.$ac_ext
23681
 
+LIBS=$ac_func_search_save_LIBS
23682
 
+fi
23683
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
23684
 
+$as_echo "$ac_cv_search_clock_gettime" >&6; }
23685
 
+ac_res=$ac_cv_search_clock_gettime
23686
 
+if test "$ac_res" != no; then :
23687
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23688
 
+  test "$ac_cv_search_clock_gettime" = "none required" ||
23689
 
+                    LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime
23690
 
+fi
23691
 
+
23692
 
+    for ac_func in clock_gettime clock_settime
23693
 
+do :
23694
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23695
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23696
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23697
 
+  cat >>confdefs.h <<_ACEOF
23698
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23699
 
+_ACEOF
23700
 
23701
 
+fi
23702
 
+done
23703
 
+
23704
 
+  LIBS=$gl_saved_libs
23705
 
+
23706
 
+
23707
 
+  
23708
 
+$as_echo "@%:@define GNULIB_TEST_CLOEXEC 1" >>confdefs.h
23709
 
+
23710
 
+
23711
 
+
23712
 
+  
23713
 
+  
23714
 
+    
23715
 
+  
23716
 
+  
23717
 
+  
23718
 
+  if test $ac_cv_header_sys_socket_h != yes; then
23719
 
+                    for ac_header in winsock2.h
23720
 
+do :
23721
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
23722
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
23723
 
+  cat >>confdefs.h <<_ACEOF
23724
 
+@%:@define HAVE_WINSOCK2_H 1
23725
 
+_ACEOF
23726
 
23727
 
+fi
23728
 
+
23729
 
+done
23730
 
+
23731
 
+  fi
23732
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
23733
 
+    HAVE_WINSOCK2_H=1
23734
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
23735
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
23736
 
+  else
23737
 
+    HAVE_WINSOCK2_H=0
23738
 
+  fi
23739
 
+  
23740
 
+
23741
 
+    if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then
23742
 
+                        REPLACE_CLOSE=1
23743
 
+    fi
23744
 
+  
23745
 
+      
23746
 
+    if test $REPLACE_CLOSE = 0; then
23747
 
+      
23748
 
+  
23749
 
+  
23750
 
+  if test $ac_cv_func_fchdir = no; then
23751
 
+    HAVE_FCHDIR=0
23752
 
+  fi
23753
 
+
23754
 
+      if test $HAVE_FCHDIR = 0; then
23755
 
+        REPLACE_CLOSE=1
23756
 
+      fi
23757
 
+    fi
23758
 
+  
23759
 
+
23760
 
+if test $REPLACE_CLOSE = 1; then
23761
 
+  
23762
 
+  
23763
 
+  
23764
 
+    
23765
 
+      
23766
 
+      
23767
 
+    
23768
 
+  
23769
 
+  gl_LIBOBJS="$gl_LIBOBJS close.$ac_objext"
23770
 
+
23771
 
+fi
23772
 
+
23773
 
+    
23774
 
+  
23775
 
+  
23776
 
+  
23777
 
+          GNULIB_CLOSE=1
23778
 
+    
23779
 
+
23780
 
+
23781
 
+    
23782
 
+  
23783
 
+$as_echo "@%:@define GNULIB_TEST_CLOSE 1" >>confdefs.h
23784
 
+
23785
 
+
23786
 
+
23787
 
+
23788
 
+  :
23789
 
+
23790
 
+
23791
 
+  
23792
 
+cat >>confdefs.h <<_ACEOF
23793
 
+@%:@define GNULIB_CLOSE_STREAM 1
23794
 
+_ACEOF
23795
 
+
23796
 
+
23797
 
+
23798
 
+  :
23799
 
+
23800
 
+
23801
 
+  :
23802
 
+
23803
 
+
23804
 
+
23805
 
+          if test "x$datarootdir" = x; then
23806
 
+    datarootdir='${datadir}'
23807
 
+
23808
 
+  fi
23809
 
+    if test "x$docdir" = x; then
23810
 
+    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
23811
 
+
23812
 
+  fi
23813
 
+    if test "x$htmldir" = x; then
23814
 
+    htmldir='${docdir}'
23815
 
+
23816
 
+  fi
23817
 
+  if test "x$dvidir" = x; then
23818
 
+    dvidir='${docdir}'
23819
 
+
23820
 
+  fi
23821
 
+  if test "x$pdfdir" = x; then
23822
 
+    pdfdir='${docdir}'
23823
 
+
23824
 
+  fi
23825
 
+  if test "x$psdir" = x; then
23826
 
+    psdir='${docdir}'
23827
 
+
23828
 
+  fi
23829
 
+  if test "x$lispdir" = x; then
23830
 
+    lispdir='${datarootdir}/emacs/site-lisp'
23831
 
+
23832
 
+  fi
23833
 
+  if test "x$localedir" = x; then
23834
 
+    localedir='${datarootdir}/locale'
23835
 
+
23836
 
+  fi
23837
 
+
23838
 
+      pkglibexecdir='${libexecdir}/${PACKAGE}'
23839
 
+
23840
 
+
23841
 
+
23842
 
+    
23843
 
+  
23844
 
+  :
23845
 
+
23846
 
+
23847
 
+    
23848
 
+  
23849
 
+  :
23850
 
+
23851
 
+
23852
 
+    
23853
 
+  
23854
 
+
23855
 
+
23856
 
+    
23857
 
+  
23858
 
+
23859
 
+
23860
 
+  
23861
 
+
23862
 
+    
23863
 
+  
23864
 
+  
23865
 
+  
23866
 
+
23867
 
+  
23868
 
+
23869
 
+  
23870
 
+     if test $gl_cv_have_include_next = yes; then
23871
 
+       gl_cv_next_ctype_h='<'ctype.h'>'
23872
 
+     else
23873
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <ctype.h>" >&5
23874
 
+$as_echo_n "checking absolute name of <ctype.h>... " >&6; }
23875
 
+if ${gl_cv_next_ctype_h+:} false; then :
23876
 
+  $as_echo_n "(cached) " >&6
23877
 
+else
23878
 
+  
23879
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23880
 
+/* end confdefs.h.  */
23881
 
+#include <ctype.h>
23882
 
+                  
23883
 
+_ACEOF
23884
 
+                                                                                                                        case "$host_os" in
23885
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
23886
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
23887
 
+               esac
23888
 
+                                                            gl_cv_next_ctype_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
23889
 
+                  sed -n '\#/ctype.h#{
23890
 
+                    s#.*"\(.*/ctype.h\)".*#\1#
23891
 
+                    s#^/[^/]#//&#
23892
 
+                    p
23893
 
+                    q
23894
 
+                  }'`'"'
23895
 
+          
23896
 
+         
23897
 
+fi
23898
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_ctype_h" >&5
23899
 
+$as_echo "$gl_cv_next_ctype_h" >&6; }
23900
 
+     fi
23901
 
+     NEXT_CTYPE_H=$gl_cv_next_ctype_h
23902
 
+
23903
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
23904
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
23905
 
+       gl_next_as_first_directive='<'ctype.h'>'
23906
 
+     else
23907
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
23908
 
+       gl_next_as_first_directive=$gl_cv_next_ctype_h
23909
 
+     fi
23910
 
+     NEXT_AS_FIRST_DIRECTIVE_CTYPE_H=$gl_next_as_first_directive
23911
 
+
23912
 
+     
23913
 
+
23914
 
+
23915
 
+
23916
 
+      
23917
 
+    for gl_func in isblank; do
23918
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
23919
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
23920
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
23921
 
+if eval \${$as_gl_Symbol+:} false; then :
23922
 
+  $as_echo_n "(cached) " >&6
23923
 
+else
23924
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23925
 
+/* end confdefs.h.  */
23926
 
+#include <ctype.h>
23927
 
+    
23928
 
+int
23929
 
+main ()
23930
 
+{
23931
 
+@%:@undef $gl_func
23932
 
+  (void) $gl_func;
23933
 
+  ;
23934
 
+  return 0;
23935
 
+}
23936
 
+_ACEOF
23937
 
+if ac_fn_c_try_compile "$LINENO"; then :
23938
 
+  eval "$as_gl_Symbol=yes"
23939
 
+else
23940
 
+  eval "$as_gl_Symbol=no"
23941
 
+fi
23942
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23943
 
+fi
23944
 
+eval ac_res=\$$as_gl_Symbol
23945
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
23946
 
+$as_echo "$ac_res" >&6; }
23947
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
23948
 
+  cat >>confdefs.h <<_ACEOF
23949
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
23950
 
+_ACEOF
23951
 
+
23952
 
+                     eval ac_cv_have_decl_$gl_func=yes
23953
 
+fi
23954
 
+      done
23955
 
+
23956
 
+
23957
 
+
23958
 
+  
23959
 
+
23960
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for d_ino member in directory struct" >&5
23961
 
+$as_echo_n "checking for d_ino member in directory struct... " >&6; }
23962
 
+if ${gl_cv_struct_dirent_d_ino+:} false; then :
23963
 
+  $as_echo_n "(cached) " >&6
23964
 
+else
23965
 
+  if test "$cross_compiling" = yes; then :
23966
 
+  gl_cv_struct_dirent_d_ino=no
23967
 
+else
23968
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23969
 
+/* end confdefs.h.  */
23970
 
+#include <sys/types.h>
23971
 
+             #include <sys/stat.h>
23972
 
+             #include <dirent.h>
23973
 
+           
23974
 
+int
23975
 
+main ()
23976
 
+{
23977
 
+DIR *dp = opendir (".");
23978
 
+             struct dirent *e;
23979
 
+             struct stat st;
23980
 
+             if (! dp)
23981
 
+               return 1;
23982
 
+             e = readdir (dp);
23983
 
+             if (! e)
23984
 
+               return 2;
23985
 
+             if (stat (e->d_name, &st) != 0)
23986
 
+               return 3;
23987
 
+             if (e->d_ino != st.st_ino)
23988
 
+               return 4;
23989
 
+             return 0;
23990
 
+           
23991
 
+  ;
23992
 
+  return 0;
23993
 
+}
23994
 
+_ACEOF
23995
 
+if ac_fn_c_try_run "$LINENO"; then :
23996
 
+  gl_cv_struct_dirent_d_ino=yes
23997
 
+else
23998
 
+  gl_cv_struct_dirent_d_ino=no
23999
 
+fi
24000
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24001
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
24002
 
+fi
24003
 
+
24004
 
+fi
24005
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_struct_dirent_d_ino" >&5
24006
 
+$as_echo "$gl_cv_struct_dirent_d_ino" >&6; }
24007
 
+   if test $gl_cv_struct_dirent_d_ino = yes; then
24008
 
+     
24009
 
+$as_echo "@%:@define D_INO_IN_DIRENT 1" >>confdefs.h
24010
 
+
24011
 
+   fi
24012
 
+  
24013
 
+
24014
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for d_type member in directory struct" >&5
24015
 
+$as_echo_n "checking for d_type member in directory struct... " >&6; }
24016
 
+if ${gl_cv_struct_dirent_d_type+:} false; then :
24017
 
+  $as_echo_n "(cached) " >&6
24018
 
+else
24019
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24020
 
+/* end confdefs.h.  */
24021
 
+
24022
 
+#include <sys/types.h>
24023
 
+#include <dirent.h>
24024
 
+         
24025
 
+int
24026
 
+main ()
24027
 
+{
24028
 
+struct dirent dp; dp.d_type = 0;
24029
 
+  ;
24030
 
+  return 0;
24031
 
+}
24032
 
+_ACEOF
24033
 
+if ac_fn_c_try_link "$LINENO"; then :
24034
 
+  gl_cv_struct_dirent_d_type=yes
24035
 
+else
24036
 
+  gl_cv_struct_dirent_d_type=no
24037
 
+fi
24038
 
+rm -f core conftest.err conftest.$ac_objext \
24039
 
+    conftest$ac_exeext conftest.$ac_ext
24040
 
+     
24041
 
+   
24042
 
+fi
24043
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_struct_dirent_d_type" >&5
24044
 
+$as_echo "$gl_cv_struct_dirent_d_type" >&6; }
24045
 
+   if test $gl_cv_struct_dirent_d_type = yes; then
24046
 
+     
24047
 
+$as_echo "@%:@define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
24048
 
+
24049
 
+   fi
24050
 
+  
24051
 
+
24052
 
+
24053
 
+      
24054
 
+
24055
 
+    
24056
 
+  
24057
 
+  
24058
 
+  
24059
 
+
24060
 
+  
24061
 
+    
24062
 
+
24063
 
+  
24064
 
+     if test $gl_cv_have_include_next = yes; then
24065
 
+       gl_cv_next_dirent_h='<'dirent.h'>'
24066
 
+     else
24067
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <dirent.h>" >&5
24068
 
+$as_echo_n "checking absolute name of <dirent.h>... " >&6; }
24069
 
+if ${gl_cv_next_dirent_h+:} false; then :
24070
 
+  $as_echo_n "(cached) " >&6
24071
 
+else
24072
 
+  
24073
 
+             if test $ac_cv_header_dirent_h = yes; then
24074
 
+             
24075
 
+            
24076
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24077
 
+/* end confdefs.h.  */
24078
 
+#include <dirent.h>
24079
 
+                  
24080
 
+_ACEOF
24081
 
+                                                                                                                        case "$host_os" in
24082
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
24083
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
24084
 
+               esac
24085
 
+                                                            gl_cv_next_dirent_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
24086
 
+                  sed -n '\#/dirent.h#{
24087
 
+                    s#.*"\(.*/dirent.h\)".*#\1#
24088
 
+                    s#^/[^/]#//&#
24089
 
+                    p
24090
 
+                    q
24091
 
+                  }'`'"'
24092
 
+          else
24093
 
+               gl_cv_next_dirent_h='<'dirent.h'>'
24094
 
+             fi
24095
 
+            
24096
 
+         
24097
 
+fi
24098
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_dirent_h" >&5
24099
 
+$as_echo "$gl_cv_next_dirent_h" >&6; }
24100
 
+     fi
24101
 
+     NEXT_DIRENT_H=$gl_cv_next_dirent_h
24102
 
+
24103
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
24104
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
24105
 
+       gl_next_as_first_directive='<'dirent.h'>'
24106
 
+     else
24107
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
24108
 
+       gl_next_as_first_directive=$gl_cv_next_dirent_h
24109
 
+     fi
24110
 
+     NEXT_AS_FIRST_DIRECTIVE_DIRENT_H=$gl_next_as_first_directive
24111
 
+
24112
 
+     
24113
 
+
24114
 
+
24115
 
+
24116
 
+      
24117
 
+    for gl_func in alphasort dirfd fdopendir scandir; do
24118
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
24119
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
24120
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
24121
 
+if eval \${$as_gl_Symbol+:} false; then :
24122
 
+  $as_echo_n "(cached) " >&6
24123
 
+else
24124
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24125
 
+/* end confdefs.h.  */
24126
 
+#include <dirent.h>
24127
 
+    
24128
 
+int
24129
 
+main ()
24130
 
+{
24131
 
+@%:@undef $gl_func
24132
 
+  (void) $gl_func;
24133
 
+  ;
24134
 
+  return 0;
24135
 
+}
24136
 
+_ACEOF
24137
 
+if ac_fn_c_try_compile "$LINENO"; then :
24138
 
+  eval "$as_gl_Symbol=yes"
24139
 
+else
24140
 
+  eval "$as_gl_Symbol=no"
24141
 
+fi
24142
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24143
 
+fi
24144
 
+eval ac_res=\$$as_gl_Symbol
24145
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24146
 
+$as_echo "$ac_res" >&6; }
24147
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
24148
 
+  cat >>confdefs.h <<_ACEOF
24149
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
24150
 
+_ACEOF
24151
 
+
24152
 
+                     eval ac_cv_have_decl_$gl_func=yes
24153
 
+fi
24154
 
+      done
24155
 
+
24156
 
+
24157
 
+
24158
 
+  
24159
 
+
24160
 
+
24161
 
+  
24162
 
+cat >>confdefs.h <<_ACEOF
24163
 
+@%:@define GNULIB_DIRENT_SAFER 1
24164
 
+_ACEOF
24165
 
+
24166
 
+
24167
 
+
24168
 
+  
24169
 
+
24170
 
+    
24171
 
+
24172
 
+  for ac_func in dirfd
24173
 
+do :
24174
 
+  ac_fn_c_check_func "$LINENO" "dirfd" "ac_cv_func_dirfd"
24175
 
+if test "x$ac_cv_func_dirfd" = xyes; then :
24176
 
+  cat >>confdefs.h <<_ACEOF
24177
 
+@%:@define HAVE_DIRFD 1
24178
 
+_ACEOF
24179
 
24180
 
+fi
24181
 
+done
24182
 
+
24183
 
+  ac_fn_c_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include <sys/types.h>
24184
 
+     #include <dirent.h>
24185
 
+"
24186
 
+if test "x$ac_cv_have_decl_dirfd" = xyes; then :
24187
 
+  ac_have_decl=1
24188
 
+else
24189
 
+  ac_have_decl=0
24190
 
+fi
24191
 
+
24192
 
+cat >>confdefs.h <<_ACEOF
24193
 
+@%:@define HAVE_DECL_DIRFD $ac_have_decl
24194
 
+_ACEOF
24195
 
+
24196
 
+  if test $ac_cv_have_decl_dirfd = no; then
24197
 
+    HAVE_DECL_DIRFD=0
24198
 
+  fi
24199
 
+
24200
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dirfd is a macro" >&5
24201
 
+$as_echo_n "checking whether dirfd is a macro... " >&6; }
24202
 
+if ${gl_cv_func_dirfd_macro+:} false; then :
24203
 
+  $as_echo_n "(cached) " >&6
24204
 
+else
24205
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24206
 
+/* end confdefs.h.  */
24207
 
+
24208
 
+#include <sys/types.h>
24209
 
+#include <dirent.h>
24210
 
+#ifdef dirfd
24211
 
+ dirent_header_defines_dirfd
24212
 
+#endif
24213
 
+_ACEOF
24214
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24215
 
+  $EGREP "dirent_header_defines_dirfd" >/dev/null 2>&1; then :
24216
 
+  gl_cv_func_dirfd_macro=yes
24217
 
+else
24218
 
+  gl_cv_func_dirfd_macro=no
24219
 
+fi
24220
 
+rm -f conftest*
24221
 
+
24222
 
+fi
24223
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dirfd_macro" >&5
24224
 
+$as_echo "$gl_cv_func_dirfd_macro" >&6; }
24225
 
+
24226
 
+  # Use the replacement only if we have no function or macro with that name.
24227
 
+  if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then
24228
 
+    if test $ac_cv_have_decl_dirfd = yes; then
24229
 
+      # If the system declares dirfd already, let's declare rpl_dirfd instead.
24230
 
+      REPLACE_DIRFD=1
24231
 
+    fi
24232
 
+  fi
24233
 
+
24234
 
+if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then
24235
 
+  
24236
 
+  
24237
 
+  
24238
 
+    
24239
 
+      
24240
 
+      
24241
 
+    
24242
 
+  
24243
 
+  gl_LIBOBJS="$gl_LIBOBJS dirfd.$ac_objext"
24244
 
+
24245
 
+  
24246
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get the file descriptor associated with an open DIR*" >&5
24247
 
+$as_echo_n "checking how to get the file descriptor associated with an open DIR*... " >&6; }
24248
 
+if ${gl_cv_sys_dir_fd_member_name+:} false; then :
24249
 
+  $as_echo_n "(cached) " >&6
24250
 
+else
24251
 
+  
24252
 
+      dirfd_save_CFLAGS=$CFLAGS
24253
 
+      for ac_expr in d_fd dd_fd; do
24254
 
+
24255
 
+        CFLAGS="$CFLAGS -DDIR_FD_MEMBER_NAME=$ac_expr"
24256
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24257
 
+/* end confdefs.h.  */
24258
 
+
24259
 
+           #include <sys/types.h>
24260
 
+           #include <dirent.h>
24261
 
+int
24262
 
+main ()
24263
 
+{
24264
 
+DIR *dir_p = opendir("."); (void) dir_p->DIR_FD_MEMBER_NAME;
24265
 
+  ;
24266
 
+  return 0;
24267
 
+}
24268
 
+_ACEOF
24269
 
+if ac_fn_c_try_compile "$LINENO"; then :
24270
 
+  dir_fd_found=yes
24271
 
+        
24272
 
+fi
24273
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24274
 
+        CFLAGS=$dirfd_save_CFLAGS
24275
 
+        test "$dir_fd_found" = yes && break
24276
 
+      done
24277
 
+      test "$dir_fd_found" = yes || ac_expr=no_such_member
24278
 
+
24279
 
+      gl_cv_sys_dir_fd_member_name=$ac_expr
24280
 
+    
24281
 
+  
24282
 
+fi
24283
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_dir_fd_member_name" >&5
24284
 
+$as_echo "$gl_cv_sys_dir_fd_member_name" >&6; }
24285
 
+  if test $gl_cv_sys_dir_fd_member_name != no_such_member; then
24286
 
+    
24287
 
+cat >>confdefs.h <<_ACEOF
24288
 
+@%:@define DIR_FD_MEMBER_NAME $gl_cv_sys_dir_fd_member_name
24289
 
+_ACEOF
24290
 
+
24291
 
+  fi
24292
 
+  
24293
 
+
24294
 
+fi
24295
 
+
24296
 
+    
24297
 
+  
24298
 
+  
24299
 
+  
24300
 
+          GNULIB_DIRFD=1
24301
 
+    
24302
 
+
24303
 
+
24304
 
+    
24305
 
+  
24306
 
+$as_echo "@%:@define GNULIB_TEST_DIRFD 1" >>confdefs.h
24307
 
+
24308
 
+
24309
 
+
24310
 
+
24311
 
+  
24312
 
+
24313
 
+
24314
 
+  
24315
 
+cat >>confdefs.h <<_ACEOF
24316
 
+@%:@define GNULIB_DIRNAME 1
24317
 
+_ACEOF
24318
 
+
24319
 
+
24320
 
+
24321
 
+    
24322
 
+
24323
 
+    
24324
 
+
24325
 
+  
24326
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
24327
 
+$as_echo_n "checking whether // is distinct from /... " >&6; }
24328
 
+if ${gl_cv_double_slash_root+:} false; then :
24329
 
+  $as_echo_n "(cached) " >&6
24330
 
+else
24331
 
+   if test x"$cross_compiling" = xyes ; then
24332
 
+        # When cross-compiling, there is no way to tell whether // is special
24333
 
+        # short of a list of hosts.  However, the only known hosts to date
24334
 
+        # that have a distinct // are Apollo DomainOS (too old to port to),
24335
 
+        # Cygwin, and z/OS.  If anyone knows of another system for which // has
24336
 
+        # special semantics and is distinct from /, please report it to
24337
 
+        # <bug-gnulib@gnu.org>.
24338
 
+        case $host in
24339
 
+          *-cygwin | i370-ibm-openedition)
24340
 
+            gl_cv_double_slash_root=yes ;;
24341
 
+          *)
24342
 
+            # Be optimistic and assume that / and // are the same when we
24343
 
+            # don't know.
24344
 
+            gl_cv_double_slash_root='unknown, assuming no' ;;
24345
 
+        esac
24346
 
+      else
24347
 
+        set x `ls -di / // 2>/dev/null`
24348
 
+        if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then
24349
 
+          gl_cv_double_slash_root=no
24350
 
+        else
24351
 
+          gl_cv_double_slash_root=yes
24352
 
+        fi
24353
 
+      fi
24354
 
+fi
24355
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
24356
 
+$as_echo "$gl_cv_double_slash_root" >&6; }
24357
 
+  if test "$gl_cv_double_slash_root" = yes; then
24358
 
+    
24359
 
+$as_echo "@%:@define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
24360
 
+
24361
 
+  fi
24362
 
+
24363
 
+
24364
 
+
24365
 
+  
24366
 
+  
24367
 
+  
24368
 
+    
24369
 
+$as_echo "@%:@define HAVE_DUP2 1" >>confdefs.h
24370
 
+
24371
 
+  
24372
 
+  if test $HAVE_DUP2 = 1; then
24373
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5
24374
 
+$as_echo_n "checking whether dup2 works... " >&6; }
24375
 
+if ${gl_cv_func_dup2_works+:} false; then :
24376
 
+  $as_echo_n "(cached) " >&6
24377
 
+else
24378
 
+  if test "$cross_compiling" = yes; then :
24379
 
+  case "$host_os" in
24380
 
+           mingw*) # on this platform, dup2 always returns 0 for success
24381
 
+             gl_cv_func_dup2_works=no;;
24382
 
+           cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0
24383
 
+             gl_cv_func_dup2_works=no;;
24384
 
+           linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a
24385
 
+                   # closed fd may yield -EBADF instead of -1 / errno=EBADF.
24386
 
+             gl_cv_func_dup2_works=no;;
24387
 
+           freebsd*) # on FreeBSD 6.1, dup2(1,1000000) gives EMFILE, not EBADF.
24388
 
+             gl_cv_func_dup2_works=no;;
24389
 
+           haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC.
24390
 
+             gl_cv_func_dup2_works=no;;
24391
 
+           *) gl_cv_func_dup2_works=yes;;
24392
 
+         esac
24393
 
+else
24394
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24395
 
+/* end confdefs.h.  */
24396
 
+
24397
 
+         #include <unistd.h>
24398
 
+#include <fcntl.h>
24399
 
+#include <errno.h>
24400
 
+int
24401
 
+main ()
24402
 
+{
24403
 
+int result = 0;
24404
 
+#ifdef FD_CLOEXEC
24405
 
+            if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1)
24406
 
+              result |= 1;
24407
 
+#endif
24408
 
+            if (dup2 (1, 1) == 0)
24409
 
+              result |= 2;
24410
 
+#ifdef FD_CLOEXEC
24411
 
+            if (fcntl (1, F_GETFD) != FD_CLOEXEC)
24412
 
+              result |= 4;
24413
 
+#endif
24414
 
+            close (0);
24415
 
+            if (dup2 (0, 0) != -1)
24416
 
+              result |= 8;
24417
 
+            /* Many gnulib modules require POSIX conformance of EBADF.  */
24418
 
+            if (dup2 (2, 1000000) == -1 && errno != EBADF)
24419
 
+              result |= 16;
24420
 
+            return result;
24421
 
+           
24422
 
+  ;
24423
 
+  return 0;
24424
 
+}
24425
 
+        
24426
 
+_ACEOF
24427
 
+if ac_fn_c_try_run "$LINENO"; then :
24428
 
+  gl_cv_func_dup2_works=yes
24429
 
+else
24430
 
+  gl_cv_func_dup2_works=no
24431
 
+fi
24432
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24433
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
24434
 
+fi
24435
 
+
24436
 
+      
24437
 
+fi
24438
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup2_works" >&5
24439
 
+$as_echo "$gl_cv_func_dup2_works" >&6; }
24440
 
+    if test "$gl_cv_func_dup2_works" = no; then
24441
 
+      REPLACE_DUP2=1
24442
 
+    fi
24443
 
+  fi
24444
 
+      
24445
 
+    
24446
 
+  
24447
 
+  
24448
 
+  if test $ac_cv_func_fchdir = no; then
24449
 
+    HAVE_FCHDIR=0
24450
 
+  fi
24451
 
+
24452
 
+    if test $HAVE_FCHDIR = 0; then
24453
 
+      REPLACE_DUP2=1
24454
 
+    fi
24455
 
+  
24456
 
+
24457
 
+if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
24458
 
+  
24459
 
+  
24460
 
+  
24461
 
+    
24462
 
+      
24463
 
+      
24464
 
+    
24465
 
+  
24466
 
+  gl_LIBOBJS="$gl_LIBOBJS dup2.$ac_objext"
24467
 
+
24468
 
+fi
24469
 
+
24470
 
+    
24471
 
+  
24472
 
+  
24473
 
+  
24474
 
+          GNULIB_DUP2=1
24475
 
+    
24476
 
+
24477
 
+
24478
 
+    
24479
 
+  
24480
 
+$as_echo "@%:@define GNULIB_TEST_DUP2 1" >>confdefs.h
24481
 
+
24482
 
+
24483
 
+
24484
 
+
24485
 
+
24486
 
+    
24487
 
+  
24488
 
+  
24489
 
+  
24490
 
+          GNULIB_ENVIRON=1
24491
 
+    
24492
 
+
24493
 
+
24494
 
+    
24495
 
+  
24496
 
+$as_echo "@%:@define GNULIB_TEST_ENVIRON 1" >>confdefs.h
24497
 
+
24498
 
+
24499
 
+
24500
 
+
24501
 
+
24502
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
24503
 
+$as_echo_n "checking for error_at_line... " >&6; }
24504
 
+if ${ac_cv_lib_error_at_line+:} false; then :
24505
 
+  $as_echo_n "(cached) " >&6
24506
 
+else
24507
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24508
 
+/* end confdefs.h.  */
24509
 
+#include <error.h>
24510
 
+int
24511
 
+main ()
24512
 
+{
24513
 
+error_at_line (0, 0, "", 0, "an error occurred");
24514
 
+  ;
24515
 
+  return 0;
24516
 
+}
24517
 
+_ACEOF
24518
 
+if ac_fn_c_try_link "$LINENO"; then :
24519
 
+  ac_cv_lib_error_at_line=yes
24520
 
+else
24521
 
+  ac_cv_lib_error_at_line=no
24522
 
+fi
24523
 
+rm -f core conftest.err conftest.$ac_objext \
24524
 
+    conftest$ac_exeext conftest.$ac_ext
24525
 
+fi
24526
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
24527
 
+$as_echo "$ac_cv_lib_error_at_line" >&6; }
24528
 
+
24529
 
+if test $ac_cv_lib_error_at_line = no; then
24530
 
+  
24531
 
+  
24532
 
+  
24533
 
+    
24534
 
+      
24535
 
+      
24536
 
+    
24537
 
+  
24538
 
+  gl_LIBOBJS="$gl_LIBOBJS error.$ac_objext"
24539
 
+
24540
 
+  
24541
 
+  
24542
 
+  
24543
 
+  :
24544
 
+
24545
 
+fi
24546
 
+
24547
 
+  
24548
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format"
24549
 
+
24550
 
+   
24551
 
+  
24552
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format"
24553
 
+
24554
 
+
24555
 
+  
24556
 
+
24557
 
+    
24558
 
+
24559
 
+  for ac_func in euidaccess
24560
 
+do :
24561
 
+  ac_fn_c_check_func "$LINENO" "euidaccess" "ac_cv_func_euidaccess"
24562
 
+if test "x$ac_cv_func_euidaccess" = xyes; then :
24563
 
+  cat >>confdefs.h <<_ACEOF
24564
 
+@%:@define HAVE_EUIDACCESS 1
24565
 
+_ACEOF
24566
 
24567
 
+fi
24568
 
+done
24569
 
+
24570
 
+  if test $ac_cv_func_euidaccess = no; then
24571
 
+    HAVE_EUIDACCESS=0
24572
 
+  fi
24573
 
+
24574
 
+if test $HAVE_EUIDACCESS = 0; then
24575
 
+  
24576
 
+  
24577
 
+  
24578
 
+    
24579
 
+      
24580
 
+      
24581
 
+    
24582
 
+  
24583
 
+  gl_LIBOBJS="$gl_LIBOBJS euidaccess.$ac_objext"
24584
 
+
24585
 
+  
24586
 
+    
24587
 
+    
24588
 
+  
24589
 
+  
24590
 
+
24591
 
+  # Solaris 9 needs -lgen to get the eaccess function.
24592
 
+  # Save and restore LIBS so -lgen isn't added to it.  Otherwise, *all*
24593
 
+  # programs in the package would end up linked with that potentially-shared
24594
 
+  # library, inducing unnecessary run-time overhead.
24595
 
+  LIB_EACCESS=
24596
 
+  
24597
 
+  gl_saved_libs=$LIBS
24598
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing eaccess" >&5
24599
 
+$as_echo_n "checking for library containing eaccess... " >&6; }
24600
 
+if ${ac_cv_search_eaccess+:} false; then :
24601
 
+  $as_echo_n "(cached) " >&6
24602
 
+else
24603
 
+  ac_func_search_save_LIBS=$LIBS
24604
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24605
 
+/* end confdefs.h.  */
24606
 
+
24607
 
+/* Override any GCC internal prototype to avoid an error.
24608
 
+   Use char because int might match the return type of a GCC
24609
 
+   builtin and then its argument prototype would still apply.  */
24610
 
+#ifdef __cplusplus
24611
 
+extern "C"
24612
 
+#endif
24613
 
+char eaccess ();
24614
 
+int
24615
 
+main ()
24616
 
+{
24617
 
+return eaccess ();
24618
 
+  ;
24619
 
+  return 0;
24620
 
+}
24621
 
+_ACEOF
24622
 
+for ac_lib in '' gen; do
24623
 
+  if test -z "$ac_lib"; then
24624
 
+    ac_res="none required"
24625
 
+  else
24626
 
+    ac_res=-l$ac_lib
24627
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
24628
 
+  fi
24629
 
+  if ac_fn_c_try_link "$LINENO"; then :
24630
 
+  ac_cv_search_eaccess=$ac_res
24631
 
+fi
24632
 
+rm -f core conftest.err conftest.$ac_objext \
24633
 
+    conftest$ac_exeext
24634
 
+  if ${ac_cv_search_eaccess+:} false; then :
24635
 
+  break
24636
 
+fi
24637
 
+done
24638
 
+if ${ac_cv_search_eaccess+:} false; then :
24639
 
+  
24640
 
+else
24641
 
+  ac_cv_search_eaccess=no
24642
 
+fi
24643
 
+rm conftest.$ac_ext
24644
 
+LIBS=$ac_func_search_save_LIBS
24645
 
+fi
24646
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_eaccess" >&5
24647
 
+$as_echo "$ac_cv_search_eaccess" >&6; }
24648
 
+ac_res=$ac_cv_search_eaccess
24649
 
+if test "$ac_res" != no; then :
24650
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
24651
 
+  test "$ac_cv_search_eaccess" = "none required" ||
24652
 
+                    LIB_EACCESS=$ac_cv_search_eaccess
24653
 
+fi
24654
 
+
24655
 
+    for ac_func in eaccess
24656
 
+do :
24657
 
+  ac_fn_c_check_func "$LINENO" "eaccess" "ac_cv_func_eaccess"
24658
 
+if test "x$ac_cv_func_eaccess" = xyes; then :
24659
 
+  cat >>confdefs.h <<_ACEOF
24660
 
+@%:@define HAVE_EACCESS 1
24661
 
+_ACEOF
24662
 
24663
 
+fi
24664
 
+done
24665
 
+
24666
 
+  LIBS=$gl_saved_libs
24667
 
+
24668
 
+fi
24669
 
+
24670
 
+    
24671
 
+  
24672
 
+  
24673
 
+  
24674
 
+          GNULIB_EUIDACCESS=1
24675
 
+    
24676
 
+
24677
 
+
24678
 
+    
24679
 
+  
24680
 
+$as_echo "@%:@define GNULIB_TEST_EUIDACCESS 1" >>confdefs.h
24681
 
+
24682
 
+
24683
 
+
24684
 
+
24685
 
+  
24686
 
+  
24687
 
+  
24688
 
+  
24689
 
+  
24690
 
+  
24691
 
+  if test $ac_cv_func_faccessat = no; then
24692
 
+    HAVE_FACCESSAT=0
24693
 
+    
24694
 
+  
24695
 
+  
24696
 
+    
24697
 
+      
24698
 
+      
24699
 
+    
24700
 
+  
24701
 
+  gl_LIBOBJS="$gl_LIBOBJS faccessat.$ac_objext"
24702
 
+
24703
 
+  fi
24704
 
+
24705
 
+
24706
 
+  
24707
 
+cat >>confdefs.h <<_ACEOF
24708
 
+@%:@define GNULIB_FACCESSAT 1
24709
 
+_ACEOF
24710
 
+
24711
 
+
24712
 
+
24713
 
+    
24714
 
+  
24715
 
+  
24716
 
+  
24717
 
+          GNULIB_FACCESSAT=1
24718
 
+    
24719
 
+
24720
 
+
24721
 
+    
24722
 
+  
24723
 
+$as_echo "@%:@define GNULIB_TEST_FACCESSAT 1" >>confdefs.h
24724
 
+
24725
 
+
24726
 
+
24727
 
+
24728
 
+
24729
 
+  
24730
 
+  
24731
 
+  
24732
 
+
24733
 
+  
24734
 
+  if test $ac_cv_have_decl_fchdir = no; then
24735
 
+    HAVE_DECL_FCHDIR=0
24736
 
+  fi
24737
 
+
24738
 
+  
24739
 
+  if test $HAVE_FCHDIR = 0; then
24740
 
+    
24741
 
+  
24742
 
+  
24743
 
+    
24744
 
+      
24745
 
+      
24746
 
+    
24747
 
+  
24748
 
+  gl_LIBOBJS="$gl_LIBOBJS fchdir.$ac_objext"
24749
 
+
24750
 
+    :
24751
 
+    
24752
 
+$as_echo "@%:@define REPLACE_FCHDIR 1" >>confdefs.h
24753
 
+
24754
 
+                REPLACE_OPENDIR=1
24755
 
+    REPLACE_CLOSEDIR=1
24756
 
+    REPLACE_DUP=1
24757
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether open can visit directories" >&5
24758
 
+$as_echo_n "checking whether open can visit directories... " >&6; }
24759
 
+if ${gl_cv_func_open_directory_works+:} false; then :
24760
 
+  $as_echo_n "(cached) " >&6
24761
 
+else
24762
 
+  if test "$cross_compiling" = yes; then :
24763
 
+  gl_cv_func_open_directory_works="guessing no"
24764
 
+else
24765
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24766
 
+/* end confdefs.h.  */
24767
 
+#include <fcntl.h>
24768
 
+
24769
 
+int
24770
 
+main ()
24771
 
+{
24772
 
+return open(".", O_RDONLY) < 0;
24773
 
+  ;
24774
 
+  return 0;
24775
 
+}
24776
 
+_ACEOF
24777
 
+if ac_fn_c_try_run "$LINENO"; then :
24778
 
+  gl_cv_func_open_directory_works=yes
24779
 
+else
24780
 
+  gl_cv_func_open_directory_works=no
24781
 
+fi
24782
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24783
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
24784
 
+fi
24785
 
+
24786
 
+fi
24787
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_open_directory_works" >&5
24788
 
+$as_echo "$gl_cv_func_open_directory_works" >&6; }
24789
 
+    if test "$gl_cv_func_open_directory_works" != yes; then
24790
 
+      
24791
 
+$as_echo "@%:@define REPLACE_OPEN_DIRECTORY 1" >>confdefs.h
24792
 
+
24793
 
+      REPLACE_FSTAT=1
24794
 
+    fi
24795
 
+  fi
24796
 
+
24797
 
+
24798
 
+    
24799
 
+  
24800
 
+  
24801
 
+  
24802
 
+          GNULIB_FCHDIR=1
24803
 
+    
24804
 
+
24805
 
+
24806
 
+    
24807
 
+  
24808
 
+$as_echo "@%:@define GNULIB_TEST_FCHDIR 1" >>confdefs.h
24809
 
+
24810
 
+
24811
 
+
24812
 
+
24813
 
+  
24814
 
+
24815
 
+  
24816
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5
24817
 
+$as_echo_n "checking whether fflush works on input streams... " >&6; }
24818
 
+if ${gl_cv_func_fflush_stdin+:} false; then :
24819
 
+  $as_echo_n "(cached) " >&6
24820
 
+else
24821
 
+  echo hello world > conftest.txt
24822
 
+     if test "$cross_compiling" = yes; then :
24823
 
+        gl_cv_func_fflush_stdin=no
24824
 
+else
24825
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24826
 
+/* end confdefs.h.  */
24827
 
+
24828
 
+#include <stdio.h>
24829
 
+#include <unistd.h>
24830
 
+       
24831
 
+int
24832
 
+main ()
24833
 
+{
24834
 
+FILE *f = fopen ("conftest.txt", "r");
24835
 
+         char buffer[10];
24836
 
+         int fd;
24837
 
+         int c;
24838
 
+         if (f == NULL)
24839
 
+           return 1;
24840
 
+         fd = fileno (f);
24841
 
+         if (fd < 0 || fread (buffer, 1, 5, f) != 5)
24842
 
+           return 2;
24843
 
+         /* For deterministic results, ensure f read a bigger buffer.  */
24844
 
+         if (lseek (fd, 0, SEEK_CUR) == 5)
24845
 
+           return 3;
24846
 
+         /* POSIX requires fflush-fseek to set file offset of fd.  This fails
24847
 
+            on BSD systems and on mingw.  */
24848
 
+         if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0)
24849
 
+           return 4;
24850
 
+         if (lseek (fd, 0, SEEK_CUR) != 5)
24851
 
+           return 5;
24852
 
+         /* Verify behaviour of fflush after ungetc. See
24853
 
+            <http://www.opengroup.org/austin/aardvark/latest/xshbug3.txt>  */
24854
 
+         /* Verify behaviour of fflush after a backup ungetc.  This fails on
24855
 
+            mingw.  */
24856
 
+         c = fgetc (f);
24857
 
+         ungetc (c, f);
24858
 
+         fflush (f);
24859
 
+         if (fgetc (f) != c)
24860
 
+           return 6;
24861
 
+         /* Verify behaviour of fflush after a non-backup ungetc.  This fails
24862
 
+            on glibc 2.8 and on BSD systems.  */
24863
 
+         c = fgetc (f);
24864
 
+         ungetc ('@', f);
24865
 
+         fflush (f);
24866
 
+         if (fgetc (f) != c)
24867
 
+           return 7;
24868
 
+         return 0;
24869
 
+       
24870
 
+  ;
24871
 
+  return 0;
24872
 
+}
24873
 
+_ACEOF
24874
 
+if ac_fn_c_try_run "$LINENO"; then :
24875
 
+  gl_cv_func_fflush_stdin=yes
24876
 
+else
24877
 
+  gl_cv_func_fflush_stdin=no
24878
 
+fi
24879
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24880
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
24881
 
+fi
24882
 
+
24883
 
+     rm conftest.txt
24884
 
+    
24885
 
+fi
24886
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5
24887
 
+$as_echo "$gl_cv_func_fflush_stdin" >&6; }
24888
 
+
24889
 
+  if test $gl_cv_func_fflush_stdin = no; then
24890
 
+    REPLACE_FCLOSE=1
24891
 
+  fi
24892
 
+
24893
 
+  
24894
 
+  if test $REPLACE_CLOSE = 1; then
24895
 
+    REPLACE_FCLOSE=1
24896
 
+  fi
24897
 
+
24898
 
+if test $REPLACE_FCLOSE = 1; then
24899
 
+  
24900
 
+  
24901
 
+  
24902
 
+    
24903
 
+      
24904
 
+      
24905
 
+    
24906
 
+  
24907
 
+  gl_LIBOBJS="$gl_LIBOBJS fclose.$ac_objext"
24908
 
+
24909
 
+fi
24910
 
+
24911
 
+    
24912
 
+  
24913
 
+  
24914
 
+  
24915
 
+          GNULIB_FCLOSE=1
24916
 
+    
24917
 
+
24918
 
+
24919
 
+    
24920
 
+  
24921
 
+$as_echo "@%:@define GNULIB_TEST_FCLOSE 1" >>confdefs.h
24922
 
+
24923
 
+
24924
 
+
24925
 
+
24926
 
+    
24927
 
+  
24928
 
+  
24929
 
+  
24930
 
+  if test $ac_cv_func_fcntl = no; then
24931
 
+    
24932
 
+  
24933
 
+  
24934
 
+  if test $ac_cv_func_fcntl = no; then
24935
 
+    HAVE_FCNTL=0
24936
 
+  else
24937
 
+    REPLACE_FCNTL=1
24938
 
+  fi
24939
 
+
24940
 
+  else
24941
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl handles F_DUPFD correctly" >&5
24942
 
+$as_echo_n "checking whether fcntl handles F_DUPFD correctly... " >&6; }
24943
 
+if ${gl_cv_func_fcntl_f_dupfd_works+:} false; then :
24944
 
+  $as_echo_n "(cached) " >&6
24945
 
+else
24946
 
+  if test "$cross_compiling" = yes; then :
24947
 
+  # Guess that it works on glibc systems
24948
 
+          case $host_os in #((
24949
 
+            *-gnu*) gl_cv_func_fcntl_f_dupfd_works="guessing yes";;
24950
 
+            *)      gl_cv_func_fcntl_f_dupfd_works="guessing no";;
24951
 
+          esac
24952
 
+else
24953
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24954
 
+/* end confdefs.h.  */
24955
 
+
24956
 
+#include <fcntl.h>
24957
 
+#include <errno.h>
24958
 
+
24959
 
+int
24960
 
+main ()
24961
 
+{
24962
 
+int result = 0;
24963
 
+      if (fcntl (0, F_DUPFD, -1) != -1) result |= 1;
24964
 
+      if (errno != EINVAL) result |= 2;
24965
 
+      return result;
24966
 
+         
24967
 
+  ;
24968
 
+  return 0;
24969
 
+}
24970
 
+_ACEOF
24971
 
+if ac_fn_c_try_run "$LINENO"; then :
24972
 
+  gl_cv_func_fcntl_f_dupfd_works=yes
24973
 
+else
24974
 
+  gl_cv_func_fcntl_f_dupfd_works=no
24975
 
+fi
24976
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24977
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
24978
 
+fi
24979
 
+
24980
 
+fi
24981
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_works" >&5
24982
 
+$as_echo "$gl_cv_func_fcntl_f_dupfd_works" >&6; }
24983
 
+    case $gl_cv_func_fcntl_f_dupfd_works in
24984
 
+      *yes) ;;
24985
 
+      *) 
24986
 
+  
24987
 
+  
24988
 
+  if test $ac_cv_func_fcntl = no; then
24989
 
+    HAVE_FCNTL=0
24990
 
+  else
24991
 
+    REPLACE_FCNTL=1
24992
 
+  fi
24993
 
+
24994
 
+        
24995
 
+$as_echo "@%:@define FCNTL_DUPFD_BUGGY 1" >>confdefs.h
24996
 
+ ;;
24997
 
+    esac
24998
 
+
24999
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl understands F_DUPFD_CLOEXEC" >&5
25000
 
+$as_echo_n "checking whether fcntl understands F_DUPFD_CLOEXEC... " >&6; }
25001
 
+if ${gl_cv_func_fcntl_f_dupfd_cloexec+:} false; then :
25002
 
+  $as_echo_n "(cached) " >&6
25003
 
+else
25004
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25005
 
+/* end confdefs.h.  */
25006
 
+
25007
 
+#include <fcntl.h>
25008
 
+#ifndef F_DUPFD_CLOEXEC
25009
 
+choke me
25010
 
+#endif
25011
 
+         
25012
 
+int
25013
 
+main ()
25014
 
+{
25015
 
+
25016
 
+  ;
25017
 
+  return 0;
25018
 
+}
25019
 
+_ACEOF
25020
 
+if ac_fn_c_try_compile "$LINENO"; then :
25021
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25022
 
+/* end confdefs.h.  */
25023
 
+
25024
 
+#ifdef __linux__
25025
 
+/* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace
25026
 
+   it to support the semantics on older kernels that failed with EINVAL.  */
25027
 
+choke me
25028
 
+#endif
25029
 
+           
25030
 
+int
25031
 
+main ()
25032
 
+{
25033
 
+
25034
 
+  ;
25035
 
+  return 0;
25036
 
+}
25037
 
+_ACEOF
25038
 
+if ac_fn_c_try_compile "$LINENO"; then :
25039
 
+  gl_cv_func_fcntl_f_dupfd_cloexec=yes
25040
 
+else
25041
 
+  gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check"
25042
 
+fi
25043
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25044
 
+else
25045
 
+  gl_cv_func_fcntl_f_dupfd_cloexec=no
25046
 
+fi
25047
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25048
 
+fi
25049
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_cloexec" >&5
25050
 
+$as_echo "$gl_cv_func_fcntl_f_dupfd_cloexec" >&6; }
25051
 
+    if test "$gl_cv_func_fcntl_f_dupfd_cloexec" != yes; then
25052
 
+      
25053
 
+  
25054
 
+  
25055
 
+  if test $ac_cv_func_fcntl = no; then
25056
 
+    HAVE_FCNTL=0
25057
 
+  else
25058
 
+    REPLACE_FCNTL=1
25059
 
+  fi
25060
 
+
25061
 
+          fi
25062
 
+  fi
25063
 
+      
25064
 
+    
25065
 
+  
25066
 
+  
25067
 
+  if test $ac_cv_func_fchdir = no; then
25068
 
+    HAVE_FCHDIR=0
25069
 
+  fi
25070
 
+
25071
 
+    if test $HAVE_FCHDIR = 0; then
25072
 
+      
25073
 
+  
25074
 
+  
25075
 
+  if test $ac_cv_func_fcntl = no; then
25076
 
+    HAVE_FCNTL=0
25077
 
+  else
25078
 
+    REPLACE_FCNTL=1
25079
 
+  fi
25080
 
+
25081
 
+    fi
25082
 
+  
25083
 
+
25084
 
+if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
25085
 
+  
25086
 
+  
25087
 
+  
25088
 
+    
25089
 
+      
25090
 
+      
25091
 
+    
25092
 
+  
25093
 
+  gl_LIBOBJS="$gl_LIBOBJS fcntl.$ac_objext"
25094
 
+
25095
 
+fi
25096
 
+
25097
 
+    
25098
 
+  
25099
 
+  
25100
 
+  
25101
 
+          GNULIB_FCNTL=1
25102
 
+    
25103
 
+
25104
 
+
25105
 
+    
25106
 
+  
25107
 
+$as_echo "@%:@define GNULIB_TEST_FCNTL 1" >>confdefs.h
25108
 
+
25109
 
+
25110
 
+
25111
 
+
25112
 
+  
25113
 
+  
25114
 
+  
25115
 
+  
25116
 
+  
25117
 
+  
25118
 
+
25119
 
+  
25120
 
+
25121
 
+  
25122
 
+     if test $gl_cv_have_include_next = yes; then
25123
 
+       gl_cv_next_fcntl_h='<'fcntl.h'>'
25124
 
+     else
25125
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <fcntl.h>" >&5
25126
 
+$as_echo_n "checking absolute name of <fcntl.h>... " >&6; }
25127
 
+if ${gl_cv_next_fcntl_h+:} false; then :
25128
 
+  $as_echo_n "(cached) " >&6
25129
 
+else
25130
 
+  
25131
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25132
 
+/* end confdefs.h.  */
25133
 
+#include <fcntl.h>
25134
 
+                  
25135
 
+_ACEOF
25136
 
+                                                                                                                        case "$host_os" in
25137
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
25138
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
25139
 
+               esac
25140
 
+                                                            gl_cv_next_fcntl_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
25141
 
+                  sed -n '\#/fcntl.h#{
25142
 
+                    s#.*"\(.*/fcntl.h\)".*#\1#
25143
 
+                    s#^/[^/]#//&#
25144
 
+                    p
25145
 
+                    q
25146
 
+                  }'`'"'
25147
 
+          
25148
 
+         
25149
 
+fi
25150
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fcntl_h" >&5
25151
 
+$as_echo "$gl_cv_next_fcntl_h" >&6; }
25152
 
+     fi
25153
 
+     NEXT_FCNTL_H=$gl_cv_next_fcntl_h
25154
 
+
25155
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
25156
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
25157
 
+       gl_next_as_first_directive='<'fcntl.h'>'
25158
 
+     else
25159
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
25160
 
+       gl_next_as_first_directive=$gl_cv_next_fcntl_h
25161
 
+     fi
25162
 
+     NEXT_AS_FIRST_DIRECTIVE_FCNTL_H=$gl_next_as_first_directive
25163
 
+
25164
 
+     
25165
 
+
25166
 
+
25167
 
+
25168
 
+        
25169
 
+    for gl_func in fcntl openat; do
25170
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
25171
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
25172
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
25173
 
+if eval \${$as_gl_Symbol+:} false; then :
25174
 
+  $as_echo_n "(cached) " >&6
25175
 
+else
25176
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25177
 
+/* end confdefs.h.  */
25178
 
+#include <fcntl.h>
25179
 
+    
25180
 
+int
25181
 
+main ()
25182
 
+{
25183
 
+@%:@undef $gl_func
25184
 
+  (void) $gl_func;
25185
 
+  ;
25186
 
+  return 0;
25187
 
+}
25188
 
+_ACEOF
25189
 
+if ac_fn_c_try_compile "$LINENO"; then :
25190
 
+  eval "$as_gl_Symbol=yes"
25191
 
+else
25192
 
+  eval "$as_gl_Symbol=no"
25193
 
+fi
25194
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25195
 
+fi
25196
 
+eval ac_res=\$$as_gl_Symbol
25197
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
25198
 
+$as_echo "$ac_res" >&6; }
25199
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
25200
 
+  cat >>confdefs.h <<_ACEOF
25201
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
25202
 
+_ACEOF
25203
 
+
25204
 
+                     eval ac_cv_have_decl_$gl_func=yes
25205
 
+fi
25206
 
+      done
25207
 
+
25208
 
+
25209
 
+
25210
 
+    
25211
 
+
25212
 
+
25213
 
+  
25214
 
+cat >>confdefs.h <<_ACEOF
25215
 
+@%:@define GNULIB_FCNTL_SAFER 1
25216
 
+_ACEOF
25217
 
+
25218
 
+
25219
 
+
25220
 
+  
25221
 
+cat >>confdefs.h <<_ACEOF
25222
 
+@%:@define GNULIB_FD_SAFER_FLAG 1
25223
 
+_ACEOF
25224
 
+
25225
 
+
25226
 
+
25227
 
+  
25228
 
+    ac_fn_c_check_decl "$LINENO" "fdopendir" "ac_cv_have_decl_fdopendir" "
25229
 
+#include <dirent.h>
25230
 
+    
25231
 
+"
25232
 
+if test "x$ac_cv_have_decl_fdopendir" = xyes; then :
25233
 
+  ac_have_decl=1
25234
 
+else
25235
 
+  ac_have_decl=0
25236
 
+fi
25237
 
+
25238
 
+cat >>confdefs.h <<_ACEOF
25239
 
+@%:@define HAVE_DECL_FDOPENDIR $ac_have_decl
25240
 
+_ACEOF
25241
 
+if test $ac_have_decl = 1; then :
25242
 
+  
25243
 
+else
25244
 
+  HAVE_DECL_FDOPENDIR=0
25245
 
+fi
25246
 
+
25247
 
+  
25248
 
+  if test $ac_cv_func_fdopendir = no; then
25249
 
+    HAVE_FDOPENDIR=0
25250
 
+  else
25251
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fdopendir works" >&5
25252
 
+$as_echo_n "checking whether fdopendir works... " >&6; }
25253
 
+if ${gl_cv_func_fdopendir_works+:} false; then :
25254
 
+  $as_echo_n "(cached) " >&6
25255
 
+else
25256
 
+  if test "$cross_compiling" = yes; then :
25257
 
+  gl_cv_func_fdopendir_works="guessing no"
25258
 
+else
25259
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25260
 
+/* end confdefs.h.  */
25261
 
+
25262
 
+#include <dirent.h>
25263
 
+#include <fcntl.h>
25264
 
+#include <unistd.h>
25265
 
+#if !HAVE_DECL_FDOPENDIR
25266
 
+extern
25267
 
+# ifdef __cplusplus
25268
 
+"C"
25269
 
+# endif
25270
 
+DIR *fdopendir (int);
25271
 
+#endif
25272
 
+
25273
 
+int
25274
 
+main ()
25275
 
+{
25276
 
+int result = 0;
25277
 
+     int fd = open ("conftest.c", O_RDONLY);
25278
 
+     if (fd < 0) result |= 1;
25279
 
+     if (fdopendir (fd)) result |= 2;
25280
 
+     if (close (fd)) result |= 4;
25281
 
+     return result;
25282
 
+  ;
25283
 
+  return 0;
25284
 
+}
25285
 
+_ACEOF
25286
 
+if ac_fn_c_try_run "$LINENO"; then :
25287
 
+  gl_cv_func_fdopendir_works=yes
25288
 
+else
25289
 
+  gl_cv_func_fdopendir_works=no
25290
 
+fi
25291
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25292
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
25293
 
+fi
25294
 
+
25295
 
+fi
25296
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fdopendir_works" >&5
25297
 
+$as_echo "$gl_cv_func_fdopendir_works" >&6; }
25298
 
+    if test "$gl_cv_func_fdopendir_works" != yes; then
25299
 
+      REPLACE_FDOPENDIR=1
25300
 
+    fi
25301
 
+  fi
25302
 
+
25303
 
+if test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then
25304
 
+  
25305
 
+  
25306
 
+  
25307
 
+    
25308
 
+      
25309
 
+      
25310
 
+    
25311
 
+  
25312
 
+  gl_LIBOBJS="$gl_LIBOBJS fdopendir.$ac_objext"
25313
 
+
25314
 
+fi
25315
 
+if test $HAVE_FDOPENDIR = 0; then
25316
 
+  
25317
 
+  
25318
 
+  
25319
 
+    
25320
 
+      
25321
 
+      
25322
 
+    
25323
 
+  
25324
 
+  gl_LIBOBJS="$gl_LIBOBJS openat-proc.$ac_objext"
25325
 
+
25326
 
+fi
25327
 
+
25328
 
+    
25329
 
+  
25330
 
+  
25331
 
+  
25332
 
+          GNULIB_FDOPENDIR=1
25333
 
+    
25334
 
+
25335
 
+
25336
 
+    
25337
 
+  
25338
 
+$as_echo "@%:@define GNULIB_TEST_FDOPENDIR 1" >>confdefs.h
25339
 
+
25340
 
+
25341
 
+
25342
 
+
25343
 
+  
25344
 
+cat >>confdefs.h <<_ACEOF
25345
 
+@%:@define GNULIB_FDOPENDIR 1
25346
 
+_ACEOF
25347
 
+
25348
 
+
25349
 
25350
 
+  
25351
 
+cat >>confdefs.h <<_ACEOF
25352
 
+@%:@define GNULIB_FDUTIMENSAT 1
25353
 
+_ACEOF
25354
 
+
25355
 
+
25356
 
+
25357
 
+  
25358
 
+  
25359
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5
25360
 
+$as_echo_n "checking whether fflush works on input streams... " >&6; }
25361
 
+if ${gl_cv_func_fflush_stdin+:} false; then :
25362
 
+  $as_echo_n "(cached) " >&6
25363
 
+else
25364
 
+  echo hello world > conftest.txt
25365
 
+     if test "$cross_compiling" = yes; then :
25366
 
+        gl_cv_func_fflush_stdin=no
25367
 
+else
25368
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25369
 
+/* end confdefs.h.  */
25370
 
+
25371
 
+#include <stdio.h>
25372
 
+#include <unistd.h>
25373
 
+       
25374
 
+int
25375
 
+main ()
25376
 
+{
25377
 
+FILE *f = fopen ("conftest.txt", "r");
25378
 
+         char buffer[10];
25379
 
+         int fd;
25380
 
+         int c;
25381
 
+         if (f == NULL)
25382
 
+           return 1;
25383
 
+         fd = fileno (f);
25384
 
+         if (fd < 0 || fread (buffer, 1, 5, f) != 5)
25385
 
+           return 2;
25386
 
+         /* For deterministic results, ensure f read a bigger buffer.  */
25387
 
+         if (lseek (fd, 0, SEEK_CUR) == 5)
25388
 
+           return 3;
25389
 
+         /* POSIX requires fflush-fseek to set file offset of fd.  This fails
25390
 
+            on BSD systems and on mingw.  */
25391
 
+         if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0)
25392
 
+           return 4;
25393
 
+         if (lseek (fd, 0, SEEK_CUR) != 5)
25394
 
+           return 5;
25395
 
+         /* Verify behaviour of fflush after ungetc. See
25396
 
+            <http://www.opengroup.org/austin/aardvark/latest/xshbug3.txt>  */
25397
 
+         /* Verify behaviour of fflush after a backup ungetc.  This fails on
25398
 
+            mingw.  */
25399
 
+         c = fgetc (f);
25400
 
+         ungetc (c, f);
25401
 
+         fflush (f);
25402
 
+         if (fgetc (f) != c)
25403
 
+           return 6;
25404
 
+         /* Verify behaviour of fflush after a non-backup ungetc.  This fails
25405
 
+            on glibc 2.8 and on BSD systems.  */
25406
 
+         c = fgetc (f);
25407
 
+         ungetc ('@', f);
25408
 
+         fflush (f);
25409
 
+         if (fgetc (f) != c)
25410
 
+           return 7;
25411
 
+         return 0;
25412
 
+       
25413
 
+  ;
25414
 
+  return 0;
25415
 
+}
25416
 
+_ACEOF
25417
 
+if ac_fn_c_try_run "$LINENO"; then :
25418
 
+  gl_cv_func_fflush_stdin=yes
25419
 
+else
25420
 
+  gl_cv_func_fflush_stdin=no
25421
 
+fi
25422
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25423
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
25424
 
+fi
25425
 
+
25426
 
+     rm conftest.txt
25427
 
+    
25428
 
+fi
25429
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5
25430
 
+$as_echo "$gl_cv_func_fflush_stdin" >&6; }
25431
 
+
25432
 
+  if test $gl_cv_func_fflush_stdin = no; then
25433
 
+    REPLACE_FFLUSH=1
25434
 
+  fi
25435
 
+
25436
 
+if test $REPLACE_FFLUSH = 1; then
25437
 
+  
25438
 
+  
25439
 
+  
25440
 
+    
25441
 
+      
25442
 
+      
25443
 
+    
25444
 
+  
25445
 
+  gl_LIBOBJS="$gl_LIBOBJS fflush.$ac_objext"
25446
 
+
25447
 
+  
25448
 
+  
25449
 
+  :
25450
 
+
25451
 
+fi
25452
 
+
25453
 
+  
25454
 
+cat >>confdefs.h <<_ACEOF
25455
 
+@%:@define GNULIB_FFLUSH 1
25456
 
+_ACEOF
25457
 
+
25458
 
+
25459
 
+
25460
 
+    
25461
 
+  
25462
 
+  
25463
 
+  
25464
 
+          GNULIB_FFLUSH=1
25465
 
+    
25466
 
+
25467
 
+
25468
 
+    
25469
 
+  
25470
 
+$as_echo "@%:@define GNULIB_TEST_FFLUSH 1" >>confdefs.h
25471
 
+
25472
 
+
25473
 
+
25474
 
+
25475
 
+  
25476
 
+    ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
25477
 
+if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
25478
 
+  
25479
 
+cat >>confdefs.h <<_ACEOF
25480
 
+@%:@define HAVE_STRUCT_STAT_ST_BLOCKS 1
25481
 
+_ACEOF
25482
 
+
25483
 
+
25484
 
+$as_echo "@%:@define HAVE_ST_BLOCKS 1" >>confdefs.h
25485
 
+
25486
 
+else
25487
 
+  :
25488
 
+fi
25489
 
+
25490
 
+
25491
 
+  
25492
 
+        
25493
 
+if test $ac_cv_member_struct_stat_st_blocks = no; then
25494
 
+  
25495
 
+  
25496
 
+  
25497
 
+    
25498
 
+      
25499
 
+      
25500
 
+    
25501
 
+  
25502
 
+  gl_LIBOBJS="$gl_LIBOBJS fileblocks.$ac_objext"
25503
 
+
25504
 
+  
25505
 
+  
25506
 
+  :
25507
 
+
25508
 
+fi
25509
 
+
25510
 
+  
25511
 
+  
25512
 
+
25513
 
+
25514
 
+  
25515
 
+
25516
 
+
25517
 
+  
25518
 
+cat >>confdefs.h <<_ACEOF
25519
 
+@%:@define GNULIB_FILENAMECAT 1
25520
 
+_ACEOF
25521
 
+
25522
 
+
25523
 
+
25524
 
+    
25525
 
+
25526
 
+
25527
 
+
25528
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flexible array member" >&5
25529
 
+$as_echo_n "checking for flexible array member... " >&6; }
25530
 
+if ${ac_cv_c_flexmember+:} false; then :
25531
 
+  $as_echo_n "(cached) " >&6
25532
 
+else
25533
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25534
 
+/* end confdefs.h.  */
25535
 
+#include <stdlib.h>
25536
 
+            #include <stdio.h>
25537
 
+            #include <stddef.h>
25538
 
+            struct s { int n; double d[]; };
25539
 
+int
25540
 
+main ()
25541
 
+{
25542
 
+int m = getchar ();
25543
 
+            struct s *p = malloc (offsetof (struct s, d)
25544
 
+                                  + m * sizeof (double));
25545
 
+            p->d[0] = 0.0;
25546
 
+            return p->d != (double *) NULL;
25547
 
+  ;
25548
 
+  return 0;
25549
 
+}
25550
 
+_ACEOF
25551
 
+if ac_fn_c_try_compile "$LINENO"; then :
25552
 
+  ac_cv_c_flexmember=yes
25553
 
+else
25554
 
+  ac_cv_c_flexmember=no
25555
 
+fi
25556
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25557
 
+fi
25558
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
25559
 
+$as_echo "$ac_cv_c_flexmember" >&6; }
25560
 
+  if test $ac_cv_c_flexmember = yes; then
25561
 
+    
25562
 
+$as_echo "@%:@define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
25563
 
+
25564
 
+  else
25565
 
+    $as_echo "@%:@define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
25566
 
+
25567
 
+  fi
25568
 
+
25569
 
+
25570
 
+  
25571
 
+  
25572
 
+  FLOAT_H=
25573
 
+  REPLACE_FLOAT_LDBL=0
25574
 
+  case "$host_os" in
25575
 
+    aix* | beos* | openbsd* | mirbsd* | irix*)
25576
 
+      FLOAT_H=float.h
25577
 
+      ;;
25578
 
+    freebsd*)
25579
 
+      case "$host_cpu" in
25580
 
+        i[34567]86 )
25581
 
+          FLOAT_H=float.h
25582
 
+          ;;
25583
 
+        x86_64 )
25584
 
+          # On x86_64 systems, the C compiler may still be generating
25585
 
+          # 32-bit code.
25586
 
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25587
 
+/* end confdefs.h.  */
25588
 
+#if defined __LP64__ || defined __x86_64__ || defined __amd64__
25589
 
+             yes
25590
 
+             #endif
25591
 
+_ACEOF
25592
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25593
 
+  $EGREP "yes" >/dev/null 2>&1; then :
25594
 
+  
25595
 
+else
25596
 
+  FLOAT_H=float.h
25597
 
+fi
25598
 
+rm -f conftest*
25599
 
+
25600
 
+          ;;
25601
 
+      esac
25602
 
+      ;;
25603
 
+    linux*)
25604
 
+      case "$host_cpu" in
25605
 
+        powerpc*)
25606
 
+          FLOAT_H=float.h
25607
 
+          ;;
25608
 
+      esac
25609
 
+      ;;
25610
 
+  esac
25611
 
+  case "$host_os" in
25612
 
+    aix* | freebsd* | linux*)
25613
 
+      if test -n "$FLOAT_H"; then
25614
 
+        REPLACE_FLOAT_LDBL=1
25615
 
+      fi
25616
 
+      ;;
25617
 
+  esac
25618
 
+  if test -n "$FLOAT_H"; then
25619
 
+    
25620
 
+  
25621
 
+  
25622
 
+  
25623
 
+
25624
 
+  
25625
 
+
25626
 
+  
25627
 
+     if test $gl_cv_have_include_next = yes; then
25628
 
+       gl_cv_next_float_h='<'float.h'>'
25629
 
+     else
25630
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <float.h>" >&5
25631
 
+$as_echo_n "checking absolute name of <float.h>... " >&6; }
25632
 
+if ${gl_cv_next_float_h+:} false; then :
25633
 
+  $as_echo_n "(cached) " >&6
25634
 
+else
25635
 
+  
25636
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25637
 
+/* end confdefs.h.  */
25638
 
+#include <float.h>
25639
 
+                  
25640
 
+_ACEOF
25641
 
+                                                                                                                        case "$host_os" in
25642
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
25643
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
25644
 
+               esac
25645
 
+                                                            gl_cv_next_float_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
25646
 
+                  sed -n '\#/float.h#{
25647
 
+                    s#.*"\(.*/float.h\)".*#\1#
25648
 
+                    s#^/[^/]#//&#
25649
 
+                    p
25650
 
+                    q
25651
 
+                  }'`'"'
25652
 
+          
25653
 
+         
25654
 
+fi
25655
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5
25656
 
+$as_echo "$gl_cv_next_float_h" >&6; }
25657
 
+     fi
25658
 
+     NEXT_FLOAT_H=$gl_cv_next_float_h
25659
 
+
25660
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
25661
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
25662
 
+       gl_next_as_first_directive='<'float.h'>'
25663
 
+     else
25664
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
25665
 
+       gl_next_as_first_directive=$gl_cv_next_float_h
25666
 
+     fi
25667
 
+     NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive
25668
 
+
25669
 
+     
25670
 
+
25671
 
+
25672
 
+  fi
25673
 
+  
25674
 
+   if test -n "$FLOAT_H"; then
25675
 
+  GL_GENERATE_FLOAT_H_TRUE=
25676
 
+  GL_GENERATE_FLOAT_H_FALSE='#'
25677
 
+else
25678
 
+  GL_GENERATE_FLOAT_H_TRUE='#'
25679
 
+  GL_GENERATE_FLOAT_H_FALSE=
25680
 
+fi
25681
 
+
25682
 
+
25683
 
+if test $REPLACE_FLOAT_LDBL = 1; then
25684
 
+  
25685
 
+  
25686
 
+  
25687
 
+    
25688
 
+      
25689
 
+      
25690
 
+    
25691
 
+  
25692
 
+  gl_LIBOBJS="$gl_LIBOBJS float.$ac_objext"
25693
 
+
25694
 
+fi
25695
 
+
25696
 
+  
25697
 
+
25698
 
+          
25699
 
+
25700
 
+  FNMATCH_H=
25701
 
+  gl_fnmatch_required_lowercase=`
25702
 
+    echo $gl_fnmatch_required | tr '[A-Z]' '[a-z]'
25703
 
+  `
25704
 
+  gl_fnmatch_cache_var="gl_cv_func_fnmatch_${gl_fnmatch_required_lowercase}"
25705
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working $gl_fnmatch_required fnmatch" >&5
25706
 
+$as_echo_n "checking for working $gl_fnmatch_required fnmatch... " >&6; }
25707
 
+if eval \${$gl_fnmatch_cache_var+:} false; then :
25708
 
+  $as_echo_n "(cached) " >&6
25709
 
+else
25710
 
+                           if test $gl_fnmatch_required = GNU; then
25711
 
+       gl_fnmatch_gnu_start=
25712
 
+       gl_fnmatch_gnu_end=
25713
 
+     else
25714
 
+       gl_fnmatch_gnu_start='#if 0'
25715
 
+       gl_fnmatch_gnu_end='#endif'
25716
 
+     fi
25717
 
+     if test "$cross_compiling" = yes; then :
25718
 
+  eval "$gl_fnmatch_cache_var=\"guessing no\""
25719
 
+else
25720
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25721
 
+/* end confdefs.h.  */
25722
 
+#include <fnmatch.h>
25723
 
+            static int
25724
 
+            y (char const *pattern, char const *string, int flags)
25725
 
+            {
25726
 
+              return fnmatch (pattern, string, flags) == 0;
25727
 
+            }
25728
 
+            static int
25729
 
+            n (char const *pattern, char const *string, int flags)
25730
 
+            {
25731
 
+              return fnmatch (pattern, string, flags) == FNM_NOMATCH;
25732
 
+            }
25733
 
+          
25734
 
+int
25735
 
+main ()
25736
 
+{
25737
 
+char const *Apat = 'A' < '\\\\' ? "[A-\\\\\\\\]" : "[\\\\\\\\-A]";
25738
 
+            char const *apat = 'a' < '\\\\' ? "[a-\\\\\\\\]" : "[\\\\\\\\-a]";
25739
 
+            static char const A_1[] = { 'A' - 1, 0 };
25740
 
+            static char const A01[] = { 'A' + 1, 0 };
25741
 
+            static char const a_1[] = { 'a' - 1, 0 };
25742
 
+            static char const a01[] = { 'a' + 1, 0 };
25743
 
+            static char const bs_1[] = { '\\\\' - 1, 0 };
25744
 
+            static char const bs01[] = { '\\\\' + 1, 0 };
25745
 
+            int result = 0;
25746
 
+            if (!n ("a*", "", 0))
25747
 
+              return 1;
25748
 
+            if (!y ("a*", "abc", 0))
25749
 
+              return 1;
25750
 
+            if (!y ("[/b", "[/b", 0)) /*"]]"*/ /* glibc Bugzilla bug 12378 */
25751
 
+              return 1;
25752
 
+            if (!n ("d*/*1", "d/s/1", FNM_PATHNAME))
25753
 
+              return 2;
25754
 
+            if (!y ("a\\\\bc", "abc", 0))
25755
 
+              return 3;
25756
 
+            if (!n ("a\\\\bc", "abc", FNM_NOESCAPE))
25757
 
+              return 3;
25758
 
+            if (!y ("*x", ".x", 0))
25759
 
+              return 4;
25760
 
+            if (!n ("*x", ".x", FNM_PERIOD))
25761
 
+              return 4;
25762
 
+            if (!y (Apat, "\\\\", 0))
25763
 
+              return 5;
25764
 
+            if (!y (Apat, "A", 0))
25765
 
+              return 5;
25766
 
+            if (!y (apat, "\\\\", 0))
25767
 
+              return 5;
25768
 
+            if (!y (apat, "a", 0))
25769
 
+              return 5;
25770
 
+            if (!(n (Apat, A_1, 0) == ('A' < '\\\\')))
25771
 
+              return 5;
25772
 
+            if (!(n (apat, a_1, 0) == ('a' < '\\\\')))
25773
 
+              return 5;
25774
 
+            if (!(y (Apat, A01, 0) == ('A' < '\\\\')))
25775
 
+              return 5;
25776
 
+            if (!(y (apat, a01, 0) == ('a' < '\\\\')))
25777
 
+              return 5;
25778
 
+            if (!(y (Apat, bs_1, 0) == ('A' < '\\\\')))
25779
 
+              return 5;
25780
 
+            if (!(y (apat, bs_1, 0) == ('a' < '\\\\')))
25781
 
+              return 5;
25782
 
+            if (!(n (Apat, bs01, 0) == ('A' < '\\\\')))
25783
 
+              return 5;
25784
 
+            if (!(n (apat, bs01, 0) == ('a' < '\\\\')))
25785
 
+              return 5;
25786
 
+            $gl_fnmatch_gnu_start
25787
 
+            if (!y ("xxXX", "xXxX", FNM_CASEFOLD))
25788
 
+              result |= 8;
25789
 
+            if (!y ("a++(x|yy)b", "a+xyyyyxb", FNM_EXTMATCH))
25790
 
+              result |= 16;
25791
 
+            if (!n ("d*/*1", "d/s/1", FNM_FILE_NAME))
25792
 
+              result |= 32;
25793
 
+            if (!y ("*", "x", FNM_FILE_NAME | FNM_LEADING_DIR))
25794
 
+              result |= 64;
25795
 
+            if (!y ("x*", "x/y/z", FNM_FILE_NAME | FNM_LEADING_DIR))
25796
 
+              result |= 64;
25797
 
+            if (!y ("*c*", "c/x", FNM_FILE_NAME | FNM_LEADING_DIR))
25798
 
+              result |= 64;
25799
 
+            $gl_fnmatch_gnu_end
25800
 
+            return result;
25801
 
+          
25802
 
+  ;
25803
 
+  return 0;
25804
 
+}
25805
 
+_ACEOF
25806
 
+if ac_fn_c_try_run "$LINENO"; then :
25807
 
+  eval "$gl_fnmatch_cache_var=yes"
25808
 
+else
25809
 
+  eval "$gl_fnmatch_cache_var=no"
25810
 
+fi
25811
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25812
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
25813
 
+fi
25814
 
+
25815
 
+    
25816
 
+fi
25817
 
+eval ac_res=\$$gl_fnmatch_cache_var
25818
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
25819
 
+$as_echo "$ac_res" >&6; }
25820
 
+  eval "gl_fnmatch_result=\"\$$gl_fnmatch_cache_var\""
25821
 
+  if test "$gl_fnmatch_result" = yes; then
25822
 
+            rm -f "$gl_source_base/fnmatch.h"
25823
 
+  else
25824
 
+    FNMATCH_H=fnmatch.h
25825
 
+  fi
25826
 
+  
25827
 
+   if test -n "$FNMATCH_H"; then
25828
 
+  GL_GENERATE_FNMATCH_H_TRUE=
25829
 
+  GL_GENERATE_FNMATCH_H_FALSE='#'
25830
 
+else
25831
 
+  GL_GENERATE_FNMATCH_H_TRUE='#'
25832
 
+  GL_GENERATE_FNMATCH_H_FALSE=
25833
 
+fi
25834
 
+
25835
 
+
25836
 
+if test -n "$FNMATCH_H"; then
25837
 
+  
25838
 
+  
25839
 
+  
25840
 
+    
25841
 
+      
25842
 
+      
25843
 
+    
25844
 
+  
25845
 
+  gl_LIBOBJS="$gl_LIBOBJS fnmatch.$ac_objext"
25846
 
+
25847
 
+  
25848
 
+        
25849
 
+cat >>confdefs.h <<_ACEOF
25850
 
+@%:@define fnmatch ${gl_fnmatch_required_lowercase}_fnmatch
25851
 
+_ACEOF
25852
 
+
25853
 
+    
25854
 
+  ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include <ctype.h>
25855
 
+"
25856
 
+if test "x$ac_cv_have_decl_isblank" = xyes; then :
25857
 
+  ac_have_decl=1
25858
 
+else
25859
 
+  ac_have_decl=0
25860
 
+fi
25861
 
+
25862
 
+cat >>confdefs.h <<_ACEOF
25863
 
+@%:@define HAVE_DECL_ISBLANK $ac_have_decl
25864
 
+_ACEOF
25865
 
+
25866
 
+  
25867
 
+  
25868
 
+
25869
 
+fi
25870
 
+
25871
 
+  
25872
 
+
25873
 
+  
25874
 
+
25875
 
+if test -n "$FNMATCH_H"; then
25876
 
+  
25877
 
+  
25878
 
+  
25879
 
+    
25880
 
+      
25881
 
+      
25882
 
+    
25883
 
+  
25884
 
+  gl_LIBOBJS="$gl_LIBOBJS fnmatch.$ac_objext"
25885
 
+
25886
 
+  
25887
 
+        
25888
 
+cat >>confdefs.h <<_ACEOF
25889
 
+@%:@define fnmatch ${gl_fnmatch_required_lowercase}_fnmatch
25890
 
+_ACEOF
25891
 
+
25892
 
+    
25893
 
+  ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include <ctype.h>
25894
 
+"
25895
 
+if test "x$ac_cv_have_decl_isblank" = xyes; then :
25896
 
+  ac_have_decl=1
25897
 
+else
25898
 
+  ac_have_decl=0
25899
 
+fi
25900
 
+
25901
 
+cat >>confdefs.h <<_ACEOF
25902
 
+@%:@define HAVE_DECL_ISBLANK $ac_have_decl
25903
 
+_ACEOF
25904
 
+
25905
 
+  
25906
 
+  
25907
 
+
25908
 
+fi
25909
 
+
25910
 
+  
25911
 
+  
25912
 
+  case "$host_os" in
25913
 
+    mingw* | pw*)
25914
 
+            REPLACE_FOPEN=1
25915
 
+            gl_cv_func_fopen_slash="guessing no"
25916
 
+      ;;
25917
 
+    *)
25918
 
+                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fopen recognizes a trailing slash" >&5
25919
 
+$as_echo_n "checking whether fopen recognizes a trailing slash... " >&6; }
25920
 
+if ${gl_cv_func_fopen_slash+:} false; then :
25921
 
+  $as_echo_n "(cached) " >&6
25922
 
+else
25923
 
+  
25924
 
+          if test "$cross_compiling" = yes; then :
25925
 
+  
25926
 
+             case "$host_os" in
25927
 
+               aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*)
25928
 
+                 gl_cv_func_fopen_slash="guessing no" ;;
25929
 
+               *)
25930
 
+                 gl_cv_func_fopen_slash="guessing yes" ;;
25931
 
+             esac
25932
 
+            
25933
 
+else
25934
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25935
 
+/* end confdefs.h.  */
25936
 
+
25937
 
+#include <stddef.h>
25938
 
+#include <stdio.h>
25939
 
+int main ()
25940
 
+{
25941
 
+  return fopen ("conftest.sl/", "w") != NULL;
25942
 
+}
25943
 
+_ACEOF
25944
 
+if ac_fn_c_try_run "$LINENO"; then :
25945
 
+  gl_cv_func_fopen_slash=yes
25946
 
+else
25947
 
+  gl_cv_func_fopen_slash=no
25948
 
+fi
25949
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25950
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
25951
 
+fi
25952
 
+
25953
 
+          rm -f conftest.sl
25954
 
+        
25955
 
+fi
25956
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fopen_slash" >&5
25957
 
+$as_echo "$gl_cv_func_fopen_slash" >&6; }
25958
 
+      ;;
25959
 
+  esac
25960
 
+  case "$gl_cv_func_fopen_slash" in
25961
 
+    *no)
25962
 
+      
25963
 
+$as_echo "@%:@define FOPEN_TRAILING_SLASH_BUG 1" >>confdefs.h
25964
 
+
25965
 
+      REPLACE_FOPEN=1
25966
 
+      ;;
25967
 
+  esac
25968
 
+
25969
 
+if test $REPLACE_FOPEN = 1; then
25970
 
+  
25971
 
+  
25972
 
+  
25973
 
+    
25974
 
+      
25975
 
+      
25976
 
+    
25977
 
+  
25978
 
+  gl_LIBOBJS="$gl_LIBOBJS fopen.$ac_objext"
25979
 
+
25980
 
+  
25981
 
+  
25982
 
+
25983
 
+fi
25984
 
+
25985
 
+    
25986
 
+  
25987
 
+  
25988
 
+  
25989
 
+          GNULIB_FOPEN=1
25990
 
+    
25991
 
+
25992
 
+
25993
 
+    
25994
 
+  
25995
 
+$as_echo "@%:@define GNULIB_TEST_FOPEN 1" >>confdefs.h
25996
 
+
25997
 
+
25998
 
+
25999
 
+
26000
 
+  
26001
 
+cat >>confdefs.h <<_ACEOF
26002
 
+@%:@define GNULIB_FOPEN_SAFER 1
26003
 
+_ACEOF
26004
 
+
26005
 
+
26006
 
+
26007
 
+  
26008
 
+  
26009
 
+  fp_headers='
26010
 
+#     include <stdio.h>
26011
 
+#     if HAVE_STDIO_EXT_H
26012
 
+#      include <stdio_ext.h>
26013
 
+#     endif
26014
 
+'
26015
 
+  ac_fn_c_check_decl "$LINENO" "__fpending" "ac_cv_have_decl___fpending" "$fp_headers
26016
 
+"
26017
 
+if test "x$ac_cv_have_decl___fpending" = xyes; then :
26018
 
+  ac_have_decl=1
26019
 
+else
26020
 
+  ac_have_decl=0
26021
 
+fi
26022
 
+
26023
 
+cat >>confdefs.h <<_ACEOF
26024
 
+@%:@define HAVE_DECL___FPENDING $ac_have_decl
26025
 
+_ACEOF
26026
 
+
26027
 
+
26028
 
+if test $ac_cv_func___fpending = no; then
26029
 
+  
26030
 
+  
26031
 
+  
26032
 
+    
26033
 
+      
26034
 
+      
26035
 
+    
26036
 
+  
26037
 
+  gl_LIBOBJS="$gl_LIBOBJS fpending.$ac_objext"
26038
 
+
26039
 
+  
26040
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to determine the number of pending output bytes on a stream" >&5
26041
 
+$as_echo_n "checking how to determine the number of pending output bytes on a stream... " >&6; }
26042
 
+if ${ac_cv_sys_pending_output_n_bytes+:} false; then :
26043
 
+  $as_echo_n "(cached) " >&6
26044
 
+else
26045
 
+  
26046
 
+      for ac_expr in                                                    \
26047
 
+                                                                        \
26048
 
+          '# glibc2'                                                    \
26049
 
+          'fp->_IO_write_ptr - fp->_IO_write_base'                      \
26050
 
+                                                                        \
26051
 
+          '# traditional Unix'                                          \
26052
 
+          'fp->_ptr - fp->_base'                                        \
26053
 
+                                                                        \
26054
 
+          '# BSD'                                                       \
26055
 
+          'fp->_p - fp->_bf._base'                                      \
26056
 
+                                                                        \
26057
 
+          '# SCO, Unixware'                                             \
26058
 
+          '(fp->__ptr ? fp->__ptr - fp->__base : 0)'                    \
26059
 
+                                                                        \
26060
 
+          '# QNX'                                                       \
26061
 
+          '(fp->_Mode & 0x2000 /*_MWRITE*/ ? fp->_Next - fp->_Buf : 0)' \
26062
 
+                                                                        \
26063
 
+          '# old glibc?'                                                \
26064
 
+          'fp->__bufp - fp->__buffer'                                   \
26065
 
+                                                                        \
26066
 
+          '# old glibc iostream?'                                       \
26067
 
+          'fp->_pptr - fp->_pbase'                                      \
26068
 
+                                                                        \
26069
 
+          '# emx+gcc'                                                   \
26070
 
+          'fp->_ptr - fp->_buffer'                                      \
26071
 
+                                                                        \
26072
 
+          '# Minix'                                                     \
26073
 
+          'fp->_ptr - fp->_buf'                                         \
26074
 
+                                                                        \
26075
 
+          '# VMS'                                                       \
26076
 
+          '(*fp)->_ptr - (*fp)->_base'                                  \
26077
 
+                                                                        \
26078
 
+          '# e.g., DGUX R4.11; the info is not available'               \
26079
 
+          1                                                             \
26080
 
+          ; do
26081
 
+
26082
 
+        # Skip each embedded comment.
26083
 
+        case "$ac_expr" in '#'*) continue;; esac
26084
 
+
26085
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26086
 
+/* end confdefs.h.  */
26087
 
+#include <stdio.h>
26088
 
+int
26089
 
+main ()
26090
 
+{
26091
 
+FILE *fp = stdin; (void) ($ac_expr);
26092
 
+  ;
26093
 
+  return 0;
26094
 
+}
26095
 
+_ACEOF
26096
 
+if ac_fn_c_try_compile "$LINENO"; then :
26097
 
+  fp_done=yes
26098
 
+        
26099
 
+fi
26100
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26101
 
+        test "$fp_done" = yes && break
26102
 
+      done
26103
 
+
26104
 
+      ac_cv_sys_pending_output_n_bytes=$ac_expr
26105
 
+    
26106
 
+  
26107
 
+fi
26108
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_pending_output_n_bytes" >&5
26109
 
+$as_echo "$ac_cv_sys_pending_output_n_bytes" >&6; }
26110
 
+  
26111
 
+cat >>confdefs.h <<_ACEOF
26112
 
+@%:@define PENDING_OUTPUT_N_BYTES $ac_cv_sys_pending_output_n_bytes
26113
 
+_ACEOF
26114
 
+
26115
 
+
26116
 
+fi
26117
 
+
26118
 
+  
26119
 
+  
26120
 
+  
26121
 
+  ac_fn_c_check_decl "$LINENO" "fpurge" "ac_cv_have_decl_fpurge" "#include <stdio.h>
26122
 
+"
26123
 
+if test "x$ac_cv_have_decl_fpurge" = xyes; then :
26124
 
+  ac_have_decl=1
26125
 
+else
26126
 
+  ac_have_decl=0
26127
 
+fi
26128
 
+
26129
 
+cat >>confdefs.h <<_ACEOF
26130
 
+@%:@define HAVE_DECL_FPURGE $ac_have_decl
26131
 
+_ACEOF
26132
 
+
26133
 
+  if test "x$ac_cv_func_fpurge" = xyes; then
26134
 
+    HAVE_FPURGE=1
26135
 
+    # Detect BSD bug.  Only cygwin 1.7 is known to be immune.
26136
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpurge works" >&5
26137
 
+$as_echo_n "checking whether fpurge works... " >&6; }
26138
 
+if ${gl_cv_func_fpurge_works+:} false; then :
26139
 
+  $as_echo_n "(cached) " >&6
26140
 
+else
26141
 
+  if test "$cross_compiling" = yes; then :
26142
 
+  gl_cv_func_fpurge_works='guessing no'
26143
 
+else
26144
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26145
 
+/* end confdefs.h.  */
26146
 
+#include <stdio.h>
26147
 
+
26148
 
+int
26149
 
+main ()
26150
 
+{
26151
 
+FILE *f = fopen ("conftest.txt", "w+");
26152
 
+        if (!f) return 1;
26153
 
+        if (fputc ('a', f) != 'a') return 2;
26154
 
+        rewind (f);
26155
 
+        if (fgetc (f) != 'a') return 3;
26156
 
+        if (fgetc (f) != EOF) return 4;
26157
 
+        if (fpurge (f) != 0) return 5;
26158
 
+        if (putc ('b', f) != 'b') return 6;
26159
 
+        if (fclose (f) != 0) return 7;
26160
 
+        if ((f = fopen ("conftest.txt", "r")) == NULL) return 8;
26161
 
+        if (fgetc (f) != 'a') return 9;
26162
 
+        if (fgetc (f) != 'b') return 10;
26163
 
+        if (fgetc (f) != EOF) return 11;
26164
 
+        if (fclose (f) != 0) return 12;
26165
 
+        if (remove ("conftest.txt") != 0) return 13;
26166
 
+        return 0;
26167
 
+  ;
26168
 
+  return 0;
26169
 
+}
26170
 
+_ACEOF
26171
 
+if ac_fn_c_try_run "$LINENO"; then :
26172
 
+  gl_cv_func_fpurge_works=yes
26173
 
+else
26174
 
+  gl_cv_func_fpurge_works=no
26175
 
+fi
26176
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26177
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
26178
 
+fi
26179
 
+
26180
 
+fi
26181
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fpurge_works" >&5
26182
 
+$as_echo "$gl_cv_func_fpurge_works" >&6; }
26183
 
+    if test "x$gl_cv_func_fpurge_works" != xyes; then
26184
 
+      REPLACE_FPURGE=1
26185
 
+    fi
26186
 
+  else
26187
 
+    HAVE_FPURGE=0
26188
 
+  fi
26189
 
+  if test "x$ac_cv_have_decl_fpurge" = xno; then
26190
 
+    HAVE_DECL_FPURGE=0
26191
 
+  fi
26192
 
+
26193
 
+if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then
26194
 
+  
26195
 
+  
26196
 
+  
26197
 
+    
26198
 
+      
26199
 
+      
26200
 
+    
26201
 
+  
26202
 
+  gl_LIBOBJS="$gl_LIBOBJS fpurge.$ac_objext"
26203
 
+
26204
 
+fi
26205
 
+
26206
 
+    
26207
 
+  
26208
 
+  
26209
 
+  
26210
 
+          GNULIB_FPURGE=1
26211
 
+    
26212
 
+
26213
 
+
26214
 
+    
26215
 
+  
26216
 
+$as_echo "@%:@define GNULIB_TEST_FPURGE 1" >>confdefs.h
26217
 
+
26218
 
+
26219
 
+
26220
 
+
26221
 
+  
26222
 
+
26223
 
+
26224
 
+
26225
 
+  
26226
 
+  
26227
 
+  case "$host_os" in
26228
 
+    mingw* | pw*)
26229
 
+      REPLACE_FREOPEN=1
26230
 
+      ;;
26231
 
+  esac
26232
 
+
26233
 
+if test $REPLACE_FREOPEN = 1; then
26234
 
+  
26235
 
+  
26236
 
+  
26237
 
+    
26238
 
+      
26239
 
+      
26240
 
+    
26241
 
+  
26242
 
+  gl_LIBOBJS="$gl_LIBOBJS freopen.$ac_objext"
26243
 
+
26244
 
+  
26245
 
+  
26246
 
+
26247
 
+fi
26248
 
+
26249
 
+    
26250
 
+  
26251
 
+  
26252
 
+  
26253
 
+          GNULIB_FREOPEN=1
26254
 
+    
26255
 
+
26256
 
+
26257
 
+    
26258
 
+  
26259
 
+$as_echo "@%:@define GNULIB_TEST_FREOPEN 1" >>confdefs.h
26260
 
+
26261
 
+
26262
 
+
26263
 
+
26264
 
+  
26265
 
+cat >>confdefs.h <<_ACEOF
26266
 
+@%:@define GNULIB_FREOPEN_SAFER 1
26267
 
+_ACEOF
26268
 
+
26269
 
+
26270
 
+
26271
 
+  
26272
 
+  
26273
 
+  if test $gl_cv_func_frexp_no_libm = yes; then
26274
 
+    
26275
 
+  
26276
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5
26277
 
+$as_echo_n "checking whether frexp works... " >&6; }
26278
 
+if ${gl_cv_func_frexp_works+:} false; then :
26279
 
+  $as_echo_n "(cached) " >&6
26280
 
+else
26281
 
+  
26282
 
+      if test "$cross_compiling" = yes; then :
26283
 
+  case "$host_os" in
26284
 
+           netbsd* | irix* | mingw*) gl_cv_func_frexp_works="guessing no";;
26285
 
+           *)                        gl_cv_func_frexp_works="guessing yes";;
26286
 
+         esac
26287
 
+        
26288
 
+else
26289
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26290
 
+/* end confdefs.h.  */
26291
 
+
26292
 
+#include <float.h>
26293
 
+#include <math.h>
26294
 
+#include <string.h>
26295
 
+/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
26296
 
+   ICC 10.0 has a bug when optimizing the expression -zero.
26297
 
+   The expression -DBL_MIN * DBL_MIN does not work when cross-compiling
26298
 
+   to PowerPC on MacOS X 10.5.  */
26299
 
+#if defined __hpux || defined __sgi || defined __ICC
26300
 
+static double
26301
 
+compute_minus_zero (void)
26302
 
+{
26303
 
+  return -DBL_MIN * DBL_MIN;
26304
 
+}
26305
 
+# define minus_zero compute_minus_zero ()
26306
 
+#else
26307
 
+double minus_zero = -0.0;
26308
 
+#endif
26309
 
+int main()
26310
 
+{
26311
 
+  int result = 0;
26312
 
+  int i;
26313
 
+  volatile double x;
26314
 
+  double zero = 0.0;
26315
 
+  /* Test on denormalized numbers.  */
26316
 
+  for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5)
26317
 
+    ;
26318
 
+  if (x > 0.0)
26319
 
+    {
26320
 
+      int exp;
26321
 
+      double y = frexp (x, &exp);
26322
 
+      /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022.
26323
 
+         On NetBSD: y = 0.75. Correct: y = 0.5.  */
26324
 
+      if (y != 0.5)
26325
 
+        result |= 1;
26326
 
+    }
26327
 
+  /* Test on infinite numbers.  */
26328
 
+  x = 1.0 / 0.0;
26329
 
+  {
26330
 
+    int exp;
26331
 
+    double y = frexp (x, &exp);
26332
 
+    if (y != x)
26333
 
+      result |= 2;
26334
 
+  }
26335
 
+  /* Test on negative zero.  */
26336
 
+  x = minus_zero;
26337
 
+  {
26338
 
+    int exp;
26339
 
+    double y = frexp (x, &exp);
26340
 
+    if (memcmp (&y, &x, sizeof x))
26341
 
+      result |= 4;
26342
 
+  }
26343
 
+  return result;
26344
 
+}
26345
 
+_ACEOF
26346
 
+if ac_fn_c_try_run "$LINENO"; then :
26347
 
+  gl_cv_func_frexp_works=yes
26348
 
+else
26349
 
+  gl_cv_func_frexp_works=no
26350
 
+fi
26351
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26352
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
26353
 
+fi
26354
 
+
26355
 
+    
26356
 
+fi
26357
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_works" >&5
26358
 
+$as_echo "$gl_cv_func_frexp_works" >&6; }
26359
 
+
26360
 
+    case "$gl_cv_func_frexp_works" in
26361
 
+      *yes) gl_func_frexp_no_libm=yes ;;
26362
 
+      *)    gl_func_frexp_no_libm=no; REPLACE_FREXP=1 ;;
26363
 
+    esac
26364
 
+  else
26365
 
+    gl_func_frexp_no_libm=no
26366
 
+        REPLACE_FREXP=1
26367
 
+  fi
26368
 
+  if test $gl_func_frexp_no_libm = yes; then
26369
 
+    
26370
 
+$as_echo "@%:@define HAVE_FREXP_IN_LIBC 1" >>confdefs.h
26371
 
+
26372
 
+  fi
26373
 
+
26374
 
+if test $gl_func_frexp_no_libm != yes; then
26375
 
+  
26376
 
+  
26377
 
+  
26378
 
+    
26379
 
+      
26380
 
+      
26381
 
+    
26382
 
+  
26383
 
+  gl_LIBOBJS="$gl_LIBOBJS frexp.$ac_objext"
26384
 
+
26385
 
+fi
26386
 
+
26387
 
+    
26388
 
+  
26389
 
+  
26390
 
+  
26391
 
+          GNULIB_FREXP=1
26392
 
+    
26393
 
+
26394
 
+
26395
 
+    
26396
 
+  
26397
 
+$as_echo "@%:@define GNULIB_TEST_FREXP 1" >>confdefs.h
26398
 
+
26399
 
+
26400
 
+
26401
 
+
26402
 
+  
26403
 
+      ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include <math.h>
26404
 
+"
26405
 
+if test "x$ac_cv_have_decl_frexpl" = xyes; then :
26406
 
+  
26407
 
+else
26408
 
+  HAVE_DECL_FREXPL=0
26409
 
+fi
26410
 
+
26411
 
+  if test $HAVE_DECL_FREXPL = 1; then
26412
 
+    
26413
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5
26414
 
+$as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; }
26415
 
+if ${gl_cv_func_frexpl_no_libm+:} false; then :
26416
 
+  $as_echo_n "(cached) " >&6
26417
 
+else
26418
 
+  
26419
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26420
 
+/* end confdefs.h.  */
26421
 
+#include <math.h>
26422
 
+             long double x;
26423
 
+int
26424
 
+main ()
26425
 
+{
26426
 
+int e; return frexpl (x, &e) > 0;
26427
 
+  ;
26428
 
+  return 0;
26429
 
+}
26430
 
+_ACEOF
26431
 
+if ac_fn_c_try_link "$LINENO"; then :
26432
 
+  gl_cv_func_frexpl_no_libm=yes
26433
 
+else
26434
 
+  gl_cv_func_frexpl_no_libm=no
26435
 
+fi
26436
 
+rm -f core conftest.err conftest.$ac_objext \
26437
 
+    conftest$ac_exeext conftest.$ac_ext
26438
 
+    
26439
 
+fi
26440
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_no_libm" >&5
26441
 
+$as_echo "$gl_cv_func_frexpl_no_libm" >&6; }
26442
 
+
26443
 
+    if test $gl_cv_func_frexpl_no_libm = yes; then
26444
 
+      
26445
 
+  
26446
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5
26447
 
+$as_echo_n "checking whether frexpl works... " >&6; }
26448
 
+if ${gl_cv_func_frexpl_works+:} false; then :
26449
 
+  $as_echo_n "(cached) " >&6
26450
 
+else
26451
 
+  
26452
 
+      if test "$cross_compiling" = yes; then :
26453
 
+  
26454
 
+         case "$host_os" in
26455
 
+           aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*)
26456
 
+              gl_cv_func_frexpl_works="guessing no";;
26457
 
+           *) gl_cv_func_frexpl_works="guessing yes";;
26458
 
+         esac
26459
 
+        
26460
 
+else
26461
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26462
 
+/* end confdefs.h.  */
26463
 
+
26464
 
+#include <float.h>
26465
 
+#include <math.h>
26466
 
+/* Override the values of <float.h>, like done in float.in.h.  */
26467
 
+#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__)
26468
 
+# undef LDBL_MIN_EXP
26469
 
+# define LDBL_MIN_EXP    (-16381)
26470
 
+#endif
26471
 
+#if defined __i386__ && defined __FreeBSD__
26472
 
+# undef LDBL_MIN_EXP
26473
 
+# define LDBL_MIN_EXP    (-16381)
26474
 
+#endif
26475
 
+#if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__
26476
 
+# undef LDBL_MIN_EXP
26477
 
+# define LDBL_MIN_EXP DBL_MIN_EXP
26478
 
+#endif
26479
 
+#if defined __sgi && (LDBL_MANT_DIG >= 106)
26480
 
+# if defined __GNUC__
26481
 
+#  undef LDBL_MIN_EXP
26482
 
+#  define LDBL_MIN_EXP DBL_MIN_EXP
26483
 
+# endif
26484
 
+#endif
26485
 
+extern
26486
 
+#ifdef __cplusplus
26487
 
+"C"
26488
 
+#endif
26489
 
+long double frexpl (long double, int *);
26490
 
+int main()
26491
 
+{
26492
 
+  int result = 0;
26493
 
+  volatile long double x;
26494
 
+  /* Test on finite numbers that fails on AIX 5.1.  */
26495
 
+  x = 16.0L;
26496
 
+  {
26497
 
+    int exp = -9999;
26498
 
+    frexpl (x, &exp);
26499
 
+    if (exp != 5)
26500
 
+      result |= 1;
26501
 
+  }
26502
 
+  /* Test on finite numbers that fails on MacOS X 10.4, because its frexpl
26503
 
+     function returns an invalid (incorrectly normalized) value: it returns
26504
 
+               y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 }
26505
 
+     but the correct result is
26506
 
+          0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 }  */
26507
 
+  x = 1.01L;
26508
 
+  {
26509
 
+    int exp = -9999;
26510
 
+    long double y = frexpl (x, &exp);
26511
 
+    if (!(exp == 1 && y == 0.505L))
26512
 
+      result |= 2;
26513
 
+  }
26514
 
+  /* Test on large finite numbers.  This fails on BeOS at i = 16322, while
26515
 
+     LDBL_MAX_EXP = 16384.
26516
 
+     In the loop end test, we test x against Infinity, rather than comparing
26517
 
+     i with LDBL_MAX_EXP, because BeOS <float.h> has a wrong LDBL_MAX_EXP.  */
26518
 
+  {
26519
 
+    int i;
26520
 
+    for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L)
26521
 
+      {
26522
 
+        int exp = -9999;
26523
 
+        frexpl (x, &exp);
26524
 
+        if (exp != i)
26525
 
+          {
26526
 
+            result |= 4;
26527
 
+            break;
26528
 
+          }
26529
 
+      }
26530
 
+  }
26531
 
+  /* Test on denormalized numbers.  */
26532
 
+  {
26533
 
+    int i;
26534
 
+    for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L)
26535
 
+      ;
26536
 
+    if (x > 0.0L)
26537
 
+      {
26538
 
+        int exp;
26539
 
+        long double y = frexpl (x, &exp);
26540
 
+        /* On machines with IEEE854 arithmetic: x = 1.68105e-4932,
26541
 
+           exp = -16382, y = 0.5.  On MacOS X 10.5: exp = -16384, y = 0.5.  */
26542
 
+        if (exp != LDBL_MIN_EXP - 1)
26543
 
+          result |= 8;
26544
 
+      }
26545
 
+  }
26546
 
+  /* Test on infinite numbers.  */
26547
 
+  x = 1.0L / 0.0L;
26548
 
+  {
26549
 
+    int exp;
26550
 
+    long double y = frexpl (x, &exp);
26551
 
+    if (y != x)
26552
 
+      result |= 16;
26553
 
+  }
26554
 
+  return result;
26555
 
+}
26556
 
+_ACEOF
26557
 
+if ac_fn_c_try_run "$LINENO"; then :
26558
 
+  gl_cv_func_frexpl_works=yes
26559
 
+else
26560
 
+  gl_cv_func_frexpl_works=no
26561
 
+fi
26562
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26563
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
26564
 
+fi
26565
 
+
26566
 
+    
26567
 
+fi
26568
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_works" >&5
26569
 
+$as_echo "$gl_cv_func_frexpl_works" >&6; }
26570
 
+
26571
 
+      case "$gl_cv_func_frexpl_works" in
26572
 
+        *yes) gl_func_frexpl_no_libm=yes ;;
26573
 
+        *)    gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;;
26574
 
+      esac
26575
 
+    else
26576
 
+      gl_func_frexpl_no_libm=no
26577
 
+            REPLACE_FREXPL=1
26578
 
+    fi
26579
 
+    if test $gl_func_frexpl_no_libm = yes; then
26580
 
+      
26581
 
+$as_echo "@%:@define HAVE_FREXPL_IN_LIBC 1" >>confdefs.h
26582
 
+
26583
 
+    fi
26584
 
+  fi
26585
 
+
26586
 
+if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then
26587
 
+  
26588
 
+  
26589
 
+  
26590
 
+    
26591
 
+      
26592
 
+      
26593
 
+    
26594
 
+  
26595
 
+  gl_LIBOBJS="$gl_LIBOBJS frexpl.$ac_objext"
26596
 
+
26597
 
+fi
26598
 
+
26599
 
+    
26600
 
+  
26601
 
+  
26602
 
+  
26603
 
+          GNULIB_FREXPL=1
26604
 
+    
26605
 
+
26606
 
+
26607
 
+    
26608
 
+  
26609
 
+$as_echo "@%:@define GNULIB_TEST_FREXPL 1" >>confdefs.h
26610
 
+
26611
 
+
26612
 
+
26613
 
+
26614
 
+  
26615
 
+  
26616
 
+    if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then
26617
 
+    REPLACE_FSEEK=1
26618
 
+  fi
26619
 
+
26620
 
+if test $REPLACE_FSEEK = 1; then
26621
 
+  
26622
 
+  
26623
 
+  
26624
 
+    
26625
 
+      
26626
 
+      
26627
 
+    
26628
 
+  
26629
 
+  gl_LIBOBJS="$gl_LIBOBJS fseek.$ac_objext"
26630
 
+
26631
 
+fi
26632
 
+
26633
 
+    
26634
 
+  
26635
 
+  
26636
 
+  
26637
 
+          GNULIB_FSEEK=1
26638
 
+    
26639
 
+
26640
 
+
26641
 
+    
26642
 
+  
26643
 
+$as_echo "@%:@define GNULIB_TEST_FSEEK 1" >>confdefs.h
26644
 
+
26645
 
+
26646
 
+
26647
 
+
26648
 
+  
26649
 
+  
26650
 
+  
26651
 
+
26652
 
+    
26653
 
+
26654
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5
26655
 
+$as_echo_n "checking for fseeko... " >&6; }
26656
 
+if ${gl_cv_func_fseeko+:} false; then :
26657
 
+  $as_echo_n "(cached) " >&6
26658
 
+else
26659
 
+  
26660
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26661
 
+/* end confdefs.h.  */
26662
 
+#include <stdio.h>
26663
 
+
26664
 
+int
26665
 
+main ()
26666
 
+{
26667
 
+fseeko (stdin, 0, 0);
26668
 
+  ;
26669
 
+  return 0;
26670
 
+}
26671
 
+_ACEOF
26672
 
+if ac_fn_c_try_link "$LINENO"; then :
26673
 
+  gl_cv_func_fseeko=yes
26674
 
+else
26675
 
+  gl_cv_func_fseeko=no
26676
 
+fi
26677
 
+rm -f core conftest.err conftest.$ac_objext \
26678
 
+    conftest$ac_exeext conftest.$ac_ext
26679
 
+    
26680
 
+fi
26681
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fseeko" >&5
26682
 
+$as_echo "$gl_cv_func_fseeko" >&6; }
26683
 
+
26684
 
+  
26685
 
+  if test $ac_cv_have_decl_fseeko = no; then
26686
 
+    HAVE_DECL_FSEEKO=0
26687
 
+  fi
26688
 
+
26689
 
+  if test $gl_cv_func_fseeko = no; then
26690
 
+    HAVE_FSEEKO=0
26691
 
+  else
26692
 
+    if test $gl_cv_var_stdin_large_offset = no; then
26693
 
+      REPLACE_FSEEKO=1
26694
 
+    fi
26695
 
+    
26696
 
+      
26697
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5
26698
 
+$as_echo_n "checking whether fflush works on input streams... " >&6; }
26699
 
+if ${gl_cv_func_fflush_stdin+:} false; then :
26700
 
+  $as_echo_n "(cached) " >&6
26701
 
+else
26702
 
+  echo hello world > conftest.txt
26703
 
+     if test "$cross_compiling" = yes; then :
26704
 
+        gl_cv_func_fflush_stdin=no
26705
 
+else
26706
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26707
 
+/* end confdefs.h.  */
26708
 
+
26709
 
+#include <stdio.h>
26710
 
+#include <unistd.h>
26711
 
+       
26712
 
+int
26713
 
+main ()
26714
 
+{
26715
 
+FILE *f = fopen ("conftest.txt", "r");
26716
 
+         char buffer[10];
26717
 
+         int fd;
26718
 
+         int c;
26719
 
+         if (f == NULL)
26720
 
+           return 1;
26721
 
+         fd = fileno (f);
26722
 
+         if (fd < 0 || fread (buffer, 1, 5, f) != 5)
26723
 
+           return 2;
26724
 
+         /* For deterministic results, ensure f read a bigger buffer.  */
26725
 
+         if (lseek (fd, 0, SEEK_CUR) == 5)
26726
 
+           return 3;
26727
 
+         /* POSIX requires fflush-fseek to set file offset of fd.  This fails
26728
 
+            on BSD systems and on mingw.  */
26729
 
+         if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0)
26730
 
+           return 4;
26731
 
+         if (lseek (fd, 0, SEEK_CUR) != 5)
26732
 
+           return 5;
26733
 
+         /* Verify behaviour of fflush after ungetc. See
26734
 
+            <http://www.opengroup.org/austin/aardvark/latest/xshbug3.txt>  */
26735
 
+         /* Verify behaviour of fflush after a backup ungetc.  This fails on
26736
 
+            mingw.  */
26737
 
+         c = fgetc (f);
26738
 
+         ungetc (c, f);
26739
 
+         fflush (f);
26740
 
+         if (fgetc (f) != c)
26741
 
+           return 6;
26742
 
+         /* Verify behaviour of fflush after a non-backup ungetc.  This fails
26743
 
+            on glibc 2.8 and on BSD systems.  */
26744
 
+         c = fgetc (f);
26745
 
+         ungetc ('@', f);
26746
 
+         fflush (f);
26747
 
+         if (fgetc (f) != c)
26748
 
+           return 7;
26749
 
+         return 0;
26750
 
+       
26751
 
+  ;
26752
 
+  return 0;
26753
 
+}
26754
 
+_ACEOF
26755
 
+if ac_fn_c_try_run "$LINENO"; then :
26756
 
+  gl_cv_func_fflush_stdin=yes
26757
 
+else
26758
 
+  gl_cv_func_fflush_stdin=no
26759
 
+fi
26760
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26761
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
26762
 
+fi
26763
 
+
26764
 
+     rm conftest.txt
26765
 
+    
26766
 
+fi
26767
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5
26768
 
+$as_echo "$gl_cv_func_fflush_stdin" >&6; }
26769
 
+
26770
 
+      if test $gl_cv_func_fflush_stdin = no; then
26771
 
+        REPLACE_FSEEKO=1
26772
 
+      fi
26773
 
+    
26774
 
+  fi
26775
 
+
26776
 
+if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then
26777
 
+  
26778
 
+  
26779
 
+  
26780
 
+    
26781
 
+      
26782
 
+      
26783
 
+    
26784
 
+  
26785
 
+  gl_LIBOBJS="$gl_LIBOBJS fseeko.$ac_objext"
26786
 
+
26787
 
+fi
26788
 
+
26789
 
+    
26790
 
+  
26791
 
+  
26792
 
+  
26793
 
+          GNULIB_FSEEKO=1
26794
 
+    
26795
 
+
26796
 
+
26797
 
+    
26798
 
+  
26799
 
+$as_echo "@%:@define GNULIB_TEST_FSEEKO 1" >>confdefs.h
26800
 
+
26801
 
+
26802
 
+
26803
 
+
26804
 
+  
26805
 
+  
26806
 
+  for ac_header in sys/mount.h
26807
 
+do :
26808
 
+  ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default
26809
 
+     #if HAVE_SYS_PARAM_H
26810
 
+       #include <sys/param.h>
26811
 
+      #endif
26812
 
+"
26813
 
+if test "x$ac_cv_header_sys_mount_h" = xyes; then :
26814
 
+  cat >>confdefs.h <<_ACEOF
26815
 
+@%:@define HAVE_SYS_MOUNT_H 1
26816
 
+_ACEOF
26817
 
26818
 
+fi
26819
 
+
26820
 
+done
26821
 
+
26822
 
+  
26823
 
+
26824
 
+
26825
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get file system space usage" >&5
26826
 
+$as_echo "$as_me: checking how to get file system space usage" >&6;}
26827
 
+ac_fsusage_space=no
26828
 
+
26829
 
+# Perform only the link test since it seems there are no variants of the
26830
 
+# statvfs function.  This check is more than just AC_CHECK_FUNCS([statvfs])
26831
 
+# because that got a false positive on SCO OSR5.  Adding the declaration
26832
 
+# of a `struct statvfs' causes this test to fail (as it should) on such
26833
 
+# systems.  That system is reported to work fine with STAT_STATFS4 which
26834
 
+# is what it gets when this test fails.
26835
 
+if test $ac_fsusage_space = no; then
26836
 
+  # glibc/{Hurd,kFreeBSD}, FreeBSD >= 5.0, NetBSD >= 3.0,
26837
 
+  # OpenBSD >= 4.4, AIX, HP-UX, IRIX, Solaris, Cygwin, Interix, BeOS.
26838
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs function (SVR4)" >&5
26839
 
+$as_echo_n "checking for statvfs function (SVR4)... " >&6; }
26840
 
+if ${fu_cv_sys_stat_statvfs+:} false; then :
26841
 
+  $as_echo_n "(cached) " >&6
26842
 
+else
26843
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26844
 
+/* end confdefs.h.  */
26845
 
+#include <sys/types.h>
26846
 
+#if (defined __GLIBC__ || defined __UCLIBC__) && defined __linux__
26847
 
+Do not use statvfs on systems with GNU libc on Linux, because that function
26848
 
+stats all preceding entries in /proc/mounts, and that makes df hang if even
26849
 
+one of the corresponding file systems is hard-mounted, but not available.
26850
 
+statvfs in GNU libc on Hurd, BeOS, Haiku operates differently: it only makes
26851
 
+a system call.
26852
 
+#endif
26853
 
+
26854
 
+#ifdef __osf__
26855
 
+"Do not use Tru64's statvfs implementation"
26856
 
+#endif
26857
 
+
26858
 
+#include <sys/statvfs.h>
26859
 
+
26860
 
+struct statvfs fsd;
26861
 
+
26862
 
+#if defined __APPLE__ && defined __MACH__
26863
 
+#include <limits.h>
26864
 
+/* On MacOS X >= 10.5, f_blocks in 'struct statvfs' is a 32-bit quantity;
26865
 
+   that commonly limits file systems to 4 TiB.  Whereas f_blocks in
26866
 
+   'struct statfs' is a 64-bit type, thanks to the large-file support
26867
 
+   that was enabled above.  In this case, don't use statvfs(); use statfs()
26868
 
+   instead.  */
26869
 
+int check_f_blocks_size[sizeof fsd.f_blocks * CHAR_BIT <= 32 ? -1 : 1];
26870
 
+#endif
26871
 
+
26872
 
+int
26873
 
+main ()
26874
 
+{
26875
 
+statvfs (0, &fsd);
26876
 
+  ;
26877
 
+  return 0;
26878
 
+}
26879
 
+_ACEOF
26880
 
+if ac_fn_c_try_link "$LINENO"; then :
26881
 
+  fu_cv_sys_stat_statvfs=yes
26882
 
+else
26883
 
+  fu_cv_sys_stat_statvfs=no
26884
 
+fi
26885
 
+rm -f core conftest.err conftest.$ac_objext \
26886
 
+    conftest$ac_exeext conftest.$ac_ext
26887
 
+fi
26888
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statvfs" >&5
26889
 
+$as_echo "$fu_cv_sys_stat_statvfs" >&6; }
26890
 
+  if test $fu_cv_sys_stat_statvfs = yes; then
26891
 
+    ac_fsusage_space=yes
26892
 
+    # AIX >= 5.2 has statvfs64 that has a wider f_blocks field than statvfs.
26893
 
+    # glibc, HP-UX, IRIX, Solaris have statvfs64 as well, but on these systems
26894
 
+    # statvfs with large-file support is already equivalent to statvfs64.
26895
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use statvfs64" >&5
26896
 
+$as_echo_n "checking whether to use statvfs64... " >&6; }
26897
 
+if ${fu_cv_sys_stat_statvfs64+:} false; then :
26898
 
+  $as_echo_n "(cached) " >&6
26899
 
+else
26900
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26901
 
+/* end confdefs.h.  */
26902
 
+#include <sys/types.h>
26903
 
+              #include <sys/statvfs.h>
26904
 
+              struct statvfs64 fsd;
26905
 
+              int check_f_blocks_larger_in_statvfs64
26906
 
+                [sizeof (((struct statvfs64 *) 0)->f_blocks)
26907
 
+                 > sizeof (((struct statvfs *) 0)->f_blocks)
26908
 
+                 ? 1 : -1];
26909
 
+            
26910
 
+int
26911
 
+main ()
26912
 
+{
26913
 
+statvfs64 (0, &fsd);
26914
 
+  ;
26915
 
+  return 0;
26916
 
+}
26917
 
+_ACEOF
26918
 
+if ac_fn_c_try_link "$LINENO"; then :
26919
 
+  fu_cv_sys_stat_statvfs64=yes
26920
 
+else
26921
 
+  fu_cv_sys_stat_statvfs64=no
26922
 
+fi
26923
 
+rm -f core conftest.err conftest.$ac_objext \
26924
 
+    conftest$ac_exeext conftest.$ac_ext
26925
 
+      
26926
 
+fi
26927
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statvfs64" >&5
26928
 
+$as_echo "$fu_cv_sys_stat_statvfs64" >&6; }
26929
 
+    if test $fu_cv_sys_stat_statvfs64 = yes; then
26930
 
+      
26931
 
+$as_echo "@%:@define STAT_STATVFS64 1" >>confdefs.h
26932
 
+
26933
 
+    else
26934
 
+      
26935
 
+$as_echo "@%:@define STAT_STATVFS 1" >>confdefs.h
26936
 
+
26937
 
+    fi
26938
 
+  fi
26939
 
+fi
26940
 
+
26941
 
+if test $ac_fsusage_space = no; then
26942
 
+  # DEC Alpha running OSF/1
26943
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 3-argument statfs function (DEC OSF/1)" >&5
26944
 
+$as_echo_n "checking for 3-argument statfs function (DEC OSF/1)... " >&6; }
26945
 
+  if ${fu_cv_sys_stat_statfs3_osf1+:} false; then :
26946
 
+  $as_echo_n "(cached) " >&6
26947
 
+else
26948
 
+  if test "$cross_compiling" = yes; then :
26949
 
+  fu_cv_sys_stat_statfs3_osf1=no
26950
 
+else
26951
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26952
 
+/* end confdefs.h.  */
26953
 
+
26954
 
+#include <sys/param.h>
26955
 
+#include <sys/types.h>
26956
 
+#include <sys/mount.h>
26957
 
+  int
26958
 
+  main ()
26959
 
+  {
26960
 
+    struct statfs fsd;
26961
 
+    fsd.f_fsize = 0;
26962
 
+    return statfs (".", &fsd, sizeof (struct statfs)) != 0;
26963
 
+  }
26964
 
+_ACEOF
26965
 
+if ac_fn_c_try_run "$LINENO"; then :
26966
 
+  fu_cv_sys_stat_statfs3_osf1=yes
26967
 
+else
26968
 
+  fu_cv_sys_stat_statfs3_osf1=no
26969
 
+fi
26970
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26971
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
26972
 
+fi
26973
 
+
26974
 
+fi
26975
 
+
26976
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs3_osf1" >&5
26977
 
+$as_echo "$fu_cv_sys_stat_statfs3_osf1" >&6; }
26978
 
+  if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
26979
 
+    ac_fsusage_space=yes
26980
 
+    
26981
 
+$as_echo "@%:@define STAT_STATFS3_OSF1 1" >>confdefs.h
26982
 
+
26983
 
+  fi
26984
 
+fi
26985
 
+
26986
 
+if test $ac_fsusage_space = no; then
26987
 
+  # glibc/Linux, MacOS X, FreeBSD < 5.0, NetBSD < 3.0, OpenBSD < 4.4.
26988
 
+  # (glibc/{Hurd,kFreeBSD}, FreeBSD >= 5.0, NetBSD >= 3.0,
26989
 
+  # OpenBSD >= 4.4, AIX, HP-UX, OSF/1, Cygwin already handled above.)
26990
 
+  # (On IRIX you need to include <sys/statfs.h>, not only <sys/mount.h> and
26991
 
+  # <sys/vfs.h>.)
26992
 
+  # (On Solaris, statfs has 4 arguments.)
26993
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument statfs with statfs.f_bsize member (AIX, 4.3BSD)" >&5
26994
 
+$as_echo_n "checking for two-argument statfs with statfs.f_bsize member (AIX, 4.3BSD)... " >&6; }
26995
 
+  if ${fu_cv_sys_stat_statfs2_bsize+:} false; then :
26996
 
+  $as_echo_n "(cached) " >&6
26997
 
+else
26998
 
+  if test "$cross_compiling" = yes; then :
26999
 
+  fu_cv_sys_stat_statfs2_bsize=no
27000
 
+else
27001
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27002
 
+/* end confdefs.h.  */
27003
 
+
27004
 
+#ifdef HAVE_SYS_PARAM_H
27005
 
+#include <sys/param.h>
27006
 
+#endif
27007
 
+#ifdef HAVE_SYS_MOUNT_H
27008
 
+#include <sys/mount.h>
27009
 
+#endif
27010
 
+#ifdef HAVE_SYS_VFS_H
27011
 
+#include <sys/vfs.h>
27012
 
+#endif
27013
 
+  int
27014
 
+  main ()
27015
 
+  {
27016
 
+  struct statfs fsd;
27017
 
+  fsd.f_bsize = 0;
27018
 
+  return statfs (".", &fsd) != 0;
27019
 
+  }
27020
 
+_ACEOF
27021
 
+if ac_fn_c_try_run "$LINENO"; then :
27022
 
+  fu_cv_sys_stat_statfs2_bsize=yes
27023
 
+else
27024
 
+  fu_cv_sys_stat_statfs2_bsize=no
27025
 
+fi
27026
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27027
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
27028
 
+fi
27029
 
+
27030
 
+fi
27031
 
+
27032
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs2_bsize" >&5
27033
 
+$as_echo "$fu_cv_sys_stat_statfs2_bsize" >&6; }
27034
 
+  if test $fu_cv_sys_stat_statfs2_bsize = yes; then
27035
 
+    ac_fsusage_space=yes
27036
 
+    
27037
 
+$as_echo "@%:@define STAT_STATFS2_BSIZE 1" >>confdefs.h
27038
 
+
27039
 
+  fi
27040
 
+fi
27041
 
+
27042
 
+if test $ac_fsusage_space = no; then
27043
 
+  # SVR3
27044
 
+  # (Solaris already handled above.)
27045
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for four-argument statfs (AIX-3.2.5, SVR3)" >&5
27046
 
+$as_echo_n "checking for four-argument statfs (AIX-3.2.5, SVR3)... " >&6; }
27047
 
+  if ${fu_cv_sys_stat_statfs4+:} false; then :
27048
 
+  $as_echo_n "(cached) " >&6
27049
 
+else
27050
 
+  if test "$cross_compiling" = yes; then :
27051
 
+  fu_cv_sys_stat_statfs4=no
27052
 
+else
27053
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27054
 
+/* end confdefs.h.  */
27055
 
+
27056
 
+#include <sys/types.h>
27057
 
+#include <sys/statfs.h>
27058
 
+  int
27059
 
+  main ()
27060
 
+  {
27061
 
+  struct statfs fsd;
27062
 
+  return statfs (".", &fsd, sizeof fsd, 0) != 0;
27063
 
+  }
27064
 
+_ACEOF
27065
 
+if ac_fn_c_try_run "$LINENO"; then :
27066
 
+  fu_cv_sys_stat_statfs4=yes
27067
 
+else
27068
 
+  fu_cv_sys_stat_statfs4=no
27069
 
+fi
27070
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27071
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
27072
 
+fi
27073
 
+
27074
 
+fi
27075
 
+
27076
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs4" >&5
27077
 
+$as_echo "$fu_cv_sys_stat_statfs4" >&6; }
27078
 
+  if test $fu_cv_sys_stat_statfs4 = yes; then
27079
 
+    ac_fsusage_space=yes
27080
 
+    
27081
 
+$as_echo "@%:@define STAT_STATFS4 1" >>confdefs.h
27082
 
+
27083
 
+  fi
27084
 
+fi
27085
 
+
27086
 
+if test $ac_fsusage_space = no; then
27087
 
+  # 4.4BSD and older NetBSD
27088
 
+  # (OSF/1 already handled above.)
27089
 
+  # (On AIX, you need to include <sys/statfs.h>, not only <sys/mount.h>.)
27090
 
+  # (On Solaris, statfs has 4 arguments and 'struct statfs' is not declared in
27091
 
+  # <sys/mount.h>.)
27092
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument statfs with statfs.f_fsize member (4.4BSD and NetBSD)" >&5
27093
 
+$as_echo_n "checking for two-argument statfs with statfs.f_fsize member (4.4BSD and NetBSD)... " >&6; }
27094
 
+  if ${fu_cv_sys_stat_statfs2_fsize+:} false; then :
27095
 
+  $as_echo_n "(cached) " >&6
27096
 
+else
27097
 
+  if test "$cross_compiling" = yes; then :
27098
 
+  fu_cv_sys_stat_statfs2_fsize=no
27099
 
+else
27100
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27101
 
+/* end confdefs.h.  */
27102
 
+
27103
 
+#include <sys/types.h>
27104
 
+#ifdef HAVE_SYS_PARAM_H
27105
 
+#include <sys/param.h>
27106
 
+#endif
27107
 
+#ifdef HAVE_SYS_MOUNT_H
27108
 
+#include <sys/mount.h>
27109
 
+#endif
27110
 
+  int
27111
 
+  main ()
27112
 
+  {
27113
 
+  struct statfs fsd;
27114
 
+  fsd.f_fsize = 0;
27115
 
+  return statfs (".", &fsd) != 0;
27116
 
+  }
27117
 
+_ACEOF
27118
 
+if ac_fn_c_try_run "$LINENO"; then :
27119
 
+  fu_cv_sys_stat_statfs2_fsize=yes
27120
 
+else
27121
 
+  fu_cv_sys_stat_statfs2_fsize=no
27122
 
+fi
27123
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27124
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
27125
 
+fi
27126
 
+
27127
 
+fi
27128
 
+
27129
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs2_fsize" >&5
27130
 
+$as_echo "$fu_cv_sys_stat_statfs2_fsize" >&6; }
27131
 
+  if test $fu_cv_sys_stat_statfs2_fsize = yes; then
27132
 
+    ac_fsusage_space=yes
27133
 
+    
27134
 
+$as_echo "@%:@define STAT_STATFS2_FSIZE 1" >>confdefs.h
27135
 
+
27136
 
+  fi
27137
 
+fi
27138
 
+
27139
 
+if test $ac_fsusage_space = no; then
27140
 
+  # Ultrix
27141
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument statfs with struct fs_data (Ultrix)" >&5
27142
 
+$as_echo_n "checking for two-argument statfs with struct fs_data (Ultrix)... " >&6; }
27143
 
+  if ${fu_cv_sys_stat_fs_data+:} false; then :
27144
 
+  $as_echo_n "(cached) " >&6
27145
 
+else
27146
 
+  if test "$cross_compiling" = yes; then :
27147
 
+  fu_cv_sys_stat_fs_data=no
27148
 
+else
27149
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27150
 
+/* end confdefs.h.  */
27151
 
+
27152
 
+#include <sys/types.h>
27153
 
+#ifdef HAVE_SYS_PARAM_H
27154
 
+#include <sys/param.h>
27155
 
+#endif
27156
 
+#ifdef HAVE_SYS_MOUNT_H
27157
 
+#include <sys/mount.h>
27158
 
+#endif
27159
 
+#ifdef HAVE_SYS_FS_TYPES_H
27160
 
+#include <sys/fs_types.h>
27161
 
+#endif
27162
 
+  int
27163
 
+  main ()
27164
 
+  {
27165
 
+  struct fs_data fsd;
27166
 
+  /* Ultrix's statfs returns 1 for success,
27167
 
+     0 for not mounted, -1 for failure.  */
27168
 
+  return statfs (".", &fsd) != 1;
27169
 
+  }
27170
 
+_ACEOF
27171
 
+if ac_fn_c_try_run "$LINENO"; then :
27172
 
+  fu_cv_sys_stat_fs_data=yes
27173
 
+else
27174
 
+  fu_cv_sys_stat_fs_data=no
27175
 
+fi
27176
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27177
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
27178
 
+fi
27179
 
+
27180
 
+fi
27181
 
+
27182
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_fs_data" >&5
27183
 
+$as_echo "$fu_cv_sys_stat_fs_data" >&6; }
27184
 
+  if test $fu_cv_sys_stat_fs_data = yes; then
27185
 
+    ac_fsusage_space=yes
27186
 
+    
27187
 
+$as_echo "@%:@define STAT_STATFS2_FS_DATA 1" >>confdefs.h
27188
 
+
27189
 
+  fi
27190
 
+fi
27191
 
+
27192
 
+if test $ac_fsusage_space = no; then
27193
 
+  # SVR2
27194
 
+  # (AIX, HP-UX, OSF/1 already handled above.)
27195
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27196
 
+/* end confdefs.h.  */
27197
 
+#include <sys/filsys.h>
27198
 
+        
27199
 
+_ACEOF
27200
 
+if ac_fn_c_try_cpp "$LINENO"; then :
27201
 
+  
27202
 
+$as_echo "@%:@define STAT_READ_FILSYS 1" >>confdefs.h
27203
 
+
27204
 
+     ac_fsusage_space=yes
27205
 
+fi
27206
 
+rm -f conftest.err conftest.i conftest.$ac_ext
27207
 
+fi
27208
 
+
27209
 
+if test $ac_fsusage_space = yes; then :
27210
 
+  gl_cv_fs_space=yes
27211
 
+else
27212
 
+  gl_cv_fs_space=no
27213
 
+fi
27214
 
+
27215
 
+
27216
 
+
27217
 
+if test $gl_cv_fs_space = yes; then
27218
 
+  
27219
 
+  
27220
 
+  
27221
 
+    
27222
 
+      
27223
 
+      
27224
 
+    
27225
 
+  
27226
 
+  gl_LIBOBJS="$gl_LIBOBJS fsusage.$ac_objext"
27227
 
+
27228
 
+  
27229
 
+  for ac_header in dustat.h sys/fs/s5param.h sys/filsys.h sys/statfs.h
27230
 
+do :
27231
 
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27232
 
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
27233
 
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
27234
 
+  cat >>confdefs.h <<_ACEOF
27235
 
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27236
 
+_ACEOF
27237
 
27238
 
+fi
27239
 
+
27240
 
+done
27241
 
+
27242
 
+  
27243
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs that truncates block counts" >&5
27244
 
+$as_echo_n "checking for statfs that truncates block counts... " >&6; }
27245
 
+  if ${fu_cv_sys_truncating_statfs+:} false; then :
27246
 
+  $as_echo_n "(cached) " >&6
27247
 
+else
27248
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27249
 
+/* end confdefs.h.  */
27250
 
+
27251
 
+#if !defined(sun) && !defined(__sun)
27252
 
+choke -- this is a workaround for a Sun-specific problem
27253
 
+#endif
27254
 
+#include <sys/types.h>
27255
 
+#include <sys/vfs.h>
27256
 
+int
27257
 
+main ()
27258
 
+{
27259
 
+struct statfs t; long c = *(t.f_spare);
27260
 
+        if (c) return 0;
27261
 
+  ;
27262
 
+  return 0;
27263
 
+}
27264
 
+_ACEOF
27265
 
+if ac_fn_c_try_compile "$LINENO"; then :
27266
 
+  fu_cv_sys_truncating_statfs=yes
27267
 
+else
27268
 
+  fu_cv_sys_truncating_statfs=no
27269
 
+fi
27270
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27271
 
+fi
27272
 
+
27273
 
+  if test $fu_cv_sys_truncating_statfs = yes; then
27274
 
+    
27275
 
+$as_echo "@%:@define STATFS_TRUNCATES_BLOCK_COUNTS 1" >>confdefs.h
27276
 
+
27277
 
+  fi
27278
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_truncating_statfs" >&5
27279
 
+$as_echo "$fu_cv_sys_truncating_statfs" >&6; }
27280
 
+
27281
 
+
27282
 
+fi
27283
 
+
27284
 
+  
27285
 
+  
27286
 
+  if test $ac_cv_func_fsync = no; then
27287
 
+    HAVE_FSYNC=0
27288
 
+  fi
27289
 
+
27290
 
+if test $HAVE_FSYNC = 0; then
27291
 
+  
27292
 
+  
27293
 
+  
27294
 
+    
27295
 
+      
27296
 
+      
27297
 
+    
27298
 
+  
27299
 
+  gl_LIBOBJS="$gl_LIBOBJS fsync.$ac_objext"
27300
 
+
27301
 
+  :
27302
 
+fi
27303
 
+
27304
 
+    
27305
 
+  
27306
 
+  
27307
 
+  
27308
 
+          GNULIB_FSYNC=1
27309
 
+    
27310
 
+
27311
 
+
27312
 
+    
27313
 
+  
27314
 
+$as_echo "@%:@define GNULIB_TEST_FSYNC 1" >>confdefs.h
27315
 
+
27316
 
+
27317
 
+
27318
 
+
27319
 
+  
27320
 
+  
27321
 
+    if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
27322
 
+    REPLACE_FTELL=1
27323
 
+  fi
27324
 
+
27325
 
+if test $REPLACE_FTELL = 1; then
27326
 
+  
27327
 
+  
27328
 
+  
27329
 
+    
27330
 
+      
27331
 
+      
27332
 
+    
27333
 
+  
27334
 
+  gl_LIBOBJS="$gl_LIBOBJS ftell.$ac_objext"
27335
 
+
27336
 
+fi
27337
 
+
27338
 
+    
27339
 
+  
27340
 
+  
27341
 
+  
27342
 
+          GNULIB_FTELL=1
27343
 
+    
27344
 
+
27345
 
+
27346
 
+    
27347
 
+  
27348
 
+$as_echo "@%:@define GNULIB_TEST_FTELL 1" >>confdefs.h
27349
 
+
27350
 
+
27351
 
+
27352
 
+
27353
 
+  
27354
 
+  
27355
 
+  
27356
 
+
27357
 
+    
27358
 
+
27359
 
+  
27360
 
+  if test $ac_cv_have_decl_ftello = no; then
27361
 
+    HAVE_DECL_FTELLO=0
27362
 
+  fi
27363
 
+
27364
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftello" >&5
27365
 
+$as_echo_n "checking for ftello... " >&6; }
27366
 
+if ${gl_cv_func_ftello+:} false; then :
27367
 
+  $as_echo_n "(cached) " >&6
27368
 
+else
27369
 
+  
27370
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27371
 
+/* end confdefs.h.  */
27372
 
+#include <stdio.h>
27373
 
+int
27374
 
+main ()
27375
 
+{
27376
 
+ftello (stdin);
27377
 
+  ;
27378
 
+  return 0;
27379
 
+}
27380
 
+_ACEOF
27381
 
+if ac_fn_c_try_link "$LINENO"; then :
27382
 
+  gl_cv_func_ftello=yes
27383
 
+else
27384
 
+  gl_cv_func_ftello=no
27385
 
+fi
27386
 
+rm -f core conftest.err conftest.$ac_objext \
27387
 
+    conftest$ac_exeext conftest.$ac_ext
27388
 
+    
27389
 
+fi
27390
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello" >&5
27391
 
+$as_echo "$gl_cv_func_ftello" >&6; }
27392
 
+  if test $gl_cv_func_ftello = no; then
27393
 
+    HAVE_FTELLO=0
27394
 
+  else
27395
 
+    if test $gl_cv_var_stdin_large_offset = no; then
27396
 
+      REPLACE_FTELLO=1
27397
 
+    else
27398
 
+                                    
27399
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ftello works" >&5
27400
 
+$as_echo_n "checking whether ftello works... " >&6; }
27401
 
+if ${gl_cv_func_ftello_works+:} false; then :
27402
 
+  $as_echo_n "(cached) " >&6
27403
 
+else
27404
 
+  
27405
 
+                              case "$host_os" in
27406
 
+                      # Guess no on Solaris.
27407
 
+            solaris*) gl_cv_func_ftello_works="guessing no" ;;
27408
 
+                      # Guess yes otherwise.
27409
 
+            *)        gl_cv_func_ftello_works="guessing yes" ;;
27410
 
+          esac
27411
 
+          if test "$cross_compiling" = yes; then :
27412
 
+  :
27413
 
+else
27414
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27415
 
+/* end confdefs.h.  */
27416
 
+
27417
 
+#include <stdio.h>
27418
 
+#include <stdlib.h>
27419
 
+#include <string.h>
27420
 
+#define TESTFILE "conftest.tmp"
27421
 
+int
27422
 
+main (void)
27423
 
+{
27424
 
+  FILE *fp;
27425
 
+
27426
 
+  /* Create a file with some contents.  */
27427
 
+  fp = fopen (TESTFILE, "w");
27428
 
+  if (fp == NULL)
27429
 
+    return 70;
27430
 
+  if (fwrite ("foogarsh", 1, 8, fp) < 8)
27431
 
+    return 71;
27432
 
+  if (fclose (fp))
27433
 
+    return 72;
27434
 
+
27435
 
+  /* The file's contents is now "foogarsh".  */
27436
 
+
27437
 
+  /* Try writing after reading to EOF.  */
27438
 
+  fp = fopen (TESTFILE, "r+");
27439
 
+  if (fp == NULL)
27440
 
+    return 73;
27441
 
+  if (fseek (fp, -1, SEEK_END))
27442
 
+    return 74;
27443
 
+  if (!(getc (fp) == 'h'))
27444
 
+    return 1;
27445
 
+  if (!(getc (fp) == EOF))
27446
 
+    return 2;
27447
 
+  if (!(ftell (fp) == 8))
27448
 
+    return 3;
27449
 
+  if (!(ftell (fp) == 8))
27450
 
+    return 4;
27451
 
+  if (!(putc ('!', fp) == '!'))
27452
 
+    return 5;
27453
 
+  if (!(ftell (fp) == 9))
27454
 
+    return 6;
27455
 
+  if (!(fclose (fp) == 0))
27456
 
+    return 7;
27457
 
+  fp = fopen (TESTFILE, "r");
27458
 
+  if (fp == NULL)
27459
 
+    return 75;
27460
 
+  {
27461
 
+    char buf[10];
27462
 
+    if (!(fread (buf, 1, 10, fp) == 9))
27463
 
+      return 10;
27464
 
+    if (!(memcmp (buf, "foogarsh!", 9) == 0))
27465
 
+      return 11;
27466
 
+  }
27467
 
+  if (!(fclose (fp) == 0))
27468
 
+    return 12;
27469
 
+
27470
 
+  /* The file's contents is now "foogarsh!".  */
27471
 
+
27472
 
+  return 0;
27473
 
+}
27474
 
+_ACEOF
27475
 
+if ac_fn_c_try_run "$LINENO"; then :
27476
 
+  gl_cv_func_ftello_works=yes
27477
 
+else
27478
 
+  gl_cv_func_ftello_works=no
27479
 
+fi
27480
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27481
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
27482
 
+fi
27483
 
+
27484
 
+        
27485
 
+fi
27486
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello_works" >&5
27487
 
+$as_echo "$gl_cv_func_ftello_works" >&6; }
27488
 
+      case "$gl_cv_func_ftello_works" in
27489
 
+        *yes) ;;
27490
 
+        *)
27491
 
+          REPLACE_FTELLO=1
27492
 
+          
27493
 
+$as_echo "@%:@define FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE 1" >>confdefs.h
27494
 
+
27495
 
+          ;;
27496
 
+      esac
27497
 
+    fi
27498
 
+  fi
27499
 
+
27500
 
+if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
27501
 
+  
27502
 
+  
27503
 
+  
27504
 
+    
27505
 
+      
27506
 
+      
27507
 
+    
27508
 
+  
27509
 
+  gl_LIBOBJS="$gl_LIBOBJS ftello.$ac_objext"
27510
 
+
27511
 
+fi
27512
 
+
27513
 
+    
27514
 
+  
27515
 
+  
27516
 
+  
27517
 
+          GNULIB_FTELLO=1
27518
 
+    
27519
 
+
27520
 
+
27521
 
+    
27522
 
+  
27523
 
+$as_echo "@%:@define GNULIB_TEST_FTELLO 1" >>confdefs.h
27524
 
+
27525
 
+
27526
 
+
27527
 
+
27528
 
+
27529
 
+
27530
 
+  
27531
 
+    
27532
 
+  
27533
 
+  
27534
 
+  GNULIB_OPENAT=1
27535
 
+
27536
 
+  
27537
 
+  GNULIB_FCHMODAT=1
27538
 
+  GNULIB_FSTATAT=1
27539
 
+  GNULIB_MKDIRAT=1
27540
 
+
27541
 
+  
27542
 
+  GNULIB_FCHOWNAT=1
27543
 
+  GNULIB_UNLINKAT=1
27544
 
+
27545
 
+  
27546
 
+  
27547
 
+  
27548
 
+  
27549
 
+  case $ac_cv_func_openat+$gl_cv_func_lstat_dereferences_slashed_symlink in
27550
 
+  yes+yes)
27551
 
+    # GNU/Hurd has unlinkat, but it has the same bug as unlink.
27552
 
+    if test $REPLACE_UNLINK = 1; then
27553
 
+      REPLACE_UNLINKAT=1
27554
 
+    fi ;;
27555
 
+  yes+*)
27556
 
+    # Solaris 9 has *at functions, but uniformly mishandles trailing
27557
 
+    # slash in all of them.
27558
 
+    REPLACE_OPENAT=1
27559
 
+    REPLACE_UNLINKAT=1
27560
 
+    ;;
27561
 
+  *)
27562
 
+    HAVE_OPENAT=0
27563
 
+    HAVE_UNLINKAT=0 # No known system with unlinkat but not openat
27564
 
+    
27565
 
+  
27566
 
+  
27567
 
+  :
27568
 
+;;
27569
 
+  esac
27570
 
+  if test $ac_cv_func_fchmodat != yes; then
27571
 
+    HAVE_FCHMODAT=0
27572
 
+  fi
27573
 
+  if test $ac_cv_func_mkdirat != yes; then
27574
 
+    HAVE_MKDIRAT=0
27575
 
+  fi
27576
 
+  
27577
 
+  
27578
 
+  
27579
 
+  ac_fn_c_check_func "$LINENO" "fchownat" "ac_cv_func_fchownat"
27580
 
+if test "x$ac_cv_func_fchownat" = xyes; then :
27581
 
+  
27582
 
+    
27583
 
+
27584
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fchownat works with AT_SYMLINK_NOFOLLOW" >&5
27585
 
+$as_echo_n "checking whether fchownat works with AT_SYMLINK_NOFOLLOW... " >&6; }
27586
 
+if ${gl_cv_func_fchownat_nofollow_works+:} false; then :
27587
 
+  $as_echo_n "(cached) " >&6
27588
 
+else
27589
 
+  
27590
 
+     gl_dangle=conftest.dangle
27591
 
+     # Remove any remnants of a previous test.
27592
 
+     rm -f $gl_dangle
27593
 
+     # Arrange for deletion of the temporary file this test creates.
27594
 
+     ac_clean_files="$ac_clean_files $gl_dangle"
27595
 
+     ln -s conftest.no-such $gl_dangle
27596
 
+     if test "$cross_compiling" = yes; then :
27597
 
+  gl_cv_func_fchownat_nofollow_works=no
27598
 
+else
27599
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27600
 
+/* end confdefs.h.  */
27601
 
+
27602
 
+#include <fcntl.h>
27603
 
+#include <unistd.h>
27604
 
+#include <stdlib.h>
27605
 
+#include <errno.h>
27606
 
+#include <sys/types.h>
27607
 
+int
27608
 
+main ()
27609
 
+{
27610
 
+  return (fchownat (AT_FDCWD, "$gl_dangle", -1, getgid (),
27611
 
+                    AT_SYMLINK_NOFOLLOW) != 0
27612
 
+          && errno == ENOENT);
27613
 
+}
27614
 
+          
27615
 
+_ACEOF
27616
 
+if ac_fn_c_try_run "$LINENO"; then :
27617
 
+  gl_cv_func_fchownat_nofollow_works=yes
27618
 
+else
27619
 
+  gl_cv_func_fchownat_nofollow_works=no
27620
 
+fi
27621
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27622
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
27623
 
+fi
27624
 
+
27625
 
+  
27626
 
+fi
27627
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fchownat_nofollow_works" >&5
27628
 
+$as_echo "$gl_cv_func_fchownat_nofollow_works" >&6; }
27629
 
+  if test $gl_cv_func_fchownat_nofollow_works = no; then :
27630
 
+  REPLACE_FCHOWNAT=1
27631
 
+        
27632
 
+$as_echo "@%:@define FCHOWNAT_NOFOLLOW_BUG 1" >>confdefs.h
27633
 
+
27634
 
+       
27635
 
+fi
27636
 
+
27637
 
+     
27638
 
+    
27639
 
+
27640
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fchownat works with an empty file name" >&5
27641
 
+$as_echo_n "checking whether fchownat works with an empty file name... " >&6; }
27642
 
+if ${gl_cv_func_fchownat_empty_filename_works+:} false; then :
27643
 
+  $as_echo_n "(cached) " >&6
27644
 
+else
27645
 
+  if test "$cross_compiling" = yes; then :
27646
 
+  gl_cv_func_fchownat_empty_filename_works="guessing no"
27647
 
+else
27648
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27649
 
+/* end confdefs.h.  */
27650
 
+#include <unistd.h>
27651
 
+            #include <fcntl.h>
27652
 
+          
27653
 
+int
27654
 
+main ()
27655
 
+{
27656
 
+int fd;
27657
 
+            int ret;
27658
 
+            if (mkdir ("conftestdir", 0700) < 0)
27659
 
+              return 2;
27660
 
+            fd = open ("conftestdir", O_RDONLY);
27661
 
+            if (fd < 0)
27662
 
+              return 3;
27663
 
+            ret = fchownat (fd, "", -1, -1, 0);
27664
 
+            close (fd);
27665
 
+            rmdir ("conftestdir");
27666
 
+            return ret == 0;
27667
 
+          
27668
 
+  ;
27669
 
+  return 0;
27670
 
+}
27671
 
+_ACEOF
27672
 
+if ac_fn_c_try_run "$LINENO"; then :
27673
 
+  gl_cv_func_fchownat_empty_filename_works=yes
27674
 
+else
27675
 
+  gl_cv_func_fchownat_empty_filename_works=no
27676
 
+fi
27677
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27678
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
27679
 
+fi
27680
 
+
27681
 
+    
27682
 
+fi
27683
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fchownat_empty_filename_works" >&5
27684
 
+$as_echo "$gl_cv_func_fchownat_empty_filename_works" >&6; }
27685
 
+  if test "$gl_cv_func_fchownat_empty_filename_works" != yes; then :
27686
 
+  REPLACE_FCHOWNAT=1
27687
 
+        
27688
 
+$as_echo "@%:@define FCHOWNAT_EMPTY_FILENAME_BUG 1" >>confdefs.h
27689
 
+
27690
 
+       
27691
 
+fi
27692
 
+
27693
 
+     if test $REPLACE_CHOWN = 1; then
27694
 
+       REPLACE_FCHOWNAT=1
27695
 
+     fi
27696
 
+else
27697
 
+  HAVE_FCHOWNAT=0
27698
 
+fi
27699
 
+
27700
 
+
27701
 
+  
27702
 
+  
27703
 
+  
27704
 
+  
27705
 
+  
27706
 
+
27707
 
+  if test $ac_cv_func_fstatat = no; then
27708
 
+    HAVE_FSTATAT=0
27709
 
+  else
27710
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fstatat (..., 0) works" >&5
27711
 
+$as_echo_n "checking whether fstatat (..., 0) works... " >&6; }
27712
 
+if ${gl_cv_func_fstatat_zero_flag+:} false; then :
27713
 
+  $as_echo_n "(cached) " >&6
27714
 
+else
27715
 
+  gl_cv_func_fstatat_zero_flag=no
27716
 
+       if test "$cross_compiling" = yes; then :
27717
 
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27718
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27719
 
+as_fn_error $? "cannot run test program while cross compiling
27720
 
+See \`config.log' for more details" "$LINENO" 5; }
27721
 
+else
27722
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27723
 
+/* end confdefs.h.  */
27724
 
+
27725
 
+              #include <fcntl.h>
27726
 
+              #include <sys/stat.h>
27727
 
+              int
27728
 
+              main (void)
27729
 
+              {
27730
 
+                struct stat a;
27731
 
+                return fstatat (AT_FDCWD, ".", &a, 0) != 0;
27732
 
+              }
27733
 
+            
27734
 
+_ACEOF
27735
 
+if ac_fn_c_try_run "$LINENO"; then :
27736
 
+  gl_cv_func_fstatat_zero_flag=yes
27737
 
+fi
27738
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27739
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
27740
 
+fi
27741
 
+
27742
 
+fi
27743
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fstatat_zero_flag" >&5
27744
 
+$as_echo "$gl_cv_func_fstatat_zero_flag" >&6; }
27745
 
+
27746
 
+    case $gl_cv_func_fstatat_zero_flag+$gl_cv_func_lstat_dereferences_slashed_symlink in
27747
 
+    yes+yes) ;;
27748
 
+    *) REPLACE_FSTATAT=1
27749
 
+       if test $gl_cv_func_fstatat_zero_flag != yes; then
27750
 
+         
27751
 
+$as_echo "@%:@define FSTATAT_ZERO_FLAG_BROKEN 1" >>confdefs.h
27752
 
+
27753
 
+       fi
27754
 
+       ;;
27755
 
+    esac
27756
 
+  fi
27757
 
+
27758
 
+
27759
 
+    
27760
 
+  
27761
 
+cat >>confdefs.h <<_ACEOF
27762
 
+@%:@define GNULIB_OPENAT 1
27763
 
+_ACEOF
27764
 
+
27765
 
+
27766
 
+
27767
 
+
27768
 
+  
27769
 
+    ac_fn_c_check_member "$LINENO" "struct statfs" "f_type" "ac_cv_member_struct_statfs_f_type" "$ac_includes_default
27770
 
+     #include <sys/vfs.h>
27771
 
+"
27772
 
+if test "x$ac_cv_member_struct_statfs_f_type" = xyes; then :
27773
 
+  
27774
 
+cat >>confdefs.h <<_ACEOF
27775
 
+@%:@define HAVE_STRUCT_STATFS_F_TYPE 1
27776
 
+_ACEOF
27777
 
+
27778
 
+
27779
 
+fi
27780
 
+
27781
 
+
27782
 
+
27783
 
+
27784
 
+  
27785
 
+  
27786
 
+    
27787
 
+      
27788
 
+      
27789
 
+    
27790
 
+  
27791
 
+  gl_LIBOBJS="$gl_LIBOBJS fts.$ac_objext"
27792
 
+
27793
 
+
27794
 
+  
27795
 
+  
27796
 
+  
27797
 
+  if test $ac_cv_func_futimens = no; then
27798
 
+    HAVE_FUTIMENS=0
27799
 
+  else
27800
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether futimens works" >&5
27801
 
+$as_echo_n "checking whether futimens works... " >&6; }
27802
 
+if ${gl_cv_func_futimens_works+:} false; then :
27803
 
+  $as_echo_n "(cached) " >&6
27804
 
+else
27805
 
+  if test "$cross_compiling" = yes; then :
27806
 
+  gl_cv_func_futimens_works="guessing no"
27807
 
+else
27808
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27809
 
+/* end confdefs.h.  */
27810
 
+
27811
 
+#include <fcntl.h>
27812
 
+#include <sys/stat.h>
27813
 
+#include <unistd.h>
27814
 
+#include <errno.h>
27815
 
+
27816
 
+int
27817
 
+main ()
27818
 
+{
27819
 
+struct timespec ts[2] = { { 1, UTIME_OMIT }, { 1, UTIME_NOW } };
27820
 
+      int fd = creat ("conftest.file", 0600);
27821
 
+      struct stat st;
27822
 
+      if (fd < 0) return 1;
27823
 
+      errno = 0;
27824
 
+      if (futimens (AT_FDCWD, NULL) == 0) return 2;
27825
 
+      if (errno != EBADF) return 3;
27826
 
+      if (futimens (fd, ts)) return 4;
27827
 
+      sleep (1);
27828
 
+      ts[0].tv_nsec = UTIME_NOW;
27829
 
+      ts[1].tv_nsec = UTIME_OMIT;
27830
 
+      if (futimens (fd, ts)) return 5;
27831
 
+      if (fstat (fd, &st)) return 6;
27832
 
+      if (st.st_ctime < st.st_atime) return 7;
27833
 
+      
27834
 
+  ;
27835
 
+  return 0;
27836
 
+}
27837
 
+_ACEOF
27838
 
+if ac_fn_c_try_run "$LINENO"; then :
27839
 
+           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27840
 
+/* end confdefs.h.  */
27841
 
+
27842
 
+#ifdef __linux__
27843
 
+/* The Linux kernel added futimens in 2.6.22, but has bugs with UTIME_OMIT
27844
 
+   in several file systems as recently as 2.6.32.  Always replace futimens
27845
 
+   to support older kernels.  */
27846
 
+choke me
27847
 
+#endif
27848
 
+      
27849
 
+int
27850
 
+main ()
27851
 
+{
27852
 
+
27853
 
+  ;
27854
 
+  return 0;
27855
 
+}
27856
 
+_ACEOF
27857
 
+if ac_fn_c_try_compile "$LINENO"; then :
27858
 
+  gl_cv_func_futimens_works=yes
27859
 
+else
27860
 
+  gl_cv_func_futimens_works="needs runtime check"
27861
 
+fi
27862
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27863
 
+else
27864
 
+  gl_cv_func_futimens_works=no
27865
 
+fi
27866
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27867
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
27868
 
+fi
27869
 
+
27870
 
+      rm -f conftest.file
27871
 
+fi
27872
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_futimens_works" >&5
27873
 
+$as_echo "$gl_cv_func_futimens_works" >&6; }
27874
 
+    if test "$gl_cv_func_futimens_works" != yes; then
27875
 
+      REPLACE_FUTIMENS=1
27876
 
+    fi
27877
 
+  fi
27878
 
+
27879
 
+if test $HAVE_FUTIMENS = 0 || test $REPLACE_FUTIMENS = 1; then
27880
 
+  
27881
 
+  
27882
 
+  
27883
 
+    
27884
 
+      
27885
 
+      
27886
 
+    
27887
 
+  
27888
 
+  gl_LIBOBJS="$gl_LIBOBJS futimens.$ac_objext"
27889
 
+
27890
 
+fi
27891
 
+
27892
 
+    
27893
 
+  
27894
 
+  
27895
 
+  
27896
 
+          GNULIB_FUTIMENS=1
27897
 
+    
27898
 
+
27899
 
+
27900
 
+    
27901
 
+  
27902
 
+$as_echo "@%:@define GNULIB_TEST_FUTIMENS 1" >>confdefs.h
27903
 
+
27904
 
+
27905
 
+
27906
 
+
27907
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to do getaddrinfo, freeaddrinfo and getnameinfo" >&5
27908
 
+$as_echo "$as_me: checking how to do getaddrinfo, freeaddrinfo and getnameinfo" >&6;}
27909
 
+  GETADDRINFO_LIB=
27910
 
+  gai_saved_LIBS="$LIBS"
27911
 
+
27912
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
27913
 
+$as_echo_n "checking for library containing getaddrinfo... " >&6; }
27914
 
+if ${ac_cv_search_getaddrinfo+:} false; then :
27915
 
+  $as_echo_n "(cached) " >&6
27916
 
+else
27917
 
+  ac_func_search_save_LIBS=$LIBS
27918
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27919
 
+/* end confdefs.h.  */
27920
 
+
27921
 
+/* Override any GCC internal prototype to avoid an error.
27922
 
+   Use char because int might match the return type of a GCC
27923
 
+   builtin and then its argument prototype would still apply.  */
27924
 
+#ifdef __cplusplus
27925
 
+extern "C"
27926
 
+#endif
27927
 
+char getaddrinfo ();
27928
 
+int
27929
 
+main ()
27930
 
+{
27931
 
+return getaddrinfo ();
27932
 
+  ;
27933
 
+  return 0;
27934
 
+}
27935
 
+_ACEOF
27936
 
+for ac_lib in '' socket network net; do
27937
 
+  if test -z "$ac_lib"; then
27938
 
+    ac_res="none required"
27939
 
+  else
27940
 
+    ac_res=-l$ac_lib
27941
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
27942
 
+  fi
27943
 
+  if ac_fn_c_try_link "$LINENO"; then :
27944
 
+  ac_cv_search_getaddrinfo=$ac_res
27945
 
+fi
27946
 
+rm -f core conftest.err conftest.$ac_objext \
27947
 
+    conftest$ac_exeext
27948
 
+  if ${ac_cv_search_getaddrinfo+:} false; then :
27949
 
+  break
27950
 
+fi
27951
 
+done
27952
 
+if ${ac_cv_search_getaddrinfo+:} false; then :
27953
 
+  
27954
 
+else
27955
 
+  ac_cv_search_getaddrinfo=no
27956
 
+fi
27957
 
+rm conftest.$ac_ext
27958
 
+LIBS=$ac_func_search_save_LIBS
27959
 
+fi
27960
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
27961
 
+$as_echo "$ac_cv_search_getaddrinfo" >&6; }
27962
 
+ac_res=$ac_cv_search_getaddrinfo
27963
 
+if test "$ac_res" != no; then :
27964
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
27965
 
+  if test "$ac_cv_search_getaddrinfo" != "none required"; then
27966
 
+       GETADDRINFO_LIB="$ac_cv_search_getaddrinfo"
27967
 
+     fi
27968
 
+fi
27969
 
+
27970
 
+  LIBS="$gai_saved_LIBS $GETADDRINFO_LIB"
27971
 
+
27972
 
+  HAVE_GETADDRINFO=1
27973
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
27974
 
+$as_echo_n "checking for getaddrinfo... " >&6; }
27975
 
+if ${gl_cv_func_getaddrinfo+:} false; then :
27976
 
+  $as_echo_n "(cached) " >&6
27977
 
+else
27978
 
+  
27979
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27980
 
+/* end confdefs.h.  */
27981
 
+
27982
 
+#include <sys/types.h>
27983
 
+#ifdef HAVE_SYS_SOCKET_H
27984
 
+#include <sys/socket.h>
27985
 
+#endif
27986
 
+#ifdef HAVE_NETDB_H
27987
 
+#include <netdb.h>
27988
 
+#endif
27989
 
+#include <stddef.h>
27990
 
+
27991
 
+int
27992
 
+main ()
27993
 
+{
27994
 
+getaddrinfo("", "", NULL, NULL);
27995
 
+  ;
27996
 
+  return 0;
27997
 
+}
27998
 
+_ACEOF
27999
 
+if ac_fn_c_try_link "$LINENO"; then :
28000
 
+  gl_cv_func_getaddrinfo=yes
28001
 
+else
28002
 
+  gl_cv_func_getaddrinfo=no
28003
 
+fi
28004
 
+rm -f core conftest.err conftest.$ac_objext \
28005
 
+    conftest$ac_exeext conftest.$ac_ext
28006
 
+fi
28007
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getaddrinfo" >&5
28008
 
+$as_echo "$gl_cv_func_getaddrinfo" >&6; }
28009
 
+  if test $gl_cv_func_getaddrinfo = no; then
28010
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in ws2tcpip.h and -lws2_32" >&5
28011
 
+$as_echo_n "checking for getaddrinfo in ws2tcpip.h and -lws2_32... " >&6; }
28012
 
+if ${gl_cv_w32_getaddrinfo+:} false; then :
28013
 
+  $as_echo_n "(cached) " >&6
28014
 
+else
28015
 
+  
28016
 
+      gl_cv_w32_getaddrinfo=no
28017
 
+      am_save_LIBS="$LIBS"
28018
 
+      LIBS="$LIBS -lws2_32"
28019
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28020
 
+/* end confdefs.h.  */
28021
 
+
28022
 
+#ifdef HAVE_WS2TCPIP_H
28023
 
+#include <ws2tcpip.h>
28024
 
+#endif
28025
 
+#include <stddef.h>
28026
 
+
28027
 
+int
28028
 
+main ()
28029
 
+{
28030
 
+getaddrinfo(NULL, NULL, NULL, NULL);
28031
 
+  ;
28032
 
+  return 0;
28033
 
+}
28034
 
+_ACEOF
28035
 
+if ac_fn_c_try_link "$LINENO"; then :
28036
 
+  gl_cv_w32_getaddrinfo=yes
28037
 
+fi
28038
 
+rm -f core conftest.err conftest.$ac_objext \
28039
 
+    conftest$ac_exeext conftest.$ac_ext
28040
 
+      LIBS="$am_save_LIBS"
28041
 
+    
28042
 
+fi
28043
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getaddrinfo" >&5
28044
 
+$as_echo "$gl_cv_w32_getaddrinfo" >&6; }
28045
 
+    if test "$gl_cv_w32_getaddrinfo" = "yes"; then
28046
 
+      GETADDRINFO_LIB="-lws2_32"
28047
 
+      LIBS="$gai_saved_LIBS $GETADDRINFO_LIB"
28048
 
+    else
28049
 
+      HAVE_GETADDRINFO=0
28050
 
+    fi
28051
 
+  fi
28052
 
+
28053
 
+  # We can't use AC_REPLACE_FUNCS here because gai_strerror may be an
28054
 
+  # inline function declared in ws2tcpip.h, so we need to get that
28055
 
+  # header included somehow.
28056
 
+  ac_fn_c_check_decl "$LINENO" "gai_strerror" "ac_cv_have_decl_gai_strerror" "
28057
 
+#include <sys/types.h>
28058
 
+#ifdef HAVE_SYS_SOCKET_H
28059
 
+#include <sys/socket.h>
28060
 
+#endif
28061
 
+#ifdef HAVE_NETDB_H
28062
 
+#include <netdb.h>
28063
 
+#endif
28064
 
+#ifdef HAVE_WS2TCPIP_H
28065
 
+#include <ws2tcpip.h>
28066
 
+#endif
28067
 
+#include <stddef.h>
28068
 
+
28069
 
+"
28070
 
+if test "x$ac_cv_have_decl_gai_strerror" = xyes; then :
28071
 
+  ac_have_decl=1
28072
 
+else
28073
 
+  ac_have_decl=0
28074
 
+fi
28075
 
+
28076
 
+cat >>confdefs.h <<_ACEOF
28077
 
+@%:@define HAVE_DECL_GAI_STRERROR $ac_have_decl
28078
 
+_ACEOF
28079
 
+
28080
 
+  if test $ac_cv_have_decl_gai_strerror = yes; then
28081
 
+    ac_fn_c_check_decl "$LINENO" "gai_strerrorA" "ac_cv_have_decl_gai_strerrorA" "
28082
 
+#include <sys/types.h>
28083
 
+#ifdef HAVE_SYS_SOCKET_H
28084
 
+#include <sys/socket.h>
28085
 
+#endif
28086
 
+#ifdef HAVE_NETDB_H
28087
 
+#include <netdb.h>
28088
 
+#endif
28089
 
+#ifdef HAVE_WS2TCPIP_H
28090
 
+#include <ws2tcpip.h>
28091
 
+#endif
28092
 
+#include <stddef.h>
28093
 
+
28094
 
+"
28095
 
+if test "x$ac_cv_have_decl_gai_strerrorA" = xyes; then :
28096
 
+  ac_have_decl=1
28097
 
+else
28098
 
+  ac_have_decl=0
28099
 
+fi
28100
 
+
28101
 
+cat >>confdefs.h <<_ACEOF
28102
 
+@%:@define HAVE_DECL_GAI_STRERRORA $ac_have_decl
28103
 
+_ACEOF
28104
 
+
28105
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gai_strerror with POSIX signature" >&5
28106
 
+$as_echo_n "checking for gai_strerror with POSIX signature... " >&6; }
28107
 
+if ${gl_cv_func_gai_strerror_posix_signature+:} false; then :
28108
 
+  $as_echo_n "(cached) " >&6
28109
 
+else
28110
 
+  
28111
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28112
 
+/* end confdefs.h.  */
28113
 
+
28114
 
+#include <sys/types.h>
28115
 
+#ifdef HAVE_SYS_SOCKET_H
28116
 
+#include <sys/socket.h>
28117
 
+#endif
28118
 
+#ifdef HAVE_NETDB_H
28119
 
+#include <netdb.h>
28120
 
+#endif
28121
 
+#ifdef HAVE_WS2TCPIP_H
28122
 
+#include <ws2tcpip.h>
28123
 
+#endif
28124
 
+#include <stddef.h>
28125
 
+extern
28126
 
+#ifdef __cplusplus
28127
 
+"C"
28128
 
+#endif
28129
 
+const char *gai_strerror(int);
28130
 
+_ACEOF
28131
 
+if ac_fn_c_try_compile "$LINENO"; then :
28132
 
+  gl_cv_func_gai_strerror_posix_signature=yes
28133
 
+else
28134
 
+  gl_cv_func_gai_strerror_posix_signature=no
28135
 
+fi
28136
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28137
 
+fi
28138
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gai_strerror_posix_signature" >&5
28139
 
+$as_echo "$gl_cv_func_gai_strerror_posix_signature" >&6; }
28140
 
+    if test $gl_cv_func_gai_strerror_posix_signature = no; then
28141
 
+      REPLACE_GAI_STRERROR=1
28142
 
+    fi
28143
 
+  fi
28144
 
+
28145
 
+  LIBS="$gai_saved_LIBS"
28146
 
+
28147
 
+  
28148
 
+  
28149
 
+             
28150
 
+  
28151
 
+  
28152
 
+  
28153
 
+  
28154
 
+
28155
 
+      ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
28156
 
+#include <sys/types.h>
28157
 
+#include <sys/socket.h>
28158
 
+
28159
 
+"
28160
 
+if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
28161
 
+  
28162
 
+cat >>confdefs.h <<_ACEOF
28163
 
+@%:@define HAVE_STRUCT_SOCKADDR_SA_LEN 1
28164
 
+_ACEOF
28165
 
+
28166
 
+
28167
 
+fi
28168
 
+
28169
 
+
28170
 
+  
28171
 
+
28172
 
+  ac_fn_c_check_decl "$LINENO" "getaddrinfo" "ac_cv_have_decl_getaddrinfo" "
28173
 
+  /* sys/types.h is not needed according to POSIX, but the
28174
 
+     sys/socket.h in i386-unknown-freebsd4.10 and
28175
 
+     powerpc-apple-darwin5.5 required it. */
28176
 
+#include <sys/types.h>
28177
 
+#ifdef HAVE_SYS_SOCKET_H
28178
 
+#include <sys/socket.h>
28179
 
+#endif
28180
 
+#ifdef HAVE_NETDB_H
28181
 
+#include <netdb.h>
28182
 
+#endif
28183
 
+#ifdef HAVE_WS2TCPIP_H
28184
 
+#include <ws2tcpip.h>
28185
 
+#endif
28186
 
+
28187
 
+"
28188
 
+if test "x$ac_cv_have_decl_getaddrinfo" = xyes; then :
28189
 
+  ac_have_decl=1
28190
 
+else
28191
 
+  ac_have_decl=0
28192
 
+fi
28193
 
+
28194
 
+cat >>confdefs.h <<_ACEOF
28195
 
+@%:@define HAVE_DECL_GETADDRINFO $ac_have_decl
28196
 
+_ACEOF
28197
 
+ac_fn_c_check_decl "$LINENO" "freeaddrinfo" "ac_cv_have_decl_freeaddrinfo" "
28198
 
+  /* sys/types.h is not needed according to POSIX, but the
28199
 
+     sys/socket.h in i386-unknown-freebsd4.10 and
28200
 
+     powerpc-apple-darwin5.5 required it. */
28201
 
+#include <sys/types.h>
28202
 
+#ifdef HAVE_SYS_SOCKET_H
28203
 
+#include <sys/socket.h>
28204
 
+#endif
28205
 
+#ifdef HAVE_NETDB_H
28206
 
+#include <netdb.h>
28207
 
+#endif
28208
 
+#ifdef HAVE_WS2TCPIP_H
28209
 
+#include <ws2tcpip.h>
28210
 
+#endif
28211
 
+
28212
 
+"
28213
 
+if test "x$ac_cv_have_decl_freeaddrinfo" = xyes; then :
28214
 
+  ac_have_decl=1
28215
 
+else
28216
 
+  ac_have_decl=0
28217
 
+fi
28218
 
+
28219
 
+cat >>confdefs.h <<_ACEOF
28220
 
+@%:@define HAVE_DECL_FREEADDRINFO $ac_have_decl
28221
 
+_ACEOF
28222
 
+ac_fn_c_check_decl "$LINENO" "getnameinfo" "ac_cv_have_decl_getnameinfo" "
28223
 
+  /* sys/types.h is not needed according to POSIX, but the
28224
 
+     sys/socket.h in i386-unknown-freebsd4.10 and
28225
 
+     powerpc-apple-darwin5.5 required it. */
28226
 
+#include <sys/types.h>
28227
 
+#ifdef HAVE_SYS_SOCKET_H
28228
 
+#include <sys/socket.h>
28229
 
+#endif
28230
 
+#ifdef HAVE_NETDB_H
28231
 
+#include <netdb.h>
28232
 
+#endif
28233
 
+#ifdef HAVE_WS2TCPIP_H
28234
 
+#include <ws2tcpip.h>
28235
 
+#endif
28236
 
+
28237
 
+"
28238
 
+if test "x$ac_cv_have_decl_getnameinfo" = xyes; then :
28239
 
+  ac_have_decl=1
28240
 
+else
28241
 
+  ac_have_decl=0
28242
 
+fi
28243
 
+
28244
 
+cat >>confdefs.h <<_ACEOF
28245
 
+@%:@define HAVE_DECL_GETNAMEINFO $ac_have_decl
28246
 
+_ACEOF
28247
 
+
28248
 
+  if test $ac_cv_have_decl_getaddrinfo = no; then
28249
 
+    HAVE_DECL_GETADDRINFO=0
28250
 
+  fi
28251
 
+  if test $ac_cv_have_decl_freeaddrinfo = no; then
28252
 
+    HAVE_DECL_FREEADDRINFO=0
28253
 
+  fi
28254
 
+  if test $ac_cv_have_decl_gai_strerror = no; then
28255
 
+    HAVE_DECL_GAI_STRERROR=0
28256
 
+  fi
28257
 
+  if test $ac_cv_have_decl_getnameinfo = no; then
28258
 
+    HAVE_DECL_GETNAMEINFO=0
28259
 
+  fi
28260
 
+
28261
 
+  ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "
28262
 
+#include <sys/types.h>
28263
 
+#ifdef HAVE_SYS_SOCKET_H
28264
 
+#include <sys/socket.h>
28265
 
+#endif
28266
 
+#ifdef HAVE_NETDB_H
28267
 
+#include <netdb.h>
28268
 
+#endif
28269
 
+#ifdef HAVE_WS2TCPIP_H
28270
 
+#include <ws2tcpip.h>
28271
 
+#endif
28272
 
+
28273
 
+"
28274
 
+if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
28275
 
+  
28276
 
+cat >>confdefs.h <<_ACEOF
28277
 
+@%:@define HAVE_STRUCT_ADDRINFO 1
28278
 
+_ACEOF
28279
 
+
28280
 
+
28281
 
+fi
28282
 
+
28283
 
+  if test $ac_cv_type_struct_addrinfo = no; then
28284
 
+    HAVE_STRUCT_ADDRINFO=0
28285
 
+  fi
28286
 
+
28287
 
+    case " $GETADDRINFO_LIB " in
28288
 
+    *" $HOSTENT_LIB "*) ;;
28289
 
+    *) GETADDRINFO_LIB="$GETADDRINFO_LIB $HOSTENT_LIB" ;;
28290
 
+  esac
28291
 
+
28292
 
+    case " $GETADDRINFO_LIB " in
28293
 
+    *" $SERVENT_LIB "*) ;;
28294
 
+    *) GETADDRINFO_LIB="$GETADDRINFO_LIB $SERVENT_LIB" ;;
28295
 
+  esac
28296
 
+
28297
 
+    case " $GETADDRINFO_LIB " in
28298
 
+    *" $INET_NTOP_LIB "*) ;;
28299
 
+    *) GETADDRINFO_LIB="$GETADDRINFO_LIB $INET_NTOP_LIB" ;;
28300
 
+  esac
28301
 
+
28302
 
+
28303
 
+  
28304
 
+
28305
 
+if test $HAVE_GETADDRINFO = 0; then
28306
 
+  
28307
 
+  
28308
 
+  
28309
 
+    
28310
 
+      
28311
 
+      
28312
 
+    
28313
 
+  
28314
 
+  gl_LIBOBJS="$gl_LIBOBJS getaddrinfo.$ac_objext"
28315
 
+
28316
 
+fi
28317
 
+if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then
28318
 
+  
28319
 
+  
28320
 
+  
28321
 
+    
28322
 
+      
28323
 
+      
28324
 
+    
28325
 
+  
28326
 
+  gl_LIBOBJS="$gl_LIBOBJS gai_strerror.$ac_objext"
28327
 
+
28328
 
+fi
28329
 
+
28330
 
+    
28331
 
+  
28332
 
+  
28333
 
+  
28334
 
+          GNULIB_GETADDRINFO=1
28335
 
+    
28336
 
+
28337
 
+
28338
 
+    
28339
 
+  
28340
 
+$as_echo "@%:@define GNULIB_TEST_GETADDRINFO 1" >>confdefs.h
28341
 
+
28342
 
+
28343
 
+
28344
 
+
28345
 
+  
28346
 
+  
28347
 
+  
28348
 
+   
28349
 
+  gl_abort_bug=no
28350
 
+  case $gl_cv_func_getcwd_null,$host_os in
28351
 
+  *,mingw*)
28352
 
+    gl_cv_func_getcwd_path_max=yes;;
28353
 
+  yes,*)
28354
 
+    
28355
 
+  
28356
 
+  
28357
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getcwd handles long file names properly" >&5
28358
 
+$as_echo_n "checking whether getcwd handles long file names properly... " >&6; }
28359
 
+if ${gl_cv_func_getcwd_path_max+:} false; then :
28360
 
+  $as_echo_n "(cached) " >&6
28361
 
+else
28362
 
+  # Arrange for deletion of the temporary directory this test creates.
28363
 
+     ac_clean_files="$ac_clean_files confdir3"
28364
 
+          if test "$cross_compiling" = yes; then :
28365
 
+  gl_cv_func_getcwd_path_max=no
28366
 
+else
28367
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28368
 
+/* end confdefs.h.  */
28369
 
+
28370
 
+#include <errno.h>
28371
 
+#include <stdlib.h>
28372
 
+#include <unistd.h>
28373
 
+#include <string.h>
28374
 
+#include <limits.h>
28375
 
+#include <sys/stat.h>
28376
 
+#include <sys/types.h>
28377
 
+#include <fcntl.h>
28378
 
+
28379
 
+#ifndef AT_FDCWD
28380
 
+# define AT_FDCWD 0
28381
 
+#endif
28382
 
+#ifdef ENAMETOOLONG
28383
 
+# define is_ENAMETOOLONG(x) ((x) == ENAMETOOLONG)
28384
 
+#else
28385
 
+# define is_ENAMETOOLONG(x) 0
28386
 
+#endif
28387
 
+
28388
 
+/* Don't get link errors because mkdir is redefined to rpl_mkdir.  */
28389
 
+#undef mkdir
28390
 
+
28391
 
+#ifndef S_IRWXU
28392
 
+# define S_IRWXU 0700
28393
 
+#endif
28394
 
+
28395
 
+/* The length of this name must be 8.  */
28396
 
+#define DIR_NAME "confdir3"
28397
 
+#define DIR_NAME_LEN 8
28398
 
+#define DIR_NAME_SIZE (DIR_NAME_LEN + 1)
28399
 
+
28400
 
+/* The length of "../".  */
28401
 
+#define DOTDOTSLASH_LEN 3
28402
 
+
28403
 
+/* Leftover bytes in the buffer, to work around library or OS bugs.  */
28404
 
+#define BUF_SLOP 20
28405
 
+
28406
 
+int
28407
 
+main ()
28408
 
+{
28409
 
+#ifndef PATH_MAX
28410
 
+  /* The Hurd doesn't define this, so getcwd can't exhibit the bug --
28411
 
+     at least not on a local file system.  And if we were to start worrying
28412
 
+     about remote file systems, we'd have to enable the wrapper function
28413
 
+     all of the time, just to be safe.  That's not worth the cost.  */
28414
 
+  exit (0);
28415
 
+#elif ((INT_MAX / (DIR_NAME_SIZE / DOTDOTSLASH_LEN + 1) \
28416
 
+        - DIR_NAME_SIZE - BUF_SLOP) \
28417
 
+       <= PATH_MAX)
28418
 
+  /* FIXME: Assuming there's a system for which this is true,
28419
 
+     this should be done in a compile test.  */
28420
 
+  exit (0);
28421
 
+#else
28422
 
+  char buf[PATH_MAX * (DIR_NAME_SIZE / DOTDOTSLASH_LEN + 1)
28423
 
+           + DIR_NAME_SIZE + BUF_SLOP];
28424
 
+  char *cwd = getcwd (buf, PATH_MAX);
28425
 
+  size_t initial_cwd_len;
28426
 
+  size_t cwd_len;
28427
 
+  int fail = 0;
28428
 
+  size_t n_chdirs = 0;
28429
 
+
28430
 
+  if (cwd == NULL)
28431
 
+    exit (10);
28432
 
+
28433
 
+  cwd_len = initial_cwd_len = strlen (cwd);
28434
 
+
28435
 
+  while (1)
28436
 
+    {
28437
 
+      size_t dotdot_max = PATH_MAX * (DIR_NAME_SIZE / DOTDOTSLASH_LEN);
28438
 
+      char *c = NULL;
28439
 
+
28440
 
+      cwd_len += DIR_NAME_SIZE;
28441
 
+      /* If mkdir or chdir fails, it could be that this system cannot create
28442
 
+         any file with an absolute name longer than PATH_MAX, such as cygwin.
28443
 
+         If so, leave fail as 0, because the current working directory can't
28444
 
+         be too long for getcwd if it can't even be created.  For other
28445
 
+         errors, be pessimistic and consider that as a failure, too.  */
28446
 
+      if (mkdir (DIR_NAME, S_IRWXU) < 0 || chdir (DIR_NAME) < 0)
28447
 
+        {
28448
 
+          if (! (errno == ERANGE || is_ENAMETOOLONG (errno)))
28449
 
+            fail = 20;
28450
 
+          break;
28451
 
+        }
28452
 
+
28453
 
+      if (PATH_MAX <= cwd_len && cwd_len < PATH_MAX + DIR_NAME_SIZE)
28454
 
+        {
28455
 
+          c = getcwd (buf, PATH_MAX);
28456
 
+          if (!c && errno == ENOENT)
28457
 
+            {
28458
 
+              fail = 11;
28459
 
+              break;
28460
 
+            }
28461
 
+          if (c || ! (errno == ERANGE || is_ENAMETOOLONG (errno)))
28462
 
+            {
28463
 
+              fail = 21;
28464
 
+              break;
28465
 
+            }
28466
 
+        }
28467
 
+
28468
 
+      if (dotdot_max <= cwd_len - initial_cwd_len)
28469
 
+        {
28470
 
+          if (dotdot_max + DIR_NAME_SIZE < cwd_len - initial_cwd_len)
28471
 
+            break;
28472
 
+          c = getcwd (buf, cwd_len + 1);
28473
 
+          if (!c)
28474
 
+            {
28475
 
+              if (! (errno == ERANGE || errno == ENOENT
28476
 
+                     || is_ENAMETOOLONG (errno)))
28477
 
+                {
28478
 
+                  fail = 22;
28479
 
+                  break;
28480
 
+                }
28481
 
+              if (AT_FDCWD || errno == ERANGE || errno == ENOENT)
28482
 
+                {
28483
 
+                  fail = 12;
28484
 
+                  break;
28485
 
+                }
28486
 
+            }
28487
 
+        }
28488
 
+
28489
 
+      if (c && strlen (c) != cwd_len)
28490
 
+        {
28491
 
+          fail = 23;
28492
 
+          break;
28493
 
+        }
28494
 
+      ++n_chdirs;
28495
 
+    }
28496
 
+
28497
 
+  /* Leaving behind such a deep directory is not polite.
28498
 
+     So clean up here, right away, even though the driving
28499
 
+     shell script would also clean up.  */
28500
 
+  {
28501
 
+    size_t i;
28502
 
+
28503
 
+    /* Try rmdir first, in case the chdir failed.  */
28504
 
+    rmdir (DIR_NAME);
28505
 
+    for (i = 0; i <= n_chdirs; i++)
28506
 
+      {
28507
 
+        if (chdir ("..") < 0)
28508
 
+          break;
28509
 
+        if (rmdir (DIR_NAME) != 0)
28510
 
+          break;
28511
 
+      }
28512
 
+  }
28513
 
+
28514
 
+  exit (fail);
28515
 
+#endif
28516
 
+}
28517
 
+          
28518
 
+_ACEOF
28519
 
+if ac_fn_c_try_run "$LINENO"; then :
28520
 
+  gl_cv_func_getcwd_path_max=yes
28521
 
+else
28522
 
+  case $? in
28523
 
+     10|11|12) gl_cv_func_getcwd_path_max='no, but it is partly working';;
28524
 
+     *) gl_cv_func_getcwd_path_max=no;;
28525
 
+     esac
28526
 
+fi
28527
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28528
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
28529
 
+fi
28530
 
+
28531
 
+  
28532
 
+fi
28533
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_path_max" >&5
28534
 
+$as_echo "$gl_cv_func_getcwd_path_max" >&6; }
28535
 
+  case $gl_cv_func_getcwd_path_max in
28536
 
+  no,*)
28537
 
+    
28538
 
+$as_echo "@%:@define HAVE_PARTLY_WORKING_GETCWD 1" >>confdefs.h
28539
 
+;;
28540
 
+  esac
28541
 
+
28542
 
+    
28543
 
+  
28544
 
+  for ac_func in getpagesize
28545
 
+do :
28546
 
+  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
28547
 
+if test "x$ac_cv_func_getpagesize" = xyes; then :
28548
 
+  cat >>confdefs.h <<_ACEOF
28549
 
+@%:@define HAVE_GETPAGESIZE 1
28550
 
+_ACEOF
28551
 
28552
 
+fi
28553
 
+done
28554
 
+
28555
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getcwd aborts when 4k < cwd_length < 16k" >&5
28556
 
+$as_echo_n "checking whether getcwd aborts when 4k < cwd_length < 16k... " >&6; }
28557
 
+if ${gl_cv_func_getcwd_abort_bug+:} false; then :
28558
 
+  $as_echo_n "(cached) " >&6
28559
 
+else
28560
 
+  # Remove any remnants of a previous test.
28561
 
+     rm -rf confdir-14B---
28562
 
+     # Arrange for deletion of the temporary directory this test creates.
28563
 
+     ac_clean_files="$ac_clean_files confdir-14B---"
28564
 
+          if test "$cross_compiling" = yes; then :
28565
 
+  gl_cv_func_getcwd_abort_bug=yes
28566
 
+else
28567
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28568
 
+/* end confdefs.h.  */
28569
 
+
28570
 
+#include <stdlib.h>
28571
 
+#include <unistd.h>
28572
 
+#include <limits.h>
28573
 
+#include <string.h>
28574
 
+#include <sys/stat.h>
28575
 
+
28576
 
+/* Don't get link errors because mkdir is redefined to rpl_mkdir.  */
28577
 
+#undef mkdir
28578
 
+
28579
 
+#ifndef S_IRWXU
28580
 
+# define S_IRWXU 0700
28581
 
+#endif
28582
 
+
28583
 
+/* FIXME: skip the run-test altogether on systems without getpagesize.  */
28584
 
+#if ! HAVE_GETPAGESIZE
28585
 
+# define getpagesize() 0
28586
 
+#endif
28587
 
+
28588
 
+/* This size is chosen to be larger than PATH_MAX (4k), yet smaller than
28589
 
+   the 16kB pagesize on ia64 linux.  Those conditions make the code below
28590
 
+   trigger a bug in glibc's getcwd implementation before 2.4.90-10.  */
28591
 
+#define TARGET_LEN (5 * 1024)
28592
 
+
28593
 
+int
28594
 
+main ()
28595
 
+{
28596
 
+  char const *dir_name = "confdir-14B---";
28597
 
+  char *cwd;
28598
 
+  size_t initial_cwd_len;
28599
 
+  int fail = 0;
28600
 
+  size_t desired_depth;
28601
 
+  size_t d;
28602
 
+
28603
 
+  /* The bug is triggered when PATH_MAX < getpagesize (), so skip
28604
 
+     this relatively expensive and invasive test if that's not true.  */
28605
 
+  if (getpagesize () <= PATH_MAX)
28606
 
+    return 0;
28607
 
+
28608
 
+  cwd = getcwd (NULL, 0);
28609
 
+  if (cwd == NULL)
28610
 
+    return 2;
28611
 
+
28612
 
+  initial_cwd_len = strlen (cwd);
28613
 
+  free (cwd);
28614
 
+  desired_depth = ((TARGET_LEN - 1 - initial_cwd_len)
28615
 
+                   / (1 + strlen (dir_name)));
28616
 
+  for (d = 0; d < desired_depth; d++)
28617
 
+    {
28618
 
+      if (mkdir (dir_name, S_IRWXU) < 0 || chdir (dir_name) < 0)
28619
 
+        {
28620
 
+          fail = 3; /* Unable to construct deep hierarchy.  */
28621
 
+          break;
28622
 
+        }
28623
 
+    }
28624
 
+
28625
 
+  /* If libc has the bug in question, this invocation of getcwd
28626
 
+     results in a failed assertion.  */
28627
 
+  cwd = getcwd (NULL, 0);
28628
 
+  if (cwd == NULL)
28629
 
+    fail = 4; /* getcwd failed.  This is ok, and expected.  */
28630
 
+  free (cwd);
28631
 
+
28632
 
+  /* Call rmdir first, in case the above chdir failed.  */
28633
 
+  rmdir (dir_name);
28634
 
+  while (0 < d--)
28635
 
+    {
28636
 
+      if (chdir ("..") < 0)
28637
 
+        {
28638
 
+          fail = 5;
28639
 
+          break;
28640
 
+        }
28641
 
+      rmdir (dir_name);
28642
 
+    }
28643
 
+
28644
 
+  return fail;
28645
 
+}
28646
 
+          
28647
 
+_ACEOF
28648
 
+if ac_fn_c_try_run "$LINENO"; then :
28649
 
+  gl_cv_func_getcwd_abort_bug=no
28650
 
+else
28651
 
+          test $? -gt 128 \
28652
 
+      && gl_cv_func_getcwd_abort_bug=yes \
28653
 
+      || gl_cv_func_getcwd_abort_bug=no
28654
 
+fi
28655
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28656
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
28657
 
+fi
28658
 
+
28659
 
+  
28660
 
+fi
28661
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_abort_bug" >&5
28662
 
+$as_echo "$gl_cv_func_getcwd_abort_bug" >&6; }
28663
 
+  if test $gl_cv_func_getcwd_abort_bug = yes; then :
28664
 
+  gl_abort_bug=yes
28665
 
+fi
28666
 
+;;
28667
 
+  esac
28668
 
+
28669
 
+  case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_posix_signature$gl_cv_func_getcwd_path_max,$gl_abort_bug in
28670
 
+  *yes,yes,yes,no) ;;
28671
 
+  *)
28672
 
+        REPLACE_GETCWD=1;;
28673
 
+  esac
28674
 
+
28675
 
+if test $REPLACE_GETCWD = 1; then
28676
 
+  
28677
 
+  
28678
 
+  
28679
 
+    
28680
 
+      
28681
 
+      
28682
 
+    
28683
 
+  
28684
 
+  gl_LIBOBJS="$gl_LIBOBJS getcwd.$ac_objext"
28685
 
+
28686
 
+  
28687
 
+  
28688
 
+  
28689
 
+  :
28690
 
+
28691
 
+fi
28692
 
+
28693
 
+  
28694
 
+cat >>confdefs.h <<_ACEOF
28695
 
+@%:@define GNULIB_GETCWD 1
28696
 
+_ACEOF
28697
 
+
28698
 
+
28699
 
+
28700
 
+    
28701
 
+  
28702
 
+  
28703
 
+  
28704
 
+          GNULIB_GETCWD=1
28705
 
+    
28706
 
+
28707
 
+
28708
 
+    
28709
 
+  
28710
 
+$as_echo "@%:@define GNULIB_TEST_GETCWD 1" >>confdefs.h
28711
 
+
28712
 
+
28713
 
+
28714
 
+
28715
 
+  
28716
 
+  
28717
 
+  
28718
 
+
28719
 
+  case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_posix_signature in
28720
 
+  *yes,yes) ;;
28721
 
+  *)
28722
 
+        REPLACE_GETCWD=1
28723
 
+    ;;
28724
 
+  esac
28725
 
+
28726
 
+if test $REPLACE_GETCWD = 1; then
28727
 
+  
28728
 
+  
28729
 
+  
28730
 
+    
28731
 
+      
28732
 
+      
28733
 
+    
28734
 
+  
28735
 
+  gl_LIBOBJS="$gl_LIBOBJS getcwd-lgpl.$ac_objext"
28736
 
+
28737
 
+fi
28738
 
+
28739
 
+    
28740
 
+  
28741
 
+  
28742
 
+  
28743
 
+          GNULIB_GETCWD=1
28744
 
+    
28745
 
+
28746
 
+
28747
 
+    
28748
 
+  
28749
 
+$as_echo "@%:@define GNULIB_TEST_GETCWD 1" >>confdefs.h
28750
 
+
28751
 
+
28752
 
+
28753
 
+
28754
 
+  
28755
 
+
28756
 
+    
28757
 
+
28758
 
+  
28759
 
+
28760
 
+  
28761
 
+  if test $ac_cv_func_getdelim = yes; then
28762
 
+    HAVE_GETDELIM=1
28763
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getdelim function" >&5
28764
 
+$as_echo_n "checking for working getdelim function... " >&6; }
28765
 
+if ${gl_cv_func_working_getdelim+:} false; then :
28766
 
+  $as_echo_n "(cached) " >&6
28767
 
+else
28768
 
+  echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data
28769
 
+    if test "$cross_compiling" = yes; then :
28770
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28771
 
+/* end confdefs.h.  */
28772
 
+
28773
 
+#include <features.h>
28774
 
+#ifdef __GNU_LIBRARY__
28775
 
+ #if (__GLIBC__ >= 2) && !defined __UCLIBC__
28776
 
+  Lucky GNU user
28777
 
+ #endif
28778
 
+#endif
28779
 
+         
28780
 
+_ACEOF
28781
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28782
 
+  $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
28783
 
+  gl_cv_func_working_getdelim=yes
28784
 
+else
28785
 
+  gl_cv_func_working_getdelim=no
28786
 
+fi
28787
 
+rm -f conftest*
28788
 
+
28789
 
+    
28790
 
+else
28791
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28792
 
+/* end confdefs.h.  */
28793
 
+
28794
 
+#    include <stdio.h>
28795
 
+#    include <stdlib.h>
28796
 
+#    include <string.h>
28797
 
+    int main ()
28798
 
+    {
28799
 
+      FILE *in = fopen ("./conftest.data", "r");
28800
 
+      if (!in)
28801
 
+        return 1;
28802
 
+      {
28803
 
+        /* Test result for a NULL buffer and a zero size.
28804
 
+           Based on a test program from Karl Heuer.  */
28805
 
+        char *line = NULL;
28806
 
+        size_t siz = 0;
28807
 
+        int len = getdelim (&line, &siz, '\n', in);
28808
 
+        if (!(len == 4 && line && strcmp (line, "foo\n") == 0))
28809
 
+          return 2;
28810
 
+      }
28811
 
+      {
28812
 
+        /* Test result for a NULL buffer and a non-zero size.
28813
 
+           This crashes on FreeBSD 8.0.  */
28814
 
+        char *line = NULL;
28815
 
+        size_t siz = (size_t)(~0) / 4;
28816
 
+        if (getdelim (&line, &siz, '\n', in) == -1)
28817
 
+          return 3;
28818
 
+      }
28819
 
+      return 0;
28820
 
+    }
28821
 
+    
28822
 
+_ACEOF
28823
 
+if ac_fn_c_try_run "$LINENO"; then :
28824
 
+  gl_cv_func_working_getdelim=yes     
28825
 
+else
28826
 
+  gl_cv_func_working_getdelim=no     
28827
 
+fi
28828
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28829
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
28830
 
+fi
28831
 
+
28832
 
+fi
28833
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_getdelim" >&5
28834
 
+$as_echo "$gl_cv_func_working_getdelim" >&6; }
28835
 
+    if test $gl_cv_func_working_getdelim = no; then
28836
 
+      REPLACE_GETDELIM=1
28837
 
+    fi
28838
 
+  else
28839
 
+    HAVE_GETDELIM=0
28840
 
+  fi
28841
 
+
28842
 
+  if test $ac_cv_have_decl_getdelim = no; then
28843
 
+    HAVE_DECL_GETDELIM=0
28844
 
+  fi
28845
 
+
28846
 
+if test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1; then
28847
 
+  
28848
 
+  
28849
 
+  
28850
 
+    
28851
 
+      
28852
 
+      
28853
 
+    
28854
 
+  
28855
 
+  gl_LIBOBJS="$gl_LIBOBJS getdelim.$ac_objext"
28856
 
+
28857
 
+  
28858
 
+  for ac_func in flockfile funlockfile
28859
 
+do :
28860
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28861
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28862
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28863
 
+  cat >>confdefs.h <<_ACEOF
28864
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28865
 
+_ACEOF
28866
 
28867
 
+fi
28868
 
+done
28869
 
+
28870
 
+  ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
28871
 
+if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
28872
 
+  ac_have_decl=1
28873
 
+else
28874
 
+  ac_have_decl=0
28875
 
+fi
28876
 
+
28877
 
+cat >>confdefs.h <<_ACEOF
28878
 
+@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
28879
 
+_ACEOF
28880
 
+
28881
 
+
28882
 
+fi
28883
 
+
28884
 
+    
28885
 
+  
28886
 
+  
28887
 
+  
28888
 
+          GNULIB_GETDELIM=1
28889
 
+    
28890
 
+
28891
 
+
28892
 
+    
28893
 
+  
28894
 
+$as_echo "@%:@define GNULIB_TEST_GETDELIM 1" >>confdefs.h
28895
 
+
28896
 
+
28897
 
+
28898
 
+
28899
 
+  
28900
 
+  
28901
 
+  if test $ac_cv_func_getdtablesize != yes; then
28902
 
+    HAVE_GETDTABLESIZE=0
28903
 
+  fi
28904
 
+
28905
 
+if test $HAVE_GETDTABLESIZE = 0; then
28906
 
+  
28907
 
+  
28908
 
+  
28909
 
+    
28910
 
+      
28911
 
+      
28912
 
+    
28913
 
+  
28914
 
+  gl_LIBOBJS="$gl_LIBOBJS getdtablesize.$ac_objext"
28915
 
+
28916
 
+fi
28917
 
+
28918
 
+    
28919
 
+  
28920
 
+  
28921
 
+  
28922
 
+          GNULIB_GETDTABLESIZE=1
28923
 
+    
28924
 
+
28925
 
+
28926
 
+    
28927
 
+  
28928
 
+$as_echo "@%:@define GNULIB_TEST_GETDTABLESIZE 1" >>confdefs.h
28929
 
+
28930
 
+
28931
 
+
28932
 
+
28933
 
+  
28934
 
+  
28935
 
+  
28936
 
+  if test "$ac_cv_func_getgroups" != yes; then
28937
 
+    HAVE_GETGROUPS=0
28938
 
+  elif test "$ac_cv_func_getgroups_works.$ac_cv_type_getgroups" != yes.gid_t
28939
 
+  then
28940
 
+    REPLACE_GETGROUPS=1
28941
 
+    
28942
 
+$as_echo "@%:@define GETGROUPS_ZERO_BUG 1" >>confdefs.h
28943
 
+
28944
 
+  else
28945
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getgroups handles negative values" >&5
28946
 
+$as_echo_n "checking whether getgroups handles negative values... " >&6; }
28947
 
+if ${gl_cv_func_getgroups_works+:} false; then :
28948
 
+  $as_echo_n "(cached) " >&6
28949
 
+else
28950
 
+  if test "$cross_compiling" = yes; then :
28951
 
+  gl_cv_func_getgroups_works="guessing no"
28952
 
+else
28953
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28954
 
+/* end confdefs.h.  */
28955
 
+$ac_includes_default
28956
 
+int
28957
 
+main ()
28958
 
+{
28959
 
+int size = getgroups (0, 0);
28960
 
+          gid_t *list = malloc (size * sizeof *list);
28961
 
+          return getgroups (-1, list) != -1;
28962
 
+  ;
28963
 
+  return 0;
28964
 
+}
28965
 
+_ACEOF
28966
 
+if ac_fn_c_try_run "$LINENO"; then :
28967
 
+  gl_cv_func_getgroups_works=yes
28968
 
+else
28969
 
+  gl_cv_func_getgroups_works=no
28970
 
+fi
28971
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28972
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
28973
 
+fi
28974
 
+
28975
 
+fi
28976
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getgroups_works" >&5
28977
 
+$as_echo "$gl_cv_func_getgroups_works" >&6; }
28978
 
+    if test "$gl_cv_func_getgroups_works" != yes; then
28979
 
+      REPLACE_GETGROUPS=1
28980
 
+    fi
28981
 
+  fi
28982
 
+  test -n "$GETGROUPS_LIB" && LIBS="$GETGROUPS_LIB $LIBS"
28983
 
+
28984
 
+if test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1; then
28985
 
+  
28986
 
+  
28987
 
+  
28988
 
+    
28989
 
+      
28990
 
+      
28991
 
+    
28992
 
+  
28993
 
+  gl_LIBOBJS="$gl_LIBOBJS getgroups.$ac_objext"
28994
 
+
28995
 
+fi
28996
 
+
28997
 
+    
28998
 
+  
28999
 
+  
29000
 
+  
29001
 
+          GNULIB_GETGROUPS=1
29002
 
+    
29003
 
+
29004
 
+
29005
 
+    
29006
 
+  
29007
 
+$as_echo "@%:@define GNULIB_TEST_GETGROUPS 1" >>confdefs.h
29008
 
+
29009
 
+
29010
 
+
29011
 
+
29012
 
+  
29013
 
+  
29014
 
+  
29015
 
+  
29016
 
+  
29017
 
+  if test $ac_cv_header_sys_socket_h != yes; then
29018
 
+                    for ac_header in winsock2.h
29019
 
+do :
29020
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
29021
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
29022
 
+  cat >>confdefs.h <<_ACEOF
29023
 
+@%:@define HAVE_WINSOCK2_H 1
29024
 
+_ACEOF
29025
 
29026
 
+fi
29027
 
+
29028
 
+done
29029
 
+
29030
 
+  fi
29031
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
29032
 
+    HAVE_WINSOCK2_H=1
29033
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
29034
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
29035
 
+  else
29036
 
+    HAVE_WINSOCK2_H=0
29037
 
+  fi
29038
 
+  
29039
 
+
29040
 
+
29041
 
+        GETHOSTNAME_LIB=
29042
 
+  for ac_func in gethostname
29043
 
+do :
29044
 
+  ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname"
29045
 
+if test "x$ac_cv_func_gethostname" = xyes; then :
29046
 
+  cat >>confdefs.h <<_ACEOF
29047
 
+@%:@define HAVE_GETHOSTNAME 1
29048
 
+_ACEOF
29049
 
29050
 
+else
29051
 
+  
29052
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in winsock2.h and -lws2_32" >&5
29053
 
+$as_echo_n "checking for gethostname in winsock2.h and -lws2_32... " >&6; }
29054
 
+if ${gl_cv_w32_gethostname+:} false; then :
29055
 
+  $as_echo_n "(cached) " >&6
29056
 
+else
29057
 
+  gl_cv_w32_gethostname=no
29058
 
+       gl_save_LIBS="$LIBS"
29059
 
+       LIBS="$LIBS -lws2_32"
29060
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29061
 
+/* end confdefs.h.  */
29062
 
+
29063
 
+#ifdef HAVE_WINSOCK2_H
29064
 
+#include <winsock2.h>
29065
 
+#endif
29066
 
+#include <stddef.h>
29067
 
+
29068
 
+int
29069
 
+main ()
29070
 
+{
29071
 
+gethostname(NULL, 0);
29072
 
+  ;
29073
 
+  return 0;
29074
 
+}
29075
 
+_ACEOF
29076
 
+if ac_fn_c_try_link "$LINENO"; then :
29077
 
+  gl_cv_w32_gethostname=yes
29078
 
+fi
29079
 
+rm -f core conftest.err conftest.$ac_objext \
29080
 
+    conftest$ac_exeext conftest.$ac_ext
29081
 
+       LIBS="$gl_save_LIBS"
29082
 
+      
29083
 
+fi
29084
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostname" >&5
29085
 
+$as_echo "$gl_cv_w32_gethostname" >&6; }
29086
 
+    if test "$gl_cv_w32_gethostname" = "yes"; then
29087
 
+      GETHOSTNAME_LIB="-lws2_32"
29088
 
+    fi
29089
 
+  
29090
 
+fi
29091
 
+done
29092
 
+
29093
 
+  
29094
 
+
29095
 
+  if test "$ac_cv_func_gethostname" = no; then
29096
 
+    HAVE_GETHOSTNAME=0
29097
 
+  fi
29098
 
+
29099
 
+                            
29100
 
+  
29101
 
+  
29102
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HOST_NAME_MAX" >&5
29103
 
+$as_echo_n "checking for HOST_NAME_MAX... " >&6; }
29104
 
+if ${gl_cv_decl_HOST_NAME_MAX+:} false; then :
29105
 
+  $as_echo_n "(cached) " >&6
29106
 
+else
29107
 
+  
29108
 
+    gl_cv_decl_HOST_NAME_MAX=
29109
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29110
 
+/* end confdefs.h.  */
29111
 
+
29112
 
+#include <limits.h>
29113
 
+#ifdef HOST_NAME_MAX
29114
 
+lucky
29115
 
+#endif
29116
 
+      
29117
 
+_ACEOF
29118
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29119
 
+  $EGREP "lucky" >/dev/null 2>&1; then :
29120
 
+  gl_cv_decl_HOST_NAME_MAX=yes
29121
 
+fi
29122
 
+rm -f conftest*
29123
 
+
29124
 
+    if test -z "$gl_cv_decl_HOST_NAME_MAX"; then
29125
 
+            if test "$gl_cv_w32_gethostname" = yes; then
29126
 
+                gl_cv_decl_HOST_NAME_MAX=256
29127
 
+      else
29128
 
+        if ac_fn_c_compute_int "$LINENO" "MAXHOSTNAMELEN" "gl_cv_decl_HOST_NAME_MAX"        "
29129
 
+#include <sys/types.h>
29130
 
+#if HAVE_SYS_PARAM_H
29131
 
+# include <sys/param.h>
29132
 
+#endif
29133
 
+#if HAVE_SYS_SOCKET_H
29134
 
+# include <sys/socket.h>
29135
 
+#endif
29136
 
+#if HAVE_NETDB_H
29137
 
+# include <netdb.h>
29138
 
+#endif
29139
 
+"; then :
29140
 
+  
29141
 
+else
29142
 
+                        gl_cv_decl_HOST_NAME_MAX=256
29143
 
+          
29144
 
+fi
29145
 
+
29146
 
+
29147
 
+      fi
29148
 
+    fi
29149
 
+  
29150
 
+fi
29151
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_HOST_NAME_MAX" >&5
29152
 
+$as_echo "$gl_cv_decl_HOST_NAME_MAX" >&6; }
29153
 
+  if test "$gl_cv_decl_HOST_NAME_MAX" != yes; then
29154
 
+    
29155
 
+cat >>confdefs.h <<_ACEOF
29156
 
+@%:@define HOST_NAME_MAX $gl_cv_decl_HOST_NAME_MAX
29157
 
+_ACEOF
29158
 
+
29159
 
+  fi
29160
 
+
29161
 
+if test $HAVE_GETHOSTNAME = 0; then
29162
 
+  
29163
 
+  
29164
 
+  
29165
 
+    
29166
 
+      
29167
 
+      
29168
 
+    
29169
 
+  
29170
 
+  gl_LIBOBJS="$gl_LIBOBJS gethostname.$ac_objext"
29171
 
+
29172
 
+  
29173
 
+  if test "$gl_cv_w32_gethostname" != "yes"; then
29174
 
+    for ac_func in uname
29175
 
+do :
29176
 
+  ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname"
29177
 
+if test "x$ac_cv_func_uname" = xyes; then :
29178
 
+  cat >>confdefs.h <<_ACEOF
29179
 
+@%:@define HAVE_UNAME 1
29180
 
+_ACEOF
29181
 
29182
 
+fi
29183
 
+done
29184
 
+
29185
 
+  fi
29186
 
+
29187
 
+fi
29188
 
+
29189
 
+    
29190
 
+  
29191
 
+  
29192
 
+  
29193
 
+          GNULIB_GETHOSTNAME=1
29194
 
+    
29195
 
+
29196
 
+
29197
 
+    
29198
 
+  
29199
 
+$as_echo "@%:@define GNULIB_TEST_GETHOSTNAME 1" >>confdefs.h
29200
 
+
29201
 
+
29202
 
+
29203
 
+
29204
 
+  
29205
 
+  
29206
 
+  
29207
 
+  ac_fn_c_check_decl "$LINENO" "gethrtime" "ac_cv_have_decl_gethrtime" "#include <time.h>
29208
 
+"
29209
 
+if test "x$ac_cv_have_decl_gethrtime" = xyes; then :
29210
 
+  ac_have_decl=1
29211
 
+else
29212
 
+  ac_have_decl=0
29213
 
+fi
29214
 
+
29215
 
+cat >>confdefs.h <<_ACEOF
29216
 
+@%:@define HAVE_DECL_GETHRTIME $ac_have_decl
29217
 
+_ACEOF
29218
 
+
29219
 
+  LIB_GETHRXTIME=
29220
 
+  if test $ac_cv_have_decl_gethrtime = no \
29221
 
+     || test $gl_cv_arithmetic_hrtime_t = no; then
29222
 
+        
29223
 
+    
29224
 
+    
29225
 
+    if test $ac_cv_func_nanouptime != yes; then
29226
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CLOCK_MONOTONIC or CLOCK_REALTIME is defined" >&5
29227
 
+$as_echo_n "checking whether CLOCK_MONOTONIC or CLOCK_REALTIME is defined... " >&6; }
29228
 
+if ${gl_cv_have_clock_gettime_macro+:} false; then :
29229
 
+  $as_echo_n "(cached) " >&6
29230
 
+else
29231
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29232
 
+/* end confdefs.h.  */
29233
 
+
29234
 
+#          include <time.h>
29235
 
+#          if defined CLOCK_MONOTONIC || defined CLOCK_REALTIME
29236
 
+            have_clock_gettime_macro
29237
 
+#          endif
29238
 
+          
29239
 
+_ACEOF
29240
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29241
 
+  $EGREP "have_clock_gettime_macro" >/dev/null 2>&1; then :
29242
 
+  gl_cv_have_clock_gettime_macro=yes
29243
 
+else
29244
 
+  gl_cv_have_clock_gettime_macro=no
29245
 
+fi
29246
 
+rm -f conftest*
29247
 
+
29248
 
+fi
29249
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_clock_gettime_macro" >&5
29250
 
+$as_echo "$gl_cv_have_clock_gettime_macro" >&6; }
29251
 
+      if test $gl_cv_have_clock_gettime_macro = yes; then
29252
 
+        LIB_GETHRXTIME=$LIB_CLOCK_GETTIME
29253
 
+      fi
29254
 
+    fi
29255
 
+  fi
29256
 
+  
29257
 
+
29258
 
+if test $ac_cv_have_decl_gethrtime = no || test $gl_cv_arithmetic_hrtime_t = no; then
29259
 
+  
29260
 
+  
29261
 
+  
29262
 
+    
29263
 
+      
29264
 
+      
29265
 
+    
29266
 
+  
29267
 
+  gl_LIBOBJS="$gl_LIBOBJS gethrxtime.$ac_objext"
29268
 
+
29269
 
+  
29270
 
+  
29271
 
+  :
29272
 
+
29273
 
+fi
29274
 
+
29275
 
+  
29276
 
+
29277
 
+    
29278
 
+
29279
 
+  
29280
 
+
29281
 
+  gl_getline_needs_run_time_check=no
29282
 
+  ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline"
29283
 
+if test "x$ac_cv_func_getline" = xyes; then :
29284
 
+                   gl_getline_needs_run_time_check=yes
29285
 
+else
29286
 
+  am_cv_func_working_getline=no
29287
 
+fi
29288
 
+
29289
 
+  if test $gl_getline_needs_run_time_check = yes; then
29290
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getline function" >&5
29291
 
+$as_echo_n "checking for working getline function... " >&6; }
29292
 
+if ${am_cv_func_working_getline+:} false; then :
29293
 
+  $as_echo_n "(cached) " >&6
29294
 
+else
29295
 
+  echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data
29296
 
+    if test "$cross_compiling" = yes; then :
29297
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29298
 
+/* end confdefs.h.  */
29299
 
+
29300
 
+#include <features.h>
29301
 
+#ifdef __GNU_LIBRARY__
29302
 
+ #if (__GLIBC__ >= 2) && !defined __UCLIBC__
29303
 
+  Lucky GNU user
29304
 
+ #endif
29305
 
+#endif
29306
 
+         
29307
 
+_ACEOF
29308
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29309
 
+  $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
29310
 
+  am_cv_func_working_getline=yes
29311
 
+else
29312
 
+  am_cv_func_working_getline=no
29313
 
+fi
29314
 
+rm -f conftest*
29315
 
+
29316
 
+    
29317
 
+else
29318
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29319
 
+/* end confdefs.h.  */
29320
 
+
29321
 
+#    include <stdio.h>
29322
 
+#    include <stdlib.h>
29323
 
+#    include <string.h>
29324
 
+    int main ()
29325
 
+    {
29326
 
+      FILE *in = fopen ("./conftest.data", "r");
29327
 
+      if (!in)
29328
 
+        return 1;
29329
 
+      {
29330
 
+        /* Test result for a NULL buffer and a zero size.
29331
 
+           Based on a test program from Karl Heuer.  */
29332
 
+        char *line = NULL;
29333
 
+        size_t siz = 0;
29334
 
+        int len = getline (&line, &siz, in);
29335
 
+        if (!(len == 4 && line && strcmp (line, "foo\n") == 0))
29336
 
+          return 2;
29337
 
+      }
29338
 
+      {
29339
 
+        /* Test result for a NULL buffer and a non-zero size.
29340
 
+           This crashes on FreeBSD 8.0.  */
29341
 
+        char *line = NULL;
29342
 
+        size_t siz = (size_t)(~0) / 4;
29343
 
+        if (getline (&line, &siz, in) == -1)
29344
 
+          return 3;
29345
 
+      }
29346
 
+      return 0;
29347
 
+    }
29348
 
+    
29349
 
+_ACEOF
29350
 
+if ac_fn_c_try_run "$LINENO"; then :
29351
 
+  am_cv_func_working_getline=yes     
29352
 
+else
29353
 
+  am_cv_func_working_getline=no     
29354
 
+fi
29355
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29356
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
29357
 
+fi
29358
 
+
29359
 
+fi
29360
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_working_getline" >&5
29361
 
+$as_echo "$am_cv_func_working_getline" >&6; }
29362
 
+  fi
29363
 
+
29364
 
+  if test $ac_cv_have_decl_getline = no; then
29365
 
+    HAVE_DECL_GETLINE=0
29366
 
+  fi
29367
 
+
29368
 
+  if test $am_cv_func_working_getline = no; then
29369
 
+                REPLACE_GETLINE=1
29370
 
+  fi
29371
 
+
29372
 
+if test $REPLACE_GETLINE = 1; then
29373
 
+  
29374
 
+  
29375
 
+  
29376
 
+    
29377
 
+      
29378
 
+      
29379
 
+    
29380
 
+  
29381
 
+  gl_LIBOBJS="$gl_LIBOBJS getline.$ac_objext"
29382
 
+
29383
 
+  
29384
 
+  :
29385
 
+
29386
 
+fi
29387
 
+
29388
 
+    
29389
 
+  
29390
 
+  
29391
 
+  
29392
 
+          GNULIB_GETLINE=1
29393
 
+    
29394
 
+
29395
 
+
29396
 
+    
29397
 
+  
29398
 
+$as_echo "@%:@define GNULIB_TEST_GETLINE 1" >>confdefs.h
29399
 
+
29400
 
+
29401
 
+
29402
 
+
29403
 
+
29404
 
+# Persuade glibc <stdlib.h> to declare getloadavg().
29405
 
+
29406
 
+
29407
 
+gl_save_LIBS=$LIBS
29408
 
+
29409
 
+# getloadvg is present in libc on glibc >= 2.2, MacOS X, FreeBSD >= 2.0,
29410
 
+# NetBSD >= 0.9, OpenBSD >= 2.0, Solaris >= 7.
29411
 
+HAVE_GETLOADAVG=1
29412
 
+ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
29413
 
+if test "x$ac_cv_func_getloadavg" = xyes; then :
29414
 
+  
29415
 
+else
29416
 
+  gl_func_getloadavg_done=no
29417
 
+
29418
 
+   # Some systems with -lutil have (and need) -lkvm as well, some do not.
29419
 
+   # On Solaris, -lkvm requires nlist from -lelf, so check that first
29420
 
+   # to get the right answer into the cache.
29421
 
+   # For kstat on solaris, we need to test for libelf and libkvm to force the
29422
 
+   # definition of SVR4 below.
29423
 
+   if test $gl_func_getloadavg_done = no; then
29424
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
29425
 
+$as_echo_n "checking for elf_begin in -lelf... " >&6; }
29426
 
+if ${ac_cv_lib_elf_elf_begin+:} false; then :
29427
 
+  $as_echo_n "(cached) " >&6
29428
 
+else
29429
 
+  ac_check_lib_save_LIBS=$LIBS
29430
 
+LIBS="-lelf  $LIBS"
29431
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29432
 
+/* end confdefs.h.  */
29433
 
+
29434
 
+/* Override any GCC internal prototype to avoid an error.
29435
 
+   Use char because int might match the return type of a GCC
29436
 
+   builtin and then its argument prototype would still apply.  */
29437
 
+#ifdef __cplusplus
29438
 
+extern "C"
29439
 
+#endif
29440
 
+char elf_begin ();
29441
 
+int
29442
 
+main ()
29443
 
+{
29444
 
+return elf_begin ();
29445
 
+  ;
29446
 
+  return 0;
29447
 
+}
29448
 
+_ACEOF
29449
 
+if ac_fn_c_try_link "$LINENO"; then :
29450
 
+  ac_cv_lib_elf_elf_begin=yes
29451
 
+else
29452
 
+  ac_cv_lib_elf_elf_begin=no
29453
 
+fi
29454
 
+rm -f core conftest.err conftest.$ac_objext \
29455
 
+    conftest$ac_exeext conftest.$ac_ext
29456
 
+LIBS=$ac_check_lib_save_LIBS
29457
 
+fi
29458
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5
29459
 
+$as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
29460
 
+if test "x$ac_cv_lib_elf_elf_begin" = xyes; then :
29461
 
+  LIBS="-lelf $LIBS"
29462
 
+fi
29463
 
+
29464
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5
29465
 
+$as_echo_n "checking for kvm_open in -lkvm... " >&6; }
29466
 
+if ${ac_cv_lib_kvm_kvm_open+:} false; then :
29467
 
+  $as_echo_n "(cached) " >&6
29468
 
+else
29469
 
+  ac_check_lib_save_LIBS=$LIBS
29470
 
+LIBS="-lkvm  $LIBS"
29471
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29472
 
+/* end confdefs.h.  */
29473
 
+
29474
 
+/* Override any GCC internal prototype to avoid an error.
29475
 
+   Use char because int might match the return type of a GCC
29476
 
+   builtin and then its argument prototype would still apply.  */
29477
 
+#ifdef __cplusplus
29478
 
+extern "C"
29479
 
+#endif
29480
 
+char kvm_open ();
29481
 
+int
29482
 
+main ()
29483
 
+{
29484
 
+return kvm_open ();
29485
 
+  ;
29486
 
+  return 0;
29487
 
+}
29488
 
+_ACEOF
29489
 
+if ac_fn_c_try_link "$LINENO"; then :
29490
 
+  ac_cv_lib_kvm_kvm_open=yes
29491
 
+else
29492
 
+  ac_cv_lib_kvm_kvm_open=no
29493
 
+fi
29494
 
+rm -f core conftest.err conftest.$ac_objext \
29495
 
+    conftest$ac_exeext conftest.$ac_ext
29496
 
+LIBS=$ac_check_lib_save_LIBS
29497
 
+fi
29498
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5
29499
 
+$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
29500
 
+if test "x$ac_cv_lib_kvm_kvm_open" = xyes; then :
29501
 
+  LIBS="-lkvm $LIBS"
29502
 
+fi
29503
 
+
29504
 
+     # Check for the 4.4BSD definition of getloadavg.
29505
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5
29506
 
+$as_echo_n "checking for getloadavg in -lutil... " >&6; }
29507
 
+if ${ac_cv_lib_util_getloadavg+:} false; then :
29508
 
+  $as_echo_n "(cached) " >&6
29509
 
+else
29510
 
+  ac_check_lib_save_LIBS=$LIBS
29511
 
+LIBS="-lutil  $LIBS"
29512
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29513
 
+/* end confdefs.h.  */
29514
 
+
29515
 
+/* Override any GCC internal prototype to avoid an error.
29516
 
+   Use char because int might match the return type of a GCC
29517
 
+   builtin and then its argument prototype would still apply.  */
29518
 
+#ifdef __cplusplus
29519
 
+extern "C"
29520
 
+#endif
29521
 
+char getloadavg ();
29522
 
+int
29523
 
+main ()
29524
 
+{
29525
 
+return getloadavg ();
29526
 
+  ;
29527
 
+  return 0;
29528
 
+}
29529
 
+_ACEOF
29530
 
+if ac_fn_c_try_link "$LINENO"; then :
29531
 
+  ac_cv_lib_util_getloadavg=yes
29532
 
+else
29533
 
+  ac_cv_lib_util_getloadavg=no
29534
 
+fi
29535
 
+rm -f core conftest.err conftest.$ac_objext \
29536
 
+    conftest$ac_exeext conftest.$ac_ext
29537
 
+LIBS=$ac_check_lib_save_LIBS
29538
 
+fi
29539
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5
29540
 
+$as_echo "$ac_cv_lib_util_getloadavg" >&6; }
29541
 
+if test "x$ac_cv_lib_util_getloadavg" = xyes; then :
29542
 
+  LIBS="-lutil $LIBS" gl_func_getloadavg_done=yes
29543
 
+fi
29544
 
+
29545
 
+   fi
29546
 
+
29547
 
+   if test $gl_func_getloadavg_done = no; then
29548
 
+     # There is a commonly available library for RS/6000 AIX.
29549
 
+     # Since it is not a standard part of AIX, it might be installed locally.
29550
 
+     gl_getloadavg_LIBS=$LIBS
29551
 
+     LIBS="-L/usr/local/lib $LIBS"
29552
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5
29553
 
+$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
29554
 
+if ${ac_cv_lib_getloadavg_getloadavg+:} false; then :
29555
 
+  $as_echo_n "(cached) " >&6
29556
 
+else
29557
 
+  ac_check_lib_save_LIBS=$LIBS
29558
 
+LIBS="-lgetloadavg  $LIBS"
29559
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29560
 
+/* end confdefs.h.  */
29561
 
+
29562
 
+/* Override any GCC internal prototype to avoid an error.
29563
 
+   Use char because int might match the return type of a GCC
29564
 
+   builtin and then its argument prototype would still apply.  */
29565
 
+#ifdef __cplusplus
29566
 
+extern "C"
29567
 
+#endif
29568
 
+char getloadavg ();
29569
 
+int
29570
 
+main ()
29571
 
+{
29572
 
+return getloadavg ();
29573
 
+  ;
29574
 
+  return 0;
29575
 
+}
29576
 
+_ACEOF
29577
 
+if ac_fn_c_try_link "$LINENO"; then :
29578
 
+  ac_cv_lib_getloadavg_getloadavg=yes
29579
 
+else
29580
 
+  ac_cv_lib_getloadavg_getloadavg=no
29581
 
+fi
29582
 
+rm -f core conftest.err conftest.$ac_objext \
29583
 
+    conftest$ac_exeext conftest.$ac_ext
29584
 
+LIBS=$ac_check_lib_save_LIBS
29585
 
+fi
29586
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5
29587
 
+$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
29588
 
+if test "x$ac_cv_lib_getloadavg_getloadavg" = xyes; then :
29589
 
+  LIBS="-lgetloadavg $LIBS" gl_func_getloadavg_done=yes
29590
 
+else
29591
 
+  LIBS=$gl_getloadavg_LIBS
29592
 
+fi
29593
 
+
29594
 
+   fi
29595
 
+
29596
 
+   # Set up the replacement function if necessary.
29597
 
+   if test $gl_func_getloadavg_done = no; then
29598
 
+     HAVE_GETLOADAVG=0
29599
 
+
29600
 
+     # Solaris has libkstat which does not require root.
29601
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
29602
 
+$as_echo_n "checking for kstat_open in -lkstat... " >&6; }
29603
 
+if ${ac_cv_lib_kstat_kstat_open+:} false; then :
29604
 
+  $as_echo_n "(cached) " >&6
29605
 
+else
29606
 
+  ac_check_lib_save_LIBS=$LIBS
29607
 
+LIBS="-lkstat  $LIBS"
29608
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29609
 
+/* end confdefs.h.  */
29610
 
+
29611
 
+/* Override any GCC internal prototype to avoid an error.
29612
 
+   Use char because int might match the return type of a GCC
29613
 
+   builtin and then its argument prototype would still apply.  */
29614
 
+#ifdef __cplusplus
29615
 
+extern "C"
29616
 
+#endif
29617
 
+char kstat_open ();
29618
 
+int
29619
 
+main ()
29620
 
+{
29621
 
+return kstat_open ();
29622
 
+  ;
29623
 
+  return 0;
29624
 
+}
29625
 
+_ACEOF
29626
 
+if ac_fn_c_try_link "$LINENO"; then :
29627
 
+  ac_cv_lib_kstat_kstat_open=yes
29628
 
+else
29629
 
+  ac_cv_lib_kstat_kstat_open=no
29630
 
+fi
29631
 
+rm -f core conftest.err conftest.$ac_objext \
29632
 
+    conftest$ac_exeext conftest.$ac_ext
29633
 
+LIBS=$ac_check_lib_save_LIBS
29634
 
+fi
29635
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
29636
 
+$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
29637
 
+if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
29638
 
+  cat >>confdefs.h <<_ACEOF
29639
 
+@%:@define HAVE_LIBKSTAT 1
29640
 
+_ACEOF
29641
 
+
29642
 
+  LIBS="-lkstat $LIBS"
29643
 
+
29644
 
+fi
29645
 
+
29646
 
+     test $ac_cv_lib_kstat_kstat_open = yes && gl_func_getloadavg_done=yes
29647
 
+
29648
 
+     # AIX has libperfstat which does not require root
29649
 
+     if test $gl_func_getloadavg_done = no; then
29650
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perfstat_cpu_total in -lperfstat" >&5
29651
 
+$as_echo_n "checking for perfstat_cpu_total in -lperfstat... " >&6; }
29652
 
+if ${ac_cv_lib_perfstat_perfstat_cpu_total+:} false; then :
29653
 
+  $as_echo_n "(cached) " >&6
29654
 
+else
29655
 
+  ac_check_lib_save_LIBS=$LIBS
29656
 
+LIBS="-lperfstat  $LIBS"
29657
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29658
 
+/* end confdefs.h.  */
29659
 
+
29660
 
+/* Override any GCC internal prototype to avoid an error.
29661
 
+   Use char because int might match the return type of a GCC
29662
 
+   builtin and then its argument prototype would still apply.  */
29663
 
+#ifdef __cplusplus
29664
 
+extern "C"
29665
 
+#endif
29666
 
+char perfstat_cpu_total ();
29667
 
+int
29668
 
+main ()
29669
 
+{
29670
 
+return perfstat_cpu_total ();
29671
 
+  ;
29672
 
+  return 0;
29673
 
+}
29674
 
+_ACEOF
29675
 
+if ac_fn_c_try_link "$LINENO"; then :
29676
 
+  ac_cv_lib_perfstat_perfstat_cpu_total=yes
29677
 
+else
29678
 
+  ac_cv_lib_perfstat_perfstat_cpu_total=no
29679
 
+fi
29680
 
+rm -f core conftest.err conftest.$ac_objext \
29681
 
+    conftest$ac_exeext conftest.$ac_ext
29682
 
+LIBS=$ac_check_lib_save_LIBS
29683
 
+fi
29684
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_perfstat_perfstat_cpu_total" >&5
29685
 
+$as_echo "$ac_cv_lib_perfstat_perfstat_cpu_total" >&6; }
29686
 
+if test "x$ac_cv_lib_perfstat_perfstat_cpu_total" = xyes; then :
29687
 
+  cat >>confdefs.h <<_ACEOF
29688
 
+@%:@define HAVE_LIBPERFSTAT 1
29689
 
+_ACEOF
29690
 
+
29691
 
+  LIBS="-lperfstat $LIBS"
29692
 
+
29693
 
+fi
29694
 
+
29695
 
+       test $ac_cv_lib_perfstat_perfstat_cpu_total = yes && gl_func_getloadavg_done=yes
29696
 
+     fi
29697
 
+
29698
 
+     if test $gl_func_getloadavg_done = no; then
29699
 
+       ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
29700
 
+if test "x$ac_cv_header_sys_dg_sys_info_h" = xyes; then :
29701
 
+  gl_func_getloadavg_done=yes
29702
 
+          
29703
 
+$as_echo "@%:@define DGUX 1" >>confdefs.h
29704
 
+
29705
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5
29706
 
+$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
29707
 
+if ${ac_cv_lib_dgc_dg_sys_info+:} false; then :
29708
 
+  $as_echo_n "(cached) " >&6
29709
 
+else
29710
 
+  ac_check_lib_save_LIBS=$LIBS
29711
 
+LIBS="-ldgc  $LIBS"
29712
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29713
 
+/* end confdefs.h.  */
29714
 
+
29715
 
+/* Override any GCC internal prototype to avoid an error.
29716
 
+   Use char because int might match the return type of a GCC
29717
 
+   builtin and then its argument prototype would still apply.  */
29718
 
+#ifdef __cplusplus
29719
 
+extern "C"
29720
 
+#endif
29721
 
+char dg_sys_info ();
29722
 
+int
29723
 
+main ()
29724
 
+{
29725
 
+return dg_sys_info ();
29726
 
+  ;
29727
 
+  return 0;
29728
 
+}
29729
 
+_ACEOF
29730
 
+if ac_fn_c_try_link "$LINENO"; then :
29731
 
+  ac_cv_lib_dgc_dg_sys_info=yes
29732
 
+else
29733
 
+  ac_cv_lib_dgc_dg_sys_info=no
29734
 
+fi
29735
 
+rm -f core conftest.err conftest.$ac_objext \
29736
 
+    conftest$ac_exeext conftest.$ac_ext
29737
 
+LIBS=$ac_check_lib_save_LIBS
29738
 
+fi
29739
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5
29740
 
+$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
29741
 
+if test "x$ac_cv_lib_dgc_dg_sys_info" = xyes; then :
29742
 
+  cat >>confdefs.h <<_ACEOF
29743
 
+@%:@define HAVE_LIBDGC 1
29744
 
+_ACEOF
29745
 
+
29746
 
+  LIBS="-ldgc $LIBS"
29747
 
+
29748
 
+fi
29749
 
+
29750
 
+fi
29751
 
+
29752
 
+
29753
 
+     fi
29754
 
+   fi
29755
 
+fi
29756
 
+
29757
 
+
29758
 
+if test "x$gl_save_LIBS" = x; then
29759
 
+  GETLOADAVG_LIBS=$LIBS
29760
 
+else
29761
 
+  GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$gl_save_LIBS!!"`
29762
 
+fi
29763
 
+LIBS=$gl_save_LIBS
29764
 
+
29765
 
+
29766
 
+# Test whether the system declares getloadavg. Solaris has the function
29767
 
+# but declares it in <sys/loadavg.h>, not <stdlib.h>.
29768
 
+for ac_header in sys/loadavg.h
29769
 
+do :
29770
 
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default"
29771
 
+if test "x$ac_cv_header_sys_loadavg_h" = xyes; then :
29772
 
+  cat >>confdefs.h <<_ACEOF
29773
 
+@%:@define HAVE_SYS_LOADAVG_H 1
29774
 
+_ACEOF
29775
 
29776
 
+fi
29777
 
+
29778
 
+done
29779
 
+
29780
 
+if test $ac_cv_header_sys_loadavg_h = yes; then
29781
 
+  HAVE_SYS_LOADAVG_H=1
29782
 
+else
29783
 
+  HAVE_SYS_LOADAVG_H=0
29784
 
+fi
29785
 
+ac_fn_c_check_decl "$LINENO" "getloadavg" "ac_cv_have_decl_getloadavg" "#if HAVE_SYS_LOADAVG_H
29786
 
+   # include <sys/loadavg.h>
29787
 
+   #endif
29788
 
+   #include <stdlib.h>
29789
 
+"
29790
 
+if test "x$ac_cv_have_decl_getloadavg" = xyes; then :
29791
 
+  
29792
 
+else
29793
 
+  HAVE_DECL_GETLOADAVG=0
29794
 
+fi
29795
 
+
29796
 
+
29797
 
+if test $HAVE_GETLOADAVG = 0; then
29798
 
+  
29799
 
+  
29800
 
+  
29801
 
+    
29802
 
+      
29803
 
+      
29804
 
+    
29805
 
+  
29806
 
+  gl_LIBOBJS="$gl_LIBOBJS getloadavg.$ac_objext"
29807
 
+
29808
 
+  
29809
 
+# Figure out what our getloadavg.c needs.
29810
 
+
29811
 
+# On HPUX9, an unprivileged user can get load averages this way.
29812
 
+if test $gl_func_getloadavg_done = no; then
29813
 
+  for ac_func in pstat_getdynamic
29814
 
+do :
29815
 
+  ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic"
29816
 
+if test "x$ac_cv_func_pstat_getdynamic" = xyes; then :
29817
 
+  cat >>confdefs.h <<_ACEOF
29818
 
+@%:@define HAVE_PSTAT_GETDYNAMIC 1
29819
 
+_ACEOF
29820
 
+ gl_func_getloadavg_done=yes
29821
 
+fi
29822
 
+done
29823
 
+
29824
 
+fi
29825
 
+
29826
 
+# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
29827
 
+# uses stabs), but it is still SVR4.  We cannot check for <elf.h> because
29828
 
+# Irix 4.0.5F has the header but not the library.
29829
 
+if test $gl_func_getloadavg_done = no && test "$ac_cv_lib_elf_elf_begin" = yes \
29830
 
+    && test "$ac_cv_lib_kvm_kvm_open" = yes; then
29831
 
+  gl_func_getloadavg_done=yes
29832
 
+  
29833
 
+$as_echo "@%:@define SVR4 1" >>confdefs.h
29834
 
+
29835
 
+fi
29836
 
+
29837
 
+if test $gl_func_getloadavg_done = no; then
29838
 
+  ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default"
29839
 
+if test "x$ac_cv_header_inq_stats_cpustats_h" = xyes; then :
29840
 
+  gl_func_getloadavg_done=yes
29841
 
+   
29842
 
+$as_echo "@%:@define UMAX 1" >>confdefs.h
29843
 
+
29844
 
+   
29845
 
+$as_echo "@%:@define UMAX4_3 1" >>confdefs.h
29846
 
+
29847
 
+fi
29848
 
+
29849
 
+
29850
 
+fi
29851
 
+
29852
 
+if test $gl_func_getloadavg_done = no; then
29853
 
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default"
29854
 
+if test "x$ac_cv_header_sys_cpustats_h" = xyes; then :
29855
 
+  gl_func_getloadavg_done=yes; $as_echo "@%:@define UMAX 1" >>confdefs.h
29856
 
+
29857
 
+fi
29858
 
+
29859
 
+
29860
 
+fi
29861
 
+
29862
 
+if test $gl_func_getloadavg_done = no; then
29863
 
+  for ac_header in mach/mach.h
29864
 
+do :
29865
 
+  ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
29866
 
+if test "x$ac_cv_header_mach_mach_h" = xyes; then :
29867
 
+  cat >>confdefs.h <<_ACEOF
29868
 
+@%:@define HAVE_MACH_MACH_H 1
29869
 
+_ACEOF
29870
 
29871
 
+fi
29872
 
+
29873
 
+done
29874
 
+
29875
 
+fi
29876
 
+
29877
 
+for ac_header in nlist.h
29878
 
+do :
29879
 
+  ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default"
29880
 
+if test "x$ac_cv_header_nlist_h" = xyes; then :
29881
 
+  cat >>confdefs.h <<_ACEOF
29882
 
+@%:@define HAVE_NLIST_H 1
29883
 
+_ACEOF
29884
 
+ ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "@%:@include <nlist.h>
29885
 
+"
29886
 
+if test "x$ac_cv_member_struct_nlist_n_un_n_name" = xyes; then :
29887
 
+  
29888
 
+cat >>confdefs.h <<_ACEOF
29889
 
+@%:@define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
29890
 
+_ACEOF
29891
 
+
29892
 
+
29893
 
+fi
29894
 
+
29895
 
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29896
 
+/* end confdefs.h.  */
29897
 
+#include <nlist.h>
29898
 
+int
29899
 
+main ()
29900
 
+{
29901
 
+struct nlist x;
29902
 
+                    #ifdef HAVE_STRUCT_NLIST_N_UN_N_NAME
29903
 
+                    x.n_un.n_name = "";
29904
 
+                    #else
29905
 
+                    x.n_name = "";
29906
 
+                    #endif
29907
 
+  ;
29908
 
+  return 0;
29909
 
+}
29910
 
+_ACEOF
29911
 
+if ac_fn_c_try_link "$LINENO"; then :
29912
 
+  
29913
 
+$as_echo "@%:@define N_NAME_POINTER 1" >>confdefs.h
29914
 
+
29915
 
+fi
29916
 
+rm -f core conftest.err conftest.$ac_objext \
29917
 
+    conftest$ac_exeext conftest.$ac_ext
29918
 
+
29919
 
+fi
29920
 
+
29921
 
+done
29922
 
+
29923
 
+fi
29924
 
+
29925
 
+    
29926
 
+  
29927
 
+  
29928
 
+  
29929
 
+          GNULIB_GETLOADAVG=1
29930
 
+    
29931
 
+
29932
 
+
29933
 
+    
29934
 
+  
29935
 
+$as_echo "@%:@define GNULIB_TEST_GETLOADAVG 1" >>confdefs.h
29936
 
+
29937
 
+
29938
 
+
29939
 
+
29940
 
+  
29941
 
+    
29942
 
+  
29943
 
+  
29944
 
+  
29945
 
+
29946
 
+
29947
 
+  
29948
 
+
29949
 
+  
29950
 
+
29951
 
+if test $REPLACE_GETOPT = 1; then
29952
 
+  
29953
 
+  
29954
 
+  
29955
 
+    
29956
 
+      
29957
 
+      
29958
 
+    
29959
 
+  
29960
 
+  gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext"
29961
 
+
29962
 
+  
29963
 
+  
29964
 
+  
29965
 
+    
29966
 
+      
29967
 
+      
29968
 
+    
29969
 
+  
29970
 
+  gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext"
29971
 
+
29972
 
+  
29973
 
+  
29974
 
+
29975
 
+fi
29976
 
+
29977
 
+  
29978
 
+$as_echo "@%:@define GNULIB_TEST_GETOPT_GNU 1" >>confdefs.h
29979
 
+
29980
 
+
29981
 
+
29982
 
+  
29983
 
+  
29984
 
+        
29985
 
+    REPLACE_GETOPT=0
29986
 
+    
29987
 
+  
29988
 
+  if test -n "$gl_replace_getopt"; then :
29989
 
+  
29990
 
+      REPLACE_GETOPT=1
29991
 
+    
29992
 
+fi
29993
 
+
29994
 
+  
29995
 
+  if test $REPLACE_GETOPT = 1; then
29996
 
+        
29997
 
+  GETOPT_H=getopt.h
29998
 
+  
29999
 
+$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h
30000
 
+
30001
 
+  
30002
 
+
30003
 
+        GNULIB_UNISTD_H_GETOPT=1
30004
 
+  fi
30005
 
+
30006
 
+if test $REPLACE_GETOPT = 1; then
30007
 
+  
30008
 
+  
30009
 
+  
30010
 
+    
30011
 
+      
30012
 
+      
30013
 
+    
30014
 
+  
30015
 
+  gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext"
30016
 
+
30017
 
+  
30018
 
+  
30019
 
+  
30020
 
+    
30021
 
+      
30022
 
+      
30023
 
+    
30024
 
+  
30025
 
+  gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext"
30026
 
+
30027
 
+  
30028
 
+  
30029
 
+
30030
 
+fi
30031
 
+
30032
 
+  
30033
 
+  
30034
 
+  for ac_func in getpagesize
30035
 
+do :
30036
 
+  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
30037
 
+if test "x$ac_cv_func_getpagesize" = xyes; then :
30038
 
+  cat >>confdefs.h <<_ACEOF
30039
 
+@%:@define HAVE_GETPAGESIZE 1
30040
 
+_ACEOF
30041
 
30042
 
+fi
30043
 
+done
30044
 
+
30045
 
+  if test $ac_cv_func_getpagesize = no; then
30046
 
+    HAVE_GETPAGESIZE=0
30047
 
+    for ac_header in OS.h
30048
 
+do :
30049
 
+  ac_fn_c_check_header_mongrel "$LINENO" "OS.h" "ac_cv_header_OS_h" "$ac_includes_default"
30050
 
+if test "x$ac_cv_header_OS_h" = xyes; then :
30051
 
+  cat >>confdefs.h <<_ACEOF
30052
 
+@%:@define HAVE_OS_H 1
30053
 
+_ACEOF
30054
 
30055
 
+fi
30056
 
+
30057
 
+done
30058
 
+
30059
 
+    if test $ac_cv_header_OS_h = yes; then
30060
 
+      HAVE_OS_H=1
30061
 
+    fi
30062
 
+    for ac_header in sys/param.h
30063
 
+do :
30064
 
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
30065
 
+if test "x$ac_cv_header_sys_param_h" = xyes; then :
30066
 
+  cat >>confdefs.h <<_ACEOF
30067
 
+@%:@define HAVE_SYS_PARAM_H 1
30068
 
+_ACEOF
30069
 
30070
 
+fi
30071
 
+
30072
 
+done
30073
 
+
30074
 
+    if test $ac_cv_header_sys_param_h = yes; then
30075
 
+      HAVE_SYS_PARAM_H=1
30076
 
+    fi
30077
 
+  fi
30078
 
+  case "$host_os" in
30079
 
+    mingw*)
30080
 
+      REPLACE_GETPAGESIZE=1
30081
 
+      ;;
30082
 
+  esac
30083
 
+      ac_fn_c_check_decl "$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default"
30084
 
+if test "x$ac_cv_have_decl_getpagesize" = xyes; then :
30085
 
+  
30086
 
+else
30087
 
+  HAVE_DECL_GETPAGESIZE=0
30088
 
+fi
30089
 
+
30090
 
+
30091
 
+if test $REPLACE_GETPAGESIZE = 1; then
30092
 
+  
30093
 
+  
30094
 
+  
30095
 
+    
30096
 
+      
30097
 
+      
30098
 
+    
30099
 
+  
30100
 
+  gl_LIBOBJS="$gl_LIBOBJS getpagesize.$ac_objext"
30101
 
+
30102
 
+fi
30103
 
+
30104
 
+    
30105
 
+  
30106
 
+  
30107
 
+  
30108
 
+          GNULIB_GETPAGESIZE=1
30109
 
+    
30110
 
+
30111
 
+
30112
 
+    
30113
 
+  
30114
 
+$as_echo "@%:@define GNULIB_TEST_GETPAGESIZE 1" >>confdefs.h
30115
 
+
30116
 
+
30117
 
+
30118
 
+
30119
 
+    
30120
 
+
30121
 
+  
30122
 
+    REPLACE_GETPASS=1
30123
 
+
30124
 
+  if test $REPLACE_GETPASS = 1; then
30125
 
+                
30126
 
+$as_echo "@%:@define getpass gnu_getpass" >>confdefs.h
30127
 
+
30128
 
+  fi
30129
 
+
30130
 
+if test $REPLACE_GETPASS = 1; then
30131
 
+  
30132
 
+  
30133
 
+  
30134
 
+    
30135
 
+      
30136
 
+      
30137
 
+    
30138
 
+  
30139
 
+  gl_LIBOBJS="$gl_LIBOBJS getpass.$ac_objext"
30140
 
+
30141
 
+  
30142
 
+  
30143
 
+  
30144
 
+  ac_fn_c_check_decl "$LINENO" "__fsetlocking" "ac_cv_have_decl___fsetlocking" "#include <stdio.h>
30145
 
+     #if HAVE_STDIO_EXT_H
30146
 
+      #include <stdio_ext.h>
30147
 
+     #endif
30148
 
+"
30149
 
+if test "x$ac_cv_have_decl___fsetlocking" = xyes; then :
30150
 
+  ac_have_decl=1
30151
 
+else
30152
 
+  ac_have_decl=0
30153
 
+fi
30154
 
+
30155
 
+cat >>confdefs.h <<_ACEOF
30156
 
+@%:@define HAVE_DECL___FSETLOCKING $ac_have_decl
30157
 
+_ACEOF
30158
 
+
30159
 
+  
30160
 
+  
30161
 
+  
30162
 
+  
30163
 
+  
30164
 
+  :
30165
 
+
30166
 
+fi
30167
 
+
30168
 
+
30169
 
+
30170
 
+
30171
 
+    
30172
 
+  
30173
 
+  
30174
 
+
30175
 
+
30176
 
+  
30177
 
+  
30178
 
+  
30179
 
+  
30180
 
+
30181
 
+  gl_gettimeofday_timezone=void
30182
 
+  if test $ac_cv_func_gettimeofday != yes; then
30183
 
+    HAVE_GETTIMEOFDAY=0
30184
 
+  else
30185
 
+    
30186
 
30187
 
+
30188
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday clobbers localtime buffer" >&5
30189
 
+$as_echo_n "checking whether gettimeofday clobbers localtime buffer... " >&6; }
30190
 
+if ${gl_cv_func_gettimeofday_clobber+:} false; then :
30191
 
+  $as_echo_n "(cached) " >&6
30192
 
+else
30193
 
+  if test "$cross_compiling" = yes; then :
30194
 
+       gl_cv_func_gettimeofday_clobber=yes
30195
 
+else
30196
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30197
 
+/* end confdefs.h.  */
30198
 
+#include <string.h>
30199
 
+          #include <sys/time.h>
30200
 
+          #include <time.h>
30201
 
+          #include <stdlib.h>
30202
 
+        
30203
 
+int
30204
 
+main ()
30205
 
+{
30206
 
+
30207
 
+          time_t t = 0;
30208
 
+          struct tm *lt;
30209
 
+          struct tm saved_lt;
30210
 
+          struct timeval tv;
30211
 
+          lt = localtime (&t);
30212
 
+          saved_lt = *lt;
30213
 
+          gettimeofday (&tv, NULL);
30214
 
+          return memcmp (lt, &saved_lt, sizeof (struct tm)) != 0;
30215
 
+        
30216
 
+  ;
30217
 
+  return 0;
30218
 
+}
30219
 
+_ACEOF
30220
 
+if ac_fn_c_try_run "$LINENO"; then :
30221
 
+  gl_cv_func_gettimeofday_clobber=no
30222
 
+else
30223
 
+  gl_cv_func_gettimeofday_clobber=yes
30224
 
+fi
30225
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30226
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
30227
 
+fi
30228
 
+
30229
 
+fi
30230
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_clobber" >&5
30231
 
+$as_echo "$gl_cv_func_gettimeofday_clobber" >&6; }
30232
 
+
30233
 
+ if test $gl_cv_func_gettimeofday_clobber = yes; then
30234
 
+   REPLACE_GETTIMEOFDAY=1
30235
 
+   
30236
 
+  
30237
 
+$as_echo "@%:@define gmtime rpl_gmtime" >>confdefs.h
30238
 
+
30239
 
+  
30240
 
+$as_echo "@%:@define localtime rpl_localtime" >>confdefs.h
30241
 
+
30242
 
+
30243
 
+   
30244
 
+$as_echo "@%:@define GETTIMEOFDAY_CLOBBERS_LOCALTIME 1" >>confdefs.h
30245
 
+
30246
 
+ fi
30247
 
+
30248
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday with POSIX signature" >&5
30249
 
+$as_echo_n "checking for gettimeofday with POSIX signature... " >&6; }
30250
 
+if ${gl_cv_func_gettimeofday_posix_signature+:} false; then :
30251
 
+  $as_echo_n "(cached) " >&6
30252
 
+else
30253
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30254
 
+/* end confdefs.h.  */
30255
 
+#include <sys/time.h>
30256
 
+              struct timeval c;
30257
 
+              int gettimeofday (struct timeval *restrict, void *restrict);
30258
 
+            
30259
 
+int
30260
 
+main ()
30261
 
+{
30262
 
+/* glibc uses struct timezone * rather than the POSIX void *
30263
 
+                 if _GNU_SOURCE is defined.  However, since the only portable
30264
 
+                 use of gettimeofday uses NULL as the second parameter, and
30265
 
+                 since the glibc definition is actually more typesafe, it is
30266
 
+                 not worth wrapping this to get a compliant signature.  */
30267
 
+              int (*f) (struct timeval *restrict, void *restrict)
30268
 
+                = gettimeofday;
30269
 
+              int x = f (&c, 0);
30270
 
+              return !(x | c.tv_sec | c.tv_usec);
30271
 
+            
30272
 
+  ;
30273
 
+  return 0;
30274
 
+}
30275
 
+_ACEOF
30276
 
+if ac_fn_c_try_compile "$LINENO"; then :
30277
 
+  gl_cv_func_gettimeofday_posix_signature=yes
30278
 
+else
30279
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30280
 
+/* end confdefs.h.  */
30281
 
+#include <sys/time.h>
30282
 
+int gettimeofday (struct timeval *restrict, struct timezone *restrict);
30283
 
+              
30284
 
+int
30285
 
+main ()
30286
 
+{
30287
 
+
30288
 
+  ;
30289
 
+  return 0;
30290
 
+}
30291
 
+_ACEOF
30292
 
+if ac_fn_c_try_compile "$LINENO"; then :
30293
 
+  gl_cv_func_gettimeofday_posix_signature=almost
30294
 
+else
30295
 
+  gl_cv_func_gettimeofday_posix_signature=no
30296
 
+fi
30297
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30298
 
+fi
30299
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30300
 
+fi
30301
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_posix_signature" >&5
30302
 
+$as_echo "$gl_cv_func_gettimeofday_posix_signature" >&6; }
30303
 
+    if test $gl_cv_func_gettimeofday_posix_signature = almost; then
30304
 
+      gl_gettimeofday_timezone='struct timezone'
30305
 
+    elif test $gl_cv_func_gettimeofday_posix_signature != yes; then
30306
 
+      REPLACE_GETTIMEOFDAY=1
30307
 
+    fi
30308
 
+    
30309
 
+      
30310
 
+  
30311
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tzset clobbers localtime buffer" >&5
30312
 
+$as_echo_n "checking whether tzset clobbers localtime buffer... " >&6; }
30313
 
+if ${gl_cv_func_tzset_clobber+:} false; then :
30314
 
+  $as_echo_n "(cached) " >&6
30315
 
+else
30316
 
+  
30317
 
+  if test "$cross_compiling" = yes; then :
30318
 
+  gl_cv_func_tzset_clobber=yes
30319
 
+else
30320
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30321
 
+/* end confdefs.h.  */
30322
 
+
30323
 
+#include <time.h>
30324
 
+#include <stdlib.h>
30325
 
+
30326
 
+int
30327
 
+main ()
30328
 
+{
30329
 
+  time_t t1 = 853958121;
30330
 
+  struct tm *p, s;
30331
 
+  putenv ("TZ=GMT0");
30332
 
+  p = localtime (&t1);
30333
 
+  s = *p;
30334
 
+  putenv ("TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00");
30335
 
+  tzset ();
30336
 
+  return (p->tm_year != s.tm_year
30337
 
+          || p->tm_mon != s.tm_mon
30338
 
+          || p->tm_mday != s.tm_mday
30339
 
+          || p->tm_hour != s.tm_hour
30340
 
+          || p->tm_min != s.tm_min
30341
 
+          || p->tm_sec != s.tm_sec);
30342
 
+}
30343
 
+  
30344
 
+_ACEOF
30345
 
+if ac_fn_c_try_run "$LINENO"; then :
30346
 
+  gl_cv_func_tzset_clobber=no
30347
 
+else
30348
 
+  gl_cv_func_tzset_clobber=yes
30349
 
+fi
30350
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30351
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
30352
 
+fi
30353
 
+
30354
 
+fi
30355
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_tzset_clobber" >&5
30356
 
+$as_echo "$gl_cv_func_tzset_clobber" >&6; }
30357
 
+
30358
 
+  
30359
 
+$as_echo "@%:@define HAVE_RUN_TZSET_TEST 1" >>confdefs.h
30360
 
+
30361
 
+
30362
 
+      if test $gl_cv_func_tzset_clobber = yes; then
30363
 
+        REPLACE_GETTIMEOFDAY=1
30364
 
+        
30365
 
+  
30366
 
+$as_echo "@%:@define gmtime rpl_gmtime" >>confdefs.h
30367
 
+
30368
 
+  
30369
 
+$as_echo "@%:@define localtime rpl_localtime" >>confdefs.h
30370
 
+
30371
 
+
30372
 
+        
30373
 
+$as_echo "@%:@define tzset rpl_tzset" >>confdefs.h
30374
 
+
30375
 
+        
30376
 
+$as_echo "@%:@define TZSET_CLOBBERS_LOCALTIME 1" >>confdefs.h
30377
 
+
30378
 
+      fi
30379
 
+    
30380
 
+  fi
30381
 
+  
30382
 
+cat >>confdefs.h <<_ACEOF
30383
 
+@%:@define GETTIMEOFDAY_TIMEZONE $gl_gettimeofday_timezone
30384
 
+_ACEOF
30385
 
+
30386
 
+
30387
 
+if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
30388
 
+  
30389
 
+  
30390
 
+  
30391
 
+    
30392
 
+      
30393
 
+      
30394
 
+    
30395
 
+  
30396
 
+  gl_LIBOBJS="$gl_LIBOBJS gettimeofday.$ac_objext"
30397
 
+
30398
 
+  
30399
 
+  for ac_header in sys/timeb.h
30400
 
+do :
30401
 
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
30402
 
+if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
30403
 
+  cat >>confdefs.h <<_ACEOF
30404
 
+@%:@define HAVE_SYS_TIMEB_H 1
30405
 
+_ACEOF
30406
 
30407
 
+fi
30408
 
+
30409
 
+done
30410
 
+
30411
 
+  for ac_func in _ftime
30412
 
+do :
30413
 
+  ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime"
30414
 
+if test "x$ac_cv_func__ftime" = xyes; then :
30415
 
+  cat >>confdefs.h <<_ACEOF
30416
 
+@%:@define HAVE__FTIME 1
30417
 
+_ACEOF
30418
 
30419
 
+fi
30420
 
+done
30421
 
+
30422
 
+
30423
 
+fi
30424
 
+
30425
 
+    
30426
 
+  
30427
 
+  
30428
 
+  
30429
 
+          GNULIB_GETTIMEOFDAY=1
30430
 
+    
30431
 
+
30432
 
+
30433
 
+    
30434
 
+  
30435
 
+$as_echo "@%:@define GNULIB_TEST_GETTIMEOFDAY 1" >>confdefs.h
30436
 
+
30437
 
+
30438
 
+
30439
 
+
30440
 
+  
30441
 
+
30442
 
+
30443
 
+  
30444
 
+
30445
 
+    
30446
 
+
30447
 
+    
30448
 
+  if test $ac_cv_func_getusershell = yes; then
30449
 
+    HAVE_GETUSERSHELL=1
30450
 
+        ac_fn_c_check_decl "$LINENO" "getusershell" "ac_cv_have_decl_getusershell" "$ac_includes_default"
30451
 
+if test "x$ac_cv_have_decl_getusershell" = xyes; then :
30452
 
+  ac_have_decl=1
30453
 
+else
30454
 
+  ac_have_decl=0
30455
 
+fi
30456
 
+
30457
 
+cat >>confdefs.h <<_ACEOF
30458
 
+@%:@define HAVE_DECL_GETUSERSHELL $ac_have_decl
30459
 
+_ACEOF
30460
 
+
30461
 
+    if test $ac_cv_have_decl_getusershell = no; then
30462
 
+      HAVE_DECL_GETUSERSHELL=0
30463
 
+    fi
30464
 
+  else
30465
 
+    HAVE_GETUSERSHELL=0
30466
 
+        HAVE_DECL_GETUSERSHELL=0
30467
 
+  fi
30468
 
+
30469
 
+if test $HAVE_GETUSERSHELL = 0; then
30470
 
+  
30471
 
+  
30472
 
+  
30473
 
+    
30474
 
+      
30475
 
+      
30476
 
+    
30477
 
+  
30478
 
+  gl_LIBOBJS="$gl_LIBOBJS getusershell.$ac_objext"
30479
 
+
30480
 
+fi
30481
 
+
30482
 
+    
30483
 
+  
30484
 
+  
30485
 
+  
30486
 
+          GNULIB_GETUSERSHELL=1
30487
 
+    
30488
 
+
30489
 
+
30490
 
+    
30491
 
+  
30492
 
+$as_echo "@%:@define GNULIB_TEST_GETUSERSHELL 1" >>confdefs.h
30493
 
+
30494
 
+
30495
 
+
30496
 
+
30497
 
+   if ${MAKE-make} --version /cannot/make/this >/dev/null 2>&1; then
30498
 
+  GNU_MAKE_TRUE=
30499
 
+  GNU_MAKE_FALSE='#'
30500
 
+else
30501
 
+  GNU_MAKE_TRUE='#'
30502
 
+  GNU_MAKE_FALSE=
30503
 
+fi
30504
 
+
30505
 
+
30506
 
+# Autoconf 2.61a.99 and earlier don't support linking a file only
30507
 
+# in VPATH builds.  But since GNUmakefile is for maintainer use
30508
 
+# only, it does not matter if we skip the link with older autoconf.
30509
 
+# Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
30510
 
+# builds, so use a shell variable to bypass this.
30511
 
+GNUmakefile=GNUmakefile
30512
 
+ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
30513
 
+
30514
 
+
30515
 
+  
30516
 
+
30517
 
+    
30518
 
+
30519
 
+      ac_fn_c_check_func "$LINENO" "group_member" "ac_cv_func_group_member"
30520
 
+if test "x$ac_cv_func_group_member" = xyes; then :
30521
 
+  
30522
 
+else
30523
 
+  
30524
 
+    HAVE_GROUP_MEMBER=0
30525
 
+  
30526
 
+fi
30527
 
+
30528
 
+
30529
 
+if test $HAVE_GROUP_MEMBER = 0; then
30530
 
+  
30531
 
+  
30532
 
+  
30533
 
+    
30534
 
+      
30535
 
+      
30536
 
+    
30537
 
+  
30538
 
+  gl_LIBOBJS="$gl_LIBOBJS group-member.$ac_objext"
30539
 
+
30540
 
+  
30541
 
+  
30542
 
+
30543
 
+fi
30544
 
+
30545
 
+    
30546
 
+  
30547
 
+  
30548
 
+  
30549
 
+          GNULIB_GROUP_MEMBER=1
30550
 
+    
30551
 
+
30552
 
+
30553
 
+    
30554
 
+  
30555
 
+$as_echo "@%:@define GNULIB_TEST_GROUP_MEMBER 1" >>confdefs.h
30556
 
+
30557
 
+
30558
 
+
30559
 
+
30560
 
+  :
30561
 
+
30562
 
+
30563
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking host operating system" >&5
30564
 
+$as_echo_n "checking host operating system... " >&6; }
30565
 
+if ${gl_cv_host_operating_system+:} false; then :
30566
 
+  $as_echo_n "(cached) " >&6
30567
 
+else
30568
 
+  case $host_os in
30569
 
+
30570
 
+       # These operating system names do not use the default heuristic below.
30571
 
+       # They are in reverse order, so that more-specific prefixes come first.
30572
 
+       winnt*)          os='Windows NT';;
30573
 
+       vos*)            os='VOS';;
30574
 
+       sysv*)           os='Unix System V';;
30575
 
+       superux*)        os='SUPER-UX';;
30576
 
+       sunos*)          os='SunOS';;
30577
 
+       stop*)           os='STOP';;
30578
 
+       sco*)            os='SCO Unix';;
30579
 
+       riscos*)         os='RISC OS';;
30580
 
+       riscix*)         os='RISCiX';;
30581
 
+       qnx*)            os='QNX';;
30582
 
+       pw32*)           os='PW32';;
30583
 
+       ptx*)            os='ptx';;
30584
 
+       plan9*)          os='Plan 9';;
30585
 
+       osf*)            os='Tru64';;
30586
 
+       os2*)            os='OS/2';;
30587
 
+       openbsd*)        os='OpenBSD';;
30588
 
+       nsk*)            os='NonStop Kernel';;
30589
 
+       nonstopux*)      os='NonStop-UX';;
30590
 
+       netbsd*-gnu*)    os='GNU/NetBSD';; # NetBSD kernel+libc, GNU userland
30591
 
+       netbsd*)         os='NetBSD';;
30592
 
+       mirbsd*)         os='MirBSD';;
30593
 
+       knetbsd*-gnu)    os='GNU/kNetBSD';; # NetBSD kernel, GNU libc+userland
30594
 
+       kfreebsd*-gnu)   os='GNU/kFreeBSD';; # FreeBSD kernel, GNU libc+userland
30595
 
+       msdosdjgpp*)     os='DJGPP';;
30596
 
+       mpeix*)          os='MPE/iX';;
30597
 
+       mint*)           os='MiNT';;
30598
 
+       mingw*)          os='MinGW';;
30599
 
+       lynxos*)         os='LynxOS';;
30600
 
+       linux*)          os='GNU/Linux';;
30601
 
+       hpux*)           os='HP-UX';;
30602
 
+       hiux*)           os='HI-UX';;
30603
 
+       gnu*)            os='GNU';;
30604
 
+       freebsd*)        os='FreeBSD';;
30605
 
+       dgux*)           os='DG/UX';;
30606
 
+       bsdi*)           os='BSD/OS';;
30607
 
+       bsd*)            os='BSD';;
30608
 
+       beos*)           os='BeOS';;
30609
 
+       aux*)            os='A/UX';;
30610
 
+       atheos*)         os='AtheOS';;
30611
 
+       amigaos*)        os='Amiga OS';;
30612
 
+       aix*)            os='AIX';;
30613
 
+
30614
 
+       # The default heuristic takes the initial alphabetic string
30615
 
+       # from $host_os, but capitalizes its first letter.
30616
 
+       [A-Za-z]*)
30617
 
+         os=`
30618
 
+           expr "X$host_os" : 'X\([A-Za-z]\)' | tr '[a-z]' '[A-Z]'
30619
 
+         ``
30620
 
+           expr "X$host_os" : 'X.\([A-Za-z]*\)'
30621
 
+         `
30622
 
+         ;;
30623
 
+
30624
 
+       # If $host_os does not start with an alphabetic string, use it unchanged.
30625
 
+       *)
30626
 
+         os=$host_os;;
30627
 
+     esac
30628
 
+     gl_cv_host_operating_system=$os
30629
 
+fi
30630
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_operating_system" >&5
30631
 
+$as_echo "$gl_cv_host_operating_system" >&6; }
30632
 
+  
30633
 
+cat >>confdefs.h <<_ACEOF
30634
 
+@%:@define HOST_OPERATING_SYSTEM "$gl_cv_host_operating_system"
30635
 
+_ACEOF
30636
 
+
30637
 
+
30638
 
+
30639
 
+                  HOSTENT_LIB=
30640
 
+  gl_saved_libs="$LIBS"
30641
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
30642
 
+$as_echo_n "checking for library containing gethostbyname... " >&6; }
30643
 
+if ${ac_cv_search_gethostbyname+:} false; then :
30644
 
+  $as_echo_n "(cached) " >&6
30645
 
+else
30646
 
+  ac_func_search_save_LIBS=$LIBS
30647
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30648
 
+/* end confdefs.h.  */
30649
 
+
30650
 
+/* Override any GCC internal prototype to avoid an error.
30651
 
+   Use char because int might match the return type of a GCC
30652
 
+   builtin and then its argument prototype would still apply.  */
30653
 
+#ifdef __cplusplus
30654
 
+extern "C"
30655
 
+#endif
30656
 
+char gethostbyname ();
30657
 
+int
30658
 
+main ()
30659
 
+{
30660
 
+return gethostbyname ();
30661
 
+  ;
30662
 
+  return 0;
30663
 
+}
30664
 
+_ACEOF
30665
 
+for ac_lib in '' nsl network net; do
30666
 
+  if test -z "$ac_lib"; then
30667
 
+    ac_res="none required"
30668
 
+  else
30669
 
+    ac_res=-l$ac_lib
30670
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
30671
 
+  fi
30672
 
+  if ac_fn_c_try_link "$LINENO"; then :
30673
 
+  ac_cv_search_gethostbyname=$ac_res
30674
 
+fi
30675
 
+rm -f core conftest.err conftest.$ac_objext \
30676
 
+    conftest$ac_exeext
30677
 
+  if ${ac_cv_search_gethostbyname+:} false; then :
30678
 
+  break
30679
 
+fi
30680
 
+done
30681
 
+if ${ac_cv_search_gethostbyname+:} false; then :
30682
 
+  
30683
 
+else
30684
 
+  ac_cv_search_gethostbyname=no
30685
 
+fi
30686
 
+rm conftest.$ac_ext
30687
 
+LIBS=$ac_func_search_save_LIBS
30688
 
+fi
30689
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
30690
 
+$as_echo "$ac_cv_search_gethostbyname" >&6; }
30691
 
+ac_res=$ac_cv_search_gethostbyname
30692
 
+if test "$ac_res" != no; then :
30693
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
30694
 
+  if test "$ac_cv_search_gethostbyname" != "none required"; then
30695
 
+       HOSTENT_LIB="$ac_cv_search_gethostbyname"
30696
 
+     fi
30697
 
+fi
30698
 
+
30699
 
+  LIBS="$gl_saved_libs"
30700
 
+  if test -z "$HOSTENT_LIB"; then
30701
 
+    for ac_func in gethostbyname
30702
 
+do :
30703
 
+  ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
30704
 
+if test "x$ac_cv_func_gethostbyname" = xyes; then :
30705
 
+  cat >>confdefs.h <<_ACEOF
30706
 
+@%:@define HAVE_GETHOSTBYNAME 1
30707
 
+_ACEOF
30708
 
30709
 
+else
30710
 
+  
30711
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5
30712
 
+$as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; }
30713
 
+if ${gl_cv_w32_gethostbyname+:} false; then :
30714
 
+  $as_echo_n "(cached) " >&6
30715
 
+else
30716
 
+  gl_cv_w32_gethostbyname=no
30717
 
+         gl_save_LIBS="$LIBS"
30718
 
+         LIBS="$LIBS -lws2_32"
30719
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30720
 
+/* end confdefs.h.  */
30721
 
+
30722
 
+#ifdef HAVE_WINSOCK2_H
30723
 
+#include <winsock2.h>
30724
 
+#endif
30725
 
+#include <stddef.h>
30726
 
+              
30727
 
+int
30728
 
+main ()
30729
 
+{
30730
 
+gethostbyname(NULL);
30731
 
+  ;
30732
 
+  return 0;
30733
 
+}
30734
 
+_ACEOF
30735
 
+if ac_fn_c_try_link "$LINENO"; then :
30736
 
+  gl_cv_w32_gethostbyname=yes
30737
 
+fi
30738
 
+rm -f core conftest.err conftest.$ac_objext \
30739
 
+    conftest$ac_exeext conftest.$ac_ext
30740
 
+         LIBS="$gl_save_LIBS"
30741
 
+        
30742
 
+fi
30743
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostbyname" >&5
30744
 
+$as_echo "$gl_cv_w32_gethostbyname" >&6; }
30745
 
+      if test "$gl_cv_w32_gethostbyname" = "yes"; then
30746
 
+        HOSTENT_LIB="-lws2_32"
30747
 
+      fi
30748
 
+    
30749
 
+fi
30750
 
+done
30751
 
+
30752
 
+  fi
30753
 
+  
30754
 
+
30755
 
+
30756
 
+  :
30757
 
+
30758
 
+
30759
 
+  :
30760
 
+
30761
 
+
30762
 
+
30763
 
+    
30764
 
+  
30765
 
+  
30766
 
+  
30767
 
+          GNULIB_ICONV=1
30768
 
+    
30769
 
+
30770
 
+
30771
 
+
30772
 
+
30773
 
+  
30774
 
+
30775
 
+      
30776
 
+  
30777
 
+  
30778
 
+  
30779
 
+
30780
 
+  
30781
 
+    
30782
 
+
30783
 
+  
30784
 
+     if test $gl_cv_have_include_next = yes; then
30785
 
+       gl_cv_next_iconv_h='<'iconv.h'>'
30786
 
+     else
30787
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <iconv.h>" >&5
30788
 
+$as_echo_n "checking absolute name of <iconv.h>... " >&6; }
30789
 
+if ${gl_cv_next_iconv_h+:} false; then :
30790
 
+  $as_echo_n "(cached) " >&6
30791
 
+else
30792
 
+  
30793
 
+             if test $ac_cv_header_iconv_h = yes; then
30794
 
+             
30795
 
+            
30796
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30797
 
+/* end confdefs.h.  */
30798
 
+#include <iconv.h>
30799
 
+                  
30800
 
+_ACEOF
30801
 
+                                                                                                                        case "$host_os" in
30802
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
30803
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
30804
 
+               esac
30805
 
+                                                            gl_cv_next_iconv_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
30806
 
+                  sed -n '\#/iconv.h#{
30807
 
+                    s#.*"\(.*/iconv.h\)".*#\1#
30808
 
+                    s#^/[^/]#//&#
30809
 
+                    p
30810
 
+                    q
30811
 
+                  }'`'"'
30812
 
+          else
30813
 
+               gl_cv_next_iconv_h='<'iconv.h'>'
30814
 
+             fi
30815
 
+            
30816
 
+         
30817
 
+fi
30818
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_iconv_h" >&5
30819
 
+$as_echo "$gl_cv_next_iconv_h" >&6; }
30820
 
+     fi
30821
 
+     NEXT_ICONV_H=$gl_cv_next_iconv_h
30822
 
+
30823
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
30824
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
30825
 
+       gl_next_as_first_directive='<'iconv.h'>'
30826
 
+     else
30827
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
30828
 
+       gl_next_as_first_directive=$gl_cv_next_iconv_h
30829
 
+     fi
30830
 
+     NEXT_AS_FIRST_DIRECTIVE_ICONV_H=$gl_next_as_first_directive
30831
 
+
30832
 
+     
30833
 
+
30834
 
+
30835
 
+
30836
 
+
30837
 
+  
30838
 
+  
30839
 
+  
30840
 
+  if test "$am_cv_func_iconv" = yes; then
30841
 
+        
30842
 
+  
30843
 
+  ICONV_H='iconv.h'
30844
 
+   if test -n "$ICONV_H"; then
30845
 
+  GL_GENERATE_ICONV_H_TRUE=
30846
 
+  GL_GENERATE_ICONV_H_FALSE='#'
30847
 
+else
30848
 
+  GL_GENERATE_ICONV_H_TRUE='#'
30849
 
+  GL_GENERATE_ICONV_H_FALSE=
30850
 
+fi
30851
 
+
30852
 
+
30853
 
+            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30854
 
+/* end confdefs.h.  */
30855
 
+
30856
 
+      #include <iconv.h>
30857
 
+      #if defined _LIBICONV_VERSION || (defined __GLIBC__ && !defined __UCLIBC__)
30858
 
+       gnu_iconv
30859
 
+      #endif
30860
 
+      
30861
 
+_ACEOF
30862
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30863
 
+  $EGREP "gnu_iconv" >/dev/null 2>&1; then :
30864
 
+  gl_func_iconv_gnu=yes
30865
 
+else
30866
 
+  gl_func_iconv_gnu=no
30867
 
+fi
30868
 
+rm -f conftest*
30869
 
+
30870
 
+    if test $gl_func_iconv_gnu = no; then
30871
 
+      iconv_flavor=
30872
 
+      case "$host_os" in
30873
 
+        aix*)     iconv_flavor=ICONV_FLAVOR_AIX ;;
30874
 
+        irix*)    iconv_flavor=ICONV_FLAVOR_IRIX ;;
30875
 
+        hpux*)    iconv_flavor=ICONV_FLAVOR_HPUX ;;
30876
 
+        osf*)     iconv_flavor=ICONV_FLAVOR_OSF ;;
30877
 
+        solaris*) iconv_flavor=ICONV_FLAVOR_SOLARIS ;;
30878
 
+      esac
30879
 
+      if test -n "$iconv_flavor"; then
30880
 
+        
30881
 
+cat >>confdefs.h <<_ACEOF
30882
 
+@%:@define ICONV_FLAVOR $iconv_flavor
30883
 
+_ACEOF
30884
 
+
30885
 
+        
30886
 
+  
30887
 
+  
30888
 
+  ICONV_H='iconv.h'
30889
 
+   if test -n "$ICONV_H"; then
30890
 
+  GL_GENERATE_ICONV_H_TRUE=
30891
 
+  GL_GENERATE_ICONV_H_FALSE='#'
30892
 
+else
30893
 
+  GL_GENERATE_ICONV_H_TRUE='#'
30894
 
+  GL_GENERATE_ICONV_H_FALSE=
30895
 
+fi
30896
 
+
30897
 
+
30898
 
+  REPLACE_ICONV_OPEN=1
30899
 
+
30900
 
+      fi
30901
 
+    fi
30902
 
+    
30903
 
+  fi
30904
 
+
30905
 
+if test $REPLACE_ICONV_OPEN = 1; then
30906
 
+  
30907
 
+  
30908
 
+  
30909
 
+    
30910
 
+      
30911
 
+      
30912
 
+    
30913
 
+  
30914
 
+  gl_LIBOBJS="$gl_LIBOBJS iconv_open.$ac_objext"
30915
 
+
30916
 
+fi
30917
 
+if test $REPLACE_ICONV = 1; then
30918
 
+  
30919
 
+  
30920
 
+  
30921
 
+    
30922
 
+      
30923
 
+      
30924
 
+    
30925
 
+  
30926
 
+  gl_LIBOBJS="$gl_LIBOBJS iconv.$ac_objext"
30927
 
+
30928
 
+  
30929
 
+  
30930
 
+  
30931
 
+    
30932
 
+      
30933
 
+      
30934
 
+    
30935
 
+  
30936
 
+  gl_LIBOBJS="$gl_LIBOBJS iconv_close.$ac_objext"
30937
 
+
30938
 
+fi
30939
 
+
30940
 
+  :
30941
 
+
30942
 
+
30943
 
+
30944
 
+    
30945
 
+
30946
 
+      HAVE_INET_NTOP=1
30947
 
+  gl_save_LIBS=$LIBS
30948
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
30949
 
+$as_echo_n "checking for library containing inet_ntop... " >&6; }
30950
 
+if ${ac_cv_search_inet_ntop+:} false; then :
30951
 
+  $as_echo_n "(cached) " >&6
30952
 
+else
30953
 
+  ac_func_search_save_LIBS=$LIBS
30954
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30955
 
+/* end confdefs.h.  */
30956
 
+
30957
 
+/* Override any GCC internal prototype to avoid an error.
30958
 
+   Use char because int might match the return type of a GCC
30959
 
+   builtin and then its argument prototype would still apply.  */
30960
 
+#ifdef __cplusplus
30961
 
+extern "C"
30962
 
+#endif
30963
 
+char inet_ntop ();
30964
 
+int
30965
 
+main ()
30966
 
+{
30967
 
+return inet_ntop ();
30968
 
+  ;
30969
 
+  return 0;
30970
 
+}
30971
 
+_ACEOF
30972
 
+for ac_lib in '' nsl; do
30973
 
+  if test -z "$ac_lib"; then
30974
 
+    ac_res="none required"
30975
 
+  else
30976
 
+    ac_res=-l$ac_lib
30977
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
30978
 
+  fi
30979
 
+  if ac_fn_c_try_link "$LINENO"; then :
30980
 
+  ac_cv_search_inet_ntop=$ac_res
30981
 
+fi
30982
 
+rm -f core conftest.err conftest.$ac_objext \
30983
 
+    conftest$ac_exeext
30984
 
+  if ${ac_cv_search_inet_ntop+:} false; then :
30985
 
+  break
30986
 
+fi
30987
 
+done
30988
 
+if ${ac_cv_search_inet_ntop+:} false; then :
30989
 
+  
30990
 
+else
30991
 
+  ac_cv_search_inet_ntop=no
30992
 
+fi
30993
 
+rm conftest.$ac_ext
30994
 
+LIBS=$ac_func_search_save_LIBS
30995
 
+fi
30996
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5
30997
 
+$as_echo "$ac_cv_search_inet_ntop" >&6; }
30998
 
+ac_res=$ac_cv_search_inet_ntop
30999
 
+if test "$ac_res" != no; then :
31000
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
31001
 
+  
31002
 
+else
31003
 
+  for ac_func in inet_ntop
31004
 
+do :
31005
 
+  ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
31006
 
+if test "x$ac_cv_func_inet_ntop" = xyes; then :
31007
 
+  cat >>confdefs.h <<_ACEOF
31008
 
+@%:@define HAVE_INET_NTOP 1
31009
 
+_ACEOF
31010
 
31011
 
+fi
31012
 
+done
31013
 
+
31014
 
+     if test $ac_cv_func_inet_ntop = no; then
31015
 
+       HAVE_INET_NTOP=0
31016
 
+     fi
31017
 
+    
31018
 
+fi
31019
 
+
31020
 
+  LIBS=$gl_save_LIBS
31021
 
+
31022
 
+  INET_NTOP_LIB=
31023
 
+  if test "$ac_cv_search_inet_ntop" != "no" &&
31024
 
+     test "$ac_cv_search_inet_ntop" != "none required"; then
31025
 
+    INET_NTOP_LIB="$ac_cv_search_inet_ntop"
31026
 
+  fi
31027
 
+  
31028
 
+
31029
 
+  
31030
 
+  ac_fn_c_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include <arpa/inet.h>
31031
 
+     #if HAVE_NETDB_H
31032
 
+     # include <netdb.h>
31033
 
+     #endif
31034
 
+    
31035
 
+"
31036
 
+if test "x$ac_cv_have_decl_inet_ntop" = xyes; then :
31037
 
+  ac_have_decl=1
31038
 
+else
31039
 
+  ac_have_decl=0
31040
 
+fi
31041
 
+
31042
 
+cat >>confdefs.h <<_ACEOF
31043
 
+@%:@define HAVE_DECL_INET_NTOP $ac_have_decl
31044
 
+_ACEOF
31045
 
+
31046
 
+  if test $ac_cv_have_decl_inet_ntop = no; then
31047
 
+    HAVE_DECL_INET_NTOP=0
31048
 
+    
31049
 
+  fi
31050
 
+
31051
 
+if test $HAVE_INET_NTOP = 0; then
31052
 
+  
31053
 
+  
31054
 
+  
31055
 
+    
31056
 
+      
31057
 
+      
31058
 
+    
31059
 
+  
31060
 
+  gl_LIBOBJS="$gl_LIBOBJS inet_ntop.$ac_objext"
31061
 
+
31062
 
+  
31063
 
+  
31064
 
+
31065
 
+fi
31066
 
+
31067
 
+    
31068
 
+  
31069
 
+  
31070
 
+  
31071
 
+          GNULIB_INET_NTOP=1
31072
 
+    
31073
 
+
31074
 
+
31075
 
+
31076
 
+
31077
 
+  
31078
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler generally respects inline" >&5
31079
 
+$as_echo_n "checking whether the compiler generally respects inline... " >&6; }
31080
 
+if ${gl_cv_c_inline_effective+:} false; then :
31081
 
+  $as_echo_n "(cached) " >&6
31082
 
+else
31083
 
+  if test $ac_cv_c_inline = no; then
31084
 
+       gl_cv_c_inline_effective=no
31085
 
+     else
31086
 
+                                          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31087
 
+/* end confdefs.h.  */
31088
 
+
31089
 
+int
31090
 
+main ()
31091
 
+{
31092
 
+#ifdef __NO_INLINE__
31093
 
+               #error "inline is not effective"
31094
 
+             #endif
31095
 
+  ;
31096
 
+  return 0;
31097
 
+}
31098
 
+_ACEOF
31099
 
+if ac_fn_c_try_compile "$LINENO"; then :
31100
 
+  gl_cv_c_inline_effective=yes
31101
 
+else
31102
 
+  gl_cv_c_inline_effective=no
31103
 
+fi
31104
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31105
 
+     fi
31106
 
+    
31107
 
+fi
31108
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_inline_effective" >&5
31109
 
+$as_echo "$gl_cv_c_inline_effective" >&6; }
31110
 
+  if test $gl_cv_c_inline_effective = yes; then
31111
 
+    
31112
 
+$as_echo "@%:@define HAVE_INLINE 1" >>confdefs.h
31113
 
+
31114
 
+  fi
31115
 
+
31116
 
+
31117
 
+  
31118
 
+  
31119
 
+  :
31120
 
+
31121
 
+  :
31122
 
+  :
31123
 
+  :
31124
 
+  :
31125
 
+
31126
 
+
31127
 
+  
31128
 
+  
31129
 
+  
31130
 
+
31131
 
+  PRIPTR_PREFIX=
31132
 
+  if test -n "$STDINT_H"; then
31133
 
+        PRIPTR_PREFIX='"l"'
31134
 
+  else
31135
 
+        for glpfx in '' l ll I64; do
31136
 
+      case $glpfx in
31137
 
+        '')  gltype1='int';;
31138
 
+        l)   gltype1='long int';;
31139
 
+        ll)  gltype1='long long int';;
31140
 
+        I64) gltype1='__int64';;
31141
 
+      esac
31142
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31143
 
+/* end confdefs.h.  */
31144
 
+#include <stdint.h>
31145
 
+           extern intptr_t foo;
31146
 
+           extern $gltype1 foo;
31147
 
+int
31148
 
+main ()
31149
 
+{
31150
 
+
31151
 
+  ;
31152
 
+  return 0;
31153
 
+}
31154
 
+_ACEOF
31155
 
+if ac_fn_c_try_compile "$LINENO"; then :
31156
 
+  PRIPTR_PREFIX='"'$glpfx'"'
31157
 
+fi
31158
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31159
 
+      test -n "$PRIPTR_PREFIX" && break
31160
 
+    done
31161
 
+  fi
31162
 
+  
31163
 
+
31164
 
+  
31165
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether INT32_MAX < INTMAX_MAX" >&5
31166
 
+$as_echo_n "checking whether INT32_MAX < INTMAX_MAX... " >&6; }
31167
 
+if ${gl_cv_test_INT32_MAX_LT_INTMAX_MAX+:} false; then :
31168
 
+  $as_echo_n "(cached) " >&6
31169
 
+else
31170
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31171
 
+/* end confdefs.h.  */
31172
 
+/* Work also in C++ mode.  */
31173
 
+            #define __STDC_LIMIT_MACROS 1
31174
 
+
31175
 
+            /* Work if build is not clean.  */
31176
 
+            #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H
31177
 
+
31178
 
+            #include <limits.h>
31179
 
+            #if HAVE_STDINT_H
31180
 
+             #include <stdint.h>
31181
 
+            #endif
31182
 
+
31183
 
+            #if defined INT32_MAX && defined INTMAX_MAX
31184
 
+             #define CONDITION (INT32_MAX < INTMAX_MAX)
31185
 
+            #elif HAVE_LONG_LONG_INT
31186
 
+             #define CONDITION (sizeof (int) < sizeof (long long int))
31187
 
+            #else
31188
 
+             #define CONDITION 0
31189
 
+            #endif
31190
 
+            int test[CONDITION ? 1 : -1];
31191
 
+int
31192
 
+main ()
31193
 
+{
31194
 
+
31195
 
+  ;
31196
 
+  return 0;
31197
 
+}
31198
 
+_ACEOF
31199
 
+if ac_fn_c_try_compile "$LINENO"; then :
31200
 
+  gl_cv_test_INT32_MAX_LT_INTMAX_MAX=yes
31201
 
+else
31202
 
+  gl_cv_test_INT32_MAX_LT_INTMAX_MAX=no
31203
 
+fi
31204
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31205
 
+fi
31206
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&5
31207
 
+$as_echo "$gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&6; }
31208
 
+  if test $gl_cv_test_INT32_MAX_LT_INTMAX_MAX = yes; then
31209
 
+    INT32_MAX_LT_INTMAX_MAX=1;
31210
 
+  else
31211
 
+    INT32_MAX_LT_INTMAX_MAX=0;
31212
 
+  fi
31213
 
+  
31214
 
+
31215
 
+  if test $APPLE_UNIVERSAL_BUILD = 0; then
31216
 
+    
31217
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether INT64_MAX == LONG_MAX" >&5
31218
 
+$as_echo_n "checking whether INT64_MAX == LONG_MAX... " >&6; }
31219
 
+if ${gl_cv_test_INT64_MAX_EQ_LONG_MAX+:} false; then :
31220
 
+  $as_echo_n "(cached) " >&6
31221
 
+else
31222
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31223
 
+/* end confdefs.h.  */
31224
 
+/* Work also in C++ mode.  */
31225
 
+            #define __STDC_LIMIT_MACROS 1
31226
 
+
31227
 
+            /* Work if build is not clean.  */
31228
 
+            #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H
31229
 
+
31230
 
+            #include <limits.h>
31231
 
+            #if HAVE_STDINT_H
31232
 
+             #include <stdint.h>
31233
 
+            #endif
31234
 
+
31235
 
+            #if defined INT64_MAX
31236
 
+             #define CONDITION (INT64_MAX == LONG_MAX)
31237
 
+            #elif HAVE_LONG_LONG_INT
31238
 
+             #define CONDITION (sizeof (long long int) == sizeof (long int))
31239
 
+            #else
31240
 
+             #define CONDITION 0
31241
 
+            #endif
31242
 
+            int test[CONDITION ? 1 : -1];
31243
 
+int
31244
 
+main ()
31245
 
+{
31246
 
+
31247
 
+  ;
31248
 
+  return 0;
31249
 
+}
31250
 
+_ACEOF
31251
 
+if ac_fn_c_try_compile "$LINENO"; then :
31252
 
+  gl_cv_test_INT64_MAX_EQ_LONG_MAX=yes
31253
 
+else
31254
 
+  gl_cv_test_INT64_MAX_EQ_LONG_MAX=no
31255
 
+fi
31256
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31257
 
+fi
31258
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&5
31259
 
+$as_echo "$gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&6; }
31260
 
+  if test $gl_cv_test_INT64_MAX_EQ_LONG_MAX = yes; then
31261
 
+    INT64_MAX_EQ_LONG_MAX=1;
31262
 
+  else
31263
 
+    INT64_MAX_EQ_LONG_MAX=0;
31264
 
+  fi
31265
 
+  
31266
 
+
31267
 
+  else
31268
 
+    INT64_MAX_EQ_LONG_MAX=-1
31269
 
+  fi
31270
 
+  
31271
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UINT32_MAX < UINTMAX_MAX" >&5
31272
 
+$as_echo_n "checking whether UINT32_MAX < UINTMAX_MAX... " >&6; }
31273
 
+if ${gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX+:} false; then :
31274
 
+  $as_echo_n "(cached) " >&6
31275
 
+else
31276
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31277
 
+/* end confdefs.h.  */
31278
 
+/* Work also in C++ mode.  */
31279
 
+            #define __STDC_LIMIT_MACROS 1
31280
 
+
31281
 
+            /* Work if build is not clean.  */
31282
 
+            #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H
31283
 
+
31284
 
+            #include <limits.h>
31285
 
+            #if HAVE_STDINT_H
31286
 
+             #include <stdint.h>
31287
 
+            #endif
31288
 
+
31289
 
+            #if defined UINT32_MAX && defined UINTMAX_MAX
31290
 
+             #define CONDITION (UINT32_MAX < UINTMAX_MAX)
31291
 
+            #elif HAVE_LONG_LONG_INT
31292
 
+             #define CONDITION (sizeof (unsigned int) < sizeof (unsigned long long int))
31293
 
+            #else
31294
 
+             #define CONDITION 0
31295
 
+            #endif
31296
 
+            int test[CONDITION ? 1 : -1];
31297
 
+int
31298
 
+main ()
31299
 
+{
31300
 
+
31301
 
+  ;
31302
 
+  return 0;
31303
 
+}
31304
 
+_ACEOF
31305
 
+if ac_fn_c_try_compile "$LINENO"; then :
31306
 
+  gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=yes
31307
 
+else
31308
 
+  gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=no
31309
 
+fi
31310
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31311
 
+fi
31312
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&5
31313
 
+$as_echo "$gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&6; }
31314
 
+  if test $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX = yes; then
31315
 
+    UINT32_MAX_LT_UINTMAX_MAX=1;
31316
 
+  else
31317
 
+    UINT32_MAX_LT_UINTMAX_MAX=0;
31318
 
+  fi
31319
 
+  
31320
 
+
31321
 
+  if test $APPLE_UNIVERSAL_BUILD = 0; then
31322
 
+    
31323
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UINT64_MAX == ULONG_MAX" >&5
31324
 
+$as_echo_n "checking whether UINT64_MAX == ULONG_MAX... " >&6; }
31325
 
+if ${gl_cv_test_UINT64_MAX_EQ_ULONG_MAX+:} false; then :
31326
 
+  $as_echo_n "(cached) " >&6
31327
 
+else
31328
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31329
 
+/* end confdefs.h.  */
31330
 
+/* Work also in C++ mode.  */
31331
 
+            #define __STDC_LIMIT_MACROS 1
31332
 
+
31333
 
+            /* Work if build is not clean.  */
31334
 
+            #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H
31335
 
+
31336
 
+            #include <limits.h>
31337
 
+            #if HAVE_STDINT_H
31338
 
+             #include <stdint.h>
31339
 
+            #endif
31340
 
+
31341
 
+            #if defined UINT64_MAX
31342
 
+             #define CONDITION (UINT64_MAX == ULONG_MAX)
31343
 
+            #elif HAVE_LONG_LONG_INT
31344
 
+             #define CONDITION (sizeof (unsigned long long int) == sizeof (unsigned long int))
31345
 
+            #else
31346
 
+             #define CONDITION 0
31347
 
+            #endif
31348
 
+            int test[CONDITION ? 1 : -1];
31349
 
+int
31350
 
+main ()
31351
 
+{
31352
 
+
31353
 
+  ;
31354
 
+  return 0;
31355
 
+}
31356
 
+_ACEOF
31357
 
+if ac_fn_c_try_compile "$LINENO"; then :
31358
 
+  gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=yes
31359
 
+else
31360
 
+  gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=no
31361
 
+fi
31362
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31363
 
+fi
31364
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&5
31365
 
+$as_echo "$gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&6; }
31366
 
+  if test $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX = yes; then
31367
 
+    UINT64_MAX_EQ_ULONG_MAX=1;
31368
 
+  else
31369
 
+    UINT64_MAX_EQ_ULONG_MAX=0;
31370
 
+  fi
31371
 
+  
31372
 
+
31373
 
+  else
31374
 
+    UINT64_MAX_EQ_ULONG_MAX=-1
31375
 
+  fi
31376
 
+
31377
 
+
31378
 
+
31379
 
+
31380
 
+  # OpenVMS has isapipe already, so check for it.
31381
 
+  for ac_func in isapipe
31382
 
+do :
31383
 
+  ac_fn_c_check_func "$LINENO" "isapipe" "ac_cv_func_isapipe"
31384
 
+if test "x$ac_cv_func_isapipe" = xyes; then :
31385
 
+  cat >>confdefs.h <<_ACEOF
31386
 
+@%:@define HAVE_ISAPIPE 1
31387
 
+_ACEOF
31388
 
31389
 
+fi
31390
 
+done
31391
 
+
31392
 
+  if test $ac_cv_func_isapipe = yes; then
31393
 
+    HAVE_ISAPIPE=1
31394
 
+  else
31395
 
+    HAVE_ISAPIPE=0
31396
 
+  fi
31397
 
+
31398
 
+if test $HAVE_ISAPIPE = 0; then
31399
 
+  
31400
 
+  
31401
 
+  
31402
 
+    
31403
 
+      
31404
 
+      
31405
 
+    
31406
 
+  
31407
 
+  gl_LIBOBJS="$gl_LIBOBJS isapipe.$ac_objext"
31408
 
+
31409
 
+  
31410
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pipes are FIFOs (and for their link count)" >&5
31411
 
+$as_echo_n "checking whether pipes are FIFOs (and for their link count)... " >&6; }
31412
 
+if ${gl_cv_pipes_are_fifos+:} false; then :
31413
 
+  $as_echo_n "(cached) " >&6
31414
 
+else
31415
 
+  if test "$cross_compiling" = yes; then :
31416
 
+  gl_cv_pipes_are_fifos=cross-compiling
31417
 
+else
31418
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31419
 
+/* end confdefs.h.  */
31420
 
+#include <stdio.h>
31421
 
+            #include <sys/types.h>
31422
 
+            #include <sys/stat.h>
31423
 
+            #include <unistd.h>
31424
 
+            #ifndef S_ISFIFO
31425
 
+             #define S_ISFIFO(m) 0
31426
 
+            #endif
31427
 
+            #ifndef S_ISSOCK
31428
 
+             #define S_ISSOCK(m) 0
31429
 
+            #endif
31430
 
+            int
31431
 
+            main (int argc, char **argv)
31432
 
+            {
31433
 
+              int fd[2];
31434
 
+              struct stat st;
31435
 
+              if (pipe (fd) != 0)
31436
 
+                return 1;
31437
 
+              if (fstat (fd[0], &st) != 0)
31438
 
+                return 2;
31439
 
+              if (2 <= argc && argv[1][0] == '-')
31440
 
+                {
31441
 
+                  char const *yesno = (S_ISFIFO (st.st_mode) ? "yes" : "no");
31442
 
+                  if (st.st_nlink <= 1)
31443
 
+                    {
31444
 
+                      long int i = st.st_nlink;
31445
 
+                      if (i != st.st_nlink)
31446
 
+                        return 3;
31447
 
+                      printf ("%s (%ld)\n", yesno, i);
31448
 
+                    }
31449
 
+                  else
31450
 
+                    {
31451
 
+                      unsigned long int i = st.st_nlink;
31452
 
+                      if (i != st.st_nlink)
31453
 
+                        return 4;
31454
 
+                      printf ("%s (%lu)\n", yesno, i);
31455
 
+                    }
31456
 
+                }
31457
 
+              else
31458
 
+                {
31459
 
+                  if (! S_ISFIFO (st.st_mode) && ! S_ISSOCK (st.st_mode))
31460
 
+                    return 5;
31461
 
+                }
31462
 
+              return 0;
31463
 
+            }
31464
 
+_ACEOF
31465
 
+if ac_fn_c_try_run "$LINENO"; then :
31466
 
+  gl_cv_pipes_are_fifos=`./conftest$ac_exeext -`
31467
 
+        test -z "$gl_cv_pipes_are_fifos" && gl_cv_pipes_are_fifos=no
31468
 
+else
31469
 
+  gl_cv_pipes_are_fifos=unknown
31470
 
+fi
31471
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31472
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
31473
 
+fi
31474
 
+
31475
 
+fi
31476
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pipes_are_fifos" >&5
31477
 
+$as_echo "$gl_cv_pipes_are_fifos" >&6; }
31478
 
+
31479
 
+  case $gl_cv_pipes_are_fifos in #(
31480
 
+  'yes ('*')')
31481
 
+    
31482
 
+$as_echo "@%:@define HAVE_FIFO_PIPES 1" >>confdefs.h
31483
 
+;; #(
31484
 
+  'no ('*')')
31485
 
+    $as_echo "@%:@define HAVE_FIFO_PIPES 0" >>confdefs.h
31486
 
+;;
31487
 
+  esac
31488
 
+
31489
 
+  case $gl_cv_pipes_are_fifos in #(
31490
 
+  *'('*')')
31491
 
+    
31492
 
+cat >>confdefs.h <<_ACEOF
31493
 
+@%:@define PIPE_LINK_COUNT_MAX `expr "$gl_cv_pipes_are_fifos" : '.*\((.*)\)'`
31494
 
+_ACEOF
31495
 
+;;
31496
 
+  esac
31497
 
+
31498
 
+fi
31499
 
+
31500
 
+    
31501
 
+
31502
 
+  
31503
 
+  
31504
 
+  if test $ac_cv_func_isblank = no; then
31505
 
+    HAVE_ISBLANK=0
31506
 
+  fi
31507
 
+
31508
 
+if test $HAVE_ISBLANK = 0; then
31509
 
+  
31510
 
+  
31511
 
+  
31512
 
+    
31513
 
+      
31514
 
+      
31515
 
+    
31516
 
+  
31517
 
+  gl_LIBOBJS="$gl_LIBOBJS isblank.$ac_objext"
31518
 
+
31519
 
+fi
31520
 
+
31521
 
+    
31522
 
+  
31523
 
+  
31524
 
+  
31525
 
+          GNULIB_ISBLANK=1
31526
 
+    
31527
 
+
31528
 
+
31529
 
+
31530
 
+
31531
 
+  
31532
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(double) can be used without linking with libm" >&5
31533
 
+$as_echo_n "checking whether isnan(double) can be used without linking with libm... " >&6; }
31534
 
+if ${gl_cv_func_isnand_no_libm+:} false; then :
31535
 
+  $as_echo_n "(cached) " >&6
31536
 
+else
31537
 
+  
31538
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31539
 
+/* end confdefs.h.  */
31540
 
+#include <math.h>
31541
 
+             #if __GNUC__ >= 4
31542
 
+             # undef isnand
31543
 
+             # define isnand(x) __builtin_isnan ((double)(x))
31544
 
+             #else
31545
 
+             # undef isnand
31546
 
+             # define isnand(x) isnan ((double)(x))
31547
 
+             #endif
31548
 
+             double x;
31549
 
+int
31550
 
+main ()
31551
 
+{
31552
 
+return isnand (x);
31553
 
+  ;
31554
 
+  return 0;
31555
 
+}
31556
 
+_ACEOF
31557
 
+if ac_fn_c_try_link "$LINENO"; then :
31558
 
+  gl_cv_func_isnand_no_libm=yes
31559
 
+else
31560
 
+  gl_cv_func_isnand_no_libm=no
31561
 
+fi
31562
 
+rm -f core conftest.err conftest.$ac_objext \
31563
 
+    conftest$ac_exeext conftest.$ac_ext
31564
 
+    
31565
 
+fi
31566
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnand_no_libm" >&5
31567
 
+$as_echo "$gl_cv_func_isnand_no_libm" >&6; }
31568
 
+
31569
 
+  gl_func_isnand_no_libm=$gl_cv_func_isnand_no_libm
31570
 
+  if test $gl_cv_func_isnand_no_libm = yes; then
31571
 
+    
31572
 
+$as_echo "@%:@define HAVE_ISNAND_IN_LIBC 1" >>confdefs.h
31573
 
+
31574
 
+  fi
31575
 
+
31576
 
+if test $gl_func_isnand_no_libm != yes; then
31577
 
+  
31578
 
+  
31579
 
+  
31580
 
+    
31581
 
+      
31582
 
+      
31583
 
+    
31584
 
+  
31585
 
+  gl_LIBOBJS="$gl_LIBOBJS isnand.$ac_objext"
31586
 
+
31587
 
+  
31588
 
+  
31589
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5
31590
 
+$as_echo_n "checking where to find the exponent in a 'double'... " >&6; }
31591
 
+if ${gl_cv_cc_double_expbit0+:} false; then :
31592
 
+  $as_echo_n "(cached) " >&6
31593
 
+else
31594
 
+  
31595
 
+      if test "$cross_compiling" = yes; then :
31596
 
+  
31597
 
+                                                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31598
 
+/* end confdefs.h.  */
31599
 
+
31600
 
+#if defined arm || defined __arm || defined __arm__
31601
 
+  mixed_endianness
31602
 
+#endif
31603
 
+            
31604
 
+_ACEOF
31605
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
31606
 
+  $EGREP "mixed_endianness" >/dev/null 2>&1; then :
31607
 
+  gl_cv_cc_double_expbit0="unknown"
31608
 
+else
31609
 
+  
31610
 
+                                                         :
31611
 
+if ${ac_cv_c_bigendian+:} false; then :
31612
 
+  $as_echo_n "(cached) " >&6
31613
 
+else
31614
 
+  ac_cv_c_bigendian=unknown
31615
 
+    # See if we're dealing with a universal compiler.
31616
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31617
 
+/* end confdefs.h.  */
31618
 
+#ifndef __APPLE_CC__
31619
 
+              not a universal capable compiler
31620
 
+            #endif
31621
 
+            typedef int dummy;
31622
 
+           
31623
 
+_ACEOF
31624
 
+if ac_fn_c_try_compile "$LINENO"; then :
31625
 
+  
31626
 
+       # Check for potential -arch flags.  It is not universal unless
31627
 
+       # there are at least two -arch flags with different values.
31628
 
+       ac_arch=
31629
 
+       ac_prev=
31630
 
+       for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
31631
 
+        if test -n "$ac_prev"; then
31632
 
+          case $ac_word in
31633
 
+            i?86 | x86_64 | ppc | ppc64)
31634
 
+              if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
31635
 
+                ac_arch=$ac_word
31636
 
+              else
31637
 
+                ac_cv_c_bigendian=universal
31638
 
+                break
31639
 
+              fi
31640
 
+              ;;
31641
 
+          esac
31642
 
+          ac_prev=
31643
 
+        elif test "x$ac_word" = "x-arch"; then
31644
 
+          ac_prev=arch
31645
 
+        fi
31646
 
+       done
31647
 
+fi
31648
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31649
 
+    if test $ac_cv_c_bigendian = unknown; then
31650
 
+      # See if sys/param.h defines the BYTE_ORDER macro.
31651
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31652
 
+/* end confdefs.h.  */
31653
 
+#include <sys/types.h>
31654
 
+            #include <sys/param.h>
31655
 
+          
31656
 
+int
31657
 
+main ()
31658
 
+{
31659
 
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
31660
 
+                    && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
31661
 
+                    && LITTLE_ENDIAN)
31662
 
+             bogus endian macros
31663
 
+            #endif
31664
 
+          
31665
 
+  ;
31666
 
+  return 0;
31667
 
+}
31668
 
+_ACEOF
31669
 
+if ac_fn_c_try_compile "$LINENO"; then :
31670
 
+  # It does; now see whether it defined to BIG_ENDIAN or not.
31671
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31672
 
+/* end confdefs.h.  */
31673
 
+#include <sys/types.h>
31674
 
+               #include <sys/param.h>
31675
 
+             
31676
 
+int
31677
 
+main ()
31678
 
+{
31679
 
+#if BYTE_ORDER != BIG_ENDIAN
31680
 
+                not big endian
31681
 
+               #endif
31682
 
+             
31683
 
+  ;
31684
 
+  return 0;
31685
 
+}
31686
 
+_ACEOF
31687
 
+if ac_fn_c_try_compile "$LINENO"; then :
31688
 
+  ac_cv_c_bigendian=yes
31689
 
+else
31690
 
+  ac_cv_c_bigendian=no
31691
 
+fi
31692
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31693
 
+fi
31694
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31695
 
+    fi
31696
 
+    if test $ac_cv_c_bigendian = unknown; then
31697
 
+      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
31698
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31699
 
+/* end confdefs.h.  */
31700
 
+#include <limits.h>
31701
 
+          
31702
 
+int
31703
 
+main ()
31704
 
+{
31705
 
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
31706
 
+             bogus endian macros
31707
 
+            #endif
31708
 
+          
31709
 
+  ;
31710
 
+  return 0;
31711
 
+}
31712
 
+_ACEOF
31713
 
+if ac_fn_c_try_compile "$LINENO"; then :
31714
 
+  # It does; now see whether it defined to _BIG_ENDIAN or not.
31715
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31716
 
+/* end confdefs.h.  */
31717
 
+#include <limits.h>
31718
 
+             
31719
 
+int
31720
 
+main ()
31721
 
+{
31722
 
+#ifndef _BIG_ENDIAN
31723
 
+                not big endian
31724
 
+               #endif
31725
 
+             
31726
 
+  ;
31727
 
+  return 0;
31728
 
+}
31729
 
+_ACEOF
31730
 
+if ac_fn_c_try_compile "$LINENO"; then :
31731
 
+  ac_cv_c_bigendian=yes
31732
 
+else
31733
 
+  ac_cv_c_bigendian=no
31734
 
+fi
31735
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31736
 
+fi
31737
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31738
 
+    fi
31739
 
+    if test $ac_cv_c_bigendian = unknown; then
31740
 
+      # Compile a test program.
31741
 
+      if test "$cross_compiling" = yes; then :
31742
 
+  # Try to guess by grepping values from an object file.
31743
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31744
 
+/* end confdefs.h.  */
31745
 
+short int ascii_mm[] =
31746
 
+                 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
31747
 
+               short int ascii_ii[] =
31748
 
+                 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
31749
 
+               int use_ascii (int i) {
31750
 
+                 return ascii_mm[i] + ascii_ii[i];
31751
 
+               }
31752
 
+               short int ebcdic_ii[] =
31753
 
+                 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
31754
 
+               short int ebcdic_mm[] =
31755
 
+                 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
31756
 
+               int use_ebcdic (int i) {
31757
 
+                 return ebcdic_mm[i] + ebcdic_ii[i];
31758
 
+               }
31759
 
+               extern int foo;
31760
 
+             
31761
 
+int
31762
 
+main ()
31763
 
+{
31764
 
+return use_ascii (foo) == use_ebcdic (foo);
31765
 
+  ;
31766
 
+  return 0;
31767
 
+}
31768
 
+_ACEOF
31769
 
+if ac_fn_c_try_compile "$LINENO"; then :
31770
 
+  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
31771
 
+             ac_cv_c_bigendian=yes
31772
 
+           fi
31773
 
+           if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
31774
 
+             if test "$ac_cv_c_bigendian" = unknown; then
31775
 
+               ac_cv_c_bigendian=no
31776
 
+             else
31777
 
+               # finding both strings is unlikely to happen, but who knows?
31778
 
+               ac_cv_c_bigendian=unknown
31779
 
+             fi
31780
 
+           fi
31781
 
+fi
31782
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31783
 
+else
31784
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31785
 
+/* end confdefs.h.  */
31786
 
+$ac_includes_default
31787
 
+int
31788
 
+main ()
31789
 
+{
31790
 
+
31791
 
+            /* Are we little or big endian?  From Harbison&Steele.  */
31792
 
+            union
31793
 
+            {
31794
 
+              long int l;
31795
 
+              char c[sizeof (long int)];
31796
 
+            } u;
31797
 
+            u.l = 1;
31798
 
+            return u.c[sizeof (long int) - 1] == 1;
31799
 
+          
31800
 
+  ;
31801
 
+  return 0;
31802
 
+}
31803
 
+_ACEOF
31804
 
+if ac_fn_c_try_run "$LINENO"; then :
31805
 
+  ac_cv_c_bigendian=no
31806
 
+else
31807
 
+  ac_cv_c_bigendian=yes
31808
 
+fi
31809
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31810
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
31811
 
+fi
31812
 
+
31813
 
+    fi
31814
 
+fi
31815
 
+:
31816
 
+ case $ac_cv_c_bigendian in #(
31817
 
+   yes)
31818
 
+     gl_cv_cc_double_expbit0="word 0 bit 20";; #(
31819
 
+   no)
31820
 
+     gl_cv_cc_double_expbit0="word 1 bit 20" ;; #(
31821
 
+   universal)
31822
 
+       
31823
 
+$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
31824
 
+
31825
 
+     ;; #(
31826
 
+   *)
31827
 
+     gl_cv_cc_double_expbit0="unknown" ;;
31828
 
+ esac
31829
 
+
31830
 
+                                                      
31831
 
+fi
31832
 
+rm -f conftest*
31833
 
+
31834
 
+        
31835
 
+else
31836
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31837
 
+/* end confdefs.h.  */
31838
 
+
31839
 
+#include <float.h>
31840
 
+#include <stddef.h>
31841
 
+#include <stdio.h>
31842
 
+#include <string.h>
31843
 
+#define NWORDS \
31844
 
+  ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
31845
 
+typedef union { double value; unsigned int word[NWORDS]; } memory_double;
31846
 
+static unsigned int ored_words[NWORDS];
31847
 
+static unsigned int anded_words[NWORDS];
31848
 
+static void add_to_ored_words (double x)
31849
 
+{
31850
 
+  memory_double m;
31851
 
+  size_t i;
31852
 
+  /* Clear it first, in case sizeof (double) < sizeof (memory_double).  */
31853
 
+  memset (&m, 0, sizeof (memory_double));
31854
 
+  m.value = x;
31855
 
+  for (i = 0; i < NWORDS; i++)
31856
 
+    {
31857
 
+      ored_words[i] |= m.word[i];
31858
 
+      anded_words[i] &= m.word[i];
31859
 
+    }
31860
 
+}
31861
 
+int main ()
31862
 
+{
31863
 
+  size_t j;
31864
 
+  FILE *fp = fopen ("conftest.out", "w");
31865
 
+  if (fp == NULL)
31866
 
+    return 1;
31867
 
+  for (j = 0; j < NWORDS; j++)
31868
 
+    anded_words[j] = ~ (unsigned int) 0;
31869
 
+  add_to_ored_words (0.25);
31870
 
+  add_to_ored_words (0.5);
31871
 
+  add_to_ored_words (1.0);
31872
 
+  add_to_ored_words (2.0);
31873
 
+  add_to_ored_words (4.0);
31874
 
+  /* Remove bits that are common (e.g. if representation of the first mantissa
31875
 
+     bit is explicit).  */
31876
 
+  for (j = 0; j < NWORDS; j++)
31877
 
+    ored_words[j] &= ~anded_words[j];
31878
 
+  /* Now find the nonzero word.  */
31879
 
+  for (j = 0; j < NWORDS; j++)
31880
 
+    if (ored_words[j] != 0)
31881
 
+      break;
31882
 
+  if (j < NWORDS)
31883
 
+    {
31884
 
+      size_t i;
31885
 
+      for (i = j + 1; i < NWORDS; i++)
31886
 
+        if (ored_words[i] != 0)
31887
 
+          {
31888
 
+            fprintf (fp, "unknown");
31889
 
+            return (fclose (fp) != 0);
31890
 
+          }
31891
 
+      for (i = 0; ; i++)
31892
 
+        if ((ored_words[j] >> i) & 1)
31893
 
+          {
31894
 
+            fprintf (fp, "word %d bit %d", (int) j, (int) i);
31895
 
+            return (fclose (fp) != 0);
31896
 
+          }
31897
 
+    }
31898
 
+  fprintf (fp, "unknown");
31899
 
+  return (fclose (fp) != 0);
31900
 
+}
31901
 
+        
31902
 
+_ACEOF
31903
 
+if ac_fn_c_try_run "$LINENO"; then :
31904
 
+  gl_cv_cc_double_expbit0=`cat conftest.out`
31905
 
+else
31906
 
+  gl_cv_cc_double_expbit0="unknown"
31907
 
+fi
31908
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31909
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
31910
 
+fi
31911
 
+
31912
 
+      rm -f conftest.out
31913
 
+    
31914
 
+fi
31915
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5
31916
 
+$as_echo "$gl_cv_cc_double_expbit0" >&6; }
31917
 
+  case "$gl_cv_cc_double_expbit0" in
31918
 
+    word*bit*)
31919
 
+      word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
31920
 
+      bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'`
31921
 
+      
31922
 
+cat >>confdefs.h <<_ACEOF
31923
 
+@%:@define DBL_EXPBIT0_WORD $word
31924
 
+_ACEOF
31925
 
+
31926
 
+      
31927
 
+cat >>confdefs.h <<_ACEOF
31928
 
+@%:@define DBL_EXPBIT0_BIT $bit
31929
 
+_ACEOF
31930
 
+
31931
 
+      ;;
31932
 
+  esac
31933
 
+
31934
 
+
31935
 
+fi
31936
 
+
31937
 
+  
31938
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) can be used without linking with libm" >&5
31939
 
+$as_echo_n "checking whether isnan(float) can be used without linking with libm... " >&6; }
31940
 
+if ${gl_cv_func_isnanf_no_libm+:} false; then :
31941
 
+  $as_echo_n "(cached) " >&6
31942
 
+else
31943
 
+  
31944
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31945
 
+/* end confdefs.h.  */
31946
 
+#include <math.h>
31947
 
+             #if __GNUC__ >= 4
31948
 
+             # undef isnanf
31949
 
+             # define isnanf(x) __builtin_isnanf ((float)(x))
31950
 
+             #elif defined isnan
31951
 
+             # undef isnanf
31952
 
+             # define isnanf(x) isnan ((float)(x))
31953
 
+             #endif
31954
 
+             float x;
31955
 
+int
31956
 
+main ()
31957
 
+{
31958
 
+return isnanf (x);
31959
 
+  ;
31960
 
+  return 0;
31961
 
+}
31962
 
+_ACEOF
31963
 
+if ac_fn_c_try_link "$LINENO"; then :
31964
 
+  gl_cv_func_isnanf_no_libm=yes
31965
 
+else
31966
 
+  gl_cv_func_isnanf_no_libm=no
31967
 
+fi
31968
 
+rm -f core conftest.err conftest.$ac_objext \
31969
 
+    conftest$ac_exeext conftest.$ac_ext
31970
 
+    
31971
 
+fi
31972
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanf_no_libm" >&5
31973
 
+$as_echo "$gl_cv_func_isnanf_no_libm" >&6; }
31974
 
+
31975
 
+  if test $gl_cv_func_isnanf_no_libm = yes; then
31976
 
+    
31977
 
+  
31978
 
+     
31979
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) works" >&5
31980
 
+$as_echo_n "checking whether isnan(float) works... " >&6; }
31981
 
+if ${gl_cv_func_isnanf_works+:} false; then :
31982
 
+  $as_echo_n "(cached) " >&6
31983
 
+else
31984
 
+  
31985
 
+      if test "$cross_compiling" = yes; then :
31986
 
+  case "$host_os" in
31987
 
+           irix* | solaris*) gl_cv_func_isnanf_works="guessing no";;
31988
 
+           *)                gl_cv_func_isnanf_works="guessing yes";;
31989
 
+         esac
31990
 
+        
31991
 
+else
31992
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31993
 
+/* end confdefs.h.  */
31994
 
+
31995
 
+#include <math.h>
31996
 
+#if __GNUC__ >= 4
31997
 
+# undef isnanf
31998
 
+# define isnanf(x) __builtin_isnanf ((float)(x))
31999
 
+#elif defined isnan
32000
 
+# undef isnanf
32001
 
+# define isnanf(x) isnan ((float)(x))
32002
 
+#endif
32003
 
+/* The Compaq (ex-DEC) C 6.4 compiler chokes on the expression 0.0 / 0.0.  */
32004
 
+#ifdef __DECC
32005
 
+static float
32006
 
+NaN ()
32007
 
+{
32008
 
+  static float zero = 0.0f;
32009
 
+  return zero / zero;
32010
 
+}
32011
 
+#else
32012
 
+# define NaN() (0.0f / 0.0f)
32013
 
+#endif
32014
 
+#define NWORDS \
32015
 
+  ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
32016
 
+typedef union { unsigned int word[NWORDS]; float value; } memory_float;
32017
 
+int main()
32018
 
+{
32019
 
+  int result = 0;
32020
 
+
32021
 
+  if (isnanf (1.0f / 0.0f))
32022
 
+    result |= 1;
32023
 
+
32024
 
+  if (!isnanf (NaN ()))
32025
 
+    result |= 2;
32026
 
+
32027
 
+#if defined FLT_EXPBIT0_WORD && defined FLT_EXPBIT0_BIT
32028
 
+  /* The isnanf function should be immune against changes in the sign bit and
32029
 
+     in the mantissa bits.  The xor operation twiddles a bit that can only be
32030
 
+     a sign bit or a mantissa bit.  */
32031
 
+  if (FLT_EXPBIT0_WORD == 0 && FLT_EXPBIT0_BIT > 0)
32032
 
+    {
32033
 
+      memory_float m;
32034
 
+
32035
 
+      m.value = NaN ();
32036
 
+      /* Set the bits below the exponent to 01111...111.  */
32037
 
+      m.word[0] &= -1U << FLT_EXPBIT0_BIT;
32038
 
+      m.word[0] |= 1U << (FLT_EXPBIT0_BIT - 1) - 1;
32039
 
+      if (!isnanf (m.value))
32040
 
+        result |= 4;
32041
 
+    }
32042
 
+#endif
32043
 
+
32044
 
+  return result;
32045
 
+}
32046
 
+_ACEOF
32047
 
+if ac_fn_c_try_run "$LINENO"; then :
32048
 
+  gl_cv_func_isnanf_works=yes
32049
 
+else
32050
 
+  gl_cv_func_isnanf_works=no
32051
 
+fi
32052
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
32053
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
32054
 
+fi
32055
 
+
32056
 
+    
32057
 
+fi
32058
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanf_works" >&5
32059
 
+$as_echo "$gl_cv_func_isnanf_works" >&6; }
32060
 
+
32061
 
+  fi
32062
 
+  if test $gl_cv_func_isnanf_no_libm = yes \
32063
 
+     && { case "$gl_cv_func_isnanf_works" in
32064
 
+            *yes) true;;
32065
 
+            *) false;;
32066
 
+          esac
32067
 
+        }; then
32068
 
+    gl_func_isnanf_no_libm=yes
32069
 
+    
32070
 
+$as_echo "@%:@define HAVE_ISNANF_IN_LIBC 1" >>confdefs.h
32071
 
+
32072
 
+  else
32073
 
+    gl_func_isnanf_no_libm=no
32074
 
+  fi
32075
 
+
32076
 
+if test $gl_func_isnanf_no_libm != yes; then
32077
 
+  
32078
 
+  
32079
 
+  
32080
 
+    
32081
 
+      
32082
 
+      
32083
 
+    
32084
 
+  
32085
 
+  gl_LIBOBJS="$gl_LIBOBJS isnanf.$ac_objext"
32086
 
+
32087
 
+  
32088
 
+  
32089
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
32090
 
+$as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
32091
 
+if ${gl_cv_cc_float_expbit0+:} false; then :
32092
 
+  $as_echo_n "(cached) " >&6
32093
 
+else
32094
 
+  
32095
 
+      if test "$cross_compiling" = yes; then :
32096
 
+  gl_cv_cc_float_expbit0="word 0 bit 23"
32097
 
+else
32098
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32099
 
+/* end confdefs.h.  */
32100
 
+
32101
 
+#include <float.h>
32102
 
+#include <stddef.h>
32103
 
+#include <stdio.h>
32104
 
+#include <string.h>
32105
 
+#define NWORDS \
32106
 
+  ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
32107
 
+typedef union { float value; unsigned int word[NWORDS]; } memory_float;
32108
 
+static unsigned int ored_words[NWORDS];
32109
 
+static unsigned int anded_words[NWORDS];
32110
 
+static void add_to_ored_words (float x)
32111
 
+{
32112
 
+  memory_float m;
32113
 
+  size_t i;
32114
 
+  /* Clear it first, in case
32115
 
+     sizeof (float) < sizeof (memory_float).  */
32116
 
+  memset (&m, 0, sizeof (memory_float));
32117
 
+  m.value = x;
32118
 
+  for (i = 0; i < NWORDS; i++)
32119
 
+    {
32120
 
+      ored_words[i] |= m.word[i];
32121
 
+      anded_words[i] &= m.word[i];
32122
 
+    }
32123
 
+}
32124
 
+int main ()
32125
 
+{
32126
 
+  size_t j;
32127
 
+  FILE *fp = fopen ("conftest.out", "w");
32128
 
+  if (fp == NULL)
32129
 
+    return 1;
32130
 
+  for (j = 0; j < NWORDS; j++)
32131
 
+    anded_words[j] = ~ (unsigned int) 0;
32132
 
+  add_to_ored_words (0.25f);
32133
 
+  add_to_ored_words (0.5f);
32134
 
+  add_to_ored_words (1.0f);
32135
 
+  add_to_ored_words (2.0f);
32136
 
+  add_to_ored_words (4.0f);
32137
 
+  /* Remove bits that are common (e.g. if representation of the first mantissa
32138
 
+     bit is explicit).  */
32139
 
+  for (j = 0; j < NWORDS; j++)
32140
 
+    ored_words[j] &= ~anded_words[j];
32141
 
+  /* Now find the nonzero word.  */
32142
 
+  for (j = 0; j < NWORDS; j++)
32143
 
+    if (ored_words[j] != 0)
32144
 
+      break;
32145
 
+  if (j < NWORDS)
32146
 
+    {
32147
 
+      size_t i;
32148
 
+      for (i = j + 1; i < NWORDS; i++)
32149
 
+        if (ored_words[i] != 0)
32150
 
+          {
32151
 
+            fprintf (fp, "unknown");
32152
 
+            return (fclose (fp) != 0);
32153
 
+          }
32154
 
+      for (i = 0; ; i++)
32155
 
+        if ((ored_words[j] >> i) & 1)
32156
 
+          {
32157
 
+            fprintf (fp, "word %d bit %d", (int) j, (int) i);
32158
 
+            return (fclose (fp) != 0);
32159
 
+          }
32160
 
+    }
32161
 
+  fprintf (fp, "unknown");
32162
 
+  return (fclose (fp) != 0);
32163
 
+}
32164
 
+        
32165
 
+_ACEOF
32166
 
+if ac_fn_c_try_run "$LINENO"; then :
32167
 
+  gl_cv_cc_float_expbit0=`cat conftest.out`
32168
 
+else
32169
 
+  gl_cv_cc_float_expbit0="unknown"
32170
 
+fi
32171
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
32172
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
32173
 
+fi
32174
 
+
32175
 
+      rm -f conftest.out
32176
 
+    
32177
 
+fi
32178
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5
32179
 
+$as_echo "$gl_cv_cc_float_expbit0" >&6; }
32180
 
+  case "$gl_cv_cc_float_expbit0" in
32181
 
+    word*bit*)
32182
 
+      word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
32183
 
+      bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'`
32184
 
+      
32185
 
+cat >>confdefs.h <<_ACEOF
32186
 
+@%:@define FLT_EXPBIT0_WORD $word
32187
 
+_ACEOF
32188
 
+
32189
 
+      
32190
 
+cat >>confdefs.h <<_ACEOF
32191
 
+@%:@define FLT_EXPBIT0_BIT $bit
32192
 
+_ACEOF
32193
 
+
32194
 
+      ;;
32195
 
+  esac
32196
 
+
32197
 
+
32198
 
+fi
32199
 
+
32200
 
+  
32201
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(long double) can be used without linking with libm" >&5
32202
 
+$as_echo_n "checking whether isnan(long double) can be used without linking with libm... " >&6; }
32203
 
+if ${gl_cv_func_isnanl_no_libm+:} false; then :
32204
 
+  $as_echo_n "(cached) " >&6
32205
 
+else
32206
 
+  
32207
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32208
 
+/* end confdefs.h.  */
32209
 
+#include <math.h>
32210
 
+             #if __GNUC__ >= 4
32211
 
+             # undef isnanl
32212
 
+             # define isnanl(x) __builtin_isnanl ((long double)(x))
32213
 
+             #elif defined isnan
32214
 
+             # undef isnanl
32215
 
+             # define isnanl(x) isnan ((long double)(x))
32216
 
+             #endif
32217
 
+             long double x;
32218
 
+int
32219
 
+main ()
32220
 
+{
32221
 
+return isnanl (x);
32222
 
+  ;
32223
 
+  return 0;
32224
 
+}
32225
 
+_ACEOF
32226
 
+if ac_fn_c_try_link "$LINENO"; then :
32227
 
+  gl_cv_func_isnanl_no_libm=yes
32228
 
+else
32229
 
+  gl_cv_func_isnanl_no_libm=no
32230
 
+fi
32231
 
+rm -f core conftest.err conftest.$ac_objext \
32232
 
+    conftest$ac_exeext conftest.$ac_ext
32233
 
+    
32234
 
+fi
32235
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanl_no_libm" >&5
32236
 
+$as_echo "$gl_cv_func_isnanl_no_libm" >&6; }
32237
 
+
32238
 
+  gl_func_isnanl_no_libm=$gl_cv_func_isnanl_no_libm
32239
 
+  if test $gl_func_isnanl_no_libm = yes; then
32240
 
+    
32241
 
+  
32242
 
+  
32243
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnanl works" >&5
32244
 
+$as_echo_n "checking whether isnanl works... " >&6; }
32245
 
+if ${gl_cv_func_isnanl_works+:} false; then :
32246
 
+  $as_echo_n "(cached) " >&6
32247
 
+else
32248
 
+  
32249
 
+      if test "$cross_compiling" = yes; then :
32250
 
+  case "$host_cpu" in
32251
 
+                                 # Guess no on ia64, x86_64, i386.
32252
 
+           ia64 | x86_64 | i*86) gl_cv_func_isnanl_works="guessing no";;
32253
 
+           *)
32254
 
+             case "$host_os" in
32255
 
+               netbsd*) gl_cv_func_isnanl_works="guessing no";;
32256
 
+               *)       gl_cv_func_isnanl_works="guessing yes";;
32257
 
+             esac
32258
 
+             ;;
32259
 
+         esac
32260
 
+        
32261
 
+else
32262
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32263
 
+/* end confdefs.h.  */
32264
 
+
32265
 
+#include <float.h>
32266
 
+#include <limits.h>
32267
 
+#include <math.h>
32268
 
+#if __GNUC__ >= 4
32269
 
+# undef isnanl
32270
 
+# define isnanl(x) __builtin_isnanl ((long double)(x))
32271
 
+#elif defined isnan
32272
 
+# undef isnanl
32273
 
+# define isnanl(x) isnan ((long double)(x))
32274
 
+#endif
32275
 
+#define NWORDS \
32276
 
+  ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
32277
 
+typedef union { unsigned int word[NWORDS]; long double value; }
32278
 
+        memory_long_double;
32279
 
+/* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the
32280
 
+   runtime type conversion.  */
32281
 
+#ifdef __sgi
32282
 
+static long double NaNl ()
32283
 
+{
32284
 
+  double zero = 0.0;
32285
 
+  return zero / zero;
32286
 
+}
32287
 
+#else
32288
 
+# define NaNl() (0.0L / 0.0L)
32289
 
+#endif
32290
 
+int main ()
32291
 
+{
32292
 
+  int result = 0;
32293
 
+
32294
 
+  if (!isnanl (NaNl ()))
32295
 
+    result |= 1;
32296
 
+
32297
 
+  {
32298
 
+    memory_long_double m;
32299
 
+    unsigned int i;
32300
 
+
32301
 
+    /* The isnanl function should be immune against changes in the sign bit and
32302
 
+       in the mantissa bits.  The xor operation twiddles a bit that can only be
32303
 
+       a sign bit or a mantissa bit (since the exponent never extends to
32304
 
+       bit 31).  */
32305
 
+    m.value = NaNl ();
32306
 
+    m.word[NWORDS / 2] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1);
32307
 
+    for (i = 0; i < NWORDS; i++)
32308
 
+      m.word[i] |= 1;
32309
 
+    if (!isnanl (m.value))
32310
 
+      result |= 1;
32311
 
+  }
32312
 
+
32313
 
+#if ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_))
32314
 
+/* Representation of an 80-bit 'long double' as an initializer for a sequence
32315
 
+   of 'unsigned int' words.  */
32316
 
+# ifdef WORDS_BIGENDIAN
32317
 
+#  define LDBL80_WORDS(exponent,manthi,mantlo) \
32318
 
+     { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \
32319
 
+       ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16),    \
32320
 
+       (unsigned int) (mantlo) << 16                                        \
32321
 
+     }
32322
 
+# else
32323
 
+#  define LDBL80_WORDS(exponent,manthi,mantlo) \
32324
 
+     { mantlo, manthi, exponent }
32325
 
+# endif
32326
 
+  { /* Quiet NaN.  */
32327
 
+    static memory_long_double x =
32328
 
+      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
32329
 
+    if (!isnanl (x.value))
32330
 
+      result |= 2;
32331
 
+  }
32332
 
+  {
32333
 
+    /* Signalling NaN.  */
32334
 
+    static memory_long_double x =
32335
 
+      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
32336
 
+    if (!isnanl (x.value))
32337
 
+      result |= 2;
32338
 
+  }
32339
 
+  /* The isnanl function should recognize Pseudo-NaNs, Pseudo-Infinities,
32340
 
+     Pseudo-Zeroes, Unnormalized Numbers, and Pseudo-Denormals, as defined in
32341
 
+       Intel IA-64 Architecture Software Developer's Manual, Volume 1:
32342
 
+       Application Architecture.
32343
 
+       Table 5-2 "Floating-Point Register Encodings"
32344
 
+       Figure 5-6 "Memory to Floating-Point Register Data Translation"
32345
 
+   */
32346
 
+  { /* Pseudo-NaN.  */
32347
 
+    static memory_long_double x =
32348
 
+      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
32349
 
+    if (!isnanl (x.value))
32350
 
+      result |= 4;
32351
 
+  }
32352
 
+  { /* Pseudo-Infinity.  */
32353
 
+    static memory_long_double x =
32354
 
+      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
32355
 
+    if (!isnanl (x.value))
32356
 
+      result |= 8;
32357
 
+  }
32358
 
+  { /* Pseudo-Zero.  */
32359
 
+    static memory_long_double x =
32360
 
+      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
32361
 
+    if (!isnanl (x.value))
32362
 
+      result |= 16;
32363
 
+  }
32364
 
+  { /* Unnormalized number.  */
32365
 
+    static memory_long_double x =
32366
 
+      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
32367
 
+    if (!isnanl (x.value))
32368
 
+      result |= 32;
32369
 
+  }
32370
 
+  { /* Pseudo-Denormal.  */
32371
 
+    static memory_long_double x =
32372
 
+      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
32373
 
+    if (!isnanl (x.value))
32374
 
+      result |= 64;
32375
 
+  }
32376
 
+#endif
32377
 
+
32378
 
+  return result;
32379
 
+}
32380
 
+_ACEOF
32381
 
+if ac_fn_c_try_run "$LINENO"; then :
32382
 
+  gl_cv_func_isnanl_works=yes
32383
 
+else
32384
 
+  gl_cv_func_isnanl_works=no
32385
 
+fi
32386
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
32387
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
32388
 
+fi
32389
 
+
32390
 
+    
32391
 
+fi
32392
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanl_works" >&5
32393
 
+$as_echo "$gl_cv_func_isnanl_works" >&6; }
32394
 
+
32395
 
+    case "$gl_cv_func_isnanl_works" in
32396
 
+      *yes) ;;
32397
 
+      *)    gl_func_isnanl_no_libm=no ;;
32398
 
+    esac
32399
 
+  fi
32400
 
+  if test $gl_func_isnanl_no_libm = yes; then
32401
 
+    
32402
 
+$as_echo "@%:@define HAVE_ISNANL_IN_LIBC 1" >>confdefs.h
32403
 
+
32404
 
+  fi
32405
 
+
32406
 
+if test $gl_func_isnanl_no_libm != yes; then
32407
 
+  
32408
 
+  
32409
 
+  
32410
 
+    
32411
 
+      
32412
 
+      
32413
 
+    
32414
 
+  
32415
 
+  gl_LIBOBJS="$gl_LIBOBJS isnanl.$ac_objext"
32416
 
+
32417
 
+  
32418
 
+  
32419
 
+  
32420
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5
32421
 
+$as_echo_n "checking where to find the exponent in a 'long double'... " >&6; }
32422
 
+if ${gl_cv_cc_long_double_expbit0+:} false; then :
32423
 
+  $as_echo_n "(cached) " >&6
32424
 
+else
32425
 
+  
32426
 
+      if test "$cross_compiling" = yes; then :
32427
 
+  
32428
 
+                              gl_cv_cc_long_double_expbit0="unknown"
32429
 
+        
32430
 
+else
32431
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32432
 
+/* end confdefs.h.  */
32433
 
+
32434
 
+#include <float.h>
32435
 
+#include <stddef.h>
32436
 
+#include <stdio.h>
32437
 
+#include <string.h>
32438
 
+#define NWORDS \
32439
 
+  ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
32440
 
+typedef union { long double value; unsigned int word[NWORDS]; }
32441
 
+        memory_long_double;
32442
 
+static unsigned int ored_words[NWORDS];
32443
 
+static unsigned int anded_words[NWORDS];
32444
 
+static void add_to_ored_words (long double x)
32445
 
+{
32446
 
+  memory_long_double m;
32447
 
+  size_t i;
32448
 
+  /* Clear it first, in case
32449
 
+     sizeof (long double) < sizeof (memory_long_double).  */
32450
 
+  memset (&m, 0, sizeof (memory_long_double));
32451
 
+  m.value = x;
32452
 
+  for (i = 0; i < NWORDS; i++)
32453
 
+    {
32454
 
+      ored_words[i] |= m.word[i];
32455
 
+      anded_words[i] &= m.word[i];
32456
 
+    }
32457
 
+}
32458
 
+int main ()
32459
 
+{
32460
 
+  size_t j;
32461
 
+  FILE *fp = fopen ("conftest.out", "w");
32462
 
+  if (fp == NULL)
32463
 
+    return 1;
32464
 
+  for (j = 0; j < NWORDS; j++)
32465
 
+    anded_words[j] = ~ (unsigned int) 0;
32466
 
+  add_to_ored_words (0.25L);
32467
 
+  add_to_ored_words (0.5L);
32468
 
+  add_to_ored_words (1.0L);
32469
 
+  add_to_ored_words (2.0L);
32470
 
+  add_to_ored_words (4.0L);
32471
 
+  /* Remove bits that are common (e.g. if representation of the first mantissa
32472
 
+     bit is explicit).  */
32473
 
+  for (j = 0; j < NWORDS; j++)
32474
 
+    ored_words[j] &= ~anded_words[j];
32475
 
+  /* Now find the nonzero word.  */
32476
 
+  for (j = 0; j < NWORDS; j++)
32477
 
+    if (ored_words[j] != 0)
32478
 
+      break;
32479
 
+  if (j < NWORDS)
32480
 
+    {
32481
 
+      size_t i;
32482
 
+      for (i = j + 1; i < NWORDS; i++)
32483
 
+        if (ored_words[i] != 0)
32484
 
+          {
32485
 
+            fprintf (fp, "unknown");
32486
 
+            return (fclose (fp) != 0);
32487
 
+          }
32488
 
+      for (i = 0; ; i++)
32489
 
+        if ((ored_words[j] >> i) & 1)
32490
 
+          {
32491
 
+            fprintf (fp, "word %d bit %d", (int) j, (int) i);
32492
 
+            return (fclose (fp) != 0);
32493
 
+          }
32494
 
+    }
32495
 
+  fprintf (fp, "unknown");
32496
 
+  return (fclose (fp) != 0);
32497
 
+}
32498
 
+        
32499
 
+_ACEOF
32500
 
+if ac_fn_c_try_run "$LINENO"; then :
32501
 
+  gl_cv_cc_long_double_expbit0=`cat conftest.out`
32502
 
+else
32503
 
+  gl_cv_cc_long_double_expbit0="unknown"
32504
 
+fi
32505
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
32506
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
32507
 
+fi
32508
 
+
32509
 
+      rm -f conftest.out
32510
 
+    
32511
 
+fi
32512
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_expbit0" >&5
32513
 
+$as_echo "$gl_cv_cc_long_double_expbit0" >&6; }
32514
 
+  case "$gl_cv_cc_long_double_expbit0" in
32515
 
+    word*bit*)
32516
 
+      word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
32517
 
+      bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'`
32518
 
+      
32519
 
+cat >>confdefs.h <<_ACEOF
32520
 
+@%:@define LDBL_EXPBIT0_WORD $word
32521
 
+_ACEOF
32522
 
+
32523
 
+      
32524
 
+cat >>confdefs.h <<_ACEOF
32525
 
+@%:@define LDBL_EXPBIT0_BIT $bit
32526
 
+_ACEOF
32527
 
+
32528
 
+      ;;
32529
 
+  esac
32530
 
+
32531
 
+
32532
 
+fi
32533
 
+
32534
 
+  
32535
 
+  
32536
 
+    
32537
 
+  
32538
 
+  ac_fn_c_check_decl "$LINENO" "iswblank" "ac_cv_have_decl_iswblank" "
32539
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
32540
 
+   <wchar.h>.
32541
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
32542
 
+   before <wchar.h>.  */
32543
 
+#include <stddef.h>
32544
 
+#include <stdio.h>
32545
 
+#include <time.h>
32546
 
+#include <wchar.h>
32547
 
+#include <wctype.h>
32548
 
+
32549
 
+"
32550
 
+if test "x$ac_cv_have_decl_iswblank" = xyes; then :
32551
 
+  ac_have_decl=1
32552
 
+else
32553
 
+  ac_have_decl=0
32554
 
+fi
32555
 
+
32556
 
+cat >>confdefs.h <<_ACEOF
32557
 
+@%:@define HAVE_DECL_ISWBLANK $ac_have_decl
32558
 
+_ACEOF
32559
 
+
32560
 
+  if test $ac_cv_func_iswblank = no; then
32561
 
+    HAVE_ISWBLANK=0
32562
 
+    if test $ac_cv_have_decl_iswblank = yes; then
32563
 
+      REPLACE_ISWBLANK=1
32564
 
+    fi
32565
 
+  fi
32566
 
+  if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
32567
 
+        :
32568
 
+  else
32569
 
+    if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then
32570
 
+            :
32571
 
+    fi
32572
 
+  fi
32573
 
+
32574
 
+
32575
 
+if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
32576
 
+  :
32577
 
+else
32578
 
+  if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then
32579
 
+    
32580
 
+  
32581
 
+  
32582
 
+    
32583
 
+      
32584
 
+      
32585
 
+    
32586
 
+  
32587
 
+  gl_LIBOBJS="$gl_LIBOBJS iswblank.$ac_objext"
32588
 
+
32589
 
+  fi
32590
 
+fi
32591
 
+
32592
 
+    
32593
 
+  
32594
 
+  
32595
 
+  
32596
 
+          GNULIB_ISWBLANK=1
32597
 
+    
32598
 
+
32599
 
+
32600
 
+    
32601
 
+  
32602
 
+$as_echo "@%:@define GNULIB_TEST_ISWBLANK 1" >>confdefs.h
32603
 
+
32604
 
+
32605
 
+
32606
 
+
32607
 
+  
32608
 
+
32609
 
+    
32610
 
+
32611
 
+    
32612
 
+  
32613
 
+  
32614
 
+  
32615
 
+
32616
 
+  
32617
 
+    
32618
 
+
32619
 
+  
32620
 
+     if test $gl_cv_have_include_next = yes; then
32621
 
+       gl_cv_next_langinfo_h='<'langinfo.h'>'
32622
 
+     else
32623
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <langinfo.h>" >&5
32624
 
+$as_echo_n "checking absolute name of <langinfo.h>... " >&6; }
32625
 
+if ${gl_cv_next_langinfo_h+:} false; then :
32626
 
+  $as_echo_n "(cached) " >&6
32627
 
+else
32628
 
+  
32629
 
+             if test $ac_cv_header_langinfo_h = yes; then
32630
 
+             
32631
 
+            
32632
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32633
 
+/* end confdefs.h.  */
32634
 
+#include <langinfo.h>
32635
 
+                  
32636
 
+_ACEOF
32637
 
+                                                                                                                        case "$host_os" in
32638
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
32639
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
32640
 
+               esac
32641
 
+                                                            gl_cv_next_langinfo_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
32642
 
+                  sed -n '\#/langinfo.h#{
32643
 
+                    s#.*"\(.*/langinfo.h\)".*#\1#
32644
 
+                    s#^/[^/]#//&#
32645
 
+                    p
32646
 
+                    q
32647
 
+                  }'`'"'
32648
 
+          else
32649
 
+               gl_cv_next_langinfo_h='<'langinfo.h'>'
32650
 
+             fi
32651
 
+            
32652
 
+         
32653
 
+fi
32654
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_langinfo_h" >&5
32655
 
+$as_echo "$gl_cv_next_langinfo_h" >&6; }
32656
 
+     fi
32657
 
+     NEXT_LANGINFO_H=$gl_cv_next_langinfo_h
32658
 
+
32659
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
32660
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
32661
 
+       gl_next_as_first_directive='<'langinfo.h'>'
32662
 
+     else
32663
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
32664
 
+       gl_next_as_first_directive=$gl_cv_next_langinfo_h
32665
 
+     fi
32666
 
+     NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H=$gl_next_as_first_directive
32667
 
+
32668
 
+     
32669
 
+
32670
 
+
32671
 
+
32672
 
+    HAVE_LANGINFO_CODESET=0
32673
 
+  HAVE_LANGINFO_T_FMT_AMPM=0
32674
 
+  HAVE_LANGINFO_ERA=0
32675
 
+  HAVE_LANGINFO_YESEXPR=0
32676
 
+  
32677
 
+  if test $ac_cv_header_langinfo_h = yes; then
32678
 
+    HAVE_LANGINFO_H=1
32679
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5
32680
 
+$as_echo_n "checking whether langinfo.h defines CODESET... " >&6; }
32681
 
+if ${gl_cv_header_langinfo_codeset+:} false; then :
32682
 
+  $as_echo_n "(cached) " >&6
32683
 
+else
32684
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32685
 
+/* end confdefs.h.  */
32686
 
+#include <langinfo.h>
32687
 
+int a = CODESET;
32688
 
+
32689
 
+int
32690
 
+main ()
32691
 
+{
32692
 
+
32693
 
+  ;
32694
 
+  return 0;
32695
 
+}
32696
 
+_ACEOF
32697
 
+if ac_fn_c_try_compile "$LINENO"; then :
32698
 
+  gl_cv_header_langinfo_codeset=yes
32699
 
+else
32700
 
+  gl_cv_header_langinfo_codeset=no
32701
 
+fi
32702
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32703
 
+      
32704
 
+fi
32705
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_codeset" >&5
32706
 
+$as_echo "$gl_cv_header_langinfo_codeset" >&6; }
32707
 
+    if test $gl_cv_header_langinfo_codeset = yes; then
32708
 
+      HAVE_LANGINFO_CODESET=1
32709
 
+    fi
32710
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5
32711
 
+$as_echo_n "checking whether langinfo.h defines T_FMT_AMPM... " >&6; }
32712
 
+if ${gl_cv_header_langinfo_t_fmt_ampm+:} false; then :
32713
 
+  $as_echo_n "(cached) " >&6
32714
 
+else
32715
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32716
 
+/* end confdefs.h.  */
32717
 
+#include <langinfo.h>
32718
 
+int a = T_FMT_AMPM;
32719
 
+
32720
 
+int
32721
 
+main ()
32722
 
+{
32723
 
+
32724
 
+  ;
32725
 
+  return 0;
32726
 
+}
32727
 
+_ACEOF
32728
 
+if ac_fn_c_try_compile "$LINENO"; then :
32729
 
+  gl_cv_header_langinfo_t_fmt_ampm=yes
32730
 
+else
32731
 
+  gl_cv_header_langinfo_t_fmt_ampm=no
32732
 
+fi
32733
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32734
 
+      
32735
 
+fi
32736
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_t_fmt_ampm" >&5
32737
 
+$as_echo "$gl_cv_header_langinfo_t_fmt_ampm" >&6; }
32738
 
+    if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then
32739
 
+      HAVE_LANGINFO_T_FMT_AMPM=1
32740
 
+    fi
32741
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5
32742
 
+$as_echo_n "checking whether langinfo.h defines ERA... " >&6; }
32743
 
+if ${gl_cv_header_langinfo_era+:} false; then :
32744
 
+  $as_echo_n "(cached) " >&6
32745
 
+else
32746
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32747
 
+/* end confdefs.h.  */
32748
 
+#include <langinfo.h>
32749
 
+int a = ERA;
32750
 
+
32751
 
+int
32752
 
+main ()
32753
 
+{
32754
 
+
32755
 
+  ;
32756
 
+  return 0;
32757
 
+}
32758
 
+_ACEOF
32759
 
+if ac_fn_c_try_compile "$LINENO"; then :
32760
 
+  gl_cv_header_langinfo_era=yes
32761
 
+else
32762
 
+  gl_cv_header_langinfo_era=no
32763
 
+fi
32764
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32765
 
+      
32766
 
+fi
32767
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_era" >&5
32768
 
+$as_echo "$gl_cv_header_langinfo_era" >&6; }
32769
 
+    if test $gl_cv_header_langinfo_era = yes; then
32770
 
+      HAVE_LANGINFO_ERA=1
32771
 
+    fi
32772
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5
32773
 
+$as_echo_n "checking whether langinfo.h defines YESEXPR... " >&6; }
32774
 
+if ${gl_cv_header_langinfo_yesexpr+:} false; then :
32775
 
+  $as_echo_n "(cached) " >&6
32776
 
+else
32777
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32778
 
+/* end confdefs.h.  */
32779
 
+#include <langinfo.h>
32780
 
+int a = YESEXPR;
32781
 
+
32782
 
+int
32783
 
+main ()
32784
 
+{
32785
 
+
32786
 
+  ;
32787
 
+  return 0;
32788
 
+}
32789
 
+_ACEOF
32790
 
+if ac_fn_c_try_compile "$LINENO"; then :
32791
 
+  gl_cv_header_langinfo_yesexpr=yes
32792
 
+else
32793
 
+  gl_cv_header_langinfo_yesexpr=no
32794
 
+fi
32795
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32796
 
+      
32797
 
+fi
32798
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_yesexpr" >&5
32799
 
+$as_echo "$gl_cv_header_langinfo_yesexpr" >&6; }
32800
 
+    if test $gl_cv_header_langinfo_yesexpr = yes; then
32801
 
+      HAVE_LANGINFO_YESEXPR=1
32802
 
+    fi
32803
 
+  else
32804
 
+    HAVE_LANGINFO_H=0
32805
 
+  fi
32806
 
+  
32807
 
+  
32808
 
+  
32809
 
+  
32810
 
+  
32811
 
+
32812
 
+      
32813
 
+    for gl_func in nl_langinfo; do
32814
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
32815
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
32816
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
32817
 
+if eval \${$as_gl_Symbol+:} false; then :
32818
 
+  $as_echo_n "(cached) " >&6
32819
 
+else
32820
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32821
 
+/* end confdefs.h.  */
32822
 
+#include <langinfo.h>
32823
 
+    
32824
 
+int
32825
 
+main ()
32826
 
+{
32827
 
+@%:@undef $gl_func
32828
 
+  (void) $gl_func;
32829
 
+  ;
32830
 
+  return 0;
32831
 
+}
32832
 
+_ACEOF
32833
 
+if ac_fn_c_try_compile "$LINENO"; then :
32834
 
+  eval "$as_gl_Symbol=yes"
32835
 
+else
32836
 
+  eval "$as_gl_Symbol=no"
32837
 
+fi
32838
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32839
 
+fi
32840
 
+eval ac_res=\$$as_gl_Symbol
32841
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
32842
 
+$as_echo "$ac_res" >&6; }
32843
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
32844
 
+  cat >>confdefs.h <<_ACEOF
32845
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
32846
 
+_ACEOF
32847
 
+
32848
 
+                     eval ac_cv_have_decl_$gl_func=yes
32849
 
+fi
32850
 
+      done
32851
 
+
32852
 
+
32853
 
+
32854
 
+  
32855
 
+
32856
 
+    
32857
 
+
32858
 
+  
32859
 
+  if test $ac_cv_func_lchmod = no; then
32860
 
+    HAVE_LCHMOD=0
32861
 
+  fi
32862
 
+
32863
 
+
32864
 
+    
32865
 
+  
32866
 
+  
32867
 
+  
32868
 
+          GNULIB_LCHMOD=1
32869
 
+    
32870
 
+
32871
 
+
32872
 
+    
32873
 
+  
32874
 
+$as_echo "@%:@define GNULIB_TEST_LCHMOD 1" >>confdefs.h
32875
 
+
32876
 
+
32877
 
+
32878
 
+
32879
 
+  
32880
 
+  
32881
 
+  
32882
 
+  for ac_func in lchown
32883
 
+do :
32884
 
+  ac_fn_c_check_func "$LINENO" "lchown" "ac_cv_func_lchown"
32885
 
+if test "x$ac_cv_func_lchown" = xyes; then :
32886
 
+  cat >>confdefs.h <<_ACEOF
32887
 
+@%:@define HAVE_LCHOWN 1
32888
 
+_ACEOF
32889
 
32890
 
+fi
32891
 
+done
32892
 
+
32893
 
+  if test $ac_cv_func_lchown = no; then
32894
 
+    HAVE_LCHOWN=0
32895
 
+  elif test "$gl_cv_func_chown_slash_works" != yes \
32896
 
+      || test "$gl_cv_func_chown_ctime_works" != yes; then
32897
 
+        REPLACE_LCHOWN=1
32898
 
+  fi
32899
 
+
32900
 
+if test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1; then
32901
 
+  
32902
 
+  
32903
 
+  
32904
 
+    
32905
 
+      
32906
 
+      
32907
 
+    
32908
 
+  
32909
 
+  gl_LIBOBJS="$gl_LIBOBJS lchown.$ac_objext"
32910
 
+
32911
 
+fi
32912
 
+
32913
 
+    
32914
 
+  
32915
 
+  
32916
 
+  
32917
 
+          GNULIB_LCHOWN=1
32918
 
+    
32919
 
+
32920
 
+
32921
 
+    
32922
 
+  
32923
 
+$as_echo "@%:@define GNULIB_TEST_LCHOWN 1" >>confdefs.h
32924
 
+
32925
 
+
32926
 
+
32927
 
+
32928
 
+
32929
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler flag to ignore unused libraries" >&5
32930
 
+$as_echo_n "checking for C compiler flag to ignore unused libraries... " >&6; }
32931
 
+if ${gl_cv_prog_c_ignore_unused_libraries+:} false; then :
32932
 
+  $as_echo_n "(cached) " >&6
32933
 
+else
32934
 
+  gl_cv_prog_c_ignore_unused_libraries=none
32935
 
+     gl_saved_ldflags=$LDFLAGS
32936
 
+     gl_saved_libs=$LIBS
32937
 
+     # Link with -lm to detect binutils 2.16 bug with --as-needed; see
32938
 
+     # <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00131.html>.
32939
 
+     LIBS="$LIBS -lm"
32940
 
+     # Use long option sequences like '-z ignore' to test for the feature,
32941
 
+     # to forestall problems with linkers that have -z, -i, -g, -n, etc. flags.
32942
 
+     # GCC + binutils likes '-Wl,--as-needed'.
32943
 
+     # GCC + Solaris ld likes '-Wl,-z,ignore'.
32944
 
+     # Sun C likes '-Wl,-z,ignore'. '-z ignore' is accepted but has no effect.
32945
 
+     # Don't try bare '--as-needed'; nothing likes it and the HP-UX 11.11
32946
 
+     # native cc issues annoying warnings and then ignores it,
32947
 
+     # which would cause us to incorrectly conclude that it worked.
32948
 
+     for gl_flags in  '-Wl,--as-needed' \
32949
 
+  '-Wl,-z,ignore' \
32950
 
+  '-z ignore'
32951
 
+
32952
 
+     do
32953
 
+       LDFLAGS="$gl_flags $LDFLAGS"
32954
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32955
 
+/* end confdefs.h.  */
32956
 
+
32957
 
+int
32958
 
+main ()
32959
 
+{
32960
 
+
32961
 
+  ;
32962
 
+  return 0;
32963
 
+}
32964
 
+_ACEOF
32965
 
+if ac_fn_c_try_link "$LINENO"; then :
32966
 
+  gl_cv_prog_c_ignore_unused_libraries=$gl_flags
32967
 
+fi
32968
 
+rm -f core conftest.err conftest.$ac_objext \
32969
 
+    conftest$ac_exeext conftest.$ac_ext
32970
 
+       LDFLAGS=$gl_saved_ldflags
32971
 
+       test "$gl_cv_prog_c_ignore_unused_libraries" != none &&
32972
 
+         break
32973
 
+     done
32974
 
+     LIBS=$gl_saved_libs
32975
 
+    
32976
 
+fi
32977
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_prog_c_ignore_unused_libraries" >&5
32978
 
+$as_echo "$gl_cv_prog_c_ignore_unused_libraries" >&6; }
32979
 
+  IGNORE_UNUSED_LIBRARIES_CFLAGS=
32980
 
+  if test "$gl_cv_prog_c_ignore_unused_libraries" != none; then
32981
 
+    IGNORE_UNUSED_LIBRARIES_CFLAGS="$gl_cv_prog_c_ignore_unused_libraries"
32982
 
+  fi
32983
 
+  
32984
 
+
32985
 
+
32986
 
+  
32987
 
+  
32988
 
+  if test $ac_cv_func_link = no; then
32989
 
+    HAVE_LINK=0
32990
 
+  else
32991
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether link obeys POSIX" >&5
32992
 
+$as_echo_n "checking whether link obeys POSIX... " >&6; }
32993
 
+if ${gl_cv_func_link_works+:} false; then :
32994
 
+  $as_echo_n "(cached) " >&6
32995
 
+else
32996
 
+  touch conftest.a
32997
 
+       # Assume that if we have lstat, we can also check symlinks.
32998
 
+       if test $ac_cv_func_lstat = yes; then
32999
 
+         ln -s conftest.a conftest.lnk
33000
 
+       fi
33001
 
+       if test "$cross_compiling" = yes; then :
33002
 
+  gl_cv_func_link_works="guessing no"
33003
 
+else
33004
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33005
 
+/* end confdefs.h.  */
33006
 
+#include <unistd.h>
33007
 
+           
33008
 
+int
33009
 
+main ()
33010
 
+{
33011
 
+int result = 0;
33012
 
+             if (!link ("conftest.a", "conftest.b/"))
33013
 
+               result |= 1;
33014
 
+#if HAVE_LSTAT
33015
 
+             if (!link ("conftest.lnk/", "conftest.b"))
33016
 
+               result |= 2;
33017
 
+             if (rename ("conftest.a", "conftest.b"))
33018
 
+               result |= 4;
33019
 
+             if (!link ("conftest.b", "conftest.lnk"))
33020
 
+               result |= 8;
33021
 
+#endif
33022
 
+             return result;
33023
 
+           
33024
 
+  ;
33025
 
+  return 0;
33026
 
+}
33027
 
+_ACEOF
33028
 
+if ac_fn_c_try_run "$LINENO"; then :
33029
 
+  gl_cv_func_link_works=yes
33030
 
+else
33031
 
+  gl_cv_func_link_works=no
33032
 
+fi
33033
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33034
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
33035
 
+fi
33036
 
+
33037
 
+       rm -f conftest.a conftest.b conftest.lnk
33038
 
+fi
33039
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_link_works" >&5
33040
 
+$as_echo "$gl_cv_func_link_works" >&6; }
33041
 
+    if test "$gl_cv_func_link_works" != yes; then
33042
 
+      REPLACE_LINK=1
33043
 
+    fi
33044
 
+  fi
33045
 
+
33046
 
+if test $HAVE_LINK = 0 || test $REPLACE_LINK = 1; then
33047
 
+  
33048
 
+  
33049
 
+  
33050
 
+    
33051
 
+      
33052
 
+      
33053
 
+    
33054
 
+  
33055
 
+  gl_LIBOBJS="$gl_LIBOBJS link.$ac_objext"
33056
 
+
33057
 
+fi
33058
 
+
33059
 
+    
33060
 
+  
33061
 
+  
33062
 
+  
33063
 
+          GNULIB_LINK=1
33064
 
+    
33065
 
+
33066
 
+
33067
 
+    
33068
 
+  
33069
 
+$as_echo "@%:@define GNULIB_TEST_LINK 1" >>confdefs.h
33070
 
+
33071
 
+
33072
 
+
33073
 
+  
33074
 
+          gl_link_follows_symlinks=0 # assume GNU behavior
33075
 
+  if test $ac_cv_func_readlink = yes; then
33076
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __xpg4" >&5
33077
 
+$as_echo_n "checking for __xpg4... " >&6; }
33078
 
+if ${gl_cv_have___xpg4+:} false; then :
33079
 
+  $as_echo_n "(cached) " >&6
33080
 
+else
33081
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33082
 
+/* end confdefs.h.  */
33083
 
+extern int __xpg4;
33084
 
+int
33085
 
+main ()
33086
 
+{
33087
 
+return __xpg4;
33088
 
+  ;
33089
 
+  return 0;
33090
 
+}
33091
 
+_ACEOF
33092
 
+if ac_fn_c_try_link "$LINENO"; then :
33093
 
+  gl_cv_have___xpg4=yes
33094
 
+else
33095
 
+  gl_cv_have___xpg4=no
33096
 
+fi
33097
 
+rm -f core conftest.err conftest.$ac_objext \
33098
 
+    conftest$ac_exeext conftest.$ac_ext
33099
 
+      
33100
 
+fi
33101
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have___xpg4" >&5
33102
 
+$as_echo "$gl_cv_have___xpg4" >&6; }
33103
 
+    if test $gl_cv_have___xpg4 = yes; then
33104
 
+      gl_link_follows_symlinks=-1
33105
 
+    else
33106
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether link(2) dereferences a symlink" >&5
33107
 
+$as_echo_n "checking whether link(2) dereferences a symlink... " >&6; }
33108
 
+if ${gl_cv_func_link_follows_symlink+:} false; then :
33109
 
+  $as_echo_n "(cached) " >&6
33110
 
+else
33111
 
+  
33112
 
+         # Create a regular file.
33113
 
+         echo > conftest.file
33114
 
+         if test "$cross_compiling" = yes; then :
33115
 
+             gl_cv_func_link_follows_symlink=unknown          
33116
 
+else
33117
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33118
 
+/* end confdefs.h.  */
33119
 
+
33120
 
+#       include <sys/types.h>
33121
 
+#       include <sys/stat.h>
33122
 
+#       include <unistd.h>
33123
 
+#       include <stdlib.h>
33124
 
+
33125
 
+#       define SAME_INODE(Stat_buf_1, Stat_buf_2) \
33126
 
+          ((Stat_buf_1).st_ino == (Stat_buf_2).st_ino \
33127
 
+           && (Stat_buf_1).st_dev == (Stat_buf_2).st_dev)
33128
 
+
33129
 
+        int
33130
 
+        main ()
33131
 
+        {
33132
 
+          const char *file = "conftest.file";
33133
 
+          const char *sym = "conftest.sym";
33134
 
+          const char *hard = "conftest.hard";
33135
 
+          struct stat sb_file, sb_hard;
33136
 
+
33137
 
+          /* Create a symlink to the regular file. */
33138
 
+          if (symlink (file, sym))
33139
 
+            return 2;
33140
 
+
33141
 
+          /* Create a hard link to that symlink.  */
33142
 
+          if (link (sym, hard))
33143
 
+            return 3;
33144
 
+
33145
 
+          if (lstat (hard, &sb_hard))
33146
 
+            return 4;
33147
 
+          if (lstat (file, &sb_file))
33148
 
+            return 5;
33149
 
+
33150
 
+          /* If the dev/inode of hard and file are the same, then
33151
 
+             the link call followed the symlink.  */
33152
 
+          return SAME_INODE (sb_hard, sb_file) ? 1 : 0;
33153
 
+        }
33154
 
+           
33155
 
+_ACEOF
33156
 
+if ac_fn_c_try_run "$LINENO"; then :
33157
 
+  gl_cv_func_link_follows_symlink=no
33158
 
+else
33159
 
+             gl_cv_func_link_follows_symlink=yes
33160
 
+fi
33161
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33162
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
33163
 
+fi
33164
 
+
33165
 
+         rm -f conftest.file conftest.sym conftest.hard
33166
 
+        
33167
 
+fi
33168
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_link_follows_symlink" >&5
33169
 
+$as_echo "$gl_cv_func_link_follows_symlink" >&6; }
33170
 
+      case $gl_cv_func_link_follows_symlink in
33171
 
+        yes) gl_link_follows_symlinks=1 ;;
33172
 
+        no) ;; # already defaulted to 0
33173
 
+        *) gl_link_follows_symlinks=-2 ;;
33174
 
+      esac
33175
 
+    fi
33176
 
+  fi
33177
 
+  
33178
 
+cat >>confdefs.h <<_ACEOF
33179
 
+@%:@define LINK_FOLLOWS_SYMLINKS $gl_link_follows_symlinks
33180
 
+_ACEOF
33181
 
+
33182
 
+
33183
 
+
33184
 
+  
33185
 
+  
33186
 
+  
33187
 
+  
33188
 
+     
33189
 
+  
33190
 
+  if test $ac_cv_func_linkat = no; then
33191
 
+    HAVE_LINKAT=0
33192
 
+  else
33193
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linkat(,AT_SYMLINK_FOLLOW) works" >&5
33194
 
+$as_echo_n "checking whether linkat(,AT_SYMLINK_FOLLOW) works... " >&6; }
33195
 
+if ${gl_cv_func_linkat_follow+:} false; then :
33196
 
+  $as_echo_n "(cached) " >&6
33197
 
+else
33198
 
+  rm -rf conftest.f1 conftest.f2
33199
 
+       touch conftest.f1
33200
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33201
 
+/* end confdefs.h.  */
33202
 
+
33203
 
+#include <fcntl.h>
33204
 
+#include <unistd.h>
33205
 
+#ifdef __linux__
33206
 
+/* Linux added linkat in 2.6.16, but did not add AT_SYMLINK_FOLLOW
33207
 
+   until 2.6.18.  Always replace linkat to support older kernels.  */
33208
 
+choke me
33209
 
+#endif
33210
 
+
33211
 
+int
33212
 
+main ()
33213
 
+{
33214
 
+return linkat (AT_FDCWD, "conftest.f1", AT_FDCWD, "conftest.f2",
33215
 
+                    AT_SYMLINK_FOLLOW);
33216
 
+  ;
33217
 
+  return 0;
33218
 
+}
33219
 
+_ACEOF
33220
 
+if ac_fn_c_try_compile "$LINENO"; then :
33221
 
+  gl_cv_func_linkat_follow=yes
33222
 
+else
33223
 
+  gl_cv_func_linkat_follow="need runtime check"
33224
 
+fi
33225
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33226
 
+       rm -rf conftest.f1 conftest.f2
33227
 
+fi
33228
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_linkat_follow" >&5
33229
 
+$as_echo "$gl_cv_func_linkat_follow" >&6; }
33230
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linkat handles trailing slash correctly" >&5
33231
 
+$as_echo_n "checking whether linkat handles trailing slash correctly... " >&6; }
33232
 
+if ${gl_cv_func_linkat_slash+:} false; then :
33233
 
+  $as_echo_n "(cached) " >&6
33234
 
+else
33235
 
+  rm -rf conftest.a conftest.b conftest.c conftest.d
33236
 
+       if test "$cross_compiling" = yes; then :
33237
 
+  # Guess yes on glibc systems, no otherwise.
33238
 
+          case "$host_os" in
33239
 
+            *-gnu*) gl_cv_func_linkat_slash="guessing yes";;
33240
 
+            *)      gl_cv_func_linkat_slash="guessing no";;
33241
 
+          esac
33242
 
+         
33243
 
+else
33244
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33245
 
+/* end confdefs.h.  */
33246
 
+#include <unistd.h>
33247
 
+              #include <fcntl.h>
33248
 
+              #include <errno.h>
33249
 
+              #include <stdio.h>
33250
 
+            
33251
 
+int
33252
 
+main ()
33253
 
+{
33254
 
+int result;
33255
 
+              int fd;
33256
 
+              /* Create a regular file.  */
33257
 
+              fd = open ("conftest.a", O_CREAT | O_EXCL | O_WRONLY, 0600);
33258
 
+              if (fd < 0)
33259
 
+                return 1;
33260
 
+              if (write (fd, "hello", 5) < 5)
33261
 
+                return 2;
33262
 
+              if (close (fd) < 0)
33263
 
+                return 3;
33264
 
+              /* Test whether hard links are supported on the current
33265
 
+                 device.  */
33266
 
+              if (linkat (AT_FDCWD, "conftest.a", AT_FDCWD, "conftest.b",
33267
 
+                          AT_SYMLINK_FOLLOW) < 0)
33268
 
+                return 0;
33269
 
+              result = 0;
33270
 
+              /* Test whether a trailing "/" is treated like "/.".  */
33271
 
+              if (linkat (AT_FDCWD, "conftest.a/", AT_FDCWD, "conftest.c",
33272
 
+                          AT_SYMLINK_FOLLOW) == 0)
33273
 
+                result |= 4;
33274
 
+              if (linkat (AT_FDCWD, "conftest.a", AT_FDCWD, "conftest.d/",
33275
 
+                          AT_SYMLINK_FOLLOW) == 0)
33276
 
+                result |= 8;
33277
 
+              return result;
33278
 
+            
33279
 
+  ;
33280
 
+  return 0;
33281
 
+}
33282
 
+_ACEOF
33283
 
+if ac_fn_c_try_run "$LINENO"; then :
33284
 
+  gl_cv_func_linkat_slash=yes
33285
 
+else
33286
 
+  gl_cv_func_linkat_slash=no
33287
 
+fi
33288
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33289
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
33290
 
+fi
33291
 
+
33292
 
+       rm -rf conftest.a conftest.b conftest.c conftest.d
33293
 
+fi
33294
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_linkat_slash" >&5
33295
 
+$as_echo "$gl_cv_func_linkat_slash" >&6; }
33296
 
+    case "$gl_cv_func_linkat_slash" in
33297
 
+      *yes) gl_linkat_slash_bug=0 ;;
33298
 
+      *)    gl_linkat_slash_bug=1 ;;
33299
 
+    esac
33300
 
+    if test "$gl_cv_func_linkat_follow" != yes \
33301
 
+       || test $gl_linkat_slash_bug = 1; then
33302
 
+      REPLACE_LINKAT=1
33303
 
+      
33304
 
+cat >>confdefs.h <<_ACEOF
33305
 
+@%:@define LINKAT_TRAILING_SLASH_BUG $gl_linkat_slash_bug
33306
 
+_ACEOF
33307
 
+
33308
 
+    fi
33309
 
+  fi
33310
 
+
33311
 
+if test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1; then
33312
 
+  
33313
 
+  
33314
 
+  
33315
 
+    
33316
 
+      
33317
 
+      
33318
 
+    
33319
 
+  
33320
 
+  gl_LIBOBJS="$gl_LIBOBJS linkat.$ac_objext"
33321
 
+
33322
 
+fi
33323
 
+if test $HAVE_LINKAT = 0; then
33324
 
+  
33325
 
+  
33326
 
+  
33327
 
+    
33328
 
+      
33329
 
+      
33330
 
+    
33331
 
+  
33332
 
+  gl_LIBOBJS="$gl_LIBOBJS at-func2.$ac_objext"
33333
 
+
33334
 
+fi
33335
 
+
33336
 
+    
33337
 
+  
33338
 
+  
33339
 
+  
33340
 
+          GNULIB_LINKAT=1
33341
 
+    
33342
 
+
33343
 
+
33344
 
+    
33345
 
+  
33346
 
+$as_echo "@%:@define GNULIB_TEST_LINKAT 1" >>confdefs.h
33347
 
+
33348
 
+
33349
 
+
33350
 
+
33351
 
+    
33352
 
+  
33353
 
+  
33354
 
+
33355
 
+    
33356
 
+  
33357
 
+
33358
 
+LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
33359
 
+
33360
 
+
33361
 
+      
33362
 
+
33363
 
+    
33364
 
+
33365
 
+    
33366
 
+
33367
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h conforms to POSIX:2001" >&5
33368
 
+$as_echo_n "checking whether locale.h conforms to POSIX:2001... " >&6; }
33369
 
+if ${gl_cv_header_locale_h_posix2001+:} false; then :
33370
 
+  $as_echo_n "(cached) " >&6
33371
 
+else
33372
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33373
 
+/* end confdefs.h.  */
33374
 
+#include <locale.h>
33375
 
+            int x = LC_MESSAGES;
33376
 
+int
33377
 
+main ()
33378
 
+{
33379
 
+
33380
 
+  ;
33381
 
+  return 0;
33382
 
+}
33383
 
+_ACEOF
33384
 
+if ac_fn_c_try_compile "$LINENO"; then :
33385
 
+  gl_cv_header_locale_h_posix2001=yes
33386
 
+else
33387
 
+  gl_cv_header_locale_h_posix2001=no
33388
 
+fi
33389
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33390
 
+fi
33391
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_h_posix2001" >&5
33392
 
+$as_echo "$gl_cv_header_locale_h_posix2001" >&6; }
33393
 
+
33394
 
+    
33395
 
+  if test $ac_cv_header_xlocale_h = yes; then
33396
 
+    HAVE_XLOCALE_H=1
33397
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5
33398
 
+$as_echo_n "checking whether locale.h defines locale_t... " >&6; }
33399
 
+if ${gl_cv_header_locale_has_locale_t+:} false; then :
33400
 
+  $as_echo_n "(cached) " >&6
33401
 
+else
33402
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33403
 
+/* end confdefs.h.  */
33404
 
+#include <locale.h>
33405
 
+              locale_t x;
33406
 
+int
33407
 
+main ()
33408
 
+{
33409
 
+
33410
 
+  ;
33411
 
+  return 0;
33412
 
+}
33413
 
+_ACEOF
33414
 
+if ac_fn_c_try_compile "$LINENO"; then :
33415
 
+  gl_cv_header_locale_has_locale_t=yes
33416
 
+else
33417
 
+  gl_cv_header_locale_has_locale_t=no
33418
 
+fi
33419
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33420
 
+      
33421
 
+fi
33422
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_has_locale_t" >&5
33423
 
+$as_echo "$gl_cv_header_locale_has_locale_t" >&6; }
33424
 
+    if test $gl_cv_header_locale_has_locale_t = yes; then
33425
 
+      gl_cv_header_locale_h_needs_xlocale_h=no
33426
 
+    else
33427
 
+      gl_cv_header_locale_h_needs_xlocale_h=yes
33428
 
+    fi
33429
 
+  else
33430
 
+    HAVE_XLOCALE_H=0
33431
 
+    gl_cv_header_locale_h_needs_xlocale_h=no
33432
 
+  fi
33433
 
+  
33434
 
+
33435
 
+    
33436
 
+  
33437
 
+  
33438
 
+  
33439
 
+
33440
 
+  
33441
 
+
33442
 
+  
33443
 
+     if test $gl_cv_have_include_next = yes; then
33444
 
+       gl_cv_next_locale_h='<'locale.h'>'
33445
 
+     else
33446
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <locale.h>" >&5
33447
 
+$as_echo_n "checking absolute name of <locale.h>... " >&6; }
33448
 
+if ${gl_cv_next_locale_h+:} false; then :
33449
 
+  $as_echo_n "(cached) " >&6
33450
 
+else
33451
 
+  
33452
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33453
 
+/* end confdefs.h.  */
33454
 
+#include <locale.h>
33455
 
+                  
33456
 
+_ACEOF
33457
 
+                                                                                                                        case "$host_os" in
33458
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
33459
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
33460
 
+               esac
33461
 
+                                                            gl_cv_next_locale_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
33462
 
+                  sed -n '\#/locale.h#{
33463
 
+                    s#.*"\(.*/locale.h\)".*#\1#
33464
 
+                    s#^/[^/]#//&#
33465
 
+                    p
33466
 
+                    q
33467
 
+                  }'`'"'
33468
 
+          
33469
 
+         
33470
 
+fi
33471
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_locale_h" >&5
33472
 
+$as_echo "$gl_cv_next_locale_h" >&6; }
33473
 
+     fi
33474
 
+     NEXT_LOCALE_H=$gl_cv_next_locale_h
33475
 
+
33476
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
33477
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
33478
 
+       gl_next_as_first_directive='<'locale.h'>'
33479
 
+     else
33480
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
33481
 
+       gl_next_as_first_directive=$gl_cv_next_locale_h
33482
 
+     fi
33483
 
+     NEXT_AS_FIRST_DIRECTIVE_LOCALE_H=$gl_next_as_first_directive
33484
 
+
33485
 
+     
33486
 
+
33487
 
+
33488
 
+
33489
 
+      
33490
 
+    for gl_func in setlocale duplocale; do
33491
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
33492
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
33493
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
33494
 
+if eval \${$as_gl_Symbol+:} false; then :
33495
 
+  $as_echo_n "(cached) " >&6
33496
 
+else
33497
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33498
 
+/* end confdefs.h.  */
33499
 
+#include <locale.h>
33500
 
+/* Some systems provide declarations in a non-standard header.  */
33501
 
+#if HAVE_XLOCALE_H
33502
 
+# include <xlocale.h>
33503
 
+#endif
33504
 
+    
33505
 
+int
33506
 
+main ()
33507
 
+{
33508
 
+@%:@undef $gl_func
33509
 
+  (void) $gl_func;
33510
 
+  ;
33511
 
+  return 0;
33512
 
+}
33513
 
+_ACEOF
33514
 
+if ac_fn_c_try_compile "$LINENO"; then :
33515
 
+  eval "$as_gl_Symbol=yes"
33516
 
+else
33517
 
+  eval "$as_gl_Symbol=no"
33518
 
+fi
33519
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33520
 
+fi
33521
 
+eval ac_res=\$$as_gl_Symbol
33522
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
33523
 
+$as_echo "$ac_res" >&6; }
33524
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
33525
 
+  cat >>confdefs.h <<_ACEOF
33526
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
33527
 
+_ACEOF
33528
 
+
33529
 
+                     eval ac_cv_have_decl_$gl_func=yes
33530
 
+fi
33531
 
+      done
33532
 
+
33533
 
+
33534
 
+
33535
 
+  
33536
 
+  if test "$gl_threads_api" = posix; then
33537
 
+    # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
33538
 
+    # pthread_rwlock_* functions.
33539
 
+    ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h>
33540
 
+"
33541
 
+if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
33542
 
+  
33543
 
+$as_echo "@%:@define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
33544
 
+
33545
 
+fi
33546
 
+
33547
 
+    # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
33548
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33549
 
+/* end confdefs.h.  */
33550
 
+
33551
 
+      #include <pthread.h>
33552
 
+int
33553
 
+main ()
33554
 
+{
33555
 
+
33556
 
+#if __FreeBSD__ == 4
33557
 
+error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
33558
 
+#else
33559
 
+int x = (int)PTHREAD_MUTEX_RECURSIVE;
33560
 
+return !x;
33561
 
+#endif
33562
 
+        
33563
 
+  ;
33564
 
+  return 0;
33565
 
+}
33566
 
+_ACEOF
33567
 
+if ac_fn_c_try_compile "$LINENO"; then :
33568
 
+  
33569
 
+$as_echo "@%:@define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h
33570
 
+
33571
 
+fi
33572
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33573
 
+  fi
33574
 
+  
33575
 
+  
33576
 
+
33577
 
+
33578
 
+
33579
 
+  
33580
 
+  
33581
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lseek detects pipes" >&5
33582
 
+$as_echo_n "checking whether lseek detects pipes... " >&6; }
33583
 
+if ${gl_cv_func_lseek_pipe+:} false; then :
33584
 
+  $as_echo_n "(cached) " >&6
33585
 
+else
33586
 
+  if test $cross_compiling = no; then
33587
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33588
 
+/* end confdefs.h.  */
33589
 
+
33590
 
+#include <sys/types.h> /* for off_t */
33591
 
+#include <stdio.h> /* for SEEK_CUR */
33592
 
+#include <unistd.h>
33593
 
+int
33594
 
+main ()
33595
 
+{
33596
 
+
33597
 
+  /* Exit with success only if stdin is seekable.  */
33598
 
+  return lseek (0, (off_t)0, SEEK_CUR) < 0;
33599
 
+
33600
 
+  ;
33601
 
+  return 0;
33602
 
+}
33603
 
+_ACEOF
33604
 
+if ac_fn_c_try_link "$LINENO"; then :
33605
 
+  if test -s conftest$ac_exeext \
33606
 
+             && ./conftest$ac_exeext < conftest.$ac_ext \
33607
 
+             && test 1 = "`echo hi \
33608
 
+               | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then
33609
 
+            gl_cv_func_lseek_pipe=yes
33610
 
+          else
33611
 
+            gl_cv_func_lseek_pipe=no
33612
 
+          fi
33613
 
+else
33614
 
+  gl_cv_func_lseek_pipe=no
33615
 
+fi
33616
 
+rm -f core conftest.err conftest.$ac_objext \
33617
 
+    conftest$ac_exeext conftest.$ac_ext
33618
 
+     else
33619
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33620
 
+/* end confdefs.h.  */
33621
 
+
33622
 
+#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined __BEOS__
33623
 
+/* mingw and BeOS mistakenly return 0 when trying to seek on pipes.  */
33624
 
+  Choke me.
33625
 
+#endif
33626
 
+_ACEOF
33627
 
+if ac_fn_c_try_compile "$LINENO"; then :
33628
 
+  gl_cv_func_lseek_pipe=yes
33629
 
+else
33630
 
+  gl_cv_func_lseek_pipe=no
33631
 
+fi
33632
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33633
 
+     fi
33634
 
+fi
33635
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lseek_pipe" >&5
33636
 
+$as_echo "$gl_cv_func_lseek_pipe" >&6; }
33637
 
+  if test $gl_cv_func_lseek_pipe = no; then
33638
 
+    REPLACE_LSEEK=1
33639
 
+    
33640
 
+$as_echo "@%:@define LSEEK_PIPE_BROKEN 1" >>confdefs.h
33641
 
+
33642
 
+  fi
33643
 
+
33644
 
+if test $REPLACE_LSEEK = 1; then
33645
 
+  
33646
 
+  
33647
 
+  
33648
 
+    
33649
 
+      
33650
 
+      
33651
 
+    
33652
 
+  
33653
 
+  gl_LIBOBJS="$gl_LIBOBJS lseek.$ac_objext"
33654
 
+
33655
 
+fi
33656
 
+
33657
 
+    
33658
 
+  
33659
 
+  
33660
 
+  
33661
 
+          GNULIB_LSEEK=1
33662
 
+    
33663
 
+
33664
 
+
33665
 
+    
33666
 
+  
33667
 
+$as_echo "@%:@define GNULIB_TEST_LSEEK 1" >>confdefs.h
33668
 
+
33669
 
+
33670
 
+
33671
 
+
33672
 
+  
33673
 
+      
33674
 
+  if test $ac_cv_func_lstat = yes; then
33675
 
+    
33676
 
+    if test $gl_cv_func_lstat_dereferences_slashed_symlink = no; then
33677
 
+      REPLACE_LSTAT=1
33678
 
+    fi
33679
 
+  else
33680
 
+    HAVE_LSTAT=0
33681
 
+  fi
33682
 
+
33683
 
+if test $REPLACE_LSTAT = 1; then
33684
 
+  
33685
 
+  
33686
 
+  
33687
 
+    
33688
 
+      
33689
 
+      
33690
 
+    
33691
 
+  
33692
 
+  gl_LIBOBJS="$gl_LIBOBJS lstat.$ac_objext"
33693
 
+
33694
 
+  
33695
 
+  
33696
 
+  :
33697
 
+
33698
 
+fi
33699
 
+
33700
 
+    
33701
 
+  
33702
 
+  
33703
 
+  
33704
 
+          GNULIB_LSTAT=1
33705
 
+    
33706
 
+
33707
 
+
33708
 
+    
33709
 
+  
33710
 
+$as_echo "@%:@define GNULIB_TEST_LSTAT 1" >>confdefs.h
33711
 
+
33712
 
+
33713
 
+
33714
 
+
33715
 
+
33716
 
+  
33717
 
+    for ac_header in stdlib.h
33718
 
+do :
33719
 
+  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
33720
 
+if test "x$ac_cv_header_stdlib_h" = xyes; then :
33721
 
+  cat >>confdefs.h <<_ACEOF
33722
 
+@%:@define HAVE_STDLIB_H 1
33723
 
+_ACEOF
33724
 
33725
 
+fi
33726
 
+
33727
 
+done
33728
 
+
33729
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
33730
 
+$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
33731
 
+if ${ac_cv_func_malloc_0_nonnull+:} false; then :
33732
 
+  $as_echo_n "(cached) " >&6
33733
 
+else
33734
 
+  if test "$cross_compiling" = yes; then :
33735
 
+  ac_cv_func_malloc_0_nonnull=no
33736
 
+else
33737
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33738
 
+/* end confdefs.h.  */
33739
 
+#if defined STDC_HEADERS || defined HAVE_STDLIB_H
33740
 
+# include <stdlib.h>
33741
 
+#else
33742
 
+char *malloc ();
33743
 
+#endif
33744
 
+
33745
 
+int
33746
 
+main ()
33747
 
+{
33748
 
+return ! malloc (0);
33749
 
+  ;
33750
 
+  return 0;
33751
 
+}
33752
 
+_ACEOF
33753
 
+if ac_fn_c_try_run "$LINENO"; then :
33754
 
+  ac_cv_func_malloc_0_nonnull=yes
33755
 
+else
33756
 
+  ac_cv_func_malloc_0_nonnull=no
33757
 
+fi
33758
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33759
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
33760
 
+fi
33761
 
+
33762
 
+fi
33763
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
33764
 
+$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
33765
 
+if test $ac_cv_func_malloc_0_nonnull = yes; then :
33766
 
+  
33767
 
+$as_echo "@%:@define HAVE_MALLOC_GNU 1" >>confdefs.h
33768
 
+
33769
 
+else
33770
 
+  $as_echo "@%:@define HAVE_MALLOC_GNU 0" >>confdefs.h
33771
 
+
33772
 
+     REPLACE_MALLOC=1
33773
 
+    
33774
 
+fi
33775
 
+
33776
 
+
33777
 
+if test $REPLACE_MALLOC = 1; then
33778
 
+  
33779
 
+  
33780
 
+  
33781
 
+    
33782
 
+      
33783
 
+      
33784
 
+    
33785
 
+  
33786
 
+  gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext"
33787
 
+
33788
 
+fi
33789
 
+
33790
 
+  
33791
 
+cat >>confdefs.h <<_ACEOF
33792
 
+@%:@define GNULIB_MALLOC_GNU 1
33793
 
+_ACEOF
33794
 
+
33795
 
+
33796
 
+
33797
 
+  
33798
 
+  
33799
 
+  if test $gl_cv_func_malloc_posix = yes; then
33800
 
+    
33801
 
+$as_echo "@%:@define HAVE_MALLOC_POSIX 1" >>confdefs.h
33802
 
+
33803
 
+  else
33804
 
+    REPLACE_MALLOC=1
33805
 
+  fi
33806
 
+
33807
 
+if test $REPLACE_MALLOC = 1; then
33808
 
+  
33809
 
+  
33810
 
+  
33811
 
+    
33812
 
+      
33813
 
+      
33814
 
+    
33815
 
+  
33816
 
+  gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext"
33817
 
+
33818
 
+fi
33819
 
+
33820
 
+    
33821
 
+  
33822
 
+  
33823
 
+  
33824
 
+          GNULIB_MALLOC_POSIX=1
33825
 
+    
33826
 
+
33827
 
+
33828
 
+    
33829
 
+  
33830
 
+$as_echo "@%:@define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h
33831
 
+
33832
 
+
33833
 
+
33834
 
+
33835
 
+        
33836
 
+  
33837
 
+
33838
 
+
33839
 
+  
33840
 
+  
33841
 
+  
33842
 
+  
33843
 
+  
33844
 
+
33845
 
+  
33846
 
+    
33847
 
+
33848
 
+  
33849
 
+     if test $gl_cv_have_include_next = yes; then
33850
 
+       gl_cv_next_math_h='<'math.h'>'
33851
 
+     else
33852
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <math.h>" >&5
33853
 
+$as_echo_n "checking absolute name of <math.h>... " >&6; }
33854
 
+if ${gl_cv_next_math_h+:} false; then :
33855
 
+  $as_echo_n "(cached) " >&6
33856
 
+else
33857
 
+  
33858
 
+             if test $ac_cv_header_math_h = yes; then
33859
 
+             
33860
 
+            
33861
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33862
 
+/* end confdefs.h.  */
33863
 
+#include <math.h>
33864
 
+                  
33865
 
+_ACEOF
33866
 
+                                                                                                                        case "$host_os" in
33867
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
33868
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
33869
 
+               esac
33870
 
+                                                            gl_cv_next_math_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
33871
 
+                  sed -n '\#/math.h#{
33872
 
+                    s#.*"\(.*/math.h\)".*#\1#
33873
 
+                    s#^/[^/]#//&#
33874
 
+                    p
33875
 
+                    q
33876
 
+                  }'`'"'
33877
 
+          else
33878
 
+               gl_cv_next_math_h='<'math.h'>'
33879
 
+             fi
33880
 
+            
33881
 
+         
33882
 
+fi
33883
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_math_h" >&5
33884
 
+$as_echo "$gl_cv_next_math_h" >&6; }
33885
 
+     fi
33886
 
+     NEXT_MATH_H=$gl_cv_next_math_h
33887
 
+
33888
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
33889
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
33890
 
+       gl_next_as_first_directive='<'math.h'>'
33891
 
+     else
33892
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
33893
 
+       gl_next_as_first_directive=$gl_cv_next_math_h
33894
 
+     fi
33895
 
+     NEXT_AS_FIRST_DIRECTIVE_MATH_H=$gl_next_as_first_directive
33896
 
+
33897
 
+     
33898
 
+
33899
 
+
33900
 
+  
33901
 
+
33902
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NAN macro works" >&5
33903
 
+$as_echo_n "checking whether NAN macro works... " >&6; }
33904
 
+if ${gl_cv_header_math_nan_works+:} false; then :
33905
 
+  $as_echo_n "(cached) " >&6
33906
 
+else
33907
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33908
 
+/* end confdefs.h.  */
33909
 
+@%:@include <math.h>
33910
 
+int
33911
 
+main ()
33912
 
+{
33913
 
+/* Solaris 10 has a broken definition of NAN.  Other platforms
33914
 
+        fail to provide NAN, or provide it only in C99 mode; this
33915
 
+        test only needs to fail when NAN is provided but wrong.  */
33916
 
+         float f = 1.0f;
33917
 
+#ifdef NAN
33918
 
+         f = NAN;
33919
 
+#endif
33920
 
+         return f == 0;
33921
 
+  ;
33922
 
+  return 0;
33923
 
+}
33924
 
+_ACEOF
33925
 
+if ac_fn_c_try_compile "$LINENO"; then :
33926
 
+  gl_cv_header_math_nan_works=yes
33927
 
+else
33928
 
+  gl_cv_header_math_nan_works=no
33929
 
+fi
33930
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33931
 
+fi
33932
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_math_nan_works" >&5
33933
 
+$as_echo "$gl_cv_header_math_nan_works" >&6; }
33934
 
+  if test $gl_cv_header_math_nan_works = no; then
33935
 
+    REPLACE_NAN=1
33936
 
+  fi
33937
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether HUGE_VAL works" >&5
33938
 
+$as_echo_n "checking whether HUGE_VAL works... " >&6; }
33939
 
+if ${gl_cv_header_math_huge_val_works+:} false; then :
33940
 
+  $as_echo_n "(cached) " >&6
33941
 
+else
33942
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33943
 
+/* end confdefs.h.  */
33944
 
+@%:@include <math.h>
33945
 
+int
33946
 
+main ()
33947
 
+{
33948
 
+/* Solaris 10 has a broken definition of HUGE_VAL.  */
33949
 
+         double d = HUGE_VAL;
33950
 
+         return d == 0;
33951
 
+  ;
33952
 
+  return 0;
33953
 
+}
33954
 
+_ACEOF
33955
 
+if ac_fn_c_try_compile "$LINENO"; then :
33956
 
+  gl_cv_header_math_huge_val_works=yes
33957
 
+else
33958
 
+  gl_cv_header_math_huge_val_works=no
33959
 
+fi
33960
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33961
 
+fi
33962
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_math_huge_val_works" >&5
33963
 
+$as_echo "$gl_cv_header_math_huge_val_works" >&6; }
33964
 
+  if test $gl_cv_header_math_huge_val_works = no; then
33965
 
+    REPLACE_HUGE_VAL=1
33966
 
+  fi
33967
 
+
33968
 
+      
33969
 
+    for gl_func in acosl asinl atanl ceilf ceill cosl expl floorf floorl frexpl     ldexpl logb logl round roundf roundl sinl sqrtl tanl trunc truncf truncl; do
33970
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
33971
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
33972
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
33973
 
+if eval \${$as_gl_Symbol+:} false; then :
33974
 
+  $as_echo_n "(cached) " >&6
33975
 
+else
33976
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33977
 
+/* end confdefs.h.  */
33978
 
+#include <math.h>
33979
 
+    
33980
 
+int
33981
 
+main ()
33982
 
+{
33983
 
+@%:@undef $gl_func
33984
 
+  (void) $gl_func;
33985
 
+  ;
33986
 
+  return 0;
33987
 
+}
33988
 
+_ACEOF
33989
 
+if ac_fn_c_try_compile "$LINENO"; then :
33990
 
+  eval "$as_gl_Symbol=yes"
33991
 
+else
33992
 
+  eval "$as_gl_Symbol=no"
33993
 
+fi
33994
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33995
 
+fi
33996
 
+eval ac_res=\$$as_gl_Symbol
33997
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
33998
 
+$as_echo "$ac_res" >&6; }
33999
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
34000
 
+  cat >>confdefs.h <<_ACEOF
34001
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
34002
 
+_ACEOF
34003
 
+
34004
 
+                     eval ac_cv_have_decl_$gl_func=yes
34005
 
+fi
34006
 
+      done
34007
 
+
34008
 
+
34009
 
+
34010
 
+  
34011
 
+  
34012
 
+
34013
 
+
34014
 
+  
34015
 
+  
34016
 
+  :
34017
 
+
34018
 
+
34019
 
+  
34020
 
+
34021
 
+  
34022
 
+  
34023
 
+  
34024
 
+  if test $ac_cv_func_mbrlen = no; then
34025
 
+    HAVE_MBRLEN=0
34026
 
+    ac_fn_c_check_decl "$LINENO" "mbrlen" "ac_cv_have_decl_mbrlen" "
34027
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
34028
 
+   <wchar.h>.
34029
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
34030
 
+   included before <wchar.h>.  */
34031
 
+#include <stddef.h>
34032
 
+#include <stdio.h>
34033
 
+#include <time.h>
34034
 
+#include <wchar.h>
34035
 
+
34036
 
+"
34037
 
+if test "x$ac_cv_have_decl_mbrlen" = xyes; then :
34038
 
+  ac_have_decl=1
34039
 
+else
34040
 
+  ac_have_decl=0
34041
 
+fi
34042
 
+
34043
 
+cat >>confdefs.h <<_ACEOF
34044
 
+@%:@define HAVE_DECL_MBRLEN $ac_have_decl
34045
 
+_ACEOF
34046
 
+
34047
 
+    if test $ac_cv_have_decl_mbrlen = yes; then
34048
 
+                        REPLACE_MBRLEN=1
34049
 
+    fi
34050
 
+  else
34051
 
+                    if test $REPLACE_MBRTOWC = 1; then
34052
 
+      REPLACE_MBRLEN=1
34053
 
+    fi
34054
 
+  fi
34055
 
+
34056
 
+if test $HAVE_MBRLEN = 0 || test $REPLACE_MBRLEN = 1; then
34057
 
+  
34058
 
+  
34059
 
+  
34060
 
+    
34061
 
+      
34062
 
+      
34063
 
+    
34064
 
+  
34065
 
+  gl_LIBOBJS="$gl_LIBOBJS mbrlen.$ac_objext"
34066
 
+
34067
 
+  
34068
 
+  :
34069
 
+
34070
 
+fi
34071
 
+
34072
 
+    
34073
 
+  
34074
 
+  
34075
 
+  
34076
 
+          GNULIB_MBRLEN=1
34077
 
+    
34078
 
+
34079
 
+
34080
 
+    
34081
 
+  
34082
 
+$as_echo "@%:@define GNULIB_TEST_MBRLEN 1" >>confdefs.h
34083
 
+
34084
 
+
34085
 
+
34086
 
+
34087
 
+  
34088
 
+
34089
 
+  
34090
 
+  
34091
 
+  
34092
 
+
34093
 
+  
34094
 
+  
34095
 
+  
34096
 
+  if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
34097
 
+    
34098
 
+  
34099
 
+  
34100
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
34101
 
+$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
34102
 
+if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
34103
 
+  $as_echo_n "(cached) " >&6
34104
 
+else
34105
 
+  
34106
 
+                  case "$host_os" in
34107
 
+                     # Guess no on AIX and OSF/1.
34108
 
+        aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
34109
 
+                     # Guess yes otherwise.
34110
 
+        *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
34111
 
+      esac
34112
 
+      if test $LOCALE_JA != none; then
34113
 
+        if test "$cross_compiling" = yes; then :
34114
 
+  :
34115
 
+else
34116
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34117
 
+/* end confdefs.h.  */
34118
 
+
34119
 
+#include <locale.h>
34120
 
+#include <string.h>
34121
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
34122
 
+   <wchar.h>.
34123
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
34124
 
+   included before <wchar.h>.  */
34125
 
+#include <stddef.h>
34126
 
+#include <stdio.h>
34127
 
+#include <time.h>
34128
 
+#include <wchar.h>
34129
 
+int main ()
34130
 
+{
34131
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
34132
 
+    {
34133
 
+      const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
34134
 
+      mbstate_t state;
34135
 
+      wchar_t wc;
34136
 
+
34137
 
+      memset (&state, '\0', sizeof (mbstate_t));
34138
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
34139
 
+        if (mbsinit (&state))
34140
 
+          return 1;
34141
 
+    }
34142
 
+  return 0;
34143
 
+}
34144
 
+_ACEOF
34145
 
+if ac_fn_c_try_run "$LINENO"; then :
34146
 
+  gl_cv_func_mbrtowc_incomplete_state=yes
34147
 
+else
34148
 
+  gl_cv_func_mbrtowc_incomplete_state=no
34149
 
+fi
34150
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34151
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
34152
 
+fi
34153
 
+
34154
 
+      fi
34155
 
+    
34156
 
+fi
34157
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
34158
 
+$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
34159
 
+
34160
 
+    
34161
 
+  
34162
 
+  
34163
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
34164
 
+$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
34165
 
+if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
34166
 
+  $as_echo_n "(cached) " >&6
34167
 
+else
34168
 
+  
34169
 
+                  case "$host_os" in
34170
 
+                    # Guess no on Solaris 8.
34171
 
+        solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
34172
 
+                    # Guess yes otherwise.
34173
 
+        *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
34174
 
+      esac
34175
 
+      if test $LOCALE_ZH_CN != none; then
34176
 
+        if test "$cross_compiling" = yes; then :
34177
 
+  :
34178
 
+else
34179
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34180
 
+/* end confdefs.h.  */
34181
 
+
34182
 
+#include <locale.h>
34183
 
+#include <stdlib.h>
34184
 
+#include <string.h>
34185
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
34186
 
+   <wchar.h>.
34187
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
34188
 
+   included before <wchar.h>.  */
34189
 
+#include <stddef.h>
34190
 
+#include <stdio.h>
34191
 
+#include <time.h>
34192
 
+#include <wchar.h>
34193
 
+int main ()
34194
 
+{
34195
 
+  /* This fails on Solaris 8:
34196
 
+     mbrtowc returns 2, and sets wc to 0x00F0.
34197
 
+     mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
34198
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
34199
 
+    {
34200
 
+      char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
34201
 
+      mbstate_t state;
34202
 
+      wchar_t wc;
34203
 
+
34204
 
+      memset (&state, '\0', sizeof (mbstate_t));
34205
 
+      if (mbrtowc (&wc, input + 3, 6, &state) != 4
34206
 
+          && mbtowc (&wc, input + 3, 6) == 4)
34207
 
+        return 1;
34208
 
+    }
34209
 
+  return 0;
34210
 
+}
34211
 
+_ACEOF
34212
 
+if ac_fn_c_try_run "$LINENO"; then :
34213
 
+  gl_cv_func_mbrtowc_sanitycheck=yes
34214
 
+else
34215
 
+  gl_cv_func_mbrtowc_sanitycheck=no
34216
 
+fi
34217
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34218
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
34219
 
+fi
34220
 
+
34221
 
+      fi
34222
 
+    
34223
 
+fi
34224
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
34225
 
+$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
34226
 
+
34227
 
+    REPLACE_MBSTATE_T=0
34228
 
+    case "$gl_cv_func_mbrtowc_incomplete_state" in
34229
 
+      *yes) ;;
34230
 
+      *) REPLACE_MBSTATE_T=1 ;;
34231
 
+    esac
34232
 
+    case "$gl_cv_func_mbrtowc_sanitycheck" in
34233
 
+      *yes) ;;
34234
 
+      *) REPLACE_MBSTATE_T=1 ;;
34235
 
+    esac
34236
 
+  else
34237
 
+    REPLACE_MBSTATE_T=1
34238
 
+  fi
34239
 
+
34240
 
+
34241
 
+  
34242
 
+  if test $ac_cv_func_mbrtowc = no; then
34243
 
+    HAVE_MBRTOWC=0
34244
 
+    ac_fn_c_check_decl "$LINENO" "mbrtowc" "ac_cv_have_decl_mbrtowc" "
34245
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
34246
 
+   <wchar.h>.
34247
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
34248
 
+   included before <wchar.h>.  */
34249
 
+#include <stddef.h>
34250
 
+#include <stdio.h>
34251
 
+#include <time.h>
34252
 
+#include <wchar.h>
34253
 
+
34254
 
+"
34255
 
+if test "x$ac_cv_have_decl_mbrtowc" = xyes; then :
34256
 
+  ac_have_decl=1
34257
 
+else
34258
 
+  ac_have_decl=0
34259
 
+fi
34260
 
+
34261
 
+cat >>confdefs.h <<_ACEOF
34262
 
+@%:@define HAVE_DECL_MBRTOWC $ac_have_decl
34263
 
+_ACEOF
34264
 
+
34265
 
+    if test $ac_cv_have_decl_mbrtowc = yes; then
34266
 
+                        REPLACE_MBRTOWC=1
34267
 
+    fi
34268
 
+  else
34269
 
+    if test $REPLACE_MBSTATE_T = 1; then
34270
 
+      REPLACE_MBRTOWC=1
34271
 
+    else
34272
 
+      
34273
 
+  
34274
 
+  
34275
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5
34276
 
+$as_echo_n "checking whether mbrtowc handles a NULL pwc argument... " >&6; }
34277
 
+if ${gl_cv_func_mbrtowc_null_arg1+:} false; then :
34278
 
+  $as_echo_n "(cached) " >&6
34279
 
+else
34280
 
+  
34281
 
+                  case "$host_os" in
34282
 
+                  # Guess no on Solaris.
34283
 
+        solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;;
34284
 
+                  # Guess yes otherwise.
34285
 
+        *)        gl_cv_func_mbrtowc_null_arg1="guessing yes" ;;
34286
 
+      esac
34287
 
+      if test $LOCALE_FR_UTF8 != none; then
34288
 
+        if test "$cross_compiling" = yes; then :
34289
 
+  :
34290
 
+else
34291
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34292
 
+/* end confdefs.h.  */
34293
 
+
34294
 
+#include <locale.h>
34295
 
+#include <stdlib.h>
34296
 
+#include <string.h>
34297
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
34298
 
+   <wchar.h>.
34299
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
34300
 
+   included before <wchar.h>.  */
34301
 
+#include <stddef.h>
34302
 
+#include <stdio.h>
34303
 
+#include <time.h>
34304
 
+#include <wchar.h>
34305
 
+int main ()
34306
 
+{
34307
 
+  int result = 0;
34308
 
+
34309
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
34310
 
+    {
34311
 
+      char input[] = "\303\237er";
34312
 
+      mbstate_t state;
34313
 
+      wchar_t wc;
34314
 
+      size_t ret;
34315
 
+
34316
 
+      memset (&state, '\0', sizeof (mbstate_t));
34317
 
+      wc = (wchar_t) 0xBADFACE;
34318
 
+      ret = mbrtowc (&wc, input, 5, &state);
34319
 
+      if (ret != 2)
34320
 
+        result |= 1;
34321
 
+      if (!mbsinit (&state))
34322
 
+        result |= 2;
34323
 
+
34324
 
+      memset (&state, '\0', sizeof (mbstate_t));
34325
 
+      ret = mbrtowc (NULL, input, 5, &state);
34326
 
+      if (ret != 2) /* Solaris 7 fails here: ret is -1.  */
34327
 
+        result |= 4;
34328
 
+      if (!mbsinit (&state))
34329
 
+        result |= 8;
34330
 
+    }
34331
 
+  return result;
34332
 
+}
34333
 
+_ACEOF
34334
 
+if ac_fn_c_try_run "$LINENO"; then :
34335
 
+  gl_cv_func_mbrtowc_null_arg1=yes
34336
 
+else
34337
 
+  gl_cv_func_mbrtowc_null_arg1=no
34338
 
+fi
34339
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34340
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
34341
 
+fi
34342
 
+
34343
 
+      fi
34344
 
+    
34345
 
+fi
34346
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg1" >&5
34347
 
+$as_echo "$gl_cv_func_mbrtowc_null_arg1" >&6; }
34348
 
+
34349
 
+      
34350
 
+  
34351
 
+  
34352
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5
34353
 
+$as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; }
34354
 
+if ${gl_cv_func_mbrtowc_null_arg2+:} false; then :
34355
 
+  $as_echo_n "(cached) " >&6
34356
 
+else
34357
 
+  
34358
 
+                  case "$host_os" in
34359
 
+              # Guess no on OSF/1.
34360
 
+        osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;;
34361
 
+              # Guess yes otherwise.
34362
 
+        *)    gl_cv_func_mbrtowc_null_arg2="guessing yes" ;;
34363
 
+      esac
34364
 
+      if test $LOCALE_FR_UTF8 != none; then
34365
 
+        if test "$cross_compiling" = yes; then :
34366
 
+  :
34367
 
+else
34368
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34369
 
+/* end confdefs.h.  */
34370
 
+
34371
 
+#include <locale.h>
34372
 
+#include <string.h>
34373
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
34374
 
+   <wchar.h>.
34375
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
34376
 
+   included before <wchar.h>.  */
34377
 
+#include <stddef.h>
34378
 
+#include <stdio.h>
34379
 
+#include <time.h>
34380
 
+#include <wchar.h>
34381
 
+int main ()
34382
 
+{
34383
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
34384
 
+    {
34385
 
+      mbstate_t state;
34386
 
+      wchar_t wc;
34387
 
+      int ret;
34388
 
+
34389
 
+      memset (&state, '\0', sizeof (mbstate_t));
34390
 
+      wc = (wchar_t) 0xBADFACE;
34391
 
+      mbrtowc (&wc, NULL, 5, &state);
34392
 
+      /* Check that wc was not modified.  */
34393
 
+      if (wc != (wchar_t) 0xBADFACE)
34394
 
+        return 1;
34395
 
+    }
34396
 
+  return 0;
34397
 
+}
34398
 
+_ACEOF
34399
 
+if ac_fn_c_try_run "$LINENO"; then :
34400
 
+  gl_cv_func_mbrtowc_null_arg2=yes
34401
 
+else
34402
 
+  gl_cv_func_mbrtowc_null_arg2=no
34403
 
+fi
34404
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34405
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
34406
 
+fi
34407
 
+
34408
 
+      fi
34409
 
+    
34410
 
+fi
34411
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg2" >&5
34412
 
+$as_echo "$gl_cv_func_mbrtowc_null_arg2" >&6; }
34413
 
+
34414
 
+      
34415
 
+  
34416
 
+  
34417
 
+  
34418
 
+  
34419
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5
34420
 
+$as_echo_n "checking whether mbrtowc has a correct return value... " >&6; }
34421
 
+if ${gl_cv_func_mbrtowc_retval+:} false; then :
34422
 
+  $as_echo_n "(cached) " >&6
34423
 
+else
34424
 
+  
34425
 
+                  case "$host_os" in
34426
 
+                                   # Guess no on HP-UX, Solaris, native Windows.
34427
 
+        hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;;
34428
 
+                                   # Guess yes otherwise.
34429
 
+        *)                         gl_cv_func_mbrtowc_retval="guessing yes" ;;
34430
 
+      esac
34431
 
+      if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \
34432
 
+         || { case "$host_os" in mingw*) true;; *) false;; esac; }; then
34433
 
+        if test "$cross_compiling" = yes; then :
34434
 
+  :
34435
 
+else
34436
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34437
 
+/* end confdefs.h.  */
34438
 
+
34439
 
+#include <locale.h>
34440
 
+#include <string.h>
34441
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
34442
 
+   <wchar.h>.
34443
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
34444
 
+   included before <wchar.h>.  */
34445
 
+#include <stddef.h>
34446
 
+#include <stdio.h>
34447
 
+#include <time.h>
34448
 
+#include <wchar.h>
34449
 
+int main ()
34450
 
+{
34451
 
+  int result = 0;
34452
 
+  int found_some_locale = 0;
34453
 
+  /* This fails on Solaris.  */
34454
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
34455
 
+    {
34456
 
+      char input[] = "B\303\274\303\237er"; /* "Büßer" */
34457
 
+      mbstate_t state;
34458
 
+      wchar_t wc;
34459
 
+
34460
 
+      memset (&state, '\0', sizeof (mbstate_t));
34461
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
34462
 
+        {
34463
 
+          input[1] = '\0';
34464
 
+          if (mbrtowc (&wc, input + 2, 5, &state) != 1)
34465
 
+            result |= 1;
34466
 
+        }
34467
 
+      found_some_locale = 1;
34468
 
+    }
34469
 
+  /* This fails on HP-UX 11.11.  */
34470
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
34471
 
+    {
34472
 
+      char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
34473
 
+      mbstate_t state;
34474
 
+      wchar_t wc;
34475
 
+
34476
 
+      memset (&state, '\0', sizeof (mbstate_t));
34477
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
34478
 
+        {
34479
 
+          input[1] = '\0';
34480
 
+          if (mbrtowc (&wc, input + 2, 5, &state) != 2)
34481
 
+            result |= 2;
34482
 
+        }
34483
 
+      found_some_locale = 1;
34484
 
+    }
34485
 
+  /* This fails on native Windows.  */
34486
 
+  if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL)
34487
 
+    {
34488
 
+      char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */
34489
 
+      mbstate_t state;
34490
 
+      wchar_t wc;
34491
 
+
34492
 
+      memset (&state, '\0', sizeof (mbstate_t));
34493
 
+      if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
34494
 
+        {
34495
 
+          input[3] = '\0';
34496
 
+          if (mbrtowc (&wc, input + 4, 4, &state) != 1)
34497
 
+            result |= 4;
34498
 
+        }
34499
 
+      found_some_locale = 1;
34500
 
+    }
34501
 
+  if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL)
34502
 
+    {
34503
 
+      char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */
34504
 
+      mbstate_t state;
34505
 
+      wchar_t wc;
34506
 
+
34507
 
+      memset (&state, '\0', sizeof (mbstate_t));
34508
 
+      if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
34509
 
+        {
34510
 
+          input[3] = '\0';
34511
 
+          if (mbrtowc (&wc, input + 4, 4, &state) != 1)
34512
 
+            result |= 8;
34513
 
+        }
34514
 
+      found_some_locale = 1;
34515
 
+    }
34516
 
+  if (setlocale (LC_ALL, "Chinese_China.936") != NULL)
34517
 
+    {
34518
 
+      char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */
34519
 
+      mbstate_t state;
34520
 
+      wchar_t wc;
34521
 
+
34522
 
+      memset (&state, '\0', sizeof (mbstate_t));
34523
 
+      if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
34524
 
+        {
34525
 
+          input[3] = '\0';
34526
 
+          if (mbrtowc (&wc, input + 4, 4, &state) != 1)
34527
 
+            result |= 16;
34528
 
+        }
34529
 
+      found_some_locale = 1;
34530
 
+    }
34531
 
+  return (found_some_locale ? result : 77);
34532
 
+}
34533
 
+_ACEOF
34534
 
+if ac_fn_c_try_run "$LINENO"; then :
34535
 
+  gl_cv_func_mbrtowc_retval=yes
34536
 
+else
34537
 
+  if test $? != 77; then
34538
 
+             gl_cv_func_mbrtowc_retval=no
34539
 
+           fi
34540
 
+          
34541
 
+fi
34542
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34543
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
34544
 
+fi
34545
 
+
34546
 
+      fi
34547
 
+    
34548
 
+fi
34549
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5
34550
 
+$as_echo "$gl_cv_func_mbrtowc_retval" >&6; }
34551
 
+
34552
 
+      
34553
 
+  
34554
 
+  
34555
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5
34556
 
+$as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; }
34557
 
+if ${gl_cv_func_mbrtowc_nul_retval+:} false; then :
34558
 
+  $as_echo_n "(cached) " >&6
34559
 
+else
34560
 
+  
34561
 
+                  case "$host_os" in
34562
 
+                       # Guess no on Solaris 8 and 9.
34563
 
+        solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;;
34564
 
+                       # Guess yes otherwise.
34565
 
+        *)             gl_cv_func_mbrtowc_nul_retval="guessing yes" ;;
34566
 
+      esac
34567
 
+      if test $LOCALE_ZH_CN != none; then
34568
 
+        if test "$cross_compiling" = yes; then :
34569
 
+  :
34570
 
+else
34571
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34572
 
+/* end confdefs.h.  */
34573
 
+
34574
 
+#include <locale.h>
34575
 
+#include <string.h>
34576
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
34577
 
+   <wchar.h>.
34578
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
34579
 
+   included before <wchar.h>.  */
34580
 
+#include <stddef.h>
34581
 
+#include <stdio.h>
34582
 
+#include <time.h>
34583
 
+#include <wchar.h>
34584
 
+int main ()
34585
 
+{
34586
 
+  /* This fails on Solaris 8 and 9.  */
34587
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
34588
 
+    {
34589
 
+      mbstate_t state;
34590
 
+      wchar_t wc;
34591
 
+
34592
 
+      memset (&state, '\0', sizeof (mbstate_t));
34593
 
+      if (mbrtowc (&wc, "", 1, &state) != 0)
34594
 
+        return 1;
34595
 
+    }
34596
 
+  return 0;
34597
 
+}
34598
 
+_ACEOF
34599
 
+if ac_fn_c_try_run "$LINENO"; then :
34600
 
+  gl_cv_func_mbrtowc_nul_retval=yes
34601
 
+else
34602
 
+  gl_cv_func_mbrtowc_nul_retval=no
34603
 
+fi
34604
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34605
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
34606
 
+fi
34607
 
+
34608
 
+      fi
34609
 
+    
34610
 
+fi
34611
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5
34612
 
+$as_echo "$gl_cv_func_mbrtowc_nul_retval" >&6; }
34613
 
+
34614
 
+      case "$gl_cv_func_mbrtowc_null_arg1" in
34615
 
+        *yes) ;;
34616
 
+        *) 
34617
 
+$as_echo "@%:@define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h
34618
 
+
34619
 
+           REPLACE_MBRTOWC=1
34620
 
+           ;;
34621
 
+      esac
34622
 
+      case "$gl_cv_func_mbrtowc_null_arg2" in
34623
 
+        *yes) ;;
34624
 
+        *) 
34625
 
+$as_echo "@%:@define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h
34626
 
+
34627
 
+           REPLACE_MBRTOWC=1
34628
 
+           ;;
34629
 
+      esac
34630
 
+      case "$gl_cv_func_mbrtowc_retval" in
34631
 
+        *yes) ;;
34632
 
+        *) 
34633
 
+$as_echo "@%:@define MBRTOWC_RETVAL_BUG 1" >>confdefs.h
34634
 
+
34635
 
+           REPLACE_MBRTOWC=1
34636
 
+           ;;
34637
 
+      esac
34638
 
+      case "$gl_cv_func_mbrtowc_nul_retval" in
34639
 
+        *yes) ;;
34640
 
+        *) 
34641
 
+$as_echo "@%:@define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h
34642
 
+
34643
 
+           REPLACE_MBRTOWC=1
34644
 
+           ;;
34645
 
+      esac
34646
 
+    fi
34647
 
+  fi
34648
 
+
34649
 
+if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
34650
 
+  
34651
 
+  
34652
 
+  
34653
 
+    
34654
 
+      
34655
 
+      
34656
 
+    
34657
 
+  
34658
 
+  gl_LIBOBJS="$gl_LIBOBJS mbrtowc.$ac_objext"
34659
 
+
34660
 
+  
34661
 
+  :
34662
 
+
34663
 
+fi
34664
 
+
34665
 
+    
34666
 
+  
34667
 
+  
34668
 
+  
34669
 
+          GNULIB_MBRTOWC=1
34670
 
+    
34671
 
+
34672
 
+
34673
 
+    
34674
 
+  
34675
 
+$as_echo "@%:@define GNULIB_TEST_MBRTOWC 1" >>confdefs.h
34676
 
+
34677
 
+
34678
 
+
34679
 
+
34680
 
+    
34681
 
+  
34682
 
+  
34683
 
+  
34684
 
+          GNULIB_MBSCASECMP=1
34685
 
+    
34686
 
+
34687
 
+
34688
 
+    
34689
 
+  
34690
 
+$as_echo "@%:@define GNULIB_TEST_MBSCASECMP 1" >>confdefs.h
34691
 
+
34692
 
+
34693
 
+
34694
 
+
34695
 
+  
34696
 
+  
34697
 
+
34698
 
+  
34699
 
+  
34700
 
+  
34701
 
+
34702
 
+  
34703
 
+  
34704
 
+  
34705
 
+  if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
34706
 
+    
34707
 
+  
34708
 
+  
34709
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
34710
 
+$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
34711
 
+if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
34712
 
+  $as_echo_n "(cached) " >&6
34713
 
+else
34714
 
+  
34715
 
+                  case "$host_os" in
34716
 
+                     # Guess no on AIX and OSF/1.
34717
 
+        aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
34718
 
+                     # Guess yes otherwise.
34719
 
+        *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
34720
 
+      esac
34721
 
+      if test $LOCALE_JA != none; then
34722
 
+        if test "$cross_compiling" = yes; then :
34723
 
+  :
34724
 
+else
34725
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34726
 
+/* end confdefs.h.  */
34727
 
+
34728
 
+#include <locale.h>
34729
 
+#include <string.h>
34730
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
34731
 
+   <wchar.h>.
34732
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
34733
 
+   included before <wchar.h>.  */
34734
 
+#include <stddef.h>
34735
 
+#include <stdio.h>
34736
 
+#include <time.h>
34737
 
+#include <wchar.h>
34738
 
+int main ()
34739
 
+{
34740
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
34741
 
+    {
34742
 
+      const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
34743
 
+      mbstate_t state;
34744
 
+      wchar_t wc;
34745
 
+
34746
 
+      memset (&state, '\0', sizeof (mbstate_t));
34747
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
34748
 
+        if (mbsinit (&state))
34749
 
+          return 1;
34750
 
+    }
34751
 
+  return 0;
34752
 
+}
34753
 
+_ACEOF
34754
 
+if ac_fn_c_try_run "$LINENO"; then :
34755
 
+  gl_cv_func_mbrtowc_incomplete_state=yes
34756
 
+else
34757
 
+  gl_cv_func_mbrtowc_incomplete_state=no
34758
 
+fi
34759
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34760
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
34761
 
+fi
34762
 
+
34763
 
+      fi
34764
 
+    
34765
 
+fi
34766
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
34767
 
+$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
34768
 
+
34769
 
+    
34770
 
+  
34771
 
+  
34772
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
34773
 
+$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
34774
 
+if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
34775
 
+  $as_echo_n "(cached) " >&6
34776
 
+else
34777
 
+  
34778
 
+                  case "$host_os" in
34779
 
+                    # Guess no on Solaris 8.
34780
 
+        solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
34781
 
+                    # Guess yes otherwise.
34782
 
+        *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
34783
 
+      esac
34784
 
+      if test $LOCALE_ZH_CN != none; then
34785
 
+        if test "$cross_compiling" = yes; then :
34786
 
+  :
34787
 
+else
34788
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34789
 
+/* end confdefs.h.  */
34790
 
+
34791
 
+#include <locale.h>
34792
 
+#include <stdlib.h>
34793
 
+#include <string.h>
34794
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
34795
 
+   <wchar.h>.
34796
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
34797
 
+   included before <wchar.h>.  */
34798
 
+#include <stddef.h>
34799
 
+#include <stdio.h>
34800
 
+#include <time.h>
34801
 
+#include <wchar.h>
34802
 
+int main ()
34803
 
+{
34804
 
+  /* This fails on Solaris 8:
34805
 
+     mbrtowc returns 2, and sets wc to 0x00F0.
34806
 
+     mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
34807
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
34808
 
+    {
34809
 
+      char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
34810
 
+      mbstate_t state;
34811
 
+      wchar_t wc;
34812
 
+
34813
 
+      memset (&state, '\0', sizeof (mbstate_t));
34814
 
+      if (mbrtowc (&wc, input + 3, 6, &state) != 4
34815
 
+          && mbtowc (&wc, input + 3, 6) == 4)
34816
 
+        return 1;
34817
 
+    }
34818
 
+  return 0;
34819
 
+}
34820
 
+_ACEOF
34821
 
+if ac_fn_c_try_run "$LINENO"; then :
34822
 
+  gl_cv_func_mbrtowc_sanitycheck=yes
34823
 
+else
34824
 
+  gl_cv_func_mbrtowc_sanitycheck=no
34825
 
+fi
34826
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34827
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
34828
 
+fi
34829
 
+
34830
 
+      fi
34831
 
+    
34832
 
+fi
34833
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
34834
 
+$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
34835
 
+
34836
 
+    REPLACE_MBSTATE_T=0
34837
 
+    case "$gl_cv_func_mbrtowc_incomplete_state" in
34838
 
+      *yes) ;;
34839
 
+      *) REPLACE_MBSTATE_T=1 ;;
34840
 
+    esac
34841
 
+    case "$gl_cv_func_mbrtowc_sanitycheck" in
34842
 
+      *yes) ;;
34843
 
+      *) REPLACE_MBSTATE_T=1 ;;
34844
 
+    esac
34845
 
+  else
34846
 
+    REPLACE_MBSTATE_T=1
34847
 
+  fi
34848
 
+
34849
 
+
34850
 
+  
34851
 
+  if test $ac_cv_func_mbsinit = no; then
34852
 
+    HAVE_MBSINIT=0
34853
 
+    ac_fn_c_check_decl "$LINENO" "mbsinit" "ac_cv_have_decl_mbsinit" "
34854
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
34855
 
+   <wchar.h>.
34856
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
34857
 
+   included before <wchar.h>.  */
34858
 
+#include <stddef.h>
34859
 
+#include <stdio.h>
34860
 
+#include <time.h>
34861
 
+#include <wchar.h>
34862
 
+
34863
 
+"
34864
 
+if test "x$ac_cv_have_decl_mbsinit" = xyes; then :
34865
 
+  ac_have_decl=1
34866
 
+else
34867
 
+  ac_have_decl=0
34868
 
+fi
34869
 
+
34870
 
+cat >>confdefs.h <<_ACEOF
34871
 
+@%:@define HAVE_DECL_MBSINIT $ac_have_decl
34872
 
+_ACEOF
34873
 
+
34874
 
+    if test $ac_cv_have_decl_mbsinit = yes; then
34875
 
+                        REPLACE_MBSINIT=1
34876
 
+    fi
34877
 
+  else
34878
 
+    if test $REPLACE_MBSTATE_T = 1; then
34879
 
+      REPLACE_MBSINIT=1
34880
 
+    else
34881
 
+                        case "$host_os" in
34882
 
+        mingw*) REPLACE_MBSINIT=1 ;;
34883
 
+      esac
34884
 
+    fi
34885
 
+  fi
34886
 
+
34887
 
+if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
34888
 
+  
34889
 
+  
34890
 
+  
34891
 
+    
34892
 
+      
34893
 
+      
34894
 
+    
34895
 
+  
34896
 
+  gl_LIBOBJS="$gl_LIBOBJS mbsinit.$ac_objext"
34897
 
+
34898
 
+  
34899
 
+  :
34900
 
+
34901
 
+fi
34902
 
+
34903
 
+    
34904
 
+  
34905
 
+  
34906
 
+  
34907
 
+          GNULIB_MBSINIT=1
34908
 
+    
34909
 
+
34910
 
+
34911
 
+    
34912
 
+  
34913
 
+$as_echo "@%:@define GNULIB_TEST_MBSINIT 1" >>confdefs.h
34914
 
+
34915
 
+
34916
 
+
34917
 
+
34918
 
+  
34919
 
+  
34920
 
+  if test $ac_cv_func_mbslen = yes; then
34921
 
+    HAVE_MBSLEN=1
34922
 
+  else
34923
 
+    HAVE_MBSLEN=0
34924
 
+  fi
34925
 
+
34926
 
+
34927
 
+    
34928
 
+  
34929
 
+  
34930
 
+  
34931
 
+          GNULIB_MBSLEN=1
34932
 
+    
34933
 
+
34934
 
+
34935
 
+    
34936
 
+  
34937
 
+$as_echo "@%:@define GNULIB_TEST_MBSLEN 1" >>confdefs.h
34938
 
+
34939
 
+
34940
 
+
34941
 
+
34942
 
+  
34943
 
+
34944
 
+  
34945
 
+  
34946
 
+  
34947
 
+
34948
 
+  
34949
 
+  
34950
 
+  
34951
 
+  if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
34952
 
+    
34953
 
+  
34954
 
+  
34955
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
34956
 
+$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
34957
 
+if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
34958
 
+  $as_echo_n "(cached) " >&6
34959
 
+else
34960
 
+  
34961
 
+                  case "$host_os" in
34962
 
+                     # Guess no on AIX and OSF/1.
34963
 
+        aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
34964
 
+                     # Guess yes otherwise.
34965
 
+        *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
34966
 
+      esac
34967
 
+      if test $LOCALE_JA != none; then
34968
 
+        if test "$cross_compiling" = yes; then :
34969
 
+  :
34970
 
+else
34971
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34972
 
+/* end confdefs.h.  */
34973
 
+
34974
 
+#include <locale.h>
34975
 
+#include <string.h>
34976
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
34977
 
+   <wchar.h>.
34978
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
34979
 
+   included before <wchar.h>.  */
34980
 
+#include <stddef.h>
34981
 
+#include <stdio.h>
34982
 
+#include <time.h>
34983
 
+#include <wchar.h>
34984
 
+int main ()
34985
 
+{
34986
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
34987
 
+    {
34988
 
+      const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
34989
 
+      mbstate_t state;
34990
 
+      wchar_t wc;
34991
 
+
34992
 
+      memset (&state, '\0', sizeof (mbstate_t));
34993
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
34994
 
+        if (mbsinit (&state))
34995
 
+          return 1;
34996
 
+    }
34997
 
+  return 0;
34998
 
+}
34999
 
+_ACEOF
35000
 
+if ac_fn_c_try_run "$LINENO"; then :
35001
 
+  gl_cv_func_mbrtowc_incomplete_state=yes
35002
 
+else
35003
 
+  gl_cv_func_mbrtowc_incomplete_state=no
35004
 
+fi
35005
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
35006
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
35007
 
+fi
35008
 
+
35009
 
+      fi
35010
 
+    
35011
 
+fi
35012
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
35013
 
+$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
35014
 
+
35015
 
+    
35016
 
+  
35017
 
+  
35018
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
35019
 
+$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
35020
 
+if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
35021
 
+  $as_echo_n "(cached) " >&6
35022
 
+else
35023
 
+  
35024
 
+                  case "$host_os" in
35025
 
+                    # Guess no on Solaris 8.
35026
 
+        solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
35027
 
+                    # Guess yes otherwise.
35028
 
+        *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
35029
 
+      esac
35030
 
+      if test $LOCALE_ZH_CN != none; then
35031
 
+        if test "$cross_compiling" = yes; then :
35032
 
+  :
35033
 
+else
35034
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35035
 
+/* end confdefs.h.  */
35036
 
+
35037
 
+#include <locale.h>
35038
 
+#include <stdlib.h>
35039
 
+#include <string.h>
35040
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
35041
 
+   <wchar.h>.
35042
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
35043
 
+   included before <wchar.h>.  */
35044
 
+#include <stddef.h>
35045
 
+#include <stdio.h>
35046
 
+#include <time.h>
35047
 
+#include <wchar.h>
35048
 
+int main ()
35049
 
+{
35050
 
+  /* This fails on Solaris 8:
35051
 
+     mbrtowc returns 2, and sets wc to 0x00F0.
35052
 
+     mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
35053
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
35054
 
+    {
35055
 
+      char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
35056
 
+      mbstate_t state;
35057
 
+      wchar_t wc;
35058
 
+
35059
 
+      memset (&state, '\0', sizeof (mbstate_t));
35060
 
+      if (mbrtowc (&wc, input + 3, 6, &state) != 4
35061
 
+          && mbtowc (&wc, input + 3, 6) == 4)
35062
 
+        return 1;
35063
 
+    }
35064
 
+  return 0;
35065
 
+}
35066
 
+_ACEOF
35067
 
+if ac_fn_c_try_run "$LINENO"; then :
35068
 
+  gl_cv_func_mbrtowc_sanitycheck=yes
35069
 
+else
35070
 
+  gl_cv_func_mbrtowc_sanitycheck=no
35071
 
+fi
35072
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
35073
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
35074
 
+fi
35075
 
+
35076
 
+      fi
35077
 
+    
35078
 
+fi
35079
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
35080
 
+$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
35081
 
+
35082
 
+    REPLACE_MBSTATE_T=0
35083
 
+    case "$gl_cv_func_mbrtowc_incomplete_state" in
35084
 
+      *yes) ;;
35085
 
+      *) REPLACE_MBSTATE_T=1 ;;
35086
 
+    esac
35087
 
+    case "$gl_cv_func_mbrtowc_sanitycheck" in
35088
 
+      *yes) ;;
35089
 
+      *) REPLACE_MBSTATE_T=1 ;;
35090
 
+    esac
35091
 
+  else
35092
 
+    REPLACE_MBSTATE_T=1
35093
 
+  fi
35094
 
+
35095
 
+
35096
 
+  
35097
 
+  if test $ac_cv_func_mbsrtowcs = no; then
35098
 
+    HAVE_MBSRTOWCS=0
35099
 
+    ac_fn_c_check_decl "$LINENO" "mbsrtowcs" "ac_cv_have_decl_mbsrtowcs" "
35100
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
35101
 
+   <wchar.h>.
35102
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
35103
 
+   included before <wchar.h>.  */
35104
 
+#include <stddef.h>
35105
 
+#include <stdio.h>
35106
 
+#include <time.h>
35107
 
+#include <wchar.h>
35108
 
+
35109
 
+"
35110
 
+if test "x$ac_cv_have_decl_mbsrtowcs" = xyes; then :
35111
 
+  ac_have_decl=1
35112
 
+else
35113
 
+  ac_have_decl=0
35114
 
+fi
35115
 
+
35116
 
+cat >>confdefs.h <<_ACEOF
35117
 
+@%:@define HAVE_DECL_MBSRTOWCS $ac_have_decl
35118
 
+_ACEOF
35119
 
+
35120
 
+    if test $ac_cv_have_decl_mbsrtowcs = yes; then
35121
 
+                        REPLACE_MBSRTOWCS=1
35122
 
+    fi
35123
 
+  else
35124
 
+    if test $REPLACE_MBSTATE_T = 1; then
35125
 
+      REPLACE_MBSRTOWCS=1
35126
 
+    else
35127
 
+      
35128
 
+  
35129
 
+  
35130
 
+  
35131
 
+  
35132
 
+  
35133
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbsrtowcs works" >&5
35134
 
+$as_echo_n "checking whether mbsrtowcs works... " >&6; }
35135
 
+if ${gl_cv_func_mbsrtowcs_works+:} false; then :
35136
 
+  $as_echo_n "(cached) " >&6
35137
 
+else
35138
 
+  
35139
 
+                  case "$host_os" in
35140
 
+                                   # Guess no on HP-UX, Solaris, mingw.
35141
 
+        hpux* | solaris* | mingw*) gl_cv_func_mbsrtowcs_works="guessing no" ;;
35142
 
+                                   # Guess yes otherwise.
35143
 
+        *)                         gl_cv_func_mbsrtowcs_works="guessing yes" ;;
35144
 
+      esac
35145
 
+      if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
35146
 
+        if test "$cross_compiling" = yes; then :
35147
 
+  :
35148
 
+else
35149
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35150
 
+/* end confdefs.h.  */
35151
 
+
35152
 
+#include <locale.h>
35153
 
+#include <string.h>
35154
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
35155
 
+   <wchar.h>.
35156
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
35157
 
+   included before <wchar.h>.  */
35158
 
+#include <stddef.h>
35159
 
+#include <stdio.h>
35160
 
+#include <time.h>
35161
 
+#include <wchar.h>
35162
 
+int main ()
35163
 
+{
35164
 
+  int result = 0;
35165
 
+  /* Test whether the function supports a NULL destination argument.
35166
 
+     This fails on native Windows.  */
35167
 
+  if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
35168
 
+    {
35169
 
+      const char input[] = "\337er";
35170
 
+      const char *src = input;
35171
 
+      mbstate_t state;
35172
 
+
35173
 
+      memset (&state, '\0', sizeof (mbstate_t));
35174
 
+      if (mbsrtowcs (NULL, &src, 1, &state) != 3
35175
 
+          || src != input)
35176
 
+        result |= 1;
35177
 
+    }
35178
 
+  /* Test whether the function works when started with a conversion state
35179
 
+     in non-initial state.  This fails on HP-UX 11.11 and Solaris 10.  */
35180
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
35181
 
+    {
35182
 
+      const char input[] = "B\303\274\303\237er";
35183
 
+      mbstate_t state;
35184
 
+
35185
 
+      memset (&state, '\0', sizeof (mbstate_t));
35186
 
+      if (mbrtowc (NULL, input + 1, 1, &state) == (size_t)(-2))
35187
 
+        if (!mbsinit (&state))
35188
 
+          {
35189
 
+            const char *src = input + 2;
35190
 
+            if (mbsrtowcs (NULL, &src, 10, &state) != 4)
35191
 
+              result |= 2;
35192
 
+          }
35193
 
+    }
35194
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
35195
 
+    {
35196
 
+      const char input[] = "<\306\374\313\334\270\354>";
35197
 
+      mbstate_t state;
35198
 
+
35199
 
+      memset (&state, '\0', sizeof (mbstate_t));
35200
 
+      if (mbrtowc (NULL, input + 3, 1, &state) == (size_t)(-2))
35201
 
+        if (!mbsinit (&state))
35202
 
+          {
35203
 
+            const char *src = input + 4;
35204
 
+            if (mbsrtowcs (NULL, &src, 10, &state) != 3)
35205
 
+              result |= 4;
35206
 
+          }
35207
 
+    }
35208
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
35209
 
+    {
35210
 
+      const char input[] = "B\250\271\201\060\211\070er";
35211
 
+      mbstate_t state;
35212
 
+
35213
 
+      memset (&state, '\0', sizeof (mbstate_t));
35214
 
+      if (mbrtowc (NULL, input + 1, 1, &state) == (size_t)(-2))
35215
 
+        if (!mbsinit (&state))
35216
 
+          {
35217
 
+            const char *src = input + 2;
35218
 
+            if (mbsrtowcs (NULL, &src, 10, &state) != 4)
35219
 
+              result |= 8;
35220
 
+          }
35221
 
+    }
35222
 
+  return result;
35223
 
+}
35224
 
+_ACEOF
35225
 
+if ac_fn_c_try_run "$LINENO"; then :
35226
 
+  gl_cv_func_mbsrtowcs_works=yes
35227
 
+else
35228
 
+  gl_cv_func_mbsrtowcs_works=no
35229
 
+fi
35230
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
35231
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
35232
 
+fi
35233
 
+
35234
 
+      fi
35235
 
+    
35236
 
+fi
35237
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbsrtowcs_works" >&5
35238
 
+$as_echo "$gl_cv_func_mbsrtowcs_works" >&6; }
35239
 
+
35240
 
+      case "$gl_cv_func_mbsrtowcs_works" in
35241
 
+        *yes) ;;
35242
 
+        *) REPLACE_MBSRTOWCS=1 ;;
35243
 
+      esac
35244
 
+    fi
35245
 
+  fi
35246
 
+
35247
 
+if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then
35248
 
+  
35249
 
+  
35250
 
+  
35251
 
+    
35252
 
+      
35253
 
+      
35254
 
+    
35255
 
+  
35256
 
+  gl_LIBOBJS="$gl_LIBOBJS mbsrtowcs.$ac_objext"
35257
 
+
35258
 
+  
35259
 
+  
35260
 
+  
35261
 
+    
35262
 
+      
35263
 
+      
35264
 
+    
35265
 
+  
35266
 
+  gl_LIBOBJS="$gl_LIBOBJS mbsrtowcs-state.$ac_objext"
35267
 
+
35268
 
+  
35269
 
+  :
35270
 
+
35271
 
+fi
35272
 
+
35273
 
+    
35274
 
+  
35275
 
+  
35276
 
+  
35277
 
+          GNULIB_MBSRTOWCS=1
35278
 
+    
35279
 
+
35280
 
+
35281
 
+    
35282
 
+  
35283
 
+$as_echo "@%:@define GNULIB_TEST_MBSRTOWCS 1" >>confdefs.h
35284
 
+
35285
 
+
35286
 
+
35287
 
+
35288
 
+    
35289
 
+  
35290
 
+  
35291
 
+  
35292
 
+          GNULIB_MBSSTR=1
35293
 
+    
35294
 
+
35295
 
+
35296
 
+    
35297
 
+  
35298
 
+$as_echo "@%:@define GNULIB_TEST_MBSSTR 1" >>confdefs.h
35299
 
+
35300
 
+
35301
 
+
35302
 
+
35303
 
+  
35304
 
+  
35305
 
+
35306
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbswidth is declared in <wchar.h>" >&5
35307
 
+$as_echo_n "checking whether mbswidth is declared in <wchar.h>... " >&6; }
35308
 
+if ${ac_cv_have_decl_mbswidth+:} false; then :
35309
 
+  $as_echo_n "(cached) " >&6
35310
 
+else
35311
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35312
 
+/* end confdefs.h.  */
35313
 
+
35314
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
35315
 
+   <wchar.h>.
35316
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
35317
 
+   before <wchar.h>.  */
35318
 
+#include <stddef.h>
35319
 
+#include <stdio.h>
35320
 
+#include <time.h>
35321
 
+#include <wchar.h>
35322
 
+          
35323
 
+int
35324
 
+main ()
35325
 
+{
35326
 
+
35327
 
+  char *p = (char *) mbswidth;
35328
 
+  return !p;
35329
 
+          
35330
 
+  ;
35331
 
+  return 0;
35332
 
+}
35333
 
+_ACEOF
35334
 
+if ac_fn_c_try_compile "$LINENO"; then :
35335
 
+  ac_cv_have_decl_mbswidth=yes
35336
 
+else
35337
 
+  ac_cv_have_decl_mbswidth=no
35338
 
+fi
35339
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35340
 
+fi
35341
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_mbswidth" >&5
35342
 
+$as_echo "$ac_cv_have_decl_mbswidth" >&6; }
35343
 
+  if test $ac_cv_have_decl_mbswidth = yes; then
35344
 
+    ac_val=1
35345
 
+  else
35346
 
+    ac_val=0
35347
 
+  fi
35348
 
+  
35349
 
+cat >>confdefs.h <<_ACEOF
35350
 
+@%:@define HAVE_DECL_MBSWIDTH_IN_WCHAR_H $ac_val
35351
 
+_ACEOF
35352
 
+
35353
 
+
35354
 
+  
35355
 
+    
35356
 
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
35357
 
+$as_echo_n "checking for mbstate_t... " >&6; }
35358
 
+if ${ac_cv_type_mbstate_t+:} false; then :
35359
 
+  $as_echo_n "(cached) " >&6
35360
 
+else
35361
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35362
 
+/* end confdefs.h.  */
35363
 
+$ac_includes_default
35364
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
35365
 
+   <wchar.h>.
35366
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
35367
 
+   included before <wchar.h>.  */
35368
 
+#include <stddef.h>
35369
 
+#include <stdio.h>
35370
 
+#include <time.h>
35371
 
+#include <wchar.h>
35372
 
+int
35373
 
+main ()
35374
 
+{
35375
 
+mbstate_t x; return sizeof x;
35376
 
+  ;
35377
 
+  return 0;
35378
 
+}
35379
 
+_ACEOF
35380
 
+if ac_fn_c_try_compile "$LINENO"; then :
35381
 
+  ac_cv_type_mbstate_t=yes
35382
 
+else
35383
 
+  ac_cv_type_mbstate_t=no
35384
 
+fi
35385
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35386
 
+fi
35387
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
35388
 
+$as_echo "$ac_cv_type_mbstate_t" >&6; }
35389
 
+   if test $ac_cv_type_mbstate_t = yes; then
35390
 
+     
35391
 
+$as_echo "@%:@define HAVE_MBSTATE_T 1" >>confdefs.h
35392
 
+
35393
 
+   else
35394
 
+     
35395
 
+$as_echo "@%:@define mbstate_t int" >>confdefs.h
35396
 
+
35397
 
+   fi
35398
 
+
35399
 
+
35400
 
+
35401
 
+  
35402
 
+
35403
 
+  if false; then
35404
 
+    REPLACE_MBTOWC=1
35405
 
+  fi
35406
 
+
35407
 
+if test $REPLACE_MBTOWC = 1; then
35408
 
+  
35409
 
+  
35410
 
+  
35411
 
+    
35412
 
+      
35413
 
+      
35414
 
+    
35415
 
+  
35416
 
+  gl_LIBOBJS="$gl_LIBOBJS mbtowc.$ac_objext"
35417
 
+
35418
 
+  
35419
 
+  :
35420
 
+
35421
 
+fi
35422
 
+
35423
 
+    
35424
 
+  
35425
 
+  
35426
 
+  
35427
 
+          GNULIB_MBTOWC=1
35428
 
+    
35429
 
+
35430
 
+
35431
 
+    
35432
 
+  
35433
 
+$as_echo "@%:@define GNULIB_TEST_MBTOWC 1" >>confdefs.h
35434
 
+
35435
 
+
35436
 
+
35437
 
+
35438
 
+  
35439
 
+  
35440
 
+  :
35441
 
+
35442
 
+
35443
 
+  :
35444
 
+
35445
 
+
35446
 
+if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
35447
 
+  
35448
 
+  
35449
 
+  
35450
 
+    
35451
 
+      
35452
 
+      
35453
 
+    
35454
 
+  
35455
 
+  gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext"
35456
 
+
35457
 
+  
35458
 
+  for ac_header in bp-sym.h
35459
 
+do :
35460
 
+  ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default"
35461
 
+if test "x$ac_cv_header_bp_sym_h" = xyes; then :
35462
 
+  cat >>confdefs.h <<_ACEOF
35463
 
+@%:@define HAVE_BP_SYM_H 1
35464
 
+_ACEOF
35465
 
35466
 
+fi
35467
 
+
35468
 
+done
35469
 
+
35470
 
+
35471
 
+fi
35472
 
+
35473
 
+    
35474
 
+  
35475
 
+  
35476
 
+  
35477
 
+          GNULIB_MEMCHR=1
35478
 
+    
35479
 
+
35480
 
+
35481
 
+    
35482
 
+  
35483
 
+$as_echo "@%:@define GNULIB_TEST_MEMCHR 1" >>confdefs.h
35484
 
+
35485
 
+
35486
 
+
35487
 
+
35488
 
+  
35489
 
+
35490
 
+
35491
 
+    
35492
 
+
35493
 
+    
35494
 
+
35495
 
+  
35496
 
+  for ac_func in mempcpy
35497
 
+do :
35498
 
+  ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy"
35499
 
+if test "x$ac_cv_func_mempcpy" = xyes; then :
35500
 
+  cat >>confdefs.h <<_ACEOF
35501
 
+@%:@define HAVE_MEMPCPY 1
35502
 
+_ACEOF
35503
 
35504
 
+fi
35505
 
+done
35506
 
+
35507
 
+  if test $ac_cv_func_mempcpy = no; then
35508
 
+    HAVE_MEMPCPY=0
35509
 
+  fi
35510
 
+
35511
 
+if test $HAVE_MEMPCPY = 0; then
35512
 
+  
35513
 
+  
35514
 
+  
35515
 
+    
35516
 
+      
35517
 
+      
35518
 
+    
35519
 
+  
35520
 
+  gl_LIBOBJS="$gl_LIBOBJS mempcpy.$ac_objext"
35521
 
+
35522
 
+  
35523
 
+  :
35524
 
+
35525
 
+fi
35526
 
+
35527
 
+    
35528
 
+  
35529
 
+  
35530
 
+  
35531
 
+          GNULIB_MEMPCPY=1
35532
 
+    
35533
 
+
35534
 
+
35535
 
+    
35536
 
+  
35537
 
+$as_echo "@%:@define GNULIB_TEST_MEMPCPY 1" >>confdefs.h
35538
 
+
35539
 
+
35540
 
+
35541
 
+
35542
 
+    
35543
 
+
35544
 
+  
35545
 
+  
35546
 
+  if test $ac_cv_have_decl_memrchr = no; then
35547
 
+    HAVE_DECL_MEMRCHR=0
35548
 
+  fi
35549
 
+
35550
 
+  for ac_func in memrchr
35551
 
+do :
35552
 
+  ac_fn_c_check_func "$LINENO" "memrchr" "ac_cv_func_memrchr"
35553
 
+if test "x$ac_cv_func_memrchr" = xyes; then :
35554
 
+  cat >>confdefs.h <<_ACEOF
35555
 
+@%:@define HAVE_MEMRCHR 1
35556
 
+_ACEOF
35557
 
35558
 
+fi
35559
 
+done
35560
 
+
35561
 
+
35562
 
+if test $ac_cv_func_memrchr = no; then
35563
 
+  
35564
 
+  
35565
 
+  
35566
 
+    
35567
 
+      
35568
 
+      
35569
 
+    
35570
 
+  
35571
 
+  gl_LIBOBJS="$gl_LIBOBJS memrchr.$ac_objext"
35572
 
+
35573
 
+  :
35574
 
+fi
35575
 
+
35576
 
+    
35577
 
+  
35578
 
+  
35579
 
+  
35580
 
+          GNULIB_MEMRCHR=1
35581
 
+    
35582
 
+
35583
 
+
35584
 
+    
35585
 
+  
35586
 
+$as_echo "@%:@define GNULIB_TEST_MEMRCHR 1" >>confdefs.h
35587
 
+
35588
 
+
35589
 
+
35590
 
+
35591
 
+  
35592
 
+
35593
 
+
35594
 
+  :
35595
 
+
35596
 
+  
35597
 
+  
35598
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir handles trailing slash" >&5
35599
 
+$as_echo_n "checking whether mkdir handles trailing slash... " >&6; }
35600
 
+if ${gl_cv_func_mkdir_trailing_slash_works+:} false; then :
35601
 
+  $as_echo_n "(cached) " >&6
35602
 
+else
35603
 
+  rm -rf conftest.dir
35604
 
+      if test "$cross_compiling" = yes; then :
35605
 
+  gl_cv_func_mkdir_trailing_slash_works="guessing no"
35606
 
+else
35607
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35608
 
+/* end confdefs.h.  */
35609
 
+
35610
 
+#       include <sys/types.h>
35611
 
+#       include <sys/stat.h>
35612
 
+
35613
 
+int
35614
 
+main ()
35615
 
+{
35616
 
+return mkdir ("conftest.dir/", 0700);
35617
 
+  ;
35618
 
+  return 0;
35619
 
+}
35620
 
+_ACEOF
35621
 
+if ac_fn_c_try_run "$LINENO"; then :
35622
 
+  gl_cv_func_mkdir_trailing_slash_works=yes
35623
 
+else
35624
 
+  gl_cv_func_mkdir_trailing_slash_works=no
35625
 
+fi
35626
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
35627
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
35628
 
+fi
35629
 
+
35630
 
+    rm -rf conftest.dir
35631
 
+    
35632
 
+  
35633
 
+fi
35634
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mkdir_trailing_slash_works" >&5
35635
 
+$as_echo "$gl_cv_func_mkdir_trailing_slash_works" >&6; }
35636
 
+  if test "$gl_cv_func_mkdir_trailing_slash_works" != yes; then
35637
 
+    REPLACE_MKDIR=1
35638
 
+  fi
35639
 
+
35640
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir handles trailing dot" >&5
35641
 
+$as_echo_n "checking whether mkdir handles trailing dot... " >&6; }
35642
 
+if ${gl_cv_func_mkdir_trailing_dot_works+:} false; then :
35643
 
+  $as_echo_n "(cached) " >&6
35644
 
+else
35645
 
+  rm -rf conftest.dir
35646
 
+      if test "$cross_compiling" = yes; then :
35647
 
+  gl_cv_func_mkdir_trailing_dot_works="guessing no"
35648
 
+else
35649
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35650
 
+/* end confdefs.h.  */
35651
 
+
35652
 
+#       include <sys/types.h>
35653
 
+#       include <sys/stat.h>
35654
 
+
35655
 
+int
35656
 
+main ()
35657
 
+{
35658
 
+return !mkdir ("conftest.dir/./", 0700);
35659
 
+  ;
35660
 
+  return 0;
35661
 
+}
35662
 
+_ACEOF
35663
 
+if ac_fn_c_try_run "$LINENO"; then :
35664
 
+  gl_cv_func_mkdir_trailing_dot_works=yes
35665
 
+else
35666
 
+  gl_cv_func_mkdir_trailing_dot_works=no
35667
 
+fi
35668
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
35669
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
35670
 
+fi
35671
 
+
35672
 
+    rm -rf conftest.dir
35673
 
+    
35674
 
+  
35675
 
+fi
35676
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mkdir_trailing_dot_works" >&5
35677
 
+$as_echo "$gl_cv_func_mkdir_trailing_dot_works" >&6; }
35678
 
+  if test "$gl_cv_func_mkdir_trailing_dot_works" != yes; then
35679
 
+    REPLACE_MKDIR=1
35680
 
+    
35681
 
+$as_echo "@%:@define FUNC_MKDIR_DOT_BUG 1" >>confdefs.h
35682
 
+
35683
 
+  fi
35684
 
+
35685
 
+if test $REPLACE_MKDIR = 1; then
35686
 
+  
35687
 
+  
35688
 
+  
35689
 
+    
35690
 
+      
35691
 
+      
35692
 
+    
35693
 
+  
35694
 
+  gl_LIBOBJS="$gl_LIBOBJS mkdir.$ac_objext"
35695
 
+
35696
 
+fi
35697
 
+
35698
 
+    
35699
 
+
35700
 
+
35701
 
+  
35702
 
+
35703
 
+  
35704
 
+  if test $ac_cv_func_mkstemp = yes; then
35705
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mkstemp" >&5
35706
 
+$as_echo_n "checking for working mkstemp... " >&6; }
35707
 
+if ${gl_cv_func_working_mkstemp+:} false; then :
35708
 
+  $as_echo_n "(cached) " >&6
35709
 
+else
35710
 
+  
35711
 
+        mkdir conftest.mkstemp
35712
 
+        if test "$cross_compiling" = yes; then :
35713
 
+  gl_cv_func_working_mkstemp="guessing no"
35714
 
+else
35715
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35716
 
+/* end confdefs.h.  */
35717
 
+$ac_includes_default
35718
 
+int
35719
 
+main ()
35720
 
+{
35721
 
+int result = 0;
35722
 
+              int i;
35723
 
+              off_t large = (off_t) 4294967295u;
35724
 
+              if (large < 0)
35725
 
+                large = 2147483647;
35726
 
+              umask (0);
35727
 
+              for (i = 0; i < 70; i++)
35728
 
+                {
35729
 
+                  char templ[] = "conftest.mkstemp/coXXXXXX";
35730
 
+                  int (*mkstemp_function) (char *) = mkstemp;
35731
 
+                  int fd = mkstemp_function (templ);
35732
 
+                  if (fd < 0)
35733
 
+                    result |= 1;
35734
 
+                  else
35735
 
+                    {
35736
 
+                      struct stat st;
35737
 
+                      if (lseek (fd, large, SEEK_SET) != large)
35738
 
+                        result |= 2;
35739
 
+                      if (fstat (fd, &st) < 0)
35740
 
+                        result |= 4;
35741
 
+                      else if (st.st_mode & 0077)
35742
 
+                        result |= 8;
35743
 
+                      if (close (fd))
35744
 
+                        result |= 16;
35745
 
+                    }
35746
 
+                }
35747
 
+              return result;
35748
 
+  ;
35749
 
+  return 0;
35750
 
+}
35751
 
+_ACEOF
35752
 
+if ac_fn_c_try_run "$LINENO"; then :
35753
 
+  gl_cv_func_working_mkstemp=yes
35754
 
+else
35755
 
+  gl_cv_func_working_mkstemp=no
35756
 
+fi
35757
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
35758
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
35759
 
+fi
35760
 
+
35761
 
+        rm -rf conftest.mkstemp
35762
 
+      
35763
 
+fi
35764
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_mkstemp" >&5
35765
 
+$as_echo "$gl_cv_func_working_mkstemp" >&6; }
35766
 
+    if test "$gl_cv_func_working_mkstemp" != yes; then
35767
 
+      REPLACE_MKSTEMP=1
35768
 
+    fi
35769
 
+  else
35770
 
+    HAVE_MKSTEMP=0
35771
 
+  fi
35772
 
+
35773
 
+if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then
35774
 
+  
35775
 
+  
35776
 
+  
35777
 
+    
35778
 
+      
35779
 
+      
35780
 
+    
35781
 
+  
35782
 
+  gl_LIBOBJS="$gl_LIBOBJS mkstemp.$ac_objext"
35783
 
+
35784
 
+  
35785
 
+
35786
 
+fi
35787
 
+
35788
 
+    
35789
 
+  
35790
 
+  
35791
 
+  
35792
 
+          GNULIB_MKSTEMP=1
35793
 
+    
35794
 
+
35795
 
+
35796
 
+    
35797
 
+  
35798
 
+$as_echo "@%:@define GNULIB_TEST_MKSTEMP 1" >>confdefs.h
35799
 
+
35800
 
+
35801
 
+
35802
 
+
35803
 
+  
35804
 
+
35805
 
+      
35806
 
+  
35807
 
+  
35808
 
+  if test $APPLE_UNIVERSAL_BUILD = 1; then
35809
 
+    # A universal build on Apple MacOS X platforms.
35810
 
+    # The test result would be 'yes' in 32-bit mode and 'no' in 64-bit mode.
35811
 
+    # But we need a configuration result that is valid in both modes.
35812
 
+    gl_cv_func_working_mktime=no
35813
 
+  fi
35814
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
35815
 
+$as_echo_n "checking for working mktime... " >&6; }
35816
 
+if ${gl_cv_func_working_mktime+:} false; then :
35817
 
+  $as_echo_n "(cached) " >&6
35818
 
+else
35819
 
+  if test "$cross_compiling" = yes; then :
35820
 
+  gl_cv_func_working_mktime=no
35821
 
+else
35822
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35823
 
+/* end confdefs.h.  */
35824
 
+/* Test program from Paul Eggert and Tony Leneis.  */
35825
 
+#include <limits.h>
35826
 
+#include <stdlib.h>
35827
 
+#include <time.h>
35828
 
+
35829
 
+#ifdef HAVE_UNISTD_H
35830
 
+# include <unistd.h>
35831
 
+#endif
35832
 
+
35833
 
+#ifndef HAVE_ALARM
35834
 
+# define alarm(X) /* empty */
35835
 
+#endif
35836
 
+
35837
 
+/* Work around redefinition to rpl_putenv by other config tests.  */
35838
 
+#undef putenv
35839
 
+
35840
 
+static time_t time_t_max;
35841
 
+static time_t time_t_min;
35842
 
+
35843
 
+/* Values we'll use to set the TZ environment variable.  */
35844
 
+static char *tz_strings[] = {
35845
 
+  (char *) 0, "TZ=GMT0", "TZ=JST-9",
35846
 
+  "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
35847
 
+};
35848
 
+#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
35849
 
+
35850
 
+/* Return 0 if mktime fails to convert a date in the spring-forward gap.
35851
 
+   Based on a problem report from Andreas Jaeger.  */
35852
 
+static int
35853
 
+spring_forward_gap ()
35854
 
+{
35855
 
+  /* glibc (up to about 1998-10-07) failed this test. */
35856
 
+  struct tm tm;
35857
 
+
35858
 
+  /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
35859
 
+     instead of "TZ=America/Vancouver" in order to detect the bug even
35860
 
+     on systems that don't support the Olson extension, or don't have the
35861
 
+     full zoneinfo tables installed.  */
35862
 
+  putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
35863
 
+
35864
 
+  tm.tm_year = 98;
35865
 
+  tm.tm_mon = 3;
35866
 
+  tm.tm_mday = 5;
35867
 
+  tm.tm_hour = 2;
35868
 
+  tm.tm_min = 0;
35869
 
+  tm.tm_sec = 0;
35870
 
+  tm.tm_isdst = -1;
35871
 
+  return mktime (&tm) != (time_t) -1;
35872
 
+}
35873
 
+
35874
 
+static int
35875
 
+mktime_test1 (time_t now)
35876
 
+{
35877
 
+  struct tm *lt;
35878
 
+  return ! (lt = localtime (&now)) || mktime (lt) == now;
35879
 
+}
35880
 
+
35881
 
+static int
35882
 
+mktime_test (time_t now)
35883
 
+{
35884
 
+  return (mktime_test1 (now)
35885
 
+          && mktime_test1 ((time_t) (time_t_max - now))
35886
 
+          && mktime_test1 ((time_t) (time_t_min + now)));
35887
 
+}
35888
 
+
35889
 
+static int
35890
 
+irix_6_4_bug ()
35891
 
+{
35892
 
+  /* Based on code from Ariel Faigon.  */
35893
 
+  struct tm tm;
35894
 
+  tm.tm_year = 96;
35895
 
+  tm.tm_mon = 3;
35896
 
+  tm.tm_mday = 0;
35897
 
+  tm.tm_hour = 0;
35898
 
+  tm.tm_min = 0;
35899
 
+  tm.tm_sec = 0;
35900
 
+  tm.tm_isdst = -1;
35901
 
+  mktime (&tm);
35902
 
+  return tm.tm_mon == 2 && tm.tm_mday == 31;
35903
 
+}
35904
 
+
35905
 
+static int
35906
 
+bigtime_test (int j)
35907
 
+{
35908
 
+  struct tm tm;
35909
 
+  time_t now;
35910
 
+  tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
35911
 
+  now = mktime (&tm);
35912
 
+  if (now != (time_t) -1)
35913
 
+    {
35914
 
+      struct tm *lt = localtime (&now);
35915
 
+      if (! (lt
35916
 
+             && lt->tm_year == tm.tm_year
35917
 
+             && lt->tm_mon == tm.tm_mon
35918
 
+             && lt->tm_mday == tm.tm_mday
35919
 
+             && lt->tm_hour == tm.tm_hour
35920
 
+             && lt->tm_min == tm.tm_min
35921
 
+             && lt->tm_sec == tm.tm_sec
35922
 
+             && lt->tm_yday == tm.tm_yday
35923
 
+             && lt->tm_wday == tm.tm_wday
35924
 
+             && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
35925
 
+                  == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
35926
 
+        return 0;
35927
 
+    }
35928
 
+  return 1;
35929
 
+}
35930
 
+
35931
 
+static int
35932
 
+year_2050_test ()
35933
 
+{
35934
 
+  /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
35935
 
+     ignoring leap seconds.  */
35936
 
+  unsigned long int answer = 2527315200UL;
35937
 
+
35938
 
+  struct tm tm;
35939
 
+  time_t t;
35940
 
+  tm.tm_year = 2050 - 1900;
35941
 
+  tm.tm_mon = 2 - 1;
35942
 
+  tm.tm_mday = 1;
35943
 
+  tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
35944
 
+  tm.tm_isdst = -1;
35945
 
+
35946
 
+  /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
35947
 
+     instead of "TZ=America/Vancouver" in order to detect the bug even
35948
 
+     on systems that don't support the Olson extension, or don't have the
35949
 
+     full zoneinfo tables installed.  */
35950
 
+  putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
35951
 
+
35952
 
+  t = mktime (&tm);
35953
 
+
35954
 
+  /* Check that the result is either a failure, or close enough
35955
 
+     to the correct answer that we can assume the discrepancy is
35956
 
+     due to leap seconds.  */
35957
 
+  return (t == (time_t) -1
35958
 
+          || (0 < t && answer - 120 <= t && t <= answer + 120));
35959
 
+}
35960
 
+
35961
 
+int
35962
 
+main ()
35963
 
+{
35964
 
+  int result = 0;
35965
 
+  time_t t, delta;
35966
 
+  int i, j;
35967
 
+  int time_t_signed_magnitude = (time_t) ~ (time_t) 0 < (time_t) -1;
35968
 
+  int time_t_signed = ! ((time_t) 0 < (time_t) -1);
35969
 
+
35970
 
+  /* This test makes some buggy mktime implementations loop.
35971
 
+     Give up after 60 seconds; a mktime slower than that
35972
 
+     isn't worth using anyway.  */
35973
 
+  alarm (60);
35974
 
+
35975
 
+  time_t_max = (! time_t_signed
35976
 
+                ? (time_t) -1
35977
 
+                : ((((time_t) 1 << (sizeof (time_t) * CHAR_BIT - 2)) - 1)
35978
 
+                   * 2 + 1));
35979
 
+  time_t_min = (! time_t_signed
35980
 
+                ? (time_t) 0
35981
 
+                : time_t_signed_magnitude
35982
 
+                ? ~ (time_t) 0
35983
 
+                : ~ time_t_max);
35984
 
+
35985
 
+  delta = time_t_max / 997; /* a suitable prime number */
35986
 
+  for (i = 0; i < N_STRINGS; i++)
35987
 
+    {
35988
 
+      if (tz_strings[i])
35989
 
+        putenv (tz_strings[i]);
35990
 
+
35991
 
+      for (t = 0; t <= time_t_max - delta; t += delta)
35992
 
+        if (! mktime_test (t))
35993
 
+          result |= 1;
35994
 
+      if (! (mktime_test ((time_t) 1)
35995
 
+             && mktime_test ((time_t) (60 * 60))
35996
 
+             && mktime_test ((time_t) (60 * 60 * 24))))
35997
 
+        result |= 2;
35998
 
+
35999
 
+      for (j = 1; ; j <<= 1)
36000
 
+        if (! bigtime_test (j))
36001
 
+          result |= 4;
36002
 
+        else if (INT_MAX / 2 < j)
36003
 
+          break;
36004
 
+      if (! bigtime_test (INT_MAX))
36005
 
+        result |= 8;
36006
 
+    }
36007
 
+  if (! irix_6_4_bug ())
36008
 
+    result |= 16;
36009
 
+  if (! spring_forward_gap ())
36010
 
+    result |= 32;
36011
 
+  if (! year_2050_test ())
36012
 
+    result |= 64;
36013
 
+  return result;
36014
 
+}
36015
 
+_ACEOF
36016
 
+if ac_fn_c_try_run "$LINENO"; then :
36017
 
+  gl_cv_func_working_mktime=yes
36018
 
+else
36019
 
+  gl_cv_func_working_mktime=no
36020
 
+fi
36021
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
36022
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
36023
 
+fi
36024
 
+
36025
 
+    
36026
 
+fi
36027
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_mktime" >&5
36028
 
+$as_echo "$gl_cv_func_working_mktime" >&6; }
36029
 
+
36030
 
+  if test $gl_cv_func_working_mktime = no; then
36031
 
+    REPLACE_MKTIME=1
36032
 
+  else
36033
 
+    REPLACE_MKTIME=0
36034
 
+  fi
36035
 
+
36036
 
+if test $REPLACE_MKTIME = 1; then
36037
 
+  
36038
 
+  
36039
 
+  
36040
 
+    
36041
 
+      
36042
 
+      
36043
 
+    
36044
 
+  
36045
 
+  gl_LIBOBJS="$gl_LIBOBJS mktime.$ac_objext"
36046
 
+
36047
 
+  
36048
 
+  
36049
 
+
36050
 
+fi
36051
 
+
36052
 
+    
36053
 
+  
36054
 
+  
36055
 
+  
36056
 
+          GNULIB_MKTIME=1
36057
 
+    
36058
 
+
36059
 
+
36060
 
+    
36061
 
+  
36062
 
+$as_echo "@%:@define GNULIB_TEST_MKTIME 1" >>confdefs.h
36063
 
+
36064
 
+
36065
 
+
36066
 
+
36067
 
+  :
36068
 
+
36069
 
+
36070
 
+  
36071
 
+for ac_func in listmntent getmntinfo
36072
 
+do :
36073
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36074
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36075
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36076
 
+  cat >>confdefs.h <<_ACEOF
36077
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36078
 
+_ACEOF
36079
 
36080
 
+fi
36081
 
+done
36082
 
+
36083
 
+
36084
 
+
36085
 
+# We must include grp.h before ucred.h on OSF V4.0, since ucred.h uses
36086
 
+# NGROUPS (as the array dimension for a struct member) without a definition.
36087
 
+for ac_header in sys/ucred.h
36088
 
+do :
36089
 
+  ac_fn_c_check_header_compile "$LINENO" "sys/ucred.h" "ac_cv_header_sys_ucred_h" "#include <grp.h>
36090
 
+"
36091
 
+if test "x$ac_cv_header_sys_ucred_h" = xyes; then :
36092
 
+  cat >>confdefs.h <<_ACEOF
36093
 
+@%:@define HAVE_SYS_UCRED_H 1
36094
 
+_ACEOF
36095
 
36096
 
+fi
36097
 
+
36098
 
+done
36099
 
+
36100
 
+
36101
 
+for ac_header in sys/mount.h
36102
 
+do :
36103
 
+  ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default
36104
 
+   #if HAVE_SYS_PARAM_H
36105
 
+     #include <sys/param.h>
36106
 
+    #endif
36107
 
+"
36108
 
+if test "x$ac_cv_header_sys_mount_h" = xyes; then :
36109
 
+  cat >>confdefs.h <<_ACEOF
36110
 
+@%:@define HAVE_SYS_MOUNT_H 1
36111
 
+_ACEOF
36112
 
36113
 
+fi
36114
 
+
36115
 
+done
36116
 
+
36117
 
+
36118
 
+for ac_header in mntent.h sys/fs_types.h
36119
 
+do :
36120
 
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
36121
 
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
36122
 
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
36123
 
+  cat >>confdefs.h <<_ACEOF
36124
 
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
36125
 
+_ACEOF
36126
 
36127
 
+fi
36128
 
+
36129
 
+done
36130
 
+
36131
 
+    getfsstat_includes="\
36132
 
+$ac_includes_default
36133
 
+#if HAVE_SYS_PARAM_H
36134
 
+# include <sys/param.h> /* needed by powerpc-apple-darwin1.3.7 */
36135
 
+#endif
36136
 
+#if HAVE_SYS_UCRED_H
36137
 
+# include <grp.h> /* needed for definition of NGROUPS */
36138
 
+# include <sys/ucred.h> /* needed by powerpc-apple-darwin1.3.7 */
36139
 
+#endif
36140
 
+#if HAVE_SYS_MOUNT_H
36141
 
+# include <sys/mount.h>
36142
 
+#endif
36143
 
+#if HAVE_SYS_FS_TYPES_H
36144
 
+# include <sys/fs_types.h> /* needed by powerpc-apple-darwin1.3.7 */
36145
 
+#endif
36146
 
+"
36147
 
+ac_fn_c_check_member "$LINENO" "struct fsstat" "f_fstypename" "ac_cv_member_struct_fsstat_f_fstypename" "$getfsstat_includes
36148
 
+"
36149
 
+if test "x$ac_cv_member_struct_fsstat_f_fstypename" = xyes; then :
36150
 
+  
36151
 
+cat >>confdefs.h <<_ACEOF
36152
 
+@%:@define HAVE_STRUCT_FSSTAT_F_FSTYPENAME 1
36153
 
+_ACEOF
36154
 
+
36155
 
+
36156
 
+fi
36157
 
+
36158
 
+
36159
 
+# Determine how to get the list of mounted file systems.
36160
 
+ac_list_mounted_fs=
36161
 
+
36162
 
+# If the getmntent function is available but not in the standard library,
36163
 
+# make sure LIBS contains the appropriate -l option.
36164
 
+# getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
36165
 
+# -lseq on Dynix/PTX, -lgen on Unixware.
36166
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5
36167
 
+$as_echo_n "checking for library containing getmntent... " >&6; }
36168
 
+if ${ac_cv_search_getmntent+:} false; then :
36169
 
+  $as_echo_n "(cached) " >&6
36170
 
+else
36171
 
+  ac_func_search_save_LIBS=$LIBS
36172
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36173
 
+/* end confdefs.h.  */
36174
 
+
36175
 
+/* Override any GCC internal prototype to avoid an error.
36176
 
+   Use char because int might match the return type of a GCC
36177
 
+   builtin and then its argument prototype would still apply.  */
36178
 
+#ifdef __cplusplus
36179
 
+extern "C"
36180
 
+#endif
36181
 
+char getmntent ();
36182
 
+int
36183
 
+main ()
36184
 
+{
36185
 
+return getmntent ();
36186
 
+  ;
36187
 
+  return 0;
36188
 
+}
36189
 
+_ACEOF
36190
 
+for ac_lib in '' sun seq gen; do
36191
 
+  if test -z "$ac_lib"; then
36192
 
+    ac_res="none required"
36193
 
+  else
36194
 
+    ac_res=-l$ac_lib
36195
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
36196
 
+  fi
36197
 
+  if ac_fn_c_try_link "$LINENO"; then :
36198
 
+  ac_cv_search_getmntent=$ac_res
36199
 
+fi
36200
 
+rm -f core conftest.err conftest.$ac_objext \
36201
 
+    conftest$ac_exeext
36202
 
+  if ${ac_cv_search_getmntent+:} false; then :
36203
 
+  break
36204
 
+fi
36205
 
+done
36206
 
+if ${ac_cv_search_getmntent+:} false; then :
36207
 
+  
36208
 
+else
36209
 
+  ac_cv_search_getmntent=no
36210
 
+fi
36211
 
+rm conftest.$ac_ext
36212
 
+LIBS=$ac_func_search_save_LIBS
36213
 
+fi
36214
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getmntent" >&5
36215
 
+$as_echo "$ac_cv_search_getmntent" >&6; }
36216
 
+ac_res=$ac_cv_search_getmntent
36217
 
+if test "$ac_res" != no; then :
36218
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
36219
 
+  
36220
 
+fi
36221
 
+
36222
 
+for ac_func in getmntent
36223
 
+do :
36224
 
+  ac_fn_c_check_func "$LINENO" "getmntent" "ac_cv_func_getmntent"
36225
 
+if test "x$ac_cv_func_getmntent" = xyes; then :
36226
 
+  cat >>confdefs.h <<_ACEOF
36227
 
+@%:@define HAVE_GETMNTENT 1
36228
 
+_ACEOF
36229
 
36230
 
+fi
36231
 
+done
36232
 
+
36233
 
+
36234
 
+
36235
 
+# This test must precede the ones for getmntent because Unicos-9 is
36236
 
+# reported to have the getmntent function, but its support is incompatible
36237
 
+# with other getmntent implementations.
36238
 
+
36239
 
+# NOTE: Normally, I wouldn't use a check for system type as I've done for
36240
 
+# `CRAY' below since that goes against the whole autoconf philosophy.  But
36241
 
+# I think there is too great a chance that some non-Cray system has a
36242
 
+# function named listmntent to risk the false positive.
36243
 
+
36244
 
+if test -z "$ac_list_mounted_fs"; then
36245
 
+  # Cray UNICOS 9
36246
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for listmntent of Cray/Unicos-9" >&5
36247
 
+$as_echo_n "checking for listmntent of Cray/Unicos-9... " >&6; }
36248
 
+  if ${fu_cv_sys_mounted_cray_listmntent+:} false; then :
36249
 
+  $as_echo_n "(cached) " >&6
36250
 
+else
36251
 
+  fu_cv_sys_mounted_cray_listmntent=no
36252
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36253
 
+/* end confdefs.h.  */
36254
 
+#ifdef _CRAY
36255
 
+yes
36256
 
+#endif
36257
 
+        
36258
 
+_ACEOF
36259
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36260
 
+  $EGREP "yes" >/dev/null 2>&1; then :
36261
 
+  test $ac_cv_func_listmntent = yes \
36262
 
+            && fu_cv_sys_mounted_cray_listmntent=yes
36263
 
+      
36264
 
+fi
36265
 
+rm -f conftest*
36266
 
+
36267
 
+    
36268
 
+  
36269
 
+fi
36270
 
+
36271
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_cray_listmntent" >&5
36272
 
+$as_echo "$fu_cv_sys_mounted_cray_listmntent" >&6; }
36273
 
+  if test $fu_cv_sys_mounted_cray_listmntent = yes; then
36274
 
+    ac_list_mounted_fs=found
36275
 
+    
36276
 
+$as_echo "@%:@define MOUNTED_LISTMNTENT 1" >>confdefs.h
36277
 
+
36278
 
+  fi
36279
 
+fi
36280
 
+
36281
 
+if test -z "$ac_list_mounted_fs"; then
36282
 
+  # AIX.
36283
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mntctl function and struct vmount" >&5
36284
 
+$as_echo_n "checking for mntctl function and struct vmount... " >&6; }
36285
 
+  if ${fu_cv_sys_mounted_vmount+:} false; then :
36286
 
+  $as_echo_n "(cached) " >&6
36287
 
+else
36288
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36289
 
+/* end confdefs.h.  */
36290
 
+#include <fshelp.h>
36291
 
+_ACEOF
36292
 
+if ac_fn_c_try_cpp "$LINENO"; then :
36293
 
+  fu_cv_sys_mounted_vmount=yes
36294
 
+else
36295
 
+  fu_cv_sys_mounted_vmount=no
36296
 
+fi
36297
 
+rm -f conftest.err conftest.i conftest.$ac_ext
36298
 
+fi
36299
 
+
36300
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_vmount" >&5
36301
 
+$as_echo "$fu_cv_sys_mounted_vmount" >&6; }
36302
 
+  if test $fu_cv_sys_mounted_vmount = yes; then
36303
 
+    ac_list_mounted_fs=found
36304
 
+    
36305
 
+$as_echo "@%:@define MOUNTED_VMOUNT 1" >>confdefs.h
36306
 
+
36307
 
+  fi
36308
 
+fi
36309
 
+
36310
 
+if test $ac_cv_func_getmntent = yes; then
36311
 
+
36312
 
+  # This system has the getmntent function.
36313
 
+  # Determine whether it's the one-argument variant or the two-argument one.
36314
 
+
36315
 
+  if test -z "$ac_list_mounted_fs"; then
36316
 
+    # 4.3BSD, SunOS, HP-UX, Dynix, Irix
36317
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for one-argument getmntent function" >&5
36318
 
+$as_echo_n "checking for one-argument getmntent function... " >&6; }
36319
 
+    if ${fu_cv_sys_mounted_getmntent1+:} false; then :
36320
 
+  $as_echo_n "(cached) " >&6
36321
 
+else
36322
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36323
 
+/* end confdefs.h.  */
36324
 
+
36325
 
+/* SunOS 4.1.x /usr/include/mntent.h needs this for FILE */
36326
 
+#include <stdio.h>
36327
 
+
36328
 
+#include <mntent.h>
36329
 
+#if !defined MOUNTED
36330
 
+# if defined _PATH_MOUNTED      /* GNU libc  */
36331
 
+#  define MOUNTED _PATH_MOUNTED
36332
 
+# endif
36333
 
+# if defined MNT_MNTTAB /* HP-UX.  */
36334
 
+#  define MOUNTED MNT_MNTTAB
36335
 
+# endif
36336
 
+# if defined MNTTABNAME /* Dynix.  */
36337
 
+#  define MOUNTED MNTTABNAME
36338
 
+# endif
36339
 
+#endif
36340
 
+
36341
 
+int
36342
 
+main ()
36343
 
+{
36344
 
+ struct mntent *mnt = 0; char *table = MOUNTED;
36345
 
+                         if (sizeof mnt && sizeof table) return 0;
36346
 
+  ;
36347
 
+  return 0;
36348
 
+}
36349
 
+_ACEOF
36350
 
+if ac_fn_c_try_compile "$LINENO"; then :
36351
 
+  fu_cv_sys_mounted_getmntent1=yes
36352
 
+else
36353
 
+  fu_cv_sys_mounted_getmntent1=no
36354
 
+fi
36355
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36356
 
+fi
36357
 
+
36358
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntent1" >&5
36359
 
+$as_echo "$fu_cv_sys_mounted_getmntent1" >&6; }
36360
 
+    if test $fu_cv_sys_mounted_getmntent1 = yes; then
36361
 
+      ac_list_mounted_fs=found
36362
 
+      
36363
 
+$as_echo "@%:@define MOUNTED_GETMNTENT1 1" >>confdefs.h
36364
 
+
36365
 
+    fi
36366
 
+  fi
36367
 
+
36368
 
+  if test -z "$ac_list_mounted_fs"; then
36369
 
+    # SVR4
36370
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument getmntent function" >&5
36371
 
+$as_echo_n "checking for two-argument getmntent function... " >&6; }
36372
 
+    if ${fu_cv_sys_mounted_getmntent2+:} false; then :
36373
 
+  $as_echo_n "(cached) " >&6
36374
 
+else
36375
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36376
 
+/* end confdefs.h.  */
36377
 
+#include <sys/mnttab.h>
36378
 
+
36379
 
+_ACEOF
36380
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36381
 
+  $EGREP "getmntent" >/dev/null 2>&1; then :
36382
 
+  fu_cv_sys_mounted_getmntent2=yes
36383
 
+else
36384
 
+  fu_cv_sys_mounted_getmntent2=no
36385
 
+fi
36386
 
+rm -f conftest*
36387
 
+
36388
 
+fi
36389
 
+
36390
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntent2" >&5
36391
 
+$as_echo "$fu_cv_sys_mounted_getmntent2" >&6; }
36392
 
+    if test $fu_cv_sys_mounted_getmntent2 = yes; then
36393
 
+      ac_list_mounted_fs=found
36394
 
+      
36395
 
+$as_echo "@%:@define MOUNTED_GETMNTENT2 1" >>confdefs.h
36396
 
+
36397
 
+      for ac_func in hasmntopt
36398
 
+do :
36399
 
+  ac_fn_c_check_func "$LINENO" "hasmntopt" "ac_cv_func_hasmntopt"
36400
 
+if test "x$ac_cv_func_hasmntopt" = xyes; then :
36401
 
+  cat >>confdefs.h <<_ACEOF
36402
 
+@%:@define HAVE_HASMNTOPT 1
36403
 
+_ACEOF
36404
 
36405
 
+fi
36406
 
+done
36407
 
+
36408
 
+    fi
36409
 
+  fi
36410
 
+
36411
 
+fi
36412
 
+
36413
 
+if test -z "$ac_list_mounted_fs"; then
36414
 
+  # DEC Alpha running OSF/1, and Apple Darwin 1.3.
36415
 
+  # powerpc-apple-darwin1.3.7 needs sys/param.h sys/ucred.h sys/fs_types.h
36416
 
+
36417
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getfsstat function" >&5
36418
 
+$as_echo_n "checking for getfsstat function... " >&6; }
36419
 
+  if ${fu_cv_sys_mounted_getfsstat+:} false; then :
36420
 
+  $as_echo_n "(cached) " >&6
36421
 
+else
36422
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36423
 
+/* end confdefs.h.  */
36424
 
+
36425
 
+#include <sys/types.h>
36426
 
+#if HAVE_STRUCT_FSSTAT_F_FSTYPENAME
36427
 
+# define FS_TYPE(Ent) ((Ent).f_fstypename)
36428
 
+#else
36429
 
+# define FS_TYPE(Ent) mnt_names[(Ent).f_type]
36430
 
+#endif
36431
 
+$getfsstat_includes
36432
 
+
36433
 
+int
36434
 
+main ()
36435
 
+{
36436
 
+struct statfs *stats;
36437
 
+        int numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT);
36438
 
+        char *t = FS_TYPE (*stats); 
36439
 
+  ;
36440
 
+  return 0;
36441
 
+}
36442
 
+_ACEOF
36443
 
+if ac_fn_c_try_link "$LINENO"; then :
36444
 
+  fu_cv_sys_mounted_getfsstat=yes
36445
 
+else
36446
 
+  fu_cv_sys_mounted_getfsstat=no
36447
 
+fi
36448
 
+rm -f core conftest.err conftest.$ac_objext \
36449
 
+    conftest$ac_exeext conftest.$ac_ext
36450
 
+fi
36451
 
+
36452
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getfsstat" >&5
36453
 
+$as_echo "$fu_cv_sys_mounted_getfsstat" >&6; }
36454
 
+  if test $fu_cv_sys_mounted_getfsstat = yes; then
36455
 
+    ac_list_mounted_fs=found
36456
 
+    
36457
 
+$as_echo "@%:@define MOUNTED_GETFSSTAT 1" >>confdefs.h
36458
 
+
36459
 
+  fi
36460
 
+fi
36461
 
+
36462
 
+if test -z "$ac_list_mounted_fs"; then
36463
 
+  # SVR3
36464
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIXME existence of three headers" >&5
36465
 
+$as_echo_n "checking for FIXME existence of three headers... " >&6; }
36466
 
+  if ${fu_cv_sys_mounted_fread_fstyp+:} false; then :
36467
 
+  $as_echo_n "(cached) " >&6
36468
 
+else
36469
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36470
 
+/* end confdefs.h.  */
36471
 
+
36472
 
+#include <sys/statfs.h>
36473
 
+#include <sys/fstyp.h>
36474
 
+#include <mnttab.h>
36475
 
+_ACEOF
36476
 
+if ac_fn_c_try_cpp "$LINENO"; then :
36477
 
+  fu_cv_sys_mounted_fread_fstyp=yes
36478
 
+else
36479
 
+  fu_cv_sys_mounted_fread_fstyp=no
36480
 
+fi
36481
 
+rm -f conftest.err conftest.i conftest.$ac_ext
36482
 
+fi
36483
 
+
36484
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_fread_fstyp" >&5
36485
 
+$as_echo "$fu_cv_sys_mounted_fread_fstyp" >&6; }
36486
 
+  if test $fu_cv_sys_mounted_fread_fstyp = yes; then
36487
 
+    ac_list_mounted_fs=found
36488
 
+    
36489
 
+$as_echo "@%:@define MOUNTED_FREAD_FSTYP 1" >>confdefs.h
36490
 
+
36491
 
+  fi
36492
 
+fi
36493
 
+
36494
 
+if test -z "$ac_list_mounted_fs"; then
36495
 
+  # 4.4BSD and DEC OSF/1.
36496
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getmntinfo function" >&5
36497
 
+$as_echo_n "checking for getmntinfo function... " >&6; }
36498
 
+  if ${fu_cv_sys_mounted_getmntinfo+:} false; then :
36499
 
+  $as_echo_n "(cached) " >&6
36500
 
+else
36501
 
+  
36502
 
+      test "$ac_cv_func_getmntinfo" = yes \
36503
 
+          && fu_cv_sys_mounted_getmntinfo=yes \
36504
 
+          || fu_cv_sys_mounted_getmntinfo=no
36505
 
+    
36506
 
+fi
36507
 
+
36508
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntinfo" >&5
36509
 
+$as_echo "$fu_cv_sys_mounted_getmntinfo" >&6; }
36510
 
+  if test $fu_cv_sys_mounted_getmntinfo = yes; then
36511
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getmntinfo returns statvfs structures" >&5
36512
 
+$as_echo_n "checking whether getmntinfo returns statvfs structures... " >&6; }
36513
 
+    if ${fu_cv_sys_mounted_getmntinfo2+:} false; then :
36514
 
+  $as_echo_n "(cached) " >&6
36515
 
+else
36516
 
+  
36517
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36518
 
+/* end confdefs.h.  */
36519
 
+
36520
 
+#if HAVE_SYS_PARAM_H
36521
 
+# include <sys/param.h>
36522
 
+#endif
36523
 
+#include <sys/types.h>
36524
 
+#if HAVE_SYS_MOUNT_H
36525
 
+# include <sys/mount.h>
36526
 
+#endif
36527
 
+#if HAVE_SYS_STATVFS_H
36528
 
+# include <sys/statvfs.h>
36529
 
+#endif
36530
 
+extern
36531
 
+#ifdef __cplusplus
36532
 
+"C"
36533
 
+#endif
36534
 
+int getmntinfo (struct statfs **, int);
36535
 
+            
36536
 
+int
36537
 
+main ()
36538
 
+{
36539
 
+
36540
 
+  ;
36541
 
+  return 0;
36542
 
+}
36543
 
+_ACEOF
36544
 
+if ac_fn_c_try_compile "$LINENO"; then :
36545
 
+  fu_cv_sys_mounted_getmntinfo2=no
36546
 
+else
36547
 
+  fu_cv_sys_mounted_getmntinfo2=yes
36548
 
+fi
36549
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36550
 
+      
36551
 
+fi
36552
 
+
36553
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntinfo2" >&5
36554
 
+$as_echo "$fu_cv_sys_mounted_getmntinfo2" >&6; }
36555
 
+    if test $fu_cv_sys_mounted_getmntinfo2 = no; then
36556
 
+      ac_list_mounted_fs=found
36557
 
+      
36558
 
+$as_echo "@%:@define MOUNTED_GETMNTINFO 1" >>confdefs.h
36559
 
+
36560
 
+    else
36561
 
+      ac_list_mounted_fs=found
36562
 
+      
36563
 
+$as_echo "@%:@define MOUNTED_GETMNTINFO2 1" >>confdefs.h
36564
 
+
36565
 
+    fi
36566
 
+  fi
36567
 
+fi
36568
 
+
36569
 
+if test -z "$ac_list_mounted_fs"; then
36570
 
+  # Ultrix
36571
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getmnt function" >&5
36572
 
+$as_echo_n "checking for getmnt function... " >&6; }
36573
 
+  if ${fu_cv_sys_mounted_getmnt+:} false; then :
36574
 
+  $as_echo_n "(cached) " >&6
36575
 
+else
36576
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36577
 
+/* end confdefs.h.  */
36578
 
+
36579
 
+#include <sys/fs_types.h>
36580
 
+#include <sys/mount.h>
36581
 
+_ACEOF
36582
 
+if ac_fn_c_try_cpp "$LINENO"; then :
36583
 
+  fu_cv_sys_mounted_getmnt=yes
36584
 
+else
36585
 
+  fu_cv_sys_mounted_getmnt=no
36586
 
+fi
36587
 
+rm -f conftest.err conftest.i conftest.$ac_ext
36588
 
+fi
36589
 
+
36590
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmnt" >&5
36591
 
+$as_echo "$fu_cv_sys_mounted_getmnt" >&6; }
36592
 
+  if test $fu_cv_sys_mounted_getmnt = yes; then
36593
 
+    ac_list_mounted_fs=found
36594
 
+    
36595
 
+$as_echo "@%:@define MOUNTED_GETMNT 1" >>confdefs.h
36596
 
+
36597
 
+  fi
36598
 
+fi
36599
 
+
36600
 
+if test -z "$ac_list_mounted_fs"; then
36601
 
+  # BeOS
36602
 
+  for ac_func in next_dev fs_stat_dev
36603
 
+do :
36604
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36605
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36606
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36607
 
+  cat >>confdefs.h <<_ACEOF
36608
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36609
 
+_ACEOF
36610
 
36611
 
+fi
36612
 
+done
36613
 
+
36614
 
+  for ac_header in fs_info.h
36615
 
+do :
36616
 
+  ac_fn_c_check_header_mongrel "$LINENO" "fs_info.h" "ac_cv_header_fs_info_h" "$ac_includes_default"
36617
 
+if test "x$ac_cv_header_fs_info_h" = xyes; then :
36618
 
+  cat >>confdefs.h <<_ACEOF
36619
 
+@%:@define HAVE_FS_INFO_H 1
36620
 
+_ACEOF
36621
 
36622
 
+fi
36623
 
+
36624
 
+done
36625
 
+
36626
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BEOS mounted file system support functions" >&5
36627
 
+$as_echo_n "checking for BEOS mounted file system support functions... " >&6; }
36628
 
+  if test $ac_cv_header_fs_info_h = yes \
36629
 
+      && test $ac_cv_func_next_dev = yes \
36630
 
+        && test $ac_cv_func_fs_stat_dev = yes; then
36631
 
+    fu_result=yes
36632
 
+  else
36633
 
+    fu_result=no
36634
 
+  fi
36635
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_result" >&5
36636
 
+$as_echo "$fu_result" >&6; }
36637
 
+  if test $fu_result = yes; then
36638
 
+    ac_list_mounted_fs=found
36639
 
+    
36640
 
+$as_echo "@%:@define MOUNTED_FS_STAT_DEV 1" >>confdefs.h
36641
 
+
36642
 
+  fi
36643
 
+fi
36644
 
+
36645
 
+if test -z "$ac_list_mounted_fs"; then
36646
 
+  # SVR2
36647
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is possible to resort to fread on /etc/mnttab" >&5
36648
 
+$as_echo_n "checking whether it is possible to resort to fread on /etc/mnttab... " >&6; }
36649
 
+  if ${fu_cv_sys_mounted_fread+:} false; then :
36650
 
+  $as_echo_n "(cached) " >&6
36651
 
+else
36652
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36653
 
+/* end confdefs.h.  */
36654
 
+#include <mnttab.h>
36655
 
+_ACEOF
36656
 
+if ac_fn_c_try_cpp "$LINENO"; then :
36657
 
+  fu_cv_sys_mounted_fread=yes
36658
 
+else
36659
 
+  fu_cv_sys_mounted_fread=no
36660
 
+fi
36661
 
+rm -f conftest.err conftest.i conftest.$ac_ext
36662
 
+fi
36663
 
+
36664
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_fread" >&5
36665
 
+$as_echo "$fu_cv_sys_mounted_fread" >&6; }
36666
 
+  if test $fu_cv_sys_mounted_fread = yes; then
36667
 
+    ac_list_mounted_fs=found
36668
 
+    
36669
 
+$as_echo "@%:@define MOUNTED_FREAD 1" >>confdefs.h
36670
 
+
36671
 
+  fi
36672
 
+fi
36673
 
+
36674
 
+if test -z "$ac_list_mounted_fs"; then
36675
 
+  # Interix / BSD alike statvfs
36676
 
+  # the code is really interix specific, so make sure, we're on it.
36677
 
+  case "$host" in
36678
 
+  *-interix*)
36679
 
+    for ac_func in statvfs
36680
 
+do :
36681
 
+  ac_fn_c_check_func "$LINENO" "statvfs" "ac_cv_func_statvfs"
36682
 
+if test "x$ac_cv_func_statvfs" = xyes; then :
36683
 
+  cat >>confdefs.h <<_ACEOF
36684
 
+@%:@define HAVE_STATVFS 1
36685
 
+_ACEOF
36686
 
36687
 
+fi
36688
 
+done
36689
 
+
36690
 
+    if test $ac_cv_func_statvfs = yes; then
36691
 
+      ac_list_mounted_fs=found
36692
 
+      
36693
 
+$as_echo "@%:@define MOUNTED_INTERIX_STATVFS 1" >>confdefs.h
36694
 
+
36695
 
+    fi
36696
 
+    ;;
36697
 
+  esac
36698
 
+fi
36699
 
+
36700
 
+if test -z "$ac_list_mounted_fs"; then
36701
 
+  as_fn_error $? "could not determine how to read list of mounted file systems" "$LINENO" 5
36702
 
+  # FIXME -- no need to abort building the whole package
36703
 
+  # Can't build mountlist.c or anything that needs its functions
36704
 
+fi
36705
 
+
36706
 
+if test $ac_list_mounted_fs = found; then :
36707
 
+  gl_cv_list_mounted_fs=yes
36708
 
+else
36709
 
+  gl_cv_list_mounted_fs=no
36710
 
+fi
36711
 
+
36712
 
+  
36713
 
+
36714
 
+if test $gl_cv_list_mounted_fs = yes; then
36715
 
+  
36716
 
+  
36717
 
+  
36718
 
+    
36719
 
+      
36720
 
+      
36721
 
+    
36722
 
+  
36723
 
+  gl_LIBOBJS="$gl_LIBOBJS mountlist.$ac_objext"
36724
 
+
36725
 
+  
36726
 
+    for ac_header in sys/mntent.h
36727
 
+do :
36728
 
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/mntent.h" "ac_cv_header_sys_mntent_h" "$ac_includes_default"
36729
 
+if test "x$ac_cv_header_sys_mntent_h" = xyes; then :
36730
 
+  cat >>confdefs.h <<_ACEOF
36731
 
+@%:@define HAVE_SYS_MNTENT_H 1
36732
 
+_ACEOF
36733
 
36734
 
+fi
36735
 
+
36736
 
+done
36737
 
+
36738
 
+  
36739
 
+  ac_fn_c_check_member "$LINENO" "struct statfs" "f_fstypename" "ac_cv_member_struct_statfs_f_fstypename" "
36740
 
+      #include <sys/types.h>
36741
 
+      #include <sys/param.h>
36742
 
+      #include <sys/mount.h>
36743
 
+    
36744
 
+"
36745
 
+if test "x$ac_cv_member_struct_statfs_f_fstypename" = xyes; then :
36746
 
+  
36747
 
+cat >>confdefs.h <<_ACEOF
36748
 
+@%:@define HAVE_STRUCT_STATFS_F_FSTYPENAME 1
36749
 
+_ACEOF
36750
 
+
36751
 
+
36752
 
+fi
36753
 
+
36754
 
+
36755
 
+
36756
 
+fi
36757
 
+
36758
 
+  
36759
 
+
36760
 
+
36761
 
+
36762
 
+  
36763
 
+
36764
 
36765
 
36766
 
36767
 
+
36768
 
+ nanosleep_save_libs=$LIBS
36769
 
+
36770
 
+ # Solaris 2.5.1 needs -lposix4 to get the nanosleep function.
36771
 
+ # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4.
36772
 
+ LIB_NANOSLEEP=
36773
 
36774
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
36775
 
+$as_echo_n "checking for library containing nanosleep... " >&6; }
36776
 
+if ${ac_cv_search_nanosleep+:} false; then :
36777
 
+  $as_echo_n "(cached) " >&6
36778
 
+else
36779
 
+  ac_func_search_save_LIBS=$LIBS
36780
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36781
 
+/* end confdefs.h.  */
36782
 
+
36783
 
+/* Override any GCC internal prototype to avoid an error.
36784
 
+   Use char because int might match the return type of a GCC
36785
 
+   builtin and then its argument prototype would still apply.  */
36786
 
+#ifdef __cplusplus
36787
 
+extern "C"
36788
 
+#endif
36789
 
+char nanosleep ();
36790
 
+int
36791
 
+main ()
36792
 
+{
36793
 
+return nanosleep ();
36794
 
+  ;
36795
 
+  return 0;
36796
 
+}
36797
 
+_ACEOF
36798
 
+for ac_lib in '' rt posix4; do
36799
 
+  if test -z "$ac_lib"; then
36800
 
+    ac_res="none required"
36801
 
+  else
36802
 
+    ac_res=-l$ac_lib
36803
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
36804
 
+  fi
36805
 
+  if ac_fn_c_try_link "$LINENO"; then :
36806
 
+  ac_cv_search_nanosleep=$ac_res
36807
 
+fi
36808
 
+rm -f core conftest.err conftest.$ac_objext \
36809
 
+    conftest$ac_exeext
36810
 
+  if ${ac_cv_search_nanosleep+:} false; then :
36811
 
+  break
36812
 
+fi
36813
 
+done
36814
 
+if ${ac_cv_search_nanosleep+:} false; then :
36815
 
+  
36816
 
+else
36817
 
+  ac_cv_search_nanosleep=no
36818
 
+fi
36819
 
+rm conftest.$ac_ext
36820
 
+LIBS=$ac_func_search_save_LIBS
36821
 
+fi
36822
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
36823
 
+$as_echo "$ac_cv_search_nanosleep" >&6; }
36824
 
+ac_res=$ac_cv_search_nanosleep
36825
 
+if test "$ac_res" != no; then :
36826
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
36827
 
+  test "$ac_cv_search_nanosleep" = "none required" ||
36828
 
+                 LIB_NANOSLEEP=$ac_cv_search_nanosleep
36829
 
+fi
36830
 
+
36831
 
+ if test "x$ac_cv_search_nanosleep" != xno; then
36832
 
+   
36833
 
+   
36834
 
+   if test $APPLE_UNIVERSAL_BUILD = 1; then
36835
 
+     # A universal build on Apple MacOS X platforms.
36836
 
+     # The test result would be 'no (mishandles large arguments)' in 64-bit
36837
 
+     # mode but 'yes' in 32-bit mode. But we need a configuration result that
36838
 
+     # is valid in both modes.
36839
 
+     gl_cv_func_nanosleep='no (mishandles large arguments)'
36840
 
+   fi
36841
 
+
36842
 
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nanosleep" >&5
36843
 
+$as_echo_n "checking for working nanosleep... " >&6; }
36844
 
+if ${gl_cv_func_nanosleep+:} false; then :
36845
 
+  $as_echo_n "(cached) " >&6
36846
 
+else
36847
 
+  
36848
 
+     if test "$cross_compiling" = yes; then :
36849
 
+  gl_cv_func_nanosleep=cross-compiling
36850
 
+else
36851
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36852
 
+/* end confdefs.h.  */
36853
 
+
36854
 
+          #include <errno.h>
36855
 
+          #include <limits.h>
36856
 
+          #include <signal.h>
36857
 
+          #if HAVE_SYS_TIME_H
36858
 
+           #include <sys/time.h>
36859
 
+          #endif
36860
 
+          #include <time.h>
36861
 
+          #include <unistd.h>
36862
 
+          #define TYPE_SIGNED(t) (! ((t) 0 < (t) -1))
36863
 
+          #define TYPE_MAXIMUM(t) \
36864
 
+            ((t) (! TYPE_SIGNED (t) \
36865
 
+                  ? (t) -1 \
36866
 
+                  : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
36867
 
+
36868
 
+          static void
36869
 
+          check_for_SIGALRM (int sig)
36870
 
+          {
36871
 
+            if (sig != SIGALRM)
36872
 
+              _exit (1);
36873
 
+          }
36874
 
+
36875
 
+          int
36876
 
+          main ()
36877
 
+          {
36878
 
+            static struct timespec ts_sleep;
36879
 
+            static struct timespec ts_remaining;
36880
 
+            static struct sigaction act;
36881
 
+            if (! nanosleep)
36882
 
+              return 2;
36883
 
+            act.sa_handler = check_for_SIGALRM;
36884
 
+            sigemptyset (&act.sa_mask);
36885
 
+            sigaction (SIGALRM, &act, NULL);
36886
 
+            ts_sleep.tv_sec = 0;
36887
 
+            ts_sleep.tv_nsec = 1;
36888
 
+            alarm (1);
36889
 
+            if (nanosleep (&ts_sleep, NULL) != 0)
36890
 
+              return 3;
36891
 
+            ts_sleep.tv_sec = TYPE_MAXIMUM (time_t);
36892
 
+            ts_sleep.tv_nsec = 999999999;
36893
 
+            alarm (1);
36894
 
+            if (nanosleep (&ts_sleep, &ts_remaining) != -1)
36895
 
+              return 4;
36896
 
+            if (errno != EINTR)
36897
 
+              return 5;
36898
 
+            if (ts_remaining.tv_sec <= TYPE_MAXIMUM (time_t) - 10)
36899
 
+              return 6;
36900
 
+            return 0;
36901
 
+          }
36902
 
+_ACEOF
36903
 
+if ac_fn_c_try_run "$LINENO"; then :
36904
 
+  gl_cv_func_nanosleep=yes
36905
 
+else
36906
 
+  case $? in         4|5|6) gl_cv_func_nanosleep='no (mishandles large arguments)';;         *)   gl_cv_func_nanosleep=no;;
36907
 
+        esac
36908
 
+fi
36909
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
36910
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
36911
 
+fi
36912
 
+
36913
 
+    
36914
 
+fi
36915
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_nanosleep" >&5
36916
 
+$as_echo "$gl_cv_func_nanosleep" >&6; }
36917
 
+   if test "$gl_cv_func_nanosleep" = yes; then
36918
 
+     REPLACE_NANOSLEEP=0
36919
 
+   else
36920
 
+     REPLACE_NANOSLEEP=1
36921
 
+     if test "$gl_cv_func_nanosleep" = 'no (mishandles large arguments)'; then
36922
 
+       
36923
 
+$as_echo "@%:@define HAVE_BUG_BIG_NANOSLEEP 1" >>confdefs.h
36924
 
+
36925
 
+     else
36926
 
+       for ac_lib in $LIBSOCKET; do
36927
 
+         case " $LIB_NANOSLEEP " in
36928
 
+         *" $ac_lib "*) ;;
36929
 
+         *) LIB_NANOSLEEP="$LIB_NANOSLEEP $ac_lib";;
36930
 
+         esac
36931
 
+       done
36932
 
+     fi
36933
 
+   fi
36934
 
+ else
36935
 
+   HAVE_NANOSLEEP=0
36936
 
+ fi
36937
 
+ LIBS=$nanosleep_save_libs
36938
 
+
36939
 
+if test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1; then
36940
 
+  
36941
 
+  
36942
 
+  
36943
 
+    
36944
 
+      
36945
 
+      
36946
 
+    
36947
 
+  
36948
 
+  gl_LIBOBJS="$gl_LIBOBJS nanosleep.$ac_objext"
36949
 
+
36950
 
+  
36951
 
+  
36952
 
+  
36953
 
+  
36954
 
+
36955
 
+
36956
 
+fi
36957
 
+
36958
 
+    
36959
 
+  
36960
 
+  
36961
 
+  
36962
 
+          GNULIB_NANOSLEEP=1
36963
 
+    
36964
 
+
36965
 
+
36966
 
+    
36967
 
+  
36968
 
+$as_echo "@%:@define GNULIB_TEST_NANOSLEEP 1" >>confdefs.h
36969
 
+
36970
 
+
36971
 
+
36972
 
+
36973
 
+  
36974
 
+  
36975
 
+  
36976
 
+  
36977
 
+  
36978
 
+
36979
 
+  
36980
 
+    
36981
 
+
36982
 
+  
36983
 
+     if test $gl_cv_have_include_next = yes; then
36984
 
+       gl_cv_next_netdb_h='<'netdb.h'>'
36985
 
+     else
36986
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <netdb.h>" >&5
36987
 
+$as_echo_n "checking absolute name of <netdb.h>... " >&6; }
36988
 
+if ${gl_cv_next_netdb_h+:} false; then :
36989
 
+  $as_echo_n "(cached) " >&6
36990
 
+else
36991
 
+  
36992
 
+             if test $ac_cv_header_netdb_h = yes; then
36993
 
+             
36994
 
+            
36995
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36996
 
+/* end confdefs.h.  */
36997
 
+#include <netdb.h>
36998
 
+                  
36999
 
+_ACEOF
37000
 
+                                                                                                                        case "$host_os" in
37001
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
37002
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
37003
 
+               esac
37004
 
+                                                            gl_cv_next_netdb_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
37005
 
+                  sed -n '\#/netdb.h#{
37006
 
+                    s#.*"\(.*/netdb.h\)".*#\1#
37007
 
+                    s#^/[^/]#//&#
37008
 
+                    p
37009
 
+                    q
37010
 
+                  }'`'"'
37011
 
+          else
37012
 
+               gl_cv_next_netdb_h='<'netdb.h'>'
37013
 
+             fi
37014
 
+            
37015
 
+         
37016
 
+fi
37017
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5
37018
 
+$as_echo "$gl_cv_next_netdb_h" >&6; }
37019
 
+     fi
37020
 
+     NEXT_NETDB_H=$gl_cv_next_netdb_h
37021
 
+
37022
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
37023
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
37024
 
+       gl_next_as_first_directive='<'netdb.h'>'
37025
 
+     else
37026
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
37027
 
+       gl_next_as_first_directive=$gl_cv_next_netdb_h
37028
 
+     fi
37029
 
+     NEXT_AS_FIRST_DIRECTIVE_NETDB_H=$gl_next_as_first_directive
37030
 
+
37031
 
+     
37032
 
+
37033
 
+
37034
 
+  if test $ac_cv_header_netdb_h = yes; then
37035
 
+    HAVE_NETDB_H=1
37036
 
+  else
37037
 
+    HAVE_NETDB_H=0
37038
 
+  fi
37039
 
+  
37040
 
+
37041
 
+      
37042
 
+    for gl_func in getaddrinfo freeaddrinfo gai_strerror getnameinfo; do
37043
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
37044
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
37045
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
37046
 
+if eval \${$as_gl_Symbol+:} false; then :
37047
 
+  $as_echo_n "(cached) " >&6
37048
 
+else
37049
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37050
 
+/* end confdefs.h.  */
37051
 
+#include <netdb.h>
37052
 
+int
37053
 
+main ()
37054
 
+{
37055
 
+@%:@undef $gl_func
37056
 
+  (void) $gl_func;
37057
 
+  ;
37058
 
+  return 0;
37059
 
+}
37060
 
+_ACEOF
37061
 
+if ac_fn_c_try_compile "$LINENO"; then :
37062
 
+  eval "$as_gl_Symbol=yes"
37063
 
+else
37064
 
+  eval "$as_gl_Symbol=no"
37065
 
+fi
37066
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37067
 
+fi
37068
 
+eval ac_res=\$$as_gl_Symbol
37069
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
37070
 
+$as_echo "$ac_res" >&6; }
37071
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
37072
 
+  cat >>confdefs.h <<_ACEOF
37073
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
37074
 
+_ACEOF
37075
 
+
37076
 
+                     eval ac_cv_have_decl_$gl_func=yes
37077
 
+fi
37078
 
+      done
37079
 
+
37080
 
+
37081
 
+
37082
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <netinet/in.h> is self-contained" >&5
37083
 
+$as_echo_n "checking whether <netinet/in.h> is self-contained... " >&6; }
37084
 
+if ${gl_cv_header_netinet_in_h_selfcontained+:} false; then :
37085
 
+  $as_echo_n "(cached) " >&6
37086
 
+else
37087
 
+  
37088
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37089
 
+/* end confdefs.h.  */
37090
 
+#include <netinet/in.h>
37091
 
+int
37092
 
+main ()
37093
 
+{
37094
 
+
37095
 
+  ;
37096
 
+  return 0;
37097
 
+}
37098
 
+_ACEOF
37099
 
+if ac_fn_c_try_compile "$LINENO"; then :
37100
 
+  gl_cv_header_netinet_in_h_selfcontained=yes
37101
 
+else
37102
 
+  gl_cv_header_netinet_in_h_selfcontained=no
37103
 
+fi
37104
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37105
 
+    
37106
 
+fi
37107
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_netinet_in_h_selfcontained" >&5
37108
 
+$as_echo "$gl_cv_header_netinet_in_h_selfcontained" >&6; }
37109
 
+  if test $gl_cv_header_netinet_in_h_selfcontained = yes; then
37110
 
+    NETINET_IN_H=''
37111
 
+  else
37112
 
+    NETINET_IN_H='netinet/in.h'
37113
 
+    for ac_header in netinet/in.h
37114
 
+do :
37115
 
+  ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
37116
 
+if test "x$ac_cv_header_netinet_in_h" = xyes; then :
37117
 
+  cat >>confdefs.h <<_ACEOF
37118
 
+@%:@define HAVE_NETINET_IN_H 1
37119
 
+_ACEOF
37120
 
37121
 
+fi
37122
 
+
37123
 
+done
37124
 
+
37125
 
+    
37126
 
+  
37127
 
+  
37128
 
+  
37129
 
+
37130
 
+  
37131
 
+    
37132
 
+
37133
 
+  
37134
 
+     if test $gl_cv_have_include_next = yes; then
37135
 
+       gl_cv_next_netinet_in_h='<'netinet/in.h'>'
37136
 
+     else
37137
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <netinet/in.h>" >&5
37138
 
+$as_echo_n "checking absolute name of <netinet/in.h>... " >&6; }
37139
 
+if ${gl_cv_next_netinet_in_h+:} false; then :
37140
 
+  $as_echo_n "(cached) " >&6
37141
 
+else
37142
 
+  
37143
 
+             if test $ac_cv_header_netinet_in_h = yes; then
37144
 
+             
37145
 
+            
37146
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37147
 
+/* end confdefs.h.  */
37148
 
+#include <netinet/in.h>
37149
 
+                  
37150
 
+_ACEOF
37151
 
+                                                                                                                        case "$host_os" in
37152
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
37153
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
37154
 
+               esac
37155
 
+                                                            gl_cv_next_netinet_in_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
37156
 
+                  sed -n '\#/netinet/in.h#{
37157
 
+                    s#.*"\(.*/netinet/in.h\)".*#\1#
37158
 
+                    s#^/[^/]#//&#
37159
 
+                    p
37160
 
+                    q
37161
 
+                  }'`'"'
37162
 
+          else
37163
 
+               gl_cv_next_netinet_in_h='<'netinet/in.h'>'
37164
 
+             fi
37165
 
+            
37166
 
+         
37167
 
+fi
37168
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netinet_in_h" >&5
37169
 
+$as_echo "$gl_cv_next_netinet_in_h" >&6; }
37170
 
+     fi
37171
 
+     NEXT_NETINET_IN_H=$gl_cv_next_netinet_in_h
37172
 
+
37173
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
37174
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
37175
 
+       gl_next_as_first_directive='<'netinet/in.h'>'
37176
 
+     else
37177
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
37178
 
+       gl_next_as_first_directive=$gl_cv_next_netinet_in_h
37179
 
+     fi
37180
 
+     NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H=$gl_next_as_first_directive
37181
 
+
37182
 
+     
37183
 
+
37184
 
+
37185
 
+    if test $ac_cv_header_netinet_in_h = yes; then
37186
 
+      HAVE_NETINET_IN_H=1
37187
 
+    else
37188
 
+      HAVE_NETINET_IN_H=0
37189
 
+    fi
37190
 
+    
37191
 
+  fi
37192
 
+  
37193
 
+   if test -n "$NETINET_IN_H"; then
37194
 
+  GL_GENERATE_NETINET_IN_H_TRUE=
37195
 
+  GL_GENERATE_NETINET_IN_H_FALSE='#'
37196
 
+else
37197
 
+  GL_GENERATE_NETINET_IN_H_TRUE='#'
37198
 
+  GL_GENERATE_NETINET_IN_H_FALSE=
37199
 
+fi
37200
 
+
37201
 
+
37202
 
+
37203
 
+
37204
 
+  
37205
 
+  
37206
 
+  
37207
 
+     if test $ac_cv_func_nl_langinfo = yes; then
37208
 
+    # On Irix 6.5, YESEXPR is defined, but nl_langinfo(YESEXPR) is broken.
37209
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether YESEXPR works" >&5
37210
 
+$as_echo_n "checking whether YESEXPR works... " >&6; }
37211
 
+if ${gl_cv_func_nl_langinfo_yesexpr_works+:} false; then :
37212
 
+  $as_echo_n "(cached) " >&6
37213
 
+else
37214
 
+  if test "$cross_compiling" = yes; then :
37215
 
+  
37216
 
+         case "$host_os" in
37217
 
+                   # Guess no on irix systems.
37218
 
+           irix*)  gl_cv_func_nl_langinfo_yesexpr_works="guessing no";;
37219
 
+                   # Guess yes elsewhere.
37220
 
+           *)      gl_cv_func_nl_langinfo_yesexpr_works="guessing yes";;
37221
 
+         esac
37222
 
+         
37223
 
+else
37224
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37225
 
+/* end confdefs.h.  */
37226
 
+#include <langinfo.h>
37227
 
+
37228
 
+int
37229
 
+main ()
37230
 
+{
37231
 
+return !*nl_langinfo(YESEXPR);
37232
 
+
37233
 
+  ;
37234
 
+  return 0;
37235
 
+}
37236
 
+_ACEOF
37237
 
+if ac_fn_c_try_run "$LINENO"; then :
37238
 
+  gl_cv_func_nl_langinfo_yesexpr_works=yes
37239
 
+else
37240
 
+  gl_cv_func_nl_langinfo_yesexpr_works=no
37241
 
+fi
37242
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
37243
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
37244
 
+fi
37245
 
+
37246
 
+      
37247
 
+fi
37248
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_nl_langinfo_yesexpr_works" >&5
37249
 
+$as_echo "$gl_cv_func_nl_langinfo_yesexpr_works" >&6; }
37250
 
+    case $gl_cv_func_nl_langinfo_yesexpr_works in
37251
 
+      *yes) FUNC_NL_LANGINFO_YESEXPR_WORKS=1 ;;
37252
 
+      *)    FUNC_NL_LANGINFO_YESEXPR_WORKS=0 ;;
37253
 
+    esac
37254
 
+    
37255
 
+cat >>confdefs.h <<_ACEOF
37256
 
+@%:@define FUNC_NL_LANGINFO_YESEXPR_WORKS $FUNC_NL_LANGINFO_YESEXPR_WORKS
37257
 
+_ACEOF
37258
 
+
37259
 
+    if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1 \
37260
 
+        && test $FUNC_NL_LANGINFO_YESEXPR_WORKS = 1; then
37261
 
+      :
37262
 
+    else
37263
 
+      REPLACE_NL_LANGINFO=1
37264
 
+      
37265
 
+$as_echo "@%:@define REPLACE_NL_LANGINFO 1" >>confdefs.h
37266
 
+
37267
 
+    fi
37268
 
+  else
37269
 
+    HAVE_NL_LANGINFO=0
37270
 
+  fi
37271
 
+
37272
 
+if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then
37273
 
+  
37274
 
+  
37275
 
+  
37276
 
+    
37277
 
+      
37278
 
+      
37279
 
+    
37280
 
+  
37281
 
+  gl_LIBOBJS="$gl_LIBOBJS nl_langinfo.$ac_objext"
37282
 
+
37283
 
+fi
37284
 
+
37285
 
+    
37286
 
+  
37287
 
+  
37288
 
+  
37289
 
+          GNULIB_NL_LANGINFO=1
37290
 
+    
37291
 
+
37292
 
+
37293
 
+    
37294
 
+  
37295
 
+$as_echo "@%:@define GNULIB_TEST_NL_LANGINFO 1" >>confdefs.h
37296
 
+
37297
 
+
37298
 
+
37299
 
+
37300
 
+  
37301
 
+    
37302
 
+
37303
 
+  for ac_header in sys/pstat.h sys/sysmp.h sys/param.h
37304
 
+do :
37305
 
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
37306
 
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
37307
 
+"
37308
 
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
37309
 
+  cat >>confdefs.h <<_ACEOF
37310
 
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
37311
 
+_ACEOF
37312
 
37313
 
+fi
37314
 
+
37315
 
+done
37316
 
+
37317
 
+    for ac_header in sys/sysctl.h
37318
 
+do :
37319
 
+  ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "$ac_includes_default
37320
 
+     #if HAVE_SYS_PARAM_H
37321
 
+     # include <sys/param.h>
37322
 
+     #endif
37323
 
+    
37324
 
+"
37325
 
+if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
37326
 
+  cat >>confdefs.h <<_ACEOF
37327
 
+@%:@define HAVE_SYS_SYSCTL_H 1
37328
 
+_ACEOF
37329
 
37330
 
+fi
37331
 
+
37332
 
+done
37333
 
+
37334
 
+
37335
 
+  for ac_func in sched_getaffinity sched_getaffinity_np \
37336
 
+                  pstat_getdynamic sysmp sysctl
37337
 
+do :
37338
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37339
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37340
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37341
 
+  cat >>confdefs.h <<_ACEOF
37342
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37343
 
+_ACEOF
37344
 
37345
 
+fi
37346
 
+done
37347
 
+
37348
 
+
37349
 
+                if test $ac_cv_func_sched_getaffinity = yes; then
37350
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc compatible sched_getaffinity" >&5
37351
 
+$as_echo_n "checking for glibc compatible sched_getaffinity... " >&6; }
37352
 
+if ${gl_cv_func_sched_getaffinity3+:} false; then :
37353
 
+  $as_echo_n "(cached) " >&6
37354
 
+else
37355
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37356
 
+/* end confdefs.h.  */
37357
 
+#include <sched.h>
37358
 
+int
37359
 
+main ()
37360
 
+{
37361
 
+sched_getaffinity (0, 0, (cpu_set_t *) 0);
37362
 
+  ;
37363
 
+  return 0;
37364
 
+}
37365
 
+_ACEOF
37366
 
+if ac_fn_c_try_compile "$LINENO"; then :
37367
 
+  gl_cv_func_sched_getaffinity3=yes
37368
 
+else
37369
 
+  gl_cv_func_sched_getaffinity3=no
37370
 
+fi
37371
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37372
 
+      
37373
 
+fi
37374
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_sched_getaffinity3" >&5
37375
 
+$as_echo "$gl_cv_func_sched_getaffinity3" >&6; }
37376
 
+    if test $gl_cv_func_sched_getaffinity3 = yes; then
37377
 
+      
37378
 
+$as_echo "@%:@define HAVE_SCHED_GETAFFINITY_LIKE_GLIBC 1" >>confdefs.h
37379
 
+
37380
 
+    fi
37381
 
+  fi
37382
 
+
37383
 
+
37384
 
+
37385
 
+  
37386
 
+    
37387
 
+      
37388
 
+      
37389
 
+    
37390
 
+  
37391
 
+    
37392
 
+      
37393
 
+      
37394
 
+    
37395
 
+  
37396
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5
37397
 
+$as_echo_n "checking for obstacks... " >&6; }
37398
 
+if ${ac_cv_func_obstack+:} false; then :
37399
 
+  $as_echo_n "(cached) " >&6
37400
 
+else
37401
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37402
 
+/* end confdefs.h.  */
37403
 
+$ac_includes_default
37404
 
+                     @%:@include "obstack.h"
37405
 
+int
37406
 
+main ()
37407
 
+{
37408
 
+struct obstack mem;
37409
 
+                      @%:@define obstack_chunk_alloc malloc
37410
 
+                      @%:@define obstack_chunk_free free
37411
 
+                      obstack_init (&mem);
37412
 
+                      obstack_free (&mem, 0);
37413
 
+  ;
37414
 
+  return 0;
37415
 
+}
37416
 
+_ACEOF
37417
 
+if ac_fn_c_try_link "$LINENO"; then :
37418
 
+  ac_cv_func_obstack=yes
37419
 
+else
37420
 
+  ac_cv_func_obstack=no
37421
 
+fi
37422
 
+rm -f core conftest.err conftest.$ac_objext \
37423
 
+    conftest$ac_exeext conftest.$ac_ext
37424
 
+fi
37425
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_obstack" >&5
37426
 
+$as_echo "$ac_cv_func_obstack" >&6; }
37427
 
+if test $ac_cv_func_obstack = yes; then
37428
 
+  
37429
 
+$as_echo "@%:@define HAVE_OBSTACK 1" >>confdefs.h
37430
 
+
37431
 
+else
37432
 
+  
37433
 
+  
37434
 
+  
37435
 
+    
37436
 
+      
37437
 
+      
37438
 
+    
37439
 
+  
37440
 
+  gl_LIBOBJS="$gl_LIBOBJS obstack.$ac_objext"
37441
 
+
37442
 
+fi
37443
 
+
37444
 
+
37445
 
+  
37446
 
+  case "$host_os" in
37447
 
+    mingw* | pw*)
37448
 
+      REPLACE_OPEN=1
37449
 
+      ;;
37450
 
+    *)
37451
 
+                  
37452
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether open recognizes a trailing slash" >&5
37453
 
+$as_echo_n "checking whether open recognizes a trailing slash... " >&6; }
37454
 
+if ${gl_cv_func_open_slash+:} false; then :
37455
 
+  $as_echo_n "(cached) " >&6
37456
 
+else
37457
 
+  # Assume that if we have lstat, we can also check symlinks.
37458
 
+          if test $ac_cv_func_lstat = yes; then
37459
 
+            touch conftest.tmp
37460
 
+            ln -s conftest.tmp conftest.lnk
37461
 
+          fi
37462
 
+          if test "$cross_compiling" = yes; then :
37463
 
+  
37464
 
+             case "$host_os" in
37465
 
+               freebsd* | aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*)
37466
 
+                 gl_cv_func_open_slash="guessing no" ;;
37467
 
+               *)
37468
 
+                 gl_cv_func_open_slash="guessing yes" ;;
37469
 
+             esac
37470
 
+            
37471
 
+else
37472
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37473
 
+/* end confdefs.h.  */
37474
 
+
37475
 
+#include <fcntl.h>
37476
 
+#if HAVE_UNISTD_H
37477
 
+# include <unistd.h>
37478
 
+#endif
37479
 
+int main ()
37480
 
+{
37481
 
+  int result = 0;
37482
 
+#if HAVE_LSTAT
37483
 
+  if (open ("conftest.lnk/", O_RDONLY) != -1)
37484
 
+    result |= 1;
37485
 
+#endif
37486
 
+  if (open ("conftest.sl/", O_CREAT, 0600) >= 0)
37487
 
+    result |= 2;
37488
 
+  return result;
37489
 
+}
37490
 
+_ACEOF
37491
 
+if ac_fn_c_try_run "$LINENO"; then :
37492
 
+  gl_cv_func_open_slash=yes
37493
 
+else
37494
 
+  gl_cv_func_open_slash=no
37495
 
+fi
37496
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
37497
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
37498
 
+fi
37499
 
+
37500
 
+          rm -f conftest.sl conftest.tmp conftest.lnk
37501
 
+        
37502
 
+fi
37503
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_open_slash" >&5
37504
 
+$as_echo "$gl_cv_func_open_slash" >&6; }
37505
 
+      case "$gl_cv_func_open_slash" in
37506
 
+        *no)
37507
 
+          
37508
 
+$as_echo "@%:@define OPEN_TRAILING_SLASH_BUG 1" >>confdefs.h
37509
 
+
37510
 
+          REPLACE_OPEN=1
37511
 
+          ;;
37512
 
+      esac
37513
 
+      ;;
37514
 
+  esac
37515
 
+      
37516
 
+    if test $REPLACE_OPEN = 0; then
37517
 
+      
37518
 
+  
37519
 
+  
37520
 
+  if test $ac_cv_func_fchdir = no; then
37521
 
+    HAVE_FCHDIR=0
37522
 
+  fi
37523
 
+
37524
 
+      if test $HAVE_FCHDIR = 0; then
37525
 
+        REPLACE_OPEN=1
37526
 
+      fi
37527
 
+    fi
37528
 
+  
37529
 
+    
37530
 
+
37531
 
+if test $REPLACE_OPEN = 1; then
37532
 
+  
37533
 
+  
37534
 
+  
37535
 
+    
37536
 
+      
37537
 
+      
37538
 
+    
37539
 
+  
37540
 
+  gl_LIBOBJS="$gl_LIBOBJS open.$ac_objext"
37541
 
+
37542
 
+  
37543
 
+  
37544
 
+  
37545
 
+  :
37546
 
+
37547
 
+fi
37548
 
+
37549
 
+    
37550
 
+  
37551
 
+  
37552
 
+  
37553
 
+          GNULIB_OPEN=1
37554
 
+    
37555
 
+
37556
 
+
37557
 
+    
37558
 
+  
37559
 
+$as_echo "@%:@define GNULIB_TEST_OPEN 1" >>confdefs.h
37560
 
+
37561
 
+
37562
 
+
37563
 
+
37564
 
+  
37565
 
+  GNULIB_OPENAT=1
37566
 
+
37567
 
+  
37568
 
+  GNULIB_FCHMODAT=1
37569
 
+  GNULIB_FSTATAT=1
37570
 
+  GNULIB_MKDIRAT=1
37571
 
+
37572
 
+  
37573
 
+  GNULIB_FCHOWNAT=1
37574
 
+  GNULIB_UNLINKAT=1
37575
 
+
37576
 
+  
37577
 
+  
37578
 
+  
37579
 
+  
37580
 
+  case $ac_cv_func_openat+$gl_cv_func_lstat_dereferences_slashed_symlink in
37581
 
+  yes+yes)
37582
 
+    # GNU/Hurd has unlinkat, but it has the same bug as unlink.
37583
 
+    if test $REPLACE_UNLINK = 1; then
37584
 
+      REPLACE_UNLINKAT=1
37585
 
+    fi ;;
37586
 
+  yes+*)
37587
 
+    # Solaris 9 has *at functions, but uniformly mishandles trailing
37588
 
+    # slash in all of them.
37589
 
+    REPLACE_OPENAT=1
37590
 
+    REPLACE_UNLINKAT=1
37591
 
+    ;;
37592
 
+  *)
37593
 
+    HAVE_OPENAT=0
37594
 
+    HAVE_UNLINKAT=0 # No known system with unlinkat but not openat
37595
 
+    
37596
 
+  
37597
 
+  
37598
 
+  :
37599
 
+;;
37600
 
+  esac
37601
 
+  if test $ac_cv_func_fchmodat != yes; then
37602
 
+    HAVE_FCHMODAT=0
37603
 
+  fi
37604
 
+  if test $ac_cv_func_mkdirat != yes; then
37605
 
+    HAVE_MKDIRAT=0
37606
 
+  fi
37607
 
+  
37608
 
+  
37609
 
+  
37610
 
+  ac_fn_c_check_func "$LINENO" "fchownat" "ac_cv_func_fchownat"
37611
 
+if test "x$ac_cv_func_fchownat" = xyes; then :
37612
 
+  
37613
 
+    
37614
 
+
37615
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fchownat works with AT_SYMLINK_NOFOLLOW" >&5
37616
 
+$as_echo_n "checking whether fchownat works with AT_SYMLINK_NOFOLLOW... " >&6; }
37617
 
+if ${gl_cv_func_fchownat_nofollow_works+:} false; then :
37618
 
+  $as_echo_n "(cached) " >&6
37619
 
+else
37620
 
+  
37621
 
+     gl_dangle=conftest.dangle
37622
 
+     # Remove any remnants of a previous test.
37623
 
+     rm -f $gl_dangle
37624
 
+     # Arrange for deletion of the temporary file this test creates.
37625
 
+     ac_clean_files="$ac_clean_files $gl_dangle"
37626
 
+     ln -s conftest.no-such $gl_dangle
37627
 
+     if test "$cross_compiling" = yes; then :
37628
 
+  gl_cv_func_fchownat_nofollow_works=no
37629
 
+else
37630
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37631
 
+/* end confdefs.h.  */
37632
 
+
37633
 
+#include <fcntl.h>
37634
 
+#include <unistd.h>
37635
 
+#include <stdlib.h>
37636
 
+#include <errno.h>
37637
 
+#include <sys/types.h>
37638
 
+int
37639
 
+main ()
37640
 
+{
37641
 
+  return (fchownat (AT_FDCWD, "$gl_dangle", -1, getgid (),
37642
 
+                    AT_SYMLINK_NOFOLLOW) != 0
37643
 
+          && errno == ENOENT);
37644
 
+}
37645
 
+          
37646
 
+_ACEOF
37647
 
+if ac_fn_c_try_run "$LINENO"; then :
37648
 
+  gl_cv_func_fchownat_nofollow_works=yes
37649
 
+else
37650
 
+  gl_cv_func_fchownat_nofollow_works=no
37651
 
+fi
37652
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
37653
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
37654
 
+fi
37655
 
+
37656
 
+  
37657
 
+fi
37658
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fchownat_nofollow_works" >&5
37659
 
+$as_echo "$gl_cv_func_fchownat_nofollow_works" >&6; }
37660
 
+  if test $gl_cv_func_fchownat_nofollow_works = no; then :
37661
 
+  REPLACE_FCHOWNAT=1
37662
 
+        
37663
 
+$as_echo "@%:@define FCHOWNAT_NOFOLLOW_BUG 1" >>confdefs.h
37664
 
+
37665
 
+       
37666
 
+fi
37667
 
+
37668
 
+     
37669
 
+    
37670
 
+
37671
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fchownat works with an empty file name" >&5
37672
 
+$as_echo_n "checking whether fchownat works with an empty file name... " >&6; }
37673
 
+if ${gl_cv_func_fchownat_empty_filename_works+:} false; then :
37674
 
+  $as_echo_n "(cached) " >&6
37675
 
+else
37676
 
+  if test "$cross_compiling" = yes; then :
37677
 
+  gl_cv_func_fchownat_empty_filename_works="guessing no"
37678
 
+else
37679
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37680
 
+/* end confdefs.h.  */
37681
 
+#include <unistd.h>
37682
 
+            #include <fcntl.h>
37683
 
+          
37684
 
+int
37685
 
+main ()
37686
 
+{
37687
 
+int fd;
37688
 
+            int ret;
37689
 
+            if (mkdir ("conftestdir", 0700) < 0)
37690
 
+              return 2;
37691
 
+            fd = open ("conftestdir", O_RDONLY);
37692
 
+            if (fd < 0)
37693
 
+              return 3;
37694
 
+            ret = fchownat (fd, "", -1, -1, 0);
37695
 
+            close (fd);
37696
 
+            rmdir ("conftestdir");
37697
 
+            return ret == 0;
37698
 
+          
37699
 
+  ;
37700
 
+  return 0;
37701
 
+}
37702
 
+_ACEOF
37703
 
+if ac_fn_c_try_run "$LINENO"; then :
37704
 
+  gl_cv_func_fchownat_empty_filename_works=yes
37705
 
+else
37706
 
+  gl_cv_func_fchownat_empty_filename_works=no
37707
 
+fi
37708
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
37709
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
37710
 
+fi
37711
 
+
37712
 
+    
37713
 
+fi
37714
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fchownat_empty_filename_works" >&5
37715
 
+$as_echo "$gl_cv_func_fchownat_empty_filename_works" >&6; }
37716
 
+  if test "$gl_cv_func_fchownat_empty_filename_works" != yes; then :
37717
 
+  REPLACE_FCHOWNAT=1
37718
 
+        
37719
 
+$as_echo "@%:@define FCHOWNAT_EMPTY_FILENAME_BUG 1" >>confdefs.h
37720
 
+
37721
 
+       
37722
 
+fi
37723
 
+
37724
 
+     if test $REPLACE_CHOWN = 1; then
37725
 
+       REPLACE_FCHOWNAT=1
37726
 
+     fi
37727
 
+else
37728
 
+  HAVE_FCHOWNAT=0
37729
 
+fi
37730
 
+
37731
 
+
37732
 
+  
37733
 
+  
37734
 
+  
37735
 
+  
37736
 
+  
37737
 
+
37738
 
+  if test $ac_cv_func_fstatat = no; then
37739
 
+    HAVE_FSTATAT=0
37740
 
+  else
37741
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fstatat (..., 0) works" >&5
37742
 
+$as_echo_n "checking whether fstatat (..., 0) works... " >&6; }
37743
 
+if ${gl_cv_func_fstatat_zero_flag+:} false; then :
37744
 
+  $as_echo_n "(cached) " >&6
37745
 
+else
37746
 
+  gl_cv_func_fstatat_zero_flag=no
37747
 
+       if test "$cross_compiling" = yes; then :
37748
 
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37749
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
37750
 
+as_fn_error $? "cannot run test program while cross compiling
37751
 
+See \`config.log' for more details" "$LINENO" 5; }
37752
 
+else
37753
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37754
 
+/* end confdefs.h.  */
37755
 
+
37756
 
+              #include <fcntl.h>
37757
 
+              #include <sys/stat.h>
37758
 
+              int
37759
 
+              main (void)
37760
 
+              {
37761
 
+                struct stat a;
37762
 
+                return fstatat (AT_FDCWD, ".", &a, 0) != 0;
37763
 
+              }
37764
 
+            
37765
 
+_ACEOF
37766
 
+if ac_fn_c_try_run "$LINENO"; then :
37767
 
+  gl_cv_func_fstatat_zero_flag=yes
37768
 
+fi
37769
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
37770
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
37771
 
+fi
37772
 
+
37773
 
+fi
37774
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fstatat_zero_flag" >&5
37775
 
+$as_echo "$gl_cv_func_fstatat_zero_flag" >&6; }
37776
 
+
37777
 
+    case $gl_cv_func_fstatat_zero_flag+$gl_cv_func_lstat_dereferences_slashed_symlink in
37778
 
+    yes+yes) ;;
37779
 
+    *) REPLACE_FSTATAT=1
37780
 
+       if test $gl_cv_func_fstatat_zero_flag != yes; then
37781
 
+         
37782
 
+$as_echo "@%:@define FSTATAT_ZERO_FLAG_BROKEN 1" >>confdefs.h
37783
 
+
37784
 
+       fi
37785
 
+       ;;
37786
 
+    esac
37787
 
+  fi
37788
 
+
37789
 
+
37790
 
+    
37791
 
+  
37792
 
+cat >>confdefs.h <<_ACEOF
37793
 
+@%:@define GNULIB_OPENAT 1
37794
 
+_ACEOF
37795
 
+
37796
 
+
37797
 
+
37798
 
+
37799
 
+  
37800
 
+  
37801
 
+    
37802
 
+      
37803
 
+      
37804
 
+    
37805
 
+  
37806
 
+  gl_LIBOBJS="$gl_LIBOBJS openat-proc.$ac_objext"
37807
 
+
37808
 
+if test $HAVE_FCHMODAT = 0; then
37809
 
+  
37810
 
+  
37811
 
+  
37812
 
+    
37813
 
+      
37814
 
+      
37815
 
+    
37816
 
+  
37817
 
+  gl_LIBOBJS="$gl_LIBOBJS fchmodat.$ac_objext"
37818
 
+
37819
 
+fi
37820
 
+if test $ac_cv_func_fstatat = no || test $REPLACE_FSTATAT = 1; then
37821
 
+  
37822
 
+  
37823
 
+  
37824
 
+    
37825
 
+      
37826
 
+      
37827
 
+    
37828
 
+  
37829
 
+  gl_LIBOBJS="$gl_LIBOBJS fstatat.$ac_objext"
37830
 
+
37831
 
+fi
37832
 
+if test $HAVE_MKDIRAT = 0; then
37833
 
+  
37834
 
+  
37835
 
+  
37836
 
+    
37837
 
+      
37838
 
+      
37839
 
+    
37840
 
+  
37841
 
+  gl_LIBOBJS="$gl_LIBOBJS mkdirat.$ac_objext"
37842
 
+
37843
 
+fi
37844
 
+if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then
37845
 
+  
37846
 
+  
37847
 
+  
37848
 
+    
37849
 
+      
37850
 
+      
37851
 
+    
37852
 
+  
37853
 
+  gl_LIBOBJS="$gl_LIBOBJS openat.$ac_objext"
37854
 
+
37855
 
+fi
37856
 
+if test $ac_cv_func_unlinkat = no || test $REPLACE_UNLINKAT = 1; then
37857
 
+  
37858
 
+  
37859
 
+  
37860
 
+    
37861
 
+      
37862
 
+      
37863
 
+    
37864
 
+  
37865
 
+  gl_LIBOBJS="$gl_LIBOBJS unlinkat.$ac_objext"
37866
 
+
37867
 
+fi
37868
 
+if test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1; then
37869
 
+  
37870
 
+  
37871
 
+  
37872
 
+    
37873
 
+      
37874
 
+      
37875
 
+    
37876
 
+  
37877
 
+  gl_LIBOBJS="$gl_LIBOBJS fchownat.$ac_objext"
37878
 
+
37879
 
+fi
37880
 
+
37881
 
+  
37882
 
+
37883
 
+
37884
 
+  
37885
 
+cat >>confdefs.h <<_ACEOF
37886
 
+@%:@define GNULIB_OPENAT_SAFER 1
37887
 
+_ACEOF
37888
 
+
37889
 
+
37890
 
+
37891
 
+    
37892
 
+  
37893
 
+
37894
 
+    
37895
 
+  
37896
 
+  ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
37897
 
+#include <$ac_cv_struct_tm>
37898
 
+
37899
 
+"
37900
 
+if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
37901
 
+  
37902
 
+cat >>confdefs.h <<_ACEOF
37903
 
+@%:@define HAVE_STRUCT_TM_TM_ZONE 1
37904
 
+_ACEOF
37905
 
+
37906
 
+
37907
 
+fi
37908
 
+
37909
 
+if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
37910
 
+  
37911
 
+$as_echo "@%:@define HAVE_TM_ZONE 1" >>confdefs.h
37912
 
+
37913
 
+else
37914
 
+  ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
37915
 
+"
37916
 
+if test "x$ac_cv_have_decl_tzname" = xyes; then :
37917
 
+  ac_have_decl=1
37918
 
+else
37919
 
+  ac_have_decl=0
37920
 
+fi
37921
 
+
37922
 
+cat >>confdefs.h <<_ACEOF
37923
 
+@%:@define HAVE_DECL_TZNAME $ac_have_decl
37924
 
+_ACEOF
37925
 
+
37926
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
37927
 
+$as_echo_n "checking for tzname... " >&6; }
37928
 
+if ${ac_cv_var_tzname+:} false; then :
37929
 
+  $as_echo_n "(cached) " >&6
37930
 
+else
37931
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37932
 
+/* end confdefs.h.  */
37933
 
+#include <time.h>
37934
 
+#if !HAVE_DECL_TZNAME
37935
 
+extern char *tzname[];
37936
 
+#endif
37937
 
+
37938
 
+int
37939
 
+main ()
37940
 
+{
37941
 
+return tzname[0][0];
37942
 
+  ;
37943
 
+  return 0;
37944
 
+}
37945
 
+_ACEOF
37946
 
+if ac_fn_c_try_link "$LINENO"; then :
37947
 
+  ac_cv_var_tzname=yes
37948
 
+else
37949
 
+  ac_cv_var_tzname=no
37950
 
+fi
37951
 
+rm -f core conftest.err conftest.$ac_objext \
37952
 
+    conftest$ac_exeext conftest.$ac_ext
37953
 
+fi
37954
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
37955
 
+$as_echo "$ac_cv_var_tzname" >&6; }
37956
 
+  if test $ac_cv_var_tzname = yes; then
37957
 
+    
37958
 
+$as_echo "@%:@define HAVE_TZNAME 1" >>confdefs.h
37959
 
+
37960
 
+  fi
37961
 
+fi
37962
 
+
37963
 
+  
37964
 
+  
37965
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37966
 
+/* end confdefs.h.  */
37967
 
+
37968
 
+#include <time.h> /* for time_t */
37969
 
+#include <limits.h> /* for CHAR_BIT, LONG_MIN, LONG_MAX */
37970
 
+#define TYPE_MINIMUM(t) \
37971
 
+  ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t)))
37972
 
+#define TYPE_MAXIMUM(t) \
37973
 
+  ((t) ((t) 0 < (t) -1 \
37974
 
+        ? (t) -1 \
37975
 
+        : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
37976
 
+typedef int verify_min[2 * (LONG_MIN <= TYPE_MINIMUM (time_t)) - 1];
37977
 
+typedef int verify_max[2 * (TYPE_MAXIMUM (time_t) <= LONG_MAX) - 1];
37978
 
+       
37979
 
+_ACEOF
37980
 
+if ac_fn_c_try_compile "$LINENO"; then :
37981
 
+  
37982
 
+$as_echo "@%:@define TIME_T_FITS_IN_LONG_INT 1" >>confdefs.h
37983
 
+
37984
 
+    
37985
 
+fi
37986
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37987
 
+
37988
 
+
37989
 
+    
37990
 
+
37991
 
+
37992
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl5.005 or newer" >&5
37993
 
+$as_echo_n "checking for perl5.005 or newer... " >&6; }
37994
 
+  if test "${PERL+set}" = set; then
37995
 
+    # `PERL' is set in the user's environment.
37996
 
+    candidate_perl_names="$PERL"
37997
 
+    perl_specified=yes
37998
 
+  else
37999
 
+    candidate_perl_names='perl perl5'
38000
 
+    perl_specified=no
38001
 
+  fi
38002
 
+
38003
 
+  found=no
38004
 
+  
38005
 
+  PERL="$am_missing_run perl"
38006
 
+  for perl in $candidate_perl_names; do
38007
 
+    # Run test in a subshell; some versions of sh will print an error if
38008
 
+    # an executable is not found, even if stderr is redirected.
38009
 
+    if ( $perl -e 'require 5.005; use File::Compare' ) > /dev/null 2>&1; then
38010
 
+      PERL=$perl
38011
 
+      found=yes
38012
 
+      break
38013
 
+    fi
38014
 
+  done
38015
 
+
38016
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found" >&5
38017
 
+$as_echo "$found" >&6; }
38018
 
+  test $found = no && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 
38019
 
+WARNING: You don't seem to have perl5.005 or newer installed, or you lack
38020
 
+         a usable version of the Perl File::Compare module.  As a result,
38021
 
+         you may be unable to run a few tests or to regenerate certain
38022
 
+         files if you modify the sources from which they are derived.
38023
 
+ " >&5
38024
 
+$as_echo "$as_me: WARNING: 
38025
 
+WARNING: You don't seem to have perl5.005 or newer installed, or you lack
38026
 
+         a usable version of the Perl File::Compare module.  As a result,
38027
 
+         you may be unable to run a few tests or to regenerate certain
38028
 
+         files if you modify the sources from which they are derived.
38029
 
+ " >&2;}
38030
 
+
38031
 
+
38032
 
+  # Prerequisites of lib/physmem.c.
38033
 
+  for ac_header in sys/pstat.h sys/sysmp.h sys/sysinfo.h \
38034
 
+    machine/hal_sysinfo.h sys/table.h sys/param.h sys/systemcfg.h
38035
 
+do :
38036
 
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
38037
 
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
38038
 
+"
38039
 
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
38040
 
+  cat >>confdefs.h <<_ACEOF
38041
 
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
38042
 
+_ACEOF
38043
 
38044
 
+fi
38045
 
+
38046
 
+done
38047
 
+
38048
 
+    for ac_header in sys/sysctl.h
38049
 
+do :
38050
 
+  ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "$ac_includes_default
38051
 
+     #if HAVE_SYS_PARAM_H
38052
 
+     # include <sys/param.h>
38053
 
+     #endif
38054
 
+    
38055
 
+"
38056
 
+if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
38057
 
+  cat >>confdefs.h <<_ACEOF
38058
 
+@%:@define HAVE_SYS_SYSCTL_H 1
38059
 
+_ACEOF
38060
 
38061
 
+fi
38062
 
+
38063
 
+done
38064
 
+
38065
 
+
38066
 
+  for ac_func in pstat_getstatic pstat_getdynamic sysmp getsysinfo sysctl table
38067
 
+do :
38068
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38069
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38070
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38071
 
+  cat >>confdefs.h <<_ACEOF
38072
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38073
 
+_ACEOF
38074
 
38075
 
+fi
38076
 
+done
38077
 
+
38078
 
+  
38079
 
+
38080
 
+
38081
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a shell that conforms to POSIX" >&5
38082
 
+$as_echo_n "checking for a shell that conforms to POSIX... " >&6; }
38083
 
+if ${gl_cv_posix_shell+:} false; then :
38084
 
+  $as_echo_n "(cached) " >&6
38085
 
+else
38086
 
+  gl_test_posix_shell_script='
38087
 
+       func_return () {
38088
 
+         (exit $1)
38089
 
+       }
38090
 
+       func_success () {
38091
 
+         func_return 0
38092
 
+       }
38093
 
+       func_failure () {
38094
 
+         func_return 1
38095
 
+       }
38096
 
+       func_ret_success () {
38097
 
+         return 0
38098
 
+       }
38099
 
+       func_ret_failure () {
38100
 
+         return 1
38101
 
+       }
38102
 
+       subshell_umask_sanity () {
38103
 
+         (umask 22; (umask 0); test $(umask) -eq 22)
38104
 
+       }
38105
 
+       test "$(echo foo)" = foo &&
38106
 
+       func_success &&
38107
 
+       ! func_failure &&
38108
 
+       func_ret_success &&
38109
 
+       ! func_ret_failure &&
38110
 
+       (set x && func_ret_success y && test x = "$1") &&
38111
 
+       subshell_umask_sanity
38112
 
+     '
38113
 
+     for gl_cv_posix_shell in \
38114
 
+         "$CONFIG_SHELL" "$SHELL" /bin/sh /bin/bash /bin/ksh /bin/sh5 no; do
38115
 
+       case $gl_cv_posix_shell in
38116
 
+         /*)
38117
 
+           "$gl_cv_posix_shell" -c "$gl_test_posix_shell_script" 2>/dev/null \
38118
 
+             && break;;
38119
 
+       esac
38120
 
+     done
38121
 
+fi
38122
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_posix_shell" >&5
38123
 
+$as_echo "$gl_cv_posix_shell" >&6; }
38124
 
+
38125
 
+  if test "$gl_cv_posix_shell" != no; then
38126
 
+    POSIX_SHELL=$gl_cv_posix_shell
38127
 
+    PREFERABLY_POSIX_SHELL=$POSIX_SHELL
38128
 
+  else
38129
 
+    POSIX_SHELL=
38130
 
+    PREFERABLY_POSIX_SHELL=/bin/sh
38131
 
+  fi
38132
 
+  
38133
 
+  
38134
 
+
38135
 
+
38136
 
+    :
38137
 
+
38138
 
+
38139
 
+  
38140
 
+
38141
 
+
38142
 
+  
38143
 
+  if test $gl_cv_func_frexp_no_libm = yes; then
38144
 
+    
38145
 
+  
38146
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5
38147
 
+$as_echo_n "checking whether frexp works... " >&6; }
38148
 
+if ${gl_cv_func_frexp_works+:} false; then :
38149
 
+  $as_echo_n "(cached) " >&6
38150
 
+else
38151
 
+  
38152
 
+      if test "$cross_compiling" = yes; then :
38153
 
+  case "$host_os" in
38154
 
+           netbsd* | irix* | mingw*) gl_cv_func_frexp_works="guessing no";;
38155
 
+           *)                        gl_cv_func_frexp_works="guessing yes";;
38156
 
+         esac
38157
 
+        
38158
 
+else
38159
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38160
 
+/* end confdefs.h.  */
38161
 
+
38162
 
+#include <float.h>
38163
 
+#include <math.h>
38164
 
+#include <string.h>
38165
 
+/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
38166
 
+   ICC 10.0 has a bug when optimizing the expression -zero.
38167
 
+   The expression -DBL_MIN * DBL_MIN does not work when cross-compiling
38168
 
+   to PowerPC on MacOS X 10.5.  */
38169
 
+#if defined __hpux || defined __sgi || defined __ICC
38170
 
+static double
38171
 
+compute_minus_zero (void)
38172
 
+{
38173
 
+  return -DBL_MIN * DBL_MIN;
38174
 
+}
38175
 
+# define minus_zero compute_minus_zero ()
38176
 
+#else
38177
 
+double minus_zero = -0.0;
38178
 
+#endif
38179
 
+int main()
38180
 
+{
38181
 
+  int result = 0;
38182
 
+  int i;
38183
 
+  volatile double x;
38184
 
+  double zero = 0.0;
38185
 
+  /* Test on denormalized numbers.  */
38186
 
+  for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5)
38187
 
+    ;
38188
 
+  if (x > 0.0)
38189
 
+    {
38190
 
+      int exp;
38191
 
+      double y = frexp (x, &exp);
38192
 
+      /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022.
38193
 
+         On NetBSD: y = 0.75. Correct: y = 0.5.  */
38194
 
+      if (y != 0.5)
38195
 
+        result |= 1;
38196
 
+    }
38197
 
+  /* Test on infinite numbers.  */
38198
 
+  x = 1.0 / 0.0;
38199
 
+  {
38200
 
+    int exp;
38201
 
+    double y = frexp (x, &exp);
38202
 
+    if (y != x)
38203
 
+      result |= 2;
38204
 
+  }
38205
 
+  /* Test on negative zero.  */
38206
 
+  x = minus_zero;
38207
 
+  {
38208
 
+    int exp;
38209
 
+    double y = frexp (x, &exp);
38210
 
+    if (memcmp (&y, &x, sizeof x))
38211
 
+      result |= 4;
38212
 
+  }
38213
 
+  return result;
38214
 
+}
38215
 
+_ACEOF
38216
 
+if ac_fn_c_try_run "$LINENO"; then :
38217
 
+  gl_cv_func_frexp_works=yes
38218
 
+else
38219
 
+  gl_cv_func_frexp_works=no
38220
 
+fi
38221
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
38222
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
38223
 
+fi
38224
 
+
38225
 
+    
38226
 
+fi
38227
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_works" >&5
38228
 
+$as_echo "$gl_cv_func_frexp_works" >&6; }
38229
 
+
38230
 
+    case "$gl_cv_func_frexp_works" in
38231
 
+      *yes)
38232
 
+        
38233
 
+$as_echo "@%:@define HAVE_FREXP_IN_LIBC 1" >>confdefs.h
38234
 
+
38235
 
+        ;;
38236
 
+    esac
38237
 
+  fi
38238
 
+
38239
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexp can be used without linking with libm" >&5
38240
 
+$as_echo_n "checking whether ldexp can be used without linking with libm... " >&6; }
38241
 
+if ${gl_cv_func_ldexp_no_libm+:} false; then :
38242
 
+  $as_echo_n "(cached) " >&6
38243
 
+else
38244
 
+  
38245
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38246
 
+/* end confdefs.h.  */
38247
 
+#include <math.h>
38248
 
+             double x;
38249
 
+             int y;
38250
 
+int
38251
 
+main ()
38252
 
+{
38253
 
+return ldexp (x, y) < 1;
38254
 
+  ;
38255
 
+  return 0;
38256
 
+}
38257
 
+_ACEOF
38258
 
+if ac_fn_c_try_link "$LINENO"; then :
38259
 
+  gl_cv_func_ldexp_no_libm=yes
38260
 
+else
38261
 
+  gl_cv_func_ldexp_no_libm=no
38262
 
+fi
38263
 
+rm -f core conftest.err conftest.$ac_objext \
38264
 
+    conftest$ac_exeext conftest.$ac_ext
38265
 
+    
38266
 
+fi
38267
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_no_libm" >&5
38268
 
+$as_echo "$gl_cv_func_ldexp_no_libm" >&6; }
38269
 
+  if test $gl_cv_func_ldexp_no_libm = yes; then
38270
 
+    
38271
 
+$as_echo "@%:@define HAVE_LDEXP_IN_LIBC 1" >>confdefs.h
38272
 
+
38273
 
+  fi
38274
 
+
38275
 
+
38276
 
+  
38277
 
+    
38278
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5
38279
 
+$as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; }
38280
 
+if ${gl_cv_func_frexpl_no_libm+:} false; then :
38281
 
+  $as_echo_n "(cached) " >&6
38282
 
+else
38283
 
+  
38284
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38285
 
+/* end confdefs.h.  */
38286
 
+#include <math.h>
38287
 
+             long double x;
38288
 
+int
38289
 
+main ()
38290
 
+{
38291
 
+int e; return frexpl (x, &e) > 0;
38292
 
+  ;
38293
 
+  return 0;
38294
 
+}
38295
 
+_ACEOF
38296
 
+if ac_fn_c_try_link "$LINENO"; then :
38297
 
+  gl_cv_func_frexpl_no_libm=yes
38298
 
+else
38299
 
+  gl_cv_func_frexpl_no_libm=no
38300
 
+fi
38301
 
+rm -f core conftest.err conftest.$ac_objext \
38302
 
+    conftest$ac_exeext conftest.$ac_ext
38303
 
+    
38304
 
+fi
38305
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_no_libm" >&5
38306
 
+$as_echo "$gl_cv_func_frexpl_no_libm" >&6; }
38307
 
+
38308
 
+  if test $gl_cv_func_frexpl_no_libm = yes; then
38309
 
+    
38310
 
+  
38311
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5
38312
 
+$as_echo_n "checking whether frexpl works... " >&6; }
38313
 
+if ${gl_cv_func_frexpl_works+:} false; then :
38314
 
+  $as_echo_n "(cached) " >&6
38315
 
+else
38316
 
+  
38317
 
+      if test "$cross_compiling" = yes; then :
38318
 
+  
38319
 
+         case "$host_os" in
38320
 
+           aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*)
38321
 
+              gl_cv_func_frexpl_works="guessing no";;
38322
 
+           *) gl_cv_func_frexpl_works="guessing yes";;
38323
 
+         esac
38324
 
+        
38325
 
+else
38326
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38327
 
+/* end confdefs.h.  */
38328
 
+
38329
 
+#include <float.h>
38330
 
+#include <math.h>
38331
 
+/* Override the values of <float.h>, like done in float.in.h.  */
38332
 
+#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__)
38333
 
+# undef LDBL_MIN_EXP
38334
 
+# define LDBL_MIN_EXP    (-16381)
38335
 
+#endif
38336
 
+#if defined __i386__ && defined __FreeBSD__
38337
 
+# undef LDBL_MIN_EXP
38338
 
+# define LDBL_MIN_EXP    (-16381)
38339
 
+#endif
38340
 
+#if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__
38341
 
+# undef LDBL_MIN_EXP
38342
 
+# define LDBL_MIN_EXP DBL_MIN_EXP
38343
 
+#endif
38344
 
+#if defined __sgi && (LDBL_MANT_DIG >= 106)
38345
 
+# if defined __GNUC__
38346
 
+#  undef LDBL_MIN_EXP
38347
 
+#  define LDBL_MIN_EXP DBL_MIN_EXP
38348
 
+# endif
38349
 
+#endif
38350
 
+extern
38351
 
+#ifdef __cplusplus
38352
 
+"C"
38353
 
+#endif
38354
 
+long double frexpl (long double, int *);
38355
 
+int main()
38356
 
+{
38357
 
+  int result = 0;
38358
 
+  volatile long double x;
38359
 
+  /* Test on finite numbers that fails on AIX 5.1.  */
38360
 
+  x = 16.0L;
38361
 
+  {
38362
 
+    int exp = -9999;
38363
 
+    frexpl (x, &exp);
38364
 
+    if (exp != 5)
38365
 
+      result |= 1;
38366
 
+  }
38367
 
+  /* Test on finite numbers that fails on MacOS X 10.4, because its frexpl
38368
 
+     function returns an invalid (incorrectly normalized) value: it returns
38369
 
+               y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 }
38370
 
+     but the correct result is
38371
 
+          0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 }  */
38372
 
+  x = 1.01L;
38373
 
+  {
38374
 
+    int exp = -9999;
38375
 
+    long double y = frexpl (x, &exp);
38376
 
+    if (!(exp == 1 && y == 0.505L))
38377
 
+      result |= 2;
38378
 
+  }
38379
 
+  /* Test on large finite numbers.  This fails on BeOS at i = 16322, while
38380
 
+     LDBL_MAX_EXP = 16384.
38381
 
+     In the loop end test, we test x against Infinity, rather than comparing
38382
 
+     i with LDBL_MAX_EXP, because BeOS <float.h> has a wrong LDBL_MAX_EXP.  */
38383
 
+  {
38384
 
+    int i;
38385
 
+    for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L)
38386
 
+      {
38387
 
+        int exp = -9999;
38388
 
+        frexpl (x, &exp);
38389
 
+        if (exp != i)
38390
 
+          {
38391
 
+            result |= 4;
38392
 
+            break;
38393
 
+          }
38394
 
+      }
38395
 
+  }
38396
 
+  /* Test on denormalized numbers.  */
38397
 
+  {
38398
 
+    int i;
38399
 
+    for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L)
38400
 
+      ;
38401
 
+    if (x > 0.0L)
38402
 
+      {
38403
 
+        int exp;
38404
 
+        long double y = frexpl (x, &exp);
38405
 
+        /* On machines with IEEE854 arithmetic: x = 1.68105e-4932,
38406
 
+           exp = -16382, y = 0.5.  On MacOS X 10.5: exp = -16384, y = 0.5.  */
38407
 
+        if (exp != LDBL_MIN_EXP - 1)
38408
 
+          result |= 8;
38409
 
+      }
38410
 
+  }
38411
 
+  /* Test on infinite numbers.  */
38412
 
+  x = 1.0L / 0.0L;
38413
 
+  {
38414
 
+    int exp;
38415
 
+    long double y = frexpl (x, &exp);
38416
 
+    if (y != x)
38417
 
+      result |= 16;
38418
 
+  }
38419
 
+  return result;
38420
 
+}
38421
 
+_ACEOF
38422
 
+if ac_fn_c_try_run "$LINENO"; then :
38423
 
+  gl_cv_func_frexpl_works=yes
38424
 
+else
38425
 
+  gl_cv_func_frexpl_works=no
38426
 
+fi
38427
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
38428
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
38429
 
+fi
38430
 
+
38431
 
+    
38432
 
+fi
38433
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_works" >&5
38434
 
+$as_echo "$gl_cv_func_frexpl_works" >&6; }
38435
 
+
38436
 
+    case "$gl_cv_func_frexpl_works" in
38437
 
+      *yes) gl_func_frexpl_no_libm=yes ;;
38438
 
+      *)    gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;;
38439
 
+    esac
38440
 
+  else
38441
 
+    gl_func_frexpl_no_libm=no
38442
 
+        REPLACE_FREXPL=1
38443
 
+  fi
38444
 
+  if test $gl_func_frexpl_no_libm = yes; then
38445
 
+    
38446
 
+$as_echo "@%:@define HAVE_FREXPL_IN_LIBC 1" >>confdefs.h
38447
 
+
38448
 
+            ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include <math.h>
38449
 
+"
38450
 
+if test "x$ac_cv_have_decl_frexpl" = xyes; then :
38451
 
+  
38452
 
+else
38453
 
+  HAVE_DECL_FREXPL=0
38454
 
+fi
38455
 
+
38456
 
+  fi
38457
 
+
38458
 
+  
38459
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl() can be used without linking with libm" >&5
38460
 
+$as_echo_n "checking whether ldexpl() can be used without linking with libm... " >&6; }
38461
 
+if ${gl_cv_func_ldexpl_no_libm+:} false; then :
38462
 
+  $as_echo_n "(cached) " >&6
38463
 
+else
38464
 
+  
38465
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38466
 
+/* end confdefs.h.  */
38467
 
+#include <math.h>
38468
 
+             long double x;
38469
 
+int
38470
 
+main ()
38471
 
+{
38472
 
+return ldexpl (x, -1) > 0;
38473
 
+  ;
38474
 
+  return 0;
38475
 
+}
38476
 
+_ACEOF
38477
 
+if ac_fn_c_try_link "$LINENO"; then :
38478
 
+  gl_cv_func_ldexpl_no_libm=yes
38479
 
+else
38480
 
+  gl_cv_func_ldexpl_no_libm=no
38481
 
+fi
38482
 
+rm -f core conftest.err conftest.$ac_objext \
38483
 
+    conftest$ac_exeext conftest.$ac_ext
38484
 
+    
38485
 
+fi
38486
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_no_libm" >&5
38487
 
+$as_echo "$gl_cv_func_ldexpl_no_libm" >&6; }
38488
 
+
38489
 
+  if test $gl_cv_func_ldexpl_no_libm = yes; then
38490
 
+    
38491
 
+  
38492
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl works" >&5
38493
 
+$as_echo_n "checking whether ldexpl works... " >&6; }
38494
 
+if ${gl_cv_func_ldexpl_works+:} false; then :
38495
 
+  $as_echo_n "(cached) " >&6
38496
 
+else
38497
 
+  
38498
 
+      if test "$cross_compiling" = yes; then :
38499
 
+  
38500
 
+         case "$host_os" in
38501
 
+           aix | aix[3-6]*) gl_cv_func_ldexpl_works="guessing no";;
38502
 
+           *)               gl_cv_func_ldexpl_works="guessing yes";;
38503
 
+         esac
38504
 
+        
38505
 
+else
38506
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38507
 
+/* end confdefs.h.  */
38508
 
+
38509
 
+#include <math.h>
38510
 
+extern
38511
 
+#ifdef __cplusplus
38512
 
+"C"
38513
 
+#endif
38514
 
+long double ldexpl (long double, int);
38515
 
+int main()
38516
 
+{
38517
 
+  int result = 0;
38518
 
+  {
38519
 
+    volatile long double x = 1.0;
38520
 
+    volatile long double y = ldexpl (x, -1);
38521
 
+    if (y != 0.5L)
38522
 
+      result |= 1;
38523
 
+  }
38524
 
+  {
38525
 
+    volatile long double x = 1.73205L;
38526
 
+    volatile long double y = ldexpl (x, 0);
38527
 
+    if (y != x)
38528
 
+      result |= 2;
38529
 
+  }
38530
 
+  return result;
38531
 
+}
38532
 
+_ACEOF
38533
 
+if ac_fn_c_try_run "$LINENO"; then :
38534
 
+  gl_cv_func_ldexpl_works=yes
38535
 
+else
38536
 
+  gl_cv_func_ldexpl_works=no
38537
 
+fi
38538
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
38539
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
38540
 
+fi
38541
 
+
38542
 
+    
38543
 
+fi
38544
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_works" >&5
38545
 
+$as_echo "$gl_cv_func_ldexpl_works" >&6; }
38546
 
+
38547
 
+    case "$gl_cv_func_ldexpl_works" in
38548
 
+      *yes)
38549
 
+        
38550
 
+$as_echo "@%:@define HAVE_LDEXPL_IN_LIBC 1" >>confdefs.h
38551
 
+
38552
 
+                        ac_fn_c_check_decl "$LINENO" "ldexpl" "ac_cv_have_decl_ldexpl" "#include <math.h>
38553
 
+"
38554
 
+if test "x$ac_cv_have_decl_ldexpl" = xyes; then :
38555
 
+  
38556
 
+else
38557
 
+  HAVE_DECL_LDEXPL=0
38558
 
+fi
38559
 
+
38560
 
+        ;;
38561
 
+    esac
38562
 
+  fi
38563
 
+
38564
 
+
38565
 
+
38566
 
+  
38567
 
+  for ac_func in getppriv
38568
 
+do :
38569
 
+  ac_fn_c_check_func "$LINENO" "getppriv" "ac_cv_func_getppriv"
38570
 
+if test "x$ac_cv_func_getppriv" = xyes; then :
38571
 
+  cat >>confdefs.h <<_ACEOF
38572
 
+@%:@define HAVE_GETPPRIV 1
38573
 
+_ACEOF
38574
 
38575
 
+fi
38576
 
+done
38577
 
+
38578
 
+  
38579
 
+
38580
 
+ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
38581
 
+"
38582
 
+if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then :
38583
 
+  ac_have_decl=1
38584
 
+else
38585
 
+  ac_have_decl=0
38586
 
+fi
38587
 
+
38588
 
+cat >>confdefs.h <<_ACEOF
38589
 
+@%:@define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl
38590
 
+_ACEOF
38591
 
+
38592
 
+ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
38593
 
+"
38594
 
+if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then :
38595
 
+  ac_have_decl=1
38596
 
+else
38597
 
+  ac_have_decl=0
38598
 
+fi
38599
 
+
38600
 
+cat >>confdefs.h <<_ACEOF
38601
 
+@%:@define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl
38602
 
+_ACEOF
38603
 
+
38604
 
+
38605
 
+  
38606
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --keyword='proper_name:1,\"This is a proper name. See the gettext manual, section Names.\"'"
38607
 
+
38608
 
+   
38609
 
+  
38610
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --keyword='proper_name_utf8:1,\"This is a proper name. See the gettext manual, section Names.\"'"
38611
 
+
38612
 
+
38613
 
+   
38614
 
+   
38615
 
+  
38616
 
+  
38617
 
+  
38618
 
+
38619
 
+  
38620
 
+    
38621
 
+
38622
 
+  
38623
 
+     if test $gl_cv_have_include_next = yes; then
38624
 
+       gl_cv_next_pthread_h='<'pthread.h'>'
38625
 
+     else
38626
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <pthread.h>" >&5
38627
 
+$as_echo_n "checking absolute name of <pthread.h>... " >&6; }
38628
 
+if ${gl_cv_next_pthread_h+:} false; then :
38629
 
+  $as_echo_n "(cached) " >&6
38630
 
+else
38631
 
+  
38632
 
+             if test $ac_cv_header_pthread_h = yes; then
38633
 
+             
38634
 
+            
38635
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38636
 
+/* end confdefs.h.  */
38637
 
+#include <pthread.h>
38638
 
+                  
38639
 
+_ACEOF
38640
 
+                                                                                                                        case "$host_os" in
38641
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
38642
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
38643
 
+               esac
38644
 
+                                                            gl_cv_next_pthread_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
38645
 
+                  sed -n '\#/pthread.h#{
38646
 
+                    s#.*"\(.*/pthread.h\)".*#\1#
38647
 
+                    s#^/[^/]#//&#
38648
 
+                    p
38649
 
+                    q
38650
 
+                  }'`'"'
38651
 
+          else
38652
 
+               gl_cv_next_pthread_h='<'pthread.h'>'
38653
 
+             fi
38654
 
+            
38655
 
+         
38656
 
+fi
38657
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_pthread_h" >&5
38658
 
+$as_echo "$gl_cv_next_pthread_h" >&6; }
38659
 
+     fi
38660
 
+     NEXT_PTHREAD_H=$gl_cv_next_pthread_h
38661
 
+
38662
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
38663
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
38664
 
+       gl_next_as_first_directive='<'pthread.h'>'
38665
 
+     else
38666
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
38667
 
+       gl_next_as_first_directive=$gl_cv_next_pthread_h
38668
 
+     fi
38669
 
+     NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H=$gl_next_as_first_directive
38670
 
+
38671
 
+     
38672
 
+
38673
 
+
38674
 
+   if test $ac_cv_header_pthread_h = yes; then
38675
 
+     HAVE_PTHREAD_H=1
38676
 
+   else
38677
 
+     HAVE_PTHREAD_H=0
38678
 
+   fi
38679
 
+
38680
 
+   ac_fn_c_check_type "$LINENO" "pthread_t" "ac_cv_type_pthread_t" "$ac_includes_default
38681
 
+      #if HAVE_PTHREAD_H
38682
 
+       #include <pthread.h>
38683
 
+      #endif
38684
 
+"
38685
 
+if test "x$ac_cv_type_pthread_t" = xyes; then :
38686
 
+  
38687
 
+cat >>confdefs.h <<_ACEOF
38688
 
+@%:@define HAVE_PTHREAD_T 1
38689
 
+_ACEOF
38690
 
+
38691
 
+
38692
 
+fi
38693
 
+ac_fn_c_check_type "$LINENO" "pthread_spinlock_t" "ac_cv_type_pthread_spinlock_t" "$ac_includes_default
38694
 
+      #if HAVE_PTHREAD_H
38695
 
+       #include <pthread.h>
38696
 
+      #endif
38697
 
+"
38698
 
+if test "x$ac_cv_type_pthread_spinlock_t" = xyes; then :
38699
 
+  
38700
 
+cat >>confdefs.h <<_ACEOF
38701
 
+@%:@define HAVE_PTHREAD_SPINLOCK_T 1
38702
 
+_ACEOF
38703
 
+
38704
 
+
38705
 
+fi
38706
 
+
38707
 
+   if test $ac_cv_type_pthread_t != yes; then
38708
 
+     HAVE_PTHREAD_T=0
38709
 
+   fi
38710
 
+   if test $ac_cv_type_pthread_spinlock_t != yes; then
38711
 
+     HAVE_PTHREAD_SPINLOCK_T=0
38712
 
+   fi
38713
 
+
38714
 
+   if test $ac_cv_header_pthread_h != yes ||
38715
 
+      test $ac_cv_type_pthread_t != yes ||
38716
 
+      test $ac_cv_type_pthread_spinlock_t != yes; then
38717
 
+     PTHREAD_H='pthread.h'
38718
 
+   else
38719
 
+     PTHREAD_H=
38720
 
+   fi
38721
 
+   
38722
 
+    if test -n "$PTHREAD_H"; then
38723
 
+  GL_GENERATE_PTHREAD_H_TRUE=
38724
 
+  GL_GENERATE_PTHREAD_H_FALSE='#'
38725
 
+else
38726
 
+  GL_GENERATE_PTHREAD_H_TRUE='#'
38727
 
+  GL_GENERATE_PTHREAD_H_FALSE=
38728
 
+fi
38729
 
+
38730
 
+
38731
 
+   LIB_PTHREAD=
38732
 
+   if test $ac_cv_header_pthread_h = yes; then
38733
 
+                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_join" >&5
38734
 
+$as_echo_n "checking for library containing pthread_join... " >&6; }
38735
 
+if ${gl_cv_search_pthread_join+:} false; then :
38736
 
+  $as_echo_n "(cached) " >&6
38737
 
+else
38738
 
+  gl_saved_libs="$LIBS"
38739
 
+        gl_cv_search_pthread_join=
38740
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38741
 
+/* end confdefs.h.  */
38742
 
+#include <pthread.h>
38743
 
+int
38744
 
+main ()
38745
 
+{
38746
 
+pthread_join (pthread_self (), (void **) 0);
38747
 
+  ;
38748
 
+  return 0;
38749
 
+}
38750
 
+_ACEOF
38751
 
+if ac_fn_c_try_link "$LINENO"; then :
38752
 
+  gl_cv_search_pthread_join="none required"
38753
 
+fi
38754
 
+rm -f core conftest.err conftest.$ac_objext \
38755
 
+    conftest$ac_exeext conftest.$ac_ext
38756
 
+        if test -z "$gl_cv_search_pthread_join"; then
38757
 
+          LIBS="-lpthread $gl_saved_libs"
38758
 
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38759
 
+/* end confdefs.h.  */
38760
 
+#include <pthread.h>
38761
 
+int
38762
 
+main ()
38763
 
+{
38764
 
+pthread_join (pthread_self (), (void **) 0);
38765
 
+  ;
38766
 
+  return 0;
38767
 
+}
38768
 
+_ACEOF
38769
 
+if ac_fn_c_try_link "$LINENO"; then :
38770
 
+  gl_cv_search_pthread_join="-lpthread"
38771
 
+fi
38772
 
+rm -f core conftest.err conftest.$ac_objext \
38773
 
+    conftest$ac_exeext conftest.$ac_ext
38774
 
+        fi
38775
 
+        LIBS="$gl_saved_libs"
38776
 
+       
38777
 
+fi
38778
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_search_pthread_join" >&5
38779
 
+$as_echo "$gl_cv_search_pthread_join" >&6; }
38780
 
+     if test "$gl_cv_search_pthread_join" != "none required"; then
38781
 
+       LIB_PTHREAD="$gl_cv_search_pthread_join"
38782
 
+     fi
38783
 
+   fi
38784
 
+   
38785
 
+
38786
 
+   
38787
 
+   
38788
 
+
38789
 
+
38790
 
+  
38791
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for putenv compatible with GNU and SVID" >&5
38792
 
+$as_echo_n "checking for putenv compatible with GNU and SVID... " >&6; }
38793
 
+if ${gl_cv_func_svid_putenv+:} false; then :
38794
 
+  $as_echo_n "(cached) " >&6
38795
 
+else
38796
 
+  if test "$cross_compiling" = yes; then :
38797
 
+               gl_cv_func_svid_putenv=no
38798
 
+else
38799
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38800
 
+/* end confdefs.h.  */
38801
 
+$ac_includes_default
38802
 
+int
38803
 
+main ()
38804
 
+{
38805
 
+
38806
 
+    /* Put it in env.  */
38807
 
+    if (putenv ("CONFTEST_putenv=val"))
38808
 
+      return 1;
38809
 
+
38810
 
+    /* Try to remove it.  */
38811
 
+    if (putenv ("CONFTEST_putenv"))
38812
 
+      return 2;
38813
 
+
38814
 
+    /* Make sure it was deleted.  */
38815
 
+    if (getenv ("CONFTEST_putenv") != 0)
38816
 
+      return 3;
38817
 
+
38818
 
+    return 0;
38819
 
+              
38820
 
+  ;
38821
 
+  return 0;
38822
 
+}
38823
 
+_ACEOF
38824
 
+if ac_fn_c_try_run "$LINENO"; then :
38825
 
+  gl_cv_func_svid_putenv=yes
38826
 
+else
38827
 
+  gl_cv_func_svid_putenv=no
38828
 
+fi
38829
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
38830
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
38831
 
+fi
38832
 
+
38833
 
+   
38834
 
+fi
38835
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_svid_putenv" >&5
38836
 
+$as_echo "$gl_cv_func_svid_putenv" >&6; }
38837
 
+  if test $gl_cv_func_svid_putenv = no; then
38838
 
+    REPLACE_PUTENV=1
38839
 
+  fi
38840
 
+
38841
 
+if test $REPLACE_PUTENV = 1; then
38842
 
+  
38843
 
+  
38844
 
+  
38845
 
+    
38846
 
+      
38847
 
+      
38848
 
+    
38849
 
+  
38850
 
+  gl_LIBOBJS="$gl_LIBOBJS putenv.$ac_objext"
38851
 
+
38852
 
+fi
38853
 
+
38854
 
+    
38855
 
+  
38856
 
+  
38857
 
+  
38858
 
+          GNULIB_PUTENV=1
38859
 
+    
38860
 
+
38861
 
+
38862
 
+    
38863
 
+  
38864
 
+$as_echo "@%:@define GNULIB_TEST_PUTENV 1" >>confdefs.h
38865
 
+
38866
 
+
38867
 
+
38868
 
+
38869
 
+      :
38870
 
+
38871
 
+
38872
 
+  :
38873
 
+
38874
 
+
38875
 
+  
38876
 
+        
38877
 
+
38878
 
+if test $REPLACE_READ = 1; then
38879
 
+  
38880
 
+  
38881
 
+  
38882
 
+    
38883
 
+      
38884
 
+      
38885
 
+    
38886
 
+  
38887
 
+  gl_LIBOBJS="$gl_LIBOBJS read.$ac_objext"
38888
 
+
38889
 
+fi
38890
 
+
38891
 
+    
38892
 
+  
38893
 
+  
38894
 
+  
38895
 
+          GNULIB_READ=1
38896
 
+    
38897
 
+
38898
 
+
38899
 
+    
38900
 
+  
38901
 
+$as_echo "@%:@define GNULIB_TEST_READ 1" >>confdefs.h
38902
 
+
38903
 
+
38904
 
+
38905
 
+:
38906
 
+
38907
 
+  
38908
 
+  
38909
 
+  if test $ac_cv_func_readlink = no; then
38910
 
+    HAVE_READLINK=0
38911
 
+  else
38912
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink signature is correct" >&5
38913
 
+$as_echo_n "checking whether readlink signature is correct... " >&6; }
38914
 
+if ${gl_cv_decl_readlink_works+:} false; then :
38915
 
+  $as_echo_n "(cached) " >&6
38916
 
+else
38917
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38918
 
+/* end confdefs.h.  */
38919
 
+#include <unistd.h>
38920
 
+      /* Cause compilation failure if original declaration has wrong type.  */
38921
 
+      ssize_t readlink (const char *, char *, size_t);
38922
 
+int
38923
 
+main ()
38924
 
+{
38925
 
+
38926
 
+  ;
38927
 
+  return 0;
38928
 
+}
38929
 
+_ACEOF
38930
 
+if ac_fn_c_try_compile "$LINENO"; then :
38931
 
+  gl_cv_decl_readlink_works=yes
38932
 
+else
38933
 
+  gl_cv_decl_readlink_works=no
38934
 
+fi
38935
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38936
 
+fi
38937
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_readlink_works" >&5
38938
 
+$as_echo "$gl_cv_decl_readlink_works" >&6; }
38939
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink handles trailing slash correctly" >&5
38940
 
+$as_echo_n "checking whether readlink handles trailing slash correctly... " >&6; }
38941
 
+if ${gl_cv_func_readlink_works+:} false; then :
38942
 
+  $as_echo_n "(cached) " >&6
38943
 
+else
38944
 
+  # We have readlink, so assume ln -s works.
38945
 
+       ln -s conftest.no-such conftest.link
38946
 
+       ln -s conftest.link conftest.lnk2
38947
 
+       if test "$cross_compiling" = yes; then :
38948
 
+  gl_cv_func_readlink_works="guessing no"
38949
 
+else
38950
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38951
 
+/* end confdefs.h.  */
38952
 
+#include <unistd.h>
38953
 
+
38954
 
+int
38955
 
+main ()
38956
 
+{
38957
 
+char buf[20];
38958
 
+      return readlink ("conftest.lnk2/", buf, sizeof buf) != -1;
38959
 
+  ;
38960
 
+  return 0;
38961
 
+}
38962
 
+_ACEOF
38963
 
+if ac_fn_c_try_run "$LINENO"; then :
38964
 
+  gl_cv_func_readlink_works=yes
38965
 
+else
38966
 
+  gl_cv_func_readlink_works=no
38967
 
+fi
38968
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
38969
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
38970
 
+fi
38971
 
+
38972
 
+      rm -f conftest.link conftest.lnk2
38973
 
+fi
38974
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_readlink_works" >&5
38975
 
+$as_echo "$gl_cv_func_readlink_works" >&6; }
38976
 
+    if test "$gl_cv_func_readlink_works" != yes; then
38977
 
+      
38978
 
+$as_echo "@%:@define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h
38979
 
+
38980
 
+      REPLACE_READLINK=1
38981
 
+    elif test "$gl_cv_decl_readlink_works" != yes; then
38982
 
+      REPLACE_READLINK=1
38983
 
+    fi
38984
 
+  fi
38985
 
+
38986
 
+if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
38987
 
+  
38988
 
+  
38989
 
+  
38990
 
+    
38991
 
+      
38992
 
+      
38993
 
+    
38994
 
+  
38995
 
+  gl_LIBOBJS="$gl_LIBOBJS readlink.$ac_objext"
38996
 
+
38997
 
+  
38998
 
+  :
38999
 
+
39000
 
+fi
39001
 
+
39002
 
+    
39003
 
+  
39004
 
+  
39005
 
+  
39006
 
+          GNULIB_READLINK=1
39007
 
+    
39008
 
+
39009
 
+
39010
 
+    
39011
 
+  
39012
 
+$as_echo "@%:@define GNULIB_TEST_READLINK 1" >>confdefs.h
39013
 
+
39014
 
+
39015
 
+
39016
 
+
39017
 
+  
39018
 
+  
39019
 
+  
39020
 
+  
39021
 
+  if test $ac_cv_func_readlinkat = no; then
39022
 
+    HAVE_READLINKAT=0
39023
 
+  fi
39024
 
+
39025
 
+if test $HAVE_READLINKAT = 0; then
39026
 
+  
39027
 
+  
39028
 
+  
39029
 
+    
39030
 
+      
39031
 
+      
39032
 
+    
39033
 
+  
39034
 
+  gl_LIBOBJS="$gl_LIBOBJS readlinkat.$ac_objext"
39035
 
+
39036
 
+fi
39037
 
+
39038
 
+    
39039
 
+  
39040
 
+  
39041
 
+  
39042
 
+          GNULIB_READLINKAT=1
39043
 
+    
39044
 
+
39045
 
+
39046
 
+    
39047
 
+  
39048
 
+$as_echo "@%:@define GNULIB_TEST_READLINKAT 1" >>confdefs.h
39049
 
+
39050
 
+
39051
 
+
39052
 
+
39053
 
+  :
39054
 
+
39055
 
+
39056
 
+    
39057
 
+
39058
 
+  
39059
 
+  if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then
39060
 
+        
39061
 
+    
39062
 
+    ac_fn_c_check_decl "$LINENO" "getutent" "ac_cv_have_decl_getutent" "
39063
 
+/* <sys/types.h> is a prerequisite of <utmp.h> on FreeBSD 8.0, OpenBSD 4.6.  */
39064
 
+#include <sys/types.h>
39065
 
+#ifdef HAVE_UTMP_H
39066
 
+# include <utmp.h>
39067
 
+#endif
39068
 
+
39069
 
+"
39070
 
+if test "x$ac_cv_have_decl_getutent" = xyes; then :
39071
 
+  ac_have_decl=1
39072
 
+else
39073
 
+  ac_have_decl=0
39074
 
+fi
39075
 
+
39076
 
+cat >>confdefs.h <<_ACEOF
39077
 
+@%:@define HAVE_DECL_GETUTENT $ac_have_decl
39078
 
+_ACEOF
39079
 
+
39080
 
+    utmp_includes="\
39081
 
+$ac_includes_default
39082
 
+#ifdef HAVE_UTMPX_H
39083
 
+# include <utmpx.h>
39084
 
+#endif
39085
 
+#ifdef HAVE_UTMP_H
39086
 
+# if defined _THREAD_SAFE && defined UTMP_DATA_INIT
39087
 
+   /* When including both utmp.h and utmpx.h on AIX 4.3, with _THREAD_SAFE
39088
 
+      defined, work around the duplicate struct utmp_data declaration.  */
39089
 
+#  define utmp_data gl_aix_4_3_workaround_utmp_data
39090
 
+# endif
39091
 
+# include <utmp.h>
39092
 
+#endif
39093
 
+"
39094
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_user" "ac_cv_member_struct_utmpx_ut_user" "$utmp_includes
39095
 
+"
39096
 
+if test "x$ac_cv_member_struct_utmpx_ut_user" = xyes; then :
39097
 
+  
39098
 
+cat >>confdefs.h <<_ACEOF
39099
 
+@%:@define HAVE_STRUCT_UTMPX_UT_USER 1
39100
 
+_ACEOF
39101
 
+
39102
 
+
39103
 
+fi
39104
 
+
39105
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_user" "ac_cv_member_struct_utmp_ut_user" "$utmp_includes
39106
 
+"
39107
 
+if test "x$ac_cv_member_struct_utmp_ut_user" = xyes; then :
39108
 
+  
39109
 
+cat >>confdefs.h <<_ACEOF
39110
 
+@%:@define HAVE_STRUCT_UTMP_UT_USER 1
39111
 
+_ACEOF
39112
 
+
39113
 
+
39114
 
+fi
39115
 
+
39116
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_name" "ac_cv_member_struct_utmpx_ut_name" "$utmp_includes
39117
 
+"
39118
 
+if test "x$ac_cv_member_struct_utmpx_ut_name" = xyes; then :
39119
 
+  
39120
 
+cat >>confdefs.h <<_ACEOF
39121
 
+@%:@define HAVE_STRUCT_UTMPX_UT_NAME 1
39122
 
+_ACEOF
39123
 
+
39124
 
+
39125
 
+fi
39126
 
+
39127
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_name" "ac_cv_member_struct_utmp_ut_name" "$utmp_includes
39128
 
+"
39129
 
+if test "x$ac_cv_member_struct_utmp_ut_name" = xyes; then :
39130
 
+  
39131
 
+cat >>confdefs.h <<_ACEOF
39132
 
+@%:@define HAVE_STRUCT_UTMP_UT_NAME 1
39133
 
+_ACEOF
39134
 
+
39135
 
+
39136
 
+fi
39137
 
+
39138
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_type" "ac_cv_member_struct_utmpx_ut_type" "$utmp_includes
39139
 
+"
39140
 
+if test "x$ac_cv_member_struct_utmpx_ut_type" = xyes; then :
39141
 
+  
39142
 
+cat >>confdefs.h <<_ACEOF
39143
 
+@%:@define HAVE_STRUCT_UTMPX_UT_TYPE 1
39144
 
+_ACEOF
39145
 
+
39146
 
+
39147
 
+fi
39148
 
+
39149
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_type" "ac_cv_member_struct_utmp_ut_type" "$utmp_includes
39150
 
+"
39151
 
+if test "x$ac_cv_member_struct_utmp_ut_type" = xyes; then :
39152
 
+  
39153
 
+cat >>confdefs.h <<_ACEOF
39154
 
+@%:@define HAVE_STRUCT_UTMP_UT_TYPE 1
39155
 
+_ACEOF
39156
 
+
39157
 
+
39158
 
+fi
39159
 
+
39160
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_pid" "ac_cv_member_struct_utmpx_ut_pid" "$utmp_includes
39161
 
+"
39162
 
+if test "x$ac_cv_member_struct_utmpx_ut_pid" = xyes; then :
39163
 
+  
39164
 
+cat >>confdefs.h <<_ACEOF
39165
 
+@%:@define HAVE_STRUCT_UTMPX_UT_PID 1
39166
 
+_ACEOF
39167
 
+
39168
 
+
39169
 
+fi
39170
 
+
39171
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" "$utmp_includes
39172
 
+"
39173
 
+if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes; then :
39174
 
+  
39175
 
+cat >>confdefs.h <<_ACEOF
39176
 
+@%:@define HAVE_STRUCT_UTMP_UT_PID 1
39177
 
+_ACEOF
39178
 
+
39179
 
+
39180
 
+fi
39181
 
+
39182
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_id" "ac_cv_member_struct_utmpx_ut_id" "$utmp_includes
39183
 
+"
39184
 
+if test "x$ac_cv_member_struct_utmpx_ut_id" = xyes; then :
39185
 
+  
39186
 
+cat >>confdefs.h <<_ACEOF
39187
 
+@%:@define HAVE_STRUCT_UTMPX_UT_ID 1
39188
 
+_ACEOF
39189
 
+
39190
 
+
39191
 
+fi
39192
 
+
39193
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_id" "ac_cv_member_struct_utmp_ut_id" "$utmp_includes
39194
 
+"
39195
 
+if test "x$ac_cv_member_struct_utmp_ut_id" = xyes; then :
39196
 
+  
39197
 
+cat >>confdefs.h <<_ACEOF
39198
 
+@%:@define HAVE_STRUCT_UTMP_UT_ID 1
39199
 
+_ACEOF
39200
 
+
39201
 
+
39202
 
+fi
39203
 
+
39204
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_exit" "ac_cv_member_struct_utmpx_ut_exit" "$utmp_includes
39205
 
+"
39206
 
+if test "x$ac_cv_member_struct_utmpx_ut_exit" = xyes; then :
39207
 
+  
39208
 
+cat >>confdefs.h <<_ACEOF
39209
 
+@%:@define HAVE_STRUCT_UTMPX_UT_EXIT 1
39210
 
+_ACEOF
39211
 
+
39212
 
+
39213
 
+fi
39214
 
+
39215
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_exit" "ac_cv_member_struct_utmp_ut_exit" "$utmp_includes
39216
 
+"
39217
 
+if test "x$ac_cv_member_struct_utmp_ut_exit" = xyes; then :
39218
 
+  
39219
 
+cat >>confdefs.h <<_ACEOF
39220
 
+@%:@define HAVE_STRUCT_UTMP_UT_EXIT 1
39221
 
+_ACEOF
39222
 
+
39223
 
+
39224
 
+fi
39225
 
+
39226
 
+
39227
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_exit.ut_exit" "ac_cv_member_struct_utmpx_ut_exit_ut_exit" "$utmp_includes
39228
 
+"
39229
 
+if test "x$ac_cv_member_struct_utmpx_ut_exit_ut_exit" = xyes; then :
39230
 
+  
39231
 
+cat >>confdefs.h <<_ACEOF
39232
 
+@%:@define HAVE_STRUCT_UTMPX_UT_EXIT_UT_EXIT 1
39233
 
+_ACEOF
39234
 
+
39235
 
+
39236
 
+fi
39237
 
+
39238
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_exit.ut_exit" "ac_cv_member_struct_utmp_ut_exit_ut_exit" "$utmp_includes
39239
 
+"
39240
 
+if test "x$ac_cv_member_struct_utmp_ut_exit_ut_exit" = xyes; then :
39241
 
+  
39242
 
+cat >>confdefs.h <<_ACEOF
39243
 
+@%:@define HAVE_STRUCT_UTMP_UT_EXIT_UT_EXIT 1
39244
 
+_ACEOF
39245
 
+
39246
 
+
39247
 
+fi
39248
 
+
39249
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_exit.e_exit" "ac_cv_member_struct_utmpx_ut_exit_e_exit" "$utmp_includes
39250
 
+"
39251
 
+if test "x$ac_cv_member_struct_utmpx_ut_exit_e_exit" = xyes; then :
39252
 
+  
39253
 
+cat >>confdefs.h <<_ACEOF
39254
 
+@%:@define HAVE_STRUCT_UTMPX_UT_EXIT_E_EXIT 1
39255
 
+_ACEOF
39256
 
+
39257
 
+
39258
 
+fi
39259
 
+
39260
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_exit.e_exit" "ac_cv_member_struct_utmp_ut_exit_e_exit" "$utmp_includes
39261
 
+"
39262
 
+if test "x$ac_cv_member_struct_utmp_ut_exit_e_exit" = xyes; then :
39263
 
+  
39264
 
+cat >>confdefs.h <<_ACEOF
39265
 
+@%:@define HAVE_STRUCT_UTMP_UT_EXIT_E_EXIT 1
39266
 
+_ACEOF
39267
 
+
39268
 
+
39269
 
+fi
39270
 
+
39271
 
+
39272
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_exit.ut_termination" "ac_cv_member_struct_utmpx_ut_exit_ut_termination" "$utmp_includes
39273
 
+"
39274
 
+if test "x$ac_cv_member_struct_utmpx_ut_exit_ut_termination" = xyes; then :
39275
 
+  
39276
 
+cat >>confdefs.h <<_ACEOF
39277
 
+@%:@define HAVE_STRUCT_UTMPX_UT_EXIT_UT_TERMINATION 1
39278
 
+_ACEOF
39279
 
+
39280
 
+
39281
 
+fi
39282
 
+
39283
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_exit.ut_termination" "ac_cv_member_struct_utmp_ut_exit_ut_termination" "$utmp_includes
39284
 
+"
39285
 
+if test "x$ac_cv_member_struct_utmp_ut_exit_ut_termination" = xyes; then :
39286
 
+  
39287
 
+cat >>confdefs.h <<_ACEOF
39288
 
+@%:@define HAVE_STRUCT_UTMP_UT_EXIT_UT_TERMINATION 1
39289
 
+_ACEOF
39290
 
+
39291
 
+
39292
 
+fi
39293
 
+
39294
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_exit.e_termination" "ac_cv_member_struct_utmpx_ut_exit_e_termination" "$utmp_includes
39295
 
+"
39296
 
+if test "x$ac_cv_member_struct_utmpx_ut_exit_e_termination" = xyes; then :
39297
 
+  
39298
 
+cat >>confdefs.h <<_ACEOF
39299
 
+@%:@define HAVE_STRUCT_UTMPX_UT_EXIT_E_TERMINATION 1
39300
 
+_ACEOF
39301
 
+
39302
 
+
39303
 
+fi
39304
 
+
39305
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_exit.e_termination" "ac_cv_member_struct_utmp_ut_exit_e_termination" "$utmp_includes
39306
 
+"
39307
 
+if test "x$ac_cv_member_struct_utmp_ut_exit_e_termination" = xyes; then :
39308
 
+  
39309
 
+cat >>confdefs.h <<_ACEOF
39310
 
+@%:@define HAVE_STRUCT_UTMP_UT_EXIT_E_TERMINATION 1
39311
 
+_ACEOF
39312
 
+
39313
 
+
39314
 
+fi
39315
 
+
39316
 
+  fi
39317
 
+
39318
 
+if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then
39319
 
+  
39320
 
+  
39321
 
+  
39322
 
+    
39323
 
+      
39324
 
+      
39325
 
+    
39326
 
+  
39327
 
+  gl_LIBOBJS="$gl_LIBOBJS readutmp.$ac_objext"
39328
 
+
39329
 
+fi
39330
 
+
39331
 
+  
39332
 
+    for ac_header in stdlib.h
39333
 
+do :
39334
 
+  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
39335
 
+if test "x$ac_cv_header_stdlib_h" = xyes; then :
39336
 
+  cat >>confdefs.h <<_ACEOF
39337
 
+@%:@define HAVE_STDLIB_H 1
39338
 
+_ACEOF
39339
 
39340
 
+fi
39341
 
+
39342
 
+done
39343
 
+
39344
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
39345
 
+$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
39346
 
+if ${ac_cv_func_realloc_0_nonnull+:} false; then :
39347
 
+  $as_echo_n "(cached) " >&6
39348
 
+else
39349
 
+  if test "$cross_compiling" = yes; then :
39350
 
+  ac_cv_func_realloc_0_nonnull=no
39351
 
+else
39352
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39353
 
+/* end confdefs.h.  */
39354
 
+#if defined STDC_HEADERS || defined HAVE_STDLIB_H
39355
 
+# include <stdlib.h>
39356
 
+#else
39357
 
+char *realloc ();
39358
 
+#endif
39359
 
+
39360
 
+int
39361
 
+main ()
39362
 
+{
39363
 
+return ! realloc (0, 0);
39364
 
+  ;
39365
 
+  return 0;
39366
 
+}
39367
 
+_ACEOF
39368
 
+if ac_fn_c_try_run "$LINENO"; then :
39369
 
+  ac_cv_func_realloc_0_nonnull=yes
39370
 
+else
39371
 
+  ac_cv_func_realloc_0_nonnull=no
39372
 
+fi
39373
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39374
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
39375
 
+fi
39376
 
+
39377
 
+fi
39378
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
39379
 
+$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
39380
 
+if test $ac_cv_func_realloc_0_nonnull = yes; then :
39381
 
+  
39382
 
+$as_echo "@%:@define HAVE_REALLOC_GNU 1" >>confdefs.h
39383
 
+
39384
 
+else
39385
 
+  $as_echo "@%:@define HAVE_REALLOC_GNU 0" >>confdefs.h
39386
 
+
39387
 
+     REPLACE_REALLOC=1
39388
 
+    
39389
 
+fi
39390
 
+
39391
 
+
39392
 
+if test $REPLACE_REALLOC = 1; then
39393
 
+  
39394
 
+  
39395
 
+  
39396
 
+    
39397
 
+      
39398
 
+      
39399
 
+    
39400
 
+  
39401
 
+  gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext"
39402
 
+
39403
 
+fi
39404
 
+
39405
 
+  
39406
 
+cat >>confdefs.h <<_ACEOF
39407
 
+@%:@define GNULIB_REALLOC_GNU 1
39408
 
+_ACEOF
39409
 
+
39410
 
+
39411
 
+
39412
 
+  
39413
 
+  
39414
 
+  if test $gl_cv_func_malloc_posix = yes; then
39415
 
+    
39416
 
+$as_echo "@%:@define HAVE_REALLOC_POSIX 1" >>confdefs.h
39417
 
+
39418
 
+  else
39419
 
+    REPLACE_REALLOC=1
39420
 
+  fi
39421
 
+
39422
 
+if test $REPLACE_REALLOC = 1; then
39423
 
+  
39424
 
+  
39425
 
+  
39426
 
+    
39427
 
+      
39428
 
+      
39429
 
+    
39430
 
+  
39431
 
+  gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext"
39432
 
+
39433
 
+fi
39434
 
+
39435
 
+    
39436
 
+  
39437
 
+  
39438
 
+  
39439
 
+          GNULIB_REALLOC_POSIX=1
39440
 
+    
39441
 
+
39442
 
+
39443
 
+    
39444
 
+  
39445
 
+$as_echo "@%:@define GNULIB_TEST_REALLOC_POSIX 1" >>confdefs.h
39446
 
+
39447
 
+
39448
 
+
39449
 
+
39450
 
+  
39451
 
+@%:@ Check whether --with-included-regex was given.
39452
 
+if test "${with_included_regex+set}" = set; then :
39453
 
+  withval=$with_included_regex; 
39454
 
+fi
39455
 
+
39456
 
+
39457
 
+  case $with_included_regex in #(
39458
 
+  yes|no) ac_use_included_regex=$with_included_regex
39459
 
+        ;;
39460
 
+  '')
39461
 
+    # If the system regex support is good enough that it passes the
39462
 
+    # following run test, then default to *not* using the included regex.c.
39463
 
+    # If cross compiling, assume the test would fail and use the included
39464
 
+    # regex.c.
39465
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working re_compile_pattern" >&5
39466
 
+$as_echo_n "checking for working re_compile_pattern... " >&6; }
39467
 
+if ${gl_cv_func_re_compile_pattern_working+:} false; then :
39468
 
+  $as_echo_n "(cached) " >&6
39469
 
+else
39470
 
+  if test "$cross_compiling" = yes; then :
39471
 
+         gl_cv_func_re_compile_pattern_working=no
39472
 
+else
39473
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39474
 
+/* end confdefs.h.  */
39475
 
+$ac_includes_default
39476
 
+           #include <locale.h>
39477
 
+           #include <limits.h>
39478
 
+           #include <regex.h>
39479
 
+           
39480
 
+int
39481
 
+main ()
39482
 
+{
39483
 
+int result = 0;
39484
 
+            static struct re_pattern_buffer regex;
39485
 
+            unsigned char folded_chars[UCHAR_MAX + 1];
39486
 
+            int i;
39487
 
+            const char *s;
39488
 
+            struct re_registers regs;
39489
 
+
39490
 
+            /* http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html
39491
 
+               This test needs valgrind to catch the bug on Debian
39492
 
+               GNU/Linux 3.1 x86, but it might catch the bug better
39493
 
+               on other platforms and it shouldn't hurt to try the
39494
 
+               test here.  */
39495
 
+            if (setlocale (LC_ALL, "en_US.UTF-8"))
39496
 
+              {
39497
 
+                static char const pat[] = "insert into";
39498
 
+                static char const data[] =
39499
 
+                  "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK";
39500
 
+                re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE
39501
 
+                               | RE_ICASE);
39502
 
+                memset (&regex, 0, sizeof regex);
39503
 
+                s = re_compile_pattern (pat, sizeof pat - 1, &regex);
39504
 
+                if (s)
39505
 
+                  result |= 1;
39506
 
+                else if (re_search (&regex, data, sizeof data - 1,
39507
 
+                                    0, sizeof data - 1, &regs)
39508
 
+                         != -1)
39509
 
+                  result |= 1;
39510
 
+                if (! setlocale (LC_ALL, "C"))
39511
 
+                  return 1;
39512
 
+              }
39513
 
+
39514
 
+            /* This test is from glibc bug 3957, reported by Andrew Mackey.  */
39515
 
+            re_set_syntax (RE_SYNTAX_EGREP | RE_HAT_LISTS_NOT_NEWLINE);
39516
 
+            memset (&regex, 0, sizeof regex);
39517
 
+            s = re_compile_pattern ("a[^x]b", 6, &regex);
39518
 
+            if (s)
39519
 
+              result |= 2;
39520
 
+            /* This should fail, but succeeds for glibc-2.5.  */
39521
 
+            else if (re_search (&regex, "a\nb", 3, 0, 3, &regs) != -1)
39522
 
+              result |= 2;
39523
 
+
39524
 
+            /* This regular expression is from Spencer ere test number 75
39525
 
+               in grep-2.3.  */
39526
 
+            re_set_syntax (RE_SYNTAX_POSIX_EGREP);
39527
 
+            memset (&regex, 0, sizeof regex);
39528
 
+            for (i = 0; i <= UCHAR_MAX; i++)
39529
 
+              folded_chars[i] = i;
39530
 
+            regex.translate = folded_chars;
39531
 
+            s = re_compile_pattern ("a[[:@:>@:]]b\n", 11, &regex);
39532
 
+            /* This should fail with _Invalid character class name_ error.  */
39533
 
+            if (!s)
39534
 
+              result |= 4;
39535
 
+
39536
 
+            /* Ensure that [b-a] is diagnosed as invalid, when
39537
 
+               using RE_NO_EMPTY_RANGES. */
39538
 
+            re_set_syntax (RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES);
39539
 
+            memset (&regex, 0, sizeof regex);
39540
 
+            s = re_compile_pattern ("a[b-a]", 6, &regex);
39541
 
+            if (s == 0)
39542
 
+              result |= 8;
39543
 
+
39544
 
+            /* This should succeed, but does not for glibc-2.1.3.  */
39545
 
+            memset (&regex, 0, sizeof regex);
39546
 
+            s = re_compile_pattern ("{1", 2, &regex);
39547
 
+            if (s)
39548
 
+              result |= 8;
39549
 
+
39550
 
+            /* The following example is derived from a problem report
39551
 
+               against gawk from Jorge Stolfi <stolfi@ic.unicamp.br>.  */
39552
 
+            memset (&regex, 0, sizeof regex);
39553
 
+            s = re_compile_pattern ("[an\371]*n", 7, &regex);
39554
 
+            if (s)
39555
 
+              result |= 8;
39556
 
+            /* This should match, but does not for glibc-2.2.1.  */
39557
 
+            else if (re_match (&regex, "an", 2, 0, &regs) != 2)
39558
 
+              result |= 8;
39559
 
+
39560
 
+            memset (&regex, 0, sizeof regex);
39561
 
+            s = re_compile_pattern ("x", 1, &regex);
39562
 
+            if (s)
39563
 
+              result |= 8;
39564
 
+            /* glibc-2.2.93 does not work with a negative RANGE argument.  */
39565
 
+            else if (re_search (&regex, "wxy", 3, 2, -2, &regs) != 1)
39566
 
+              result |= 8;
39567
 
+
39568
 
+            /* The version of regex.c in older versions of gnulib
39569
 
+               ignored RE_ICASE.  Detect that problem too.  */
39570
 
+            re_set_syntax (RE_SYNTAX_EMACS | RE_ICASE);
39571
 
+            memset (&regex, 0, sizeof regex);
39572
 
+            s = re_compile_pattern ("x", 1, &regex);
39573
 
+            if (s)
39574
 
+              result |= 16;
39575
 
+            else if (re_search (&regex, "WXY", 3, 0, 3, &regs) < 0)
39576
 
+              result |= 16;
39577
 
+
39578
 
+            /* Catch a bug reported by Vin Shelton in
39579
 
+               http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00089.html
39580
 
+               */
39581
 
+            re_set_syntax (RE_SYNTAX_POSIX_BASIC
39582
 
+                           & ~RE_CONTEXT_INVALID_DUP
39583
 
+                           & ~RE_NO_EMPTY_RANGES);
39584
 
+            memset (&regex, 0, sizeof regex);
39585
 
+            s = re_compile_pattern ("[[:alnum:]_-]\\\\+$", 16, &regex);
39586
 
+            if (s)
39587
 
+              result |= 32;
39588
 
+
39589
 
+            /* REG_STARTEND was added to glibc on 2004-01-15.
39590
 
+               Reject older versions.  */
39591
 
+            if (! REG_STARTEND)
39592
 
+              result |= 64;
39593
 
+
39594
 
+#if 0
39595
 
+            /* It would be nice to reject hosts whose regoff_t values are too
39596
 
+               narrow (including glibc on hosts with 64-bit ptrdiff_t and
39597
 
+               32-bit int), but we should wait until glibc implements this
39598
 
+               feature.  Otherwise, support for equivalence classes and
39599
 
+               multibyte collation symbols would always be broken except
39600
 
+               when compiling --without-included-regex.   */
39601
 
+            if (sizeof (regoff_t) < sizeof (ptrdiff_t)
39602
 
+                || sizeof (regoff_t) < sizeof (ssize_t))
39603
 
+              result |= 64;
39604
 
+#endif
39605
 
+
39606
 
+            return result;
39607
 
+          
39608
 
+  ;
39609
 
+  return 0;
39610
 
+}
39611
 
+_ACEOF
39612
 
+if ac_fn_c_try_run "$LINENO"; then :
39613
 
+  gl_cv_func_re_compile_pattern_working=yes
39614
 
+else
39615
 
+  gl_cv_func_re_compile_pattern_working=no
39616
 
+fi
39617
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39618
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
39619
 
+fi
39620
 
+
39621
 
+fi
39622
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_re_compile_pattern_working" >&5
39623
 
+$as_echo "$gl_cv_func_re_compile_pattern_working" >&6; }
39624
 
+    case $gl_cv_func_re_compile_pattern_working in #(
39625
 
+    yes) ac_use_included_regex=no;; #(
39626
 
+    no) ac_use_included_regex=yes;;
39627
 
+    esac
39628
 
+    ;;
39629
 
+  *) as_fn_error $? "Invalid value for --with-included-regex: $with_included_regex" "$LINENO" 5
39630
 
+    ;;
39631
 
+  esac
39632
 
+
39633
 
+  if test $ac_use_included_regex = yes; then
39634
 
+    
39635
 
+$as_echo "@%:@define _REGEX_LARGE_OFFSETS 1" >>confdefs.h
39636
 
+
39637
 
+    
39638
 
+$as_echo "@%:@define re_syntax_options rpl_re_syntax_options" >>confdefs.h
39639
 
+
39640
 
+    
39641
 
+$as_echo "@%:@define re_set_syntax rpl_re_set_syntax" >>confdefs.h
39642
 
+
39643
 
+    
39644
 
+$as_echo "@%:@define re_compile_pattern rpl_re_compile_pattern" >>confdefs.h
39645
 
+
39646
 
+    
39647
 
+$as_echo "@%:@define re_compile_fastmap rpl_re_compile_fastmap" >>confdefs.h
39648
 
+
39649
 
+    
39650
 
+$as_echo "@%:@define re_search rpl_re_search" >>confdefs.h
39651
 
+
39652
 
+    
39653
 
+$as_echo "@%:@define re_search_2 rpl_re_search_2" >>confdefs.h
39654
 
+
39655
 
+    
39656
 
+$as_echo "@%:@define re_match rpl_re_match" >>confdefs.h
39657
 
+
39658
 
+    
39659
 
+$as_echo "@%:@define re_match_2 rpl_re_match_2" >>confdefs.h
39660
 
+
39661
 
+    
39662
 
+$as_echo "@%:@define re_set_registers rpl_re_set_registers" >>confdefs.h
39663
 
+
39664
 
+    
39665
 
+$as_echo "@%:@define re_comp rpl_re_comp" >>confdefs.h
39666
 
+
39667
 
+    
39668
 
+$as_echo "@%:@define re_exec rpl_re_exec" >>confdefs.h
39669
 
+
39670
 
+    
39671
 
+$as_echo "@%:@define regcomp rpl_regcomp" >>confdefs.h
39672
 
+
39673
 
+    
39674
 
+$as_echo "@%:@define regexec rpl_regexec" >>confdefs.h
39675
 
+
39676
 
+    
39677
 
+$as_echo "@%:@define regerror rpl_regerror" >>confdefs.h
39678
 
+
39679
 
+    
39680
 
+$as_echo "@%:@define regfree rpl_regfree" >>confdefs.h
39681
 
+
39682
 
+  fi
39683
 
+
39684
 
+if test $ac_use_included_regex = yes; then
39685
 
+  
39686
 
+  
39687
 
+  
39688
 
+    
39689
 
+      
39690
 
+      
39691
 
+    
39692
 
+  
39693
 
+  gl_LIBOBJS="$gl_LIBOBJS regex.$ac_objext"
39694
 
+
39695
 
+  
39696
 
+  
39697
 
+  
39698
 
+  
39699
 
+  
39700
 
+  for ac_header in libintl.h
39701
 
+do :
39702
 
+  ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
39703
 
+if test "x$ac_cv_header_libintl_h" = xyes; then :
39704
 
+  cat >>confdefs.h <<_ACEOF
39705
 
+@%:@define HAVE_LIBINTL_H 1
39706
 
+_ACEOF
39707
 
39708
 
+fi
39709
 
+
39710
 
+done
39711
 
+
39712
 
+  
39713
 
+  ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include <ctype.h>
39714
 
+"
39715
 
+if test "x$ac_cv_have_decl_isblank" = xyes; then :
39716
 
+  ac_have_decl=1
39717
 
+else
39718
 
+  ac_have_decl=0
39719
 
+fi
39720
 
+
39721
 
+cat >>confdefs.h <<_ACEOF
39722
 
+@%:@define HAVE_DECL_ISBLANK $ac_have_decl
39723
 
+_ACEOF
39724
 
+
39725
 
+
39726
 
+fi
39727
 
+
39728
 
+     
39729
 
+  
39730
 
+  
39731
 
+  if test "$gl_cv_func_rmdir_works:$gl_cv_func_unlink_works" != yes:yes; then
39732
 
+            REPLACE_REMOVE=1
39733
 
+  else
39734
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether remove handles directories" >&5
39735
 
+$as_echo_n "checking whether remove handles directories... " >&6; }
39736
 
+if ${gl_cv_func_remove_dir_works+:} false; then :
39737
 
+  $as_echo_n "(cached) " >&6
39738
 
+else
39739
 
+  mkdir conftest.dir
39740
 
+       if test "$cross_compiling" = yes; then :
39741
 
+  case $host_os in
39742
 
+            mingw*) gl_cv_func_remove_dir_works="guessing no";;
39743
 
+            *) gl_cv_func_remove_dir_works="guessing yes";;
39744
 
+          esac
39745
 
+else
39746
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39747
 
+/* end confdefs.h.  */
39748
 
+#include <stdio.h>
39749
 
+
39750
 
+int
39751
 
+main ()
39752
 
+{
39753
 
+return remove ("conftest.dir");
39754
 
+  ;
39755
 
+  return 0;
39756
 
+}
39757
 
+_ACEOF
39758
 
+if ac_fn_c_try_run "$LINENO"; then :
39759
 
+  gl_cv_func_remove_dir_works=yes
39760
 
+else
39761
 
+  gl_cv_func_remove_dir_works=no
39762
 
+fi
39763
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39764
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
39765
 
+fi
39766
 
+
39767
 
+       rm -rf conftest.dir
39768
 
+fi
39769
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_remove_dir_works" >&5
39770
 
+$as_echo "$gl_cv_func_remove_dir_works" >&6; }
39771
 
+    case $gl_cv_func_remove_dir_works in
39772
 
+      *no*) REPLACE_REMOVE=1;;
39773
 
+    esac
39774
 
+  fi
39775
 
+
39776
 
+if test $REPLACE_REMOVE = 1; then
39777
 
+  
39778
 
+  
39779
 
+  
39780
 
+    
39781
 
+      
39782
 
+      
39783
 
+    
39784
 
+  
39785
 
+  gl_LIBOBJS="$gl_LIBOBJS remove.$ac_objext"
39786
 
+
39787
 
+fi
39788
 
+
39789
 
+    
39790
 
+  
39791
 
+  
39792
 
+  
39793
 
+          GNULIB_REMOVE=1
39794
 
+    
39795
 
+
39796
 
+
39797
 
+    
39798
 
+  
39799
 
+$as_echo "@%:@define GNULIB_TEST_REMOVE 1" >>confdefs.h
39800
 
+
39801
 
+
39802
 
+
39803
 
+
39804
 
+  
39805
 
+  
39806
 
+  
39807
 
+
39808
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on destination" >&5
39809
 
+$as_echo_n "checking whether rename honors trailing slash on destination... " >&6; }
39810
 
+if ${gl_cv_func_rename_slash_dst_works+:} false; then :
39811
 
+  $as_echo_n "(cached) " >&6
39812
 
+else
39813
 
+  rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk
39814
 
+    touch conftest.f && touch conftest.f1 && mkdir conftest.d1 ||
39815
 
+      as_fn_error $? "cannot create temporary files" "$LINENO" 5
39816
 
+    # Assume that if we have lstat, we can also check symlinks.
39817
 
+    if test $ac_cv_func_lstat = yes; then
39818
 
+      ln -s conftest.f conftest.lnk
39819
 
+    fi
39820
 
+    if test "$cross_compiling" = yes; then :
39821
 
+        gl_cv_func_rename_slash_dst_works="guessing no"
39822
 
+else
39823
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39824
 
+/* end confdefs.h.  */
39825
 
+
39826
 
+#        include <stdio.h>
39827
 
+#        include <stdlib.h>
39828
 
+         
39829
 
+int
39830
 
+main ()
39831
 
+{
39832
 
+int result = 0;
39833
 
+           if (rename ("conftest.f1", "conftest.f2/") == 0)
39834
 
+             result |= 1;
39835
 
+           if (rename ("conftest.d1", "conftest.d2/") != 0)
39836
 
+             result |= 2;
39837
 
+#if HAVE_LSTAT
39838
 
+           if (rename ("conftest.f", "conftest.lnk/") == 0)
39839
 
+             result |= 4;
39840
 
+#endif
39841
 
+           return result;
39842
 
+         
39843
 
+  ;
39844
 
+  return 0;
39845
 
+}
39846
 
+_ACEOF
39847
 
+if ac_fn_c_try_run "$LINENO"; then :
39848
 
+  gl_cv_func_rename_slash_dst_works=yes
39849
 
+else
39850
 
+  gl_cv_func_rename_slash_dst_works=no
39851
 
+fi
39852
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39853
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
39854
 
+fi
39855
 
+
39856
 
+    rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk
39857
 
+  
39858
 
+fi
39859
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_slash_dst_works" >&5
39860
 
+$as_echo "$gl_cv_func_rename_slash_dst_works" >&6; }
39861
 
+  if test "x$gl_cv_func_rename_slash_dst_works" != xyes; then
39862
 
+    REPLACE_RENAME=1
39863
 
+    
39864
 
+$as_echo "@%:@define RENAME_TRAILING_SLASH_DEST_BUG 1" >>confdefs.h
39865
 
+
39866
 
+  fi
39867
 
+
39868
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on source" >&5
39869
 
+$as_echo_n "checking whether rename honors trailing slash on source... " >&6; }
39870
 
+if ${gl_cv_func_rename_slash_src_works+:} false; then :
39871
 
+  $as_echo_n "(cached) " >&6
39872
 
+else
39873
 
+  rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk
39874
 
+    touch conftest.f && touch conftest.f1 && mkdir conftest.d1 ||
39875
 
+      as_fn_error $? "cannot create temporary files" "$LINENO" 5
39876
 
+    # Assume that if we have lstat, we can also check symlinks.
39877
 
+    if test $ac_cv_func_lstat = yes; then
39878
 
+      ln -s conftest.f conftest.lnk
39879
 
+    fi
39880
 
+    if test "$cross_compiling" = yes; then :
39881
 
+        gl_cv_func_rename_slash_src_works="guessing no"
39882
 
+else
39883
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39884
 
+/* end confdefs.h.  */
39885
 
+
39886
 
+#        include <stdio.h>
39887
 
+#        include <stdlib.h>
39888
 
+         
39889
 
+int
39890
 
+main ()
39891
 
+{
39892
 
+int result = 0;
39893
 
+           if (rename ("conftest.f1/", "conftest.d3") == 0)
39894
 
+             result |= 1;
39895
 
+           if (rename ("conftest.d1/", "conftest.d2") != 0)
39896
 
+             result |= 2;
39897
 
+#if HAVE_LSTAT
39898
 
+           if (rename ("conftest.lnk/", "conftest.f") == 0)
39899
 
+             result |= 4;
39900
 
+#endif
39901
 
+           return result;
39902
 
+         
39903
 
+  ;
39904
 
+  return 0;
39905
 
+}
39906
 
+_ACEOF
39907
 
+if ac_fn_c_try_run "$LINENO"; then :
39908
 
+  gl_cv_func_rename_slash_src_works=yes
39909
 
+else
39910
 
+  gl_cv_func_rename_slash_src_works=no
39911
 
+fi
39912
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39913
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
39914
 
+fi
39915
 
+
39916
 
+    rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk
39917
 
+  
39918
 
+fi
39919
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_slash_src_works" >&5
39920
 
+$as_echo "$gl_cv_func_rename_slash_src_works" >&6; }
39921
 
+  if test "x$gl_cv_func_rename_slash_src_works" != xyes; then
39922
 
+    REPLACE_RENAME=1
39923
 
+    
39924
 
+$as_echo "@%:@define RENAME_TRAILING_SLASH_SOURCE_BUG 1" >>confdefs.h
39925
 
+
39926
 
+  fi
39927
 
+
39928
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages hard links correctly" >&5
39929
 
+$as_echo_n "checking whether rename manages hard links correctly... " >&6; }
39930
 
+if ${gl_cv_func_rename_link_works+:} false; then :
39931
 
+  $as_echo_n "(cached) " >&6
39932
 
+else
39933
 
+  rm -rf conftest.f conftest.f1
39934
 
+    if touch conftest.f && ln conftest.f conftest.f1 &&
39935
 
+        set x `ls -i conftest.f conftest.f1` && test "" = ""; then
39936
 
+      if test "$cross_compiling" = yes; then :
39937
 
+          gl_cv_func_rename_link_works="guessing no"
39938
 
+else
39939
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39940
 
+/* end confdefs.h.  */
39941
 
+
39942
 
+#          include <stdio.h>
39943
 
+#          include <stdlib.h>
39944
 
+#          include <unistd.h>
39945
 
+           
39946
 
+int
39947
 
+main ()
39948
 
+{
39949
 
+int result = 0;
39950
 
+             if (rename ("conftest.f", "conftest.f1"))
39951
 
+               result |= 1;
39952
 
+             if (unlink ("conftest.f1"))
39953
 
+               result |= 2;
39954
 
+             if (rename ("conftest.f", "conftest.f"))
39955
 
+               result |= 4;
39956
 
+             if (rename ("conftest.f1", "conftest.f1") == 0)
39957
 
+               result |= 8;
39958
 
+             return result;
39959
 
+           
39960
 
+  ;
39961
 
+  return 0;
39962
 
+}
39963
 
+_ACEOF
39964
 
+if ac_fn_c_try_run "$LINENO"; then :
39965
 
+  gl_cv_func_rename_link_works=yes
39966
 
+else
39967
 
+  gl_cv_func_rename_link_works=no
39968
 
+fi
39969
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39970
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
39971
 
+fi
39972
 
+
39973
 
+    else
39974
 
+      gl_cv_func_rename_link_works="guessing no"
39975
 
+    fi
39976
 
+    rm -rf conftest.f conftest.f1
39977
 
+  
39978
 
+fi
39979
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_link_works" >&5
39980
 
+$as_echo "$gl_cv_func_rename_link_works" >&6; }
39981
 
+  if test "x$gl_cv_func_rename_link_works" != xyes; then
39982
 
+    REPLACE_RENAME=1
39983
 
+    
39984
 
+$as_echo "@%:@define RENAME_HARD_LINK_BUG 1" >>confdefs.h
39985
 
+
39986
 
+  fi
39987
 
+
39988
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages existing destinations correctly" >&5
39989
 
+$as_echo_n "checking whether rename manages existing destinations correctly... " >&6; }
39990
 
+if ${gl_cv_func_rename_dest_works+:} false; then :
39991
 
+  $as_echo_n "(cached) " >&6
39992
 
+else
39993
 
+  rm -rf conftest.f conftest.d1 conftest.d2
39994
 
+    touch conftest.f && mkdir conftest.d1 conftest.d2 ||
39995
 
+      as_fn_error $? "cannot create temporary files" "$LINENO" 5
39996
 
+    if test "$cross_compiling" = yes; then :
39997
 
+        gl_cv_func_rename_dest_works="guessing no"
39998
 
+else
39999
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40000
 
+/* end confdefs.h.  */
40001
 
+
40002
 
+#        include <stdio.h>
40003
 
+#        include <stdlib.h>
40004
 
+         
40005
 
+int
40006
 
+main ()
40007
 
+{
40008
 
+int result = 0;
40009
 
+           if (rename ("conftest.d1", "conftest.d2") != 0)
40010
 
+             result |= 1;
40011
 
+           if (rename ("conftest.d2", "conftest.f") == 0)
40012
 
+             result |= 2;
40013
 
+           return result;
40014
 
+         
40015
 
+  ;
40016
 
+  return 0;
40017
 
+}
40018
 
+_ACEOF
40019
 
+if ac_fn_c_try_run "$LINENO"; then :
40020
 
+  gl_cv_func_rename_dest_works=yes
40021
 
+else
40022
 
+  gl_cv_func_rename_dest_works=no
40023
 
+fi
40024
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
40025
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
40026
 
+fi
40027
 
+
40028
 
+    rm -rf conftest.f conftest.d1 conftest.d2
40029
 
+  
40030
 
+fi
40031
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_dest_works" >&5
40032
 
+$as_echo "$gl_cv_func_rename_dest_works" >&6; }
40033
 
+  if test "x$gl_cv_func_rename_dest_works" != xyes; then
40034
 
+    REPLACE_RENAME=1
40035
 
+    
40036
 
+$as_echo "@%:@define RENAME_DEST_EXISTS_BUG 1" >>confdefs.h
40037
 
+
40038
 
+  fi
40039
 
+
40040
 
+if test $REPLACE_RENAME = 1; then
40041
 
+  
40042
 
+  
40043
 
+  
40044
 
+    
40045
 
+      
40046
 
+      
40047
 
+    
40048
 
+  
40049
 
+  gl_LIBOBJS="$gl_LIBOBJS rename.$ac_objext"
40050
 
+
40051
 
+fi
40052
 
+
40053
 
+    
40054
 
+  
40055
 
+  
40056
 
+  
40057
 
+          GNULIB_RENAME=1
40058
 
+    
40059
 
+
40060
 
+
40061
 
+    
40062
 
+  
40063
 
+$as_echo "@%:@define GNULIB_TEST_RENAME 1" >>confdefs.h
40064
 
+
40065
 
+
40066
 
+
40067
 
+
40068
 
+  
40069
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rmdir works" >&5
40070
 
+$as_echo_n "checking whether rmdir works... " >&6; }
40071
 
+if ${gl_cv_func_rmdir_works+:} false; then :
40072
 
+  $as_echo_n "(cached) " >&6
40073
 
+else
40074
 
+  mkdir conftest.dir
40075
 
+     touch conftest.file
40076
 
+     if test "$cross_compiling" = yes; then :
40077
 
+  gl_cv_func_rmdir_works="guessing no"
40078
 
+else
40079
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40080
 
+/* end confdefs.h.  */
40081
 
+#include <stdio.h>
40082
 
+           #include <errno.h>
40083
 
+           #include <unistd.h>
40084
 
+
40085
 
+int
40086
 
+main ()
40087
 
+{
40088
 
+int result = 0;
40089
 
+      if (!rmdir ("conftest.file/"))
40090
 
+        result |= 1;
40091
 
+      else if (errno != ENOTDIR)
40092
 
+        result |= 2;
40093
 
+      if (!rmdir ("conftest.dir/./"))
40094
 
+        result |= 4;
40095
 
+      return result;
40096
 
+    
40097
 
+  ;
40098
 
+  return 0;
40099
 
+}
40100
 
+_ACEOF
40101
 
+if ac_fn_c_try_run "$LINENO"; then :
40102
 
+  gl_cv_func_rmdir_works=yes
40103
 
+else
40104
 
+  gl_cv_func_rmdir_works=no
40105
 
+fi
40106
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
40107
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
40108
 
+fi
40109
 
+
40110
 
+     rm -rf conftest.dir conftest.file
40111
 
+fi
40112
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rmdir_works" >&5
40113
 
+$as_echo "$gl_cv_func_rmdir_works" >&6; }
40114
 
+  if test x"$gl_cv_func_rmdir_works" != xyes; then
40115
 
+    REPLACE_RMDIR=1
40116
 
+  fi
40117
 
+
40118
 
+if test $REPLACE_RMDIR = 1; then
40119
 
+  
40120
 
+  
40121
 
+  
40122
 
+    
40123
 
+      
40124
 
+      
40125
 
+    
40126
 
+  
40127
 
+  gl_LIBOBJS="$gl_LIBOBJS rmdir.$ac_objext"
40128
 
+
40129
 
+fi
40130
 
+
40131
 
+    
40132
 
+  
40133
 
+  
40134
 
+  
40135
 
+          GNULIB_RMDIR=1
40136
 
+    
40137
 
+
40138
 
+
40139
 
+    
40140
 
+  
40141
 
+$as_echo "@%:@define GNULIB_TEST_RMDIR 1" >>confdefs.h
40142
 
+
40143
 
+
40144
 
+
40145
 
+
40146
 
+  
40147
 
+  
40148
 
+  
40149
 
+    
40150
 
+      
40151
 
+      
40152
 
+    
40153
 
+  
40154
 
+  gl_LIBOBJS="$gl_LIBOBJS root-dev-ino.$ac_objext"
40155
 
+
40156
 
+
40157
 
+    
40158
 
+  :
40159
 
+
40160
 
+
40161
 
+    
40162
 
+
40163
 
+  
40164
 
+  for ac_func in rpmatch
40165
 
+do :
40166
 
+  ac_fn_c_check_func "$LINENO" "rpmatch" "ac_cv_func_rpmatch"
40167
 
+if test "x$ac_cv_func_rpmatch" = xyes; then :
40168
 
+  cat >>confdefs.h <<_ACEOF
40169
 
+@%:@define HAVE_RPMATCH 1
40170
 
+_ACEOF
40171
 
40172
 
+fi
40173
 
+done
40174
 
+
40175
 
+  if test $ac_cv_func_rpmatch = no; then
40176
 
+    HAVE_RPMATCH=0
40177
 
+  fi
40178
 
+
40179
 
+if test $HAVE_RPMATCH = 0; then
40180
 
+  
40181
 
+  
40182
 
+  
40183
 
+    
40184
 
+      
40185
 
+      
40186
 
+    
40187
 
+  
40188
 
+  gl_LIBOBJS="$gl_LIBOBJS rpmatch.$ac_objext"
40189
 
+
40190
 
+  
40191
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and YESEXPR" >&5
40192
 
+$as_echo_n "checking for nl_langinfo and YESEXPR... " >&6; }
40193
 
+if ${gl_cv_langinfo_yesexpr+:} false; then :
40194
 
+  $as_echo_n "(cached) " >&6
40195
 
+else
40196
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40197
 
+/* end confdefs.h.  */
40198
 
+#include <langinfo.h>
40199
 
+int
40200
 
+main ()
40201
 
+{
40202
 
+char* cs = nl_langinfo(YESEXPR); return !cs;
40203
 
+  ;
40204
 
+  return 0;
40205
 
+}
40206
 
+_ACEOF
40207
 
+if ac_fn_c_try_link "$LINENO"; then :
40208
 
+  gl_cv_langinfo_yesexpr=yes
40209
 
+else
40210
 
+  gl_cv_langinfo_yesexpr=no
40211
 
+fi
40212
 
+rm -f core conftest.err conftest.$ac_objext \
40213
 
+    conftest$ac_exeext conftest.$ac_ext
40214
 
+    
40215
 
+fi
40216
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_langinfo_yesexpr" >&5
40217
 
+$as_echo "$gl_cv_langinfo_yesexpr" >&6; }
40218
 
+  if test $gl_cv_langinfo_yesexpr = yes; then
40219
 
+    
40220
 
+$as_echo "@%:@define HAVE_LANGINFO_YESEXPR 1" >>confdefs.h
40221
 
+
40222
 
+  fi
40223
 
+
40224
 
+fi
40225
 
+
40226
 
+    
40227
 
+  
40228
 
+  
40229
 
+  
40230
 
+          GNULIB_RPMATCH=1
40231
 
+    
40232
 
+
40233
 
+
40234
 
+    
40235
 
+  
40236
 
+$as_echo "@%:@define GNULIB_TEST_RPMATCH 1" >>confdefs.h
40237
 
+
40238
 
+
40239
 
+
40240
 
+
40241
 
+  
40242
 
+
40243
 
+
40244
 
+  
40245
 
+  
40246
 
+
40247
 
+
40248
 
+
40249
 
+  
40250
 
+  
40251
 
+
40252
 
+
40253
 
+  
40254
 
+
40255
 
+
40256
 
+  :
40257
 
+
40258
 
+
40259
 
+
40260
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40261
 
+/* end confdefs.h.  */
40262
 
+
40263
 
+       #include <sched.h>
40264
 
+       struct sched_param a;
40265
 
+       int b[] = { SCHED_FIFO, SCHED_RR, SCHED_OTHER };
40266
 
+     
40267
 
+int
40268
 
+main ()
40269
 
+{
40270
 
+
40271
 
+  ;
40272
 
+  return 0;
40273
 
+}
40274
 
+_ACEOF
40275
 
+if ac_fn_c_try_compile "$LINENO"; then :
40276
 
+  SCHED_H=''
40277
 
+else
40278
 
+  SCHED_H='sched.h'
40279
 
+
40280
 
+     
40281
 
+  
40282
 
+  
40283
 
+  
40284
 
+
40285
 
+  
40286
 
+    
40287
 
+
40288
 
+  
40289
 
+     if test $gl_cv_have_include_next = yes; then
40290
 
+       gl_cv_next_sched_h='<'sched.h'>'
40291
 
+     else
40292
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sched.h>" >&5
40293
 
+$as_echo_n "checking absolute name of <sched.h>... " >&6; }
40294
 
+if ${gl_cv_next_sched_h+:} false; then :
40295
 
+  $as_echo_n "(cached) " >&6
40296
 
+else
40297
 
+  
40298
 
+             if test $ac_cv_header_sched_h = yes; then
40299
 
+             
40300
 
+            
40301
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40302
 
+/* end confdefs.h.  */
40303
 
+#include <sched.h>
40304
 
+                  
40305
 
+_ACEOF
40306
 
+                                                                                                                        case "$host_os" in
40307
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
40308
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
40309
 
+               esac
40310
 
+                                                            gl_cv_next_sched_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
40311
 
+                  sed -n '\#/sched.h#{
40312
 
+                    s#.*"\(.*/sched.h\)".*#\1#
40313
 
+                    s#^/[^/]#//&#
40314
 
+                    p
40315
 
+                    q
40316
 
+                  }'`'"'
40317
 
+          else
40318
 
+               gl_cv_next_sched_h='<'sched.h'>'
40319
 
+             fi
40320
 
+            
40321
 
+         
40322
 
+fi
40323
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sched_h" >&5
40324
 
+$as_echo "$gl_cv_next_sched_h" >&6; }
40325
 
+     fi
40326
 
+     NEXT_SCHED_H=$gl_cv_next_sched_h
40327
 
+
40328
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
40329
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
40330
 
+       gl_next_as_first_directive='<'sched.h'>'
40331
 
+     else
40332
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
40333
 
+       gl_next_as_first_directive=$gl_cv_next_sched_h
40334
 
+     fi
40335
 
+     NEXT_AS_FIRST_DIRECTIVE_SCHED_H=$gl_next_as_first_directive
40336
 
+
40337
 
+     
40338
 
+
40339
 
+
40340
 
+
40341
 
+     if test $ac_cv_header_sched_h = yes; then
40342
 
+       HAVE_SCHED_H=1
40343
 
+     else
40344
 
+       HAVE_SCHED_H=0
40345
 
+     fi
40346
 
+     
40347
 
+
40348
 
+     ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include <sched.h>
40349
 
+"
40350
 
+if test "x$ac_cv_type_struct_sched_param" = xyes; then :
40351
 
+  HAVE_STRUCT_SCHED_PARAM=1
40352
 
+else
40353
 
+  HAVE_STRUCT_SCHED_PARAM=0
40354
 
+fi
40355
 
+
40356
 
+     
40357
 
+    
40358
 
+fi
40359
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40360
 
+  
40361
 
+   if test -n "$SCHED_H"; then
40362
 
+  GL_GENERATE_SCHED_H_TRUE=
40363
 
+  GL_GENERATE_SCHED_H_FALSE='#'
40364
 
+else
40365
 
+  GL_GENERATE_SCHED_H_TRUE='#'
40366
 
+  GL_GENERATE_SCHED_H_FALSE=
40367
 
+fi
40368
 
+
40369
 
+
40370
 
+
40371
 
+  
40372
 
+     
40373
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
40374
 
+    REPLACE_SELECT=1
40375
 
+  else
40376
 
+            
40377
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether select supports a 0 argument" >&5
40378
 
+$as_echo_n "checking whether select supports a 0 argument... " >&6; }
40379
 
+if ${gl_cv_func_select_supports0+:} false; then :
40380
 
+  $as_echo_n "(cached) " >&6
40381
 
+else
40382
 
+  
40383
 
+        if test "$cross_compiling" = yes; then :
40384
 
+  
40385
 
+           case "$host_os" in
40386
 
+                       # Guess no on Interix.
40387
 
+             interix*) gl_cv_func_select_supports0="guessing no";;
40388
 
+                       # Guess yes otherwise.
40389
 
+             *)        gl_cv_func_select_supports0="guessing yes";;
40390
 
+           esac
40391
 
+          
40392
 
+else
40393
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40394
 
+/* end confdefs.h.  */
40395
 
+
40396
 
+#include <sys/types.h>
40397
 
+#include <sys/time.h>
40398
 
+#if HAVE_SYS_SELECT_H
40399
 
+#include <sys/select.h>
40400
 
+#endif
40401
 
+int main ()
40402
 
+{
40403
 
+  struct timeval timeout;
40404
 
+  timeout.tv_sec = 0;
40405
 
+  timeout.tv_usec = 5;
40406
 
+  return select (0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &timeout) < 0;
40407
 
+}
40408
 
+_ACEOF
40409
 
+if ac_fn_c_try_run "$LINENO"; then :
40410
 
+  gl_cv_func_select_supports0=yes
40411
 
+else
40412
 
+  gl_cv_func_select_supports0=no
40413
 
+fi
40414
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
40415
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
40416
 
+fi
40417
 
+
40418
 
+      
40419
 
+fi
40420
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_select_supports0" >&5
40421
 
+$as_echo "$gl_cv_func_select_supports0" >&6; }
40422
 
+    case "$gl_cv_func_select_supports0" in
40423
 
+      *yes) ;;
40424
 
+      *) REPLACE_SELECT=1 ;;
40425
 
+    esac
40426
 
+  fi
40427
 
+
40428
 
+if test $REPLACE_SELECT = 1; then
40429
 
+  
40430
 
+  
40431
 
+  
40432
 
+    
40433
 
+      
40434
 
+      
40435
 
+    
40436
 
+  
40437
 
+  gl_LIBOBJS="$gl_LIBOBJS select.$ac_objext"
40438
 
+
40439
 
+fi
40440
 
+
40441
 
+    
40442
 
+  
40443
 
+  
40444
 
+  
40445
 
+          GNULIB_SELECT=1
40446
 
+    
40447
 
+
40448
 
+
40449
 
+    
40450
 
+  
40451
 
+$as_echo "@%:@define GNULIB_TEST_SELECT 1" >>confdefs.h
40452
 
+
40453
 
+
40454
 
+
40455
 
+for ac_header in selinux/flask.h
40456
 
+do :
40457
 
+  ac_fn_c_check_header_mongrel "$LINENO" "selinux/flask.h" "ac_cv_header_selinux_flask_h" "$ac_includes_default"
40458
 
+if test "x$ac_cv_header_selinux_flask_h" = xyes; then :
40459
 
+  cat >>confdefs.h <<_ACEOF
40460
 
+@%:@define HAVE_SELINUX_FLASK_H 1
40461
 
+_ACEOF
40462
 
40463
 
+fi
40464
 
+
40465
 
+done
40466
 
+
40467
 
+
40468
 
+  
40469
 
+  
40470
 
+    
40471
 
+      
40472
 
+      
40473
 
+    
40474
 
+  
40475
 
+  gl_LIBOBJS="$gl_LIBOBJS selinux-at.$ac_objext"
40476
 
+
40477
 
+
40478
 
+  
40479
 
+  if test "$with_selinux" != no; then
40480
 
+    for ac_header in selinux/selinux.h
40481
 
+do :
40482
 
+  ac_fn_c_check_header_mongrel "$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default"
40483
 
+if test "x$ac_cv_header_selinux_selinux_h" = xyes; then :
40484
 
+  cat >>confdefs.h <<_ACEOF
40485
 
+@%:@define HAVE_SELINUX_SELINUX_H 1
40486
 
+_ACEOF
40487
 
40488
 
+fi
40489
 
+
40490
 
+done
40491
 
+
40492
 
+
40493
 
+    if test "$ac_cv_header_selinux_selinux_h" = yes; then
40494
 
+      # We do have <selinux/selinux.h>, so do compile getfilecon.c
40495
 
+      # and arrange to use its wrappers.
40496
 
+      
40497
 
+  
40498
 
+  
40499
 
+  
40500
 
+
40501
 
+  
40502
 
+    
40503
 
+
40504
 
+  
40505
 
+     if test $gl_cv_have_include_next = yes; then
40506
 
+       gl_cv_next_selinux_selinux_h='<'selinux/selinux.h'>'
40507
 
+     else
40508
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <selinux/selinux.h>" >&5
40509
 
+$as_echo_n "checking absolute name of <selinux/selinux.h>... " >&6; }
40510
 
+if ${gl_cv_next_selinux_selinux_h+:} false; then :
40511
 
+  $as_echo_n "(cached) " >&6
40512
 
+else
40513
 
+  
40514
 
+             if test $ac_cv_header_selinux_selinux_h = yes; then
40515
 
+             
40516
 
+            
40517
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40518
 
+/* end confdefs.h.  */
40519
 
+#include <selinux/selinux.h>
40520
 
+                  
40521
 
+_ACEOF
40522
 
+                                                                                                                        case "$host_os" in
40523
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
40524
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
40525
 
+               esac
40526
 
+                                                            gl_cv_next_selinux_selinux_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
40527
 
+                  sed -n '\#/selinux/selinux.h#{
40528
 
+                    s#.*"\(.*/selinux/selinux.h\)".*#\1#
40529
 
+                    s#^/[^/]#//&#
40530
 
+                    p
40531
 
+                    q
40532
 
+                  }'`'"'
40533
 
+          else
40534
 
+               gl_cv_next_selinux_selinux_h='<'selinux/selinux.h'>'
40535
 
+             fi
40536
 
+            
40537
 
+         
40538
 
+fi
40539
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_selinux_selinux_h" >&5
40540
 
+$as_echo "$gl_cv_next_selinux_selinux_h" >&6; }
40541
 
+     fi
40542
 
+     NEXT_SELINUX_SELINUX_H=$gl_cv_next_selinux_selinux_h
40543
 
+
40544
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
40545
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
40546
 
+       gl_next_as_first_directive='<'selinux/selinux.h'>'
40547
 
+     else
40548
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
40549
 
+       gl_next_as_first_directive=$gl_cv_next_selinux_selinux_h
40550
 
+     fi
40551
 
+     NEXT_AS_FIRST_DIRECTIVE_SELINUX_SELINUX_H=$gl_next_as_first_directive
40552
 
+
40553
 
+     
40554
 
+
40555
 
+
40556
 
+      
40557
 
+$as_echo "@%:@define getfilecon rpl_getfilecon" >>confdefs.h
40558
 
+
40559
 
+      
40560
 
+$as_echo "@%:@define lgetfilecon rpl_lgetfilecon" >>confdefs.h
40561
 
+
40562
 
+      
40563
 
+$as_echo "@%:@define fgetfilecon rpl_fgetfilecon" >>confdefs.h
40564
 
+
40565
 
+    fi
40566
 
+
40567
 
+    case "$ac_cv_search_setfilecon:$ac_cv_header_selinux_selinux_h" in
40568
 
+      no:*) # already warned
40569
 
+        ;;
40570
 
+      *:no)
40571
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libselinux was found but selinux/selinux.h is missing." >&5
40572
 
+$as_echo "$as_me: WARNING: libselinux was found but selinux/selinux.h is missing." >&2;}
40573
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU coreutils will be compiled without SELinux support." >&5
40574
 
+$as_echo "$as_me: WARNING: GNU coreutils will be compiled without SELinux support." >&2;}
40575
 
+    esac
40576
 
+  else
40577
 
+    # Do as if <selinux/selinux.h> does not exist, even if
40578
 
+    # AC_CHECK_HEADERS_ONCE has already determined that it exists.
40579
 
+    $as_echo "@%:@define HAVE_SELINUX_SELINUX_H 0" >>confdefs.h
40580
 
+
40581
 
+  fi
40582
 
+
40583
 
+
40584
 
+  
40585
 
+  if test "$with_selinux" != no; then
40586
 
+    for ac_header in selinux/context.h
40587
 
+do :
40588
 
+  ac_fn_c_check_header_mongrel "$LINENO" "selinux/context.h" "ac_cv_header_selinux_context_h" "$ac_includes_default"
40589
 
+if test "x$ac_cv_header_selinux_context_h" = xyes; then :
40590
 
+  cat >>confdefs.h <<_ACEOF
40591
 
+@%:@define HAVE_SELINUX_CONTEXT_H 1
40592
 
+_ACEOF
40593
 
+ SELINUX_CONTEXT_H=
40594
 
+else
40595
 
+  SELINUX_CONTEXT_H=selinux/context.h
40596
 
+fi
40597
 
+
40598
 
+done
40599
 
+
40600
 
+  else
40601
 
+    SELINUX_CONTEXT_H=selinux/context.h
40602
 
+  fi
40603
 
+  
40604
 
+   if test -n "$SELINUX_CONTEXT_H"; then
40605
 
+  GL_GENERATE_SELINUX_CONTEXT_H_TRUE=
40606
 
+  GL_GENERATE_SELINUX_CONTEXT_H_FALSE='#'
40607
 
+else
40608
 
+  GL_GENERATE_SELINUX_CONTEXT_H_TRUE='#'
40609
 
+  GL_GENERATE_SELINUX_CONTEXT_H_FALSE=
40610
 
+fi
40611
 
+
40612
 
+
40613
 
+
40614
 
+if test "$with_selinux" != no && test "$ac_cv_header_selinux_selinux_h" = yes; then
40615
 
+  
40616
 
+  
40617
 
+  
40618
 
+    
40619
 
+      
40620
 
+      
40621
 
+    
40622
 
+  
40623
 
+  gl_LIBOBJS="$gl_LIBOBJS getfilecon.$ac_objext"
40624
 
+
40625
 
+fi
40626
 
+
40627
 
+                      SERVENT_LIB=
40628
 
+  gl_saved_libs="$LIBS"
40629
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5
40630
 
+$as_echo_n "checking for library containing getservbyname... " >&6; }
40631
 
+if ${ac_cv_search_getservbyname+:} false; then :
40632
 
+  $as_echo_n "(cached) " >&6
40633
 
+else
40634
 
+  ac_func_search_save_LIBS=$LIBS
40635
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40636
 
+/* end confdefs.h.  */
40637
 
+
40638
 
+/* Override any GCC internal prototype to avoid an error.
40639
 
+   Use char because int might match the return type of a GCC
40640
 
+   builtin and then its argument prototype would still apply.  */
40641
 
+#ifdef __cplusplus
40642
 
+extern "C"
40643
 
+#endif
40644
 
+char getservbyname ();
40645
 
+int
40646
 
+main ()
40647
 
+{
40648
 
+return getservbyname ();
40649
 
+  ;
40650
 
+  return 0;
40651
 
+}
40652
 
+_ACEOF
40653
 
+for ac_lib in '' socket network net; do
40654
 
+  if test -z "$ac_lib"; then
40655
 
+    ac_res="none required"
40656
 
+  else
40657
 
+    ac_res=-l$ac_lib
40658
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
40659
 
+  fi
40660
 
+  if ac_fn_c_try_link "$LINENO"; then :
40661
 
+  ac_cv_search_getservbyname=$ac_res
40662
 
+fi
40663
 
+rm -f core conftest.err conftest.$ac_objext \
40664
 
+    conftest$ac_exeext
40665
 
+  if ${ac_cv_search_getservbyname+:} false; then :
40666
 
+  break
40667
 
+fi
40668
 
+done
40669
 
+if ${ac_cv_search_getservbyname+:} false; then :
40670
 
+  
40671
 
+else
40672
 
+  ac_cv_search_getservbyname=no
40673
 
+fi
40674
 
+rm conftest.$ac_ext
40675
 
+LIBS=$ac_func_search_save_LIBS
40676
 
+fi
40677
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5
40678
 
+$as_echo "$ac_cv_search_getservbyname" >&6; }
40679
 
+ac_res=$ac_cv_search_getservbyname
40680
 
+if test "$ac_res" != no; then :
40681
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
40682
 
+  if test "$ac_cv_search_getservbyname" != "none required"; then
40683
 
+       SERVENT_LIB="$ac_cv_search_getservbyname"
40684
 
+     fi
40685
 
+fi
40686
 
+
40687
 
+  LIBS="$gl_saved_libs"
40688
 
+  if test -z "$SERVENT_LIB"; then
40689
 
+    for ac_func in getservbyname
40690
 
+do :
40691
 
+  ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
40692
 
+if test "x$ac_cv_func_getservbyname" = xyes; then :
40693
 
+  cat >>confdefs.h <<_ACEOF
40694
 
+@%:@define HAVE_GETSERVBYNAME 1
40695
 
+_ACEOF
40696
 
40697
 
+else
40698
 
+  
40699
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5
40700
 
+$as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; }
40701
 
+if ${gl_cv_w32_getservbyname+:} false; then :
40702
 
+  $as_echo_n "(cached) " >&6
40703
 
+else
40704
 
+  gl_cv_w32_getservbyname=no
40705
 
+         gl_save_LIBS="$LIBS"
40706
 
+         LIBS="$LIBS -lws2_32"
40707
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40708
 
+/* end confdefs.h.  */
40709
 
+
40710
 
+#ifdef HAVE_WINSOCK2_H
40711
 
+#include <winsock2.h>
40712
 
+#endif
40713
 
+#include <stddef.h>
40714
 
+              
40715
 
+int
40716
 
+main ()
40717
 
+{
40718
 
+getservbyname(NULL,NULL);
40719
 
+  ;
40720
 
+  return 0;
40721
 
+}
40722
 
+_ACEOF
40723
 
+if ac_fn_c_try_link "$LINENO"; then :
40724
 
+  gl_cv_w32_getservbyname=yes
40725
 
+fi
40726
 
+rm -f core conftest.err conftest.$ac_objext \
40727
 
+    conftest$ac_exeext conftest.$ac_ext
40728
 
+         LIBS="$gl_save_LIBS"
40729
 
+        
40730
 
+fi
40731
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getservbyname" >&5
40732
 
+$as_echo "$gl_cv_w32_getservbyname" >&6; }
40733
 
+      if test "$gl_cv_w32_getservbyname" = "yes"; then
40734
 
+        SERVENT_LIB="-lws2_32"
40735
 
+      fi
40736
 
+    
40737
 
+fi
40738
 
+done
40739
 
+
40740
 
+  fi
40741
 
+  
40742
 
+
40743
 
+
40744
 
+  
40745
 
+  if test $ac_cv_func_setenv = no; then
40746
 
+    HAVE_SETENV=0
40747
 
+  else
40748
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setenv validates arguments" >&5
40749
 
+$as_echo_n "checking whether setenv validates arguments... " >&6; }
40750
 
+if ${gl_cv_func_setenv_works+:} false; then :
40751
 
+  $as_echo_n "(cached) " >&6
40752
 
+else
40753
 
+  if test "$cross_compiling" = yes; then :
40754
 
+  gl_cv_func_setenv_works="guessing no"
40755
 
+else
40756
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40757
 
+/* end confdefs.h.  */
40758
 
+
40759
 
+       #include <stdlib.h>
40760
 
+       #include <errno.h>
40761
 
+       #include <string.h>
40762
 
+      
40763
 
+int
40764
 
+main ()
40765
 
+{
40766
 
+
40767
 
+       int result = 0;
40768
 
+       {
40769
 
+         if (setenv ("", "", 0) != -1)
40770
 
+           result |= 1;
40771
 
+         else if (errno != EINVAL)
40772
 
+           result |= 2;
40773
 
+       }
40774
 
+       {
40775
 
+         if (setenv ("a", "=", 1) != 0)
40776
 
+           result |= 4;
40777
 
+         else if (strcmp (getenv ("a"), "=") != 0)
40778
 
+           result |= 8;
40779
 
+       }
40780
 
+       return result;
40781
 
+      
40782
 
+  ;
40783
 
+  return 0;
40784
 
+}
40785
 
+_ACEOF
40786
 
+if ac_fn_c_try_run "$LINENO"; then :
40787
 
+  gl_cv_func_setenv_works=yes
40788
 
+else
40789
 
+  gl_cv_func_setenv_works=no
40790
 
+fi
40791
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
40792
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
40793
 
+fi
40794
 
+
40795
 
+fi
40796
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_setenv_works" >&5
40797
 
+$as_echo "$gl_cv_func_setenv_works" >&6; }
40798
 
+    if test "$gl_cv_func_setenv_works" != yes; then
40799
 
+      REPLACE_SETENV=1
40800
 
+    fi
40801
 
+  fi
40802
 
+
40803
 
+if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
40804
 
+  
40805
 
+  
40806
 
+  
40807
 
+    
40808
 
+      
40809
 
+      
40810
 
+    
40811
 
+  
40812
 
+  gl_LIBOBJS="$gl_LIBOBJS setenv.$ac_objext"
40813
 
+
40814
 
+fi
40815
 
+
40816
 
+    
40817
 
+  
40818
 
+  
40819
 
+  
40820
 
+          GNULIB_SETENV=1
40821
 
+    
40822
 
+
40823
 
+
40824
 
+    
40825
 
+  
40826
 
+$as_echo "@%:@define GNULIB_TEST_SETENV 1" >>confdefs.h
40827
 
+
40828
 
+
40829
 
+
40830
 
+
40831
 
+    
40832
 
+  
40833
 
+  
40834
 
+
40835
 
+
40836
 
+  for ac_func in sig2str
40837
 
+do :
40838
 
+  ac_fn_c_check_func "$LINENO" "sig2str" "ac_cv_func_sig2str"
40839
 
+if test "x$ac_cv_func_sig2str" = xyes; then :
40840
 
+  cat >>confdefs.h <<_ACEOF
40841
 
+@%:@define HAVE_SIG2STR 1
40842
 
+_ACEOF
40843
 
40844
 
+fi
40845
 
+done
40846
 
+
40847
 
+
40848
 
+if test $ac_cv_func_sig2str = no; then
40849
 
+  
40850
 
+  
40851
 
+  
40852
 
+    
40853
 
+      
40854
 
+      
40855
 
+    
40856
 
+  
40857
 
+  gl_LIBOBJS="$gl_LIBOBJS sig2str.$ac_objext"
40858
 
+
40859
 
+  
40860
 
+  :
40861
 
+
40862
 
+fi
40863
 
+
40864
 
+  
40865
 
+  
40866
 
+  if test $ac_cv_func_sigaction = yes; then
40867
 
+    ac_fn_c_check_member "$LINENO" "struct sigaction" "sa_sigaction" "ac_cv_member_struct_sigaction_sa_sigaction" "#include <signal.h>
40868
 
+"
40869
 
+if test "x$ac_cv_member_struct_sigaction_sa_sigaction" = xyes; then :
40870
 
+  
40871
 
+cat >>confdefs.h <<_ACEOF
40872
 
+@%:@define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1
40873
 
+_ACEOF
40874
 
+
40875
 
+
40876
 
+fi
40877
 
+
40878
 
+    if test $ac_cv_member_struct_sigaction_sa_sigaction = no; then
40879
 
+      HAVE_STRUCT_SIGACTION_SA_SIGACTION=0
40880
 
+    fi
40881
 
+  else
40882
 
+    HAVE_SIGACTION=0
40883
 
+  fi
40884
 
+
40885
 
+if test $HAVE_SIGACTION = 0; then
40886
 
+  
40887
 
+  
40888
 
+  
40889
 
+    
40890
 
+      
40891
 
+      
40892
 
+    
40893
 
+  
40894
 
+  gl_LIBOBJS="$gl_LIBOBJS sigaction.$ac_objext"
40895
 
+
40896
 
+  
40897
 
+  
40898
 
+  
40899
 
+  
40900
 
+  
40901
 
+  
40902
 
+  ac_fn_c_check_type "$LINENO" "siginfo_t" "ac_cv_type_siginfo_t" "
40903
 
+#include <signal.h>
40904
 
+  
40905
 
+"
40906
 
+if test "x$ac_cv_type_siginfo_t" = xyes; then :
40907
 
+  
40908
 
+cat >>confdefs.h <<_ACEOF
40909
 
+@%:@define HAVE_SIGINFO_T 1
40910
 
+_ACEOF
40911
 
+
40912
 
+
40913
 
+fi
40914
 
+
40915
 
+  if test $ac_cv_type_siginfo_t = no; then
40916
 
+    HAVE_SIGINFO_T=0
40917
 
+  fi
40918
 
+
40919
 
+fi
40920
 
+
40921
 
+    
40922
 
+  
40923
 
+  
40924
 
+  
40925
 
+          GNULIB_SIGACTION=1
40926
 
+    
40927
 
+
40928
 
+
40929
 
+    
40930
 
+  
40931
 
+$as_echo "@%:@define GNULIB_TEST_SIGACTION 1" >>confdefs.h
40932
 
+
40933
 
+
40934
 
+
40935
 
+
40936
 
+  
40937
 
+  
40938
 
+  
40939
 
+  
40940
 
+  
40941
 
+  
40942
 
+
40943
 
+  
40944
 
+
40945
 
+  
40946
 
+     if test $gl_cv_have_include_next = yes; then
40947
 
+       gl_cv_next_signal_h='<'signal.h'>'
40948
 
+     else
40949
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <signal.h>" >&5
40950
 
+$as_echo_n "checking absolute name of <signal.h>... " >&6; }
40951
 
+if ${gl_cv_next_signal_h+:} false; then :
40952
 
+  $as_echo_n "(cached) " >&6
40953
 
+else
40954
 
+  
40955
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40956
 
+/* end confdefs.h.  */
40957
 
+#include <signal.h>
40958
 
+                  
40959
 
+_ACEOF
40960
 
+                                                                                                                        case "$host_os" in
40961
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
40962
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
40963
 
+               esac
40964
 
+                                                            gl_cv_next_signal_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
40965
 
+                  sed -n '\#/signal.h#{
40966
 
+                    s#.*"\(.*/signal.h\)".*#\1#
40967
 
+                    s#^/[^/]#//&#
40968
 
+                    p
40969
 
+                    q
40970
 
+                  }'`'"'
40971
 
+          
40972
 
+         
40973
 
+fi
40974
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_signal_h" >&5
40975
 
+$as_echo "$gl_cv_next_signal_h" >&6; }
40976
 
+     fi
40977
 
+     NEXT_SIGNAL_H=$gl_cv_next_signal_h
40978
 
+
40979
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
40980
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
40981
 
+       gl_next_as_first_directive='<'signal.h'>'
40982
 
+     else
40983
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
40984
 
+       gl_next_as_first_directive=$gl_cv_next_signal_h
40985
 
+     fi
40986
 
+     NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H=$gl_next_as_first_directive
40987
 
+
40988
 
+     
40989
 
+
40990
 
+
40991
 
+
40992
 
+# AIX declares sig_atomic_t to already include volatile, and C89 compilers
40993
 
+# then choke on 'volatile sig_atomic_t'.  C99 requires that it compile.
40994
 
+  ac_fn_c_check_type "$LINENO" "volatile sig_atomic_t" "ac_cv_type_volatile_sig_atomic_t" "
40995
 
+#include <signal.h>
40996
 
+    
40997
 
+"
40998
 
+if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes; then :
40999
 
+  
41000
 
+else
41001
 
+  HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0
41002
 
+fi
41003
 
+
41004
 
+
41005
 
+  
41006
 
+
41007
 
+    
41008
 
+  ac_fn_c_check_type "$LINENO" "sighandler_t" "ac_cv_type_sighandler_t" "
41009
 
+#include <signal.h>
41010
 
+    
41011
 
+"
41012
 
+if test "x$ac_cv_type_sighandler_t" = xyes; then :
41013
 
+  
41014
 
+else
41015
 
+  HAVE_SIGHANDLER_T=0
41016
 
+fi
41017
 
+
41018
 
+
41019
 
+      
41020
 
+    for gl_func in pthread_sigmask sigaction     sigaddset sigdelset sigemptyset sigfillset sigismember     sigpending sigprocmask; do
41021
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
41022
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
41023
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
41024
 
+if eval \${$as_gl_Symbol+:} false; then :
41025
 
+  $as_echo_n "(cached) " >&6
41026
 
+else
41027
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41028
 
+/* end confdefs.h.  */
41029
 
+#include <signal.h>
41030
 
+    
41031
 
+int
41032
 
+main ()
41033
 
+{
41034
 
+@%:@undef $gl_func
41035
 
+  (void) $gl_func;
41036
 
+  ;
41037
 
+  return 0;
41038
 
+}
41039
 
+_ACEOF
41040
 
+if ac_fn_c_try_compile "$LINENO"; then :
41041
 
+  eval "$as_gl_Symbol=yes"
41042
 
+else
41043
 
+  eval "$as_gl_Symbol=no"
41044
 
+fi
41045
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41046
 
+fi
41047
 
+eval ac_res=\$$as_gl_Symbol
41048
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
41049
 
+$as_echo "$ac_res" >&6; }
41050
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
41051
 
+  cat >>confdefs.h <<_ACEOF
41052
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
41053
 
+_ACEOF
41054
 
+
41055
 
+                     eval ac_cv_have_decl_$gl_func=yes
41056
 
+fi
41057
 
+      done
41058
 
+
41059
 
+
41060
 
+
41061
 
+  
41062
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit macro" >&5
41063
 
+$as_echo_n "checking for signbit macro... " >&6; }
41064
 
+if ${gl_cv_func_signbit+:} false; then :
41065
 
+  $as_echo_n "(cached) " >&6
41066
 
+else
41067
 
+  
41068
 
+      if test "$cross_compiling" = yes; then :
41069
 
+  gl_cv_func_signbit="guessing no"
41070
 
+else
41071
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41072
 
+/* end confdefs.h.  */
41073
 
+
41074
 
+#include <math.h>
41075
 
+/* If signbit is defined as a function, don't use it, since calling it for
41076
 
+   'float' or 'long double' arguments would involve conversions.
41077
 
+   If signbit is not declared at all but exists as a library function, don't
41078
 
+   use it, since the prototype may not match.
41079
 
+   If signbit is not declared at all but exists as a compiler built-in, don't
41080
 
+   use it, since it's preferable to use __builtin_signbit* (no warnings,
41081
 
+   no conversions).  */
41082
 
+#ifndef signbit
41083
 
+# error "signbit should be a macro"
41084
 
+#endif
41085
 
+#include <string.h>
41086
 
+
41087
 
+/* Global variables.
41088
 
+   Needed because GCC 4 constant-folds __builtin_signbitl (literal)
41089
 
+   but cannot constant-fold            __builtin_signbitl (variable).  */
41090
 
+float vf;
41091
 
+double vd;
41092
 
+long double vl;
41093
 
+int main ()
41094
 
+{
41095
 
+/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
41096
 
+   So we use -p0f and -p0d instead.  */
41097
 
+float p0f = 0.0f;
41098
 
+float m0f = -p0f;
41099
 
+double p0d = 0.0;
41100
 
+double m0d = -p0d;
41101
 
+/* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
41102
 
+   So we use another constant expression instead.
41103
 
+   But that expression does not work on other platforms, such as when
41104
 
+   cross-compiling to PowerPC on MacOS X 10.5.  */
41105
 
+long double p0l = 0.0L;
41106
 
+#if defined __hpux || defined __sgi
41107
 
+long double m0l = -LDBL_MIN * LDBL_MIN;
41108
 
+#else
41109
 
+long double m0l = -p0l;
41110
 
+#endif
41111
 
+  int result = 0;
41112
 
+  if (signbit (vf)) /* link check */
41113
 
+    vf++;
41114
 
+  {
41115
 
+    float plus_inf = 1.0f / p0f;
41116
 
+    float minus_inf = -1.0f / p0f;
41117
 
+    if (!(!signbit (255.0f)
41118
 
+          && signbit (-255.0f)
41119
 
+          && !signbit (p0f)
41120
 
+          && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f))
41121
 
+          && !signbit (plus_inf)
41122
 
+          && signbit (minus_inf)))
41123
 
+      result |= 1;
41124
 
+  }
41125
 
+  if (signbit (vd)) /* link check */
41126
 
+    vd++;
41127
 
+  {
41128
 
+    double plus_inf = 1.0 / p0d;
41129
 
+    double minus_inf = -1.0 / p0d;
41130
 
+    if (!(!signbit (255.0)
41131
 
+          && signbit (-255.0)
41132
 
+          && !signbit (p0d)
41133
 
+          && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d))
41134
 
+          && !signbit (plus_inf)
41135
 
+          && signbit (minus_inf)))
41136
 
+      result |= 2;
41137
 
+  }
41138
 
+  if (signbit (vl)) /* link check */
41139
 
+    vl++;
41140
 
+  {
41141
 
+    long double plus_inf = 1.0L / p0l;
41142
 
+    long double minus_inf = -1.0L / p0l;
41143
 
+    if (signbit (255.0L))
41144
 
+      result |= 4;
41145
 
+    if (!signbit (-255.0L))
41146
 
+      result |= 4;
41147
 
+    if (signbit (p0l))
41148
 
+      result |= 8;
41149
 
+    if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l)))
41150
 
+      result |= 16;
41151
 
+    if (signbit (plus_inf))
41152
 
+      result |= 32;
41153
 
+    if (!signbit (minus_inf))
41154
 
+      result |= 64;
41155
 
+  }
41156
 
+  return result;
41157
 
+}
41158
 
+
41159
 
+
41160
 
+_ACEOF
41161
 
+if ac_fn_c_try_run "$LINENO"; then :
41162
 
+  gl_cv_func_signbit=yes
41163
 
+else
41164
 
+  gl_cv_func_signbit=no
41165
 
+fi
41166
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41167
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
41168
 
+fi
41169
 
+
41170
 
+    
41171
 
+fi
41172
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_signbit" >&5
41173
 
+$as_echo "$gl_cv_func_signbit" >&6; }
41174
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit compiler built-ins" >&5
41175
 
+$as_echo_n "checking for signbit compiler built-ins... " >&6; }
41176
 
+if ${gl_cv_func_signbit_gcc+:} false; then :
41177
 
+  $as_echo_n "(cached) " >&6
41178
 
+else
41179
 
+  
41180
 
+      if test "$cross_compiling" = yes; then :
41181
 
+  gl_cv_func_signbit_gcc="guessing no"
41182
 
+else
41183
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41184
 
+/* end confdefs.h.  */
41185
 
+
41186
 
+#if __GNUC__ >= 4
41187
 
+# define signbit(x) \
41188
 
+   (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \
41189
 
+    sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \
41190
 
+    __builtin_signbitf (x))
41191
 
+#else
41192
 
+# error "signbit should be three compiler built-ins"
41193
 
+#endif
41194
 
+#include <string.h>
41195
 
+
41196
 
+/* Global variables.
41197
 
+   Needed because GCC 4 constant-folds __builtin_signbitl (literal)
41198
 
+   but cannot constant-fold            __builtin_signbitl (variable).  */
41199
 
+float vf;
41200
 
+double vd;
41201
 
+long double vl;
41202
 
+int main ()
41203
 
+{
41204
 
+/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
41205
 
+   So we use -p0f and -p0d instead.  */
41206
 
+float p0f = 0.0f;
41207
 
+float m0f = -p0f;
41208
 
+double p0d = 0.0;
41209
 
+double m0d = -p0d;
41210
 
+/* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
41211
 
+   So we use another constant expression instead.
41212
 
+   But that expression does not work on other platforms, such as when
41213
 
+   cross-compiling to PowerPC on MacOS X 10.5.  */
41214
 
+long double p0l = 0.0L;
41215
 
+#if defined __hpux || defined __sgi
41216
 
+long double m0l = -LDBL_MIN * LDBL_MIN;
41217
 
+#else
41218
 
+long double m0l = -p0l;
41219
 
+#endif
41220
 
+  int result = 0;
41221
 
+  if (signbit (vf)) /* link check */
41222
 
+    vf++;
41223
 
+  {
41224
 
+    float plus_inf = 1.0f / p0f;
41225
 
+    float minus_inf = -1.0f / p0f;
41226
 
+    if (!(!signbit (255.0f)
41227
 
+          && signbit (-255.0f)
41228
 
+          && !signbit (p0f)
41229
 
+          && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f))
41230
 
+          && !signbit (plus_inf)
41231
 
+          && signbit (minus_inf)))
41232
 
+      result |= 1;
41233
 
+  }
41234
 
+  if (signbit (vd)) /* link check */
41235
 
+    vd++;
41236
 
+  {
41237
 
+    double plus_inf = 1.0 / p0d;
41238
 
+    double minus_inf = -1.0 / p0d;
41239
 
+    if (!(!signbit (255.0)
41240
 
+          && signbit (-255.0)
41241
 
+          && !signbit (p0d)
41242
 
+          && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d))
41243
 
+          && !signbit (plus_inf)
41244
 
+          && signbit (minus_inf)))
41245
 
+      result |= 2;
41246
 
+  }
41247
 
+  if (signbit (vl)) /* link check */
41248
 
+    vl++;
41249
 
+  {
41250
 
+    long double plus_inf = 1.0L / p0l;
41251
 
+    long double minus_inf = -1.0L / p0l;
41252
 
+    if (signbit (255.0L))
41253
 
+      result |= 4;
41254
 
+    if (!signbit (-255.0L))
41255
 
+      result |= 4;
41256
 
+    if (signbit (p0l))
41257
 
+      result |= 8;
41258
 
+    if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l)))
41259
 
+      result |= 16;
41260
 
+    if (signbit (plus_inf))
41261
 
+      result |= 32;
41262
 
+    if (!signbit (minus_inf))
41263
 
+      result |= 64;
41264
 
+  }
41265
 
+  return result;
41266
 
+}
41267
 
+
41268
 
+
41269
 
+_ACEOF
41270
 
+if ac_fn_c_try_run "$LINENO"; then :
41271
 
+  gl_cv_func_signbit_gcc=yes
41272
 
+else
41273
 
+  gl_cv_func_signbit_gcc=no
41274
 
+fi
41275
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41276
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
41277
 
+fi
41278
 
+
41279
 
+    
41280
 
+fi
41281
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_signbit_gcc" >&5
41282
 
+$as_echo "$gl_cv_func_signbit_gcc" >&6; }
41283
 
+      if test "$gl_cv_func_signbit_gcc" = yes; then
41284
 
+    REPLACE_SIGNBIT_USING_GCC=1
41285
 
+  else
41286
 
+    if test "$gl_cv_func_signbit" != yes; then
41287
 
+            REPLACE_SIGNBIT=1
41288
 
+      
41289
 
+  
41290
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'float'" >&5
41291
 
+$as_echo_n "checking where to find the sign bit in a 'float'... " >&6; }
41292
 
+if ${gl_cv_cc_float_signbit+:} false; then :
41293
 
+  $as_echo_n "(cached) " >&6
41294
 
+else
41295
 
+  
41296
 
+      if test "$cross_compiling" = yes; then :
41297
 
+  
41298
 
+                              gl_cv_cc_float_signbit="unknown"
41299
 
+        
41300
 
+else
41301
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41302
 
+/* end confdefs.h.  */
41303
 
+
41304
 
+#include <stddef.h>
41305
 
+#include <stdio.h>
41306
 
+#define NWORDS \
41307
 
+  ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
41308
 
+typedef union { float value; unsigned int word[NWORDS]; }
41309
 
+        memory_float;
41310
 
+static memory_float plus = { 1.0f };
41311
 
+static memory_float minus = { -1.0f };
41312
 
+int main ()
41313
 
+{
41314
 
+  size_t j, k, i;
41315
 
+  unsigned int m;
41316
 
+  FILE *fp = fopen ("conftest.out", "w");
41317
 
+  if (fp == NULL)
41318
 
+    return 1;
41319
 
+  /* Find the different bit.  */
41320
 
+  k = 0; m = 0;
41321
 
+  for (j = 0; j < NWORDS; j++)
41322
 
+    {
41323
 
+      unsigned int x = plus.word[j] ^ minus.word[j];
41324
 
+      if ((x & (x - 1)) || (x && m))
41325
 
+        {
41326
 
+          /* More than one bit difference.  */
41327
 
+          fprintf (fp, "unknown");
41328
 
+          return 2;
41329
 
+        }
41330
 
+      if (x)
41331
 
+        {
41332
 
+          k = j;
41333
 
+          m = x;
41334
 
+        }
41335
 
+    }
41336
 
+  if (m == 0)
41337
 
+    {
41338
 
+      /* No difference.  */
41339
 
+      fprintf (fp, "unknown");
41340
 
+      return 3;
41341
 
+    }
41342
 
+  /* Now m = plus.word[k] ^ ~minus.word[k].  */
41343
 
+  if (plus.word[k] & ~minus.word[k])
41344
 
+    {
41345
 
+      /* Oh? The sign bit is set in the positive and cleared in the negative
41346
 
+         numbers?  */
41347
 
+      fprintf (fp, "unknown");
41348
 
+      return 4;
41349
 
+    }
41350
 
+  for (i = 0; ; i++)
41351
 
+    if ((m >> i) & 1)
41352
 
+      break;
41353
 
+  fprintf (fp, "word %d bit %d", (int) k, (int) i);
41354
 
+  if (fclose (fp) != 0)
41355
 
+    return 5;
41356
 
+  return 0;
41357
 
+}
41358
 
+        
41359
 
+_ACEOF
41360
 
+if ac_fn_c_try_run "$LINENO"; then :
41361
 
+  gl_cv_cc_float_signbit=`cat conftest.out`
41362
 
+else
41363
 
+  gl_cv_cc_float_signbit="unknown"
41364
 
+fi
41365
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41366
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
41367
 
+fi
41368
 
+
41369
 
+      rm -f conftest.out
41370
 
+    
41371
 
+fi
41372
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_signbit" >&5
41373
 
+$as_echo "$gl_cv_cc_float_signbit" >&6; }
41374
 
+  case "$gl_cv_cc_float_signbit" in
41375
 
+    word*bit*)
41376
 
+      word=`echo "$gl_cv_cc_float_signbit" | sed -e 's/word //' -e 's/ bit.*//'`
41377
 
+      bit=`echo "$gl_cv_cc_float_signbit" | sed -e 's/word.*bit //'`
41378
 
+      
41379
 
+cat >>confdefs.h <<_ACEOF
41380
 
+@%:@define FLT_SIGNBIT_WORD $word
41381
 
+_ACEOF
41382
 
+
41383
 
+      
41384
 
+cat >>confdefs.h <<_ACEOF
41385
 
+@%:@define FLT_SIGNBIT_BIT $bit
41386
 
+_ACEOF
41387
 
+
41388
 
+      ;;
41389
 
+  esac
41390
 
+
41391
 
+
41392
 
+      
41393
 
+  
41394
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'double'" >&5
41395
 
+$as_echo_n "checking where to find the sign bit in a 'double'... " >&6; }
41396
 
+if ${gl_cv_cc_double_signbit+:} false; then :
41397
 
+  $as_echo_n "(cached) " >&6
41398
 
+else
41399
 
+  
41400
 
+      if test "$cross_compiling" = yes; then :
41401
 
+  
41402
 
+                              gl_cv_cc_double_signbit="unknown"
41403
 
+        
41404
 
+else
41405
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41406
 
+/* end confdefs.h.  */
41407
 
+
41408
 
+#include <stddef.h>
41409
 
+#include <stdio.h>
41410
 
+#define NWORDS \
41411
 
+  ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
41412
 
+typedef union { double value; unsigned int word[NWORDS]; }
41413
 
+        memory_float;
41414
 
+static memory_float plus = { 1.0 };
41415
 
+static memory_float minus = { -1.0 };
41416
 
+int main ()
41417
 
+{
41418
 
+  size_t j, k, i;
41419
 
+  unsigned int m;
41420
 
+  FILE *fp = fopen ("conftest.out", "w");
41421
 
+  if (fp == NULL)
41422
 
+    return 1;
41423
 
+  /* Find the different bit.  */
41424
 
+  k = 0; m = 0;
41425
 
+  for (j = 0; j < NWORDS; j++)
41426
 
+    {
41427
 
+      unsigned int x = plus.word[j] ^ minus.word[j];
41428
 
+      if ((x & (x - 1)) || (x && m))
41429
 
+        {
41430
 
+          /* More than one bit difference.  */
41431
 
+          fprintf (fp, "unknown");
41432
 
+          return 2;
41433
 
+        }
41434
 
+      if (x)
41435
 
+        {
41436
 
+          k = j;
41437
 
+          m = x;
41438
 
+        }
41439
 
+    }
41440
 
+  if (m == 0)
41441
 
+    {
41442
 
+      /* No difference.  */
41443
 
+      fprintf (fp, "unknown");
41444
 
+      return 3;
41445
 
+    }
41446
 
+  /* Now m = plus.word[k] ^ ~minus.word[k].  */
41447
 
+  if (plus.word[k] & ~minus.word[k])
41448
 
+    {
41449
 
+      /* Oh? The sign bit is set in the positive and cleared in the negative
41450
 
+         numbers?  */
41451
 
+      fprintf (fp, "unknown");
41452
 
+      return 4;
41453
 
+    }
41454
 
+  for (i = 0; ; i++)
41455
 
+    if ((m >> i) & 1)
41456
 
+      break;
41457
 
+  fprintf (fp, "word %d bit %d", (int) k, (int) i);
41458
 
+  if (fclose (fp) != 0)
41459
 
+    return 5;
41460
 
+  return 0;
41461
 
+}
41462
 
+        
41463
 
+_ACEOF
41464
 
+if ac_fn_c_try_run "$LINENO"; then :
41465
 
+  gl_cv_cc_double_signbit=`cat conftest.out`
41466
 
+else
41467
 
+  gl_cv_cc_double_signbit="unknown"
41468
 
+fi
41469
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41470
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
41471
 
+fi
41472
 
+
41473
 
+      rm -f conftest.out
41474
 
+    
41475
 
+fi
41476
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_signbit" >&5
41477
 
+$as_echo "$gl_cv_cc_double_signbit" >&6; }
41478
 
+  case "$gl_cv_cc_double_signbit" in
41479
 
+    word*bit*)
41480
 
+      word=`echo "$gl_cv_cc_double_signbit" | sed -e 's/word //' -e 's/ bit.*//'`
41481
 
+      bit=`echo "$gl_cv_cc_double_signbit" | sed -e 's/word.*bit //'`
41482
 
+      
41483
 
+cat >>confdefs.h <<_ACEOF
41484
 
+@%:@define DBL_SIGNBIT_WORD $word
41485
 
+_ACEOF
41486
 
+
41487
 
+      
41488
 
+cat >>confdefs.h <<_ACEOF
41489
 
+@%:@define DBL_SIGNBIT_BIT $bit
41490
 
+_ACEOF
41491
 
+
41492
 
+      ;;
41493
 
+  esac
41494
 
+
41495
 
+
41496
 
+      
41497
 
+  
41498
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'long double'" >&5
41499
 
+$as_echo_n "checking where to find the sign bit in a 'long double'... " >&6; }
41500
 
+if ${gl_cv_cc_long_double_signbit+:} false; then :
41501
 
+  $as_echo_n "(cached) " >&6
41502
 
+else
41503
 
+  
41504
 
+      if test "$cross_compiling" = yes; then :
41505
 
+  
41506
 
+                              gl_cv_cc_long_double_signbit="unknown"
41507
 
+        
41508
 
+else
41509
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41510
 
+/* end confdefs.h.  */
41511
 
+
41512
 
+#include <stddef.h>
41513
 
+#include <stdio.h>
41514
 
+#define NWORDS \
41515
 
+  ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
41516
 
+typedef union { long double value; unsigned int word[NWORDS]; }
41517
 
+        memory_float;
41518
 
+static memory_float plus = { 1.0L };
41519
 
+static memory_float minus = { -1.0L };
41520
 
+int main ()
41521
 
+{
41522
 
+  size_t j, k, i;
41523
 
+  unsigned int m;
41524
 
+  FILE *fp = fopen ("conftest.out", "w");
41525
 
+  if (fp == NULL)
41526
 
+    return 1;
41527
 
+  /* Find the different bit.  */
41528
 
+  k = 0; m = 0;
41529
 
+  for (j = 0; j < NWORDS; j++)
41530
 
+    {
41531
 
+      unsigned int x = plus.word[j] ^ minus.word[j];
41532
 
+      if ((x & (x - 1)) || (x && m))
41533
 
+        {
41534
 
+          /* More than one bit difference.  */
41535
 
+          fprintf (fp, "unknown");
41536
 
+          return 2;
41537
 
+        }
41538
 
+      if (x)
41539
 
+        {
41540
 
+          k = j;
41541
 
+          m = x;
41542
 
+        }
41543
 
+    }
41544
 
+  if (m == 0)
41545
 
+    {
41546
 
+      /* No difference.  */
41547
 
+      fprintf (fp, "unknown");
41548
 
+      return 3;
41549
 
+    }
41550
 
+  /* Now m = plus.word[k] ^ ~minus.word[k].  */
41551
 
+  if (plus.word[k] & ~minus.word[k])
41552
 
+    {
41553
 
+      /* Oh? The sign bit is set in the positive and cleared in the negative
41554
 
+         numbers?  */
41555
 
+      fprintf (fp, "unknown");
41556
 
+      return 4;
41557
 
+    }
41558
 
+  for (i = 0; ; i++)
41559
 
+    if ((m >> i) & 1)
41560
 
+      break;
41561
 
+  fprintf (fp, "word %d bit %d", (int) k, (int) i);
41562
 
+  if (fclose (fp) != 0)
41563
 
+    return 5;
41564
 
+  return 0;
41565
 
+}
41566
 
+        
41567
 
+_ACEOF
41568
 
+if ac_fn_c_try_run "$LINENO"; then :
41569
 
+  gl_cv_cc_long_double_signbit=`cat conftest.out`
41570
 
+else
41571
 
+  gl_cv_cc_long_double_signbit="unknown"
41572
 
+fi
41573
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41574
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
41575
 
+fi
41576
 
+
41577
 
+      rm -f conftest.out
41578
 
+    
41579
 
+fi
41580
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_signbit" >&5
41581
 
+$as_echo "$gl_cv_cc_long_double_signbit" >&6; }
41582
 
+  case "$gl_cv_cc_long_double_signbit" in
41583
 
+    word*bit*)
41584
 
+      word=`echo "$gl_cv_cc_long_double_signbit" | sed -e 's/word //' -e 's/ bit.*//'`
41585
 
+      bit=`echo "$gl_cv_cc_long_double_signbit" | sed -e 's/word.*bit //'`
41586
 
+      
41587
 
+cat >>confdefs.h <<_ACEOF
41588
 
+@%:@define LDBL_SIGNBIT_WORD $word
41589
 
+_ACEOF
41590
 
+
41591
 
+      
41592
 
+cat >>confdefs.h <<_ACEOF
41593
 
+@%:@define LDBL_SIGNBIT_BIT $bit
41594
 
+_ACEOF
41595
 
+
41596
 
+      ;;
41597
 
+  esac
41598
 
+
41599
 
+
41600
 
+      if test "$gl_cv_cc_float_signbit" = unknown; then
41601
 
+                ac_fn_c_check_decl "$LINENO" "copysignf" "ac_cv_have_decl_copysignf" "#include <math.h>
41602
 
+"
41603
 
+if test "x$ac_cv_have_decl_copysignf" = xyes; then :
41604
 
+  ac_have_decl=1
41605
 
+else
41606
 
+  ac_have_decl=0
41607
 
+fi
41608
 
+
41609
 
+cat >>confdefs.h <<_ACEOF
41610
 
+@%:@define HAVE_DECL_COPYSIGNF $ac_have_decl
41611
 
+_ACEOF
41612
 
+
41613
 
+        if test "$ac_cv_have_decl_copysignf" = yes; then
41614
 
+                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignf can be used without linking with libm" >&5
41615
 
+$as_echo_n "checking whether copysignf can be used without linking with libm... " >&6; }
41616
 
+if ${gl_cv_func_copysignf_no_libm+:} false; then :
41617
 
+  $as_echo_n "(cached) " >&6
41618
 
+else
41619
 
+  
41620
 
+              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41621
 
+/* end confdefs.h.  */
41622
 
+#include <math.h>
41623
 
+                     float x, y;
41624
 
+int
41625
 
+main ()
41626
 
+{
41627
 
+return copysignf (x, y) < 0;
41628
 
+  ;
41629
 
+  return 0;
41630
 
+}
41631
 
+_ACEOF
41632
 
+if ac_fn_c_try_link "$LINENO"; then :
41633
 
+  gl_cv_func_copysignf_no_libm=yes
41634
 
+else
41635
 
+  gl_cv_func_copysignf_no_libm=no
41636
 
+fi
41637
 
+rm -f core conftest.err conftest.$ac_objext \
41638
 
+    conftest$ac_exeext conftest.$ac_ext
41639
 
+            
41640
 
+fi
41641
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysignf_no_libm" >&5
41642
 
+$as_echo "$gl_cv_func_copysignf_no_libm" >&6; }
41643
 
+          if test $gl_cv_func_copysignf_no_libm = yes; then
41644
 
+            
41645
 
+$as_echo "@%:@define HAVE_COPYSIGNF_IN_LIBC 1" >>confdefs.h
41646
 
+
41647
 
+          fi
41648
 
+        fi
41649
 
+      fi
41650
 
+      if test "$gl_cv_cc_double_signbit" = unknown; then
41651
 
+                ac_fn_c_check_decl "$LINENO" "copysign" "ac_cv_have_decl_copysign" "#include <math.h>
41652
 
+"
41653
 
+if test "x$ac_cv_have_decl_copysign" = xyes; then :
41654
 
+  ac_have_decl=1
41655
 
+else
41656
 
+  ac_have_decl=0
41657
 
+fi
41658
 
+
41659
 
+cat >>confdefs.h <<_ACEOF
41660
 
+@%:@define HAVE_DECL_COPYSIGN $ac_have_decl
41661
 
+_ACEOF
41662
 
+
41663
 
+        if test "$ac_cv_have_decl_copysign" = yes; then
41664
 
+                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysign can be used without linking with libm" >&5
41665
 
+$as_echo_n "checking whether copysign can be used without linking with libm... " >&6; }
41666
 
+if ${gl_cv_func_copysign_no_libm+:} false; then :
41667
 
+  $as_echo_n "(cached) " >&6
41668
 
+else
41669
 
+  
41670
 
+              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41671
 
+/* end confdefs.h.  */
41672
 
+#include <math.h>
41673
 
+                     double x, y;
41674
 
+int
41675
 
+main ()
41676
 
+{
41677
 
+return copysign (x, y) < 0;
41678
 
+  ;
41679
 
+  return 0;
41680
 
+}
41681
 
+_ACEOF
41682
 
+if ac_fn_c_try_link "$LINENO"; then :
41683
 
+  gl_cv_func_copysign_no_libm=yes
41684
 
+else
41685
 
+  gl_cv_func_copysign_no_libm=no
41686
 
+fi
41687
 
+rm -f core conftest.err conftest.$ac_objext \
41688
 
+    conftest$ac_exeext conftest.$ac_ext
41689
 
+            
41690
 
+fi
41691
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysign_no_libm" >&5
41692
 
+$as_echo "$gl_cv_func_copysign_no_libm" >&6; }
41693
 
+          if test $gl_cv_func_copysign_no_libm = yes; then
41694
 
+            
41695
 
+$as_echo "@%:@define HAVE_COPYSIGN_IN_LIBC 1" >>confdefs.h
41696
 
+
41697
 
+          fi
41698
 
+        fi
41699
 
+      fi
41700
 
+      if test "$gl_cv_cc_long_double_signbit" = unknown; then
41701
 
+                ac_fn_c_check_decl "$LINENO" "copysignl" "ac_cv_have_decl_copysignl" "#include <math.h>
41702
 
+"
41703
 
+if test "x$ac_cv_have_decl_copysignl" = xyes; then :
41704
 
+  ac_have_decl=1
41705
 
+else
41706
 
+  ac_have_decl=0
41707
 
+fi
41708
 
+
41709
 
+cat >>confdefs.h <<_ACEOF
41710
 
+@%:@define HAVE_DECL_COPYSIGNL $ac_have_decl
41711
 
+_ACEOF
41712
 
+
41713
 
+        if test "$ac_cv_have_decl_copysignl" = yes; then
41714
 
+                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignl can be used without linking with libm" >&5
41715
 
+$as_echo_n "checking whether copysignl can be used without linking with libm... " >&6; }
41716
 
+if ${gl_cv_func_copysignl_no_libm+:} false; then :
41717
 
+  $as_echo_n "(cached) " >&6
41718
 
+else
41719
 
+  
41720
 
+              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41721
 
+/* end confdefs.h.  */
41722
 
+#include <math.h>
41723
 
+                     long double x, y;
41724
 
+int
41725
 
+main ()
41726
 
+{
41727
 
+return copysignl (x, y) < 0;
41728
 
+  ;
41729
 
+  return 0;
41730
 
+}
41731
 
+_ACEOF
41732
 
+if ac_fn_c_try_link "$LINENO"; then :
41733
 
+  gl_cv_func_copysignl_no_libm=yes
41734
 
+else
41735
 
+  gl_cv_func_copysignl_no_libm=no
41736
 
+fi
41737
 
+rm -f core conftest.err conftest.$ac_objext \
41738
 
+    conftest$ac_exeext conftest.$ac_ext
41739
 
+            
41740
 
+fi
41741
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysignl_no_libm" >&5
41742
 
+$as_echo "$gl_cv_func_copysignl_no_libm" >&6; }
41743
 
+          if test $gl_cv_func_copysignl_no_libm = yes; then
41744
 
+            
41745
 
+$as_echo "@%:@define HAVE_COPYSIGNL_IN_LIBC 1" >>confdefs.h
41746
 
+
41747
 
+          fi
41748
 
+        fi
41749
 
+      fi
41750
 
+    fi
41751
 
+  fi
41752
 
+
41753
 
+if test $REPLACE_SIGNBIT = 1; then
41754
 
+  
41755
 
+  
41756
 
+  
41757
 
+    
41758
 
+      
41759
 
+      
41760
 
+    
41761
 
+  
41762
 
+  gl_LIBOBJS="$gl_LIBOBJS signbitf.$ac_objext"
41763
 
+
41764
 
+  
41765
 
+  
41766
 
+  
41767
 
+    
41768
 
+      
41769
 
+      
41770
 
+    
41771
 
+  
41772
 
+  gl_LIBOBJS="$gl_LIBOBJS signbitd.$ac_objext"
41773
 
+
41774
 
+  
41775
 
+  
41776
 
+  
41777
 
+    
41778
 
+      
41779
 
+      
41780
 
+    
41781
 
+  
41782
 
+  gl_LIBOBJS="$gl_LIBOBJS signbitl.$ac_objext"
41783
 
+
41784
 
+fi
41785
 
+
41786
 
+    
41787
 
+  
41788
 
+  
41789
 
+  
41790
 
+          GNULIB_SIGNBIT=1
41791
 
+    
41792
 
+
41793
 
+
41794
 
+    
41795
 
+  
41796
 
+$as_echo "@%:@define GNULIB_TEST_SIGNBIT 1" >>confdefs.h
41797
 
+
41798
 
+
41799
 
+
41800
 
+
41801
 
+  
41802
 
+  
41803
 
+  if test $gl_cv_type_sigset_t = yes; then
41804
 
+    ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
41805
 
+if test "x$ac_cv_func_sigprocmask" = xyes; then :
41806
 
+  gl_cv_func_sigprocmask=1
41807
 
+fi
41808
 
+
41809
 
+  fi
41810
 
+  if test -z "$gl_cv_func_sigprocmask"; then
41811
 
+    HAVE_POSIX_SIGNALBLOCKING=0
41812
 
+  fi
41813
 
+
41814
 
+if test $HAVE_POSIX_SIGNALBLOCKING = 0; then
41815
 
+  
41816
 
+  
41817
 
+  
41818
 
+    
41819
 
+      
41820
 
+      
41821
 
+    
41822
 
+  
41823
 
+  gl_LIBOBJS="$gl_LIBOBJS sigprocmask.$ac_objext"
41824
 
+
41825
 
+  :
41826
 
+fi
41827
 
+
41828
 
+    
41829
 
+  
41830
 
+  
41831
 
+  
41832
 
+          GNULIB_SIGPROCMASK=1
41833
 
+    
41834
 
+
41835
 
+
41836
 
+    
41837
 
+  
41838
 
+$as_echo "@%:@define GNULIB_TEST_SIGPROCMASK 1" >>confdefs.h
41839
 
+
41840
 
+
41841
 
+
41842
 
+
41843
 
+  for ac_header in stdint.h
41844
 
+do :
41845
 
+  ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
41846
 
+if test "x$ac_cv_header_stdint_h" = xyes; then :
41847
 
+  cat >>confdefs.h <<_ACEOF
41848
 
+@%:@define HAVE_STDINT_H 1
41849
 
+_ACEOF
41850
 
41851
 
+fi
41852
 
+
41853
 
+done
41854
 
+
41855
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
41856
 
+$as_echo_n "checking for SIZE_MAX... " >&6; }
41857
 
+if ${gl_cv_size_max+:} false; then :
41858
 
+  $as_echo_n "(cached) " >&6
41859
 
+else
41860
 
+  
41861
 
+    gl_cv_size_max=
41862
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41863
 
+/* end confdefs.h.  */
41864
 
+
41865
 
+#include <limits.h>
41866
 
+#if HAVE_STDINT_H
41867
 
+#include <stdint.h>
41868
 
+#endif
41869
 
+#ifdef SIZE_MAX
41870
 
+Found it
41871
 
+#endif
41872
 
+
41873
 
+_ACEOF
41874
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
41875
 
+  $EGREP "Found it" >/dev/null 2>&1; then :
41876
 
+  gl_cv_size_max=yes
41877
 
+fi
41878
 
+rm -f conftest*
41879
 
+
41880
 
+    if test -z "$gl_cv_size_max"; then
41881
 
+                        if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1"        "#include <stddef.h>
41882
 
+#include <limits.h>"; then :
41883
 
+  
41884
 
+else
41885
 
+  size_t_bits_minus_1=
41886
 
+fi
41887
 
+
41888
 
+      if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint"        "#include <stddef.h>"; then :
41889
 
+  
41890
 
+else
41891
 
+  fits_in_uint=
41892
 
+fi
41893
 
+
41894
 
+      if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
41895
 
+        if test $fits_in_uint = 1; then
41896
 
+                              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41897
 
+/* end confdefs.h.  */
41898
 
+#include <stddef.h>
41899
 
+                 extern size_t foo;
41900
 
+                 extern unsigned long foo;
41901
 
+               
41902
 
+int
41903
 
+main ()
41904
 
+{
41905
 
+
41906
 
+  ;
41907
 
+  return 0;
41908
 
+}
41909
 
+_ACEOF
41910
 
+if ac_fn_c_try_compile "$LINENO"; then :
41911
 
+  fits_in_uint=0
41912
 
+fi
41913
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41914
 
+        fi
41915
 
+                                if test $fits_in_uint = 1; then
41916
 
+          gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
41917
 
+        else
41918
 
+          gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
41919
 
+        fi
41920
 
+      else
41921
 
+                gl_cv_size_max='((size_t)~(size_t)0)'
41922
 
+      fi
41923
 
+    fi
41924
 
+  
41925
 
+fi
41926
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5
41927
 
+$as_echo "$gl_cv_size_max" >&6; }
41928
 
+  if test "$gl_cv_size_max" != yes; then
41929
 
+    
41930
 
+cat >>confdefs.h <<_ACEOF
41931
 
+@%:@define SIZE_MAX $gl_cv_size_max
41932
 
+_ACEOF
41933
 
+
41934
 
+  fi
41935
 
+        
41936
 
+
41937
 
+
41938
 
+  
41939
 
+  gl_cv_func_snprintf_usable=no
41940
 
+  for ac_func in snprintf
41941
 
+do :
41942
 
+  ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
41943
 
+if test "x$ac_cv_func_snprintf" = xyes; then :
41944
 
+  cat >>confdefs.h <<_ACEOF
41945
 
+@%:@define HAVE_SNPRINTF 1
41946
 
+_ACEOF
41947
 
41948
 
+fi
41949
 
+done
41950
 
+
41951
 
+  if test $ac_cv_func_snprintf = yes; then
41952
 
+    
41953
 
+  
41954
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5
41955
 
+$as_echo_n "checking whether snprintf respects a size of 1... " >&6; }
41956
 
+if ${gl_cv_func_snprintf_size1+:} false; then :
41957
 
+  $as_echo_n "(cached) " >&6
41958
 
+else
41959
 
+  
41960
 
+      if test "$cross_compiling" = yes; then :
41961
 
+  gl_cv_func_snprintf_size1="guessing yes"
41962
 
+else
41963
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41964
 
+/* end confdefs.h.  */
41965
 
+
41966
 
+#include <stdio.h>
41967
 
+int main()
41968
 
+{
41969
 
+  static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' };
41970
 
+  snprintf (buf, 1, "%d", 12345);
41971
 
+  return buf[1] != 'E';
41972
 
+}
41973
 
+_ACEOF
41974
 
+if ac_fn_c_try_run "$LINENO"; then :
41975
 
+  gl_cv_func_snprintf_size1=yes
41976
 
+else
41977
 
+  gl_cv_func_snprintf_size1=no
41978
 
+fi
41979
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41980
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
41981
 
+fi
41982
 
+
41983
 
+    
41984
 
+fi
41985
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_size1" >&5
41986
 
+$as_echo "$gl_cv_func_snprintf_size1" >&6; }
41987
 
+
41988
 
+    case "$gl_cv_func_snprintf_size1" in
41989
 
+      *yes)
41990
 
+        
41991
 
+        case "$gl_cv_func_snprintf_retval_c99" in
41992
 
+          *yes)
41993
 
+            
41994
 
+  
41995
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports POSIX/XSI format strings with positions" >&5
41996
 
+$as_echo_n "checking whether printf supports POSIX/XSI format strings with positions... " >&6; }
41997
 
+if ${gl_cv_func_printf_positions+:} false; then :
41998
 
+  $as_echo_n "(cached) " >&6
41999
 
+else
42000
 
+  
42001
 
+      if test "$cross_compiling" = yes; then :
42002
 
+  
42003
 
+         case "$host_os" in
42004
 
+           netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*)
42005
 
+                         gl_cv_func_printf_positions="guessing no";;
42006
 
+           beos*)        gl_cv_func_printf_positions="guessing no";;
42007
 
+           mingw* | pw*) gl_cv_func_printf_positions="guessing no";;
42008
 
+           *)            gl_cv_func_printf_positions="guessing yes";;
42009
 
+         esac
42010
 
+        
42011
 
+else
42012
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42013
 
+/* end confdefs.h.  */
42014
 
+
42015
 
+#include <stdio.h>
42016
 
+#include <string.h>
42017
 
+/* The string "%2$d %1$d", with dollar characters protected from the shell's
42018
 
+   dollar expansion (possibly an autoconf bug).  */
42019
 
+static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
42020
 
+static char buf[100];
42021
 
+int main ()
42022
 
+{
42023
 
+  sprintf (buf, format, 33, 55);
42024
 
+  return (strcmp (buf, "55 33") != 0);
42025
 
+}
42026
 
+_ACEOF
42027
 
+if ac_fn_c_try_run "$LINENO"; then :
42028
 
+  gl_cv_func_printf_positions=yes
42029
 
+else
42030
 
+  gl_cv_func_printf_positions=no
42031
 
+fi
42032
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
42033
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
42034
 
+fi
42035
 
+
42036
 
+    
42037
 
+fi
42038
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_positions" >&5
42039
 
+$as_echo "$gl_cv_func_printf_positions" >&6; }
42040
 
+
42041
 
+            case "$gl_cv_func_printf_positions" in
42042
 
+              *yes)
42043
 
+                gl_cv_func_snprintf_usable=yes
42044
 
+                ;;
42045
 
+            esac
42046
 
+            ;;
42047
 
+        esac
42048
 
+        ;;
42049
 
+    esac
42050
 
+  fi
42051
 
+  if test $gl_cv_func_snprintf_usable = no; then
42052
 
+    
42053
 
+  
42054
 
+  
42055
 
+  
42056
 
+  
42057
 
+    
42058
 
+      
42059
 
+      
42060
 
+    
42061
 
+  
42062
 
+  gl_LIBOBJS="$gl_LIBOBJS snprintf.$ac_objext"
42063
 
+
42064
 
+  if test $ac_cv_func_snprintf = yes; then
42065
 
+    REPLACE_SNPRINTF=1
42066
 
+  fi
42067
 
+  :
42068
 
+
42069
 
+  fi
42070
 
+  
42071
 
+  if test $ac_cv_have_decl_snprintf = no; then
42072
 
+    HAVE_DECL_SNPRINTF=0
42073
 
+  fi
42074
 
+
42075
 
+
42076
 
+    
42077
 
+  
42078
 
+  
42079
 
+  
42080
 
+          GNULIB_SNPRINTF=1
42081
 
+    
42082
 
+
42083
 
+
42084
 
+    
42085
 
+  
42086
 
+$as_echo "@%:@define GNULIB_TEST_SNPRINTF 1" >>confdefs.h
42087
 
+
42088
 
+
42089
 
+
42090
 
+
42091
 
+  
42092
 
+cat >>confdefs.h <<_ACEOF
42093
 
+@%:@define GNULIB_SNPRINTF 1
42094
 
+_ACEOF
42095
 
+
42096
 
+
42097
 
+
42098
 
+  
42099
 
+  
42100
 
+  
42101
 
+  
42102
 
+  if test $ac_cv_header_sys_socket_h != yes; then
42103
 
+                    for ac_header in winsock2.h
42104
 
+do :
42105
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
42106
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
42107
 
+  cat >>confdefs.h <<_ACEOF
42108
 
+@%:@define HAVE_WINSOCK2_H 1
42109
 
+_ACEOF
42110
 
42111
 
+fi
42112
 
+
42113
 
+done
42114
 
+
42115
 
+  fi
42116
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
42117
 
+    HAVE_WINSOCK2_H=1
42118
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
42119
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
42120
 
+  else
42121
 
+    HAVE_WINSOCK2_H=0
42122
 
+  fi
42123
 
+  
42124
 
+   LIBSOCKET=
42125
 
+  if test $HAVE_WINSOCK2_H = 1; then
42126
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to call WSAStartup in winsock2.h and -lws2_32" >&5
42127
 
+$as_echo_n "checking if we need to call WSAStartup in winsock2.h and -lws2_32... " >&6; }
42128
 
+if ${gl_cv_func_wsastartup+:} false; then :
42129
 
+  $as_echo_n "(cached) " >&6
42130
 
+else
42131
 
+  
42132
 
+      gl_save_LIBS="$LIBS"
42133
 
+      LIBS="$LIBS -lws2_32"
42134
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42135
 
+/* end confdefs.h.  */
42136
 
+
42137
 
+#ifdef HAVE_WINSOCK2_H
42138
 
+# include <winsock2.h>
42139
 
+#endif
42140
 
+int
42141
 
+main ()
42142
 
+{
42143
 
+
42144
 
+          WORD wVersionRequested = MAKEWORD(1, 1);
42145
 
+          WSADATA wsaData;
42146
 
+          int err = WSAStartup(wVersionRequested, &wsaData);
42147
 
+          WSACleanup ();
42148
 
+  ;
42149
 
+  return 0;
42150
 
+}
42151
 
+_ACEOF
42152
 
+if ac_fn_c_try_link "$LINENO"; then :
42153
 
+  gl_cv_func_wsastartup=yes
42154
 
+else
42155
 
+  gl_cv_func_wsastartup=no
42156
 
+fi
42157
 
+rm -f core conftest.err conftest.$ac_objext \
42158
 
+    conftest$ac_exeext conftest.$ac_ext
42159
 
+      LIBS="$gl_save_LIBS"
42160
 
+    
42161
 
+fi
42162
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wsastartup" >&5
42163
 
+$as_echo "$gl_cv_func_wsastartup" >&6; }
42164
 
+    if test "$gl_cv_func_wsastartup" = "yes"; then
42165
 
+      
42166
 
+$as_echo "@%:@define WINDOWS_SOCKETS 1" >>confdefs.h
42167
 
+
42168
 
+      LIBSOCKET='-lws2_32'
42169
 
+    fi
42170
 
+  else
42171
 
+                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
42172
 
+$as_echo_n "checking for library containing setsockopt... " >&6; }
42173
 
+if ${gl_cv_lib_socket+:} false; then :
42174
 
+  $as_echo_n "(cached) " >&6
42175
 
+else
42176
 
+  
42177
 
+      gl_cv_lib_socket=
42178
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42179
 
+/* end confdefs.h.  */
42180
 
+extern
42181
 
+#ifdef __cplusplus
42182
 
+"C"
42183
 
+#endif
42184
 
+char setsockopt();
42185
 
+int
42186
 
+main ()
42187
 
+{
42188
 
+setsockopt();
42189
 
+  ;
42190
 
+  return 0;
42191
 
+}
42192
 
+_ACEOF
42193
 
+if ac_fn_c_try_link "$LINENO"; then :
42194
 
+  
42195
 
+else
42196
 
+  gl_save_LIBS="$LIBS"
42197
 
+         LIBS="$gl_save_LIBS -lsocket"
42198
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42199
 
+/* end confdefs.h.  */
42200
 
+extern
42201
 
+#ifdef __cplusplus
42202
 
+"C"
42203
 
+#endif
42204
 
+char setsockopt();
42205
 
+int
42206
 
+main ()
42207
 
+{
42208
 
+setsockopt();
42209
 
+  ;
42210
 
+  return 0;
42211
 
+}
42212
 
+_ACEOF
42213
 
+if ac_fn_c_try_link "$LINENO"; then :
42214
 
+  gl_cv_lib_socket="-lsocket"
42215
 
+fi
42216
 
+rm -f core conftest.err conftest.$ac_objext \
42217
 
+    conftest$ac_exeext conftest.$ac_ext
42218
 
+         if test -z "$gl_cv_lib_socket"; then
42219
 
+           LIBS="$gl_save_LIBS -lnetwork"
42220
 
+           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42221
 
+/* end confdefs.h.  */
42222
 
+extern
42223
 
+#ifdef __cplusplus
42224
 
+"C"
42225
 
+#endif
42226
 
+char setsockopt();
42227
 
+int
42228
 
+main ()
42229
 
+{
42230
 
+setsockopt();
42231
 
+  ;
42232
 
+  return 0;
42233
 
+}
42234
 
+_ACEOF
42235
 
+if ac_fn_c_try_link "$LINENO"; then :
42236
 
+  gl_cv_lib_socket="-lnetwork"
42237
 
+fi
42238
 
+rm -f core conftest.err conftest.$ac_objext \
42239
 
+    conftest$ac_exeext conftest.$ac_ext
42240
 
+           if test -z "$gl_cv_lib_socket"; then
42241
 
+             LIBS="$gl_save_LIBS -lnet"
42242
 
+             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42243
 
+/* end confdefs.h.  */
42244
 
+extern
42245
 
+#ifdef __cplusplus
42246
 
+"C"
42247
 
+#endif
42248
 
+char setsockopt();
42249
 
+int
42250
 
+main ()
42251
 
+{
42252
 
+setsockopt();
42253
 
+  ;
42254
 
+  return 0;
42255
 
+}
42256
 
+_ACEOF
42257
 
+if ac_fn_c_try_link "$LINENO"; then :
42258
 
+  gl_cv_lib_socket="-lnet"
42259
 
+fi
42260
 
+rm -f core conftest.err conftest.$ac_objext \
42261
 
+    conftest$ac_exeext conftest.$ac_ext
42262
 
+           fi
42263
 
+         fi
42264
 
+         LIBS="$gl_save_LIBS"
42265
 
+        
42266
 
+fi
42267
 
+rm -f core conftest.err conftest.$ac_objext \
42268
 
+    conftest$ac_exeext conftest.$ac_ext
42269
 
+      if test -z "$gl_cv_lib_socket"; then
42270
 
+        gl_cv_lib_socket="none needed"
42271
 
+      fi
42272
 
+    
42273
 
+fi
42274
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_socket" >&5
42275
 
+$as_echo "$gl_cv_lib_socket" >&6; }
42276
 
+    if test "$gl_cv_lib_socket" != "none needed"; then
42277
 
+      LIBSOCKET="$gl_cv_lib_socket"
42278
 
+    fi
42279
 
+  fi
42280
 
+  
42281
 
+
42282
 
+
42283
 
+  
42284
 
+  
42285
 
+  
42286
 
+  :
42287
 
+
42288
 
+
42289
 
+   ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
42290
 
+/* <sys/types.h> is not needed according to POSIX, but the
42291
 
+   <sys/socket.h> in i386-unknown-freebsd4.10 and
42292
 
+   powerpc-apple-darwin5.5 required it. */
42293
 
+#include <sys/types.h>
42294
 
+#if HAVE_SYS_SOCKET_H
42295
 
+# include <sys/socket.h>
42296
 
+#elif HAVE_WS2TCPIP_H
42297
 
+# include <ws2tcpip.h>
42298
 
+#endif
42299
 
+
42300
 
+"
42301
 
+if test "x$ac_cv_type_socklen_t" = xyes; then :
42302
 
+  
42303
 
+else
42304
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
42305
 
+$as_echo_n "checking for socklen_t equivalent... " >&6; }
42306
 
+      if ${gl_cv_socklen_t_equiv+:} false; then :
42307
 
+  $as_echo_n "(cached) " >&6
42308
 
+else
42309
 
+  # Systems have either "struct sockaddr *" or
42310
 
+         # "void *" as the second argument to getpeername
42311
 
+         gl_cv_socklen_t_equiv=
42312
 
+         for arg2 in "struct sockaddr" void; do
42313
 
+           for t in int size_t "unsigned int" "long int" "unsigned long int"; do
42314
 
+             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42315
 
+/* end confdefs.h.  */
42316
 
+#include <sys/types.h>
42317
 
+                   #include <sys/socket.h>
42318
 
+
42319
 
+                   int getpeername (int, $arg2 *, $t *);
42320
 
+int
42321
 
+main ()
42322
 
+{
42323
 
+$t len;
42324
 
+                  getpeername (0, 0, &len);
42325
 
+  ;
42326
 
+  return 0;
42327
 
+}
42328
 
+_ACEOF
42329
 
+if ac_fn_c_try_compile "$LINENO"; then :
42330
 
+  gl_cv_socklen_t_equiv="$t"
42331
 
+fi
42332
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42333
 
+             test "$gl_cv_socklen_t_equiv" != "" && break
42334
 
+           done
42335
 
+           test "$gl_cv_socklen_t_equiv" != "" && break
42336
 
+         done
42337
 
+      
42338
 
+fi
42339
 
+
42340
 
+      if test "$gl_cv_socklen_t_equiv" = ""; then
42341
 
+        as_fn_error $? "Cannot find a type to use in place of socklen_t" "$LINENO" 5
42342
 
+      fi
42343
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socklen_t_equiv" >&5
42344
 
+$as_echo "$gl_cv_socklen_t_equiv" >&6; }
42345
 
+      
42346
 
+cat >>confdefs.h <<_ACEOF
42347
 
+@%:@define socklen_t $gl_cv_socklen_t_equiv
42348
 
+_ACEOF
42349
 
+
42350
 
+fi
42351
 
+
42352
 
+
42353
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
42354
 
+$as_echo_n "checking for ssize_t... " >&6; }
42355
 
+if ${gt_cv_ssize_t+:} false; then :
42356
 
+  $as_echo_n "(cached) " >&6
42357
 
+else
42358
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42359
 
+/* end confdefs.h.  */
42360
 
+#include <sys/types.h>
42361
 
+int
42362
 
+main ()
42363
 
+{
42364
 
+int x = sizeof (ssize_t *) + sizeof (ssize_t);
42365
 
+            return !x;
42366
 
+  ;
42367
 
+  return 0;
42368
 
+}
42369
 
+_ACEOF
42370
 
+if ac_fn_c_try_compile "$LINENO"; then :
42371
 
+  gt_cv_ssize_t=yes
42372
 
+else
42373
 
+  gt_cv_ssize_t=no
42374
 
+fi
42375
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42376
 
+fi
42377
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5
42378
 
+$as_echo "$gt_cv_ssize_t" >&6; }
42379
 
+  if test $gt_cv_ssize_t = no; then
42380
 
+    
42381
 
+$as_echo "@%:@define ssize_t int" >>confdefs.h
42382
 
+
42383
 
+  fi
42384
 
+
42385
 
+
42386
 
+     
42387
 
+  
42388
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on directories" >&5
42389
 
+$as_echo_n "checking whether stat handles trailing slashes on directories... " >&6; }
42390
 
+if ${gl_cv_func_stat_dir_slash+:} false; then :
42391
 
+  $as_echo_n "(cached) " >&6
42392
 
+else
42393
 
+  if test "$cross_compiling" = yes; then :
42394
 
+  case $host_os in
42395
 
+            mingw*) gl_cv_func_stat_dir_slash="guessing no";;
42396
 
+            *) gl_cv_func_stat_dir_slash="guessing yes";;
42397
 
+          esac
42398
 
+else
42399
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42400
 
+/* end confdefs.h.  */
42401
 
+#include <sys/stat.h>
42402
 
+
42403
 
+int
42404
 
+main ()
42405
 
+{
42406
 
+struct stat st; return stat (".", &st) != stat ("./", &st);
42407
 
+  ;
42408
 
+  return 0;
42409
 
+}
42410
 
+_ACEOF
42411
 
+if ac_fn_c_try_run "$LINENO"; then :
42412
 
+  gl_cv_func_stat_dir_slash=yes
42413
 
+else
42414
 
+  gl_cv_func_stat_dir_slash=no
42415
 
+fi
42416
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
42417
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
42418
 
+fi
42419
 
+
42420
 
+fi
42421
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_dir_slash" >&5
42422
 
+$as_echo "$gl_cv_func_stat_dir_slash" >&6; }
42423
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5
42424
 
+$as_echo_n "checking whether stat handles trailing slashes on files... " >&6; }
42425
 
+if ${gl_cv_func_stat_file_slash+:} false; then :
42426
 
+  $as_echo_n "(cached) " >&6
42427
 
+else
42428
 
+  touch conftest.tmp
42429
 
+       # Assume that if we have lstat, we can also check symlinks.
42430
 
+       if test $ac_cv_func_lstat = yes; then
42431
 
+         ln -s conftest.tmp conftest.lnk
42432
 
+       fi
42433
 
+       if test "$cross_compiling" = yes; then :
42434
 
+  gl_cv_func_stat_file_slash="guessing no"
42435
 
+else
42436
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42437
 
+/* end confdefs.h.  */
42438
 
+#include <sys/stat.h>
42439
 
+
42440
 
+int
42441
 
+main ()
42442
 
+{
42443
 
+int result = 0;
42444
 
+      struct stat st;
42445
 
+      if (!stat ("conftest.tmp/", &st))
42446
 
+        result |= 1;
42447
 
+#if HAVE_LSTAT
42448
 
+      if (!stat ("conftest.lnk/", &st))
42449
 
+        result |= 2;
42450
 
+#endif
42451
 
+      return result;
42452
 
+           
42453
 
+  ;
42454
 
+  return 0;
42455
 
+}
42456
 
+_ACEOF
42457
 
+if ac_fn_c_try_run "$LINENO"; then :
42458
 
+  gl_cv_func_stat_file_slash=yes
42459
 
+else
42460
 
+  gl_cv_func_stat_file_slash=no
42461
 
+fi
42462
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
42463
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
42464
 
+fi
42465
 
+
42466
 
+       rm -f conftest.tmp conftest.lnk
42467
 
+fi
42468
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_file_slash" >&5
42469
 
+$as_echo "$gl_cv_func_stat_file_slash" >&6; }
42470
 
+  case $gl_cv_func_stat_dir_slash in
42471
 
+    *no) REPLACE_STAT=1
42472
 
+      
42473
 
+$as_echo "@%:@define REPLACE_FUNC_STAT_DIR 1" >>confdefs.h
42474
 
+;;
42475
 
+  esac
42476
 
+  case $gl_cv_func_stat_file_slash in
42477
 
+    *no) REPLACE_STAT=1
42478
 
+      
42479
 
+$as_echo "@%:@define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h
42480
 
+;;
42481
 
+  esac
42482
 
+
42483
 
+if test $REPLACE_STAT = 1; then
42484
 
+  
42485
 
+  
42486
 
+  
42487
 
+    
42488
 
+      
42489
 
+      
42490
 
+    
42491
 
+  
42492
 
+  gl_LIBOBJS="$gl_LIBOBJS stat.$ac_objext"
42493
 
+
42494
 
+  
42495
 
+  
42496
 
+  :
42497
 
+
42498
 
+fi
42499
 
+
42500
 
+    
42501
 
+  
42502
 
+  
42503
 
+  
42504
 
+          GNULIB_STAT=1
42505
 
+    
42506
 
+
42507
 
+
42508
 
+    
42509
 
+  
42510
 
+$as_echo "@%:@define GNULIB_TEST_STAT 1" >>confdefs.h
42511
 
+
42512
 
+
42513
 
+
42514
 
+
42515
 
+  # Don't call AC_STRUCT_ST_BLOCKS because it causes bugs.  Details at
42516
 
+  # http://lists.gnu.org/archive/html/bug-gnulib/2011-06/msg00051.html
42517
 
+  
42518
 
+
42519
 
+
42520
 
+  
42521
 
+  
42522
 
+  
42523
 
+
42524
 
+  ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.tv_nsec" "ac_cv_member_struct_stat_st_atim_tv_nsec" "#include <sys/types.h>
42525
 
+     #include <sys/stat.h>
42526
 
+"
42527
 
+if test "x$ac_cv_member_struct_stat_st_atim_tv_nsec" = xyes; then :
42528
 
+  
42529
 
+cat >>confdefs.h <<_ACEOF
42530
 
+@%:@define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
42531
 
+_ACEOF
42532
 
+
42533
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct stat.st_atim is of type struct timespec" >&5
42534
 
+$as_echo_n "checking whether struct stat.st_atim is of type struct timespec... " >&6; }
42535
 
+if ${ac_cv_typeof_struct_stat_st_atim_is_struct_timespec+:} false; then :
42536
 
+  $as_echo_n "(cached) " >&6
42537
 
+else
42538
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42539
 
+/* end confdefs.h.  */
42540
 
+
42541
 
+            #include <sys/types.h>
42542
 
+            #include <sys/stat.h>
42543
 
+            #if HAVE_SYS_TIME_H
42544
 
+            # include <sys/time.h>
42545
 
+            #endif
42546
 
+            #include <time.h>
42547
 
+            struct timespec ts;
42548
 
+            struct stat st;
42549
 
+          
42550
 
+int
42551
 
+main ()
42552
 
+{
42553
 
+
42554
 
+            st.st_atim = ts;
42555
 
+          
42556
 
+  ;
42557
 
+  return 0;
42558
 
+}
42559
 
+_ACEOF
42560
 
+if ac_fn_c_try_compile "$LINENO"; then :
42561
 
+  ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=yes
42562
 
+else
42563
 
+  ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=no
42564
 
+fi
42565
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42566
 
+fi
42567
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&5
42568
 
+$as_echo "$ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&6; }
42569
 
+     if test $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec = yes; then
42570
 
+       
42571
 
+$as_echo "@%:@define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1" >>confdefs.h
42572
 
+
42573
 
+     fi
42574
 
+else
42575
 
+  ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec.tv_nsec" "ac_cv_member_struct_stat_st_atimespec_tv_nsec" "#include <sys/types.h>
42576
 
+        #include <sys/stat.h>
42577
 
+"
42578
 
+if test "x$ac_cv_member_struct_stat_st_atimespec_tv_nsec" = xyes; then :
42579
 
+  
42580
 
+cat >>confdefs.h <<_ACEOF
42581
 
+@%:@define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1
42582
 
+_ACEOF
42583
 
+
42584
 
+
42585
 
+else
42586
 
+  ac_fn_c_check_member "$LINENO" "struct stat" "st_atimensec" "ac_cv_member_struct_stat_st_atimensec" "#include <sys/types.h>
42587
 
+           #include <sys/stat.h>
42588
 
+"
42589
 
+if test "x$ac_cv_member_struct_stat_st_atimensec" = xyes; then :
42590
 
+  
42591
 
+cat >>confdefs.h <<_ACEOF
42592
 
+@%:@define HAVE_STRUCT_STAT_ST_ATIMENSEC 1
42593
 
+_ACEOF
42594
 
+
42595
 
+
42596
 
+else
42597
 
+  ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.st__tim.tv_nsec" "ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" "#include <sys/types.h>
42598
 
+              #include <sys/stat.h>
42599
 
+"
42600
 
+if test "x$ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" = xyes; then :
42601
 
+  
42602
 
+cat >>confdefs.h <<_ACEOF
42603
 
+@%:@define HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC 1
42604
 
+_ACEOF
42605
 
+
42606
 
+
42607
 
+fi
42608
 
+
42609
 
+fi
42610
 
+
42611
 
+fi
42612
 
+
42613
 
+fi
42614
 
+
42615
 
+
42616
 
+
42617
 
+  
42618
 
+  
42619
 
+  
42620
 
+  ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec.tv_nsec" "ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" "#include <sys/types.h>
42621
 
+     #include <sys/stat.h>
42622
 
+"
42623
 
+if test "x$ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" = xyes; then :
42624
 
+  
42625
 
+cat >>confdefs.h <<_ACEOF
42626
 
+@%:@define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1
42627
 
+_ACEOF
42628
 
+
42629
 
+
42630
 
+else
42631
 
+  ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimensec" "ac_cv_member_struct_stat_st_birthtimensec" "#include <sys/types.h>
42632
 
+        #include <sys/stat.h>
42633
 
+"
42634
 
+if test "x$ac_cv_member_struct_stat_st_birthtimensec" = xyes; then :
42635
 
+  
42636
 
+cat >>confdefs.h <<_ACEOF
42637
 
+@%:@define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1
42638
 
+_ACEOF
42639
 
+
42640
 
+
42641
 
+else
42642
 
+  ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim.tv_nsec" "ac_cv_member_struct_stat_st_birthtim_tv_nsec" "#include <sys/types.h>
42643
 
+          #include <sys/stat.h>
42644
 
+"
42645
 
+if test "x$ac_cv_member_struct_stat_st_birthtim_tv_nsec" = xyes; then :
42646
 
+  
42647
 
+cat >>confdefs.h <<_ACEOF
42648
 
+@%:@define HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC 1
42649
 
+_ACEOF
42650
 
+
42651
 
+
42652
 
+fi
42653
 
+
42654
 
+fi
42655
 
+
42656
 
+fi
42657
 
+
42658
 
+
42659
 
+
42660
 
+  STDARG_H=''
42661
 
+  NEXT_STDARG_H='<stdarg.h>'
42662
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
42663
 
+$as_echo_n "checking for va_copy... " >&6; }
42664
 
+  if ${gl_cv_func_va_copy+:} false; then :
42665
 
+  $as_echo_n "(cached) " >&6
42666
 
+else
42667
 
+  
42668
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42669
 
+/* end confdefs.h.  */
42670
 
+#include <stdarg.h>
42671
 
+int
42672
 
+main ()
42673
 
+{
42674
 
+
42675
 
+#ifndef va_copy
42676
 
+void (*func) (va_list, va_list) = va_copy;
42677
 
+#endif
42678
 
+         
42679
 
+  ;
42680
 
+  return 0;
42681
 
+}
42682
 
+_ACEOF
42683
 
+if ac_fn_c_try_compile "$LINENO"; then :
42684
 
+  gl_cv_func_va_copy=yes
42685
 
+else
42686
 
+  gl_cv_func_va_copy=no
42687
 
+fi
42688
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42689
 
+fi
42690
 
+
42691
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_va_copy" >&5
42692
 
+$as_echo "$gl_cv_func_va_copy" >&6; }
42693
 
+  if test $gl_cv_func_va_copy = no; then
42694
 
+                                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42695
 
+/* end confdefs.h.  */
42696
 
+#if defined _AIX && !defined __GNUC__
42697
 
+        AIX vaccine
42698
 
+       #endif
42699
 
+      
42700
 
+_ACEOF
42701
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
42702
 
+  $EGREP "vaccine" >/dev/null 2>&1; then :
42703
 
+  gl_aixcc=yes
42704
 
+else
42705
 
+  gl_aixcc=no
42706
 
+fi
42707
 
+rm -f conftest*
42708
 
+
42709
 
+    if test $gl_aixcc = yes; then
42710
 
+            STDARG_H=stdarg.h
42711
 
+      
42712
 
+  
42713
 
+  
42714
 
+  
42715
 
+
42716
 
+  
42717
 
+
42718
 
+  
42719
 
+     if test $gl_cv_have_include_next = yes; then
42720
 
+       gl_cv_next_stdarg_h='<'stdarg.h'>'
42721
 
+     else
42722
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdarg.h>" >&5
42723
 
+$as_echo_n "checking absolute name of <stdarg.h>... " >&6; }
42724
 
+if ${gl_cv_next_stdarg_h+:} false; then :
42725
 
+  $as_echo_n "(cached) " >&6
42726
 
+else
42727
 
+  
42728
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42729
 
+/* end confdefs.h.  */
42730
 
+#include <stdarg.h>
42731
 
+                  
42732
 
+_ACEOF
42733
 
+                                                                                                                        case "$host_os" in
42734
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
42735
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
42736
 
+               esac
42737
 
+                                                            gl_cv_next_stdarg_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
42738
 
+                  sed -n '\#/stdarg.h#{
42739
 
+                    s#.*"\(.*/stdarg.h\)".*#\1#
42740
 
+                    s#^/[^/]#//&#
42741
 
+                    p
42742
 
+                    q
42743
 
+                  }'`'"'
42744
 
+          
42745
 
+         
42746
 
+fi
42747
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdarg_h" >&5
42748
 
+$as_echo "$gl_cv_next_stdarg_h" >&6; }
42749
 
+     fi
42750
 
+     NEXT_STDARG_H=$gl_cv_next_stdarg_h
42751
 
+
42752
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
42753
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
42754
 
+       gl_next_as_first_directive='<'stdarg.h'>'
42755
 
+     else
42756
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
42757
 
+       gl_next_as_first_directive=$gl_cv_next_stdarg_h
42758
 
+     fi
42759
 
+     NEXT_AS_FIRST_DIRECTIVE_STDARG_H=$gl_next_as_first_directive
42760
 
+
42761
 
+     
42762
 
+
42763
 
+
42764
 
+            if test "$gl_cv_next_stdarg_h" = '""'; then
42765
 
+        gl_cv_next_stdarg_h='"///usr/include/stdarg.h"'
42766
 
+        NEXT_STDARG_H="$gl_cv_next_stdarg_h"
42767
 
+      fi
42768
 
+    else
42769
 
+                  
42770
 
+  saved_as_echo_n="$as_echo_n"
42771
 
+  as_echo_n=':'
42772
 
+  if ${gl_cv_func___va_copy+:} false; then :
42773
 
+  $as_echo_n "(cached) " >&6
42774
 
+else
42775
 
+  
42776
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42777
 
+/* end confdefs.h.  */
42778
 
+#include <stdarg.h>
42779
 
+int
42780
 
+main ()
42781
 
+{
42782
 
+
42783
 
+#ifndef __va_copy
42784
 
+error, bail out
42785
 
+#endif
42786
 
+             
42787
 
+  ;
42788
 
+  return 0;
42789
 
+}
42790
 
+_ACEOF
42791
 
+if ac_fn_c_try_compile "$LINENO"; then :
42792
 
+  gl_cv_func___va_copy=yes
42793
 
+else
42794
 
+  gl_cv_func___va_copy=no
42795
 
+fi
42796
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42797
 
+fi
42798
 
+
42799
 
+  as_echo_n="$saved_as_echo_n"
42800
 
+
42801
 
+      if test $gl_cv_func___va_copy = yes; then
42802
 
+        
42803
 
+$as_echo "@%:@define va_copy __va_copy" >>confdefs.h
42804
 
+
42805
 
+      else
42806
 
+        
42807
 
+        
42808
 
+$as_echo "@%:@define va_copy gl_va_copy" >>confdefs.h
42809
 
+
42810
 
+      fi
42811
 
+    fi
42812
 
+  fi
42813
 
+  
42814
 
+   if test -n "$STDARG_H"; then
42815
 
+  GL_GENERATE_STDARG_H_TRUE=
42816
 
+  GL_GENERATE_STDARG_H_FALSE='#'
42817
 
+else
42818
 
+  GL_GENERATE_STDARG_H_TRUE='#'
42819
 
+  GL_GENERATE_STDARG_H_FALSE=
42820
 
+fi
42821
 
+
42822
 
+  
42823
 
+
42824
 
+
42825
 
+  
42826
 
+
42827
 
+  # Define two additional variables used in the Makefile substitution.
42828
 
+
42829
 
+  if test "$ac_cv_header_stdbool_h" = yes; then
42830
 
+    STDBOOL_H=''
42831
 
+  else
42832
 
+    STDBOOL_H='stdbool.h'
42833
 
+  fi
42834
 
+  
42835
 
+   if test -n "$STDBOOL_H"; then
42836
 
+  GL_GENERATE_STDBOOL_H_TRUE=
42837
 
+  GL_GENERATE_STDBOOL_H_FALSE='#'
42838
 
+else
42839
 
+  GL_GENERATE_STDBOOL_H_TRUE='#'
42840
 
+  GL_GENERATE_STDBOOL_H_FALSE=
42841
 
+fi
42842
 
+
42843
 
+
42844
 
+  if test "$ac_cv_type__Bool" = yes; then
42845
 
+    HAVE__BOOL=1
42846
 
+  else
42847
 
+    HAVE__BOOL=0
42848
 
+  fi
42849
 
+  
42850
 
+
42851
 
+
42852
 
+  
42853
 
+  
42854
 
+  STDDEF_H=
42855
 
+  if test $gt_cv_c_wchar_t = no; then
42856
 
+    HAVE_WCHAR_T=0
42857
 
+    STDDEF_H=stddef.h
42858
 
+  fi
42859
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
42860
 
+$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
42861
 
+if ${gl_cv_decl_null_works+:} false; then :
42862
 
+  $as_echo_n "(cached) " >&6
42863
 
+else
42864
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42865
 
+/* end confdefs.h.  */
42866
 
+#include <stddef.h>
42867
 
+      int test[2 * (sizeof NULL == sizeof (void *)) -1];
42868
 
+
42869
 
+int
42870
 
+main ()
42871
 
+{
42872
 
+
42873
 
+  ;
42874
 
+  return 0;
42875
 
+}
42876
 
+_ACEOF
42877
 
+if ac_fn_c_try_compile "$LINENO"; then :
42878
 
+  gl_cv_decl_null_works=yes
42879
 
+else
42880
 
+  gl_cv_decl_null_works=no
42881
 
+fi
42882
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42883
 
+fi
42884
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5
42885
 
+$as_echo "$gl_cv_decl_null_works" >&6; }
42886
 
+  if test $gl_cv_decl_null_works = no; then
42887
 
+    REPLACE_NULL=1
42888
 
+    STDDEF_H=stddef.h
42889
 
+  fi
42890
 
+  
42891
 
+   if test -n "$STDDEF_H"; then
42892
 
+  GL_GENERATE_STDDEF_H_TRUE=
42893
 
+  GL_GENERATE_STDDEF_H_FALSE='#'
42894
 
+else
42895
 
+  GL_GENERATE_STDDEF_H_TRUE='#'
42896
 
+  GL_GENERATE_STDDEF_H_FALSE=
42897
 
+fi
42898
 
+
42899
 
+  if test -n "$STDDEF_H"; then
42900
 
+    
42901
 
+  
42902
 
+  
42903
 
+  
42904
 
+
42905
 
+  
42906
 
+
42907
 
+  
42908
 
+     if test $gl_cv_have_include_next = yes; then
42909
 
+       gl_cv_next_stddef_h='<'stddef.h'>'
42910
 
+     else
42911
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
42912
 
+$as_echo_n "checking absolute name of <stddef.h>... " >&6; }
42913
 
+if ${gl_cv_next_stddef_h+:} false; then :
42914
 
+  $as_echo_n "(cached) " >&6
42915
 
+else
42916
 
+  
42917
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42918
 
+/* end confdefs.h.  */
42919
 
+#include <stddef.h>
42920
 
+                  
42921
 
+_ACEOF
42922
 
+                                                                                                                        case "$host_os" in
42923
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
42924
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
42925
 
+               esac
42926
 
+                                                            gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
42927
 
+                  sed -n '\#/stddef.h#{
42928
 
+                    s#.*"\(.*/stddef.h\)".*#\1#
42929
 
+                    s#^/[^/]#//&#
42930
 
+                    p
42931
 
+                    q
42932
 
+                  }'`'"'
42933
 
+          
42934
 
+         
42935
 
+fi
42936
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
42937
 
+$as_echo "$gl_cv_next_stddef_h" >&6; }
42938
 
+     fi
42939
 
+     NEXT_STDDEF_H=$gl_cv_next_stddef_h
42940
 
+
42941
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
42942
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
42943
 
+       gl_next_as_first_directive='<'stddef.h'>'
42944
 
+     else
42945
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
42946
 
+       gl_next_as_first_directive=$gl_cv_next_stddef_h
42947
 
+     fi
42948
 
+     NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive
42949
 
+
42950
 
+     
42951
 
+
42952
 
+
42953
 
+  fi
42954
 
+
42955
 
+
42956
 
+
42957
 
+  
42958
 
+  
42959
 
+  
42960
 
+  
42961
 
+  
42962
 
+  
42963
 
+
42964
 
+  
42965
 
+
42966
 
+  
42967
 
+     if test $gl_cv_have_include_next = yes; then
42968
 
+       gl_cv_next_stdio_h='<'stdio.h'>'
42969
 
+     else
42970
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdio.h>" >&5
42971
 
+$as_echo_n "checking absolute name of <stdio.h>... " >&6; }
42972
 
+if ${gl_cv_next_stdio_h+:} false; then :
42973
 
+  $as_echo_n "(cached) " >&6
42974
 
+else
42975
 
+  
42976
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42977
 
+/* end confdefs.h.  */
42978
 
+#include <stdio.h>
42979
 
+                  
42980
 
+_ACEOF
42981
 
+                                                                                                                        case "$host_os" in
42982
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
42983
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
42984
 
+               esac
42985
 
+                                                            gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
42986
 
+                  sed -n '\#/stdio.h#{
42987
 
+                    s#.*"\(.*/stdio.h\)".*#\1#
42988
 
+                    s#^/[^/]#//&#
42989
 
+                    p
42990
 
+                    q
42991
 
+                  }'`'"'
42992
 
+          
42993
 
+         
42994
 
+fi
42995
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5
42996
 
+$as_echo "$gl_cv_next_stdio_h" >&6; }
42997
 
+     fi
42998
 
+     NEXT_STDIO_H=$gl_cv_next_stdio_h
42999
 
+
43000
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
43001
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
43002
 
+       gl_next_as_first_directive='<'stdio.h'>'
43003
 
+     else
43004
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
43005
 
+       gl_next_as_first_directive=$gl_cv_next_stdio_h
43006
 
+     fi
43007
 
+     NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive
43008
 
+
43009
 
+     
43010
 
+
43011
 
+
43012
 
+
43013
 
+      GNULIB_FSCANF=1
43014
 
+  GNULIB_SCANF=1
43015
 
+  GNULIB_FGETC=1
43016
 
+  GNULIB_GETC=1
43017
 
+  GNULIB_GETCHAR=1
43018
 
+  GNULIB_FGETS=1
43019
 
+  GNULIB_GETS=1
43020
 
+  GNULIB_FREAD=1
43021
 
+            
43022
 
+
43023
 
+      GNULIB_FPRINTF=1
43024
 
+  GNULIB_PRINTF=1
43025
 
+  GNULIB_VFPRINTF=1
43026
 
+  GNULIB_VPRINTF=1
43027
 
+  GNULIB_FPUTC=1
43028
 
+  GNULIB_PUTC=1
43029
 
+  GNULIB_PUTCHAR=1
43030
 
+  GNULIB_FPUTS=1
43031
 
+  GNULIB_PUTS=1
43032
 
+  GNULIB_FWRITE=1
43033
 
+            
43034
 
+            
43035
 
+
43036
 
+        
43037
 
+    for gl_func in dprintf fpurge fseeko ftello getdelim getline popen renameat     snprintf tmpfile vdprintf vsnprintf; do
43038
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
43039
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
43040
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
43041
 
+if eval \${$as_gl_Symbol+:} false; then :
43042
 
+  $as_echo_n "(cached) " >&6
43043
 
+else
43044
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43045
 
+/* end confdefs.h.  */
43046
 
+#include <stdio.h>
43047
 
+    
43048
 
+int
43049
 
+main ()
43050
 
+{
43051
 
+@%:@undef $gl_func
43052
 
+  (void) $gl_func;
43053
 
+  ;
43054
 
+  return 0;
43055
 
+}
43056
 
+_ACEOF
43057
 
+if ac_fn_c_try_compile "$LINENO"; then :
43058
 
+  eval "$as_gl_Symbol=yes"
43059
 
+else
43060
 
+  eval "$as_gl_Symbol=no"
43061
 
+fi
43062
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43063
 
+fi
43064
 
+eval ac_res=\$$as_gl_Symbol
43065
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
43066
 
+$as_echo "$ac_res" >&6; }
43067
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
43068
 
+  cat >>confdefs.h <<_ACEOF
43069
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
43070
 
+_ACEOF
43071
 
+
43072
 
+                     eval ac_cv_have_decl_$gl_func=yes
43073
 
+fi
43074
 
+      done
43075
 
+
43076
 
+
43077
 
+
43078
 
+  
43079
 
+  
43080
 
+  
43081
 
+  
43082
 
+  
43083
 
+
43084
 
+  
43085
 
+
43086
 
+  
43087
 
+     if test $gl_cv_have_include_next = yes; then
43088
 
+       gl_cv_next_stdlib_h='<'stdlib.h'>'
43089
 
+     else
43090
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdlib.h>" >&5
43091
 
+$as_echo_n "checking absolute name of <stdlib.h>... " >&6; }
43092
 
+if ${gl_cv_next_stdlib_h+:} false; then :
43093
 
+  $as_echo_n "(cached) " >&6
43094
 
+else
43095
 
+  
43096
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43097
 
+/* end confdefs.h.  */
43098
 
+#include <stdlib.h>
43099
 
+                  
43100
 
+_ACEOF
43101
 
+                                                                                                                        case "$host_os" in
43102
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
43103
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
43104
 
+               esac
43105
 
+                                                            gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
43106
 
+                  sed -n '\#/stdlib.h#{
43107
 
+                    s#.*"\(.*/stdlib.h\)".*#\1#
43108
 
+                    s#^/[^/]#//&#
43109
 
+                    p
43110
 
+                    q
43111
 
+                  }'`'"'
43112
 
+          
43113
 
+         
43114
 
+fi
43115
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5
43116
 
+$as_echo "$gl_cv_next_stdlib_h" >&6; }
43117
 
+     fi
43118
 
+     NEXT_STDLIB_H=$gl_cv_next_stdlib_h
43119
 
+
43120
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
43121
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
43122
 
+       gl_next_as_first_directive='<'stdlib.h'>'
43123
 
+     else
43124
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
43125
 
+       gl_next_as_first_directive=$gl_cv_next_stdlib_h
43126
 
+     fi
43127
 
+     NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive
43128
 
+
43129
 
+     
43130
 
+
43131
 
+
43132
 
+
43133
 
+        
43134
 
+    for gl_func in _Exit atoll canonicalize_file_name getloadavg getsubopt grantpt mkdtemp     mkostemp mkostemps mkstemp mkstemps ptsname random_r initstat_r srandom_r     setstate_r realpath rpmatch setenv strtod strtoll strtoull unlockpt     unsetenv; do
43135
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
43136
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
43137
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
43138
 
+if eval \${$as_gl_Symbol+:} false; then :
43139
 
+  $as_echo_n "(cached) " >&6
43140
 
+else
43141
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43142
 
+/* end confdefs.h.  */
43143
 
+#include <stdlib.h>
43144
 
+#if HAVE_SYS_LOADAVG_H
43145
 
+# include <sys/loadavg.h>
43146
 
+#endif
43147
 
+#if HAVE_RANDOM_H
43148
 
+# include <random.h>
43149
 
+#endif
43150
 
+    
43151
 
+int
43152
 
+main ()
43153
 
+{
43154
 
+@%:@undef $gl_func
43155
 
+  (void) $gl_func;
43156
 
+  ;
43157
 
+  return 0;
43158
 
+}
43159
 
+_ACEOF
43160
 
+if ac_fn_c_try_compile "$LINENO"; then :
43161
 
+  eval "$as_gl_Symbol=yes"
43162
 
+else
43163
 
+  eval "$as_gl_Symbol=no"
43164
 
+fi
43165
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43166
 
+fi
43167
 
+eval ac_res=\$$as_gl_Symbol
43168
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
43169
 
+$as_echo "$ac_res" >&6; }
43170
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
43171
 
+  cat >>confdefs.h <<_ACEOF
43172
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
43173
 
+_ACEOF
43174
 
+
43175
 
+                     eval ac_cv_have_decl_$gl_func=yes
43176
 
+fi
43177
 
+      done
43178
 
+
43179
 
+
43180
 
+
43181
 
+    
43182
 
+
43183
 
+    
43184
 
+
43185
 
+  
43186
 
+  for ac_func in stpcpy
43187
 
+do :
43188
 
+  ac_fn_c_check_func "$LINENO" "stpcpy" "ac_cv_func_stpcpy"
43189
 
+if test "x$ac_cv_func_stpcpy" = xyes; then :
43190
 
+  cat >>confdefs.h <<_ACEOF
43191
 
+@%:@define HAVE_STPCPY 1
43192
 
+_ACEOF
43193
 
43194
 
+fi
43195
 
+done
43196
 
+
43197
 
+  if test $ac_cv_func_stpcpy = no; then
43198
 
+    HAVE_STPCPY=0
43199
 
+  fi
43200
 
+
43201
 
+if test $HAVE_STPCPY = 0; then
43202
 
+  
43203
 
+  
43204
 
+  
43205
 
+    
43206
 
+      
43207
 
+      
43208
 
+    
43209
 
+  
43210
 
+  gl_LIBOBJS="$gl_LIBOBJS stpcpy.$ac_objext"
43211
 
+
43212
 
+  
43213
 
+  :
43214
 
+
43215
 
+fi
43216
 
+
43217
 
+    
43218
 
+  
43219
 
+  
43220
 
+  
43221
 
+          GNULIB_STPCPY=1
43222
 
+    
43223
 
+
43224
 
+
43225
 
+    
43226
 
+  
43227
 
+$as_echo "@%:@define GNULIB_TEST_STPCPY 1" >>confdefs.h
43228
 
+
43229
 
+
43230
 
+
43231
 
+
43232
 
+    
43233
 
+
43234
 
+    
43235
 
+
43236
 
+  
43237
 
+
43238
 
+                  
43239
 
+  
43240
 
+  
43241
 
+  if test $ac_cv_func_stpncpy = yes; then
43242
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working stpncpy" >&5
43243
 
+$as_echo_n "checking for working stpncpy... " >&6; }
43244
 
+if ${gl_cv_func_stpncpy+:} false; then :
43245
 
+  $as_echo_n "(cached) " >&6
43246
 
+else
43247
 
+  
43248
 
+      if test "$cross_compiling" = yes; then :
43249
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43250
 
+/* end confdefs.h.  */
43251
 
+
43252
 
+#include <features.h>
43253
 
+#ifdef __GNU_LIBRARY__
43254
 
+  Thanks for using GNU
43255
 
+#endif
43256
 
+
43257
 
+_ACEOF
43258
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
43259
 
+  $EGREP "Thanks for using GNU" >/dev/null 2>&1; then :
43260
 
+  gl_cv_func_stpncpy=yes
43261
 
+else
43262
 
+  gl_cv_func_stpncpy=no
43263
 
+fi
43264
 
+rm -f conftest*
43265
 
+
43266
 
+        
43267
 
+else
43268
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43269
 
+/* end confdefs.h.  */
43270
 
+
43271
 
+#include <stdlib.h>
43272
 
+#include <string.h> /* for strcpy */
43273
 
+/* The stpncpy prototype is missing in <string.h> on AIX 4.  */
43274
 
+#if !HAVE_DECL_STPNCPY
43275
 
+extern
43276
 
+# ifdef __cplusplus
43277
 
+"C"
43278
 
+# endif
43279
 
+char *stpncpy (char *dest, const char *src, size_t n);
43280
 
+#endif
43281
 
+int main ()
43282
 
+{
43283
 
+  int result = 0;
43284
 
+  const char *src = "Hello";
43285
 
+  char dest[10];
43286
 
+  /* AIX 4.3.3 and AIX 5.1 stpncpy() returns dest+1 here.  */
43287
 
+  {
43288
 
+    strcpy (dest, "\377\377\377\377\377\377");
43289
 
+    if (stpncpy (dest, src, 2) != dest + 2)
43290
 
+      result |= 1;
43291
 
+  }
43292
 
+  /* AIX 4.3.3 and AIX 5.1 stpncpy() returns dest+4 here.  */
43293
 
+  {
43294
 
+    strcpy (dest, "\377\377\377\377\377\377");
43295
 
+    if (stpncpy (dest, src, 5) != dest + 5)
43296
 
+      result |= 2;
43297
 
+  }
43298
 
+  /* AIX 4.3.3 and AIX 5.1 stpncpy() returns dest+6 here.  */
43299
 
+  {
43300
 
+    strcpy (dest, "\377\377\377\377\377\377");
43301
 
+    if (stpncpy (dest, src, 7) != dest + 5)
43302
 
+      result |= 4;
43303
 
+  }
43304
 
+  return result;
43305
 
+}
43306
 
+
43307
 
+_ACEOF
43308
 
+if ac_fn_c_try_run "$LINENO"; then :
43309
 
+  gl_cv_func_stpncpy=yes
43310
 
+else
43311
 
+  gl_cv_func_stpncpy=no
43312
 
+fi
43313
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43314
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
43315
 
+fi
43316
 
+
43317
 
+    
43318
 
+fi
43319
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stpncpy" >&5
43320
 
+$as_echo "$gl_cv_func_stpncpy" >&6; }
43321
 
+    if test $gl_cv_func_stpncpy = yes; then
43322
 
+      
43323
 
+$as_echo "@%:@define HAVE_STPNCPY 1" >>confdefs.h
43324
 
+
43325
 
+    else
43326
 
+      REPLACE_STPNCPY=1
43327
 
+    fi
43328
 
+  else
43329
 
+    HAVE_STPNCPY=0
43330
 
+  fi
43331
 
+
43332
 
+if test $HAVE_STPNCPY = 0 || test $REPLACE_STPNCPY = 1; then
43333
 
+  
43334
 
+  
43335
 
+  
43336
 
+    
43337
 
+      
43338
 
+      
43339
 
+    
43340
 
+  
43341
 
+  gl_LIBOBJS="$gl_LIBOBJS stpncpy.$ac_objext"
43342
 
+
43343
 
+  
43344
 
+  :
43345
 
+
43346
 
+fi
43347
 
+
43348
 
+    
43349
 
+  
43350
 
+  
43351
 
+  
43352
 
+          GNULIB_STPNCPY=1
43353
 
+    
43354
 
+
43355
 
+
43356
 
+    
43357
 
+  
43358
 
+$as_echo "@%:@define GNULIB_TEST_STPNCPY 1" >>confdefs.h
43359
 
+
43360
 
+
43361
 
+
43362
 
+
43363
 
+  
43364
 
+  
43365
 
+  
43366
 
+  if test $ac_cv_func_strdup = yes; then
43367
 
+    if test $gl_cv_func_malloc_posix != yes; then
43368
 
+      REPLACE_STRDUP=1
43369
 
+    fi
43370
 
+  fi
43371
 
+  
43372
 
+  if test $ac_cv_have_decl_strdup = no; then
43373
 
+    HAVE_DECL_STRDUP=0
43374
 
+  fi
43375
 
+
43376
 
+if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
43377
 
+  
43378
 
+  
43379
 
+  
43380
 
+    
43381
 
+      
43382
 
+      
43383
 
+    
43384
 
+  
43385
 
+  gl_LIBOBJS="$gl_LIBOBJS strdup.$ac_objext"
43386
 
+
43387
 
+  :
43388
 
+fi
43389
 
+
43390
 
+    
43391
 
+  
43392
 
+  
43393
 
+  
43394
 
+          GNULIB_STRDUP=1
43395
 
+    
43396
 
+
43397
 
+
43398
 
+    
43399
 
+  
43400
 
+$as_echo "@%:@define GNULIB_TEST_STRDUP 1" >>confdefs.h
43401
 
+
43402
 
+
43403
 
+
43404
 
+
43405
 
+  
43406
 
+  
43407
 
+  
43408
 
+  
43409
 
+    
43410
 
+  
43411
 
+  if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
43412
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5
43413
 
+$as_echo_n "checking for working strerror function... " >&6; }
43414
 
+if ${gl_cv_func_working_strerror+:} false; then :
43415
 
+  $as_echo_n "(cached) " >&6
43416
 
+else
43417
 
+  if test "$cross_compiling" = yes; then :
43418
 
+           gl_cv_func_working_strerror="guessing no"
43419
 
+else
43420
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43421
 
+/* end confdefs.h.  */
43422
 
+#include <string.h>
43423
 
+           
43424
 
+int
43425
 
+main ()
43426
 
+{
43427
 
+if (!*strerror (-2)) return 1;
43428
 
+  ;
43429
 
+  return 0;
43430
 
+}
43431
 
+_ACEOF
43432
 
+if ac_fn_c_try_run "$LINENO"; then :
43433
 
+  gl_cv_func_working_strerror=yes
43434
 
+else
43435
 
+  gl_cv_func_working_strerror=no
43436
 
+fi
43437
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43438
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
43439
 
+fi
43440
 
+
43441
 
+    
43442
 
+fi
43443
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5
43444
 
+$as_echo "$gl_cv_func_working_strerror" >&6; }
43445
 
+    if test "$gl_cv_func_working_strerror" != yes; then
43446
 
+                  REPLACE_STRERROR=1
43447
 
+    fi
43448
 
+    
43449
 
+                  case "$gl_cv_func_strerror_r_works" in
43450
 
+        *no) REPLACE_STRERROR=1 ;;
43451
 
+      esac
43452
 
+    
43453
 
+  else
43454
 
+            REPLACE_STRERROR=1
43455
 
+  fi
43456
 
+
43457
 
+if test $REPLACE_STRERROR = 1; then
43458
 
+  
43459
 
+  
43460
 
+  
43461
 
+    
43462
 
+      
43463
 
+      
43464
 
+    
43465
 
+  
43466
 
+  gl_LIBOBJS="$gl_LIBOBJS strerror.$ac_objext"
43467
 
+
43468
 
+fi
43469
 
+
43470
 
+  
43471
 
+cat >>confdefs.h <<_ACEOF
43472
 
+@%:@define GNULIB_STRERROR 1
43473
 
+_ACEOF
43474
 
+
43475
 
+
43476
 
+
43477
 
+    
43478
 
+  
43479
 
+  
43480
 
+  
43481
 
+          GNULIB_STRERROR=1
43482
 
+    
43483
 
+
43484
 
+
43485
 
+    
43486
 
+  
43487
 
+$as_echo "@%:@define GNULIB_TEST_STRERROR 1" >>confdefs.h
43488
 
+
43489
 
+
43490
 
+
43491
 
+
43492
 
+
43493
 
+if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
43494
 
+  
43495
 
+  
43496
 
+  
43497
 
+    
43498
 
+      
43499
 
+      
43500
 
+    
43501
 
+  
43502
 
+  gl_LIBOBJS="$gl_LIBOBJS strerror-override.$ac_objext"
43503
 
+
43504
 
+  
43505
 
+  
43506
 
+  
43507
 
+  
43508
 
+  if test $ac_cv_header_sys_socket_h != yes; then
43509
 
+                    for ac_header in winsock2.h
43510
 
+do :
43511
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
43512
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
43513
 
+  cat >>confdefs.h <<_ACEOF
43514
 
+@%:@define HAVE_WINSOCK2_H 1
43515
 
+_ACEOF
43516
 
43517
 
+fi
43518
 
+
43519
 
+done
43520
 
+
43521
 
+  fi
43522
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
43523
 
+    HAVE_WINSOCK2_H=1
43524
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
43525
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
43526
 
+  else
43527
 
+    HAVE_WINSOCK2_H=0
43528
 
+  fi
43529
 
+  
43530
 
+
43531
 
+fi
43532
 
+
43533
 
+  
43534
 
+ # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
43535
 
43536
 
+
43537
 
43538
 
+
43539
 
43540
 
+
43541
 
43542
 
+$as_echo "@%:@define my_strftime nstrftime" >>confdefs.h
43543
 
+
43544
 
+
43545
 
+
43546
 
+if test $gl_cond_libtool = false; then
43547
 
+  gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
43548
 
+  gl_libdeps="$gl_libdeps $LIBICONV"
43549
 
+fi
43550
 
+
43551
 
+      
43552
 
+
43553
 
+
43554
 
+    
43555
 
+
43556
 
+     
43557
 
+  
43558
 
+  
43559
 
+  if test $ac_cv_have_decl_strndup = no; then
43560
 
+    HAVE_DECL_STRNDUP=0
43561
 
+  fi
43562
 
+
43563
 
+  if test $ac_cv_func_strndup = yes; then
43564
 
+    HAVE_STRNDUP=1
43565
 
+    # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'.
43566
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5
43567
 
+$as_echo_n "checking for working strndup... " >&6; }
43568
 
+if ${gl_cv_func_strndup_works+:} false; then :
43569
 
+  $as_echo_n "(cached) " >&6
43570
 
+else
43571
 
+  if test "$cross_compiling" = yes; then :
43572
 
+  
43573
 
+          case $host_os in
43574
 
+            aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";;
43575
 
+            *)               gl_cv_func_strndup_works="guessing yes";;
43576
 
+          esac
43577
 
+         
43578
 
+else
43579
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43580
 
+/* end confdefs.h.  */
43581
 
+
43582
 
+         #include <string.h>
43583
 
+                           #include <stdlib.h>
43584
 
+int
43585
 
+main ()
43586
 
+{
43587
 
+
43588
 
+#ifndef HAVE_DECL_STRNDUP
43589
 
+  extern
43590
 
+  #ifdef __cplusplus
43591
 
+  "C"
43592
 
+  #endif
43593
 
+  char *strndup (const char *, size_t);
43594
 
+#endif
43595
 
+  char *s;
43596
 
+  s = strndup ("some longer string", 15);
43597
 
+  free (s);
43598
 
+  s = strndup ("shorter string", 13);
43599
 
+  return s[13] != '\0';
43600
 
+  ;
43601
 
+  return 0;
43602
 
+}
43603
 
+_ACEOF
43604
 
+if ac_fn_c_try_run "$LINENO"; then :
43605
 
+  gl_cv_func_strndup_works=yes
43606
 
+else
43607
 
+  gl_cv_func_strndup_works=no
43608
 
+fi
43609
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43610
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
43611
 
+fi
43612
 
+
43613
 
+fi
43614
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strndup_works" >&5
43615
 
+$as_echo "$gl_cv_func_strndup_works" >&6; }
43616
 
+    case $gl_cv_func_strndup_works in
43617
 
+      *no) REPLACE_STRNDUP=1 ;;
43618
 
+    esac
43619
 
+  else
43620
 
+    HAVE_STRNDUP=0
43621
 
+  fi
43622
 
+
43623
 
+if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then
43624
 
+  
43625
 
+  
43626
 
+  
43627
 
+    
43628
 
+      
43629
 
+      
43630
 
+    
43631
 
+  
43632
 
+  gl_LIBOBJS="$gl_LIBOBJS strndup.$ac_objext"
43633
 
+
43634
 
+fi
43635
 
+
43636
 
+    
43637
 
+  
43638
 
+  
43639
 
+  
43640
 
+          GNULIB_STRNDUP=1
43641
 
+    
43642
 
+
43643
 
+
43644
 
+    
43645
 
+  
43646
 
+$as_echo "@%:@define GNULIB_TEST_STRNDUP 1" >>confdefs.h
43647
 
+
43648
 
+
43649
 
+
43650
 
+
43651
 
+  
43652
 
+
43653
 
+    
43654
 
+
43655
 
+  
43656
 
+  if test $ac_cv_have_decl_strnlen = no; then
43657
 
+    HAVE_DECL_STRNLEN=0
43658
 
+  else
43659
 
+    
43660
 
+         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
43661
 
+$as_echo_n "checking for working strnlen... " >&6; }
43662
 
+if ${ac_cv_func_strnlen_working+:} false; then :
43663
 
+  $as_echo_n "(cached) " >&6
43664
 
+else
43665
 
+  if test "$cross_compiling" = yes; then :
43666
 
+  # Guess no on AIX systems, yes otherwise.
43667
 
+               case "$host_os" in
43668
 
+                 aix*) ac_cv_func_strnlen_working=no;;
43669
 
+                 *)    ac_cv_func_strnlen_working=yes;;
43670
 
+               esac
43671
 
+else
43672
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43673
 
+/* end confdefs.h.  */
43674
 
+$ac_includes_default
43675
 
+int
43676
 
+main ()
43677
 
+{
43678
 
+
43679
 
+#define S "foobar"
43680
 
+#define S_LEN (sizeof S - 1)
43681
 
+
43682
 
+  /* At least one implementation is buggy: that of AIX 4.3 would
43683
 
+     give strnlen (S, 1) == 3.  */
43684
 
+
43685
 
+  int i;
43686
 
+  for (i = 0; i < S_LEN + 1; ++i)
43687
 
+    {
43688
 
+      int expected = i <= S_LEN ? i : S_LEN;
43689
 
+      if (strnlen (S, i) != expected)
43690
 
+       return 1;
43691
 
+    }
43692
 
+  return 0;
43693
 
+
43694
 
+  ;
43695
 
+  return 0;
43696
 
+}
43697
 
+_ACEOF
43698
 
+if ac_fn_c_try_run "$LINENO"; then :
43699
 
+  ac_cv_func_strnlen_working=yes
43700
 
+else
43701
 
+  ac_cv_func_strnlen_working=no
43702
 
+fi
43703
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43704
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
43705
 
+fi
43706
 
+
43707
 
+fi
43708
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5
43709
 
+$as_echo "$ac_cv_func_strnlen_working" >&6; }
43710
 
+test $ac_cv_func_strnlen_working = no && :
43711
 
+
43712
 
+    
43713
 
+    if test $ac_cv_func_strnlen_working = no; then
43714
 
+      REPLACE_STRNLEN=1
43715
 
+    fi
43716
 
+  fi
43717
 
+
43718
 
+if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
43719
 
+  
43720
 
+  
43721
 
+  
43722
 
+    
43723
 
+      
43724
 
+      
43725
 
+    
43726
 
+  
43727
 
+  gl_LIBOBJS="$gl_LIBOBJS strnlen.$ac_objext"
43728
 
+
43729
 
+  :
43730
 
+fi
43731
 
+
43732
 
+    
43733
 
+  
43734
 
+  
43735
 
+  
43736
 
+          GNULIB_STRNLEN=1
43737
 
+    
43738
 
+
43739
 
+
43740
 
+    
43741
 
+  
43742
 
+$as_echo "@%:@define GNULIB_TEST_STRNLEN 1" >>confdefs.h
43743
 
+
43744
 
+
43745
 
+
43746
 
+
43747
 
+    
43748
 
+
43749
 
+  
43750
 
+   
43751
 
+  
43752
 
+  if test $ac_cv_have_decl_strsignal = no; then
43753
 
+    HAVE_DECL_STRSIGNAL=0
43754
 
+  fi
43755
 
+
43756
 
+  for ac_func in strsignal
43757
 
+do :
43758
 
+  ac_fn_c_check_func "$LINENO" "strsignal" "ac_cv_func_strsignal"
43759
 
+if test "x$ac_cv_func_strsignal" = xyes; then :
43760
 
+  cat >>confdefs.h <<_ACEOF
43761
 
+@%:@define HAVE_STRSIGNAL 1
43762
 
+_ACEOF
43763
 
43764
 
+fi
43765
 
+done
43766
 
+
43767
 
+  if test $ac_cv_func_strsignal = yes; then
43768
 
+    HAVE_STRSIGNAL=1
43769
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strsignal always returns a string" >&5
43770
 
+$as_echo_n "checking whether strsignal always returns a string... " >&6; }
43771
 
+if ${gl_cv_func_working_strsignal+:} false; then :
43772
 
+  $as_echo_n "(cached) " >&6
43773
 
+else
43774
 
+  if test "$cross_compiling" = yes; then :
43775
 
+  case "$host_os" in
43776
 
+            solaris* | aix*) gl_cv_func_working_strsignal=no;;
43777
 
+            *)               gl_cv_func_working_strsignal="guessing yes";;
43778
 
+          esac
43779
 
+else
43780
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43781
 
+/* end confdefs.h.  */
43782
 
+#include <string.h>
43783
 
+#include <unistd.h> /* NetBSD 5.0 declares it in wrong header. */
43784
 
+            
43785
 
+int
43786
 
+main ()
43787
 
+{
43788
 
+int result = 0;
43789
 
+              char *s = strsignal (-1);
43790
 
+              if (s == (char *) 0)
43791
 
+                result |= 1;
43792
 
+              if (s == (char *) -1)
43793
 
+                result |= 2;
43794
 
+              return result;
43795
 
+            
43796
 
+  ;
43797
 
+  return 0;
43798
 
+}
43799
 
+_ACEOF
43800
 
+if ac_fn_c_try_run "$LINENO"; then :
43801
 
+  gl_cv_func_working_strsignal=yes
43802
 
+else
43803
 
+  gl_cv_func_working_strsignal=no
43804
 
+fi
43805
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43806
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
43807
 
+fi
43808
 
+
43809
 
+fi
43810
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strsignal" >&5
43811
 
+$as_echo "$gl_cv_func_working_strsignal" >&6; }
43812
 
+    if test "$gl_cv_func_working_strsignal" = no; then
43813
 
+      REPLACE_STRSIGNAL=1
43814
 
+    fi
43815
 
+  else
43816
 
+    HAVE_STRSIGNAL=0
43817
 
+  fi
43818
 
+
43819
 
+if test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1; then
43820
 
+  
43821
 
+  
43822
 
+  
43823
 
+    
43824
 
+      
43825
 
+      
43826
 
+    
43827
 
+  
43828
 
+  gl_LIBOBJS="$gl_LIBOBJS strsignal.$ac_objext"
43829
 
+
43830
 
+  
43831
 
+  
43832
 
+  ac_fn_c_check_decl "$LINENO" "_sys_siglist" "ac_cv_have_decl__sys_siglist" "#include <signal.h>
43833
 
+"
43834
 
+if test "x$ac_cv_have_decl__sys_siglist" = xyes; then :
43835
 
+  ac_have_decl=1
43836
 
+else
43837
 
+  ac_have_decl=0
43838
 
+fi
43839
 
+
43840
 
+cat >>confdefs.h <<_ACEOF
43841
 
+@%:@define HAVE_DECL__SYS_SIGLIST $ac_have_decl
43842
 
+_ACEOF
43843
 
+
43844
 
+
43845
 
+fi
43846
 
+
43847
 
+    
43848
 
+  
43849
 
+  
43850
 
+  
43851
 
+          GNULIB_STRSIGNAL=1
43852
 
+    
43853
 
+
43854
 
+
43855
 
+    
43856
 
+  
43857
 
+$as_echo "@%:@define GNULIB_TEST_STRSIGNAL 1" >>confdefs.h
43858
 
+
43859
 
+
43860
 
+
43861
 
+
43862
 
+  
43863
 
+  
43864
 
+  if test "$gl_cv_func_memchr_works" != yes; then
43865
 
+    REPLACE_STRSTR=1
43866
 
+  else
43867
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5
43868
 
+$as_echo_n "checking whether strstr works... " >&6; }
43869
 
+if ${gl_cv_func_strstr_works_always+:} false; then :
43870
 
+  $as_echo_n "(cached) " >&6
43871
 
+else
43872
 
+  if test "$cross_compiling" = yes; then :
43873
 
+                                               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43874
 
+/* end confdefs.h.  */
43875
 
+
43876
 
+#ifdef __GNU_LIBRARY__
43877
 
+ #include <features.h>
43878
 
+ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \
43879
 
+     || defined __UCLIBC__
43880
 
+  Lucky user
43881
 
+ #endif
43882
 
+#elif defined __CYGWIN__
43883
 
+ #include <cygwin/version.h>
43884
 
+ #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
43885
 
+  Lucky user
43886
 
+ #endif
43887
 
+#else
43888
 
+  Lucky user
43889
 
+#endif
43890
 
+           
43891
 
+_ACEOF
43892
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
43893
 
+  $EGREP "Lucky user" >/dev/null 2>&1; then :
43894
 
+  gl_cv_func_strstr_works_always=yes
43895
 
+else
43896
 
+  gl_cv_func_strstr_works_always="guessing no"
43897
 
+fi
43898
 
+rm -f conftest*
43899
 
+
43900
 
+        
43901
 
+else
43902
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43903
 
+/* end confdefs.h.  */
43904
 
+
43905
 
+#include <string.h> /* for strstr */
43906
 
+#define P "_EF_BF_BD"
43907
 
+#define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P
43908
 
+#define NEEDLE P P P P P
43909
 
+
43910
 
+int
43911
 
+main ()
43912
 
+{
43913
 
+return !!strstr (HAYSTACK, NEEDLE);
43914
 
+    
43915
 
+  ;
43916
 
+  return 0;
43917
 
+}
43918
 
+_ACEOF
43919
 
+if ac_fn_c_try_run "$LINENO"; then :
43920
 
+  gl_cv_func_strstr_works_always=yes
43921
 
+else
43922
 
+  gl_cv_func_strstr_works_always=no
43923
 
+fi
43924
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43925
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
43926
 
+fi
43927
 
+
43928
 
+      
43929
 
+fi
43930
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strstr_works_always" >&5
43931
 
+$as_echo "$gl_cv_func_strstr_works_always" >&6; }
43932
 
+    if test "$gl_cv_func_strstr_works_always" != yes; then
43933
 
+      REPLACE_STRSTR=1
43934
 
+    fi
43935
 
+  fi
43936
 
+
43937
 
+if test $REPLACE_STRSTR = 1; then
43938
 
+  
43939
 
+  
43940
 
+  
43941
 
+    
43942
 
+      
43943
 
+      
43944
 
+    
43945
 
+  
43946
 
+  gl_LIBOBJS="$gl_LIBOBJS strstr.$ac_objext"
43947
 
+
43948
 
+fi
43949
 
+
43950
 
+    
43951
 
+  
43952
 
+  
43953
 
+  
43954
 
+          GNULIB_STRSTR=1
43955
 
+    
43956
 
+
43957
 
+
43958
 
+    
43959
 
+  
43960
 
+$as_echo "@%:@define GNULIB_TEST_STRSTR 1" >>confdefs.h
43961
 
+
43962
 
+
43963
 
+
43964
 
+
43965
 
+  
43966
 
+  
43967
 
+  if test $HAVE_STRTOD = 1; then
43968
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtod obeys C99" >&5
43969
 
+$as_echo_n "checking whether strtod obeys C99... " >&6; }
43970
 
+if ${gl_cv_func_strtod_works+:} false; then :
43971
 
+  $as_echo_n "(cached) " >&6
43972
 
+else
43973
 
+  if test "$cross_compiling" = yes; then :
43974
 
+                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43975
 
+/* end confdefs.h.  */
43976
 
+
43977
 
+#include <features.h>
43978
 
+#ifdef __GNU_LIBRARY__
43979
 
+ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8) || (__GLIBC__ > 2)) \
43980
 
+     && !defined __UCLIBC__
43981
 
+  Lucky user
43982
 
+ #endif
43983
 
+#endif
43984
 
+           
43985
 
+_ACEOF
43986
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
43987
 
+  $EGREP "Lucky user" >/dev/null 2>&1; then :
43988
 
+  gl_cv_func_strtod_works=yes
43989
 
+else
43990
 
+  gl_cv_func_strtod_works="guessing no"
43991
 
+fi
43992
 
+rm -f conftest*
43993
 
+
43994
 
+else
43995
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43996
 
+/* end confdefs.h.  */
43997
 
+
43998
 
+#include <stdlib.h>
43999
 
+#include <math.h>
44000
 
+#include <errno.h>
44001
 
+/* Compare two numbers with ==.
44002
 
+   This is a separate function because IRIX 6.5 "cc -O" miscompiles an
44003
 
+   'x == x' test.  */
44004
 
+static int
44005
 
+numeric_equal (double x, double y)
44006
 
+{
44007
 
+  return x == y;
44008
 
+}
44009
 
+
44010
 
+int
44011
 
+main ()
44012
 
+{
44013
 
+
44014
 
+  int result = 0;
44015
 
+  {
44016
 
+    /* In some old versions of Linux (2000 or before), strtod mis-parses
44017
 
+       strings with leading '+'.  */
44018
 
+    const char *string = " +69";
44019
 
+    char *term;
44020
 
+    double value = strtod (string, &term);
44021
 
+    if (value != 69 || term != (string + 4))
44022
 
+      result |= 1;
44023
 
+  }
44024
 
+  {
44025
 
+    /* Under Solaris 2.4, strtod returns the wrong value for the
44026
 
+       terminating character under some conditions.  */
44027
 
+    const char *string = "NaN";
44028
 
+    char *term;
44029
 
+    strtod (string, &term);
44030
 
+    if (term != string && *(term - 1) == 0)
44031
 
+      result |= 2;
44032
 
+  }
44033
 
+  {
44034
 
+    /* Older glibc and Cygwin mis-parse "-0x".  */
44035
 
+    const char *string = "-0x";
44036
 
+    char *term;
44037
 
+    double value = strtod (string, &term);
44038
 
+    double zero = 0.0;
44039
 
+    if (1.0 / value != -1.0 / zero || term != (string + 2))
44040
 
+      result |= 4;
44041
 
+  }
44042
 
+  {
44043
 
+    /* Many platforms do not parse hex floats.  */
44044
 
+    const char *string = "0XaP+1";
44045
 
+    char *term;
44046
 
+    double value = strtod (string, &term);
44047
 
+    if (value != 20.0 || term != (string + 6))
44048
 
+      result |= 8;
44049
 
+  }
44050
 
+  {
44051
 
+    /* Many platforms do not parse infinities.  HP-UX 11.31 parses inf,
44052
 
+       but mistakenly sets errno.  */
44053
 
+    const char *string = "inf";
44054
 
+    char *term;
44055
 
+    double value;
44056
 
+    errno = 0;
44057
 
+    value = strtod (string, &term);
44058
 
+    if (value != HUGE_VAL || term != (string + 3) || errno)
44059
 
+      result |= 16;
44060
 
+  }
44061
 
+  {
44062
 
+    /* glibc 2.7 and cygwin 1.5.24 misparse "nan()".  */
44063
 
+    const char *string = "nan()";
44064
 
+    char *term;
44065
 
+    double value = strtod (string, &term);
44066
 
+    if (numeric_equal (value, value) || term != (string + 5))
44067
 
+      result |= 32;
44068
 
+  }
44069
 
+  {
44070
 
+    /* darwin 10.6.1 misparses "nan(".  */
44071
 
+    const char *string = "nan(";
44072
 
+    char *term;
44073
 
+    double value = strtod (string, &term);
44074
 
+    if (numeric_equal (value, value) || term != (string + 3))
44075
 
+      result |= 64;
44076
 
+  }
44077
 
+  return result;
44078
 
+
44079
 
+  ;
44080
 
+  return 0;
44081
 
+}
44082
 
+_ACEOF
44083
 
+if ac_fn_c_try_run "$LINENO"; then :
44084
 
+  gl_cv_func_strtod_works=yes
44085
 
+else
44086
 
+  gl_cv_func_strtod_works=no
44087
 
+fi
44088
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44089
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
44090
 
+fi
44091
 
+
44092
 
+fi
44093
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strtod_works" >&5
44094
 
+$as_echo "$gl_cv_func_strtod_works" >&6; }
44095
 
+    if test "$gl_cv_func_strtod_works" != yes; then
44096
 
+      REPLACE_STRTOD=1
44097
 
+    fi
44098
 
+  fi
44099
 
+
44100
 
+if test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1; then
44101
 
+  
44102
 
+  
44103
 
+  
44104
 
+    
44105
 
+      
44106
 
+      
44107
 
+    
44108
 
+  
44109
 
+  gl_LIBOBJS="$gl_LIBOBJS strtod.$ac_objext"
44110
 
+
44111
 
+  
44112
 
+  
44113
 
+  if test $gl_cv_func_ldexp_no_libm = yes; then
44114
 
+    
44115
 
+$as_echo "@%:@define HAVE_LDEXP_IN_LIBC 1" >>confdefs.h
44116
 
+
44117
 
+  fi
44118
 
+
44119
 
+fi
44120
 
+
44121
 
+    
44122
 
+  
44123
 
+  
44124
 
+  
44125
 
+          GNULIB_STRTOD=1
44126
 
+    
44127
 
+
44128
 
+
44129
 
+    
44130
 
+  
44131
 
+$as_echo "@%:@define GNULIB_TEST_STRTOD 1" >>confdefs.h
44132
 
+
44133
 
+
44134
 
+
44135
 
+
44136
 
+  
44137
 
+
44138
 
+    
44139
 
+  
44140
 
+  if test "$ac_cv_have_decl_strtoimax" != yes; then
44141
 
+    HAVE_DECL_STRTOIMAX=0
44142
 
+  fi
44143
 
+
44144
 
+if test $ac_cv_func_strtoimax = no; then
44145
 
+  
44146
 
+  
44147
 
+  
44148
 
+    
44149
 
+      
44150
 
+      
44151
 
+    
44152
 
+  
44153
 
+  gl_LIBOBJS="$gl_LIBOBJS strtoimax.$ac_objext"
44154
 
+
44155
 
+  
44156
 
+  ac_fn_c_check_decl "$LINENO" "strtoll" "ac_cv_have_decl_strtoll" "$ac_includes_default"
44157
 
+if test "x$ac_cv_have_decl_strtoll" = xyes; then :
44158
 
+  ac_have_decl=1
44159
 
+else
44160
 
+  ac_have_decl=0
44161
 
+fi
44162
 
+
44163
 
+cat >>confdefs.h <<_ACEOF
44164
 
+@%:@define HAVE_DECL_STRTOLL $ac_have_decl
44165
 
+_ACEOF
44166
 
+
44167
 
+  
44168
 
+
44169
 
+fi
44170
 
+
44171
 
+    
44172
 
+  
44173
 
+  
44174
 
+  
44175
 
+          GNULIB_STRTOIMAX=1
44176
 
+    
44177
 
+
44178
 
+
44179
 
+
44180
 
+
44181
 
+  
44182
 
+      
44183
 
+  if test "$ac_cv_type_long_long_int" = yes; then
44184
 
+    for ac_func in strtoll
44185
 
+do :
44186
 
+  ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll"
44187
 
+if test "x$ac_cv_func_strtoll" = xyes; then :
44188
 
+  cat >>confdefs.h <<_ACEOF
44189
 
+@%:@define HAVE_STRTOLL 1
44190
 
+_ACEOF
44191
 
44192
 
+fi
44193
 
+done
44194
 
+
44195
 
+    if test $ac_cv_func_strtoll = no; then
44196
 
+      HAVE_STRTOLL=0
44197
 
+    fi
44198
 
+  fi
44199
 
+
44200
 
+if test $HAVE_STRTOLL = 0; then
44201
 
+  
44202
 
+  
44203
 
+  
44204
 
+    
44205
 
+      
44206
 
+      
44207
 
+    
44208
 
+  
44209
 
+  gl_LIBOBJS="$gl_LIBOBJS strtoll.$ac_objext"
44210
 
+
44211
 
+  
44212
 
+  :
44213
 
+
44214
 
+fi
44215
 
+
44216
 
+    
44217
 
+  
44218
 
+  
44219
 
+  
44220
 
+          GNULIB_STRTOLL=1
44221
 
+    
44222
 
+
44223
 
+
44224
 
+    
44225
 
+  
44226
 
+$as_echo "@%:@define GNULIB_TEST_STRTOLL 1" >>confdefs.h
44227
 
+
44228
 
+
44229
 
+
44230
 
+
44231
 
+  
44232
 
+      
44233
 
+  if test "$ac_cv_type_unsigned_long_long_int" = yes; then
44234
 
+    for ac_func in strtoull
44235
 
+do :
44236
 
+  ac_fn_c_check_func "$LINENO" "strtoull" "ac_cv_func_strtoull"
44237
 
+if test "x$ac_cv_func_strtoull" = xyes; then :
44238
 
+  cat >>confdefs.h <<_ACEOF
44239
 
+@%:@define HAVE_STRTOULL 1
44240
 
+_ACEOF
44241
 
44242
 
+fi
44243
 
+done
44244
 
+
44245
 
+    if test $ac_cv_func_strtoull = no; then
44246
 
+      HAVE_STRTOULL=0
44247
 
+    fi
44248
 
+  fi
44249
 
+
44250
 
+if test $HAVE_STRTOULL = 0; then
44251
 
+  
44252
 
+  
44253
 
+  
44254
 
+    
44255
 
+      
44256
 
+      
44257
 
+    
44258
 
+  
44259
 
+  gl_LIBOBJS="$gl_LIBOBJS strtoull.$ac_objext"
44260
 
+
44261
 
+  
44262
 
+  :
44263
 
+
44264
 
+fi
44265
 
+
44266
 
+    
44267
 
+  
44268
 
+  
44269
 
+  
44270
 
+          GNULIB_STRTOULL=1
44271
 
+    
44272
 
+
44273
 
+
44274
 
+    
44275
 
+  
44276
 
+$as_echo "@%:@define GNULIB_TEST_STRTOULL 1" >>confdefs.h
44277
 
+
44278
 
+
44279
 
+
44280
 
+
44281
 
+  
44282
 
+
44283
 
+    
44284
 
+  
44285
 
+  if test "$ac_cv_have_decl_strtoumax" != yes; then
44286
 
+    HAVE_DECL_STRTOUMAX=0
44287
 
+  fi
44288
 
+
44289
 
+if test $ac_cv_func_strtoumax = no; then
44290
 
+  
44291
 
+  
44292
 
+  
44293
 
+    
44294
 
+      
44295
 
+      
44296
 
+    
44297
 
+  
44298
 
+  gl_LIBOBJS="$gl_LIBOBJS strtoumax.$ac_objext"
44299
 
+
44300
 
+  
44301
 
+  ac_fn_c_check_decl "$LINENO" "strtoull" "ac_cv_have_decl_strtoull" "$ac_includes_default"
44302
 
+if test "x$ac_cv_have_decl_strtoull" = xyes; then :
44303
 
+  ac_have_decl=1
44304
 
+else
44305
 
+  ac_have_decl=0
44306
 
+fi
44307
 
+
44308
 
+cat >>confdefs.h <<_ACEOF
44309
 
+@%:@define HAVE_DECL_STRTOULL $ac_have_decl
44310
 
+_ACEOF
44311
 
+
44312
 
+  
44313
 
+
44314
 
+fi
44315
 
+
44316
 
+    
44317
 
+  
44318
 
+  
44319
 
+  
44320
 
+          GNULIB_STRTOUMAX=1
44321
 
+    
44322
 
+
44323
 
+
44324
 
+
44325
 
+
44326
 
+  
44327
 
+  
44328
 
+        if test $ac_cv_func_symlink = no; then
44329
 
+    HAVE_SYMLINK=0
44330
 
+  else
44331
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symlink handles trailing slash correctly" >&5
44332
 
+$as_echo_n "checking whether symlink handles trailing slash correctly... " >&6; }
44333
 
+if ${gl_cv_func_symlink_works+:} false; then :
44334
 
+  $as_echo_n "(cached) " >&6
44335
 
+else
44336
 
+  if test "$cross_compiling" = yes; then :
44337
 
+  gl_cv_func_symlink_works="guessing no"
44338
 
+else
44339
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44340
 
+/* end confdefs.h.  */
44341
 
+#include <unistd.h>
44342
 
+           
44343
 
+int
44344
 
+main ()
44345
 
+{
44346
 
+int result = 0;
44347
 
+             if (!symlink ("a", "conftest.link/"))
44348
 
+               result |= 1;
44349
 
+             if (symlink ("conftest.f", "conftest.lnk2"))
44350
 
+               result |= 2;
44351
 
+             else if (!symlink ("a", "conftest.lnk2/"))
44352
 
+               result |= 4;
44353
 
+             return result;
44354
 
+           
44355
 
+  ;
44356
 
+  return 0;
44357
 
+}
44358
 
+_ACEOF
44359
 
+if ac_fn_c_try_run "$LINENO"; then :
44360
 
+  gl_cv_func_symlink_works=yes
44361
 
+else
44362
 
+  gl_cv_func_symlink_works=no
44363
 
+fi
44364
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44365
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
44366
 
+fi
44367
 
+
44368
 
+      rm -f conftest.f conftest.link conftest.lnk2
44369
 
+fi
44370
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_symlink_works" >&5
44371
 
+$as_echo "$gl_cv_func_symlink_works" >&6; }
44372
 
+    if test "$gl_cv_func_symlink_works" != yes; then
44373
 
+      REPLACE_SYMLINK=1
44374
 
+    fi
44375
 
+  fi
44376
 
+
44377
 
+if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then
44378
 
+  
44379
 
+  
44380
 
+  
44381
 
+    
44382
 
+      
44383
 
+      
44384
 
+    
44385
 
+  
44386
 
+  gl_LIBOBJS="$gl_LIBOBJS symlink.$ac_objext"
44387
 
+
44388
 
+fi
44389
 
+
44390
 
+    
44391
 
+  
44392
 
+  
44393
 
+  
44394
 
+          GNULIB_SYMLINK=1
44395
 
+    
44396
 
+
44397
 
+
44398
 
+    
44399
 
+  
44400
 
+$as_echo "@%:@define GNULIB_TEST_SYMLINK 1" >>confdefs.h
44401
 
+
44402
 
+
44403
 
+
44404
 
+
44405
 
+      
44406
 
+
44407
 
+  
44408
 
+  if test $ac_cv_header_sys_ioctl_h = yes; then
44409
 
+    HAVE_SYS_IOCTL_H=1
44410
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/ioctl.h> declares ioctl" >&5
44411
 
+$as_echo_n "checking whether <sys/ioctl.h> declares ioctl... " >&6; }
44412
 
+if ${gl_cv_decl_ioctl_in_sys_ioctl_h+:} false; then :
44413
 
+  $as_echo_n "(cached) " >&6
44414
 
+else
44415
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44416
 
+/* end confdefs.h.  */
44417
 
+#include <sys/ioctl.h>
44418
 
+
44419
 
+int
44420
 
+main ()
44421
 
+{
44422
 
+(void) ioctl;
44423
 
+  ;
44424
 
+  return 0;
44425
 
+}
44426
 
+_ACEOF
44427
 
+if ac_fn_c_try_compile "$LINENO"; then :
44428
 
+  gl_cv_decl_ioctl_in_sys_ioctl_h=yes
44429
 
+else
44430
 
+  gl_cv_decl_ioctl_in_sys_ioctl_h=no
44431
 
+fi
44432
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44433
 
+      
44434
 
+fi
44435
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_ioctl_in_sys_ioctl_h" >&5
44436
 
+$as_echo "$gl_cv_decl_ioctl_in_sys_ioctl_h" >&6; }
44437
 
+  else
44438
 
+    HAVE_SYS_IOCTL_H=0
44439
 
+  fi
44440
 
+  
44441
 
+    
44442
 
+  
44443
 
+  
44444
 
+  
44445
 
+
44446
 
+  
44447
 
+    
44448
 
+
44449
 
+  
44450
 
+     if test $gl_cv_have_include_next = yes; then
44451
 
+       gl_cv_next_sys_ioctl_h='<'sys/ioctl.h'>'
44452
 
+     else
44453
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/ioctl.h>" >&5
44454
 
+$as_echo_n "checking absolute name of <sys/ioctl.h>... " >&6; }
44455
 
+if ${gl_cv_next_sys_ioctl_h+:} false; then :
44456
 
+  $as_echo_n "(cached) " >&6
44457
 
+else
44458
 
+  
44459
 
+             if test $ac_cv_header_sys_ioctl_h = yes; then
44460
 
+             
44461
 
+            
44462
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44463
 
+/* end confdefs.h.  */
44464
 
+#include <sys/ioctl.h>
44465
 
+                  
44466
 
+_ACEOF
44467
 
+                                                                                                                        case "$host_os" in
44468
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
44469
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
44470
 
+               esac
44471
 
+                                                            gl_cv_next_sys_ioctl_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
44472
 
+                  sed -n '\#/sys/ioctl.h#{
44473
 
+                    s#.*"\(.*/sys/ioctl.h\)".*#\1#
44474
 
+                    s#^/[^/]#//&#
44475
 
+                    p
44476
 
+                    q
44477
 
+                  }'`'"'
44478
 
+          else
44479
 
+               gl_cv_next_sys_ioctl_h='<'sys/ioctl.h'>'
44480
 
+             fi
44481
 
+            
44482
 
+         
44483
 
+fi
44484
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_ioctl_h" >&5
44485
 
+$as_echo "$gl_cv_next_sys_ioctl_h" >&6; }
44486
 
+     fi
44487
 
+     NEXT_SYS_IOCTL_H=$gl_cv_next_sys_ioctl_h
44488
 
+
44489
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
44490
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
44491
 
+       gl_next_as_first_directive='<'sys/ioctl.h'>'
44492
 
+     else
44493
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
44494
 
+       gl_next_as_first_directive=$gl_cv_next_sys_ioctl_h
44495
 
+     fi
44496
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H=$gl_next_as_first_directive
44497
 
+
44498
 
+     
44499
 
+
44500
 
+
44501
 
+
44502
 
+      
44503
 
+    for gl_func in ioctl; do
44504
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
44505
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
44506
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
44507
 
+if eval \${$as_gl_Symbol+:} false; then :
44508
 
+  $as_echo_n "(cached) " >&6
44509
 
+else
44510
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44511
 
+/* end confdefs.h.  */
44512
 
+#include <sys/ioctl.h>
44513
 
+/* Some platforms declare ioctl in the wrong header.  */
44514
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
44515
 
+# include <unistd.h>
44516
 
+#endif
44517
 
+    
44518
 
+int
44519
 
+main ()
44520
 
+{
44521
 
+@%:@undef $gl_func
44522
 
+  (void) $gl_func;
44523
 
+  ;
44524
 
+  return 0;
44525
 
+}
44526
 
+_ACEOF
44527
 
+if ac_fn_c_try_compile "$LINENO"; then :
44528
 
+  eval "$as_gl_Symbol=yes"
44529
 
+else
44530
 
+  eval "$as_gl_Symbol=no"
44531
 
+fi
44532
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44533
 
+fi
44534
 
+eval ac_res=\$$as_gl_Symbol
44535
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
44536
 
+$as_echo "$ac_res" >&6; }
44537
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
44538
 
+  cat >>confdefs.h <<_ACEOF
44539
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
44540
 
+_ACEOF
44541
 
+
44542
 
+                     eval ac_cv_have_decl_$gl_func=yes
44543
 
+fi
44544
 
+      done
44545
 
+
44546
 
+
44547
 
+
44548
 
+
44549
 
+  
44550
 
+  
44551
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/select.h> is self-contained" >&5
44552
 
+$as_echo_n "checking whether <sys/select.h> is self-contained... " >&6; }
44553
 
+if ${gl_cv_header_sys_select_h_selfcontained+:} false; then :
44554
 
+  $as_echo_n "(cached) " >&6
44555
 
+else
44556
 
+  
44557
 
+                                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44558
 
+/* end confdefs.h.  */
44559
 
+#include <sys/select.h>
44560
 
+int
44561
 
+main ()
44562
 
+{
44563
 
+struct timeval b;
44564
 
+  ;
44565
 
+  return 0;
44566
 
+}
44567
 
+_ACEOF
44568
 
+if ac_fn_c_try_compile "$LINENO"; then :
44569
 
+  gl_cv_header_sys_select_h_selfcontained=yes
44570
 
+else
44571
 
+  gl_cv_header_sys_select_h_selfcontained=no
44572
 
+fi
44573
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44574
 
+                        if test $gl_cv_header_sys_select_h_selfcontained = yes; then
44575
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44576
 
+/* end confdefs.h.  */
44577
 
+#include <sys/select.h>
44578
 
+int
44579
 
+main ()
44580
 
+{
44581
 
+int memset; int bzero;
44582
 
+  ;
44583
 
+  return 0;
44584
 
+}
44585
 
+          
44586
 
+_ACEOF
44587
 
+if ac_fn_c_try_compile "$LINENO"; then :
44588
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44589
 
+/* end confdefs.h.  */
44590
 
+#include <sys/select.h>
44591
 
+int
44592
 
+main ()
44593
 
+{
44594
 
+
44595
 
+                  #undef memset
44596
 
+                  #define memset nonexistent_memset
44597
 
+                  extern
44598
 
+                  #ifdef __cplusplus
44599
 
+                  "C"
44600
 
+                  #endif
44601
 
+                  void *memset (void *, int, unsigned long);
44602
 
+                  #undef bzero
44603
 
+                  #define bzero nonexistent_bzero
44604
 
+                  extern
44605
 
+                  #ifdef __cplusplus
44606
 
+                  "C"
44607
 
+                  #endif
44608
 
+                  void bzero (void *, unsigned long);
44609
 
+                  fd_set fds;
44610
 
+                  FD_ZERO (&fds);
44611
 
+                
44612
 
+  ;
44613
 
+  return 0;
44614
 
+}
44615
 
+             
44616
 
+_ACEOF
44617
 
+if ac_fn_c_try_link "$LINENO"; then :
44618
 
+  
44619
 
+else
44620
 
+  gl_cv_header_sys_select_h_selfcontained=no
44621
 
+fi
44622
 
+rm -f core conftest.err conftest.$ac_objext \
44623
 
+    conftest$ac_exeext conftest.$ac_ext
44624
 
+          
44625
 
+fi
44626
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44627
 
+      fi
44628
 
+    
44629
 
+fi
44630
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_select_h_selfcontained" >&5
44631
 
+$as_echo "$gl_cv_header_sys_select_h_selfcontained" >&6; }
44632
 
+    
44633
 
+  
44634
 
+  
44635
 
+  
44636
 
+
44637
 
+  
44638
 
+    
44639
 
+
44640
 
+  
44641
 
+     if test $gl_cv_have_include_next = yes; then
44642
 
+       gl_cv_next_sys_select_h='<'sys/select.h'>'
44643
 
+     else
44644
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/select.h>" >&5
44645
 
+$as_echo_n "checking absolute name of <sys/select.h>... " >&6; }
44646
 
+if ${gl_cv_next_sys_select_h+:} false; then :
44647
 
+  $as_echo_n "(cached) " >&6
44648
 
+else
44649
 
+  
44650
 
+             if test $ac_cv_header_sys_select_h = yes; then
44651
 
+             
44652
 
+            
44653
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44654
 
+/* end confdefs.h.  */
44655
 
+#include <sys/select.h>
44656
 
+                  
44657
 
+_ACEOF
44658
 
+                                                                                                                        case "$host_os" in
44659
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
44660
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
44661
 
+               esac
44662
 
+                                                            gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
44663
 
+                  sed -n '\#/sys/select.h#{
44664
 
+                    s#.*"\(.*/sys/select.h\)".*#\1#
44665
 
+                    s#^/[^/]#//&#
44666
 
+                    p
44667
 
+                    q
44668
 
+                  }'`'"'
44669
 
+          else
44670
 
+               gl_cv_next_sys_select_h='<'sys/select.h'>'
44671
 
+             fi
44672
 
+            
44673
 
+         
44674
 
+fi
44675
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_select_h" >&5
44676
 
+$as_echo "$gl_cv_next_sys_select_h" >&6; }
44677
 
+     fi
44678
 
+     NEXT_SYS_SELECT_H=$gl_cv_next_sys_select_h
44679
 
+
44680
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
44681
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
44682
 
+       gl_next_as_first_directive='<'sys/select.h'>'
44683
 
+     else
44684
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
44685
 
+       gl_next_as_first_directive=$gl_cv_next_sys_select_h
44686
 
+     fi
44687
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H=$gl_next_as_first_directive
44688
 
+
44689
 
+     
44690
 
+
44691
 
+
44692
 
+  if test $ac_cv_header_sys_select_h = yes; then
44693
 
+    HAVE_SYS_SELECT_H=1
44694
 
+  else
44695
 
+    HAVE_SYS_SELECT_H=0
44696
 
+  fi
44697
 
+  
44698
 
+  
44699
 
+  
44700
 
+  
44701
 
+  
44702
 
+  if test $ac_cv_header_sys_socket_h != yes; then
44703
 
+                    for ac_header in winsock2.h
44704
 
+do :
44705
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
44706
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
44707
 
+  cat >>confdefs.h <<_ACEOF
44708
 
+@%:@define HAVE_WINSOCK2_H 1
44709
 
+_ACEOF
44710
 
44711
 
+fi
44712
 
+
44713
 
+done
44714
 
+
44715
 
+  fi
44716
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
44717
 
+    HAVE_WINSOCK2_H=1
44718
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
44719
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
44720
 
+  else
44721
 
+    HAVE_WINSOCK2_H=0
44722
 
+  fi
44723
 
+  
44724
 
+
44725
 
+
44726
 
+      
44727
 
+    for gl_func in pselect select; do
44728
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
44729
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
44730
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
44731
 
+if eval \${$as_gl_Symbol+:} false; then :
44732
 
+  $as_echo_n "(cached) " >&6
44733
 
+else
44734
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44735
 
+/* end confdefs.h.  */
44736
 
+
44737
 
+/* Some systems require prerequisite headers.  */
44738
 
+#include <sys/types.h>
44739
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__) && HAVE_SYS_TIME_H
44740
 
+# include <sys/time.h>
44741
 
+#endif
44742
 
+#include <sys/select.h>
44743
 
+    
44744
 
+int
44745
 
+main ()
44746
 
+{
44747
 
+@%:@undef $gl_func
44748
 
+  (void) $gl_func;
44749
 
+  ;
44750
 
+  return 0;
44751
 
+}
44752
 
+_ACEOF
44753
 
+if ac_fn_c_try_compile "$LINENO"; then :
44754
 
+  eval "$as_gl_Symbol=yes"
44755
 
+else
44756
 
+  eval "$as_gl_Symbol=no"
44757
 
+fi
44758
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44759
 
+fi
44760
 
+eval ac_res=\$$as_gl_Symbol
44761
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
44762
 
+$as_echo "$ac_res" >&6; }
44763
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
44764
 
+  cat >>confdefs.h <<_ACEOF
44765
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
44766
 
+_ACEOF
44767
 
+
44768
 
+                     eval ac_cv_have_decl_$gl_func=yes
44769
 
+fi
44770
 
+      done
44771
 
+
44772
 
+
44773
 
+
44774
 
+
44775
 
+  
44776
 
+  
44777
 
+  
44778
 
+
44779
 
+        case "$host_os" in
44780
 
+    osf*)
44781
 
+      
44782
 
+$as_echo "@%:@define _POSIX_PII_SOCKET 1" >>confdefs.h
44783
 
+
44784
 
+      ;;
44785
 
+  esac
44786
 
+
44787
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/socket.h> is self-contained" >&5
44788
 
+$as_echo_n "checking whether <sys/socket.h> is self-contained... " >&6; }
44789
 
+if ${gl_cv_header_sys_socket_h_selfcontained+:} false; then :
44790
 
+  $as_echo_n "(cached) " >&6
44791
 
+else
44792
 
+  
44793
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44794
 
+/* end confdefs.h.  */
44795
 
+#include <sys/socket.h>
44796
 
+int
44797
 
+main ()
44798
 
+{
44799
 
+
44800
 
+  ;
44801
 
+  return 0;
44802
 
+}
44803
 
+_ACEOF
44804
 
+if ac_fn_c_try_compile "$LINENO"; then :
44805
 
+  gl_cv_header_sys_socket_h_selfcontained=yes
44806
 
+else
44807
 
+  gl_cv_header_sys_socket_h_selfcontained=no
44808
 
+fi
44809
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44810
 
+    
44811
 
+fi
44812
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5
44813
 
+$as_echo "$gl_cv_header_sys_socket_h_selfcontained" >&6; }
44814
 
+  if test $gl_cv_header_sys_socket_h_selfcontained = yes; then
44815
 
+            for ac_func in shutdown
44816
 
+do :
44817
 
+  ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown"
44818
 
+if test "x$ac_cv_func_shutdown" = xyes; then :
44819
 
+  cat >>confdefs.h <<_ACEOF
44820
 
+@%:@define HAVE_SHUTDOWN 1
44821
 
+_ACEOF
44822
 
44823
 
+fi
44824
 
+done
44825
 
+
44826
 
+    if test $ac_cv_func_shutdown = yes; then
44827
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/socket.h> defines the SHUT_* macros" >&5
44828
 
+$as_echo_n "checking whether <sys/socket.h> defines the SHUT_* macros... " >&6; }
44829
 
+if ${gl_cv_header_sys_socket_h_shut+:} false; then :
44830
 
+  $as_echo_n "(cached) " >&6
44831
 
+else
44832
 
+  
44833
 
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44834
 
+/* end confdefs.h.  */
44835
 
+#include <sys/socket.h>
44836
 
+int
44837
 
+main ()
44838
 
+{
44839
 
+int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR };
44840
 
+  ;
44841
 
+  return 0;
44842
 
+}
44843
 
+_ACEOF
44844
 
+if ac_fn_c_try_compile "$LINENO"; then :
44845
 
+  gl_cv_header_sys_socket_h_shut=yes
44846
 
+else
44847
 
+  gl_cv_header_sys_socket_h_shut=no
44848
 
+fi
44849
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44850
 
+        
44851
 
+fi
44852
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5
44853
 
+$as_echo "$gl_cv_header_sys_socket_h_shut" >&6; }
44854
 
+      if test $gl_cv_header_sys_socket_h_shut = no; then
44855
 
+        SYS_SOCKET_H='sys/socket.h'
44856
 
+      fi
44857
 
+    fi
44858
 
+  fi
44859
 
+  # We need to check for ws2tcpip.h now.
44860
 
+  
44861
 
+    
44862
 
+  
44863
 
+  
44864
 
+  
44865
 
+  
44866
 
+
44867
 
+  
44868
 
+    
44869
 
+
44870
 
+  
44871
 
+     if test $gl_cv_have_include_next = yes; then
44872
 
+       gl_cv_next_sys_socket_h='<'sys/socket.h'>'
44873
 
+     else
44874
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/socket.h>" >&5
44875
 
+$as_echo_n "checking absolute name of <sys/socket.h>... " >&6; }
44876
 
+if ${gl_cv_next_sys_socket_h+:} false; then :
44877
 
+  $as_echo_n "(cached) " >&6
44878
 
+else
44879
 
+  
44880
 
+             if test $ac_cv_header_sys_socket_h = yes; then
44881
 
+             
44882
 
+            
44883
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44884
 
+/* end confdefs.h.  */
44885
 
+#include <sys/socket.h>
44886
 
+                  
44887
 
+_ACEOF
44888
 
+                                                                                                                        case "$host_os" in
44889
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
44890
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
44891
 
+               esac
44892
 
+                                                            gl_cv_next_sys_socket_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
44893
 
+                  sed -n '\#/sys/socket.h#{
44894
 
+                    s#.*"\(.*/sys/socket.h\)".*#\1#
44895
 
+                    s#^/[^/]#//&#
44896
 
+                    p
44897
 
+                    q
44898
 
+                  }'`'"'
44899
 
+          else
44900
 
+               gl_cv_next_sys_socket_h='<'sys/socket.h'>'
44901
 
+             fi
44902
 
+            
44903
 
+         
44904
 
+fi
44905
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5
44906
 
+$as_echo "$gl_cv_next_sys_socket_h" >&6; }
44907
 
+     fi
44908
 
+     NEXT_SYS_SOCKET_H=$gl_cv_next_sys_socket_h
44909
 
+
44910
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
44911
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
44912
 
+       gl_next_as_first_directive='<'sys/socket.h'>'
44913
 
+     else
44914
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
44915
 
+       gl_next_as_first_directive=$gl_cv_next_sys_socket_h
44916
 
+     fi
44917
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H=$gl_next_as_first_directive
44918
 
+
44919
 
+     
44920
 
+
44921
 
+
44922
 
+  if test $ac_cv_header_sys_socket_h = yes; then
44923
 
+    HAVE_SYS_SOCKET_H=1
44924
 
+    HAVE_WS2TCPIP_H=0
44925
 
+  else
44926
 
+    HAVE_SYS_SOCKET_H=0
44927
 
+    if test $ac_cv_header_ws2tcpip_h = yes; then
44928
 
+      HAVE_WS2TCPIP_H=1
44929
 
+    else
44930
 
+      HAVE_WS2TCPIP_H=0
44931
 
+    fi
44932
 
+  fi
44933
 
+  
44934
 
+  
44935
 
+
44936
 
+  ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
44937
 
+  /* sys/types.h is not needed according to POSIX, but the
44938
 
+     sys/socket.h in i386-unknown-freebsd4.10 and
44939
 
+     powerpc-apple-darwin5.5 required it. */
44940
 
+#include <sys/types.h>
44941
 
+#ifdef HAVE_SYS_SOCKET_H
44942
 
+#include <sys/socket.h>
44943
 
+#endif
44944
 
+#ifdef HAVE_WS2TCPIP_H
44945
 
+#include <ws2tcpip.h>
44946
 
+#endif
44947
 
+
44948
 
+"
44949
 
+if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
44950
 
+  
44951
 
+cat >>confdefs.h <<_ACEOF
44952
 
+@%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1
44953
 
+_ACEOF
44954
 
+
44955
 
+
44956
 
+fi
44957
 
+ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" "
44958
 
+  /* sys/types.h is not needed according to POSIX, but the
44959
 
+     sys/socket.h in i386-unknown-freebsd4.10 and
44960
 
+     powerpc-apple-darwin5.5 required it. */
44961
 
+#include <sys/types.h>
44962
 
+#ifdef HAVE_SYS_SOCKET_H
44963
 
+#include <sys/socket.h>
44964
 
+#endif
44965
 
+#ifdef HAVE_WS2TCPIP_H
44966
 
+#include <ws2tcpip.h>
44967
 
+#endif
44968
 
+
44969
 
+"
44970
 
+if test "x$ac_cv_type_sa_family_t" = xyes; then :
44971
 
+  
44972
 
+cat >>confdefs.h <<_ACEOF
44973
 
+@%:@define HAVE_SA_FAMILY_T 1
44974
 
+_ACEOF
44975
 
+
44976
 
+
44977
 
+fi
44978
 
+
44979
 
+  if test $ac_cv_type_struct_sockaddr_storage = no; then
44980
 
+    HAVE_STRUCT_SOCKADDR_STORAGE=0
44981
 
+  fi
44982
 
+  if test $ac_cv_type_sa_family_t = no; then
44983
 
+    HAVE_SA_FAMILY_T=0
44984
 
+  fi
44985
 
+  if test $ac_cv_type_struct_sockaddr_storage != no; then
44986
 
+    ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "#include <sys/types.h>
44987
 
+       #ifdef HAVE_SYS_SOCKET_H
44988
 
+       #include <sys/socket.h>
44989
 
+       #endif
44990
 
+       #ifdef HAVE_WS2TCPIP_H
44991
 
+       #include <ws2tcpip.h>
44992
 
+       #endif
44993
 
+      
44994
 
+"
44995
 
+if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then :
44996
 
+  
44997
 
+cat >>confdefs.h <<_ACEOF
44998
 
+@%:@define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
44999
 
+_ACEOF
45000
 
+
45001
 
+
45002
 
+else
45003
 
+  HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=0
45004
 
+fi
45005
 
+
45006
 
+  fi
45007
 
+  if test $HAVE_STRUCT_SOCKADDR_STORAGE = 0 || test $HAVE_SA_FAMILY_T = 0 \
45008
 
+     || test $HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = 0; then
45009
 
+    SYS_SOCKET_H='sys/socket.h'
45010
 
+  fi
45011
 
+  
45012
 
+  
45013
 
+  
45014
 
+  
45015
 
+  if test $ac_cv_header_sys_socket_h != yes; then
45016
 
+                    for ac_header in winsock2.h
45017
 
+do :
45018
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
45019
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
45020
 
+  cat >>confdefs.h <<_ACEOF
45021
 
+@%:@define HAVE_WINSOCK2_H 1
45022
 
+_ACEOF
45023
 
45024
 
+fi
45025
 
+
45026
 
+done
45027
 
+
45028
 
+  fi
45029
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
45030
 
+    HAVE_WINSOCK2_H=1
45031
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
45032
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
45033
 
+  else
45034
 
+    HAVE_WINSOCK2_H=0
45035
 
+  fi
45036
 
+  
45037
 
+
45038
 
+
45039
 
+      
45040
 
+    for gl_func in socket connect accept bind getpeername getsockname getsockopt     listen recv send recvfrom sendto setsockopt shutdown accept4; do
45041
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
45042
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
45043
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
45044
 
+if eval \${$as_gl_Symbol+:} false; then :
45045
 
+  $as_echo_n "(cached) " >&6
45046
 
+else
45047
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45048
 
+/* end confdefs.h.  */
45049
 
+
45050
 
+/* Some systems require prerequisite headers.  */
45051
 
+#include <sys/types.h>
45052
 
+#include <sys/socket.h>
45053
 
+    
45054
 
+int
45055
 
+main ()
45056
 
+{
45057
 
+@%:@undef $gl_func
45058
 
+  (void) $gl_func;
45059
 
+  ;
45060
 
+  return 0;
45061
 
+}
45062
 
+_ACEOF
45063
 
+if ac_fn_c_try_compile "$LINENO"; then :
45064
 
+  eval "$as_gl_Symbol=yes"
45065
 
+else
45066
 
+  eval "$as_gl_Symbol=no"
45067
 
+fi
45068
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45069
 
+fi
45070
 
+eval ac_res=\$$as_gl_Symbol
45071
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
45072
 
+$as_echo "$ac_res" >&6; }
45073
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
45074
 
+  cat >>confdefs.h <<_ACEOF
45075
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
45076
 
+_ACEOF
45077
 
+
45078
 
+                     eval ac_cv_have_decl_$gl_func=yes
45079
 
+fi
45080
 
+      done
45081
 
+
45082
 
+
45083
 
+
45084
 
+
45085
 
+  
45086
 
+
45087
 
+    
45088
 
+
45089
 
+    
45090
 
+
45091
 
+  
45092
 
+  
45093
 
+  
45094
 
+  
45095
 
+
45096
 
+  
45097
 
+    
45098
 
+
45099
 
+  
45100
 
+     if test $gl_cv_have_include_next = yes; then
45101
 
+       gl_cv_next_sys_stat_h='<'sys/stat.h'>'
45102
 
+     else
45103
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5
45104
 
+$as_echo_n "checking absolute name of <sys/stat.h>... " >&6; }
45105
 
+if ${gl_cv_next_sys_stat_h+:} false; then :
45106
 
+  $as_echo_n "(cached) " >&6
45107
 
+else
45108
 
+  
45109
 
+             if test $ac_cv_header_sys_stat_h = yes; then
45110
 
+             
45111
 
+            
45112
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45113
 
+/* end confdefs.h.  */
45114
 
+#include <sys/stat.h>
45115
 
+                  
45116
 
+_ACEOF
45117
 
+                                                                                                                        case "$host_os" in
45118
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
45119
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
45120
 
+               esac
45121
 
+                                                            gl_cv_next_sys_stat_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
45122
 
+                  sed -n '\#/sys/stat.h#{
45123
 
+                    s#.*"\(.*/sys/stat.h\)".*#\1#
45124
 
+                    s#^/[^/]#//&#
45125
 
+                    p
45126
 
+                    q
45127
 
+                  }'`'"'
45128
 
+          else
45129
 
+               gl_cv_next_sys_stat_h='<'sys/stat.h'>'
45130
 
+             fi
45131
 
+            
45132
 
+         
45133
 
+fi
45134
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5
45135
 
+$as_echo "$gl_cv_next_sys_stat_h" >&6; }
45136
 
+     fi
45137
 
+     NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h
45138
 
+
45139
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
45140
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
45141
 
+       gl_next_as_first_directive='<'sys/stat.h'>'
45142
 
+     else
45143
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
45144
 
+       gl_next_as_first_directive=$gl_cv_next_sys_stat_h
45145
 
+     fi
45146
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive
45147
 
+
45148
 
+     
45149
 
+
45150
 
+
45151
 
+
45152
 
+      ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
45153
 
+     #include <sys/stat.h>
45154
 
+"
45155
 
+if test "x$ac_cv_type_nlink_t" = xyes; then :
45156
 
+  
45157
 
+else
45158
 
+  
45159
 
+$as_echo "@%:@define nlink_t int" >>confdefs.h
45160
 
+
45161
 
+fi
45162
 
+
45163
 
+
45164
 
+      
45165
 
+    for gl_func in fchmodat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat     mknod mknodat stat utimensat; do
45166
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
45167
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
45168
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
45169
 
+if eval \${$as_gl_Symbol+:} false; then :
45170
 
+  $as_echo_n "(cached) " >&6
45171
 
+else
45172
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45173
 
+/* end confdefs.h.  */
45174
 
+#include <sys/stat.h>
45175
 
+    
45176
 
+int
45177
 
+main ()
45178
 
+{
45179
 
+@%:@undef $gl_func
45180
 
+  (void) $gl_func;
45181
 
+  ;
45182
 
+  return 0;
45183
 
+}
45184
 
+_ACEOF
45185
 
+if ac_fn_c_try_compile "$LINENO"; then :
45186
 
+  eval "$as_gl_Symbol=yes"
45187
 
+else
45188
 
+  eval "$as_gl_Symbol=no"
45189
 
+fi
45190
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45191
 
+fi
45192
 
+eval ac_res=\$$as_gl_Symbol
45193
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
45194
 
+$as_echo "$ac_res" >&6; }
45195
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
45196
 
+  cat >>confdefs.h <<_ACEOF
45197
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
45198
 
+_ACEOF
45199
 
+
45200
 
+                     eval ac_cv_have_decl_$gl_func=yes
45201
 
+fi
45202
 
+      done
45203
 
+
45204
 
+
45205
 
+
45206
 
+
45207
 
+        
45208
 
+
45209
 
+
45210
 
+
45211
 
+  
45212
 
+    
45213
 
+  
45214
 
+  
45215
 
+  
45216
 
+
45217
 
+  
45218
 
+    
45219
 
+
45220
 
+  
45221
 
+     if test $gl_cv_have_include_next = yes; then
45222
 
+       gl_cv_next_sys_uio_h='<'sys/uio.h'>'
45223
 
+     else
45224
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/uio.h>" >&5
45225
 
+$as_echo_n "checking absolute name of <sys/uio.h>... " >&6; }
45226
 
+if ${gl_cv_next_sys_uio_h+:} false; then :
45227
 
+  $as_echo_n "(cached) " >&6
45228
 
+else
45229
 
+  
45230
 
+             if test $ac_cv_header_sys_uio_h = yes; then
45231
 
+             
45232
 
+            
45233
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45234
 
+/* end confdefs.h.  */
45235
 
+#include <sys/uio.h>
45236
 
+                  
45237
 
+_ACEOF
45238
 
+                                                                                                                        case "$host_os" in
45239
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
45240
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
45241
 
+               esac
45242
 
+                                                            gl_cv_next_sys_uio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
45243
 
+                  sed -n '\#/sys/uio.h#{
45244
 
+                    s#.*"\(.*/sys/uio.h\)".*#\1#
45245
 
+                    s#^/[^/]#//&#
45246
 
+                    p
45247
 
+                    q
45248
 
+                  }'`'"'
45249
 
+          else
45250
 
+               gl_cv_next_sys_uio_h='<'sys/uio.h'>'
45251
 
+             fi
45252
 
+            
45253
 
+         
45254
 
+fi
45255
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_uio_h" >&5
45256
 
+$as_echo "$gl_cv_next_sys_uio_h" >&6; }
45257
 
+     fi
45258
 
+     NEXT_SYS_UIO_H=$gl_cv_next_sys_uio_h
45259
 
+
45260
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
45261
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
45262
 
+       gl_next_as_first_directive='<'sys/uio.h'>'
45263
 
+     else
45264
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
45265
 
+       gl_next_as_first_directive=$gl_cv_next_sys_uio_h
45266
 
+     fi
45267
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H=$gl_next_as_first_directive
45268
 
+
45269
 
+     
45270
 
+
45271
 
+
45272
 
+  if test $ac_cv_header_sys_uio_h = yes; then
45273
 
+    HAVE_SYS_UIO_H=1
45274
 
+  else
45275
 
+    HAVE_SYS_UIO_H=0
45276
 
+  fi
45277
 
+  
45278
 
+
45279
 
+
45280
 
+
45281
 
+      
45282
 
+
45283
 
+    
45284
 
+  
45285
 
+  
45286
 
+  
45287
 
+
45288
 
+  
45289
 
+    
45290
 
+
45291
 
+  
45292
 
+     if test $gl_cv_have_include_next = yes; then
45293
 
+       gl_cv_next_sys_utsname_h='<'sys/utsname.h'>'
45294
 
+     else
45295
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/utsname.h>" >&5
45296
 
+$as_echo_n "checking absolute name of <sys/utsname.h>... " >&6; }
45297
 
+if ${gl_cv_next_sys_utsname_h+:} false; then :
45298
 
+  $as_echo_n "(cached) " >&6
45299
 
+else
45300
 
+  
45301
 
+             if test $ac_cv_header_sys_utsname_h = yes; then
45302
 
+             
45303
 
+            
45304
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45305
 
+/* end confdefs.h.  */
45306
 
+#include <sys/utsname.h>
45307
 
+                  
45308
 
+_ACEOF
45309
 
+                                                                                                                        case "$host_os" in
45310
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
45311
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
45312
 
+               esac
45313
 
+                                                            gl_cv_next_sys_utsname_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
45314
 
+                  sed -n '\#/sys/utsname.h#{
45315
 
+                    s#.*"\(.*/sys/utsname.h\)".*#\1#
45316
 
+                    s#^/[^/]#//&#
45317
 
+                    p
45318
 
+                    q
45319
 
+                  }'`'"'
45320
 
+          else
45321
 
+               gl_cv_next_sys_utsname_h='<'sys/utsname.h'>'
45322
 
+             fi
45323
 
+            
45324
 
+         
45325
 
+fi
45326
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_utsname_h" >&5
45327
 
+$as_echo "$gl_cv_next_sys_utsname_h" >&6; }
45328
 
+     fi
45329
 
+     NEXT_SYS_UTSNAME_H=$gl_cv_next_sys_utsname_h
45330
 
+
45331
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
45332
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
45333
 
+       gl_next_as_first_directive='<'sys/utsname.h'>'
45334
 
+     else
45335
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
45336
 
+       gl_next_as_first_directive=$gl_cv_next_sys_utsname_h
45337
 
+     fi
45338
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_UTSNAME_H=$gl_next_as_first_directive
45339
 
+
45340
 
+     
45341
 
+
45342
 
+
45343
 
+  if test $ac_cv_header_sys_utsname_h != yes; then
45344
 
+    HAVE_SYS_UTSNAME_H=0
45345
 
+    HAVE_STRUCT_UTSNAME=0
45346
 
+  else
45347
 
+    HAVE_SYS_UTSNAME_H=1
45348
 
+    ac_fn_c_check_type "$LINENO" "struct utsname" "ac_cv_type_struct_utsname" "
45349
 
+/* Minix 3.1.8 has a bug: <stddef.h> must be included before
45350
 
+   <sys/utsname.h>.  */
45351
 
+#include <stddef.h>
45352
 
+#include <sys/utsname.h>
45353
 
+      
45354
 
+"
45355
 
+if test "x$ac_cv_type_struct_utsname" = xyes; then :
45356
 
+  
45357
 
+cat >>confdefs.h <<_ACEOF
45358
 
+@%:@define HAVE_STRUCT_UTSNAME 1
45359
 
+_ACEOF
45360
 
+
45361
 
+
45362
 
+else
45363
 
+  HAVE_STRUCT_UTSNAME=0
45364
 
+fi
45365
 
+
45366
 
+  fi
45367
 
+  
45368
 
+
45369
 
+      
45370
 
+    for gl_func in uname; do
45371
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
45372
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
45373
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
45374
 
+if eval \${$as_gl_Symbol+:} false; then :
45375
 
+  $as_echo_n "(cached) " >&6
45376
 
+else
45377
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45378
 
+/* end confdefs.h.  */
45379
 
+
45380
 
+    /* Minix 3.1.8 has a bug: <stddef.h> must be included before
45381
 
+       <sys/utsname.h>.  */
45382
 
+    #include <stddef.h>
45383
 
+    #include <sys/utsname.h>
45384
 
+    
45385
 
+int
45386
 
+main ()
45387
 
+{
45388
 
+@%:@undef $gl_func
45389
 
+  (void) $gl_func;
45390
 
+  ;
45391
 
+  return 0;
45392
 
+}
45393
 
+_ACEOF
45394
 
+if ac_fn_c_try_compile "$LINENO"; then :
45395
 
+  eval "$as_gl_Symbol=yes"
45396
 
+else
45397
 
+  eval "$as_gl_Symbol=no"
45398
 
+fi
45399
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45400
 
+fi
45401
 
+eval ac_res=\$$as_gl_Symbol
45402
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
45403
 
+$as_echo "$ac_res" >&6; }
45404
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
45405
 
+  cat >>confdefs.h <<_ACEOF
45406
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
45407
 
+_ACEOF
45408
 
+
45409
 
+                     eval ac_cv_have_decl_$gl_func=yes
45410
 
+fi
45411
 
+      done
45412
 
+
45413
 
+
45414
 
+
45415
 
+
45416
 
+  
45417
 
+
45418
 
+    
45419
 
+  
45420
 
+  
45421
 
+  
45422
 
+
45423
 
+  
45424
 
+    
45425
 
+
45426
 
+  
45427
 
+     if test $gl_cv_have_include_next = yes; then
45428
 
+       gl_cv_next_sys_wait_h='<'sys/wait.h'>'
45429
 
+     else
45430
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/wait.h>" >&5
45431
 
+$as_echo_n "checking absolute name of <sys/wait.h>... " >&6; }
45432
 
+if ${gl_cv_next_sys_wait_h+:} false; then :
45433
 
+  $as_echo_n "(cached) " >&6
45434
 
+else
45435
 
+  
45436
 
+             if test $ac_cv_header_sys_wait_h = yes; then
45437
 
+             
45438
 
+            
45439
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45440
 
+/* end confdefs.h.  */
45441
 
+#include <sys/wait.h>
45442
 
+                  
45443
 
+_ACEOF
45444
 
+                                                                                                                        case "$host_os" in
45445
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
45446
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
45447
 
+               esac
45448
 
+                                                            gl_cv_next_sys_wait_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
45449
 
+                  sed -n '\#/sys/wait.h#{
45450
 
+                    s#.*"\(.*/sys/wait.h\)".*#\1#
45451
 
+                    s#^/[^/]#//&#
45452
 
+                    p
45453
 
+                    q
45454
 
+                  }'`'"'
45455
 
+          else
45456
 
+               gl_cv_next_sys_wait_h='<'sys/wait.h'>'
45457
 
+             fi
45458
 
+            
45459
 
+         
45460
 
+fi
45461
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_wait_h" >&5
45462
 
+$as_echo "$gl_cv_next_sys_wait_h" >&6; }
45463
 
+     fi
45464
 
+     NEXT_SYS_WAIT_H=$gl_cv_next_sys_wait_h
45465
 
+
45466
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
45467
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
45468
 
+       gl_next_as_first_directive='<'sys/wait.h'>'
45469
 
+     else
45470
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
45471
 
+       gl_next_as_first_directive=$gl_cv_next_sys_wait_h
45472
 
+     fi
45473
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H=$gl_next_as_first_directive
45474
 
+
45475
 
+     
45476
 
+
45477
 
+
45478
 
+
45479
 
+      
45480
 
+    for gl_func in waitpid; do
45481
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
45482
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
45483
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
45484
 
+if eval \${$as_gl_Symbol+:} false; then :
45485
 
+  $as_echo_n "(cached) " >&6
45486
 
+else
45487
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45488
 
+/* end confdefs.h.  */
45489
 
+#include <sys/wait.h>
45490
 
+int
45491
 
+main ()
45492
 
+{
45493
 
+@%:@undef $gl_func
45494
 
+  (void) $gl_func;
45495
 
+  ;
45496
 
+  return 0;
45497
 
+}
45498
 
+_ACEOF
45499
 
+if ac_fn_c_try_compile "$LINENO"; then :
45500
 
+  eval "$as_gl_Symbol=yes"
45501
 
+else
45502
 
+  eval "$as_gl_Symbol=no"
45503
 
+fi
45504
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45505
 
+fi
45506
 
+eval ac_res=\$$as_gl_Symbol
45507
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
45508
 
+$as_echo "$ac_res" >&6; }
45509
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
45510
 
+  cat >>confdefs.h <<_ACEOF
45511
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
45512
 
+_ACEOF
45513
 
+
45514
 
+                     eval ac_cv_have_decl_$gl_func=yes
45515
 
+fi
45516
 
+      done
45517
 
+
45518
 
+
45519
 
+
45520
 
+
45521
 
+  
45522
 
+  :
45523
 
+
45524
 
+
45525
 
+
45526
 
+      
45527
 
+
45528
 
+  
45529
 
+  
45530
 
+  
45531
 
+  
45532
 
+
45533
 
+  
45534
 
+    
45535
 
+
45536
 
+  
45537
 
+     if test $gl_cv_have_include_next = yes; then
45538
 
+       gl_cv_next_termios_h='<'termios.h'>'
45539
 
+     else
45540
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <termios.h>" >&5
45541
 
+$as_echo_n "checking absolute name of <termios.h>... " >&6; }
45542
 
+if ${gl_cv_next_termios_h+:} false; then :
45543
 
+  $as_echo_n "(cached) " >&6
45544
 
+else
45545
 
+  
45546
 
+             if test $ac_cv_header_termios_h = yes; then
45547
 
+             
45548
 
+            
45549
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45550
 
+/* end confdefs.h.  */
45551
 
+#include <termios.h>
45552
 
+                  
45553
 
+_ACEOF
45554
 
+                                                                                                                        case "$host_os" in
45555
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
45556
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
45557
 
+               esac
45558
 
+                                                            gl_cv_next_termios_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
45559
 
+                  sed -n '\#/termios.h#{
45560
 
+                    s#.*"\(.*/termios.h\)".*#\1#
45561
 
+                    s#^/[^/]#//&#
45562
 
+                    p
45563
 
+                    q
45564
 
+                  }'`'"'
45565
 
+          else
45566
 
+               gl_cv_next_termios_h='<'termios.h'>'
45567
 
+             fi
45568
 
+            
45569
 
+         
45570
 
+fi
45571
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_termios_h" >&5
45572
 
+$as_echo "$gl_cv_next_termios_h" >&6; }
45573
 
+     fi
45574
 
+     NEXT_TERMIOS_H=$gl_cv_next_termios_h
45575
 
+
45576
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
45577
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
45578
 
+       gl_next_as_first_directive='<'termios.h'>'
45579
 
+     else
45580
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
45581
 
+       gl_next_as_first_directive=$gl_cv_next_termios_h
45582
 
+     fi
45583
 
+     NEXT_AS_FIRST_DIRECTIVE_TERMIOS_H=$gl_next_as_first_directive
45584
 
+
45585
 
+     
45586
 
+
45587
 
+
45588
 
+  if test $ac_cv_header_termios_h != yes; then
45589
 
+    HAVE_TERMIOS_H=0
45590
 
+  fi
45591
 
+
45592
 
+        
45593
 
+    for gl_func in tcgetsid; do
45594
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
45595
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
45596
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
45597
 
+if eval \${$as_gl_Symbol+:} false; then :
45598
 
+  $as_echo_n "(cached) " >&6
45599
 
+else
45600
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45601
 
+/* end confdefs.h.  */
45602
 
+#include <termios.h>
45603
 
+int
45604
 
+main ()
45605
 
+{
45606
 
+@%:@undef $gl_func
45607
 
+  (void) $gl_func;
45608
 
+  ;
45609
 
+  return 0;
45610
 
+}
45611
 
+_ACEOF
45612
 
+if ac_fn_c_try_compile "$LINENO"; then :
45613
 
+  eval "$as_gl_Symbol=yes"
45614
 
+else
45615
 
+  eval "$as_gl_Symbol=no"
45616
 
+fi
45617
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45618
 
+fi
45619
 
+eval ac_res=\$$as_gl_Symbol
45620
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
45621
 
+$as_echo "$ac_res" >&6; }
45622
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
45623
 
+  cat >>confdefs.h <<_ACEOF
45624
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
45625
 
+_ACEOF
45626
 
+
45627
 
+                     eval ac_cv_have_decl_$gl_func=yes
45628
 
+fi
45629
 
+      done
45630
 
+
45631
 
+
45632
 
+
45633
 
+  
45634
 
+  
45635
 
+
45636
 
+
45637
 
+      
45638
 
+
45639
 
+
45640
 
+    
45641
 
+
45642
 
+  
45643
 
+  
45644
 
+
45645
 
+      
45646
 
+  if test $ac_cv_have_decl_localtime_r = no; then
45647
 
+    HAVE_DECL_LOCALTIME_R=0
45648
 
+  fi
45649
 
+
45650
 
+  
45651
 
+  if test $ac_cv_func_localtime_r = yes; then
45652
 
+    HAVE_LOCALTIME_R=1
45653
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime_r is compatible with its POSIX signature" >&5
45654
 
+$as_echo_n "checking whether localtime_r is compatible with its POSIX signature... " >&6; }
45655
 
+if ${gl_cv_time_r_posix+:} false; then :
45656
 
+  $as_echo_n "(cached) " >&6
45657
 
+else
45658
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45659
 
+/* end confdefs.h.  */
45660
 
+#include <time.h>
45661
 
+int
45662
 
+main ()
45663
 
+{
45664
 
+/* We don't need to append 'restrict's to the argument types,
45665
 
+                 even though the POSIX signature has the 'restrict's,
45666
 
+                 since C99 says they can't affect type compatibility.  */
45667
 
+              struct tm * (*ptr) (time_t const *, struct tm *) = localtime_r;
45668
 
+              if (ptr) return 0;
45669
 
+              /* Check the return type is a pointer.
45670
 
+                 On HP-UX 10 it is 'int'.  */
45671
 
+              *localtime_r (0, 0);
45672
 
+  ;
45673
 
+  return 0;
45674
 
+}
45675
 
+         
45676
 
+_ACEOF
45677
 
+if ac_fn_c_try_compile "$LINENO"; then :
45678
 
+  gl_cv_time_r_posix=yes
45679
 
+else
45680
 
+  gl_cv_time_r_posix=no
45681
 
+fi
45682
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45683
 
+      
45684
 
+fi
45685
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_time_r_posix" >&5
45686
 
+$as_echo "$gl_cv_time_r_posix" >&6; }
45687
 
+    if test $gl_cv_time_r_posix = yes; then
45688
 
+      REPLACE_LOCALTIME_R=0
45689
 
+    else
45690
 
+      REPLACE_LOCALTIME_R=1
45691
 
+    fi
45692
 
+  else
45693
 
+    HAVE_LOCALTIME_R=0
45694
 
+  fi
45695
 
+
45696
 
+if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
45697
 
+  
45698
 
+  
45699
 
+  
45700
 
+    
45701
 
+      
45702
 
+      
45703
 
+    
45704
 
+  
45705
 
+  gl_LIBOBJS="$gl_LIBOBJS time_r.$ac_objext"
45706
 
+
45707
 
+  
45708
 
+  :
45709
 
+
45710
 
+fi
45711
 
+
45712
 
+    
45713
 
+  
45714
 
+  
45715
 
+  
45716
 
+          GNULIB_TIME_R=1
45717
 
+    
45718
 
+
45719
 
+
45720
 
+    
45721
 
+  
45722
 
+$as_echo "@%:@define GNULIB_TEST_TIME_R 1" >>confdefs.h
45723
 
+
45724
 
+
45725
 
+
45726
 
+
45727
 
+  
45728
 
+  
45729
 
+
45730
 
+  LIB_TIMER_TIME=
45731
 
+  
45732
 
+  gl_saved_libs=$LIBS
45733
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing timer_settime" >&5
45734
 
+$as_echo_n "checking for library containing timer_settime... " >&6; }
45735
 
+if ${ac_cv_search_timer_settime+:} false; then :
45736
 
+  $as_echo_n "(cached) " >&6
45737
 
+else
45738
 
+  ac_func_search_save_LIBS=$LIBS
45739
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45740
 
+/* end confdefs.h.  */
45741
 
+
45742
 
+/* Override any GCC internal prototype to avoid an error.
45743
 
+   Use char because int might match the return type of a GCC
45744
 
+   builtin and then its argument prototype would still apply.  */
45745
 
+#ifdef __cplusplus
45746
 
+extern "C"
45747
 
+#endif
45748
 
+char timer_settime ();
45749
 
+int
45750
 
+main ()
45751
 
+{
45752
 
+return timer_settime ();
45753
 
+  ;
45754
 
+  return 0;
45755
 
+}
45756
 
+_ACEOF
45757
 
+for ac_lib in '' rt posix4; do
45758
 
+  if test -z "$ac_lib"; then
45759
 
+    ac_res="none required"
45760
 
+  else
45761
 
+    ac_res=-l$ac_lib
45762
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
45763
 
+  fi
45764
 
+  if ac_fn_c_try_link "$LINENO"; then :
45765
 
+  ac_cv_search_timer_settime=$ac_res
45766
 
+fi
45767
 
+rm -f core conftest.err conftest.$ac_objext \
45768
 
+    conftest$ac_exeext
45769
 
+  if ${ac_cv_search_timer_settime+:} false; then :
45770
 
+  break
45771
 
+fi
45772
 
+done
45773
 
+if ${ac_cv_search_timer_settime+:} false; then :
45774
 
+  
45775
 
+else
45776
 
+  ac_cv_search_timer_settime=no
45777
 
+fi
45778
 
+rm conftest.$ac_ext
45779
 
+LIBS=$ac_func_search_save_LIBS
45780
 
+fi
45781
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_timer_settime" >&5
45782
 
+$as_echo "$ac_cv_search_timer_settime" >&6; }
45783
 
+ac_res=$ac_cv_search_timer_settime
45784
 
+if test "$ac_res" != no; then :
45785
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
45786
 
+  test "$ac_cv_search_timer_settime" = "none required" ||
45787
 
+                    LIB_TIMER_TIME=$ac_cv_search_timer_settime
45788
 
+fi
45789
 
+
45790
 
+    for ac_func in timer_settime
45791
 
+do :
45792
 
+  ac_fn_c_check_func "$LINENO" "timer_settime" "ac_cv_func_timer_settime"
45793
 
+if test "x$ac_cv_func_timer_settime" = xyes; then :
45794
 
+  cat >>confdefs.h <<_ACEOF
45795
 
+@%:@define HAVE_TIMER_SETTIME 1
45796
 
+_ACEOF
45797
 
45798
 
+fi
45799
 
+done
45800
 
+
45801
 
+  LIBS=$gl_saved_libs
45802
 
+
45803
 
+
45804
 
+    
45805
 
+
45806
 
+
45807
 
+  
45808
 
+
45809
 
+
45810
 
+
45811
 
+
45812
 
+  
45813
 
+  for ac_func in uname
45814
 
+do :
45815
 
+  ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname"
45816
 
+if test "x$ac_cv_func_uname" = xyes; then :
45817
 
+  cat >>confdefs.h <<_ACEOF
45818
 
+@%:@define HAVE_UNAME 1
45819
 
+_ACEOF
45820
 
45821
 
+fi
45822
 
+done
45823
 
+
45824
 
+  if test $ac_cv_func_uname = no; then
45825
 
+    HAVE_UNAME=0
45826
 
+  fi
45827
 
+
45828
 
+if test $HAVE_UNAME = 0; then
45829
 
+  
45830
 
+  
45831
 
+  
45832
 
+    
45833
 
+      
45834
 
+      
45835
 
+    
45836
 
+  
45837
 
+  gl_LIBOBJS="$gl_LIBOBJS uname.$ac_objext"
45838
 
+
45839
 
+  
45840
 
+  :
45841
 
+
45842
 
+fi
45843
 
+
45844
 
+    
45845
 
+  
45846
 
+  
45847
 
+  
45848
 
+          GNULIB_UNAME=1
45849
 
+    
45850
 
+
45851
 
+
45852
 
+
45853
 
+
45854
 
+    :
45855
 
+
45856
 
+
45857
 
+      
45858
 
+  
45859
 
+
45860
 
+  
45861
 
+  
45862
 
+  
45863
 
+  
45864
 
+
45865
 
+  
45866
 
+    
45867
 
+
45868
 
+  
45869
 
+     if test $gl_cv_have_include_next = yes; then
45870
 
+       gl_cv_next_unistd_h='<'unistd.h'>'
45871
 
+     else
45872
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5
45873
 
+$as_echo_n "checking absolute name of <unistd.h>... " >&6; }
45874
 
+if ${gl_cv_next_unistd_h+:} false; then :
45875
 
+  $as_echo_n "(cached) " >&6
45876
 
+else
45877
 
+  
45878
 
+             if test $ac_cv_header_unistd_h = yes; then
45879
 
+             
45880
 
+            
45881
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45882
 
+/* end confdefs.h.  */
45883
 
+#include <unistd.h>
45884
 
+                  
45885
 
+_ACEOF
45886
 
+                                                                                                                        case "$host_os" in
45887
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
45888
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
45889
 
+               esac
45890
 
+                                                            gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
45891
 
+                  sed -n '\#/unistd.h#{
45892
 
+                    s#.*"\(.*/unistd.h\)".*#\1#
45893
 
+                    s#^/[^/]#//&#
45894
 
+                    p
45895
 
+                    q
45896
 
+                  }'`'"'
45897
 
+          else
45898
 
+               gl_cv_next_unistd_h='<'unistd.h'>'
45899
 
+             fi
45900
 
+            
45901
 
+         
45902
 
+fi
45903
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5
45904
 
+$as_echo "$gl_cv_next_unistd_h" >&6; }
45905
 
+     fi
45906
 
+     NEXT_UNISTD_H=$gl_cv_next_unistd_h
45907
 
+
45908
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
45909
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
45910
 
+       gl_next_as_first_directive='<'unistd.h'>'
45911
 
+     else
45912
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
45913
 
+       gl_next_as_first_directive=$gl_cv_next_unistd_h
45914
 
+     fi
45915
 
+     NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive
45916
 
+
45917
 
+     
45918
 
+
45919
 
+
45920
 
+  if test $ac_cv_header_unistd_h = yes; then
45921
 
+    HAVE_UNISTD_H=1
45922
 
+  else
45923
 
+    HAVE_UNISTD_H=0
45924
 
+  fi
45925
 
+  
45926
 
+
45927
 
+      
45928
 
+    for gl_func in chown dup2 dup3 environ euidaccess faccessat fchdir fchownat     fsync ftruncate getcwd getdomainname getdtablesize getgroups     gethostname getlogin getlogin_r getpagesize getusershell setusershell     endusershell group_member lchown link linkat lseek pipe pipe2 pread pwrite     readlink readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat     usleep; do
45929
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
45930
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
45931
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
45932
 
+if eval \${$as_gl_Symbol+:} false; then :
45933
 
+  $as_echo_n "(cached) " >&6
45934
 
+else
45935
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45936
 
+/* end confdefs.h.  */
45937
 
+#include <unistd.h>
45938
 
+/* Some systems declare various items in the wrong headers.  */
45939
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
45940
 
+# include <fcntl.h>
45941
 
+# include <stdio.h>
45942
 
+# include <stdlib.h>
45943
 
+# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
45944
 
+#  include <io.h>
45945
 
+# endif
45946
 
+#endif
45947
 
+    
45948
 
+int
45949
 
+main ()
45950
 
+{
45951
 
+@%:@undef $gl_func
45952
 
+  (void) $gl_func;
45953
 
+  ;
45954
 
+  return 0;
45955
 
+}
45956
 
+_ACEOF
45957
 
+if ac_fn_c_try_compile "$LINENO"; then :
45958
 
+  eval "$as_gl_Symbol=yes"
45959
 
+else
45960
 
+  eval "$as_gl_Symbol=no"
45961
 
+fi
45962
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45963
 
+fi
45964
 
+eval ac_res=\$$as_gl_Symbol
45965
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
45966
 
+$as_echo "$ac_res" >&6; }
45967
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
45968
 
+  cat >>confdefs.h <<_ACEOF
45969
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
45970
 
+_ACEOF
45971
 
+
45972
 
+                     eval ac_cv_have_decl_$gl_func=yes
45973
 
+fi
45974
 
+      done
45975
 
+
45976
 
+
45977
 
+
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 2
45992
 
+                         }
45993
 
+                    }
45994
 
+               }
45995
 
+            
45996
 
+            
45997
 
+            
45998
 
+           
45999
 
+       }
46000
 
+  }; then
46001
 
+    LIBUNISTRING_UNISTR_H='unistr.h'
46002
 
+  else
46003
 
+    LIBUNISTRING_UNISTR_H=
46004
 
+  fi
46005
 
+  
46006
 
+
46007
 
+
46008
 
+  
46009
 
+cat >>confdefs.h <<_ACEOF
46010
 
+@%:@define GNULIB_UNISTR_U8_MBTOUCR 1
46011
 
+_ACEOF
46012
 
+
46013
 
+
46014
 
+
46015
 
+  
46016
 
+       if  { test "$HAVE_LIBUNISTRING" != yes \
46017
 
+    || {
46018
 
+                              
46019
 
+            
46020
 
+            
46021
 
+            test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46022
 
+            || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46023
 
+                 && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46024
 
+                      || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46025
 
+                           && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46026
 
+                         }
46027
 
+                    }
46028
 
+               }
46029
 
+            
46030
 
+            
46031
 
+            
46032
 
+           
46033
 
+       }
46034
 
+  }; then
46035
 
+  LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE=
46036
 
+  LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE='#'
46037
 
+else
46038
 
+  LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE='#'
46039
 
+  LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE=
46040
 
+fi
46041
 
+
46042
 
+
46043
 
+
46044
 
+  
46045
 
+cat >>confdefs.h <<_ACEOF
46046
 
+@%:@define GNULIB_UNISTR_U8_UCTOMB 1
46047
 
+_ACEOF
46048
 
+
46049
 
+
46050
 
+
46051
 
+  
46052
 
+       if  { test "$HAVE_LIBUNISTRING" != yes \
46053
 
+    || {
46054
 
+                              
46055
 
+            
46056
 
+            
46057
 
+            test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46058
 
+            || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46059
 
+                 && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46060
 
+                      || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46061
 
+                           && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46062
 
+                         }
46063
 
+                    }
46064
 
+               }
46065
 
+            
46066
 
+            
46067
 
+            
46068
 
+           
46069
 
+       }
46070
 
+  }; then
46071
 
+  LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE=
46072
 
+  LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE='#'
46073
 
+else
46074
 
+  LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE='#'
46075
 
+  LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE=
46076
 
+fi
46077
 
+
46078
 
+
46079
 
+
46080
 
+  
46081
 
+      if  { test "$HAVE_LIBUNISTRING" != yes \
46082
 
+    || {
46083
 
+                              
46084
 
+            
46085
 
+            
46086
 
+            test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46087
 
+            || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46088
 
+                 && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46089
 
+                      || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46090
 
+                           && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46091
 
+                         }
46092
 
+                    }
46093
 
+               }
46094
 
+            
46095
 
+            
46096
 
+            
46097
 
+           
46098
 
+       }
46099
 
+  }; then
46100
 
+    LIBUNISTRING_UNITYPES_H='unitypes.h'
46101
 
+  else
46102
 
+    LIBUNISTRING_UNITYPES_H=
46103
 
+  fi
46104
 
+  
46105
 
+
46106
 
+
46107
 
+  
46108
 
+      if  { test "$HAVE_LIBUNISTRING" != yes \
46109
 
+    || {
46110
 
+                              
46111
 
+            
46112
 
+            
46113
 
+            test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46114
 
+            || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46115
 
+                 && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46116
 
+                      || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46117
 
+                           && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
46118
 
+                         }
46119
 
+                    }
46120
 
+               }
46121
 
+            
46122
 
+            
46123
 
+            
46124
 
+           
46125
 
+       }
46126
 
+  }; then
46127
 
+    LIBUNISTRING_UNIWIDTH_H='uniwidth.h'
46128
 
+  else
46129
 
+    LIBUNISTRING_UNIWIDTH_H=
46130
 
+  fi
46131
 
+  
46132
 
+
46133
 
+
46134
 
+  
46135
 
+       if  { test "$HAVE_LIBUNISTRING" != yes \
46136
 
+    || {
46137
 
+                              
46138
 
+            
46139
 
+            
46140
 
+            test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
46141
 
+            || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
46142
 
+                 && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
46143
 
+                      || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
46144
 
+                           && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
46145
 
+                         }
46146
 
+                    }
46147
 
+               }
46148
 
+            
46149
 
+            
46150
 
+            
46151
 
+           
46152
 
+       }
46153
 
+  }; then
46154
 
+  LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE=
46155
 
+  LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE='#'
46156
 
+else
46157
 
+  LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE='#'
46158
 
+  LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE=
46159
 
+fi
46160
 
+
46161
 
+
46162
 
+
46163
 
+  
46164
 
+  
46165
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unlink honors trailing slashes" >&5
46166
 
+$as_echo_n "checking whether unlink honors trailing slashes... " >&6; }
46167
 
+if ${gl_cv_func_unlink_honors_slashes+:} false; then :
46168
 
+  $as_echo_n "(cached) " >&6
46169
 
+else
46170
 
+  touch conftest.file
46171
 
+     # Assume that if we have lstat, we can also check symlinks.
46172
 
+     if test $ac_cv_func_lstat = yes; then
46173
 
+       ln -s conftest.file conftest.lnk
46174
 
+     fi
46175
 
+     if test "$cross_compiling" = yes; then :
46176
 
+  gl_cv_func_unlink_honors_slashes="guessing no"
46177
 
+else
46178
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46179
 
+/* end confdefs.h.  */
46180
 
+#include <unistd.h>
46181
 
+           #include <errno.h>
46182
 
+         
46183
 
+int
46184
 
+main ()
46185
 
+{
46186
 
+int result = 0;
46187
 
+           if (!unlink ("conftest.file/"))
46188
 
+             result |= 1;
46189
 
+           else if (errno != ENOTDIR)
46190
 
+             result |= 2;
46191
 
+#if HAVE_LSTAT
46192
 
+           if (!unlink ("conftest.lnk/"))
46193
 
+             result |= 4;
46194
 
+           else if (errno != ENOTDIR)
46195
 
+             result |= 8;
46196
 
+#endif
46197
 
+           return result;
46198
 
+         
46199
 
+  ;
46200
 
+  return 0;
46201
 
+}
46202
 
+_ACEOF
46203
 
+if ac_fn_c_try_run "$LINENO"; then :
46204
 
+  gl_cv_func_unlink_honors_slashes=yes
46205
 
+else
46206
 
+  gl_cv_func_unlink_honors_slashes=no
46207
 
+fi
46208
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46209
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
46210
 
+fi
46211
 
+
46212
 
+     rm -f conftest.file conftest.lnk
46213
 
+fi
46214
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unlink_honors_slashes" >&5
46215
 
+$as_echo "$gl_cv_func_unlink_honors_slashes" >&6; }
46216
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unlink of a parent directory fails as it should" >&5
46217
 
+$as_echo_n "checking whether unlink of a parent directory fails as it should... " >&6; }
46218
 
+if ${gl_cv_func_unlink_parent_fails+:} false; then :
46219
 
+  $as_echo_n "(cached) " >&6
46220
 
+else
46221
 
+  case "$host_os" in
46222
 
+       darwin*)
46223
 
+                                                      if {
46224
 
+              # Use the mktemp program if available. If not available, hide the error
46225
 
+              # message.
46226
 
+              tmp=`(umask 077 && mktemp -d /tmp/gtXXXXXX) 2>/dev/null` &&
46227
 
+              test -n "$tmp" && test -d "$tmp"
46228
 
+            } ||
46229
 
+            {
46230
 
+              # Use a simple mkdir command. It is guaranteed to fail if the directory
46231
 
+              # already exists.  $RANDOM is bash specific and expands to empty in shells
46232
 
+              # other than bash, ksh and zsh.  Its use does not increase security;
46233
 
+              # rather, it minimizes the probability of failure in a very cluttered /tmp
46234
 
+              # directory.
46235
 
+              tmp=/tmp/gt$$-$RANDOM
46236
 
+              (umask 077 && mkdir "$tmp")
46237
 
+            }; then
46238
 
+           mkdir "$tmp/subdir"
46239
 
+           GL_SUBDIR_FOR_UNLINK="$tmp/subdir"
46240
 
+           export GL_SUBDIR_FOR_UNLINK
46241
 
+           if test "$cross_compiling" = yes; then :
46242
 
+  gl_cv_func_unlink_parent_fails="guessing no"
46243
 
+else
46244
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46245
 
+/* end confdefs.h.  */
46246
 
+
46247
 
+                #include <stdlib.h>
46248
 
+                #include <unistd.h>
46249
 
+                int main ()
46250
 
+                {
46251
 
+                  int result = 0;
46252
 
+                  if (chdir (getenv ("GL_SUBDIR_FOR_UNLINK")) != 0)
46253
 
+                    result |= 1;
46254
 
+                  else if (unlink ("..") == 0)
46255
 
+                    result |= 2;
46256
 
+                  return result;
46257
 
+                }
46258
 
+              
46259
 
+_ACEOF
46260
 
+if ac_fn_c_try_run "$LINENO"; then :
46261
 
+  gl_cv_func_unlink_parent_fails=yes
46262
 
+else
46263
 
+  gl_cv_func_unlink_parent_fails=no
46264
 
+fi
46265
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46266
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
46267
 
+fi
46268
 
+
46269
 
+           unset GL_SUBDIR_FOR_UNLINK
46270
 
+           rm -rf "$tmp"
46271
 
+         else
46272
 
+           gl_cv_func_unlink_parent_fails="guessing no"
46273
 
+         fi
46274
 
+         ;;
46275
 
+       *)
46276
 
+         gl_cv_func_unlink_parent_fails="guessing yes"
46277
 
+         ;;
46278
 
+     esac
46279
 
+    
46280
 
+fi
46281
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unlink_parent_fails" >&5
46282
 
+$as_echo "$gl_cv_func_unlink_parent_fails" >&6; }
46283
 
+  case "$gl_cv_func_unlink_parent_fails" in
46284
 
+    *no)
46285
 
+      
46286
 
+$as_echo "@%:@define UNLINK_PARENT_BUG 1" >>confdefs.h
46287
 
+
46288
 
+      ;;
46289
 
+  esac
46290
 
+  if test "$gl_cv_func_unlink_honors_slashes" != yes \
46291
 
+     || { case "$gl_cv_func_unlink_parent_fails" in
46292
 
+            *yes) false;;
46293
 
+            *no) true;;
46294
 
+          esac
46295
 
+        }; then
46296
 
+    REPLACE_UNLINK=1
46297
 
+  fi
46298
 
+
46299
 
+if test $REPLACE_UNLINK = 1; then
46300
 
+  
46301
 
+  
46302
 
+  
46303
 
+    
46304
 
+      
46305
 
+      
46306
 
+    
46307
 
+  
46308
 
+  gl_LIBOBJS="$gl_LIBOBJS unlink.$ac_objext"
46309
 
+
46310
 
+fi
46311
 
+
46312
 
+    
46313
 
+  
46314
 
+  
46315
 
+  
46316
 
+          GNULIB_UNLINK=1
46317
 
+    
46318
 
+
46319
 
+
46320
 
+    
46321
 
+  
46322
 
+$as_echo "@%:@define GNULIB_TEST_UNLINK 1" >>confdefs.h
46323
 
+
46324
 
+
46325
 
+
46326
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a running program can be unlinked" >&5
46327
 
+$as_echo_n "checking whether a running program can be unlinked... " >&6; }
46328
 
+if ${gl_cv_func_unlink_busy_text+:} false; then :
46329
 
+  $as_echo_n "(cached) " >&6
46330
 
+else
46331
 
+  
46332
 
+      if test "$cross_compiling" = yes; then :
46333
 
+  gl_cv_func_unlink_busy_text=no
46334
 
+      
46335
 
+else
46336
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46337
 
+/* end confdefs.h.  */
46338
 
+$ac_includes_default
46339
 
+            int
46340
 
+            main (int argc, char **argv)
46341
 
+            {
46342
 
+              int result = 0;
46343
 
+              if (argc == 0)
46344
 
+                result |= 1;
46345
 
+              else if (unlink (argv[0]) != 0)
46346
 
+                result |= 2;
46347
 
+              return result;
46348
 
+            }
46349
 
+_ACEOF
46350
 
+if ac_fn_c_try_run "$LINENO"; then :
46351
 
+  gl_cv_func_unlink_busy_text=yes
46352
 
+else
46353
 
+  gl_cv_func_unlink_busy_text=no
46354
 
+fi
46355
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46356
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
46357
 
+fi
46358
 
+
46359
 
+    
46360
 
+  
46361
 
+fi
46362
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unlink_busy_text" >&5
46363
 
+$as_echo "$gl_cv_func_unlink_busy_text" >&6; }
46364
 
+
46365
 
+  if test $gl_cv_func_unlink_busy_text = no; then
46366
 
+    INSTALL=$ac_install_sh
46367
 
+  fi
46368
 
+
46369
 
+
46370
 
+  
46371
 
+$as_echo "@%:@define USE_UNLOCKED_IO 1" >>confdefs.h
46372
 
+
46373
 
+
46374
 
+      
46375
 
+
46376
 
+  
46377
 
+  
46378
 
+  
46379
 
+  
46380
 
+  
46381
 
+  
46382
 
+  
46383
 
+  
46384
 
+  
46385
 
+  
46386
 
+  
46387
 
+  
46388
 
+  
46389
 
+
46390
 
+
46391
 
+  
46392
 
+  
46393
 
+  if test $ac_cv_have_decl_unsetenv = no; then
46394
 
+    HAVE_DECL_UNSETENV=0
46395
 
+  fi
46396
 
+  for ac_func in unsetenv
46397
 
+do :
46398
 
+  ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
46399
 
+if test "x$ac_cv_func_unsetenv" = xyes; then :
46400
 
+  cat >>confdefs.h <<_ACEOF
46401
 
+@%:@define HAVE_UNSETENV 1
46402
 
+_ACEOF
46403
 
46404
 
+fi
46405
 
+done
46406
 
+
46407
 
+  if test $ac_cv_func_unsetenv = no; then
46408
 
+    HAVE_UNSETENV=0
46409
 
+  else
46410
 
+    HAVE_UNSETENV=1
46411
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsetenv() return type" >&5
46412
 
+$as_echo_n "checking for unsetenv() return type... " >&6; }
46413
 
+if ${gt_cv_func_unsetenv_ret+:} false; then :
46414
 
+  $as_echo_n "(cached) " >&6
46415
 
+else
46416
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46417
 
+/* end confdefs.h.  */
46418
 
+
46419
 
+#undef _BSD
46420
 
+#define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 <stdlib.h> */
46421
 
+#include <stdlib.h>
46422
 
+extern
46423
 
+#ifdef __cplusplus
46424
 
+"C"
46425
 
+#endif
46426
 
+#if defined(__STDC__) || defined(__cplusplus)
46427
 
+int unsetenv (const char *name);
46428
 
+#else
46429
 
+int unsetenv();
46430
 
+#endif
46431
 
+            
46432
 
+int
46433
 
+main ()
46434
 
+{
46435
 
+
46436
 
+  ;
46437
 
+  return 0;
46438
 
+}
46439
 
+_ACEOF
46440
 
+if ac_fn_c_try_compile "$LINENO"; then :
46441
 
+  gt_cv_func_unsetenv_ret='int'
46442
 
+else
46443
 
+  gt_cv_func_unsetenv_ret='void'
46444
 
+fi
46445
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46446
 
+fi
46447
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_unsetenv_ret" >&5
46448
 
+$as_echo "$gt_cv_func_unsetenv_ret" >&6; }
46449
 
+    if test $gt_cv_func_unsetenv_ret = 'void'; then
46450
 
+      
46451
 
+$as_echo "@%:@define VOID_UNSETENV 1" >>confdefs.h
46452
 
+
46453
 
+      REPLACE_UNSETENV=1
46454
 
+    fi
46455
 
+
46456
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unsetenv obeys POSIX" >&5
46457
 
+$as_echo_n "checking whether unsetenv obeys POSIX... " >&6; }
46458
 
+if ${gl_cv_func_unsetenv_works+:} false; then :
46459
 
+  $as_echo_n "(cached) " >&6
46460
 
+else
46461
 
+  if test "$cross_compiling" = yes; then :
46462
 
+  gl_cv_func_unsetenv_works="guessing no"
46463
 
+else
46464
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46465
 
+/* end confdefs.h.  */
46466
 
+
46467
 
+       #include <stdlib.h>
46468
 
+       #include <errno.h>
46469
 
+       extern char **environ;
46470
 
+      
46471
 
+int
46472
 
+main ()
46473
 
+{
46474
 
+
46475
 
+       char entry1[] = "a=1";
46476
 
+       char entry2[] = "b=2";
46477
 
+       char *env[] = { entry1, entry2, NULL };
46478
 
+       if (putenv ((char *) "a=1")) return 1;
46479
 
+       if (putenv (entry2)) return 2;
46480
 
+       entry2[0] = 'a';
46481
 
+       unsetenv ("a");
46482
 
+       if (getenv ("a")) return 3;
46483
 
+       if (!unsetenv ("") || errno != EINVAL) return 4;
46484
 
+       entry2[0] = 'b';
46485
 
+       environ = env;
46486
 
+       if (!getenv ("a")) return 5;
46487
 
+       entry2[0] = 'a';
46488
 
+       unsetenv ("a");
46489
 
+       if (getenv ("a")) return 6;
46490
 
+      
46491
 
+  ;
46492
 
+  return 0;
46493
 
+}
46494
 
+_ACEOF
46495
 
+if ac_fn_c_try_run "$LINENO"; then :
46496
 
+  gl_cv_func_unsetenv_works=yes
46497
 
+else
46498
 
+  gl_cv_func_unsetenv_works=no
46499
 
+fi
46500
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46501
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
46502
 
+fi
46503
 
+
46504
 
+fi
46505
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unsetenv_works" >&5
46506
 
+$as_echo "$gl_cv_func_unsetenv_works" >&6; }
46507
 
+    if test "$gl_cv_func_unsetenv_works" != yes; then
46508
 
+      REPLACE_UNSETENV=1
46509
 
+    fi
46510
 
+  fi
46511
 
+
46512
 
+if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
46513
 
+  
46514
 
+  
46515
 
+  
46516
 
+    
46517
 
+      
46518
 
+      
46519
 
+    
46520
 
+  
46521
 
+  gl_LIBOBJS="$gl_LIBOBJS unsetenv.$ac_objext"
46522
 
+
46523
 
+  
46524
 
+  
46525
 
+  
46526
 
+
46527
 
+fi
46528
 
+
46529
 
+    
46530
 
+  
46531
 
+  
46532
 
+  
46533
 
+          GNULIB_UNSETENV=1
46534
 
+    
46535
 
+
46536
 
+
46537
 
+    
46538
 
+  
46539
 
+$as_echo "@%:@define GNULIB_TEST_UNSETENV 1" >>confdefs.h
46540
 
+
46541
 
+
46542
 
+
46543
 
+   
46544
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/uptime" >&5
46545
 
+$as_echo_n "checking for /proc/uptime... " >&6; }
46546
 
+if ${gl_cv_have_proc_uptime+:} false; then :
46547
 
+  $as_echo_n "(cached) " >&6
46548
 
+else
46549
 
+  gl_cv_have_proc_uptime=no
46550
 
+    test -f /proc/uptime \
46551
 
+      && test "$cross_compiling" = no \
46552
 
+      && cat < /proc/uptime >/dev/null 2>/dev/null \
46553
 
+      && gl_cv_have_proc_uptime=yes
46554
 
+fi
46555
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_proc_uptime" >&5
46556
 
+$as_echo "$gl_cv_have_proc_uptime" >&6; }
46557
 
+  if test $gl_cv_have_proc_uptime = yes; then
46558
 
+    
46559
 
+$as_echo "@%:@define HAVE_PROC_UPTIME 1" >>confdefs.h
46560
 
+
46561
 
+  fi
46562
 
+
46563
 
+
46564
 
+  
46565
 
+
46566
 
+
46567
 
+    
46568
 
+  :
46569
 
+
46570
 
+
46571
 
+    
46572
 
+  
46573
 
+  
46574
 
+  
46575
 
+
46576
 
+  if test $ac_cv_func_futimens = no && test $ac_cv_func_futimesat = yes; then
46577
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether futimesat handles NULL file" >&5
46578
 
+$as_echo_n "checking whether futimesat handles NULL file... " >&6; }
46579
 
+if ${gl_cv_func_futimesat_works+:} false; then :
46580
 
+  $as_echo_n "(cached) " >&6
46581
 
+else
46582
 
+  touch conftest.file
46583
 
+       if test "$cross_compiling" = yes; then :
46584
 
+  gl_cv_func_futimesat_works="guessing no"
46585
 
+else
46586
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46587
 
+/* end confdefs.h.  */
46588
 
+
46589
 
+#include <stddef.h>
46590
 
+#include <sys/times.h>
46591
 
+#include <fcntl.h>
46592
 
+
46593
 
+int
46594
 
+main ()
46595
 
+{
46596
 
+    int fd = open ("conftest.file", O_RDWR);
46597
 
+          if (fd < 0) return 1;
46598
 
+          if (futimesat (fd, NULL, NULL)) return 2;
46599
 
+        
46600
 
+  ;
46601
 
+  return 0;
46602
 
+}
46603
 
+_ACEOF
46604
 
+if ac_fn_c_try_run "$LINENO"; then :
46605
 
+  gl_cv_func_futimesat_works=yes
46606
 
+else
46607
 
+  gl_cv_func_futimesat_works=no
46608
 
+fi
46609
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46610
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
46611
 
+fi
46612
 
+
46613
 
+      rm -f conftest.file
46614
 
+fi
46615
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_futimesat_works" >&5
46616
 
+$as_echo "$gl_cv_func_futimesat_works" >&6; }
46617
 
+    if test "$gl_cv_func_futimesat_works" != yes; then
46618
 
+      
46619
 
+$as_echo "@%:@define FUTIMESAT_NULL_BUG 1" >>confdefs.h
46620
 
+
46621
 
+    fi
46622
 
+  fi
46623
 
+
46624
 
+
46625
 
+  
46626
 
+  
46627
 
+  
46628
 
+  if test $ac_cv_func_utimensat = no; then
46629
 
+    HAVE_UTIMENSAT=0
46630
 
+  else
46631
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether utimensat works" >&5
46632
 
+$as_echo_n "checking whether utimensat works... " >&6; }
46633
 
+if ${gl_cv_func_utimensat_works+:} false; then :
46634
 
+  $as_echo_n "(cached) " >&6
46635
 
+else
46636
 
+  if test "$cross_compiling" = yes; then :
46637
 
+  gl_cv_func_utimensat_works="guessing no"
46638
 
+else
46639
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46640
 
+/* end confdefs.h.  */
46641
 
+
46642
 
+#include <fcntl.h>
46643
 
+#include <sys/stat.h>
46644
 
+#include <unistd.h>
46645
 
+
46646
 
+int
46647
 
+main ()
46648
 
+{
46649
 
+int result = 0;
46650
 
+              const char *f = "conftest.file";
46651
 
+              if (close (creat (f, 0600)))
46652
 
+                return 1;
46653
 
+              /* Test whether the AT_SYMLINK_NOFOLLOW flag is supported.  */
46654
 
+              {
46655
 
+                if (utimensat (AT_FDCWD, f, NULL, AT_SYMLINK_NOFOLLOW))
46656
 
+                  result |= 2;
46657
 
+              }
46658
 
+              /* Test whether UTIME_NOW and UTIME_OMIT work.  */
46659
 
+              {
46660
 
+                struct timespec ts[2] = { { 1, UTIME_OMIT }, { 1, UTIME_NOW } };
46661
 
+                if (utimensat (AT_FDCWD, f, ts, 0))
46662
 
+                  result |= 4;
46663
 
+              }
46664
 
+              sleep (1);
46665
 
+              {
46666
 
+                struct timespec ts[2] = { { 1, UTIME_NOW }, { 1, UTIME_OMIT } };
46667
 
+                struct stat st;
46668
 
+                if (utimensat (AT_FDCWD, f, ts, 0))
46669
 
+                  result |= 8;
46670
 
+                if (stat (f, &st))
46671
 
+                  result |= 16;
46672
 
+                else if (st.st_ctime < st.st_atime)
46673
 
+                  result |= 32;
46674
 
+              }
46675
 
+              return result;
46676
 
+            
46677
 
+  ;
46678
 
+  return 0;
46679
 
+}
46680
 
+_ACEOF
46681
 
+if ac_fn_c_try_run "$LINENO"; then :
46682
 
+           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46683
 
+/* end confdefs.h.  */
46684
 
+
46685
 
+#ifdef __linux__
46686
 
+/* The Linux kernel added utimensat in 2.6.22, but has bugs with UTIME_OMIT
46687
 
+   in several file systems as recently as 2.6.32.  Always replace utimensat
46688
 
+   to support older kernels.  */
46689
 
+choke me
46690
 
+#endif
46691
 
+      
46692
 
+int
46693
 
+main ()
46694
 
+{
46695
 
+
46696
 
+  ;
46697
 
+  return 0;
46698
 
+}
46699
 
+_ACEOF
46700
 
+if ac_fn_c_try_compile "$LINENO"; then :
46701
 
+  gl_cv_func_utimensat_works=yes
46702
 
+else
46703
 
+  gl_cv_func_utimensat_works="needs runtime check"
46704
 
+fi
46705
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46706
 
+else
46707
 
+  gl_cv_func_utimensat_works=no
46708
 
+fi
46709
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46710
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
46711
 
+fi
46712
 
+
46713
 
+fi
46714
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_utimensat_works" >&5
46715
 
+$as_echo "$gl_cv_func_utimensat_works" >&6; }
46716
 
+    if test "$gl_cv_func_utimensat_works" != yes; then
46717
 
+      REPLACE_UTIMENSAT=1
46718
 
+    fi
46719
 
+  fi
46720
 
+
46721
 
+if test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1; then
46722
 
+  
46723
 
+  
46724
 
+  
46725
 
+    
46726
 
+      
46727
 
+      
46728
 
+    
46729
 
+  
46730
 
+  gl_LIBOBJS="$gl_LIBOBJS utimensat.$ac_objext"
46731
 
+
46732
 
+fi
46733
 
+
46734
 
+    
46735
 
+  
46736
 
+  
46737
 
+  
46738
 
+          GNULIB_UTIMENSAT=1
46739
 
+    
46740
 
+
46741
 
+
46742
 
+    
46743
 
+  
46744
 
+$as_echo "@%:@define GNULIB_TEST_UTIMENSAT 1" >>confdefs.h
46745
 
+
46746
 
+
46747
 
+
46748
 
+
46749
 
+  
46750
 
+  if test $ac_cv_func_vasnprintf = no; then
46751
 
+    
46752
 
+  
46753
 
+  
46754
 
+  
46755
 
+  
46756
 
+    
46757
 
+      
46758
 
+      
46759
 
+    
46760
 
+  
46761
 
+  gl_LIBOBJS="$gl_LIBOBJS vasnprintf.$ac_objext"
46762
 
+
46763
 
+  
46764
 
+  
46765
 
+  
46766
 
+    
46767
 
+      
46768
 
+      
46769
 
+    
46770
 
+  
46771
 
+  gl_LIBOBJS="$gl_LIBOBJS printf-args.$ac_objext"
46772
 
+
46773
 
+  
46774
 
+  
46775
 
+  
46776
 
+    
46777
 
+      
46778
 
+      
46779
 
+    
46780
 
+  
46781
 
+  gl_LIBOBJS="$gl_LIBOBJS printf-parse.$ac_objext"
46782
 
+
46783
 
+  
46784
 
+  
46785
 
+  
46786
 
+    
46787
 
+      
46788
 
+      
46789
 
+    
46790
 
+  
46791
 
+  gl_LIBOBJS="$gl_LIBOBJS asnprintf.$ac_objext"
46792
 
+
46793
 
+  if test $ac_cv_func_vasnprintf = yes; then
46794
 
+    
46795
 
+$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h
46796
 
+
46797
 
+  fi
46798
 
+  
46799
 
+  
46800
 
+  
46801
 
+  
46802
 
+
46803
 
+  
46804
 
+  
46805
 
+  
46806
 
+  
46807
 
+  
46808
 
+  
46809
 
+  ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
46810
 
+if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
46811
 
+  
46812
 
+else
46813
 
+  
46814
 
+$as_echo "@%:@define ptrdiff_t long" >>confdefs.h
46815
 
+
46816
 
+    
46817
 
+fi
46818
 
+
46819
 
+  
46820
 
+
46821
 
+  
46822
 
+  
46823
 
+
46824
 
+
46825
 
+  fi
46826
 
+
46827
 
+
46828
 
+  for ac_func in vasprintf
46829
 
+do :
46830
 
+  ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
46831
 
+if test "x$ac_cv_func_vasprintf" = xyes; then :
46832
 
+  cat >>confdefs.h <<_ACEOF
46833
 
+@%:@define HAVE_VASPRINTF 1
46834
 
+_ACEOF
46835
 
46836
 
+fi
46837
 
+done
46838
 
+
46839
 
+  if test $ac_cv_func_vasprintf = no; then
46840
 
+    
46841
 
+  
46842
 
+  
46843
 
+  
46844
 
+    
46845
 
+      
46846
 
+      
46847
 
+    
46848
 
+  
46849
 
+  gl_LIBOBJS="$gl_LIBOBJS vasprintf.$ac_objext"
46850
 
+
46851
 
+  
46852
 
+  
46853
 
+  
46854
 
+    
46855
 
+      
46856
 
+      
46857
 
+    
46858
 
+  
46859
 
+  gl_LIBOBJS="$gl_LIBOBJS asprintf.$ac_objext"
46860
 
+
46861
 
+  
46862
 
+  if test $ac_cv_func_vasprintf = yes; then
46863
 
+    REPLACE_VASPRINTF=1
46864
 
+  else
46865
 
+    HAVE_VASPRINTF=0
46866
 
+  fi
46867
 
+  
46868
 
+    
46869
 
+
46870
 
+  
46871
 
+
46872
 
+  
46873
 
+
46874
 
+
46875
 
+  fi
46876
 
+
46877
 
+
46878
 
+    
46879
 
+  
46880
 
+  
46881
 
+  
46882
 
+          GNULIB_VASPRINTF=1
46883
 
+    
46884
 
+
46885
 
+
46886
 
+    
46887
 
+  
46888
 
+$as_echo "@%:@define GNULIB_TEST_VASPRINTF 1" >>confdefs.h
46889
 
+
46890
 
+
46891
 
+
46892
 
+
46893
 
+  
46894
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=asprintf:2:c-format"
46895
 
+
46896
 
+   
46897
 
+  
46898
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=vasprintf:2:c-format"
46899
 
+
46900
 
+
46901
 
+  
46902
 
+  
46903
 
+  
46904
 
+  
46905
 
+  
46906
 
+  
46907
 
+  
46908
 
+  
46909
 
+  
46910
 
+  
46911
 
+  
46912
 
+  
46913
 
+  
46914
 
+  
46915
 
+  gl_cv_func_vasprintf_posix=no
46916
 
+  for ac_func in vasprintf
46917
 
+do :
46918
 
+  ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
46919
 
+if test "x$ac_cv_func_vasprintf" = xyes; then :
46920
 
+  cat >>confdefs.h <<_ACEOF
46921
 
+@%:@define HAVE_VASPRINTF 1
46922
 
+_ACEOF
46923
 
46924
 
+fi
46925
 
+done
46926
 
+
46927
 
+  case "$gl_cv_func_printf_sizes_c99" in
46928
 
+    *yes)
46929
 
+      case "$gl_cv_func_printf_long_double" in
46930
 
+        *yes)
46931
 
+          case "$gl_cv_func_printf_infinite" in
46932
 
+            *yes)
46933
 
+              case "$gl_cv_func_printf_infinite_long_double" in
46934
 
+                *yes)
46935
 
+                  case "$gl_cv_func_printf_directive_a" in
46936
 
+                    *yes)
46937
 
+                      case "$gl_cv_func_printf_directive_f" in
46938
 
+                        *yes)
46939
 
+                          case "$gl_cv_func_printf_directive_n" in
46940
 
+                            *yes)
46941
 
+                              case "$gl_cv_func_printf_directive_ls" in
46942
 
+                                *yes)
46943
 
+                                  case "$gl_cv_func_printf_positions" in
46944
 
+                                    *yes)
46945
 
+                                      case "$gl_cv_func_printf_flag_grouping" in
46946
 
+                                        *yes)
46947
 
+                                          case "$gl_cv_func_printf_flag_leftadjust" in
46948
 
+                                            *yes)
46949
 
+                                              case "$gl_cv_func_printf_flag_zero" in
46950
 
+                                                *yes)
46951
 
+                                                  case "$gl_cv_func_printf_precision" in
46952
 
+                                                    *yes)
46953
 
+                                                      case "$gl_cv_func_printf_enomem" in
46954
 
+                                                        *yes)
46955
 
+                                                          if test $ac_cv_func_vasprintf = yes; then
46956
 
+                                                            # vasprintf exists and is
46957
 
+                                                            # already POSIX compliant.
46958
 
+                                                            gl_cv_func_vasprintf_posix=yes
46959
 
+                                                          fi
46960
 
+                                                          ;;
46961
 
+                                                      esac
46962
 
+                                                      ;;
46963
 
+                                                  esac
46964
 
+                                                  ;;
46965
 
+                                              esac
46966
 
+                                              ;;
46967
 
+                                          esac
46968
 
+                                          ;;
46969
 
+                                      esac
46970
 
+                                      ;;
46971
 
+                                  esac
46972
 
+                                  ;;
46973
 
+                              esac
46974
 
+                              ;;
46975
 
+                          esac
46976
 
+                          ;;
46977
 
+                      esac
46978
 
+                      ;;
46979
 
+                  esac
46980
 
+                  ;;
46981
 
+              esac
46982
 
+              ;;
46983
 
+          esac
46984
 
+          ;;
46985
 
+      esac
46986
 
+      ;;
46987
 
+  esac
46988
 
+  if test $gl_cv_func_vasprintf_posix = no; then
46989
 
+    
46990
 
+    
46991
 
+  
46992
 
+  case "$gl_cv_func_printf_infinite" in
46993
 
+    *yes)
46994
 
+      ;;
46995
 
+    *)
46996
 
+      
46997
 
+$as_echo "@%:@define NEED_PRINTF_INFINITE_DOUBLE 1" >>confdefs.h
46998
 
+
46999
 
+      ;;
47000
 
+  esac
47001
 
+
47002
 
+    
47003
 
+  
47004
 
+      
47005
 
+  case "$gl_cv_func_printf_long_double" in
47006
 
+    *yes)
47007
 
+      case "$gl_cv_func_printf_infinite_long_double" in
47008
 
+        *yes)
47009
 
+          ;;
47010
 
+        *)
47011
 
+          
47012
 
+$as_echo "@%:@define NEED_PRINTF_INFINITE_LONG_DOUBLE 1" >>confdefs.h
47013
 
+
47014
 
+          ;;
47015
 
+      esac
47016
 
+      ;;
47017
 
+  esac
47018
 
+
47019
 
+    
47020
 
+  
47021
 
+  case "$gl_cv_func_printf_directive_a" in
47022
 
+    *yes)
47023
 
+      ;;
47024
 
+    *)
47025
 
+      
47026
 
+$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_A 1" >>confdefs.h
47027
 
+
47028
 
+      for ac_func in nl_langinfo
47029
 
+do :
47030
 
+  ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
47031
 
+if test "x$ac_cv_func_nl_langinfo" = xyes; then :
47032
 
+  cat >>confdefs.h <<_ACEOF
47033
 
+@%:@define HAVE_NL_LANGINFO 1
47034
 
+_ACEOF
47035
 
47036
 
+fi
47037
 
+done
47038
 
+
47039
 
+      ;;
47040
 
+  esac
47041
 
+
47042
 
+    
47043
 
+  
47044
 
+  case "$gl_cv_func_printf_directive_f" in
47045
 
+    *yes)
47046
 
+      ;;
47047
 
+    *)
47048
 
+      
47049
 
+$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_F 1" >>confdefs.h
47050
 
+
47051
 
+      ;;
47052
 
+  esac
47053
 
+
47054
 
+    
47055
 
+  
47056
 
+  case "$gl_cv_func_printf_directive_ls" in
47057
 
+    *yes)
47058
 
+      ;;
47059
 
+    *)
47060
 
+      
47061
 
+$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_LS 1" >>confdefs.h
47062
 
+
47063
 
+      ;;
47064
 
+  esac
47065
 
+
47066
 
+    
47067
 
+  
47068
 
+  case "$gl_cv_func_printf_flag_grouping" in
47069
 
+    *yes)
47070
 
+      ;;
47071
 
+    *)
47072
 
+      
47073
 
+$as_echo "@%:@define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h
47074
 
+
47075
 
+      ;;
47076
 
+  esac
47077
 
+
47078
 
+    
47079
 
+  
47080
 
+  case "$gl_cv_func_printf_flag_leftadjust" in
47081
 
+    *yes)
47082
 
+      ;;
47083
 
+    *)
47084
 
+      
47085
 
+$as_echo "@%:@define NEED_PRINTF_FLAG_LEFTADJUST 1" >>confdefs.h
47086
 
+
47087
 
+      ;;
47088
 
+  esac
47089
 
+
47090
 
+    
47091
 
+  
47092
 
+  case "$gl_cv_func_printf_flag_zero" in
47093
 
+    *yes)
47094
 
+      ;;
47095
 
+    *)
47096
 
+      
47097
 
+$as_echo "@%:@define NEED_PRINTF_FLAG_ZERO 1" >>confdefs.h
47098
 
+
47099
 
+      ;;
47100
 
+  esac
47101
 
+
47102
 
+    
47103
 
+  
47104
 
+  case "$gl_cv_func_printf_precision" in
47105
 
+    *yes)
47106
 
+      ;;
47107
 
+    *)
47108
 
+      
47109
 
+$as_echo "@%:@define NEED_PRINTF_UNBOUNDED_PRECISION 1" >>confdefs.h
47110
 
+
47111
 
+      
47112
 
+$as_echo "@%:@define NEED_PRINTF_DOUBLE 1" >>confdefs.h
47113
 
+
47114
 
+      
47115
 
+$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
47116
 
+
47117
 
+      ;;
47118
 
+  esac
47119
 
+
47120
 
+    
47121
 
+  
47122
 
+  case "$gl_cv_func_printf_enomem" in
47123
 
+    *yes)
47124
 
+      ;;
47125
 
+    *)
47126
 
+      
47127
 
+$as_echo "@%:@define NEED_PRINTF_ENOMEM 1" >>confdefs.h
47128
 
+
47129
 
+      
47130
 
+$as_echo "@%:@define NEED_PRINTF_DOUBLE 1" >>confdefs.h
47131
 
+
47132
 
+      
47133
 
+$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
47134
 
+
47135
 
+      ;;
47136
 
+  esac
47137
 
+
47138
 
+    
47139
 
+  
47140
 
+  
47141
 
+  
47142
 
+  
47143
 
+    
47144
 
+      
47145
 
+      
47146
 
+    
47147
 
+  
47148
 
+  gl_LIBOBJS="$gl_LIBOBJS vasnprintf.$ac_objext"
47149
 
+
47150
 
+  
47151
 
+  
47152
 
+  
47153
 
+    
47154
 
+      
47155
 
+      
47156
 
+    
47157
 
+  
47158
 
+  gl_LIBOBJS="$gl_LIBOBJS printf-args.$ac_objext"
47159
 
+
47160
 
+  
47161
 
+  
47162
 
+  
47163
 
+    
47164
 
+      
47165
 
+      
47166
 
+    
47167
 
+  
47168
 
+  gl_LIBOBJS="$gl_LIBOBJS printf-parse.$ac_objext"
47169
 
+
47170
 
+  
47171
 
+  
47172
 
+  
47173
 
+    
47174
 
+      
47175
 
+      
47176
 
+    
47177
 
+  
47178
 
+  gl_LIBOBJS="$gl_LIBOBJS asnprintf.$ac_objext"
47179
 
+
47180
 
+  if test $ac_cv_func_vasnprintf = yes; then
47181
 
+    
47182
 
+$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h
47183
 
+
47184
 
+  fi
47185
 
+  
47186
 
+  
47187
 
+  
47188
 
+  
47189
 
+
47190
 
+  
47191
 
+  
47192
 
+  
47193
 
+  
47194
 
+  
47195
 
+  
47196
 
+  ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
47197
 
+if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
47198
 
+  
47199
 
+else
47200
 
+  
47201
 
+$as_echo "@%:@define ptrdiff_t long" >>confdefs.h
47202
 
+
47203
 
+    
47204
 
+fi
47205
 
+
47206
 
+  
47207
 
+
47208
 
+  
47209
 
+  
47210
 
+
47211
 
+
47212
 
+    
47213
 
+  
47214
 
+  
47215
 
+  
47216
 
+    
47217
 
+      
47218
 
+      
47219
 
+    
47220
 
+  
47221
 
+  gl_LIBOBJS="$gl_LIBOBJS vasprintf.$ac_objext"
47222
 
+
47223
 
+  
47224
 
+  
47225
 
+  
47226
 
+    
47227
 
+      
47228
 
+      
47229
 
+    
47230
 
+  
47231
 
+  gl_LIBOBJS="$gl_LIBOBJS asprintf.$ac_objext"
47232
 
+
47233
 
+  
47234
 
+  if test $ac_cv_func_vasprintf = yes; then
47235
 
+    REPLACE_VASPRINTF=1
47236
 
+  else
47237
 
+    HAVE_VASPRINTF=0
47238
 
+  fi
47239
 
+  
47240
 
+    
47241
 
+
47242
 
+  
47243
 
+
47244
 
+  
47245
 
+
47246
 
+
47247
 
+  fi
47248
 
+
47249
 
+
47250
 
+  
47251
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=verror:3:c-format"
47252
 
+
47253
 
+   
47254
 
+  
47255
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=verror_at_line:5:c-format"
47256
 
+
47257
 
+    
47258
 
+@%:@ Check whether --with-packager was given.
47259
 
+if test "${with_packager+set}" = set; then :
47260
 
+  withval=$with_packager;       case $withval in
47261
 
+        yes|no) ;;
47262
 
+        *) 
47263
 
+cat >>confdefs.h <<_ACEOF
47264
 
+@%:@define PACKAGE_PACKAGER "$withval"
47265
 
+_ACEOF
47266
 
+ ;;
47267
 
+      esac
47268
 
+    
47269
 
+fi
47270
 
+
47271
 
+
47272
 
+    
47273
 
+@%:@ Check whether --with-packager-version was given.
47274
 
+if test "${with_packager_version+set}" = set; then :
47275
 
+  withval=$with_packager_version;       case $withval in
47276
 
+        yes|no) ;;
47277
 
+        *) 
47278
 
+cat >>confdefs.h <<_ACEOF
47279
 
+@%:@define PACKAGE_PACKAGER_VERSION "$withval"
47280
 
+_ACEOF
47281
 
+ ;;
47282
 
+      esac
47283
 
+    
47284
 
+fi
47285
 
+
47286
 
+
47287
 
+    
47288
 
+@%:@ Check whether --with-packager-bug-reports was given.
47289
 
+if test "${with_packager_bug_reports+set}" = set; then :
47290
 
+  withval=$with_packager_bug_reports;       case $withval in
47291
 
+        yes|no) ;;
47292
 
+        *) 
47293
 
+cat >>confdefs.h <<_ACEOF
47294
 
+@%:@define PACKAGE_PACKAGER_BUG_REPORTS "$withval"
47295
 
+_ACEOF
47296
 
+ ;;
47297
 
+      esac
47298
 
+    
47299
 
+fi
47300
 
+
47301
 
+
47302
 
+  if test "X$with_packager" = "X" && \
47303
 
+     test "X$with_packager_version$with_packager_bug_reports" != "X"
47304
 
+  then
47305
 
+    as_fn_error $? "The --with-packager-{bug-reports,version} options require --with-packager" "$LINENO" 5
47306
 
+  fi
47307
 
+
47308
 
+
47309
 
+  
47310
 
+  
47311
 
+  
47312
 
+  
47313
 
+  
47314
 
+  
47315
 
+  
47316
 
+  
47317
 
+  
47318
 
+  
47319
 
+  
47320
 
+  
47321
 
+  
47322
 
+  
47323
 
+  gl_cv_func_vfprintf_posix=no
47324
 
+  case "$gl_cv_func_printf_sizes_c99" in
47325
 
+    *yes)
47326
 
+      case "$gl_cv_func_printf_long_double" in
47327
 
+        *yes)
47328
 
+          case "$gl_cv_func_printf_infinite" in
47329
 
+            *yes)
47330
 
+              case "$gl_cv_func_printf_infinite_long_double" in
47331
 
+                *yes)
47332
 
+                  case "$gl_cv_func_printf_directive_a" in
47333
 
+                    *yes)
47334
 
+                      case "$gl_cv_func_printf_directive_f" in
47335
 
+                        *yes)
47336
 
+                          case "$gl_cv_func_printf_directive_n" in
47337
 
+                            *yes)
47338
 
+                              case "$gl_cv_func_printf_directive_ls" in
47339
 
+                                *yes)
47340
 
+                                  case "$gl_cv_func_printf_positions" in
47341
 
+                                    *yes)
47342
 
+                                      case "$gl_cv_func_printf_flag_grouping" in
47343
 
+                                        *yes)
47344
 
+                                          case "$gl_cv_func_printf_flag_leftadjust" in
47345
 
+                                            *yes)
47346
 
+                                              case "$gl_cv_func_printf_flag_zero" in
47347
 
+                                                *yes)
47348
 
+                                                  case "$gl_cv_func_printf_precision" in
47349
 
+                                                    *yes)
47350
 
+                                                      case "$gl_cv_func_printf_enomem" in
47351
 
+                                                        *yes)
47352
 
+                                                          # vfprintf exists and is
47353
 
+                                                          # already POSIX compliant.
47354
 
+                                                          gl_cv_func_vfprintf_posix=yes
47355
 
+                                                          ;;
47356
 
+                                                      esac
47357
 
+                                                      ;;
47358
 
+                                                  esac
47359
 
+                                                  ;;
47360
 
+                                              esac
47361
 
+                                              ;;
47362
 
+                                          esac
47363
 
+                                          ;;
47364
 
+                                      esac
47365
 
+                                      ;;
47366
 
+                                  esac
47367
 
+                                  ;;
47368
 
+                              esac
47369
 
+                              ;;
47370
 
+                          esac
47371
 
+                          ;;
47372
 
+                      esac
47373
 
+                      ;;
47374
 
+                  esac
47375
 
+                  ;;
47376
 
+              esac
47377
 
+              ;;
47378
 
+          esac
47379
 
+          ;;
47380
 
+      esac
47381
 
+      ;;
47382
 
+  esac
47383
 
+  if test $gl_cv_func_vfprintf_posix = no; then
47384
 
+    
47385
 
+    
47386
 
+  
47387
 
+  case "$gl_cv_func_printf_infinite" in
47388
 
+    *yes)
47389
 
+      ;;
47390
 
+    *)
47391
 
+      
47392
 
+$as_echo "@%:@define NEED_PRINTF_INFINITE_DOUBLE 1" >>confdefs.h
47393
 
+
47394
 
+      ;;
47395
 
+  esac
47396
 
+
47397
 
+    
47398
 
+  
47399
 
+      
47400
 
+  case "$gl_cv_func_printf_long_double" in
47401
 
+    *yes)
47402
 
+      case "$gl_cv_func_printf_infinite_long_double" in
47403
 
+        *yes)
47404
 
+          ;;
47405
 
+        *)
47406
 
+          
47407
 
+$as_echo "@%:@define NEED_PRINTF_INFINITE_LONG_DOUBLE 1" >>confdefs.h
47408
 
+
47409
 
+          ;;
47410
 
+      esac
47411
 
+      ;;
47412
 
+  esac
47413
 
+
47414
 
+    
47415
 
+  
47416
 
+  case "$gl_cv_func_printf_directive_a" in
47417
 
+    *yes)
47418
 
+      ;;
47419
 
+    *)
47420
 
+      
47421
 
+$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_A 1" >>confdefs.h
47422
 
+
47423
 
+      for ac_func in nl_langinfo
47424
 
+do :
47425
 
+  ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
47426
 
+if test "x$ac_cv_func_nl_langinfo" = xyes; then :
47427
 
+  cat >>confdefs.h <<_ACEOF
47428
 
+@%:@define HAVE_NL_LANGINFO 1
47429
 
+_ACEOF
47430
 
47431
 
+fi
47432
 
+done
47433
 
+
47434
 
+      ;;
47435
 
+  esac
47436
 
+
47437
 
+    
47438
 
+  
47439
 
+  case "$gl_cv_func_printf_directive_f" in
47440
 
+    *yes)
47441
 
+      ;;
47442
 
+    *)
47443
 
+      
47444
 
+$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_F 1" >>confdefs.h
47445
 
+
47446
 
+      ;;
47447
 
+  esac
47448
 
+
47449
 
+    
47450
 
+  
47451
 
+  case "$gl_cv_func_printf_directive_ls" in
47452
 
+    *yes)
47453
 
+      ;;
47454
 
+    *)
47455
 
+      
47456
 
+$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_LS 1" >>confdefs.h
47457
 
+
47458
 
+      ;;
47459
 
+  esac
47460
 
+
47461
 
+    
47462
 
+  
47463
 
+  case "$gl_cv_func_printf_flag_grouping" in
47464
 
+    *yes)
47465
 
+      ;;
47466
 
+    *)
47467
 
+      
47468
 
+$as_echo "@%:@define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h
47469
 
+
47470
 
+      ;;
47471
 
+  esac
47472
 
+
47473
 
+    
47474
 
+  
47475
 
+  case "$gl_cv_func_printf_flag_leftadjust" in
47476
 
+    *yes)
47477
 
+      ;;
47478
 
+    *)
47479
 
+      
47480
 
+$as_echo "@%:@define NEED_PRINTF_FLAG_LEFTADJUST 1" >>confdefs.h
47481
 
+
47482
 
+      ;;
47483
 
+  esac
47484
 
+
47485
 
+    
47486
 
+  
47487
 
+  case "$gl_cv_func_printf_flag_zero" in
47488
 
+    *yes)
47489
 
+      ;;
47490
 
+    *)
47491
 
+      
47492
 
+$as_echo "@%:@define NEED_PRINTF_FLAG_ZERO 1" >>confdefs.h
47493
 
+
47494
 
+      ;;
47495
 
+  esac
47496
 
+
47497
 
+    
47498
 
+  
47499
 
+  case "$gl_cv_func_printf_precision" in
47500
 
+    *yes)
47501
 
+      ;;
47502
 
+    *)
47503
 
+      
47504
 
+$as_echo "@%:@define NEED_PRINTF_UNBOUNDED_PRECISION 1" >>confdefs.h
47505
 
+
47506
 
+      
47507
 
+$as_echo "@%:@define NEED_PRINTF_DOUBLE 1" >>confdefs.h
47508
 
+
47509
 
+      
47510
 
+$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
47511
 
+
47512
 
+      ;;
47513
 
+  esac
47514
 
+
47515
 
+    
47516
 
+  
47517
 
+  case "$gl_cv_func_printf_enomem" in
47518
 
+    *yes)
47519
 
+      ;;
47520
 
+    *)
47521
 
+      
47522
 
+$as_echo "@%:@define NEED_PRINTF_ENOMEM 1" >>confdefs.h
47523
 
+
47524
 
+      
47525
 
+$as_echo "@%:@define NEED_PRINTF_DOUBLE 1" >>confdefs.h
47526
 
+
47527
 
+      
47528
 
+$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
47529
 
+
47530
 
+      ;;
47531
 
+  esac
47532
 
+
47533
 
+    
47534
 
+  
47535
 
+  
47536
 
+  
47537
 
+  
47538
 
+    
47539
 
+      
47540
 
+      
47541
 
+    
47542
 
+  
47543
 
+  gl_LIBOBJS="$gl_LIBOBJS vasnprintf.$ac_objext"
47544
 
+
47545
 
+  
47546
 
+  
47547
 
+  
47548
 
+    
47549
 
+      
47550
 
+      
47551
 
+    
47552
 
+  
47553
 
+  gl_LIBOBJS="$gl_LIBOBJS printf-args.$ac_objext"
47554
 
+
47555
 
+  
47556
 
+  
47557
 
+  
47558
 
+    
47559
 
+      
47560
 
+      
47561
 
+    
47562
 
+  
47563
 
+  gl_LIBOBJS="$gl_LIBOBJS printf-parse.$ac_objext"
47564
 
+
47565
 
+  
47566
 
+  
47567
 
+  
47568
 
+    
47569
 
+      
47570
 
+      
47571
 
+    
47572
 
+  
47573
 
+  gl_LIBOBJS="$gl_LIBOBJS asnprintf.$ac_objext"
47574
 
+
47575
 
+  if test $ac_cv_func_vasnprintf = yes; then
47576
 
+    
47577
 
+$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h
47578
 
+
47579
 
+  fi
47580
 
+  
47581
 
+  
47582
 
+  
47583
 
+  
47584
 
+
47585
 
+  
47586
 
+  
47587
 
+  
47588
 
+  
47589
 
+  
47590
 
+  
47591
 
+  ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
47592
 
+if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
47593
 
+  
47594
 
+else
47595
 
+  
47596
 
+$as_echo "@%:@define ptrdiff_t long" >>confdefs.h
47597
 
+
47598
 
+    
47599
 
+fi
47600
 
+
47601
 
+  
47602
 
+
47603
 
+  
47604
 
+  
47605
 
+
47606
 
+
47607
 
+    
47608
 
+  
47609
 
+  
47610
 
+  
47611
 
+  
47612
 
+    
47613
 
+      
47614
 
+      
47615
 
+    
47616
 
+  
47617
 
+  gl_LIBOBJS="$gl_LIBOBJS vfprintf.$ac_objext"
47618
 
+
47619
 
+  REPLACE_VFPRINTF=1
47620
 
+  
47621
 
+$as_echo "@%:@define REPLACE_VFPRINTF_POSIX 1" >>confdefs.h
47622
 
+
47623
 
+  :
47624
 
+
47625
 
+  fi
47626
 
+
47627
 
+
47628
 
+    
47629
 
+  
47630
 
+  
47631
 
+  
47632
 
+          GNULIB_VFPRINTF_POSIX=1
47633
 
+    
47634
 
+
47635
 
+
47636
 
+    
47637
 
+  
47638
 
+$as_echo "@%:@define GNULIB_TEST_VFPRINTF_POSIX 1" >>confdefs.h
47639
 
+
47640
 
+
47641
 
+
47642
 
+
47643
 
+  
47644
 
+  if test $gl_cv_func_vfprintf_posix = no; then
47645
 
+    
47646
 
+  
47647
 
+  
47648
 
+  
47649
 
+  
47650
 
+    
47651
 
+      
47652
 
+      
47653
 
+    
47654
 
+  
47655
 
+  gl_LIBOBJS="$gl_LIBOBJS vprintf.$ac_objext"
47656
 
+
47657
 
+  REPLACE_VPRINTF=1
47658
 
+  
47659
 
+$as_echo "@%:@define REPLACE_VPRINTF_POSIX 1" >>confdefs.h
47660
 
+
47661
 
+  :
47662
 
+
47663
 
+  fi
47664
 
+
47665
 
+
47666
 
+    
47667
 
+  
47668
 
+  
47669
 
+  
47670
 
+          GNULIB_VPRINTF_POSIX=1
47671
 
+    
47672
 
+
47673
 
+
47674
 
+    
47675
 
+  
47676
 
+$as_echo "@%:@define GNULIB_TEST_VPRINTF_POSIX 1" >>confdefs.h
47677
 
+
47678
 
+
47679
 
+
47680
 
+
47681
 
+
47682
 
+  
47683
 
+  
47684
 
+          
47685
 
+  
47686
 
+  
47687
 
+  
47688
 
+
47689
 
+  
47690
 
+    
47691
 
+
47692
 
+  
47693
 
+     if test $gl_cv_have_include_next = yes; then
47694
 
+       gl_cv_next_wchar_h='<'wchar.h'>'
47695
 
+     else
47696
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wchar.h>" >&5
47697
 
+$as_echo_n "checking absolute name of <wchar.h>... " >&6; }
47698
 
+if ${gl_cv_next_wchar_h+:} false; then :
47699
 
+  $as_echo_n "(cached) " >&6
47700
 
+else
47701
 
+  
47702
 
+             if test $ac_cv_header_wchar_h = yes; then
47703
 
+             
47704
 
+            
47705
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47706
 
+/* end confdefs.h.  */
47707
 
+#include <wchar.h>
47708
 
+                  
47709
 
+_ACEOF
47710
 
+                                                                                                                        case "$host_os" in
47711
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
47712
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
47713
 
+               esac
47714
 
+                                                            gl_cv_next_wchar_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
47715
 
+                  sed -n '\#/wchar.h#{
47716
 
+                    s#.*"\(.*/wchar.h\)".*#\1#
47717
 
+                    s#^/[^/]#//&#
47718
 
+                    p
47719
 
+                    q
47720
 
+                  }'`'"'
47721
 
+          else
47722
 
+               gl_cv_next_wchar_h='<'wchar.h'>'
47723
 
+             fi
47724
 
+            
47725
 
+         
47726
 
+fi
47727
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5
47728
 
+$as_echo "$gl_cv_next_wchar_h" >&6; }
47729
 
+     fi
47730
 
+     NEXT_WCHAR_H=$gl_cv_next_wchar_h
47731
 
+
47732
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
47733
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
47734
 
+       gl_next_as_first_directive='<'wchar.h'>'
47735
 
+     else
47736
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
47737
 
+       gl_next_as_first_directive=$gl_cv_next_wchar_h
47738
 
+     fi
47739
 
+     NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive
47740
 
+
47741
 
+     
47742
 
+
47743
 
+
47744
 
+  if test $ac_cv_header_wchar_h = yes; then
47745
 
+    HAVE_WCHAR_H=1
47746
 
+  else
47747
 
+    HAVE_WCHAR_H=0
47748
 
+  fi
47749
 
+  
47750
 
+
47751
 
+  
47752
 
+
47753
 
+  
47754
 
+  if test $gt_cv_c_wint_t = yes; then
47755
 
+    HAVE_WINT_T=1
47756
 
+  else
47757
 
+    HAVE_WINT_T=0
47758
 
+  fi
47759
 
+  
47760
 
+
47761
 
+      
47762
 
+    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
47763
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
47764
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
47765
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
47766
 
+if eval \${$as_gl_Symbol+:} false; then :
47767
 
+  $as_echo_n "(cached) " >&6
47768
 
+else
47769
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47770
 
+/* end confdefs.h.  */
47771
 
+
47772
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
47773
 
+   <wchar.h>.
47774
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
47775
 
+   included before <wchar.h>.  */
47776
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
47777
 
+# include <stddef.h>
47778
 
+# include <stdio.h>
47779
 
+# include <time.h>
47780
 
+#endif
47781
 
+#include <wchar.h>
47782
 
+    
47783
 
+int
47784
 
+main ()
47785
 
+{
47786
 
+@%:@undef $gl_func
47787
 
+  (void) $gl_func;
47788
 
+  ;
47789
 
+  return 0;
47790
 
+}
47791
 
+_ACEOF
47792
 
+if ac_fn_c_try_compile "$LINENO"; then :
47793
 
+  eval "$as_gl_Symbol=yes"
47794
 
+else
47795
 
+  eval "$as_gl_Symbol=no"
47796
 
+fi
47797
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47798
 
+fi
47799
 
+eval ac_res=\$$as_gl_Symbol
47800
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
47801
 
+$as_echo "$ac_res" >&6; }
47802
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
47803
 
+  cat >>confdefs.h <<_ACEOF
47804
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
47805
 
+_ACEOF
47806
 
+
47807
 
+                     eval ac_cv_have_decl_$gl_func=yes
47808
 
+fi
47809
 
+      done
47810
 
+
47811
 
+
47812
 
+
47813
 
+  
47814
 
+
47815
 
+  
47816
 
+  
47817
 
+  
47818
 
+
47819
 
+  
47820
 
+  
47821
 
+  
47822
 
+  if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
47823
 
+    
47824
 
+  
47825
 
+  
47826
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
47827
 
+$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
47828
 
+if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
47829
 
+  $as_echo_n "(cached) " >&6
47830
 
+else
47831
 
+  
47832
 
+                  case "$host_os" in
47833
 
+                     # Guess no on AIX and OSF/1.
47834
 
+        aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
47835
 
+                     # Guess yes otherwise.
47836
 
+        *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
47837
 
+      esac
47838
 
+      if test $LOCALE_JA != none; then
47839
 
+        if test "$cross_compiling" = yes; then :
47840
 
+  :
47841
 
+else
47842
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47843
 
+/* end confdefs.h.  */
47844
 
+
47845
 
+#include <locale.h>
47846
 
+#include <string.h>
47847
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
47848
 
+   <wchar.h>.
47849
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
47850
 
+   included before <wchar.h>.  */
47851
 
+#include <stddef.h>
47852
 
+#include <stdio.h>
47853
 
+#include <time.h>
47854
 
+#include <wchar.h>
47855
 
+int main ()
47856
 
+{
47857
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
47858
 
+    {
47859
 
+      const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
47860
 
+      mbstate_t state;
47861
 
+      wchar_t wc;
47862
 
+
47863
 
+      memset (&state, '\0', sizeof (mbstate_t));
47864
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
47865
 
+        if (mbsinit (&state))
47866
 
+          return 1;
47867
 
+    }
47868
 
+  return 0;
47869
 
+}
47870
 
+_ACEOF
47871
 
+if ac_fn_c_try_run "$LINENO"; then :
47872
 
+  gl_cv_func_mbrtowc_incomplete_state=yes
47873
 
+else
47874
 
+  gl_cv_func_mbrtowc_incomplete_state=no
47875
 
+fi
47876
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47877
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
47878
 
+fi
47879
 
+
47880
 
+      fi
47881
 
+    
47882
 
+fi
47883
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
47884
 
+$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
47885
 
+
47886
 
+    
47887
 
+  
47888
 
+  
47889
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
47890
 
+$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
47891
 
+if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
47892
 
+  $as_echo_n "(cached) " >&6
47893
 
+else
47894
 
+  
47895
 
+                  case "$host_os" in
47896
 
+                    # Guess no on Solaris 8.
47897
 
+        solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
47898
 
+                    # Guess yes otherwise.
47899
 
+        *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
47900
 
+      esac
47901
 
+      if test $LOCALE_ZH_CN != none; then
47902
 
+        if test "$cross_compiling" = yes; then :
47903
 
+  :
47904
 
+else
47905
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47906
 
+/* end confdefs.h.  */
47907
 
+
47908
 
+#include <locale.h>
47909
 
+#include <stdlib.h>
47910
 
+#include <string.h>
47911
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
47912
 
+   <wchar.h>.
47913
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
47914
 
+   included before <wchar.h>.  */
47915
 
+#include <stddef.h>
47916
 
+#include <stdio.h>
47917
 
+#include <time.h>
47918
 
+#include <wchar.h>
47919
 
+int main ()
47920
 
+{
47921
 
+  /* This fails on Solaris 8:
47922
 
+     mbrtowc returns 2, and sets wc to 0x00F0.
47923
 
+     mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
47924
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
47925
 
+    {
47926
 
+      char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
47927
 
+      mbstate_t state;
47928
 
+      wchar_t wc;
47929
 
+
47930
 
+      memset (&state, '\0', sizeof (mbstate_t));
47931
 
+      if (mbrtowc (&wc, input + 3, 6, &state) != 4
47932
 
+          && mbtowc (&wc, input + 3, 6) == 4)
47933
 
+        return 1;
47934
 
+    }
47935
 
+  return 0;
47936
 
+}
47937
 
+_ACEOF
47938
 
+if ac_fn_c_try_run "$LINENO"; then :
47939
 
+  gl_cv_func_mbrtowc_sanitycheck=yes
47940
 
+else
47941
 
+  gl_cv_func_mbrtowc_sanitycheck=no
47942
 
+fi
47943
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47944
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
47945
 
+fi
47946
 
+
47947
 
+      fi
47948
 
+    
47949
 
+fi
47950
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
47951
 
+$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
47952
 
+
47953
 
+    REPLACE_MBSTATE_T=0
47954
 
+    case "$gl_cv_func_mbrtowc_incomplete_state" in
47955
 
+      *yes) ;;
47956
 
+      *) REPLACE_MBSTATE_T=1 ;;
47957
 
+    esac
47958
 
+    case "$gl_cv_func_mbrtowc_sanitycheck" in
47959
 
+      *yes) ;;
47960
 
+      *) REPLACE_MBSTATE_T=1 ;;
47961
 
+    esac
47962
 
+  else
47963
 
+    REPLACE_MBSTATE_T=1
47964
 
+  fi
47965
 
+
47966
 
+
47967
 
+  
47968
 
+  if test $ac_cv_func_wcrtomb = no; then
47969
 
+    HAVE_WCRTOMB=0
47970
 
+    ac_fn_c_check_decl "$LINENO" "wcrtomb" "ac_cv_have_decl_wcrtomb" "
47971
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
47972
 
+   <wchar.h>.
47973
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
47974
 
+   included before <wchar.h>.  */
47975
 
+#include <stddef.h>
47976
 
+#include <stdio.h>
47977
 
+#include <time.h>
47978
 
+#include <wchar.h>
47979
 
+
47980
 
+"
47981
 
+if test "x$ac_cv_have_decl_wcrtomb" = xyes; then :
47982
 
+  ac_have_decl=1
47983
 
+else
47984
 
+  ac_have_decl=0
47985
 
+fi
47986
 
+
47987
 
+cat >>confdefs.h <<_ACEOF
47988
 
+@%:@define HAVE_DECL_WCRTOMB $ac_have_decl
47989
 
+_ACEOF
47990
 
+
47991
 
+    if test $ac_cv_have_decl_wcrtomb = yes; then
47992
 
+                        REPLACE_WCRTOMB=1
47993
 
+    fi
47994
 
+  else
47995
 
+    if test $REPLACE_MBSTATE_T = 1; then
47996
 
+      REPLACE_WCRTOMB=1
47997
 
+    else
47998
 
+                  
47999
 
+      
48000
 
+      
48001
 
+      
48002
 
+      
48003
 
+             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb return value is correct" >&5
48004
 
+$as_echo_n "checking whether wcrtomb return value is correct... " >&6; }
48005
 
+if ${gl_cv_func_wcrtomb_retval+:} false; then :
48006
 
+  $as_echo_n "(cached) " >&6
48007
 
+else
48008
 
+  
48009
 
+                              case "$host_os" in
48010
 
+                                     # Guess no on AIX 4, OSF/1 and Solaris.
48011
 
+            aix4* | osf* | solaris*) gl_cv_func_wcrtomb_retval="guessing no" ;;
48012
 
+                                     # Guess yes otherwise.
48013
 
+            *)                       gl_cv_func_wcrtomb_retval="guessing yes" ;;
48014
 
+          esac
48015
 
+          if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
48016
 
+            if test "$cross_compiling" = yes; then :
48017
 
+  :
48018
 
+else
48019
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48020
 
+/* end confdefs.h.  */
48021
 
+
48022
 
+#include <locale.h>
48023
 
+#include <string.h>
48024
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
48025
 
+   <wchar.h>.
48026
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
48027
 
+   included before <wchar.h>.  */
48028
 
+#include <stddef.h>
48029
 
+#include <stdio.h>
48030
 
+#include <time.h>
48031
 
+#include <wchar.h>
48032
 
+int main ()
48033
 
+{
48034
 
+  int result = 0;
48035
 
+  if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
48036
 
+    {
48037
 
+      if (wcrtomb (NULL, 0, NULL) != 1)
48038
 
+        result |= 1;
48039
 
+    }
48040
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
48041
 
+    {
48042
 
+      if (wcrtomb (NULL, 0, NULL) != 1)
48043
 
+        result |= 2;
48044
 
+    }
48045
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
48046
 
+    {
48047
 
+      if (wcrtomb (NULL, 0, NULL) != 1)
48048
 
+        result |= 4;
48049
 
+    }
48050
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
48051
 
+    {
48052
 
+      if (wcrtomb (NULL, 0, NULL) != 1)
48053
 
+        result |= 8;
48054
 
+    }
48055
 
+  return result;
48056
 
+}
48057
 
+_ACEOF
48058
 
+if ac_fn_c_try_run "$LINENO"; then :
48059
 
+  gl_cv_func_wcrtomb_retval=yes
48060
 
+else
48061
 
+  gl_cv_func_wcrtomb_retval=no
48062
 
+fi
48063
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48064
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
48065
 
+fi
48066
 
+
48067
 
+          fi
48068
 
+        
48069
 
+fi
48070
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcrtomb_retval" >&5
48071
 
+$as_echo "$gl_cv_func_wcrtomb_retval" >&6; }
48072
 
+      case "$gl_cv_func_wcrtomb_retval" in
48073
 
+        *yes) ;;
48074
 
+        *) REPLACE_WCRTOMB=1 ;;
48075
 
+      esac
48076
 
+    fi
48077
 
+  fi
48078
 
+
48079
 
+if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
48080
 
+  
48081
 
+  
48082
 
+  
48083
 
+    
48084
 
+      
48085
 
+      
48086
 
+    
48087
 
+  
48088
 
+  gl_LIBOBJS="$gl_LIBOBJS wcrtomb.$ac_objext"
48089
 
+
48090
 
+  
48091
 
+  :
48092
 
+
48093
 
+fi
48094
 
+
48095
 
+    
48096
 
+  
48097
 
+  
48098
 
+  
48099
 
+          GNULIB_WCRTOMB=1
48100
 
+    
48101
 
+
48102
 
+
48103
 
+    
48104
 
+  
48105
 
+$as_echo "@%:@define GNULIB_TEST_WCRTOMB 1" >>confdefs.h
48106
 
+
48107
 
+
48108
 
+
48109
 
+
48110
 
+  
48111
 
+  
48112
 
+  
48113
 
+  if test $ac_cv_func_wcswidth = no; then
48114
 
+    HAVE_WCSWIDTH=0
48115
 
+  else
48116
 
+    if test $REPLACE_WCWIDTH = 1; then
48117
 
+                  REPLACE_WCSWIDTH=1
48118
 
+    fi
48119
 
+  fi
48120
 
+
48121
 
+if test $HAVE_WCSWIDTH = 0 || test $REPLACE_WCSWIDTH = 1; then
48122
 
+  
48123
 
+  
48124
 
+  
48125
 
+    
48126
 
+      
48127
 
+      
48128
 
+    
48129
 
+  
48130
 
+  gl_LIBOBJS="$gl_LIBOBJS wcswidth.$ac_objext"
48131
 
+
48132
 
+fi
48133
 
+
48134
 
+    
48135
 
+  
48136
 
+  
48137
 
+  
48138
 
+          GNULIB_WCSWIDTH=1
48139
 
+    
48140
 
+
48141
 
+
48142
 
+    
48143
 
+  
48144
 
+$as_echo "@%:@define GNULIB_TEST_WCSWIDTH 1" >>confdefs.h
48145
 
+
48146
 
+
48147
 
+
48148
 
+
48149
 
+  
48150
 
+  
48151
 
+  
48152
 
+  
48153
 
+  if test $ac_cv_func_iswcntrl = yes; then
48154
 
+    HAVE_ISWCNTRL=1
48155
 
+  else
48156
 
+    HAVE_ISWCNTRL=0
48157
 
+  fi
48158
 
+  
48159
 
+
48160
 
+  
48161
 
+
48162
 
+  
48163
 
+  if test $gt_cv_c_wint_t = yes; then
48164
 
+    HAVE_WINT_T=1
48165
 
+  else
48166
 
+    HAVE_WINT_T=0
48167
 
+  fi
48168
 
+  
48169
 
+
48170
 
+  
48171
 
+  
48172
 
+  
48173
 
+  
48174
 
+
48175
 
+  
48176
 
+    
48177
 
+
48178
 
+  
48179
 
+     if test $gl_cv_have_include_next = yes; then
48180
 
+       gl_cv_next_wctype_h='<'wctype.h'>'
48181
 
+     else
48182
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wctype.h>" >&5
48183
 
+$as_echo_n "checking absolute name of <wctype.h>... " >&6; }
48184
 
+if ${gl_cv_next_wctype_h+:} false; then :
48185
 
+  $as_echo_n "(cached) " >&6
48186
 
+else
48187
 
+  
48188
 
+             if test $ac_cv_header_wctype_h = yes; then
48189
 
+             
48190
 
+            
48191
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48192
 
+/* end confdefs.h.  */
48193
 
+#include <wctype.h>
48194
 
+                  
48195
 
+_ACEOF
48196
 
+                                                                                                                        case "$host_os" in
48197
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
48198
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
48199
 
+               esac
48200
 
+                                                            gl_cv_next_wctype_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
48201
 
+                  sed -n '\#/wctype.h#{
48202
 
+                    s#.*"\(.*/wctype.h\)".*#\1#
48203
 
+                    s#^/[^/]#//&#
48204
 
+                    p
48205
 
+                    q
48206
 
+                  }'`'"'
48207
 
+          else
48208
 
+               gl_cv_next_wctype_h='<'wctype.h'>'
48209
 
+             fi
48210
 
+            
48211
 
+         
48212
 
+fi
48213
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5
48214
 
+$as_echo "$gl_cv_next_wctype_h" >&6; }
48215
 
+     fi
48216
 
+     NEXT_WCTYPE_H=$gl_cv_next_wctype_h
48217
 
+
48218
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
48219
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
48220
 
+       gl_next_as_first_directive='<'wctype.h'>'
48221
 
+     else
48222
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
48223
 
+       gl_next_as_first_directive=$gl_cv_next_wctype_h
48224
 
+     fi
48225
 
+     NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H=$gl_next_as_first_directive
48226
 
+
48227
 
+     
48228
 
+
48229
 
+
48230
 
+  if test $ac_cv_header_wctype_h = yes; then
48231
 
+    if test $ac_cv_func_iswcntrl = yes; then
48232
 
+                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5
48233
 
+$as_echo_n "checking whether iswcntrl works... " >&6; }
48234
 
+if ${gl_cv_func_iswcntrl_works+:} false; then :
48235
 
+  $as_echo_n "(cached) " >&6
48236
 
+else
48237
 
+  
48238
 
+          if test "$cross_compiling" = yes; then :
48239
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48240
 
+/* end confdefs.h.  */
48241
 
+#include <stdlib.h>
48242
 
+                          #if __GNU_LIBRARY__ == 1
48243
 
+                          Linux libc5 i18n is broken.
48244
 
+                          #endif
48245
 
+int
48246
 
+main ()
48247
 
+{
48248
 
+
48249
 
+  ;
48250
 
+  return 0;
48251
 
+}
48252
 
+_ACEOF
48253
 
+if ac_fn_c_try_compile "$LINENO"; then :
48254
 
+  gl_cv_func_iswcntrl_works=yes
48255
 
+else
48256
 
+  gl_cv_func_iswcntrl_works=no
48257
 
+fi
48258
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48259
 
+            
48260
 
+else
48261
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48262
 
+/* end confdefs.h.  */
48263
 
+
48264
 
+               /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
48265
 
+                  included before <wchar.h>.
48266
 
+                  BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
48267
 
+                  must be included before <wchar.h>.  */
48268
 
+               #include <stddef.h>
48269
 
+               #include <stdio.h>
48270
 
+               #include <time.h>
48271
 
+               #include <wchar.h>
48272
 
+               #include <wctype.h>
48273
 
+               int main () { return iswprint ('x') == 0; }
48274
 
+            
48275
 
+_ACEOF
48276
 
+if ac_fn_c_try_run "$LINENO"; then :
48277
 
+  gl_cv_func_iswcntrl_works=yes
48278
 
+else
48279
 
+  gl_cv_func_iswcntrl_works=no
48280
 
+fi
48281
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48282
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
48283
 
+fi
48284
 
+
48285
 
+        
48286
 
+fi
48287
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswcntrl_works" >&5
48288
 
+$as_echo "$gl_cv_func_iswcntrl_works" >&6; }
48289
 
+    fi
48290
 
+    HAVE_WCTYPE_H=1
48291
 
+  else
48292
 
+    HAVE_WCTYPE_H=0
48293
 
+  fi
48294
 
+  
48295
 
+
48296
 
+  if test "$gl_cv_func_iswcntrl_works" = no; then
48297
 
+    REPLACE_ISWCNTRL=1
48298
 
+  else
48299
 
+    REPLACE_ISWCNTRL=0
48300
 
+  fi
48301
 
+  
48302
 
+
48303
 
+  if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
48304
 
+        :
48305
 
+  fi
48306
 
+
48307
 
+  if test $REPLACE_ISWCNTRL = 1; then
48308
 
+    REPLACE_TOWLOWER=1
48309
 
+  else
48310
 
+    for ac_func in towlower
48311
 
+do :
48312
 
+  ac_fn_c_check_func "$LINENO" "towlower" "ac_cv_func_towlower"
48313
 
+if test "x$ac_cv_func_towlower" = xyes; then :
48314
 
+  cat >>confdefs.h <<_ACEOF
48315
 
+@%:@define HAVE_TOWLOWER 1
48316
 
+_ACEOF
48317
 
48318
 
+fi
48319
 
+done
48320
 
+
48321
 
+    if test $ac_cv_func_towlower = yes; then
48322
 
+      REPLACE_TOWLOWER=0
48323
 
+    else
48324
 
+      ac_fn_c_check_decl "$LINENO" "towlower" "ac_cv_have_decl_towlower" "/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
48325
 
+             included before <wchar.h>.
48326
 
+             BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
48327
 
+             must be included before <wchar.h>.  */
48328
 
+          #include <stddef.h>
48329
 
+          #include <stdio.h>
48330
 
+          #include <time.h>
48331
 
+          #include <wchar.h>
48332
 
+          #if HAVE_WCTYPE_H
48333
 
+          # include <wctype.h>
48334
 
+          #endif
48335
 
+        
48336
 
+"
48337
 
+if test "x$ac_cv_have_decl_towlower" = xyes; then :
48338
 
+  ac_have_decl=1
48339
 
+else
48340
 
+  ac_have_decl=0
48341
 
+fi
48342
 
+
48343
 
+cat >>confdefs.h <<_ACEOF
48344
 
+@%:@define HAVE_DECL_TOWLOWER $ac_have_decl
48345
 
+_ACEOF
48346
 
+
48347
 
+      if test $ac_cv_have_decl_towlower = yes; then
48348
 
+                                REPLACE_TOWLOWER=1
48349
 
+      else
48350
 
+        REPLACE_TOWLOWER=0
48351
 
+      fi
48352
 
+    fi
48353
 
+  fi
48354
 
+  
48355
 
+
48356
 
+  if test $HAVE_ISWCNTRL = 0 || test $REPLACE_TOWLOWER = 1; then
48357
 
+        :
48358
 
+  fi
48359
 
+
48360
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5
48361
 
+$as_echo_n "checking for wctype_t... " >&6; }
48362
 
+if ${gl_cv_type_wctype_t+:} false; then :
48363
 
+  $as_echo_n "(cached) " >&6
48364
 
+else
48365
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48366
 
+/* end confdefs.h.  */
48367
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
48368
 
+               included before <wchar.h>.
48369
 
+               BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
48370
 
+               must be included before <wchar.h>.  */
48371
 
+            #include <stddef.h>
48372
 
+            #include <stdio.h>
48373
 
+            #include <time.h>
48374
 
+            #include <wchar.h>
48375
 
+            #if HAVE_WCTYPE_H
48376
 
+            # include <wctype.h>
48377
 
+            #endif
48378
 
+            wctype_t a;
48379
 
+          
48380
 
+int
48381
 
+main ()
48382
 
+{
48383
 
+
48384
 
+  ;
48385
 
+  return 0;
48386
 
+}
48387
 
+_ACEOF
48388
 
+if ac_fn_c_try_compile "$LINENO"; then :
48389
 
+  gl_cv_type_wctype_t=yes
48390
 
+else
48391
 
+  gl_cv_type_wctype_t=no
48392
 
+fi
48393
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48394
 
+    
48395
 
+fi
48396
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctype_t" >&5
48397
 
+$as_echo "$gl_cv_type_wctype_t" >&6; }
48398
 
+  if test $gl_cv_type_wctype_t = no; then
48399
 
+    HAVE_WCTYPE_T=0
48400
 
+  fi
48401
 
+
48402
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5
48403
 
+$as_echo_n "checking for wctrans_t... " >&6; }
48404
 
+if ${gl_cv_type_wctrans_t+:} false; then :
48405
 
+  $as_echo_n "(cached) " >&6
48406
 
+else
48407
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48408
 
+/* end confdefs.h.  */
48409
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
48410
 
+               included before <wchar.h>.
48411
 
+               BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
48412
 
+               must be included before <wchar.h>.  */
48413
 
+            #include <stddef.h>
48414
 
+            #include <stdio.h>
48415
 
+            #include <time.h>
48416
 
+            #include <wchar.h>
48417
 
+            #include <wctype.h>
48418
 
+            wctrans_t a;
48419
 
+          
48420
 
+int
48421
 
+main ()
48422
 
+{
48423
 
+
48424
 
+  ;
48425
 
+  return 0;
48426
 
+}
48427
 
+_ACEOF
48428
 
+if ac_fn_c_try_compile "$LINENO"; then :
48429
 
+  gl_cv_type_wctrans_t=yes
48430
 
+else
48431
 
+  gl_cv_type_wctrans_t=no
48432
 
+fi
48433
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48434
 
+    
48435
 
+fi
48436
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctrans_t" >&5
48437
 
+$as_echo "$gl_cv_type_wctrans_t" >&6; }
48438
 
+  if test $gl_cv_type_wctrans_t = no; then
48439
 
+    HAVE_WCTRANS_T=0
48440
 
+  fi
48441
 
+
48442
 
+      
48443
 
+    for gl_func in wctype iswctype wctrans towctrans     ; do
48444
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
48445
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
48446
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
48447
 
+if eval \${$as_gl_Symbol+:} false; then :
48448
 
+  $as_echo_n "(cached) " >&6
48449
 
+else
48450
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48451
 
+/* end confdefs.h.  */
48452
 
+
48453
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
48454
 
+   <wchar.h>.
48455
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
48456
 
+   included before <wchar.h>.  */
48457
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
48458
 
+# include <stddef.h>
48459
 
+# include <stdio.h>
48460
 
+# include <time.h>
48461
 
+# include <wchar.h>
48462
 
+#endif
48463
 
+#include <wctype.h>
48464
 
+    
48465
 
+int
48466
 
+main ()
48467
 
+{
48468
 
+@%:@undef $gl_func
48469
 
+  (void) $gl_func;
48470
 
+  ;
48471
 
+  return 0;
48472
 
+}
48473
 
+_ACEOF
48474
 
+if ac_fn_c_try_compile "$LINENO"; then :
48475
 
+  eval "$as_gl_Symbol=yes"
48476
 
+else
48477
 
+  eval "$as_gl_Symbol=no"
48478
 
+fi
48479
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48480
 
+fi
48481
 
+eval ac_res=\$$as_gl_Symbol
48482
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
48483
 
+$as_echo "$ac_res" >&6; }
48484
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
48485
 
+  cat >>confdefs.h <<_ACEOF
48486
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
48487
 
+_ACEOF
48488
 
+
48489
 
+                     eval ac_cv_have_decl_$gl_func=yes
48490
 
+fi
48491
 
+      done
48492
 
+
48493
 
+
48494
 
+
48495
 
+  
48496
 
+   
48497
 
+    
48498
 
+
48499
 
+  
48500
 
+  
48501
 
+
48502
 
+  
48503
 
+  
48504
 
+
48505
 
+  ac_fn_c_check_decl "$LINENO" "wcwidth" "ac_cv_have_decl_wcwidth" "
48506
 
+/* AIX 3.2.5 declares wcwidth in <string.h>. */
48507
 
+#include <string.h>
48508
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
48509
 
+   <wchar.h>.
48510
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
48511
 
+   before <wchar.h>.  */
48512
 
+#include <stddef.h>
48513
 
+#include <stdio.h>
48514
 
+#include <time.h>
48515
 
+#include <wchar.h>
48516
 
+
48517
 
+"
48518
 
+if test "x$ac_cv_have_decl_wcwidth" = xyes; then :
48519
 
+  ac_have_decl=1
48520
 
+else
48521
 
+  ac_have_decl=0
48522
 
+fi
48523
 
+
48524
 
+cat >>confdefs.h <<_ACEOF
48525
 
+@%:@define HAVE_DECL_WCWIDTH $ac_have_decl
48526
 
+_ACEOF
48527
 
+
48528
 
+  if test $ac_cv_have_decl_wcwidth != yes; then
48529
 
+    HAVE_DECL_WCWIDTH=0
48530
 
+  fi
48531
 
+
48532
 
+  if test $ac_cv_func_wcwidth = yes; then
48533
 
+    HAVE_WCWIDTH=1
48534
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcwidth works reasonably in UTF-8 locales" >&5
48535
 
+$as_echo_n "checking whether wcwidth works reasonably in UTF-8 locales... " >&6; }
48536
 
+if ${gl_cv_func_wcwidth_works+:} false; then :
48537
 
+  $as_echo_n "(cached) " >&6
48538
 
+else
48539
 
+  
48540
 
+        if test "$cross_compiling" = yes; then :
48541
 
+  
48542
 
+           case "$host_os" in
48543
 
+                     # Guess yes on glibc and AIX 7 systems.
48544
 
+             *-gnu* | aix[7-9]*) gl_cv_func_wcwidth_works="guessing yes";;
48545
 
+             *)                  gl_cv_func_wcwidth_works="guessing no";;
48546
 
+           esac
48547
 
+          
48548
 
+else
48549
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48550
 
+/* end confdefs.h.  */
48551
 
+
48552
 
+#include <locale.h>
48553
 
+/* AIX 3.2.5 declares wcwidth in <string.h>. */
48554
 
+#include <string.h>
48555
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
48556
 
+   <wchar.h>.
48557
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
48558
 
+   before <wchar.h>.  */
48559
 
+#include <stddef.h>
48560
 
+#include <stdio.h>
48561
 
+#include <time.h>
48562
 
+#include <wchar.h>
48563
 
+#if !HAVE_DECL_WCWIDTH
48564
 
+extern
48565
 
+# ifdef __cplusplus
48566
 
+"C"
48567
 
+# endif
48568
 
+int wcwidth (int);
48569
 
+#endif
48570
 
+int main ()
48571
 
+{
48572
 
+  int result = 0;
48573
 
+  if (setlocale (LC_ALL, "fr_FR.UTF-8") != NULL)
48574
 
+    {
48575
 
+      if (wcwidth (0x0301) > 0)
48576
 
+        result |= 1;
48577
 
+      if (wcwidth (0x200B) > 0)
48578
 
+        result |= 2;
48579
 
+    }
48580
 
+  return result;
48581
 
+}
48582
 
+_ACEOF
48583
 
+if ac_fn_c_try_run "$LINENO"; then :
48584
 
+  gl_cv_func_wcwidth_works=yes
48585
 
+else
48586
 
+  gl_cv_func_wcwidth_works=no
48587
 
+fi
48588
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48589
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
48590
 
+fi
48591
 
+
48592
 
+      
48593
 
+fi
48594
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcwidth_works" >&5
48595
 
+$as_echo "$gl_cv_func_wcwidth_works" >&6; }
48596
 
+    case "$gl_cv_func_wcwidth_works" in
48597
 
+      *yes) ;;
48598
 
+      *no) REPLACE_WCWIDTH=1 ;;
48599
 
+    esac
48600
 
+  else
48601
 
+    HAVE_WCWIDTH=0
48602
 
+  fi
48603
 
+    
48604
 
+if test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1; then
48605
 
+  
48606
 
+  
48607
 
+  
48608
 
+    
48609
 
+      
48610
 
+      
48611
 
+    
48612
 
+  
48613
 
+  gl_LIBOBJS="$gl_LIBOBJS wcwidth.$ac_objext"
48614
 
+
48615
 
+fi
48616
 
+
48617
 
+    
48618
 
+  
48619
 
+  
48620
 
+  
48621
 
+          GNULIB_WCWIDTH=1
48622
 
+    
48623
 
+
48624
 
+
48625
 
+    
48626
 
+  
48627
 
+$as_echo "@%:@define GNULIB_TEST_WCWIDTH 1" >>confdefs.h
48628
 
+
48629
 
+
48630
 
+
48631
 
+
48632
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use of TIOCGWINSZ requires sys/ioctl.h" >&5
48633
 
+$as_echo_n "checking whether use of TIOCGWINSZ requires sys/ioctl.h... " >&6; }
48634
 
+if ${gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h+:} false; then :
48635
 
+  $as_echo_n "(cached) " >&6
48636
 
+else
48637
 
+  gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h=no
48638
 
+
48639
 
+  if test $gl_cv_sys_tiocgwinsz_needs_termios_h = no; then
48640
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48641
 
+/* end confdefs.h.  */
48642
 
+#include <sys/types.h>
48643
 
+#     include <sys/ioctl.h>
48644
 
+#     ifdef TIOCGWINSZ
48645
 
+        yes
48646
 
+#     endif
48647
 
+    
48648
 
+_ACEOF
48649
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
48650
 
+  $EGREP "yes" >/dev/null 2>&1; then :
48651
 
+  gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h=yes
48652
 
+fi
48653
 
+rm -f conftest*
48654
 
+
48655
 
+  fi
48656
 
+  
48657
 
+fi
48658
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h" >&5
48659
 
+$as_echo "$gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h" >&6; }
48660
 
+  if test $gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h = yes; then
48661
 
+    
48662
 
+$as_echo "@%:@define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
48663
 
+
48664
 
+  fi
48665
 
+
48666
 
+
48667
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use of TIOCGWINSZ requires termios.h" >&5
48668
 
+$as_echo_n "checking whether use of TIOCGWINSZ requires termios.h... " >&6; }
48669
 
+if ${gl_cv_sys_tiocgwinsz_needs_termios_h+:} false; then :
48670
 
+  $as_echo_n "(cached) " >&6
48671
 
+else
48672
 
+  gl_cv_sys_tiocgwinsz_needs_termios_h=no
48673
 
+
48674
 
+   if test $ac_cv_sys_posix_termios = yes; then
48675
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48676
 
+/* end confdefs.h.  */
48677
 
+#include <sys/types.h>
48678
 
+#      include <termios.h>
48679
 
+#      ifdef TIOCGWINSZ
48680
 
+         yes
48681
 
+#      endif
48682
 
+     
48683
 
+_ACEOF
48684
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
48685
 
+  $EGREP "yes" >/dev/null 2>&1; then :
48686
 
+  gl_cv_sys_tiocgwinsz_needs_termios_h=yes
48687
 
+fi
48688
 
+rm -f conftest*
48689
 
+
48690
 
+   fi
48691
 
+  
48692
 
+fi
48693
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_tiocgwinsz_needs_termios_h" >&5
48694
 
+$as_echo "$gl_cv_sys_tiocgwinsz_needs_termios_h" >&6; }
48695
 
+
48696
 
+
48697
 
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use of struct winsize requires sys/ptem.h" >&5
48698
 
+$as_echo_n "checking whether use of struct winsize requires sys/ptem.h... " >&6; }
48699
 
+if ${gl_cv_sys_struct_winsize_needs_sys_ptem_h+:} false; then :
48700
 
+  $as_echo_n "(cached) " >&6
48701
 
+else
48702
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=yes
48703
 
+      if test $ac_cv_sys_posix_termios = yes; then
48704
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48705
 
+/* end confdefs.h.  */
48706
 
+#include <termios.h>
48707
 
+int
48708
 
+main ()
48709
 
+{
48710
 
+struct winsize x;
48711
 
+            if (sizeof x > 0) return 0;
48712
 
+  ;
48713
 
+  return 0;
48714
 
+}
48715
 
+_ACEOF
48716
 
+if ac_fn_c_try_compile "$LINENO"; then :
48717
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=no
48718
 
+fi
48719
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48720
 
+      fi
48721
 
+      if test $gl_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
48722
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48723
 
+/* end confdefs.h.  */
48724
 
+#include <sys/ptem.h>
48725
 
+int
48726
 
+main ()
48727
 
+{
48728
 
+struct winsize x;
48729
 
+            if (sizeof x > 0) return 0;
48730
 
+  ;
48731
 
+  return 0;
48732
 
+}
48733
 
+_ACEOF
48734
 
+if ac_fn_c_try_compile "$LINENO"; then :
48735
 
+  
48736
 
+else
48737
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=no
48738
 
+fi
48739
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48740
 
+      fi
48741
 
+fi
48742
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_winsize_needs_sys_ptem_h" >&5
48743
 
+$as_echo "$gl_cv_sys_struct_winsize_needs_sys_ptem_h" >&6; }
48744
 
+   if test $gl_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
48745
 
+     
48746
 
+$as_echo "@%:@define WINSIZE_IN_PTEM 1" >>confdefs.h
48747
 
+
48748
 
+   fi
48749
 
+
48750
 
+  
48751
 
+        
48752
 
+  
48753
 
+
48754
 
+if test $REPLACE_WRITE = 1; then
48755
 
+  
48756
 
+  
48757
 
+  
48758
 
+    
48759
 
+      
48760
 
+      
48761
 
+    
48762
 
+  
48763
 
+  gl_LIBOBJS="$gl_LIBOBJS write.$ac_objext"
48764
 
+
48765
 
+fi
48766
 
+
48767
 
+    
48768
 
+  
48769
 
+  
48770
 
+  
48771
 
+          GNULIB_WRITE=1
48772
 
+    
48773
 
+
48774
 
+
48775
 
+    
48776
 
+  
48777
 
+$as_echo "@%:@define GNULIB_TEST_WRITE 1" >>confdefs.h
48778
 
+
48779
 
+
48780
 
+
48781
 
+
48782
 
+  
48783
 
+
48784
 
+
48785
 
+  
48786
 
+  
48787
 
+  :
48788
 
+
48789
 
+  
48790
 
+  :
48791
 
+
48792
 
+
48793
 
+
48794
 
+  :
48795
 
+
48796
 
+
48797
 
+  
48798
 
+cat >>confdefs.h <<_ACEOF
48799
 
+@%:@define GNULIB_XGETGROUPS 1
48800
 
+_ACEOF
48801
 
+
48802
 
+
48803
 
+
48804
 
+  :
48805
 
+
48806
 
+
48807
 
+  
48808
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xprintf:1:c-format"
48809
 
+
48810
 
+   
48811
 
+  
48812
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xvprintf:1:c-format"
48813
 
+
48814
 
+   
48815
 
+  
48816
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xfprintf:2:c-format"
48817
 
+
48818
 
+   
48819
 
+  
48820
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xvfprintf:2:c-format"
48821
 
+
48822
 
+
48823
 
+    
48824
 
+  
48825
 
+  for ac_header in stdint.h
48826
 
+do :
48827
 
+  ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
48828
 
+if test "x$ac_cv_header_stdint_h" = xyes; then :
48829
 
+  cat >>confdefs.h <<_ACEOF
48830
 
+@%:@define HAVE_STDINT_H 1
48831
 
+_ACEOF
48832
 
48833
 
+fi
48834
 
+
48835
 
+done
48836
 
+
48837
 
+
48838
 
+
48839
 
+  
48840
 
+  :
48841
 
+
48842
 
+
48843
 
+
48844
 
+  :
48845
 
+
48846
 
+
48847
 
+  :
48848
 
+
48849
 
+
48850
 
+  :
48851
 
+
48852
 
+
48853
 
+    
48854
 
+
48855
 
+
48856
 
+  
48857
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xasprintf:1:c-format"
48858
 
+
48859
 
+
48860
 
+    :
48861
 
+
48862
 
+  # End of code from modules
48863
 
+  
48864
 
+          
48865
 
+  
48866
 
+  
48867
 
+  
48868
 
+  
48869
 
+  
48870
 
+  
48871
 
+  
48872
 
+  gltests_libdeps=
48873
 
+  gltests_ltlibdeps=
48874
 
+  
48875
 
+  
48876
 
+  
48877
 
+  
48878
 
+  
48879
 
+  
48880
 
+    
48881
 
+  
48882
 
+
48883
 
+  gl_source_base='gnulib-tests'
48884
 
+  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
48885
 
+  
48886
 
+  gl_module_indicator_condition=$gltests_WITNESS
48887
 
+  
48888
 
+
48889
 
+if test "$ac_cv_header_winsock2_h" = yes; then
48890
 
+  
48891
 
+  
48892
 
+  
48893
 
+    
48894
 
+      
48895
 
+      
48896
 
+    
48897
 
+  
48898
 
+  gltests_LIBOBJS="$gltests_LIBOBJS accept.$ac_objext"
48899
 
+
48900
 
+fi
48901
 
+
48902
 
+    
48903
 
+  
48904
 
+  
48905
 
+  
48906
 
+    if test "$GNULIB_ACCEPT" != 1; then
48907
 
+        if test "$GNULIB_ACCEPT" = 0; then
48908
 
+      GNULIB_ACCEPT=$gl_module_indicator_condition
48909
 
+    else
48910
 
+      GNULIB_ACCEPT="($GNULIB_ACCEPT || $gl_module_indicator_condition)"
48911
 
+    fi
48912
 
+  fi
48913
 
+
48914
 
+
48915
 
+
48916
 
+    
48917
 
+  
48918
 
+$as_echo "@%:@define GNULIB_TEST_ACCEPT 1" >>confdefs.h
48919
 
+
48920
 
+
48921
 
+
48922
 
+
48923
 
+
48924
 
+if test "$ac_cv_header_winsock2_h" = yes; then
48925
 
+  
48926
 
+  
48927
 
+  
48928
 
+    
48929
 
+      
48930
 
+      
48931
 
+    
48932
 
+  
48933
 
+  gltests_LIBOBJS="$gltests_LIBOBJS bind.$ac_objext"
48934
 
+
48935
 
+fi
48936
 
+
48937
 
+    
48938
 
+  
48939
 
+  
48940
 
+  
48941
 
+    if test "$GNULIB_BIND" != 1; then
48942
 
+        if test "$GNULIB_BIND" = 0; then
48943
 
+      GNULIB_BIND=$gl_module_indicator_condition
48944
 
+    else
48945
 
+      GNULIB_BIND="($GNULIB_BIND || $gl_module_indicator_condition)"
48946
 
+    fi
48947
 
+  fi
48948
 
+
48949
 
+
48950
 
+
48951
 
+    
48952
 
+  
48953
 
+$as_echo "@%:@define GNULIB_TEST_BIND 1" >>confdefs.h
48954
 
+
48955
 
+
48956
 
+
48957
 
+
48958
 
+  
48959
 
+  
48960
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
48961
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
48962
 
+if ${gt_cv_locale_fr+:} false; then :
48963
 
+  $as_echo_n "(cached) " >&6
48964
 
+else
48965
 
+  
48966
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48967
 
+/* end confdefs.h.  */
48968
 
+
48969
 
+#include <locale.h>
48970
 
+#include <time.h>
48971
 
+#if HAVE_LANGINFO_CODESET
48972
 
+# include <langinfo.h>
48973
 
+#endif
48974
 
+#include <stdlib.h>
48975
 
+#include <string.h>
48976
 
+struct tm t;
48977
 
+char buf[16];
48978
 
+int main () {
48979
 
+  /* Check whether the given locale name is recognized by the system.  */
48980
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
48981
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
48982
 
+     not at the environment variables.  Also, when an encoding suffix such
48983
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
48984
 
+     category of the locale to "C".  */
48985
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
48986
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
48987
 
+    return 1;
48988
 
+#else
48989
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
48990
 
+#endif
48991
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
48992
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
48993
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
48994
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
48995
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
48996
 
+     some unit tests fail.
48997
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
48998
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
48999
 
+#if HAVE_LANGINFO_CODESET
49000
 
+  {
49001
 
+    const char *cs = nl_langinfo (CODESET);
49002
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
49003
 
+        || strcmp (cs, "UTF-8") == 0)
49004
 
+      return 1;
49005
 
+  }
49006
 
+#endif
49007
 
+#ifdef __CYGWIN__
49008
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
49009
 
+     locale_charset() function relies on the encoding suffix.  Note that
49010
 
+     LC_ALL is set on the command line.  */
49011
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
49012
 
+#endif
49013
 
+  /* Check whether in the abbreviation of the second month, the second
49014
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
49015
 
+     one byte long. This excludes the UTF-8 encoding.  */
49016
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
49017
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
49018
 
+  /* Check whether the decimal separator is a comma.
49019
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
49020
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
49021
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
49022
 
+  return 0;
49023
 
+}
49024
 
+      
49025
 
+_ACEOF
49026
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
49027
 
+  (eval $ac_link) 2>&5
49028
 
+  ac_status=$?
49029
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49030
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
49031
 
+      case "$host_os" in
49032
 
+        # Handle native Windows specially, because there setlocale() interprets
49033
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
49034
 
+        # "fr" or "fra" as "French" or "French_France.1252",
49035
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
49036
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
49037
 
+        # and similar.
49038
 
+        mingw*)
49039
 
+          # Test for the native Win32 locale name.
49040
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49041
 
+            gt_cv_locale_fr=French_France.1252
49042
 
+          else
49043
 
+            # None found.
49044
 
+            gt_cv_locale_fr=none
49045
 
+          fi
49046
 
+          ;;
49047
 
+        *)
49048
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
49049
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
49050
 
+          # configure script would override the LC_ALL setting. Likewise for
49051
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
49052
 
+          # Test for the usual locale name.
49053
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49054
 
+            gt_cv_locale_fr=fr_FR
49055
 
+          else
49056
 
+            # Test for the locale name with explicit encoding suffix.
49057
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49058
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
49059
 
+            else
49060
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
49061
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49062
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
49063
 
+              else
49064
 
+                # Test for the HP-UX locale name.
49065
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49066
 
+                  gt_cv_locale_fr=fr_FR.iso88591
49067
 
+                else
49068
 
+                  # Test for the Solaris 7 locale name.
49069
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49070
 
+                    gt_cv_locale_fr=fr
49071
 
+                  else
49072
 
+                    # None found.
49073
 
+                    gt_cv_locale_fr=none
49074
 
+                  fi
49075
 
+                fi
49076
 
+              fi
49077
 
+            fi
49078
 
+          fi
49079
 
+          ;;
49080
 
+      esac
49081
 
+    fi
49082
 
+    rm -fr conftest*
49083
 
+  
49084
 
+fi
49085
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
49086
 
+$as_echo "$gt_cv_locale_fr" >&6; }
49087
 
+  LOCALE_FR=$gt_cv_locale_fr
49088
 
+  
49089
 
+
49090
 
+
49091
 
+  
49092
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
49093
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
49094
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
49095
 
+  $as_echo_n "(cached) " >&6
49096
 
+else
49097
 
+  
49098
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49099
 
+/* end confdefs.h.  */
49100
 
+
49101
 
+#include <locale.h>
49102
 
+#include <time.h>
49103
 
+#if HAVE_LANGINFO_CODESET
49104
 
+# include <langinfo.h>
49105
 
+#endif
49106
 
+#include <stdlib.h>
49107
 
+#include <string.h>
49108
 
+struct tm t;
49109
 
+char buf[16];
49110
 
+int main () {
49111
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
49112
 
+     imitates locale dependent behaviour by looking at the environment
49113
 
+     variables, and all locales use the UTF-8 encoding.  */
49114
 
+#if !(defined __BEOS__ || defined __HAIKU__)
49115
 
+  /* Check whether the given locale name is recognized by the system.  */
49116
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
49117
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
49118
 
+     not at the environment variables.  Also, when an encoding suffix such
49119
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
49120
 
+     category of the locale to "C".  */
49121
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
49122
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
49123
 
+    return 1;
49124
 
+# else
49125
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
49126
 
+# endif
49127
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
49128
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
49129
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
49130
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
49131
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
49132
 
+     some unit tests fail.  */
49133
 
+# if HAVE_LANGINFO_CODESET
49134
 
+  {
49135
 
+    const char *cs = nl_langinfo (CODESET);
49136
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
49137
 
+      return 1;
49138
 
+  }
49139
 
+# endif
49140
 
+# ifdef __CYGWIN__
49141
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
49142
 
+     locale_charset() function relies on the encoding suffix.  Note that
49143
 
+     LC_ALL is set on the command line.  */
49144
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
49145
 
+# endif
49146
 
+  /* Check whether in the abbreviation of the second month, the second
49147
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
49148
 
+     two bytes long, with UTF-8 encoding.  */
49149
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
49150
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
49151
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
49152
 
+    return 1;
49153
 
+#endif
49154
 
+  /* Check whether the decimal separator is a comma.
49155
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
49156
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
49157
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
49158
 
+  return 0;
49159
 
+}
49160
 
+      
49161
 
+_ACEOF
49162
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
49163
 
+  (eval $ac_link) 2>&5
49164
 
+  ac_status=$?
49165
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49166
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
49167
 
+      case "$host_os" in
49168
 
+        # Handle native Windows specially, because there setlocale() interprets
49169
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
49170
 
+        # "fr" or "fra" as "French" or "French_France.1252",
49171
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
49172
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
49173
 
+        # and similar.
49174
 
+        mingw*)
49175
 
+          # Test for the hypothetical native Win32 locale name.
49176
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49177
 
+            gt_cv_locale_fr_utf8=French_France.65001
49178
 
+          else
49179
 
+            # None found.
49180
 
+            gt_cv_locale_fr_utf8=none
49181
 
+          fi
49182
 
+          ;;
49183
 
+        *)
49184
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
49185
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
49186
 
+          # configure script would override the LC_ALL setting. Likewise for
49187
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
49188
 
+          # Test for the usual locale name.
49189
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49190
 
+            gt_cv_locale_fr_utf8=fr_FR
49191
 
+          else
49192
 
+            # Test for the locale name with explicit encoding suffix.
49193
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49194
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
49195
 
+            else
49196
 
+              # Test for the Solaris 7 locale name.
49197
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49198
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
49199
 
+              else
49200
 
+                # None found.
49201
 
+                gt_cv_locale_fr_utf8=none
49202
 
+              fi
49203
 
+            fi
49204
 
+          fi
49205
 
+          ;;
49206
 
+      esac
49207
 
+    fi
49208
 
+    rm -fr conftest*
49209
 
+  
49210
 
+fi
49211
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
49212
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
49213
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
49214
 
+  
49215
 
+
49216
 
+
49217
 
+  
49218
 
+  
49219
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
49220
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
49221
 
+if ${gt_cv_locale_fr+:} false; then :
49222
 
+  $as_echo_n "(cached) " >&6
49223
 
+else
49224
 
+  
49225
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49226
 
+/* end confdefs.h.  */
49227
 
+
49228
 
+#include <locale.h>
49229
 
+#include <time.h>
49230
 
+#if HAVE_LANGINFO_CODESET
49231
 
+# include <langinfo.h>
49232
 
+#endif
49233
 
+#include <stdlib.h>
49234
 
+#include <string.h>
49235
 
+struct tm t;
49236
 
+char buf[16];
49237
 
+int main () {
49238
 
+  /* Check whether the given locale name is recognized by the system.  */
49239
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
49240
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
49241
 
+     not at the environment variables.  Also, when an encoding suffix such
49242
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
49243
 
+     category of the locale to "C".  */
49244
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
49245
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
49246
 
+    return 1;
49247
 
+#else
49248
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
49249
 
+#endif
49250
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
49251
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
49252
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
49253
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
49254
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
49255
 
+     some unit tests fail.
49256
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
49257
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
49258
 
+#if HAVE_LANGINFO_CODESET
49259
 
+  {
49260
 
+    const char *cs = nl_langinfo (CODESET);
49261
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
49262
 
+        || strcmp (cs, "UTF-8") == 0)
49263
 
+      return 1;
49264
 
+  }
49265
 
+#endif
49266
 
+#ifdef __CYGWIN__
49267
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
49268
 
+     locale_charset() function relies on the encoding suffix.  Note that
49269
 
+     LC_ALL is set on the command line.  */
49270
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
49271
 
+#endif
49272
 
+  /* Check whether in the abbreviation of the second month, the second
49273
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
49274
 
+     one byte long. This excludes the UTF-8 encoding.  */
49275
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
49276
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
49277
 
+  /* Check whether the decimal separator is a comma.
49278
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
49279
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
49280
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
49281
 
+  return 0;
49282
 
+}
49283
 
+      
49284
 
+_ACEOF
49285
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
49286
 
+  (eval $ac_link) 2>&5
49287
 
+  ac_status=$?
49288
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49289
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
49290
 
+      case "$host_os" in
49291
 
+        # Handle native Windows specially, because there setlocale() interprets
49292
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
49293
 
+        # "fr" or "fra" as "French" or "French_France.1252",
49294
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
49295
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
49296
 
+        # and similar.
49297
 
+        mingw*)
49298
 
+          # Test for the native Win32 locale name.
49299
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49300
 
+            gt_cv_locale_fr=French_France.1252
49301
 
+          else
49302
 
+            # None found.
49303
 
+            gt_cv_locale_fr=none
49304
 
+          fi
49305
 
+          ;;
49306
 
+        *)
49307
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
49308
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
49309
 
+          # configure script would override the LC_ALL setting. Likewise for
49310
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
49311
 
+          # Test for the usual locale name.
49312
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49313
 
+            gt_cv_locale_fr=fr_FR
49314
 
+          else
49315
 
+            # Test for the locale name with explicit encoding suffix.
49316
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49317
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
49318
 
+            else
49319
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
49320
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49321
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
49322
 
+              else
49323
 
+                # Test for the HP-UX locale name.
49324
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49325
 
+                  gt_cv_locale_fr=fr_FR.iso88591
49326
 
+                else
49327
 
+                  # Test for the Solaris 7 locale name.
49328
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49329
 
+                    gt_cv_locale_fr=fr
49330
 
+                  else
49331
 
+                    # None found.
49332
 
+                    gt_cv_locale_fr=none
49333
 
+                  fi
49334
 
+                fi
49335
 
+              fi
49336
 
+            fi
49337
 
+          fi
49338
 
+          ;;
49339
 
+      esac
49340
 
+    fi
49341
 
+    rm -fr conftest*
49342
 
+  
49343
 
+fi
49344
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
49345
 
+$as_echo "$gt_cv_locale_fr" >&6; }
49346
 
+  LOCALE_FR=$gt_cv_locale_fr
49347
 
+  
49348
 
+
49349
 
+
49350
 
+  
49351
 
+  
49352
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a turkish Unicode locale" >&5
49353
 
+$as_echo_n "checking for a turkish Unicode locale... " >&6; }
49354
 
+if ${gt_cv_locale_tr_utf8+:} false; then :
49355
 
+  $as_echo_n "(cached) " >&6
49356
 
+else
49357
 
+  
49358
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49359
 
+/* end confdefs.h.  */
49360
 
+
49361
 
+#include <locale.h>
49362
 
+#include <time.h>
49363
 
+#if HAVE_LANGINFO_CODESET
49364
 
+# include <langinfo.h>
49365
 
+#endif
49366
 
+#include <stdlib.h>
49367
 
+#include <string.h>
49368
 
+struct tm t;
49369
 
+char buf[16];
49370
 
+int main () {
49371
 
+  /* On BeOS, locales are not implemented in libc.  Rather, libintl
49372
 
+     imitates locale dependent behaviour by looking at the environment
49373
 
+     variables, and all locales use the UTF-8 encoding.  But BeOS does not
49374
 
+     implement the Turkish upper-/lowercase mappings.  Therefore, let this
49375
 
+     program return 1 on BeOS.  */
49376
 
+  /* Check whether the given locale name is recognized by the system.  */
49377
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
49378
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
49379
 
+     not at the environment variables.  Also, when an encoding suffix such
49380
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
49381
 
+     category of the locale to "C".  */
49382
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
49383
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
49384
 
+    return 1;
49385
 
+#else
49386
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
49387
 
+#endif
49388
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
49389
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET)
49390
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
49391
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
49392
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
49393
 
+     some unit tests fail.  */
49394
 
+#if HAVE_LANGINFO_CODESET
49395
 
+  {
49396
 
+    const char *cs = nl_langinfo (CODESET);
49397
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
49398
 
+      return 1;
49399
 
+  }
49400
 
+#endif
49401
 
+#ifdef __CYGWIN__
49402
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
49403
 
+     locale_charset() function relies on the encoding suffix.  Note that
49404
 
+     LC_ALL is set on the command line.  */
49405
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
49406
 
+#endif
49407
 
+  /* Check whether in the abbreviation of the eighth month, the second
49408
 
+     character (should be U+011F: LATIN SMALL LETTER G WITH BREVE) is
49409
 
+     two bytes long, with UTF-8 encoding.  */
49410
 
+  t.tm_year = 1992 - 1900; t.tm_mon = 8 - 1; t.tm_mday = 19;
49411
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
49412
 
+      || buf[1] != (char) 0xc4 || buf[2] != (char) 0x9f)
49413
 
+    return 1;
49414
 
+  /* Check whether the upper-/lowercase mappings are as expected for
49415
 
+     Turkish.  */
49416
 
+  if (towupper ('i') != 0x0130 || towlower (0x0130) != 'i'
49417
 
+      || towupper(0x0131) != 'I' || towlower ('I') != 0x0131)
49418
 
+    return 1;
49419
 
+  return 0;
49420
 
+}
49421
 
+      
49422
 
+_ACEOF
49423
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
49424
 
+  (eval $ac_link) 2>&5
49425
 
+  ac_status=$?
49426
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
49427
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
49428
 
+      case "$host_os" in
49429
 
+        # Handle native Windows specially, because there setlocale() interprets
49430
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
49431
 
+        # "fr" or "fra" as "French" or "French_France.1252",
49432
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
49433
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
49434
 
+        # and similar.
49435
 
+        mingw*)
49436
 
+          # Test for the hypothetical native Win32 locale name.
49437
 
+          if (LC_ALL=Turkish_Turkey.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49438
 
+            gt_cv_locale_tr_utf8=Turkish_Turkey.65001
49439
 
+          else
49440
 
+            # None found.
49441
 
+            gt_cv_locale_tr_utf8=none
49442
 
+          fi
49443
 
+          ;;
49444
 
+        *)
49445
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
49446
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
49447
 
+          # configure script would override the LC_ALL setting. Likewise for
49448
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
49449
 
+          # Test for the usual locale name.
49450
 
+          if (LC_ALL=tr_TR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49451
 
+            gt_cv_locale_tr_utf8=tr_TR
49452
 
+          else
49453
 
+            # Test for the locale name with explicit encoding suffix.
49454
 
+            if (LC_ALL=tr_TR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49455
 
+              gt_cv_locale_tr_utf8=tr_TR.UTF-8
49456
 
+            else
49457
 
+              # Test for the Solaris 7 locale name.
49458
 
+              if (LC_ALL=tr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
49459
 
+                gt_cv_locale_tr_utf8=tr.UTF-8
49460
 
+              else
49461
 
+                # None found.
49462
 
+                gt_cv_locale_tr_utf8=none
49463
 
+              fi
49464
 
+            fi
49465
 
+          fi
49466
 
+          ;;
49467
 
+      esac
49468
 
+    else
49469
 
+      gt_cv_locale_tr_utf8=none
49470
 
+    fi
49471
 
+    rm -fr conftest*
49472
 
+  
49473
 
+fi
49474
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_tr_utf8" >&5
49475
 
+$as_echo "$gt_cv_locale_tr_utf8" >&6; }
49476
 
+  LOCALE_TR_UTF8=$gt_cv_locale_tr_utf8
49477
 
+  
49478
 
+
49479
 
+
49480
 
+
49481
 
+if test "$ac_cv_header_winsock2_h" = yes; then
49482
 
+  
49483
 
+  
49484
 
+  
49485
 
+    
49486
 
+      
49487
 
+      
49488
 
+    
49489
 
+  
49490
 
+  gltests_LIBOBJS="$gltests_LIBOBJS connect.$ac_objext"
49491
 
+
49492
 
+fi
49493
 
+
49494
 
+    
49495
 
+  
49496
 
+  
49497
 
+  
49498
 
+    if test "$GNULIB_CONNECT" != 1; then
49499
 
+        if test "$GNULIB_CONNECT" = 0; then
49500
 
+      GNULIB_CONNECT=$gl_module_indicator_condition
49501
 
+    else
49502
 
+      GNULIB_CONNECT="($GNULIB_CONNECT || $gl_module_indicator_condition)"
49503
 
+    fi
49504
 
+  fi
49505
 
+
49506
 
+
49507
 
+
49508
 
+    
49509
 
+  
49510
 
+$as_echo "@%:@define GNULIB_TEST_CONNECT 1" >>confdefs.h
49511
 
+
49512
 
+
49513
 
+
49514
 
+
49515
 
+
49516
 
+
49517
 
+
49518
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
49519
 
+$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
49520
 
+if ${ac_cv_c_bigendian+:} false; then :
49521
 
+  $as_echo_n "(cached) " >&6
49522
 
+else
49523
 
+  ac_cv_c_bigendian=unknown
49524
 
+    # See if we're dealing with a universal compiler.
49525
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49526
 
+/* end confdefs.h.  */
49527
 
+#ifndef __APPLE_CC__
49528
 
+              not a universal capable compiler
49529
 
+            #endif
49530
 
+            typedef int dummy;
49531
 
+           
49532
 
+_ACEOF
49533
 
+if ac_fn_c_try_compile "$LINENO"; then :
49534
 
+  
49535
 
+       # Check for potential -arch flags.  It is not universal unless
49536
 
+       # there are at least two -arch flags with different values.
49537
 
+       ac_arch=
49538
 
+       ac_prev=
49539
 
+       for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
49540
 
+        if test -n "$ac_prev"; then
49541
 
+          case $ac_word in
49542
 
+            i?86 | x86_64 | ppc | ppc64)
49543
 
+              if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
49544
 
+                ac_arch=$ac_word
49545
 
+              else
49546
 
+                ac_cv_c_bigendian=universal
49547
 
+                break
49548
 
+              fi
49549
 
+              ;;
49550
 
+          esac
49551
 
+          ac_prev=
49552
 
+        elif test "x$ac_word" = "x-arch"; then
49553
 
+          ac_prev=arch
49554
 
+        fi
49555
 
+       done
49556
 
+fi
49557
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49558
 
+    if test $ac_cv_c_bigendian = unknown; then
49559
 
+      # See if sys/param.h defines the BYTE_ORDER macro.
49560
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49561
 
+/* end confdefs.h.  */
49562
 
+#include <sys/types.h>
49563
 
+            #include <sys/param.h>
49564
 
+          
49565
 
+int
49566
 
+main ()
49567
 
+{
49568
 
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
49569
 
+                    && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
49570
 
+                    && LITTLE_ENDIAN)
49571
 
+             bogus endian macros
49572
 
+            #endif
49573
 
+          
49574
 
+  ;
49575
 
+  return 0;
49576
 
+}
49577
 
+_ACEOF
49578
 
+if ac_fn_c_try_compile "$LINENO"; then :
49579
 
+  # It does; now see whether it defined to BIG_ENDIAN or not.
49580
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49581
 
+/* end confdefs.h.  */
49582
 
+#include <sys/types.h>
49583
 
+               #include <sys/param.h>
49584
 
+             
49585
 
+int
49586
 
+main ()
49587
 
+{
49588
 
+#if BYTE_ORDER != BIG_ENDIAN
49589
 
+                not big endian
49590
 
+               #endif
49591
 
+             
49592
 
+  ;
49593
 
+  return 0;
49594
 
+}
49595
 
+_ACEOF
49596
 
+if ac_fn_c_try_compile "$LINENO"; then :
49597
 
+  ac_cv_c_bigendian=yes
49598
 
+else
49599
 
+  ac_cv_c_bigendian=no
49600
 
+fi
49601
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49602
 
+fi
49603
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49604
 
+    fi
49605
 
+    if test $ac_cv_c_bigendian = unknown; then
49606
 
+      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
49607
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49608
 
+/* end confdefs.h.  */
49609
 
+#include <limits.h>
49610
 
+          
49611
 
+int
49612
 
+main ()
49613
 
+{
49614
 
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
49615
 
+             bogus endian macros
49616
 
+            #endif
49617
 
+          
49618
 
+  ;
49619
 
+  return 0;
49620
 
+}
49621
 
+_ACEOF
49622
 
+if ac_fn_c_try_compile "$LINENO"; then :
49623
 
+  # It does; now see whether it defined to _BIG_ENDIAN or not.
49624
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49625
 
+/* end confdefs.h.  */
49626
 
+#include <limits.h>
49627
 
+             
49628
 
+int
49629
 
+main ()
49630
 
+{
49631
 
+#ifndef _BIG_ENDIAN
49632
 
+                not big endian
49633
 
+               #endif
49634
 
+             
49635
 
+  ;
49636
 
+  return 0;
49637
 
+}
49638
 
+_ACEOF
49639
 
+if ac_fn_c_try_compile "$LINENO"; then :
49640
 
+  ac_cv_c_bigendian=yes
49641
 
+else
49642
 
+  ac_cv_c_bigendian=no
49643
 
+fi
49644
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49645
 
+fi
49646
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49647
 
+    fi
49648
 
+    if test $ac_cv_c_bigendian = unknown; then
49649
 
+      # Compile a test program.
49650
 
+      if test "$cross_compiling" = yes; then :
49651
 
+  # Try to guess by grepping values from an object file.
49652
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49653
 
+/* end confdefs.h.  */
49654
 
+short int ascii_mm[] =
49655
 
+                 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
49656
 
+               short int ascii_ii[] =
49657
 
+                 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
49658
 
+               int use_ascii (int i) {
49659
 
+                 return ascii_mm[i] + ascii_ii[i];
49660
 
+               }
49661
 
+               short int ebcdic_ii[] =
49662
 
+                 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
49663
 
+               short int ebcdic_mm[] =
49664
 
+                 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
49665
 
+               int use_ebcdic (int i) {
49666
 
+                 return ebcdic_mm[i] + ebcdic_ii[i];
49667
 
+               }
49668
 
+               extern int foo;
49669
 
+             
49670
 
+int
49671
 
+main ()
49672
 
+{
49673
 
+return use_ascii (foo) == use_ebcdic (foo);
49674
 
+  ;
49675
 
+  return 0;
49676
 
+}
49677
 
+_ACEOF
49678
 
+if ac_fn_c_try_compile "$LINENO"; then :
49679
 
+  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
49680
 
+             ac_cv_c_bigendian=yes
49681
 
+           fi
49682
 
+           if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
49683
 
+             if test "$ac_cv_c_bigendian" = unknown; then
49684
 
+               ac_cv_c_bigendian=no
49685
 
+             else
49686
 
+               # finding both strings is unlikely to happen, but who knows?
49687
 
+               ac_cv_c_bigendian=unknown
49688
 
+             fi
49689
 
+           fi
49690
 
+fi
49691
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49692
 
+else
49693
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49694
 
+/* end confdefs.h.  */
49695
 
+$ac_includes_default
49696
 
+int
49697
 
+main ()
49698
 
+{
49699
 
+
49700
 
+            /* Are we little or big endian?  From Harbison&Steele.  */
49701
 
+            union
49702
 
+            {
49703
 
+              long int l;
49704
 
+              char c[sizeof (long int)];
49705
 
+            } u;
49706
 
+            u.l = 1;
49707
 
+            return u.c[sizeof (long int) - 1] == 1;
49708
 
+          
49709
 
+  ;
49710
 
+  return 0;
49711
 
+}
49712
 
+_ACEOF
49713
 
+if ac_fn_c_try_run "$LINENO"; then :
49714
 
+  ac_cv_c_bigendian=no
49715
 
+else
49716
 
+  ac_cv_c_bigendian=yes
49717
 
+fi
49718
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
49719
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
49720
 
+fi
49721
 
+
49722
 
+    fi
49723
 
+fi
49724
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
49725
 
+$as_echo "$ac_cv_c_bigendian" >&6; }
49726
 
+ case $ac_cv_c_bigendian in #(
49727
 
+   yes)
49728
 
+     $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
49729
 
+;; #(
49730
 
+   no)
49731
 
+      ;; #(
49732
 
+   universal)
49733
 
+       
49734
 
+$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
49735
 
+
49736
 
+     ;; #(
49737
 
+   *)
49738
 
+     as_fn_error $? "unknown endianness
49739
 
+ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
49740
 
+ esac
49741
 
+
49742
 
+
49743
 
+    
49744
 
+
49745
 
+      HAVE_INET_PTON=1
49746
 
+  gl_save_LIBS=$LIBS
49747
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
49748
 
+$as_echo_n "checking for library containing inet_pton... " >&6; }
49749
 
+if ${ac_cv_search_inet_pton+:} false; then :
49750
 
+  $as_echo_n "(cached) " >&6
49751
 
+else
49752
 
+  ac_func_search_save_LIBS=$LIBS
49753
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49754
 
+/* end confdefs.h.  */
49755
 
+
49756
 
+/* Override any GCC internal prototype to avoid an error.
49757
 
+   Use char because int might match the return type of a GCC
49758
 
+   builtin and then its argument prototype would still apply.  */
49759
 
+#ifdef __cplusplus
49760
 
+extern "C"
49761
 
+#endif
49762
 
+char inet_pton ();
49763
 
+int
49764
 
+main ()
49765
 
+{
49766
 
+return inet_pton ();
49767
 
+  ;
49768
 
+  return 0;
49769
 
+}
49770
 
+_ACEOF
49771
 
+for ac_lib in '' nsl; do
49772
 
+  if test -z "$ac_lib"; then
49773
 
+    ac_res="none required"
49774
 
+  else
49775
 
+    ac_res=-l$ac_lib
49776
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
49777
 
+  fi
49778
 
+  if ac_fn_c_try_link "$LINENO"; then :
49779
 
+  ac_cv_search_inet_pton=$ac_res
49780
 
+fi
49781
 
+rm -f core conftest.err conftest.$ac_objext \
49782
 
+    conftest$ac_exeext
49783
 
+  if ${ac_cv_search_inet_pton+:} false; then :
49784
 
+  break
49785
 
+fi
49786
 
+done
49787
 
+if ${ac_cv_search_inet_pton+:} false; then :
49788
 
+  
49789
 
+else
49790
 
+  ac_cv_search_inet_pton=no
49791
 
+fi
49792
 
+rm conftest.$ac_ext
49793
 
+LIBS=$ac_func_search_save_LIBS
49794
 
+fi
49795
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
49796
 
+$as_echo "$ac_cv_search_inet_pton" >&6; }
49797
 
+ac_res=$ac_cv_search_inet_pton
49798
 
+if test "$ac_res" != no; then :
49799
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
49800
 
+  
49801
 
+else
49802
 
+  for ac_func in inet_pton
49803
 
+do :
49804
 
+  ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton"
49805
 
+if test "x$ac_cv_func_inet_pton" = xyes; then :
49806
 
+  cat >>confdefs.h <<_ACEOF
49807
 
+@%:@define HAVE_INET_PTON 1
49808
 
+_ACEOF
49809
 
49810
 
+fi
49811
 
+done
49812
 
+
49813
 
+     if test $ac_cv_func_inet_pton = no; then
49814
 
+       HAVE_INET_PTON=0
49815
 
+     fi
49816
 
+    
49817
 
+fi
49818
 
+
49819
 
+  LIBS=$gl_save_LIBS
49820
 
+
49821
 
+  INET_PTON_LIB=
49822
 
+  if test "$ac_cv_search_inet_pton" != "no" &&
49823
 
+     test "$ac_cv_search_inet_pton" != "none required"; then
49824
 
+    INET_PTON_LIB="$ac_cv_search_inet_pton"
49825
 
+  fi
49826
 
+  
49827
 
+
49828
 
+  
49829
 
+  ac_fn_c_check_decl "$LINENO" "inet_pton" "ac_cv_have_decl_inet_pton" "#include <arpa/inet.h>
49830
 
+     #if HAVE_NETDB_H
49831
 
+     # include <netdb.h>
49832
 
+     #endif
49833
 
+    
49834
 
+"
49835
 
+if test "x$ac_cv_have_decl_inet_pton" = xyes; then :
49836
 
+  ac_have_decl=1
49837
 
+else
49838
 
+  ac_have_decl=0
49839
 
+fi
49840
 
+
49841
 
+cat >>confdefs.h <<_ACEOF
49842
 
+@%:@define HAVE_DECL_INET_PTON $ac_have_decl
49843
 
+_ACEOF
49844
 
+
49845
 
+  if test $ac_cv_have_decl_inet_pton = no; then
49846
 
+    HAVE_DECL_INET_PTON=0
49847
 
+    
49848
 
+  fi
49849
 
+
49850
 
+if test $HAVE_INET_PTON = 0; then
49851
 
+  
49852
 
+  
49853
 
+  
49854
 
+    
49855
 
+      
49856
 
+      
49857
 
+    
49858
 
+  
49859
 
+  gltests_LIBOBJS="$gltests_LIBOBJS inet_pton.$ac_objext"
49860
 
+
49861
 
+  
49862
 
+  
49863
 
+
49864
 
+fi
49865
 
+
49866
 
+    
49867
 
+  
49868
 
+  
49869
 
+  
49870
 
+    if test "$GNULIB_INET_PTON" != 1; then
49871
 
+        if test "$GNULIB_INET_PTON" = 0; then
49872
 
+      GNULIB_INET_PTON=$gl_module_indicator_condition
49873
 
+    else
49874
 
+      GNULIB_INET_PTON="($GNULIB_INET_PTON || $gl_module_indicator_condition)"
49875
 
+    fi
49876
 
+  fi
49877
 
+
49878
 
+
49879
 
+
49880
 
+
49881
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
49882
 
+$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
49883
 
+if ${ac_cv_c_bigendian+:} false; then :
49884
 
+  $as_echo_n "(cached) " >&6
49885
 
+else
49886
 
+  ac_cv_c_bigendian=unknown
49887
 
+    # See if we're dealing with a universal compiler.
49888
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49889
 
+/* end confdefs.h.  */
49890
 
+#ifndef __APPLE_CC__
49891
 
+              not a universal capable compiler
49892
 
+            #endif
49893
 
+            typedef int dummy;
49894
 
+           
49895
 
+_ACEOF
49896
 
+if ac_fn_c_try_compile "$LINENO"; then :
49897
 
+  
49898
 
+       # Check for potential -arch flags.  It is not universal unless
49899
 
+       # there are at least two -arch flags with different values.
49900
 
+       ac_arch=
49901
 
+       ac_prev=
49902
 
+       for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
49903
 
+        if test -n "$ac_prev"; then
49904
 
+          case $ac_word in
49905
 
+            i?86 | x86_64 | ppc | ppc64)
49906
 
+              if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
49907
 
+                ac_arch=$ac_word
49908
 
+              else
49909
 
+                ac_cv_c_bigendian=universal
49910
 
+                break
49911
 
+              fi
49912
 
+              ;;
49913
 
+          esac
49914
 
+          ac_prev=
49915
 
+        elif test "x$ac_word" = "x-arch"; then
49916
 
+          ac_prev=arch
49917
 
+        fi
49918
 
+       done
49919
 
+fi
49920
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49921
 
+    if test $ac_cv_c_bigendian = unknown; then
49922
 
+      # See if sys/param.h defines the BYTE_ORDER macro.
49923
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49924
 
+/* end confdefs.h.  */
49925
 
+#include <sys/types.h>
49926
 
+            #include <sys/param.h>
49927
 
+          
49928
 
+int
49929
 
+main ()
49930
 
+{
49931
 
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
49932
 
+                    && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
49933
 
+                    && LITTLE_ENDIAN)
49934
 
+             bogus endian macros
49935
 
+            #endif
49936
 
+          
49937
 
+  ;
49938
 
+  return 0;
49939
 
+}
49940
 
+_ACEOF
49941
 
+if ac_fn_c_try_compile "$LINENO"; then :
49942
 
+  # It does; now see whether it defined to BIG_ENDIAN or not.
49943
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49944
 
+/* end confdefs.h.  */
49945
 
+#include <sys/types.h>
49946
 
+               #include <sys/param.h>
49947
 
+             
49948
 
+int
49949
 
+main ()
49950
 
+{
49951
 
+#if BYTE_ORDER != BIG_ENDIAN
49952
 
+                not big endian
49953
 
+               #endif
49954
 
+             
49955
 
+  ;
49956
 
+  return 0;
49957
 
+}
49958
 
+_ACEOF
49959
 
+if ac_fn_c_try_compile "$LINENO"; then :
49960
 
+  ac_cv_c_bigendian=yes
49961
 
+else
49962
 
+  ac_cv_c_bigendian=no
49963
 
+fi
49964
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49965
 
+fi
49966
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49967
 
+    fi
49968
 
+    if test $ac_cv_c_bigendian = unknown; then
49969
 
+      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
49970
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49971
 
+/* end confdefs.h.  */
49972
 
+#include <limits.h>
49973
 
+          
49974
 
+int
49975
 
+main ()
49976
 
+{
49977
 
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
49978
 
+             bogus endian macros
49979
 
+            #endif
49980
 
+          
49981
 
+  ;
49982
 
+  return 0;
49983
 
+}
49984
 
+_ACEOF
49985
 
+if ac_fn_c_try_compile "$LINENO"; then :
49986
 
+  # It does; now see whether it defined to _BIG_ENDIAN or not.
49987
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49988
 
+/* end confdefs.h.  */
49989
 
+#include <limits.h>
49990
 
+             
49991
 
+int
49992
 
+main ()
49993
 
+{
49994
 
+#ifndef _BIG_ENDIAN
49995
 
+                not big endian
49996
 
+               #endif
49997
 
+             
49998
 
+  ;
49999
 
+  return 0;
50000
 
+}
50001
 
+_ACEOF
50002
 
+if ac_fn_c_try_compile "$LINENO"; then :
50003
 
+  ac_cv_c_bigendian=yes
50004
 
+else
50005
 
+  ac_cv_c_bigendian=no
50006
 
+fi
50007
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50008
 
+fi
50009
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50010
 
+    fi
50011
 
+    if test $ac_cv_c_bigendian = unknown; then
50012
 
+      # Compile a test program.
50013
 
+      if test "$cross_compiling" = yes; then :
50014
 
+  # Try to guess by grepping values from an object file.
50015
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50016
 
+/* end confdefs.h.  */
50017
 
+short int ascii_mm[] =
50018
 
+                 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
50019
 
+               short int ascii_ii[] =
50020
 
+                 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
50021
 
+               int use_ascii (int i) {
50022
 
+                 return ascii_mm[i] + ascii_ii[i];
50023
 
+               }
50024
 
+               short int ebcdic_ii[] =
50025
 
+                 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
50026
 
+               short int ebcdic_mm[] =
50027
 
+                 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
50028
 
+               int use_ebcdic (int i) {
50029
 
+                 return ebcdic_mm[i] + ebcdic_ii[i];
50030
 
+               }
50031
 
+               extern int foo;
50032
 
+             
50033
 
+int
50034
 
+main ()
50035
 
+{
50036
 
+return use_ascii (foo) == use_ebcdic (foo);
50037
 
+  ;
50038
 
+  return 0;
50039
 
+}
50040
 
+_ACEOF
50041
 
+if ac_fn_c_try_compile "$LINENO"; then :
50042
 
+  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
50043
 
+             ac_cv_c_bigendian=yes
50044
 
+           fi
50045
 
+           if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
50046
 
+             if test "$ac_cv_c_bigendian" = unknown; then
50047
 
+               ac_cv_c_bigendian=no
50048
 
+             else
50049
 
+               # finding both strings is unlikely to happen, but who knows?
50050
 
+               ac_cv_c_bigendian=unknown
50051
 
+             fi
50052
 
+           fi
50053
 
+fi
50054
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50055
 
+else
50056
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50057
 
+/* end confdefs.h.  */
50058
 
+$ac_includes_default
50059
 
+int
50060
 
+main ()
50061
 
+{
50062
 
+
50063
 
+            /* Are we little or big endian?  From Harbison&Steele.  */
50064
 
+            union
50065
 
+            {
50066
 
+              long int l;
50067
 
+              char c[sizeof (long int)];
50068
 
+            } u;
50069
 
+            u.l = 1;
50070
 
+            return u.c[sizeof (long int) - 1] == 1;
50071
 
+          
50072
 
+  ;
50073
 
+  return 0;
50074
 
+}
50075
 
+_ACEOF
50076
 
+if ac_fn_c_try_run "$LINENO"; then :
50077
 
+  ac_cv_c_bigendian=no
50078
 
+else
50079
 
+  ac_cv_c_bigendian=yes
50080
 
+fi
50081
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50082
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
50083
 
+fi
50084
 
+
50085
 
+    fi
50086
 
+fi
50087
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
50088
 
+$as_echo "$ac_cv_c_bigendian" >&6; }
50089
 
+ case $ac_cv_c_bigendian in #(
50090
 
+   yes)
50091
 
+     $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
50092
 
+;; #(
50093
 
+   no)
50094
 
+      ;; #(
50095
 
+   universal)
50096
 
+       
50097
 
+$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
50098
 
+
50099
 
+     ;; #(
50100
 
+   *)
50101
 
+     as_fn_error $? "unknown endianness
50102
 
+ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
50103
 
+ esac
50104
 
+
50105
 
+
50106
 
+  
50107
 
+  
50108
 
+  HAVE_IOCTL=1
50109
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
50110
 
+                HAVE_IOCTL=0
50111
 
+  else
50112
 
+    for ac_func in ioctl
50113
 
+do :
50114
 
+  ac_fn_c_check_func "$LINENO" "ioctl" "ac_cv_func_ioctl"
50115
 
+if test "x$ac_cv_func_ioctl" = xyes; then :
50116
 
+  cat >>confdefs.h <<_ACEOF
50117
 
+@%:@define HAVE_IOCTL 1
50118
 
+_ACEOF
50119
 
50120
 
+fi
50121
 
+done
50122
 
+
50123
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioctl with POSIX signature" >&5
50124
 
+$as_echo_n "checking for ioctl with POSIX signature... " >&6; }
50125
 
+if ${gl_cv_func_ioctl_posix_signature+:} false; then :
50126
 
+  $as_echo_n "(cached) " >&6
50127
 
+else
50128
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50129
 
+/* end confdefs.h.  */
50130
 
+#include <sys/ioctl.h>
50131
 
+int
50132
 
+main ()
50133
 
+{
50134
 
+extern
50135
 
+              #ifdef __cplusplus
50136
 
+              "C"
50137
 
+              #endif
50138
 
+              int ioctl (int, int, ...);
50139
 
+            
50140
 
+  ;
50141
 
+  return 0;
50142
 
+}
50143
 
+         
50144
 
+_ACEOF
50145
 
+if ac_fn_c_try_compile "$LINENO"; then :
50146
 
+  gl_cv_func_ioctl_posix_signature=yes
50147
 
+else
50148
 
+  gl_cv_func_ioctl_posix_signature=no
50149
 
+fi
50150
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50151
 
+      
50152
 
+fi
50153
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ioctl_posix_signature" >&5
50154
 
+$as_echo "$gl_cv_func_ioctl_posix_signature" >&6; }
50155
 
+    if test $gl_cv_func_ioctl_posix_signature != yes; then
50156
 
+      REPLACE_IOCTL=1
50157
 
+    fi
50158
 
+  fi
50159
 
+
50160
 
+if test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1; then
50161
 
+  
50162
 
+  
50163
 
+  
50164
 
+    
50165
 
+      
50166
 
+      
50167
 
+    
50168
 
+  
50169
 
+  gltests_LIBOBJS="$gltests_LIBOBJS ioctl.$ac_objext"
50170
 
+
50171
 
+fi
50172
 
+
50173
 
+    
50174
 
+  
50175
 
+  
50176
 
+  
50177
 
+    if test "$GNULIB_IOCTL" != 1; then
50178
 
+        if test "$GNULIB_IOCTL" = 0; then
50179
 
+      GNULIB_IOCTL=$gl_module_indicator_condition
50180
 
+    else
50181
 
+      GNULIB_IOCTL="($GNULIB_IOCTL || $gl_module_indicator_condition)"
50182
 
+    fi
50183
 
+  fi
50184
 
+
50185
 
+
50186
 
+
50187
 
+    
50188
 
+  
50189
 
+$as_echo "@%:@define GNULIB_TEST_IOCTL 1" >>confdefs.h
50190
 
+
50191
 
+
50192
 
+
50193
 
+
50194
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5
50195
 
+$as_echo_n "checking where to find the exponent in a 'double'... " >&6; }
50196
 
+if ${gl_cv_cc_double_expbit0+:} false; then :
50197
 
+  $as_echo_n "(cached) " >&6
50198
 
+else
50199
 
+  
50200
 
+      if test "$cross_compiling" = yes; then :
50201
 
+  
50202
 
+                                                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50203
 
+/* end confdefs.h.  */
50204
 
+
50205
 
+#if defined arm || defined __arm || defined __arm__
50206
 
+  mixed_endianness
50207
 
+#endif
50208
 
+            
50209
 
+_ACEOF
50210
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
50211
 
+  $EGREP "mixed_endianness" >/dev/null 2>&1; then :
50212
 
+  gl_cv_cc_double_expbit0="unknown"
50213
 
+else
50214
 
+  
50215
 
+                                                         :
50216
 
+if ${ac_cv_c_bigendian+:} false; then :
50217
 
+  $as_echo_n "(cached) " >&6
50218
 
+else
50219
 
+  ac_cv_c_bigendian=unknown
50220
 
+    # See if we're dealing with a universal compiler.
50221
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50222
 
+/* end confdefs.h.  */
50223
 
+#ifndef __APPLE_CC__
50224
 
+              not a universal capable compiler
50225
 
+            #endif
50226
 
+            typedef int dummy;
50227
 
+           
50228
 
+_ACEOF
50229
 
+if ac_fn_c_try_compile "$LINENO"; then :
50230
 
+  
50231
 
+       # Check for potential -arch flags.  It is not universal unless
50232
 
+       # there are at least two -arch flags with different values.
50233
 
+       ac_arch=
50234
 
+       ac_prev=
50235
 
+       for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
50236
 
+        if test -n "$ac_prev"; then
50237
 
+          case $ac_word in
50238
 
+            i?86 | x86_64 | ppc | ppc64)
50239
 
+              if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
50240
 
+                ac_arch=$ac_word
50241
 
+              else
50242
 
+                ac_cv_c_bigendian=universal
50243
 
+                break
50244
 
+              fi
50245
 
+              ;;
50246
 
+          esac
50247
 
+          ac_prev=
50248
 
+        elif test "x$ac_word" = "x-arch"; then
50249
 
+          ac_prev=arch
50250
 
+        fi
50251
 
+       done
50252
 
+fi
50253
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50254
 
+    if test $ac_cv_c_bigendian = unknown; then
50255
 
+      # See if sys/param.h defines the BYTE_ORDER macro.
50256
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50257
 
+/* end confdefs.h.  */
50258
 
+#include <sys/types.h>
50259
 
+            #include <sys/param.h>
50260
 
+          
50261
 
+int
50262
 
+main ()
50263
 
+{
50264
 
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
50265
 
+                    && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
50266
 
+                    && LITTLE_ENDIAN)
50267
 
+             bogus endian macros
50268
 
+            #endif
50269
 
+          
50270
 
+  ;
50271
 
+  return 0;
50272
 
+}
50273
 
+_ACEOF
50274
 
+if ac_fn_c_try_compile "$LINENO"; then :
50275
 
+  # It does; now see whether it defined to BIG_ENDIAN or not.
50276
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50277
 
+/* end confdefs.h.  */
50278
 
+#include <sys/types.h>
50279
 
+               #include <sys/param.h>
50280
 
+             
50281
 
+int
50282
 
+main ()
50283
 
+{
50284
 
+#if BYTE_ORDER != BIG_ENDIAN
50285
 
+                not big endian
50286
 
+               #endif
50287
 
+             
50288
 
+  ;
50289
 
+  return 0;
50290
 
+}
50291
 
+_ACEOF
50292
 
+if ac_fn_c_try_compile "$LINENO"; then :
50293
 
+  ac_cv_c_bigendian=yes
50294
 
+else
50295
 
+  ac_cv_c_bigendian=no
50296
 
+fi
50297
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50298
 
+fi
50299
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50300
 
+    fi
50301
 
+    if test $ac_cv_c_bigendian = unknown; then
50302
 
+      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
50303
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50304
 
+/* end confdefs.h.  */
50305
 
+#include <limits.h>
50306
 
+          
50307
 
+int
50308
 
+main ()
50309
 
+{
50310
 
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
50311
 
+             bogus endian macros
50312
 
+            #endif
50313
 
+          
50314
 
+  ;
50315
 
+  return 0;
50316
 
+}
50317
 
+_ACEOF
50318
 
+if ac_fn_c_try_compile "$LINENO"; then :
50319
 
+  # It does; now see whether it defined to _BIG_ENDIAN or not.
50320
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50321
 
+/* end confdefs.h.  */
50322
 
+#include <limits.h>
50323
 
+             
50324
 
+int
50325
 
+main ()
50326
 
+{
50327
 
+#ifndef _BIG_ENDIAN
50328
 
+                not big endian
50329
 
+               #endif
50330
 
+             
50331
 
+  ;
50332
 
+  return 0;
50333
 
+}
50334
 
+_ACEOF
50335
 
+if ac_fn_c_try_compile "$LINENO"; then :
50336
 
+  ac_cv_c_bigendian=yes
50337
 
+else
50338
 
+  ac_cv_c_bigendian=no
50339
 
+fi
50340
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50341
 
+fi
50342
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50343
 
+    fi
50344
 
+    if test $ac_cv_c_bigendian = unknown; then
50345
 
+      # Compile a test program.
50346
 
+      if test "$cross_compiling" = yes; then :
50347
 
+  # Try to guess by grepping values from an object file.
50348
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50349
 
+/* end confdefs.h.  */
50350
 
+short int ascii_mm[] =
50351
 
+                 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
50352
 
+               short int ascii_ii[] =
50353
 
+                 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
50354
 
+               int use_ascii (int i) {
50355
 
+                 return ascii_mm[i] + ascii_ii[i];
50356
 
+               }
50357
 
+               short int ebcdic_ii[] =
50358
 
+                 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
50359
 
+               short int ebcdic_mm[] =
50360
 
+                 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
50361
 
+               int use_ebcdic (int i) {
50362
 
+                 return ebcdic_mm[i] + ebcdic_ii[i];
50363
 
+               }
50364
 
+               extern int foo;
50365
 
+             
50366
 
+int
50367
 
+main ()
50368
 
+{
50369
 
+return use_ascii (foo) == use_ebcdic (foo);
50370
 
+  ;
50371
 
+  return 0;
50372
 
+}
50373
 
+_ACEOF
50374
 
+if ac_fn_c_try_compile "$LINENO"; then :
50375
 
+  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
50376
 
+             ac_cv_c_bigendian=yes
50377
 
+           fi
50378
 
+           if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
50379
 
+             if test "$ac_cv_c_bigendian" = unknown; then
50380
 
+               ac_cv_c_bigendian=no
50381
 
+             else
50382
 
+               # finding both strings is unlikely to happen, but who knows?
50383
 
+               ac_cv_c_bigendian=unknown
50384
 
+             fi
50385
 
+           fi
50386
 
+fi
50387
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50388
 
+else
50389
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50390
 
+/* end confdefs.h.  */
50391
 
+$ac_includes_default
50392
 
+int
50393
 
+main ()
50394
 
+{
50395
 
+
50396
 
+            /* Are we little or big endian?  From Harbison&Steele.  */
50397
 
+            union
50398
 
+            {
50399
 
+              long int l;
50400
 
+              char c[sizeof (long int)];
50401
 
+            } u;
50402
 
+            u.l = 1;
50403
 
+            return u.c[sizeof (long int) - 1] == 1;
50404
 
+          
50405
 
+  ;
50406
 
+  return 0;
50407
 
+}
50408
 
+_ACEOF
50409
 
+if ac_fn_c_try_run "$LINENO"; then :
50410
 
+  ac_cv_c_bigendian=no
50411
 
+else
50412
 
+  ac_cv_c_bigendian=yes
50413
 
+fi
50414
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50415
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
50416
 
+fi
50417
 
+
50418
 
+    fi
50419
 
+fi
50420
 
+:
50421
 
+ case $ac_cv_c_bigendian in #(
50422
 
+   yes)
50423
 
+     gl_cv_cc_double_expbit0="word 0 bit 20";; #(
50424
 
+   no)
50425
 
+     gl_cv_cc_double_expbit0="word 1 bit 20" ;; #(
50426
 
+   universal)
50427
 
+       
50428
 
+$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
50429
 
+
50430
 
+     ;; #(
50431
 
+   *)
50432
 
+     gl_cv_cc_double_expbit0="unknown" ;;
50433
 
+ esac
50434
 
+
50435
 
+                                                      
50436
 
+fi
50437
 
+rm -f conftest*
50438
 
+
50439
 
+        
50440
 
+else
50441
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50442
 
+/* end confdefs.h.  */
50443
 
+
50444
 
+#include <float.h>
50445
 
+#include <stddef.h>
50446
 
+#include <stdio.h>
50447
 
+#include <string.h>
50448
 
+#define NWORDS \
50449
 
+  ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
50450
 
+typedef union { double value; unsigned int word[NWORDS]; } memory_double;
50451
 
+static unsigned int ored_words[NWORDS];
50452
 
+static unsigned int anded_words[NWORDS];
50453
 
+static void add_to_ored_words (double x)
50454
 
+{
50455
 
+  memory_double m;
50456
 
+  size_t i;
50457
 
+  /* Clear it first, in case sizeof (double) < sizeof (memory_double).  */
50458
 
+  memset (&m, 0, sizeof (memory_double));
50459
 
+  m.value = x;
50460
 
+  for (i = 0; i < NWORDS; i++)
50461
 
+    {
50462
 
+      ored_words[i] |= m.word[i];
50463
 
+      anded_words[i] &= m.word[i];
50464
 
+    }
50465
 
+}
50466
 
+int main ()
50467
 
+{
50468
 
+  size_t j;
50469
 
+  FILE *fp = fopen ("conftest.out", "w");
50470
 
+  if (fp == NULL)
50471
 
+    return 1;
50472
 
+  for (j = 0; j < NWORDS; j++)
50473
 
+    anded_words[j] = ~ (unsigned int) 0;
50474
 
+  add_to_ored_words (0.25);
50475
 
+  add_to_ored_words (0.5);
50476
 
+  add_to_ored_words (1.0);
50477
 
+  add_to_ored_words (2.0);
50478
 
+  add_to_ored_words (4.0);
50479
 
+  /* Remove bits that are common (e.g. if representation of the first mantissa
50480
 
+     bit is explicit).  */
50481
 
+  for (j = 0; j < NWORDS; j++)
50482
 
+    ored_words[j] &= ~anded_words[j];
50483
 
+  /* Now find the nonzero word.  */
50484
 
+  for (j = 0; j < NWORDS; j++)
50485
 
+    if (ored_words[j] != 0)
50486
 
+      break;
50487
 
+  if (j < NWORDS)
50488
 
+    {
50489
 
+      size_t i;
50490
 
+      for (i = j + 1; i < NWORDS; i++)
50491
 
+        if (ored_words[i] != 0)
50492
 
+          {
50493
 
+            fprintf (fp, "unknown");
50494
 
+            return (fclose (fp) != 0);
50495
 
+          }
50496
 
+      for (i = 0; ; i++)
50497
 
+        if ((ored_words[j] >> i) & 1)
50498
 
+          {
50499
 
+            fprintf (fp, "word %d bit %d", (int) j, (int) i);
50500
 
+            return (fclose (fp) != 0);
50501
 
+          }
50502
 
+    }
50503
 
+  fprintf (fp, "unknown");
50504
 
+  return (fclose (fp) != 0);
50505
 
+}
50506
 
+        
50507
 
+_ACEOF
50508
 
+if ac_fn_c_try_run "$LINENO"; then :
50509
 
+  gl_cv_cc_double_expbit0=`cat conftest.out`
50510
 
+else
50511
 
+  gl_cv_cc_double_expbit0="unknown"
50512
 
+fi
50513
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50514
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
50515
 
+fi
50516
 
+
50517
 
+      rm -f conftest.out
50518
 
+    
50519
 
+fi
50520
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5
50521
 
+$as_echo "$gl_cv_cc_double_expbit0" >&6; }
50522
 
+  case "$gl_cv_cc_double_expbit0" in
50523
 
+    word*bit*)
50524
 
+      word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
50525
 
+      bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'`
50526
 
+      
50527
 
+cat >>confdefs.h <<_ACEOF
50528
 
+@%:@define DBL_EXPBIT0_WORD $word
50529
 
+_ACEOF
50530
 
+
50531
 
+      
50532
 
+cat >>confdefs.h <<_ACEOF
50533
 
+@%:@define DBL_EXPBIT0_BIT $bit
50534
 
+_ACEOF
50535
 
+
50536
 
+      ;;
50537
 
+  esac
50538
 
+
50539
 
+
50540
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
50541
 
+$as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
50542
 
+if ${gl_cv_cc_float_expbit0+:} false; then :
50543
 
+  $as_echo_n "(cached) " >&6
50544
 
+else
50545
 
+  
50546
 
+      if test "$cross_compiling" = yes; then :
50547
 
+  gl_cv_cc_float_expbit0="word 0 bit 23"
50548
 
+else
50549
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50550
 
+/* end confdefs.h.  */
50551
 
+
50552
 
+#include <float.h>
50553
 
+#include <stddef.h>
50554
 
+#include <stdio.h>
50555
 
+#include <string.h>
50556
 
+#define NWORDS \
50557
 
+  ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
50558
 
+typedef union { float value; unsigned int word[NWORDS]; } memory_float;
50559
 
+static unsigned int ored_words[NWORDS];
50560
 
+static unsigned int anded_words[NWORDS];
50561
 
+static void add_to_ored_words (float x)
50562
 
+{
50563
 
+  memory_float m;
50564
 
+  size_t i;
50565
 
+  /* Clear it first, in case
50566
 
+     sizeof (float) < sizeof (memory_float).  */
50567
 
+  memset (&m, 0, sizeof (memory_float));
50568
 
+  m.value = x;
50569
 
+  for (i = 0; i < NWORDS; i++)
50570
 
+    {
50571
 
+      ored_words[i] |= m.word[i];
50572
 
+      anded_words[i] &= m.word[i];
50573
 
+    }
50574
 
+}
50575
 
+int main ()
50576
 
+{
50577
 
+  size_t j;
50578
 
+  FILE *fp = fopen ("conftest.out", "w");
50579
 
+  if (fp == NULL)
50580
 
+    return 1;
50581
 
+  for (j = 0; j < NWORDS; j++)
50582
 
+    anded_words[j] = ~ (unsigned int) 0;
50583
 
+  add_to_ored_words (0.25f);
50584
 
+  add_to_ored_words (0.5f);
50585
 
+  add_to_ored_words (1.0f);
50586
 
+  add_to_ored_words (2.0f);
50587
 
+  add_to_ored_words (4.0f);
50588
 
+  /* Remove bits that are common (e.g. if representation of the first mantissa
50589
 
+     bit is explicit).  */
50590
 
+  for (j = 0; j < NWORDS; j++)
50591
 
+    ored_words[j] &= ~anded_words[j];
50592
 
+  /* Now find the nonzero word.  */
50593
 
+  for (j = 0; j < NWORDS; j++)
50594
 
+    if (ored_words[j] != 0)
50595
 
+      break;
50596
 
+  if (j < NWORDS)
50597
 
+    {
50598
 
+      size_t i;
50599
 
+      for (i = j + 1; i < NWORDS; i++)
50600
 
+        if (ored_words[i] != 0)
50601
 
+          {
50602
 
+            fprintf (fp, "unknown");
50603
 
+            return (fclose (fp) != 0);
50604
 
+          }
50605
 
+      for (i = 0; ; i++)
50606
 
+        if ((ored_words[j] >> i) & 1)
50607
 
+          {
50608
 
+            fprintf (fp, "word %d bit %d", (int) j, (int) i);
50609
 
+            return (fclose (fp) != 0);
50610
 
+          }
50611
 
+    }
50612
 
+  fprintf (fp, "unknown");
50613
 
+  return (fclose (fp) != 0);
50614
 
+}
50615
 
+        
50616
 
+_ACEOF
50617
 
+if ac_fn_c_try_run "$LINENO"; then :
50618
 
+  gl_cv_cc_float_expbit0=`cat conftest.out`
50619
 
+else
50620
 
+  gl_cv_cc_float_expbit0="unknown"
50621
 
+fi
50622
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50623
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
50624
 
+fi
50625
 
+
50626
 
+      rm -f conftest.out
50627
 
+    
50628
 
+fi
50629
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5
50630
 
+$as_echo "$gl_cv_cc_float_expbit0" >&6; }
50631
 
+  case "$gl_cv_cc_float_expbit0" in
50632
 
+    word*bit*)
50633
 
+      word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
50634
 
+      bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'`
50635
 
+      
50636
 
+cat >>confdefs.h <<_ACEOF
50637
 
+@%:@define FLT_EXPBIT0_WORD $word
50638
 
+_ACEOF
50639
 
+
50640
 
+      
50641
 
+cat >>confdefs.h <<_ACEOF
50642
 
+@%:@define FLT_EXPBIT0_BIT $bit
50643
 
+_ACEOF
50644
 
+
50645
 
+      ;;
50646
 
+  esac
50647
 
+
50648
 
+
50649
 
+  
50650
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5
50651
 
+$as_echo_n "checking where to find the exponent in a 'long double'... " >&6; }
50652
 
+if ${gl_cv_cc_long_double_expbit0+:} false; then :
50653
 
+  $as_echo_n "(cached) " >&6
50654
 
+else
50655
 
+  
50656
 
+      if test "$cross_compiling" = yes; then :
50657
 
+  
50658
 
+                              gl_cv_cc_long_double_expbit0="unknown"
50659
 
+        
50660
 
+else
50661
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50662
 
+/* end confdefs.h.  */
50663
 
+
50664
 
+#include <float.h>
50665
 
+#include <stddef.h>
50666
 
+#include <stdio.h>
50667
 
+#include <string.h>
50668
 
+#define NWORDS \
50669
 
+  ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
50670
 
+typedef union { long double value; unsigned int word[NWORDS]; }
50671
 
+        memory_long_double;
50672
 
+static unsigned int ored_words[NWORDS];
50673
 
+static unsigned int anded_words[NWORDS];
50674
 
+static void add_to_ored_words (long double x)
50675
 
+{
50676
 
+  memory_long_double m;
50677
 
+  size_t i;
50678
 
+  /* Clear it first, in case
50679
 
+     sizeof (long double) < sizeof (memory_long_double).  */
50680
 
+  memset (&m, 0, sizeof (memory_long_double));
50681
 
+  m.value = x;
50682
 
+  for (i = 0; i < NWORDS; i++)
50683
 
+    {
50684
 
+      ored_words[i] |= m.word[i];
50685
 
+      anded_words[i] &= m.word[i];
50686
 
+    }
50687
 
+}
50688
 
+int main ()
50689
 
+{
50690
 
+  size_t j;
50691
 
+  FILE *fp = fopen ("conftest.out", "w");
50692
 
+  if (fp == NULL)
50693
 
+    return 1;
50694
 
+  for (j = 0; j < NWORDS; j++)
50695
 
+    anded_words[j] = ~ (unsigned int) 0;
50696
 
+  add_to_ored_words (0.25L);
50697
 
+  add_to_ored_words (0.5L);
50698
 
+  add_to_ored_words (1.0L);
50699
 
+  add_to_ored_words (2.0L);
50700
 
+  add_to_ored_words (4.0L);
50701
 
+  /* Remove bits that are common (e.g. if representation of the first mantissa
50702
 
+     bit is explicit).  */
50703
 
+  for (j = 0; j < NWORDS; j++)
50704
 
+    ored_words[j] &= ~anded_words[j];
50705
 
+  /* Now find the nonzero word.  */
50706
 
+  for (j = 0; j < NWORDS; j++)
50707
 
+    if (ored_words[j] != 0)
50708
 
+      break;
50709
 
+  if (j < NWORDS)
50710
 
+    {
50711
 
+      size_t i;
50712
 
+      for (i = j + 1; i < NWORDS; i++)
50713
 
+        if (ored_words[i] != 0)
50714
 
+          {
50715
 
+            fprintf (fp, "unknown");
50716
 
+            return (fclose (fp) != 0);
50717
 
+          }
50718
 
+      for (i = 0; ; i++)
50719
 
+        if ((ored_words[j] >> i) & 1)
50720
 
+          {
50721
 
+            fprintf (fp, "word %d bit %d", (int) j, (int) i);
50722
 
+            return (fclose (fp) != 0);
50723
 
+          }
50724
 
+    }
50725
 
+  fprintf (fp, "unknown");
50726
 
+  return (fclose (fp) != 0);
50727
 
+}
50728
 
+        
50729
 
+_ACEOF
50730
 
+if ac_fn_c_try_run "$LINENO"; then :
50731
 
+  gl_cv_cc_long_double_expbit0=`cat conftest.out`
50732
 
+else
50733
 
+  gl_cv_cc_long_double_expbit0="unknown"
50734
 
+fi
50735
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50736
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
50737
 
+fi
50738
 
+
50739
 
+      rm -f conftest.out
50740
 
+    
50741
 
+fi
50742
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_expbit0" >&5
50743
 
+$as_echo "$gl_cv_cc_long_double_expbit0" >&6; }
50744
 
+  case "$gl_cv_cc_long_double_expbit0" in
50745
 
+    word*bit*)
50746
 
+      word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
50747
 
+      bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'`
50748
 
+      
50749
 
+cat >>confdefs.h <<_ACEOF
50750
 
+@%:@define LDBL_EXPBIT0_WORD $word
50751
 
+_ACEOF
50752
 
+
50753
 
+      
50754
 
+cat >>confdefs.h <<_ACEOF
50755
 
+@%:@define LDBL_EXPBIT0_BIT $bit
50756
 
+_ACEOF
50757
 
+
50758
 
+      ;;
50759
 
+  esac
50760
 
+
50761
 
+
50762
 
+
50763
 
+if test "$ac_cv_header_winsock2_h" = yes; then
50764
 
+  
50765
 
+  
50766
 
+  
50767
 
+    
50768
 
+      
50769
 
+      
50770
 
+    
50771
 
+  
50772
 
+  gltests_LIBOBJS="$gltests_LIBOBJS listen.$ac_objext"
50773
 
+
50774
 
+fi
50775
 
+
50776
 
+    
50777
 
+  
50778
 
+  
50779
 
+  
50780
 
+    if test "$GNULIB_LISTEN" != 1; then
50781
 
+        if test "$GNULIB_LISTEN" = 0; then
50782
 
+      GNULIB_LISTEN=$gl_module_indicator_condition
50783
 
+    else
50784
 
+      GNULIB_LISTEN="($GNULIB_LISTEN || $gl_module_indicator_condition)"
50785
 
+    fi
50786
 
+  fi
50787
 
+
50788
 
+
50789
 
+
50790
 
+    
50791
 
+  
50792
 
+$as_echo "@%:@define GNULIB_TEST_LISTEN 1" >>confdefs.h
50793
 
+
50794
 
+
50795
 
+
50796
 
+
50797
 
+
50798
 
+  
50799
 
+  
50800
 
+  for ac_func in setlocale uselocale
50801
 
+do :
50802
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50803
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50804
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50805
 
+  cat >>confdefs.h <<_ACEOF
50806
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50807
 
+_ACEOF
50808
 
50809
 
+fi
50810
 
+done
50811
 
+
50812
 
+
50813
 
+
50814
 
+
50815
 
+  
50816
 
+  
50817
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
50818
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
50819
 
+if ${gt_cv_locale_fr+:} false; then :
50820
 
+  $as_echo_n "(cached) " >&6
50821
 
+else
50822
 
+  
50823
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50824
 
+/* end confdefs.h.  */
50825
 
+
50826
 
+#include <locale.h>
50827
 
+#include <time.h>
50828
 
+#if HAVE_LANGINFO_CODESET
50829
 
+# include <langinfo.h>
50830
 
+#endif
50831
 
+#include <stdlib.h>
50832
 
+#include <string.h>
50833
 
+struct tm t;
50834
 
+char buf[16];
50835
 
+int main () {
50836
 
+  /* Check whether the given locale name is recognized by the system.  */
50837
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
50838
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
50839
 
+     not at the environment variables.  Also, when an encoding suffix such
50840
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
50841
 
+     category of the locale to "C".  */
50842
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
50843
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
50844
 
+    return 1;
50845
 
+#else
50846
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
50847
 
+#endif
50848
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
50849
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
50850
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
50851
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
50852
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
50853
 
+     some unit tests fail.
50854
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
50855
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
50856
 
+#if HAVE_LANGINFO_CODESET
50857
 
+  {
50858
 
+    const char *cs = nl_langinfo (CODESET);
50859
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
50860
 
+        || strcmp (cs, "UTF-8") == 0)
50861
 
+      return 1;
50862
 
+  }
50863
 
+#endif
50864
 
+#ifdef __CYGWIN__
50865
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
50866
 
+     locale_charset() function relies on the encoding suffix.  Note that
50867
 
+     LC_ALL is set on the command line.  */
50868
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
50869
 
+#endif
50870
 
+  /* Check whether in the abbreviation of the second month, the second
50871
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
50872
 
+     one byte long. This excludes the UTF-8 encoding.  */
50873
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
50874
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
50875
 
+  /* Check whether the decimal separator is a comma.
50876
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
50877
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
50878
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
50879
 
+  return 0;
50880
 
+}
50881
 
+      
50882
 
+_ACEOF
50883
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
50884
 
+  (eval $ac_link) 2>&5
50885
 
+  ac_status=$?
50886
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
50887
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
50888
 
+      case "$host_os" in
50889
 
+        # Handle native Windows specially, because there setlocale() interprets
50890
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
50891
 
+        # "fr" or "fra" as "French" or "French_France.1252",
50892
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
50893
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
50894
 
+        # and similar.
50895
 
+        mingw*)
50896
 
+          # Test for the native Win32 locale name.
50897
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50898
 
+            gt_cv_locale_fr=French_France.1252
50899
 
+          else
50900
 
+            # None found.
50901
 
+            gt_cv_locale_fr=none
50902
 
+          fi
50903
 
+          ;;
50904
 
+        *)
50905
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
50906
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
50907
 
+          # configure script would override the LC_ALL setting. Likewise for
50908
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
50909
 
+          # Test for the usual locale name.
50910
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50911
 
+            gt_cv_locale_fr=fr_FR
50912
 
+          else
50913
 
+            # Test for the locale name with explicit encoding suffix.
50914
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50915
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
50916
 
+            else
50917
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
50918
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50919
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
50920
 
+              else
50921
 
+                # Test for the HP-UX locale name.
50922
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50923
 
+                  gt_cv_locale_fr=fr_FR.iso88591
50924
 
+                else
50925
 
+                  # Test for the Solaris 7 locale name.
50926
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
50927
 
+                    gt_cv_locale_fr=fr
50928
 
+                  else
50929
 
+                    # None found.
50930
 
+                    gt_cv_locale_fr=none
50931
 
+                  fi
50932
 
+                fi
50933
 
+              fi
50934
 
+            fi
50935
 
+          fi
50936
 
+          ;;
50937
 
+      esac
50938
 
+    fi
50939
 
+    rm -fr conftest*
50940
 
+  
50941
 
+fi
50942
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
50943
 
+$as_echo "$gt_cv_locale_fr" >&6; }
50944
 
+  LOCALE_FR=$gt_cv_locale_fr
50945
 
+  
50946
 
+
50947
 
+
50948
 
+  
50949
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
50950
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
50951
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
50952
 
+  $as_echo_n "(cached) " >&6
50953
 
+else
50954
 
+  
50955
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50956
 
+/* end confdefs.h.  */
50957
 
+
50958
 
+#include <locale.h>
50959
 
+#include <time.h>
50960
 
+#if HAVE_LANGINFO_CODESET
50961
 
+# include <langinfo.h>
50962
 
+#endif
50963
 
+#include <stdlib.h>
50964
 
+#include <string.h>
50965
 
+struct tm t;
50966
 
+char buf[16];
50967
 
+int main () {
50968
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
50969
 
+     imitates locale dependent behaviour by looking at the environment
50970
 
+     variables, and all locales use the UTF-8 encoding.  */
50971
 
+#if !(defined __BEOS__ || defined __HAIKU__)
50972
 
+  /* Check whether the given locale name is recognized by the system.  */
50973
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
50974
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
50975
 
+     not at the environment variables.  Also, when an encoding suffix such
50976
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
50977
 
+     category of the locale to "C".  */
50978
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
50979
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
50980
 
+    return 1;
50981
 
+# else
50982
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
50983
 
+# endif
50984
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
50985
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
50986
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
50987
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
50988
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
50989
 
+     some unit tests fail.  */
50990
 
+# if HAVE_LANGINFO_CODESET
50991
 
+  {
50992
 
+    const char *cs = nl_langinfo (CODESET);
50993
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
50994
 
+      return 1;
50995
 
+  }
50996
 
+# endif
50997
 
+# ifdef __CYGWIN__
50998
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
50999
 
+     locale_charset() function relies on the encoding suffix.  Note that
51000
 
+     LC_ALL is set on the command line.  */
51001
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
51002
 
+# endif
51003
 
+  /* Check whether in the abbreviation of the second month, the second
51004
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
51005
 
+     two bytes long, with UTF-8 encoding.  */
51006
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
51007
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
51008
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
51009
 
+    return 1;
51010
 
+#endif
51011
 
+  /* Check whether the decimal separator is a comma.
51012
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
51013
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
51014
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
51015
 
+  return 0;
51016
 
+}
51017
 
+      
51018
 
+_ACEOF
51019
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
51020
 
+  (eval $ac_link) 2>&5
51021
 
+  ac_status=$?
51022
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
51023
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
51024
 
+      case "$host_os" in
51025
 
+        # Handle native Windows specially, because there setlocale() interprets
51026
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
51027
 
+        # "fr" or "fra" as "French" or "French_France.1252",
51028
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
51029
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
51030
 
+        # and similar.
51031
 
+        mingw*)
51032
 
+          # Test for the hypothetical native Win32 locale name.
51033
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51034
 
+            gt_cv_locale_fr_utf8=French_France.65001
51035
 
+          else
51036
 
+            # None found.
51037
 
+            gt_cv_locale_fr_utf8=none
51038
 
+          fi
51039
 
+          ;;
51040
 
+        *)
51041
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
51042
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
51043
 
+          # configure script would override the LC_ALL setting. Likewise for
51044
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
51045
 
+          # Test for the usual locale name.
51046
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51047
 
+            gt_cv_locale_fr_utf8=fr_FR
51048
 
+          else
51049
 
+            # Test for the locale name with explicit encoding suffix.
51050
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51051
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
51052
 
+            else
51053
 
+              # Test for the Solaris 7 locale name.
51054
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51055
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
51056
 
+              else
51057
 
+                # None found.
51058
 
+                gt_cv_locale_fr_utf8=none
51059
 
+              fi
51060
 
+            fi
51061
 
+          fi
51062
 
+          ;;
51063
 
+      esac
51064
 
+    fi
51065
 
+    rm -fr conftest*
51066
 
+  
51067
 
+fi
51068
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
51069
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
51070
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
51071
 
+  
51072
 
+
51073
 
+
51074
 
+  
51075
 
+  
51076
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
51077
 
+$as_echo_n "checking for a traditional japanese locale... " >&6; }
51078
 
+if ${gt_cv_locale_ja+:} false; then :
51079
 
+  $as_echo_n "(cached) " >&6
51080
 
+else
51081
 
+  
51082
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51083
 
+/* end confdefs.h.  */
51084
 
+
51085
 
+#include <locale.h>
51086
 
+#include <time.h>
51087
 
+#if HAVE_LANGINFO_CODESET
51088
 
+# include <langinfo.h>
51089
 
+#endif
51090
 
+#include <stdlib.h>
51091
 
+#include <string.h>
51092
 
+struct tm t;
51093
 
+char buf[16];
51094
 
+int main ()
51095
 
+{
51096
 
+  const char *p;
51097
 
+  /* Check whether the given locale name is recognized by the system.  */
51098
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
51099
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
51100
 
+     not at the environment variables.  Also, when an encoding suffix such
51101
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
51102
 
+     category of the locale to "C".  */
51103
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
51104
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
51105
 
+    return 1;
51106
 
+#else
51107
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
51108
 
+#endif
51109
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
51110
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
51111
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
51112
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
51113
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
51114
 
+     some unit tests fail.
51115
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
51116
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
51117
 
+#if HAVE_LANGINFO_CODESET
51118
 
+  {
51119
 
+    const char *cs = nl_langinfo (CODESET);
51120
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
51121
 
+        || strcmp (cs, "UTF-8") == 0)
51122
 
+      return 1;
51123
 
+  }
51124
 
+#endif
51125
 
+#ifdef __CYGWIN__
51126
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
51127
 
+     locale_charset() function relies on the encoding suffix.  Note that
51128
 
+     LC_ALL is set on the command line.  */
51129
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
51130
 
+#endif
51131
 
+  /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
51132
 
+     on Cygwin 1.5.x.  */
51133
 
+  if (MB_CUR_MAX == 1)
51134
 
+    return 1;
51135
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
51136
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
51137
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
51138
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
51139
 
+  for (p = buf; *p != '\0'; p++)
51140
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
51141
 
+      return 1;
51142
 
+  return 0;
51143
 
+}
51144
 
+      
51145
 
+_ACEOF
51146
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
51147
 
+  (eval $ac_link) 2>&5
51148
 
+  ac_status=$?
51149
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
51150
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
51151
 
+      case "$host_os" in
51152
 
+        # Handle native Windows specially, because there setlocale() interprets
51153
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
51154
 
+        # "fr" or "fra" as "French" or "French_France.1252",
51155
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
51156
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
51157
 
+        # and similar.
51158
 
+        mingw*)
51159
 
+          # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
51160
 
+          # and CP932 is very different from EUC-JP, so we cannot use it here.
51161
 
+          gt_cv_locale_ja=none
51162
 
+          ;;
51163
 
+        *)
51164
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
51165
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
51166
 
+          # configure script would override the LC_ALL setting. Likewise for
51167
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
51168
 
+          # Test for the AIX locale name.
51169
 
+          if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51170
 
+            gt_cv_locale_ja=ja_JP
51171
 
+          else
51172
 
+            # Test for the locale name with explicit encoding suffix.
51173
 
+            if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51174
 
+              gt_cv_locale_ja=ja_JP.EUC-JP
51175
 
+            else
51176
 
+              # Test for the HP-UX, OSF/1, NetBSD locale name.
51177
 
+              if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51178
 
+                gt_cv_locale_ja=ja_JP.eucJP
51179
 
+              else
51180
 
+                # Test for the IRIX, FreeBSD locale name.
51181
 
+                if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51182
 
+                  gt_cv_locale_ja=ja_JP.EUC
51183
 
+                else
51184
 
+                  # Test for the Solaris 7 locale name.
51185
 
+                  if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51186
 
+                    gt_cv_locale_ja=ja
51187
 
+                  else
51188
 
+                    # Special test for NetBSD 1.6.
51189
 
+                    if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
51190
 
+                      gt_cv_locale_ja=ja_JP.eucJP
51191
 
+                    else
51192
 
+                      # None found.
51193
 
+                      gt_cv_locale_ja=none
51194
 
+                    fi
51195
 
+                  fi
51196
 
+                fi
51197
 
+              fi
51198
 
+            fi
51199
 
+          fi
51200
 
+          ;;
51201
 
+      esac
51202
 
+    fi
51203
 
+    rm -fr conftest*
51204
 
+  
51205
 
+fi
51206
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
51207
 
+$as_echo "$gt_cv_locale_ja" >&6; }
51208
 
+  LOCALE_JA=$gt_cv_locale_ja
51209
 
+  
51210
 
+
51211
 
+
51212
 
+  
51213
 
+  
51214
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
51215
 
+$as_echo_n "checking for a transitional chinese locale... " >&6; }
51216
 
+if ${gt_cv_locale_zh_CN+:} false; then :
51217
 
+  $as_echo_n "(cached) " >&6
51218
 
+else
51219
 
+  
51220
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51221
 
+/* end confdefs.h.  */
51222
 
+
51223
 
+#include <locale.h>
51224
 
+#include <stdlib.h>
51225
 
+#include <time.h>
51226
 
+#if HAVE_LANGINFO_CODESET
51227
 
+# include <langinfo.h>
51228
 
+#endif
51229
 
+#include <stdlib.h>
51230
 
+#include <string.h>
51231
 
+struct tm t;
51232
 
+char buf[16];
51233
 
+int main ()
51234
 
+{
51235
 
+  const char *p;
51236
 
+  /* Check whether the given locale name is recognized by the system.  */
51237
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
51238
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
51239
 
+     not at the environment variables.  Also, when an encoding suffix such
51240
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
51241
 
+     category of the locale to "C".  */
51242
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
51243
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
51244
 
+    return 1;
51245
 
+#else
51246
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
51247
 
+#endif
51248
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
51249
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
51250
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
51251
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
51252
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
51253
 
+     some unit tests fail.
51254
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
51255
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
51256
 
+#if HAVE_LANGINFO_CODESET
51257
 
+  {
51258
 
+    const char *cs = nl_langinfo (CODESET);
51259
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
51260
 
+        || strcmp (cs, "UTF-8") == 0)
51261
 
+      return 1;
51262
 
+  }
51263
 
+#endif
51264
 
+#ifdef __CYGWIN__
51265
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
51266
 
+     locale_charset() function relies on the encoding suffix.  Note that
51267
 
+     LC_ALL is set on the command line.  */
51268
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
51269
 
+#endif
51270
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
51271
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
51272
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
51273
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
51274
 
+  for (p = buf; *p != '\0'; p++)
51275
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
51276
 
+      return 1;
51277
 
+  /* Check whether a typical GB18030 multibyte sequence is recognized as a
51278
 
+     single wide character.  This excludes the GB2312 and GBK encodings.  */
51279
 
+  if (mblen ("\203\062\332\066", 5) != 4)
51280
 
+    return 1;
51281
 
+  return 0;
51282
 
+}
51283
 
+      
51284
 
+_ACEOF
51285
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
51286
 
+  (eval $ac_link) 2>&5
51287
 
+  ac_status=$?
51288
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
51289
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
51290
 
+      case "$host_os" in
51291
 
+        # Handle native Windows specially, because there setlocale() interprets
51292
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
51293
 
+        # "fr" or "fra" as "French" or "French_France.1252",
51294
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
51295
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
51296
 
+        # and similar.
51297
 
+        mingw*)
51298
 
+          # Test for the hypothetical native Win32 locale name.
51299
 
+          if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51300
 
+            gt_cv_locale_zh_CN=Chinese_China.54936
51301
 
+          else
51302
 
+            # None found.
51303
 
+            gt_cv_locale_zh_CN=none
51304
 
+          fi
51305
 
+          ;;
51306
 
+        solaris2.8)
51307
 
+          # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
51308
 
+          # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
51309
 
+          # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
51310
 
+          gt_cv_locale_zh_CN=none
51311
 
+          ;;
51312
 
+        *)
51313
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
51314
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
51315
 
+          # configure script would override the LC_ALL setting. Likewise for
51316
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
51317
 
+          # Test for the locale name without encoding suffix.
51318
 
+          if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51319
 
+            gt_cv_locale_zh_CN=zh_CN
51320
 
+          else
51321
 
+            # Test for the locale name with explicit encoding suffix.
51322
 
+            if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51323
 
+              gt_cv_locale_zh_CN=zh_CN.GB18030
51324
 
+            else
51325
 
+              # None found.
51326
 
+              gt_cv_locale_zh_CN=none
51327
 
+            fi
51328
 
+          fi
51329
 
+          ;;
51330
 
+      esac
51331
 
+    else
51332
 
+      # If there was a link error, due to mblen(), the system is so old that
51333
 
+      # it certainly doesn't have a chinese locale.
51334
 
+      gt_cv_locale_zh_CN=none
51335
 
+    fi
51336
 
+    rm -fr conftest*
51337
 
+  
51338
 
+fi
51339
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
51340
 
+$as_echo "$gt_cv_locale_zh_CN" >&6; }
51341
 
+  LOCALE_ZH_CN=$gt_cv_locale_zh_CN
51342
 
+  
51343
 
+
51344
 
+
51345
 
+  
51346
 
+  
51347
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a turkish Unicode locale" >&5
51348
 
+$as_echo_n "checking for a turkish Unicode locale... " >&6; }
51349
 
+if ${gt_cv_locale_tr_utf8+:} false; then :
51350
 
+  $as_echo_n "(cached) " >&6
51351
 
+else
51352
 
+  
51353
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51354
 
+/* end confdefs.h.  */
51355
 
+
51356
 
+#include <locale.h>
51357
 
+#include <time.h>
51358
 
+#if HAVE_LANGINFO_CODESET
51359
 
+# include <langinfo.h>
51360
 
+#endif
51361
 
+#include <stdlib.h>
51362
 
+#include <string.h>
51363
 
+struct tm t;
51364
 
+char buf[16];
51365
 
+int main () {
51366
 
+  /* On BeOS, locales are not implemented in libc.  Rather, libintl
51367
 
+     imitates locale dependent behaviour by looking at the environment
51368
 
+     variables, and all locales use the UTF-8 encoding.  But BeOS does not
51369
 
+     implement the Turkish upper-/lowercase mappings.  Therefore, let this
51370
 
+     program return 1 on BeOS.  */
51371
 
+  /* Check whether the given locale name is recognized by the system.  */
51372
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
51373
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
51374
 
+     not at the environment variables.  Also, when an encoding suffix such
51375
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
51376
 
+     category of the locale to "C".  */
51377
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
51378
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
51379
 
+    return 1;
51380
 
+#else
51381
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
51382
 
+#endif
51383
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
51384
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET)
51385
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
51386
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
51387
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
51388
 
+     some unit tests fail.  */
51389
 
+#if HAVE_LANGINFO_CODESET
51390
 
+  {
51391
 
+    const char *cs = nl_langinfo (CODESET);
51392
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
51393
 
+      return 1;
51394
 
+  }
51395
 
+#endif
51396
 
+#ifdef __CYGWIN__
51397
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
51398
 
+     locale_charset() function relies on the encoding suffix.  Note that
51399
 
+     LC_ALL is set on the command line.  */
51400
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
51401
 
+#endif
51402
 
+  /* Check whether in the abbreviation of the eighth month, the second
51403
 
+     character (should be U+011F: LATIN SMALL LETTER G WITH BREVE) is
51404
 
+     two bytes long, with UTF-8 encoding.  */
51405
 
+  t.tm_year = 1992 - 1900; t.tm_mon = 8 - 1; t.tm_mday = 19;
51406
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
51407
 
+      || buf[1] != (char) 0xc4 || buf[2] != (char) 0x9f)
51408
 
+    return 1;
51409
 
+  /* Check whether the upper-/lowercase mappings are as expected for
51410
 
+     Turkish.  */
51411
 
+  if (towupper ('i') != 0x0130 || towlower (0x0130) != 'i'
51412
 
+      || towupper(0x0131) != 'I' || towlower ('I') != 0x0131)
51413
 
+    return 1;
51414
 
+  return 0;
51415
 
+}
51416
 
+      
51417
 
+_ACEOF
51418
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
51419
 
+  (eval $ac_link) 2>&5
51420
 
+  ac_status=$?
51421
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
51422
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
51423
 
+      case "$host_os" in
51424
 
+        # Handle native Windows specially, because there setlocale() interprets
51425
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
51426
 
+        # "fr" or "fra" as "French" or "French_France.1252",
51427
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
51428
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
51429
 
+        # and similar.
51430
 
+        mingw*)
51431
 
+          # Test for the hypothetical native Win32 locale name.
51432
 
+          if (LC_ALL=Turkish_Turkey.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51433
 
+            gt_cv_locale_tr_utf8=Turkish_Turkey.65001
51434
 
+          else
51435
 
+            # None found.
51436
 
+            gt_cv_locale_tr_utf8=none
51437
 
+          fi
51438
 
+          ;;
51439
 
+        *)
51440
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
51441
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
51442
 
+          # configure script would override the LC_ALL setting. Likewise for
51443
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
51444
 
+          # Test for the usual locale name.
51445
 
+          if (LC_ALL=tr_TR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51446
 
+            gt_cv_locale_tr_utf8=tr_TR
51447
 
+          else
51448
 
+            # Test for the locale name with explicit encoding suffix.
51449
 
+            if (LC_ALL=tr_TR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51450
 
+              gt_cv_locale_tr_utf8=tr_TR.UTF-8
51451
 
+            else
51452
 
+              # Test for the Solaris 7 locale name.
51453
 
+              if (LC_ALL=tr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51454
 
+                gt_cv_locale_tr_utf8=tr.UTF-8
51455
 
+              else
51456
 
+                # None found.
51457
 
+                gt_cv_locale_tr_utf8=none
51458
 
+              fi
51459
 
+            fi
51460
 
+          fi
51461
 
+          ;;
51462
 
+      esac
51463
 
+    else
51464
 
+      gt_cv_locale_tr_utf8=none
51465
 
+    fi
51466
 
+    rm -fr conftest*
51467
 
+  
51468
 
+fi
51469
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_tr_utf8" >&5
51470
 
+$as_echo "$gt_cv_locale_tr_utf8" >&6; }
51471
 
+  LOCALE_TR_UTF8=$gt_cv_locale_tr_utf8
51472
 
+  
51473
 
+
51474
 
+
51475
 
+  
51476
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
51477
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
51478
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
51479
 
+  $as_echo_n "(cached) " >&6
51480
 
+else
51481
 
+  
51482
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51483
 
+/* end confdefs.h.  */
51484
 
+
51485
 
+#include <locale.h>
51486
 
+#include <time.h>
51487
 
+#if HAVE_LANGINFO_CODESET
51488
 
+# include <langinfo.h>
51489
 
+#endif
51490
 
+#include <stdlib.h>
51491
 
+#include <string.h>
51492
 
+struct tm t;
51493
 
+char buf[16];
51494
 
+int main () {
51495
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
51496
 
+     imitates locale dependent behaviour by looking at the environment
51497
 
+     variables, and all locales use the UTF-8 encoding.  */
51498
 
+#if !(defined __BEOS__ || defined __HAIKU__)
51499
 
+  /* Check whether the given locale name is recognized by the system.  */
51500
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
51501
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
51502
 
+     not at the environment variables.  Also, when an encoding suffix such
51503
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
51504
 
+     category of the locale to "C".  */
51505
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
51506
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
51507
 
+    return 1;
51508
 
+# else
51509
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
51510
 
+# endif
51511
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
51512
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
51513
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
51514
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
51515
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
51516
 
+     some unit tests fail.  */
51517
 
+# if HAVE_LANGINFO_CODESET
51518
 
+  {
51519
 
+    const char *cs = nl_langinfo (CODESET);
51520
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
51521
 
+      return 1;
51522
 
+  }
51523
 
+# endif
51524
 
+# ifdef __CYGWIN__
51525
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
51526
 
+     locale_charset() function relies on the encoding suffix.  Note that
51527
 
+     LC_ALL is set on the command line.  */
51528
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
51529
 
+# endif
51530
 
+  /* Check whether in the abbreviation of the second month, the second
51531
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
51532
 
+     two bytes long, with UTF-8 encoding.  */
51533
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
51534
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
51535
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
51536
 
+    return 1;
51537
 
+#endif
51538
 
+  /* Check whether the decimal separator is a comma.
51539
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
51540
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
51541
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
51542
 
+  return 0;
51543
 
+}
51544
 
+      
51545
 
+_ACEOF
51546
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
51547
 
+  (eval $ac_link) 2>&5
51548
 
+  ac_status=$?
51549
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
51550
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
51551
 
+      case "$host_os" in
51552
 
+        # Handle native Windows specially, because there setlocale() interprets
51553
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
51554
 
+        # "fr" or "fra" as "French" or "French_France.1252",
51555
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
51556
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
51557
 
+        # and similar.
51558
 
+        mingw*)
51559
 
+          # Test for the hypothetical native Win32 locale name.
51560
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51561
 
+            gt_cv_locale_fr_utf8=French_France.65001
51562
 
+          else
51563
 
+            # None found.
51564
 
+            gt_cv_locale_fr_utf8=none
51565
 
+          fi
51566
 
+          ;;
51567
 
+        *)
51568
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
51569
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
51570
 
+          # configure script would override the LC_ALL setting. Likewise for
51571
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
51572
 
+          # Test for the usual locale name.
51573
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51574
 
+            gt_cv_locale_fr_utf8=fr_FR
51575
 
+          else
51576
 
+            # Test for the locale name with explicit encoding suffix.
51577
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51578
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
51579
 
+            else
51580
 
+              # Test for the Solaris 7 locale name.
51581
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51582
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
51583
 
+              else
51584
 
+                # None found.
51585
 
+                gt_cv_locale_fr_utf8=none
51586
 
+              fi
51587
 
+            fi
51588
 
+          fi
51589
 
+          ;;
51590
 
+      esac
51591
 
+    fi
51592
 
+    rm -fr conftest*
51593
 
+  
51594
 
+fi
51595
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
51596
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
51597
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
51598
 
+  
51599
 
+
51600
 
+
51601
 
+  
51602
 
+  
51603
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
51604
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
51605
 
+if ${gt_cv_locale_fr+:} false; then :
51606
 
+  $as_echo_n "(cached) " >&6
51607
 
+else
51608
 
+  
51609
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51610
 
+/* end confdefs.h.  */
51611
 
+
51612
 
+#include <locale.h>
51613
 
+#include <time.h>
51614
 
+#if HAVE_LANGINFO_CODESET
51615
 
+# include <langinfo.h>
51616
 
+#endif
51617
 
+#include <stdlib.h>
51618
 
+#include <string.h>
51619
 
+struct tm t;
51620
 
+char buf[16];
51621
 
+int main () {
51622
 
+  /* Check whether the given locale name is recognized by the system.  */
51623
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
51624
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
51625
 
+     not at the environment variables.  Also, when an encoding suffix such
51626
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
51627
 
+     category of the locale to "C".  */
51628
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
51629
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
51630
 
+    return 1;
51631
 
+#else
51632
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
51633
 
+#endif
51634
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
51635
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
51636
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
51637
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
51638
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
51639
 
+     some unit tests fail.
51640
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
51641
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
51642
 
+#if HAVE_LANGINFO_CODESET
51643
 
+  {
51644
 
+    const char *cs = nl_langinfo (CODESET);
51645
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
51646
 
+        || strcmp (cs, "UTF-8") == 0)
51647
 
+      return 1;
51648
 
+  }
51649
 
+#endif
51650
 
+#ifdef __CYGWIN__
51651
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
51652
 
+     locale_charset() function relies on the encoding suffix.  Note that
51653
 
+     LC_ALL is set on the command line.  */
51654
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
51655
 
+#endif
51656
 
+  /* Check whether in the abbreviation of the second month, the second
51657
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
51658
 
+     one byte long. This excludes the UTF-8 encoding.  */
51659
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
51660
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
51661
 
+  /* Check whether the decimal separator is a comma.
51662
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
51663
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
51664
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
51665
 
+  return 0;
51666
 
+}
51667
 
+      
51668
 
+_ACEOF
51669
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
51670
 
+  (eval $ac_link) 2>&5
51671
 
+  ac_status=$?
51672
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
51673
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
51674
 
+      case "$host_os" in
51675
 
+        # Handle native Windows specially, because there setlocale() interprets
51676
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
51677
 
+        # "fr" or "fra" as "French" or "French_France.1252",
51678
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
51679
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
51680
 
+        # and similar.
51681
 
+        mingw*)
51682
 
+          # Test for the native Win32 locale name.
51683
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51684
 
+            gt_cv_locale_fr=French_France.1252
51685
 
+          else
51686
 
+            # None found.
51687
 
+            gt_cv_locale_fr=none
51688
 
+          fi
51689
 
+          ;;
51690
 
+        *)
51691
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
51692
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
51693
 
+          # configure script would override the LC_ALL setting. Likewise for
51694
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
51695
 
+          # Test for the usual locale name.
51696
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51697
 
+            gt_cv_locale_fr=fr_FR
51698
 
+          else
51699
 
+            # Test for the locale name with explicit encoding suffix.
51700
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51701
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
51702
 
+            else
51703
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
51704
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51705
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
51706
 
+              else
51707
 
+                # Test for the HP-UX locale name.
51708
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51709
 
+                  gt_cv_locale_fr=fr_FR.iso88591
51710
 
+                else
51711
 
+                  # Test for the Solaris 7 locale name.
51712
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51713
 
+                    gt_cv_locale_fr=fr
51714
 
+                  else
51715
 
+                    # None found.
51716
 
+                    gt_cv_locale_fr=none
51717
 
+                  fi
51718
 
+                fi
51719
 
+              fi
51720
 
+            fi
51721
 
+          fi
51722
 
+          ;;
51723
 
+      esac
51724
 
+    fi
51725
 
+    rm -fr conftest*
51726
 
+  
51727
 
+fi
51728
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
51729
 
+$as_echo "$gt_cv_locale_fr" >&6; }
51730
 
+  LOCALE_FR=$gt_cv_locale_fr
51731
 
+  
51732
 
+
51733
 
+
51734
 
+  
51735
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
51736
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
51737
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
51738
 
+  $as_echo_n "(cached) " >&6
51739
 
+else
51740
 
+  
51741
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51742
 
+/* end confdefs.h.  */
51743
 
+
51744
 
+#include <locale.h>
51745
 
+#include <time.h>
51746
 
+#if HAVE_LANGINFO_CODESET
51747
 
+# include <langinfo.h>
51748
 
+#endif
51749
 
+#include <stdlib.h>
51750
 
+#include <string.h>
51751
 
+struct tm t;
51752
 
+char buf[16];
51753
 
+int main () {
51754
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
51755
 
+     imitates locale dependent behaviour by looking at the environment
51756
 
+     variables, and all locales use the UTF-8 encoding.  */
51757
 
+#if !(defined __BEOS__ || defined __HAIKU__)
51758
 
+  /* Check whether the given locale name is recognized by the system.  */
51759
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
51760
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
51761
 
+     not at the environment variables.  Also, when an encoding suffix such
51762
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
51763
 
+     category of the locale to "C".  */
51764
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
51765
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
51766
 
+    return 1;
51767
 
+# else
51768
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
51769
 
+# endif
51770
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
51771
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
51772
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
51773
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
51774
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
51775
 
+     some unit tests fail.  */
51776
 
+# if HAVE_LANGINFO_CODESET
51777
 
+  {
51778
 
+    const char *cs = nl_langinfo (CODESET);
51779
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
51780
 
+      return 1;
51781
 
+  }
51782
 
+# endif
51783
 
+# ifdef __CYGWIN__
51784
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
51785
 
+     locale_charset() function relies on the encoding suffix.  Note that
51786
 
+     LC_ALL is set on the command line.  */
51787
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
51788
 
+# endif
51789
 
+  /* Check whether in the abbreviation of the second month, the second
51790
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
51791
 
+     two bytes long, with UTF-8 encoding.  */
51792
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
51793
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
51794
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
51795
 
+    return 1;
51796
 
+#endif
51797
 
+  /* Check whether the decimal separator is a comma.
51798
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
51799
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
51800
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
51801
 
+  return 0;
51802
 
+}
51803
 
+      
51804
 
+_ACEOF
51805
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
51806
 
+  (eval $ac_link) 2>&5
51807
 
+  ac_status=$?
51808
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
51809
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
51810
 
+      case "$host_os" in
51811
 
+        # Handle native Windows specially, because there setlocale() interprets
51812
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
51813
 
+        # "fr" or "fra" as "French" or "French_France.1252",
51814
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
51815
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
51816
 
+        # and similar.
51817
 
+        mingw*)
51818
 
+          # Test for the hypothetical native Win32 locale name.
51819
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51820
 
+            gt_cv_locale_fr_utf8=French_France.65001
51821
 
+          else
51822
 
+            # None found.
51823
 
+            gt_cv_locale_fr_utf8=none
51824
 
+          fi
51825
 
+          ;;
51826
 
+        *)
51827
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
51828
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
51829
 
+          # configure script would override the LC_ALL setting. Likewise for
51830
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
51831
 
+          # Test for the usual locale name.
51832
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51833
 
+            gt_cv_locale_fr_utf8=fr_FR
51834
 
+          else
51835
 
+            # Test for the locale name with explicit encoding suffix.
51836
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51837
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
51838
 
+            else
51839
 
+              # Test for the Solaris 7 locale name.
51840
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51841
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
51842
 
+              else
51843
 
+                # None found.
51844
 
+                gt_cv_locale_fr_utf8=none
51845
 
+              fi
51846
 
+            fi
51847
 
+          fi
51848
 
+          ;;
51849
 
+      esac
51850
 
+    fi
51851
 
+    rm -fr conftest*
51852
 
+  
51853
 
+fi
51854
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
51855
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
51856
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
51857
 
+  
51858
 
+
51859
 
+
51860
 
+  
51861
 
+  
51862
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
51863
 
+$as_echo_n "checking for a traditional japanese locale... " >&6; }
51864
 
+if ${gt_cv_locale_ja+:} false; then :
51865
 
+  $as_echo_n "(cached) " >&6
51866
 
+else
51867
 
+  
51868
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51869
 
+/* end confdefs.h.  */
51870
 
+
51871
 
+#include <locale.h>
51872
 
+#include <time.h>
51873
 
+#if HAVE_LANGINFO_CODESET
51874
 
+# include <langinfo.h>
51875
 
+#endif
51876
 
+#include <stdlib.h>
51877
 
+#include <string.h>
51878
 
+struct tm t;
51879
 
+char buf[16];
51880
 
+int main ()
51881
 
+{
51882
 
+  const char *p;
51883
 
+  /* Check whether the given locale name is recognized by the system.  */
51884
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
51885
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
51886
 
+     not at the environment variables.  Also, when an encoding suffix such
51887
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
51888
 
+     category of the locale to "C".  */
51889
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
51890
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
51891
 
+    return 1;
51892
 
+#else
51893
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
51894
 
+#endif
51895
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
51896
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
51897
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
51898
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
51899
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
51900
 
+     some unit tests fail.
51901
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
51902
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
51903
 
+#if HAVE_LANGINFO_CODESET
51904
 
+  {
51905
 
+    const char *cs = nl_langinfo (CODESET);
51906
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
51907
 
+        || strcmp (cs, "UTF-8") == 0)
51908
 
+      return 1;
51909
 
+  }
51910
 
+#endif
51911
 
+#ifdef __CYGWIN__
51912
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
51913
 
+     locale_charset() function relies on the encoding suffix.  Note that
51914
 
+     LC_ALL is set on the command line.  */
51915
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
51916
 
+#endif
51917
 
+  /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
51918
 
+     on Cygwin 1.5.x.  */
51919
 
+  if (MB_CUR_MAX == 1)
51920
 
+    return 1;
51921
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
51922
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
51923
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
51924
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
51925
 
+  for (p = buf; *p != '\0'; p++)
51926
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
51927
 
+      return 1;
51928
 
+  return 0;
51929
 
+}
51930
 
+      
51931
 
+_ACEOF
51932
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
51933
 
+  (eval $ac_link) 2>&5
51934
 
+  ac_status=$?
51935
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
51936
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
51937
 
+      case "$host_os" in
51938
 
+        # Handle native Windows specially, because there setlocale() interprets
51939
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
51940
 
+        # "fr" or "fra" as "French" or "French_France.1252",
51941
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
51942
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
51943
 
+        # and similar.
51944
 
+        mingw*)
51945
 
+          # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
51946
 
+          # and CP932 is very different from EUC-JP, so we cannot use it here.
51947
 
+          gt_cv_locale_ja=none
51948
 
+          ;;
51949
 
+        *)
51950
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
51951
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
51952
 
+          # configure script would override the LC_ALL setting. Likewise for
51953
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
51954
 
+          # Test for the AIX locale name.
51955
 
+          if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51956
 
+            gt_cv_locale_ja=ja_JP
51957
 
+          else
51958
 
+            # Test for the locale name with explicit encoding suffix.
51959
 
+            if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51960
 
+              gt_cv_locale_ja=ja_JP.EUC-JP
51961
 
+            else
51962
 
+              # Test for the HP-UX, OSF/1, NetBSD locale name.
51963
 
+              if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51964
 
+                gt_cv_locale_ja=ja_JP.eucJP
51965
 
+              else
51966
 
+                # Test for the IRIX, FreeBSD locale name.
51967
 
+                if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51968
 
+                  gt_cv_locale_ja=ja_JP.EUC
51969
 
+                else
51970
 
+                  # Test for the Solaris 7 locale name.
51971
 
+                  if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
51972
 
+                    gt_cv_locale_ja=ja
51973
 
+                  else
51974
 
+                    # Special test for NetBSD 1.6.
51975
 
+                    if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
51976
 
+                      gt_cv_locale_ja=ja_JP.eucJP
51977
 
+                    else
51978
 
+                      # None found.
51979
 
+                      gt_cv_locale_ja=none
51980
 
+                    fi
51981
 
+                  fi
51982
 
+                fi
51983
 
+              fi
51984
 
+            fi
51985
 
+          fi
51986
 
+          ;;
51987
 
+      esac
51988
 
+    fi
51989
 
+    rm -fr conftest*
51990
 
+  
51991
 
+fi
51992
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
51993
 
+$as_echo "$gt_cv_locale_ja" >&6; }
51994
 
+  LOCALE_JA=$gt_cv_locale_ja
51995
 
+  
51996
 
+
51997
 
+
51998
 
+  
51999
 
+  
52000
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
52001
 
+$as_echo_n "checking for a transitional chinese locale... " >&6; }
52002
 
+if ${gt_cv_locale_zh_CN+:} false; then :
52003
 
+  $as_echo_n "(cached) " >&6
52004
 
+else
52005
 
+  
52006
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52007
 
+/* end confdefs.h.  */
52008
 
+
52009
 
+#include <locale.h>
52010
 
+#include <stdlib.h>
52011
 
+#include <time.h>
52012
 
+#if HAVE_LANGINFO_CODESET
52013
 
+# include <langinfo.h>
52014
 
+#endif
52015
 
+#include <stdlib.h>
52016
 
+#include <string.h>
52017
 
+struct tm t;
52018
 
+char buf[16];
52019
 
+int main ()
52020
 
+{
52021
 
+  const char *p;
52022
 
+  /* Check whether the given locale name is recognized by the system.  */
52023
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
52024
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
52025
 
+     not at the environment variables.  Also, when an encoding suffix such
52026
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
52027
 
+     category of the locale to "C".  */
52028
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
52029
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
52030
 
+    return 1;
52031
 
+#else
52032
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
52033
 
+#endif
52034
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
52035
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
52036
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
52037
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
52038
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
52039
 
+     some unit tests fail.
52040
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
52041
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
52042
 
+#if HAVE_LANGINFO_CODESET
52043
 
+  {
52044
 
+    const char *cs = nl_langinfo (CODESET);
52045
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
52046
 
+        || strcmp (cs, "UTF-8") == 0)
52047
 
+      return 1;
52048
 
+  }
52049
 
+#endif
52050
 
+#ifdef __CYGWIN__
52051
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
52052
 
+     locale_charset() function relies on the encoding suffix.  Note that
52053
 
+     LC_ALL is set on the command line.  */
52054
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
52055
 
+#endif
52056
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
52057
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
52058
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
52059
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
52060
 
+  for (p = buf; *p != '\0'; p++)
52061
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
52062
 
+      return 1;
52063
 
+  /* Check whether a typical GB18030 multibyte sequence is recognized as a
52064
 
+     single wide character.  This excludes the GB2312 and GBK encodings.  */
52065
 
+  if (mblen ("\203\062\332\066", 5) != 4)
52066
 
+    return 1;
52067
 
+  return 0;
52068
 
+}
52069
 
+      
52070
 
+_ACEOF
52071
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
52072
 
+  (eval $ac_link) 2>&5
52073
 
+  ac_status=$?
52074
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
52075
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
52076
 
+      case "$host_os" in
52077
 
+        # Handle native Windows specially, because there setlocale() interprets
52078
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
52079
 
+        # "fr" or "fra" as "French" or "French_France.1252",
52080
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
52081
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
52082
 
+        # and similar.
52083
 
+        mingw*)
52084
 
+          # Test for the hypothetical native Win32 locale name.
52085
 
+          if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52086
 
+            gt_cv_locale_zh_CN=Chinese_China.54936
52087
 
+          else
52088
 
+            # None found.
52089
 
+            gt_cv_locale_zh_CN=none
52090
 
+          fi
52091
 
+          ;;
52092
 
+        solaris2.8)
52093
 
+          # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
52094
 
+          # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
52095
 
+          # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
52096
 
+          gt_cv_locale_zh_CN=none
52097
 
+          ;;
52098
 
+        *)
52099
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
52100
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
52101
 
+          # configure script would override the LC_ALL setting. Likewise for
52102
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
52103
 
+          # Test for the locale name without encoding suffix.
52104
 
+          if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52105
 
+            gt_cv_locale_zh_CN=zh_CN
52106
 
+          else
52107
 
+            # Test for the locale name with explicit encoding suffix.
52108
 
+            if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52109
 
+              gt_cv_locale_zh_CN=zh_CN.GB18030
52110
 
+            else
52111
 
+              # None found.
52112
 
+              gt_cv_locale_zh_CN=none
52113
 
+            fi
52114
 
+          fi
52115
 
+          ;;
52116
 
+      esac
52117
 
+    else
52118
 
+      # If there was a link error, due to mblen(), the system is so old that
52119
 
+      # it certainly doesn't have a chinese locale.
52120
 
+      gt_cv_locale_zh_CN=none
52121
 
+    fi
52122
 
+    rm -fr conftest*
52123
 
+  
52124
 
+fi
52125
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
52126
 
+$as_echo "$gt_cv_locale_zh_CN" >&6; }
52127
 
+  LOCALE_ZH_CN=$gt_cv_locale_zh_CN
52128
 
+  
52129
 
+
52130
 
+
52131
 
+  
52132
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
52133
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
52134
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
52135
 
+  $as_echo_n "(cached) " >&6
52136
 
+else
52137
 
+  
52138
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52139
 
+/* end confdefs.h.  */
52140
 
+
52141
 
+#include <locale.h>
52142
 
+#include <time.h>
52143
 
+#if HAVE_LANGINFO_CODESET
52144
 
+# include <langinfo.h>
52145
 
+#endif
52146
 
+#include <stdlib.h>
52147
 
+#include <string.h>
52148
 
+struct tm t;
52149
 
+char buf[16];
52150
 
+int main () {
52151
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
52152
 
+     imitates locale dependent behaviour by looking at the environment
52153
 
+     variables, and all locales use the UTF-8 encoding.  */
52154
 
+#if !(defined __BEOS__ || defined __HAIKU__)
52155
 
+  /* Check whether the given locale name is recognized by the system.  */
52156
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
52157
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
52158
 
+     not at the environment variables.  Also, when an encoding suffix such
52159
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
52160
 
+     category of the locale to "C".  */
52161
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
52162
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
52163
 
+    return 1;
52164
 
+# else
52165
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
52166
 
+# endif
52167
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
52168
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
52169
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
52170
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
52171
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
52172
 
+     some unit tests fail.  */
52173
 
+# if HAVE_LANGINFO_CODESET
52174
 
+  {
52175
 
+    const char *cs = nl_langinfo (CODESET);
52176
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
52177
 
+      return 1;
52178
 
+  }
52179
 
+# endif
52180
 
+# ifdef __CYGWIN__
52181
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
52182
 
+     locale_charset() function relies on the encoding suffix.  Note that
52183
 
+     LC_ALL is set on the command line.  */
52184
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
52185
 
+# endif
52186
 
+  /* Check whether in the abbreviation of the second month, the second
52187
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
52188
 
+     two bytes long, with UTF-8 encoding.  */
52189
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
52190
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
52191
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
52192
 
+    return 1;
52193
 
+#endif
52194
 
+  /* Check whether the decimal separator is a comma.
52195
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
52196
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
52197
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
52198
 
+  return 0;
52199
 
+}
52200
 
+      
52201
 
+_ACEOF
52202
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
52203
 
+  (eval $ac_link) 2>&5
52204
 
+  ac_status=$?
52205
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
52206
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
52207
 
+      case "$host_os" in
52208
 
+        # Handle native Windows specially, because there setlocale() interprets
52209
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
52210
 
+        # "fr" or "fra" as "French" or "French_France.1252",
52211
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
52212
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
52213
 
+        # and similar.
52214
 
+        mingw*)
52215
 
+          # Test for the hypothetical native Win32 locale name.
52216
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52217
 
+            gt_cv_locale_fr_utf8=French_France.65001
52218
 
+          else
52219
 
+            # None found.
52220
 
+            gt_cv_locale_fr_utf8=none
52221
 
+          fi
52222
 
+          ;;
52223
 
+        *)
52224
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
52225
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
52226
 
+          # configure script would override the LC_ALL setting. Likewise for
52227
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
52228
 
+          # Test for the usual locale name.
52229
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52230
 
+            gt_cv_locale_fr_utf8=fr_FR
52231
 
+          else
52232
 
+            # Test for the locale name with explicit encoding suffix.
52233
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52234
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
52235
 
+            else
52236
 
+              # Test for the Solaris 7 locale name.
52237
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52238
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
52239
 
+              else
52240
 
+                # None found.
52241
 
+                gt_cv_locale_fr_utf8=none
52242
 
+              fi
52243
 
+            fi
52244
 
+          fi
52245
 
+          ;;
52246
 
+      esac
52247
 
+    fi
52248
 
+    rm -fr conftest*
52249
 
+  
52250
 
+fi
52251
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
52252
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
52253
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
52254
 
+  
52255
 
+
52256
 
+
52257
 
+  
52258
 
+  
52259
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
52260
 
+$as_echo_n "checking for a transitional chinese locale... " >&6; }
52261
 
+if ${gt_cv_locale_zh_CN+:} false; then :
52262
 
+  $as_echo_n "(cached) " >&6
52263
 
+else
52264
 
+  
52265
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52266
 
+/* end confdefs.h.  */
52267
 
+
52268
 
+#include <locale.h>
52269
 
+#include <stdlib.h>
52270
 
+#include <time.h>
52271
 
+#if HAVE_LANGINFO_CODESET
52272
 
+# include <langinfo.h>
52273
 
+#endif
52274
 
+#include <stdlib.h>
52275
 
+#include <string.h>
52276
 
+struct tm t;
52277
 
+char buf[16];
52278
 
+int main ()
52279
 
+{
52280
 
+  const char *p;
52281
 
+  /* Check whether the given locale name is recognized by the system.  */
52282
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
52283
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
52284
 
+     not at the environment variables.  Also, when an encoding suffix such
52285
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
52286
 
+     category of the locale to "C".  */
52287
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
52288
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
52289
 
+    return 1;
52290
 
+#else
52291
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
52292
 
+#endif
52293
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
52294
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
52295
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
52296
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
52297
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
52298
 
+     some unit tests fail.
52299
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
52300
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
52301
 
+#if HAVE_LANGINFO_CODESET
52302
 
+  {
52303
 
+    const char *cs = nl_langinfo (CODESET);
52304
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
52305
 
+        || strcmp (cs, "UTF-8") == 0)
52306
 
+      return 1;
52307
 
+  }
52308
 
+#endif
52309
 
+#ifdef __CYGWIN__
52310
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
52311
 
+     locale_charset() function relies on the encoding suffix.  Note that
52312
 
+     LC_ALL is set on the command line.  */
52313
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
52314
 
+#endif
52315
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
52316
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
52317
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
52318
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
52319
 
+  for (p = buf; *p != '\0'; p++)
52320
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
52321
 
+      return 1;
52322
 
+  /* Check whether a typical GB18030 multibyte sequence is recognized as a
52323
 
+     single wide character.  This excludes the GB2312 and GBK encodings.  */
52324
 
+  if (mblen ("\203\062\332\066", 5) != 4)
52325
 
+    return 1;
52326
 
+  return 0;
52327
 
+}
52328
 
+      
52329
 
+_ACEOF
52330
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
52331
 
+  (eval $ac_link) 2>&5
52332
 
+  ac_status=$?
52333
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
52334
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
52335
 
+      case "$host_os" in
52336
 
+        # Handle native Windows specially, because there setlocale() interprets
52337
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
52338
 
+        # "fr" or "fra" as "French" or "French_France.1252",
52339
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
52340
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
52341
 
+        # and similar.
52342
 
+        mingw*)
52343
 
+          # Test for the hypothetical native Win32 locale name.
52344
 
+          if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52345
 
+            gt_cv_locale_zh_CN=Chinese_China.54936
52346
 
+          else
52347
 
+            # None found.
52348
 
+            gt_cv_locale_zh_CN=none
52349
 
+          fi
52350
 
+          ;;
52351
 
+        solaris2.8)
52352
 
+          # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
52353
 
+          # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
52354
 
+          # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
52355
 
+          gt_cv_locale_zh_CN=none
52356
 
+          ;;
52357
 
+        *)
52358
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
52359
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
52360
 
+          # configure script would override the LC_ALL setting. Likewise for
52361
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
52362
 
+          # Test for the locale name without encoding suffix.
52363
 
+          if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52364
 
+            gt_cv_locale_zh_CN=zh_CN
52365
 
+          else
52366
 
+            # Test for the locale name with explicit encoding suffix.
52367
 
+            if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52368
 
+              gt_cv_locale_zh_CN=zh_CN.GB18030
52369
 
+            else
52370
 
+              # None found.
52371
 
+              gt_cv_locale_zh_CN=none
52372
 
+            fi
52373
 
+          fi
52374
 
+          ;;
52375
 
+      esac
52376
 
+    else
52377
 
+      # If there was a link error, due to mblen(), the system is so old that
52378
 
+      # it certainly doesn't have a chinese locale.
52379
 
+      gt_cv_locale_zh_CN=none
52380
 
+    fi
52381
 
+    rm -fr conftest*
52382
 
+  
52383
 
+fi
52384
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
52385
 
+$as_echo "$gt_cv_locale_zh_CN" >&6; }
52386
 
+  LOCALE_ZH_CN=$gt_cv_locale_zh_CN
52387
 
+  
52388
 
+
52389
 
+
52390
 
+    
52391
 
+
52392
 
+  # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
52393
 
+  # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
52394
 
+  # irrelevant for anonymous mappings.
52395
 
+  ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
52396
 
+if test "x$ac_cv_func_mmap" = xyes; then :
52397
 
+  gl_have_mmap=yes
52398
 
+else
52399
 
+  gl_have_mmap=no
52400
 
+fi
52401
 
+
52402
 
+
52403
 
+  # Try to allow MAP_ANONYMOUS.
52404
 
+  gl_have_mmap_anonymous=no
52405
 
+  if test $gl_have_mmap = yes; then
52406
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
52407
 
+$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
52408
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52409
 
+/* end confdefs.h.  */
52410
 
+
52411
 
+#include <sys/mman.h>
52412
 
+#ifdef MAP_ANONYMOUS
52413
 
+    I cant identify this map
52414
 
+#endif
52415
 
+
52416
 
+_ACEOF
52417
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
52418
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
52419
 
+  gl_have_mmap_anonymous=yes
52420
 
+fi
52421
 
+rm -f conftest*
52422
 
+
52423
 
+    if test $gl_have_mmap_anonymous != yes; then
52424
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52425
 
+/* end confdefs.h.  */
52426
 
+
52427
 
+#include <sys/mman.h>
52428
 
+#ifdef MAP_ANON
52429
 
+    I cant identify this map
52430
 
+#endif
52431
 
+
52432
 
+_ACEOF
52433
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
52434
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
52435
 
+  
52436
 
+$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
52437
 
+
52438
 
+         gl_have_mmap_anonymous=yes
52439
 
+fi
52440
 
+rm -f conftest*
52441
 
+
52442
 
+    fi
52443
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
52444
 
+$as_echo "$gl_have_mmap_anonymous" >&6; }
52445
 
+    if test $gl_have_mmap_anonymous = yes; then
52446
 
+      
52447
 
+$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
52448
 
+
52449
 
+    fi
52450
 
+  fi
52451
 
+
52452
 
+
52453
 
+
52454
 
+
52455
 
+    
52456
 
+
52457
 
+  # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
52458
 
+  # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
52459
 
+  # irrelevant for anonymous mappings.
52460
 
+  ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
52461
 
+if test "x$ac_cv_func_mmap" = xyes; then :
52462
 
+  gl_have_mmap=yes
52463
 
+else
52464
 
+  gl_have_mmap=no
52465
 
+fi
52466
 
+
52467
 
+
52468
 
+  # Try to allow MAP_ANONYMOUS.
52469
 
+  gl_have_mmap_anonymous=no
52470
 
+  if test $gl_have_mmap = yes; then
52471
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
52472
 
+$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
52473
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52474
 
+/* end confdefs.h.  */
52475
 
+
52476
 
+#include <sys/mman.h>
52477
 
+#ifdef MAP_ANONYMOUS
52478
 
+    I cant identify this map
52479
 
+#endif
52480
 
+
52481
 
+_ACEOF
52482
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
52483
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
52484
 
+  gl_have_mmap_anonymous=yes
52485
 
+fi
52486
 
+rm -f conftest*
52487
 
+
52488
 
+    if test $gl_have_mmap_anonymous != yes; then
52489
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52490
 
+/* end confdefs.h.  */
52491
 
+
52492
 
+#include <sys/mman.h>
52493
 
+#ifdef MAP_ANON
52494
 
+    I cant identify this map
52495
 
+#endif
52496
 
+
52497
 
+_ACEOF
52498
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
52499
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
52500
 
+  
52501
 
+$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
52502
 
+
52503
 
+         gl_have_mmap_anonymous=yes
52504
 
+fi
52505
 
+rm -f conftest*
52506
 
+
52507
 
+    fi
52508
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
52509
 
+$as_echo "$gl_have_mmap_anonymous" >&6; }
52510
 
+    if test $gl_have_mmap_anonymous = yes; then
52511
 
+      
52512
 
+$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
52513
 
+
52514
 
+    fi
52515
 
+  fi
52516
 
+
52517
 
+
52518
 
+
52519
 
+
52520
 
+    
52521
 
+
52522
 
+  # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
52523
 
+  # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
52524
 
+  # irrelevant for anonymous mappings.
52525
 
+  ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
52526
 
+if test "x$ac_cv_func_mmap" = xyes; then :
52527
 
+  gl_have_mmap=yes
52528
 
+else
52529
 
+  gl_have_mmap=no
52530
 
+fi
52531
 
+
52532
 
+
52533
 
+  # Try to allow MAP_ANONYMOUS.
52534
 
+  gl_have_mmap_anonymous=no
52535
 
+  if test $gl_have_mmap = yes; then
52536
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
52537
 
+$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
52538
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52539
 
+/* end confdefs.h.  */
52540
 
+
52541
 
+#include <sys/mman.h>
52542
 
+#ifdef MAP_ANONYMOUS
52543
 
+    I cant identify this map
52544
 
+#endif
52545
 
+
52546
 
+_ACEOF
52547
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
52548
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
52549
 
+  gl_have_mmap_anonymous=yes
52550
 
+fi
52551
 
+rm -f conftest*
52552
 
+
52553
 
+    if test $gl_have_mmap_anonymous != yes; then
52554
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52555
 
+/* end confdefs.h.  */
52556
 
+
52557
 
+#include <sys/mman.h>
52558
 
+#ifdef MAP_ANON
52559
 
+    I cant identify this map
52560
 
+#endif
52561
 
+
52562
 
+_ACEOF
52563
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
52564
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
52565
 
+  
52566
 
+$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
52567
 
+
52568
 
+         gl_have_mmap_anonymous=yes
52569
 
+fi
52570
 
+rm -f conftest*
52571
 
+
52572
 
+    fi
52573
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
52574
 
+$as_echo "$gl_have_mmap_anonymous" >&6; }
52575
 
+    if test $gl_have_mmap_anonymous = yes; then
52576
 
+      
52577
 
+$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
52578
 
+
52579
 
+    fi
52580
 
+  fi
52581
 
+
52582
 
+
52583
 
+
52584
 
+
52585
 
+    
52586
 
+
52587
 
+  # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
52588
 
+  # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
52589
 
+  # irrelevant for anonymous mappings.
52590
 
+  ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
52591
 
+if test "x$ac_cv_func_mmap" = xyes; then :
52592
 
+  gl_have_mmap=yes
52593
 
+else
52594
 
+  gl_have_mmap=no
52595
 
+fi
52596
 
+
52597
 
+
52598
 
+  # Try to allow MAP_ANONYMOUS.
52599
 
+  gl_have_mmap_anonymous=no
52600
 
+  if test $gl_have_mmap = yes; then
52601
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
52602
 
+$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
52603
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52604
 
+/* end confdefs.h.  */
52605
 
+
52606
 
+#include <sys/mman.h>
52607
 
+#ifdef MAP_ANONYMOUS
52608
 
+    I cant identify this map
52609
 
+#endif
52610
 
+
52611
 
+_ACEOF
52612
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
52613
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
52614
 
+  gl_have_mmap_anonymous=yes
52615
 
+fi
52616
 
+rm -f conftest*
52617
 
+
52618
 
+    if test $gl_have_mmap_anonymous != yes; then
52619
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52620
 
+/* end confdefs.h.  */
52621
 
+
52622
 
+#include <sys/mman.h>
52623
 
+#ifdef MAP_ANON
52624
 
+    I cant identify this map
52625
 
+#endif
52626
 
+
52627
 
+_ACEOF
52628
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
52629
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
52630
 
+  
52631
 
+$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
52632
 
+
52633
 
+         gl_have_mmap_anonymous=yes
52634
 
+fi
52635
 
+rm -f conftest*
52636
 
+
52637
 
+    fi
52638
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
52639
 
+$as_echo "$gl_have_mmap_anonymous" >&6; }
52640
 
+    if test $gl_have_mmap_anonymous = yes; then
52641
 
+      
52642
 
+$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
52643
 
+
52644
 
+    fi
52645
 
+  fi
52646
 
+
52647
 
+
52648
 
+
52649
 
+
52650
 
+
52651
 
+  
52652
 
+  
52653
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
52654
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
52655
 
+if ${gt_cv_locale_fr+:} false; then :
52656
 
+  $as_echo_n "(cached) " >&6
52657
 
+else
52658
 
+  
52659
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52660
 
+/* end confdefs.h.  */
52661
 
+
52662
 
+#include <locale.h>
52663
 
+#include <time.h>
52664
 
+#if HAVE_LANGINFO_CODESET
52665
 
+# include <langinfo.h>
52666
 
+#endif
52667
 
+#include <stdlib.h>
52668
 
+#include <string.h>
52669
 
+struct tm t;
52670
 
+char buf[16];
52671
 
+int main () {
52672
 
+  /* Check whether the given locale name is recognized by the system.  */
52673
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
52674
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
52675
 
+     not at the environment variables.  Also, when an encoding suffix such
52676
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
52677
 
+     category of the locale to "C".  */
52678
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
52679
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
52680
 
+    return 1;
52681
 
+#else
52682
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
52683
 
+#endif
52684
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
52685
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
52686
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
52687
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
52688
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
52689
 
+     some unit tests fail.
52690
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
52691
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
52692
 
+#if HAVE_LANGINFO_CODESET
52693
 
+  {
52694
 
+    const char *cs = nl_langinfo (CODESET);
52695
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
52696
 
+        || strcmp (cs, "UTF-8") == 0)
52697
 
+      return 1;
52698
 
+  }
52699
 
+#endif
52700
 
+#ifdef __CYGWIN__
52701
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
52702
 
+     locale_charset() function relies on the encoding suffix.  Note that
52703
 
+     LC_ALL is set on the command line.  */
52704
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
52705
 
+#endif
52706
 
+  /* Check whether in the abbreviation of the second month, the second
52707
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
52708
 
+     one byte long. This excludes the UTF-8 encoding.  */
52709
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
52710
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
52711
 
+  /* Check whether the decimal separator is a comma.
52712
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
52713
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
52714
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
52715
 
+  return 0;
52716
 
+}
52717
 
+      
52718
 
+_ACEOF
52719
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
52720
 
+  (eval $ac_link) 2>&5
52721
 
+  ac_status=$?
52722
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
52723
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
52724
 
+      case "$host_os" in
52725
 
+        # Handle native Windows specially, because there setlocale() interprets
52726
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
52727
 
+        # "fr" or "fra" as "French" or "French_France.1252",
52728
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
52729
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
52730
 
+        # and similar.
52731
 
+        mingw*)
52732
 
+          # Test for the native Win32 locale name.
52733
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52734
 
+            gt_cv_locale_fr=French_France.1252
52735
 
+          else
52736
 
+            # None found.
52737
 
+            gt_cv_locale_fr=none
52738
 
+          fi
52739
 
+          ;;
52740
 
+        *)
52741
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
52742
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
52743
 
+          # configure script would override the LC_ALL setting. Likewise for
52744
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
52745
 
+          # Test for the usual locale name.
52746
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52747
 
+            gt_cv_locale_fr=fr_FR
52748
 
+          else
52749
 
+            # Test for the locale name with explicit encoding suffix.
52750
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52751
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
52752
 
+            else
52753
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
52754
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52755
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
52756
 
+              else
52757
 
+                # Test for the HP-UX locale name.
52758
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52759
 
+                  gt_cv_locale_fr=fr_FR.iso88591
52760
 
+                else
52761
 
+                  # Test for the Solaris 7 locale name.
52762
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52763
 
+                    gt_cv_locale_fr=fr
52764
 
+                  else
52765
 
+                    # None found.
52766
 
+                    gt_cv_locale_fr=none
52767
 
+                  fi
52768
 
+                fi
52769
 
+              fi
52770
 
+            fi
52771
 
+          fi
52772
 
+          ;;
52773
 
+      esac
52774
 
+    fi
52775
 
+    rm -fr conftest*
52776
 
+  
52777
 
+fi
52778
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
52779
 
+$as_echo "$gt_cv_locale_fr" >&6; }
52780
 
+  LOCALE_FR=$gt_cv_locale_fr
52781
 
+  
52782
 
+
52783
 
+
52784
 
+  
52785
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
52786
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
52787
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
52788
 
+  $as_echo_n "(cached) " >&6
52789
 
+else
52790
 
+  
52791
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52792
 
+/* end confdefs.h.  */
52793
 
+
52794
 
+#include <locale.h>
52795
 
+#include <time.h>
52796
 
+#if HAVE_LANGINFO_CODESET
52797
 
+# include <langinfo.h>
52798
 
+#endif
52799
 
+#include <stdlib.h>
52800
 
+#include <string.h>
52801
 
+struct tm t;
52802
 
+char buf[16];
52803
 
+int main () {
52804
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
52805
 
+     imitates locale dependent behaviour by looking at the environment
52806
 
+     variables, and all locales use the UTF-8 encoding.  */
52807
 
+#if !(defined __BEOS__ || defined __HAIKU__)
52808
 
+  /* Check whether the given locale name is recognized by the system.  */
52809
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
52810
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
52811
 
+     not at the environment variables.  Also, when an encoding suffix such
52812
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
52813
 
+     category of the locale to "C".  */
52814
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
52815
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
52816
 
+    return 1;
52817
 
+# else
52818
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
52819
 
+# endif
52820
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
52821
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
52822
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
52823
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
52824
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
52825
 
+     some unit tests fail.  */
52826
 
+# if HAVE_LANGINFO_CODESET
52827
 
+  {
52828
 
+    const char *cs = nl_langinfo (CODESET);
52829
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
52830
 
+      return 1;
52831
 
+  }
52832
 
+# endif
52833
 
+# ifdef __CYGWIN__
52834
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
52835
 
+     locale_charset() function relies on the encoding suffix.  Note that
52836
 
+     LC_ALL is set on the command line.  */
52837
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
52838
 
+# endif
52839
 
+  /* Check whether in the abbreviation of the second month, the second
52840
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
52841
 
+     two bytes long, with UTF-8 encoding.  */
52842
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
52843
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
52844
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
52845
 
+    return 1;
52846
 
+#endif
52847
 
+  /* Check whether the decimal separator is a comma.
52848
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
52849
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
52850
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
52851
 
+  return 0;
52852
 
+}
52853
 
+      
52854
 
+_ACEOF
52855
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
52856
 
+  (eval $ac_link) 2>&5
52857
 
+  ac_status=$?
52858
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
52859
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
52860
 
+      case "$host_os" in
52861
 
+        # Handle native Windows specially, because there setlocale() interprets
52862
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
52863
 
+        # "fr" or "fra" as "French" or "French_France.1252",
52864
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
52865
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
52866
 
+        # and similar.
52867
 
+        mingw*)
52868
 
+          # Test for the hypothetical native Win32 locale name.
52869
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52870
 
+            gt_cv_locale_fr_utf8=French_France.65001
52871
 
+          else
52872
 
+            # None found.
52873
 
+            gt_cv_locale_fr_utf8=none
52874
 
+          fi
52875
 
+          ;;
52876
 
+        *)
52877
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
52878
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
52879
 
+          # configure script would override the LC_ALL setting. Likewise for
52880
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
52881
 
+          # Test for the usual locale name.
52882
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52883
 
+            gt_cv_locale_fr_utf8=fr_FR
52884
 
+          else
52885
 
+            # Test for the locale name with explicit encoding suffix.
52886
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52887
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
52888
 
+            else
52889
 
+              # Test for the Solaris 7 locale name.
52890
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
52891
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
52892
 
+              else
52893
 
+                # None found.
52894
 
+                gt_cv_locale_fr_utf8=none
52895
 
+              fi
52896
 
+            fi
52897
 
+          fi
52898
 
+          ;;
52899
 
+      esac
52900
 
+    fi
52901
 
+    rm -fr conftest*
52902
 
+  
52903
 
+fi
52904
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
52905
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
52906
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
52907
 
+  
52908
 
+
52909
 
+
52910
 
+
52911
 
+  
52912
 
+  
52913
 
+  
52914
 
+  
52915
 
+          if test "$ERRNO_H:$REPLACE_STRERROR_0" != :0; then
52916
 
+            REPLACE_PERROR=1
52917
 
+  fi
52918
 
+  case ${gl_cv_func_strerror_r_works-unset} in
52919
 
+    unset|*yes)
52920
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether perror matches strerror" >&5
52921
 
+$as_echo_n "checking whether perror matches strerror... " >&6; }
52922
 
+if ${gl_cv_func_perror_works+:} false; then :
52923
 
+  $as_echo_n "(cached) " >&6
52924
 
+else
52925
 
+  if test "$cross_compiling" = yes; then :
52926
 
+              gl_cv_func_perror_works="guessing no"
52927
 
+else
52928
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52929
 
+/* end confdefs.h.  */
52930
 
+#include <errno.h>
52931
 
+                #include <stdio.h>
52932
 
+              
52933
 
+int
52934
 
+main ()
52935
 
+{
52936
 
+char *str = strerror (-1);
52937
 
+                if (!getenv("CONFTEST_OUTPUT")) return 0;
52938
 
+                if (!str) str = "";
52939
 
+                puts (str);
52940
 
+                errno = -1;
52941
 
+                perror ("");
52942
 
+              
52943
 
+  ;
52944
 
+  return 0;
52945
 
+}
52946
 
+_ACEOF
52947
 
+if ac_fn_c_try_run "$LINENO"; then :
52948
 
+  CONFTEST_OUTPUT=1 ./conftest$EXEEXT >conftest.txt1 2>conftest.txt2
52949
 
+            if cmp conftest.txt1 conftest.txt2 >/dev/null; then
52950
 
+              gl_cv_func_perror_works=yes
52951
 
+            else
52952
 
+              gl_cv_func_perror_works=no
52953
 
+            fi
52954
 
+            rm -rf conftest.txt1 conftest.txt2
52955
 
+else
52956
 
+  gl_cv_func_perror_works=no
52957
 
+fi
52958
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52959
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
52960
 
+fi
52961
 
+
52962
 
+fi
52963
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_perror_works" >&5
52964
 
+$as_echo "$gl_cv_func_perror_works" >&6; }
52965
 
+       if test "$gl_cv_func_perror_works" != yes; then
52966
 
+         REPLACE_PERROR=1
52967
 
+       fi ;;
52968
 
+    *)              REPLACE_PERROR=1 ;;
52969
 
+  esac
52970
 
+
52971
 
+if test $REPLACE_PERROR = 1; then
52972
 
+  
52973
 
+  
52974
 
+  
52975
 
+    
52976
 
+      
52977
 
+      
52978
 
+    
52979
 
+  
52980
 
+  gltests_LIBOBJS="$gltests_LIBOBJS perror.$ac_objext"
52981
 
+
52982
 
+fi
52983
 
+
52984
 
+    
52985
 
+  
52986
 
+  
52987
 
+  
52988
 
+    if test "$GNULIB_PERROR" != 1; then
52989
 
+        if test "$GNULIB_PERROR" = 0; then
52990
 
+      GNULIB_PERROR=$gl_module_indicator_condition
52991
 
+    else
52992
 
+      GNULIB_PERROR="($GNULIB_PERROR || $gl_module_indicator_condition)"
52993
 
+    fi
52994
 
+  fi
52995
 
+
52996
 
+
52997
 
+
52998
 
+    
52999
 
+  
53000
 
+$as_echo "@%:@define GNULIB_TEST_PERROR 1" >>confdefs.h
53001
 
+
53002
 
+
53003
 
+
53004
 
+
53005
 
+  
53006
 
+
53007
 
+  
53008
 
+  if test $ac_cv_func_pipe != yes; then
53009
 
+    HAVE_PIPE=0
53010
 
+  fi
53011
 
+
53012
 
+if test $HAVE_PIPE = 0; then
53013
 
+  
53014
 
+  
53015
 
+  
53016
 
+    
53017
 
+      
53018
 
+      
53019
 
+    
53020
 
+  
53021
 
+  gltests_LIBOBJS="$gltests_LIBOBJS pipe.$ac_objext"
53022
 
+
53023
 
+fi
53024
 
+
53025
 
+    
53026
 
+  
53027
 
+  
53028
 
+  
53029
 
+    if test "$GNULIB_PIPE" != 1; then
53030
 
+        if test "$GNULIB_PIPE" = 0; then
53031
 
+      GNULIB_PIPE=$gl_module_indicator_condition
53032
 
+    else
53033
 
+      GNULIB_PIPE="($GNULIB_PIPE || $gl_module_indicator_condition)"
53034
 
+    fi
53035
 
+  fi
53036
 
+
53037
 
+
53038
 
+
53039
 
+    
53040
 
+  
53041
 
+$as_echo "@%:@define GNULIB_TEST_PIPE 1" >>confdefs.h
53042
 
+
53043
 
+
53044
 
+
53045
 
+
53046
 
+
53047
 
+  
53048
 
+  
53049
 
+  case "$host_os" in
53050
 
+            mingw*) REPLACE_SETLOCALE=1 ;;
53051
 
+            cygwin*)
53052
 
+      case `uname -r` in
53053
 
+        1.5.*) REPLACE_SETLOCALE=1 ;;
53054
 
+      esac
53055
 
+      ;;
53056
 
+  esac
53057
 
+
53058
 
+if test $REPLACE_SETLOCALE = 1; then
53059
 
+  
53060
 
+  
53061
 
+  
53062
 
+    
53063
 
+      
53064
 
+      
53065
 
+    
53066
 
+  
53067
 
+  gltests_LIBOBJS="$gltests_LIBOBJS setlocale.$ac_objext"
53068
 
+
53069
 
+  
53070
 
+  :
53071
 
+
53072
 
+fi
53073
 
+
53074
 
+    
53075
 
+  
53076
 
+  
53077
 
+  
53078
 
+    if test "$GNULIB_SETLOCALE" != 1; then
53079
 
+        if test "$GNULIB_SETLOCALE" = 0; then
53080
 
+      GNULIB_SETLOCALE=$gl_module_indicator_condition
53081
 
+    else
53082
 
+      GNULIB_SETLOCALE="($GNULIB_SETLOCALE || $gl_module_indicator_condition)"
53083
 
+    fi
53084
 
+  fi
53085
 
+
53086
 
+
53087
 
+
53088
 
+    
53089
 
+  
53090
 
+$as_echo "@%:@define GNULIB_TEST_SETLOCALE 1" >>confdefs.h
53091
 
+
53092
 
+
53093
 
+
53094
 
+
53095
 
+  
53096
 
+  
53097
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
53098
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
53099
 
+if ${gt_cv_locale_fr+:} false; then :
53100
 
+  $as_echo_n "(cached) " >&6
53101
 
+else
53102
 
+  
53103
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53104
 
+/* end confdefs.h.  */
53105
 
+
53106
 
+#include <locale.h>
53107
 
+#include <time.h>
53108
 
+#if HAVE_LANGINFO_CODESET
53109
 
+# include <langinfo.h>
53110
 
+#endif
53111
 
+#include <stdlib.h>
53112
 
+#include <string.h>
53113
 
+struct tm t;
53114
 
+char buf[16];
53115
 
+int main () {
53116
 
+  /* Check whether the given locale name is recognized by the system.  */
53117
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
53118
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
53119
 
+     not at the environment variables.  Also, when an encoding suffix such
53120
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
53121
 
+     category of the locale to "C".  */
53122
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
53123
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
53124
 
+    return 1;
53125
 
+#else
53126
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
53127
 
+#endif
53128
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
53129
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
53130
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
53131
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
53132
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
53133
 
+     some unit tests fail.
53134
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
53135
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
53136
 
+#if HAVE_LANGINFO_CODESET
53137
 
+  {
53138
 
+    const char *cs = nl_langinfo (CODESET);
53139
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
53140
 
+        || strcmp (cs, "UTF-8") == 0)
53141
 
+      return 1;
53142
 
+  }
53143
 
+#endif
53144
 
+#ifdef __CYGWIN__
53145
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
53146
 
+     locale_charset() function relies on the encoding suffix.  Note that
53147
 
+     LC_ALL is set on the command line.  */
53148
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
53149
 
+#endif
53150
 
+  /* Check whether in the abbreviation of the second month, the second
53151
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
53152
 
+     one byte long. This excludes the UTF-8 encoding.  */
53153
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
53154
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
53155
 
+  /* Check whether the decimal separator is a comma.
53156
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
53157
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
53158
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
53159
 
+  return 0;
53160
 
+}
53161
 
+      
53162
 
+_ACEOF
53163
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
53164
 
+  (eval $ac_link) 2>&5
53165
 
+  ac_status=$?
53166
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
53167
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
53168
 
+      case "$host_os" in
53169
 
+        # Handle native Windows specially, because there setlocale() interprets
53170
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
53171
 
+        # "fr" or "fra" as "French" or "French_France.1252",
53172
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
53173
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
53174
 
+        # and similar.
53175
 
+        mingw*)
53176
 
+          # Test for the native Win32 locale name.
53177
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53178
 
+            gt_cv_locale_fr=French_France.1252
53179
 
+          else
53180
 
+            # None found.
53181
 
+            gt_cv_locale_fr=none
53182
 
+          fi
53183
 
+          ;;
53184
 
+        *)
53185
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
53186
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
53187
 
+          # configure script would override the LC_ALL setting. Likewise for
53188
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
53189
 
+          # Test for the usual locale name.
53190
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53191
 
+            gt_cv_locale_fr=fr_FR
53192
 
+          else
53193
 
+            # Test for the locale name with explicit encoding suffix.
53194
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53195
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
53196
 
+            else
53197
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
53198
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53199
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
53200
 
+              else
53201
 
+                # Test for the HP-UX locale name.
53202
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53203
 
+                  gt_cv_locale_fr=fr_FR.iso88591
53204
 
+                else
53205
 
+                  # Test for the Solaris 7 locale name.
53206
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53207
 
+                    gt_cv_locale_fr=fr
53208
 
+                  else
53209
 
+                    # None found.
53210
 
+                    gt_cv_locale_fr=none
53211
 
+                  fi
53212
 
+                fi
53213
 
+              fi
53214
 
+            fi
53215
 
+          fi
53216
 
+          ;;
53217
 
+      esac
53218
 
+    fi
53219
 
+    rm -fr conftest*
53220
 
+  
53221
 
+fi
53222
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
53223
 
+$as_echo "$gt_cv_locale_fr" >&6; }
53224
 
+  LOCALE_FR=$gt_cv_locale_fr
53225
 
+  
53226
 
+
53227
 
+
53228
 
+  
53229
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
53230
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
53231
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
53232
 
+  $as_echo_n "(cached) " >&6
53233
 
+else
53234
 
+  
53235
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53236
 
+/* end confdefs.h.  */
53237
 
+
53238
 
+#include <locale.h>
53239
 
+#include <time.h>
53240
 
+#if HAVE_LANGINFO_CODESET
53241
 
+# include <langinfo.h>
53242
 
+#endif
53243
 
+#include <stdlib.h>
53244
 
+#include <string.h>
53245
 
+struct tm t;
53246
 
+char buf[16];
53247
 
+int main () {
53248
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
53249
 
+     imitates locale dependent behaviour by looking at the environment
53250
 
+     variables, and all locales use the UTF-8 encoding.  */
53251
 
+#if !(defined __BEOS__ || defined __HAIKU__)
53252
 
+  /* Check whether the given locale name is recognized by the system.  */
53253
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
53254
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
53255
 
+     not at the environment variables.  Also, when an encoding suffix such
53256
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
53257
 
+     category of the locale to "C".  */
53258
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
53259
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
53260
 
+    return 1;
53261
 
+# else
53262
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
53263
 
+# endif
53264
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
53265
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
53266
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
53267
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
53268
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
53269
 
+     some unit tests fail.  */
53270
 
+# if HAVE_LANGINFO_CODESET
53271
 
+  {
53272
 
+    const char *cs = nl_langinfo (CODESET);
53273
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
53274
 
+      return 1;
53275
 
+  }
53276
 
+# endif
53277
 
+# ifdef __CYGWIN__
53278
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
53279
 
+     locale_charset() function relies on the encoding suffix.  Note that
53280
 
+     LC_ALL is set on the command line.  */
53281
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
53282
 
+# endif
53283
 
+  /* Check whether in the abbreviation of the second month, the second
53284
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
53285
 
+     two bytes long, with UTF-8 encoding.  */
53286
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
53287
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
53288
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
53289
 
+    return 1;
53290
 
+#endif
53291
 
+  /* Check whether the decimal separator is a comma.
53292
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
53293
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
53294
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
53295
 
+  return 0;
53296
 
+}
53297
 
+      
53298
 
+_ACEOF
53299
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
53300
 
+  (eval $ac_link) 2>&5
53301
 
+  ac_status=$?
53302
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
53303
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
53304
 
+      case "$host_os" in
53305
 
+        # Handle native Windows specially, because there setlocale() interprets
53306
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
53307
 
+        # "fr" or "fra" as "French" or "French_France.1252",
53308
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
53309
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
53310
 
+        # and similar.
53311
 
+        mingw*)
53312
 
+          # Test for the hypothetical native Win32 locale name.
53313
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53314
 
+            gt_cv_locale_fr_utf8=French_France.65001
53315
 
+          else
53316
 
+            # None found.
53317
 
+            gt_cv_locale_fr_utf8=none
53318
 
+          fi
53319
 
+          ;;
53320
 
+        *)
53321
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
53322
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
53323
 
+          # configure script would override the LC_ALL setting. Likewise for
53324
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
53325
 
+          # Test for the usual locale name.
53326
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53327
 
+            gt_cv_locale_fr_utf8=fr_FR
53328
 
+          else
53329
 
+            # Test for the locale name with explicit encoding suffix.
53330
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53331
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
53332
 
+            else
53333
 
+              # Test for the Solaris 7 locale name.
53334
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53335
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
53336
 
+              else
53337
 
+                # None found.
53338
 
+                gt_cv_locale_fr_utf8=none
53339
 
+              fi
53340
 
+            fi
53341
 
+          fi
53342
 
+          ;;
53343
 
+      esac
53344
 
+    fi
53345
 
+    rm -fr conftest*
53346
 
+  
53347
 
+fi
53348
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
53349
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
53350
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
53351
 
+  
53352
 
+
53353
 
+
53354
 
+  
53355
 
+  
53356
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
53357
 
+$as_echo_n "checking for a traditional japanese locale... " >&6; }
53358
 
+if ${gt_cv_locale_ja+:} false; then :
53359
 
+  $as_echo_n "(cached) " >&6
53360
 
+else
53361
 
+  
53362
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53363
 
+/* end confdefs.h.  */
53364
 
+
53365
 
+#include <locale.h>
53366
 
+#include <time.h>
53367
 
+#if HAVE_LANGINFO_CODESET
53368
 
+# include <langinfo.h>
53369
 
+#endif
53370
 
+#include <stdlib.h>
53371
 
+#include <string.h>
53372
 
+struct tm t;
53373
 
+char buf[16];
53374
 
+int main ()
53375
 
+{
53376
 
+  const char *p;
53377
 
+  /* Check whether the given locale name is recognized by the system.  */
53378
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
53379
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
53380
 
+     not at the environment variables.  Also, when an encoding suffix such
53381
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
53382
 
+     category of the locale to "C".  */
53383
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
53384
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
53385
 
+    return 1;
53386
 
+#else
53387
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
53388
 
+#endif
53389
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
53390
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
53391
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
53392
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
53393
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
53394
 
+     some unit tests fail.
53395
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
53396
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
53397
 
+#if HAVE_LANGINFO_CODESET
53398
 
+  {
53399
 
+    const char *cs = nl_langinfo (CODESET);
53400
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
53401
 
+        || strcmp (cs, "UTF-8") == 0)
53402
 
+      return 1;
53403
 
+  }
53404
 
+#endif
53405
 
+#ifdef __CYGWIN__
53406
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
53407
 
+     locale_charset() function relies on the encoding suffix.  Note that
53408
 
+     LC_ALL is set on the command line.  */
53409
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
53410
 
+#endif
53411
 
+  /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
53412
 
+     on Cygwin 1.5.x.  */
53413
 
+  if (MB_CUR_MAX == 1)
53414
 
+    return 1;
53415
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
53416
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
53417
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
53418
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
53419
 
+  for (p = buf; *p != '\0'; p++)
53420
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
53421
 
+      return 1;
53422
 
+  return 0;
53423
 
+}
53424
 
+      
53425
 
+_ACEOF
53426
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
53427
 
+  (eval $ac_link) 2>&5
53428
 
+  ac_status=$?
53429
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
53430
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
53431
 
+      case "$host_os" in
53432
 
+        # Handle native Windows specially, because there setlocale() interprets
53433
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
53434
 
+        # "fr" or "fra" as "French" or "French_France.1252",
53435
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
53436
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
53437
 
+        # and similar.
53438
 
+        mingw*)
53439
 
+          # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
53440
 
+          # and CP932 is very different from EUC-JP, so we cannot use it here.
53441
 
+          gt_cv_locale_ja=none
53442
 
+          ;;
53443
 
+        *)
53444
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
53445
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
53446
 
+          # configure script would override the LC_ALL setting. Likewise for
53447
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
53448
 
+          # Test for the AIX locale name.
53449
 
+          if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53450
 
+            gt_cv_locale_ja=ja_JP
53451
 
+          else
53452
 
+            # Test for the locale name with explicit encoding suffix.
53453
 
+            if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53454
 
+              gt_cv_locale_ja=ja_JP.EUC-JP
53455
 
+            else
53456
 
+              # Test for the HP-UX, OSF/1, NetBSD locale name.
53457
 
+              if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53458
 
+                gt_cv_locale_ja=ja_JP.eucJP
53459
 
+              else
53460
 
+                # Test for the IRIX, FreeBSD locale name.
53461
 
+                if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53462
 
+                  gt_cv_locale_ja=ja_JP.EUC
53463
 
+                else
53464
 
+                  # Test for the Solaris 7 locale name.
53465
 
+                  if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53466
 
+                    gt_cv_locale_ja=ja
53467
 
+                  else
53468
 
+                    # Special test for NetBSD 1.6.
53469
 
+                    if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
53470
 
+                      gt_cv_locale_ja=ja_JP.eucJP
53471
 
+                    else
53472
 
+                      # None found.
53473
 
+                      gt_cv_locale_ja=none
53474
 
+                    fi
53475
 
+                  fi
53476
 
+                fi
53477
 
+              fi
53478
 
+            fi
53479
 
+          fi
53480
 
+          ;;
53481
 
+      esac
53482
 
+    fi
53483
 
+    rm -fr conftest*
53484
 
+  
53485
 
+fi
53486
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
53487
 
+$as_echo "$gt_cv_locale_ja" >&6; }
53488
 
+  LOCALE_JA=$gt_cv_locale_ja
53489
 
+  
53490
 
+
53491
 
+
53492
 
+  
53493
 
+  
53494
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
53495
 
+$as_echo_n "checking for a transitional chinese locale... " >&6; }
53496
 
+if ${gt_cv_locale_zh_CN+:} false; then :
53497
 
+  $as_echo_n "(cached) " >&6
53498
 
+else
53499
 
+  
53500
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53501
 
+/* end confdefs.h.  */
53502
 
+
53503
 
+#include <locale.h>
53504
 
+#include <stdlib.h>
53505
 
+#include <time.h>
53506
 
+#if HAVE_LANGINFO_CODESET
53507
 
+# include <langinfo.h>
53508
 
+#endif
53509
 
+#include <stdlib.h>
53510
 
+#include <string.h>
53511
 
+struct tm t;
53512
 
+char buf[16];
53513
 
+int main ()
53514
 
+{
53515
 
+  const char *p;
53516
 
+  /* Check whether the given locale name is recognized by the system.  */
53517
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
53518
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
53519
 
+     not at the environment variables.  Also, when an encoding suffix such
53520
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
53521
 
+     category of the locale to "C".  */
53522
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
53523
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
53524
 
+    return 1;
53525
 
+#else
53526
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
53527
 
+#endif
53528
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
53529
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
53530
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
53531
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
53532
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
53533
 
+     some unit tests fail.
53534
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
53535
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
53536
 
+#if HAVE_LANGINFO_CODESET
53537
 
+  {
53538
 
+    const char *cs = nl_langinfo (CODESET);
53539
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
53540
 
+        || strcmp (cs, "UTF-8") == 0)
53541
 
+      return 1;
53542
 
+  }
53543
 
+#endif
53544
 
+#ifdef __CYGWIN__
53545
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
53546
 
+     locale_charset() function relies on the encoding suffix.  Note that
53547
 
+     LC_ALL is set on the command line.  */
53548
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
53549
 
+#endif
53550
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
53551
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
53552
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
53553
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
53554
 
+  for (p = buf; *p != '\0'; p++)
53555
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
53556
 
+      return 1;
53557
 
+  /* Check whether a typical GB18030 multibyte sequence is recognized as a
53558
 
+     single wide character.  This excludes the GB2312 and GBK encodings.  */
53559
 
+  if (mblen ("\203\062\332\066", 5) != 4)
53560
 
+    return 1;
53561
 
+  return 0;
53562
 
+}
53563
 
+      
53564
 
+_ACEOF
53565
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
53566
 
+  (eval $ac_link) 2>&5
53567
 
+  ac_status=$?
53568
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
53569
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
53570
 
+      case "$host_os" in
53571
 
+        # Handle native Windows specially, because there setlocale() interprets
53572
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
53573
 
+        # "fr" or "fra" as "French" or "French_France.1252",
53574
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
53575
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
53576
 
+        # and similar.
53577
 
+        mingw*)
53578
 
+          # Test for the hypothetical native Win32 locale name.
53579
 
+          if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53580
 
+            gt_cv_locale_zh_CN=Chinese_China.54936
53581
 
+          else
53582
 
+            # None found.
53583
 
+            gt_cv_locale_zh_CN=none
53584
 
+          fi
53585
 
+          ;;
53586
 
+        solaris2.8)
53587
 
+          # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
53588
 
+          # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
53589
 
+          # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
53590
 
+          gt_cv_locale_zh_CN=none
53591
 
+          ;;
53592
 
+        *)
53593
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
53594
 
+          # otherwise on MacOS 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 locale name without encoding suffix.
53598
 
+          if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53599
 
+            gt_cv_locale_zh_CN=zh_CN
53600
 
+          else
53601
 
+            # Test for the locale name with explicit encoding suffix.
53602
 
+            if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
53603
 
+              gt_cv_locale_zh_CN=zh_CN.GB18030
53604
 
+            else
53605
 
+              # None found.
53606
 
+              gt_cv_locale_zh_CN=none
53607
 
+            fi
53608
 
+          fi
53609
 
+          ;;
53610
 
+      esac
53611
 
+    else
53612
 
+      # If there was a link error, due to mblen(), the system is so old that
53613
 
+      # it certainly doesn't have a chinese locale.
53614
 
+      gt_cv_locale_zh_CN=none
53615
 
+    fi
53616
 
+    rm -fr conftest*
53617
 
+  
53618
 
+fi
53619
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
53620
 
+$as_echo "$gt_cv_locale_zh_CN" >&6; }
53621
 
+  LOCALE_ZH_CN=$gt_cv_locale_zh_CN
53622
 
+  
53623
 
+
53624
 
+
53625
 
+if test "$ac_cv_header_winsock2_h" = yes; then
53626
 
+  
53627
 
+  
53628
 
+  
53629
 
+    
53630
 
+      
53631
 
+      
53632
 
+    
53633
 
+  
53634
 
+  gltests_LIBOBJS="$gltests_LIBOBJS setsockopt.$ac_objext"
53635
 
+
53636
 
+fi
53637
 
+
53638
 
+    
53639
 
+  
53640
 
+  
53641
 
+  
53642
 
+    if test "$GNULIB_SETSOCKOPT" != 1; then
53643
 
+        if test "$GNULIB_SETSOCKOPT" = 0; then
53644
 
+      GNULIB_SETSOCKOPT=$gl_module_indicator_condition
53645
 
+    else
53646
 
+      GNULIB_SETSOCKOPT="($GNULIB_SETSOCKOPT || $gl_module_indicator_condition)"
53647
 
+    fi
53648
 
+  fi
53649
 
+
53650
 
+
53651
 
+
53652
 
+    
53653
 
+  
53654
 
+$as_echo "@%:@define GNULIB_TEST_SETSOCKOPT 1" >>confdefs.h
53655
 
+
53656
 
+
53657
 
+
53658
 
+
53659
 
+
53660
 
+
53661
 
+
53662
 
+  
53663
 
+            ac_fn_c_check_decl "$LINENO" "sleep" "ac_cv_have_decl_sleep" "#include <unistd.h>
53664
 
+"
53665
 
+if test "x$ac_cv_have_decl_sleep" = xyes; then :
53666
 
+  ac_have_decl=1
53667
 
+else
53668
 
+  ac_have_decl=0
53669
 
+fi
53670
 
+
53671
 
+cat >>confdefs.h <<_ACEOF
53672
 
+@%:@define HAVE_DECL_SLEEP $ac_have_decl
53673
 
+_ACEOF
53674
 
+
53675
 
+  
53676
 
+  if test $ac_cv_have_decl_sleep != yes; then
53677
 
+    HAVE_SLEEP=0
53678
 
+  else
53679
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working sleep" >&5
53680
 
+$as_echo_n "checking for working sleep... " >&6; }
53681
 
+if ${gl_cv_func_sleep_works+:} false; then :
53682
 
+  $as_echo_n "(cached) " >&6
53683
 
+else
53684
 
+  if test "$cross_compiling" = yes; then :
53685
 
+  gl_cv_func_sleep_works="guessing no"
53686
 
+else
53687
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53688
 
+/* end confdefs.h.  */
53689
 
+
53690
 
+#include <errno.h>
53691
 
+#include <unistd.h>
53692
 
+#include <signal.h>
53693
 
+static void
53694
 
+handle_alarm (int sig)
53695
 
+{
53696
 
+  if (sig != SIGALRM)
53697
 
+    _exit (2);
53698
 
+}
53699
 
+
53700
 
+int
53701
 
+main ()
53702
 
+{
53703
 
+
53704
 
+    /* Failure to compile this test due to missing alarm is okay,
53705
 
+       since all such platforms (mingw) also lack sleep.  */
53706
 
+    unsigned int pentecost = 50 * 24 * 60 * 60; /* 50 days.  */
53707
 
+    unsigned int remaining;
53708
 
+    signal (SIGALRM, handle_alarm);
53709
 
+    alarm (1);
53710
 
+    remaining = sleep (pentecost);
53711
 
+    if (remaining > pentecost)
53712
 
+      return 3;
53713
 
+    if (remaining <= pentecost - 10)
53714
 
+      return 4;
53715
 
+    return 0;
53716
 
+    
53717
 
+  ;
53718
 
+  return 0;
53719
 
+}
53720
 
+_ACEOF
53721
 
+if ac_fn_c_try_run "$LINENO"; then :
53722
 
+  gl_cv_func_sleep_works=yes
53723
 
+else
53724
 
+  gl_cv_func_sleep_works=no
53725
 
+fi
53726
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53727
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
53728
 
+fi
53729
 
+
53730
 
+fi
53731
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_sleep_works" >&5
53732
 
+$as_echo "$gl_cv_func_sleep_works" >&6; }
53733
 
+    if test "$gl_cv_func_sleep_works" != yes; then
53734
 
+      REPLACE_SLEEP=1
53735
 
+    fi
53736
 
+  fi
53737
 
+
53738
 
+if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then
53739
 
+  
53740
 
+  
53741
 
+  
53742
 
+    
53743
 
+      
53744
 
+      
53745
 
+    
53746
 
+  
53747
 
+  gltests_LIBOBJS="$gltests_LIBOBJS sleep.$ac_objext"
53748
 
+
53749
 
+fi
53750
 
+
53751
 
+    
53752
 
+  
53753
 
+  
53754
 
+  
53755
 
+    if test "$GNULIB_SLEEP" != 1; then
53756
 
+        if test "$GNULIB_SLEEP" = 0; then
53757
 
+      GNULIB_SLEEP=$gl_module_indicator_condition
53758
 
+    else
53759
 
+      GNULIB_SLEEP="($GNULIB_SLEEP || $gl_module_indicator_condition)"
53760
 
+    fi
53761
 
+  fi
53762
 
+
53763
 
+
53764
 
+
53765
 
+    
53766
 
+  
53767
 
+$as_echo "@%:@define GNULIB_TEST_SLEEP 1" >>confdefs.h
53768
 
+
53769
 
+
53770
 
+
53771
 
+
53772
 
+
53773
 
+if test "$ac_cv_header_winsock2_h" = yes; then
53774
 
+  
53775
 
+  
53776
 
+  
53777
 
+    
53778
 
+      
53779
 
+      
53780
 
+    
53781
 
+  
53782
 
+  gltests_LIBOBJS="$gltests_LIBOBJS socket.$ac_objext"
53783
 
+
53784
 
+fi
53785
 
+# When this module is used, sockets may actually occur as file descriptors,
53786
 
+# hence it is worth warning if the modules 'close' and 'ioctl' are not used.
53787
 
+
53788
 
+
53789
 
+
53790
 
+if test "$ac_cv_header_winsock2_h" = yes; then
53791
 
+  UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
53792
 
+  SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
53793
 
+fi
53794
 
+
53795
 
+    
53796
 
+  
53797
 
+  
53798
 
+  
53799
 
+    if test "$GNULIB_SOCKET" != 1; then
53800
 
+        if test "$GNULIB_SOCKET" = 0; then
53801
 
+      GNULIB_SOCKET=$gl_module_indicator_condition
53802
 
+    else
53803
 
+      GNULIB_SOCKET="($GNULIB_SOCKET || $gl_module_indicator_condition)"
53804
 
+    fi
53805
 
+  fi
53806
 
+
53807
 
+
53808
 
+
53809
 
+    
53810
 
+  
53811
 
+$as_echo "@%:@define GNULIB_TEST_SOCKET 1" >>confdefs.h
53812
 
+
53813
 
+
53814
 
+
53815
 
+
53816
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
53817
 
+$as_echo_n "checking for wchar_t... " >&6; }
53818
 
+if ${gt_cv_c_wchar_t+:} false; then :
53819
 
+  $as_echo_n "(cached) " >&6
53820
 
+else
53821
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53822
 
+/* end confdefs.h.  */
53823
 
+#include <stddef.h>
53824
 
+            wchar_t foo = (wchar_t)'\0';
53825
 
+int
53826
 
+main ()
53827
 
+{
53828
 
+
53829
 
+  ;
53830
 
+  return 0;
53831
 
+}
53832
 
+_ACEOF
53833
 
+if ac_fn_c_try_compile "$LINENO"; then :
53834
 
+  gt_cv_c_wchar_t=yes
53835
 
+else
53836
 
+  gt_cv_c_wchar_t=no
53837
 
+fi
53838
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53839
 
+fi
53840
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
53841
 
+$as_echo "$gt_cv_c_wchar_t" >&6; }
53842
 
+  if test $gt_cv_c_wchar_t = yes; then
53843
 
+    
53844
 
+$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h
53845
 
+
53846
 
+  fi
53847
 
+
53848
 
+
53849
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
53850
 
+$as_echo_n "checking for wint_t... " >&6; }
53851
 
+if ${gt_cv_c_wint_t+:} false; then :
53852
 
+  $as_echo_n "(cached) " >&6
53853
 
+else
53854
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53855
 
+/* end confdefs.h.  */
53856
 
+
53857
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
53858
 
+   <wchar.h>.
53859
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
53860
 
+   before <wchar.h>.  */
53861
 
+#include <stddef.h>
53862
 
+#include <stdio.h>
53863
 
+#include <time.h>
53864
 
+#include <wchar.h>
53865
 
+            wint_t foo = (wchar_t)'\0';
53866
 
+int
53867
 
+main ()
53868
 
+{
53869
 
+
53870
 
+  ;
53871
 
+  return 0;
53872
 
+}
53873
 
+_ACEOF
53874
 
+if ac_fn_c_try_compile "$LINENO"; then :
53875
 
+  gt_cv_c_wint_t=yes
53876
 
+else
53877
 
+  gt_cv_c_wint_t=no
53878
 
+fi
53879
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53880
 
+fi
53881
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
53882
 
+$as_echo "$gt_cv_c_wint_t" >&6; }
53883
 
+  if test $gt_cv_c_wint_t = yes; then
53884
 
+    
53885
 
+$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h
53886
 
+
53887
 
+  fi
53888
 
+
53889
 
+
53890
 
+  
53891
 
+  
53892
 
+
53893
 
+    
53894
 
+
53895
 
+      
53896
 
+  if test $ac_cv_have_decl_strerror_r = no; then
53897
 
+    HAVE_DECL_STRERROR_R=0
53898
 
+  fi
53899
 
+
53900
 
+  if test $ac_cv_func_strerror_r = yes; then
53901
 
+    if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
53902
 
+      if test $gl_cv_func_strerror_r_posix_signature = yes; then
53903
 
+        case "$gl_cv_func_strerror_r_works" in
53904
 
+                    *no) REPLACE_STRERROR_R=1 ;;
53905
 
+        esac
53906
 
+      else
53907
 
+                REPLACE_STRERROR_R=1
53908
 
+      fi
53909
 
+    else
53910
 
+                  REPLACE_STRERROR_R=1
53911
 
+    fi
53912
 
+  fi
53913
 
+
53914
 
+if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then
53915
 
+  
53916
 
+  
53917
 
+  
53918
 
+    
53919
 
+      
53920
 
+      
53921
 
+    
53922
 
+  
53923
 
+  gltests_LIBOBJS="$gltests_LIBOBJS strerror_r.$ac_objext"
53924
 
+
53925
 
+  
53926
 
+    
53927
 
+  
53928
 
+
53929
 
+fi
53930
 
+
53931
 
+    
53932
 
+  
53933
 
+  
53934
 
+  
53935
 
+    if test "$GNULIB_STRERROR_R" != 1; then
53936
 
+        if test "$GNULIB_STRERROR_R" = 0; then
53937
 
+      GNULIB_STRERROR_R=$gl_module_indicator_condition
53938
 
+    else
53939
 
+      GNULIB_STRERROR_R="($GNULIB_STRERROR_R || $gl_module_indicator_condition)"
53940
 
+    fi
53941
 
+  fi
53942
 
+
53943
 
+
53944
 
+
53945
 
+    
53946
 
+  
53947
 
+$as_echo "@%:@define GNULIB_TEST_STRERROR_R 1" >>confdefs.h
53948
 
+
53949
 
+
53950
 
+
53951
 
+
53952
 
+    
53953
 
+
53954
 
+  # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
53955
 
+  # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
53956
 
+  # irrelevant for anonymous mappings.
53957
 
+  ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
53958
 
+if test "x$ac_cv_func_mmap" = xyes; then :
53959
 
+  gl_have_mmap=yes
53960
 
+else
53961
 
+  gl_have_mmap=no
53962
 
+fi
53963
 
+
53964
 
+
53965
 
+  # Try to allow MAP_ANONYMOUS.
53966
 
+  gl_have_mmap_anonymous=no
53967
 
+  if test $gl_have_mmap = yes; then
53968
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
53969
 
+$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
53970
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53971
 
+/* end confdefs.h.  */
53972
 
+
53973
 
+#include <sys/mman.h>
53974
 
+#ifdef MAP_ANONYMOUS
53975
 
+    I cant identify this map
53976
 
+#endif
53977
 
+
53978
 
+_ACEOF
53979
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
53980
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
53981
 
+  gl_have_mmap_anonymous=yes
53982
 
+fi
53983
 
+rm -f conftest*
53984
 
+
53985
 
+    if test $gl_have_mmap_anonymous != yes; then
53986
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53987
 
+/* end confdefs.h.  */
53988
 
+
53989
 
+#include <sys/mman.h>
53990
 
+#ifdef MAP_ANON
53991
 
+    I cant identify this map
53992
 
+#endif
53993
 
+
53994
 
+_ACEOF
53995
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
53996
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
53997
 
+  
53998
 
+$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
53999
 
+
54000
 
+         gl_have_mmap_anonymous=yes
54001
 
+fi
54002
 
+rm -f conftest*
54003
 
+
54004
 
+    fi
54005
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
54006
 
+$as_echo "$gl_have_mmap_anonymous" >&6; }
54007
 
+    if test $gl_have_mmap_anonymous = yes; then
54008
 
+      
54009
 
+$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
54010
 
+
54011
 
+    fi
54012
 
+  fi
54013
 
+
54014
 
+
54015
 
+
54016
 
+
54017
 
+  
54018
 
+  
54019
 
+  
54020
 
+  
54021
 
+  if test $ac_cv_func_symlinkat = no; then
54022
 
+    HAVE_SYMLINKAT=0
54023
 
+  fi
54024
 
+
54025
 
+if test $HAVE_SYMLINKAT = 0; then
54026
 
+  
54027
 
+  
54028
 
+  
54029
 
+    
54030
 
+      
54031
 
+      
54032
 
+    
54033
 
+  
54034
 
+  gltests_LIBOBJS="$gltests_LIBOBJS symlinkat.$ac_objext"
54035
 
+
54036
 
+fi
54037
 
+
54038
 
+    
54039
 
+  
54040
 
+  
54041
 
+  
54042
 
+    if test "$GNULIB_SYMLINKAT" != 1; then
54043
 
+        if test "$GNULIB_SYMLINKAT" = 0; then
54044
 
+      GNULIB_SYMLINKAT=$gl_module_indicator_condition
54045
 
+    else
54046
 
+      GNULIB_SYMLINKAT="($GNULIB_SYMLINKAT || $gl_module_indicator_condition)"
54047
 
+    fi
54048
 
+  fi
54049
 
+
54050
 
+
54051
 
+
54052
 
+    
54053
 
+  
54054
 
+$as_echo "@%:@define GNULIB_TEST_SYMLINKAT 1" >>confdefs.h
54055
 
+
54056
 
+
54057
 
+
54058
 
+
54059
 
+
54060
 
+  
54061
 
+  
54062
 
+
54063
 
+  if test $gl_threads_api = posix; then
54064
 
+    gl_save_LIBS="$LIBS"
54065
 
+    LIBS="$LIBS $LIBMULTITHREAD"
54066
 
+    for ac_func in pthread_atfork
54067
 
+do :
54068
 
+  ac_fn_c_check_func "$LINENO" "pthread_atfork" "ac_cv_func_pthread_atfork"
54069
 
+if test "x$ac_cv_func_pthread_atfork" = xyes; then :
54070
 
+  cat >>confdefs.h <<_ACEOF
54071
 
+@%:@define HAVE_PTHREAD_ATFORK 1
54072
 
+_ACEOF
54073
 
54074
 
+fi
54075
 
+done
54076
 
+
54077
 
+    LIBS="$gl_save_LIBS"
54078
 
+  fi
54079
 
+
54080
 
+
54081
 
+  
54082
 
+  
54083
 
+
54084
 
+  # The Hurd, the Linux kernel, the FreeBSD kernel version 2.2 and later,
54085
 
+  # Cygwin, and mingw never let anyone (even root) unlink directories.
54086
 
+  # If anyone knows of another system for which unlink can never
54087
 
+  # remove a directory, please report it to <bug-coreutils@gnu.org>.
54088
 
+  # Unfortunately this is difficult to test for, since it requires root access
54089
 
+  # and might create garbage in the file system,
54090
 
+  # so the code below simply relies on the kernel name and version number.
54091
 
+  case $host_os in
54092
 
+  gnu[0-9]* | \
54093
 
+  linux-* | linux | \
54094
 
+  freebsd2.2* | freebsd[3-9]* | freebsd[1-9][0-9]* | \
54095
 
+  cygwin | \
54096
 
+  mingw*)
54097
 
+    
54098
 
+$as_echo "@%:@define UNLINK_CANNOT_UNLINK_DIR 1" >>confdefs.h
54099
 
+;;
54100
 
+  esac
54101
 
+
54102
 
+abs_aux_dir=`cd "$ac_aux_dir"; pwd`
54103
 
+
54104
 
+
54105
 
+  
54106
 
+      
54107
 
+  
54108
 
+  ac_fn_c_check_type "$LINENO" "useconds_t" "ac_cv_type_useconds_t" "$ac_includes_default"
54109
 
+if test "x$ac_cv_type_useconds_t" = xyes; then :
54110
 
+  
54111
 
+else
54112
 
+  
54113
 
+$as_echo "@%:@define useconds_t unsigned int" >>confdefs.h
54114
 
+
54115
 
+fi
54116
 
+
54117
 
+  if test $ac_cv_func_usleep = no; then
54118
 
+    HAVE_USLEEP=0
54119
 
+  else
54120
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usleep allows large arguments" >&5
54121
 
+$as_echo_n "checking whether usleep allows large arguments... " >&6; }
54122
 
+if ${gl_cv_func_usleep_works+:} false; then :
54123
 
+  $as_echo_n "(cached) " >&6
54124
 
+else
54125
 
+  if test "$cross_compiling" = yes; then :
54126
 
+  gl_cv_func_usleep_works="guessing no"
54127
 
+else
54128
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54129
 
+/* end confdefs.h.  */
54130
 
+
54131
 
+#include <unistd.h>
54132
 
+
54133
 
+int
54134
 
+main ()
54135
 
+{
54136
 
+return !!usleep (1000000);
54137
 
+  ;
54138
 
+  return 0;
54139
 
+}
54140
 
+_ACEOF
54141
 
+if ac_fn_c_try_run "$LINENO"; then :
54142
 
+  gl_cv_func_usleep_works=yes
54143
 
+else
54144
 
+  gl_cv_func_usleep_works=no
54145
 
+fi
54146
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54147
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
54148
 
+fi
54149
 
+
54150
 
+fi
54151
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_usleep_works" >&5
54152
 
+$as_echo "$gl_cv_func_usleep_works" >&6; }
54153
 
+    if test "$gl_cv_func_usleep_works" != yes; then
54154
 
+      REPLACE_USLEEP=1
54155
 
+    fi
54156
 
+  fi
54157
 
+
54158
 
+if test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1; then
54159
 
+  
54160
 
+  
54161
 
+  
54162
 
+    
54163
 
+      
54164
 
+      
54165
 
+    
54166
 
+  
54167
 
+  gltests_LIBOBJS="$gltests_LIBOBJS usleep.$ac_objext"
54168
 
+
54169
 
+fi
54170
 
+
54171
 
+    
54172
 
+  
54173
 
+  
54174
 
+  
54175
 
+    if test "$GNULIB_USLEEP" != 1; then
54176
 
+        if test "$GNULIB_USLEEP" = 0; then
54177
 
+      GNULIB_USLEEP=$gl_module_indicator_condition
54178
 
+    else
54179
 
+      GNULIB_USLEEP="($GNULIB_USLEEP || $gl_module_indicator_condition)"
54180
 
+    fi
54181
 
+  fi
54182
 
+
54183
 
+
54184
 
+
54185
 
+    
54186
 
+  
54187
 
+$as_echo "@%:@define GNULIB_TEST_USLEEP 1" >>confdefs.h
54188
 
+
54189
 
+
54190
 
+
54191
 
+abs_aux_dir=`cd "$ac_aux_dir"; pwd`
54192
 
+
54193
 
+
54194
 
+  
54195
 
+  
54196
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
54197
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
54198
 
+if ${gt_cv_locale_fr+:} false; then :
54199
 
+  $as_echo_n "(cached) " >&6
54200
 
+else
54201
 
+  
54202
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54203
 
+/* end confdefs.h.  */
54204
 
+
54205
 
+#include <locale.h>
54206
 
+#include <time.h>
54207
 
+#if HAVE_LANGINFO_CODESET
54208
 
+# include <langinfo.h>
54209
 
+#endif
54210
 
+#include <stdlib.h>
54211
 
+#include <string.h>
54212
 
+struct tm t;
54213
 
+char buf[16];
54214
 
+int main () {
54215
 
+  /* Check whether the given locale name is recognized by the system.  */
54216
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
54217
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
54218
 
+     not at the environment variables.  Also, when an encoding suffix such
54219
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
54220
 
+     category of the locale to "C".  */
54221
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
54222
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
54223
 
+    return 1;
54224
 
+#else
54225
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
54226
 
+#endif
54227
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
54228
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
54229
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
54230
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
54231
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
54232
 
+     some unit tests fail.
54233
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
54234
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
54235
 
+#if HAVE_LANGINFO_CODESET
54236
 
+  {
54237
 
+    const char *cs = nl_langinfo (CODESET);
54238
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
54239
 
+        || strcmp (cs, "UTF-8") == 0)
54240
 
+      return 1;
54241
 
+  }
54242
 
+#endif
54243
 
+#ifdef __CYGWIN__
54244
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
54245
 
+     locale_charset() function relies on the encoding suffix.  Note that
54246
 
+     LC_ALL is set on the command line.  */
54247
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
54248
 
+#endif
54249
 
+  /* Check whether in the abbreviation of the second month, the second
54250
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
54251
 
+     one byte long. This excludes the UTF-8 encoding.  */
54252
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
54253
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
54254
 
+  /* Check whether the decimal separator is a comma.
54255
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
54256
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
54257
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
54258
 
+  return 0;
54259
 
+}
54260
 
+      
54261
 
+_ACEOF
54262
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
54263
 
+  (eval $ac_link) 2>&5
54264
 
+  ac_status=$?
54265
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
54266
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
54267
 
+      case "$host_os" in
54268
 
+        # Handle native Windows specially, because there setlocale() interprets
54269
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
54270
 
+        # "fr" or "fra" as "French" or "French_France.1252",
54271
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
54272
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
54273
 
+        # and similar.
54274
 
+        mingw*)
54275
 
+          # Test for the native Win32 locale name.
54276
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54277
 
+            gt_cv_locale_fr=French_France.1252
54278
 
+          else
54279
 
+            # None found.
54280
 
+            gt_cv_locale_fr=none
54281
 
+          fi
54282
 
+          ;;
54283
 
+        *)
54284
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
54285
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
54286
 
+          # configure script would override the LC_ALL setting. Likewise for
54287
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
54288
 
+          # Test for the usual locale name.
54289
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54290
 
+            gt_cv_locale_fr=fr_FR
54291
 
+          else
54292
 
+            # Test for the locale name with explicit encoding suffix.
54293
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54294
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
54295
 
+            else
54296
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
54297
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54298
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
54299
 
+              else
54300
 
+                # Test for the HP-UX locale name.
54301
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54302
 
+                  gt_cv_locale_fr=fr_FR.iso88591
54303
 
+                else
54304
 
+                  # Test for the Solaris 7 locale name.
54305
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54306
 
+                    gt_cv_locale_fr=fr
54307
 
+                  else
54308
 
+                    # None found.
54309
 
+                    gt_cv_locale_fr=none
54310
 
+                  fi
54311
 
+                fi
54312
 
+              fi
54313
 
+            fi
54314
 
+          fi
54315
 
+          ;;
54316
 
+      esac
54317
 
+    fi
54318
 
+    rm -fr conftest*
54319
 
+  
54320
 
+fi
54321
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
54322
 
+$as_echo "$gt_cv_locale_fr" >&6; }
54323
 
+  LOCALE_FR=$gt_cv_locale_fr
54324
 
+  
54325
 
+
54326
 
+
54327
 
+  
54328
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
54329
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
54330
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
54331
 
+  $as_echo_n "(cached) " >&6
54332
 
+else
54333
 
+  
54334
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54335
 
+/* end confdefs.h.  */
54336
 
+
54337
 
+#include <locale.h>
54338
 
+#include <time.h>
54339
 
+#if HAVE_LANGINFO_CODESET
54340
 
+# include <langinfo.h>
54341
 
+#endif
54342
 
+#include <stdlib.h>
54343
 
+#include <string.h>
54344
 
+struct tm t;
54345
 
+char buf[16];
54346
 
+int main () {
54347
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
54348
 
+     imitates locale dependent behaviour by looking at the environment
54349
 
+     variables, and all locales use the UTF-8 encoding.  */
54350
 
+#if !(defined __BEOS__ || defined __HAIKU__)
54351
 
+  /* Check whether the given locale name is recognized by the system.  */
54352
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
54353
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
54354
 
+     not at the environment variables.  Also, when an encoding suffix such
54355
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
54356
 
+     category of the locale to "C".  */
54357
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
54358
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
54359
 
+    return 1;
54360
 
+# else
54361
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
54362
 
+# endif
54363
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
54364
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
54365
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
54366
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
54367
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
54368
 
+     some unit tests fail.  */
54369
 
+# if HAVE_LANGINFO_CODESET
54370
 
+  {
54371
 
+    const char *cs = nl_langinfo (CODESET);
54372
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
54373
 
+      return 1;
54374
 
+  }
54375
 
+# endif
54376
 
+# ifdef __CYGWIN__
54377
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
54378
 
+     locale_charset() function relies on the encoding suffix.  Note that
54379
 
+     LC_ALL is set on the command line.  */
54380
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
54381
 
+# endif
54382
 
+  /* Check whether in the abbreviation of the second month, the second
54383
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
54384
 
+     two bytes long, with UTF-8 encoding.  */
54385
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
54386
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
54387
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
54388
 
+    return 1;
54389
 
+#endif
54390
 
+  /* Check whether the decimal separator is a comma.
54391
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
54392
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
54393
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
54394
 
+  return 0;
54395
 
+}
54396
 
+      
54397
 
+_ACEOF
54398
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
54399
 
+  (eval $ac_link) 2>&5
54400
 
+  ac_status=$?
54401
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
54402
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
54403
 
+      case "$host_os" in
54404
 
+        # Handle native Windows specially, because there setlocale() interprets
54405
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
54406
 
+        # "fr" or "fra" as "French" or "French_France.1252",
54407
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
54408
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
54409
 
+        # and similar.
54410
 
+        mingw*)
54411
 
+          # Test for the hypothetical native Win32 locale name.
54412
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54413
 
+            gt_cv_locale_fr_utf8=French_France.65001
54414
 
+          else
54415
 
+            # None found.
54416
 
+            gt_cv_locale_fr_utf8=none
54417
 
+          fi
54418
 
+          ;;
54419
 
+        *)
54420
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
54421
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
54422
 
+          # configure script would override the LC_ALL setting. Likewise for
54423
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
54424
 
+          # Test for the usual locale name.
54425
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54426
 
+            gt_cv_locale_fr_utf8=fr_FR
54427
 
+          else
54428
 
+            # Test for the locale name with explicit encoding suffix.
54429
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54430
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
54431
 
+            else
54432
 
+              # Test for the Solaris 7 locale name.
54433
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54434
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
54435
 
+              else
54436
 
+                # None found.
54437
 
+                gt_cv_locale_fr_utf8=none
54438
 
+              fi
54439
 
+            fi
54440
 
+          fi
54441
 
+          ;;
54442
 
+      esac
54443
 
+    fi
54444
 
+    rm -fr conftest*
54445
 
+  
54446
 
+fi
54447
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
54448
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
54449
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
54450
 
+  
54451
 
+
54452
 
+
54453
 
+  
54454
 
+  
54455
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
54456
 
+$as_echo_n "checking for a traditional japanese locale... " >&6; }
54457
 
+if ${gt_cv_locale_ja+:} false; then :
54458
 
+  $as_echo_n "(cached) " >&6
54459
 
+else
54460
 
+  
54461
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54462
 
+/* end confdefs.h.  */
54463
 
+
54464
 
+#include <locale.h>
54465
 
+#include <time.h>
54466
 
+#if HAVE_LANGINFO_CODESET
54467
 
+# include <langinfo.h>
54468
 
+#endif
54469
 
+#include <stdlib.h>
54470
 
+#include <string.h>
54471
 
+struct tm t;
54472
 
+char buf[16];
54473
 
+int main ()
54474
 
+{
54475
 
+  const char *p;
54476
 
+  /* Check whether the given locale name is recognized by the system.  */
54477
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
54478
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
54479
 
+     not at the environment variables.  Also, when an encoding suffix such
54480
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
54481
 
+     category of the locale to "C".  */
54482
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
54483
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
54484
 
+    return 1;
54485
 
+#else
54486
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
54487
 
+#endif
54488
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
54489
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
54490
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
54491
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
54492
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
54493
 
+     some unit tests fail.
54494
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
54495
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
54496
 
+#if HAVE_LANGINFO_CODESET
54497
 
+  {
54498
 
+    const char *cs = nl_langinfo (CODESET);
54499
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
54500
 
+        || strcmp (cs, "UTF-8") == 0)
54501
 
+      return 1;
54502
 
+  }
54503
 
+#endif
54504
 
+#ifdef __CYGWIN__
54505
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
54506
 
+     locale_charset() function relies on the encoding suffix.  Note that
54507
 
+     LC_ALL is set on the command line.  */
54508
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
54509
 
+#endif
54510
 
+  /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
54511
 
+     on Cygwin 1.5.x.  */
54512
 
+  if (MB_CUR_MAX == 1)
54513
 
+    return 1;
54514
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
54515
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
54516
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
54517
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
54518
 
+  for (p = buf; *p != '\0'; p++)
54519
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
54520
 
+      return 1;
54521
 
+  return 0;
54522
 
+}
54523
 
+      
54524
 
+_ACEOF
54525
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
54526
 
+  (eval $ac_link) 2>&5
54527
 
+  ac_status=$?
54528
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
54529
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
54530
 
+      case "$host_os" in
54531
 
+        # Handle native Windows specially, because there setlocale() interprets
54532
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
54533
 
+        # "fr" or "fra" as "French" or "French_France.1252",
54534
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
54535
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
54536
 
+        # and similar.
54537
 
+        mingw*)
54538
 
+          # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
54539
 
+          # and CP932 is very different from EUC-JP, so we cannot use it here.
54540
 
+          gt_cv_locale_ja=none
54541
 
+          ;;
54542
 
+        *)
54543
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
54544
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
54545
 
+          # configure script would override the LC_ALL setting. Likewise for
54546
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
54547
 
+          # Test for the AIX locale name.
54548
 
+          if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54549
 
+            gt_cv_locale_ja=ja_JP
54550
 
+          else
54551
 
+            # Test for the locale name with explicit encoding suffix.
54552
 
+            if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54553
 
+              gt_cv_locale_ja=ja_JP.EUC-JP
54554
 
+            else
54555
 
+              # Test for the HP-UX, OSF/1, NetBSD locale name.
54556
 
+              if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54557
 
+                gt_cv_locale_ja=ja_JP.eucJP
54558
 
+              else
54559
 
+                # Test for the IRIX, FreeBSD locale name.
54560
 
+                if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54561
 
+                  gt_cv_locale_ja=ja_JP.EUC
54562
 
+                else
54563
 
+                  # Test for the Solaris 7 locale name.
54564
 
+                  if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54565
 
+                    gt_cv_locale_ja=ja
54566
 
+                  else
54567
 
+                    # Special test for NetBSD 1.6.
54568
 
+                    if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
54569
 
+                      gt_cv_locale_ja=ja_JP.eucJP
54570
 
+                    else
54571
 
+                      # None found.
54572
 
+                      gt_cv_locale_ja=none
54573
 
+                    fi
54574
 
+                  fi
54575
 
+                fi
54576
 
+              fi
54577
 
+            fi
54578
 
+          fi
54579
 
+          ;;
54580
 
+      esac
54581
 
+    fi
54582
 
+    rm -fr conftest*
54583
 
+  
54584
 
+fi
54585
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
54586
 
+$as_echo "$gt_cv_locale_ja" >&6; }
54587
 
+  LOCALE_JA=$gt_cv_locale_ja
54588
 
+  
54589
 
+
54590
 
+
54591
 
+  
54592
 
+  
54593
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
54594
 
+$as_echo_n "checking for a transitional chinese locale... " >&6; }
54595
 
+if ${gt_cv_locale_zh_CN+:} false; then :
54596
 
+  $as_echo_n "(cached) " >&6
54597
 
+else
54598
 
+  
54599
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54600
 
+/* end confdefs.h.  */
54601
 
+
54602
 
+#include <locale.h>
54603
 
+#include <stdlib.h>
54604
 
+#include <time.h>
54605
 
+#if HAVE_LANGINFO_CODESET
54606
 
+# include <langinfo.h>
54607
 
+#endif
54608
 
+#include <stdlib.h>
54609
 
+#include <string.h>
54610
 
+struct tm t;
54611
 
+char buf[16];
54612
 
+int main ()
54613
 
+{
54614
 
+  const char *p;
54615
 
+  /* Check whether the given locale name is recognized by the system.  */
54616
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
54617
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
54618
 
+     not at the environment variables.  Also, when an encoding suffix such
54619
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
54620
 
+     category of the locale to "C".  */
54621
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
54622
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
54623
 
+    return 1;
54624
 
+#else
54625
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
54626
 
+#endif
54627
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
54628
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
54629
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
54630
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
54631
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
54632
 
+     some unit tests fail.
54633
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
54634
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
54635
 
+#if HAVE_LANGINFO_CODESET
54636
 
+  {
54637
 
+    const char *cs = nl_langinfo (CODESET);
54638
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
54639
 
+        || strcmp (cs, "UTF-8") == 0)
54640
 
+      return 1;
54641
 
+  }
54642
 
+#endif
54643
 
+#ifdef __CYGWIN__
54644
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
54645
 
+     locale_charset() function relies on the encoding suffix.  Note that
54646
 
+     LC_ALL is set on the command line.  */
54647
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
54648
 
+#endif
54649
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
54650
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
54651
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
54652
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
54653
 
+  for (p = buf; *p != '\0'; p++)
54654
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
54655
 
+      return 1;
54656
 
+  /* Check whether a typical GB18030 multibyte sequence is recognized as a
54657
 
+     single wide character.  This excludes the GB2312 and GBK encodings.  */
54658
 
+  if (mblen ("\203\062\332\066", 5) != 4)
54659
 
+    return 1;
54660
 
+  return 0;
54661
 
+}
54662
 
+      
54663
 
+_ACEOF
54664
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
54665
 
+  (eval $ac_link) 2>&5
54666
 
+  ac_status=$?
54667
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
54668
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
54669
 
+      case "$host_os" in
54670
 
+        # Handle native Windows specially, because there setlocale() interprets
54671
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
54672
 
+        # "fr" or "fra" as "French" or "French_France.1252",
54673
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
54674
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
54675
 
+        # and similar.
54676
 
+        mingw*)
54677
 
+          # Test for the hypothetical native Win32 locale name.
54678
 
+          if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54679
 
+            gt_cv_locale_zh_CN=Chinese_China.54936
54680
 
+          else
54681
 
+            # None found.
54682
 
+            gt_cv_locale_zh_CN=none
54683
 
+          fi
54684
 
+          ;;
54685
 
+        solaris2.8)
54686
 
+          # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
54687
 
+          # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
54688
 
+          # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
54689
 
+          gt_cv_locale_zh_CN=none
54690
 
+          ;;
54691
 
+        *)
54692
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
54693
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
54694
 
+          # configure script would override the LC_ALL setting. Likewise for
54695
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
54696
 
+          # Test for the locale name without encoding suffix.
54697
 
+          if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54698
 
+            gt_cv_locale_zh_CN=zh_CN
54699
 
+          else
54700
 
+            # Test for the locale name with explicit encoding suffix.
54701
 
+            if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
54702
 
+              gt_cv_locale_zh_CN=zh_CN.GB18030
54703
 
+            else
54704
 
+              # None found.
54705
 
+              gt_cv_locale_zh_CN=none
54706
 
+            fi
54707
 
+          fi
54708
 
+          ;;
54709
 
+      esac
54710
 
+    else
54711
 
+      # If there was a link error, due to mblen(), the system is so old that
54712
 
+      # it certainly doesn't have a chinese locale.
54713
 
+      gt_cv_locale_zh_CN=none
54714
 
+    fi
54715
 
+    rm -fr conftest*
54716
 
+  
54717
 
+fi
54718
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
54719
 
+$as_echo "$gt_cv_locale_zh_CN" >&6; }
54720
 
+  LOCALE_ZH_CN=$gt_cv_locale_zh_CN
54721
 
+  
54722
 
+
54723
 
+
54724
 
+  
54725
 
+
54726
 
+  
54727
 
+  if test $ac_cv_func_wctob = no; then
54728
 
+    HAVE_WCTOB=0
54729
 
+    HAVE_DECL_WCTOB=0
54730
 
+  else
54731
 
+    HAVE_WCTOB=1
54732
 
+
54733
 
+                
54734
 
+    
54735
 
+         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wctob works" >&5
54736
 
+$as_echo_n "checking whether wctob works... " >&6; }
54737
 
+if ${gl_cv_func_wctob_works+:} false; then :
54738
 
+  $as_echo_n "(cached) " >&6
54739
 
+else
54740
 
+  
54741
 
+                        case "$host_os" in
54742
 
+            # Guess no on Solaris <= 9 and Cygwin.
54743
 
+          solaris2.[1-9] | solaris2.[1-9].* | cygwin*)
54744
 
+            gl_cv_func_wctob_works="guessing no" ;;
54745
 
+            # Guess yes otherwise.
54746
 
+          *) gl_cv_func_wctob_works="guessing yes" ;;
54747
 
+        esac
54748
 
+        case "$host_os" in
54749
 
+          cygwin*)
54750
 
+            if test "$cross_compiling" = yes; then :
54751
 
+  :
54752
 
+else
54753
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54754
 
+/* end confdefs.h.  */
54755
 
+
54756
 
+#include <locale.h>
54757
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
54758
 
+   <wchar.h>.
54759
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
54760
 
+   included before <wchar.h>.  */
54761
 
+#include <stddef.h>
54762
 
+#include <stdio.h>
54763
 
+#include <time.h>
54764
 
+#include <wchar.h>
54765
 
+
54766
 
+register long global __asm__ ("%ebx");
54767
 
+
54768
 
+int main ()
54769
 
+{
54770
 
+  setlocale (LC_ALL, "en_US.UTF-8");
54771
 
+
54772
 
+  global = 0x12345678;
54773
 
+  if (wctob (0x00FC) != -1)
54774
 
+    return 1;
54775
 
+  if (global != 0x12345678)
54776
 
+    return 2;
54777
 
+  return 0;
54778
 
+}
54779
 
+_ACEOF
54780
 
+if ac_fn_c_try_run "$LINENO"; then :
54781
 
+  :
54782
 
+else
54783
 
+  gl_cv_func_wctob_works=no
54784
 
+fi
54785
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54786
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
54787
 
+fi
54788
 
+
54789
 
+            ;;
54790
 
+        esac
54791
 
+        if test "$gl_cv_func_wctob_works" != no && test $LOCALE_FR != none; then
54792
 
+          if test "$cross_compiling" = yes; then :
54793
 
+  :
54794
 
+else
54795
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54796
 
+/* end confdefs.h.  */
54797
 
+
54798
 
+#include <locale.h>
54799
 
+#include <string.h>
54800
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
54801
 
+   <wchar.h>.
54802
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
54803
 
+   included before <wchar.h>.  */
54804
 
+#include <stddef.h>
54805
 
+#include <stdio.h>
54806
 
+#include <time.h>
54807
 
+#include <wchar.h>
54808
 
+int main ()
54809
 
+{
54810
 
+  if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
54811
 
+    {
54812
 
+      wchar_t wc;
54813
 
+
54814
 
+      if (mbtowc (&wc, "\374", 1) == 1)
54815
 
+        if (wctob (wc) != (unsigned char) '\374')
54816
 
+          return 1;
54817
 
+    }
54818
 
+  return 0;
54819
 
+}
54820
 
+_ACEOF
54821
 
+if ac_fn_c_try_run "$LINENO"; then :
54822
 
+  gl_cv_func_wctob_works=yes
54823
 
+else
54824
 
+  gl_cv_func_wctob_works=no
54825
 
+fi
54826
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54827
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
54828
 
+fi
54829
 
+
54830
 
+        fi
54831
 
+      
54832
 
+fi
54833
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wctob_works" >&5
54834
 
+$as_echo "$gl_cv_func_wctob_works" >&6; }
54835
 
+    case "$gl_cv_func_wctob_works" in
54836
 
+      *yes) ;;
54837
 
+      *) REPLACE_WCTOB=1 ;;
54838
 
+    esac
54839
 
+    if test $REPLACE_WCTOB = 0; then
54840
 
+
54841
 
+            ac_fn_c_check_decl "$LINENO" "wctob" "ac_cv_have_decl_wctob" "
54842
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
54843
 
+   <wchar.h>.
54844
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
54845
 
+   before <wchar.h>.  */
54846
 
+#include <stddef.h>
54847
 
+#include <stdio.h>
54848
 
+#include <time.h>
54849
 
+#include <wchar.h>
54850
 
+
54851
 
+"
54852
 
+if test "x$ac_cv_have_decl_wctob" = xyes; then :
54853
 
+  ac_have_decl=1
54854
 
+else
54855
 
+  ac_have_decl=0
54856
 
+fi
54857
 
+
54858
 
+cat >>confdefs.h <<_ACEOF
54859
 
+@%:@define HAVE_DECL_WCTOB $ac_have_decl
54860
 
+_ACEOF
54861
 
+
54862
 
+      if test $ac_cv_have_decl_wctob != yes; then
54863
 
+        HAVE_DECL_WCTOB=0
54864
 
+      fi
54865
 
+    fi
54866
 
+  fi
54867
 
+
54868
 
+if test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1; then
54869
 
+  
54870
 
+  
54871
 
+  
54872
 
+    
54873
 
+      
54874
 
+      
54875
 
+    
54876
 
+  
54877
 
+  gltests_LIBOBJS="$gltests_LIBOBJS wctob.$ac_objext"
54878
 
+
54879
 
+  
54880
 
+  :
54881
 
+
54882
 
+fi
54883
 
+
54884
 
+    
54885
 
+  
54886
 
+  
54887
 
+  
54888
 
+    if test "$GNULIB_WCTOB" != 1; then
54889
 
+        if test "$GNULIB_WCTOB" = 0; then
54890
 
+      GNULIB_WCTOB=$gl_module_indicator_condition
54891
 
+    else
54892
 
+      GNULIB_WCTOB="($GNULIB_WCTOB || $gl_module_indicator_condition)"
54893
 
+    fi
54894
 
+  fi
54895
 
+
54896
 
+
54897
 
+
54898
 
+    
54899
 
+  
54900
 
+$as_echo "@%:@define GNULIB_TEST_WCTOB 1" >>confdefs.h
54901
 
+
54902
 
+
54903
 
+
54904
 
+
54905
 
+  
54906
 
+
54907
 
+  if false; then
54908
 
+    REPLACE_WCTOMB=1
54909
 
+  fi
54910
 
+
54911
 
+if test $REPLACE_WCTOMB = 1; then
54912
 
+  
54913
 
+  
54914
 
+  
54915
 
+    
54916
 
+      
54917
 
+      
54918
 
+    
54919
 
+  
54920
 
+  gltests_LIBOBJS="$gltests_LIBOBJS wctomb.$ac_objext"
54921
 
+
54922
 
+  
54923
 
+  :
54924
 
+
54925
 
+fi
54926
 
+
54927
 
+    
54928
 
+  
54929
 
+  
54930
 
+  
54931
 
+    if test "$GNULIB_WCTOMB" != 1; then
54932
 
+        if test "$GNULIB_WCTOMB" = 0; then
54933
 
+      GNULIB_WCTOMB=$gl_module_indicator_condition
54934
 
+    else
54935
 
+      GNULIB_WCTOMB="($GNULIB_WCTOMB || $gl_module_indicator_condition)"
54936
 
+    fi
54937
 
+  fi
54938
 
+
54939
 
+
54940
 
+
54941
 
+    
54942
 
+  
54943
 
+$as_echo "@%:@define GNULIB_TEST_WCTOMB 1" >>confdefs.h
54944
 
+
54945
 
+
54946
 
+
54947
 
+
54948
 
+  
54949
 
+    YIELD_LIB=
54950
 
+  if test $gl_threads_api = posix; then
54951
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
54952
 
+$as_echo_n "checking for sched_yield in -lrt... " >&6; }
54953
 
+if ${ac_cv_lib_rt_sched_yield+:} false; then :
54954
 
+  $as_echo_n "(cached) " >&6
54955
 
+else
54956
 
+  ac_check_lib_save_LIBS=$LIBS
54957
 
+LIBS="-lrt  $LIBS"
54958
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54959
 
+/* end confdefs.h.  */
54960
 
+
54961
 
+/* Override any GCC internal prototype to avoid an error.
54962
 
+   Use char because int might match the return type of a GCC
54963
 
+   builtin and then its argument prototype would still apply.  */
54964
 
+#ifdef __cplusplus
54965
 
+extern "C"
54966
 
+#endif
54967
 
+char sched_yield ();
54968
 
+int
54969
 
+main ()
54970
 
+{
54971
 
+return sched_yield ();
54972
 
+  ;
54973
 
+  return 0;
54974
 
+}
54975
 
+_ACEOF
54976
 
+if ac_fn_c_try_link "$LINENO"; then :
54977
 
+  ac_cv_lib_rt_sched_yield=yes
54978
 
+else
54979
 
+  ac_cv_lib_rt_sched_yield=no
54980
 
+fi
54981
 
+rm -f core conftest.err conftest.$ac_objext \
54982
 
+    conftest$ac_exeext conftest.$ac_ext
54983
 
+LIBS=$ac_check_lib_save_LIBS
54984
 
+fi
54985
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
54986
 
+$as_echo "$ac_cv_lib_rt_sched_yield" >&6; }
54987
 
+if test "x$ac_cv_lib_rt_sched_yield" = xyes; then :
54988
 
+  YIELD_LIB=-lrt
54989
 
+else
54990
 
+         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
54991
 
+$as_echo_n "checking for sched_yield in -lposix4... " >&6; }
54992
 
+if ${ac_cv_lib_posix4_sched_yield+:} false; then :
54993
 
+  $as_echo_n "(cached) " >&6
54994
 
+else
54995
 
+  ac_check_lib_save_LIBS=$LIBS
54996
 
+LIBS="-lposix4  $LIBS"
54997
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54998
 
+/* end confdefs.h.  */
54999
 
+
55000
 
+/* Override any GCC internal prototype to avoid an error.
55001
 
+   Use char because int might match the return type of a GCC
55002
 
+   builtin and then its argument prototype would still apply.  */
55003
 
+#ifdef __cplusplus
55004
 
+extern "C"
55005
 
+#endif
55006
 
+char sched_yield ();
55007
 
+int
55008
 
+main ()
55009
 
+{
55010
 
+return sched_yield ();
55011
 
+  ;
55012
 
+  return 0;
55013
 
+}
55014
 
+_ACEOF
55015
 
+if ac_fn_c_try_link "$LINENO"; then :
55016
 
+  ac_cv_lib_posix4_sched_yield=yes
55017
 
+else
55018
 
+  ac_cv_lib_posix4_sched_yield=no
55019
 
+fi
55020
 
+rm -f core conftest.err conftest.$ac_objext \
55021
 
+    conftest$ac_exeext conftest.$ac_ext
55022
 
+LIBS=$ac_check_lib_save_LIBS
55023
 
+fi
55024
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
55025
 
+$as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
55026
 
+if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
55027
 
+  YIELD_LIB=-lposix4
55028
 
+fi
55029
 
+
55030
 
+fi
55031
 
+
55032
 
+  fi
55033
 
+  
55034
 
+
55035
 
+  
55036
 
+  
55037
 
+          
55038
 
+  
55039
 
+  
55040
 
+  
55041
 
+  
55042
 
+  
55043
 
+  
55044
 
+  
55045
 
+  LIBCOREUTILS_LIBDEPS="$gl_libdeps"
55046
 
+  
55047
 
+  LIBCOREUTILS_LTLIBDEPS="$gl_ltlibdeps"
55048
 
+  
55049
 
+  LIBTESTS_LIBDEPS="$gltests_libdeps"
55050
 
+  
55051
 
+
55052
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
55053
 
+$as_echo_n "checking for library containing strerror... " >&6; }
55054
 
+if ${ac_cv_search_strerror+:} false; then :
55055
 
+  $as_echo_n "(cached) " >&6
55056
 
+else
55057
 
+  ac_func_search_save_LIBS=$LIBS
55058
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55059
 
+/* end confdefs.h.  */
55060
 
+
55061
 
+/* Override any GCC internal prototype to avoid an error.
55062
 
+   Use char because int might match the return type of a GCC
55063
 
+   builtin and then its argument prototype would still apply.  */
55064
 
+#ifdef __cplusplus
55065
 
+extern "C"
55066
 
+#endif
55067
 
+char strerror ();
55068
 
+int
55069
 
+main ()
55070
 
+{
55071
 
+return strerror ();
55072
 
+  ;
55073
 
+  return 0;
55074
 
+}
55075
 
+_ACEOF
55076
 
+for ac_lib in '' cposix; do
55077
 
+  if test -z "$ac_lib"; then
55078
 
+    ac_res="none required"
55079
 
+  else
55080
 
+    ac_res=-l$ac_lib
55081
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
55082
 
+  fi
55083
 
+  if ac_fn_c_try_link "$LINENO"; then :
55084
 
+  ac_cv_search_strerror=$ac_res
55085
 
+fi
55086
 
+rm -f core conftest.err conftest.$ac_objext \
55087
 
+    conftest$ac_exeext
55088
 
+  if ${ac_cv_search_strerror+:} false; then :
55089
 
+  break
55090
 
+fi
55091
 
+done
55092
 
+if ${ac_cv_search_strerror+:} false; then :
55093
 
+  
55094
 
+else
55095
 
+  ac_cv_search_strerror=no
55096
 
+fi
55097
 
+rm conftest.$ac_ext
55098
 
+LIBS=$ac_func_search_save_LIBS
55099
 
+fi
55100
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
55101
 
+$as_echo "$ac_cv_search_strerror" >&6; }
55102
 
+ac_res=$ac_cv_search_strerror
55103
 
+if test "$ac_res" != no; then :
55104
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
55105
 
+  
55106
 
+fi
55107
 
+
55108
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
55109
 
+$as_echo_n "checking for function prototypes... " >&6; }
55110
 
+if test "$ac_cv_prog_cc_c89" != no; then
55111
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
55112
 
+$as_echo "yes" >&6; }
55113
 
+  
55114
 
+$as_echo "@%:@define PROTOTYPES 1" >>confdefs.h
55115
 
+
55116
 
+  
55117
 
+$as_echo "@%:@define __PROTOTYPES 1" >>confdefs.h
55118
 
+
55119
 
+else
55120
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
55121
 
+$as_echo "no" >&6; }
55122
 
+fi
55123
 
+
55124
 
+
55125
 
+if test "$ac_cv_prog_cc_stdc" != no; then
55126
 
+  U= ANSI2KNR=
55127
 
+else
55128
 
+  U=_ ANSI2KNR=./ansi2knr
55129
 
+fi
55130
 
+# Ensure some checks needed by ansi2knr itself.
55131
 
+
55132
 
+for ac_header in string.h
55133
 
+do :
55134
 
+  ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
55135
 
+if test "x$ac_cv_header_string_h" = xyes; then :
55136
 
+  cat >>confdefs.h <<_ACEOF
55137
 
+@%:@define HAVE_STRING_H 1
55138
 
+_ACEOF
55139
 
55140
 
+fi
55141
 
+
55142
 
+done
55143
 
+
55144
 
+
55145
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
55146
 
+$as_echo_n "checking for working volatile... " >&6; }
55147
 
+if ${ac_cv_c_volatile+:} false; then :
55148
 
+  $as_echo_n "(cached) " >&6
55149
 
+else
55150
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55151
 
+/* end confdefs.h.  */
55152
 
+
55153
 
+int
55154
 
+main ()
55155
 
+{
55156
 
+
55157
 
+volatile int x;
55158
 
+int * volatile y = (int *) 0;
55159
 
+return !x && !y;
55160
 
+  ;
55161
 
+  return 0;
55162
 
+}
55163
 
+_ACEOF
55164
 
+if ac_fn_c_try_compile "$LINENO"; then :
55165
 
+  ac_cv_c_volatile=yes
55166
 
+else
55167
 
+  ac_cv_c_volatile=no
55168
 
+fi
55169
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55170
 
+fi
55171
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
55172
 
+$as_echo "$ac_cv_c_volatile" >&6; }
55173
 
+if test $ac_cv_c_volatile = no; then
55174
 
+  
55175
 
+$as_echo "@%:@define volatile /**/" >>confdefs.h
55176
 
+
55177
 
+fi
55178
 
+
55179
 
+
55180
 
+
55181
 
+
55182
 
+
55183
 
+
55184
 
+
55185
 
+
55186
 
+
55187
 
+
55188
 
+
55189
 
+
55190
 
+
55191
 
+
55192
 
+  
55193
 
+  for ac_header in sys/sysctl.h
55194
 
+do :
55195
 
+  ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "$ac_includes_default
55196
 
+     #if HAVE_SYS_PARAM_H
55197
 
+       #include <sys/param.h>
55198
 
+      #endif
55199
 
+"
55200
 
+if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
55201
 
+  cat >>confdefs.h <<_ACEOF
55202
 
+@%:@define HAVE_SYS_SYSCTL_H 1
55203
 
+_ACEOF
55204
 
55205
 
+fi
55206
 
+
55207
 
+done
55208
 
+
55209
 
+
55210
 
+ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
55211
 
+if test "x$ac_cv_type_pid_t" = xyes; then :
55212
 
+  
55213
 
+else
55214
 
+  
55215
 
+cat >>confdefs.h <<_ACEOF
55216
 
+@%:@define pid_t int
55217
 
+_ACEOF
55218
 
+
55219
 
+fi
55220
 
+
55221
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
55222
 
+$as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
55223
 
+if ${ac_cv_header_sys_types_h_makedev+:} false; then :
55224
 
+  $as_echo_n "(cached) " >&6
55225
 
+else
55226
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55227
 
+/* end confdefs.h.  */
55228
 
+@%:@include <sys/types.h>
55229
 
+int
55230
 
+main ()
55231
 
+{
55232
 
+return makedev(0, 0);
55233
 
+  ;
55234
 
+  return 0;
55235
 
+}
55236
 
+_ACEOF
55237
 
+if ac_fn_c_try_link "$LINENO"; then :
55238
 
+  ac_cv_header_sys_types_h_makedev=yes
55239
 
+else
55240
 
+  ac_cv_header_sys_types_h_makedev=no
55241
 
+fi
55242
 
+rm -f core conftest.err conftest.$ac_objext \
55243
 
+    conftest$ac_exeext conftest.$ac_ext
55244
 
+
55245
 
+fi
55246
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
55247
 
+$as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
55248
 
+
55249
 
+if test $ac_cv_header_sys_types_h_makedev = no; then
55250
 
+ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
55251
 
+if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
55252
 
+  
55253
 
+$as_echo "@%:@define MAJOR_IN_MKDEV 1" >>confdefs.h
55254
 
+
55255
 
+fi
55256
 
+
55257
 
+
55258
 
+
55259
 
+  if test $ac_cv_header_sys_mkdev_h = no; then
55260
 
+    ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
55261
 
+if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
55262
 
+  
55263
 
+$as_echo "@%:@define MAJOR_IN_SYSMACROS 1" >>confdefs.h
55264
 
+
55265
 
+fi
55266
 
+
55267
 
+
55268
 
+  fi
55269
 
+fi
55270
 
+
55271
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
55272
 
+$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
55273
 
+if ${ac_cv_header_time+:} false; then :
55274
 
+  $as_echo_n "(cached) " >&6
55275
 
+else
55276
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55277
 
+/* end confdefs.h.  */
55278
 
+#include <sys/types.h>
55279
 
+#include <sys/time.h>
55280
 
+#include <time.h>
55281
 
+
55282
 
+int
55283
 
+main ()
55284
 
+{
55285
 
+if ((struct tm *) 0)
55286
 
+return 0;
55287
 
+  ;
55288
 
+  return 0;
55289
 
+}
55290
 
+_ACEOF
55291
 
+if ac_fn_c_try_compile "$LINENO"; then :
55292
 
+  ac_cv_header_time=yes
55293
 
+else
55294
 
+  ac_cv_header_time=no
55295
 
+fi
55296
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55297
 
+fi
55298
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
55299
 
+$as_echo "$ac_cv_header_time" >&6; }
55300
 
+if test $ac_cv_header_time = yes; then
55301
 
+  
55302
 
+$as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
55303
 
+
55304
 
+fi
55305
 
+
55306
 
+
55307
 
+
55308
 
+ac_fn_c_check_decl "$LINENO" "geteuid" "ac_cv_have_decl_geteuid" "$ac_includes_default"
55309
 
+if test "x$ac_cv_have_decl_geteuid" = xyes; then :
55310
 
+  ac_have_decl=1
55311
 
+else
55312
 
+  ac_have_decl=0
55313
 
+fi
55314
 
+
55315
 
+cat >>confdefs.h <<_ACEOF
55316
 
+@%:@define HAVE_DECL_GETEUID $ac_have_decl
55317
 
+_ACEOF
55318
 
+
55319
 
+ac_fn_c_check_decl "$LINENO" "getlogin" "ac_cv_have_decl_getlogin" "$ac_includes_default"
55320
 
+if test "x$ac_cv_have_decl_getlogin" = xyes; then :
55321
 
+  ac_have_decl=1
55322
 
+else
55323
 
+  ac_have_decl=0
55324
 
+fi
55325
 
+
55326
 
+cat >>confdefs.h <<_ACEOF
55327
 
+@%:@define HAVE_DECL_GETLOGIN $ac_have_decl
55328
 
+_ACEOF
55329
 
+
55330
 
+ac_fn_c_check_decl "$LINENO" "getuid" "ac_cv_have_decl_getuid" "$ac_includes_default"
55331
 
+if test "x$ac_cv_have_decl_getuid" = xyes; then :
55332
 
+  ac_have_decl=1
55333
 
+else
55334
 
+  ac_have_decl=0
55335
 
+fi
55336
 
+
55337
 
+cat >>confdefs.h <<_ACEOF
55338
 
+@%:@define HAVE_DECL_GETUID $ac_have_decl
55339
 
+_ACEOF
55340
 
+
55341
 
+
55342
 
+  
55343
 
+
55344
 
+  
55345
 
+  headers='
55346
 
+#include <sys/types.h>
55347
 
+
55348
 
+#include <unistd.h>
55349
 
+
55350
 
+#if HAVE_GRP_H
55351
 
+# include <grp.h>
55352
 
+#endif
55353
 
+
55354
 
+#if HAVE_PWD_H
55355
 
+# include <pwd.h>
55356
 
+#endif
55357
 
+'
55358
 
+  ac_fn_c_check_decl "$LINENO" "getgrgid" "ac_cv_have_decl_getgrgid" "$headers
55359
 
+"
55360
 
+if test "x$ac_cv_have_decl_getgrgid" = xyes; then :
55361
 
+  ac_have_decl=1
55362
 
+else
55363
 
+  ac_have_decl=0
55364
 
+fi
55365
 
+
55366
 
+cat >>confdefs.h <<_ACEOF
55367
 
+@%:@define HAVE_DECL_GETGRGID $ac_have_decl
55368
 
+_ACEOF
55369
 
+ac_fn_c_check_decl "$LINENO" "getpwuid" "ac_cv_have_decl_getpwuid" "$headers
55370
 
+"
55371
 
+if test "x$ac_cv_have_decl_getpwuid" = xyes; then :
55372
 
+  ac_have_decl=1
55373
 
+else
55374
 
+  ac_have_decl=0
55375
 
+fi
55376
 
+
55377
 
+cat >>confdefs.h <<_ACEOF
55378
 
+@%:@define HAVE_DECL_GETPWUID $ac_have_decl
55379
 
+_ACEOF
55380
 
+ac_fn_c_check_decl "$LINENO" "ttyname" "ac_cv_have_decl_ttyname" "$headers
55381
 
+"
55382
 
+if test "x$ac_cv_have_decl_ttyname" = xyes; then :
55383
 
+  ac_have_decl=1
55384
 
+else
55385
 
+  ac_have_decl=0
55386
 
+fi
55387
 
+
55388
 
+cat >>confdefs.h <<_ACEOF
55389
 
+@%:@define HAVE_DECL_TTYNAME $ac_have_decl
55390
 
+_ACEOF
55391
 
+
55392
 
+
55393
 
+  
55394
 
+  
55395
 
+  
55396
 
+
55397
 
+
55398
 
+  
55399
 
+  
55400
 
+$as_echo "@%:@define PREFER_NONREENTRANT_EUIDACCESS 1" >>confdefs.h
55401
 
+
55402
 
+
55403
 
+
55404
 
+  
55405
 
+  case " $LIB@&t@OBJS " in
55406
 
+  *" euidaccess-stat.$ac_objext "* ) ;;
55407
 
+  *) LIB@&t@OBJS="$LIB@&t@OBJS euidaccess-stat.$ac_objext"
55408
 
+ ;;
55409
 
+esac
55410
 
+
55411
 
+
55412
 
+
55413
 
+  
55414
 
+  case " $LIB@&t@OBJS " in
55415
 
+  *" fd-reopen.$ac_objext "* ) ;;
55416
 
+  *) LIB@&t@OBJS="$LIB@&t@OBJS fd-reopen.$ac_objext"
55417
 
+ ;;
55418
 
+esac
55419
 
+
55420
 
+
55421
 
+
55422
 
+  @%:@ Check whether --enable-xattr was given.
55423
 
+if test "${enable_xattr+set}" = set; then :
55424
 
+  enableval=$enable_xattr; use_xattr=$enableval
55425
 
+else
55426
 
+  use_xattr=yes
55427
 
+fi
55428
 
+
55429
 
+
55430
 
+  LIB_XATTR=
55431
 
+  
55432
 
+
55433
 
+  if test "$use_xattr" = "yes"; then
55434
 
+    for ac_header in attr/error_context.h attr/libattr.h
55435
 
+do :
55436
 
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
55437
 
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
55438
 
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
55439
 
+  cat >>confdefs.h <<_ACEOF
55440
 
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
55441
 
+_ACEOF
55442
 
55443
 
+fi
55444
 
+
55445
 
+done
55446
 
+
55447
 
+    use_xattr=no
55448
 
+    if test $ac_cv_header_attr_libattr_h = yes \
55449
 
+        && test $ac_cv_header_attr_error_context_h = yes; then
55450
 
+      xattr_saved_LIBS=$LIBS
55451
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing attr_copy_file" >&5
55452
 
+$as_echo_n "checking for library containing attr_copy_file... " >&6; }
55453
 
+if ${ac_cv_search_attr_copy_file+:} false; then :
55454
 
+  $as_echo_n "(cached) " >&6
55455
 
+else
55456
 
+  ac_func_search_save_LIBS=$LIBS
55457
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55458
 
+/* end confdefs.h.  */
55459
 
+
55460
 
+/* Override any GCC internal prototype to avoid an error.
55461
 
+   Use char because int might match the return type of a GCC
55462
 
+   builtin and then its argument prototype would still apply.  */
55463
 
+#ifdef __cplusplus
55464
 
+extern "C"
55465
 
+#endif
55466
 
+char attr_copy_file ();
55467
 
+int
55468
 
+main ()
55469
 
+{
55470
 
+return attr_copy_file ();
55471
 
+  ;
55472
 
+  return 0;
55473
 
+}
55474
 
+_ACEOF
55475
 
+for ac_lib in '' attr; do
55476
 
+  if test -z "$ac_lib"; then
55477
 
+    ac_res="none required"
55478
 
+  else
55479
 
+    ac_res=-l$ac_lib
55480
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
55481
 
+  fi
55482
 
+  if ac_fn_c_try_link "$LINENO"; then :
55483
 
+  ac_cv_search_attr_copy_file=$ac_res
55484
 
+fi
55485
 
+rm -f core conftest.err conftest.$ac_objext \
55486
 
+    conftest$ac_exeext
55487
 
+  if ${ac_cv_search_attr_copy_file+:} false; then :
55488
 
+  break
55489
 
+fi
55490
 
+done
55491
 
+if ${ac_cv_search_attr_copy_file+:} false; then :
55492
 
+  
55493
 
+else
55494
 
+  ac_cv_search_attr_copy_file=no
55495
 
+fi
55496
 
+rm conftest.$ac_ext
55497
 
+LIBS=$ac_func_search_save_LIBS
55498
 
+fi
55499
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_attr_copy_file" >&5
55500
 
+$as_echo "$ac_cv_search_attr_copy_file" >&6; }
55501
 
+ac_res=$ac_cv_search_attr_copy_file
55502
 
+if test "$ac_res" != no; then :
55503
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
55504
 
+  test "$ac_cv_search_attr_copy_file" = "none required" ||
55505
 
+                        LIB_XATTR=$ac_cv_search_attr_copy_file
55506
 
+fi
55507
 
+
55508
 
+      for ac_func in attr_copy_file
55509
 
+do :
55510
 
+  ac_fn_c_check_func "$LINENO" "attr_copy_file" "ac_cv_func_attr_copy_file"
55511
 
+if test "x$ac_cv_func_attr_copy_file" = xyes; then :
55512
 
+  cat >>confdefs.h <<_ACEOF
55513
 
+@%:@define HAVE_ATTR_COPY_FILE 1
55514
 
+_ACEOF
55515
 
55516
 
+fi
55517
 
+done
55518
 
+
55519
 
+      LIBS=$xattr_saved_LIBS
55520
 
+      if test $ac_cv_func_attr_copy_file = yes; then
55521
 
+        use_xattr=yes
55522
 
+      fi
55523
 
+    fi
55524
 
+    if test $use_xattr = no; then
55525
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libattr development library was not found or not usable." >&5
55526
 
+$as_echo "$as_me: WARNING: libattr development library was not found or not usable." >&2;}
55527
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU coreutils will be built without xattr support." >&5
55528
 
+$as_echo "$as_me: WARNING: GNU coreutils will be built without xattr support." >&2;}
55529
 
+    fi
55530
 
+  fi
55531
 
+  
55532
 
+cat >>confdefs.h <<_ACEOF
55533
 
+@%:@define USE_XATTR `test $use_xattr != yes; echo $?`
55534
 
+_ACEOF
55535
 
+
55536
 
+
55537
 
+
55538
 
+  
55539
 
+  case " $LIB@&t@OBJS " in
55540
 
+  *" xfts.$ac_objext "* ) ;;
55541
 
+  *) LIB@&t@OBJS="$LIB@&t@OBJS xfts.$ac_objext"
55542
 
+ ;;
55543
 
+esac
55544
 
+
55545
 
+
55546
 
+    :
55547
 
+
55548
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
55549
 
+$as_echo_n "checking for inline... " >&6; }
55550
 
+if ${ac_cv_c_inline+:} false; then :
55551
 
+  $as_echo_n "(cached) " >&6
55552
 
+else
55553
 
+  ac_cv_c_inline=no
55554
 
+for ac_kw in inline __inline__ __inline; do
55555
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55556
 
+/* end confdefs.h.  */
55557
 
+#ifndef __cplusplus
55558
 
+typedef int foo_t;
55559
 
+static $ac_kw foo_t static_foo () {return 0; }
55560
 
+$ac_kw foo_t foo () {return 0; }
55561
 
+#endif
55562
 
+
55563
 
+_ACEOF
55564
 
+if ac_fn_c_try_compile "$LINENO"; then :
55565
 
+  ac_cv_c_inline=$ac_kw
55566
 
+fi
55567
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55568
 
+  test "$ac_cv_c_inline" != no && break
55569
 
+done
55570
 
+
55571
 
+fi
55572
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
55573
 
+$as_echo "$ac_cv_c_inline" >&6; }
55574
 
+
55575
 
+case $ac_cv_c_inline in
55576
 
+  inline | yes) ;;
55577
 
+  *)
55578
 
+    case $ac_cv_c_inline in
55579
 
+      no) ac_val=;;
55580
 
+      *) ac_val=$ac_cv_c_inline;;
55581
 
+    esac
55582
 
+    cat >>confdefs.h <<_ACEOF
55583
 
+#ifndef __cplusplus
55584
 
+#define inline $ac_val
55585
 
+#endif
55586
 
+_ACEOF
55587
 
+    ;;
55588
 
+esac
55589
 
+
55590
 
+
55591
 
+  
55592
 
+  case " $LIB@&t@OBJS " in
55593
 
+  *" strintcmp.$ac_objext "* ) ;;
55594
 
+  *) LIB@&t@OBJS="$LIB@&t@OBJS strintcmp.$ac_objext"
55595
 
+ ;;
55596
 
+esac
55597
 
+
55598
 
+
55599
 
+    
55600
 
+
55601
 
+
55602
 
+  
55603
 
+  case " $LIB@&t@OBJS " in
55604
 
+  *" strnumcmp.$ac_objext "* ) ;;
55605
 
+  *) LIB@&t@OBJS="$LIB@&t@OBJS strnumcmp.$ac_objext"
55606
 
+ ;;
55607
 
+esac
55608
 
+
55609
 
+
55610
 
+    
55611
 
+
55612
 
+
55613
 
+  # gnulib settings.
55614
 
+  
55615
 
+
55616
 
+  # We don't use c-stack.c.
55617
 
+  # AC_REQUIRE([gl_C_STACK])
55618
 
+
55619
 
+  # Invoke macros of modules that may migrate into gnulib.
55620
 
+  # There's no need to list gnulib modules here, since gnulib-tool
55621
 
+  # handles that; see ../bootstrap.conf.
55622
 
+  
55623
 
+  
55624
 
+  
55625
 
+  
55626
 
+  
55627
 
+  
55628
 
+
55629
 
+
55630
 
+
55631
 
+
55632
 
+
55633
 
+
55634
 
+
55635
 
+
55636
 
+
55637
 
+
55638
 
+
55639
 
+
55640
 
+
55641
 
+
55642
 
+
55643
 
+
55644
 
+
55645
 
+
55646
 
+
55647
 
+
55648
 
+
55649
 
+
55650
 
+
55651
 
+
55652
 
+
55653
 
+
55654
 
+
55655
 
+
55656
 
+
55657
 
+ac_fn_c_check_decl "$LINENO" "fdatasync" "ac_cv_have_decl_fdatasync" "$ac_includes_default"
55658
 
+if test "x$ac_cv_have_decl_fdatasync" = xyes; then :
55659
 
+  ac_have_decl=1
55660
 
+else
55661
 
+  ac_have_decl=0
55662
 
+fi
55663
 
+
55664
 
+cat >>confdefs.h <<_ACEOF
55665
 
+@%:@define HAVE_DECL_FDATASYNC $ac_have_decl
55666
 
+_ACEOF
55667
 
+
55668
 
+
55669
 
+  
55670
 
+HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
55671
 
+
55672
 
+  
55673
 
+
55674
 
+    
55675
 
+  
55676
 
+        
55677
 
+
55678
 
+    
55679
 
+  
55680
 
+  
55681
 
+  
55682
 
+
55683
 
+  
55684
 
+  ac_fn_c_check_member "$LINENO" "struct stat" "st_author" "ac_cv_member_struct_stat_st_author" "$ac_includes_default
55685
 
+#include <sys/stat.h>
55686
 
+  
55687
 
+"
55688
 
+if test "x$ac_cv_member_struct_stat_st_author" = xyes; then :
55689
 
+  
55690
 
+cat >>confdefs.h <<_ACEOF
55691
 
+@%:@define HAVE_STRUCT_STAT_ST_AUTHOR 1
55692
 
+_ACEOF
55693
 
+
55694
 
+
55695
 
+fi
55696
 
+
55697
 
+  
55698
 
+
55699
 
+  
55700
 
+  
55701
 
+  
55702
 
+  
55703
 
+  
55704
 
+  
55705
 
+  
55706
 
+  ac_fn_c_check_type "$LINENO" "ino_t" "ac_cv_type_ino_t" "$ac_includes_default"
55707
 
+if test "x$ac_cv_type_ino_t" = xyes; then :
55708
 
+  
55709
 
+else
55710
 
+  
55711
 
+cat >>confdefs.h <<_ACEOF
55712
 
+@%:@define ino_t unsigned long int
55713
 
+_ACEOF
55714
 
+
55715
 
+fi
55716
 
+
55717
 
+
55718
 
+      ac_fn_c_check_type "$LINENO" "major_t" "ac_cv_type_major_t" "$ac_includes_default"
55719
 
+if test "x$ac_cv_type_major_t" = xyes; then :
55720
 
+  
55721
 
+else
55722
 
+  
55723
 
+cat >>confdefs.h <<_ACEOF
55724
 
+@%:@define major_t unsigned int
55725
 
+_ACEOF
55726
 
+
55727
 
+fi
55728
 
+
55729
 
+  ac_fn_c_check_type "$LINENO" "minor_t" "ac_cv_type_minor_t" "$ac_includes_default"
55730
 
+if test "x$ac_cv_type_minor_t" = xyes; then :
55731
 
+  
55732
 
+else
55733
 
+  
55734
 
+cat >>confdefs.h <<_ACEOF
55735
 
+@%:@define minor_t unsigned int
55736
 
+_ACEOF
55737
 
+
55738
 
+fi
55739
 
+
55740
 
+
55741
 
+  
55742
 
+
55743
 
+
55744
 
+  
55745
 
+
55746
 
+  
55747
 
+
55748
 
+  
55749
 
+
55750
 
+  # By default, argmatch should fail calling usage (EXIT_FAILURE).
55751
 
+  
55752
 
+$as_echo "@%:@define ARGMATCH_DIE usage (EXIT_FAILURE)" >>confdefs.h
55753
 
+
55754
 
+  
55755
 
+$as_echo "@%:@define ARGMATCH_DIE_DECL void usage (int _e)" >>confdefs.h
55756
 
+
55757
 
+
55758
 
+  # used by shred
55759
 
+  
55760
 
+
55761
 
+  # Used by install.c.
55762
 
+  coreutils_saved_libs=$LIBS
55763
 
+    LIBS="$LIBS $LIB_SELINUX"
55764
 
+    for ac_func in matchpathcon_init_prefix
55765
 
+do :
55766
 
+  ac_fn_c_check_func "$LINENO" "matchpathcon_init_prefix" "ac_cv_func_matchpathcon_init_prefix"
55767
 
+if test "x$ac_cv_func_matchpathcon_init_prefix" = xyes; then :
55768
 
+  cat >>confdefs.h <<_ACEOF
55769
 
+@%:@define HAVE_MATCHPATHCON_INIT_PREFIX 1
55770
 
+_ACEOF
55771
 
55772
 
+else
55773
 
+  
55774
 
+      case "$ac_cv_search_setfilecon:$ac_cv_header_selinux_selinux_h" in
55775
 
+        no:*) # SELinux disabled
55776
 
+          ;;
55777
 
+        *:no) # SELinux disabled
55778
 
+          ;;
55779
 
+        *)
55780
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SELinux enabled, but matchpathcon_init_prefix not found" >&5
55781
 
+$as_echo "$as_me: WARNING: SELinux enabled, but matchpathcon_init_prefix not found" >&2;}
55782
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The install utility may run slowly" >&5
55783
 
+$as_echo "$as_me: WARNING: The install utility may run slowly" >&2;}
55784
 
+      esac
55785
 
+    
55786
 
+fi
55787
 
+done
55788
 
+
55789
 
+  LIBS=$coreutils_saved_libs
55790
 
+
55791
 
+  # Used by sort.c.
55792
 
+  
55793
 
+  # Used by timeout.c
55794
 
+  
55795
 
+
55796
 
+  # Used by tail.c.
55797
 
+  for ac_func in inotify_init
55798
 
+do :
55799
 
+  ac_fn_c_check_func "$LINENO" "inotify_init" "ac_cv_func_inotify_init"
55800
 
+if test "x$ac_cv_func_inotify_init" = xyes; then :
55801
 
+  cat >>confdefs.h <<_ACEOF
55802
 
+@%:@define HAVE_INOTIFY_INIT 1
55803
 
+_ACEOF
55804
 
55805
 
+$as_echo "@%:@define HAVE_INOTIFY 1" >>confdefs.h
55806
 
+
55807
 
+fi
55808
 
+done
55809
 
+
55810
 
+
55811
 
+  
55812
 
+
55813
 
+    
55814
 
+  
55815
 
+  
55816
 
+  
55817
 
+
55818
 
+      test $ac_cv_header_sys_param_h = yes &&
55819
 
+  test $ac_cv_header_sys_mount_h = yes &&
55820
 
+  for ac_header in nfs/vfs.h
55821
 
+do :
55822
 
+  ac_fn_c_check_header_mongrel "$LINENO" "nfs/vfs.h" "ac_cv_header_nfs_vfs_h" "$ac_includes_default"
55823
 
+if test "x$ac_cv_header_nfs_vfs_h" = xyes; then :
55824
 
+  cat >>confdefs.h <<_ACEOF
55825
 
+@%:@define HAVE_NFS_VFS_H 1
55826
 
+_ACEOF
55827
 
+ for ac_header in nfs/nfs_client.h
55828
 
+do :
55829
 
+  ac_fn_c_check_header_mongrel "$LINENO" "nfs/nfs_client.h" "ac_cv_header_nfs_nfs_client_h" "$ac_includes_default"
55830
 
+if test "x$ac_cv_header_nfs_nfs_client_h" = xyes; then :
55831
 
+  cat >>confdefs.h <<_ACEOF
55832
 
+@%:@define HAVE_NFS_NFS_CLIENT_H 1
55833
 
+_ACEOF
55834
 
55835
 
+fi
55836
 
+
55837
 
+done
55838
 
+
55839
 
+fi
55840
 
+
55841
 
+done
55842
 
+
55843
 
+
55844
 
+  statvfs_includes="\
55845
 
+$ac_includes_default
55846
 
+#include <sys/statvfs.h>
55847
 
+"
55848
 
+  statfs_includes="\
55849
 
+$ac_includes_default
55850
 
+#if HAVE_SYS_VFS_H
55851
 
+# include <sys/vfs.h>
55852
 
+#elif HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H
55853
 
+# include <sys/param.h>
55854
 
+# include <sys/mount.h>
55855
 
+# if HAVE_NETINET_IN_H && HAVE_NFS_NFS_CLNT_H && HAVE_NFS_VFS_H
55856
 
+#  include <netinet/in.h>
55857
 
+#  include <nfs/nfs_clnt.h>
55858
 
+#  include <nfs/vfs.h>
55859
 
+# endif
55860
 
+#elif HAVE_OS_H
55861
 
+# include <fs_info.h>
55862
 
+#endif
55863
 
+"
55864
 
+      if case "$fu_cv_sys_stat_statvfs$fu_cv_sys_stat_statvfs64" in
55865
 
+       *yes*) ;; *) false;; esac &&
55866
 
+     { ac_fn_c_check_member "$LINENO" "struct statvfs" "f_basetype" "ac_cv_member_struct_statvfs_f_basetype" "$statvfs_includes
55867
 
+"
55868
 
+if test "x$ac_cv_member_struct_statvfs_f_basetype" = xyes; then :
55869
 
+  
55870
 
+cat >>confdefs.h <<_ACEOF
55871
 
+@%:@define HAVE_STRUCT_STATVFS_F_BASETYPE 1
55872
 
+_ACEOF
55873
 
+
55874
 
+
55875
 
+fi
55876
 
+
55877
 
+       test $ac_cv_member_struct_statvfs_f_basetype = yes ||
55878
 
+       { ac_fn_c_check_member "$LINENO" "struct statvfs" "f_fstypename" "ac_cv_member_struct_statvfs_f_fstypename" "$statvfs_includes
55879
 
+"
55880
 
+if test "x$ac_cv_member_struct_statvfs_f_fstypename" = xyes; then :
55881
 
+  
55882
 
+cat >>confdefs.h <<_ACEOF
55883
 
+@%:@define HAVE_STRUCT_STATVFS_F_FSTYPENAME 1
55884
 
+_ACEOF
55885
 
+
55886
 
+
55887
 
+fi
55888
 
+
55889
 
+         test $ac_cv_member_struct_statvfs_f_fstypename = yes ||
55890
 
+         { test $ac_cv_member_struct_statfs_f_fstypename != yes &&
55891
 
+           { ac_fn_c_check_member "$LINENO" "struct statvfs" "f_type" "ac_cv_member_struct_statvfs_f_type" "$statvfs_includes
55892
 
+"
55893
 
+if test "x$ac_cv_member_struct_statvfs_f_type" = xyes; then :
55894
 
+  
55895
 
+cat >>confdefs.h <<_ACEOF
55896
 
+@%:@define HAVE_STRUCT_STATVFS_F_TYPE 1
55897
 
+_ACEOF
55898
 
+
55899
 
+
55900
 
+fi
55901
 
+
55902
 
+             test $ac_cv_member_struct_statvfs_f_type = yes; }; }; }; }
55903
 
+  then
55904
 
+    ac_fn_c_check_member "$LINENO" "struct statvfs" "f_namemax" "ac_cv_member_struct_statvfs_f_namemax" "$statvfs_includes
55905
 
+"
55906
 
+if test "x$ac_cv_member_struct_statvfs_f_namemax" = xyes; then :
55907
 
+  
55908
 
+cat >>confdefs.h <<_ACEOF
55909
 
+@%:@define HAVE_STRUCT_STATVFS_F_NAMEMAX 1
55910
 
+_ACEOF
55911
 
+
55912
 
+
55913
 
+fi
55914
 
+
55915
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55916
 
+/* end confdefs.h.  */
55917
 
+$statvfs_includes
55918
 
+int
55919
 
+main ()
55920
 
+{
55921
 
+static statvfs s;
55922
 
+          return (s.s_fsid ^ 0) == 0;
55923
 
+  ;
55924
 
+  return 0;
55925
 
+}
55926
 
+_ACEOF
55927
 
+if ac_fn_c_try_compile "$LINENO"; then :
55928
 
+  
55929
 
+$as_echo "@%:@define STRUCT_STATVFS_F_FSID_IS_INTEGER 1" >>confdefs.h
55930
 
+
55931
 
+fi
55932
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55933
 
+  else
55934
 
+    ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "$statfs_includes
55935
 
+"
55936
 
+if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
55937
 
+  
55938
 
+cat >>confdefs.h <<_ACEOF
55939
 
+@%:@define HAVE_STRUCT_STATFS_F_NAMELEN 1
55940
 
+_ACEOF
55941
 
+
55942
 
+
55943
 
+fi
55944
 
+ac_fn_c_check_member "$LINENO" "struct statfs" "f_type" "ac_cv_member_struct_statfs_f_type" "$statfs_includes
55945
 
+"
55946
 
+if test "x$ac_cv_member_struct_statfs_f_type" = xyes; then :
55947
 
+  
55948
 
+cat >>confdefs.h <<_ACEOF
55949
 
+@%:@define HAVE_STRUCT_STATFS_F_TYPE 1
55950
 
+_ACEOF
55951
 
+
55952
 
+
55953
 
+fi
55954
 
+
55955
 
+    if test $ac_cv_header_OS_h != yes; then
55956
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55957
 
+/* end confdefs.h.  */
55958
 
+$statfs_includes
55959
 
+int
55960
 
+main ()
55961
 
+{
55962
 
+static statfs s;
55963
 
+            return (s.s_fsid ^ 0) == 0;
55964
 
+  ;
55965
 
+  return 0;
55966
 
+}
55967
 
+_ACEOF
55968
 
+if ac_fn_c_try_compile "$LINENO"; then :
55969
 
+  
55970
 
+$as_echo "@%:@define STRUCT_STATFS_F_FSID_IS_INTEGER 1" >>confdefs.h
55971
 
+
55972
 
+fi
55973
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55974
 
+    fi
55975
 
+  fi
55976
 
+
55977
 
+
55978
 
+  # for dd.c and shred.c
55979
 
+  #
55980
 
+  # Use fdatasync only if declared.  On MacOS X 10.7, fdatasync exists but
55981
 
+  # is not declared, and is ineffective.
55982
 
+  LIB_FDATASYNC=
55983
 
+  
55984
 
+  
55985
 
+  if test $ac_cv_have_decl_fdatasync = yes; then
55986
 
+    coreutils_saved_libs=$LIBS
55987
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fdatasync" >&5
55988
 
+$as_echo_n "checking for library containing fdatasync... " >&6; }
55989
 
+if ${ac_cv_search_fdatasync+:} false; then :
55990
 
+  $as_echo_n "(cached) " >&6
55991
 
+else
55992
 
+  ac_func_search_save_LIBS=$LIBS
55993
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55994
 
+/* end confdefs.h.  */
55995
 
+
55996
 
+/* Override any GCC internal prototype to avoid an error.
55997
 
+   Use char because int might match the return type of a GCC
55998
 
+   builtin and then its argument prototype would still apply.  */
55999
 
+#ifdef __cplusplus
56000
 
+extern "C"
56001
 
+#endif
56002
 
+char fdatasync ();
56003
 
+int
56004
 
+main ()
56005
 
+{
56006
 
+return fdatasync ();
56007
 
+  ;
56008
 
+  return 0;
56009
 
+}
56010
 
+_ACEOF
56011
 
+for ac_lib in '' rt posix4; do
56012
 
+  if test -z "$ac_lib"; then
56013
 
+    ac_res="none required"
56014
 
+  else
56015
 
+    ac_res=-l$ac_lib
56016
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
56017
 
+  fi
56018
 
+  if ac_fn_c_try_link "$LINENO"; then :
56019
 
+  ac_cv_search_fdatasync=$ac_res
56020
 
+fi
56021
 
+rm -f core conftest.err conftest.$ac_objext \
56022
 
+    conftest$ac_exeext
56023
 
+  if ${ac_cv_search_fdatasync+:} false; then :
56024
 
+  break
56025
 
+fi
56026
 
+done
56027
 
+if ${ac_cv_search_fdatasync+:} false; then :
56028
 
+  
56029
 
+else
56030
 
+  ac_cv_search_fdatasync=no
56031
 
+fi
56032
 
+rm conftest.$ac_ext
56033
 
+LIBS=$ac_func_search_save_LIBS
56034
 
+fi
56035
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fdatasync" >&5
56036
 
+$as_echo "$ac_cv_search_fdatasync" >&6; }
56037
 
+ac_res=$ac_cv_search_fdatasync
56038
 
+if test "$ac_res" != no; then :
56039
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
56040
 
+  test "$ac_cv_search_fdatasync" = "none required" ||
56041
 
+                    LIB_FDATASYNC=$ac_cv_search_fdatasync
56042
 
+fi
56043
 
+
56044
 
+    for ac_func in fdatasync
56045
 
+do :
56046
 
+  ac_fn_c_check_func "$LINENO" "fdatasync" "ac_cv_func_fdatasync"
56047
 
+if test "x$ac_cv_func_fdatasync" = xyes; then :
56048
 
+  cat >>confdefs.h <<_ACEOF
56049
 
+@%:@define HAVE_FDATASYNC 1
56050
 
+_ACEOF
56051
 
56052
 
+fi
56053
 
+done
56054
 
+
56055
 
+    LIBS=$coreutils_saved_libs
56056
 
+  fi
56057
 
+
56058
 
+  # Check whether libcap is usable -- for ls --color support
56059
 
+  LIB_CAP=
56060
 
+  @%:@ Check whether --enable-libcap was given.
56061
 
+if test "${enable_libcap+set}" = set; then :
56062
 
+  enableval=$enable_libcap; 
56063
 
+fi
56064
 
+
56065
 
+  if test "X$enable_libcap" != "Xno"; then
56066
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_get_file in -lcap" >&5
56067
 
+$as_echo_n "checking for cap_get_file in -lcap... " >&6; }
56068
 
+if ${ac_cv_lib_cap_cap_get_file+:} false; then :
56069
 
+  $as_echo_n "(cached) " >&6
56070
 
+else
56071
 
+  ac_check_lib_save_LIBS=$LIBS
56072
 
+LIBS="-lcap  $LIBS"
56073
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56074
 
+/* end confdefs.h.  */
56075
 
+
56076
 
+/* Override any GCC internal prototype to avoid an error.
56077
 
+   Use char because int might match the return type of a GCC
56078
 
+   builtin and then its argument prototype would still apply.  */
56079
 
+#ifdef __cplusplus
56080
 
+extern "C"
56081
 
+#endif
56082
 
+char cap_get_file ();
56083
 
+int
56084
 
+main ()
56085
 
+{
56086
 
+return cap_get_file ();
56087
 
+  ;
56088
 
+  return 0;
56089
 
+}
56090
 
+_ACEOF
56091
 
+if ac_fn_c_try_link "$LINENO"; then :
56092
 
+  ac_cv_lib_cap_cap_get_file=yes
56093
 
+else
56094
 
+  ac_cv_lib_cap_cap_get_file=no
56095
 
+fi
56096
 
+rm -f core conftest.err conftest.$ac_objext \
56097
 
+    conftest$ac_exeext conftest.$ac_ext
56098
 
+LIBS=$ac_check_lib_save_LIBS
56099
 
+fi
56100
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_get_file" >&5
56101
 
+$as_echo "$ac_cv_lib_cap_cap_get_file" >&6; }
56102
 
+if test "x$ac_cv_lib_cap_cap_get_file" = xyes; then :
56103
 
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
56104
 
+if test "x$ac_cv_header_sys_capability_h" = xyes; then :
56105
 
+  LIB_CAP=-lcap
56106
 
+         
56107
 
+$as_echo "@%:@define HAVE_CAP 1" >>confdefs.h
56108
 
+
56109
 
+      
56110
 
+fi
56111
 
+
56112
 
+
56113
 
+fi
56114
 
+
56115
 
+    if test "X$LIB_CAP" = "X"; then
56116
 
+      if test "X$enable_libcap" = "Xyes"; then
56117
 
+        as_fn_error $? "libcap library was not found or not usable" "$LINENO" 5
56118
 
+      else
56119
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libcap library was not found or not usable." >&5
56120
 
+$as_echo "$as_me: WARNING: libcap library was not found or not usable." >&2;}
56121
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU coreutils will be built without capability support." >&5
56122
 
+$as_echo "$as_me: WARNING: GNU coreutils will be built without capability support." >&2;}
56123
 
+      fi
56124
 
+    fi
56125
 
+  else
56126
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libcap support disabled by user" >&5
56127
 
+$as_echo "$as_me: WARNING: libcap support disabled by user" >&2;}
56128
 
+  fi
56129
 
+  
56130
 
+
56131
 
+  # See if linking `seq' requires -lm.
56132
 
+  # It does on nearly every system.  The single exception (so far) is
56133
 
+  # BeOS which has all the math functions in the normal runtime library
56134
 
+  # and doesn't have a separate math library.
56135
 
+
56136
 
+  
56137
 
+  ac_seq_body='
56138
 
+     static double x, y;
56139
 
+     x = floor (x);
56140
 
+     x = rint (x);
56141
 
+     x = modf (x, &y);'
56142
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56143
 
+/* end confdefs.h.  */
56144
 
+#include <math.h>
56145
 
+int
56146
 
+main ()
56147
 
+{
56148
 
+$ac_seq_body
56149
 
+  ;
56150
 
+  return 0;
56151
 
+}
56152
 
+_ACEOF
56153
 
+if ac_fn_c_try_link "$LINENO"; then :
56154
 
+  
56155
 
+else
56156
 
+  ac_seq_save_LIBS="$LIBS"
56157
 
+     LIBS="$LIBS -lm"
56158
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56159
 
+/* end confdefs.h.  */
56160
 
+#include <math.h>
56161
 
+int
56162
 
+main ()
56163
 
+{
56164
 
+$ac_seq_body
56165
 
+  ;
56166
 
+  return 0;
56167
 
+}
56168
 
+_ACEOF
56169
 
+if ac_fn_c_try_link "$LINENO"; then :
56170
 
+  SEQ_LIBM=-lm
56171
 
+fi
56172
 
+rm -f core conftest.err conftest.$ac_objext \
56173
 
+    conftest$ac_exeext conftest.$ac_ext
56174
 
+     LIBS="$ac_seq_save_LIBS"
56175
 
+    
56176
 
+fi
56177
 
+rm -f core conftest.err conftest.$ac_objext \
56178
 
+    conftest$ac_exeext conftest.$ac_ext
56179
 
+
56180
 
+  
56181
 
+
56182
 
+  # Accept configure options: --with-tty-group[=GROUP], --without-tty-group
56183
 
+  # You can determine the group of a TTY via 'stat --format %G /dev/tty'
56184
 
+  # Omitting this option is equivalent to using --without-tty-group.
56185
 
+  
56186
 
+@%:@ Check whether --with-tty-group was given.
56187
 
+if test "${with_tty_group+set}" = set; then :
56188
 
+  withval=$with_tty_group; tty_group_name=$withval
56189
 
+else
56190
 
+  tty_group_name=no
56191
 
+fi
56192
 
+
56193
 
+
56194
 
+  if test "x$tty_group_name" != xno; then
56195
 
+    if test "x$tty_group_name" = xyes; then
56196
 
+      tty_group_name=tty
56197
 
+    fi
56198
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: TTY group used by system set to \"$tty_group_name\"" >&5
56199
 
+$as_echo "$as_me: TTY group used by system set to \"$tty_group_name\"" >&6;}
56200
 
+    
56201
 
+cat >>confdefs.h <<_ACEOF
56202
 
+@%:@define TTY_GROUP_NAME "$tty_group_name"
56203
 
+_ACEOF
56204
 
+
56205
 
+  fi
56206
 
+
56207
 
+
56208
 
+@%:@ Check whether --enable-gcc-warnings was given.
56209
 
+if test "${enable_gcc_warnings+set}" = set; then :
56210
 
+  enableval=$enable_gcc_warnings; case $enableval in
56211
 
+     yes|no) ;;
56212
 
+     *)      as_fn_error $? "bad value $enableval for gcc-warnings option" "$LINENO" 5 ;;
56213
 
+   esac
56214
 
+   gl_gcc_warnings=$enableval
56215
 
+else
56216
 
+  gl_gcc_warnings=no
56217
 
+
56218
 
+fi
56219
 
+
56220
 
+
56221
 
+if test "$gl_gcc_warnings" = yes; then
56222
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Werror" >&5
56223
 
+$as_echo_n "checking whether compiler handles -Werror... " >&6; }
56224
 
+if ${gl_cv_warn__Werror+:} false; then :
56225
 
+  $as_echo_n "(cached) " >&6
56226
 
+else
56227
 
+  
56228
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
56229
 
+  CPPFLAGS="${CPPFLAGS} -Werror"
56230
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56231
 
+/* end confdefs.h.  */
56232
 
+
56233
 
+int
56234
 
+main ()
56235
 
+{
56236
 
+
56237
 
+  ;
56238
 
+  return 0;
56239
 
+}
56240
 
+_ACEOF
56241
 
+if ac_fn_c_try_cpp "$LINENO"; then :
56242
 
+  gl_cv_warn__Werror=yes
56243
 
+else
56244
 
+  gl_cv_warn__Werror=no
56245
 
+fi
56246
 
+rm -f conftest.err conftest.i conftest.$ac_ext
56247
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
56248
 
+
56249
 
+fi
56250
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Werror" >&5
56251
 
+$as_echo "$gl_cv_warn__Werror" >&6; }
56252
 
+if test "x$gl_cv_warn__Werror" = xyes; then :
56253
 
+  as_fn_append WERROR_CFLAGS " -Werror"
56254
 
+fi
56255
 
+
56256
 
+  
56257
 
+
56258
 
+  nw=
56259
 
+  # This, $nw, is the list of warnings we disable.
56260
 
+  nw="$nw -Wdeclaration-after-statement" # too useful to forbid
56261
 
+  nw="$nw -Waggregate-return"       # anachronistic
56262
 
+  nw="$nw -Wlong-long"              # C90 is anachronistic (lib/gethrxtime.h)
56263
 
+  nw="$nw -Wc++-compat"             # We don't care about C++ compilers
56264
 
+  nw="$nw -Wundef"                  # Warns on '#if GNULIB_FOO' etc in gnulib
56265
 
+  nw="$nw -Wtraditional"            # Warns on #elif which we use often
56266
 
+  nw="$nw -Wcast-qual"              # Too many warnings for now
56267
 
+  nw="$nw -Wconversion"             # Too many warnings for now
56268
 
+  nw="$nw -Wsystem-headers"         # Don't let system headers trigger warnings
56269
 
+  nw="$nw -Wsign-conversion"        # Too many warnings for now
56270
 
+  nw="$nw -Wtraditional-conversion" # Too many warnings for now
56271
 
+  nw="$nw -Wunreachable-code"       # Too many warnings for now
56272
 
+  nw="$nw -Wpadded"                 # Our structs are not padded
56273
 
+  nw="$nw -Wredundant-decls"        # openat.h declares e.g., mkdirat
56274
 
+  nw="$nw -Wlogical-op"             # any use of fwrite provokes this
56275
 
+  nw="$nw -Wformat-nonliteral"      # who.c and pinky.c strftime uses
56276
 
+  nw="$nw -Wvla"                    # warnings in gettext.h
56277
 
+  nw="$nw -Wnested-externs"         # use of XARGMATCH/verify_function__
56278
 
+  nw="$nw -Wswitch-enum"            # Too many warnings for now
56279
 
+  nw="$nw -Wswitch-default"         # Too many warnings for now
56280
 
+  nw="$nw -Wstack-protector"        # not worth working around
56281
 
+  # things I might fix soon:
56282
 
+  nw="$nw -Wfloat-equal"            # sort.c, seq.c
56283
 
+  nw="$nw -Wmissing-format-attribute" # copy.c
56284
 
+  nw="$nw -Wunsafe-loop-optimizations" # a few src/*.c
56285
 
+  nw="$nw -Winline"                 # system.h's readdir_ignoring_dot_and_dotdot
56286
 
+
56287
 
+  # Using -Wstrict-overflow is a pain, but the alternative is worse.
56288
 
+  # For an example, see the code that provoked this report:
56289
 
+  # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33498
56290
 
+  # Code like that still infloops with gcc-4.6.0 and -O2.  Scary indeed.
56291
 
+
56292
 
+  
56293
 
+          
56294
 
+  if test -n "$GCC"; then
56295
 
+
56296
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is supported" >&5
56297
 
+$as_echo_n "checking whether -Wno-missing-field-initializers is supported... " >&6; }
56298
 
+    if ${gl_cv_cc_nomfi_supported+:} false; then :
56299
 
+  $as_echo_n "(cached) " >&6
56300
 
+else
56301
 
+  
56302
 
+      gl_save_CFLAGS="$CFLAGS"
56303
 
+      CFLAGS="$CFLAGS -W -Werror -Wno-missing-field-initializers"
56304
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56305
 
+/* end confdefs.h.  */
56306
 
+
56307
 
+int
56308
 
+main ()
56309
 
+{
56310
 
+
56311
 
+  ;
56312
 
+  return 0;
56313
 
+}
56314
 
+_ACEOF
56315
 
+if ac_fn_c_try_compile "$LINENO"; then :
56316
 
+  gl_cv_cc_nomfi_supported=yes
56317
 
+else
56318
 
+  gl_cv_cc_nomfi_supported=no
56319
 
+fi
56320
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56321
 
+      CFLAGS="$gl_save_CFLAGS"
56322
 
+fi
56323
 
+
56324
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_supported" >&5
56325
 
+$as_echo "$gl_cv_cc_nomfi_supported" >&6; }
56326
 
+
56327
 
+    if test "$gl_cv_cc_nomfi_supported" = yes; then
56328
 
+                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is needed" >&5
56329
 
+$as_echo_n "checking whether -Wno-missing-field-initializers is needed... " >&6; }
56330
 
+      if ${gl_cv_cc_nomfi_needed+:} false; then :
56331
 
+  $as_echo_n "(cached) " >&6
56332
 
+else
56333
 
+  
56334
 
+        gl_save_CFLAGS="$CFLAGS"
56335
 
+        CFLAGS="$CFLAGS -W -Werror"
56336
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56337
 
+/* end confdefs.h.  */
56338
 
+void f (void)
56339
 
+               {
56340
 
+                 typedef struct { int a; int b; } s_t;
56341
 
+                 s_t s1 = { 0, };
56342
 
+               }
56343
 
+             
56344
 
+int
56345
 
+main ()
56346
 
+{
56347
 
+
56348
 
+  ;
56349
 
+  return 0;
56350
 
+}
56351
 
+_ACEOF
56352
 
+if ac_fn_c_try_compile "$LINENO"; then :
56353
 
+  gl_cv_cc_nomfi_needed=no
56354
 
+else
56355
 
+  gl_cv_cc_nomfi_needed=yes
56356
 
+fi
56357
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56358
 
+        CFLAGS="$gl_save_CFLAGS"
56359
 
+      
56360
 
+fi
56361
 
+
56362
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_needed" >&5
56363
 
+$as_echo "$gl_cv_cc_nomfi_needed" >&6; }
56364
 
+    fi
56365
 
+  fi
56366
 
+
56367
 
+  gl_manywarn_set=
56368
 
+  for gl_manywarn_item in \
56369
 
+    -Wall \
56370
 
+    -W \
56371
 
+    -Wformat-y2k \
56372
 
+    -Wformat-nonliteral \
56373
 
+    -Wformat-security \
56374
 
+    -Winit-self \
56375
 
+    -Wmissing-include-dirs \
56376
 
+    -Wswitch-default \
56377
 
+    -Wswitch-enum \
56378
 
+    -Wunused \
56379
 
+    -Wunknown-pragmas \
56380
 
+    -Wstrict-aliasing \
56381
 
+    -Wstrict-overflow \
56382
 
+    -Wsystem-headers \
56383
 
+    -Wfloat-equal \
56384
 
+    -Wtraditional \
56385
 
+    -Wtraditional-conversion \
56386
 
+    -Wdeclaration-after-statement \
56387
 
+    -Wundef \
56388
 
+    -Wshadow \
56389
 
+    -Wunsafe-loop-optimizations \
56390
 
+    -Wpointer-arith \
56391
 
+    -Wbad-function-cast \
56392
 
+    -Wc++-compat \
56393
 
+    -Wcast-qual \
56394
 
+    -Wcast-align \
56395
 
+    -Wwrite-strings \
56396
 
+    -Wconversion \
56397
 
+    -Wsign-conversion \
56398
 
+    -Wlogical-op \
56399
 
+    -Waggregate-return \
56400
 
+    -Wstrict-prototypes \
56401
 
+    -Wold-style-definition \
56402
 
+    -Wmissing-prototypes \
56403
 
+    -Wmissing-declarations \
56404
 
+    -Wmissing-noreturn \
56405
 
+    -Wmissing-format-attribute \
56406
 
+    -Wpacked \
56407
 
+    -Wpadded \
56408
 
+    -Wredundant-decls \
56409
 
+    -Wnested-externs \
56410
 
+    -Wunreachable-code \
56411
 
+    -Winline \
56412
 
+    -Winvalid-pch \
56413
 
+    -Wlong-long \
56414
 
+    -Wvla \
56415
 
+    -Wvolatile-register-var \
56416
 
+    -Wdisabled-optimization \
56417
 
+    -Wstack-protector \
56418
 
+    -Woverlength-strings \
56419
 
+    -Wbuiltin-macro-redefined \
56420
 
+    -Wmudflap \
56421
 
+    -Wpacked-bitfield-compat \
56422
 
+    -Wsync-nand \
56423
 
+    ; do
56424
 
+    gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
56425
 
+  done
56426
 
+  # The following are not documented in the manual but are included in
56427
 
+  # output from gcc --help=warnings.
56428
 
+  for gl_manywarn_item in \
56429
 
+    -Wattributes \
56430
 
+    -Wcoverage-mismatch \
56431
 
+    -Wmultichar \
56432
 
+    -Wunused-macros \
56433
 
+    ; do
56434
 
+    gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
56435
 
+  done
56436
 
+
56437
 
+  # Disable the missing-field-initializers warning if needed
56438
 
+  if test "$gl_cv_cc_nomfi_needed" = yes; then
56439
 
+    gl_manywarn_set="$gl_manywarn_set -Wno-missing-field-initializers"
56440
 
+  fi
56441
 
+
56442
 
+  ws=$gl_manywarn_set
56443
 
+
56444
 
+  
56445
 
+  gl_warn_set=
56446
 
+  set x $ws; shift
56447
 
+  for gl_warn_item
56448
 
+  do
56449
 
+    case " $nw " in
56450
 
+      *" $gl_warn_item "*)
56451
 
+        ;;
56452
 
+      *)
56453
 
+        gl_warn_set="$gl_warn_set $gl_warn_item"
56454
 
+        ;;
56455
 
+    esac
56456
 
+  done
56457
 
+  ws=$gl_warn_set
56458
 
+
56459
 
+  for w in $ws; do
56460
 
+    as_gl_Warn=`$as_echo "gl_cv_warn_$w" | $as_tr_sh`
56461
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles $w" >&5
56462
 
+$as_echo_n "checking whether compiler handles $w... " >&6; }
56463
 
+if eval \${$as_gl_Warn+:} false; then :
56464
 
+  $as_echo_n "(cached) " >&6
56465
 
+else
56466
 
+  
56467
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
56468
 
+  CPPFLAGS="${CPPFLAGS} $w"
56469
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56470
 
+/* end confdefs.h.  */
56471
 
+
56472
 
+int
56473
 
+main ()
56474
 
+{
56475
 
+
56476
 
+  ;
56477
 
+  return 0;
56478
 
+}
56479
 
+_ACEOF
56480
 
+if ac_fn_c_try_cpp "$LINENO"; then :
56481
 
+  eval "$as_gl_Warn=yes"
56482
 
+else
56483
 
+  eval "$as_gl_Warn=no"
56484
 
+fi
56485
 
+rm -f conftest.err conftest.i conftest.$ac_ext
56486
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
56487
 
+
56488
 
+fi
56489
 
+eval ac_res=\$$as_gl_Warn
56490
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
56491
 
+$as_echo "$ac_res" >&6; }
56492
 
+if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then :
56493
 
+  as_fn_append WARN_CFLAGS " $w"
56494
 
+fi
56495
 
+
56496
 
+  done
56497
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-sign-compare" >&5
56498
 
+$as_echo_n "checking whether compiler handles -Wno-sign-compare... " >&6; }
56499
 
+if ${gl_cv_warn__Wno_sign_compare+:} false; then :
56500
 
+  $as_echo_n "(cached) " >&6
56501
 
+else
56502
 
+  
56503
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
56504
 
+  CPPFLAGS="${CPPFLAGS} -Wno-sign-compare"
56505
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56506
 
+/* end confdefs.h.  */
56507
 
+
56508
 
+int
56509
 
+main ()
56510
 
+{
56511
 
+
56512
 
+  ;
56513
 
+  return 0;
56514
 
+}
56515
 
+_ACEOF
56516
 
+if ac_fn_c_try_cpp "$LINENO"; then :
56517
 
+  gl_cv_warn__Wno_sign_compare=yes
56518
 
+else
56519
 
+  gl_cv_warn__Wno_sign_compare=no
56520
 
+fi
56521
 
+rm -f conftest.err conftest.i conftest.$ac_ext
56522
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
56523
 
+
56524
 
+fi
56525
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_sign_compare" >&5
56526
 
+$as_echo "$gl_cv_warn__Wno_sign_compare" >&6; }
56527
 
+if test "x$gl_cv_warn__Wno_sign_compare" = xyes; then :
56528
 
+  as_fn_append WARN_CFLAGS " -Wno-sign-compare"
56529
 
+fi
56530
 
+     # Too many warnings for now
56531
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-unused-parameter" >&5
56532
 
+$as_echo_n "checking whether compiler handles -Wno-unused-parameter... " >&6; }
56533
 
+if ${gl_cv_warn__Wno_unused_parameter+:} false; then :
56534
 
+  $as_echo_n "(cached) " >&6
56535
 
+else
56536
 
+  
56537
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
56538
 
+  CPPFLAGS="${CPPFLAGS} -Wno-unused-parameter"
56539
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56540
 
+/* end confdefs.h.  */
56541
 
+
56542
 
+int
56543
 
+main ()
56544
 
+{
56545
 
+
56546
 
+  ;
56547
 
+  return 0;
56548
 
+}
56549
 
+_ACEOF
56550
 
+if ac_fn_c_try_cpp "$LINENO"; then :
56551
 
+  gl_cv_warn__Wno_unused_parameter=yes
56552
 
+else
56553
 
+  gl_cv_warn__Wno_unused_parameter=no
56554
 
+fi
56555
 
+rm -f conftest.err conftest.i conftest.$ac_ext
56556
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
56557
 
+
56558
 
+fi
56559
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_unused_parameter" >&5
56560
 
+$as_echo "$gl_cv_warn__Wno_unused_parameter" >&6; }
56561
 
+if test "x$gl_cv_warn__Wno_unused_parameter" = xyes; then :
56562
 
+  as_fn_append WARN_CFLAGS " -Wno-unused-parameter"
56563
 
+fi
56564
 
+ # Too many warnings for now
56565
 
+  as_gl_Warn=`$as_echo "gl_cv_warn_-Wsuggest-attribute=const" | $as_tr_sh`
56566
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wsuggest-attribute=const" >&5
56567
 
+$as_echo_n "checking whether compiler handles -Wsuggest-attribute=const... " >&6; }
56568
 
+if eval \${$as_gl_Warn+:} false; then :
56569
 
+  $as_echo_n "(cached) " >&6
56570
 
+else
56571
 
+  
56572
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
56573
 
+  CPPFLAGS="${CPPFLAGS} -Wsuggest-attribute=const"
56574
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56575
 
+/* end confdefs.h.  */
56576
 
+
56577
 
+int
56578
 
+main ()
56579
 
+{
56580
 
+
56581
 
+  ;
56582
 
+  return 0;
56583
 
+}
56584
 
+_ACEOF
56585
 
+if ac_fn_c_try_cpp "$LINENO"; then :
56586
 
+  eval "$as_gl_Warn=yes"
56587
 
+else
56588
 
+  eval "$as_gl_Warn=no"
56589
 
+fi
56590
 
+rm -f conftest.err conftest.i conftest.$ac_ext
56591
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
56592
 
+
56593
 
+fi
56594
 
+eval ac_res=\$$as_gl_Warn
56595
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
56596
 
+$as_echo "$ac_res" >&6; }
56597
 
+if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then :
56598
 
+  as_fn_append WARN_CFLAGS " -Wsuggest-attribute=const"
56599
 
+fi
56600
 
+
56601
 
+  as_gl_Warn=`$as_echo "gl_cv_warn_-Wsuggest-attribute=pure" | $as_tr_sh`
56602
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wsuggest-attribute=pure" >&5
56603
 
+$as_echo_n "checking whether compiler handles -Wsuggest-attribute=pure... " >&6; }
56604
 
+if eval \${$as_gl_Warn+:} false; then :
56605
 
+  $as_echo_n "(cached) " >&6
56606
 
+else
56607
 
+  
56608
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
56609
 
+  CPPFLAGS="${CPPFLAGS} -Wsuggest-attribute=pure"
56610
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56611
 
+/* end confdefs.h.  */
56612
 
+
56613
 
+int
56614
 
+main ()
56615
 
+{
56616
 
+
56617
 
+  ;
56618
 
+  return 0;
56619
 
+}
56620
 
+_ACEOF
56621
 
+if ac_fn_c_try_cpp "$LINENO"; then :
56622
 
+  eval "$as_gl_Warn=yes"
56623
 
+else
56624
 
+  eval "$as_gl_Warn=no"
56625
 
+fi
56626
 
+rm -f conftest.err conftest.i conftest.$ac_ext
56627
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
56628
 
+
56629
 
+fi
56630
 
+eval ac_res=\$$as_gl_Warn
56631
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
56632
 
+$as_echo "$ac_res" >&6; }
56633
 
+if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then :
56634
 
+  as_fn_append WARN_CFLAGS " -Wsuggest-attribute=pure"
56635
 
+fi
56636
 
+
56637
 
+  as_gl_Warn=`$as_echo "gl_cv_warn_-Wsuggest-attribute=noreturn" | $as_tr_sh`
56638
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wsuggest-attribute=noreturn" >&5
56639
 
+$as_echo_n "checking whether compiler handles -Wsuggest-attribute=noreturn... " >&6; }
56640
 
+if eval \${$as_gl_Warn+:} false; then :
56641
 
+  $as_echo_n "(cached) " >&6
56642
 
+else
56643
 
+  
56644
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
56645
 
+  CPPFLAGS="${CPPFLAGS} -Wsuggest-attribute=noreturn"
56646
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56647
 
+/* end confdefs.h.  */
56648
 
+
56649
 
+int
56650
 
+main ()
56651
 
+{
56652
 
+
56653
 
+  ;
56654
 
+  return 0;
56655
 
+}
56656
 
+_ACEOF
56657
 
+if ac_fn_c_try_cpp "$LINENO"; then :
56658
 
+  eval "$as_gl_Warn=yes"
56659
 
+else
56660
 
+  eval "$as_gl_Warn=no"
56661
 
+fi
56662
 
+rm -f conftest.err conftest.i conftest.$ac_ext
56663
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
56664
 
+
56665
 
+fi
56666
 
+eval ac_res=\$$as_gl_Warn
56667
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
56668
 
+$as_echo "$ac_res" >&6; }
56669
 
+if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then :
56670
 
+  as_fn_append WARN_CFLAGS " -Wsuggest-attribute=noreturn"
56671
 
+fi
56672
 
+
56673
 
+
56674
 
+  # In spite of excluding -Wlogical-op above, it is enabled, as of
56675
 
+  # gcc 4.5.0 20090517, and it provokes warnings in cat.c, dd.c, truncate.c
56676
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-logical-op" >&5
56677
 
+$as_echo_n "checking whether compiler handles -Wno-logical-op... " >&6; }
56678
 
+if ${gl_cv_warn__Wno_logical_op+:} false; then :
56679
 
+  $as_echo_n "(cached) " >&6
56680
 
+else
56681
 
+  
56682
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
56683
 
+  CPPFLAGS="${CPPFLAGS} -Wno-logical-op"
56684
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56685
 
+/* end confdefs.h.  */
56686
 
+
56687
 
+int
56688
 
+main ()
56689
 
+{
56690
 
+
56691
 
+  ;
56692
 
+  return 0;
56693
 
+}
56694
 
+_ACEOF
56695
 
+if ac_fn_c_try_cpp "$LINENO"; then :
56696
 
+  gl_cv_warn__Wno_logical_op=yes
56697
 
+else
56698
 
+  gl_cv_warn__Wno_logical_op=no
56699
 
+fi
56700
 
+rm -f conftest.err conftest.i conftest.$ac_ext
56701
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
56702
 
+
56703
 
+fi
56704
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_logical_op" >&5
56705
 
+$as_echo "$gl_cv_warn__Wno_logical_op" >&6; }
56706
 
+if test "x$gl_cv_warn__Wno_logical_op" = xyes; then :
56707
 
+  as_fn_append WARN_CFLAGS " -Wno-logical-op"
56708
 
+fi
56709
 
+
56710
 
+
56711
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fdiagnostics-show-option" >&5
56712
 
+$as_echo_n "checking whether compiler handles -fdiagnostics-show-option... " >&6; }
56713
 
+if ${gl_cv_warn__fdiagnostics_show_option+:} false; then :
56714
 
+  $as_echo_n "(cached) " >&6
56715
 
+else
56716
 
+  
56717
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
56718
 
+  CPPFLAGS="${CPPFLAGS} -fdiagnostics-show-option"
56719
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56720
 
+/* end confdefs.h.  */
56721
 
+
56722
 
+int
56723
 
+main ()
56724
 
+{
56725
 
+
56726
 
+  ;
56727
 
+  return 0;
56728
 
+}
56729
 
+_ACEOF
56730
 
+if ac_fn_c_try_cpp "$LINENO"; then :
56731
 
+  gl_cv_warn__fdiagnostics_show_option=yes
56732
 
+else
56733
 
+  gl_cv_warn__fdiagnostics_show_option=no
56734
 
+fi
56735
 
+rm -f conftest.err conftest.i conftest.$ac_ext
56736
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
56737
 
+
56738
 
+fi
56739
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fdiagnostics_show_option" >&5
56740
 
+$as_echo "$gl_cv_warn__fdiagnostics_show_option" >&6; }
56741
 
+if test "x$gl_cv_warn__fdiagnostics_show_option" = xyes; then :
56742
 
+  as_fn_append WARN_CFLAGS " -fdiagnostics-show-option"
56743
 
+fi
56744
 
+
56745
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -funit-at-a-time" >&5
56746
 
+$as_echo_n "checking whether compiler handles -funit-at-a-time... " >&6; }
56747
 
+if ${gl_cv_warn__funit_at_a_time+:} false; then :
56748
 
+  $as_echo_n "(cached) " >&6
56749
 
+else
56750
 
+  
56751
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
56752
 
+  CPPFLAGS="${CPPFLAGS} -funit-at-a-time"
56753
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56754
 
+/* end confdefs.h.  */
56755
 
+
56756
 
+int
56757
 
+main ()
56758
 
+{
56759
 
+
56760
 
+  ;
56761
 
+  return 0;
56762
 
+}
56763
 
+_ACEOF
56764
 
+if ac_fn_c_try_cpp "$LINENO"; then :
56765
 
+  gl_cv_warn__funit_at_a_time=yes
56766
 
+else
56767
 
+  gl_cv_warn__funit_at_a_time=no
56768
 
+fi
56769
 
+rm -f conftest.err conftest.i conftest.$ac_ext
56770
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
56771
 
+
56772
 
+fi
56773
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__funit_at_a_time" >&5
56774
 
+$as_echo "$gl_cv_warn__funit_at_a_time" >&6; }
56775
 
+if test "x$gl_cv_warn__funit_at_a_time" = xyes; then :
56776
 
+  as_fn_append WARN_CFLAGS " -funit-at-a-time"
56777
 
+fi
56778
 
+
56779
 
+
56780
 
+  
56781
 
+
56782
 
+  
56783
 
+$as_echo "@%:@define lint 1" >>confdefs.h
56784
 
+
56785
 
+  
56786
 
+$as_echo "@%:@define _FORTIFY_SOURCE 2" >>confdefs.h
56787
 
+
56788
 
+  
56789
 
+$as_echo "@%:@define GNULIB_PORTCHECK 1" >>confdefs.h
56790
 
+
56791
 
+
56792
 
+  # We use a slightly smaller set of warning options for lib/.
56793
 
+  # Remove the following and save the result in GNULIB_WARN_CFLAGS.
56794
 
+  nw=
56795
 
+  nw="$nw -Wstrict-overflow"
56796
 
+  nw="$nw -Wuninitialized"
56797
 
+  nw="$nw -Wunused-macros"
56798
 
+  nw="$nw -Wmissing-prototypes"
56799
 
+  nw="$nw -Wold-style-definition"
56800
 
+  # FIXME: remove/reenable the following two, once gnulib is adjusted.
56801
 
+  nw="$nw -Wsuggest-attribute=const"
56802
 
+  nw="$nw -Wsuggest-attribute=pure"
56803
 
+  
56804
 
+  gl_warn_set=
56805
 
+  set x $WARN_CFLAGS; shift
56806
 
+  for gl_warn_item
56807
 
+  do
56808
 
+    case " $nw " in
56809
 
+      *" $gl_warn_item "*)
56810
 
+        ;;
56811
 
+      *)
56812
 
+        gl_warn_set="$gl_warn_set $gl_warn_item"
56813
 
+        ;;
56814
 
+    esac
56815
 
+  done
56816
 
+  GNULIB_WARN_CFLAGS=$gl_warn_set
56817
 
+
56818
 
+  
56819
 
+
56820
 
+  # For gnulib-tests, the set is slightly smaller still.
56821
 
+  nw=
56822
 
+  nw="$nw -Wstrict-prototypes"
56823
 
+  
56824
 
+  gl_warn_set=
56825
 
+  set x $GNULIB_WARN_CFLAGS; shift
56826
 
+  for gl_warn_item
56827
 
+  do
56828
 
+    case " $nw " in
56829
 
+      *" $gl_warn_item "*)
56830
 
+        ;;
56831
 
+      *)
56832
 
+        gl_warn_set="$gl_warn_set $gl_warn_item"
56833
 
+        ;;
56834
 
+    esac
56835
 
+  done
56836
 
+  GNULIB_TEST_WARN_CFLAGS=$gl_warn_set
56837
 
+
56838
 
+  
56839
 
+fi
56840
 
+
56841
 
+for ac_header in vfork.h
56842
 
+do :
56843
 
+  ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
56844
 
+if test "x$ac_cv_header_vfork_h" = xyes; then :
56845
 
+  cat >>confdefs.h <<_ACEOF
56846
 
+@%:@define HAVE_VFORK_H 1
56847
 
+_ACEOF
56848
 
56849
 
+fi
56850
 
+
56851
 
+done
56852
 
+
56853
 
+for ac_func in fork vfork
56854
 
+do :
56855
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56856
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56857
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56858
 
+  cat >>confdefs.h <<_ACEOF
56859
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56860
 
+_ACEOF
56861
 
56862
 
+fi
56863
 
+done
56864
 
+
56865
 
+if test "x$ac_cv_func_fork" = xyes; then
56866
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
56867
 
+$as_echo_n "checking for working fork... " >&6; }
56868
 
+if ${ac_cv_func_fork_works+:} false; then :
56869
 
+  $as_echo_n "(cached) " >&6
56870
 
+else
56871
 
+  if test "$cross_compiling" = yes; then :
56872
 
+  ac_cv_func_fork_works=cross
56873
 
+else
56874
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56875
 
+/* end confdefs.h.  */
56876
 
+$ac_includes_default
56877
 
+int
56878
 
+main ()
56879
 
+{
56880
 
+
56881
 
+         /* By Ruediger Kuhlmann. */
56882
 
+         return fork () < 0;
56883
 
+       
56884
 
+  ;
56885
 
+  return 0;
56886
 
+}
56887
 
+_ACEOF
56888
 
+if ac_fn_c_try_run "$LINENO"; then :
56889
 
+  ac_cv_func_fork_works=yes
56890
 
+else
56891
 
+  ac_cv_func_fork_works=no
56892
 
+fi
56893
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
56894
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
56895
 
+fi
56896
 
+
56897
 
+fi
56898
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
56899
 
+$as_echo "$ac_cv_func_fork_works" >&6; }
56900
 
+
56901
 
+else
56902
 
+  ac_cv_func_fork_works=$ac_cv_func_fork
56903
 
+fi
56904
 
+if test "x$ac_cv_func_fork_works" = xcross; then
56905
 
+  case $host in
56906
 
+    *-*-amigaos* | *-*-msdosdjgpp*)
56907
 
+      # Override, as these systems have only a dummy fork() stub
56908
 
+      ac_cv_func_fork_works=no
56909
 
+      ;;
56910
 
+    *)
56911
 
+      ac_cv_func_fork_works=yes
56912
 
+      ;;
56913
 
+  esac
56914
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
56915
 
+$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
56916
 
+fi
56917
 
+ac_cv_func_vfork_works=$ac_cv_func_vfork
56918
 
+if test "x$ac_cv_func_vfork" = xyes; then
56919
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
56920
 
+$as_echo_n "checking for working vfork... " >&6; }
56921
 
+if ${ac_cv_func_vfork_works+:} false; then :
56922
 
+  $as_echo_n "(cached) " >&6
56923
 
+else
56924
 
+  if test "$cross_compiling" = yes; then :
56925
 
+  ac_cv_func_vfork_works=cross
56926
 
+else
56927
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56928
 
+/* end confdefs.h.  */
56929
 
+/* Thanks to Paul Eggert for this test.  */
56930
 
+$ac_includes_default
56931
 
+#include <sys/wait.h>
56932
 
+#ifdef HAVE_VFORK_H
56933
 
+# include <vfork.h>
56934
 
+#endif
56935
 
+/* On some sparc systems, changes by the child to local and incoming
56936
 
+   argument registers are propagated back to the parent.  The compiler
56937
 
+   is told about this with #include <vfork.h>, but some compilers
56938
 
+   (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
56939
 
+   static variable whose address is put into a register that is
56940
 
+   clobbered by the vfork.  */
56941
 
+static void
56942
 
+#ifdef __cplusplus
56943
 
+sparc_address_test (int arg)
56944
 
+# else
56945
 
+sparc_address_test (arg) int arg;
56946
 
+#endif
56947
 
+{
56948
 
+  static pid_t child;
56949
 
+  if (!child) {
56950
 
+    child = vfork ();
56951
 
+    if (child < 0) {
56952
 
+      perror ("vfork");
56953
 
+      _exit(2);
56954
 
+    }
56955
 
+    if (!child) {
56956
 
+      arg = getpid();
56957
 
+      write(-1, "", 0);
56958
 
+      _exit (arg);
56959
 
+    }
56960
 
+  }
56961
 
+}
56962
 
+
56963
 
+int
56964
 
+main ()
56965
 
+{
56966
 
+  pid_t parent = getpid ();
56967
 
+  pid_t child;
56968
 
+
56969
 
+  sparc_address_test (0);
56970
 
+
56971
 
+  child = vfork ();
56972
 
+
56973
 
+  if (child == 0) {
56974
 
+    /* Here is another test for sparc vfork register problems.  This
56975
 
+       test uses lots of local variables, at least as many local
56976
 
+       variables as main has allocated so far including compiler
56977
 
+       temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
56978
 
+       4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
56979
 
+       reuse the register of parent for one of the local variables,
56980
 
+       since it will think that parent can't possibly be used any more
56981
 
+       in this routine.  Assigning to the local variable will thus
56982
 
+       munge parent in the parent process.  */
56983
 
+    pid_t
56984
 
+      p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
56985
 
+      p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
56986
 
+    /* Convince the compiler that p..p7 are live; otherwise, it might
56987
 
+       use the same hardware register for all 8 local variables.  */
56988
 
+    if (p != p1 || p != p2 || p != p3 || p != p4
56989
 
+       || p != p5 || p != p6 || p != p7)
56990
 
+      _exit(1);
56991
 
+
56992
 
+    /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
56993
 
+       from child file descriptors.  If the child closes a descriptor
56994
 
+       before it execs or exits, this munges the parent's descriptor
56995
 
+       as well.  Test for this by closing stdout in the child.  */
56996
 
+    _exit(close(fileno(stdout)) != 0);
56997
 
+  } else {
56998
 
+    int status;
56999
 
+    struct stat st;
57000
 
+
57001
 
+    while (wait(&status) != child)
57002
 
+      ;
57003
 
+    return (
57004
 
+        /* Was there some problem with vforking?  */
57005
 
+        child < 0
57006
 
+
57007
 
+        /* Did the child fail?  (This shouldn't happen.)  */
57008
 
+        || status
57009
 
+
57010
 
+        /* Did the vfork/compiler bug occur?  */
57011
 
+        || parent != getpid()
57012
 
+
57013
 
+        /* Did the file descriptor bug occur?  */
57014
 
+        || fstat(fileno(stdout), &st) != 0
57015
 
+        );
57016
 
+  }
57017
 
+}
57018
 
+_ACEOF
57019
 
+if ac_fn_c_try_run "$LINENO"; then :
57020
 
+  ac_cv_func_vfork_works=yes
57021
 
+else
57022
 
+  ac_cv_func_vfork_works=no
57023
 
+fi
57024
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
57025
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
57026
 
+fi
57027
 
+
57028
 
+fi
57029
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
57030
 
+$as_echo "$ac_cv_func_vfork_works" >&6; }
57031
 
+
57032
 
+fi;
57033
 
+if test "x$ac_cv_func_fork_works" = xcross; then
57034
 
+  ac_cv_func_vfork_works=$ac_cv_func_vfork
57035
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
57036
 
+$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
57037
 
+fi
57038
 
+
57039
 
+if test "x$ac_cv_func_vfork_works" = xyes; then
57040
 
+  
57041
 
+$as_echo "@%:@define HAVE_WORKING_VFORK 1" >>confdefs.h
57042
 
+
57043
 
+else
57044
 
+  
57045
 
+$as_echo "@%:@define vfork fork" >>confdefs.h
57046
 
+
57047
 
+fi
57048
 
+if test "x$ac_cv_func_fork_works" = xyes; then
57049
 
+  
57050
 
+$as_echo "@%:@define HAVE_WORKING_FORK 1" >>confdefs.h
57051
 
+
57052
 
+fi
57053
 
+
57054
 
+
57055
 
+optional_bin_progs=
57056
 
+for ac_func in chroot
57057
 
+do :
57058
 
+  ac_fn_c_check_func "$LINENO" "chroot" "ac_cv_func_chroot"
57059
 
+if test "x$ac_cv_func_chroot" = xyes; then :
57060
 
+  cat >>confdefs.h <<_ACEOF
57061
 
+@%:@define HAVE_CHROOT 1
57062
 
+_ACEOF
57063
 
+ {
57064
 
+  if test -z "$optional_bin_progs"; then
57065
 
+    optional_bin_progs=chroot
57066
 
+  else
57067
 
+    optional_bin_progs="$optional_bin_progs chroot"
57068
 
+  fi
57069
 
+}
57070
 
+fi
57071
 
+done
57072
 
+
57073
 
+for ac_func in gethostid
57074
 
+do :
57075
 
+  ac_fn_c_check_func "$LINENO" "gethostid" "ac_cv_func_gethostid"
57076
 
+if test "x$ac_cv_func_gethostid" = xyes; then :
57077
 
+  cat >>confdefs.h <<_ACEOF
57078
 
+@%:@define HAVE_GETHOSTID 1
57079
 
+_ACEOF
57080
 
+ {
57081
 
+  if test -z "$optional_bin_progs"; then
57082
 
+    optional_bin_progs=hostid
57083
 
+  else
57084
 
+    optional_bin_progs="$optional_bin_progs hostid"
57085
 
+  fi
57086
 
+}
57087
 
+fi
57088
 
+done
57089
 
+
57090
 
+
57091
 
+
57092
 
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use of struct winsize requires sys/ptem.h" >&5
57093
 
+$as_echo_n "checking whether use of struct winsize requires sys/ptem.h... " >&6; }
57094
 
+if ${gl_cv_sys_struct_winsize_needs_sys_ptem_h+:} false; then :
57095
 
+  $as_echo_n "(cached) " >&6
57096
 
+else
57097
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=yes
57098
 
+      if test $ac_cv_sys_posix_termios = yes; then
57099
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57100
 
+/* end confdefs.h.  */
57101
 
+#include <termios.h>
57102
 
+int
57103
 
+main ()
57104
 
+{
57105
 
+struct winsize x;
57106
 
+            if (sizeof x > 0) return 0;
57107
 
+  ;
57108
 
+  return 0;
57109
 
+}
57110
 
+_ACEOF
57111
 
+if ac_fn_c_try_compile "$LINENO"; then :
57112
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=no
57113
 
+fi
57114
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57115
 
+      fi
57116
 
+      if test $gl_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
57117
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57118
 
+/* end confdefs.h.  */
57119
 
+#include <sys/ptem.h>
57120
 
+int
57121
 
+main ()
57122
 
+{
57123
 
+struct winsize x;
57124
 
+            if (sizeof x > 0) return 0;
57125
 
+  ;
57126
 
+  return 0;
57127
 
+}
57128
 
+_ACEOF
57129
 
+if ac_fn_c_try_compile "$LINENO"; then :
57130
 
+  
57131
 
+else
57132
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=no
57133
 
+fi
57134
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57135
 
+      fi
57136
 
+fi
57137
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_winsize_needs_sys_ptem_h" >&5
57138
 
+$as_echo "$gl_cv_sys_struct_winsize_needs_sys_ptem_h" >&6; }
57139
 
+   if test $gl_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
57140
 
+     
57141
 
+$as_echo "@%:@define WINSIZE_IN_PTEM 1" >>confdefs.h
57142
 
+
57143
 
+   fi
57144
 
+
57145
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5
57146
 
+$as_echo_n "checking whether localtime caches TZ... " >&6; }
57147
 
+if ${utils_cv_localtime_cache+:} false; then :
57148
 
+  $as_echo_n "(cached) " >&6
57149
 
+else
57150
 
+  if test x$ac_cv_func_tzset = xyes; then
57151
 
+if test "$cross_compiling" = yes; then :
57152
 
+  # If we have tzset, assume the worst when cross-compiling.
57153
 
+utils_cv_localtime_cache=yes
57154
 
+else
57155
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57156
 
+/* end confdefs.h.  */
57157
 
+#include <time.h>
57158
 
+#if STDC_HEADERS
57159
 
+# include <stdlib.h>
57160
 
+#endif
57161
 
+extern char **environ;
57162
 
+void unset_TZ (void)
57163
 
+{
57164
 
+  char **from, **to;
57165
 
+  for (to = from = environ; (*to = *from); from++)
57166
 
+    if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '='))
57167
 
+      to++;
57168
 
+}
57169
 
+int main()
57170
 
+{
57171
 
+  time_t now = time ((time_t *) 0);
57172
 
+  int hour_GMT0, hour_unset;
57173
 
+  if (putenv ("TZ=GMT0") != 0)
57174
 
+    return 1;
57175
 
+  hour_GMT0 = localtime (&now)->tm_hour;
57176
 
+  unset_TZ ();
57177
 
+  hour_unset = localtime (&now)->tm_hour;
57178
 
+  if (putenv ("TZ=PST8") != 0)
57179
 
+    return 1;
57180
 
+  if (localtime (&now)->tm_hour == hour_GMT0)
57181
 
+    return 1;
57182
 
+  unset_TZ ();
57183
 
+  if (localtime (&now)->tm_hour != hour_unset)
57184
 
+    return 1;
57185
 
+  return 0;
57186
 
+}
57187
 
+_ACEOF
57188
 
+if ac_fn_c_try_run "$LINENO"; then :
57189
 
+  utils_cv_localtime_cache=no
57190
 
+else
57191
 
+  utils_cv_localtime_cache=yes
57192
 
+fi
57193
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
57194
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
57195
 
+fi
57196
 
+
57197
 
+else
57198
 
+        # If we lack tzset, report that localtime does not cache TZ,
57199
 
+        # since we can't invalidate the cache if we don't have tzset.
57200
 
+        utils_cv_localtime_cache=no
57201
 
+fi
57202
 
+fi
57203
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $utils_cv_localtime_cache" >&5
57204
 
+$as_echo "$utils_cv_localtime_cache" >&6; }
57205
 
+if test $utils_cv_localtime_cache = yes; then
57206
 
+  
57207
 
+$as_echo "@%:@define LOCALTIME_CACHE 1" >>confdefs.h
57208
 
+
57209
 
+fi
57210
 
+
57211
 
+# SCO-ODT-3.0 is reported to need -los to link programs using initgroups
57212
 
+for ac_func in initgroups
57213
 
+do :
57214
 
+  ac_fn_c_check_func "$LINENO" "initgroups" "ac_cv_func_initgroups"
57215
 
+if test "x$ac_cv_func_initgroups" = xyes; then :
57216
 
+  cat >>confdefs.h <<_ACEOF
57217
 
+@%:@define HAVE_INITGROUPS 1
57218
 
+_ACEOF
57219
 
57220
 
+fi
57221
 
+done
57222
 
+
57223
 
+if test $ac_cv_func_initgroups = no; then
57224
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initgroups in -los" >&5
57225
 
+$as_echo_n "checking for initgroups in -los... " >&6; }
57226
 
+if ${ac_cv_lib_os_initgroups+:} false; then :
57227
 
+  $as_echo_n "(cached) " >&6
57228
 
+else
57229
 
+  ac_check_lib_save_LIBS=$LIBS
57230
 
+LIBS="-los  $LIBS"
57231
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57232
 
+/* end confdefs.h.  */
57233
 
+
57234
 
+/* Override any GCC internal prototype to avoid an error.
57235
 
+   Use char because int might match the return type of a GCC
57236
 
+   builtin and then its argument prototype would still apply.  */
57237
 
+#ifdef __cplusplus
57238
 
+extern "C"
57239
 
+#endif
57240
 
+char initgroups ();
57241
 
+int
57242
 
+main ()
57243
 
+{
57244
 
+return initgroups ();
57245
 
+  ;
57246
 
+  return 0;
57247
 
+}
57248
 
+_ACEOF
57249
 
+if ac_fn_c_try_link "$LINENO"; then :
57250
 
+  ac_cv_lib_os_initgroups=yes
57251
 
+else
57252
 
+  ac_cv_lib_os_initgroups=no
57253
 
+fi
57254
 
+rm -f core conftest.err conftest.$ac_objext \
57255
 
+    conftest$ac_exeext conftest.$ac_ext
57256
 
+LIBS=$ac_check_lib_save_LIBS
57257
 
+fi
57258
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_os_initgroups" >&5
57259
 
+$as_echo "$ac_cv_lib_os_initgroups" >&6; }
57260
 
+if test "x$ac_cv_lib_os_initgroups" = xyes; then :
57261
 
+  cat >>confdefs.h <<_ACEOF
57262
 
+@%:@define HAVE_LIBOS 1
57263
 
+_ACEOF
57264
 
+
57265
 
+  LIBS="-los $LIBS"
57266
 
+
57267
 
+fi
57268
 
+
57269
 
+fi
57270
 
+
57271
 
+for ac_func in syslog
57272
 
+do :
57273
 
+  ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog"
57274
 
+if test "x$ac_cv_func_syslog" = xyes; then :
57275
 
+  cat >>confdefs.h <<_ACEOF
57276
 
+@%:@define HAVE_SYSLOG 1
57277
 
+_ACEOF
57278
 
57279
 
+fi
57280
 
+done
57281
 
+
57282
 
+if test $ac_cv_func_syslog = no; then
57283
 
+  # syslog is not in the default libraries.  See if it's in some other.
57284
 
+  for lib in bsd socket inet; do
57285
 
+    as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_syslog" | $as_tr_sh`
57286
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for syslog in -l$lib" >&5
57287
 
+$as_echo_n "checking for syslog in -l$lib... " >&6; }
57288
 
+if eval \${$as_ac_Lib+:} false; then :
57289
 
+  $as_echo_n "(cached) " >&6
57290
 
+else
57291
 
+  ac_check_lib_save_LIBS=$LIBS
57292
 
+LIBS="-l$lib  $LIBS"
57293
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57294
 
+/* end confdefs.h.  */
57295
 
+
57296
 
+/* Override any GCC internal prototype to avoid an error.
57297
 
+   Use char because int might match the return type of a GCC
57298
 
+   builtin and then its argument prototype would still apply.  */
57299
 
+#ifdef __cplusplus
57300
 
+extern "C"
57301
 
+#endif
57302
 
+char syslog ();
57303
 
+int
57304
 
+main ()
57305
 
+{
57306
 
+return syslog ();
57307
 
+  ;
57308
 
+  return 0;
57309
 
+}
57310
 
+_ACEOF
57311
 
+if ac_fn_c_try_link "$LINENO"; then :
57312
 
+  eval "$as_ac_Lib=yes"
57313
 
+else
57314
 
+  eval "$as_ac_Lib=no"
57315
 
+fi
57316
 
+rm -f core conftest.err conftest.$ac_objext \
57317
 
+    conftest$ac_exeext conftest.$ac_ext
57318
 
+LIBS=$ac_check_lib_save_LIBS
57319
 
+fi
57320
 
+eval ac_res=\$$as_ac_Lib
57321
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
57322
 
+$as_echo "$ac_res" >&6; }
57323
 
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
57324
 
+  
57325
 
+$as_echo "@%:@define HAVE_SYSLOG 1" >>confdefs.h
57326
 
+
57327
 
+      LIBS="$LIBS -l$lib"; break
57328
 
+fi
57329
 
+
57330
 
+  done
57331
 
+fi
57332
 
+
57333
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for 3-argument setpriority function" >&5
57334
 
+$as_echo_n "checking for 3-argument setpriority function... " >&6; }
57335
 
+if ${utils_cv_func_setpriority+:} false; then :
57336
 
+  $as_echo_n "(cached) " >&6
57337
 
+else
57338
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57339
 
+/* end confdefs.h.  */
57340
 
+#include <sys/time.h>
57341
 
+         #include <sys/resource.h>
57342
 
+       
57343
 
+int
57344
 
+main ()
57345
 
+{
57346
 
+setpriority (0, 0, 0);
57347
 
+  ;
57348
 
+  return 0;
57349
 
+}
57350
 
+_ACEOF
57351
 
+if ac_fn_c_try_link "$LINENO"; then :
57352
 
+  utils_cv_func_setpriority=yes
57353
 
+else
57354
 
+  utils_cv_func_setpriority=no
57355
 
+fi
57356
 
+rm -f core conftest.err conftest.$ac_objext \
57357
 
+    conftest$ac_exeext conftest.$ac_ext
57358
 
+fi
57359
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $utils_cv_func_setpriority" >&5
57360
 
+$as_echo "$utils_cv_func_setpriority" >&6; }
57361
 
+if test $utils_cv_func_setpriority = no; then
57362
 
+  for ac_func in nice
57363
 
+do :
57364
 
+  ac_fn_c_check_func "$LINENO" "nice" "ac_cv_func_nice"
57365
 
+if test "x$ac_cv_func_nice" = xyes; then :
57366
 
+  cat >>confdefs.h <<_ACEOF
57367
 
+@%:@define HAVE_NICE 1
57368
 
+_ACEOF
57369
 
57370
 
+fi
57371
 
+done
57372
 
+
57373
 
+fi
57374
 
+case $utils_cv_func_setpriority,$ac_cv_func_nice in
57375
 
+*yes*)
57376
 
+  {
57377
 
+  if test -z "$optional_bin_progs"; then
57378
 
+    optional_bin_progs=nice
57379
 
+  else
57380
 
+    optional_bin_progs="$optional_bin_progs nice"
57381
 
+  fi
57382
 
+}
57383
 
+esac
57384
 
+
57385
 
+
57386
 
+
57387
 
+  
57388
 
+  if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then
57389
 
+    {
57390
 
+  if test -z "$optional_bin_progs"; then
57391
 
+    optional_bin_progs=who
57392
 
+  else
57393
 
+    optional_bin_progs="$optional_bin_progs who"
57394
 
+  fi
57395
 
+}
57396
 
+    {
57397
 
+  if test -z "$optional_bin_progs"; then
57398
 
+    optional_bin_progs=users
57399
 
+  else
57400
 
+    optional_bin_progs="$optional_bin_progs users"
57401
 
+  fi
57402
 
+}
57403
 
+    {
57404
 
+  if test -z "$optional_bin_progs"; then
57405
 
+    optional_bin_progs=pinky
57406
 
+  else
57407
 
+    optional_bin_progs="$optional_bin_progs pinky"
57408
 
+  fi
57409
 
+}
57410
 
+  fi
57411
 
+
57412
 
+
57413
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ut_host in struct utmp" >&5
57414
 
+$as_echo_n "checking ut_host in struct utmp... " >&6; }
57415
 
+if ${su_cv_func_ut_host_in_utmp+:} false; then :
57416
 
+  $as_echo_n "(cached) " >&6
57417
 
+else
57418
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57419
 
+/* end confdefs.h.  */
57420
 
+#include <sys/types.h>
57421
 
+#include <utmp.h>
57422
 
+int
57423
 
+main ()
57424
 
+{
57425
 
+struct utmp ut; return !sizeof ut.ut_host;
57426
 
+  ;
57427
 
+  return 0;
57428
 
+}
57429
 
+_ACEOF
57430
 
+if ac_fn_c_try_link "$LINENO"; then :
57431
 
+  su_cv_func_ut_host_in_utmp=yes
57432
 
+else
57433
 
+  su_cv_func_ut_host_in_utmp=no
57434
 
+fi
57435
 
+rm -f core conftest.err conftest.$ac_objext \
57436
 
+    conftest$ac_exeext conftest.$ac_ext
57437
 
+fi
57438
 
+
57439
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $su_cv_func_ut_host_in_utmp" >&5
57440
 
+$as_echo "$su_cv_func_ut_host_in_utmp" >&6; }
57441
 
+if test $su_cv_func_ut_host_in_utmp = yes; then
57442
 
+  have_ut_host=1
57443
 
+  
57444
 
+$as_echo "@%:@define HAVE_UT_HOST 1" >>confdefs.h
57445
 
+
57446
 
+fi
57447
 
+
57448
 
+if test -z "$have_ut_host"; then
57449
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking ut_host in struct utmpx" >&5
57450
 
+$as_echo_n "checking ut_host in struct utmpx... " >&6; }
57451
 
+  if ${su_cv_func_ut_host_in_utmpx+:} false; then :
57452
 
+  $as_echo_n "(cached) " >&6
57453
 
+else
57454
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57455
 
+/* end confdefs.h.  */
57456
 
+#include <sys/types.h>
57457
 
+#include <utmpx.h>
57458
 
+int
57459
 
+main ()
57460
 
+{
57461
 
+struct utmpx ut; return !sizeof ut.ut_host;
57462
 
+  ;
57463
 
+  return 0;
57464
 
+}
57465
 
+_ACEOF
57466
 
+if ac_fn_c_try_link "$LINENO"; then :
57467
 
+  su_cv_func_ut_host_in_utmpx=yes
57468
 
+else
57469
 
+  su_cv_func_ut_host_in_utmpx=no
57470
 
+fi
57471
 
+rm -f core conftest.err conftest.$ac_objext \
57472
 
+    conftest$ac_exeext conftest.$ac_ext
57473
 
+fi
57474
 
+
57475
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $su_cv_func_ut_host_in_utmpx" >&5
57476
 
+$as_echo "$su_cv_func_ut_host_in_utmpx" >&6; }
57477
 
+  if test $su_cv_func_ut_host_in_utmpx = yes; then
57478
 
+    
57479
 
+$as_echo "@%:@define HAVE_UTMPX_H 1" >>confdefs.h
57480
 
+
57481
 
+    
57482
 
+$as_echo "@%:@define HAVE_UT_HOST 1" >>confdefs.h
57483
 
+
57484
 
+  fi
57485
 
+fi
57486
 
+
57487
 
+
57488
 
+  for ac_func in sysctl
57489
 
+do :
57490
 
+  ac_fn_c_check_func "$LINENO" "sysctl" "ac_cv_func_sysctl"
57491
 
+if test "x$ac_cv_func_sysctl" = xyes; then :
57492
 
+  cat >>confdefs.h <<_ACEOF
57493
 
+@%:@define HAVE_SYSCTL 1
57494
 
+_ACEOF
57495
 
57496
 
+fi
57497
 
+done
57498
 
+
57499
 
+  
57500
 
+  for ac_header in sys/sysctl.h
57501
 
+do :
57502
 
+  ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "$ac_includes_default
57503
 
+     #if HAVE_SYS_PARAM_H
57504
 
+       #include <sys/param.h>
57505
 
+      #endif
57506
 
+"
57507
 
+if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
57508
 
+  cat >>confdefs.h <<_ACEOF
57509
 
+@%:@define HAVE_SYS_SYSCTL_H 1
57510
 
+_ACEOF
57511
 
57512
 
+fi
57513
 
+
57514
 
+done
57515
 
+
57516
 
+  
57517
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can get the system boot time" >&5
57518
 
+$as_echo_n "checking whether we can get the system boot time... " >&6; }
57519
 
+if ${gnulib_cv_have_boot_time+:} false; then :
57520
 
+  $as_echo_n "(cached) " >&6
57521
 
+else
57522
 
+  
57523
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57524
 
+/* end confdefs.h.  */
57525
 
+$ac_includes_default
57526
 
+#if HAVE_SYSCTL && HAVE_SYS_SYSCTL_H
57527
 
+# if HAVE_SYS_PARAM_H
57528
 
+#  include <sys/param.h> /* needed for OpenBSD 3.0 */
57529
 
+# endif
57530
 
+# include <sys/sysctl.h>
57531
 
+#endif
57532
 
+#if HAVE_UTMPX_H
57533
 
+# include <utmpx.h>
57534
 
+#elif HAVE_UTMP_H
57535
 
+# include <utmp.h>
57536
 
+#endif
57537
 
+#if HAVE_OS_H
57538
 
+# include <OS.h>
57539
 
+#endif
57540
 
+
57541
 
+int
57542
 
+main ()
57543
 
+{
57544
 
+
57545
 
+#if (defined BOOT_TIME                              \
57546
 
+     || (defined CTL_KERN && defined KERN_BOOTTIME) \
57547
 
+     || HAVE_OS_H)
57548
 
+/* your system *does* have the infrastructure to determine boot time */
57549
 
+#else
57550
 
+please_tell_us_how_to_determine_boot_time_on_your_system
57551
 
+#endif
57552
 
+
57553
 
+  ;
57554
 
+  return 0;
57555
 
+}
57556
 
+_ACEOF
57557
 
+if ac_fn_c_try_compile "$LINENO"; then :
57558
 
+  gnulib_cv_have_boot_time=yes
57559
 
+else
57560
 
+  gnulib_cv_have_boot_time=no
57561
 
+fi
57562
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57563
 
+    
57564
 
+fi
57565
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnulib_cv_have_boot_time" >&5
57566
 
+$as_echo "$gnulib_cv_have_boot_time" >&6; }
57567
 
+  if test $gnulib_cv_have_boot_time = yes; then :
57568
 
+  {
57569
 
+  if test -z "$optional_bin_progs"; then
57570
 
+    optional_bin_progs=uptime
57571
 
+  else
57572
 
+    optional_bin_progs="$optional_bin_progs uptime"
57573
 
+  fi
57574
 
+}
57575
 
+fi
57576
 
+
57577
 
+
57578
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX termios" >&5
57579
 
+$as_echo_n "checking POSIX termios... " >&6; }
57580
 
+if ${ac_cv_sys_posix_termios+:} false; then :
57581
 
+  $as_echo_n "(cached) " >&6
57582
 
+else
57583
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57584
 
+/* end confdefs.h.  */
57585
 
+#include <sys/types.h>
57586
 
+#include <unistd.h>
57587
 
+#include <termios.h>
57588
 
+
57589
 
+int
57590
 
+main ()
57591
 
+{
57592
 
+/* SunOS 4.0.3 has termios.h but not the library calls.  */
57593
 
+   tcgetattr(0, 0);
57594
 
+  ;
57595
 
+  return 0;
57596
 
+}
57597
 
+_ACEOF
57598
 
+if ac_fn_c_try_link "$LINENO"; then :
57599
 
+  ac_cv_sys_posix_termios=yes
57600
 
+else
57601
 
+  ac_cv_sys_posix_termios=no
57602
 
+fi
57603
 
+rm -f core conftest.err conftest.$ac_objext \
57604
 
+    conftest$ac_exeext conftest.$ac_ext
57605
 
+fi
57606
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_posix_termios" >&5
57607
 
+$as_echo "$ac_cv_sys_posix_termios" >&6; }
57608
 
+
57609
 
+
57610
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use of TIOCGWINSZ requires sys/ioctl.h" >&5
57611
 
+$as_echo_n "checking whether use of TIOCGWINSZ requires sys/ioctl.h... " >&6; }
57612
 
+if ${gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h+:} false; then :
57613
 
+  $as_echo_n "(cached) " >&6
57614
 
+else
57615
 
+  gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h=no
57616
 
+
57617
 
+  if test $gl_cv_sys_tiocgwinsz_needs_termios_h = no; then
57618
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57619
 
+/* end confdefs.h.  */
57620
 
+#include <sys/types.h>
57621
 
+#     include <sys/ioctl.h>
57622
 
+#     ifdef TIOCGWINSZ
57623
 
+        yes
57624
 
+#     endif
57625
 
+    
57626
 
+_ACEOF
57627
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
57628
 
+  $EGREP "yes" >/dev/null 2>&1; then :
57629
 
+  gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h=yes
57630
 
+fi
57631
 
+rm -f conftest*
57632
 
+
57633
 
+  fi
57634
 
+  
57635
 
+fi
57636
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h" >&5
57637
 
+$as_echo "$gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h" >&6; }
57638
 
+  if test $gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h = yes; then
57639
 
+    
57640
 
+$as_echo "@%:@define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
57641
 
+
57642
 
+  fi
57643
 
+
57644
 
+
57645
 
+if test $ac_cv_sys_posix_termios = yes; then
57646
 
+  {
57647
 
+  if test -z "$optional_bin_progs"; then
57648
 
+    optional_bin_progs=stty
57649
 
+  else
57650
 
+    optional_bin_progs="$optional_bin_progs stty"
57651
 
+  fi
57652
 
+}
57653
 
+
57654
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h needs _XOPEN_SOURCE" >&5
57655
 
+$as_echo_n "checking whether termios.h needs _XOPEN_SOURCE... " >&6; }
57656
 
+  if ${su_cv_sys_termios_needs_xopen_source+:} false; then :
57657
 
+  $as_echo_n "(cached) " >&6
57658
 
+else
57659
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57660
 
+/* end confdefs.h.  */
57661
 
+#include <termios.h>
57662
 
+#ifdef IUCLC
57663
 
+yes
57664
 
+#endif
57665
 
+_ACEOF
57666
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
57667
 
+  $EGREP "yes" >/dev/null 2>&1; then :
57668
 
+  su_cv_sys_termios_needs_xopen_source=no
57669
 
+else
57670
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57671
 
+/* end confdefs.h.  */
57672
 
+#define _XOPEN_SOURCE
57673
 
+#include <termios.h>
57674
 
+#ifdef IUCLC
57675
 
+yes
57676
 
+#endif
57677
 
+_ACEOF
57678
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
57679
 
+  $EGREP "yes" >/dev/null 2>&1; then :
57680
 
+  su_cv_sys_termios_needs_xopen_source=yes
57681
 
+else
57682
 
+  su_cv_sys_termios_needs_xopen_source=no
57683
 
+fi
57684
 
+rm -f conftest*
57685
 
+
57686
 
+fi
57687
 
+rm -f conftest*
57688
 
+
57689
 
+fi
57690
 
+
57691
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $su_cv_sys_termios_needs_xopen_source" >&5
57692
 
+$as_echo "$su_cv_sys_termios_needs_xopen_source" >&6; }
57693
 
+  test $su_cv_sys_termios_needs_xopen_source = yes &&
57694
 
+    
57695
 
+$as_echo "@%:@define TERMIOS_NEEDS_XOPEN_SOURCE 1" >>confdefs.h
57696
 
+
57697
 
+
57698
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking c_line in struct termios" >&5
57699
 
+$as_echo_n "checking c_line in struct termios... " >&6; }
57700
 
+  if ${su_cv_sys_c_line_in_termios+:} false; then :
57701
 
+  $as_echo_n "(cached) " >&6
57702
 
+else
57703
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57704
 
+/* end confdefs.h.  */
57705
 
+#if TERMIOS_NEEDS_XOPEN_SOURCE
57706
 
+#define _XOPEN_SOURCE
57707
 
+#endif
57708
 
+#include <sys/types.h>
57709
 
+#include <termios.h>
57710
 
+int
57711
 
+main ()
57712
 
+{
57713
 
+struct termios t; return !sizeof t.c_line;
57714
 
+  ;
57715
 
+  return 0;
57716
 
+}
57717
 
+_ACEOF
57718
 
+if ac_fn_c_try_link "$LINENO"; then :
57719
 
+  su_cv_sys_c_line_in_termios=yes
57720
 
+else
57721
 
+  su_cv_sys_c_line_in_termios=no
57722
 
+fi
57723
 
+rm -f core conftest.err conftest.$ac_objext \
57724
 
+    conftest$ac_exeext conftest.$ac_ext
57725
 
+fi
57726
 
+
57727
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $su_cv_sys_c_line_in_termios" >&5
57728
 
+$as_echo "$su_cv_sys_c_line_in_termios" >&6; }
57729
 
+  test $su_cv_sys_c_line_in_termios = yes \
57730
 
+    && 
57731
 
+$as_echo "@%:@define HAVE_C_LINE 1" >>confdefs.h
57732
 
+
57733
 
+fi
57734
 
+
57735
 
+# FIXME: note that this macro appears above, too.
57736
 
+# I'm leaving it here for now.  This whole thing needs to be modernized...
57737
 
+
57738
 
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use of struct winsize requires sys/ptem.h" >&5
57739
 
+$as_echo_n "checking whether use of struct winsize requires sys/ptem.h... " >&6; }
57740
 
+if ${gl_cv_sys_struct_winsize_needs_sys_ptem_h+:} false; then :
57741
 
+  $as_echo_n "(cached) " >&6
57742
 
+else
57743
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=yes
57744
 
+      if test $ac_cv_sys_posix_termios = yes; then
57745
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57746
 
+/* end confdefs.h.  */
57747
 
+#include <termios.h>
57748
 
+int
57749
 
+main ()
57750
 
+{
57751
 
+struct winsize x;
57752
 
+            if (sizeof x > 0) return 0;
57753
 
+  ;
57754
 
+  return 0;
57755
 
+}
57756
 
+_ACEOF
57757
 
+if ac_fn_c_try_compile "$LINENO"; then :
57758
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=no
57759
 
+fi
57760
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57761
 
+      fi
57762
 
+      if test $gl_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
57763
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57764
 
+/* end confdefs.h.  */
57765
 
+#include <sys/ptem.h>
57766
 
+int
57767
 
+main ()
57768
 
+{
57769
 
+struct winsize x;
57770
 
+            if (sizeof x > 0) return 0;
57771
 
+  ;
57772
 
+  return 0;
57773
 
+}
57774
 
+_ACEOF
57775
 
+if ac_fn_c_try_compile "$LINENO"; then :
57776
 
+  
57777
 
+else
57778
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=no
57779
 
+fi
57780
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57781
 
+      fi
57782
 
+fi
57783
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_winsize_needs_sys_ptem_h" >&5
57784
 
+$as_echo "$gl_cv_sys_struct_winsize_needs_sys_ptem_h" >&6; }
57785
 
+   if test $gl_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
57786
 
+     
57787
 
+$as_echo "@%:@define WINSIZE_IN_PTEM 1" >>confdefs.h
57788
 
+
57789
 
+   fi
57790
 
+
57791
 
+
57792
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use of TIOCGWINSZ requires termios.h" >&5
57793
 
+$as_echo_n "checking whether use of TIOCGWINSZ requires termios.h... " >&6; }
57794
 
+if ${gl_cv_sys_tiocgwinsz_needs_termios_h+:} false; then :
57795
 
+  $as_echo_n "(cached) " >&6
57796
 
+else
57797
 
+  gl_cv_sys_tiocgwinsz_needs_termios_h=no
57798
 
+
57799
 
+   if test $ac_cv_sys_posix_termios = yes; then
57800
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57801
 
+/* end confdefs.h.  */
57802
 
+#include <sys/types.h>
57803
 
+#      include <termios.h>
57804
 
+#      ifdef TIOCGWINSZ
57805
 
+         yes
57806
 
+#      endif
57807
 
+     
57808
 
+_ACEOF
57809
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
57810
 
+  $EGREP "yes" >/dev/null 2>&1; then :
57811
 
+  gl_cv_sys_tiocgwinsz_needs_termios_h=yes
57812
 
+fi
57813
 
+rm -f conftest*
57814
 
+
57815
 
+   fi
57816
 
+  
57817
 
+fi
57818
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_tiocgwinsz_needs_termios_h" >&5
57819
 
+$as_echo "$gl_cv_sys_tiocgwinsz_needs_termios_h" >&6; }
57820
 
+
57821
 
+
57822
 
+if test $gl_cv_sys_tiocgwinsz_needs_termios_h = no && \
57823
 
+   test $gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h = no; then
57824
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking TIOCGWINSZ in sys/pty.h" >&5
57825
 
+$as_echo_n "checking TIOCGWINSZ in sys/pty.h... " >&6; }
57826
 
+  if ${su_cv_sys_tiocgwinsz_in_sys_pty_h+:} false; then :
57827
 
+  $as_echo_n "(cached) " >&6
57828
 
+else
57829
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57830
 
+/* end confdefs.h.  */
57831
 
+#include <sys/types.h>
57832
 
+#ifdef WINSIZE_IN_PTEM
57833
 
+# include <sys/stream.h>
57834
 
+# include <sys/ptem.h>
57835
 
+#endif
57836
 
+#include <sys/ioctl.h>
57837
 
+#include <sys/tty.h>
57838
 
+#include <sys/pty.h>
57839
 
+int
57840
 
+main ()
57841
 
+{
57842
 
+int x = TIOCGWINSZ;
57843
 
+  ;
57844
 
+  return 0;
57845
 
+}
57846
 
+_ACEOF
57847
 
+if ac_fn_c_try_link "$LINENO"; then :
57848
 
+  su_cv_sys_tiocgwinsz_in_sys_pty_h=yes
57849
 
+else
57850
 
+  su_cv_sys_tiocgwinsz_in_sys_pty_h=no
57851
 
+fi
57852
 
+rm -f core conftest.err conftest.$ac_objext \
57853
 
+    conftest$ac_exeext conftest.$ac_ext
57854
 
+fi
57855
 
+
57856
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $su_cv_sys_tiocgwinsz_in_sys_pty_h" >&5
57857
 
+$as_echo "$su_cv_sys_tiocgwinsz_in_sys_pty_h" >&6; }
57858
 
+
57859
 
+  test $su_cv_sys_tiocgwinsz_in_sys_pty_h = yes \
57860
 
+      && 
57861
 
+$as_echo "@%:@define GWINSZ_IN_SYS_PTY 1" >>confdefs.h
57862
 
+
57863
 
+fi
57864
 
+
57865
 
+# For src/kill.c.
57866
 
+ac_fn_c_check_decl "$LINENO" "strsignal" "ac_cv_have_decl_strsignal" "$ac_includes_default
57867
 
+#include <signal.h>
57868
 
+"
57869
 
+if test "x$ac_cv_have_decl_strsignal" = xyes; then :
57870
 
+  ac_have_decl=1
57871
 
+else
57872
 
+  ac_have_decl=0
57873
 
+fi
57874
 
+
57875
 
+cat >>confdefs.h <<_ACEOF
57876
 
+@%:@define HAVE_DECL_STRSIGNAL $ac_have_decl
57877
 
+_ACEOF
57878
 
+ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default
57879
 
+#include <signal.h>
57880
 
+"
57881
 
+if test "x$ac_cv_have_decl_sys_siglist" = xyes; then :
57882
 
+  ac_have_decl=1
57883
 
+else
57884
 
+  ac_have_decl=0
57885
 
+fi
57886
 
+
57887
 
+cat >>confdefs.h <<_ACEOF
57888
 
+@%:@define HAVE_DECL_SYS_SIGLIST $ac_have_decl
57889
 
+_ACEOF
57890
 
+ac_fn_c_check_decl "$LINENO" "_sys_siglist" "ac_cv_have_decl__sys_siglist" "$ac_includes_default
57891
 
+#include <signal.h>
57892
 
+"
57893
 
+if test "x$ac_cv_have_decl__sys_siglist" = xyes; then :
57894
 
+  ac_have_decl=1
57895
 
+else
57896
 
+  ac_have_decl=0
57897
 
+fi
57898
 
+
57899
 
+cat >>confdefs.h <<_ACEOF
57900
 
+@%:@define HAVE_DECL__SYS_SIGLIST $ac_have_decl
57901
 
+_ACEOF
57902
 
+ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default
57903
 
+#include <signal.h>
57904
 
+"
57905
 
+if test "x$ac_cv_have_decl___sys_siglist" = xyes; then :
57906
 
+  ac_have_decl=1
57907
 
+else
57908
 
+  ac_have_decl=0
57909
 
+fi
57910
 
+
57911
 
+cat >>confdefs.h <<_ACEOF
57912
 
+@%:@define HAVE_DECL___SYS_SIGLIST $ac_have_decl
57913
 
+_ACEOF
57914
 
+
57915
 
+
57916
 
+
57917
 
+
57918
 
+  # Check for libypsec.a on Dolphin M88K machines.
57919
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lypsec" >&5
57920
 
+$as_echo_n "checking for main in -lypsec... " >&6; }
57921
 
+if ${ac_cv_lib_ypsec_main+:} false; then :
57922
 
+  $as_echo_n "(cached) " >&6
57923
 
+else
57924
 
+  ac_check_lib_save_LIBS=$LIBS
57925
 
+LIBS="-lypsec  $LIBS"
57926
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57927
 
+/* end confdefs.h.  */
57928
 
+
57929
 
+
57930
 
+int
57931
 
+main ()
57932
 
+{
57933
 
+return main ();
57934
 
+  ;
57935
 
+  return 0;
57936
 
+}
57937
 
+_ACEOF
57938
 
+if ac_fn_c_try_link "$LINENO"; then :
57939
 
+  ac_cv_lib_ypsec_main=yes
57940
 
+else
57941
 
+  ac_cv_lib_ypsec_main=no
57942
 
+fi
57943
 
+rm -f core conftest.err conftest.$ac_objext \
57944
 
+    conftest$ac_exeext conftest.$ac_ext
57945
 
+LIBS=$ac_check_lib_save_LIBS
57946
 
+fi
57947
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ypsec_main" >&5
57948
 
+$as_echo "$ac_cv_lib_ypsec_main" >&6; }
57949
 
+if test "x$ac_cv_lib_ypsec_main" = xyes; then :
57950
 
+  cat >>confdefs.h <<_ACEOF
57951
 
+@%:@define HAVE_LIBYPSEC 1
57952
 
+_ACEOF
57953
 
+
57954
 
+  LIBS="-lypsec $LIBS"
57955
 
+
57956
 
+fi
57957
 
+
57958
 
+
57959
 
+  # m88k running dgux 5.4 needs this
57960
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lldgc" >&5
57961
 
+$as_echo_n "checking for main in -lldgc... " >&6; }
57962
 
+if ${ac_cv_lib_ldgc_main+:} false; then :
57963
 
+  $as_echo_n "(cached) " >&6
57964
 
+else
57965
 
+  ac_check_lib_save_LIBS=$LIBS
57966
 
+LIBS="-lldgc  $LIBS"
57967
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57968
 
+/* end confdefs.h.  */
57969
 
+
57970
 
+
57971
 
+int
57972
 
+main ()
57973
 
+{
57974
 
+return main ();
57975
 
+  ;
57976
 
+  return 0;
57977
 
+}
57978
 
+_ACEOF
57979
 
+if ac_fn_c_try_link "$LINENO"; then :
57980
 
+  ac_cv_lib_ldgc_main=yes
57981
 
+else
57982
 
+  ac_cv_lib_ldgc_main=no
57983
 
+fi
57984
 
+rm -f core conftest.err conftest.$ac_objext \
57985
 
+    conftest$ac_exeext conftest.$ac_ext
57986
 
+LIBS=$ac_check_lib_save_LIBS
57987
 
+fi
57988
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldgc_main" >&5
57989
 
+$as_echo "$ac_cv_lib_ldgc_main" >&6; }
57990
 
+if test "x$ac_cv_lib_ldgc_main" = xyes; then :
57991
 
+  cat >>confdefs.h <<_ACEOF
57992
 
+@%:@define HAVE_LIBLDGC 1
57993
 
+_ACEOF
57994
 
+
57995
 
+  LIBS="-lldgc $LIBS"
57996
 
+
57997
 
+fi
57998
 
+
57999
 
+
58000
 
+  # The -lsun library is required for YP support on Irix-4.0.5 systems.
58001
 
+  # m88k/svr3 DolphinOS systems using YP need -lypsec for id.
58002
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing yp_match" >&5
58003
 
+$as_echo_n "checking for library containing yp_match... " >&6; }
58004
 
+if ${ac_cv_search_yp_match+:} false; then :
58005
 
+  $as_echo_n "(cached) " >&6
58006
 
+else
58007
 
+  ac_func_search_save_LIBS=$LIBS
58008
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58009
 
+/* end confdefs.h.  */
58010
 
+
58011
 
+/* Override any GCC internal prototype to avoid an error.
58012
 
+   Use char because int might match the return type of a GCC
58013
 
+   builtin and then its argument prototype would still apply.  */
58014
 
+#ifdef __cplusplus
58015
 
+extern "C"
58016
 
+#endif
58017
 
+char yp_match ();
58018
 
+int
58019
 
+main ()
58020
 
+{
58021
 
+return yp_match ();
58022
 
+  ;
58023
 
+  return 0;
58024
 
+}
58025
 
+_ACEOF
58026
 
+for ac_lib in '' sun ypsec; do
58027
 
+  if test -z "$ac_lib"; then
58028
 
+    ac_res="none required"
58029
 
+  else
58030
 
+    ac_res=-l$ac_lib
58031
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
58032
 
+  fi
58033
 
+  if ac_fn_c_try_link "$LINENO"; then :
58034
 
+  ac_cv_search_yp_match=$ac_res
58035
 
+fi
58036
 
+rm -f core conftest.err conftest.$ac_objext \
58037
 
+    conftest$ac_exeext
58038
 
+  if ${ac_cv_search_yp_match+:} false; then :
58039
 
+  break
58040
 
+fi
58041
 
+done
58042
 
+if ${ac_cv_search_yp_match+:} false; then :
58043
 
+  
58044
 
+else
58045
 
+  ac_cv_search_yp_match=no
58046
 
+fi
58047
 
+rm conftest.$ac_ext
58048
 
+LIBS=$ac_func_search_save_LIBS
58049
 
+fi
58050
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_yp_match" >&5
58051
 
+$as_echo "$ac_cv_search_yp_match" >&6; }
58052
 
+ac_res=$ac_cv_search_yp_match
58053
 
+if test "$ac_res" != no; then :
58054
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
58055
 
+  
58056
 
+fi
58057
 
+
58058
 
+
58059
 
+  # SysV needs -lsec, older versions of Linux need -lshadow for
58060
 
+  # shadow passwords.  UnixWare 7 needs -lgen.
58061
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getspnam" >&5
58062
 
+$as_echo_n "checking for library containing getspnam... " >&6; }
58063
 
+if ${ac_cv_search_getspnam+:} false; then :
58064
 
+  $as_echo_n "(cached) " >&6
58065
 
+else
58066
 
+  ac_func_search_save_LIBS=$LIBS
58067
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58068
 
+/* end confdefs.h.  */
58069
 
+
58070
 
+/* Override any GCC internal prototype to avoid an error.
58071
 
+   Use char because int might match the return type of a GCC
58072
 
+   builtin and then its argument prototype would still apply.  */
58073
 
+#ifdef __cplusplus
58074
 
+extern "C"
58075
 
+#endif
58076
 
+char getspnam ();
58077
 
+int
58078
 
+main ()
58079
 
+{
58080
 
+return getspnam ();
58081
 
+  ;
58082
 
+  return 0;
58083
 
+}
58084
 
+_ACEOF
58085
 
+for ac_lib in '' shadow sec gen; do
58086
 
+  if test -z "$ac_lib"; then
58087
 
+    ac_res="none required"
58088
 
+  else
58089
 
+    ac_res=-l$ac_lib
58090
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
58091
 
+  fi
58092
 
+  if ac_fn_c_try_link "$LINENO"; then :
58093
 
+  ac_cv_search_getspnam=$ac_res
58094
 
+fi
58095
 
+rm -f core conftest.err conftest.$ac_objext \
58096
 
+    conftest$ac_exeext
58097
 
+  if ${ac_cv_search_getspnam+:} false; then :
58098
 
+  break
58099
 
+fi
58100
 
+done
58101
 
+if ${ac_cv_search_getspnam+:} false; then :
58102
 
+  
58103
 
+else
58104
 
+  ac_cv_search_getspnam=no
58105
 
+fi
58106
 
+rm conftest.$ac_ext
58107
 
+LIBS=$ac_func_search_save_LIBS
58108
 
+fi
58109
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getspnam" >&5
58110
 
+$as_echo "$ac_cv_search_getspnam" >&6; }
58111
 
+ac_res=$ac_cv_search_getspnam
58112
 
+if test "$ac_res" != no; then :
58113
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
58114
 
+  
58115
 
+fi
58116
 
+
58117
 
+
58118
 
+  for ac_header in shadow.h
58119
 
+do :
58120
 
+  ac_fn_c_check_header_mongrel "$LINENO" "shadow.h" "ac_cv_header_shadow_h" "$ac_includes_default"
58121
 
+if test "x$ac_cv_header_shadow_h" = xyes; then :
58122
 
+  cat >>confdefs.h <<_ACEOF
58123
 
+@%:@define HAVE_SHADOW_H 1
58124
 
+_ACEOF
58125
 
58126
 
+fi
58127
 
+
58128
 
+done
58129
 
+
58130
 
+
58131
 
+  # Requirements for su.c.
58132
 
+  shadow_includes="\
58133
 
+$ac_includes_default
58134
 
+#if HAVE_SHADOW_H
58135
 
+# include <shadow.h>
58136
 
+#endif
58137
 
+"
58138
 
+  ac_fn_c_check_member "$LINENO" "struct spwd" "sp_pwdp" "ac_cv_member_struct_spwd_sp_pwdp" "$shadow_includes
58139
 
+"
58140
 
+if test "x$ac_cv_member_struct_spwd_sp_pwdp" = xyes; then :
58141
 
+  
58142
 
+cat >>confdefs.h <<_ACEOF
58143
 
+@%:@define HAVE_STRUCT_SPWD_SP_PWDP 1
58144
 
+_ACEOF
58145
 
+
58146
 
+
58147
 
+fi
58148
 
+
58149
 
+  for ac_func in getspnam
58150
 
+do :
58151
 
+  ac_fn_c_check_func "$LINENO" "getspnam" "ac_cv_func_getspnam"
58152
 
+if test "x$ac_cv_func_getspnam" = xyes; then :
58153
 
+  cat >>confdefs.h <<_ACEOF
58154
 
+@%:@define HAVE_GETSPNAM 1
58155
 
+_ACEOF
58156
 
58157
 
+fi
58158
 
+done
58159
 
+
58160
 
+
58161
 
+  # SCO-ODT-3.0 is reported to need -lufc for crypt.
58162
 
+  # NetBSD needs -lcrypt for crypt.
58163
 
+  LIB_CRYPT=
58164
 
+  cu_saved_libs="$LIBS"
58165
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
58166
 
+$as_echo_n "checking for library containing crypt... " >&6; }
58167
 
+if ${ac_cv_search_crypt+:} false; then :
58168
 
+  $as_echo_n "(cached) " >&6
58169
 
+else
58170
 
+  ac_func_search_save_LIBS=$LIBS
58171
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58172
 
+/* end confdefs.h.  */
58173
 
+
58174
 
+/* Override any GCC internal prototype to avoid an error.
58175
 
+   Use char because int might match the return type of a GCC
58176
 
+   builtin and then its argument prototype would still apply.  */
58177
 
+#ifdef __cplusplus
58178
 
+extern "C"
58179
 
+#endif
58180
 
+char crypt ();
58181
 
+int
58182
 
+main ()
58183
 
+{
58184
 
+return crypt ();
58185
 
+  ;
58186
 
+  return 0;
58187
 
+}
58188
 
+_ACEOF
58189
 
+for ac_lib in '' ufc crypt; do
58190
 
+  if test -z "$ac_lib"; then
58191
 
+    ac_res="none required"
58192
 
+  else
58193
 
+    ac_res=-l$ac_lib
58194
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
58195
 
+  fi
58196
 
+  if ac_fn_c_try_link "$LINENO"; then :
58197
 
+  ac_cv_search_crypt=$ac_res
58198
 
+fi
58199
 
+rm -f core conftest.err conftest.$ac_objext \
58200
 
+    conftest$ac_exeext
58201
 
+  if ${ac_cv_search_crypt+:} false; then :
58202
 
+  break
58203
 
+fi
58204
 
+done
58205
 
+if ${ac_cv_search_crypt+:} false; then :
58206
 
+  
58207
 
+else
58208
 
+  ac_cv_search_crypt=no
58209
 
+fi
58210
 
+rm conftest.$ac_ext
58211
 
+LIBS=$ac_func_search_save_LIBS
58212
 
+fi
58213
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
58214
 
+$as_echo "$ac_cv_search_crypt" >&6; }
58215
 
+ac_res=$ac_cv_search_crypt
58216
 
+if test "$ac_res" != no; then :
58217
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
58218
 
+  test "$ac_cv_search_crypt" = "none required" ||
58219
 
+                  LIB_CRYPT="$ac_cv_search_crypt"
58220
 
+fi
58221
 
+
58222
 
+  LIBS="$cu_saved_libs"
58223
 
+  
58224
 
+
58225
 
+
58226
 
+  LIB_GMP=
58227
 
+  
58228
 
+
58229
 
+  
58230
 
+@%:@ Check whether --with-gmp was given.
58231
 
+if test "${with_gmp+set}" = set; then :
58232
 
+  withval=$with_gmp; cu_use_gmp=$withval
58233
 
+else
58234
 
+  cu_use_gmp=auto
58235
 
+fi
58236
 
+
58237
 
+
58238
 
+  if test $cu_use_gmp != no; then
58239
 
+    cu_saved_libs=$LIBS
58240
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __gmpz_init" >&5
58241
 
+$as_echo_n "checking for library containing __gmpz_init... " >&6; }
58242
 
+if ${ac_cv_search___gmpz_init+:} false; then :
58243
 
+  $as_echo_n "(cached) " >&6
58244
 
+else
58245
 
+  ac_func_search_save_LIBS=$LIBS
58246
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58247
 
+/* end confdefs.h.  */
58248
 
+
58249
 
+/* Override any GCC internal prototype to avoid an error.
58250
 
+   Use char because int might match the return type of a GCC
58251
 
+   builtin and then its argument prototype would still apply.  */
58252
 
+#ifdef __cplusplus
58253
 
+extern "C"
58254
 
+#endif
58255
 
+char __gmpz_init ();
58256
 
+int
58257
 
+main ()
58258
 
+{
58259
 
+return __gmpz_init ();
58260
 
+  ;
58261
 
+  return 0;
58262
 
+}
58263
 
+_ACEOF
58264
 
+for ac_lib in '' gmp; do
58265
 
+  if test -z "$ac_lib"; then
58266
 
+    ac_res="none required"
58267
 
+  else
58268
 
+    ac_res=-l$ac_lib
58269
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
58270
 
+  fi
58271
 
+  if ac_fn_c_try_link "$LINENO"; then :
58272
 
+  ac_cv_search___gmpz_init=$ac_res
58273
 
+fi
58274
 
+rm -f core conftest.err conftest.$ac_objext \
58275
 
+    conftest$ac_exeext
58276
 
+  if ${ac_cv_search___gmpz_init+:} false; then :
58277
 
+  break
58278
 
+fi
58279
 
+done
58280
 
+if ${ac_cv_search___gmpz_init+:} false; then :
58281
 
+  
58282
 
+else
58283
 
+  ac_cv_search___gmpz_init=no
58284
 
+fi
58285
 
+rm conftest.$ac_ext
58286
 
+LIBS=$ac_func_search_save_LIBS
58287
 
+fi
58288
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___gmpz_init" >&5
58289
 
+$as_echo "$ac_cv_search___gmpz_init" >&6; }
58290
 
+ac_res=$ac_cv_search___gmpz_init
58291
 
+if test "$ac_res" != no; then :
58292
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
58293
 
+  test "$ac_cv_search___gmpz_init" = "none required" ||
58294
 
+       {
58295
 
+        LIB_GMP=$ac_cv_search___gmpz_init
58296
 
+        
58297
 
+$as_echo "@%:@define HAVE_GMP 1" >>confdefs.h
58298
 
+
58299
 
+       }
58300
 
+else
58301
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgmp development library was not found or not usable." >&5
58302
 
+$as_echo "$as_me: WARNING: libgmp development library was not found or not usable." >&2;}
58303
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU coreutils will be built without GMP support." >&5
58304
 
+$as_echo "$as_me: WARNING: GNU coreutils will be built without GMP support." >&2;}
58305
 
+fi
58306
 
+
58307
 
+    LIBS=$cu_saved_libs
58308
 
+  fi
58309
 
+
58310
 
+
58311
 
+# Build df only if there's a point to it.
58312
 
+if test $gl_cv_list_mounted_fs = yes && test $gl_cv_fs_space = yes; then
58313
 
+  {
58314
 
+  if test -z "$optional_bin_progs"; then
58315
 
+    optional_bin_progs=df
58316
 
+  else
58317
 
+    optional_bin_progs="$optional_bin_progs df"
58318
 
+  fi
58319
 
+}
58320
 
+fi
58321
 
+
58322
 
+# Limit stdbuf to ELF systems with GCC
58323
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether this is an ELF system" >&5
58324
 
+$as_echo_n "checking whether this is an ELF system... " >&6; }
58325
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58326
 
+/* end confdefs.h.  */
58327
 
+#if __ELF__
58328
 
+yes
58329
 
+#endif
58330
 
+_ACEOF
58331
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
58332
 
+  $EGREP "yes" >/dev/null 2>&1; then :
58333
 
+  elf_sys=yes
58334
 
+else
58335
 
+  elf_sys=no
58336
 
+fi
58337
 
+rm -f conftest*
58338
 
+
58339
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_sys" >&5
58340
 
+$as_echo "$elf_sys" >&6; }
58341
 
+if test "$elf_sys" = "yes" && \
58342
 
+   test "$GCC" = "yes"; then
58343
 
+  {
58344
 
+  if test -z "$optional_bin_progs"; then
58345
 
+    optional_bin_progs=stdbuf
58346
 
+  else
58347
 
+    optional_bin_progs="$optional_bin_progs stdbuf"
58348
 
+  fi
58349
 
+}
58350
 
+fi
58351
 
+
58352
 
+############################################################################
58353
 
+mk="$srcdir/src/Makefile.am"
58354
 
+# Extract all literal names from the definition of $(EXTRA_PROGRAMS)
58355
 
+# in $mk but don't expand the variable references.
58356
 
+# Append each literal name to $optional_bin_progs.
58357
 
+v=EXTRA_PROGRAMS
58358
 
+for gl_i in `sed -n '/^'$v' =/,/[^\]$/p' $mk \
58359
 
+    | sed 's/^  *//;/^\$.*/d;/^'$v' =/d' \
58360
 
+    | tr -s '\\015\\012\\\\' '   '`; do
58361
 
+  {
58362
 
+  if test -z "$optional_bin_progs"; then
58363
 
+    optional_bin_progs=$gl_i
58364
 
+  else
58365
 
+    optional_bin_progs="$optional_bin_progs $gl_i"
58366
 
+  fi
58367
 
+}
58368
 
+done
58369
 
+
58370
 
+# As above, extract literal names from the definition of $(no_install__progs)
58371
 
+# in $mk but don't expand the variable references.
58372
 
+v=no_install__progs
58373
 
+t=`sed -n '/^'$v' =/,/[^\]$/p' $mk \
58374
 
+    | sed 's/^  *//;/^\$.*/d;/^'$v' =/d' \
58375
 
+    | tr -s '\\015\\012\\\\' '   '`
58376
 
+# Remove any trailing space.
58377
 
+no_install_progs_default=`echo "$t"|sed 's/ $//'`
58378
 
+
58379
 
+# Unfortunately, due to the way autoconf's AS_HELP_STRING works, the list
58380
 
+# of default-not-installed programs, "arch hostname su", must appear in two
58381
 
+# places: in this file below, and in $mk.  Using "$no_install_progs_default"
58382
 
+# below cannot work.  And we can't substitute the names into $mk because
58383
 
+# automake needs the literals, too.
58384
 
+# The compromise is to ensure that the space-separated list extracted
58385
 
+# above matches the literal 2nd argument below.
58386
 
+c="$srcdir/configure.ac"
58387
 
+re='^g''l_INCLUDE_EXCLUDE_PROG(.* \[\(.*\)\])'
58388
 
+t=`sed -n '/'"$re"'/{s/'"$re"'/\1/;s/,/ /gp
58389
 
+}' $c`
58390
 
+case $t in
58391
 
+  $no_install_progs_default) ;;
58392
 
+  *) as_fn_error 1 "internal error: g'l_INCLUDE_EXCLUDE_PROG's 2nd arg, $t,
58393
 
+                   does not match the list of default-not-installed programs
58394
 
+                   ($no_install_progs_default) also recorded in $mk" "$LINENO" 5 ;;
58395
 
+esac
58396
 
+
58397
 
+# Given the name of a variable containing a space-separated list of
58398
 
+# install-by-default programs and the actual list do-not-install-by-default
58399
 
+# programs, modify the former variable to reflect any "do-install" and
58400
 
+# "don't-install" requests.
58401
 
+# I.e., add any program name specified via --enable-install-program=..., and
58402
 
+# remove any program name specified via --enable-no-install-program=...
58403
 
+# Note how the second argument below is a literal, with "," separators.
58404
 
+# That is required due to the way the macro works, and since the
58405
 
+# corresponding ./configure option argument is comma-separated on input.
58406
 
+{
58407
 
+  gl_no_install_progs_default=`echo 'arch,hostname,su'|sed 's/,/ /g'`
58408
 
+  @%:@ Check whether --enable-install-program was given.
58409
 
+if test "${enable_install_program+set}" = set; then :
58410
 
+  enableval=$enable_install_program; gl_do_install_prog=$enableval
58411
 
+else
58412
 
+  gl_do_install_prog=
58413
 
+  
58414
 
+fi
58415
 
+
58416
 
+
58417
 
+  # If you want to refrain from installing programs A and B,
58418
 
+  # use --enable-no-install-program=A,B
58419
 
+  @%:@ Check whether --enable-no-install-program was given.
58420
 
+if test "${enable_no_install_program+set}" = set; then :
58421
 
+  enableval=$enable_no_install_program; gl_no_install_prog=$enableval
58422
 
+else
58423
 
+  gl_no_install_prog=
58424
 
+  
58425
 
+fi
58426
 
+
58427
 
+
58428
 
+  # Convert to space separated lists.
58429
 
+  gl_do_install_prog=`echo "$gl_do_install_prog"|tr -s , ' '`
58430
 
+  gl_no_install_prog=`echo "$gl_no_install_prog"|tr -s , ' '`
58431
 
+
58432
 
+  # For each not-to-be-installed program name, ensure that it's a
58433
 
+  # valid name, remove it from the list of programs to build/install,
58434
 
+  # as well as from the list of man pages to install.
58435
 
+  for gl_i in $gl_no_install_prog; do
58436
 
+
58437
 
+    # Fail upon a request to install and not-install the same program.
58438
 
+    case " $gl_do_install_prog " in
58439
 
+      *" $gl_i "*) as_fn_error $? "'$gl_i' is both included and excluded" "$LINENO" 5 ;;
58440
 
+    esac
58441
 
+
58442
 
+    gl_msg=
58443
 
+    # Warn about a request not to install a program that is not being
58444
 
+    # built (which may be because the systems lacks a required interface).
58445
 
+    case " $optional_bin_progs " in
58446
 
+      *" $gl_i "*) {
58447
 
+  optional_bin_progs=`for gl_rem_i in $optional_bin_progs; do
58448
 
+        test "$gl_rem_i" = "$gl_i" || echo "$gl_rem_i"
58449
 
+      done | tr '\012' ' ' | sed 's/ $//'; echo`
58450
 
+} ;;
58451
 
+      *) gl_msg="'$gl_i' is already not being installed" ;;
58452
 
+    esac
58453
 
+
58454
 
+    if test "$gl_msg" = ''; then
58455
 
+      # Warn about a request not to install a program that is
58456
 
+      # already on the default-no-install list.
58457
 
+      case " $gl_no_install_progs_default " in
58458
 
+        *" $gl_i "*) gl_msg="by default, '$gl_i' is not installed" ;;
58459
 
+      esac
58460
 
+    fi
58461
 
+
58462
 
+    test "$gl_msg" != '' && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $gl_msg" >&5
58463
 
+$as_echo "$as_me: WARNING: $gl_msg" >&2;}
58464
 
+  done
58465
 
+
58466
 
+  for gl_i in $gl_do_install_prog; do
58467
 
+    case " $gl_no_install_progs_default " in
58468
 
+      *" $gl_i "*) {
58469
 
+  if test -z "$optional_bin_progs"; then
58470
 
+    optional_bin_progs=$gl_i
58471
 
+  else
58472
 
+    optional_bin_progs="$optional_bin_progs $gl_i"
58473
 
+  fi
58474
 
+} ;;
58475
 
+      *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$gl_i' is not an optionally-installable program" >&5
58476
 
+$as_echo "$as_me: WARNING: '$gl_i' is not an optionally-installable program" >&2;} ;;
58477
 
+    esac
58478
 
+  done
58479
 
+}
58480
 
+
58481
 
+# Now that we know which programs will actually be built up, figure out
58482
 
+# which optional helper progs should be compiled.
58483
 
+optional_pkglib_progs=
58484
 
+case " $optional_bin_progs " in
58485
 
+  *' stdbuf '*) {
58486
 
+  if test -z "$optional_pkglib_progs"; then
58487
 
+    optional_pkglib_progs=libstdbuf.so
58488
 
+  else
58489
 
+    optional_pkglib_progs="$optional_pkglib_progs libstdbuf.so"
58490
 
+  fi
58491
 
+} ;;
58492
 
+esac
58493
 
+
58494
 
+# Set INSTALL_SU if su installation has been requested via
58495
 
+# --enable-install-program=su.
58496
 
+
58497
 
+case " $optional_bin_progs " in
58498
 
+  *' su '*) INSTALL_SU=yes ;;
58499
 
+  *)        INSTALL_SU=no ;;
58500
 
+esac
58501
 
+
58502
 
+MAN=`echo "$optional_bin_progs "|sed 's/ /.1 /g;s/ $//'|tr -d '\\015\\012'`
58503
 
+
58504
 
+# Change "ginstall.1" to "install.1" in $MAN.
58505
 
+MAN=`for m in $MAN; do test $m = ginstall.1 && m=install.1; echo $m; done \
58506
 
+  | tr '\015\012' '  '; echo`
58507
 
+
58508
 
+# Remove [.1, since writing a portable rule for it in man/Makefile.am
58509
 
+# is not practical.  The sed LHS below uses the autoconf quadrigraph
58510
 
+# representing '['.
58511
 
+MAN=`echo "$MAN"|sed 's/\@<:@\.1//'`
58512
 
+
58513
 
+OPTIONAL_BIN_PROGS=`echo "$optional_bin_progs "|sed 's/ /\$(EXEEXT) /g;s/ $//'`
58514
 
+
58515
 
+OPTIONAL_PKGLIB_PROGS=`echo "$optional_pkglib_progs " | sed 's/ $//'`
58516
 
+
58517
 
+NO_INSTALL_PROGS_DEFAULT=$no_install_progs_default
58518
 
+
58519
 
+
58520
 
+ if test "$cross_compiling" = yes; then
58521
 
+  CROSS_COMPILING_TRUE=
58522
 
+  CROSS_COMPILING_FALSE='#'
58523
 
+else
58524
 
+  CROSS_COMPILING_TRUE='#'
58525
 
+  CROSS_COMPILING_FALSE=
58526
 
+fi
58527
 
+
58528
 
+
58529
 
+# Arrange to rerun configure whenever the file, src/Makefile.am,
58530
 
+# containing the list of program names changes.
58531
 
+CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/src/Makefile.am'
58532
 
+
58533
 
+############################################################################
58534
 
+
58535
 
+# As long as "grep 'PRI[diouxX]' po/*.pot" reports matches in
58536
 
+# translatable strings, we must use need-formatstring-macros here.
58537
 
+
58538
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
58539
 
+$as_echo_n "checking whether NLS is requested... " >&6; }
58540
 
+    @%:@ Check whether --enable-nls was given.
58541
 
+if test "${enable_nls+set}" = set; then :
58542
 
+  enableval=$enable_nls; USE_NLS=$enableval
58543
 
+else
58544
 
+  USE_NLS=yes
58545
 
+fi
58546
 
+
58547
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
58548
 
+$as_echo "$USE_NLS" >&6; }
58549
 
+  
58550
 
+
58551
 
+
58552
 
+        
58553
 
+      GETTEXT_MACRO_VERSION=0.18
58554
 
+
58555
 
+
58556
 
+    
58557
 
+        
58558
 
+# Prepare PATH_SEPARATOR.
58559
 
+# The user is always right.
58560
 
+if test "${PATH_SEPARATOR+set}" != set; then
58561
 
+  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
58562
 
+  # contains only /bin. Note that ksh looks also at the FPATH variable,
58563
 
+  # so we have to set that as well for the test.
58564
 
+  PATH_SEPARATOR=:
58565
 
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
58566
 
+    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
58567
 
+           || PATH_SEPARATOR=';'
58568
 
+       }
58569
 
+fi
58570
 
+
58571
 
+# Find out how to test for executable files. Don't use a zero-byte file,
58572
 
+# as systems may use methods other than mode bits to determine executability.
58573
 
+cat >conf$$.file <<_ASEOF
58574
 
+#! /bin/sh
58575
 
+exit 0
58576
 
+_ASEOF
58577
 
+chmod +x conf$$.file
58578
 
+if test -x conf$$.file >/dev/null 2>&1; then
58579
 
+  ac_executable_p="test -x"
58580
 
+else
58581
 
+  ac_executable_p="test -f"
58582
 
+fi
58583
 
+rm -f conf$$.file
58584
 
+
58585
 
+# Extract the first word of "msgfmt", so it can be a program name with args.
58586
 
+set dummy msgfmt; ac_word=$2
58587
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
58588
 
+$as_echo_n "checking for $ac_word... " >&6; }
58589
 
+if ${ac_cv_path_MSGFMT+:} false; then :
58590
 
+  $as_echo_n "(cached) " >&6
58591
 
+else
58592
 
+  case "$MSGFMT" in
58593
 
+  [\\/]* | ?:[\\/]*)
58594
 
+    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
58595
 
+    ;;
58596
 
+  *)
58597
 
+    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
58598
 
+    for ac_dir in $PATH; do
58599
 
+      IFS="$ac_save_IFS"
58600
 
+      test -z "$ac_dir" && ac_dir=.
58601
 
+      for ac_exec_ext in '' $ac_executable_extensions; do
58602
 
+        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
58603
 
+          echo "$as_me: trying $ac_dir/$ac_word..." >&5
58604
 
+          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
58605
 
+     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
58606
 
+            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
58607
 
+            break 2
58608
 
+          fi
58609
 
+        fi
58610
 
+      done
58611
 
+    done
58612
 
+    IFS="$ac_save_IFS"
58613
 
+  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
58614
 
+    ;;
58615
 
+esac
58616
 
+fi
58617
 
+MSGFMT="$ac_cv_path_MSGFMT"
58618
 
+if test "$MSGFMT" != ":"; then
58619
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
58620
 
+$as_echo "$MSGFMT" >&6; }
58621
 
+else
58622
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
58623
 
+$as_echo "no" >&6; }
58624
 
+fi
58625
 
+
58626
 
+  # Extract the first word of "gmsgfmt", so it can be a program name with args.
58627
 
+set dummy gmsgfmt; ac_word=$2
58628
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
58629
 
+$as_echo_n "checking for $ac_word... " >&6; }
58630
 
+if ${ac_cv_path_GMSGFMT+:} false; then :
58631
 
+  $as_echo_n "(cached) " >&6
58632
 
+else
58633
 
+  case $GMSGFMT in
58634
 
+  [\\/]* | ?:[\\/]*)
58635
 
+  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
58636
 
+  ;;
58637
 
+  *)
58638
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
58639
 
+for as_dir in $PATH
58640
 
+do
58641
 
+  IFS=$as_save_IFS
58642
 
+  test -z "$as_dir" && as_dir=.
58643
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
58644
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
58645
 
+    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
58646
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
58647
 
+    break 2
58648
 
+  fi
58649
 
+done
58650
 
+  done
58651
 
+IFS=$as_save_IFS
58652
 
+
58653
 
+  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
58654
 
+  ;;
58655
 
+esac
58656
 
+fi
58657
 
+GMSGFMT=$ac_cv_path_GMSGFMT
58658
 
+if test -n "$GMSGFMT"; then
58659
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
58660
 
+$as_echo "$GMSGFMT" >&6; }
58661
 
+else
58662
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
58663
 
+$as_echo "no" >&6; }
58664
 
+fi
58665
 
+
58666
 
+
58667
 
+
58668
 
+    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
58669
 
+    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
58670
 
+    *) MSGFMT_015=$MSGFMT ;;
58671
 
+  esac
58672
 
+  
58673
 
+  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
58674
 
+    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
58675
 
+    *) GMSGFMT_015=$GMSGFMT ;;
58676
 
+  esac
58677
 
+  
58678
 
+
58679
 
+        
58680
 
+# Prepare PATH_SEPARATOR.
58681
 
+# The user is always right.
58682
 
+if test "${PATH_SEPARATOR+set}" != set; then
58683
 
+  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
58684
 
+  # contains only /bin. Note that ksh looks also at the FPATH variable,
58685
 
+  # so we have to set that as well for the test.
58686
 
+  PATH_SEPARATOR=:
58687
 
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
58688
 
+    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
58689
 
+           || PATH_SEPARATOR=';'
58690
 
+       }
58691
 
+fi
58692
 
+
58693
 
+# Find out how to test for executable files. Don't use a zero-byte file,
58694
 
+# as systems may use methods other than mode bits to determine executability.
58695
 
+cat >conf$$.file <<_ASEOF
58696
 
+#! /bin/sh
58697
 
+exit 0
58698
 
+_ASEOF
58699
 
+chmod +x conf$$.file
58700
 
+if test -x conf$$.file >/dev/null 2>&1; then
58701
 
+  ac_executable_p="test -x"
58702
 
+else
58703
 
+  ac_executable_p="test -f"
58704
 
+fi
58705
 
+rm -f conf$$.file
58706
 
+
58707
 
+# Extract the first word of "xgettext", so it can be a program name with args.
58708
 
+set dummy xgettext; ac_word=$2
58709
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
58710
 
+$as_echo_n "checking for $ac_word... " >&6; }
58711
 
+if ${ac_cv_path_XGETTEXT+:} false; then :
58712
 
+  $as_echo_n "(cached) " >&6
58713
 
+else
58714
 
+  case "$XGETTEXT" in
58715
 
+  [\\/]* | ?:[\\/]*)
58716
 
+    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
58717
 
+    ;;
58718
 
+  *)
58719
 
+    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
58720
 
+    for ac_dir in $PATH; do
58721
 
+      IFS="$ac_save_IFS"
58722
 
+      test -z "$ac_dir" && ac_dir=.
58723
 
+      for ac_exec_ext in '' $ac_executable_extensions; do
58724
 
+        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
58725
 
+          echo "$as_me: trying $ac_dir/$ac_word..." >&5
58726
 
+          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
58727
 
+     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
58728
 
+            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
58729
 
+            break 2
58730
 
+          fi
58731
 
+        fi
58732
 
+      done
58733
 
+    done
58734
 
+    IFS="$ac_save_IFS"
58735
 
+  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
58736
 
+    ;;
58737
 
+esac
58738
 
+fi
58739
 
+XGETTEXT="$ac_cv_path_XGETTEXT"
58740
 
+if test "$XGETTEXT" != ":"; then
58741
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
58742
 
+$as_echo "$XGETTEXT" >&6; }
58743
 
+else
58744
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
58745
 
+$as_echo "no" >&6; }
58746
 
+fi
58747
 
+
58748
 
+    rm -f messages.po
58749
 
+
58750
 
+    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
58751
 
+    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
58752
 
+    *) XGETTEXT_015=$XGETTEXT ;;
58753
 
+  esac
58754
 
+  
58755
 
+
58756
 
+    
58757
 
+# Prepare PATH_SEPARATOR.
58758
 
+# The user is always right.
58759
 
+if test "${PATH_SEPARATOR+set}" != set; then
58760
 
+  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
58761
 
+  # contains only /bin. Note that ksh looks also at the FPATH variable,
58762
 
+  # so we have to set that as well for the test.
58763
 
+  PATH_SEPARATOR=:
58764
 
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
58765
 
+    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
58766
 
+           || PATH_SEPARATOR=';'
58767
 
+       }
58768
 
+fi
58769
 
+
58770
 
+# Find out how to test for executable files. Don't use a zero-byte file,
58771
 
+# as systems may use methods other than mode bits to determine executability.
58772
 
+cat >conf$$.file <<_ASEOF
58773
 
+#! /bin/sh
58774
 
+exit 0
58775
 
+_ASEOF
58776
 
+chmod +x conf$$.file
58777
 
+if test -x conf$$.file >/dev/null 2>&1; then
58778
 
+  ac_executable_p="test -x"
58779
 
+else
58780
 
+  ac_executable_p="test -f"
58781
 
+fi
58782
 
+rm -f conf$$.file
58783
 
+
58784
 
+# Extract the first word of "msgmerge", so it can be a program name with args.
58785
 
+set dummy msgmerge; ac_word=$2
58786
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
58787
 
+$as_echo_n "checking for $ac_word... " >&6; }
58788
 
+if ${ac_cv_path_MSGMERGE+:} false; then :
58789
 
+  $as_echo_n "(cached) " >&6
58790
 
+else
58791
 
+  case "$MSGMERGE" in
58792
 
+  [\\/]* | ?:[\\/]*)
58793
 
+    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
58794
 
+    ;;
58795
 
+  *)
58796
 
+    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
58797
 
+    for ac_dir in $PATH; do
58798
 
+      IFS="$ac_save_IFS"
58799
 
+      test -z "$ac_dir" && ac_dir=.
58800
 
+      for ac_exec_ext in '' $ac_executable_extensions; do
58801
 
+        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
58802
 
+          echo "$as_me: trying $ac_dir/$ac_word..." >&5
58803
 
+          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
58804
 
+            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
58805
 
+            break 2
58806
 
+          fi
58807
 
+        fi
58808
 
+      done
58809
 
+    done
58810
 
+    IFS="$ac_save_IFS"
58811
 
+  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
58812
 
+    ;;
58813
 
+esac
58814
 
+fi
58815
 
+MSGMERGE="$ac_cv_path_MSGMERGE"
58816
 
+if test "$MSGMERGE" != ":"; then
58817
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
58818
 
+$as_echo "$MSGMERGE" >&6; }
58819
 
+else
58820
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
58821
 
+$as_echo "no" >&6; }
58822
 
+fi
58823
 
+
58824
 
+
58825
 
+        test -n "$localedir" || localedir='${datadir}/locale'
58826
 
+  
58827
 
+
58828
 
+    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
58829
 
+  
58830
 
+
58831
 
+  ac_config_commands="$ac_config_commands po-directories"
58832
 
+
58833
 
+
58834
 
+
58835
 
+    
58836
 
+  
58837
 
+  
58838
 
+  
58839
 
+  
58840
 
+  
58841
 
+  
58842
 
+  
58843
 
+
58844
 
+  
58845
 
+  
58846
 
+
58847
 
+
58848
 
+    
58849
 
+
58850
 
+    
58851
 
+  
58852
 
+
58853
 
+                        
58854
 
+    
58855
 
+  
58856
 
+
58857
 
+    
58858
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
58859
 
+$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
58860
 
+if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
58861
 
+  $as_echo_n "(cached) " >&6
58862
 
+else
58863
 
+  gt_save_LIBS="$LIBS"
58864
 
+     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
58865
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58866
 
+/* end confdefs.h.  */
58867
 
+#include <CoreFoundation/CFPreferences.h>
58868
 
+int
58869
 
+main ()
58870
 
+{
58871
 
+CFPreferencesCopyAppValue(NULL, NULL)
58872
 
+  ;
58873
 
+  return 0;
58874
 
+}
58875
 
+_ACEOF
58876
 
+if ac_fn_c_try_link "$LINENO"; then :
58877
 
+  gt_cv_func_CFPreferencesCopyAppValue=yes
58878
 
+else
58879
 
+  gt_cv_func_CFPreferencesCopyAppValue=no
58880
 
+fi
58881
 
+rm -f core conftest.err conftest.$ac_objext \
58882
 
+    conftest$ac_exeext conftest.$ac_ext
58883
 
+     LIBS="$gt_save_LIBS"
58884
 
+fi
58885
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
58886
 
+$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
58887
 
+  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
58888
 
+    
58889
 
+$as_echo "@%:@define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
58890
 
+
58891
 
+  fi
58892
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
58893
 
+$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
58894
 
+if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
58895
 
+  $as_echo_n "(cached) " >&6
58896
 
+else
58897
 
+  gt_save_LIBS="$LIBS"
58898
 
+     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
58899
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58900
 
+/* end confdefs.h.  */
58901
 
+#include <CoreFoundation/CFLocale.h>
58902
 
+int
58903
 
+main ()
58904
 
+{
58905
 
+CFLocaleCopyCurrent();
58906
 
+  ;
58907
 
+  return 0;
58908
 
+}
58909
 
+_ACEOF
58910
 
+if ac_fn_c_try_link "$LINENO"; then :
58911
 
+  gt_cv_func_CFLocaleCopyCurrent=yes
58912
 
+else
58913
 
+  gt_cv_func_CFLocaleCopyCurrent=no
58914
 
+fi
58915
 
+rm -f core conftest.err conftest.$ac_objext \
58916
 
+    conftest$ac_exeext conftest.$ac_ext
58917
 
+     LIBS="$gt_save_LIBS"
58918
 
+fi
58919
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
58920
 
+$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
58921
 
+  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
58922
 
+    
58923
 
+$as_echo "@%:@define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
58924
 
+
58925
 
+  fi
58926
 
+  INTL_MACOSX_LIBS=
58927
 
+  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
58928
 
+    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
58929
 
+  fi
58930
 
+  
58931
 
+
58932
 
+
58933
 
+    
58934
 
+
58935
 
+  
58936
 
+  LIBINTL=
58937
 
+  LTLIBINTL=
58938
 
+  POSUB=
58939
 
+
58940
 
+    case " $gt_needs " in
58941
 
+    *" need-formatstring-macros "*) gt_api_version=3 ;;
58942
 
+    *" need-ngettext "*) gt_api_version=2 ;;
58943
 
+    *) gt_api_version=1 ;;
58944
 
+  esac
58945
 
+  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
58946
 
+  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
58947
 
+
58948
 
+    if test "$USE_NLS" = "yes"; then
58949
 
+    gt_use_preinstalled_gnugettext=no
58950
 
+    
58951
 
+                        
58952
 
+        if test $gt_api_version -ge 3; then
58953
 
+          gt_revision_test_code='
58954
 
+#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
58955
 
+#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
58956
 
+#endif
58957
 
+typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
58958
 
+'
58959
 
+        else
58960
 
+          gt_revision_test_code=
58961
 
+        fi
58962
 
+        if test $gt_api_version -ge 2; then
58963
 
+          gt_expression_test_code=' + * ngettext ("", "", 0)'
58964
 
+        else
58965
 
+          gt_expression_test_code=
58966
 
+        fi
58967
 
+
58968
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
58969
 
+$as_echo_n "checking for GNU gettext in libc... " >&6; }
58970
 
+if eval \${$gt_func_gnugettext_libc+:} false; then :
58971
 
+  $as_echo_n "(cached) " >&6
58972
 
+else
58973
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58974
 
+/* end confdefs.h.  */
58975
 
+
58976
 
+#include <libintl.h>
58977
 
+$gt_revision_test_code
58978
 
+extern int _nl_msg_cat_cntr;
58979
 
+extern int *_nl_domain_bindings;
58980
 
+               
58981
 
+int
58982
 
+main ()
58983
 
+{
58984
 
+
58985
 
+bindtextdomain ("", "");
58986
 
+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
58987
 
+               
58988
 
+  ;
58989
 
+  return 0;
58990
 
+}
58991
 
+_ACEOF
58992
 
+if ac_fn_c_try_link "$LINENO"; then :
58993
 
+  eval "$gt_func_gnugettext_libc=yes"
58994
 
+else
58995
 
+  eval "$gt_func_gnugettext_libc=no"
58996
 
+fi
58997
 
+rm -f core conftest.err conftest.$ac_objext \
58998
 
+    conftest$ac_exeext conftest.$ac_ext
58999
 
+fi
59000
 
+eval ac_res=\$$gt_func_gnugettext_libc
59001
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
59002
 
+$as_echo "$ac_res" >&6; }
59003
 
+
59004
 
+        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
59005
 
+                    
59006
 
+            
59007
 
+       
59008
 
+      
59009
 
+
59010
 
+          am_save_CPPFLAGS="$CPPFLAGS"
59011
 
+  
59012
 
+  for element in $INCICONV; do
59013
 
+    haveit=
59014
 
+    for x in $CPPFLAGS; do
59015
 
+      
59016
 
+  acl_save_prefix="$prefix"
59017
 
+  prefix="$acl_final_prefix"
59018
 
+  acl_save_exec_prefix="$exec_prefix"
59019
 
+  exec_prefix="$acl_final_exec_prefix"
59020
 
+  eval x=\"$x\"
59021
 
+  exec_prefix="$acl_save_exec_prefix"
59022
 
+  prefix="$acl_save_prefix"
59023
 
+
59024
 
+      if test "X$x" = "X$element"; then
59025
 
+        haveit=yes
59026
 
+        break
59027
 
+      fi
59028
 
+    done
59029
 
+    if test -z "$haveit"; then
59030
 
+      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
59031
 
+    fi
59032
 
+  done
59033
 
+
59034
 
+
59035
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59036
 
+$as_echo_n "checking for iconv... " >&6; }
59037
 
+if ${am_cv_func_iconv+:} false; then :
59038
 
+  $as_echo_n "(cached) " >&6
59039
 
+else
59040
 
+  
59041
 
+    am_cv_func_iconv="no, consider installing GNU libiconv"
59042
 
+    am_cv_lib_iconv=no
59043
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59044
 
+/* end confdefs.h.  */
59045
 
+
59046
 
+#include <stdlib.h>
59047
 
+#include <iconv.h>
59048
 
+         
59049
 
+int
59050
 
+main ()
59051
 
+{
59052
 
+iconv_t cd = iconv_open("","");
59053
 
+           iconv(cd,NULL,NULL,NULL,NULL);
59054
 
+           iconv_close(cd);
59055
 
+  ;
59056
 
+  return 0;
59057
 
+}
59058
 
+_ACEOF
59059
 
+if ac_fn_c_try_link "$LINENO"; then :
59060
 
+  am_cv_func_iconv=yes
59061
 
+fi
59062
 
+rm -f core conftest.err conftest.$ac_objext \
59063
 
+    conftest$ac_exeext conftest.$ac_ext
59064
 
+    if test "$am_cv_func_iconv" != yes; then
59065
 
+      am_save_LIBS="$LIBS"
59066
 
+      LIBS="$LIBS $LIBICONV"
59067
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59068
 
+/* end confdefs.h.  */
59069
 
+
59070
 
+#include <stdlib.h>
59071
 
+#include <iconv.h>
59072
 
+           
59073
 
+int
59074
 
+main ()
59075
 
+{
59076
 
+iconv_t cd = iconv_open("","");
59077
 
+             iconv(cd,NULL,NULL,NULL,NULL);
59078
 
+             iconv_close(cd);
59079
 
+  ;
59080
 
+  return 0;
59081
 
+}
59082
 
+_ACEOF
59083
 
+if ac_fn_c_try_link "$LINENO"; then :
59084
 
+  am_cv_lib_iconv=yes
59085
 
+        am_cv_func_iconv=yes
59086
 
+fi
59087
 
+rm -f core conftest.err conftest.$ac_objext \
59088
 
+    conftest$ac_exeext conftest.$ac_ext
59089
 
+      LIBS="$am_save_LIBS"
59090
 
+    fi
59091
 
+  
59092
 
+fi
59093
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
59094
 
+$as_echo "$am_cv_func_iconv" >&6; }
59095
 
+  if test "$am_cv_func_iconv" = yes; then
59096
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
59097
 
+$as_echo_n "checking for working iconv... " >&6; }
59098
 
+if ${am_cv_func_iconv_works+:} false; then :
59099
 
+  $as_echo_n "(cached) " >&6
59100
 
+else
59101
 
+  
59102
 
+                  am_save_LIBS="$LIBS"
59103
 
+      if test $am_cv_lib_iconv = yes; then
59104
 
+        LIBS="$LIBS $LIBICONV"
59105
 
+      fi
59106
 
+      if test "$cross_compiling" = yes; then :
59107
 
+  
59108
 
+         case "$host_os" in
59109
 
+           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
59110
 
+           *)            am_cv_func_iconv_works="guessing yes" ;;
59111
 
+         esac
59112
 
+        
59113
 
+else
59114
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59115
 
+/* end confdefs.h.  */
59116
 
+
59117
 
+#include <iconv.h>
59118
 
+#include <string.h>
59119
 
+int main ()
59120
 
+{
59121
 
+  int result = 0;
59122
 
+  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
59123
 
+     returns.  */
59124
 
+  {
59125
 
+    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
59126
 
+    if (cd_utf8_to_88591 != (iconv_t)(-1))
59127
 
+      {
59128
 
+        static const char input[] = "\342\202\254"; /* EURO SIGN */
59129
 
+        char buf[10];
59130
 
+        const char *inptr = input;
59131
 
+        size_t inbytesleft = strlen (input);
59132
 
+        char *outptr = buf;
59133
 
+        size_t outbytesleft = sizeof (buf);
59134
 
+        size_t res = iconv (cd_utf8_to_88591,
59135
 
+                            (char **) &inptr, &inbytesleft,
59136
 
+                            &outptr, &outbytesleft);
59137
 
+        if (res == 0)
59138
 
+          result |= 1;
59139
 
+        iconv_close (cd_utf8_to_88591);
59140
 
+      }
59141
 
+  }
59142
 
+  /* Test against Solaris 10 bug: Failures are not distinguishable from
59143
 
+     successful returns.  */
59144
 
+  {
59145
 
+    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
59146
 
+    if (cd_ascii_to_88591 != (iconv_t)(-1))
59147
 
+      {
59148
 
+        static const char input[] = "\263";
59149
 
+        char buf[10];
59150
 
+        const char *inptr = input;
59151
 
+        size_t inbytesleft = strlen (input);
59152
 
+        char *outptr = buf;
59153
 
+        size_t outbytesleft = sizeof (buf);
59154
 
+        size_t res = iconv (cd_ascii_to_88591,
59155
 
+                            (char **) &inptr, &inbytesleft,
59156
 
+                            &outptr, &outbytesleft);
59157
 
+        if (res == 0)
59158
 
+          result |= 2;
59159
 
+        iconv_close (cd_ascii_to_88591);
59160
 
+      }
59161
 
+  }
59162
 
+  /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
59163
 
+  {
59164
 
+    iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
59165
 
+    if (cd_88591_to_utf8 != (iconv_t)(-1))
59166
 
+      {
59167
 
+        static const char input[] = "\304";
59168
 
+        static char buf[2] = { (char)0xDE, (char)0xAD };
59169
 
+        const char *inptr = input;
59170
 
+        size_t inbytesleft = 1;
59171
 
+        char *outptr = buf;
59172
 
+        size_t outbytesleft = 1;
59173
 
+        size_t res = iconv (cd_88591_to_utf8,
59174
 
+                            (char **) &inptr, &inbytesleft,
59175
 
+                            &outptr, &outbytesleft);
59176
 
+        if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
59177
 
+          result |= 4;
59178
 
+        iconv_close (cd_88591_to_utf8);
59179
 
+      }
59180
 
+  }
59181
 
+#if 0 /* This bug could be worked around by the caller.  */
59182
 
+  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
59183
 
+  {
59184
 
+    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
59185
 
+    if (cd_88591_to_utf8 != (iconv_t)(-1))
59186
 
+      {
59187
 
+        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
59188
 
+        char buf[50];
59189
 
+        const char *inptr = input;
59190
 
+        size_t inbytesleft = strlen (input);
59191
 
+        char *outptr = buf;
59192
 
+        size_t outbytesleft = sizeof (buf);
59193
 
+        size_t res = iconv (cd_88591_to_utf8,
59194
 
+                            (char **) &inptr, &inbytesleft,
59195
 
+                            &outptr, &outbytesleft);
59196
 
+        if ((int)res > 0)
59197
 
+          result |= 8;
59198
 
+        iconv_close (cd_88591_to_utf8);
59199
 
+      }
59200
 
+  }
59201
 
+#endif
59202
 
+  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
59203
 
+     provided.  */
59204
 
+  if (/* Try standardized names.  */
59205
 
+      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
59206
 
+      /* Try IRIX, OSF/1 names.  */
59207
 
+      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
59208
 
+      /* Try AIX names.  */
59209
 
+      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
59210
 
+      /* Try HP-UX names.  */
59211
 
+      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
59212
 
+    result |= 16;
59213
 
+  return result;
59214
 
+}
59215
 
+_ACEOF
59216
 
+if ac_fn_c_try_run "$LINENO"; then :
59217
 
+  am_cv_func_iconv_works=yes
59218
 
+else
59219
 
+  am_cv_func_iconv_works=no
59220
 
+fi
59221
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59222
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
59223
 
+fi
59224
 
+
59225
 
+      LIBS="$am_save_LIBS"
59226
 
+    
59227
 
+fi
59228
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
59229
 
+$as_echo "$am_cv_func_iconv_works" >&6; }
59230
 
+    case "$am_cv_func_iconv_works" in
59231
 
+      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
59232
 
+      *)   am_func_iconv=yes ;;
59233
 
+    esac
59234
 
+  else
59235
 
+    am_func_iconv=no am_cv_lib_iconv=no
59236
 
+  fi
59237
 
+  if test "$am_func_iconv" = yes; then
59238
 
+    
59239
 
+$as_echo "@%:@define HAVE_ICONV 1" >>confdefs.h
59240
 
+
59241
 
+  fi
59242
 
+  if test "$am_cv_lib_iconv" = yes; then
59243
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
59244
 
+$as_echo_n "checking how to link with libiconv... " >&6; }
59245
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
59246
 
+$as_echo "$LIBICONV" >&6; }
59247
 
+  else
59248
 
+            CPPFLAGS="$am_save_CPPFLAGS"
59249
 
+    LIBICONV=
59250
 
+    LTLIBICONV=
59251
 
+  fi
59252
 
+  
59253
 
+  
59254
 
+
59255
 
+          
59256
 
+                                                  
59257
 
+  
59258
 
+  
59259
 
+  
59260
 
+  
59261
 
+  
59262
 
+    
59263
 
+    use_additional=yes
59264
 
+  
59265
 
+  acl_save_prefix="$prefix"
59266
 
+  prefix="$acl_final_prefix"
59267
 
+  acl_save_exec_prefix="$exec_prefix"
59268
 
+  exec_prefix="$acl_final_exec_prefix"
59269
 
+  
59270
 
+    eval additional_includedir=\"$includedir\"
59271
 
+    eval additional_libdir=\"$libdir\"
59272
 
+  
59273
 
+  exec_prefix="$acl_save_exec_prefix"
59274
 
+  prefix="$acl_save_prefix"
59275
 
+
59276
 
+  
59277
 
+@%:@ Check whether --with-libintl-prefix was given.
59278
 
+if test "${with_libintl_prefix+set}" = set; then :
59279
 
+  withval=$with_libintl_prefix; 
59280
 
+    if test "X$withval" = "Xno"; then
59281
 
+      use_additional=no
59282
 
+    else
59283
 
+      if test "X$withval" = "X"; then
59284
 
+        
59285
 
+  acl_save_prefix="$prefix"
59286
 
+  prefix="$acl_final_prefix"
59287
 
+  acl_save_exec_prefix="$exec_prefix"
59288
 
+  exec_prefix="$acl_final_exec_prefix"
59289
 
+  
59290
 
+          eval additional_includedir=\"$includedir\"
59291
 
+          eval additional_libdir=\"$libdir\"
59292
 
+        
59293
 
+  exec_prefix="$acl_save_exec_prefix"
59294
 
+  prefix="$acl_save_prefix"
59295
 
+
59296
 
+      else
59297
 
+        additional_includedir="$withval/include"
59298
 
+        additional_libdir="$withval/$acl_libdirstem"
59299
 
+        if test "$acl_libdirstem2" != "$acl_libdirstem" \
59300
 
+           && ! test -d "$withval/$acl_libdirstem"; then
59301
 
+          additional_libdir="$withval/$acl_libdirstem2"
59302
 
+        fi
59303
 
+      fi
59304
 
+    fi
59305
 
+
59306
 
+fi
59307
 
+
59308
 
+      LIBINTL=
59309
 
+  LTLIBINTL=
59310
 
+  INCINTL=
59311
 
+  LIBINTL_PREFIX=
59312
 
+      HAVE_LIBINTL=
59313
 
+  rpathdirs=
59314
 
+  ltrpathdirs=
59315
 
+  names_already_handled=
59316
 
+  names_next_round='intl '
59317
 
+  while test -n "$names_next_round"; do
59318
 
+    names_this_round="$names_next_round"
59319
 
+    names_next_round=
59320
 
+    for name in $names_this_round; do
59321
 
+      already_handled=
59322
 
+      for n in $names_already_handled; do
59323
 
+        if test "$n" = "$name"; then
59324
 
+          already_handled=yes
59325
 
+          break
59326
 
+        fi
59327
 
+      done
59328
 
+      if test -z "$already_handled"; then
59329
 
+        names_already_handled="$names_already_handled $name"
59330
 
+                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
59331
 
+        eval value=\"\$HAVE_LIB$uppername\"
59332
 
+        if test -n "$value"; then
59333
 
+          if test "$value" = yes; then
59334
 
+            eval value=\"\$LIB$uppername\"
59335
 
+            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
59336
 
+            eval value=\"\$LTLIB$uppername\"
59337
 
+            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
59338
 
+          else
59339
 
+                                    :
59340
 
+          fi
59341
 
+        else
59342
 
+                              found_dir=
59343
 
+          found_la=
59344
 
+          found_so=
59345
 
+          found_a=
59346
 
+          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
59347
 
+          if test -n "$acl_shlibext"; then
59348
 
+            shrext=".$acl_shlibext"             # typically: shrext=.so
59349
 
+          else
59350
 
+            shrext=
59351
 
+          fi
59352
 
+          if test $use_additional = yes; then
59353
 
+            dir="$additional_libdir"
59354
 
+                                    if test -n "$acl_shlibext"; then
59355
 
+              if test -f "$dir/$libname$shrext"; then
59356
 
+                found_dir="$dir"
59357
 
+                found_so="$dir/$libname$shrext"
59358
 
+              else
59359
 
+                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
59360
 
+                  ver=`(cd "$dir" && \
59361
 
+                        for f in "$libname$shrext".*; do echo "$f"; done \
59362
 
+                        | sed -e "s,^$libname$shrext\\\\.,," \
59363
 
+                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
59364
 
+                        | sed 1q ) 2>/dev/null`
59365
 
+                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
59366
 
+                    found_dir="$dir"
59367
 
+                    found_so="$dir/$libname$shrext.$ver"
59368
 
+                  fi
59369
 
+                else
59370
 
+                  eval library_names=\"$acl_library_names_spec\"
59371
 
+                  for f in $library_names; do
59372
 
+                    if test -f "$dir/$f"; then
59373
 
+                      found_dir="$dir"
59374
 
+                      found_so="$dir/$f"
59375
 
+                      break
59376
 
+                    fi
59377
 
+                  done
59378
 
+                fi
59379
 
+              fi
59380
 
+            fi
59381
 
+                        if test "X$found_dir" = "X"; then
59382
 
+              if test -f "$dir/$libname.$acl_libext"; then
59383
 
+                found_dir="$dir"
59384
 
+                found_a="$dir/$libname.$acl_libext"
59385
 
+              fi
59386
 
+            fi
59387
 
+            if test "X$found_dir" != "X"; then
59388
 
+              if test -f "$dir/$libname.la"; then
59389
 
+                found_la="$dir/$libname.la"
59390
 
+              fi
59391
 
+            fi
59392
 
+          fi
59393
 
+          if test "X$found_dir" = "X"; then
59394
 
+            for x in $LDFLAGS $LTLIBINTL; do
59395
 
+              
59396
 
+  acl_save_prefix="$prefix"
59397
 
+  prefix="$acl_final_prefix"
59398
 
+  acl_save_exec_prefix="$exec_prefix"
59399
 
+  exec_prefix="$acl_final_exec_prefix"
59400
 
+  eval x=\"$x\"
59401
 
+  exec_prefix="$acl_save_exec_prefix"
59402
 
+  prefix="$acl_save_prefix"
59403
 
+
59404
 
+              case "$x" in
59405
 
+                -L*)
59406
 
+                  dir=`echo "X$x" | sed -e 's/^X-L//'`
59407
 
+                                    if test -n "$acl_shlibext"; then
59408
 
+                    if test -f "$dir/$libname$shrext"; then
59409
 
+                      found_dir="$dir"
59410
 
+                      found_so="$dir/$libname$shrext"
59411
 
+                    else
59412
 
+                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
59413
 
+                        ver=`(cd "$dir" && \
59414
 
+                              for f in "$libname$shrext".*; do echo "$f"; done \
59415
 
+                              | sed -e "s,^$libname$shrext\\\\.,," \
59416
 
+                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
59417
 
+                              | sed 1q ) 2>/dev/null`
59418
 
+                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
59419
 
+                          found_dir="$dir"
59420
 
+                          found_so="$dir/$libname$shrext.$ver"
59421
 
+                        fi
59422
 
+                      else
59423
 
+                        eval library_names=\"$acl_library_names_spec\"
59424
 
+                        for f in $library_names; do
59425
 
+                          if test -f "$dir/$f"; then
59426
 
+                            found_dir="$dir"
59427
 
+                            found_so="$dir/$f"
59428
 
+                            break
59429
 
+                          fi
59430
 
+                        done
59431
 
+                      fi
59432
 
+                    fi
59433
 
+                  fi
59434
 
+                                    if test "X$found_dir" = "X"; then
59435
 
+                    if test -f "$dir/$libname.$acl_libext"; then
59436
 
+                      found_dir="$dir"
59437
 
+                      found_a="$dir/$libname.$acl_libext"
59438
 
+                    fi
59439
 
+                  fi
59440
 
+                  if test "X$found_dir" != "X"; then
59441
 
+                    if test -f "$dir/$libname.la"; then
59442
 
+                      found_la="$dir/$libname.la"
59443
 
+                    fi
59444
 
+                  fi
59445
 
+                  ;;
59446
 
+              esac
59447
 
+              if test "X$found_dir" != "X"; then
59448
 
+                break
59449
 
+              fi
59450
 
+            done
59451
 
+          fi
59452
 
+          if test "X$found_dir" != "X"; then
59453
 
+                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
59454
 
+            if test "X$found_so" != "X"; then
59455
 
+                                                        if test "$enable_rpath" = no \
59456
 
+                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
59457
 
+                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
59458
 
+                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
59459
 
+              else
59460
 
+                                                                                haveit=
59461
 
+                for x in $ltrpathdirs; do
59462
 
+                  if test "X$x" = "X$found_dir"; then
59463
 
+                    haveit=yes
59464
 
+                    break
59465
 
+                  fi
59466
 
+                done
59467
 
+                if test -z "$haveit"; then
59468
 
+                  ltrpathdirs="$ltrpathdirs $found_dir"
59469
 
+                fi
59470
 
+                                if test "$acl_hardcode_direct" = yes; then
59471
 
+                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
59472
 
+                else
59473
 
+                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
59474
 
+                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
59475
 
+                                                            haveit=
59476
 
+                    for x in $rpathdirs; do
59477
 
+                      if test "X$x" = "X$found_dir"; then
59478
 
+                        haveit=yes
59479
 
+                        break
59480
 
+                      fi
59481
 
+                    done
59482
 
+                    if test -z "$haveit"; then
59483
 
+                      rpathdirs="$rpathdirs $found_dir"
59484
 
+                    fi
59485
 
+                  else
59486
 
+                                                                                haveit=
59487
 
+                    for x in $LDFLAGS $LIBINTL; do
59488
 
+                      
59489
 
+  acl_save_prefix="$prefix"
59490
 
+  prefix="$acl_final_prefix"
59491
 
+  acl_save_exec_prefix="$exec_prefix"
59492
 
+  exec_prefix="$acl_final_exec_prefix"
59493
 
+  eval x=\"$x\"
59494
 
+  exec_prefix="$acl_save_exec_prefix"
59495
 
+  prefix="$acl_save_prefix"
59496
 
+
59497
 
+                      if test "X$x" = "X-L$found_dir"; then
59498
 
+                        haveit=yes
59499
 
+                        break
59500
 
+                      fi
59501
 
+                    done
59502
 
+                    if test -z "$haveit"; then
59503
 
+                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
59504
 
+                    fi
59505
 
+                    if test "$acl_hardcode_minus_L" != no; then
59506
 
+                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
59507
 
+                    else
59508
 
+                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
59509
 
+                    fi
59510
 
+                  fi
59511
 
+                fi
59512
 
+              fi
59513
 
+            else
59514
 
+              if test "X$found_a" != "X"; then
59515
 
+                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
59516
 
+              else
59517
 
+                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
59518
 
+              fi
59519
 
+            fi
59520
 
+                        additional_includedir=
59521
 
+            case "$found_dir" in
59522
 
+              */$acl_libdirstem | */$acl_libdirstem/)
59523
 
+                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
59524
 
+                if test "$name" = 'intl'; then
59525
 
+                  LIBINTL_PREFIX="$basedir"
59526
 
+                fi
59527
 
+                additional_includedir="$basedir/include"
59528
 
+                ;;
59529
 
+              */$acl_libdirstem2 | */$acl_libdirstem2/)
59530
 
+                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
59531
 
+                if test "$name" = 'intl'; then
59532
 
+                  LIBINTL_PREFIX="$basedir"
59533
 
+                fi
59534
 
+                additional_includedir="$basedir/include"
59535
 
+                ;;
59536
 
+            esac
59537
 
+            if test "X$additional_includedir" != "X"; then
59538
 
+                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
59539
 
+                haveit=
59540
 
+                if test "X$additional_includedir" = "X/usr/local/include"; then
59541
 
+                  if test -n "$GCC"; then
59542
 
+                    case $host_os in
59543
 
+                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
59544
 
+                    esac
59545
 
+                  fi
59546
 
+                fi
59547
 
+                if test -z "$haveit"; then
59548
 
+                  for x in $CPPFLAGS $INCINTL; do
59549
 
+                    
59550
 
+  acl_save_prefix="$prefix"
59551
 
+  prefix="$acl_final_prefix"
59552
 
+  acl_save_exec_prefix="$exec_prefix"
59553
 
+  exec_prefix="$acl_final_exec_prefix"
59554
 
+  eval x=\"$x\"
59555
 
+  exec_prefix="$acl_save_exec_prefix"
59556
 
+  prefix="$acl_save_prefix"
59557
 
+
59558
 
+                    if test "X$x" = "X-I$additional_includedir"; then
59559
 
+                      haveit=yes
59560
 
+                      break
59561
 
+                    fi
59562
 
+                  done
59563
 
+                  if test -z "$haveit"; then
59564
 
+                    if test -d "$additional_includedir"; then
59565
 
+                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
59566
 
+                    fi
59567
 
+                  fi
59568
 
+                fi
59569
 
+              fi
59570
 
+            fi
59571
 
+                        if test -n "$found_la"; then
59572
 
+                                                        save_libdir="$libdir"
59573
 
+              case "$found_la" in
59574
 
+                */* | *\\*) . "$found_la" ;;
59575
 
+                *) . "./$found_la" ;;
59576
 
+              esac
59577
 
+              libdir="$save_libdir"
59578
 
+                            for dep in $dependency_libs; do
59579
 
+                case "$dep" in
59580
 
+                  -L*)
59581
 
+                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
59582
 
+                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
59583
 
+                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
59584
 
+                      haveit=
59585
 
+                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
59586
 
+                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
59587
 
+                        if test -n "$GCC"; then
59588
 
+                          case $host_os in
59589
 
+                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
59590
 
+                          esac
59591
 
+                        fi
59592
 
+                      fi
59593
 
+                      if test -z "$haveit"; then
59594
 
+                        haveit=
59595
 
+                        for x in $LDFLAGS $LIBINTL; do
59596
 
+                          
59597
 
+  acl_save_prefix="$prefix"
59598
 
+  prefix="$acl_final_prefix"
59599
 
+  acl_save_exec_prefix="$exec_prefix"
59600
 
+  exec_prefix="$acl_final_exec_prefix"
59601
 
+  eval x=\"$x\"
59602
 
+  exec_prefix="$acl_save_exec_prefix"
59603
 
+  prefix="$acl_save_prefix"
59604
 
+
59605
 
+                          if test "X$x" = "X-L$additional_libdir"; then
59606
 
+                            haveit=yes
59607
 
+                            break
59608
 
+                          fi
59609
 
+                        done
59610
 
+                        if test -z "$haveit"; then
59611
 
+                          if test -d "$additional_libdir"; then
59612
 
+                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
59613
 
+                          fi
59614
 
+                        fi
59615
 
+                        haveit=
59616
 
+                        for x in $LDFLAGS $LTLIBINTL; do
59617
 
+                          
59618
 
+  acl_save_prefix="$prefix"
59619
 
+  prefix="$acl_final_prefix"
59620
 
+  acl_save_exec_prefix="$exec_prefix"
59621
 
+  exec_prefix="$acl_final_exec_prefix"
59622
 
+  eval x=\"$x\"
59623
 
+  exec_prefix="$acl_save_exec_prefix"
59624
 
+  prefix="$acl_save_prefix"
59625
 
+
59626
 
+                          if test "X$x" = "X-L$additional_libdir"; then
59627
 
+                            haveit=yes
59628
 
+                            break
59629
 
+                          fi
59630
 
+                        done
59631
 
+                        if test -z "$haveit"; then
59632
 
+                          if test -d "$additional_libdir"; then
59633
 
+                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
59634
 
+                          fi
59635
 
+                        fi
59636
 
+                      fi
59637
 
+                    fi
59638
 
+                    ;;
59639
 
+                  -R*)
59640
 
+                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
59641
 
+                    if test "$enable_rpath" != no; then
59642
 
+                                                                  haveit=
59643
 
+                      for x in $rpathdirs; do
59644
 
+                        if test "X$x" = "X$dir"; then
59645
 
+                          haveit=yes
59646
 
+                          break
59647
 
+                        fi
59648
 
+                      done
59649
 
+                      if test -z "$haveit"; then
59650
 
+                        rpathdirs="$rpathdirs $dir"
59651
 
+                      fi
59652
 
+                                                                  haveit=
59653
 
+                      for x in $ltrpathdirs; do
59654
 
+                        if test "X$x" = "X$dir"; then
59655
 
+                          haveit=yes
59656
 
+                          break
59657
 
+                        fi
59658
 
+                      done
59659
 
+                      if test -z "$haveit"; then
59660
 
+                        ltrpathdirs="$ltrpathdirs $dir"
59661
 
+                      fi
59662
 
+                    fi
59663
 
+                    ;;
59664
 
+                  -l*)
59665
 
+                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
59666
 
+                    ;;
59667
 
+                  *.la)
59668
 
+                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
59669
 
+                    ;;
59670
 
+                  *)
59671
 
+                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
59672
 
+                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
59673
 
+                    ;;
59674
 
+                esac
59675
 
+              done
59676
 
+            fi
59677
 
+          else
59678
 
+                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
59679
 
+            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
59680
 
+          fi
59681
 
+        fi
59682
 
+      fi
59683
 
+    done
59684
 
+  done
59685
 
+  if test "X$rpathdirs" != "X"; then
59686
 
+    if test -n "$acl_hardcode_libdir_separator"; then
59687
 
+                        alldirs=
59688
 
+      for found_dir in $rpathdirs; do
59689
 
+        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
59690
 
+      done
59691
 
+            acl_save_libdir="$libdir"
59692
 
+      libdir="$alldirs"
59693
 
+      eval flag=\"$acl_hardcode_libdir_flag_spec\"
59694
 
+      libdir="$acl_save_libdir"
59695
 
+      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
59696
 
+    else
59697
 
+            for found_dir in $rpathdirs; do
59698
 
+        acl_save_libdir="$libdir"
59699
 
+        libdir="$found_dir"
59700
 
+        eval flag=\"$acl_hardcode_libdir_flag_spec\"
59701
 
+        libdir="$acl_save_libdir"
59702
 
+        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
59703
 
+      done
59704
 
+    fi
59705
 
+  fi
59706
 
+  if test "X$ltrpathdirs" != "X"; then
59707
 
+            for found_dir in $ltrpathdirs; do
59708
 
+      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
59709
 
+    done
59710
 
+  fi
59711
 
+  
59712
 
+  
59713
 
+  
59714
 
+  
59715
 
+  
59716
 
+
59717
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
59718
 
+$as_echo_n "checking for GNU gettext in libintl... " >&6; }
59719
 
+if eval \${$gt_func_gnugettext_libintl+:} false; then :
59720
 
+  $as_echo_n "(cached) " >&6
59721
 
+else
59722
 
+  gt_save_CPPFLAGS="$CPPFLAGS"
59723
 
+            CPPFLAGS="$CPPFLAGS $INCINTL"
59724
 
+            gt_save_LIBS="$LIBS"
59725
 
+            LIBS="$LIBS $LIBINTL"
59726
 
+                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59727
 
+/* end confdefs.h.  */
59728
 
+
59729
 
+#include <libintl.h>
59730
 
+$gt_revision_test_code
59731
 
+extern int _nl_msg_cat_cntr;
59732
 
+extern
59733
 
+#ifdef __cplusplus
59734
 
+"C"
59735
 
+#endif
59736
 
+const char *_nl_expand_alias (const char *);
59737
 
+                 
59738
 
+int
59739
 
+main ()
59740
 
+{
59741
 
+
59742
 
+bindtextdomain ("", "");
59743
 
+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
59744
 
+                 
59745
 
+  ;
59746
 
+  return 0;
59747
 
+}
59748
 
+_ACEOF
59749
 
+if ac_fn_c_try_link "$LINENO"; then :
59750
 
+  eval "$gt_func_gnugettext_libintl=yes"
59751
 
+else
59752
 
+  eval "$gt_func_gnugettext_libintl=no"
59753
 
+fi
59754
 
+rm -f core conftest.err conftest.$ac_objext \
59755
 
+    conftest$ac_exeext conftest.$ac_ext
59756
 
+                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
59757
 
+              LIBS="$LIBS $LIBICONV"
59758
 
+              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59759
 
+/* end confdefs.h.  */
59760
 
+
59761
 
+#include <libintl.h>
59762
 
+$gt_revision_test_code
59763
 
+extern int _nl_msg_cat_cntr;
59764
 
+extern
59765
 
+#ifdef __cplusplus
59766
 
+"C"
59767
 
+#endif
59768
 
+const char *_nl_expand_alias (const char *);
59769
 
+                   
59770
 
+int
59771
 
+main ()
59772
 
+{
59773
 
+
59774
 
+bindtextdomain ("", "");
59775
 
+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
59776
 
+                   
59777
 
+  ;
59778
 
+  return 0;
59779
 
+}
59780
 
+_ACEOF
59781
 
+if ac_fn_c_try_link "$LINENO"; then :
59782
 
+  LIBINTL="$LIBINTL $LIBICONV"
59783
 
+                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
59784
 
+                 eval "$gt_func_gnugettext_libintl=yes"
59785
 
+                
59786
 
+fi
59787
 
+rm -f core conftest.err conftest.$ac_objext \
59788
 
+    conftest$ac_exeext conftest.$ac_ext
59789
 
+            fi
59790
 
+            CPPFLAGS="$gt_save_CPPFLAGS"
59791
 
+            LIBS="$gt_save_LIBS"
59792
 
+fi
59793
 
+eval ac_res=\$$gt_func_gnugettext_libintl
59794
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
59795
 
+$as_echo "$ac_res" >&6; }
59796
 
+        fi
59797
 
+
59798
 
+                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
59799
 
+           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
59800
 
+                && test "$PACKAGE" != gettext-runtime \
59801
 
+                && test "$PACKAGE" != gettext-tools; }; then
59802
 
+          gt_use_preinstalled_gnugettext=yes
59803
 
+        else
59804
 
+                    LIBINTL=
59805
 
+          LTLIBINTL=
59806
 
+          INCINTL=
59807
 
+        fi
59808
 
+
59809
 
+    
59810
 
+
59811
 
+    if test -n "$INTL_MACOSX_LIBS"; then
59812
 
+      if test "$gt_use_preinstalled_gnugettext" = "yes" \
59813
 
+         || test "$nls_cv_use_gnu_gettext" = "yes"; then
59814
 
+                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
59815
 
+        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
59816
 
+      fi
59817
 
+    fi
59818
 
+
59819
 
+    if test "$gt_use_preinstalled_gnugettext" = "yes" \
59820
 
+       || test "$nls_cv_use_gnu_gettext" = "yes"; then
59821
 
+      
59822
 
+$as_echo "@%:@define ENABLE_NLS 1" >>confdefs.h
59823
 
+
59824
 
+    else
59825
 
+      USE_NLS=no
59826
 
+    fi
59827
 
+  fi
59828
 
+
59829
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
59830
 
+$as_echo_n "checking whether to use NLS... " >&6; }
59831
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
59832
 
+$as_echo "$USE_NLS" >&6; }
59833
 
+  if test "$USE_NLS" = "yes"; then
59834
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
59835
 
+$as_echo_n "checking where the gettext function comes from... " >&6; }
59836
 
+    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
59837
 
+      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
59838
 
+        gt_source="external libintl"
59839
 
+      else
59840
 
+        gt_source="libc"
59841
 
+      fi
59842
 
+    else
59843
 
+      gt_source="included intl directory"
59844
 
+    fi
59845
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
59846
 
+$as_echo "$gt_source" >&6; }
59847
 
+  fi
59848
 
+
59849
 
+  if test "$USE_NLS" = "yes"; then
59850
 
+
59851
 
+    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
59852
 
+      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
59853
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
59854
 
+$as_echo_n "checking how to link with libintl... " >&6; }
59855
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
59856
 
+$as_echo "$LIBINTL" >&6; }
59857
 
+        
59858
 
+  for element in $INCINTL; do
59859
 
+    haveit=
59860
 
+    for x in $CPPFLAGS; do
59861
 
+      
59862
 
+  acl_save_prefix="$prefix"
59863
 
+  prefix="$acl_final_prefix"
59864
 
+  acl_save_exec_prefix="$exec_prefix"
59865
 
+  exec_prefix="$acl_final_exec_prefix"
59866
 
+  eval x=\"$x\"
59867
 
+  exec_prefix="$acl_save_exec_prefix"
59868
 
+  prefix="$acl_save_prefix"
59869
 
+
59870
 
+      if test "X$x" = "X$element"; then
59871
 
+        haveit=yes
59872
 
+        break
59873
 
+      fi
59874
 
+    done
59875
 
+    if test -z "$haveit"; then
59876
 
+      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
59877
 
+    fi
59878
 
+  done
59879
 
+
59880
 
+      fi
59881
 
+
59882
 
+            
59883
 
+$as_echo "@%:@define HAVE_GETTEXT 1" >>confdefs.h
59884
 
+
59885
 
+      
59886
 
+$as_echo "@%:@define HAVE_DCGETTEXT 1" >>confdefs.h
59887
 
+
59888
 
+    fi
59889
 
+
59890
 
+        POSUB=po
59891
 
+  fi
59892
 
+
59893
 
+  
59894
 
+
59895
 
+    INTLLIBS="$LIBINTL"
59896
 
+  
59897
 
+
59898
 
+    
59899
 
+  
59900
 
+  
59901
 
+
59902
 
+
59903
 
+
59904
 
+# For a test of uniq: it uses the $LOCALE_FR envvar.
59905
 
+
59906
 
+  
59907
 
+  
59908
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
59909
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
59910
 
+if ${gt_cv_locale_fr+:} false; then :
59911
 
+  $as_echo_n "(cached) " >&6
59912
 
+else
59913
 
+  
59914
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59915
 
+/* end confdefs.h.  */
59916
 
+
59917
 
+#include <locale.h>
59918
 
+#include <time.h>
59919
 
+#if HAVE_LANGINFO_CODESET
59920
 
+# include <langinfo.h>
59921
 
+#endif
59922
 
+#include <stdlib.h>
59923
 
+#include <string.h>
59924
 
+struct tm t;
59925
 
+char buf[16];
59926
 
+int main () {
59927
 
+  /* Check whether the given locale name is recognized by the system.  */
59928
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
59929
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
59930
 
+     not at the environment variables.  Also, when an encoding suffix such
59931
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
59932
 
+     category of the locale to "C".  */
59933
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
59934
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
59935
 
+    return 1;
59936
 
+#else
59937
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
59938
 
+#endif
59939
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
59940
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
59941
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
59942
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
59943
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
59944
 
+     some unit tests fail.
59945
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
59946
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
59947
 
+#if HAVE_LANGINFO_CODESET
59948
 
+  {
59949
 
+    const char *cs = nl_langinfo (CODESET);
59950
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
59951
 
+        || strcmp (cs, "UTF-8") == 0)
59952
 
+      return 1;
59953
 
+  }
59954
 
+#endif
59955
 
+#ifdef __CYGWIN__
59956
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
59957
 
+     locale_charset() function relies on the encoding suffix.  Note that
59958
 
+     LC_ALL is set on the command line.  */
59959
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
59960
 
+#endif
59961
 
+  /* Check whether in the abbreviation of the second month, the second
59962
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
59963
 
+     one byte long. This excludes the UTF-8 encoding.  */
59964
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
59965
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
59966
 
+  /* Check whether the decimal separator is a comma.
59967
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
59968
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
59969
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
59970
 
+  return 0;
59971
 
+}
59972
 
+      
59973
 
+_ACEOF
59974
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
59975
 
+  (eval $ac_link) 2>&5
59976
 
+  ac_status=$?
59977
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
59978
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
59979
 
+      case "$host_os" in
59980
 
+        # Handle native Windows specially, because there setlocale() interprets
59981
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
59982
 
+        # "fr" or "fra" as "French" or "French_France.1252",
59983
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
59984
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
59985
 
+        # and similar.
59986
 
+        mingw*)
59987
 
+          # Test for the native Win32 locale name.
59988
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
59989
 
+            gt_cv_locale_fr=French_France.1252
59990
 
+          else
59991
 
+            # None found.
59992
 
+            gt_cv_locale_fr=none
59993
 
+          fi
59994
 
+          ;;
59995
 
+        *)
59996
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
59997
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
59998
 
+          # configure script would override the LC_ALL setting. Likewise for
59999
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
60000
 
+          # Test for the usual locale name.
60001
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
60002
 
+            gt_cv_locale_fr=fr_FR
60003
 
+          else
60004
 
+            # Test for the locale name with explicit encoding suffix.
60005
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
60006
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
60007
 
+            else
60008
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
60009
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
60010
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
60011
 
+              else
60012
 
+                # Test for the HP-UX locale name.
60013
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
60014
 
+                  gt_cv_locale_fr=fr_FR.iso88591
60015
 
+                else
60016
 
+                  # Test for the Solaris 7 locale name.
60017
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
60018
 
+                    gt_cv_locale_fr=fr
60019
 
+                  else
60020
 
+                    # None found.
60021
 
+                    gt_cv_locale_fr=none
60022
 
+                  fi
60023
 
+                fi
60024
 
+              fi
60025
 
+            fi
60026
 
+          fi
60027
 
+          ;;
60028
 
+      esac
60029
 
+    fi
60030
 
+    rm -fr conftest*
60031
 
+  
60032
 
+fi
60033
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
60034
 
+$as_echo "$gt_cv_locale_fr" >&6; }
60035
 
+  LOCALE_FR=$gt_cv_locale_fr
60036
 
+  
60037
 
+
60038
 
+
60039
 
+ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile man/Makefile po/Makefile.in src/Makefile tests/Makefile gnulib-tests/Makefile"
60040
 
+
60041
 
+cat >confcache <<\_ACEOF
60042
 
+# This file is a shell script that caches the results of configure
60043
 
+# tests run on this system so they can be shared between configure
60044
 
+# scripts and configure runs, see configure's option --config-cache.
60045
 
+# It is not useful on other systems.  If it contains results you don't
60046
 
+# want to keep, you may remove or edit it.
60047
 
+#
60048
 
+# config.status only pays attention to the cache file if you give it
60049
 
+# the --recheck option to rerun configure.
60050
 
+#
60051
 
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
60052
 
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
60053
 
+# following values.
60054
 
+
60055
 
+_ACEOF
60056
 
+
60057
 
+# The following way of writing the cache mishandles newlines in values,
60058
 
+# but we know of no workaround that is simple, portable, and efficient.
60059
 
+# So, we kill variables containing newlines.
60060
 
+# Ultrix sh set writes to stderr and can't be redirected directly,
60061
 
+# and sets the high bit in the cache file unless we assign to the vars.
60062
 
+(
60063
 
+  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
60064
 
+    eval ac_val=\$$ac_var
60065
 
+    case $ac_val in #(
60066
 
+    *${as_nl}*)
60067
 
+      case $ac_var in #(
60068
 
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
60069
 
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
60070
 
+      esac
60071
 
+      case $ac_var in #(
60072
 
+      _ | IFS | as_nl) ;; #(
60073
 
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
60074
 
+      *) { eval $ac_var=; unset $ac_var;} ;;
60075
 
+      esac ;;
60076
 
+    esac
60077
 
+  done
60078
 
+
60079
 
+  (set) 2>&1 |
60080
 
+    case $as_nl`(ac_space=' '; set) 2>&1` in #(
60081
 
+    *${as_nl}ac_space=\ *)
60082
 
+      # `set' does not quote correctly, so add quotes: double-quote
60083
 
+      # substitution turns \\\\ into \\, and sed turns \\ into \.
60084
 
+      sed -n \
60085
 
+       "s/'/'\\\\''/g;
60086
 
+         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
60087
 
+      ;; #(
60088
 
+    *)
60089
 
+      # `set' quotes correctly as required by POSIX, so do not add quotes.
60090
 
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
60091
 
+      ;;
60092
 
+    esac |
60093
 
+    sort
60094
 
+) |
60095
 
+  sed '
60096
 
+     /^ac_cv_env_/b end
60097
 
+     t clear
60098
 
+     :clear
60099
 
+     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
60100
 
+     t end
60101
 
+     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
60102
 
+     :end' >>confcache
60103
 
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
60104
 
+  if test -w "$cache_file"; then
60105
 
+    if test "x$cache_file" != "x/dev/null"; then
60106
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
60107
 
+$as_echo "$as_me: updating cache $cache_file" >&6;}
60108
 
+      if test ! -f "$cache_file" || test -h "$cache_file"; then
60109
 
+       cat confcache >"$cache_file"
60110
 
+      else
60111
 
+        case $cache_file in #(
60112
 
+        */* | ?:*)
60113
 
+         mv -f confcache "$cache_file"$$ &&
60114
 
+         mv -f "$cache_file"$$ "$cache_file" ;; #(
60115
 
+        *)
60116
 
+         mv -f confcache "$cache_file" ;;
60117
 
+       esac
60118
 
+      fi
60119
 
+    fi
60120
 
+  else
60121
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
60122
 
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
60123
 
+  fi
60124
 
+fi
60125
 
+rm -f confcache
60126
 
+
60127
 
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
60128
 
+# Let make expand exec_prefix.
60129
 
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
60130
 
+
60131
 
+DEFS=-DHAVE_CONFIG_H
60132
 
+
60133
 
+ac_libobjs=
60134
 
+ac_ltlibobjs=
60135
 
+for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
60136
 
+  # 1. Remove the extension, and $U if already installed.
60137
 
+  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
60138
 
+  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
60139
 
+  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
60140
 
+  #    will be set to the directory where LIBOBJS objects are built.
60141
 
+  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
60142
 
+  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
60143
 
+done
60144
 
+LIB@&t@OBJS=$ac_libobjs
60145
 
+
60146
 
+LTLIBOBJS=$ac_ltlibobjs
60147
 
+
60148
 
+
60149
 
+ if test -n "$EXEEXT"; then
60150
 
+  am__EXEEXT_TRUE=
60151
 
+  am__EXEEXT_FALSE='#'
60152
 
+else
60153
 
+  am__EXEEXT_TRUE='#'
60154
 
+  am__EXEEXT_FALSE=
60155
 
+fi
60156
 
+
60157
 
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
60158
 
+  as_fn_error $? "conditional \"AMDEP\" was never defined.
60159
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60160
 
+fi
60161
 
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
60162
 
+  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
60163
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60164
 
+fi
60165
 
+if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
60166
 
+  as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined.
60167
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60168
 
+fi
60169
 
+if test -z "${GL_GENERATE_ALLOCA_H_TRUE}" && test -z "${GL_GENERATE_ALLOCA_H_FALSE}"; then
60170
 
+  as_fn_error $? "conditional \"GL_GENERATE_ALLOCA_H\" was never defined.
60171
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60172
 
+fi
60173
 
+test "X$DEFS" = X-DHAVE_CONFIG_H && DEFS=
60174
 
+
60175
 
+if test -z "${GL_GENERATE_ERRNO_H_TRUE}" && test -z "${GL_GENERATE_ERRNO_H_FALSE}"; then
60176
 
+  as_fn_error $? "conditional \"GL_GENERATE_ERRNO_H\" was never defined.
60177
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60178
 
+fi
60179
 
+if test -z "${GL_GENERATE_FLOAT_H_TRUE}" && test -z "${GL_GENERATE_FLOAT_H_FALSE}"; then
60180
 
+  as_fn_error $? "conditional \"GL_GENERATE_FLOAT_H\" was never defined.
60181
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60182
 
+fi
60183
 
+if test -z "${GL_GENERATE_FNMATCH_H_TRUE}" && test -z "${GL_GENERATE_FNMATCH_H_FALSE}"; then
60184
 
+  as_fn_error $? "conditional \"GL_GENERATE_FNMATCH_H\" was never defined.
60185
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60186
 
+fi
60187
 
+if test -z "${GNU_MAKE_TRUE}" && test -z "${GNU_MAKE_FALSE}"; then
60188
 
+  as_fn_error $? "conditional \"GNU_MAKE\" was never defined.
60189
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60190
 
+fi
60191
 
+if test -z "${GL_GENERATE_ICONV_H_TRUE}" && test -z "${GL_GENERATE_ICONV_H_FALSE}"; then
60192
 
+  as_fn_error $? "conditional \"GL_GENERATE_ICONV_H\" was never defined.
60193
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60194
 
+fi
60195
 
+if test -z "${GL_GENERATE_ICONV_H_TRUE}" && test -z "${GL_GENERATE_ICONV_H_FALSE}"; then
60196
 
+  as_fn_error $? "conditional \"GL_GENERATE_ICONV_H\" was never defined.
60197
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60198
 
+fi
60199
 
+if test -z "${GL_GENERATE_ICONV_H_TRUE}" && test -z "${GL_GENERATE_ICONV_H_FALSE}"; then
60200
 
+  as_fn_error $? "conditional \"GL_GENERATE_ICONV_H\" was never defined.
60201
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60202
 
+fi
60203
 
+if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then
60204
 
+  as_fn_error $? "conditional \"GL_GENERATE_STDINT_H\" was never defined.
60205
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60206
 
+fi
60207
 
+
60208
 
+if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then
60209
 
+  as_fn_error $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined.
60210
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60211
 
+fi
60212
 
+CONFIG_INCLUDE=lib/config.h
60213
 
+
60214
 
+if test -z "${GL_GENERATE_NETINET_IN_H_TRUE}" && test -z "${GL_GENERATE_NETINET_IN_H_FALSE}"; then
60215
 
+  as_fn_error $? "conditional \"GL_GENERATE_NETINET_IN_H\" was never defined.
60216
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60217
 
+fi
60218
 
+if test -z "${GL_GENERATE_STDBOOL_H_TRUE}" && test -z "${GL_GENERATE_STDBOOL_H_FALSE}"; then
60219
 
+  as_fn_error $? "conditional \"GL_GENERATE_STDBOOL_H\" was never defined.
60220
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60221
 
+fi
60222
 
+if test -z "${GL_GENERATE_PTHREAD_H_TRUE}" && test -z "${GL_GENERATE_PTHREAD_H_FALSE}"; then
60223
 
+  as_fn_error $? "conditional \"GL_GENERATE_PTHREAD_H\" was never defined.
60224
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60225
 
+fi
60226
 
+if test -z "${GL_GENERATE_SCHED_H_TRUE}" && test -z "${GL_GENERATE_SCHED_H_FALSE}"; then
60227
 
+  as_fn_error $? "conditional \"GL_GENERATE_SCHED_H\" was never defined.
60228
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60229
 
+fi
60230
 
+if test -z "${GL_GENERATE_SELINUX_CONTEXT_H_TRUE}" && test -z "${GL_GENERATE_SELINUX_CONTEXT_H_FALSE}"; then
60231
 
+  as_fn_error $? "conditional \"GL_GENERATE_SELINUX_CONTEXT_H\" was never defined.
60232
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60233
 
+fi
60234
 
+if test -z "${GL_GENERATE_STDARG_H_TRUE}" && test -z "${GL_GENERATE_STDARG_H_FALSE}"; then
60235
 
+  as_fn_error $? "conditional \"GL_GENERATE_STDARG_H\" was never defined.
60236
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60237
 
+fi
60238
 
+if test -z "${GL_GENERATE_STDBOOL_H_TRUE}" && test -z "${GL_GENERATE_STDBOOL_H_FALSE}"; then
60239
 
+  as_fn_error $? "conditional \"GL_GENERATE_STDBOOL_H\" was never defined.
60240
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60241
 
+fi
60242
 
+if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then
60243
 
+  as_fn_error $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined.
60244
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60245
 
+fi
60246
 
+if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE}"; then
60247
 
+  as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR\" was never defined.
60248
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60249
 
+fi
60250
 
+if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE}"; then
60251
 
+  as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB\" was never defined.
60252
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60253
 
+fi
60254
 
+if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE}"; then
60255
 
+  as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH\" was never defined.
60256
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60257
 
+fi
60258
 
+
60259
 
+    gl_libobjs=
60260
 
+    gl_ltlibobjs=
60261
 
+    if test -n "$gl_LIBOBJS"; then
60262
 
+      # Remove the extension.
60263
 
+      sed_drop_objext='s/\.o$//;s/\.obj$//'
60264
 
+      for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
60265
 
+        gl_libobjs="$gl_libobjs $i.$ac_objext"
60266
 
+        gl_ltlibobjs="$gl_ltlibobjs $i.lo"
60267
 
+      done
60268
 
+    fi
60269
 
+    gl_LIBOBJS=$gl_libobjs
60270
 
+
60271
 
+    gl_LTLIBOBJS=$gl_ltlibobjs
60272
 
+
60273
 
+  
60274
 
+
60275
 
+
60276
 
+
60277
 
+
60278
 
+    gltests_libobjs=
60279
 
+    gltests_ltlibobjs=
60280
 
+    if test -n "$gltests_LIBOBJS"; then
60281
 
+      # Remove the extension.
60282
 
+      sed_drop_objext='s/\.o$//;s/\.obj$//'
60283
 
+      for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
60284
 
+        gltests_libobjs="$gltests_libobjs $i.$ac_objext"
60285
 
+        gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
60286
 
+      done
60287
 
+    fi
60288
 
+    gltests_LIBOBJS=$gltests_libobjs
60289
 
+
60290
 
+    gltests_LTLIBOBJS=$gltests_ltlibobjs
60291
 
+
60292
 
+  
60293
 
+if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
60294
 
+  as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
60295
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
60296
 
+fi
60297
 
+
60298
 
+: "${CONFIG_STATUS=./config.status}"
60299
 
+ac_write_fail=0
60300
 
+ac_clean_files_save=$ac_clean_files
60301
 
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
60302
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
60303
 
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
60304
 
+as_write_fail=0
60305
 
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
60306
 
+#! $SHELL
60307
 
+# Generated by $as_me.
60308
 
+# Run this file to recreate the current configuration.
60309
 
+# Compiler output produced by configure, useful for debugging
60310
 
+# configure, is in config.log if it exists.
60311
 
+
60312
 
+debug=false
60313
 
+ac_cs_recheck=false
60314
 
+ac_cs_silent=false
60315
 
+
60316
 
+SHELL=\${CONFIG_SHELL-$SHELL}
60317
 
+export SHELL
60318
 
+_ASEOF
60319
 
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
60320
 
+## -------------------- ##
60321
 
+## M4sh Initialization. ##
60322
 
+## -------------------- ##
60323
 
+
60324
 
+# Be more Bourne compatible
60325
 
+DUALCASE=1; export DUALCASE # for MKS sh
60326
 
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
60327
 
+  emulate sh
60328
 
+  NULLCMD=:
60329
 
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
60330
 
+  # is contrary to our usage.  Disable this feature.
60331
 
+  alias -g '${1+"$@"}'='"$@"'
60332
 
+  setopt NO_GLOB_SUBST
60333
 
+else
60334
 
+  case `(set -o) 2>/dev/null` in @%:@(
60335
 
+  *posix*) :
60336
 
+    set -o posix ;; @%:@(
60337
 
+  *) :
60338
 
+     ;;
60339
 
+esac
60340
 
+fi
60341
 
+
60342
 
+
60343
 
+as_nl='
60344
 
+'
60345
 
+export as_nl
60346
 
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
60347
 
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
60348
 
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
60349
 
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
60350
 
+# Prefer a ksh shell builtin over an external printf program on Solaris,
60351
 
+# but without wasting forks for bash or zsh.
60352
 
+if test -z "$BASH_VERSION$ZSH_VERSION" \
60353
 
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
60354
 
+  as_echo='print -r --'
60355
 
+  as_echo_n='print -rn --'
60356
 
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
60357
 
+  as_echo='printf %s\n'
60358
 
+  as_echo_n='printf %s'
60359
 
+else
60360
 
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
60361
 
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
60362
 
+    as_echo_n='/usr/ucb/echo -n'
60363
 
+  else
60364
 
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60365
 
+    as_echo_n_body='eval
60366
 
+      arg=$1;
60367
 
+      case $arg in @%:@(
60368
 
+      *"$as_nl"*)
60369
 
+       expr "X$arg" : "X\\(.*\\)$as_nl";
60370
 
+       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
60371
 
+      esac;
60372
 
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
60373
 
+    '
60374
 
+    export as_echo_n_body
60375
 
+    as_echo_n='sh -c $as_echo_n_body as_echo'
60376
 
+  fi
60377
 
+  export as_echo_body
60378
 
+  as_echo='sh -c $as_echo_body as_echo'
60379
 
+fi
60380
 
+
60381
 
+# The user is always right.
60382
 
+if test "${PATH_SEPARATOR+set}" != set; then
60383
 
+  PATH_SEPARATOR=:
60384
 
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
60385
 
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
60386
 
+      PATH_SEPARATOR=';'
60387
 
+  }
60388
 
+fi
60389
 
+
60390
 
+
60391
 
+# IFS
60392
 
+# We need space, tab and new line, in precisely that order.  Quoting is
60393
 
+# there to prevent editors from complaining about space-tab.
60394
 
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
60395
 
+# splitting by setting IFS to empty value.)
60396
 
+IFS=" ""       $as_nl"
60397
 
+
60398
 
+# Find who we are.  Look in the path if we contain no directory separator.
60399
 
+as_myself=
60400
 
+case $0 in @%:@((
60401
 
+  *[\\/]* ) as_myself=$0 ;;
60402
 
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
60403
 
+for as_dir in $PATH
60404
 
+do
60405
 
+  IFS=$as_save_IFS
60406
 
+  test -z "$as_dir" && as_dir=.
60407
 
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
60408
 
+  done
60409
 
+IFS=$as_save_IFS
60410
 
+
60411
 
+     ;;
60412
 
+esac
60413
 
+# We did not find ourselves, most probably we were run as `sh COMMAND'
60414
 
+# in which case we are not to be found in the path.
60415
 
+if test "x$as_myself" = x; then
60416
 
+  as_myself=$0
60417
 
+fi
60418
 
+if test ! -f "$as_myself"; then
60419
 
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
60420
 
+  exit 1
60421
 
+fi
60422
 
+
60423
 
+# Unset variables that we do not need and which cause bugs (e.g. in
60424
 
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
60425
 
+# suppresses any "Segmentation fault" message there.  '((' could
60426
 
+# trigger a bug in pdksh 5.2.14.
60427
 
+for as_var in BASH_ENV ENV MAIL MAILPATH
60428
 
+do eval test x\${$as_var+set} = xset \
60429
 
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
60430
 
+done
60431
 
+PS1='$ '
60432
 
+PS2='> '
60433
 
+PS4='+ '
60434
 
+
60435
 
+# NLS nuisances.
60436
 
+LC_ALL=C
60437
 
+export LC_ALL
60438
 
+LANGUAGE=C
60439
 
+export LANGUAGE
60440
 
+
60441
 
+# CDPATH.
60442
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
60443
 
+
60444
 
+
60445
 
+@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
60446
 
+@%:@ ----------------------------------------
60447
 
+@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
60448
 
+@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
60449
 
+@%:@ script with STATUS, using 1 if that was 0.
60450
 
+as_fn_error ()
60451
 
+{
60452
 
+  as_status=$1; test $as_status -eq 0 && as_status=1
60453
 
+  if test "$4"; then
60454
 
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
60455
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
60456
 
+  fi
60457
 
+  $as_echo "$as_me: error: $2" >&2
60458
 
+  as_fn_exit $as_status
60459
 
+} @%:@ as_fn_error
60460
 
+
60461
 
+
60462
 
+@%:@ as_fn_set_status STATUS
60463
 
+@%:@ -----------------------
60464
 
+@%:@ Set @S|@? to STATUS, without forking.
60465
 
+as_fn_set_status ()
60466
 
+{
60467
 
+  return $1
60468
 
+} @%:@ as_fn_set_status
60469
 
+
60470
 
+@%:@ as_fn_exit STATUS
60471
 
+@%:@ -----------------
60472
 
+@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
60473
 
+as_fn_exit ()
60474
 
+{
60475
 
+  set +e
60476
 
+  as_fn_set_status $1
60477
 
+  exit $1
60478
 
+} @%:@ as_fn_exit
60479
 
+
60480
 
+@%:@ as_fn_unset VAR
60481
 
+@%:@ ---------------
60482
 
+@%:@ Portably unset VAR.
60483
 
+as_fn_unset ()
60484
 
+{
60485
 
+  { eval $1=; unset $1;}
60486
 
+}
60487
 
+as_unset=as_fn_unset
60488
 
+@%:@ as_fn_append VAR VALUE
60489
 
+@%:@ ----------------------
60490
 
+@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
60491
 
+@%:@ advantage of any shell optimizations that allow amortized linear growth over
60492
 
+@%:@ repeated appends, instead of the typical quadratic growth present in naive
60493
 
+@%:@ implementations.
60494
 
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
60495
 
+  eval 'as_fn_append ()
60496
 
+  {
60497
 
+    eval $1+=\$2
60498
 
+  }'
60499
 
+else
60500
 
+  as_fn_append ()
60501
 
+  {
60502
 
+    eval $1=\$$1\$2
60503
 
+  }
60504
 
+fi # as_fn_append
60505
 
+
60506
 
+@%:@ as_fn_arith ARG...
60507
 
+@%:@ ------------------
60508
 
+@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
60509
 
+@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
60510
 
+@%:@ must be portable across @S|@(()) and expr.
60511
 
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
60512
 
+  eval 'as_fn_arith ()
60513
 
+  {
60514
 
+    as_val=$(( $* ))
60515
 
+  }'
60516
 
+else
60517
 
+  as_fn_arith ()
60518
 
+  {
60519
 
+    as_val=`expr "$@" || test $? -eq 1`
60520
 
+  }
60521
 
+fi # as_fn_arith
60522
 
+
60523
 
+
60524
 
+if expr a : '\(a\)' >/dev/null 2>&1 &&
60525
 
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
60526
 
+  as_expr=expr
60527
 
+else
60528
 
+  as_expr=false
60529
 
+fi
60530
 
+
60531
 
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
60532
 
+  as_basename=basename
60533
 
+else
60534
 
+  as_basename=false
60535
 
+fi
60536
 
+
60537
 
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
60538
 
+  as_dirname=dirname
60539
 
+else
60540
 
+  as_dirname=false
60541
 
+fi
60542
 
+
60543
 
+as_me=`$as_basename -- "$0" ||
60544
 
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
60545
 
+        X"$0" : 'X\(//\)$' \| \
60546
 
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
60547
 
+$as_echo X/"$0" |
60548
 
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
60549
 
+           s//\1/
60550
 
+           q
60551
 
+         }
60552
 
+         /^X\/\(\/\/\)$/{
60553
 
+           s//\1/
60554
 
+           q
60555
 
+         }
60556
 
+         /^X\/\(\/\).*/{
60557
 
+           s//\1/
60558
 
+           q
60559
 
+         }
60560
 
+         s/.*/./; q'`
60561
 
+
60562
 
+# Avoid depending upon Character Ranges.
60563
 
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
60564
 
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
60565
 
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
60566
 
+as_cr_digits='0123456789'
60567
 
+as_cr_alnum=$as_cr_Letters$as_cr_digits
60568
 
+
60569
 
+ECHO_C= ECHO_N= ECHO_T=
60570
 
+case `echo -n x` in @%:@(((((
60571
 
+-n*)
60572
 
+  case `echo 'xy\c'` in
60573
 
+  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
60574
 
+  xy)  ECHO_C='\c';;
60575
 
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
60576
 
+       ECHO_T='        ';;
60577
 
+  esac;;
60578
 
+*)
60579
 
+  ECHO_N='-n';;
60580
 
+esac
60581
 
+
60582
 
+rm -f conf$$ conf$$.exe conf$$.file
60583
 
+if test -d conf$$.dir; then
60584
 
+  rm -f conf$$.dir/conf$$.file
60585
 
+else
60586
 
+  rm -f conf$$.dir
60587
 
+  mkdir conf$$.dir 2>/dev/null
60588
 
+fi
60589
 
+if (echo >conf$$.file) 2>/dev/null; then
60590
 
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
60591
 
+    as_ln_s='ln -s'
60592
 
+    # ... but there are two gotchas:
60593
 
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
60594
 
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
60595
 
+    # In both cases, we have to default to `cp -p'.
60596
 
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
60597
 
+      as_ln_s='cp -p'
60598
 
+  elif ln conf$$.file conf$$ 2>/dev/null; then
60599
 
+    as_ln_s=ln
60600
 
+  else
60601
 
+    as_ln_s='cp -p'
60602
 
+  fi
60603
 
+else
60604
 
+  as_ln_s='cp -p'
60605
 
+fi
60606
 
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
60607
 
+rmdir conf$$.dir 2>/dev/null
60608
 
+
60609
 
+
60610
 
+@%:@ as_fn_mkdir_p
60611
 
+@%:@ -------------
60612
 
+@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
60613
 
+as_fn_mkdir_p ()
60614
 
+{
60615
 
+
60616
 
+  case $as_dir in #(
60617
 
+  -*) as_dir=./$as_dir;;
60618
 
+  esac
60619
 
+  test -d "$as_dir" || eval $as_mkdir_p || {
60620
 
+    as_dirs=
60621
 
+    while :; do
60622
 
+      case $as_dir in #(
60623
 
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
60624
 
+      *) as_qdir=$as_dir;;
60625
 
+      esac
60626
 
+      as_dirs="'$as_qdir' $as_dirs"
60627
 
+      as_dir=`$as_dirname -- "$as_dir" ||
60628
 
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60629
 
+        X"$as_dir" : 'X\(//\)[^/]' \| \
60630
 
+        X"$as_dir" : 'X\(//\)$' \| \
60631
 
+        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
60632
 
+$as_echo X"$as_dir" |
60633
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60634
 
+           s//\1/
60635
 
+           q
60636
 
+         }
60637
 
+         /^X\(\/\/\)[^/].*/{
60638
 
+           s//\1/
60639
 
+           q
60640
 
+         }
60641
 
+         /^X\(\/\/\)$/{
60642
 
+           s//\1/
60643
 
+           q
60644
 
+         }
60645
 
+         /^X\(\/\).*/{
60646
 
+           s//\1/
60647
 
+           q
60648
 
+         }
60649
 
+         s/.*/./; q'`
60650
 
+      test -d "$as_dir" && break
60651
 
+    done
60652
 
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
60653
 
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
60654
 
+
60655
 
+
60656
 
+} @%:@ as_fn_mkdir_p
60657
 
+if mkdir -p . 2>/dev/null; then
60658
 
+  as_mkdir_p='mkdir -p "$as_dir"'
60659
 
+else
60660
 
+  test -d ./-p && rmdir ./-p
60661
 
+  as_mkdir_p=false
60662
 
+fi
60663
 
+
60664
 
+if test -x / >/dev/null 2>&1; then
60665
 
+  as_test_x='test -x'
60666
 
+else
60667
 
+  if ls -dL / >/dev/null 2>&1; then
60668
 
+    as_ls_L_option=L
60669
 
+  else
60670
 
+    as_ls_L_option=
60671
 
+  fi
60672
 
+  as_test_x='
60673
 
+    eval sh -c '\''
60674
 
+      if test -d "$1"; then
60675
 
+       test -d "$1/.";
60676
 
+      else
60677
 
+       case $1 in @%:@(
60678
 
+       -*)set "./$1";;
60679
 
+       esac;
60680
 
+       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
60681
 
+       ???[sx]*):;;*)false;;esac;fi
60682
 
+    '\'' sh
60683
 
+  '
60684
 
+fi
60685
 
+as_executable_p=$as_test_x
60686
 
+
60687
 
+# Sed expression to map a string onto a valid CPP name.
60688
 
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
60689
 
+
60690
 
+# Sed expression to map a string onto a valid variable name.
60691
 
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
60692
 
+
60693
 
+
60694
 
+exec 6>&1
60695
 
+## ----------------------------------- ##
60696
 
+## Main body of $CONFIG_STATUS script. ##
60697
 
+## ----------------------------------- ##
60698
 
+_ASEOF
60699
 
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
60700
 
+
60701
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60702
 
+# Save the log message, to keep $0 and so on meaningful, and to
60703
 
+# report actual input values of CONFIG_FILES etc. instead of their
60704
 
+# values after options handling.
60705
 
+ac_log="
60706
 
+This file was extended by GNU coreutils $as_me 8.13, which was
60707
 
+generated by GNU Autoconf 2.68.  Invocation command line was
60708
 
+
60709
 
+  CONFIG_FILES    = $CONFIG_FILES
60710
 
+  CONFIG_HEADERS  = $CONFIG_HEADERS
60711
 
+  CONFIG_LINKS    = $CONFIG_LINKS
60712
 
+  CONFIG_COMMANDS = $CONFIG_COMMANDS
60713
 
+  $ $0 $@
60714
 
+
60715
 
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
60716
 
+"
60717
 
+
60718
 
+_ACEOF
60719
 
+
60720
 
+case $ac_config_files in *"
60721
 
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
60722
 
+esac
60723
 
+
60724
 
+case $ac_config_headers in *"
60725
 
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
60726
 
+esac
60727
 
+
60728
 
+
60729
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60730
 
+# Files that config.status was made for.
60731
 
+config_files="$ac_config_files"
60732
 
+config_headers="$ac_config_headers"
60733
 
+config_links="$ac_config_links"
60734
 
+config_commands="$ac_config_commands"
60735
 
+
60736
 
+_ACEOF
60737
 
+
60738
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60739
 
+ac_cs_usage="\
60740
 
+\`$as_me' instantiates files and other configuration actions
60741
 
+from templates according to the current configuration.  Unless the files
60742
 
+and actions are specified as TAGs, all are instantiated by default.
60743
 
+
60744
 
+Usage: $0 [OPTION]... [TAG]...
60745
 
+
60746
 
+  -h, --help       print this help, then exit
60747
 
+  -V, --version    print version number and configuration settings, then exit
60748
 
+      --config     print configuration, then exit
60749
 
+  -q, --quiet, --silent
60750
 
+                   do not print progress messages
60751
 
+  -d, --debug      don't remove temporary files
60752
 
+      --recheck    update $as_me by reconfiguring in the same conditions
60753
 
+      --file=FILE[:TEMPLATE] 
60754
 
+                   instantiate the configuration file FILE
60755
 
+      --header=FILE[:TEMPLATE] 
60756
 
+                   instantiate the configuration header FILE
60757
 
+
60758
 
+Configuration files:
60759
 
+$config_files
60760
 
+
60761
 
+Configuration headers:
60762
 
+$config_headers
60763
 
+
60764
 
+Configuration links:
60765
 
+$config_links
60766
 
+
60767
 
+Configuration commands:
60768
 
+$config_commands
60769
 
+
60770
 
+Report bugs to <bug-coreutils@gnu.org>.
60771
 
+GNU coreutils home page: <http://www.gnu.org/software/coreutils/>.
60772
 
+General help using GNU software: <http://www.gnu.org/gethelp/>."
60773
 
+
60774
 
+_ACEOF
60775
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60776
 
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
60777
 
+ac_cs_version="\\
60778
 
+GNU coreutils config.status 8.13
60779
 
+configured by $0, generated by GNU Autoconf 2.68,
60780
 
+  with options \\"\$ac_cs_config\\"
60781
 
+
60782
 
+Copyright (C) 2010 Free Software Foundation, Inc.
60783
 
+This config.status script is free software; the Free Software Foundation
60784
 
+gives unlimited permission to copy, distribute and modify it."
60785
 
+
60786
 
+ac_pwd='$ac_pwd'
60787
 
+srcdir='$srcdir'
60788
 
+INSTALL='$INSTALL'
60789
 
+MKDIR_P='$MKDIR_P'
60790
 
+AWK='$AWK'
60791
 
+test -n "\$AWK" || AWK=awk
60792
 
+_ACEOF
60793
 
+
60794
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60795
 
+# The default lists apply if the user does not specify any file.
60796
 
+ac_need_defaults=:
60797
 
+while test $# != 0
60798
 
+do
60799
 
+  case $1 in
60800
 
+  --*=?*)
60801
 
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
60802
 
+    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
60803
 
+    ac_shift=:
60804
 
+    ;;
60805
 
+  --*=)
60806
 
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
60807
 
+    ac_optarg=
60808
 
+    ac_shift=:
60809
 
+    ;;
60810
 
+  *)
60811
 
+    ac_option=$1
60812
 
+    ac_optarg=$2
60813
 
+    ac_shift=shift
60814
 
+    ;;
60815
 
+  esac
60816
 
+
60817
 
+  case $ac_option in
60818
 
+  # Handling of the options.
60819
 
+  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
60820
 
+    ac_cs_recheck=: ;;
60821
 
+  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
60822
 
+    $as_echo "$ac_cs_version"; exit ;;
60823
 
+  --config | --confi | --conf | --con | --co | --c )
60824
 
+    $as_echo "$ac_cs_config"; exit ;;
60825
 
+  --debug | --debu | --deb | --de | --d | -d )
60826
 
+    debug=: ;;
60827
 
+  --file | --fil | --fi | --f )
60828
 
+    $ac_shift
60829
 
+    case $ac_optarg in
60830
 
+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60831
 
+    '') as_fn_error $? "missing file argument" ;;
60832
 
+    esac
60833
 
+    as_fn_append CONFIG_FILES " '$ac_optarg'"
60834
 
+    ac_need_defaults=false;;
60835
 
+  --header | --heade | --head | --hea )
60836
 
+    $ac_shift
60837
 
+    case $ac_optarg in
60838
 
+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60839
 
+    esac
60840
 
+    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
60841
 
+    ac_need_defaults=false;;
60842
 
+  --he | --h)
60843
 
+    # Conflict between --help and --header
60844
 
+    as_fn_error $? "ambiguous option: \`$1'
60845
 
+Try \`$0 --help' for more information.";;
60846
 
+  --help | --hel | -h )
60847
 
+    $as_echo "$ac_cs_usage"; exit ;;
60848
 
+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
60849
 
+  | -silent | --silent | --silen | --sile | --sil | --si | --s)
60850
 
+    ac_cs_silent=: ;;
60851
 
+
60852
 
+  # This is an error.
60853
 
+  -*) as_fn_error $? "unrecognized option: \`$1'
60854
 
+Try \`$0 --help' for more information." ;;
60855
 
+
60856
 
+  *) as_fn_append ac_config_targets " $1"
60857
 
+     ac_need_defaults=false ;;
60858
 
+
60859
 
+  esac
60860
 
+  shift
60861
 
+done
60862
 
+
60863
 
+ac_configure_extra_args=
60864
 
+
60865
 
+if $ac_cs_silent; then
60866
 
+  exec 6>/dev/null
60867
 
+  ac_configure_extra_args="$ac_configure_extra_args --silent"
60868
 
+fi
60869
 
+
60870
 
+_ACEOF
60871
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60872
 
+if \$ac_cs_recheck; then
60873
 
+  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
60874
 
+  shift
60875
 
+  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
60876
 
+  CONFIG_SHELL='$SHELL'
60877
 
+  export CONFIG_SHELL
60878
 
+  exec "\$@"
60879
 
+fi
60880
 
+
60881
 
+_ACEOF
60882
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60883
 
+exec 5>>config.log
60884
 
+{
60885
 
+  echo
60886
 
+  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
60887
 
+@%:@@%:@ Running $as_me. @%:@@%:@
60888
 
+_ASBOX
60889
 
+  $as_echo "$ac_log"
60890
 
+} >&5
60891
 
+
60892
 
+_ACEOF
60893
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60894
 
+#
60895
 
+# INIT-COMMANDS
60896
 
+#
60897
 
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
60898
 
+GNUmakefile=$GNUmakefile
60899
 
+# Capture the value of obsolete ALL_LINGUAS because we need it to compute
60900
 
+    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
60901
 
+    # from automake < 1.5.
60902
 
+    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
60903
 
+    # Capture the value of LINGUAS because we need it to compute CATALOGS.
60904
 
+    LINGUAS="${LINGUAS-%UNSET%}"
60905
 
+   
60906
 
+
60907
 
+_ACEOF
60908
 
+
60909
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60910
 
+
60911
 
+# Handling of arguments.
60912
 
+for ac_config_target in $ac_config_targets
60913
 
+do
60914
 
+  case $ac_config_target in
60915
 
+    "lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/config.h:lib/config.hin" ;;
60916
 
+    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
60917
 
+    "$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;;
60918
 
+    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
60919
 
+    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60920
 
+    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60921
 
+    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
60922
 
+    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
60923
 
+    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
60924
 
+    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60925
 
+    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
60926
 
+    "gnulib-tests/Makefile") CONFIG_FILES="$CONFIG_FILES gnulib-tests/Makefile" ;;
60927
 
+
60928
 
+  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60929
 
+  esac
60930
 
+done
60931
 
+
60932
 
+
60933
 
+# If the user did not use the arguments to specify the items to instantiate,
60934
 
+# then the envvar interface is used.  Set only those that are not.
60935
 
+# We use the long form for the default assignment because of an extremely
60936
 
+# bizarre bug on SunOS 4.1.3.
60937
 
+if $ac_need_defaults; then
60938
 
+  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60939
 
+  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60940
 
+  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
60941
 
+  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60942
 
+fi
60943
 
+
60944
 
+# Have a temporary directory for convenience.  Make it in the build tree
60945
 
+# simply because there is no reason against having it here, and in addition,
60946
 
+# creating and moving files from /tmp can sometimes cause problems.
60947
 
+# Hook for its removal unless debugging.
60948
 
+# Note that there is a small window in which the directory will not be cleaned:
60949
 
+# after its creation but before its name has been assigned to `$tmp'.
60950
 
+$debug ||
60951
 
+{
60952
 
+  tmp= ac_tmp=
60953
 
+  trap 'exit_status=$?
60954
 
+  : "${ac_tmp:=$tmp}"
60955
 
+  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
60956
 
+' 0
60957
 
+  trap 'as_fn_exit 1' 1 2 13 15
60958
 
+}
60959
 
+# Create a (secure) tmp directory for tmp files.
60960
 
+
60961
 
+{
60962
 
+  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60963
 
+  test -d "$tmp"
60964
 
+}  ||
60965
 
+{
60966
 
+  tmp=./conf$$-$RANDOM
60967
 
+  (umask 077 && mkdir "$tmp")
60968
 
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
60969
 
+ac_tmp=$tmp
60970
 
+
60971
 
+# Set up the scripts for CONFIG_FILES section.
60972
 
+# No need to generate them if there are no CONFIG_FILES.
60973
 
+# This happens for instance with `./config.status config.h'.
60974
 
+if test -n "$CONFIG_FILES"; then
60975
 
+
60976
 
+
60977
 
+ac_cr=`echo X | tr X '\015'`
60978
 
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
60979
 
+# But we know of no other shell where ac_cr would be empty at this
60980
 
+# point, so we can use a bashism as a fallback.
60981
 
+if test "x$ac_cr" = x; then
60982
 
+  eval ac_cr=\$\'\\r\'
60983
 
+fi
60984
 
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60985
 
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60986
 
+  ac_cs_awk_cr='\\r'
60987
 
+else
60988
 
+  ac_cs_awk_cr=$ac_cr
60989
 
+fi
60990
 
+
60991
 
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
60992
 
+_ACEOF
60993
 
+
60994
 
+
60995
 
+{
60996
 
+  echo "cat >conf$$subs.awk <<_ACEOF" &&
60997
 
+  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60998
 
+  echo "_ACEOF"
60999
 
+} >conf$$subs.sh ||
61000
 
+  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
61001
 
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
61002
 
+ac_delim='%!_!# '
61003
 
+for ac_last_try in false false false false false :; do
61004
 
+  . ./conf$$subs.sh ||
61005
 
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
61006
 
+
61007
 
+  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
61008
 
+  if test $ac_delim_n = $ac_delim_num; then
61009
 
+    break
61010
 
+  elif $ac_last_try; then
61011
 
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
61012
 
+  else
61013
 
+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
61014
 
+  fi
61015
 
+done
61016
 
+rm -f conf$$subs.sh
61017
 
+
61018
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
61019
 
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
61020
 
+_ACEOF
61021
 
+sed -n '
61022
 
+h
61023
 
+s/^/S["/; s/!.*/"]=/
61024
 
+p
61025
 
+g
61026
 
+s/^[^!]*!//
61027
 
+:repl
61028
 
+t repl
61029
 
+s/'"$ac_delim"'$//
61030
 
+t delim
61031
 
+:nl
61032
 
+h
61033
 
+s/\(.\{148\}\)..*/\1/
61034
 
+t more1
61035
 
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
61036
 
+p
61037
 
+n
61038
 
+b repl
61039
 
+:more1
61040
 
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
61041
 
+p
61042
 
+g
61043
 
+s/.\{148\}//
61044
 
+t nl
61045
 
+:delim
61046
 
+h
61047
 
+s/\(.\{148\}\)..*/\1/
61048
 
+t more2
61049
 
+s/["\\]/\\&/g; s/^/"/; s/$/"/
61050
 
+p
61051
 
+b
61052
 
+:more2
61053
 
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
61054
 
+p
61055
 
+g
61056
 
+s/.\{148\}//
61057
 
+t delim
61058
 
+' <conf$$subs.awk | sed '
61059
 
+/^[^""]/{
61060
 
+  N
61061
 
+  s/\n//
61062
 
+}
61063
 
+' >>$CONFIG_STATUS || ac_write_fail=1
61064
 
+rm -f conf$$subs.awk
61065
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
61066
 
+_ACAWK
61067
 
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
61068
 
+  for (key in S) S_is_set[key] = 1
61069
 
+  FS = ""
61070
 
+
61071
 
+}
61072
 
+{
61073
 
+  line = $ 0
61074
 
+  nfields = split(line, field, "@")
61075
 
+  substed = 0
61076
 
+  len = length(field[1])
61077
 
+  for (i = 2; i < nfields; i++) {
61078
 
+    key = field[i]
61079
 
+    keylen = length(key)
61080
 
+    if (S_is_set[key]) {
61081
 
+      value = S[key]
61082
 
+      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
61083
 
+      len += length(value) + length(field[++i])
61084
 
+      substed = 1
61085
 
+    } else
61086
 
+      len += 1 + keylen
61087
 
+  }
61088
 
+
61089
 
+  print line
61090
 
+}
61091
 
+
61092
 
+_ACAWK
61093
 
+_ACEOF
61094
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
61095
 
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
61096
 
+  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
61097
 
+else
61098
 
+  cat
61099
 
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
61100
 
+  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
61101
 
+_ACEOF
61102
 
+
61103
 
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
61104
 
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
61105
 
+# trailing colons and then remove the whole line if VPATH becomes empty
61106
 
+# (actually we leave an empty line to preserve line numbers).
61107
 
+if test "x$srcdir" = x.; then
61108
 
+  ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
61109
 
+h
61110
 
+s///
61111
 
+s/^/:/
61112
 
+s/[     ]*$/:/
61113
 
+s/:\$(srcdir):/:/g
61114
 
+s/:\${srcdir}:/:/g
61115
 
+s/:@srcdir@:/:/g
61116
 
+s/^:*//
61117
 
+s/:*$//
61118
 
+x
61119
 
+s/\(=[  ]*\).*/\1/
61120
 
+G
61121
 
+s/\n//
61122
 
+s/^[^=]*=[      ]*$//
61123
 
+}'
61124
 
+fi
61125
 
+
61126
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
61127
 
+fi # test -n "$CONFIG_FILES"
61128
 
+
61129
 
+# Set up the scripts for CONFIG_HEADERS section.
61130
 
+# No need to generate them if there are no CONFIG_HEADERS.
61131
 
+# This happens for instance with `./config.status Makefile'.
61132
 
+if test -n "$CONFIG_HEADERS"; then
61133
 
+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
61134
 
+BEGIN {
61135
 
+_ACEOF
61136
 
+
61137
 
+# Transform confdefs.h into an awk script `defines.awk', embedded as
61138
 
+# here-document in config.status, that substitutes the proper values into
61139
 
+# config.h.in to produce config.h.
61140
 
+
61141
 
+# Create a delimiter string that does not exist in confdefs.h, to ease
61142
 
+# handling of long lines.
61143
 
+ac_delim='%!_!# '
61144
 
+for ac_last_try in false false :; do
61145
 
+  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
61146
 
+  if test -z "$ac_tt"; then
61147
 
+    break
61148
 
+  elif $ac_last_try; then
61149
 
+    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
61150
 
+  else
61151
 
+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
61152
 
+  fi
61153
 
+done
61154
 
+
61155
 
+# For the awk script, D is an array of macro values keyed by name,
61156
 
+# likewise P contains macro parameters if any.  Preserve backslash
61157
 
+# newline sequences.
61158
 
+
61159
 
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
61160
 
+sed -n '
61161
 
+s/.\{148\}/&'"$ac_delim"'/g
61162
 
+t rset
61163
 
+:rset
61164
 
+s/^[    ]*#[    ]*define[       ][      ]*/ /
61165
 
+t def
61166
 
+d
61167
 
+:def
61168
 
+s/\\$//
61169
 
+t bsnl
61170
 
+s/["\\]/\\&/g
61171
 
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
61172
 
+D["\1"]=" \3"/p
61173
 
+s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
61174
 
+d
61175
 
+:bsnl
61176
 
+s/["\\]/\\&/g
61177
 
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
61178
 
+D["\1"]=" \3\\\\\\n"\\/p
61179
 
+t cont
61180
 
+s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
61181
 
+t cont
61182
 
+d
61183
 
+:cont
61184
 
+n
61185
 
+s/.\{148\}/&'"$ac_delim"'/g
61186
 
+t clear
61187
 
+:clear
61188
 
+s/\\$//
61189
 
+t bsnlc
61190
 
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
61191
 
+d
61192
 
+:bsnlc
61193
 
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
61194
 
+b cont
61195
 
+' <confdefs.h | sed '
61196
 
+s/'"$ac_delim"'/"\\\
61197
 
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
61198
 
+
61199
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
61200
 
+  for (key in D) D_is_set[key] = 1
61201
 
+  FS = ""
61202
 
+}
61203
 
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
61204
 
+  line = \$ 0
61205
 
+  split(line, arg, " ")
61206
 
+  if (arg[1] == "#") {
61207
 
+    defundef = arg[2]
61208
 
+    mac1 = arg[3]
61209
 
+  } else {
61210
 
+    defundef = substr(arg[1], 2)
61211
 
+    mac1 = arg[2]
61212
 
+  }
61213
 
+  split(mac1, mac2, "(") #)
61214
 
+  macro = mac2[1]
61215
 
+  prefix = substr(line, 1, index(line, defundef) - 1)
61216
 
+  if (D_is_set[macro]) {
61217
 
+    # Preserve the white space surrounding the "#".
61218
 
+    print prefix "define", macro P[macro] D[macro]
61219
 
+    next
61220
 
+  } else {
61221
 
+    # Replace #undef with comments.  This is necessary, for example,
61222
 
+    # in the case of _POSIX_SOURCE, which is predefined and required
61223
 
+    # on some systems where configure will not decide to define it.
61224
 
+    if (defundef == "undef") {
61225
 
+      print "/*", prefix defundef, macro, "*/"
61226
 
+      next
61227
 
+    }
61228
 
+  }
61229
 
+}
61230
 
+{ print }
61231
 
+_ACAWK
61232
 
+_ACEOF
61233
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
61234
 
+  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
61235
 
+fi # test -n "$CONFIG_HEADERS"
61236
 
+
61237
 
+
61238
 
+eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS  :C $CONFIG_COMMANDS"
61239
 
+shift
61240
 
+for ac_tag
61241
 
+do
61242
 
+  case $ac_tag in
61243
 
+  :[FHLC]) ac_mode=$ac_tag; continue;;
61244
 
+  esac
61245
 
+  case $ac_mode$ac_tag in
61246
 
+  :[FHL]*:*);;
61247
 
+  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
61248
 
+  :[FH]-) ac_tag=-:-;;
61249
 
+  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
61250
 
+  esac
61251
 
+  ac_save_IFS=$IFS
61252
 
+  IFS=:
61253
 
+  set x $ac_tag
61254
 
+  IFS=$ac_save_IFS
61255
 
+  shift
61256
 
+  ac_file=$1
61257
 
+  shift
61258
 
+
61259
 
+  case $ac_mode in
61260
 
+  :L) ac_source=$1;;
61261
 
+  :[FH])
61262
 
+    ac_file_inputs=
61263
 
+    for ac_f
61264
 
+    do
61265
 
+      case $ac_f in
61266
 
+      -) ac_f="$ac_tmp/stdin";;
61267
 
+      *) # Look for the file first in the build tree, then in the source tree
61268
 
+        # (if the path is not absolute).  The absolute path cannot be DOS-style,
61269
 
+        # because $ac_f cannot contain `:'.
61270
 
+        test -f "$ac_f" ||
61271
 
+          case $ac_f in
61272
 
+          [\\/$]*) false;;
61273
 
+          *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
61274
 
+          esac ||
61275
 
+          as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
61276
 
+      esac
61277
 
+      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
61278
 
+      as_fn_append ac_file_inputs " '$ac_f'"
61279
 
+    done
61280
 
+
61281
 
+    # Let's still pretend it is `configure' which instantiates (i.e., don't
61282
 
+    # use $as_me), people would be surprised to read:
61283
 
+    #    /* config.h.  Generated by config.status.  */
61284
 
+    configure_input='Generated from '`
61285
 
+         $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
61286
 
+       `' by configure.'
61287
 
+    if test x"$ac_file" != x-; then
61288
 
+      configure_input="$ac_file.  $configure_input"
61289
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
61290
 
+$as_echo "$as_me: creating $ac_file" >&6;}
61291
 
+    fi
61292
 
+    # Neutralize special characters interpreted by sed in replacement strings.
61293
 
+    case $configure_input in #(
61294
 
+    *\&* | *\|* | *\\* )
61295
 
+       ac_sed_conf_input=`$as_echo "$configure_input" |
61296
 
+       sed 's/[\\\\&|]/\\\\&/g'`;; #(
61297
 
+    *) ac_sed_conf_input=$configure_input;;
61298
 
+    esac
61299
 
+
61300
 
+    case $ac_tag in
61301
 
+    *:-:* | *:-) cat >"$ac_tmp/stdin" \
61302
 
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
61303
 
+    esac
61304
 
+    ;;
61305
 
+  esac
61306
 
+
61307
 
+  ac_dir=`$as_dirname -- "$ac_file" ||
61308
 
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61309
 
+        X"$ac_file" : 'X\(//\)[^/]' \| \
61310
 
+        X"$ac_file" : 'X\(//\)$' \| \
61311
 
+        X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
61312
 
+$as_echo X"$ac_file" |
61313
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61314
 
+           s//\1/
61315
 
+           q
61316
 
+         }
61317
 
+         /^X\(\/\/\)[^/].*/{
61318
 
+           s//\1/
61319
 
+           q
61320
 
+         }
61321
 
+         /^X\(\/\/\)$/{
61322
 
+           s//\1/
61323
 
+           q
61324
 
+         }
61325
 
+         /^X\(\/\).*/{
61326
 
+           s//\1/
61327
 
+           q
61328
 
+         }
61329
 
+         s/.*/./; q'`
61330
 
+  as_dir="$ac_dir"; as_fn_mkdir_p
61331
 
+  ac_builddir=.
61332
 
+
61333
 
+case "$ac_dir" in
61334
 
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
61335
 
+*)
61336
 
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
61337
 
+  # A ".." for each directory in $ac_dir_suffix.
61338
 
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
61339
 
+  case $ac_top_builddir_sub in
61340
 
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
61341
 
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
61342
 
+  esac ;;
61343
 
+esac
61344
 
+ac_abs_top_builddir=$ac_pwd
61345
 
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
61346
 
+# for backward compatibility:
61347
 
+ac_top_builddir=$ac_top_build_prefix
61348
 
+
61349
 
+case $srcdir in
61350
 
+  .)  # We are building in place.
61351
 
+    ac_srcdir=.
61352
 
+    ac_top_srcdir=$ac_top_builddir_sub
61353
 
+    ac_abs_top_srcdir=$ac_pwd ;;
61354
 
+  [\\/]* | ?:[\\/]* )  # Absolute name.
61355
 
+    ac_srcdir=$srcdir$ac_dir_suffix;
61356
 
+    ac_top_srcdir=$srcdir
61357
 
+    ac_abs_top_srcdir=$srcdir ;;
61358
 
+  *) # Relative name.
61359
 
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
61360
 
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
61361
 
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
61362
 
+esac
61363
 
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
61364
 
+
61365
 
+
61366
 
+  case $ac_mode in
61367
 
+  :F)
61368
 
+  #
61369
 
+  # CONFIG_FILE
61370
 
+  #
61371
 
+
61372
 
+  case $INSTALL in
61373
 
+  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
61374
 
+  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
61375
 
+  esac
61376
 
+  ac_MKDIR_P=$MKDIR_P
61377
 
+  case $MKDIR_P in
61378
 
+  [\\/$]* | ?:[\\/]* ) ;;
61379
 
+  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
61380
 
+  esac
61381
 
+_ACEOF
61382
 
+
61383
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
61384
 
+# If the template does not know about datarootdir, expand it.
61385
 
+# FIXME: This hack should be removed a few years after 2.60.
61386
 
+ac_datarootdir_hack=; ac_datarootdir_seen=
61387
 
+ac_sed_dataroot='
61388
 
+/datarootdir/ {
61389
 
+  p
61390
 
+  q
61391
 
+}
61392
 
+/@datadir@/p
61393
 
+/@docdir@/p
61394
 
+/@infodir@/p
61395
 
+/@localedir@/p
61396
 
+/@mandir@/p'
61397
 
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
61398
 
+*datarootdir*) ac_datarootdir_seen=yes;;
61399
 
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
61400
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
61401
 
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
61402
 
+_ACEOF
61403
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
61404
 
+  ac_datarootdir_hack='
61405
 
+  s&@datadir@&$datadir&g
61406
 
+  s&@docdir@&$docdir&g
61407
 
+  s&@infodir@&$infodir&g
61408
 
+  s&@localedir@&$localedir&g
61409
 
+  s&@mandir@&$mandir&g
61410
 
+  s&\\\${datarootdir}&$datarootdir&g' ;;
61411
 
+esac
61412
 
+_ACEOF
61413
 
+
61414
 
+# Neutralize VPATH when `$srcdir' = `.'.
61415
 
+# Shell code in configure.ac might set extrasub.
61416
 
+# FIXME: do we really want to maintain this feature?
61417
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
61418
 
+ac_sed_extra="$ac_vpsub
61419
 
+$extrasub
61420
 
+_ACEOF
61421
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
61422
 
+:t
61423
 
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
61424
 
+s|@configure_input@|$ac_sed_conf_input|;t t
61425
 
+s&@top_builddir@&$ac_top_builddir_sub&;t t
61426
 
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
61427
 
+s&@srcdir@&$ac_srcdir&;t t
61428
 
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
61429
 
+s&@top_srcdir@&$ac_top_srcdir&;t t
61430
 
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
61431
 
+s&@builddir@&$ac_builddir&;t t
61432
 
+s&@abs_builddir@&$ac_abs_builddir&;t t
61433
 
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
61434
 
+s&@INSTALL@&$ac_INSTALL&;t t
61435
 
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
61436
 
+$ac_datarootdir_hack
61437
 
+"
61438
 
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
61439
 
+  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
61440
 
+
61441
 
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
61442
 
+  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
61443
 
+  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
61444
 
+      "$ac_tmp/out"`; test -z "$ac_out"; } &&
61445
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
61446
 
+which seems to be undefined.  Please make sure it is defined" >&5
61447
 
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
61448
 
+which seems to be undefined.  Please make sure it is defined" >&2;}
61449
 
+
61450
 
+  rm -f "$ac_tmp/stdin"
61451
 
+  case $ac_file in
61452
 
+  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
61453
 
+  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
61454
 
+  esac \
61455
 
+  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
61456
 
+ ;;
61457
 
+  :H)
61458
 
+  #
61459
 
+  # CONFIG_HEADER
61460
 
+  #
61461
 
+  if test x"$ac_file" != x-; then
61462
 
+    {
61463
 
+      $as_echo "/* $configure_input  */" \
61464
 
+      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
61465
 
+    } >"$ac_tmp/config.h" \
61466
 
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
61467
 
+    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
61468
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
61469
 
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
61470
 
+    else
61471
 
+      rm -f "$ac_file"
61472
 
+      mv "$ac_tmp/config.h" "$ac_file" \
61473
 
+       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
61474
 
+    fi
61475
 
+  else
61476
 
+    $as_echo "/* $configure_input  */" \
61477
 
+      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
61478
 
+      || as_fn_error $? "could not create -" "$LINENO" 5
61479
 
+  fi
61480
 
+# Compute "$ac_file"'s index in $config_headers.
61481
 
+_am_arg="$ac_file"
61482
 
+_am_stamp_count=1
61483
 
+for _am_header in $config_headers :; do
61484
 
+  case $_am_header in
61485
 
+    $_am_arg | $_am_arg:* )
61486
 
+      break ;;
61487
 
+    * )
61488
 
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
61489
 
+  esac
61490
 
+done
61491
 
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
61492
 
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61493
 
+        X"$_am_arg" : 'X\(//\)[^/]' \| \
61494
 
+        X"$_am_arg" : 'X\(//\)$' \| \
61495
 
+        X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
61496
 
+$as_echo X"$_am_arg" |
61497
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61498
 
+           s//\1/
61499
 
+           q
61500
 
+         }
61501
 
+         /^X\(\/\/\)[^/].*/{
61502
 
+           s//\1/
61503
 
+           q
61504
 
+         }
61505
 
+         /^X\(\/\/\)$/{
61506
 
+           s//\1/
61507
 
+           q
61508
 
+         }
61509
 
+         /^X\(\/\).*/{
61510
 
+           s//\1/
61511
 
+           q
61512
 
+         }
61513
 
+         s/.*/./; q'`/stamp-h$_am_stamp_count
61514
 
+ ;;
61515
 
+  :L)
61516
 
+  #
61517
 
+  # CONFIG_LINK
61518
 
+  #
61519
 
+
61520
 
+  if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
61521
 
+    :
61522
 
+  else
61523
 
+    # Prefer the file from the source tree if names are identical.
61524
 
+    if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
61525
 
+      ac_source=$srcdir/$ac_source
61526
 
+    fi
61527
 
+
61528
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
61529
 
+$as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
61530
 
+
61531
 
+    if test ! -r "$ac_source"; then
61532
 
+      as_fn_error $? "$ac_source: file not found" "$LINENO" 5
61533
 
+    fi
61534
 
+    rm -f "$ac_file"
61535
 
+
61536
 
+    # Try a relative symlink, then a hard link, then a copy.
61537
 
+    case $ac_source in
61538
 
+    [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
61539
 
+       *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
61540
 
+    esac
61541
 
+    ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
61542
 
+      ln "$ac_source" "$ac_file" 2>/dev/null ||
61543
 
+      cp -p "$ac_source" "$ac_file" ||
61544
 
+      as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
61545
 
+  fi
61546
 
+ ;;
61547
 
+  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
61548
 
+$as_echo "$as_me: executing $ac_file commands" >&6;}
61549
 
+ ;;
61550
 
+  esac
61551
 
+
61552
 
+
61553
 
+  case $ac_file$ac_mode in
61554
 
+    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
61555
 
+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
61556
 
+  # are listed without --file.  Let's play safe and only enable the eval
61557
 
+  # if we detect the quoting.
61558
 
+  case $CONFIG_FILES in
61559
 
+  *\'*) eval set x "$CONFIG_FILES" ;;
61560
 
+  *)   set x $CONFIG_FILES ;;
61561
 
+  esac
61562
 
+  shift
61563
 
+  for mf
61564
 
+  do
61565
 
+    # Strip MF so we end up with the name of the file.
61566
 
+    mf=`echo "$mf" | sed -e 's/:.*$//'`
61567
 
+    # Check whether this is an Automake generated Makefile or not.
61568
 
+    # We used to match only the files named `Makefile.in', but
61569
 
+    # some people rename them; so instead we look at the file content.
61570
 
+    # Grep'ing the first line is not enough: some people post-process
61571
 
+    # each Makefile.in and add a new line on top of each file to say so.
61572
 
+    # Grep'ing the whole file is not good either: AIX grep has a line
61573
 
+    # limit of 2048, but all sed's we know have understand at least 4000.
61574
 
+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
61575
 
+      dirpart=`$as_dirname -- "$mf" ||
61576
 
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61577
 
+        X"$mf" : 'X\(//\)[^/]' \| \
61578
 
+        X"$mf" : 'X\(//\)$' \| \
61579
 
+        X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
61580
 
+$as_echo X"$mf" |
61581
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61582
 
+           s//\1/
61583
 
+           q
61584
 
+         }
61585
 
+         /^X\(\/\/\)[^/].*/{
61586
 
+           s//\1/
61587
 
+           q
61588
 
+         }
61589
 
+         /^X\(\/\/\)$/{
61590
 
+           s//\1/
61591
 
+           q
61592
 
+         }
61593
 
+         /^X\(\/\).*/{
61594
 
+           s//\1/
61595
 
+           q
61596
 
+         }
61597
 
+         s/.*/./; q'`
61598
 
+    else
61599
 
+      continue
61600
 
+    fi
61601
 
+    # Extract the definition of DEPDIR, am__include, and am__quote
61602
 
+    # from the Makefile without running `make'.
61603
 
+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
61604
 
+    test -z "$DEPDIR" && continue
61605
 
+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
61606
 
+    test -z "am__include" && continue
61607
 
+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
61608
 
+    # When using ansi2knr, U may be empty or an underscore; expand it
61609
 
+    U=`sed -n 's/^U = //p' < "$mf"`
61610
 
+    # Find all dependency output files, they are included files with
61611
 
+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
61612
 
+    # simplest approach to changing $(DEPDIR) to its actual value in the
61613
 
+    # expansion.
61614
 
+    for file in `sed -n "
61615
 
+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
61616
 
+        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
61617
 
+      # Make sure the directory exists.
61618
 
+      test -f "$dirpart/$file" && continue
61619
 
+      fdir=`$as_dirname -- "$file" ||
61620
 
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
61621
 
+        X"$file" : 'X\(//\)[^/]' \| \
61622
 
+        X"$file" : 'X\(//\)$' \| \
61623
 
+        X"$file" : 'X\(/\)' \| . 2>/dev/null ||
61624
 
+$as_echo X"$file" |
61625
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
61626
 
+           s//\1/
61627
 
+           q
61628
 
+         }
61629
 
+         /^X\(\/\/\)[^/].*/{
61630
 
+           s//\1/
61631
 
+           q
61632
 
+         }
61633
 
+         /^X\(\/\/\)$/{
61634
 
+           s//\1/
61635
 
+           q
61636
 
+         }
61637
 
+         /^X\(\/\).*/{
61638
 
+           s//\1/
61639
 
+           q
61640
 
+         }
61641
 
+         s/.*/./; q'`
61642
 
+      as_dir=$dirpart/$fdir; as_fn_mkdir_p
61643
 
+      # echo "creating $dirpart/$file"
61644
 
+      echo '# dummy' > "$dirpart/$file"
61645
 
+    done
61646
 
+  done
61647
 
+}
61648
 
+ ;;
61649
 
+    "po-directories":C) 
61650
 
+    for ac_file in $CONFIG_FILES; do
61651
 
+      # Support "outfile[:infile[:infile...]]"
61652
 
+      case "$ac_file" in
61653
 
+        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
61654
 
+      esac
61655
 
+      # PO directories have a Makefile.in generated from Makefile.in.in.
61656
 
+      case "$ac_file" in */Makefile.in)
61657
 
+        # Adjust a relative srcdir.
61658
 
+        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
61659
 
+        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
61660
 
+        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
61661
 
+        # In autoconf-2.13 it is called $ac_given_srcdir.
61662
 
+        # In autoconf-2.50 it is called $srcdir.
61663
 
+        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
61664
 
+        case "$ac_given_srcdir" in
61665
 
+          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
61666
 
+          /*) top_srcdir="$ac_given_srcdir" ;;
61667
 
+          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
61668
 
+        esac
61669
 
+        # Treat a directory as a PO directory if and only if it has a
61670
 
+        # POTFILES.in file. This allows packages to have multiple PO
61671
 
+        # directories under different names or in different locations.
61672
 
+        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
61673
 
+          rm -f "$ac_dir/POTFILES"
61674
 
+          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
61675
 
+          gt_tab=`printf '\t'`
61676
 
+          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
61677
 
+          POMAKEFILEDEPS="POTFILES.in"
61678
 
+          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
61679
 
+          # on $ac_dir but don't depend on user-specified configuration
61680
 
+          # parameters.
61681
 
+          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
61682
 
+            # The LINGUAS file contains the set of available languages.
61683
 
+            if test -n "$OBSOLETE_ALL_LINGUAS"; then
61684
 
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
61685
 
+            fi
61686
 
+            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
61687
 
+            # Hide the ALL_LINGUAS assigment from automake < 1.5.
61688
 
+            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
61689
 
+            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
61690
 
+          else
61691
 
+            # The set of available languages was given in configure.in.
61692
 
+            # Hide the ALL_LINGUAS assigment from automake < 1.5.
61693
 
+            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
61694
 
+          fi
61695
 
+          # Compute POFILES
61696
 
+          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
61697
 
+          # Compute UPDATEPOFILES
61698
 
+          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
61699
 
+          # Compute DUMMYPOFILES
61700
 
+          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
61701
 
+          # Compute GMOFILES
61702
 
+          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
61703
 
+          case "$ac_given_srcdir" in
61704
 
+            .) srcdirpre= ;;
61705
 
+            *) srcdirpre='$(srcdir)/' ;;
61706
 
+          esac
61707
 
+          POFILES=
61708
 
+          UPDATEPOFILES=
61709
 
+          DUMMYPOFILES=
61710
 
+          GMOFILES=
61711
 
+          for lang in $ALL_LINGUAS; do
61712
 
+            POFILES="$POFILES $srcdirpre$lang.po"
61713
 
+            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
61714
 
+            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
61715
 
+            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
61716
 
+          done
61717
 
+          # CATALOGS depends on both $ac_dir and the user's LINGUAS
61718
 
+          # environment variable.
61719
 
+          INST_LINGUAS=
61720
 
+          if test -n "$ALL_LINGUAS"; then
61721
 
+            for presentlang in $ALL_LINGUAS; do
61722
 
+              useit=no
61723
 
+              if test "%UNSET%" != "$LINGUAS"; then
61724
 
+                desiredlanguages="$LINGUAS"
61725
 
+              else
61726
 
+                desiredlanguages="$ALL_LINGUAS"
61727
 
+              fi
61728
 
+              for desiredlang in $desiredlanguages; do
61729
 
+                # Use the presentlang catalog if desiredlang is
61730
 
+                #   a. equal to presentlang, or
61731
 
+                #   b. a variant of presentlang (because in this case,
61732
 
+                #      presentlang can be used as a fallback for messages
61733
 
+                #      which are not translated in the desiredlang catalog).
61734
 
+                case "$desiredlang" in
61735
 
+                  "$presentlang"*) useit=yes;;
61736
 
+                esac
61737
 
+              done
61738
 
+              if test $useit = yes; then
61739
 
+                INST_LINGUAS="$INST_LINGUAS $presentlang"
61740
 
+              fi
61741
 
+            done
61742
 
+          fi
61743
 
+          CATALOGS=
61744
 
+          if test -n "$INST_LINGUAS"; then
61745
 
+            for lang in $INST_LINGUAS; do
61746
 
+              CATALOGS="$CATALOGS $lang.gmo"
61747
 
+            done
61748
 
+          fi
61749
 
+          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
61750
 
+          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
61751
 
+          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
61752
 
+            if test -f "$f"; then
61753
 
+              case "$f" in
61754
 
+                *.orig | *.bak | *~) ;;
61755
 
+                *) cat "$f" >> "$ac_dir/Makefile" ;;
61756
 
+              esac
61757
 
+            fi
61758
 
+          done
61759
 
+        fi
61760
 
+        ;;
61761
 
+      esac
61762
 
+    done ;;
61763
 
+
61764
 
+  esac
61765
 
+done # for ac_tag
61766
 
+
61767
 
+
61768
 
+as_fn_exit 0
61769
 
+_ACEOF
61770
 
+ac_clean_files=$ac_clean_files_save
61771
 
+
61772
 
+test $ac_write_fail = 0 ||
61773
 
+  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
61774
 
+
61775
 
+
61776
 
+# configure is writing to config.log, and then calls config.status.
61777
 
+# config.status does its own redirection, appending to config.log.
61778
 
+# Unfortunately, on DOS this fails, as config.log is still kept open
61779
 
+# by configure, so config.status won't be able to write to it; its
61780
 
+# output is simply discarded.  So we exec the FD to /dev/null,
61781
 
+# effectively closing config.log, so it can be properly (re)opened and
61782
 
+# appended to by config.status.  When coming back to configure, we
61783
 
+# need to make the FD available again.
61784
 
+if test "$no_create" != yes; then
61785
 
+  ac_cs_success=:
61786
 
+  ac_config_status_args=
61787
 
+  test "$silent" = yes &&
61788
 
+    ac_config_status_args="$ac_config_status_args --quiet"
61789
 
+  exec 5>/dev/null
61790
 
+  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
61791
 
+  exec 5>>config.log
61792
 
+  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
61793
 
+  # would make configure fail if this is the last instruction.
61794
 
+  $ac_cs_success || as_fn_exit 1
61795
 
+fi
61796
 
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
61797
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
61798
 
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
61799
 
+fi
61800
 
+
61801
 
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' coreutils-8.13~/autom4te.cache/output.1 coreutils-8.13/autom4te.cache/output.1
61802
 
--- coreutils-8.13~/autom4te.cache/output.1     1969-12-31 19:00:00.000000000 -0500
61803
 
+++ coreutils-8.13/autom4te.cache/output.1      2011-10-01 12:40:39.836953376 -0400
61804
 
@@ -0,0 +1,61789 @@
61805
 
+@%:@! /bin/sh
61806
 
+@%:@ Guess values for system-dependent variables and create Makefiles.
61807
 
+@%:@ Generated by GNU Autoconf 2.68 for GNU coreutils 8.13.
61808
 
+@%:@
61809
 
+@%:@ Report bugs to <bug-coreutils@gnu.org>.
61810
 
+@%:@ 
61811
 
+@%:@ 
61812
 
+@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
61813
 
+@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
61814
 
+@%:@ Foundation, Inc.
61815
 
+@%:@ 
61816
 
+@%:@ 
61817
 
+@%:@ This configure script is free software; the Free Software Foundation
61818
 
+@%:@ gives unlimited permission to copy, distribute and modify it.
61819
 
+## -------------------- ##
61820
 
+## M4sh Initialization. ##
61821
 
+## -------------------- ##
61822
 
+
61823
 
+# Be more Bourne compatible
61824
 
+DUALCASE=1; export DUALCASE # for MKS sh
61825
 
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
61826
 
+  emulate sh
61827
 
+  NULLCMD=:
61828
 
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
61829
 
+  # is contrary to our usage.  Disable this feature.
61830
 
+  alias -g '${1+"$@"}'='"$@"'
61831
 
+  setopt NO_GLOB_SUBST
61832
 
+else
61833
 
+  case `(set -o) 2>/dev/null` in @%:@(
61834
 
+  *posix*) :
61835
 
+    set -o posix ;; @%:@(
61836
 
+  *) :
61837
 
+     ;;
61838
 
+esac
61839
 
+fi
61840
 
+
61841
 
+
61842
 
+as_nl='
61843
 
+'
61844
 
+export as_nl
61845
 
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
61846
 
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
61847
 
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
61848
 
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
61849
 
+# Prefer a ksh shell builtin over an external printf program on Solaris,
61850
 
+# but without wasting forks for bash or zsh.
61851
 
+if test -z "$BASH_VERSION$ZSH_VERSION" \
61852
 
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
61853
 
+  as_echo='print -r --'
61854
 
+  as_echo_n='print -rn --'
61855
 
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
61856
 
+  as_echo='printf %s\n'
61857
 
+  as_echo_n='printf %s'
61858
 
+else
61859
 
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
61860
 
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
61861
 
+    as_echo_n='/usr/ucb/echo -n'
61862
 
+  else
61863
 
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61864
 
+    as_echo_n_body='eval
61865
 
+      arg=$1;
61866
 
+      case $arg in @%:@(
61867
 
+      *"$as_nl"*)
61868
 
+       expr "X$arg" : "X\\(.*\\)$as_nl";
61869
 
+       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61870
 
+      esac;
61871
 
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
61872
 
+    '
61873
 
+    export as_echo_n_body
61874
 
+    as_echo_n='sh -c $as_echo_n_body as_echo'
61875
 
+  fi
61876
 
+  export as_echo_body
61877
 
+  as_echo='sh -c $as_echo_body as_echo'
61878
 
+fi
61879
 
+
61880
 
+# The user is always right.
61881
 
+if test "${PATH_SEPARATOR+set}" != set; then
61882
 
+  PATH_SEPARATOR=:
61883
 
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
61884
 
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
61885
 
+      PATH_SEPARATOR=';'
61886
 
+  }
61887
 
+fi
61888
 
+
61889
 
+
61890
 
+# IFS
61891
 
+# We need space, tab and new line, in precisely that order.  Quoting is
61892
 
+# there to prevent editors from complaining about space-tab.
61893
 
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
61894
 
+# splitting by setting IFS to empty value.)
61895
 
+IFS=" ""       $as_nl"
61896
 
+
61897
 
+# Find who we are.  Look in the path if we contain no directory separator.
61898
 
+as_myself=
61899
 
+case $0 in @%:@((
61900
 
+  *[\\/]* ) as_myself=$0 ;;
61901
 
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
61902
 
+for as_dir in $PATH
61903
 
+do
61904
 
+  IFS=$as_save_IFS
61905
 
+  test -z "$as_dir" && as_dir=.
61906
 
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
61907
 
+  done
61908
 
+IFS=$as_save_IFS
61909
 
+
61910
 
+     ;;
61911
 
+esac
61912
 
+# We did not find ourselves, most probably we were run as `sh COMMAND'
61913
 
+# in which case we are not to be found in the path.
61914
 
+if test "x$as_myself" = x; then
61915
 
+  as_myself=$0
61916
 
+fi
61917
 
+if test ! -f "$as_myself"; then
61918
 
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
61919
 
+  exit 1
61920
 
+fi
61921
 
+
61922
 
+# Unset variables that we do not need and which cause bugs (e.g. in
61923
 
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
61924
 
+# suppresses any "Segmentation fault" message there.  '((' could
61925
 
+# trigger a bug in pdksh 5.2.14.
61926
 
+for as_var in BASH_ENV ENV MAIL MAILPATH
61927
 
+do eval test x\${$as_var+set} = xset \
61928
 
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
61929
 
+done
61930
 
+PS1='$ '
61931
 
+PS2='> '
61932
 
+PS4='+ '
61933
 
+
61934
 
+# NLS nuisances.
61935
 
+LC_ALL=C
61936
 
+export LC_ALL
61937
 
+LANGUAGE=C
61938
 
+export LANGUAGE
61939
 
+
61940
 
+# CDPATH.
61941
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
61942
 
+
61943
 
+if test "x$CONFIG_SHELL" = x; then
61944
 
+  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
61945
 
+  emulate sh
61946
 
+  NULLCMD=:
61947
 
+  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
61948
 
+  # is contrary to our usage.  Disable this feature.
61949
 
+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
61950
 
+  setopt NO_GLOB_SUBST
61951
 
+else
61952
 
+  case \`(set -o) 2>/dev/null\` in @%:@(
61953
 
+  *posix*) :
61954
 
+    set -o posix ;; @%:@(
61955
 
+  *) :
61956
 
+     ;;
61957
 
+esac
61958
 
+fi
61959
 
+"
61960
 
+  as_required="as_fn_return () { (exit \$1); }
61961
 
+as_fn_success () { as_fn_return 0; }
61962
 
+as_fn_failure () { as_fn_return 1; }
61963
 
+as_fn_ret_success () { return 0; }
61964
 
+as_fn_ret_failure () { return 1; }
61965
 
+
61966
 
+exitcode=0
61967
 
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
61968
 
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
61969
 
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
61970
 
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
61971
 
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
61972
 
+  
61973
 
+else
61974
 
+  exitcode=1; echo positional parameters were not saved.
61975
 
+fi
61976
 
+test x\$exitcode = x0 || exit 1"
61977
 
+  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
61978
 
+  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
61979
 
+  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
61980
 
+  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
61981
 
+test \$(( 1 + 1 )) = 2 || exit 1"
61982
 
+  if (eval "$as_required") 2>/dev/null; then :
61983
 
+  as_have_required=yes
61984
 
+else
61985
 
+  as_have_required=no
61986
 
+fi
61987
 
+  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
61988
 
+  
61989
 
+else
61990
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
61991
 
+as_found=false
61992
 
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
61993
 
+do
61994
 
+  IFS=$as_save_IFS
61995
 
+  test -z "$as_dir" && as_dir=.
61996
 
+  as_found=:
61997
 
+  case $as_dir in @%:@(
61998
 
+        /*)
61999
 
+          for as_base in sh bash ksh sh5; do
62000
 
+            # Try only shells that exist, to save several forks.
62001
 
+            as_shell=$as_dir/$as_base
62002
 
+            if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
62003
 
+                   { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
62004
 
+  CONFIG_SHELL=$as_shell as_have_required=yes
62005
 
+                  if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
62006
 
+  break 2
62007
 
+fi
62008
 
+fi
62009
 
+          done;;
62010
 
+       esac
62011
 
+  as_found=false
62012
 
+done
62013
 
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
62014
 
+             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
62015
 
+  CONFIG_SHELL=$SHELL as_have_required=yes
62016
 
+fi; }
62017
 
+IFS=$as_save_IFS
62018
 
+
62019
 
+
62020
 
+      if test "x$CONFIG_SHELL" != x; then :
62021
 
+  # We cannot yet assume a decent shell, so we have to provide a
62022
 
+       # neutralization value for shells without unset; and this also
62023
 
+       # works around shells that cannot unset nonexistent variables.
62024
 
+       # Preserve -v and -x to the replacement shell.
62025
 
+       BASH_ENV=/dev/null
62026
 
+       ENV=/dev/null
62027
 
+       (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
62028
 
+       export CONFIG_SHELL
62029
 
+       case $- in @%:@ ((((
62030
 
+         *v*x* | *x*v* ) as_opts=-vx ;;
62031
 
+         *v* ) as_opts=-v ;;
62032
 
+         *x* ) as_opts=-x ;;
62033
 
+         * ) as_opts= ;;
62034
 
+       esac
62035
 
+       exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
62036
 
+fi
62037
 
+
62038
 
+    if test x$as_have_required = xno; then :
62039
 
+  $as_echo "$0: This script requires a shell more modern than all"
62040
 
+  $as_echo "$0: the shells that I found on your system."
62041
 
+  if test x${ZSH_VERSION+set} = xset ; then
62042
 
+    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
62043
 
+    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
62044
 
+  else
62045
 
+    $as_echo "$0: Please tell bug-autoconf@gnu.org and
62046
 
+$0: bug-coreutils@gnu.org about your system, including any
62047
 
+$0: error possibly output before this message. Then install
62048
 
+$0: a modern shell, or manually run the script under such a
62049
 
+$0: shell if you do have one."
62050
 
+  fi
62051
 
+  exit 1
62052
 
+fi
62053
 
+fi
62054
 
+fi
62055
 
+SHELL=${CONFIG_SHELL-/bin/sh}
62056
 
+export SHELL
62057
 
+# Unset more variables known to interfere with behavior of common tools.
62058
 
+CLICOLOR_FORCE= GREP_OPTIONS=
62059
 
+unset CLICOLOR_FORCE GREP_OPTIONS
62060
 
+
62061
 
+## --------------------- ##
62062
 
+## M4sh Shell Functions. ##
62063
 
+## --------------------- ##
62064
 
+@%:@ as_fn_unset VAR
62065
 
+@%:@ ---------------
62066
 
+@%:@ Portably unset VAR.
62067
 
+as_fn_unset ()
62068
 
+{
62069
 
+  { eval $1=; unset $1;}
62070
 
+}
62071
 
+as_unset=as_fn_unset
62072
 
+
62073
 
+@%:@ as_fn_set_status STATUS
62074
 
+@%:@ -----------------------
62075
 
+@%:@ Set @S|@? to STATUS, without forking.
62076
 
+as_fn_set_status ()
62077
 
+{
62078
 
+  return $1
62079
 
+} @%:@ as_fn_set_status
62080
 
+
62081
 
+@%:@ as_fn_exit STATUS
62082
 
+@%:@ -----------------
62083
 
+@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
62084
 
+as_fn_exit ()
62085
 
+{
62086
 
+  set +e
62087
 
+  as_fn_set_status $1
62088
 
+  exit $1
62089
 
+} @%:@ as_fn_exit
62090
 
+
62091
 
+@%:@ as_fn_mkdir_p
62092
 
+@%:@ -------------
62093
 
+@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
62094
 
+as_fn_mkdir_p ()
62095
 
+{
62096
 
+
62097
 
+  case $as_dir in #(
62098
 
+  -*) as_dir=./$as_dir;;
62099
 
+  esac
62100
 
+  test -d "$as_dir" || eval $as_mkdir_p || {
62101
 
+    as_dirs=
62102
 
+    while :; do
62103
 
+      case $as_dir in #(
62104
 
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
62105
 
+      *) as_qdir=$as_dir;;
62106
 
+      esac
62107
 
+      as_dirs="'$as_qdir' $as_dirs"
62108
 
+      as_dir=`$as_dirname -- "$as_dir" ||
62109
 
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
62110
 
+        X"$as_dir" : 'X\(//\)[^/]' \| \
62111
 
+        X"$as_dir" : 'X\(//\)$' \| \
62112
 
+        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
62113
 
+$as_echo X"$as_dir" |
62114
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
62115
 
+           s//\1/
62116
 
+           q
62117
 
+         }
62118
 
+         /^X\(\/\/\)[^/].*/{
62119
 
+           s//\1/
62120
 
+           q
62121
 
+         }
62122
 
+         /^X\(\/\/\)$/{
62123
 
+           s//\1/
62124
 
+           q
62125
 
+         }
62126
 
+         /^X\(\/\).*/{
62127
 
+           s//\1/
62128
 
+           q
62129
 
+         }
62130
 
+         s/.*/./; q'`
62131
 
+      test -d "$as_dir" && break
62132
 
+    done
62133
 
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
62134
 
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
62135
 
+
62136
 
+
62137
 
+} @%:@ as_fn_mkdir_p
62138
 
+@%:@ as_fn_append VAR VALUE
62139
 
+@%:@ ----------------------
62140
 
+@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
62141
 
+@%:@ advantage of any shell optimizations that allow amortized linear growth over
62142
 
+@%:@ repeated appends, instead of the typical quadratic growth present in naive
62143
 
+@%:@ implementations.
62144
 
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
62145
 
+  eval 'as_fn_append ()
62146
 
+  {
62147
 
+    eval $1+=\$2
62148
 
+  }'
62149
 
+else
62150
 
+  as_fn_append ()
62151
 
+  {
62152
 
+    eval $1=\$$1\$2
62153
 
+  }
62154
 
+fi # as_fn_append
62155
 
+
62156
 
+@%:@ as_fn_arith ARG...
62157
 
+@%:@ ------------------
62158
 
+@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
62159
 
+@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
62160
 
+@%:@ must be portable across @S|@(()) and expr.
62161
 
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
62162
 
+  eval 'as_fn_arith ()
62163
 
+  {
62164
 
+    as_val=$(( $* ))
62165
 
+  }'
62166
 
+else
62167
 
+  as_fn_arith ()
62168
 
+  {
62169
 
+    as_val=`expr "$@" || test $? -eq 1`
62170
 
+  }
62171
 
+fi # as_fn_arith
62172
 
+
62173
 
+
62174
 
+@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
62175
 
+@%:@ ----------------------------------------
62176
 
+@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
62177
 
+@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
62178
 
+@%:@ script with STATUS, using 1 if that was 0.
62179
 
+as_fn_error ()
62180
 
+{
62181
 
+  as_status=$1; test $as_status -eq 0 && as_status=1
62182
 
+  if test "$4"; then
62183
 
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
62184
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
62185
 
+  fi
62186
 
+  $as_echo "$as_me: error: $2" >&2
62187
 
+  as_fn_exit $as_status
62188
 
+} @%:@ as_fn_error
62189
 
+
62190
 
+if expr a : '\(a\)' >/dev/null 2>&1 &&
62191
 
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
62192
 
+  as_expr=expr
62193
 
+else
62194
 
+  as_expr=false
62195
 
+fi
62196
 
+
62197
 
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
62198
 
+  as_basename=basename
62199
 
+else
62200
 
+  as_basename=false
62201
 
+fi
62202
 
+
62203
 
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
62204
 
+  as_dirname=dirname
62205
 
+else
62206
 
+  as_dirname=false
62207
 
+fi
62208
 
+
62209
 
+as_me=`$as_basename -- "$0" ||
62210
 
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
62211
 
+        X"$0" : 'X\(//\)$' \| \
62212
 
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
62213
 
+$as_echo X/"$0" |
62214
 
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
62215
 
+           s//\1/
62216
 
+           q
62217
 
+         }
62218
 
+         /^X\/\(\/\/\)$/{
62219
 
+           s//\1/
62220
 
+           q
62221
 
+         }
62222
 
+         /^X\/\(\/\).*/{
62223
 
+           s//\1/
62224
 
+           q
62225
 
+         }
62226
 
+         s/.*/./; q'`
62227
 
+
62228
 
+# Avoid depending upon Character Ranges.
62229
 
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
62230
 
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
62231
 
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
62232
 
+as_cr_digits='0123456789'
62233
 
+as_cr_alnum=$as_cr_Letters$as_cr_digits
62234
 
+
62235
 
+
62236
 
+  as_lineno_1=$LINENO as_lineno_1a=$LINENO
62237
 
+  as_lineno_2=$LINENO as_lineno_2a=$LINENO
62238
 
+  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
62239
 
+  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
62240
 
+  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
62241
 
+  sed -n '
62242
 
+    p
62243
 
+    /[$]LINENO/=
62244
 
+  ' <$as_myself |
62245
 
+    sed '
62246
 
+      s/[$]LINENO.*/&-/
62247
 
+      t lineno
62248
 
+      b
62249
 
+      :lineno
62250
 
+      N
62251
 
+      :loop
62252
 
+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
62253
 
+      t loop
62254
 
+      s/-\n.*//
62255
 
+    ' >$as_me.lineno &&
62256
 
+  chmod +x "$as_me.lineno" ||
62257
 
+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
62258
 
+
62259
 
+  # Don't try to exec as it changes $[0], causing all sort of problems
62260
 
+  # (the dirname of $[0] is not the place where we might find the
62261
 
+  # original and so on.  Autoconf is especially sensitive to this).
62262
 
+  . "./$as_me.lineno"
62263
 
+  # Exit status is that of the last command.
62264
 
+  exit
62265
 
+}
62266
 
+
62267
 
+ECHO_C= ECHO_N= ECHO_T=
62268
 
+case `echo -n x` in @%:@(((((
62269
 
+-n*)
62270
 
+  case `echo 'xy\c'` in
62271
 
+  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
62272
 
+  xy)  ECHO_C='\c';;
62273
 
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
62274
 
+       ECHO_T='        ';;
62275
 
+  esac;;
62276
 
+*)
62277
 
+  ECHO_N='-n';;
62278
 
+esac
62279
 
+
62280
 
+rm -f conf$$ conf$$.exe conf$$.file
62281
 
+if test -d conf$$.dir; then
62282
 
+  rm -f conf$$.dir/conf$$.file
62283
 
+else
62284
 
+  rm -f conf$$.dir
62285
 
+  mkdir conf$$.dir 2>/dev/null
62286
 
+fi
62287
 
+if (echo >conf$$.file) 2>/dev/null; then
62288
 
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
62289
 
+    as_ln_s='ln -s'
62290
 
+    # ... but there are two gotchas:
62291
 
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
62292
 
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
62293
 
+    # In both cases, we have to default to `cp -p'.
62294
 
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
62295
 
+      as_ln_s='cp -p'
62296
 
+  elif ln conf$$.file conf$$ 2>/dev/null; then
62297
 
+    as_ln_s=ln
62298
 
+  else
62299
 
+    as_ln_s='cp -p'
62300
 
+  fi
62301
 
+else
62302
 
+  as_ln_s='cp -p'
62303
 
+fi
62304
 
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
62305
 
+rmdir conf$$.dir 2>/dev/null
62306
 
+
62307
 
+if mkdir -p . 2>/dev/null; then
62308
 
+  as_mkdir_p='mkdir -p "$as_dir"'
62309
 
+else
62310
 
+  test -d ./-p && rmdir ./-p
62311
 
+  as_mkdir_p=false
62312
 
+fi
62313
 
+
62314
 
+if test -x / >/dev/null 2>&1; then
62315
 
+  as_test_x='test -x'
62316
 
+else
62317
 
+  if ls -dL / >/dev/null 2>&1; then
62318
 
+    as_ls_L_option=L
62319
 
+  else
62320
 
+    as_ls_L_option=
62321
 
+  fi
62322
 
+  as_test_x='
62323
 
+    eval sh -c '\''
62324
 
+      if test -d "$1"; then
62325
 
+       test -d "$1/.";
62326
 
+      else
62327
 
+       case $1 in @%:@(
62328
 
+       -*)set "./$1";;
62329
 
+       esac;
62330
 
+       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
62331
 
+       ???[sx]*):;;*)false;;esac;fi
62332
 
+    '\'' sh
62333
 
+  '
62334
 
+fi
62335
 
+as_executable_p=$as_test_x
62336
 
+
62337
 
+# Sed expression to map a string onto a valid CPP name.
62338
 
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
62339
 
+
62340
 
+# Sed expression to map a string onto a valid variable name.
62341
 
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
62342
 
+
62343
 
+
62344
 
+test -n "$DJDIR" || exec 7<&0 </dev/null
62345
 
+exec 6>&1
62346
 
+
62347
 
+# Name of the host.
62348
 
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
62349
 
+# so uname gets run too.
62350
 
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
62351
 
+
62352
 
+#
62353
 
+# Initializations.
62354
 
+#
62355
 
+ac_default_prefix=/usr/local
62356
 
+ac_clean_files=
62357
 
+ac_config_libobj_dir=.
62358
 
+LIB@&t@OBJS=
62359
 
+cross_compiling=no
62360
 
+subdirs=
62361
 
+MFLAGS=
62362
 
+MAKEFLAGS=
62363
 
+
62364
 
+# Identity of this package.
62365
 
+PACKAGE_NAME='GNU coreutils'
62366
 
+PACKAGE_TARNAME='coreutils'
62367
 
+PACKAGE_VERSION='8.13'
62368
 
+PACKAGE_STRING='GNU coreutils 8.13'
62369
 
+PACKAGE_BUGREPORT='bug-coreutils@gnu.org'
62370
 
+PACKAGE_URL='http://www.gnu.org/software/coreutils/'
62371
 
+
62372
 
+ac_unique_file="src/ls.c"
62373
 
+# Factoring default headers for most tests.
62374
 
+ac_includes_default="\
62375
 
+#include <stdio.h>
62376
 
+#ifdef HAVE_SYS_TYPES_H
62377
 
+# include <sys/types.h>
62378
 
+#endif
62379
 
+#ifdef HAVE_SYS_STAT_H
62380
 
+# include <sys/stat.h>
62381
 
+#endif
62382
 
+#ifdef STDC_HEADERS
62383
 
+# include <stdlib.h>
62384
 
+# include <stddef.h>
62385
 
+#else
62386
 
+# ifdef HAVE_STDLIB_H
62387
 
+#  include <stdlib.h>
62388
 
+# endif
62389
 
+#endif
62390
 
+#ifdef HAVE_STRING_H
62391
 
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
62392
 
+#  include <memory.h>
62393
 
+# endif
62394
 
+# include <string.h>
62395
 
+#endif
62396
 
+#ifdef HAVE_STRINGS_H
62397
 
+# include <strings.h>
62398
 
+#endif
62399
 
+#ifdef HAVE_INTTYPES_H
62400
 
+# include <inttypes.h>
62401
 
+#endif
62402
 
+#ifdef HAVE_STDINT_H
62403
 
+# include <stdint.h>
62404
 
+#endif
62405
 
+#ifdef HAVE_UNISTD_H
62406
 
+# include <unistd.h>
62407
 
+#endif"
62408
 
+
62409
 
+gl_use_threads_default=
62410
 
+ac_header_list=
62411
 
+ac_func_list=
62412
 
+gl_fnmatch_required=POSIX
62413
 
+gl_getopt_required=POSIX
62414
 
+gl_getopt_required=POSIX
62415
 
+gt_needs=
62416
 
+ac_subst_vars='gltests_LTLIBOBJS
62417
 
+gltests_LIBOBJS
62418
 
+gl_LTLIBOBJS
62419
 
+gl_LIBOBJS
62420
 
+CONFIG_INCLUDE
62421
 
+am__EXEEXT_FALSE
62422
 
+am__EXEEXT_TRUE
62423
 
+LTLIBOBJS
62424
 
+POSUB
62425
 
+INTLLIBS
62426
 
+XGETTEXT_EXTRA_OPTIONS
62427
 
+MSGMERGE
62428
 
+XGETTEXT_015
62429
 
+XGETTEXT
62430
 
+GMSGFMT_015
62431
 
+MSGFMT_015
62432
 
+GMSGFMT
62433
 
+MSGFMT
62434
 
+GETTEXT_MACRO_VERSION
62435
 
+USE_NLS
62436
 
+CONFIG_STATUS_DEPENDENCIES
62437
 
+CROSS_COMPILING_FALSE
62438
 
+CROSS_COMPILING_TRUE
62439
 
+NO_INSTALL_PROGS_DEFAULT
62440
 
+OPTIONAL_PKGLIB_PROGS
62441
 
+OPTIONAL_BIN_PROGS
62442
 
+INSTALL_SU
62443
 
+LIB_GMP
62444
 
+LIB_CRYPT
62445
 
+GNULIB_TEST_WARN_CFLAGS
62446
 
+GNULIB_WARN_CFLAGS
62447
 
+WERROR_CFLAGS
62448
 
+SEQ_LIBM
62449
 
+LIB_CAP
62450
 
+LIB_FDATASYNC
62451
 
+LIB_XATTR
62452
 
+LIB@&t@OBJS
62453
 
+ANSI2KNR
62454
 
+U
62455
 
+MAN
62456
 
+HELP2MAN
62457
 
+LIBTESTS_LIBDEPS
62458
 
+LIBCOREUTILS_LTLIBDEPS
62459
 
+LIBCOREUTILS_LIBDEPS
62460
 
+YIELD_LIB
62461
 
+abs_aux_dir
62462
 
+INTL_MACOSX_LIBS
62463
 
+INET_PTON_LIB
62464
 
+LOCALE_TR_UTF8
62465
 
+gltests_WITNESS
62466
 
+NEXT_AS_FIRST_DIRECTIVE_WCHAR_H
62467
 
+NEXT_WCHAR_H
62468
 
+WARN_CFLAGS
62469
 
+LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE
62470
 
+LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE
62471
 
+LIBUNISTRING_UNIWIDTH_H
62472
 
+LIBUNISTRING_UNITYPES_H
62473
 
+LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE
62474
 
+LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE
62475
 
+LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE
62476
 
+LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE
62477
 
+LIBUNISTRING_UNISTR_H
62478
 
+HAVE_UNISTD_H
62479
 
+NEXT_AS_FIRST_DIRECTIVE_UNISTD_H
62480
 
+NEXT_UNISTD_H
62481
 
+LIB_TIMER_TIME
62482
 
+PTHREAD_H_DEFINES_STRUCT_TIMESPEC
62483
 
+SYS_TIME_H_DEFINES_STRUCT_TIMESPEC
62484
 
+TIME_H_DEFINES_STRUCT_TIMESPEC
62485
 
+NEXT_AS_FIRST_DIRECTIVE_TIME_H
62486
 
+NEXT_TIME_H
62487
 
+NEXT_AS_FIRST_DIRECTIVE_TERMIOS_H
62488
 
+NEXT_TERMIOS_H
62489
 
+HAVE_TERMIOS_H
62490
 
+HAVE_DECL_TCGETSID
62491
 
+GNULIB_TCGETSID
62492
 
+NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H
62493
 
+NEXT_SYS_WAIT_H
62494
 
+GNULIB_WAITPID
62495
 
+HAVE_SYS_UTSNAME_H
62496
 
+NEXT_AS_FIRST_DIRECTIVE_SYS_UTSNAME_H
62497
 
+NEXT_SYS_UTSNAME_H
62498
 
+HAVE_STRUCT_UTSNAME
62499
 
+HAVE_UNAME
62500
 
+GNULIB_UNAME
62501
 
+HAVE_SYS_UIO_H
62502
 
+NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H
62503
 
+NEXT_SYS_UIO_H
62504
 
+NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H
62505
 
+NEXT_SYS_STAT_H
62506
 
+NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H
62507
 
+NEXT_SYS_IOCTL_H
62508
 
+HAVE_SYS_IOCTL_H
62509
 
+NEXT_AS_FIRST_DIRECTIVE_STRING_H
62510
 
+NEXT_STRING_H
62511
 
+NEXT_AS_FIRST_DIRECTIVE_STDLIB_H
62512
 
+NEXT_STDLIB_H
62513
 
+NEXT_AS_FIRST_DIRECTIVE_STDIO_H
62514
 
+NEXT_STDIO_H
62515
 
+GL_GENERATE_STDARG_H_FALSE
62516
 
+GL_GENERATE_STDARG_H_TRUE
62517
 
+STDARG_H
62518
 
+NEXT_AS_FIRST_DIRECTIVE_STDARG_H
62519
 
+NEXT_STDARG_H
62520
 
+NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H
62521
 
+NEXT_SIGNAL_H
62522
 
+REPLACE_PTHREAD_SIGMASK
62523
 
+HAVE_SIGHANDLER_T
62524
 
+HAVE_TYPE_VOLATILE_SIG_ATOMIC_T
62525
 
+HAVE_STRUCT_SIGACTION_SA_SIGACTION
62526
 
+HAVE_SIGACTION
62527
 
+HAVE_SIGINFO_T
62528
 
+HAVE_SIGSET_T
62529
 
+HAVE_PTHREAD_SIGMASK
62530
 
+HAVE_POSIX_SIGNALBLOCKING
62531
 
+GNULIB_SIGACTION
62532
 
+GNULIB_SIGPROCMASK
62533
 
+GNULIB_SIGNAL_H_SIGPIPE
62534
 
+GNULIB_PTHREAD_SIGMASK
62535
 
+GL_GENERATE_SELINUX_CONTEXT_H_FALSE
62536
 
+GL_GENERATE_SELINUX_CONTEXT_H_TRUE
62537
 
+SELINUX_CONTEXT_H
62538
 
+NEXT_AS_FIRST_DIRECTIVE_SELINUX_SELINUX_H
62539
 
+NEXT_SELINUX_SELINUX_H
62540
 
+LIB_SELINUX
62541
 
+GL_GENERATE_SCHED_H_FALSE
62542
 
+GL_GENERATE_SCHED_H_TRUE
62543
 
+SCHED_H
62544
 
+HAVE_STRUCT_SCHED_PARAM
62545
 
+HAVE_SCHED_H
62546
 
+NEXT_AS_FIRST_DIRECTIVE_SCHED_H
62547
 
+NEXT_SCHED_H
62548
 
+LIB_PTHREAD
62549
 
+GL_GENERATE_PTHREAD_H_FALSE
62550
 
+GL_GENERATE_PTHREAD_H_TRUE
62551
 
+PTHREAD_H
62552
 
+NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H
62553
 
+NEXT_PTHREAD_H
62554
 
+HAVE_PTHREAD_SPINLOCK_T
62555
 
+HAVE_PTHREAD_T
62556
 
+HAVE_PTHREAD_H
62557
 
+DEFAULT_POSIX2_VERSION
62558
 
+PREFERABLY_POSIX_SHELL
62559
 
+POSIX_SHELL
62560
 
+PERL
62561
 
+YFLAGS
62562
 
+YACC
62563
 
+HAVE__BOOL
62564
 
+GL_GENERATE_STDBOOL_H_FALSE
62565
 
+GL_GENERATE_STDBOOL_H_TRUE
62566
 
+STDBOOL_H
62567
 
+GL_GENERATE_NETINET_IN_H_FALSE
62568
 
+GL_GENERATE_NETINET_IN_H_TRUE
62569
 
+NETINET_IN_H
62570
 
+HAVE_NETINET_IN_H
62571
 
+NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H
62572
 
+NEXT_NETINET_IN_H
62573
 
+LIB_NANOSLEEP
62574
 
+LIBSOCKET
62575
 
+HAVE_SYS_SELECT_H
62576
 
+NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H
62577
 
+NEXT_SYS_SELECT_H
62578
 
+REPLACE_SELECT
62579
 
+REPLACE_PSELECT
62580
 
+HAVE_PSELECT
62581
 
+GNULIB_SELECT
62582
 
+GNULIB_PSELECT
62583
 
+REPLACE_TIMEGM
62584
 
+REPLACE_NANOSLEEP
62585
 
+REPLACE_MKTIME
62586
 
+REPLACE_LOCALTIME_R
62587
 
+HAVE_TIMEGM
62588
 
+HAVE_STRPTIME
62589
 
+HAVE_NANOSLEEP
62590
 
+HAVE_DECL_LOCALTIME_R
62591
 
+GNULIB_TIME_R
62592
 
+GNULIB_TIMEGM
62593
 
+GNULIB_STRPTIME
62594
 
+GNULIB_NANOSLEEP
62595
 
+GNULIB_MKTIME
62596
 
+UNDEFINE_STRTOK_R
62597
 
+REPLACE_STRTOK_R
62598
 
+REPLACE_STRSIGNAL
62599
 
+REPLACE_STRNLEN
62600
 
+REPLACE_STRNDUP
62601
 
+REPLACE_STRNCAT
62602
 
+REPLACE_STRERROR_R
62603
 
+REPLACE_STRERROR
62604
 
+REPLACE_STRCHRNUL
62605
 
+REPLACE_STRCASESTR
62606
 
+REPLACE_STRSTR
62607
 
+REPLACE_STRDUP
62608
 
+REPLACE_STPNCPY
62609
 
+REPLACE_MEMMEM
62610
 
+REPLACE_MEMCHR
62611
 
+HAVE_STRVERSCMP
62612
 
+HAVE_DECL_STRSIGNAL
62613
 
+HAVE_DECL_STRERROR_R
62614
 
+HAVE_DECL_STRTOK_R
62615
 
+HAVE_STRCASESTR
62616
 
+HAVE_STRSEP
62617
 
+HAVE_STRPBRK
62618
 
+HAVE_DECL_STRNLEN
62619
 
+HAVE_DECL_STRNDUP
62620
 
+HAVE_DECL_STRDUP
62621
 
+HAVE_STRCHRNUL
62622
 
+HAVE_STPNCPY
62623
 
+HAVE_STPCPY
62624
 
+HAVE_RAWMEMCHR
62625
 
+HAVE_DECL_MEMRCHR
62626
 
+HAVE_MEMPCPY
62627
 
+HAVE_DECL_MEMMEM
62628
 
+HAVE_MEMCHR
62629
 
+HAVE_FFSLL
62630
 
+HAVE_FFSL
62631
 
+HAVE_MBSLEN
62632
 
+GNULIB_STRVERSCMP
62633
 
+GNULIB_STRSIGNAL
62634
 
+GNULIB_STRERROR_R
62635
 
+GNULIB_STRERROR
62636
 
+GNULIB_MBSTOK_R
62637
 
+GNULIB_MBSSEP
62638
 
+GNULIB_MBSSPN
62639
 
+GNULIB_MBSPBRK
62640
 
+GNULIB_MBSCSPN
62641
 
+GNULIB_MBSCASESTR
62642
 
+GNULIB_MBSPCASECMP
62643
 
+GNULIB_MBSNCASECMP
62644
 
+GNULIB_MBSCASECMP
62645
 
+GNULIB_MBSSTR
62646
 
+GNULIB_MBSRCHR
62647
 
+GNULIB_MBSCHR
62648
 
+GNULIB_MBSNLEN
62649
 
+GNULIB_MBSLEN
62650
 
+GNULIB_STRTOK_R
62651
 
+GNULIB_STRCASESTR
62652
 
+GNULIB_STRSTR
62653
 
+GNULIB_STRSEP
62654
 
+GNULIB_STRPBRK
62655
 
+GNULIB_STRNLEN
62656
 
+GNULIB_STRNDUP
62657
 
+GNULIB_STRNCAT
62658
 
+GNULIB_STRDUP
62659
 
+GNULIB_STRCHRNUL
62660
 
+GNULIB_STPNCPY
62661
 
+GNULIB_STPCPY
62662
 
+GNULIB_RAWMEMCHR
62663
 
+GNULIB_MEMRCHR
62664
 
+GNULIB_MEMPCPY
62665
 
+GNULIB_MEMMEM
62666
 
+GNULIB_MEMCHR
62667
 
+GNULIB_FFSLL
62668
 
+GNULIB_FFSL
62669
 
+LOCALE_FR_UTF8
62670
 
+LOCALE_ZH_CN
62671
 
+LOCALE_JA
62672
 
+NEXT_AS_FIRST_DIRECTIVE_MATH_H
62673
 
+NEXT_MATH_H
62674
 
+LTLIBMULTITHREAD
62675
 
+LIBMULTITHREAD
62676
 
+LTLIBTHREAD
62677
 
+LIBTHREAD
62678
 
+LIBPTH_PREFIX
62679
 
+LTLIBPTH
62680
 
+LIBPTH
62681
 
+NEXT_AS_FIRST_DIRECTIVE_LOCALE_H
62682
 
+NEXT_LOCALE_H
62683
 
+HAVE_XLOCALE_H
62684
 
+NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
62685
 
+NEXT_STDDEF_H
62686
 
+GL_GENERATE_STDDEF_H_FALSE
62687
 
+GL_GENERATE_STDDEF_H_TRUE
62688
 
+STDDEF_H
62689
 
+HAVE_WCHAR_T
62690
 
+REPLACE_NULL
62691
 
+REPLACE_DUPLOCALE
62692
 
+REPLACE_SETLOCALE
62693
 
+HAVE_DUPLOCALE
62694
 
+GNULIB_DUPLOCALE
62695
 
+GNULIB_SETLOCALE
62696
 
+LOCALCHARSET_TESTS_ENVIRONMENT
62697
 
+GLIBC21
62698
 
+IGNORE_UNUSED_LIBRARIES_CFLAGS
62699
 
+HAVE_LANGINFO_YESEXPR
62700
 
+HAVE_LANGINFO_ERA
62701
 
+HAVE_LANGINFO_T_FMT_AMPM
62702
 
+HAVE_LANGINFO_CODESET
62703
 
+HAVE_LANGINFO_H
62704
 
+NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H
62705
 
+NEXT_LANGINFO_H
62706
 
+REPLACE_NL_LANGINFO
62707
 
+HAVE_NL_LANGINFO
62708
 
+GNULIB_NL_LANGINFO
62709
 
+REPLACE_TOWLOWER
62710
 
+REPLACE_ISWCNTRL
62711
 
+HAVE_WCTYPE_H
62712
 
+NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H
62713
 
+NEXT_WCTYPE_H
62714
 
+HAVE_WINT_T
62715
 
+HAVE_ISWCNTRL
62716
 
+REPLACE_ISWBLANK
62717
 
+HAVE_WCTRANS_T
62718
 
+HAVE_WCTYPE_T
62719
 
+HAVE_ISWBLANK
62720
 
+GNULIB_TOWCTRANS
62721
 
+GNULIB_WCTRANS
62722
 
+GNULIB_ISWCTYPE
62723
 
+GNULIB_WCTYPE
62724
 
+GNULIB_ISWBLANK
62725
 
+NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H
62726
 
+NEXT_INTTYPES_H
62727
 
+UINT64_MAX_EQ_ULONG_MAX
62728
 
+UINT32_MAX_LT_UINTMAX_MAX
62729
 
+PRIPTR_PREFIX
62730
 
+PRI_MACROS_BROKEN
62731
 
+INT64_MAX_EQ_LONG_MAX
62732
 
+INT32_MAX_LT_INTMAX_MAX
62733
 
+HAVE_DECL_STRTOUMAX
62734
 
+HAVE_DECL_STRTOIMAX
62735
 
+HAVE_DECL_IMAXDIV
62736
 
+HAVE_DECL_IMAXABS
62737
 
+GNULIB_STRTOUMAX
62738
 
+GNULIB_STRTOIMAX
62739
 
+GNULIB_IMAXDIV
62740
 
+GNULIB_IMAXABS
62741
 
+GL_GENERATE_STDINT_H_FALSE
62742
 
+GL_GENERATE_STDINT_H_TRUE
62743
 
+STDINT_H
62744
 
+WINT_T_SUFFIX
62745
 
+WCHAR_T_SUFFIX
62746
 
+SIG_ATOMIC_T_SUFFIX
62747
 
+SIZE_T_SUFFIX
62748
 
+PTRDIFF_T_SUFFIX
62749
 
+HAVE_SIGNED_WINT_T
62750
 
+HAVE_SIGNED_WCHAR_T
62751
 
+HAVE_SIGNED_SIG_ATOMIC_T
62752
 
+BITSIZEOF_WINT_T
62753
 
+BITSIZEOF_WCHAR_T
62754
 
+BITSIZEOF_SIG_ATOMIC_T
62755
 
+BITSIZEOF_SIZE_T
62756
 
+BITSIZEOF_PTRDIFF_T
62757
 
+APPLE_UNIVERSAL_BUILD
62758
 
+HAVE_SYS_BITYPES_H
62759
 
+HAVE_SYS_INTTYPES_H
62760
 
+HAVE_STDINT_H
62761
 
+NEXT_AS_FIRST_DIRECTIVE_STDINT_H
62762
 
+NEXT_STDINT_H
62763
 
+HAVE_SYS_TYPES_H
62764
 
+HAVE_INTTYPES_H
62765
 
+HAVE_WCHAR_H
62766
 
+HAVE_UNSIGNED_LONG_LONG_INT
62767
 
+HAVE_LONG_LONG_INT
62768
 
+NEXT_AS_FIRST_DIRECTIVE_ICONV_H
62769
 
+NEXT_ICONV_H
62770
 
+GL_GENERATE_ICONV_H_FALSE
62771
 
+GL_GENERATE_ICONV_H_TRUE
62772
 
+ICONV_H
62773
 
+REPLACE_ICONV_UTF
62774
 
+REPLACE_ICONV_OPEN
62775
 
+REPLACE_ICONV
62776
 
+ICONV_CONST
62777
 
+GNULIB_ICONV
62778
 
+LTLIBICONV
62779
 
+LIBICONV
62780
 
+GNU_MAKE_FALSE
62781
 
+GNU_MAKE_TRUE
62782
 
+NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H
62783
 
+NEXT_SYS_TIME_H
62784
 
+REPLACE_GETTIMEOFDAY
62785
 
+HAVE_SYS_TIME_H
62786
 
+HAVE_STRUCT_TIMEVAL
62787
 
+HAVE_GETTIMEOFDAY
62788
 
+GNULIB_GETTIMEOFDAY
62789
 
+LTLIBINTL
62790
 
+LIBINTL
62791
 
+GETOPT_H
62792
 
+HAVE_GETOPT_H
62793
 
+NEXT_AS_FIRST_DIRECTIVE_GETOPT_H
62794
 
+NEXT_GETOPT_H
62795
 
+GETLOADAVG_LIBS
62796
 
+LIB_GETHRXTIME
62797
 
+GETHOSTNAME_LIB
62798
 
+GETADDRINFO_LIB
62799
 
+INET_NTOP_LIB
62800
 
+SERVENT_LIB
62801
 
+HOSTENT_LIB
62802
 
+HAVE_NETDB_H
62803
 
+NEXT_AS_FIRST_DIRECTIVE_NETDB_H
62804
 
+NEXT_NETDB_H
62805
 
+REPLACE_GAI_STRERROR
62806
 
+HAVE_DECL_GETNAMEINFO
62807
 
+HAVE_DECL_GETADDRINFO
62808
 
+HAVE_DECL_GAI_STRERROR
62809
 
+HAVE_DECL_FREEADDRINFO
62810
 
+HAVE_STRUCT_ADDRINFO
62811
 
+GNULIB_GETADDRINFO
62812
 
+HAVE_WS2TCPIP_H
62813
 
+HAVE_SYS_SOCKET_H
62814
 
+NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H
62815
 
+NEXT_SYS_SOCKET_H
62816
 
+HAVE_ACCEPT4
62817
 
+HAVE_SA_FAMILY_T
62818
 
+HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY
62819
 
+HAVE_STRUCT_SOCKADDR_STORAGE
62820
 
+GNULIB_ACCEPT4
62821
 
+GNULIB_SHUTDOWN
62822
 
+GNULIB_SETSOCKOPT
62823
 
+GNULIB_SENDTO
62824
 
+GNULIB_RECVFROM
62825
 
+GNULIB_SEND
62826
 
+GNULIB_RECV
62827
 
+GNULIB_LISTEN
62828
 
+GNULIB_GETSOCKOPT
62829
 
+GNULIB_GETSOCKNAME
62830
 
+GNULIB_GETPEERNAME
62831
 
+GNULIB_BIND
62832
 
+GNULIB_ACCEPT
62833
 
+GNULIB_CONNECT
62834
 
+GNULIB_SOCKET
62835
 
+REPLACE_TRUNCL
62836
 
+REPLACE_TRUNCF
62837
 
+REPLACE_TRUNC
62838
 
+REPLACE_SIGNBIT_USING_GCC
62839
 
+REPLACE_SIGNBIT
62840
 
+REPLACE_ROUNDL
62841
 
+REPLACE_ROUNDF
62842
 
+REPLACE_ROUND
62843
 
+REPLACE_NAN
62844
 
+REPLACE_LDEXPL
62845
 
+REPLACE_ISNAN
62846
 
+REPLACE_ISINF
62847
 
+REPLACE_ISFINITE
62848
 
+REPLACE_HUGE_VAL
62849
 
+REPLACE_FREXPL
62850
 
+REPLACE_FREXP
62851
 
+REPLACE_FLOORL
62852
 
+REPLACE_FLOORF
62853
 
+REPLACE_FLOOR
62854
 
+REPLACE_CEILL
62855
 
+REPLACE_CEILF
62856
 
+REPLACE_CEIL
62857
 
+HAVE_DECL_TRUNCL
62858
 
+HAVE_DECL_TRUNCF
62859
 
+HAVE_DECL_TRUNC
62860
 
+HAVE_DECL_TANL
62861
 
+HAVE_DECL_SQRTL
62862
 
+HAVE_DECL_SINL
62863
 
+HAVE_DECL_ROUNDL
62864
 
+HAVE_DECL_ROUNDF
62865
 
+HAVE_DECL_ROUND
62866
 
+HAVE_DECL_LOGL
62867
 
+HAVE_DECL_LOGB
62868
 
+HAVE_DECL_LDEXPL
62869
 
+HAVE_DECL_FREXPL
62870
 
+HAVE_DECL_FLOORL
62871
 
+HAVE_DECL_FLOORF
62872
 
+HAVE_DECL_EXPL
62873
 
+HAVE_DECL_COSL
62874
 
+HAVE_DECL_CEILL
62875
 
+HAVE_DECL_CEILF
62876
 
+HAVE_DECL_ATANL
62877
 
+HAVE_DECL_ASINL
62878
 
+HAVE_DECL_ACOSL
62879
 
+HAVE_TANL
62880
 
+HAVE_SQRTL
62881
 
+HAVE_SINL
62882
 
+HAVE_LOGL
62883
 
+HAVE_ISNANL
62884
 
+HAVE_ISNAND
62885
 
+HAVE_ISNANF
62886
 
+HAVE_EXPL
62887
 
+HAVE_COSL
62888
 
+HAVE_ATANL
62889
 
+HAVE_ASINL
62890
 
+HAVE_ACOSL
62891
 
+GNULIB_TRUNCL
62892
 
+GNULIB_TRUNCF
62893
 
+GNULIB_TRUNC
62894
 
+GNULIB_TANL
62895
 
+GNULIB_SQRTL
62896
 
+GNULIB_SINL
62897
 
+GNULIB_SIGNBIT
62898
 
+GNULIB_ROUNDL
62899
 
+GNULIB_ROUNDF
62900
 
+GNULIB_ROUND
62901
 
+GNULIB_LOGL
62902
 
+GNULIB_LOGB
62903
 
+GNULIB_LDEXPL
62904
 
+GNULIB_ISNANL
62905
 
+GNULIB_ISNAND
62906
 
+GNULIB_ISNANF
62907
 
+GNULIB_ISNAN
62908
 
+GNULIB_ISINF
62909
 
+GNULIB_ISFINITE
62910
 
+GNULIB_FREXPL
62911
 
+GNULIB_FREXP
62912
 
+GNULIB_FLOORL
62913
 
+GNULIB_FLOORF
62914
 
+GNULIB_FLOOR
62915
 
+GNULIB_EXPL
62916
 
+GNULIB_COSL
62917
 
+GNULIB_CEILL
62918
 
+GNULIB_CEILF
62919
 
+GNULIB_CEIL
62920
 
+GNULIB_ATANL
62921
 
+GNULIB_ASINL
62922
 
+GNULIB_ACOSL
62923
 
+GL_GENERATE_FNMATCH_H_FALSE
62924
 
+GL_GENERATE_FNMATCH_H_TRUE
62925
 
+FNMATCH_H
62926
 
+GL_GENERATE_FLOAT_H_FALSE
62927
 
+GL_GENERATE_FLOAT_H_TRUE
62928
 
+FLOAT_H
62929
 
+NEXT_AS_FIRST_DIRECTIVE_FLOAT_H
62930
 
+NEXT_FLOAT_H
62931
 
+NEXT_AS_FIRST_DIRECTIVE_FCNTL_H
62932
 
+NEXT_FCNTL_H
62933
 
+REPLACE_VSPRINTF
62934
 
+REPLACE_VSNPRINTF
62935
 
+REPLACE_VPRINTF
62936
 
+REPLACE_VFPRINTF
62937
 
+REPLACE_VDPRINTF
62938
 
+REPLACE_VASPRINTF
62939
 
+REPLACE_TMPFILE
62940
 
+REPLACE_STDIO_WRITE_FUNCS
62941
 
+REPLACE_STDIO_READ_FUNCS
62942
 
+REPLACE_SPRINTF
62943
 
+REPLACE_SNPRINTF
62944
 
+REPLACE_RENAMEAT
62945
 
+REPLACE_RENAME
62946
 
+REPLACE_REMOVE
62947
 
+REPLACE_PRINTF
62948
 
+REPLACE_POPEN
62949
 
+REPLACE_PERROR
62950
 
+REPLACE_OBSTACK_PRINTF
62951
 
+REPLACE_GETLINE
62952
 
+REPLACE_GETDELIM
62953
 
+REPLACE_FTELLO
62954
 
+REPLACE_FTELL
62955
 
+REPLACE_FSEEKO
62956
 
+REPLACE_FSEEK
62957
 
+REPLACE_FREOPEN
62958
 
+REPLACE_FPURGE
62959
 
+REPLACE_FPRINTF
62960
 
+REPLACE_FOPEN
62961
 
+REPLACE_FFLUSH
62962
 
+REPLACE_FCLOSE
62963
 
+REPLACE_DPRINTF
62964
 
+HAVE_VDPRINTF
62965
 
+HAVE_VASPRINTF
62966
 
+HAVE_RENAMEAT
62967
 
+HAVE_FTELLO
62968
 
+HAVE_FSEEKO
62969
 
+HAVE_DPRINTF
62970
 
+HAVE_DECL_VSNPRINTF
62971
 
+HAVE_DECL_SNPRINTF
62972
 
+HAVE_DECL_OBSTACK_PRINTF
62973
 
+HAVE_DECL_GETLINE
62974
 
+HAVE_DECL_GETDELIM
62975
 
+HAVE_DECL_FTELLO
62976
 
+HAVE_DECL_FSEEKO
62977
 
+HAVE_DECL_FPURGE
62978
 
+GNULIB_VSPRINTF_POSIX
62979
 
+GNULIB_VSNPRINTF
62980
 
+GNULIB_VPRINTF_POSIX
62981
 
+GNULIB_VPRINTF
62982
 
+GNULIB_VFPRINTF_POSIX
62983
 
+GNULIB_VFPRINTF
62984
 
+GNULIB_VDPRINTF
62985
 
+GNULIB_VSCANF
62986
 
+GNULIB_VFSCANF
62987
 
+GNULIB_VASPRINTF
62988
 
+GNULIB_TMPFILE
62989
 
+GNULIB_STDIO_H_SIGPIPE
62990
 
+GNULIB_STDIO_H_NONBLOCKING
62991
 
+GNULIB_SPRINTF_POSIX
62992
 
+GNULIB_SNPRINTF
62993
 
+GNULIB_SCANF
62994
 
+GNULIB_RENAMEAT
62995
 
+GNULIB_RENAME
62996
 
+GNULIB_REMOVE
62997
 
+GNULIB_PUTS
62998
 
+GNULIB_PUTCHAR
62999
 
+GNULIB_PUTC
63000
 
+GNULIB_PRINTF_POSIX
63001
 
+GNULIB_PRINTF
63002
 
+GNULIB_POPEN
63003
 
+GNULIB_PERROR
63004
 
+GNULIB_OBSTACK_PRINTF_POSIX
63005
 
+GNULIB_OBSTACK_PRINTF
63006
 
+GNULIB_GETS
63007
 
+GNULIB_GETLINE
63008
 
+GNULIB_GETDELIM
63009
 
+GNULIB_GETCHAR
63010
 
+GNULIB_GETC
63011
 
+GNULIB_FWRITE
63012
 
+GNULIB_FTELLO
63013
 
+GNULIB_FTELL
63014
 
+GNULIB_FSEEKO
63015
 
+GNULIB_FSEEK
63016
 
+GNULIB_FSCANF
63017
 
+GNULIB_FREOPEN
63018
 
+GNULIB_FREAD
63019
 
+GNULIB_FPUTS
63020
 
+GNULIB_FPUTC
63021
 
+GNULIB_FPURGE
63022
 
+GNULIB_FPRINTF_POSIX
63023
 
+GNULIB_FPRINTF
63024
 
+GNULIB_FOPEN
63025
 
+GNULIB_FGETS
63026
 
+GNULIB_FGETC
63027
 
+GNULIB_FFLUSH
63028
 
+GNULIB_FCLOSE
63029
 
+GNULIB_DPRINTF
63030
 
+REPLACE_UTIMENSAT
63031
 
+REPLACE_STAT
63032
 
+REPLACE_MKNOD
63033
 
+REPLACE_MKFIFO
63034
 
+REPLACE_MKDIR
63035
 
+REPLACE_LSTAT
63036
 
+REPLACE_FUTIMENS
63037
 
+REPLACE_FSTATAT
63038
 
+REPLACE_FSTAT
63039
 
+HAVE_UTIMENSAT
63040
 
+HAVE_MKNODAT
63041
 
+HAVE_MKNOD
63042
 
+HAVE_MKFIFOAT
63043
 
+HAVE_MKFIFO
63044
 
+HAVE_MKDIRAT
63045
 
+HAVE_LSTAT
63046
 
+HAVE_LCHMOD
63047
 
+HAVE_FUTIMENS
63048
 
+HAVE_FSTATAT
63049
 
+HAVE_FCHMODAT
63050
 
+GNULIB_UTIMENSAT
63051
 
+GNULIB_STAT
63052
 
+GNULIB_MKNODAT
63053
 
+GNULIB_MKNOD
63054
 
+GNULIB_MKFIFOAT
63055
 
+GNULIB_MKFIFO
63056
 
+GNULIB_MKDIRAT
63057
 
+GNULIB_LSTAT
63058
 
+GNULIB_LCHMOD
63059
 
+GNULIB_FUTIMENS
63060
 
+GNULIB_FSTATAT
63061
 
+GNULIB_FCHMODAT
63062
 
+REPLACE_OPENAT
63063
 
+REPLACE_OPEN
63064
 
+REPLACE_FCNTL
63065
 
+HAVE_OPENAT
63066
 
+HAVE_FCNTL
63067
 
+GNULIB_OPENAT
63068
 
+GNULIB_OPEN
63069
 
+GNULIB_NONBLOCKING
63070
 
+GNULIB_FCNTL
63071
 
+LIB_EACCESS
63072
 
+EOVERFLOW_VALUE
63073
 
+EOVERFLOW_HIDDEN
63074
 
+ENOLINK_VALUE
63075
 
+ENOLINK_HIDDEN
63076
 
+EMULTIHOP_VALUE
63077
 
+EMULTIHOP_HIDDEN
63078
 
+GL_GENERATE_ERRNO_H_FALSE
63079
 
+GL_GENERATE_ERRNO_H_TRUE
63080
 
+ERRNO_H
63081
 
+NEXT_AS_FIRST_DIRECTIVE_ERRNO_H
63082
 
+NEXT_ERRNO_H
63083
 
+NEXT_AS_FIRST_DIRECTIVE_DIRENT_H
63084
 
+NEXT_DIRENT_H
63085
 
+REPLACE_OPENDIR
63086
 
+REPLACE_FDOPENDIR
63087
 
+REPLACE_DIRFD
63088
 
+REPLACE_CLOSEDIR
63089
 
+HAVE_ALPHASORT
63090
 
+HAVE_SCANDIR
63091
 
+HAVE_FDOPENDIR
63092
 
+HAVE_DECL_FDOPENDIR
63093
 
+HAVE_DECL_DIRFD
63094
 
+GNULIB_ALPHASORT
63095
 
+GNULIB_SCANDIR
63096
 
+GNULIB_FDOPENDIR
63097
 
+GNULIB_DIRFD
63098
 
+NEXT_AS_FIRST_DIRECTIVE_CTYPE_H
63099
 
+NEXT_CTYPE_H
63100
 
+HAVE_ISBLANK
63101
 
+GNULIB_ISBLANK
63102
 
+pkglibexecdir
63103
 
+lispdir
63104
 
+HAVE_WINSOCK2_H
63105
 
+REPLACE_IOCTL
63106
 
+SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS
63107
 
+SYS_IOCTL_H_HAVE_WINSOCK2_H
63108
 
+GNULIB_IOCTL
63109
 
+LIB_CLOCK_GETTIME
63110
 
+UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS
63111
 
+UNISTD_H_HAVE_WINSOCK2_H
63112
 
+REPLACE_WRITE
63113
 
+REPLACE_USLEEP
63114
 
+REPLACE_UNLINKAT
63115
 
+REPLACE_UNLINK
63116
 
+REPLACE_TTYNAME_R
63117
 
+REPLACE_SYMLINK
63118
 
+REPLACE_SLEEP
63119
 
+REPLACE_RMDIR
63120
 
+REPLACE_READLINK
63121
 
+REPLACE_READ
63122
 
+REPLACE_PWRITE
63123
 
+REPLACE_PREAD
63124
 
+REPLACE_LSEEK
63125
 
+REPLACE_LINKAT
63126
 
+REPLACE_LINK
63127
 
+REPLACE_LCHOWN
63128
 
+REPLACE_GETPAGESIZE
63129
 
+REPLACE_GETGROUPS
63130
 
+REPLACE_GETLOGIN_R
63131
 
+REPLACE_GETDOMAINNAME
63132
 
+REPLACE_GETCWD
63133
 
+REPLACE_FCHOWNAT
63134
 
+REPLACE_DUP2
63135
 
+REPLACE_DUP
63136
 
+REPLACE_CLOSE
63137
 
+REPLACE_CHOWN
63138
 
+HAVE_SYS_PARAM_H
63139
 
+HAVE_OS_H
63140
 
+HAVE_DECL_TTYNAME_R
63141
 
+HAVE_DECL_GETUSERSHELL
63142
 
+HAVE_DECL_GETPAGESIZE
63143
 
+HAVE_DECL_GETLOGIN_R
63144
 
+HAVE_DECL_GETDOMAINNAME
63145
 
+HAVE_DECL_FCHDIR
63146
 
+HAVE_DECL_ENVIRON
63147
 
+HAVE_USLEEP
63148
 
+HAVE_UNLINKAT
63149
 
+HAVE_SYMLINKAT
63150
 
+HAVE_SYMLINK
63151
 
+HAVE_SLEEP
63152
 
+HAVE_READLINKAT
63153
 
+HAVE_READLINK
63154
 
+HAVE_PWRITE
63155
 
+HAVE_PREAD
63156
 
+HAVE_PIPE2
63157
 
+HAVE_PIPE
63158
 
+HAVE_LINKAT
63159
 
+HAVE_LINK
63160
 
+HAVE_LCHOWN
63161
 
+HAVE_GROUP_MEMBER
63162
 
+HAVE_GETPAGESIZE
63163
 
+HAVE_GETLOGIN
63164
 
+HAVE_GETHOSTNAME
63165
 
+HAVE_GETGROUPS
63166
 
+HAVE_GETDTABLESIZE
63167
 
+HAVE_FTRUNCATE
63168
 
+HAVE_FSYNC
63169
 
+HAVE_FCHOWNAT
63170
 
+HAVE_FCHDIR
63171
 
+HAVE_FACCESSAT
63172
 
+HAVE_EUIDACCESS
63173
 
+HAVE_DUP3
63174
 
+HAVE_DUP2
63175
 
+HAVE_CHOWN
63176
 
+GNULIB_WRITE
63177
 
+GNULIB_USLEEP
63178
 
+GNULIB_UNLINKAT
63179
 
+GNULIB_UNLINK
63180
 
+GNULIB_UNISTD_H_SIGPIPE
63181
 
+GNULIB_UNISTD_H_NONBLOCKING
63182
 
+GNULIB_UNISTD_H_GETOPT
63183
 
+GNULIB_TTYNAME_R
63184
 
+GNULIB_SYMLINKAT
63185
 
+GNULIB_SYMLINK
63186
 
+GNULIB_SLEEP
63187
 
+GNULIB_RMDIR
63188
 
+GNULIB_READLINKAT
63189
 
+GNULIB_READLINK
63190
 
+GNULIB_READ
63191
 
+GNULIB_PWRITE
63192
 
+GNULIB_PREAD
63193
 
+GNULIB_PIPE2
63194
 
+GNULIB_PIPE
63195
 
+GNULIB_LSEEK
63196
 
+GNULIB_LINKAT
63197
 
+GNULIB_LINK
63198
 
+GNULIB_LCHOWN
63199
 
+GNULIB_GROUP_MEMBER
63200
 
+GNULIB_GETUSERSHELL
63201
 
+GNULIB_GETPAGESIZE
63202
 
+GNULIB_GETLOGIN_R
63203
 
+GNULIB_GETLOGIN
63204
 
+GNULIB_GETHOSTNAME
63205
 
+GNULIB_GETGROUPS
63206
 
+GNULIB_GETDTABLESIZE
63207
 
+GNULIB_GETDOMAINNAME
63208
 
+GNULIB_GETCWD
63209
 
+GNULIB_FTRUNCATE
63210
 
+GNULIB_FSYNC
63211
 
+GNULIB_FCHOWNAT
63212
 
+GNULIB_FCHDIR
63213
 
+GNULIB_FACCESSAT
63214
 
+GNULIB_EUIDACCESS
63215
 
+GNULIB_ENVIRON
63216
 
+GNULIB_DUP3
63217
 
+GNULIB_DUP2
63218
 
+GNULIB_CLOSE
63219
 
+GNULIB_CHOWN
63220
 
+REPLACE_WCTOMB
63221
 
+REPLACE_UNSETENV
63222
 
+REPLACE_STRTOD
63223
 
+REPLACE_SETENV
63224
 
+REPLACE_REALPATH
63225
 
+REPLACE_REALLOC
63226
 
+REPLACE_PUTENV
63227
 
+REPLACE_MKSTEMP
63228
 
+REPLACE_MBTOWC
63229
 
+REPLACE_MALLOC
63230
 
+REPLACE_CANONICALIZE_FILE_NAME
63231
 
+REPLACE_CALLOC
63232
 
+HAVE_DECL_UNSETENV
63233
 
+HAVE_UNLOCKPT
63234
 
+HAVE_SYS_LOADAVG_H
63235
 
+HAVE_STRUCT_RANDOM_DATA
63236
 
+HAVE_STRTOULL
63237
 
+HAVE_STRTOLL
63238
 
+HAVE_STRTOD
63239
 
+HAVE_DECL_SETENV
63240
 
+HAVE_SETENV
63241
 
+HAVE_RPMATCH
63242
 
+HAVE_REALPATH
63243
 
+HAVE_RANDOM_R
63244
 
+HAVE_RANDOM_H
63245
 
+HAVE_PTSNAME
63246
 
+HAVE_MKSTEMPS
63247
 
+HAVE_MKSTEMP
63248
 
+HAVE_MKOSTEMPS
63249
 
+HAVE_MKOSTEMP
63250
 
+HAVE_MKDTEMP
63251
 
+HAVE_GRANTPT
63252
 
+HAVE_GETSUBOPT
63253
 
+HAVE_DECL_GETLOADAVG
63254
 
+HAVE_CANONICALIZE_FILE_NAME
63255
 
+HAVE_ATOLL
63256
 
+HAVE__EXIT
63257
 
+GNULIB_WCTOMB
63258
 
+GNULIB_UNSETENV
63259
 
+GNULIB_UNLOCKPT
63260
 
+GNULIB_SYSTEM_POSIX
63261
 
+GNULIB_STRTOULL
63262
 
+GNULIB_STRTOLL
63263
 
+GNULIB_STRTOD
63264
 
+GNULIB_SETENV
63265
 
+GNULIB_RPMATCH
63266
 
+GNULIB_REALPATH
63267
 
+GNULIB_REALLOC_POSIX
63268
 
+GNULIB_RANDOM_R
63269
 
+GNULIB_PUTENV
63270
 
+GNULIB_PTSNAME
63271
 
+GNULIB_MKSTEMPS
63272
 
+GNULIB_MKSTEMP
63273
 
+GNULIB_MKOSTEMPS
63274
 
+GNULIB_MKOSTEMP
63275
 
+GNULIB_MKDTEMP
63276
 
+GNULIB_MBTOWC
63277
 
+GNULIB_MALLOC_POSIX
63278
 
+GNULIB_GRANTPT
63279
 
+GNULIB_GETSUBOPT
63280
 
+GNULIB_GETLOADAVG
63281
 
+GNULIB_CANONICALIZE_FILE_NAME
63282
 
+GNULIB_CALLOC_POSIX
63283
 
+GNULIB_ATOLL
63284
 
+GNULIB__EXIT
63285
 
+LOCALE_FR
63286
 
+REPLACE_WCSWIDTH
63287
 
+REPLACE_WCWIDTH
63288
 
+REPLACE_WCSNRTOMBS
63289
 
+REPLACE_WCSRTOMBS
63290
 
+REPLACE_WCRTOMB
63291
 
+REPLACE_MBSNRTOWCS
63292
 
+REPLACE_MBSRTOWCS
63293
 
+REPLACE_MBRLEN
63294
 
+REPLACE_MBRTOWC
63295
 
+REPLACE_MBSINIT
63296
 
+REPLACE_WCTOB
63297
 
+REPLACE_BTOWC
63298
 
+REPLACE_MBSTATE_T
63299
 
+HAVE_DECL_WCWIDTH
63300
 
+HAVE_DECL_WCTOB
63301
 
+HAVE_WCSWIDTH
63302
 
+HAVE_WCSTOK
63303
 
+HAVE_WCSSTR
63304
 
+HAVE_WCSPBRK
63305
 
+HAVE_WCSSPN
63306
 
+HAVE_WCSCSPN
63307
 
+HAVE_WCSRCHR
63308
 
+HAVE_WCSCHR
63309
 
+HAVE_WCSDUP
63310
 
+HAVE_WCSXFRM
63311
 
+HAVE_WCSCOLL
63312
 
+HAVE_WCSNCASECMP
63313
 
+HAVE_WCSCASECMP
63314
 
+HAVE_WCSNCMP
63315
 
+HAVE_WCSCMP
63316
 
+HAVE_WCSNCAT
63317
 
+HAVE_WCSCAT
63318
 
+HAVE_WCPNCPY
63319
 
+HAVE_WCSNCPY
63320
 
+HAVE_WCPCPY
63321
 
+HAVE_WCSCPY
63322
 
+HAVE_WCSNLEN
63323
 
+HAVE_WCSLEN
63324
 
+HAVE_WMEMSET
63325
 
+HAVE_WMEMMOVE
63326
 
+HAVE_WMEMCPY
63327
 
+HAVE_WMEMCMP
63328
 
+HAVE_WMEMCHR
63329
 
+HAVE_WCSNRTOMBS
63330
 
+HAVE_WCSRTOMBS
63331
 
+HAVE_WCRTOMB
63332
 
+HAVE_MBSNRTOWCS
63333
 
+HAVE_MBSRTOWCS
63334
 
+HAVE_MBRLEN
63335
 
+HAVE_MBRTOWC
63336
 
+HAVE_MBSINIT
63337
 
+HAVE_BTOWC
63338
 
+GNULIB_WCSWIDTH
63339
 
+GNULIB_WCSTOK
63340
 
+GNULIB_WCSSTR
63341
 
+GNULIB_WCSPBRK
63342
 
+GNULIB_WCSSPN
63343
 
+GNULIB_WCSCSPN
63344
 
+GNULIB_WCSRCHR
63345
 
+GNULIB_WCSCHR
63346
 
+GNULIB_WCSDUP
63347
 
+GNULIB_WCSXFRM
63348
 
+GNULIB_WCSCOLL
63349
 
+GNULIB_WCSNCASECMP
63350
 
+GNULIB_WCSCASECMP
63351
 
+GNULIB_WCSNCMP
63352
 
+GNULIB_WCSCMP
63353
 
+GNULIB_WCSNCAT
63354
 
+GNULIB_WCSCAT
63355
 
+GNULIB_WCPNCPY
63356
 
+GNULIB_WCSNCPY
63357
 
+GNULIB_WCPCPY
63358
 
+GNULIB_WCSCPY
63359
 
+GNULIB_WCSNLEN
63360
 
+GNULIB_WCSLEN
63361
 
+GNULIB_WMEMSET
63362
 
+GNULIB_WMEMMOVE
63363
 
+GNULIB_WMEMCPY
63364
 
+GNULIB_WMEMCMP
63365
 
+GNULIB_WMEMCHR
63366
 
+GNULIB_WCWIDTH
63367
 
+GNULIB_WCSNRTOMBS
63368
 
+GNULIB_WCSRTOMBS
63369
 
+GNULIB_WCRTOMB
63370
 
+GNULIB_MBSNRTOWCS
63371
 
+GNULIB_MBSRTOWCS
63372
 
+GNULIB_MBRLEN
63373
 
+GNULIB_MBRTOWC
63374
 
+GNULIB_MBSINIT
63375
 
+GNULIB_WCTOB
63376
 
+GNULIB_BTOWC
63377
 
+HAVE_FEATURES_H
63378
 
+NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H
63379
 
+NEXT_ARPA_INET_H
63380
 
+PRAGMA_COLUMNS
63381
 
+PRAGMA_SYSTEM_HEADER
63382
 
+INCLUDE_NEXT_AS_FIRST_DIRECTIVE
63383
 
+INCLUDE_NEXT
63384
 
+HAVE_ARPA_INET_H
63385
 
+HAVE_DECL_INET_PTON
63386
 
+HAVE_DECL_INET_NTOP
63387
 
+GNULIB_INET_PTON
63388
 
+GNULIB_INET_NTOP
63389
 
+GL_GENERATE_ALLOCA_H_FALSE
63390
 
+GL_GENERATE_ALLOCA_H_TRUE
63391
 
+ALLOCA_H
63392
 
+ALLOCA
63393
 
+USE_ACL
63394
 
+LIB_ACL
63395
 
+GL_COND_LIBTOOL_FALSE
63396
 
+GL_COND_LIBTOOL_TRUE
63397
 
+host_os
63398
 
+host_vendor
63399
 
+host_cpu
63400
 
+host
63401
 
+build_os
63402
 
+build_vendor
63403
 
+build_cpu
63404
 
+build
63405
 
+ARFLAGS
63406
 
+AR
63407
 
+LN_S
63408
 
+RANLIB
63409
 
+EGREP
63410
 
+GREP
63411
 
+CPP
63412
 
+am__fastdepCC_FALSE
63413
 
+am__fastdepCC_TRUE
63414
 
+CCDEPMODE
63415
 
+AMDEPBACKSLASH
63416
 
+AMDEP_FALSE
63417
 
+AMDEP_TRUE
63418
 
+am__quote
63419
 
+am__include
63420
 
+DEPDIR
63421
 
+OBJEXT
63422
 
+EXEEXT
63423
 
+ac_ct_CC
63424
 
+CPPFLAGS
63425
 
+LDFLAGS
63426
 
+CFLAGS
63427
 
+CC
63428
 
+AM_BACKSLASH
63429
 
+AM_DEFAULT_VERBOSITY
63430
 
+am__untar
63431
 
+am__tar
63432
 
+AMTAR
63433
 
+am__leading_dot
63434
 
+SET_MAKE
63435
 
+AWK
63436
 
+mkdir_p
63437
 
+MKDIR_P
63438
 
+INSTALL_STRIP_PROGRAM
63439
 
+STRIP
63440
 
+install_sh
63441
 
+MAKEINFO
63442
 
+AUTOHEADER
63443
 
+AUTOMAKE
63444
 
+AUTOCONF
63445
 
+ACLOCAL
63446
 
+VERSION
63447
 
+PACKAGE
63448
 
+CYGPATH_W
63449
 
+am__isrc
63450
 
+INSTALL_DATA
63451
 
+INSTALL_SCRIPT
63452
 
+INSTALL_PROGRAM
63453
 
+target_alias
63454
 
+host_alias
63455
 
+build_alias
63456
 
+LIBS
63457
 
+ECHO_T
63458
 
+ECHO_N
63459
 
+ECHO_C
63460
 
+DEFS
63461
 
+mandir
63462
 
+localedir
63463
 
+libdir
63464
 
+psdir
63465
 
+pdfdir
63466
 
+dvidir
63467
 
+htmldir
63468
 
+infodir
63469
 
+docdir
63470
 
+oldincludedir
63471
 
+includedir
63472
 
+localstatedir
63473
 
+sharedstatedir
63474
 
+sysconfdir
63475
 
+datadir
63476
 
+datarootdir
63477
 
+libexecdir
63478
 
+sbindir
63479
 
+bindir
63480
 
+program_transform_name
63481
 
+prefix
63482
 
+exec_prefix
63483
 
+PACKAGE_URL
63484
 
+PACKAGE_BUGREPORT
63485
 
+PACKAGE_STRING
63486
 
+PACKAGE_VERSION
63487
 
+PACKAGE_TARNAME
63488
 
+PACKAGE_NAME
63489
 
+PATH_SEPARATOR
63490
 
+SHELL'
63491
 
+ac_subst_files=''
63492
 
+ac_user_opts='
63493
 
+enable_option_checking
63494
 
+enable_silent_rules
63495
 
+enable_dependency_tracking
63496
 
+enable_largefile
63497
 
+enable_threads
63498
 
+enable_acl
63499
 
+enable_assert
63500
 
+with_gnu_ld
63501
 
+enable_rpath
63502
 
+with_libiconv_prefix
63503
 
+with_libpth_prefix
63504
 
+with_included_regex
63505
 
+with_selinux
63506
 
+with_packager
63507
 
+with_packager_version
63508
 
+with_packager_bug_reports
63509
 
+enable_xattr
63510
 
+enable_libcap
63511
 
+with_tty_group
63512
 
+enable_gcc_warnings
63513
 
+with_gmp
63514
 
+enable_install_program
63515
 
+enable_no_install_program
63516
 
+enable_nls
63517
 
+with_libintl_prefix
63518
 
+'
63519
 
+      ac_precious_vars='build_alias
63520
 
+host_alias
63521
 
+target_alias
63522
 
+CC
63523
 
+CFLAGS
63524
 
+LDFLAGS
63525
 
+LIBS
63526
 
+CPPFLAGS
63527
 
+CPP
63528
 
+YACC
63529
 
+YFLAGS
63530
 
+DEFAULT_POSIX2_VERSION'
63531
 
+
63532
 
+
63533
 
+# Initialize some variables set by options.
63534
 
+ac_init_help=
63535
 
+ac_init_version=false
63536
 
+ac_unrecognized_opts=
63537
 
+ac_unrecognized_sep=
63538
 
+# The variables have the same names as the options, with
63539
 
+# dashes changed to underlines.
63540
 
+cache_file=/dev/null
63541
 
+exec_prefix=NONE
63542
 
+no_create=
63543
 
+no_recursion=
63544
 
+prefix=NONE
63545
 
+program_prefix=NONE
63546
 
+program_suffix=NONE
63547
 
+program_transform_name=s,x,x,
63548
 
+silent=
63549
 
+site=
63550
 
+srcdir=
63551
 
+verbose=
63552
 
+x_includes=NONE
63553
 
+x_libraries=NONE
63554
 
+
63555
 
+# Installation directory options.
63556
 
+# These are left unexpanded so users can "make install exec_prefix=/foo"
63557
 
+# and all the variables that are supposed to be based on exec_prefix
63558
 
+# by default will actually change.
63559
 
+# Use braces instead of parens because sh, perl, etc. also accept them.
63560
 
+# (The list follows the same order as the GNU Coding Standards.)
63561
 
+bindir='${exec_prefix}/bin'
63562
 
+sbindir='${exec_prefix}/sbin'
63563
 
+libexecdir='${exec_prefix}/libexec'
63564
 
+datarootdir='${prefix}/share'
63565
 
+datadir='${datarootdir}'
63566
 
+sysconfdir='${prefix}/etc'
63567
 
+sharedstatedir='${prefix}/com'
63568
 
+localstatedir='${prefix}/var'
63569
 
+includedir='${prefix}/include'
63570
 
+oldincludedir='/usr/include'
63571
 
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
63572
 
+infodir='${datarootdir}/info'
63573
 
+htmldir='${docdir}'
63574
 
+dvidir='${docdir}'
63575
 
+pdfdir='${docdir}'
63576
 
+psdir='${docdir}'
63577
 
+libdir='${exec_prefix}/lib'
63578
 
+localedir='${datarootdir}/locale'
63579
 
+mandir='${datarootdir}/man'
63580
 
+
63581
 
+ac_prev=
63582
 
+ac_dashdash=
63583
 
+for ac_option
63584
 
+do
63585
 
+  # If the previous option needs an argument, assign it.
63586
 
+  if test -n "$ac_prev"; then
63587
 
+    eval $ac_prev=\$ac_option
63588
 
+    ac_prev=
63589
 
+    continue
63590
 
+  fi
63591
 
+
63592
 
+  case $ac_option in
63593
 
+  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
63594
 
+  *=)   ac_optarg= ;;
63595
 
+  *)    ac_optarg=yes ;;
63596
 
+  esac
63597
 
+
63598
 
+  # Accept the important Cygnus configure options, so we can diagnose typos.
63599
 
+
63600
 
+  case $ac_dashdash$ac_option in
63601
 
+  --)
63602
 
+    ac_dashdash=yes ;;
63603
 
+
63604
 
+  -bindir | --bindir | --bindi | --bind | --bin | --bi)
63605
 
+    ac_prev=bindir ;;
63606
 
+  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
63607
 
+    bindir=$ac_optarg ;;
63608
 
+
63609
 
+  -build | --build | --buil | --bui | --bu)
63610
 
+    ac_prev=build_alias ;;
63611
 
+  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
63612
 
+    build_alias=$ac_optarg ;;
63613
 
+
63614
 
+  -cache-file | --cache-file | --cache-fil | --cache-fi \
63615
 
+  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
63616
 
+    ac_prev=cache_file ;;
63617
 
+  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
63618
 
+  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
63619
 
+    cache_file=$ac_optarg ;;
63620
 
+
63621
 
+  --config-cache | -C)
63622
 
+    cache_file=config.cache ;;
63623
 
+
63624
 
+  -datadir | --datadir | --datadi | --datad)
63625
 
+    ac_prev=datadir ;;
63626
 
+  -datadir=* | --datadir=* | --datadi=* | --datad=*)
63627
 
+    datadir=$ac_optarg ;;
63628
 
+
63629
 
+  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
63630
 
+  | --dataroo | --dataro | --datar)
63631
 
+    ac_prev=datarootdir ;;
63632
 
+  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
63633
 
+  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
63634
 
+    datarootdir=$ac_optarg ;;
63635
 
+
63636
 
+  -disable-* | --disable-*)
63637
 
+    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
63638
 
+    # Reject names that are not valid shell variable names.
63639
 
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
63640
 
+      as_fn_error $? "invalid feature name: $ac_useropt"
63641
 
+    ac_useropt_orig=$ac_useropt
63642
 
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
63643
 
+    case $ac_user_opts in
63644
 
+      *"
63645
 
+"enable_$ac_useropt"
63646
 
+"*) ;;
63647
 
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
63648
 
+        ac_unrecognized_sep=', ';;
63649
 
+    esac
63650
 
+    eval enable_$ac_useropt=no ;;
63651
 
+
63652
 
+  -docdir | --docdir | --docdi | --doc | --do)
63653
 
+    ac_prev=docdir ;;
63654
 
+  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
63655
 
+    docdir=$ac_optarg ;;
63656
 
+
63657
 
+  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
63658
 
+    ac_prev=dvidir ;;
63659
 
+  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
63660
 
+    dvidir=$ac_optarg ;;
63661
 
+
63662
 
+  -enable-* | --enable-*)
63663
 
+    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
63664
 
+    # Reject names that are not valid shell variable names.
63665
 
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
63666
 
+      as_fn_error $? "invalid feature name: $ac_useropt"
63667
 
+    ac_useropt_orig=$ac_useropt
63668
 
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
63669
 
+    case $ac_user_opts in
63670
 
+      *"
63671
 
+"enable_$ac_useropt"
63672
 
+"*) ;;
63673
 
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
63674
 
+        ac_unrecognized_sep=', ';;
63675
 
+    esac
63676
 
+    eval enable_$ac_useropt=\$ac_optarg ;;
63677
 
+
63678
 
+  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
63679
 
+  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
63680
 
+  | --exec | --exe | --ex)
63681
 
+    ac_prev=exec_prefix ;;
63682
 
+  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
63683
 
+  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
63684
 
+  | --exec=* | --exe=* | --ex=*)
63685
 
+    exec_prefix=$ac_optarg ;;
63686
 
+
63687
 
+  -gas | --gas | --ga | --g)
63688
 
+    # Obsolete; use --with-gas.
63689
 
+    with_gas=yes ;;
63690
 
+
63691
 
+  -help | --help | --hel | --he | -h)
63692
 
+    ac_init_help=long ;;
63693
 
+  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
63694
 
+    ac_init_help=recursive ;;
63695
 
+  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
63696
 
+    ac_init_help=short ;;
63697
 
+
63698
 
+  -host | --host | --hos | --ho)
63699
 
+    ac_prev=host_alias ;;
63700
 
+  -host=* | --host=* | --hos=* | --ho=*)
63701
 
+    host_alias=$ac_optarg ;;
63702
 
+
63703
 
+  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
63704
 
+    ac_prev=htmldir ;;
63705
 
+  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
63706
 
+  | --ht=*)
63707
 
+    htmldir=$ac_optarg ;;
63708
 
+
63709
 
+  -includedir | --includedir | --includedi | --included | --include \
63710
 
+  | --includ | --inclu | --incl | --inc)
63711
 
+    ac_prev=includedir ;;
63712
 
+  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
63713
 
+  | --includ=* | --inclu=* | --incl=* | --inc=*)
63714
 
+    includedir=$ac_optarg ;;
63715
 
+
63716
 
+  -infodir | --infodir | --infodi | --infod | --info | --inf)
63717
 
+    ac_prev=infodir ;;
63718
 
+  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
63719
 
+    infodir=$ac_optarg ;;
63720
 
+
63721
 
+  -libdir | --libdir | --libdi | --libd)
63722
 
+    ac_prev=libdir ;;
63723
 
+  -libdir=* | --libdir=* | --libdi=* | --libd=*)
63724
 
+    libdir=$ac_optarg ;;
63725
 
+
63726
 
+  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
63727
 
+  | --libexe | --libex | --libe)
63728
 
+    ac_prev=libexecdir ;;
63729
 
+  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
63730
 
+  | --libexe=* | --libex=* | --libe=*)
63731
 
+    libexecdir=$ac_optarg ;;
63732
 
+
63733
 
+  -localedir | --localedir | --localedi | --localed | --locale)
63734
 
+    ac_prev=localedir ;;
63735
 
+  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
63736
 
+    localedir=$ac_optarg ;;
63737
 
+
63738
 
+  -localstatedir | --localstatedir | --localstatedi | --localstated \
63739
 
+  | --localstate | --localstat | --localsta | --localst | --locals)
63740
 
+    ac_prev=localstatedir ;;
63741
 
+  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
63742
 
+  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
63743
 
+    localstatedir=$ac_optarg ;;
63744
 
+
63745
 
+  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
63746
 
+    ac_prev=mandir ;;
63747
 
+  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
63748
 
+    mandir=$ac_optarg ;;
63749
 
+
63750
 
+  -nfp | --nfp | --nf)
63751
 
+    # Obsolete; use --without-fp.
63752
 
+    with_fp=no ;;
63753
 
+
63754
 
+  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
63755
 
+  | --no-cr | --no-c | -n)
63756
 
+    no_create=yes ;;
63757
 
+
63758
 
+  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
63759
 
+  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
63760
 
+    no_recursion=yes ;;
63761
 
+
63762
 
+  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
63763
 
+  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
63764
 
+  | --oldin | --oldi | --old | --ol | --o)
63765
 
+    ac_prev=oldincludedir ;;
63766
 
+  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
63767
 
+  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
63768
 
+  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
63769
 
+    oldincludedir=$ac_optarg ;;
63770
 
+
63771
 
+  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
63772
 
+    ac_prev=prefix ;;
63773
 
+  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
63774
 
+    prefix=$ac_optarg ;;
63775
 
+
63776
 
+  -program-prefix | --program-prefix | --program-prefi | --program-pref \
63777
 
+  | --program-pre | --program-pr | --program-p)
63778
 
+    ac_prev=program_prefix ;;
63779
 
+  -program-prefix=* | --program-prefix=* | --program-prefi=* \
63780
 
+  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
63781
 
+    program_prefix=$ac_optarg ;;
63782
 
+
63783
 
+  -program-suffix | --program-suffix | --program-suffi | --program-suff \
63784
 
+  | --program-suf | --program-su | --program-s)
63785
 
+    ac_prev=program_suffix ;;
63786
 
+  -program-suffix=* | --program-suffix=* | --program-suffi=* \
63787
 
+  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
63788
 
+    program_suffix=$ac_optarg ;;
63789
 
+
63790
 
+  -program-transform-name | --program-transform-name \
63791
 
+  | --program-transform-nam | --program-transform-na \
63792
 
+  | --program-transform-n | --program-transform- \
63793
 
+  | --program-transform | --program-transfor \
63794
 
+  | --program-transfo | --program-transf \
63795
 
+  | --program-trans | --program-tran \
63796
 
+  | --progr-tra | --program-tr | --program-t)
63797
 
+    ac_prev=program_transform_name ;;
63798
 
+  -program-transform-name=* | --program-transform-name=* \
63799
 
+  | --program-transform-nam=* | --program-transform-na=* \
63800
 
+  | --program-transform-n=* | --program-transform-=* \
63801
 
+  | --program-transform=* | --program-transfor=* \
63802
 
+  | --program-transfo=* | --program-transf=* \
63803
 
+  | --program-trans=* | --program-tran=* \
63804
 
+  | --progr-tra=* | --program-tr=* | --program-t=*)
63805
 
+    program_transform_name=$ac_optarg ;;
63806
 
+
63807
 
+  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
63808
 
+    ac_prev=pdfdir ;;
63809
 
+  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
63810
 
+    pdfdir=$ac_optarg ;;
63811
 
+
63812
 
+  -psdir | --psdir | --psdi | --psd | --ps)
63813
 
+    ac_prev=psdir ;;
63814
 
+  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
63815
 
+    psdir=$ac_optarg ;;
63816
 
+
63817
 
+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
63818
 
+  | -silent | --silent | --silen | --sile | --sil)
63819
 
+    silent=yes ;;
63820
 
+
63821
 
+  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
63822
 
+    ac_prev=sbindir ;;
63823
 
+  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
63824
 
+  | --sbi=* | --sb=*)
63825
 
+    sbindir=$ac_optarg ;;
63826
 
+
63827
 
+  -sharedstatedir | --sharedstatedir | --sharedstatedi \
63828
 
+  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
63829
 
+  | --sharedst | --shareds | --shared | --share | --shar \
63830
 
+  | --sha | --sh)
63831
 
+    ac_prev=sharedstatedir ;;
63832
 
+  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
63833
 
+  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
63834
 
+  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
63835
 
+  | --sha=* | --sh=*)
63836
 
+    sharedstatedir=$ac_optarg ;;
63837
 
+
63838
 
+  -site | --site | --sit)
63839
 
+    ac_prev=site ;;
63840
 
+  -site=* | --site=* | --sit=*)
63841
 
+    site=$ac_optarg ;;
63842
 
+
63843
 
+  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
63844
 
+    ac_prev=srcdir ;;
63845
 
+  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
63846
 
+    srcdir=$ac_optarg ;;
63847
 
+
63848
 
+  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
63849
 
+  | --syscon | --sysco | --sysc | --sys | --sy)
63850
 
+    ac_prev=sysconfdir ;;
63851
 
+  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
63852
 
+  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
63853
 
+    sysconfdir=$ac_optarg ;;
63854
 
+
63855
 
+  -target | --target | --targe | --targ | --tar | --ta | --t)
63856
 
+    ac_prev=target_alias ;;
63857
 
+  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
63858
 
+    target_alias=$ac_optarg ;;
63859
 
+
63860
 
+  -v | -verbose | --verbose | --verbos | --verbo | --verb)
63861
 
+    verbose=yes ;;
63862
 
+
63863
 
+  -version | --version | --versio | --versi | --vers | -V)
63864
 
+    ac_init_version=: ;;
63865
 
+
63866
 
+  -with-* | --with-*)
63867
 
+    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
63868
 
+    # Reject names that are not valid shell variable names.
63869
 
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
63870
 
+      as_fn_error $? "invalid package name: $ac_useropt"
63871
 
+    ac_useropt_orig=$ac_useropt
63872
 
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
63873
 
+    case $ac_user_opts in
63874
 
+      *"
63875
 
+"with_$ac_useropt"
63876
 
+"*) ;;
63877
 
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
63878
 
+        ac_unrecognized_sep=', ';;
63879
 
+    esac
63880
 
+    eval with_$ac_useropt=\$ac_optarg ;;
63881
 
+
63882
 
+  -without-* | --without-*)
63883
 
+    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
63884
 
+    # Reject names that are not valid shell variable names.
63885
 
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
63886
 
+      as_fn_error $? "invalid package name: $ac_useropt"
63887
 
+    ac_useropt_orig=$ac_useropt
63888
 
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
63889
 
+    case $ac_user_opts in
63890
 
+      *"
63891
 
+"with_$ac_useropt"
63892
 
+"*) ;;
63893
 
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
63894
 
+        ac_unrecognized_sep=', ';;
63895
 
+    esac
63896
 
+    eval with_$ac_useropt=no ;;
63897
 
+
63898
 
+  --x)
63899
 
+    # Obsolete; use --with-x.
63900
 
+    with_x=yes ;;
63901
 
+
63902
 
+  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
63903
 
+  | --x-incl | --x-inc | --x-in | --x-i)
63904
 
+    ac_prev=x_includes ;;
63905
 
+  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
63906
 
+  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
63907
 
+    x_includes=$ac_optarg ;;
63908
 
+
63909
 
+  -x-libraries | --x-libraries | --x-librarie | --x-librari \
63910
 
+  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
63911
 
+    ac_prev=x_libraries ;;
63912
 
+  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
63913
 
+  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
63914
 
+    x_libraries=$ac_optarg ;;
63915
 
+
63916
 
+  -*) as_fn_error $? "unrecognized option: \`$ac_option'
63917
 
+Try \`$0 --help' for more information"
63918
 
+    ;;
63919
 
+
63920
 
+  *=*)
63921
 
+    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
63922
 
+    # Reject names that are not valid shell variable names.
63923
 
+    case $ac_envvar in #(
63924
 
+      '' | [0-9]* | *[!_$as_cr_alnum]* )
63925
 
+      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
63926
 
+    esac
63927
 
+    eval $ac_envvar=\$ac_optarg
63928
 
+    export $ac_envvar ;;
63929
 
+
63930
 
+  *)
63931
 
+    # FIXME: should be removed in autoconf 3.0.
63932
 
+    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
63933
 
+    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
63934
 
+      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
63935
 
+    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
63936
 
+    ;;
63937
 
+
63938
 
+  esac
63939
 
+done
63940
 
+
63941
 
+if test -n "$ac_prev"; then
63942
 
+  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
63943
 
+  as_fn_error $? "missing argument to $ac_option"
63944
 
+fi
63945
 
+
63946
 
+if test -n "$ac_unrecognized_opts"; then
63947
 
+  case $enable_option_checking in
63948
 
+    no) ;;
63949
 
+    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
63950
 
+    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
63951
 
+  esac
63952
 
+fi
63953
 
+
63954
 
+# Check all directory arguments for consistency.
63955
 
+for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
63956
 
+               datadir sysconfdir sharedstatedir localstatedir includedir \
63957
 
+               oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
63958
 
+               libdir localedir mandir
63959
 
+do
63960
 
+  eval ac_val=\$$ac_var
63961
 
+  # Remove trailing slashes.
63962
 
+  case $ac_val in
63963
 
+    */ )
63964
 
+      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
63965
 
+      eval $ac_var=\$ac_val;;
63966
 
+  esac
63967
 
+  # Be sure to have absolute directory names.
63968
 
+  case $ac_val in
63969
 
+    [\\/$]* | ?:[\\/]* )  continue;;
63970
 
+    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
63971
 
+  esac
63972
 
+  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
63973
 
+done
63974
 
+
63975
 
+# There might be people who depend on the old broken behavior: `$host'
63976
 
+# used to hold the argument of --host etc.
63977
 
+# FIXME: To remove some day.
63978
 
+build=$build_alias
63979
 
+host=$host_alias
63980
 
+target=$target_alias
63981
 
+
63982
 
+# FIXME: To remove some day.
63983
 
+if test "x$host_alias" != x; then
63984
 
+  if test "x$build_alias" = x; then
63985
 
+    cross_compiling=maybe
63986
 
+    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
63987
 
+    If a cross compiler is detected then cross compile mode will be used" >&2
63988
 
+  elif test "x$build_alias" != "x$host_alias"; then
63989
 
+    cross_compiling=yes
63990
 
+  fi
63991
 
+fi
63992
 
+
63993
 
+ac_tool_prefix=
63994
 
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
63995
 
+
63996
 
+test "$silent" = yes && exec 6>/dev/null
63997
 
+
63998
 
+
63999
 
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
64000
 
+ac_ls_di=`ls -di .` &&
64001
 
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
64002
 
+  as_fn_error $? "working directory cannot be determined"
64003
 
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
64004
 
+  as_fn_error $? "pwd does not report name of working directory"
64005
 
+
64006
 
+
64007
 
+# Find the source files, if location was not specified.
64008
 
+if test -z "$srcdir"; then
64009
 
+  ac_srcdir_defaulted=yes
64010
 
+  # Try the directory containing this script, then the parent directory.
64011
 
+  ac_confdir=`$as_dirname -- "$as_myself" ||
64012
 
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
64013
 
+        X"$as_myself" : 'X\(//\)[^/]' \| \
64014
 
+        X"$as_myself" : 'X\(//\)$' \| \
64015
 
+        X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
64016
 
+$as_echo X"$as_myself" |
64017
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
64018
 
+           s//\1/
64019
 
+           q
64020
 
+         }
64021
 
+         /^X\(\/\/\)[^/].*/{
64022
 
+           s//\1/
64023
 
+           q
64024
 
+         }
64025
 
+         /^X\(\/\/\)$/{
64026
 
+           s//\1/
64027
 
+           q
64028
 
+         }
64029
 
+         /^X\(\/\).*/{
64030
 
+           s//\1/
64031
 
+           q
64032
 
+         }
64033
 
+         s/.*/./; q'`
64034
 
+  srcdir=$ac_confdir
64035
 
+  if test ! -r "$srcdir/$ac_unique_file"; then
64036
 
+    srcdir=..
64037
 
+  fi
64038
 
+else
64039
 
+  ac_srcdir_defaulted=no
64040
 
+fi
64041
 
+if test ! -r "$srcdir/$ac_unique_file"; then
64042
 
+  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
64043
 
+  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
64044
 
+fi
64045
 
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
64046
 
+ac_abs_confdir=`(
64047
 
+       cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
64048
 
+       pwd)`
64049
 
+# When building in place, set srcdir=.
64050
 
+if test "$ac_abs_confdir" = "$ac_pwd"; then
64051
 
+  srcdir=.
64052
 
+fi
64053
 
+# Remove unnecessary trailing slashes from srcdir.
64054
 
+# Double slashes in file names in object file debugging info
64055
 
+# mess up M-x gdb in Emacs.
64056
 
+case $srcdir in
64057
 
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
64058
 
+esac
64059
 
+for ac_var in $ac_precious_vars; do
64060
 
+  eval ac_env_${ac_var}_set=\${${ac_var}+set}
64061
 
+  eval ac_env_${ac_var}_value=\$${ac_var}
64062
 
+  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
64063
 
+  eval ac_cv_env_${ac_var}_value=\$${ac_var}
64064
 
+done
64065
 
+
64066
 
+#
64067
 
+# Report the --help message.
64068
 
+#
64069
 
+if test "$ac_init_help" = "long"; then
64070
 
+  # Omit some internal or obsolete options to make the list less imposing.
64071
 
+  # This message is too long to be a string in the A/UX 3.1 sh.
64072
 
+  cat <<_ACEOF
64073
 
+\`configure' configures GNU coreutils 8.13 to adapt to many kinds of systems.
64074
 
+
64075
 
+Usage: $0 [OPTION]... [VAR=VALUE]...
64076
 
+
64077
 
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
64078
 
+VAR=VALUE.  See below for descriptions of some of the useful variables.
64079
 
+
64080
 
+Defaults for the options are specified in brackets.
64081
 
+
64082
 
+Configuration:
64083
 
+  -h, --help              display this help and exit
64084
 
+      --help=short        display options specific to this package
64085
 
+      --help=recursive    display the short help of all the included packages
64086
 
+  -V, --version           display version information and exit
64087
 
+  -q, --quiet, --silent   do not print \`checking ...' messages
64088
 
+      --cache-file=FILE   cache test results in FILE [disabled]
64089
 
+  -C, --config-cache      alias for \`--cache-file=config.cache'
64090
 
+  -n, --no-create         do not create output files
64091
 
+      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
64092
 
+
64093
 
+Installation directories:
64094
 
+  --prefix=PREFIX         install architecture-independent files in PREFIX
64095
 
+                          @<:@@S|@ac_default_prefix@:>@
64096
 
+  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
64097
 
+                          @<:@PREFIX@:>@
64098
 
+
64099
 
+By default, \`make install' will install all the files in
64100
 
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
64101
 
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
64102
 
+for instance \`--prefix=\$HOME'.
64103
 
+
64104
 
+For better control, use the options below.
64105
 
+
64106
 
+Fine tuning of the installation directories:
64107
 
+  --bindir=DIR            user executables [EPREFIX/bin]
64108
 
+  --sbindir=DIR           system admin executables [EPREFIX/sbin]
64109
 
+  --libexecdir=DIR        program executables [EPREFIX/libexec]
64110
 
+  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
64111
 
+  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
64112
 
+  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
64113
 
+  --libdir=DIR            object code libraries [EPREFIX/lib]
64114
 
+  --includedir=DIR        C header files [PREFIX/include]
64115
 
+  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
64116
 
+  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
64117
 
+  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
64118
 
+  --infodir=DIR           info documentation [DATAROOTDIR/info]
64119
 
+  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
64120
 
+  --mandir=DIR            man documentation [DATAROOTDIR/man]
64121
 
+  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/coreutils@:>@
64122
 
+  --htmldir=DIR           html documentation [DOCDIR]
64123
 
+  --dvidir=DIR            dvi documentation [DOCDIR]
64124
 
+  --pdfdir=DIR            pdf documentation [DOCDIR]
64125
 
+  --psdir=DIR             ps documentation [DOCDIR]
64126
 
+_ACEOF
64127
 
+
64128
 
+  cat <<\_ACEOF
64129
 
+
64130
 
+Program names:
64131
 
+  --program-prefix=PREFIX            prepend PREFIX to installed program names
64132
 
+  --program-suffix=SUFFIX            append SUFFIX to installed program names
64133
 
+  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
64134
 
+
64135
 
+System types:
64136
 
+  --build=BUILD     configure for building on BUILD [guessed]
64137
 
+  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
64138
 
+_ACEOF
64139
 
+fi
64140
 
+
64141
 
+if test -n "$ac_init_help"; then
64142
 
+  case $ac_init_help in
64143
 
+     short | recursive ) echo "Configuration of GNU coreutils 8.13:";;
64144
 
+   esac
64145
 
+  cat <<\_ACEOF
64146
 
+
64147
 
+Optional Features:
64148
 
+  --disable-option-checking  ignore unrecognized --enable/--with options
64149
 
+  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
64150
 
+  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
64151
 
+  --enable-silent-rules          less verbose build output (undo: `make V=1')
64152
 
+  --disable-silent-rules         verbose build output (undo: `make V=0')
64153
 
+  --disable-dependency-tracking  speeds up one-time build
64154
 
+  --enable-dependency-tracking   do not reject slow dependency extractors
64155
 
+  --disable-largefile     omit support for large files
64156
 
+  --enable-threads={posix|solaris|pth|win32} 
64157
 
+                          specify multithreading API
64158
 
+  --disable-threads       build without multithread safety
64159
 
+  --disable-acl           do not support ACLs
64160
 
+  --disable-assert        turn off assertions
64161
 
+  --disable-rpath         do not hardcode runtime library paths
64162
 
+  --disable-xattr         do not support extended attributes
64163
 
+  --disable-libcap        disable libcap support
64164
 
+  --enable-gcc-warnings   turn on lots of GCC warnings (for developers)
64165
 
+  --enable-install-program=PROG_LIST 
64166
 
+                          install the programs in PROG_LIST (comma-separated,
64167
 
+                          default: none)
64168
 
+  --enable-no-install-program=PROG_LIST 
64169
 
+                          do NOT install the programs in PROG_LIST
64170
 
+                          (comma-separated, default: arch,hostname,su)
64171
 
+  --disable-nls           do not use Native Language Support
64172
 
+
64173
 
+Optional Packages:
64174
 
+  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
64175
 
+  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
64176
 
+  --with-gnu-ld           assume the C compiler uses GNU ld default=no
64177
 
+  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
64178
 
+  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
64179
 
+  --with-libpth-prefix[=DIR]  search for libpth in DIR/include and DIR/lib
64180
 
+  --without-libpth-prefix     don't search for libpth in includedir and libdir
64181
 
+  --without-included-regex 
64182
 
+                          don't compile regex; this is the default on systems
64183
 
+                          with recent-enough versions of the GNU C Library
64184
 
+                          (use with caution on other systems).
64185
 
+  --without-selinux       do not use SELinux, even on systems with SELinux
64186
 
+  --with-packager         String identifying the packager of this software
64187
 
+  --with-packager-version Packager-specific version information
64188
 
+  --with-packager-bug-reports 
64189
 
+                          Packager info for bug reports (URL/e-mail/...)
64190
 
+  --with-tty-group[=NAME] 
64191
 
+                          group used by system for TTYs, "tty" when not
64192
 
+                          specified (default: do not rely on any group used
64193
 
+                          for TTYs)
64194
 
+  --without-gmp           do not use the GNU MP library for arbitrary
64195
 
+                          precision calculation (default: use it if available)
64196
 
+  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
64197
 
+  --without-libintl-prefix     don't search for libintl in includedir and libdir
64198
 
+
64199
 
+Some influential environment variables:
64200
 
+  CC          C compiler command
64201
 
+  CFLAGS      C compiler flags
64202
 
+  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
64203
 
+              nonstandard directory <lib dir>
64204
 
+  LIBS        libraries to pass to the linker, e.g. -l<library>
64205
 
+  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
64206
 
+              you have headers in a nonstandard directory <include dir>
64207
 
+  CPP         C preprocessor
64208
 
+  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
64209
 
+              `bison -y'. Values other than `bison -y' will most likely break
64210
 
+              on most systems.
64211
 
+  YFLAGS      YFLAGS contains the list arguments that will be passed by
64212
 
+              default to Bison. This script will default YFLAGS to the empty
64213
 
+              string to avoid a default value of `-d' given by some make
64214
 
+              applications.
64215
 
+  DEFAULT_POSIX2_VERSION 
64216
 
+              POSIX version to default to; see 'config.hin'.
64217
 
+
64218
 
+Use these variables to override the choices made by `configure' or to help
64219
 
+it to find libraries and programs with nonstandard names/locations.
64220
 
+
64221
 
+Report bugs to <bug-coreutils@gnu.org>.
64222
 
+GNU coreutils home page: <http://www.gnu.org/software/coreutils/>.
64223
 
+General help using GNU software: <http://www.gnu.org/gethelp/>.
64224
 
+_ACEOF
64225
 
+ac_status=$?
64226
 
+fi
64227
 
+
64228
 
+if test "$ac_init_help" = "recursive"; then
64229
 
+  # If there are subdirs, report their specific --help.
64230
 
+  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
64231
 
+    test -d "$ac_dir" ||
64232
 
+      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
64233
 
+      continue
64234
 
+    ac_builddir=.
64235
 
+
64236
 
+case "$ac_dir" in
64237
 
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
64238
 
+*)
64239
 
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
64240
 
+  # A ".." for each directory in $ac_dir_suffix.
64241
 
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
64242
 
+  case $ac_top_builddir_sub in
64243
 
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
64244
 
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
64245
 
+  esac ;;
64246
 
+esac
64247
 
+ac_abs_top_builddir=$ac_pwd
64248
 
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
64249
 
+# for backward compatibility:
64250
 
+ac_top_builddir=$ac_top_build_prefix
64251
 
+
64252
 
+case $srcdir in
64253
 
+  .)  # We are building in place.
64254
 
+    ac_srcdir=.
64255
 
+    ac_top_srcdir=$ac_top_builddir_sub
64256
 
+    ac_abs_top_srcdir=$ac_pwd ;;
64257
 
+  [\\/]* | ?:[\\/]* )  # Absolute name.
64258
 
+    ac_srcdir=$srcdir$ac_dir_suffix;
64259
 
+    ac_top_srcdir=$srcdir
64260
 
+    ac_abs_top_srcdir=$srcdir ;;
64261
 
+  *) # Relative name.
64262
 
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
64263
 
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
64264
 
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
64265
 
+esac
64266
 
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
64267
 
+
64268
 
+    cd "$ac_dir" || { ac_status=$?; continue; }
64269
 
+    # Check for guested configure.
64270
 
+    if test -f "$ac_srcdir/configure.gnu"; then
64271
 
+      echo &&
64272
 
+      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
64273
 
+    elif test -f "$ac_srcdir/configure"; then
64274
 
+      echo &&
64275
 
+      $SHELL "$ac_srcdir/configure" --help=recursive
64276
 
+    else
64277
 
+      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
64278
 
+    fi || ac_status=$?
64279
 
+    cd "$ac_pwd" || { ac_status=$?; break; }
64280
 
+  done
64281
 
+fi
64282
 
+
64283
 
+test -n "$ac_init_help" && exit $ac_status
64284
 
+if $ac_init_version; then
64285
 
+  cat <<\_ACEOF
64286
 
+GNU coreutils configure 8.13
64287
 
+generated by GNU Autoconf 2.68
64288
 
+
64289
 
+Copyright (C) 2010 Free Software Foundation, Inc.
64290
 
+This configure script is free software; the Free Software Foundation
64291
 
+gives unlimited permission to copy, distribute and modify it.
64292
 
+_ACEOF
64293
 
+  exit
64294
 
+fi
64295
 
+
64296
 
+## ------------------------ ##
64297
 
+## Autoconf initialization. ##
64298
 
+## ------------------------ ##
64299
 
+
64300
 
+@%:@ ac_fn_c_try_compile LINENO
64301
 
+@%:@ --------------------------
64302
 
+@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
64303
 
+ac_fn_c_try_compile ()
64304
 
+{
64305
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
64306
 
+  rm -f conftest.$ac_objext
64307
 
+  if { { ac_try="$ac_compile"
64308
 
+case "(($ac_try" in
64309
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64310
 
+  *) ac_try_echo=$ac_try;;
64311
 
+esac
64312
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
64313
 
+$as_echo "$ac_try_echo"; } >&5
64314
 
+  (eval "$ac_compile") 2>conftest.err
64315
 
+  ac_status=$?
64316
 
+  if test -s conftest.err; then
64317
 
+    grep -v '^ *+' conftest.err >conftest.er1
64318
 
+    cat conftest.er1 >&5
64319
 
+    mv -f conftest.er1 conftest.err
64320
 
+  fi
64321
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
64322
 
+  test $ac_status = 0; } && {
64323
 
+        test -z "$ac_c_werror_flag" ||
64324
 
+        test ! -s conftest.err
64325
 
+       } && test -s conftest.$ac_objext; then :
64326
 
+  ac_retval=0
64327
 
+else
64328
 
+  $as_echo "$as_me: failed program was:" >&5
64329
 
+sed 's/^/| /' conftest.$ac_ext >&5
64330
 
+
64331
 
+       ac_retval=1
64332
 
+fi
64333
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
64334
 
+  as_fn_set_status $ac_retval
64335
 
+
64336
 
+} @%:@ ac_fn_c_try_compile
64337
 
+
64338
 
+@%:@ ac_fn_c_try_cpp LINENO
64339
 
+@%:@ ----------------------
64340
 
+@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
64341
 
+ac_fn_c_try_cpp ()
64342
 
+{
64343
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
64344
 
+  if { { ac_try="$ac_cpp conftest.$ac_ext"
64345
 
+case "(($ac_try" in
64346
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64347
 
+  *) ac_try_echo=$ac_try;;
64348
 
+esac
64349
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
64350
 
+$as_echo "$ac_try_echo"; } >&5
64351
 
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
64352
 
+  ac_status=$?
64353
 
+  if test -s conftest.err; then
64354
 
+    grep -v '^ *+' conftest.err >conftest.er1
64355
 
+    cat conftest.er1 >&5
64356
 
+    mv -f conftest.er1 conftest.err
64357
 
+  fi
64358
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
64359
 
+  test $ac_status = 0; } > conftest.i && {
64360
 
+        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
64361
 
+        test ! -s conftest.err
64362
 
+       }; then :
64363
 
+  ac_retval=0
64364
 
+else
64365
 
+  $as_echo "$as_me: failed program was:" >&5
64366
 
+sed 's/^/| /' conftest.$ac_ext >&5
64367
 
+
64368
 
+    ac_retval=1
64369
 
+fi
64370
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
64371
 
+  as_fn_set_status $ac_retval
64372
 
+
64373
 
+} @%:@ ac_fn_c_try_cpp
64374
 
+
64375
 
+@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
64376
 
+@%:@ -------------------------------------------------------
64377
 
+@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
64378
 
+@%:@ the include files in INCLUDES and setting the cache variable VAR
64379
 
+@%:@ accordingly.
64380
 
+ac_fn_c_check_header_mongrel ()
64381
 
+{
64382
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
64383
 
+  if eval \${$3+:} false; then :
64384
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
64385
 
+$as_echo_n "checking for $2... " >&6; }
64386
 
+if eval \${$3+:} false; then :
64387
 
+  $as_echo_n "(cached) " >&6
64388
 
+fi
64389
 
+eval ac_res=\$$3
64390
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
64391
 
+$as_echo "$ac_res" >&6; }
64392
 
+else
64393
 
+  # Is the header compilable?
64394
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
64395
 
+$as_echo_n "checking $2 usability... " >&6; }
64396
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64397
 
+/* end confdefs.h.  */
64398
 
+$4
64399
 
+@%:@include <$2>
64400
 
+_ACEOF
64401
 
+if ac_fn_c_try_compile "$LINENO"; then :
64402
 
+  ac_header_compiler=yes
64403
 
+else
64404
 
+  ac_header_compiler=no
64405
 
+fi
64406
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64407
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
64408
 
+$as_echo "$ac_header_compiler" >&6; }
64409
 
+
64410
 
+# Is the header present?
64411
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
64412
 
+$as_echo_n "checking $2 presence... " >&6; }
64413
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64414
 
+/* end confdefs.h.  */
64415
 
+@%:@include <$2>
64416
 
+_ACEOF
64417
 
+if ac_fn_c_try_cpp "$LINENO"; then :
64418
 
+  ac_header_preproc=yes
64419
 
+else
64420
 
+  ac_header_preproc=no
64421
 
+fi
64422
 
+rm -f conftest.err conftest.i conftest.$ac_ext
64423
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
64424
 
+$as_echo "$ac_header_preproc" >&6; }
64425
 
+
64426
 
+# So?  What about this header?
64427
 
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
64428
 
+  yes:no: )
64429
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
64430
 
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
64431
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
64432
 
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
64433
 
+    ;;
64434
 
+  no:yes:* )
64435
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
64436
 
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
64437
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
64438
 
+$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
64439
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
64440
 
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
64441
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
64442
 
+$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
64443
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
64444
 
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
64445
 
+( $as_echo "## ------------------------------------ ##
64446
 
+## Report this to bug-coreutils@gnu.org ##
64447
 
+## ------------------------------------ ##"
64448
 
+     ) | sed "s/^/$as_me: WARNING:     /" >&2
64449
 
+    ;;
64450
 
+esac
64451
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
64452
 
+$as_echo_n "checking for $2... " >&6; }
64453
 
+if eval \${$3+:} false; then :
64454
 
+  $as_echo_n "(cached) " >&6
64455
 
+else
64456
 
+  eval "$3=\$ac_header_compiler"
64457
 
+fi
64458
 
+eval ac_res=\$$3
64459
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
64460
 
+$as_echo "$ac_res" >&6; }
64461
 
+fi
64462
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
64463
 
+
64464
 
+} @%:@ ac_fn_c_check_header_mongrel
64465
 
+
64466
 
+@%:@ ac_fn_c_try_run LINENO
64467
 
+@%:@ ----------------------
64468
 
+@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
64469
 
+@%:@ that executables *can* be run.
64470
 
+ac_fn_c_try_run ()
64471
 
+{
64472
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
64473
 
+  if { { ac_try="$ac_link"
64474
 
+case "(($ac_try" in
64475
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64476
 
+  *) ac_try_echo=$ac_try;;
64477
 
+esac
64478
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
64479
 
+$as_echo "$ac_try_echo"; } >&5
64480
 
+  (eval "$ac_link") 2>&5
64481
 
+  ac_status=$?
64482
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
64483
 
+  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
64484
 
+  { { case "(($ac_try" in
64485
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64486
 
+  *) ac_try_echo=$ac_try;;
64487
 
+esac
64488
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
64489
 
+$as_echo "$ac_try_echo"; } >&5
64490
 
+  (eval "$ac_try") 2>&5
64491
 
+  ac_status=$?
64492
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
64493
 
+  test $ac_status = 0; }; }; then :
64494
 
+  ac_retval=0
64495
 
+else
64496
 
+  $as_echo "$as_me: program exited with status $ac_status" >&5
64497
 
+       $as_echo "$as_me: failed program was:" >&5
64498
 
+sed 's/^/| /' conftest.$ac_ext >&5
64499
 
+
64500
 
+       ac_retval=$ac_status
64501
 
+fi
64502
 
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
64503
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
64504
 
+  as_fn_set_status $ac_retval
64505
 
+
64506
 
+} @%:@ ac_fn_c_try_run
64507
 
+
64508
 
+@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
64509
 
+@%:@ -------------------------------------------------------
64510
 
+@%:@ Tests whether HEADER exists and can be compiled using the include files in
64511
 
+@%:@ INCLUDES, setting the cache variable VAR accordingly.
64512
 
+ac_fn_c_check_header_compile ()
64513
 
+{
64514
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
64515
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
64516
 
+$as_echo_n "checking for $2... " >&6; }
64517
 
+if eval \${$3+:} false; then :
64518
 
+  $as_echo_n "(cached) " >&6
64519
 
+else
64520
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64521
 
+/* end confdefs.h.  */
64522
 
+$4
64523
 
+@%:@include <$2>
64524
 
+_ACEOF
64525
 
+if ac_fn_c_try_compile "$LINENO"; then :
64526
 
+  eval "$3=yes"
64527
 
+else
64528
 
+  eval "$3=no"
64529
 
+fi
64530
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64531
 
+fi
64532
 
+eval ac_res=\$$3
64533
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
64534
 
+$as_echo "$ac_res" >&6; }
64535
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
64536
 
+
64537
 
+} @%:@ ac_fn_c_check_header_compile
64538
 
+
64539
 
+@%:@ ac_fn_c_try_link LINENO
64540
 
+@%:@ -----------------------
64541
 
+@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
64542
 
+ac_fn_c_try_link ()
64543
 
+{
64544
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
64545
 
+  rm -f conftest.$ac_objext conftest$ac_exeext
64546
 
+  if { { ac_try="$ac_link"
64547
 
+case "(($ac_try" in
64548
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64549
 
+  *) ac_try_echo=$ac_try;;
64550
 
+esac
64551
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
64552
 
+$as_echo "$ac_try_echo"; } >&5
64553
 
+  (eval "$ac_link") 2>conftest.err
64554
 
+  ac_status=$?
64555
 
+  if test -s conftest.err; then
64556
 
+    grep -v '^ *+' conftest.err >conftest.er1
64557
 
+    cat conftest.er1 >&5
64558
 
+    mv -f conftest.er1 conftest.err
64559
 
+  fi
64560
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
64561
 
+  test $ac_status = 0; } && {
64562
 
+        test -z "$ac_c_werror_flag" ||
64563
 
+        test ! -s conftest.err
64564
 
+       } && test -s conftest$ac_exeext && {
64565
 
+        test "$cross_compiling" = yes ||
64566
 
+        $as_test_x conftest$ac_exeext
64567
 
+       }; then :
64568
 
+  ac_retval=0
64569
 
+else
64570
 
+  $as_echo "$as_me: failed program was:" >&5
64571
 
+sed 's/^/| /' conftest.$ac_ext >&5
64572
 
+
64573
 
+       ac_retval=1
64574
 
+fi
64575
 
+  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
64576
 
+  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
64577
 
+  # interfere with the next link command; also delete a directory that is
64578
 
+  # left behind by Apple's compiler.  We do this before executing the actions.
64579
 
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
64580
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
64581
 
+  as_fn_set_status $ac_retval
64582
 
+
64583
 
+} @%:@ ac_fn_c_try_link
64584
 
+
64585
 
+@%:@ ac_fn_c_check_func LINENO FUNC VAR
64586
 
+@%:@ ----------------------------------
64587
 
+@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
64588
 
+ac_fn_c_check_func ()
64589
 
+{
64590
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
64591
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
64592
 
+$as_echo_n "checking for $2... " >&6; }
64593
 
+if eval \${$3+:} false; then :
64594
 
+  $as_echo_n "(cached) " >&6
64595
 
+else
64596
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64597
 
+/* end confdefs.h.  */
64598
 
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
64599
 
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64600
 
+#define $2 innocuous_$2
64601
 
+
64602
 
+/* System header to define __stub macros and hopefully few prototypes,
64603
 
+    which can conflict with char $2 (); below.
64604
 
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64605
 
+    <limits.h> exists even on freestanding compilers.  */
64606
 
+
64607
 
+#ifdef __STDC__
64608
 
+# include <limits.h>
64609
 
+#else
64610
 
+# include <assert.h>
64611
 
+#endif
64612
 
+
64613
 
+#undef $2
64614
 
+
64615
 
+/* Override any GCC internal prototype to avoid an error.
64616
 
+   Use char because int might match the return type of a GCC
64617
 
+   builtin and then its argument prototype would still apply.  */
64618
 
+#ifdef __cplusplus
64619
 
+extern "C"
64620
 
+#endif
64621
 
+char $2 ();
64622
 
+/* The GNU C library defines this for functions which it implements
64623
 
+    to always fail with ENOSYS.  Some functions are actually named
64624
 
+    something starting with __ and the normal name is an alias.  */
64625
 
+#if defined __stub_$2 || defined __stub___$2
64626
 
+choke me
64627
 
+#endif
64628
 
+
64629
 
+int
64630
 
+main ()
64631
 
+{
64632
 
+return $2 ();
64633
 
+  ;
64634
 
+  return 0;
64635
 
+}
64636
 
+_ACEOF
64637
 
+if ac_fn_c_try_link "$LINENO"; then :
64638
 
+  eval "$3=yes"
64639
 
+else
64640
 
+  eval "$3=no"
64641
 
+fi
64642
 
+rm -f core conftest.err conftest.$ac_objext \
64643
 
+    conftest$ac_exeext conftest.$ac_ext
64644
 
+fi
64645
 
+eval ac_res=\$$3
64646
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
64647
 
+$as_echo "$ac_res" >&6; }
64648
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
64649
 
+
64650
 
+} @%:@ ac_fn_c_check_func
64651
 
+
64652
 
+@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
64653
 
+@%:@ -------------------------------------------
64654
 
+@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
64655
 
+@%:@ variable VAR accordingly.
64656
 
+ac_fn_c_check_type ()
64657
 
+{
64658
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
64659
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
64660
 
+$as_echo_n "checking for $2... " >&6; }
64661
 
+if eval \${$3+:} false; then :
64662
 
+  $as_echo_n "(cached) " >&6
64663
 
+else
64664
 
+  eval "$3=no"
64665
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64666
 
+/* end confdefs.h.  */
64667
 
+$4
64668
 
+int
64669
 
+main ()
64670
 
+{
64671
 
+if (sizeof ($2))
64672
 
+        return 0;
64673
 
+  ;
64674
 
+  return 0;
64675
 
+}
64676
 
+_ACEOF
64677
 
+if ac_fn_c_try_compile "$LINENO"; then :
64678
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64679
 
+/* end confdefs.h.  */
64680
 
+$4
64681
 
+int
64682
 
+main ()
64683
 
+{
64684
 
+if (sizeof (($2)))
64685
 
+           return 0;
64686
 
+  ;
64687
 
+  return 0;
64688
 
+}
64689
 
+_ACEOF
64690
 
+if ac_fn_c_try_compile "$LINENO"; then :
64691
 
+  
64692
 
+else
64693
 
+  eval "$3=yes"
64694
 
+fi
64695
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64696
 
+fi
64697
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64698
 
+fi
64699
 
+eval ac_res=\$$3
64700
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
64701
 
+$as_echo "$ac_res" >&6; }
64702
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
64703
 
+
64704
 
+} @%:@ ac_fn_c_check_type
64705
 
+
64706
 
+@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
64707
 
+@%:@ ---------------------------------------------
64708
 
+@%:@ Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
64709
 
+@%:@ accordingly.
64710
 
+ac_fn_c_check_decl ()
64711
 
+{
64712
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
64713
 
+  as_decl_name=`echo $2|sed 's/ *(.*//'`
64714
 
+  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
64715
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
64716
 
+$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
64717
 
+if eval \${$3+:} false; then :
64718
 
+  $as_echo_n "(cached) " >&6
64719
 
+else
64720
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64721
 
+/* end confdefs.h.  */
64722
 
+$4
64723
 
+int
64724
 
+main ()
64725
 
+{
64726
 
+@%:@ifndef $as_decl_name
64727
 
+@%:@ifdef __cplusplus
64728
 
+  (void) $as_decl_use;
64729
 
+@%:@else
64730
 
+  (void) $as_decl_name;
64731
 
+@%:@endif
64732
 
+@%:@endif
64733
 
+
64734
 
+  ;
64735
 
+  return 0;
64736
 
+}
64737
 
+_ACEOF
64738
 
+if ac_fn_c_try_compile "$LINENO"; then :
64739
 
+  eval "$3=yes"
64740
 
+else
64741
 
+  eval "$3=no"
64742
 
+fi
64743
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64744
 
+fi
64745
 
+eval ac_res=\$$3
64746
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
64747
 
+$as_echo "$ac_res" >&6; }
64748
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
64749
 
+
64750
 
+} @%:@ ac_fn_c_check_decl
64751
 
+
64752
 
+@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
64753
 
+@%:@ --------------------------------------------
64754
 
+@%:@ Tries to find the compile-time value of EXPR in a program that includes
64755
 
+@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
64756
 
+@%:@ computed
64757
 
+ac_fn_c_compute_int ()
64758
 
+{
64759
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
64760
 
+  if test "$cross_compiling" = yes; then
64761
 
+    # Depending upon the size, compute the lo and hi bounds.
64762
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64763
 
+/* end confdefs.h.  */
64764
 
+$4
64765
 
+int
64766
 
+main ()
64767
 
+{
64768
 
+static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
64769
 
+test_array @<:@0@:>@ = 0
64770
 
+
64771
 
+  ;
64772
 
+  return 0;
64773
 
+}
64774
 
+_ACEOF
64775
 
+if ac_fn_c_try_compile "$LINENO"; then :
64776
 
+  ac_lo=0 ac_mid=0
64777
 
+  while :; do
64778
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64779
 
+/* end confdefs.h.  */
64780
 
+$4
64781
 
+int
64782
 
+main ()
64783
 
+{
64784
 
+static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
64785
 
+test_array @<:@0@:>@ = 0
64786
 
+
64787
 
+  ;
64788
 
+  return 0;
64789
 
+}
64790
 
+_ACEOF
64791
 
+if ac_fn_c_try_compile "$LINENO"; then :
64792
 
+  ac_hi=$ac_mid; break
64793
 
+else
64794
 
+  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
64795
 
+                       if test $ac_lo -le $ac_mid; then
64796
 
+                         ac_lo= ac_hi=
64797
 
+                         break
64798
 
+                       fi
64799
 
+                       as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
64800
 
+fi
64801
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64802
 
+  done
64803
 
+else
64804
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64805
 
+/* end confdefs.h.  */
64806
 
+$4
64807
 
+int
64808
 
+main ()
64809
 
+{
64810
 
+static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
64811
 
+test_array @<:@0@:>@ = 0
64812
 
+
64813
 
+  ;
64814
 
+  return 0;
64815
 
+}
64816
 
+_ACEOF
64817
 
+if ac_fn_c_try_compile "$LINENO"; then :
64818
 
+  ac_hi=-1 ac_mid=-1
64819
 
+  while :; do
64820
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64821
 
+/* end confdefs.h.  */
64822
 
+$4
64823
 
+int
64824
 
+main ()
64825
 
+{
64826
 
+static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
64827
 
+test_array @<:@0@:>@ = 0
64828
 
+
64829
 
+  ;
64830
 
+  return 0;
64831
 
+}
64832
 
+_ACEOF
64833
 
+if ac_fn_c_try_compile "$LINENO"; then :
64834
 
+  ac_lo=$ac_mid; break
64835
 
+else
64836
 
+  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
64837
 
+                       if test $ac_mid -le $ac_hi; then
64838
 
+                         ac_lo= ac_hi=
64839
 
+                         break
64840
 
+                       fi
64841
 
+                       as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
64842
 
+fi
64843
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64844
 
+  done
64845
 
+else
64846
 
+  ac_lo= ac_hi=
64847
 
+fi
64848
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64849
 
+fi
64850
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64851
 
+# Binary search between lo and hi bounds.
64852
 
+while test "x$ac_lo" != "x$ac_hi"; do
64853
 
+  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
64854
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64855
 
+/* end confdefs.h.  */
64856
 
+$4
64857
 
+int
64858
 
+main ()
64859
 
+{
64860
 
+static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
64861
 
+test_array @<:@0@:>@ = 0
64862
 
+
64863
 
+  ;
64864
 
+  return 0;
64865
 
+}
64866
 
+_ACEOF
64867
 
+if ac_fn_c_try_compile "$LINENO"; then :
64868
 
+  ac_hi=$ac_mid
64869
 
+else
64870
 
+  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
64871
 
+fi
64872
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64873
 
+done
64874
 
+case $ac_lo in @%:@((
64875
 
+?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
64876
 
+'') ac_retval=1 ;;
64877
 
+esac
64878
 
+  else
64879
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64880
 
+/* end confdefs.h.  */
64881
 
+$4
64882
 
+static long int longval () { return $2; }
64883
 
+static unsigned long int ulongval () { return $2; }
64884
 
+@%:@include <stdio.h>
64885
 
+@%:@include <stdlib.h>
64886
 
+int
64887
 
+main ()
64888
 
+{
64889
 
+
64890
 
+  FILE *f = fopen ("conftest.val", "w");
64891
 
+  if (! f)
64892
 
+    return 1;
64893
 
+  if (($2) < 0)
64894
 
+    {
64895
 
+      long int i = longval ();
64896
 
+      if (i != ($2))
64897
 
+       return 1;
64898
 
+      fprintf (f, "%ld", i);
64899
 
+    }
64900
 
+  else
64901
 
+    {
64902
 
+      unsigned long int i = ulongval ();
64903
 
+      if (i != ($2))
64904
 
+       return 1;
64905
 
+      fprintf (f, "%lu", i);
64906
 
+    }
64907
 
+  /* Do not output a trailing newline, as this causes \r\n confusion
64908
 
+     on some platforms.  */
64909
 
+  return ferror (f) || fclose (f) != 0;
64910
 
+
64911
 
+  ;
64912
 
+  return 0;
64913
 
+}
64914
 
+_ACEOF
64915
 
+if ac_fn_c_try_run "$LINENO"; then :
64916
 
+  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
64917
 
+else
64918
 
+  ac_retval=1
64919
 
+fi
64920
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
64921
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
64922
 
+rm -f conftest.val
64923
 
+
64924
 
+  fi
64925
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
64926
 
+  as_fn_set_status $ac_retval
64927
 
+
64928
 
+} @%:@ ac_fn_c_compute_int
64929
 
+
64930
 
+@%:@ ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
64931
 
+@%:@ ----------------------------------------------------
64932
 
+@%:@ Tries to find if the field MEMBER exists in type AGGR, after including
64933
 
+@%:@ INCLUDES, setting cache variable VAR accordingly.
64934
 
+ac_fn_c_check_member ()
64935
 
+{
64936
 
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
64937
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
64938
 
+$as_echo_n "checking for $2.$3... " >&6; }
64939
 
+if eval \${$4+:} false; then :
64940
 
+  $as_echo_n "(cached) " >&6
64941
 
+else
64942
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64943
 
+/* end confdefs.h.  */
64944
 
+$5
64945
 
+int
64946
 
+main ()
64947
 
+{
64948
 
+static $2 ac_aggr;
64949
 
+if (ac_aggr.$3)
64950
 
+return 0;
64951
 
+  ;
64952
 
+  return 0;
64953
 
+}
64954
 
+_ACEOF
64955
 
+if ac_fn_c_try_compile "$LINENO"; then :
64956
 
+  eval "$4=yes"
64957
 
+else
64958
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64959
 
+/* end confdefs.h.  */
64960
 
+$5
64961
 
+int
64962
 
+main ()
64963
 
+{
64964
 
+static $2 ac_aggr;
64965
 
+if (sizeof ac_aggr.$3)
64966
 
+return 0;
64967
 
+  ;
64968
 
+  return 0;
64969
 
+}
64970
 
+_ACEOF
64971
 
+if ac_fn_c_try_compile "$LINENO"; then :
64972
 
+  eval "$4=yes"
64973
 
+else
64974
 
+  eval "$4=no"
64975
 
+fi
64976
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64977
 
+fi
64978
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64979
 
+fi
64980
 
+eval ac_res=\$$4
64981
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
64982
 
+$as_echo "$ac_res" >&6; }
64983
 
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
64984
 
+
64985
 
+} @%:@ ac_fn_c_check_member
64986
 
+cat >config.log <<_ACEOF
64987
 
+This file contains any messages produced by compilers while
64988
 
+running configure, to aid debugging if configure makes a mistake.
64989
 
+
64990
 
+It was created by GNU coreutils $as_me 8.13, which was
64991
 
+generated by GNU Autoconf 2.68.  Invocation command line was
64992
 
+
64993
 
+  $ $0 $@
64994
 
+
64995
 
+_ACEOF
64996
 
+exec 5>>config.log
64997
 
+{
64998
 
+cat <<_ASUNAME
64999
 
+## --------- ##
65000
 
+## Platform. ##
65001
 
+## --------- ##
65002
 
+
65003
 
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
65004
 
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
65005
 
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
65006
 
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
65007
 
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
65008
 
+
65009
 
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
65010
 
+/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
65011
 
+
65012
 
+/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
65013
 
+/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
65014
 
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
65015
 
+/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
65016
 
+/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
65017
 
+/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
65018
 
+/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
65019
 
+
65020
 
+_ASUNAME
65021
 
+
65022
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65023
 
+for as_dir in $PATH
65024
 
+do
65025
 
+  IFS=$as_save_IFS
65026
 
+  test -z "$as_dir" && as_dir=.
65027
 
+    $as_echo "PATH: $as_dir"
65028
 
+  done
65029
 
+IFS=$as_save_IFS
65030
 
+
65031
 
+} >&5
65032
 
+
65033
 
+cat >&5 <<_ACEOF
65034
 
+
65035
 
+
65036
 
+## ----------- ##
65037
 
+## Core tests. ##
65038
 
+## ----------- ##
65039
 
+
65040
 
+_ACEOF
65041
 
+
65042
 
+
65043
 
+# Keep a trace of the command line.
65044
 
+# Strip out --no-create and --no-recursion so they do not pile up.
65045
 
+# Strip out --silent because we don't want to record it for future runs.
65046
 
+# Also quote any args containing shell meta-characters.
65047
 
+# Make two passes to allow for proper duplicate-argument suppression.
65048
 
+ac_configure_args=
65049
 
+ac_configure_args0=
65050
 
+ac_configure_args1=
65051
 
+ac_must_keep_next=false
65052
 
+for ac_pass in 1 2
65053
 
+do
65054
 
+  for ac_arg
65055
 
+  do
65056
 
+    case $ac_arg in
65057
 
+    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
65058
 
+    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
65059
 
+    | -silent | --silent | --silen | --sile | --sil)
65060
 
+      continue ;;
65061
 
+    *\'*)
65062
 
+      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
65063
 
+    esac
65064
 
+    case $ac_pass in
65065
 
+    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
65066
 
+    2)
65067
 
+      as_fn_append ac_configure_args1 " '$ac_arg'"
65068
 
+      if test $ac_must_keep_next = true; then
65069
 
+       ac_must_keep_next=false # Got value, back to normal.
65070
 
+      else
65071
 
+       case $ac_arg in
65072
 
+         *=* | --config-cache | -C | -disable-* | --disable-* \
65073
 
+         | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
65074
 
+         | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
65075
 
+         | -with-* | --with-* | -without-* | --without-* | --x)
65076
 
+           case "$ac_configure_args0 " in
65077
 
+             "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
65078
 
+           esac
65079
 
+           ;;
65080
 
+         -* ) ac_must_keep_next=true ;;
65081
 
+       esac
65082
 
+      fi
65083
 
+      as_fn_append ac_configure_args " '$ac_arg'"
65084
 
+      ;;
65085
 
+    esac
65086
 
+  done
65087
 
+done
65088
 
+{ ac_configure_args0=; unset ac_configure_args0;}
65089
 
+{ ac_configure_args1=; unset ac_configure_args1;}
65090
 
+
65091
 
+# When interrupted or exit'd, cleanup temporary files, and complete
65092
 
+# config.log.  We remove comments because anyway the quotes in there
65093
 
+# would cause problems or look ugly.
65094
 
+# WARNING: Use '\'' to represent an apostrophe within the trap.
65095
 
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
65096
 
+trap 'exit_status=$?
65097
 
+  # Save into config.log some information that might help in debugging.
65098
 
+  {
65099
 
+    echo
65100
 
+
65101
 
+    $as_echo "## ---------------- ##
65102
 
+## Cache variables. ##
65103
 
+## ---------------- ##"
65104
 
+    echo
65105
 
+    # The following way of writing the cache mishandles newlines in values,
65106
 
+(
65107
 
+  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
65108
 
+    eval ac_val=\$$ac_var
65109
 
+    case $ac_val in #(
65110
 
+    *${as_nl}*)
65111
 
+      case $ac_var in #(
65112
 
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65113
 
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65114
 
+      esac
65115
 
+      case $ac_var in #(
65116
 
+      _ | IFS | as_nl) ;; #(
65117
 
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65118
 
+      *) { eval $ac_var=; unset $ac_var;} ;;
65119
 
+      esac ;;
65120
 
+    esac
65121
 
+  done
65122
 
+  (set) 2>&1 |
65123
 
+    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
65124
 
+    *${as_nl}ac_space=\ *)
65125
 
+      sed -n \
65126
 
+       "s/'\''/'\''\\\\'\'''\''/g;
65127
 
+         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
65128
 
+      ;; #(
65129
 
+    *)
65130
 
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65131
 
+      ;;
65132
 
+    esac |
65133
 
+    sort
65134
 
+)
65135
 
+    echo
65136
 
+
65137
 
+    $as_echo "## ----------------- ##
65138
 
+## Output variables. ##
65139
 
+## ----------------- ##"
65140
 
+    echo
65141
 
+    for ac_var in $ac_subst_vars
65142
 
+    do
65143
 
+      eval ac_val=\$$ac_var
65144
 
+      case $ac_val in
65145
 
+      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
65146
 
+      esac
65147
 
+      $as_echo "$ac_var='\''$ac_val'\''"
65148
 
+    done | sort
65149
 
+    echo
65150
 
+
65151
 
+    if test -n "$ac_subst_files"; then
65152
 
+      $as_echo "## ------------------- ##
65153
 
+## File substitutions. ##
65154
 
+## ------------------- ##"
65155
 
+      echo
65156
 
+      for ac_var in $ac_subst_files
65157
 
+      do
65158
 
+       eval ac_val=\$$ac_var
65159
 
+       case $ac_val in
65160
 
+       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
65161
 
+       esac
65162
 
+       $as_echo "$ac_var='\''$ac_val'\''"
65163
 
+      done | sort
65164
 
+      echo
65165
 
+    fi
65166
 
+
65167
 
+    if test -s confdefs.h; then
65168
 
+      $as_echo "## ----------- ##
65169
 
+## confdefs.h. ##
65170
 
+## ----------- ##"
65171
 
+      echo
65172
 
+      cat confdefs.h
65173
 
+      echo
65174
 
+    fi
65175
 
+    test "$ac_signal" != 0 &&
65176
 
+      $as_echo "$as_me: caught signal $ac_signal"
65177
 
+    $as_echo "$as_me: exit $exit_status"
65178
 
+  } >&5
65179
 
+  rm -f core *.core core.conftest.* &&
65180
 
+    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
65181
 
+    exit $exit_status
65182
 
+' 0
65183
 
+for ac_signal in 1 2 13 15; do
65184
 
+  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
65185
 
+done
65186
 
+ac_signal=0
65187
 
+
65188
 
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
65189
 
+rm -f -r conftest* confdefs.h
65190
 
+
65191
 
+$as_echo "/* confdefs.h */" > confdefs.h
65192
 
+
65193
 
+# Predefined preprocessor variables.
65194
 
+
65195
 
+cat >>confdefs.h <<_ACEOF
65196
 
+@%:@define PACKAGE_NAME "$PACKAGE_NAME"
65197
 
+_ACEOF
65198
 
+
65199
 
+cat >>confdefs.h <<_ACEOF
65200
 
+@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
65201
 
+_ACEOF
65202
 
+
65203
 
+cat >>confdefs.h <<_ACEOF
65204
 
+@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
65205
 
+_ACEOF
65206
 
+
65207
 
+cat >>confdefs.h <<_ACEOF
65208
 
+@%:@define PACKAGE_STRING "$PACKAGE_STRING"
65209
 
+_ACEOF
65210
 
+
65211
 
+cat >>confdefs.h <<_ACEOF
65212
 
+@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
65213
 
+_ACEOF
65214
 
+
65215
 
+cat >>confdefs.h <<_ACEOF
65216
 
+@%:@define PACKAGE_URL "$PACKAGE_URL"
65217
 
+_ACEOF
65218
 
+
65219
 
+
65220
 
+# Let the site file select an alternate cache file if it wants to.
65221
 
+# Prefer an explicitly selected file to automatically selected ones.
65222
 
+ac_site_file1=NONE
65223
 
+ac_site_file2=NONE
65224
 
+if test -n "$CONFIG_SITE"; then
65225
 
+  # We do not want a PATH search for config.site.
65226
 
+  case $CONFIG_SITE in @%:@((
65227
 
+    -*)  ac_site_file1=./$CONFIG_SITE;;
65228
 
+    */*) ac_site_file1=$CONFIG_SITE;;
65229
 
+    *)   ac_site_file1=./$CONFIG_SITE;;
65230
 
+  esac
65231
 
+elif test "x$prefix" != xNONE; then
65232
 
+  ac_site_file1=$prefix/share/config.site
65233
 
+  ac_site_file2=$prefix/etc/config.site
65234
 
+else
65235
 
+  ac_site_file1=$ac_default_prefix/share/config.site
65236
 
+  ac_site_file2=$ac_default_prefix/etc/config.site
65237
 
+fi
65238
 
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
65239
 
+do
65240
 
+  test "x$ac_site_file" = xNONE && continue
65241
 
+  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
65242
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
65243
 
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
65244
 
+    sed 's/^/| /' "$ac_site_file" >&5
65245
 
+    . "$ac_site_file" \
65246
 
+      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
65247
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
65248
 
+as_fn_error $? "failed to load site script $ac_site_file
65249
 
+See \`config.log' for more details" "$LINENO" 5; }
65250
 
+  fi
65251
 
+done
65252
 
+
65253
 
+if test -r "$cache_file"; then
65254
 
+  # Some versions of bash will fail to source /dev/null (special files
65255
 
+  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
65256
 
+  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
65257
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
65258
 
+$as_echo "$as_me: loading cache $cache_file" >&6;}
65259
 
+    case $cache_file in
65260
 
+      [\\/]* | ?:[\\/]* ) . "$cache_file";;
65261
 
+      *)                      . "./$cache_file";;
65262
 
+    esac
65263
 
+  fi
65264
 
+else
65265
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
65266
 
+$as_echo "$as_me: creating cache $cache_file" >&6;}
65267
 
+  >$cache_file
65268
 
+fi
65269
 
+
65270
 
+as_fn_append ac_header_list " arpa/inet.h"
65271
 
+as_fn_append ac_header_list " features.h"
65272
 
+as_fn_append ac_func_list " pathconf"
65273
 
+as_fn_append ac_func_list " btowc"
65274
 
+as_fn_append ac_func_list " canonicalize_file_name"
65275
 
+as_fn_append ac_func_list " realpath"
65276
 
+as_fn_append ac_func_list " readlinkat"
65277
 
+as_fn_append ac_func_list " chown"
65278
 
+as_fn_append ac_func_list " fchown"
65279
 
+as_fn_append ac_header_list " sys/socket.h"
65280
 
+as_fn_append ac_func_list " fchdir"
65281
 
+as_fn_append ac_header_list " dirent.h"
65282
 
+as_fn_append ac_func_list " fdopendir"
65283
 
+as_fn_append ac_func_list " faccessat"
65284
 
+as_fn_append ac_header_list " libgen.h"
65285
 
+as_fn_append ac_func_list " fchmodat"
65286
 
+as_fn_append ac_func_list " lchmod"
65287
 
+as_fn_append ac_func_list " mkdirat"
65288
 
+as_fn_append ac_func_list " openat"
65289
 
+as_fn_append ac_func_list " unlinkat"
65290
 
+as_fn_append ac_func_list " fstatat"
65291
 
+as_fn_append ac_func_list " access"
65292
 
+as_fn_append ac_func_list " posix_fadvise"
65293
 
+as_fn_append ac_func_list " fcntl"
65294
 
+as_fn_append ac_header_list " sys/param.h"
65295
 
+as_fn_append ac_func_list " mempcpy"
65296
 
+as_fn_append ac_func_list " isblank"
65297
 
+as_fn_append ac_func_list " iswctype"
65298
 
+as_fn_append ac_func_list " mbsrtowcs"
65299
 
+as_fn_append ac_func_list " wmemchr"
65300
 
+as_fn_append ac_func_list " wmemcpy"
65301
 
+as_fn_append ac_func_list " wmempcpy"
65302
 
+as_fn_append ac_header_list " wctype.h"
65303
 
+gl_fnmatch_required=GNU
65304
 
+as_fn_append ac_header_list " stdio_ext.h"
65305
 
+as_fn_append ac_func_list " __fpending"
65306
 
+as_fn_append ac_func_list " fpurge"
65307
 
+as_fn_append ac_func_list " __fpurge"
65308
 
+as_fn_append ac_func_list " __freading"
65309
 
+as_fn_append ac_header_list " sys/vfs.h"
65310
 
+as_fn_append ac_header_list " sys/fs_types.h"
65311
 
+as_fn_append ac_func_list " fsync"
65312
 
+as_fn_append ac_func_list " strtof"
65313
 
+as_fn_append ac_func_list " fstatfs"
65314
 
+as_fn_append ac_func_list " futimens"
65315
 
+as_fn_append ac_header_list " netdb.h"
65316
 
+as_fn_append ac_header_list " netinet/in.h"
65317
 
+as_fn_append ac_func_list " getdelim"
65318
 
+as_fn_append ac_func_list " getdtablesize"
65319
 
+as_fn_append ac_func_list " nanouptime"
65320
 
+as_fn_append ac_func_list " microuptime"
65321
 
+as_fn_append ac_func_list " flockfile"
65322
 
+as_fn_append ac_func_list " funlockfile"
65323
 
+gl_getopt_required=GNU
65324
 
+as_fn_append ac_header_list " getopt.h"
65325
 
+as_fn_append ac_header_list " termios.h"
65326
 
+as_fn_append ac_func_list " __fsetlocking"
65327
 
+as_fn_append ac_func_list " tcgetattr"
65328
 
+as_fn_append ac_func_list " tcsetattr"
65329
 
+as_fn_append ac_func_list " gettimeofday"
65330
 
+as_fn_append ac_func_list " nanotime"
65331
 
+as_fn_append ac_header_list " sys/time.h"
65332
 
+as_fn_append ac_header_list " grp.h"
65333
 
+as_fn_append ac_func_list " getusershell"
65334
 
+as_fn_append ac_header_list " iconv.h"
65335
 
+as_fn_append ac_header_list " wchar.h"
65336
 
+as_fn_append ac_header_list " stdint.h"
65337
 
+as_fn_append ac_header_list " inttypes.h"
65338
 
+as_fn_append ac_func_list " iswcntrl"
65339
 
+as_fn_append ac_func_list " iswblank"
65340
 
+as_fn_append ac_header_list " langinfo.h"
65341
 
+as_fn_append ac_func_list " link"
65342
 
+as_fn_append ac_func_list " readlink"
65343
 
+as_fn_append ac_func_list " linkat"
65344
 
+as_fn_append ac_func_list " symlink"
65345
 
+as_fn_append ac_header_list " xlocale.h"
65346
 
+as_fn_append ac_func_list " lstat"
65347
 
+as_fn_append ac_header_list " math.h"
65348
 
+as_fn_append ac_func_list " mbsinit"
65349
 
+as_fn_append ac_func_list " mbrtowc"
65350
 
+as_fn_append ac_func_list " mbrlen"
65351
 
+as_fn_append ac_func_list " mbslen"
65352
 
+as_fn_append ac_func_list " isascii"
65353
 
+as_fn_append ac_header_list " sys/mman.h"
65354
 
+as_fn_append ac_func_list " mprotect"
65355
 
+as_fn_append ac_func_list " getgrouplist"
65356
 
+as_fn_append ac_header_list " unistd.h"
65357
 
+as_fn_append ac_func_list " fchmod"
65358
 
+as_fn_append ac_func_list " mkstemp"
65359
 
+as_fn_append ac_func_list " alarm"
65360
 
+as_fn_append ac_header_list " sys/statvfs.h"
65361
 
+as_fn_append ac_header_list " sys/select.h"
65362
 
+as_fn_append ac_func_list " nl_langinfo"
65363
 
+gl_printf_safe=yes
65364
 
+as_fn_append ac_header_list " priv.h"
65365
 
+as_fn_append ac_header_list " pthread.h"
65366
 
+as_fn_append ac_header_list " utmp.h"
65367
 
+as_fn_append ac_header_list " utmpx.h"
65368
 
+as_fn_append ac_func_list " utmpname"
65369
 
+as_fn_append ac_func_list " utmpxname"
65370
 
+as_fn_append ac_func_list " wcscoll"
65371
 
+as_fn_append ac_header_list " sched.h"
65372
 
+as_fn_append ac_header_list " selinux/selinux.h"
65373
 
+as_fn_append ac_func_list " setenv"
65374
 
+as_fn_append ac_func_list " settimeofday"
65375
 
+as_fn_append ac_func_list " stime"
65376
 
+as_fn_append ac_func_list " sigaction"
65377
 
+as_fn_append ac_func_list " sigaltstack"
65378
 
+as_fn_append ac_func_list " siginterrupt"
65379
 
+as_fn_append ac_func_list " stpncpy"
65380
 
+as_fn_append ac_func_list " strdup"
65381
 
+as_fn_append ac_func_list " strerror_r"
65382
 
+as_fn_append ac_func_list " __xpg_strerror_r"
65383
 
+as_fn_append ac_func_list " tzset"
65384
 
+as_fn_append ac_func_list " strndup"
65385
 
+as_fn_append ac_func_list " strtoimax"
65386
 
+as_fn_append ac_func_list " strtoumax"
65387
 
+as_fn_append ac_header_list " sys/ioctl.h"
65388
 
+as_fn_append ac_header_list " sys/stat.h"
65389
 
+as_fn_append ac_header_list " sys/uio.h"
65390
 
+as_fn_append ac_header_list " sys/utsname.h"
65391
 
+as_fn_append ac_header_list " sys/wait.h"
65392
 
+as_fn_append ac_func_list " localtime_r"
65393
 
+as_fn_append ac_func_list " pipe"
65394
 
+as_fn_append ac_header_list " utime.h"
65395
 
+as_fn_append ac_func_list " futimes"
65396
 
+as_fn_append ac_func_list " futimesat"
65397
 
+as_fn_append ac_func_list " utimensat"
65398
 
+as_fn_append ac_func_list " lutimes"
65399
 
+as_fn_append ac_func_list " vasnprintf"
65400
 
+as_fn_append ac_func_list " wcrtomb"
65401
 
+as_fn_append ac_func_list " wcwidth"
65402
 
+as_fn_append ac_func_list " wcswidth"
65403
 
+as_fn_append ac_func_list " getegid"
65404
 
+as_fn_append ac_func_list " newlocale"
65405
 
+as_fn_append ac_func_list " sleep"
65406
 
+as_fn_append ac_func_list " catgets"
65407
 
+as_fn_append ac_func_list " symlinkat"
65408
 
+as_fn_append ac_func_list " shutdown"
65409
 
+as_fn_append ac_func_list " usleep"
65410
 
+as_fn_append ac_func_list " wctob"
65411
 
+as_fn_append ac_header_list " hurd.h"
65412
 
+as_fn_append ac_header_list " paths.h"
65413
 
+as_fn_append ac_header_list " stropts.h"
65414
 
+as_fn_append ac_header_list " sys/resource.h"
65415
 
+as_fn_append ac_header_list " sys/systeminfo.h"
65416
 
+as_fn_append ac_header_list " syslog.h"
65417
 
+as_fn_append ac_header_list " pwd.h"
65418
 
+as_fn_append ac_func_list " directio"
65419
 
+as_fn_append ac_func_list " setrlimit"
65420
 
+as_fn_append ac_func_list " endgrent"
65421
 
+as_fn_append ac_func_list " endpwent"
65422
 
+as_fn_append ac_func_list " ftruncate"
65423
 
+as_fn_append ac_func_list " iswspace"
65424
 
+as_fn_append ac_func_list " mkfifo"
65425
 
+as_fn_append ac_func_list " setgroups"
65426
 
+as_fn_append ac_func_list " sethostname"
65427
 
+as_fn_append ac_func_list " sync"
65428
 
+as_fn_append ac_func_list " sysctl"
65429
 
+as_fn_append ac_func_list " sysinfo"
65430
 
+as_fn_append ac_func_list " tcgetpgrp"
65431
 
+as_fn_append ac_header_list " OS.h"
65432
 
+gt_needs="$gt_needs need-formatstring-macros"
65433
 
+# Check that the precious variables saved in the cache have kept the same
65434
 
+# value.
65435
 
+ac_cache_corrupted=false
65436
 
+for ac_var in $ac_precious_vars; do
65437
 
+  eval ac_old_set=\$ac_cv_env_${ac_var}_set
65438
 
+  eval ac_new_set=\$ac_env_${ac_var}_set
65439
 
+  eval ac_old_val=\$ac_cv_env_${ac_var}_value
65440
 
+  eval ac_new_val=\$ac_env_${ac_var}_value
65441
 
+  case $ac_old_set,$ac_new_set in
65442
 
+    set,)
65443
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
65444
 
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
65445
 
+      ac_cache_corrupted=: ;;
65446
 
+    ,set)
65447
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
65448
 
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
65449
 
+      ac_cache_corrupted=: ;;
65450
 
+    ,);;
65451
 
+    *)
65452
 
+      if test "x$ac_old_val" != "x$ac_new_val"; then
65453
 
+       # differences in whitespace do not lead to failure.
65454
 
+       ac_old_val_w=`echo x $ac_old_val`
65455
 
+       ac_new_val_w=`echo x $ac_new_val`
65456
 
+       if test "$ac_old_val_w" != "$ac_new_val_w"; then
65457
 
+         { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
65458
 
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
65459
 
+         ac_cache_corrupted=:
65460
 
+       else
65461
 
+         { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
65462
 
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
65463
 
+         eval $ac_var=\$ac_old_val
65464
 
+       fi
65465
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
65466
 
+$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
65467
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
65468
 
+$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
65469
 
+      fi;;
65470
 
+  esac
65471
 
+  # Pass precious variables to config.status.
65472
 
+  if test "$ac_new_set" = set; then
65473
 
+    case $ac_new_val in
65474
 
+    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
65475
 
+    *) ac_arg=$ac_var=$ac_new_val ;;
65476
 
+    esac
65477
 
+    case " $ac_configure_args " in
65478
 
+      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
65479
 
+      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
65480
 
+    esac
65481
 
+  fi
65482
 
+done
65483
 
+if $ac_cache_corrupted; then
65484
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
65485
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
65486
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
65487
 
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
65488
 
+  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
65489
 
+fi
65490
 
+## -------------------- ##
65491
 
+## Main body of script. ##
65492
 
+## -------------------- ##
65493
 
+
65494
 
+ac_ext=c
65495
 
+ac_cpp='$CPP $CPPFLAGS'
65496
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65497
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65498
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
65499
 
+
65500
 
+
65501
 
+
65502
 
+
65503
 
+
65504
 
+ac_aux_dir=
65505
 
+for ac_dir in build-aux "$srcdir"/build-aux; do
65506
 
+  if test -f "$ac_dir/install-sh"; then
65507
 
+    ac_aux_dir=$ac_dir
65508
 
+    ac_install_sh="$ac_aux_dir/install-sh -c"
65509
 
+    break
65510
 
+  elif test -f "$ac_dir/install.sh"; then
65511
 
+    ac_aux_dir=$ac_dir
65512
 
+    ac_install_sh="$ac_aux_dir/install.sh -c"
65513
 
+    break
65514
 
+  elif test -f "$ac_dir/shtool"; then
65515
 
+    ac_aux_dir=$ac_dir
65516
 
+    ac_install_sh="$ac_aux_dir/shtool install -c"
65517
 
+    break
65518
 
+  fi
65519
 
+done
65520
 
+if test -z "$ac_aux_dir"; then
65521
 
+  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
65522
 
+fi
65523
 
+
65524
 
+# These three variables are undocumented and unsupported,
65525
 
+# and are intended to be withdrawn in a future Autoconf release.
65526
 
+# They can cause serious problems if a builder's source tree is in a directory
65527
 
+# whose full name contains unusual characters.
65528
 
+ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
65529
 
+ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
65530
 
+ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
65531
 
+
65532
 
+
65533
 
+ac_config_headers="$ac_config_headers lib/config.h:lib/config.hin"
65534
 
+
65535
 
+
65536
 
+am__api_version='1.11'
65537
 
+
65538
 
+# Find a good install program.  We prefer a C program (faster),
65539
 
+# so one script is as good as another.  But avoid the broken or
65540
 
+# incompatible versions:
65541
 
+# SysV /etc/install, /usr/sbin/install
65542
 
+# SunOS /usr/etc/install
65543
 
+# IRIX /sbin/install
65544
 
+# AIX /bin/install
65545
 
+# AmigaOS /C/install, which installs bootblocks on floppy discs
65546
 
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
65547
 
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
65548
 
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
65549
 
+# OS/2's system install, which has a completely different semantic
65550
 
+# ./install, which can be erroneously created by make from ./install.sh.
65551
 
+# Reject install programs that cannot install multiple files.
65552
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
65553
 
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
65554
 
+if test -z "$INSTALL"; then
65555
 
+if ${ac_cv_path_install+:} false; then :
65556
 
+  $as_echo_n "(cached) " >&6
65557
 
+else
65558
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65559
 
+for as_dir in $PATH
65560
 
+do
65561
 
+  IFS=$as_save_IFS
65562
 
+  test -z "$as_dir" && as_dir=.
65563
 
+    # Account for people who put trailing slashes in PATH elements.
65564
 
+case $as_dir/ in @%:@((
65565
 
+  ./ | .// | /[cC]/* | \
65566
 
+  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
65567
 
+  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
65568
 
+  /usr/ucb/* ) ;;
65569
 
+  *)
65570
 
+    # OSF1 and SCO ODT 3.0 have their own names for install.
65571
 
+    # Don't use installbsd from OSF since it installs stuff as root
65572
 
+    # by default.
65573
 
+    for ac_prog in ginstall scoinst install; do
65574
 
+      for ac_exec_ext in '' $ac_executable_extensions; do
65575
 
+       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
65576
 
+         if test $ac_prog = install &&
65577
 
+           grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
65578
 
+           # AIX install.  It has an incompatible calling convention.
65579
 
+           :
65580
 
+         elif test $ac_prog = install &&
65581
 
+           grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
65582
 
+           # program-specific install script used by HP pwplus--don't use.
65583
 
+           :
65584
 
+         else
65585
 
+           rm -rf conftest.one conftest.two conftest.dir
65586
 
+           echo one > conftest.one
65587
 
+           echo two > conftest.two
65588
 
+           mkdir conftest.dir
65589
 
+           if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
65590
 
+             test -s conftest.one && test -s conftest.two &&
65591
 
+             test -s conftest.dir/conftest.one &&
65592
 
+             test -s conftest.dir/conftest.two
65593
 
+           then
65594
 
+             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
65595
 
+             break 3
65596
 
+           fi
65597
 
+         fi
65598
 
+       fi
65599
 
+      done
65600
 
+    done
65601
 
+    ;;
65602
 
+esac
65603
 
+
65604
 
+  done
65605
 
+IFS=$as_save_IFS
65606
 
+
65607
 
+rm -rf conftest.one conftest.two conftest.dir
65608
 
+
65609
 
+fi
65610
 
+  if test "${ac_cv_path_install+set}" = set; then
65611
 
+    INSTALL=$ac_cv_path_install
65612
 
+  else
65613
 
+    # As a last resort, use the slow shell script.  Don't cache a
65614
 
+    # value for INSTALL within a source directory, because that will
65615
 
+    # break other packages using the cache if that directory is
65616
 
+    # removed, or if the value is a relative name.
65617
 
+    INSTALL=$ac_install_sh
65618
 
+  fi
65619
 
+fi
65620
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
65621
 
+$as_echo "$INSTALL" >&6; }
65622
 
+
65623
 
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
65624
 
+# It thinks the first close brace ends the variable substitution.
65625
 
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
65626
 
+
65627
 
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
65628
 
+
65629
 
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
65630
 
+
65631
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
65632
 
+$as_echo_n "checking whether build environment is sane... " >&6; }
65633
 
+# Just in case
65634
 
+sleep 1
65635
 
+echo timestamp > conftest.file
65636
 
+# Reject unsafe characters in $srcdir or the absolute working directory
65637
 
+# name.  Accept space and tab only in the latter.
65638
 
+am_lf='
65639
 
+'
65640
 
+case `pwd` in
65641
 
+  *[\\\"\#\$\&\'\`$am_lf]*)
65642
 
+    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
65643
 
+esac
65644
 
+case $srcdir in
65645
 
+  *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
65646
 
+    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
65647
 
+esac
65648
 
+
65649
 
+# Do `set' in a subshell so we don't clobber the current shell's
65650
 
+# arguments.  Must try -L first in case configure is actually a
65651
 
+# symlink; some systems play weird games with the mod time of symlinks
65652
 
+# (eg FreeBSD returns the mod time of the symlink's containing
65653
 
+# directory).
65654
 
+if (
65655
 
+   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
65656
 
+   if test "$*" = "X"; then
65657
 
+      # -L didn't work.
65658
 
+      set X `ls -t "$srcdir/configure" conftest.file`
65659
 
+   fi
65660
 
+   rm -f conftest.file
65661
 
+   if test "$*" != "X $srcdir/configure conftest.file" \
65662
 
+      && test "$*" != "X conftest.file $srcdir/configure"; then
65663
 
+
65664
 
+      # If neither matched, then we have a broken ls.  This can happen
65665
 
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
65666
 
+      # broken ls alias from the environment.  This has actually
65667
 
+      # happened.  Such a system could not be considered "sane".
65668
 
+      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
65669
 
+alias in your environment" "$LINENO" 5
65670
 
+   fi
65671
 
+
65672
 
+   test "$2" = conftest.file
65673
 
+   )
65674
 
+then
65675
 
+   # Ok.
65676
 
+   :
65677
 
+else
65678
 
+   as_fn_error $? "newly created file is older than distributed files!
65679
 
+Check your system clock" "$LINENO" 5
65680
 
+fi
65681
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
65682
 
+$as_echo "yes" >&6; }
65683
 
+test "$program_prefix" != NONE &&
65684
 
+  program_transform_name="s&^&$program_prefix&;$program_transform_name"
65685
 
+# Use a double $ so make ignores it.
65686
 
+test "$program_suffix" != NONE &&
65687
 
+  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
65688
 
+# Double any \ or $.
65689
 
+# By default was `s,x,x', remove it if useless.
65690
 
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
65691
 
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
65692
 
+
65693
 
+# expand $ac_aux_dir to an absolute path
65694
 
+am_aux_dir=`cd $ac_aux_dir && pwd`
65695
 
+
65696
 
+if test x"${MISSING+set}" != xset; then
65697
 
+  case $am_aux_dir in
65698
 
+  *\ * | *\    *)
65699
 
+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
65700
 
+  *)
65701
 
+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
65702
 
+  esac
65703
 
+fi
65704
 
+# Use eval to expand $SHELL
65705
 
+if eval "$MISSING --run true"; then
65706
 
+  am_missing_run="$MISSING --run "
65707
 
+else
65708
 
+  am_missing_run=
65709
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
65710
 
+$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
65711
 
+fi
65712
 
+
65713
 
+if test x"${install_sh}" != xset; then
65714
 
+  case $am_aux_dir in
65715
 
+  *\ * | *\    *)
65716
 
+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
65717
 
+  *)
65718
 
+    install_sh="\${SHELL} $am_aux_dir/install-sh"
65719
 
+  esac
65720
 
+fi
65721
 
+
65722
 
+# Installed binaries are usually stripped using `strip' when the user
65723
 
+# run `make install-strip'.  However `strip' might not be the right
65724
 
+# tool to use in cross-compilation environments, therefore Automake
65725
 
+# will honor the `STRIP' environment variable to overrule this program.
65726
 
+if test "$cross_compiling" != no; then
65727
 
+  if test -n "$ac_tool_prefix"; then
65728
 
+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
65729
 
+set dummy ${ac_tool_prefix}strip; ac_word=$2
65730
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65731
 
+$as_echo_n "checking for $ac_word... " >&6; }
65732
 
+if ${ac_cv_prog_STRIP+:} false; then :
65733
 
+  $as_echo_n "(cached) " >&6
65734
 
+else
65735
 
+  if test -n "$STRIP"; then
65736
 
+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
65737
 
+else
65738
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65739
 
+for as_dir in $PATH
65740
 
+do
65741
 
+  IFS=$as_save_IFS
65742
 
+  test -z "$as_dir" && as_dir=.
65743
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
65744
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65745
 
+    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
65746
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65747
 
+    break 2
65748
 
+  fi
65749
 
+done
65750
 
+  done
65751
 
+IFS=$as_save_IFS
65752
 
+
65753
 
+fi
65754
 
+fi
65755
 
+STRIP=$ac_cv_prog_STRIP
65756
 
+if test -n "$STRIP"; then
65757
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
65758
 
+$as_echo "$STRIP" >&6; }
65759
 
+else
65760
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65761
 
+$as_echo "no" >&6; }
65762
 
+fi
65763
 
+
65764
 
+
65765
 
+fi
65766
 
+if test -z "$ac_cv_prog_STRIP"; then
65767
 
+  ac_ct_STRIP=$STRIP
65768
 
+  # Extract the first word of "strip", so it can be a program name with args.
65769
 
+set dummy strip; ac_word=$2
65770
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65771
 
+$as_echo_n "checking for $ac_word... " >&6; }
65772
 
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
65773
 
+  $as_echo_n "(cached) " >&6
65774
 
+else
65775
 
+  if test -n "$ac_ct_STRIP"; then
65776
 
+  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
65777
 
+else
65778
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65779
 
+for as_dir in $PATH
65780
 
+do
65781
 
+  IFS=$as_save_IFS
65782
 
+  test -z "$as_dir" && as_dir=.
65783
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
65784
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65785
 
+    ac_cv_prog_ac_ct_STRIP="strip"
65786
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65787
 
+    break 2
65788
 
+  fi
65789
 
+done
65790
 
+  done
65791
 
+IFS=$as_save_IFS
65792
 
+
65793
 
+fi
65794
 
+fi
65795
 
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
65796
 
+if test -n "$ac_ct_STRIP"; then
65797
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
65798
 
+$as_echo "$ac_ct_STRIP" >&6; }
65799
 
+else
65800
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65801
 
+$as_echo "no" >&6; }
65802
 
+fi
65803
 
+
65804
 
+  if test "x$ac_ct_STRIP" = x; then
65805
 
+    STRIP=":"
65806
 
+  else
65807
 
+    case $cross_compiling:$ac_tool_warned in
65808
 
+yes:)
65809
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
65810
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
65811
 
+ac_tool_warned=yes ;;
65812
 
+esac
65813
 
+    STRIP=$ac_ct_STRIP
65814
 
+  fi
65815
 
+else
65816
 
+  STRIP="$ac_cv_prog_STRIP"
65817
 
+fi
65818
 
+
65819
 
+fi
65820
 
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
65821
 
+
65822
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
65823
 
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
65824
 
+if test -z "$MKDIR_P"; then
65825
 
+  if ${ac_cv_path_mkdir+:} false; then :
65826
 
+  $as_echo_n "(cached) " >&6
65827
 
+else
65828
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65829
 
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
65830
 
+do
65831
 
+  IFS=$as_save_IFS
65832
 
+  test -z "$as_dir" && as_dir=.
65833
 
+    for ac_prog in mkdir gmkdir; do
65834
 
+        for ac_exec_ext in '' $ac_executable_extensions; do
65835
 
+          { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
65836
 
+          case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
65837
 
+            'mkdir (GNU coreutils) '* | \
65838
 
+            'mkdir (coreutils) '* | \
65839
 
+            'mkdir (fileutils) '4.1*)
65840
 
+              ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
65841
 
+              break 3;;
65842
 
+          esac
65843
 
+        done
65844
 
+       done
65845
 
+  done
65846
 
+IFS=$as_save_IFS
65847
 
+
65848
 
+fi
65849
 
+
65850
 
+  test -d ./--version && rmdir ./--version
65851
 
+  if test "${ac_cv_path_mkdir+set}" = set; then
65852
 
+    MKDIR_P="$ac_cv_path_mkdir -p"
65853
 
+  else
65854
 
+    # As a last resort, use the slow shell script.  Don't cache a
65855
 
+    # value for MKDIR_P within a source directory, because that will
65856
 
+    # break other packages using the cache if that directory is
65857
 
+    # removed, or if the value is a relative name.
65858
 
+    MKDIR_P="$ac_install_sh -d"
65859
 
+  fi
65860
 
+fi
65861
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
65862
 
+$as_echo "$MKDIR_P" >&6; }
65863
 
+
65864
 
+    
65865
 
+mkdir_p="$MKDIR_P"
65866
 
+case $mkdir_p in
65867
 
+  [\\/$]* | ?:[\\/]*) ;;
65868
 
+  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
65869
 
+esac
65870
 
+
65871
 
+for ac_prog in gawk mawk nawk awk
65872
 
+do
65873
 
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
65874
 
+set dummy $ac_prog; ac_word=$2
65875
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65876
 
+$as_echo_n "checking for $ac_word... " >&6; }
65877
 
+if ${ac_cv_prog_AWK+:} false; then :
65878
 
+  $as_echo_n "(cached) " >&6
65879
 
+else
65880
 
+  if test -n "$AWK"; then
65881
 
+  ac_cv_prog_AWK="$AWK" # Let the user override the test.
65882
 
+else
65883
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65884
 
+for as_dir in $PATH
65885
 
+do
65886
 
+  IFS=$as_save_IFS
65887
 
+  test -z "$as_dir" && as_dir=.
65888
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
65889
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65890
 
+    ac_cv_prog_AWK="$ac_prog"
65891
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65892
 
+    break 2
65893
 
+  fi
65894
 
+done
65895
 
+  done
65896
 
+IFS=$as_save_IFS
65897
 
+
65898
 
+fi
65899
 
+fi
65900
 
+AWK=$ac_cv_prog_AWK
65901
 
+if test -n "$AWK"; then
65902
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
65903
 
+$as_echo "$AWK" >&6; }
65904
 
+else
65905
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65906
 
+$as_echo "no" >&6; }
65907
 
+fi
65908
 
+
65909
 
+
65910
 
+  test -n "$AWK" && break
65911
 
+done
65912
 
+
65913
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
65914
 
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
65915
 
+set x ${MAKE-make}
65916
 
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
65917
 
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
65918
 
+  $as_echo_n "(cached) " >&6
65919
 
+else
65920
 
+  cat >conftest.make <<\_ACEOF
65921
 
+SHELL = /bin/sh
65922
 
+all:
65923
 
+       @echo '@@@%%%=$(MAKE)=@@@%%%'
65924
 
+_ACEOF
65925
 
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
65926
 
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
65927
 
+  *@@@%%%=?*=@@@%%%*)
65928
 
+    eval ac_cv_prog_make_${ac_make}_set=yes;;
65929
 
+  *)
65930
 
+    eval ac_cv_prog_make_${ac_make}_set=no;;
65931
 
+esac
65932
 
+rm -f conftest.make
65933
 
+fi
65934
 
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
65935
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
65936
 
+$as_echo "yes" >&6; }
65937
 
+  SET_MAKE=
65938
 
+else
65939
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65940
 
+$as_echo "no" >&6; }
65941
 
+  SET_MAKE="MAKE=${MAKE-make}"
65942
 
+fi
65943
 
+
65944
 
+rm -rf .tst 2>/dev/null
65945
 
+mkdir .tst 2>/dev/null
65946
 
+if test -d .tst; then
65947
 
+  am__leading_dot=.
65948
 
+else
65949
 
+  am__leading_dot=_
65950
 
+fi
65951
 
+rmdir .tst 2>/dev/null
65952
 
+
65953
 
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
65954
 
+  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
65955
 
+  # is not polluted with repeated "-I."
65956
 
+  am__isrc=' -I$(srcdir)'
65957
 
+  # test to see if srcdir already configured
65958
 
+  if test -f $srcdir/config.status; then
65959
 
+    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
65960
 
+  fi
65961
 
+fi
65962
 
+
65963
 
+# test whether we have cygpath
65964
 
+if test -z "$CYGPATH_W"; then
65965
 
+  if (cygpath --version) >/dev/null 2>/dev/null; then
65966
 
+    CYGPATH_W='cygpath -w'
65967
 
+  else
65968
 
+    CYGPATH_W=echo
65969
 
+  fi
65970
 
+fi
65971
 
+
65972
 
+
65973
 
+# Define the identity of the package.
65974
 
+ PACKAGE='coreutils'
65975
 
+ VERSION='8.13'
65976
 
+
65977
 
+
65978
 
+cat >>confdefs.h <<_ACEOF
65979
 
+@%:@define PACKAGE "$PACKAGE"
65980
 
+_ACEOF
65981
 
+
65982
 
65983
 
+cat >>confdefs.h <<_ACEOF
65984
 
+@%:@define VERSION "$VERSION"
65985
 
+_ACEOF
65986
 
+
65987
 
+# Some tools Automake needs.
65988
 
+
65989
 
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
65990
 
+
65991
 
+
65992
 
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
65993
 
+
65994
 
+
65995
 
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
65996
 
+
65997
 
+
65998
 
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
65999
 
+
66000
 
+
66001
 
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
66002
 
+
66003
 
+# We need awk for the "check" target.  The system "awk" is bad on
66004
 
+# some platforms.
66005
 
+# Always define AMTAR for backward compatibility.
66006
 
+
66007
 
+AMTAR=${AMTAR-"${am_missing_run}tar"}
66008
 
+
66009
 
+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
66010
 
+
66011
 
+
66012
 
+
66013
 
+
66014
 
+
66015
 
+@%:@ Check whether --enable-silent-rules was given.
66016
 
+if test "${enable_silent_rules+set}" = set; then :
66017
 
+  enableval=$enable_silent_rules; 
66018
 
+fi
66019
 
+
66020
 
+case $enable_silent_rules in
66021
 
+yes) AM_DEFAULT_VERBOSITY=0;;
66022
 
+no)  AM_DEFAULT_VERBOSITY=1;;
66023
 
+*)   AM_DEFAULT_VERBOSITY=0;;
66024
 
+esac
66025
 
+AM_BACKSLASH='\'
66026
 
+ # make --enable-silent-rules the default.
66027
 
+
66028
 
+DEPDIR="${am__leading_dot}deps"
66029
 
+
66030
 
+ac_config_commands="$ac_config_commands depfiles"
66031
 
+
66032
 
+
66033
 
+am_make=${MAKE-make}
66034
 
+cat > confinc << 'END'
66035
 
+am__doit:
66036
 
+       @echo this is the am__doit target
66037
 
+.PHONY: am__doit
66038
 
+END
66039
 
+# If we don't find an include directive, just comment out the code.
66040
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
66041
 
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
66042
 
+am__include="#"
66043
 
+am__quote=
66044
 
+_am_result=none
66045
 
+# First try GNU make style include.
66046
 
+echo "include confinc" > confmf
66047
 
+# Ignore all kinds of additional output from `make'.
66048
 
+case `$am_make -s -f confmf 2> /dev/null` in #(
66049
 
+*the\ am__doit\ target*)
66050
 
+  am__include=include
66051
 
+  am__quote=
66052
 
+  _am_result=GNU
66053
 
+  ;;
66054
 
+esac
66055
 
+# Now try BSD make style include.
66056
 
+if test "$am__include" = "#"; then
66057
 
+   echo '.include "confinc"' > confmf
66058
 
+   case `$am_make -s -f confmf 2> /dev/null` in #(
66059
 
+   *the\ am__doit\ target*)
66060
 
+     am__include=.include
66061
 
+     am__quote="\""
66062
 
+     _am_result=BSD
66063
 
+     ;;
66064
 
+   esac
66065
 
+fi
66066
 
+
66067
 
+
66068
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
66069
 
+$as_echo "$_am_result" >&6; }
66070
 
+rm -f confinc confmf
66071
 
+
66072
 
+@%:@ Check whether --enable-dependency-tracking was given.
66073
 
+if test "${enable_dependency_tracking+set}" = set; then :
66074
 
+  enableval=$enable_dependency_tracking; 
66075
 
+fi
66076
 
+
66077
 
+if test "x$enable_dependency_tracking" != xno; then
66078
 
+  am_depcomp="$ac_aux_dir/depcomp"
66079
 
+  AMDEPBACKSLASH='\'
66080
 
+fi
66081
 
+ if test "x$enable_dependency_tracking" != xno; then
66082
 
+  AMDEP_TRUE=
66083
 
+  AMDEP_FALSE='#'
66084
 
+else
66085
 
+  AMDEP_TRUE='#'
66086
 
+  AMDEP_FALSE=
66087
 
+fi
66088
 
+
66089
 
+
66090
 
+ac_ext=c
66091
 
+ac_cpp='$CPP $CPPFLAGS'
66092
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66093
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66094
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
66095
 
+if test -n "$ac_tool_prefix"; then
66096
 
+  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
66097
 
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
66098
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66099
 
+$as_echo_n "checking for $ac_word... " >&6; }
66100
 
+if ${ac_cv_prog_CC+:} false; then :
66101
 
+  $as_echo_n "(cached) " >&6
66102
 
+else
66103
 
+  if test -n "$CC"; then
66104
 
+  ac_cv_prog_CC="$CC" # Let the user override the test.
66105
 
+else
66106
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66107
 
+for as_dir in $PATH
66108
 
+do
66109
 
+  IFS=$as_save_IFS
66110
 
+  test -z "$as_dir" && as_dir=.
66111
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
66112
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66113
 
+    ac_cv_prog_CC="${ac_tool_prefix}gcc"
66114
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66115
 
+    break 2
66116
 
+  fi
66117
 
+done
66118
 
+  done
66119
 
+IFS=$as_save_IFS
66120
 
+
66121
 
+fi
66122
 
+fi
66123
 
+CC=$ac_cv_prog_CC
66124
 
+if test -n "$CC"; then
66125
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
66126
 
+$as_echo "$CC" >&6; }
66127
 
+else
66128
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66129
 
+$as_echo "no" >&6; }
66130
 
+fi
66131
 
+
66132
 
+
66133
 
+fi
66134
 
+if test -z "$ac_cv_prog_CC"; then
66135
 
+  ac_ct_CC=$CC
66136
 
+  # Extract the first word of "gcc", so it can be a program name with args.
66137
 
+set dummy gcc; ac_word=$2
66138
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66139
 
+$as_echo_n "checking for $ac_word... " >&6; }
66140
 
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
66141
 
+  $as_echo_n "(cached) " >&6
66142
 
+else
66143
 
+  if test -n "$ac_ct_CC"; then
66144
 
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
66145
 
+else
66146
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66147
 
+for as_dir in $PATH
66148
 
+do
66149
 
+  IFS=$as_save_IFS
66150
 
+  test -z "$as_dir" && as_dir=.
66151
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
66152
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66153
 
+    ac_cv_prog_ac_ct_CC="gcc"
66154
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66155
 
+    break 2
66156
 
+  fi
66157
 
+done
66158
 
+  done
66159
 
+IFS=$as_save_IFS
66160
 
+
66161
 
+fi
66162
 
+fi
66163
 
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
66164
 
+if test -n "$ac_ct_CC"; then
66165
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
66166
 
+$as_echo "$ac_ct_CC" >&6; }
66167
 
+else
66168
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66169
 
+$as_echo "no" >&6; }
66170
 
+fi
66171
 
+
66172
 
+  if test "x$ac_ct_CC" = x; then
66173
 
+    CC=""
66174
 
+  else
66175
 
+    case $cross_compiling:$ac_tool_warned in
66176
 
+yes:)
66177
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
66178
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
66179
 
+ac_tool_warned=yes ;;
66180
 
+esac
66181
 
+    CC=$ac_ct_CC
66182
 
+  fi
66183
 
+else
66184
 
+  CC="$ac_cv_prog_CC"
66185
 
+fi
66186
 
+
66187
 
+if test -z "$CC"; then
66188
 
+          if test -n "$ac_tool_prefix"; then
66189
 
+    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
66190
 
+set dummy ${ac_tool_prefix}cc; ac_word=$2
66191
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66192
 
+$as_echo_n "checking for $ac_word... " >&6; }
66193
 
+if ${ac_cv_prog_CC+:} false; then :
66194
 
+  $as_echo_n "(cached) " >&6
66195
 
+else
66196
 
+  if test -n "$CC"; then
66197
 
+  ac_cv_prog_CC="$CC" # Let the user override the test.
66198
 
+else
66199
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66200
 
+for as_dir in $PATH
66201
 
+do
66202
 
+  IFS=$as_save_IFS
66203
 
+  test -z "$as_dir" && as_dir=.
66204
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
66205
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66206
 
+    ac_cv_prog_CC="${ac_tool_prefix}cc"
66207
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66208
 
+    break 2
66209
 
+  fi
66210
 
+done
66211
 
+  done
66212
 
+IFS=$as_save_IFS
66213
 
+
66214
 
+fi
66215
 
+fi
66216
 
+CC=$ac_cv_prog_CC
66217
 
+if test -n "$CC"; then
66218
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
66219
 
+$as_echo "$CC" >&6; }
66220
 
+else
66221
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66222
 
+$as_echo "no" >&6; }
66223
 
+fi
66224
 
+
66225
 
+
66226
 
+  fi
66227
 
+fi
66228
 
+if test -z "$CC"; then
66229
 
+  # Extract the first word of "cc", so it can be a program name with args.
66230
 
+set dummy cc; ac_word=$2
66231
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66232
 
+$as_echo_n "checking for $ac_word... " >&6; }
66233
 
+if ${ac_cv_prog_CC+:} false; then :
66234
 
+  $as_echo_n "(cached) " >&6
66235
 
+else
66236
 
+  if test -n "$CC"; then
66237
 
+  ac_cv_prog_CC="$CC" # Let the user override the test.
66238
 
+else
66239
 
+  ac_prog_rejected=no
66240
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66241
 
+for as_dir in $PATH
66242
 
+do
66243
 
+  IFS=$as_save_IFS
66244
 
+  test -z "$as_dir" && as_dir=.
66245
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
66246
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66247
 
+    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
66248
 
+       ac_prog_rejected=yes
66249
 
+       continue
66250
 
+     fi
66251
 
+    ac_cv_prog_CC="cc"
66252
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66253
 
+    break 2
66254
 
+  fi
66255
 
+done
66256
 
+  done
66257
 
+IFS=$as_save_IFS
66258
 
+
66259
 
+if test $ac_prog_rejected = yes; then
66260
 
+  # We found a bogon in the path, so make sure we never use it.
66261
 
+  set dummy $ac_cv_prog_CC
66262
 
+  shift
66263
 
+  if test $@%:@ != 0; then
66264
 
+    # We chose a different compiler from the bogus one.
66265
 
+    # However, it has the same basename, so the bogon will be chosen
66266
 
+    # first if we set CC to just the basename; use the full file name.
66267
 
+    shift
66268
 
+    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
66269
 
+  fi
66270
 
+fi
66271
 
+fi
66272
 
+fi
66273
 
+CC=$ac_cv_prog_CC
66274
 
+if test -n "$CC"; then
66275
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
66276
 
+$as_echo "$CC" >&6; }
66277
 
+else
66278
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66279
 
+$as_echo "no" >&6; }
66280
 
+fi
66281
 
+
66282
 
+
66283
 
+fi
66284
 
+if test -z "$CC"; then
66285
 
+  if test -n "$ac_tool_prefix"; then
66286
 
+  for ac_prog in cl.exe
66287
 
+  do
66288
 
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
66289
 
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
66290
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66291
 
+$as_echo_n "checking for $ac_word... " >&6; }
66292
 
+if ${ac_cv_prog_CC+:} false; then :
66293
 
+  $as_echo_n "(cached) " >&6
66294
 
+else
66295
 
+  if test -n "$CC"; then
66296
 
+  ac_cv_prog_CC="$CC" # Let the user override the test.
66297
 
+else
66298
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66299
 
+for as_dir in $PATH
66300
 
+do
66301
 
+  IFS=$as_save_IFS
66302
 
+  test -z "$as_dir" && as_dir=.
66303
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
66304
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66305
 
+    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
66306
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66307
 
+    break 2
66308
 
+  fi
66309
 
+done
66310
 
+  done
66311
 
+IFS=$as_save_IFS
66312
 
+
66313
 
+fi
66314
 
+fi
66315
 
+CC=$ac_cv_prog_CC
66316
 
+if test -n "$CC"; then
66317
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
66318
 
+$as_echo "$CC" >&6; }
66319
 
+else
66320
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66321
 
+$as_echo "no" >&6; }
66322
 
+fi
66323
 
+
66324
 
+
66325
 
+    test -n "$CC" && break
66326
 
+  done
66327
 
+fi
66328
 
+if test -z "$CC"; then
66329
 
+  ac_ct_CC=$CC
66330
 
+  for ac_prog in cl.exe
66331
 
+do
66332
 
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
66333
 
+set dummy $ac_prog; ac_word=$2
66334
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66335
 
+$as_echo_n "checking for $ac_word... " >&6; }
66336
 
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
66337
 
+  $as_echo_n "(cached) " >&6
66338
 
+else
66339
 
+  if test -n "$ac_ct_CC"; then
66340
 
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
66341
 
+else
66342
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66343
 
+for as_dir in $PATH
66344
 
+do
66345
 
+  IFS=$as_save_IFS
66346
 
+  test -z "$as_dir" && as_dir=.
66347
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
66348
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66349
 
+    ac_cv_prog_ac_ct_CC="$ac_prog"
66350
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66351
 
+    break 2
66352
 
+  fi
66353
 
+done
66354
 
+  done
66355
 
+IFS=$as_save_IFS
66356
 
+
66357
 
+fi
66358
 
+fi
66359
 
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
66360
 
+if test -n "$ac_ct_CC"; then
66361
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
66362
 
+$as_echo "$ac_ct_CC" >&6; }
66363
 
+else
66364
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66365
 
+$as_echo "no" >&6; }
66366
 
+fi
66367
 
+
66368
 
+
66369
 
+  test -n "$ac_ct_CC" && break
66370
 
+done
66371
 
+
66372
 
+  if test "x$ac_ct_CC" = x; then
66373
 
+    CC=""
66374
 
+  else
66375
 
+    case $cross_compiling:$ac_tool_warned in
66376
 
+yes:)
66377
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
66378
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
66379
 
+ac_tool_warned=yes ;;
66380
 
+esac
66381
 
+    CC=$ac_ct_CC
66382
 
+  fi
66383
 
+fi
66384
 
+
66385
 
+fi
66386
 
+
66387
 
+
66388
 
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
66389
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
66390
 
+as_fn_error $? "no acceptable C compiler found in \$PATH
66391
 
+See \`config.log' for more details" "$LINENO" 5; }
66392
 
+
66393
 
+# Provide some information about the compiler.
66394
 
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
66395
 
+set X $ac_compile
66396
 
+ac_compiler=$2
66397
 
+for ac_option in --version -v -V -qversion; do
66398
 
+  { { ac_try="$ac_compiler $ac_option >&5"
66399
 
+case "(($ac_try" in
66400
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66401
 
+  *) ac_try_echo=$ac_try;;
66402
 
+esac
66403
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
66404
 
+$as_echo "$ac_try_echo"; } >&5
66405
 
+  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
66406
 
+  ac_status=$?
66407
 
+  if test -s conftest.err; then
66408
 
+    sed '10a\
66409
 
+... rest of stderr output deleted ...
66410
 
+         10q' conftest.err >conftest.er1
66411
 
+    cat conftest.er1 >&5
66412
 
+  fi
66413
 
+  rm -f conftest.er1 conftest.err
66414
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
66415
 
+  test $ac_status = 0; }
66416
 
+done
66417
 
+
66418
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66419
 
+/* end confdefs.h.  */
66420
 
+
66421
 
+int
66422
 
+main ()
66423
 
+{
66424
 
+
66425
 
+  ;
66426
 
+  return 0;
66427
 
+}
66428
 
+_ACEOF
66429
 
+ac_clean_files_save=$ac_clean_files
66430
 
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
66431
 
+# Try to create an executable without -o first, disregard a.out.
66432
 
+# It will help us diagnose broken compilers, and finding out an intuition
66433
 
+# of exeext.
66434
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
66435
 
+$as_echo_n "checking whether the C compiler works... " >&6; }
66436
 
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
66437
 
+
66438
 
+# The possible output files:
66439
 
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
66440
 
+
66441
 
+ac_rmfiles=
66442
 
+for ac_file in $ac_files
66443
 
+do
66444
 
+  case $ac_file in
66445
 
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
66446
 
+    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
66447
 
+  esac
66448
 
+done
66449
 
+rm -f $ac_rmfiles
66450
 
+
66451
 
+if { { ac_try="$ac_link_default"
66452
 
+case "(($ac_try" in
66453
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66454
 
+  *) ac_try_echo=$ac_try;;
66455
 
+esac
66456
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
66457
 
+$as_echo "$ac_try_echo"; } >&5
66458
 
+  (eval "$ac_link_default") 2>&5
66459
 
+  ac_status=$?
66460
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
66461
 
+  test $ac_status = 0; }; then :
66462
 
+  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
66463
 
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
66464
 
+# in a Makefile.  We should not override ac_cv_exeext if it was cached,
66465
 
+# so that the user can short-circuit this test for compilers unknown to
66466
 
+# Autoconf.
66467
 
+for ac_file in $ac_files ''
66468
 
+do
66469
 
+  test -f "$ac_file" || continue
66470
 
+  case $ac_file in
66471
 
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
66472
 
+       ;;
66473
 
+    [ab].out )
66474
 
+       # We found the default executable, but exeext='' is most
66475
 
+       # certainly right.
66476
 
+       break;;
66477
 
+    *.* )
66478
 
+       if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
66479
 
+       then :; else
66480
 
+          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
66481
 
+       fi
66482
 
+       # We set ac_cv_exeext here because the later test for it is not
66483
 
+       # safe: cross compilers may not add the suffix if given an `-o'
66484
 
+       # argument, so we may need to know it at that point already.
66485
 
+       # Even if this section looks crufty: it has the advantage of
66486
 
+       # actually working.
66487
 
+       break;;
66488
 
+    * )
66489
 
+       break;;
66490
 
+  esac
66491
 
+done
66492
 
+test "$ac_cv_exeext" = no && ac_cv_exeext=
66493
 
+
66494
 
+else
66495
 
+  ac_file=''
66496
 
+fi
66497
 
+if test -z "$ac_file"; then :
66498
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66499
 
+$as_echo "no" >&6; }
66500
 
+$as_echo "$as_me: failed program was:" >&5
66501
 
+sed 's/^/| /' conftest.$ac_ext >&5
66502
 
+
66503
 
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
66504
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
66505
 
+as_fn_error 77 "C compiler cannot create executables
66506
 
+See \`config.log' for more details" "$LINENO" 5; }
66507
 
+else
66508
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
66509
 
+$as_echo "yes" >&6; }
66510
 
+fi
66511
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
66512
 
+$as_echo_n "checking for C compiler default output file name... " >&6; }
66513
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
66514
 
+$as_echo "$ac_file" >&6; }
66515
 
+ac_exeext=$ac_cv_exeext
66516
 
+
66517
 
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
66518
 
+ac_clean_files=$ac_clean_files_save
66519
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
66520
 
+$as_echo_n "checking for suffix of executables... " >&6; }
66521
 
+if { { ac_try="$ac_link"
66522
 
+case "(($ac_try" in
66523
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66524
 
+  *) ac_try_echo=$ac_try;;
66525
 
+esac
66526
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
66527
 
+$as_echo "$ac_try_echo"; } >&5
66528
 
+  (eval "$ac_link") 2>&5
66529
 
+  ac_status=$?
66530
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
66531
 
+  test $ac_status = 0; }; then :
66532
 
+  # If both `conftest.exe' and `conftest' are `present' (well, observable)
66533
 
+# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
66534
 
+# work properly (i.e., refer to `conftest.exe'), while it won't with
66535
 
+# `rm'.
66536
 
+for ac_file in conftest.exe conftest conftest.*; do
66537
 
+  test -f "$ac_file" || continue
66538
 
+  case $ac_file in
66539
 
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
66540
 
+    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
66541
 
+         break;;
66542
 
+    * ) break;;
66543
 
+  esac
66544
 
+done
66545
 
+else
66546
 
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
66547
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
66548
 
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
66549
 
+See \`config.log' for more details" "$LINENO" 5; }
66550
 
+fi
66551
 
+rm -f conftest conftest$ac_cv_exeext
66552
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
66553
 
+$as_echo "$ac_cv_exeext" >&6; }
66554
 
+
66555
 
+rm -f conftest.$ac_ext
66556
 
+EXEEXT=$ac_cv_exeext
66557
 
+ac_exeext=$EXEEXT
66558
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66559
 
+/* end confdefs.h.  */
66560
 
+@%:@include <stdio.h>
66561
 
+int
66562
 
+main ()
66563
 
+{
66564
 
+FILE *f = fopen ("conftest.out", "w");
66565
 
+ return ferror (f) || fclose (f) != 0;
66566
 
+
66567
 
+  ;
66568
 
+  return 0;
66569
 
+}
66570
 
+_ACEOF
66571
 
+ac_clean_files="$ac_clean_files conftest.out"
66572
 
+# Check that the compiler produces executables we can run.  If not, either
66573
 
+# the compiler is broken, or we cross compile.
66574
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
66575
 
+$as_echo_n "checking whether we are cross compiling... " >&6; }
66576
 
+if test "$cross_compiling" != yes; then
66577
 
+  { { ac_try="$ac_link"
66578
 
+case "(($ac_try" in
66579
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66580
 
+  *) ac_try_echo=$ac_try;;
66581
 
+esac
66582
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
66583
 
+$as_echo "$ac_try_echo"; } >&5
66584
 
+  (eval "$ac_link") 2>&5
66585
 
+  ac_status=$?
66586
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
66587
 
+  test $ac_status = 0; }
66588
 
+  if { ac_try='./conftest$ac_cv_exeext'
66589
 
+  { { case "(($ac_try" in
66590
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66591
 
+  *) ac_try_echo=$ac_try;;
66592
 
+esac
66593
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
66594
 
+$as_echo "$ac_try_echo"; } >&5
66595
 
+  (eval "$ac_try") 2>&5
66596
 
+  ac_status=$?
66597
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
66598
 
+  test $ac_status = 0; }; }; then
66599
 
+    cross_compiling=no
66600
 
+  else
66601
 
+    if test "$cross_compiling" = maybe; then
66602
 
+       cross_compiling=yes
66603
 
+    else
66604
 
+       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
66605
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
66606
 
+as_fn_error $? "cannot run C compiled programs.
66607
 
+If you meant to cross compile, use \`--host'.
66608
 
+See \`config.log' for more details" "$LINENO" 5; }
66609
 
+    fi
66610
 
+  fi
66611
 
+fi
66612
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
66613
 
+$as_echo "$cross_compiling" >&6; }
66614
 
+
66615
 
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
66616
 
+ac_clean_files=$ac_clean_files_save
66617
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
66618
 
+$as_echo_n "checking for suffix of object files... " >&6; }
66619
 
+if ${ac_cv_objext+:} false; then :
66620
 
+  $as_echo_n "(cached) " >&6
66621
 
+else
66622
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66623
 
+/* end confdefs.h.  */
66624
 
+
66625
 
+int
66626
 
+main ()
66627
 
+{
66628
 
+
66629
 
+  ;
66630
 
+  return 0;
66631
 
+}
66632
 
+_ACEOF
66633
 
+rm -f conftest.o conftest.obj
66634
 
+if { { ac_try="$ac_compile"
66635
 
+case "(($ac_try" in
66636
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
66637
 
+  *) ac_try_echo=$ac_try;;
66638
 
+esac
66639
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
66640
 
+$as_echo "$ac_try_echo"; } >&5
66641
 
+  (eval "$ac_compile") 2>&5
66642
 
+  ac_status=$?
66643
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
66644
 
+  test $ac_status = 0; }; then :
66645
 
+  for ac_file in conftest.o conftest.obj conftest.*; do
66646
 
+  test -f "$ac_file" || continue;
66647
 
+  case $ac_file in
66648
 
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
66649
 
+    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
66650
 
+       break;;
66651
 
+  esac
66652
 
+done
66653
 
+else
66654
 
+  $as_echo "$as_me: failed program was:" >&5
66655
 
+sed 's/^/| /' conftest.$ac_ext >&5
66656
 
+
66657
 
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
66658
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
66659
 
+as_fn_error $? "cannot compute suffix of object files: cannot compile
66660
 
+See \`config.log' for more details" "$LINENO" 5; }
66661
 
+fi
66662
 
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
66663
 
+fi
66664
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
66665
 
+$as_echo "$ac_cv_objext" >&6; }
66666
 
+OBJEXT=$ac_cv_objext
66667
 
+ac_objext=$OBJEXT
66668
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
66669
 
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
66670
 
+if ${ac_cv_c_compiler_gnu+:} false; then :
66671
 
+  $as_echo_n "(cached) " >&6
66672
 
+else
66673
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66674
 
+/* end confdefs.h.  */
66675
 
+
66676
 
+int
66677
 
+main ()
66678
 
+{
66679
 
+#ifndef __GNUC__
66680
 
+       choke me
66681
 
+#endif
66682
 
+
66683
 
+  ;
66684
 
+  return 0;
66685
 
+}
66686
 
+_ACEOF
66687
 
+if ac_fn_c_try_compile "$LINENO"; then :
66688
 
+  ac_compiler_gnu=yes
66689
 
+else
66690
 
+  ac_compiler_gnu=no
66691
 
+fi
66692
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66693
 
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
66694
 
+
66695
 
+fi
66696
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
66697
 
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
66698
 
+if test $ac_compiler_gnu = yes; then
66699
 
+  GCC=yes
66700
 
+else
66701
 
+  GCC=
66702
 
+fi
66703
 
+ac_test_CFLAGS=${CFLAGS+set}
66704
 
+ac_save_CFLAGS=$CFLAGS
66705
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
66706
 
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
66707
 
+if ${ac_cv_prog_cc_g+:} false; then :
66708
 
+  $as_echo_n "(cached) " >&6
66709
 
+else
66710
 
+  ac_save_c_werror_flag=$ac_c_werror_flag
66711
 
+   ac_c_werror_flag=yes
66712
 
+   ac_cv_prog_cc_g=no
66713
 
+   CFLAGS="-g"
66714
 
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66715
 
+/* end confdefs.h.  */
66716
 
+
66717
 
+int
66718
 
+main ()
66719
 
+{
66720
 
+
66721
 
+  ;
66722
 
+  return 0;
66723
 
+}
66724
 
+_ACEOF
66725
 
+if ac_fn_c_try_compile "$LINENO"; then :
66726
 
+  ac_cv_prog_cc_g=yes
66727
 
+else
66728
 
+  CFLAGS=""
66729
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66730
 
+/* end confdefs.h.  */
66731
 
+
66732
 
+int
66733
 
+main ()
66734
 
+{
66735
 
+
66736
 
+  ;
66737
 
+  return 0;
66738
 
+}
66739
 
+_ACEOF
66740
 
+if ac_fn_c_try_compile "$LINENO"; then :
66741
 
+  
66742
 
+else
66743
 
+  ac_c_werror_flag=$ac_save_c_werror_flag
66744
 
+        CFLAGS="-g"
66745
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66746
 
+/* end confdefs.h.  */
66747
 
+
66748
 
+int
66749
 
+main ()
66750
 
+{
66751
 
+
66752
 
+  ;
66753
 
+  return 0;
66754
 
+}
66755
 
+_ACEOF
66756
 
+if ac_fn_c_try_compile "$LINENO"; then :
66757
 
+  ac_cv_prog_cc_g=yes
66758
 
+fi
66759
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66760
 
+fi
66761
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66762
 
+fi
66763
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66764
 
+   ac_c_werror_flag=$ac_save_c_werror_flag
66765
 
+fi
66766
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
66767
 
+$as_echo "$ac_cv_prog_cc_g" >&6; }
66768
 
+if test "$ac_test_CFLAGS" = set; then
66769
 
+  CFLAGS=$ac_save_CFLAGS
66770
 
+elif test $ac_cv_prog_cc_g = yes; then
66771
 
+  if test "$GCC" = yes; then
66772
 
+    CFLAGS="-g -O2"
66773
 
+  else
66774
 
+    CFLAGS="-g"
66775
 
+  fi
66776
 
+else
66777
 
+  if test "$GCC" = yes; then
66778
 
+    CFLAGS="-O2"
66779
 
+  else
66780
 
+    CFLAGS=
66781
 
+  fi
66782
 
+fi
66783
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
66784
 
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
66785
 
+if ${ac_cv_prog_cc_c89+:} false; then :
66786
 
+  $as_echo_n "(cached) " >&6
66787
 
+else
66788
 
+  ac_cv_prog_cc_c89=no
66789
 
+ac_save_CC=$CC
66790
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66791
 
+/* end confdefs.h.  */
66792
 
+#include <stdarg.h>
66793
 
+#include <stdio.h>
66794
 
+#include <sys/types.h>
66795
 
+#include <sys/stat.h>
66796
 
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
66797
 
+struct buf { int x; };
66798
 
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
66799
 
+static char *e (p, i)
66800
 
+     char **p;
66801
 
+     int i;
66802
 
+{
66803
 
+  return p[i];
66804
 
+}
66805
 
+static char *f (char * (*g) (char **, int), char **p, ...)
66806
 
+{
66807
 
+  char *s;
66808
 
+  va_list v;
66809
 
+  va_start (v,p);
66810
 
+  s = g (p, va_arg (v,int));
66811
 
+  va_end (v);
66812
 
+  return s;
66813
 
+}
66814
 
+
66815
 
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
66816
 
+   function prototypes and stuff, but not '\xHH' hex character constants.
66817
 
+   These don't provoke an error unfortunately, instead are silently treated
66818
 
+   as 'x'.  The following induces an error, until -std is added to get
66819
 
+   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
66820
 
+   array size at least.  It's necessary to write '\x00'==0 to get something
66821
 
+   that's true only with -std.  */
66822
 
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
66823
 
+
66824
 
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
66825
 
+   inside strings and character constants.  */
66826
 
+#define FOO(x) 'x'
66827
 
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
66828
 
+
66829
 
+int test (int i, double x);
66830
 
+struct s1 {int (*f) (int a);};
66831
 
+struct s2 {int (*f) (double a);};
66832
 
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
66833
 
+int argc;
66834
 
+char **argv;
66835
 
+int
66836
 
+main ()
66837
 
+{
66838
 
+return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
66839
 
+  ;
66840
 
+  return 0;
66841
 
+}
66842
 
+_ACEOF
66843
 
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
66844
 
+       -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
66845
 
+do
66846
 
+  CC="$ac_save_CC $ac_arg"
66847
 
+  if ac_fn_c_try_compile "$LINENO"; then :
66848
 
+  ac_cv_prog_cc_c89=$ac_arg
66849
 
+fi
66850
 
+rm -f core conftest.err conftest.$ac_objext
66851
 
+  test "x$ac_cv_prog_cc_c89" != "xno" && break
66852
 
+done
66853
 
+rm -f conftest.$ac_ext
66854
 
+CC=$ac_save_CC
66855
 
+
66856
 
+fi
66857
 
+# AC_CACHE_VAL
66858
 
+case "x$ac_cv_prog_cc_c89" in
66859
 
+  x)
66860
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
66861
 
+$as_echo "none needed" >&6; } ;;
66862
 
+  xno)
66863
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
66864
 
+$as_echo "unsupported" >&6; } ;;
66865
 
+  *)
66866
 
+    CC="$CC $ac_cv_prog_cc_c89"
66867
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
66868
 
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
66869
 
+esac
66870
 
+if test "x$ac_cv_prog_cc_c89" != xno; then :
66871
 
+  
66872
 
+fi
66873
 
+
66874
 
+ac_ext=c
66875
 
+ac_cpp='$CPP $CPPFLAGS'
66876
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66877
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66878
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
66879
 
+
66880
 
+depcc="$CC"   am_compiler_list=
66881
 
+
66882
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
66883
 
+$as_echo_n "checking dependency style of $depcc... " >&6; }
66884
 
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
66885
 
+  $as_echo_n "(cached) " >&6
66886
 
+else
66887
 
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
66888
 
+  # We make a subdir and do the tests there.  Otherwise we can end up
66889
 
+  # making bogus files that we don't know about and never remove.  For
66890
 
+  # instance it was reported that on HP-UX the gcc test will end up
66891
 
+  # making a dummy file named `D' -- because `-MD' means `put the output
66892
 
+  # in D'.
66893
 
+  mkdir conftest.dir
66894
 
+  # Copy depcomp to subdir because otherwise we won't find it if we're
66895
 
+  # using a relative directory.
66896
 
+  cp "$am_depcomp" conftest.dir
66897
 
+  cd conftest.dir
66898
 
+  # We will build objects and dependencies in a subdirectory because
66899
 
+  # it helps to detect inapplicable dependency modes.  For instance
66900
 
+  # both Tru64's cc and ICC support -MD to output dependencies as a
66901
 
+  # side effect of compilation, but ICC will put the dependencies in
66902
 
+  # the current directory while Tru64 will put them in the object
66903
 
+  # directory.
66904
 
+  mkdir sub
66905
 
+
66906
 
+  am_cv_CC_dependencies_compiler_type=none
66907
 
+  if test "$am_compiler_list" = ""; then
66908
 
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
66909
 
+  fi
66910
 
+  am__universal=false
66911
 
+  case " $depcc " in #(
66912
 
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
66913
 
+     esac
66914
 
+
66915
 
+  for depmode in $am_compiler_list; do
66916
 
+    # Setup a source with many dependencies, because some compilers
66917
 
+    # like to wrap large dependency lists on column 80 (with \), and
66918
 
+    # we should not choose a depcomp mode which is confused by this.
66919
 
+    #
66920
 
+    # We need to recreate these files for each test, as the compiler may
66921
 
+    # overwrite some of them when testing with obscure command lines.
66922
 
+    # This happens at least with the AIX C compiler.
66923
 
+    : > sub/conftest.c
66924
 
+    for i in 1 2 3 4 5 6; do
66925
 
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
66926
 
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
66927
 
+      # Solaris 8's {/usr,}/bin/sh.
66928
 
+      touch sub/conftst$i.h
66929
 
+    done
66930
 
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
66931
 
+
66932
 
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
66933
 
+    # mode.  It turns out that the SunPro C++ compiler does not properly
66934
 
+    # handle `-M -o', and we need to detect this.  Also, some Intel
66935
 
+    # versions had trouble with output in subdirs
66936
 
+    am__obj=sub/conftest.${OBJEXT-o}
66937
 
+    am__minus_obj="-o $am__obj"
66938
 
+    case $depmode in
66939
 
+    gcc)
66940
 
+      # This depmode causes a compiler race in universal mode.
66941
 
+      test "$am__universal" = false || continue
66942
 
+      ;;
66943
 
+    nosideeffect)
66944
 
+      # after this tag, mechanisms are not by side-effect, so they'll
66945
 
+      # only be used when explicitly requested
66946
 
+      if test "x$enable_dependency_tracking" = xyes; then
66947
 
+       continue
66948
 
+      else
66949
 
+       break
66950
 
+      fi
66951
 
+      ;;
66952
 
+    msvisualcpp | msvcmsys)
66953
 
+      # This compiler won't grok `-c -o', but also, the minuso test has
66954
 
+      # not run yet.  These depmodes are late enough in the game, and
66955
 
+      # so weak that their functioning should not be impacted.
66956
 
+      am__obj=conftest.${OBJEXT-o}
66957
 
+      am__minus_obj=
66958
 
+      ;;
66959
 
+    none) break ;;
66960
 
+    esac
66961
 
+    if depmode=$depmode \
66962
 
+       source=sub/conftest.c object=$am__obj \
66963
 
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
66964
 
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
66965
 
+         >/dev/null 2>conftest.err &&
66966
 
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
66967
 
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
66968
 
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
66969
 
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
66970
 
+      # icc doesn't choke on unknown options, it will just issue warnings
66971
 
+      # or remarks (even with -Werror).  So we grep stderr for any message
66972
 
+      # that says an option was ignored or not supported.
66973
 
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
66974
 
+      #   icc: Command line warning: ignoring option '-M'; no argument required
66975
 
+      # The diagnosis changed in icc 8.0:
66976
 
+      #   icc: Command line remark: option '-MP' not supported
66977
 
+      if (grep 'ignoring option' conftest.err ||
66978
 
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
66979
 
+        am_cv_CC_dependencies_compiler_type=$depmode
66980
 
+        break
66981
 
+      fi
66982
 
+    fi
66983
 
+  done
66984
 
+
66985
 
+  cd ..
66986
 
+  rm -rf conftest.dir
66987
 
+else
66988
 
+  am_cv_CC_dependencies_compiler_type=none
66989
 
+fi
66990
 
+
66991
 
+fi
66992
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
66993
 
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
66994
 
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
66995
 
+
66996
 
+ if 
66997
 
+  test "x$enable_dependency_tracking" != xno \
66998
 
+  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
66999
 
+  am__fastdepCC_TRUE=
67000
 
+  am__fastdepCC_FALSE='#'
67001
 
+else
67002
 
+  am__fastdepCC_TRUE='#'
67003
 
+  am__fastdepCC_FALSE=
67004
 
+fi
67005
 
+
67006
 
+
67007
 
+   case $ac_cv_prog_cc_stdc in @%:@(
67008
 
+  no) :
67009
 
+    ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; @%:@(
67010
 
+  *) :
67011
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
67012
 
+$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
67013
 
+if ${ac_cv_prog_cc_c99+:} false; then :
67014
 
+  $as_echo_n "(cached) " >&6
67015
 
+else
67016
 
+  ac_cv_prog_cc_c99=no
67017
 
+ac_save_CC=$CC
67018
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67019
 
+/* end confdefs.h.  */
67020
 
+#include <stdarg.h>
67021
 
+#include <stdbool.h>
67022
 
+#include <stdlib.h>
67023
 
+#include <wchar.h>
67024
 
+#include <stdio.h>
67025
 
+
67026
 
+// Check varargs macros.  These examples are taken from C99 6.10.3.5.
67027
 
+#define debug(...) fprintf (stderr, __VA_ARGS__)
67028
 
+#define showlist(...) puts (#__VA_ARGS__)
67029
 
+#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
67030
 
+static void
67031
 
+test_varargs_macros (void)
67032
 
+{
67033
 
+  int x = 1234;
67034
 
+  int y = 5678;
67035
 
+  debug ("Flag");
67036
 
+  debug ("X = %d\n", x);
67037
 
+  showlist (The first, second, and third items.);
67038
 
+  report (x>y, "x is %d but y is %d", x, y);
67039
 
+}
67040
 
+
67041
 
+// Check long long types.
67042
 
+#define BIG64 18446744073709551615ull
67043
 
+#define BIG32 4294967295ul
67044
 
+#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
67045
 
+#if !BIG_OK
67046
 
+  your preprocessor is broken;
67047
 
+#endif
67048
 
+#if BIG_OK
67049
 
+#else
67050
 
+  your preprocessor is broken;
67051
 
+#endif
67052
 
+static long long int bignum = -9223372036854775807LL;
67053
 
+static unsigned long long int ubignum = BIG64;
67054
 
+
67055
 
+struct incomplete_array
67056
 
+{
67057
 
+  int datasize;
67058
 
+  double data[];
67059
 
+};
67060
 
+
67061
 
+struct named_init {
67062
 
+  int number;
67063
 
+  const wchar_t *name;
67064
 
+  double average;
67065
 
+};
67066
 
+
67067
 
+typedef const char *ccp;
67068
 
+
67069
 
+static inline int
67070
 
+test_restrict (ccp restrict text)
67071
 
+{
67072
 
+  // See if C++-style comments work.
67073
 
+  // Iterate through items via the restricted pointer.
67074
 
+  // Also check for declarations in for loops.
67075
 
+  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
67076
 
+    continue;
67077
 
+  return 0;
67078
 
+}
67079
 
+
67080
 
+// Check varargs and va_copy.
67081
 
+static void
67082
 
+test_varargs (const char *format, ...)
67083
 
+{
67084
 
+  va_list args;
67085
 
+  va_start (args, format);
67086
 
+  va_list args_copy;
67087
 
+  va_copy (args_copy, args);
67088
 
+
67089
 
+  const char *str;
67090
 
+  int number;
67091
 
+  float fnumber;
67092
 
+
67093
 
+  while (*format)
67094
 
+    {
67095
 
+      switch (*format++)
67096
 
+       {
67097
 
+       case 's': // string
67098
 
+         str = va_arg (args_copy, const char *);
67099
 
+         break;
67100
 
+       case 'd': // int
67101
 
+         number = va_arg (args_copy, int);
67102
 
+         break;
67103
 
+       case 'f': // float
67104
 
+         fnumber = va_arg (args_copy, double);
67105
 
+         break;
67106
 
+       default:
67107
 
+         break;
67108
 
+       }
67109
 
+    }
67110
 
+  va_end (args_copy);
67111
 
+  va_end (args);
67112
 
+}
67113
 
+
67114
 
+int
67115
 
+main ()
67116
 
+{
67117
 
+
67118
 
+  // Check bool.
67119
 
+  _Bool success = false;
67120
 
+
67121
 
+  // Check restrict.
67122
 
+  if (test_restrict ("String literal") == 0)
67123
 
+    success = true;
67124
 
+  char *restrict newvar = "Another string";
67125
 
+
67126
 
+  // Check varargs.
67127
 
+  test_varargs ("s, d' f .", "string", 65, 34.234);
67128
 
+  test_varargs_macros ();
67129
 
+
67130
 
+  // Check flexible array members.
67131
 
+  struct incomplete_array *ia =
67132
 
+    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
67133
 
+  ia->datasize = 10;
67134
 
+  for (int i = 0; i < ia->datasize; ++i)
67135
 
+    ia->data[i] = i * 1.234;
67136
 
+
67137
 
+  // Check named initializers.
67138
 
+  struct named_init ni = {
67139
 
+    .number = 34,
67140
 
+    .name = L"Test wide string",
67141
 
+    .average = 543.34343,
67142
 
+  };
67143
 
+
67144
 
+  ni.number = 58;
67145
 
+
67146
 
+  int dynamic_array[ni.number];
67147
 
+  dynamic_array[ni.number - 1] = 543;
67148
 
+
67149
 
+  // work around unused variable warnings
67150
 
+  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
67151
 
+         || dynamic_array[ni.number - 1] != 543);
67152
 
+
67153
 
+  ;
67154
 
+  return 0;
67155
 
+}
67156
 
+_ACEOF
67157
 
+for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
67158
 
+do
67159
 
+  CC="$ac_save_CC $ac_arg"
67160
 
+  if ac_fn_c_try_compile "$LINENO"; then :
67161
 
+  ac_cv_prog_cc_c99=$ac_arg
67162
 
+fi
67163
 
+rm -f core conftest.err conftest.$ac_objext
67164
 
+  test "x$ac_cv_prog_cc_c99" != "xno" && break
67165
 
+done
67166
 
+rm -f conftest.$ac_ext
67167
 
+CC=$ac_save_CC
67168
 
+
67169
 
+fi
67170
 
+# AC_CACHE_VAL
67171
 
+case "x$ac_cv_prog_cc_c99" in
67172
 
+  x)
67173
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
67174
 
+$as_echo "none needed" >&6; } ;;
67175
 
+  xno)
67176
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
67177
 
+$as_echo "unsupported" >&6; } ;;
67178
 
+  *)
67179
 
+    CC="$CC $ac_cv_prog_cc_c99"
67180
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
67181
 
+$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
67182
 
+esac
67183
 
+if test "x$ac_cv_prog_cc_c99" != xno; then :
67184
 
+  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
67185
 
+else
67186
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
67187
 
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
67188
 
+if ${ac_cv_prog_cc_c89+:} false; then :
67189
 
+  $as_echo_n "(cached) " >&6
67190
 
+else
67191
 
+  ac_cv_prog_cc_c89=no
67192
 
+ac_save_CC=$CC
67193
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67194
 
+/* end confdefs.h.  */
67195
 
+#include <stdarg.h>
67196
 
+#include <stdio.h>
67197
 
+#include <sys/types.h>
67198
 
+#include <sys/stat.h>
67199
 
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
67200
 
+struct buf { int x; };
67201
 
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
67202
 
+static char *e (p, i)
67203
 
+     char **p;
67204
 
+     int i;
67205
 
+{
67206
 
+  return p[i];
67207
 
+}
67208
 
+static char *f (char * (*g) (char **, int), char **p, ...)
67209
 
+{
67210
 
+  char *s;
67211
 
+  va_list v;
67212
 
+  va_start (v,p);
67213
 
+  s = g (p, va_arg (v,int));
67214
 
+  va_end (v);
67215
 
+  return s;
67216
 
+}
67217
 
+
67218
 
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
67219
 
+   function prototypes and stuff, but not '\xHH' hex character constants.
67220
 
+   These don't provoke an error unfortunately, instead are silently treated
67221
 
+   as 'x'.  The following induces an error, until -std is added to get
67222
 
+   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
67223
 
+   array size at least.  It's necessary to write '\x00'==0 to get something
67224
 
+   that's true only with -std.  */
67225
 
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
67226
 
+
67227
 
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
67228
 
+   inside strings and character constants.  */
67229
 
+#define FOO(x) 'x'
67230
 
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
67231
 
+
67232
 
+int test (int i, double x);
67233
 
+struct s1 {int (*f) (int a);};
67234
 
+struct s2 {int (*f) (double a);};
67235
 
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
67236
 
+int argc;
67237
 
+char **argv;
67238
 
+int
67239
 
+main ()
67240
 
+{
67241
 
+return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
67242
 
+  ;
67243
 
+  return 0;
67244
 
+}
67245
 
+_ACEOF
67246
 
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
67247
 
+       -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
67248
 
+do
67249
 
+  CC="$ac_save_CC $ac_arg"
67250
 
+  if ac_fn_c_try_compile "$LINENO"; then :
67251
 
+  ac_cv_prog_cc_c89=$ac_arg
67252
 
+fi
67253
 
+rm -f core conftest.err conftest.$ac_objext
67254
 
+  test "x$ac_cv_prog_cc_c89" != "xno" && break
67255
 
+done
67256
 
+rm -f conftest.$ac_ext
67257
 
+CC=$ac_save_CC
67258
 
+
67259
 
+fi
67260
 
+# AC_CACHE_VAL
67261
 
+case "x$ac_cv_prog_cc_c89" in
67262
 
+  x)
67263
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
67264
 
+$as_echo "none needed" >&6; } ;;
67265
 
+  xno)
67266
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
67267
 
+$as_echo "unsupported" >&6; } ;;
67268
 
+  *)
67269
 
+    CC="$CC $ac_cv_prog_cc_c89"
67270
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
67271
 
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
67272
 
+esac
67273
 
+if test "x$ac_cv_prog_cc_c89" != xno; then :
67274
 
+  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
67275
 
+else
67276
 
+  ac_cv_prog_cc_stdc=no
67277
 
+fi
67278
 
+
67279
 
+fi
67280
 
+ ;;
67281
 
+esac
67282
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
67283
 
+$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
67284
 
+  if ${ac_cv_prog_cc_stdc+:} false; then :
67285
 
+  $as_echo_n "(cached) " >&6
67286
 
+fi
67287
 
+
67288
 
+  case $ac_cv_prog_cc_stdc in @%:@(
67289
 
+  no) :
67290
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
67291
 
+$as_echo "unsupported" >&6; } ;; @%:@(
67292
 
+  '') :
67293
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
67294
 
+$as_echo "none needed" >&6; } ;; @%:@(
67295
 
+  *) :
67296
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
67297
 
+$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
67298
 
+esac
67299
 
+
67300
 
+if test "x$CC" != xcc; then
67301
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
67302
 
+$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
67303
 
+else
67304
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
67305
 
+$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
67306
 
+fi
67307
 
+set dummy $CC; ac_cc=`$as_echo "$2" |
67308
 
+                     sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
67309
 
+if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
67310
 
+  $as_echo_n "(cached) " >&6
67311
 
+else
67312
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67313
 
+/* end confdefs.h.  */
67314
 
+
67315
 
+int
67316
 
+main ()
67317
 
+{
67318
 
+
67319
 
+  ;
67320
 
+  return 0;
67321
 
+}
67322
 
+_ACEOF
67323
 
+# Make sure it works both with $CC and with simple cc.
67324
 
+# We do the test twice because some compilers refuse to overwrite an
67325
 
+# existing .o file with -o, though they will create one.
67326
 
+ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
67327
 
+rm -f conftest2.*
67328
 
+if { { case "(($ac_try" in
67329
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
67330
 
+  *) ac_try_echo=$ac_try;;
67331
 
+esac
67332
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
67333
 
+$as_echo "$ac_try_echo"; } >&5
67334
 
+  (eval "$ac_try") 2>&5
67335
 
+  ac_status=$?
67336
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
67337
 
+  test $ac_status = 0; } &&
67338
 
+   test -f conftest2.$ac_objext && { { case "(($ac_try" in
67339
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
67340
 
+  *) ac_try_echo=$ac_try;;
67341
 
+esac
67342
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
67343
 
+$as_echo "$ac_try_echo"; } >&5
67344
 
+  (eval "$ac_try") 2>&5
67345
 
+  ac_status=$?
67346
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
67347
 
+  test $ac_status = 0; };
67348
 
+then
67349
 
+  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
67350
 
+  if test "x$CC" != xcc; then
67351
 
+    # Test first that cc exists at all.
67352
 
+    if { ac_try='cc -c conftest.$ac_ext >&5'
67353
 
+  { { case "(($ac_try" in
67354
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
67355
 
+  *) ac_try_echo=$ac_try;;
67356
 
+esac
67357
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
67358
 
+$as_echo "$ac_try_echo"; } >&5
67359
 
+  (eval "$ac_try") 2>&5
67360
 
+  ac_status=$?
67361
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
67362
 
+  test $ac_status = 0; }; }; then
67363
 
+      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
67364
 
+      rm -f conftest2.*
67365
 
+      if { { case "(($ac_try" in
67366
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
67367
 
+  *) ac_try_echo=$ac_try;;
67368
 
+esac
67369
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
67370
 
+$as_echo "$ac_try_echo"; } >&5
67371
 
+  (eval "$ac_try") 2>&5
67372
 
+  ac_status=$?
67373
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
67374
 
+  test $ac_status = 0; } &&
67375
 
+        test -f conftest2.$ac_objext && { { case "(($ac_try" in
67376
 
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
67377
 
+  *) ac_try_echo=$ac_try;;
67378
 
+esac
67379
 
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
67380
 
+$as_echo "$ac_try_echo"; } >&5
67381
 
+  (eval "$ac_try") 2>&5
67382
 
+  ac_status=$?
67383
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
67384
 
+  test $ac_status = 0; };
67385
 
+      then
67386
 
+       # cc works too.
67387
 
+       :
67388
 
+      else
67389
 
+       # cc exists but doesn't like -o.
67390
 
+       eval ac_cv_prog_cc_${ac_cc}_c_o=no
67391
 
+      fi
67392
 
+    fi
67393
 
+  fi
67394
 
+else
67395
 
+  eval ac_cv_prog_cc_${ac_cc}_c_o=no
67396
 
+fi
67397
 
+rm -f core conftest*
67398
 
+
67399
 
+fi
67400
 
+if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
67401
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
67402
 
+$as_echo "yes" >&6; }
67403
 
+else
67404
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67405
 
+$as_echo "no" >&6; }
67406
 
+  
67407
 
+$as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
67408
 
+
67409
 
+fi
67410
 
+
67411
 
+# FIXME: we rely on the cache variable name because
67412
 
+# there is no other way.
67413
 
+set dummy $CC
67414
 
+am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
67415
 
+eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
67416
 
+if test "$am_t" != yes; then
67417
 
+   # Losing compiler, so override with the script.
67418
 
+   # FIXME: It is wrong to rewrite CC.
67419
 
+   # But if we don't then we get into trouble of one sort or another.
67420
 
+   # A longer-term fix would be to have automake use am__CC in this case,
67421
 
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
67422
 
+   CC="$am_aux_dir/compile $CC"
67423
 
+fi
67424
 
+
67425
 
+
67426
 
+ac_ext=c
67427
 
+ac_cpp='$CPP $CPPFLAGS'
67428
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67429
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67430
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
67431
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
67432
 
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
67433
 
+# On Suns, sometimes $CPP names a directory.
67434
 
+if test -n "$CPP" && test -d "$CPP"; then
67435
 
+  CPP=
67436
 
+fi
67437
 
+if test -z "$CPP"; then
67438
 
+  if ${ac_cv_prog_CPP+:} false; then :
67439
 
+  $as_echo_n "(cached) " >&6
67440
 
+else
67441
 
+      # Double quotes because CPP needs to be expanded
67442
 
+    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
67443
 
+    do
67444
 
+      ac_preproc_ok=false
67445
 
+for ac_c_preproc_warn_flag in '' yes
67446
 
+do
67447
 
+  # Use a header file that comes with gcc, so configuring glibc
67448
 
+  # with a fresh cross-compiler works.
67449
 
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67450
 
+  # <limits.h> exists even on freestanding compilers.
67451
 
+  # On the NeXT, cc -E runs the code through the compiler's parser,
67452
 
+  # not just through cpp. "Syntax error" is here to catch this case.
67453
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67454
 
+/* end confdefs.h.  */
67455
 
+@%:@ifdef __STDC__
67456
 
+@%:@ include <limits.h>
67457
 
+@%:@else
67458
 
+@%:@ include <assert.h>
67459
 
+@%:@endif
67460
 
+                    Syntax error
67461
 
+_ACEOF
67462
 
+if ac_fn_c_try_cpp "$LINENO"; then :
67463
 
+  
67464
 
+else
67465
 
+  # Broken: fails on valid input.
67466
 
+continue
67467
 
+fi
67468
 
+rm -f conftest.err conftest.i conftest.$ac_ext
67469
 
+
67470
 
+  # OK, works on sane cases.  Now check whether nonexistent headers
67471
 
+  # can be detected and how.
67472
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67473
 
+/* end confdefs.h.  */
67474
 
+@%:@include <ac_nonexistent.h>
67475
 
+_ACEOF
67476
 
+if ac_fn_c_try_cpp "$LINENO"; then :
67477
 
+  # Broken: success on invalid input.
67478
 
+continue
67479
 
+else
67480
 
+  # Passes both tests.
67481
 
+ac_preproc_ok=:
67482
 
+break
67483
 
+fi
67484
 
+rm -f conftest.err conftest.i conftest.$ac_ext
67485
 
+
67486
 
+done
67487
 
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
67488
 
+rm -f conftest.i conftest.err conftest.$ac_ext
67489
 
+if $ac_preproc_ok; then :
67490
 
+  break
67491
 
+fi
67492
 
+
67493
 
+    done
67494
 
+    ac_cv_prog_CPP=$CPP
67495
 
+  
67496
 
+fi
67497
 
+  CPP=$ac_cv_prog_CPP
67498
 
+else
67499
 
+  ac_cv_prog_CPP=$CPP
67500
 
+fi
67501
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
67502
 
+$as_echo "$CPP" >&6; }
67503
 
+ac_preproc_ok=false
67504
 
+for ac_c_preproc_warn_flag in '' yes
67505
 
+do
67506
 
+  # Use a header file that comes with gcc, so configuring glibc
67507
 
+  # with a fresh cross-compiler works.
67508
 
+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67509
 
+  # <limits.h> exists even on freestanding compilers.
67510
 
+  # On the NeXT, cc -E runs the code through the compiler's parser,
67511
 
+  # not just through cpp. "Syntax error" is here to catch this case.
67512
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67513
 
+/* end confdefs.h.  */
67514
 
+@%:@ifdef __STDC__
67515
 
+@%:@ include <limits.h>
67516
 
+@%:@else
67517
 
+@%:@ include <assert.h>
67518
 
+@%:@endif
67519
 
+                    Syntax error
67520
 
+_ACEOF
67521
 
+if ac_fn_c_try_cpp "$LINENO"; then :
67522
 
+  
67523
 
+else
67524
 
+  # Broken: fails on valid input.
67525
 
+continue
67526
 
+fi
67527
 
+rm -f conftest.err conftest.i conftest.$ac_ext
67528
 
+
67529
 
+  # OK, works on sane cases.  Now check whether nonexistent headers
67530
 
+  # can be detected and how.
67531
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67532
 
+/* end confdefs.h.  */
67533
 
+@%:@include <ac_nonexistent.h>
67534
 
+_ACEOF
67535
 
+if ac_fn_c_try_cpp "$LINENO"; then :
67536
 
+  # Broken: success on invalid input.
67537
 
+continue
67538
 
+else
67539
 
+  # Passes both tests.
67540
 
+ac_preproc_ok=:
67541
 
+break
67542
 
+fi
67543
 
+rm -f conftest.err conftest.i conftest.$ac_ext
67544
 
+
67545
 
+done
67546
 
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
67547
 
+rm -f conftest.i conftest.err conftest.$ac_ext
67548
 
+if $ac_preproc_ok; then :
67549
 
+  
67550
 
+else
67551
 
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
67552
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
67553
 
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
67554
 
+See \`config.log' for more details" "$LINENO" 5; }
67555
 
+fi
67556
 
+
67557
 
+ac_ext=c
67558
 
+ac_cpp='$CPP $CPPFLAGS'
67559
 
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67560
 
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67561
 
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
67562
 
+
67563
 
+
67564
 
+
67565
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
67566
 
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
67567
 
+if ${ac_cv_path_GREP+:} false; then :
67568
 
+  $as_echo_n "(cached) " >&6
67569
 
+else
67570
 
+  if test -z "$GREP"; then
67571
 
+  ac_path_GREP_found=false
67572
 
+  # Loop through the user's path and test for each of PROGNAME-LIST
67573
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
67574
 
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
67575
 
+do
67576
 
+  IFS=$as_save_IFS
67577
 
+  test -z "$as_dir" && as_dir=.
67578
 
+    for ac_prog in grep ggrep; do
67579
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
67580
 
+      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
67581
 
+      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
67582
 
+# Check for GNU ac_path_GREP and select it if it is found.
67583
 
+  # Check for GNU $ac_path_GREP
67584
 
+case `"$ac_path_GREP" --version 2>&1` in
67585
 
+*GNU*)
67586
 
+  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
67587
 
+*)
67588
 
+  ac_count=0
67589
 
+  $as_echo_n 0123456789 >"conftest.in"
67590
 
+  while :
67591
 
+  do
67592
 
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
67593
 
+    mv "conftest.tmp" "conftest.in"
67594
 
+    cp "conftest.in" "conftest.nl"
67595
 
+    $as_echo 'GREP' >> "conftest.nl"
67596
 
+    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
67597
 
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
67598
 
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
67599
 
+    if test $ac_count -gt ${ac_path_GREP_max-0}; then
67600
 
+      # Best one so far, save it but keep looking for a better one
67601
 
+      ac_cv_path_GREP="$ac_path_GREP"
67602
 
+      ac_path_GREP_max=$ac_count
67603
 
+    fi
67604
 
+    # 10*(2^10) chars as input seems more than enough
67605
 
+    test $ac_count -gt 10 && break
67606
 
+  done
67607
 
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
67608
 
+esac
67609
 
+
67610
 
+      $ac_path_GREP_found && break 3
67611
 
+    done
67612
 
+  done
67613
 
+  done
67614
 
+IFS=$as_save_IFS
67615
 
+  if test -z "$ac_cv_path_GREP"; then
67616
 
+    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
67617
 
+  fi
67618
 
+else
67619
 
+  ac_cv_path_GREP=$GREP
67620
 
+fi
67621
 
+
67622
 
+fi
67623
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
67624
 
+$as_echo "$ac_cv_path_GREP" >&6; }
67625
 
+ GREP="$ac_cv_path_GREP"
67626
 
67627
 
+
67628
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
67629
 
+$as_echo_n "checking for egrep... " >&6; }
67630
 
+if ${ac_cv_path_EGREP+:} false; then :
67631
 
+  $as_echo_n "(cached) " >&6
67632
 
+else
67633
 
+  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
67634
 
+   then ac_cv_path_EGREP="$GREP -E"
67635
 
+   else
67636
 
+     if test -z "$EGREP"; then
67637
 
+  ac_path_EGREP_found=false
67638
 
+  # Loop through the user's path and test for each of PROGNAME-LIST
67639
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
67640
 
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
67641
 
+do
67642
 
+  IFS=$as_save_IFS
67643
 
+  test -z "$as_dir" && as_dir=.
67644
 
+    for ac_prog in egrep; do
67645
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
67646
 
+      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
67647
 
+      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
67648
 
+# Check for GNU ac_path_EGREP and select it if it is found.
67649
 
+  # Check for GNU $ac_path_EGREP
67650
 
+case `"$ac_path_EGREP" --version 2>&1` in
67651
 
+*GNU*)
67652
 
+  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
67653
 
+*)
67654
 
+  ac_count=0
67655
 
+  $as_echo_n 0123456789 >"conftest.in"
67656
 
+  while :
67657
 
+  do
67658
 
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
67659
 
+    mv "conftest.tmp" "conftest.in"
67660
 
+    cp "conftest.in" "conftest.nl"
67661
 
+    $as_echo 'EGREP' >> "conftest.nl"
67662
 
+    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
67663
 
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
67664
 
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
67665
 
+    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
67666
 
+      # Best one so far, save it but keep looking for a better one
67667
 
+      ac_cv_path_EGREP="$ac_path_EGREP"
67668
 
+      ac_path_EGREP_max=$ac_count
67669
 
+    fi
67670
 
+    # 10*(2^10) chars as input seems more than enough
67671
 
+    test $ac_count -gt 10 && break
67672
 
+  done
67673
 
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
67674
 
+esac
67675
 
+
67676
 
+      $ac_path_EGREP_found && break 3
67677
 
+    done
67678
 
+  done
67679
 
+  done
67680
 
+IFS=$as_save_IFS
67681
 
+  if test -z "$ac_cv_path_EGREP"; then
67682
 
+    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
67683
 
+  fi
67684
 
+else
67685
 
+  ac_cv_path_EGREP=$EGREP
67686
 
+fi
67687
 
+
67688
 
+   fi
67689
 
+fi
67690
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
67691
 
+$as_echo "$ac_cv_path_EGREP" >&6; }
67692
 
+ EGREP="$ac_cv_path_EGREP"
67693
 
67694
 
+
67695
 
+if test $ac_cv_c_compiler_gnu = yes; then
67696
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
67697
 
+$as_echo_n "checking whether $CC needs -traditional... " >&6; }
67698
 
+if ${ac_cv_prog_gcc_traditional+:} false; then :
67699
 
+  $as_echo_n "(cached) " >&6
67700
 
+else
67701
 
+    ac_pattern="Autoconf.*'x'"
67702
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67703
 
+/* end confdefs.h.  */
67704
 
+#include <sgtty.h>
67705
 
+Autoconf TIOCGETP
67706
 
+_ACEOF
67707
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
67708
 
+  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
67709
 
+  ac_cv_prog_gcc_traditional=yes
67710
 
+else
67711
 
+  ac_cv_prog_gcc_traditional=no
67712
 
+fi
67713
 
+rm -f conftest*
67714
 
+
67715
 
+
67716
 
+  if test $ac_cv_prog_gcc_traditional = no; then
67717
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67718
 
+/* end confdefs.h.  */
67719
 
+#include <termio.h>
67720
 
+Autoconf TCGETA
67721
 
+_ACEOF
67722
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
67723
 
+  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
67724
 
+  ac_cv_prog_gcc_traditional=yes
67725
 
+fi
67726
 
+rm -f conftest*
67727
 
+
67728
 
+  fi
67729
 
+fi
67730
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
67731
 
+$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
67732
 
+  if test $ac_cv_prog_gcc_traditional = yes; then
67733
 
+    CC="$CC -traditional"
67734
 
+  fi
67735
 
+fi
67736
 
+
67737
 
+if test -n "$ac_tool_prefix"; then
67738
 
+  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
67739
 
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
67740
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
67741
 
+$as_echo_n "checking for $ac_word... " >&6; }
67742
 
+if ${ac_cv_prog_RANLIB+:} false; then :
67743
 
+  $as_echo_n "(cached) " >&6
67744
 
+else
67745
 
+  if test -n "$RANLIB"; then
67746
 
+  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
67747
 
+else
67748
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
67749
 
+for as_dir in $PATH
67750
 
+do
67751
 
+  IFS=$as_save_IFS
67752
 
+  test -z "$as_dir" && as_dir=.
67753
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
67754
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
67755
 
+    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
67756
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
67757
 
+    break 2
67758
 
+  fi
67759
 
+done
67760
 
+  done
67761
 
+IFS=$as_save_IFS
67762
 
+
67763
 
+fi
67764
 
+fi
67765
 
+RANLIB=$ac_cv_prog_RANLIB
67766
 
+if test -n "$RANLIB"; then
67767
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
67768
 
+$as_echo "$RANLIB" >&6; }
67769
 
+else
67770
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67771
 
+$as_echo "no" >&6; }
67772
 
+fi
67773
 
+
67774
 
+
67775
 
+fi
67776
 
+if test -z "$ac_cv_prog_RANLIB"; then
67777
 
+  ac_ct_RANLIB=$RANLIB
67778
 
+  # Extract the first word of "ranlib", so it can be a program name with args.
67779
 
+set dummy ranlib; ac_word=$2
67780
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
67781
 
+$as_echo_n "checking for $ac_word... " >&6; }
67782
 
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
67783
 
+  $as_echo_n "(cached) " >&6
67784
 
+else
67785
 
+  if test -n "$ac_ct_RANLIB"; then
67786
 
+  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
67787
 
+else
67788
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
67789
 
+for as_dir in $PATH
67790
 
+do
67791
 
+  IFS=$as_save_IFS
67792
 
+  test -z "$as_dir" && as_dir=.
67793
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
67794
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
67795
 
+    ac_cv_prog_ac_ct_RANLIB="ranlib"
67796
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
67797
 
+    break 2
67798
 
+  fi
67799
 
+done
67800
 
+  done
67801
 
+IFS=$as_save_IFS
67802
 
+
67803
 
+fi
67804
 
+fi
67805
 
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
67806
 
+if test -n "$ac_ct_RANLIB"; then
67807
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
67808
 
+$as_echo "$ac_ct_RANLIB" >&6; }
67809
 
+else
67810
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67811
 
+$as_echo "no" >&6; }
67812
 
+fi
67813
 
+
67814
 
+  if test "x$ac_ct_RANLIB" = x; then
67815
 
+    RANLIB=":"
67816
 
+  else
67817
 
+    case $cross_compiling:$ac_tool_warned in
67818
 
+yes:)
67819
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
67820
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
67821
 
+ac_tool_warned=yes ;;
67822
 
+esac
67823
 
+    RANLIB=$ac_ct_RANLIB
67824
 
+  fi
67825
 
+else
67826
 
+  RANLIB="$ac_cv_prog_RANLIB"
67827
 
+fi
67828
 
+
67829
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
67830
 
+$as_echo_n "checking whether ln -s works... " >&6; }
67831
 
+LN_S=$as_ln_s
67832
 
+if test "$LN_S" = "ln -s"; then
67833
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
67834
 
+$as_echo "yes" >&6; }
67835
 
+else
67836
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
67837
 
+$as_echo "no, using $LN_S" >&6; }
67838
 
+fi
67839
 
+
67840
 
+
67841
 
+          
67842
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5
67843
 
+$as_echo_n "checking for Minix Amsterdam compiler... " >&6; }
67844
 
+if ${gl_cv_c_amsterdam_compiler+:} false; then :
67845
 
+  $as_echo_n "(cached) " >&6
67846
 
+else
67847
 
+  
67848
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67849
 
+/* end confdefs.h.  */
67850
 
+
67851
 
+#ifdef __ACK__
67852
 
+Amsterdam
67853
 
+#endif
67854
 
+        
67855
 
+_ACEOF
67856
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
67857
 
+  $EGREP "Amsterdam" >/dev/null 2>&1; then :
67858
 
+  gl_cv_c_amsterdam_compiler=yes
67859
 
+else
67860
 
+  gl_cv_c_amsterdam_compiler=no
67861
 
+fi
67862
 
+rm -f conftest*
67863
 
+
67864
 
+    
67865
 
+fi
67866
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5
67867
 
+$as_echo "$gl_cv_c_amsterdam_compiler" >&6; }
67868
 
+  if test -z "$AR"; then
67869
 
+    if test $gl_cv_c_amsterdam_compiler = yes; then
67870
 
+      AR='cc -c.a'
67871
 
+      if test -z "$ARFLAGS"; then
67872
 
+        ARFLAGS='-o'
67873
 
+      fi
67874
 
+    else
67875
 
+                  if test -n "$ac_tool_prefix"; then
67876
 
+  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
67877
 
+set dummy ${ac_tool_prefix}ar; ac_word=$2
67878
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
67879
 
+$as_echo_n "checking for $ac_word... " >&6; }
67880
 
+if ${ac_cv_prog_AR+:} false; then :
67881
 
+  $as_echo_n "(cached) " >&6
67882
 
+else
67883
 
+  if test -n "$AR"; then
67884
 
+  ac_cv_prog_AR="$AR" # Let the user override the test.
67885
 
+else
67886
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
67887
 
+for as_dir in $PATH
67888
 
+do
67889
 
+  IFS=$as_save_IFS
67890
 
+  test -z "$as_dir" && as_dir=.
67891
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
67892
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
67893
 
+    ac_cv_prog_AR="${ac_tool_prefix}ar"
67894
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
67895
 
+    break 2
67896
 
+  fi
67897
 
+done
67898
 
+  done
67899
 
+IFS=$as_save_IFS
67900
 
+
67901
 
+fi
67902
 
+fi
67903
 
+AR=$ac_cv_prog_AR
67904
 
+if test -n "$AR"; then
67905
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
67906
 
+$as_echo "$AR" >&6; }
67907
 
+else
67908
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67909
 
+$as_echo "no" >&6; }
67910
 
+fi
67911
 
+
67912
 
+
67913
 
+fi
67914
 
+if test -z "$ac_cv_prog_AR"; then
67915
 
+  ac_ct_AR=$AR
67916
 
+  # Extract the first word of "ar", so it can be a program name with args.
67917
 
+set dummy ar; ac_word=$2
67918
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
67919
 
+$as_echo_n "checking for $ac_word... " >&6; }
67920
 
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
67921
 
+  $as_echo_n "(cached) " >&6
67922
 
+else
67923
 
+  if test -n "$ac_ct_AR"; then
67924
 
+  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
67925
 
+else
67926
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
67927
 
+for as_dir in $PATH
67928
 
+do
67929
 
+  IFS=$as_save_IFS
67930
 
+  test -z "$as_dir" && as_dir=.
67931
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
67932
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
67933
 
+    ac_cv_prog_ac_ct_AR="ar"
67934
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
67935
 
+    break 2
67936
 
+  fi
67937
 
+done
67938
 
+  done
67939
 
+IFS=$as_save_IFS
67940
 
+
67941
 
+fi
67942
 
+fi
67943
 
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
67944
 
+if test -n "$ac_ct_AR"; then
67945
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
67946
 
+$as_echo "$ac_ct_AR" >&6; }
67947
 
+else
67948
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67949
 
+$as_echo "no" >&6; }
67950
 
+fi
67951
 
+
67952
 
+  if test "x$ac_ct_AR" = x; then
67953
 
+    AR="ar"
67954
 
+  else
67955
 
+    case $cross_compiling:$ac_tool_warned in
67956
 
+yes:)
67957
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
67958
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
67959
 
+ac_tool_warned=yes ;;
67960
 
+esac
67961
 
+    AR=$ac_ct_AR
67962
 
+  fi
67963
 
+else
67964
 
+  AR="$ac_cv_prog_AR"
67965
 
+fi
67966
 
+
67967
 
+      if test -z "$ARFLAGS"; then
67968
 
+        ARFLAGS='cru'
67969
 
+      fi
67970
 
+    fi
67971
 
+  else
67972
 
+    if test -z "$ARFLAGS"; then
67973
 
+      ARFLAGS='cru'
67974
 
+    fi
67975
 
+  fi
67976
 
+  
67977
 
+  
67978
 
+  if test -z "$RANLIB"; then
67979
 
+    if test $gl_cv_c_amsterdam_compiler = yes; then
67980
 
+      RANLIB=':'
67981
 
+    else
67982
 
+            if test -n "$ac_tool_prefix"; then
67983
 
+  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
67984
 
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
67985
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
67986
 
+$as_echo_n "checking for $ac_word... " >&6; }
67987
 
+if ${ac_cv_prog_RANLIB+:} false; then :
67988
 
+  $as_echo_n "(cached) " >&6
67989
 
+else
67990
 
+  if test -n "$RANLIB"; then
67991
 
+  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
67992
 
+else
67993
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
67994
 
+for as_dir in $PATH
67995
 
+do
67996
 
+  IFS=$as_save_IFS
67997
 
+  test -z "$as_dir" && as_dir=.
67998
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
67999
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
68000
 
+    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
68001
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
68002
 
+    break 2
68003
 
+  fi
68004
 
+done
68005
 
+  done
68006
 
+IFS=$as_save_IFS
68007
 
+
68008
 
+fi
68009
 
+fi
68010
 
+RANLIB=$ac_cv_prog_RANLIB
68011
 
+if test -n "$RANLIB"; then
68012
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
68013
 
+$as_echo "$RANLIB" >&6; }
68014
 
+else
68015
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
68016
 
+$as_echo "no" >&6; }
68017
 
+fi
68018
 
+
68019
 
+
68020
 
+fi
68021
 
+if test -z "$ac_cv_prog_RANLIB"; then
68022
 
+  ac_ct_RANLIB=$RANLIB
68023
 
+  # Extract the first word of "ranlib", so it can be a program name with args.
68024
 
+set dummy ranlib; ac_word=$2
68025
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
68026
 
+$as_echo_n "checking for $ac_word... " >&6; }
68027
 
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
68028
 
+  $as_echo_n "(cached) " >&6
68029
 
+else
68030
 
+  if test -n "$ac_ct_RANLIB"; then
68031
 
+  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
68032
 
+else
68033
 
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
68034
 
+for as_dir in $PATH
68035
 
+do
68036
 
+  IFS=$as_save_IFS
68037
 
+  test -z "$as_dir" && as_dir=.
68038
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
68039
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
68040
 
+    ac_cv_prog_ac_ct_RANLIB="ranlib"
68041
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
68042
 
+    break 2
68043
 
+  fi
68044
 
+done
68045
 
+  done
68046
 
+IFS=$as_save_IFS
68047
 
+
68048
 
+fi
68049
 
+fi
68050
 
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
68051
 
+if test -n "$ac_ct_RANLIB"; then
68052
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
68053
 
+$as_echo "$ac_ct_RANLIB" >&6; }
68054
 
+else
68055
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
68056
 
+$as_echo "no" >&6; }
68057
 
+fi
68058
 
+
68059
 
+  if test "x$ac_ct_RANLIB" = x; then
68060
 
+    RANLIB=":"
68061
 
+  else
68062
 
+    case $cross_compiling:$ac_tool_warned in
68063
 
+yes:)
68064
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
68065
 
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
68066
 
+ac_tool_warned=yes ;;
68067
 
+esac
68068
 
+    RANLIB=$ac_ct_RANLIB
68069
 
+  fi
68070
 
+else
68071
 
+  RANLIB="$ac_cv_prog_RANLIB"
68072
 
+fi
68073
 
+
68074
 
+    fi
68075
 
+  fi
68076
 
+  
68077
 
+
68078
 
+# Make sure we can run config.sub.
68079
 
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
68080
 
+  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
68081
 
+
68082
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
68083
 
+$as_echo_n "checking build system type... " >&6; }
68084
 
+if ${ac_cv_build+:} false; then :
68085
 
+  $as_echo_n "(cached) " >&6
68086
 
+else
68087
 
+  ac_build_alias=$build_alias
68088
 
+test "x$ac_build_alias" = x &&
68089
 
+  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
68090
 
+test "x$ac_build_alias" = x &&
68091
 
+  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
68092
 
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
68093
 
+  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
68094
 
+
68095
 
+fi
68096
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
68097
 
+$as_echo "$ac_cv_build" >&6; }
68098
 
+case $ac_cv_build in
68099
 
+*-*-*) ;;
68100
 
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
68101
 
+esac
68102
 
+build=$ac_cv_build
68103
 
+ac_save_IFS=$IFS; IFS='-'
68104
 
+set x $ac_cv_build
68105
 
+shift
68106
 
+build_cpu=$1
68107
 
+build_vendor=$2
68108
 
+shift; shift
68109
 
+# Remember, the first character of IFS is used to create $*,
68110
 
+# except with old shells:
68111
 
+build_os=$*
68112
 
+IFS=$ac_save_IFS
68113
 
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
68114
 
+
68115
 
+
68116
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
68117
 
+$as_echo_n "checking host system type... " >&6; }
68118
 
+if ${ac_cv_host+:} false; then :
68119
 
+  $as_echo_n "(cached) " >&6
68120
 
+else
68121
 
+  if test "x$host_alias" = x; then
68122
 
+  ac_cv_host=$ac_cv_build
68123
 
+else
68124
 
+  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
68125
 
+    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
68126
 
+fi
68127
 
+
68128
 
+fi
68129
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
68130
 
+$as_echo "$ac_cv_host" >&6; }
68131
 
+case $ac_cv_host in
68132
 
+*-*-*) ;;
68133
 
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
68134
 
+esac
68135
 
+host=$ac_cv_host
68136
 
+ac_save_IFS=$IFS; IFS='-'
68137
 
+set x $ac_cv_host
68138
 
+shift
68139
 
+host_cpu=$1
68140
 
+host_vendor=$2
68141
 
+shift; shift
68142
 
+# Remember, the first character of IFS is used to create $*,
68143
 
+# except with old shells:
68144
 
+host_os=$*
68145
 
+IFS=$ac_save_IFS
68146
 
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
68147
 
+
68148
 
+
68149
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
68150
 
+$as_echo_n "checking for ANSI C header files... " >&6; }
68151
 
+if ${ac_cv_header_stdc+:} false; then :
68152
 
+  $as_echo_n "(cached) " >&6
68153
 
+else
68154
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68155
 
+/* end confdefs.h.  */
68156
 
+#include <stdlib.h>
68157
 
+#include <stdarg.h>
68158
 
+#include <string.h>
68159
 
+#include <float.h>
68160
 
+
68161
 
+int
68162
 
+main ()
68163
 
+{
68164
 
+
68165
 
+  ;
68166
 
+  return 0;
68167
 
+}
68168
 
+_ACEOF
68169
 
+if ac_fn_c_try_compile "$LINENO"; then :
68170
 
+  ac_cv_header_stdc=yes
68171
 
+else
68172
 
+  ac_cv_header_stdc=no
68173
 
+fi
68174
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68175
 
+
68176
 
+if test $ac_cv_header_stdc = yes; then
68177
 
+  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
68178
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68179
 
+/* end confdefs.h.  */
68180
 
+#include <string.h>
68181
 
+
68182
 
+_ACEOF
68183
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
68184
 
+  $EGREP "memchr" >/dev/null 2>&1; then :
68185
 
+  
68186
 
+else
68187
 
+  ac_cv_header_stdc=no
68188
 
+fi
68189
 
+rm -f conftest*
68190
 
+
68191
 
+fi
68192
 
+
68193
 
+if test $ac_cv_header_stdc = yes; then
68194
 
+  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
68195
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68196
 
+/* end confdefs.h.  */
68197
 
+#include <stdlib.h>
68198
 
+
68199
 
+_ACEOF
68200
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
68201
 
+  $EGREP "free" >/dev/null 2>&1; then :
68202
 
+  
68203
 
+else
68204
 
+  ac_cv_header_stdc=no
68205
 
+fi
68206
 
+rm -f conftest*
68207
 
+
68208
 
+fi
68209
 
+
68210
 
+if test $ac_cv_header_stdc = yes; then
68211
 
+  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
68212
 
+  if test "$cross_compiling" = yes; then :
68213
 
+  :
68214
 
+else
68215
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68216
 
+/* end confdefs.h.  */
68217
 
+#include <ctype.h>
68218
 
+#include <stdlib.h>
68219
 
+#if ((' ' & 0x0FF) == 0x020)
68220
 
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
68221
 
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
68222
 
+#else
68223
 
+# define ISLOWER(c) \
68224
 
+                  (('a' <= (c) && (c) <= 'i') \
68225
 
+                    || ('j' <= (c) && (c) <= 'r') \
68226
 
+                    || ('s' <= (c) && (c) <= 'z'))
68227
 
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
68228
 
+#endif
68229
 
+
68230
 
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
68231
 
+int
68232
 
+main ()
68233
 
+{
68234
 
+  int i;
68235
 
+  for (i = 0; i < 256; i++)
68236
 
+    if (XOR (islower (i), ISLOWER (i))
68237
 
+       || toupper (i) != TOUPPER (i))
68238
 
+      return 2;
68239
 
+  return 0;
68240
 
+}
68241
 
+_ACEOF
68242
 
+if ac_fn_c_try_run "$LINENO"; then :
68243
 
+  
68244
 
+else
68245
 
+  ac_cv_header_stdc=no
68246
 
+fi
68247
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
68248
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
68249
 
+fi
68250
 
+
68251
 
+fi
68252
 
+fi
68253
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
68254
 
+$as_echo "$ac_cv_header_stdc" >&6; }
68255
 
+if test $ac_cv_header_stdc = yes; then
68256
 
+  
68257
 
+$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
68258
 
+
68259
 
+fi
68260
 
+
68261
 
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
68262
 
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
68263
 
+                 inttypes.h stdint.h unistd.h
68264
 
+do :
68265
 
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
68266
 
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
68267
 
+"
68268
 
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
68269
 
+  cat >>confdefs.h <<_ACEOF
68270
 
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
68271
 
+_ACEOF
68272
 
68273
 
+fi
68274
 
+
68275
 
+done
68276
 
+
68277
 
+
68278
 
+
68279
 
+  
68280
 
+
68281
 
+  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
68282
 
+if test "x$ac_cv_header_minix_config_h" = xyes; then :
68283
 
+  MINIX=yes
68284
 
+else
68285
 
+  MINIX=
68286
 
+fi
68287
 
+
68288
 
+
68289
 
+  if test "$MINIX" = yes; then
68290
 
+    
68291
 
+$as_echo "@%:@define _POSIX_SOURCE 1" >>confdefs.h
68292
 
+
68293
 
+    
68294
 
+$as_echo "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h
68295
 
+
68296
 
+    
68297
 
+$as_echo "@%:@define _MINIX 1" >>confdefs.h
68298
 
+
68299
 
+  fi
68300
 
+
68301
 
+        case "$host_os" in
68302
 
+    hpux*)
68303
 
+      
68304
 
+$as_echo "@%:@define _XOPEN_SOURCE 500" >>confdefs.h
68305
 
+
68306
 
+      ;;
68307
 
+  esac
68308
 
+
68309
 
+  
68310
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
68311
 
+$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
68312
 
+if ${ac_cv_safe_to_define___extensions__+:} false; then :
68313
 
+  $as_echo_n "(cached) " >&6
68314
 
+else
68315
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68316
 
+/* end confdefs.h.  */
68317
 
+
68318
 
+#         define __EXTENSIONS__ 1
68319
 
+          $ac_includes_default
68320
 
+int
68321
 
+main ()
68322
 
+{
68323
 
+
68324
 
+  ;
68325
 
+  return 0;
68326
 
+}
68327
 
+_ACEOF
68328
 
+if ac_fn_c_try_compile "$LINENO"; then :
68329
 
+  ac_cv_safe_to_define___extensions__=yes
68330
 
+else
68331
 
+  ac_cv_safe_to_define___extensions__=no
68332
 
+fi
68333
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68334
 
+fi
68335
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
68336
 
+$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
68337
 
+  test $ac_cv_safe_to_define___extensions__ = yes &&
68338
 
+    $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h
68339
 
+
68340
 
+  $as_echo "@%:@define _ALL_SOURCE 1" >>confdefs.h
68341
 
+
68342
 
+  $as_echo "@%:@define _DARWIN_C_SOURCE 1" >>confdefs.h
68343
 
+
68344
 
+  $as_echo "@%:@define _GNU_SOURCE 1" >>confdefs.h
68345
 
+
68346
 
+  $as_echo "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
68347
 
+
68348
 
+  $as_echo "@%:@define _TANDEM_SOURCE 1" >>confdefs.h
68349
 
+
68350
 
+
68351
 
+
68352
 
+
68353
 
+              
68354
 
+
68355
 
+  
68356
 
+
68357
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
68358
 
+$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
68359
 
+if ${ac_cv_sys_largefile_source+:} false; then :
68360
 
+  $as_echo_n "(cached) " >&6
68361
 
+else
68362
 
+  while :; do
68363
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68364
 
+/* end confdefs.h.  */
68365
 
+#include <sys/types.h> /* for off_t */
68366
 
+     #include <stdio.h>
68367
 
+int
68368
 
+main ()
68369
 
+{
68370
 
+int (*fp) (FILE *, off_t, int) = fseeko;
68371
 
+     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
68372
 
+  ;
68373
 
+  return 0;
68374
 
+}
68375
 
+_ACEOF
68376
 
+if ac_fn_c_try_link "$LINENO"; then :
68377
 
+  ac_cv_sys_largefile_source=no; break
68378
 
+fi
68379
 
+rm -f core conftest.err conftest.$ac_objext \
68380
 
+    conftest$ac_exeext conftest.$ac_ext
68381
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68382
 
+/* end confdefs.h.  */
68383
 
+@%:@define _LARGEFILE_SOURCE 1
68384
 
+#include <sys/types.h> /* for off_t */
68385
 
+     #include <stdio.h>
68386
 
+int
68387
 
+main ()
68388
 
+{
68389
 
+int (*fp) (FILE *, off_t, int) = fseeko;
68390
 
+     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
68391
 
+  ;
68392
 
+  return 0;
68393
 
+}
68394
 
+_ACEOF
68395
 
+if ac_fn_c_try_link "$LINENO"; then :
68396
 
+  ac_cv_sys_largefile_source=1; break
68397
 
+fi
68398
 
+rm -f core conftest.err conftest.$ac_objext \
68399
 
+    conftest$ac_exeext conftest.$ac_ext
68400
 
+  ac_cv_sys_largefile_source=unknown
68401
 
+  break
68402
 
+done
68403
 
+fi
68404
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
68405
 
+$as_echo "$ac_cv_sys_largefile_source" >&6; }
68406
 
+case $ac_cv_sys_largefile_source in #(
68407
 
+  no | unknown) ;;
68408
 
+  *) 
68409
 
+cat >>confdefs.h <<_ACEOF
68410
 
+@%:@define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
68411
 
+_ACEOF
68412
 
+;;
68413
 
+esac
68414
 
+rm -rf conftest*
68415
 
+
68416
 
+# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
68417
 
+# in glibc 2.1.3, but that breaks too many other things.
68418
 
+# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
68419
 
+if test $ac_cv_sys_largefile_source != unknown; then
68420
 
+  
68421
 
+$as_echo "@%:@define HAVE_FSEEKO 1" >>confdefs.h
68422
 
+
68423
 
+fi
68424
 
+
68425
 
+
68426
 
+  
68427
 
+  
68428
 
+  # IEEE behaviour is the default on all CPUs except Alpha and SH
68429
 
+  # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4
68430
 
+  # and the GCC 4.1.2 manual).
68431
 
+  case "$host_cpu" in
68432
 
+    alpha*)
68433
 
+      # On Alpha systems, a compiler option provides the behaviour.
68434
 
+      # See the ieee(3) manual page, also available at
68435
 
+      # <http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN3/0600____.HTM>
68436
 
+      if test -n "$GCC"; then
68437
 
+        # GCC has the option -mieee.
68438
 
+        CPPFLAGS="$CPPFLAGS -mieee"
68439
 
+      else
68440
 
+        # Compaq (ex-DEC) C has the option -ieee.
68441
 
+        CPPFLAGS="$CPPFLAGS -ieee"
68442
 
+      fi
68443
 
+      ;;
68444
 
+    sh*)
68445
 
+      if test -n "$GCC"; then
68446
 
+        # GCC has the option -mieee.
68447
 
+        CPPFLAGS="$CPPFLAGS -mieee"
68448
 
+      fi
68449
 
+      ;;
68450
 
+  esac
68451
 
+
68452
 
+@%:@ Check whether --enable-largefile was given.
68453
 
+if test "${enable_largefile+set}" = set; then :
68454
 
+  enableval=$enable_largefile; 
68455
 
+fi
68456
 
+
68457
 
+if test "$enable_largefile" != no; then
68458
 
+
68459
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
68460
 
+$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
68461
 
+if ${ac_cv_sys_largefile_CC+:} false; then :
68462
 
+  $as_echo_n "(cached) " >&6
68463
 
+else
68464
 
+  ac_cv_sys_largefile_CC=no
68465
 
+     if test "$GCC" != yes; then
68466
 
+       ac_save_CC=$CC
68467
 
+       while :; do
68468
 
+         # IRIX 6.2 and later do not support large files by default,
68469
 
+         # so use the C compiler's -n32 option if that helps.
68470
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68471
 
+/* end confdefs.h.  */
68472
 
+@%:@include <sys/types.h>
68473
 
+ /* Check that off_t can represent 2**63 - 1 correctly.
68474
 
+    We can't simply define LARGE_OFF_T to be 9223372036854775807,
68475
 
+    since some C++ compilers masquerading as C compilers
68476
 
+    incorrectly reject 9223372036854775807.  */
68477
 
+@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
68478
 
+  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
68479
 
+                       && LARGE_OFF_T % 2147483647 == 1)
68480
 
+                      ? 1 : -1];
68481
 
+int
68482
 
+main ()
68483
 
+{
68484
 
+
68485
 
+  ;
68486
 
+  return 0;
68487
 
+}
68488
 
+_ACEOF
68489
 
+         if ac_fn_c_try_compile "$LINENO"; then :
68490
 
+  break
68491
 
+fi
68492
 
+rm -f core conftest.err conftest.$ac_objext
68493
 
+         CC="$CC -n32"
68494
 
+         if ac_fn_c_try_compile "$LINENO"; then :
68495
 
+  ac_cv_sys_largefile_CC=' -n32'; break
68496
 
+fi
68497
 
+rm -f core conftest.err conftest.$ac_objext
68498
 
+         break
68499
 
+       done
68500
 
+       CC=$ac_save_CC
68501
 
+       rm -f conftest.$ac_ext
68502
 
+    fi
68503
 
+fi
68504
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
68505
 
+$as_echo "$ac_cv_sys_largefile_CC" >&6; }
68506
 
+  if test "$ac_cv_sys_largefile_CC" != no; then
68507
 
+    CC=$CC$ac_cv_sys_largefile_CC
68508
 
+  fi
68509
 
+
68510
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
68511
 
+$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
68512
 
+if ${ac_cv_sys_file_offset_bits+:} false; then :
68513
 
+  $as_echo_n "(cached) " >&6
68514
 
+else
68515
 
+  while :; do
68516
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68517
 
+/* end confdefs.h.  */
68518
 
+@%:@include <sys/types.h>
68519
 
+ /* Check that off_t can represent 2**63 - 1 correctly.
68520
 
+    We can't simply define LARGE_OFF_T to be 9223372036854775807,
68521
 
+    since some C++ compilers masquerading as C compilers
68522
 
+    incorrectly reject 9223372036854775807.  */
68523
 
+@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
68524
 
+  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
68525
 
+                       && LARGE_OFF_T % 2147483647 == 1)
68526
 
+                      ? 1 : -1];
68527
 
+int
68528
 
+main ()
68529
 
+{
68530
 
+
68531
 
+  ;
68532
 
+  return 0;
68533
 
+}
68534
 
+_ACEOF
68535
 
+if ac_fn_c_try_compile "$LINENO"; then :
68536
 
+  ac_cv_sys_file_offset_bits=no; break
68537
 
+fi
68538
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68539
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68540
 
+/* end confdefs.h.  */
68541
 
+@%:@define _FILE_OFFSET_BITS 64
68542
 
+@%:@include <sys/types.h>
68543
 
+ /* Check that off_t can represent 2**63 - 1 correctly.
68544
 
+    We can't simply define LARGE_OFF_T to be 9223372036854775807,
68545
 
+    since some C++ compilers masquerading as C compilers
68546
 
+    incorrectly reject 9223372036854775807.  */
68547
 
+@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
68548
 
+  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
68549
 
+                       && LARGE_OFF_T % 2147483647 == 1)
68550
 
+                      ? 1 : -1];
68551
 
+int
68552
 
+main ()
68553
 
+{
68554
 
+
68555
 
+  ;
68556
 
+  return 0;
68557
 
+}
68558
 
+_ACEOF
68559
 
+if ac_fn_c_try_compile "$LINENO"; then :
68560
 
+  ac_cv_sys_file_offset_bits=64; break
68561
 
+fi
68562
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68563
 
+  ac_cv_sys_file_offset_bits=unknown
68564
 
+  break
68565
 
+done
68566
 
+fi
68567
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
68568
 
+$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
68569
 
+case $ac_cv_sys_file_offset_bits in #(
68570
 
+  no | unknown) ;;
68571
 
+  *) 
68572
 
+cat >>confdefs.h <<_ACEOF
68573
 
+@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
68574
 
+_ACEOF
68575
 
+;;
68576
 
+esac
68577
 
+rm -rf conftest*
68578
 
+  if test $ac_cv_sys_file_offset_bits = unknown; then
68579
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
68580
 
+$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
68581
 
+if ${ac_cv_sys_large_files+:} false; then :
68582
 
+  $as_echo_n "(cached) " >&6
68583
 
+else
68584
 
+  while :; do
68585
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68586
 
+/* end confdefs.h.  */
68587
 
+@%:@include <sys/types.h>
68588
 
+ /* Check that off_t can represent 2**63 - 1 correctly.
68589
 
+    We can't simply define LARGE_OFF_T to be 9223372036854775807,
68590
 
+    since some C++ compilers masquerading as C compilers
68591
 
+    incorrectly reject 9223372036854775807.  */
68592
 
+@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
68593
 
+  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
68594
 
+                       && LARGE_OFF_T % 2147483647 == 1)
68595
 
+                      ? 1 : -1];
68596
 
+int
68597
 
+main ()
68598
 
+{
68599
 
+
68600
 
+  ;
68601
 
+  return 0;
68602
 
+}
68603
 
+_ACEOF
68604
 
+if ac_fn_c_try_compile "$LINENO"; then :
68605
 
+  ac_cv_sys_large_files=no; break
68606
 
+fi
68607
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68608
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68609
 
+/* end confdefs.h.  */
68610
 
+@%:@define _LARGE_FILES 1
68611
 
+@%:@include <sys/types.h>
68612
 
+ /* Check that off_t can represent 2**63 - 1 correctly.
68613
 
+    We can't simply define LARGE_OFF_T to be 9223372036854775807,
68614
 
+    since some C++ compilers masquerading as C compilers
68615
 
+    incorrectly reject 9223372036854775807.  */
68616
 
+@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
68617
 
+  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
68618
 
+                       && LARGE_OFF_T % 2147483647 == 1)
68619
 
+                      ? 1 : -1];
68620
 
+int
68621
 
+main ()
68622
 
+{
68623
 
+
68624
 
+  ;
68625
 
+  return 0;
68626
 
+}
68627
 
+_ACEOF
68628
 
+if ac_fn_c_try_compile "$LINENO"; then :
68629
 
+  ac_cv_sys_large_files=1; break
68630
 
+fi
68631
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68632
 
+  ac_cv_sys_large_files=unknown
68633
 
+  break
68634
 
+done
68635
 
+fi
68636
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
68637
 
+$as_echo "$ac_cv_sys_large_files" >&6; }
68638
 
+case $ac_cv_sys_large_files in #(
68639
 
+  no | unknown) ;;
68640
 
+  *) 
68641
 
+cat >>confdefs.h <<_ACEOF
68642
 
+@%:@define _LARGE_FILES $ac_cv_sys_large_files
68643
 
+_ACEOF
68644
 
+;;
68645
 
+esac
68646
 
+rm -rf conftest*
68647
 
+  fi
68648
 
+
68649
 
+  
68650
 
+fi
68651
 
+
68652
 
+
68653
 
+          
68654
 
+  
68655
 
+        
68656
 
+    
68657
 
+  @%:@ Check whether --enable-threads was given.
68658
 
+if test "${enable_threads+set}" = set; then :
68659
 
+  enableval=$enable_threads; gl_use_threads=$enableval
68660
 
+else
68661
 
+  if test -n "$gl_use_threads_default"; then
68662
 
+       gl_use_threads="$gl_use_threads_default"
68663
 
+     else
68664
 
+       case "$host_os" in
68665
 
+                                                               osf*) gl_use_threads=no ;;
68666
 
+         cygwin*)
68667
 
+               case `uname -r` in
68668
 
+                 1.[0-5].*) gl_use_threads=no ;;
68669
 
+                 *)         gl_use_threads=yes ;;
68670
 
+               esac
68671
 
+               ;;
68672
 
+         *)    gl_use_threads=yes ;;
68673
 
+       esac
68674
 
+     fi
68675
 
+    
68676
 
+fi
68677
 
+
68678
 
+  if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
68679
 
+    # For using <pthread.h>:
68680
 
+    case "$host_os" in
68681
 
+      osf*)
68682
 
+        # On OSF/1, the compiler needs the flag -D_REENTRANT so that it
68683
 
+        # groks <pthread.h>. cc also understands the flag -pthread, but
68684
 
+        # we don't use it because 1. gcc-2.95 doesn't understand -pthread,
68685
 
+        # 2. putting a flag into CPPFLAGS that has an effect on the linker
68686
 
+        # causes the AC_LINK_IFELSE test below to succeed unexpectedly,
68687
 
+        # leading to wrong values of LIBTHREAD and LTLIBTHREAD.
68688
 
+        CPPFLAGS="$CPPFLAGS -D_REENTRANT"
68689
 
+        ;;
68690
 
+    esac
68691
 
+    # Some systems optimize for single-threaded programs by default, and
68692
 
+    # need special flags to disable these optimizations. For example, the
68693
 
+    # definition of 'errno' in <errno.h>.
68694
 
+    case "$host_os" in
68695
 
+      aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
68696
 
+      solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
68697
 
+    esac
68698
 
+  fi
68699
 
+
68700
 
+
68701
 
+          
68702
 
+  
68703
 
+  # Code from module accept:
68704
 
+  # Code from module acl:
68705
 
+  # Code from module acl-tests:
68706
 
+  # Code from module alignof:
68707
 
+  # Code from module alignof-tests:
68708
 
+  # Code from module alloca:
68709
 
+  # Code from module alloca-opt:
68710
 
+  # Code from module alloca-opt-tests:
68711
 
+  # Code from module allocator:
68712
 
+  # Code from module announce-gen:
68713
 
+  # Code from module areadlink:
68714
 
+  # Code from module areadlink-tests:
68715
 
+  # Code from module areadlink-with-size:
68716
 
+  # Code from module areadlink-with-size-tests:
68717
 
+  # Code from module areadlinkat:
68718
 
+  # Code from module areadlinkat-tests:
68719
 
+  # Code from module argmatch:
68720
 
+  # Code from module argmatch-tests:
68721
 
+  # Code from module argv-iter:
68722
 
+  # Code from module argv-iter-tests:
68723
 
+  # Code from module arpa_inet:
68724
 
+  # Code from module arpa_inet-tests:
68725
 
+  # Code from module assert:
68726
 
+  # Code from module autobuild:
68727
 
+  
68728
 
+  
68729
 
+  
68730
 
+
68731
 
+  if test -z "$AB_PACKAGE"; then
68732
 
+    AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE}
68733
 
+  fi
68734
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild project... $AB_PACKAGE" >&5
68735
 
+$as_echo "$as_me: autobuild project... $AB_PACKAGE" >&6;}
68736
 
+
68737
 
+  if test -z "$AB_VERSION"; then
68738
 
+    AB_VERSION=${PACKAGE_VERSION:-$VERSION}
68739
 
+  fi
68740
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild revision... $AB_VERSION" >&5
68741
 
+$as_echo "$as_me: autobuild revision... $AB_VERSION" >&6;}
68742
 
+
68743
 
+  hostname=`hostname`
68744
 
+  if test "$hostname"; then
68745
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild hostname... $hostname" >&5
68746
 
+$as_echo "$as_me: autobuild hostname... $hostname" >&6;}
68747
 
+  fi
68748
 
+
68749
 
+  
68750
 
+
68751
 
+  date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ`
68752
 
+  if test "$?" != 0; then
68753
 
+    date=`date`
68754
 
+  fi
68755
 
+  if test "$date"; then
68756
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild timestamp... $date" >&5
68757
 
+$as_echo "$as_me: autobuild timestamp... $date" >&6;}
68758
 
+  fi
68759
 
+
68760
 
+  # Code from module backupfile:
68761
 
+  # Code from module base64:
68762
 
+  # Code from module base64-tests:
68763
 
+  # Code from module binary-io:
68764
 
+  # Code from module binary-io-tests:
68765
 
+  # Code from module bind:
68766
 
+  # Code from module bitrotate:
68767
 
+  # Code from module bitrotate-tests:
68768
 
+  # Code from module btowc:
68769
 
+  # Code from module btowc-tests:
68770
 
+  # Code from module c-ctype:
68771
 
+  # Code from module c-ctype-tests:
68772
 
+  # Code from module c-strcase:
68773
 
+  # Code from module c-strcase-tests:
68774
 
+  # Code from module c-strtod:
68775
 
+  # Code from module c-strtold:
68776
 
+  # Code from module calloc-gnu:
68777
 
+  # Code from module calloc-gnu-tests:
68778
 
+  # Code from module calloc-posix:
68779
 
+  # Code from module canon-host:
68780
 
+  # Code from module canonicalize:
68781
 
+  # Code from module canonicalize-tests:
68782
 
+  # Code from module careadlinkat:
68783
 
+  # Code from module chdir-long:
68784
 
+  # Code from module chown:
68785
 
+  # Code from module chown-tests:
68786
 
+  # Code from module clock-time:
68787
 
+  # Code from module cloexec:
68788
 
+  # Code from module cloexec-tests:
68789
 
+  # Code from module close:
68790
 
+  # Code from module close-stream:
68791
 
+  # Code from module closein:
68792
 
+  # Code from module closein-tests:
68793
 
+  # Code from module closeout:
68794
 
+  # Code from module config-h:
68795
 
+  # Code from module configmake:
68796
 
+  # Code from module connect:
68797
 
+  # Code from module crypto/md5:
68798
 
+  # Code from module crypto/md5-tests:
68799
 
+  # Code from module crypto/sha1:
68800
 
+  # Code from module crypto/sha1-tests:
68801
 
+  # Code from module crypto/sha256:
68802
 
+  # Code from module crypto/sha512:
68803
 
+  # Code from module ctype:
68804
 
+  # Code from module ctype-tests:
68805
 
+  # Code from module cycle-check:
68806
 
+  # Code from module d-ino:
68807
 
+  # Code from module d-type:
68808
 
+  # Code from module dev-ino:
68809
 
+  # Code from module di-set:
68810
 
+  # Code from module di-set-tests:
68811
 
+  # Code from module diacrit:
68812
 
+  # Code from module dirent:
68813
 
+  # Code from module dirent-safer:
68814
 
+  # Code from module dirent-safer-tests:
68815
 
+  # Code from module dirent-tests:
68816
 
+  # Code from module dirfd:
68817
 
+  # Code from module dirname:
68818
 
+  # Code from module dirname-lgpl:
68819
 
+  # Code from module dirname-tests:
68820
 
+  # Code from module do-release-commit-and-tag:
68821
 
+  # Code from module dosname:
68822
 
+  # Code from module double-slash-root:
68823
 
+  # Code from module dtoastr:
68824
 
+  # Code from module dtotimespec:
68825
 
+  # Code from module dup2:
68826
 
+  # Code from module dup2-tests:
68827
 
+  # Code from module environ:
68828
 
+  # Code from module environ-tests:
68829
 
+  # Code from module errno:
68830
 
+  # Code from module errno-tests:
68831
 
+  # Code from module error:
68832
 
+  # Code from module euidaccess:
68833
 
+  # Code from module exclude:
68834
 
+  # Code from module exclude-tests:
68835
 
+  # Code from module exitfail:
68836
 
+  # Code from module extensions:
68837
 
+  
68838
 
+  # Code from module faccessat:
68839
 
+  # Code from module fadvise:
68840
 
+  # Code from module fadvise-tests:
68841
 
+  # Code from module fchdir:
68842
 
+  # Code from module fchdir-tests:
68843
 
+  # Code from module fclose:
68844
 
+  # Code from module fclose-tests:
68845
 
+  # Code from module fcntl:
68846
 
+  # Code from module fcntl-h:
68847
 
+  # Code from module fcntl-h-tests:
68848
 
+  # Code from module fcntl-safer:
68849
 
+  # Code from module fcntl-safer-tests:
68850
 
+  # Code from module fcntl-tests:
68851
 
+  # Code from module fd-hook:
68852
 
+  # Code from module fd-safer-flag:
68853
 
+  # Code from module fdl:
68854
 
+  # Code from module fdopendir:
68855
 
+  # Code from module fdopendir-tests:
68856
 
+  # Code from module fdutimensat:
68857
 
+  # Code from module fdutimensat-tests:
68858
 
+  # Code from module fflush:
68859
 
+  
68860
 
+  # Code from module fflush-tests:
68861
 
+  # Code from module file-set:
68862
 
+  # Code from module file-type:
68863
 
+  # Code from module fileblocks:
68864
 
+  # Code from module filemode:
68865
 
+  # Code from module filenamecat:
68866
 
+  # Code from module filenamecat-lgpl:
68867
 
+  # Code from module filenamecat-tests:
68868
 
+  # Code from module filevercmp:
68869
 
+  # Code from module filevercmp-tests:
68870
 
+  # Code from module flexmember:
68871
 
+  # Code from module float:
68872
 
+  # Code from module float-tests:
68873
 
+  # Code from module fnmatch:
68874
 
+  # Code from module fnmatch-gnu:
68875
 
+  # Code from module fnmatch-tests:
68876
 
+  # Code from module fopen:
68877
 
+  # Code from module fopen-safer:
68878
 
+  # Code from module fopen-safer-tests:
68879
 
+  # Code from module fopen-tests:
68880
 
+  # Code from module fpending:
68881
 
+  # Code from module fpending-tests:
68882
 
+  # Code from module fpieee:
68883
 
+  
68884
 
+  # Code from module fprintftime:
68885
 
+  # Code from module fpucw:
68886
 
+  # Code from module fpurge:
68887
 
+  # Code from module fpurge-tests:
68888
 
+  # Code from module freadahead:
68889
 
+  # Code from module freadahead-tests:
68890
 
+  # Code from module freading:
68891
 
+  # Code from module freading-tests:
68892
 
+  # Code from module freadptr:
68893
 
+  # Code from module freadptr-tests:
68894
 
+  # Code from module freadseek:
68895
 
+  # Code from module freadseek-tests:
68896
 
+  # Code from module freopen:
68897
 
+  # Code from module freopen-safer:
68898
 
+  # Code from module freopen-safer-tests:
68899
 
+  # Code from module freopen-tests:
68900
 
+  # Code from module frexp-nolibm:
68901
 
+  # Code from module frexp-nolibm-tests:
68902
 
+  # Code from module frexpl-nolibm:
68903
 
+  # Code from module frexpl-nolibm-tests:
68904
 
+  # Code from module fseek:
68905
 
+  # Code from module fseek-tests:
68906
 
+  # Code from module fseeko:
68907
 
+  
68908
 
+  # Code from module fseeko-tests:
68909
 
+  # Code from module fseterr:
68910
 
+  # Code from module fseterr-tests:
68911
 
+  # Code from module fsusage:
68912
 
+  # Code from module fsync:
68913
 
+  # Code from module fsync-tests:
68914
 
+  # Code from module ftell:
68915
 
+  # Code from module ftell-tests:
68916
 
+  # Code from module ftello:
68917
 
+  
68918
 
+  # Code from module ftello-tests:
68919
 
+  # Code from module ftoastr:
68920
 
+  # Code from module fts:
68921
 
+  # Code from module full-read:
68922
 
+  # Code from module full-write:
68923
 
+  # Code from module futimens:
68924
 
+  # Code from module futimens-tests:
68925
 
+  # Code from module gendocs:
68926
 
+  # Code from module getaddrinfo:
68927
 
+  # Code from module getaddrinfo-tests:
68928
 
+  # Code from module getcwd:
68929
 
+  # Code from module getcwd-lgpl:
68930
 
+  # Code from module getcwd-lgpl-tests:
68931
 
+  # Code from module getcwd-tests:
68932
 
+  # Code from module getdelim:
68933
 
+  # Code from module getdelim-tests:
68934
 
+  # Code from module getdtablesize:
68935
 
+  # Code from module getdtablesize-tests:
68936
 
+  # Code from module getgroups:
68937
 
+  # Code from module getgroups-tests:
68938
 
+  # Code from module gethostname:
68939
 
+  # Code from module gethostname-tests:
68940
 
+  # Code from module gethrxtime:
68941
 
+  # Code from module getline:
68942
 
+  # Code from module getline-tests:
68943
 
+  # Code from module getloadavg:
68944
 
+  # Code from module getloadavg-tests:
68945
 
+  # Code from module getndelim2:
68946
 
+  # Code from module getndelim2-tests:
68947
 
+  # Code from module getopt-gnu:
68948
 
+  # Code from module getopt-posix:
68949
 
+  # Code from module getopt-posix-tests:
68950
 
+  # Code from module getpagesize:
68951
 
+  # Code from module getpass-gnu:
68952
 
+  # Code from module gettext:
68953
 
+  # Code from module gettext-h:
68954
 
+  # Code from module gettime:
68955
 
+  # Code from module gettimeofday:
68956
 
+  # Code from module gettimeofday-tests:
68957
 
+  # Code from module getugroups:
68958
 
+  # Code from module getusershell:
68959
 
+  # Code from module git-version-gen:
68960
 
+  # Code from module gitlog-to-changelog:
68961
 
+  # Code from module gnu-make:
68962
 
+  # Code from module gnu-web-doc-update:
68963
 
+  # Code from module gnumakefile:
68964
 
+  # Code from module gnupload:
68965
 
+  # Code from module gperf:
68966
 
+  # Code from module group-member:
68967
 
+  # Code from module hard-locale:
68968
 
+  # Code from module hash:
68969
 
+  # Code from module hash-pjw:
68970
 
+  # Code from module hash-tests:
68971
 
+  # Code from module hash-triple:
68972
 
+  # Code from module havelib:
68973
 
+  # Code from module heap:
68974
 
+  # Code from module host-os:
68975
 
+  # Code from module hostent:
68976
 
+  # Code from module human:
68977
 
+  # Code from module i-ring:
68978
 
+  # Code from module i-ring-tests:
68979
 
+  # Code from module iconv:
68980
 
+  # Code from module iconv-h:
68981
 
+  # Code from module iconv-h-tests:
68982
 
+  # Code from module iconv-tests:
68983
 
+  # Code from module iconv_open:
68984
 
+  # Code from module idcache:
68985
 
+  # Code from module ignore-value:
68986
 
+  # Code from module ignore-value-tests:
68987
 
+  # Code from module include_next:
68988
 
+  # Code from module inet_ntop:
68989
 
+  # Code from module inet_ntop-tests:
68990
 
+  # Code from module inet_pton:
68991
 
+  # Code from module inet_pton-tests:
68992
 
+  # Code from module inline:
68993
 
+  # Code from module ino-map:
68994
 
+  # Code from module ino-map-tests:
68995
 
+  # Code from module intprops:
68996
 
+  # Code from module intprops-tests:
68997
 
+  # Code from module inttostr:
68998
 
+  # Code from module inttostr-tests:
68999
 
+  # Code from module inttypes:
69000
 
+  # Code from module inttypes-incomplete:
69001
 
+  # Code from module inttypes-tests:
69002
 
+  # Code from module ioctl:
69003
 
+  # Code from module isapipe:
69004
 
+  # Code from module isblank:
69005
 
+  # Code from module isblank-tests:
69006
 
+  # Code from module isnand-nolibm:
69007
 
+  # Code from module isnand-nolibm-tests:
69008
 
+  # Code from module isnanf-nolibm:
69009
 
+  # Code from module isnanf-nolibm-tests:
69010
 
+  # Code from module isnanl-nolibm:
69011
 
+  # Code from module isnanl-nolibm-tests:
69012
 
+  # Code from module iswblank:
69013
 
+  # Code from module iswblank-tests:
69014
 
+  # Code from module langinfo:
69015
 
+  # Code from module langinfo-tests:
69016
 
+  # Code from module largefile:
69017
 
+  
69018
 
+  # Code from module lchmod:
69019
 
+  # Code from module lchown:
69020
 
+  # Code from module lchown-tests:
69021
 
+  # Code from module ldtoastr:
69022
 
+  # Code from module lib-ignore:
69023
 
+  # Code from module linebuffer:
69024
 
+  # Code from module link:
69025
 
+  # Code from module link-follow:
69026
 
+  # Code from module link-tests:
69027
 
+  # Code from module linkat:
69028
 
+  # Code from module linkat-tests:
69029
 
+  # Code from module listen:
69030
 
+  # Code from module localcharset:
69031
 
+  # Code from module locale:
69032
 
+  # Code from module locale-tests:
69033
 
+  # Code from module localename:
69034
 
+  # Code from module localename-tests:
69035
 
+  # Code from module lock:
69036
 
+  # Code from module lock-tests:
69037
 
+  # Code from module long-options:
69038
 
+  # Code from module lseek:
69039
 
+  # Code from module lseek-tests:
69040
 
+  # Code from module lstat:
69041
 
+  # Code from module lstat-tests:
69042
 
+  # Code from module maintainer-makefile:
69043
 
+  # Code from module malloc-gnu:
69044
 
+  # Code from module malloc-gnu-tests:
69045
 
+  # Code from module malloc-posix:
69046
 
+  # Code from module malloca:
69047
 
+  # Code from module malloca-tests:
69048
 
+  # Code from module manywarnings:
69049
 
+  # Code from module math:
69050
 
+  # Code from module math-tests:
69051
 
+  # Code from module mbchar:
69052
 
+  # Code from module mbiter:
69053
 
+  # Code from module mbrlen:
69054
 
+  # Code from module mbrtowc:
69055
 
+  # Code from module mbrtowc-tests:
69056
 
+  # Code from module mbsalign:
69057
 
+  # Code from module mbsalign-tests:
69058
 
+  # Code from module mbscasecmp:
69059
 
+  # Code from module mbscasecmp-tests:
69060
 
+  # Code from module mbsinit:
69061
 
+  # Code from module mbsinit-tests:
69062
 
+  # Code from module mbslen:
69063
 
+  # Code from module mbsrtowcs:
69064
 
+  # Code from module mbsrtowcs-tests:
69065
 
+  # Code from module mbsstr:
69066
 
+  # Code from module mbsstr-tests:
69067
 
+  # Code from module mbswidth:
69068
 
+  # Code from module mbtowc:
69069
 
+  # Code from module mbuiter:
69070
 
+  # Code from module memcasecmp:
69071
 
+  # Code from module memcasecmp-tests:
69072
 
+  # Code from module memchr:
69073
 
+  # Code from module memchr-tests:
69074
 
+  # Code from module memchr2:
69075
 
+  # Code from module memchr2-tests:
69076
 
+  # Code from module memcmp2:
69077
 
+  # Code from module memcoll:
69078
 
+  # Code from module memcoll-tests:
69079
 
+  # Code from module mempcpy:
69080
 
+  # Code from module memrchr:
69081
 
+  # Code from module memrchr-tests:
69082
 
+  # Code from module mgetgroups:
69083
 
+  # Code from module mkancesdirs:
69084
 
+  # Code from module mkdir:
69085
 
+  # Code from module mkdir-p:
69086
 
+  # Code from module mkdir-tests:
69087
 
+  # Code from module mkstemp:
69088
 
+  # Code from module mktime:
69089
 
+  # Code from module modechange:
69090
 
+  # Code from module mountlist:
69091
 
+  # Code from module mpsort:
69092
 
+  # Code from module multiarch:
69093
 
+  # Code from module nanosleep:
69094
 
+  # Code from module nanosleep-tests:
69095
 
+  # Code from module netdb:
69096
 
+  # Code from module netdb-tests:
69097
 
+  # Code from module netinet_in:
69098
 
+  # Code from module netinet_in-tests:
69099
 
+  # Code from module nl_langinfo:
69100
 
+  # Code from module nl_langinfo-tests:
69101
 
+  # Code from module nocrash:
69102
 
+  # Code from module nproc:
69103
 
+  # Code from module obstack:
69104
 
+  # Code from module open:
69105
 
+  # Code from module open-tests:
69106
 
+  # Code from module openat:
69107
 
+  # Code from module openat-die:
69108
 
+  # Code from module openat-safer:
69109
 
+  # Code from module openat-safer-tests:
69110
 
+  # Code from module openat-tests:
69111
 
+  # Code from module parse-datetime:
69112
 
+  # Code from module parse-datetime-tests:
69113
 
+  # Code from module pathmax:
69114
 
+  # Code from module pathmax-tests:
69115
 
+  # Code from module perl:
69116
 
+  # Code from module perror:
69117
 
+  # Code from module perror-tests:
69118
 
+  # Code from module physmem:
69119
 
+  # Code from module pipe-posix:
69120
 
+  # Code from module pipe-posix-tests:
69121
 
+  # Code from module posix-shell:
69122
 
+  # Code from module posixtm:
69123
 
+  # Code from module posixtm-tests:
69124
 
+  # Code from module posixver:
69125
 
+  # Code from module printf-frexp:
69126
 
+  # Code from module printf-frexp-tests:
69127
 
+  # Code from module printf-frexpl:
69128
 
+  # Code from module printf-frexpl-tests:
69129
 
+  # Code from module printf-safe:
69130
 
+  # Code from module priv-set:
69131
 
+  # Code from module priv-set-tests:
69132
 
+  # Code from module progname:
69133
 
+  # Code from module propername:
69134
 
+  # Code from module pthread:
69135
 
+  # Code from module putenv:
69136
 
+  # Code from module quote:
69137
 
+  # Code from module quotearg:
69138
 
+  # Code from module quotearg-simple:
69139
 
+  # Code from module quotearg-simple-tests:
69140
 
+  # Code from module randint:
69141
 
+  # Code from module randperm:
69142
 
+  # Code from module randread:
69143
 
+  # Code from module randread-tests:
69144
 
+  # Code from module read:
69145
 
+  # Code from module read-file:
69146
 
+  # Code from module read-file-tests:
69147
 
+  # Code from module readlink:
69148
 
+  # Code from module readlink-tests:
69149
 
+  # Code from module readlinkat:
69150
 
+  # Code from module readlinkat-tests:
69151
 
+  # Code from module readtokens:
69152
 
+  # Code from module readtokens0:
69153
 
+  # Code from module readutmp:
69154
 
+  # Code from module realloc-gnu:
69155
 
+  # Code from module realloc-gnu-tests:
69156
 
+  # Code from module realloc-posix:
69157
 
+  # Code from module regex:
69158
 
+  # Code from module remove:
69159
 
+  # Code from module remove-tests:
69160
 
+  # Code from module rename:
69161
 
+  # Code from module rename-tests:
69162
 
+  # Code from module rmdir:
69163
 
+  # Code from module rmdir-tests:
69164
 
+  # Code from module root-dev-ino:
69165
 
+  # Code from module rpmatch:
69166
 
+  # Code from module safe-read:
69167
 
+  # Code from module safe-write:
69168
 
+  # Code from module same:
69169
 
+  # Code from module same-inode:
69170
 
+  # Code from module save-cwd:
69171
 
+  # Code from module savedir:
69172
 
+  # Code from module savewd:
69173
 
+  # Code from module sched:
69174
 
+  # Code from module sched-tests:
69175
 
+  # Code from module select:
69176
 
+  # Code from module select-tests:
69177
 
+  # Code from module selinux-at:
69178
 
+  # Code from module selinux-h:
69179
 
+  # Code from module servent:
69180
 
+  # Code from module setenv:
69181
 
+  # Code from module setenv-tests:
69182
 
+  # Code from module setlocale:
69183
 
+  # Code from module setlocale-tests:
69184
 
+  # Code from module setsockopt:
69185
 
+  # Code from module settime:
69186
 
+  # Code from module sig2str:
69187
 
+  # Code from module sigaction:
69188
 
+  # Code from module sigaction-tests:
69189
 
+  # Code from module signal:
69190
 
+  # Code from module signal-tests:
69191
 
+  # Code from module signbit:
69192
 
+  # Code from module signbit-tests:
69193
 
+  # Code from module sigprocmask:
69194
 
+  # Code from module sigprocmask-tests:
69195
 
+  # Code from module size_max:
69196
 
+  # Code from module sleep:
69197
 
+  # Code from module sleep-tests:
69198
 
+  # Code from module snippet/_Noreturn:
69199
 
+  # Code from module snippet/arg-nonnull:
69200
 
+  # Code from module snippet/c++defs:
69201
 
+  # Code from module snippet/unused-parameter:
69202
 
+  # Code from module snippet/warn-on-use:
69203
 
+  # Code from module snprintf:
69204
 
+  # Code from module snprintf-tests:
69205
 
+  # Code from module socket:
69206
 
+  # Code from module socketlib:
69207
 
+  # Code from module sockets:
69208
 
+  # Code from module sockets-tests:
69209
 
+  # Code from module socklen:
69210
 
+  # Code from module ssize_t:
69211
 
+  # Code from module stat:
69212
 
+  # Code from module stat-macros:
69213
 
+  # Code from module stat-size:
69214
 
+  # Code from module stat-tests:
69215
 
+  # Code from module stat-time:
69216
 
+  # Code from module stat-time-tests:
69217
 
+  # Code from module stdarg:
69218
 
+          
69219
 
+  # Code from module stdbool:
69220
 
+  # Code from module stdbool-tests:
69221
 
+  # Code from module stddef:
69222
 
+  # Code from module stddef-tests:
69223
 
+  # Code from module stdint:
69224
 
+  # Code from module stdint-tests:
69225
 
+  # Code from module stdio:
69226
 
+  # Code from module stdio-tests:
69227
 
+  # Code from module stdlib:
69228
 
+  # Code from module stdlib-safer:
69229
 
+  # Code from module stdlib-tests:
69230
 
+  # Code from module stpcpy:
69231
 
+  # Code from module stpncpy:
69232
 
+  # Code from module strdup-posix:
69233
 
+  # Code from module streq:
69234
 
+  # Code from module strerror:
69235
 
+  # Code from module strerror-override:
69236
 
+  # Code from module strerror-tests:
69237
 
+  # Code from module strerror_r-posix:
69238
 
+  # Code from module strerror_r-posix-tests:
69239
 
+  # Code from module strftime:
69240
 
+  # Code from module strftime-tests:
69241
 
+  # Code from module striconv:
69242
 
+  # Code from module striconv-tests:
69243
 
+  # Code from module string:
69244
 
+  # Code from module string-tests:
69245
 
+  # Code from module strndup:
69246
 
+  # Code from module strnlen:
69247
 
+  # Code from module strnlen-tests:
69248
 
+  # Code from module strnlen1:
69249
 
+  # Code from module strsignal:
69250
 
+  # Code from module strsignal-tests:
69251
 
+  # Code from module strstr-simple:
69252
 
+  # Code from module strtod:
69253
 
+  # Code from module strtod-tests:
69254
 
+  # Code from module strtoimax:
69255
 
+  # Code from module strtoimax-tests:
69256
 
+  # Code from module strtoll:
69257
 
+  # Code from module strtoull:
69258
 
+  # Code from module strtoumax:
69259
 
+  # Code from module strtoumax-tests:
69260
 
+  # Code from module symlink:
69261
 
+  # Code from module symlink-tests:
69262
 
+  # Code from module symlinkat:
69263
 
+  # Code from module symlinkat-tests:
69264
 
+  # Code from module sys_ioctl:
69265
 
+  # Code from module sys_ioctl-tests:
69266
 
+  # Code from module sys_select:
69267
 
+  # Code from module sys_select-tests:
69268
 
+  # Code from module sys_socket:
69269
 
+  # Code from module sys_socket-tests:
69270
 
+  # Code from module sys_stat:
69271
 
+  # Code from module sys_stat-tests:
69272
 
+  # Code from module sys_time:
69273
 
+  # Code from module sys_time-tests:
69274
 
+  # Code from module sys_uio:
69275
 
+  # Code from module sys_uio-tests:
69276
 
+  # Code from module sys_utsname:
69277
 
+  # Code from module sys_utsname-tests:
69278
 
+  # Code from module sys_wait:
69279
 
+  # Code from module sys_wait-tests:
69280
 
+  # Code from module tempname:
69281
 
+  # Code from module termios:
69282
 
+  # Code from module termios-tests:
69283
 
+  # Code from module thread:
69284
 
+  # Code from module thread-tests:
69285
 
+  # Code from module threadlib:
69286
 
+  
69287
 
+  
69288
 
+
69289
 
+  # Code from module time:
69290
 
+  # Code from module time-tests:
69291
 
+  # Code from module time_r:
69292
 
+  # Code from module timer-time:
69293
 
+  # Code from module timespec:
69294
 
+  # Code from module tls:
69295
 
+  # Code from module tls-tests:
69296
 
+  # Code from module trim:
69297
 
+  # Code from module tzset:
69298
 
+  # Code from module u64:
69299
 
+  # Code from module u64-tests:
69300
 
+  # Code from module uname:
69301
 
+  # Code from module uname-tests:
69302
 
+  # Code from module unicodeio:
69303
 
+  # Code from module unistd:
69304
 
+  # Code from module unistd-safer:
69305
 
+  # Code from module unistd-safer-tests:
69306
 
+  # Code from module unistd-tests:
69307
 
+  # Code from module unistr/base:
69308
 
+  # Code from module unistr/u8-mbtoucr:
69309
 
+  # Code from module unistr/u8-mbtoucr-tests:
69310
 
+  # Code from module unistr/u8-uctomb:
69311
 
+  # Code from module unistr/u8-uctomb-tests:
69312
 
+  # Code from module unitypes:
69313
 
+  # Code from module uniwidth/base:
69314
 
+  # Code from module uniwidth/width:
69315
 
+  # Code from module uniwidth/width-tests:
69316
 
+  # Code from module unlink:
69317
 
+  # Code from module unlink-busy:
69318
 
+  # Code from module unlink-tests:
69319
 
+  # Code from module unlinkdir:
69320
 
+  # Code from module unlocked-io:
69321
 
+  # Code from module unsetenv:
69322
 
+  # Code from module unsetenv-tests:
69323
 
+  # Code from module update-copyright:
69324
 
+  # Code from module update-copyright-tests:
69325
 
+  # Code from module uptime:
69326
 
+  # Code from module useless-if-before-free:
69327
 
+  # Code from module userspec:
69328
 
+  # Code from module userspec-tests:
69329
 
+  # Code from module usleep:
69330
 
+  # Code from module usleep-tests:
69331
 
+  # Code from module utimecmp:
69332
 
+  # Code from module utimens:
69333
 
+  # Code from module utimens-tests:
69334
 
+  # Code from module utimensat:
69335
 
+  # Code from module utimensat-tests:
69336
 
+  # Code from module vasnprintf:
69337
 
+  # Code from module vasnprintf-tests:
69338
 
+  # Code from module vasprintf:
69339
 
+  # Code from module vasprintf-posix:
69340
 
+  # Code from module vasprintf-posix-tests:
69341
 
+  # Code from module vasprintf-tests:
69342
 
+  # Code from module vc-list-files:
69343
 
+  # Code from module vc-list-files-tests:
69344
 
+  # Code from module verify:
69345
 
+  # Code from module verify-tests:
69346
 
+  # Code from module verror:
69347
 
+  # Code from module version-etc:
69348
 
+  # Code from module version-etc-fsf:
69349
 
+  # Code from module version-etc-tests:
69350
 
+  # Code from module vfprintf-posix:
69351
 
+  # Code from module vfprintf-posix-tests:
69352
 
+  # Code from module vprintf-posix:
69353
 
+  # Code from module vprintf-posix-tests:
69354
 
+  # Code from module warnings:
69355
 
+  # Code from module wchar:
69356
 
+  # Code from module wchar-tests:
69357
 
+  # Code from module wcrtomb:
69358
 
+  # Code from module wcrtomb-tests:
69359
 
+  # Code from module wcswidth:
69360
 
+  # Code from module wctob:
69361
 
+  # Code from module wctomb:
69362
 
+  # Code from module wctype-h:
69363
 
+  # Code from module wctype-h-tests:
69364
 
+  # Code from module wcwidth:
69365
 
+  # Code from module wcwidth-tests:
69366
 
+  # Code from module winsz-ioctl:
69367
 
+  # Code from module winsz-termios:
69368
 
+  # Code from module write:
69369
 
+  # Code from module write-any-file:
69370
 
+  # Code from module xalloc:
69371
 
+  # Code from module xalloc-die:
69372
 
+  # Code from module xalloc-die-tests:
69373
 
+  # Code from module xalloc-oversized:
69374
 
+  # Code from module xfreopen:
69375
 
+  # Code from module xgetcwd:
69376
 
+  # Code from module xgetgroups:
69377
 
+  # Code from module xgethostname:
69378
 
+  # Code from module xmemcoll:
69379
 
+  # Code from module xnanosleep:
69380
 
+  # Code from module xprintf:
69381
 
+  # Code from module xprintf-posix:
69382
 
+  # Code from module xprintf-posix-tests:
69383
 
+  # Code from module xreadlink:
69384
 
+  # Code from module xsize:
69385
 
+  # Code from module xstriconv:
69386
 
+  # Code from module xstrndup:
69387
 
+  # Code from module xstrtod:
69388
 
+  # Code from module xstrtoimax:
69389
 
+  # Code from module xstrtoimax-tests:
69390
 
+  # Code from module xstrtol:
69391
 
+  # Code from module xstrtol-tests:
69392
 
+  # Code from module xstrtold:
69393
 
+  # Code from module xstrtoumax:
69394
 
+  # Code from module xstrtoumax-tests:
69395
 
+  # Code from module xvasprintf:
69396
 
+  # Code from module xvasprintf-tests:
69397
 
+  # Code from module yesno:
69398
 
+  # Code from module yesno-tests:
69399
 
+  # Code from module yield:
69400
 
+
69401
 
+
69402
 
+
69403
 
+  
69404
 
+  
69405
 
+  
69406
 
+          LIBC_FATAL_STDERR_=1
69407
 
+  export LIBC_FATAL_STDERR_
69408
 
+
69409
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
69410
 
+$as_echo_n "checking for inline... " >&6; }
69411
 
+if ${ac_cv_c_inline+:} false; then :
69412
 
+  $as_echo_n "(cached) " >&6
69413
 
+else
69414
 
+  ac_cv_c_inline=no
69415
 
+for ac_kw in inline __inline__ __inline; do
69416
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69417
 
+/* end confdefs.h.  */
69418
 
+#ifndef __cplusplus
69419
 
+typedef int foo_t;
69420
 
+static $ac_kw foo_t static_foo () {return 0; }
69421
 
+$ac_kw foo_t foo () {return 0; }
69422
 
+#endif
69423
 
+
69424
 
+_ACEOF
69425
 
+if ac_fn_c_try_compile "$LINENO"; then :
69426
 
+  ac_cv_c_inline=$ac_kw
69427
 
+fi
69428
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69429
 
+  test "$ac_cv_c_inline" != no && break
69430
 
+done
69431
 
+
69432
 
+fi
69433
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
69434
 
+$as_echo "$ac_cv_c_inline" >&6; }
69435
 
+
69436
 
+case $ac_cv_c_inline in
69437
 
+  inline | yes) ;;
69438
 
+  *)
69439
 
+    case $ac_cv_c_inline in
69440
 
+      no) ac_val=;;
69441
 
+      *) ac_val=$ac_cv_c_inline;;
69442
 
+    esac
69443
 
+    cat >>confdefs.h <<_ACEOF
69444
 
+#ifndef __cplusplus
69445
 
+#define inline $ac_val
69446
 
+#endif
69447
 
+_ACEOF
69448
 
+    ;;
69449
 
+esac
69450
 
+
69451
 
+ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
69452
 
+if test "x$ac_cv_type_size_t" = xyes; then :
69453
 
+  
69454
 
+else
69455
 
+  
69456
 
+cat >>confdefs.h <<_ACEOF
69457
 
+@%:@define size_t unsigned int
69458
 
+_ACEOF
69459
 
+
69460
 
+fi
69461
 
+
69462
 
+# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
69463
 
+# for constant arguments.  Useless!
69464
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
69465
 
+$as_echo_n "checking for working alloca.h... " >&6; }
69466
 
+if ${ac_cv_working_alloca_h+:} false; then :
69467
 
+  $as_echo_n "(cached) " >&6
69468
 
+else
69469
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69470
 
+/* end confdefs.h.  */
69471
 
+@%:@include <alloca.h>
69472
 
+int
69473
 
+main ()
69474
 
+{
69475
 
+char *p = (char *) alloca (2 * sizeof (int));
69476
 
+                         if (p) return 0;
69477
 
+  ;
69478
 
+  return 0;
69479
 
+}
69480
 
+_ACEOF
69481
 
+if ac_fn_c_try_link "$LINENO"; then :
69482
 
+  ac_cv_working_alloca_h=yes
69483
 
+else
69484
 
+  ac_cv_working_alloca_h=no
69485
 
+fi
69486
 
+rm -f core conftest.err conftest.$ac_objext \
69487
 
+    conftest$ac_exeext conftest.$ac_ext
69488
 
+fi
69489
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
69490
 
+$as_echo "$ac_cv_working_alloca_h" >&6; }
69491
 
+if test $ac_cv_working_alloca_h = yes; then
69492
 
+  
69493
 
+$as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h
69494
 
+
69495
 
+fi
69496
 
+
69497
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
69498
 
+$as_echo_n "checking for alloca... " >&6; }
69499
 
+if ${ac_cv_func_alloca_works+:} false; then :
69500
 
+  $as_echo_n "(cached) " >&6
69501
 
+else
69502
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69503
 
+/* end confdefs.h.  */
69504
 
+#ifdef __GNUC__
69505
 
+# define alloca __builtin_alloca
69506
 
+#else
69507
 
+# ifdef _MSC_VER
69508
 
+#  include <malloc.h>
69509
 
+#  define alloca _alloca
69510
 
+# else
69511
 
+#  ifdef HAVE_ALLOCA_H
69512
 
+#   include <alloca.h>
69513
 
+#  else
69514
 
+#   ifdef _AIX
69515
 
+ #pragma alloca
69516
 
+#   else
69517
 
+#    ifndef alloca /* predefined by HP cc +Olibcalls */
69518
 
+void *alloca (size_t);
69519
 
+#    endif
69520
 
+#   endif
69521
 
+#  endif
69522
 
+# endif
69523
 
+#endif
69524
 
+
69525
 
+int
69526
 
+main ()
69527
 
+{
69528
 
+char *p = (char *) alloca (1);
69529
 
+                                   if (p) return 0;
69530
 
+  ;
69531
 
+  return 0;
69532
 
+}
69533
 
+_ACEOF
69534
 
+if ac_fn_c_try_link "$LINENO"; then :
69535
 
+  ac_cv_func_alloca_works=yes
69536
 
+else
69537
 
+  ac_cv_func_alloca_works=no
69538
 
+fi
69539
 
+rm -f core conftest.err conftest.$ac_objext \
69540
 
+    conftest$ac_exeext conftest.$ac_ext
69541
 
+fi
69542
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
69543
 
+$as_echo "$ac_cv_func_alloca_works" >&6; }
69544
 
+
69545
 
+if test $ac_cv_func_alloca_works = yes; then
69546
 
+  
69547
 
+$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
69548
 
+
69549
 
+else
69550
 
+  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
69551
 
+# that cause trouble.  Some versions do not even contain alloca or
69552
 
+# contain a buggy version.  If you still want to use their alloca,
69553
 
+# use ar to extract alloca.o from them instead of compiling alloca.c.
69554
 
+
69555
 
+  
69556
 
+    
69557
 
+  
69558
 
+
69559
 
+ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
69560
 
+
69561
 
+$as_echo "@%:@define C_ALLOCA 1" >>confdefs.h
69562
 
+
69563
 
+
69564
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
69565
 
+$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
69566
 
+if ${ac_cv_os_cray+:} false; then :
69567
 
+  $as_echo_n "(cached) " >&6
69568
 
+else
69569
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69570
 
+/* end confdefs.h.  */
69571
 
+#if defined CRAY && ! defined CRAY2
69572
 
+webecray
69573
 
+#else
69574
 
+wenotbecray
69575
 
+#endif
69576
 
+
69577
 
+_ACEOF
69578
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
69579
 
+  $EGREP "webecray" >/dev/null 2>&1; then :
69580
 
+  ac_cv_os_cray=yes
69581
 
+else
69582
 
+  ac_cv_os_cray=no
69583
 
+fi
69584
 
+rm -f conftest*
69585
 
+
69586
 
+fi
69587
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
69588
 
+$as_echo "$ac_cv_os_cray" >&6; }
69589
 
+if test $ac_cv_os_cray = yes; then
69590
 
+  for ac_func in _getb67 GETB67 getb67; do
69591
 
+    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69592
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69593
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
69594
 
+  
69595
 
+cat >>confdefs.h <<_ACEOF
69596
 
+@%:@define CRAY_STACKSEG_END $ac_func
69597
 
+_ACEOF
69598
 
+
69599
 
+    break
69600
 
+fi
69601
 
+
69602
 
+  done
69603
 
+fi
69604
 
+
69605
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
69606
 
+$as_echo_n "checking stack direction for C alloca... " >&6; }
69607
 
+if ${ac_cv_c_stack_direction+:} false; then :
69608
 
+  $as_echo_n "(cached) " >&6
69609
 
+else
69610
 
+  if test "$cross_compiling" = yes; then :
69611
 
+  ac_cv_c_stack_direction=0
69612
 
+else
69613
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69614
 
+/* end confdefs.h.  */
69615
 
+$ac_includes_default
69616
 
+int
69617
 
+find_stack_direction (int *addr, int depth)
69618
 
+{
69619
 
+  int dir, dummy = 0;
69620
 
+  if (! addr)
69621
 
+    addr = &dummy;
69622
 
+  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
69623
 
+  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
69624
 
+  return dir + dummy;
69625
 
+}
69626
 
+
69627
 
+int
69628
 
+main (int argc, char **argv)
69629
 
+{
69630
 
+  return find_stack_direction (0, argc + !argv + 20) < 0;
69631
 
+}
69632
 
+_ACEOF
69633
 
+if ac_fn_c_try_run "$LINENO"; then :
69634
 
+  ac_cv_c_stack_direction=1
69635
 
+else
69636
 
+  ac_cv_c_stack_direction=-1
69637
 
+fi
69638
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
69639
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
69640
 
+fi
69641
 
+
69642
 
+fi
69643
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
69644
 
+$as_echo "$ac_cv_c_stack_direction" >&6; }
69645
 
+cat >>confdefs.h <<_ACEOF
69646
 
+@%:@define STACK_DIRECTION $ac_cv_c_stack_direction
69647
 
+_ACEOF
69648
 
+
69649
 
+
69650
 
+fi
69651
 
+
69652
 
+
69653
 
+  GNULIB_INET_NTOP=0;     
69654
 
+  GNULIB_INET_PTON=0;     
69655
 
+    HAVE_DECL_INET_NTOP=1;  
69656
 
+  HAVE_DECL_INET_PTON=1;  
69657
 
+
69658
 
+
69659
 
+
69660
 
+  
69661
 
+  for ac_header in $ac_header_list
69662
 
+do :
69663
 
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
69664
 
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
69665
 
+"
69666
 
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
69667
 
+  cat >>confdefs.h <<_ACEOF
69668
 
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
69669
 
+_ACEOF
69670
 
69671
 
+fi
69672
 
+
69673
 
+done
69674
 
+
69675
 
+  
69676
 
+
69677
 
+
69678
 
+  
69679
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
69680
 
+$as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
69681
 
+if ${gl_cv_have_include_next+:} false; then :
69682
 
+  $as_echo_n "(cached) " >&6
69683
 
+else
69684
 
+  rm -rf conftestd1a conftestd1b conftestd2
69685
 
+     mkdir conftestd1a conftestd1b conftestd2
69686
 
+                                                  cat <<EOF > conftestd1a/conftest.h
69687
 
+#define DEFINED_IN_CONFTESTD1
69688
 
+#include_next <conftest.h>
69689
 
+#ifdef DEFINED_IN_CONFTESTD2
69690
 
+int foo;
69691
 
+#else
69692
 
+#error "include_next doesn't work"
69693
 
+#endif
69694
 
+EOF
69695
 
+     cat <<EOF > conftestd1b/conftest.h
69696
 
+#define DEFINED_IN_CONFTESTD1
69697
 
+#include <stdio.h>
69698
 
+#include_next <conftest.h>
69699
 
+#ifdef DEFINED_IN_CONFTESTD2
69700
 
+int foo;
69701
 
+#else
69702
 
+#error "include_next doesn't work"
69703
 
+#endif
69704
 
+EOF
69705
 
+     cat <<EOF > conftestd2/conftest.h
69706
 
+#ifndef DEFINED_IN_CONFTESTD1
69707
 
+#error "include_next test doesn't work"
69708
 
+#endif
69709
 
+#define DEFINED_IN_CONFTESTD2
69710
 
+EOF
69711
 
+     gl_save_CPPFLAGS="$CPPFLAGS"
69712
 
+     CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2"
69713
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69714
 
+/* end confdefs.h.  */
69715
 
+#include <conftest.h>
69716
 
+_ACEOF
69717
 
+if ac_fn_c_try_compile "$LINENO"; then :
69718
 
+  gl_cv_have_include_next=yes
69719
 
+else
69720
 
+  CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2"
69721
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69722
 
+/* end confdefs.h.  */
69723
 
+#include <conftest.h>
69724
 
+_ACEOF
69725
 
+if ac_fn_c_try_compile "$LINENO"; then :
69726
 
+  gl_cv_have_include_next=buggy
69727
 
+else
69728
 
+  gl_cv_have_include_next=no
69729
 
+fi
69730
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69731
 
+       
69732
 
+fi
69733
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69734
 
+     CPPFLAGS="$gl_save_CPPFLAGS"
69735
 
+     rm -rf conftestd1a conftestd1b conftestd2
69736
 
+    
69737
 
+fi
69738
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5
69739
 
+$as_echo "$gl_cv_have_include_next" >&6; }
69740
 
+  PRAGMA_SYSTEM_HEADER=
69741
 
+  if test $gl_cv_have_include_next = yes; then
69742
 
+    INCLUDE_NEXT=include_next
69743
 
+    INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
69744
 
+    if test -n "$GCC"; then
69745
 
+      PRAGMA_SYSTEM_HEADER='#pragma GCC system_header'
69746
 
+    fi
69747
 
+  else
69748
 
+    if test $gl_cv_have_include_next = buggy; then
69749
 
+      INCLUDE_NEXT=include
69750
 
+      INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
69751
 
+    else
69752
 
+      INCLUDE_NEXT=include
69753
 
+      INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include
69754
 
+    fi
69755
 
+  fi
69756
 
+  
69757
 
+  
69758
 
+  
69759
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5
69760
 
+$as_echo_n "checking whether system header files limit the line length... " >&6; }
69761
 
+if ${gl_cv_pragma_columns+:} false; then :
69762
 
+  $as_echo_n "(cached) " >&6
69763
 
+else
69764
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69765
 
+/* end confdefs.h.  */
69766
 
+
69767
 
+#ifdef __TANDEM
69768
 
+choke me
69769
 
+#endif
69770
 
+       
69771
 
+_ACEOF
69772
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
69773
 
+  $EGREP "choke me" >/dev/null 2>&1; then :
69774
 
+  gl_cv_pragma_columns=yes
69775
 
+else
69776
 
+  gl_cv_pragma_columns=no
69777
 
+fi
69778
 
+rm -f conftest*
69779
 
+
69780
 
+    
69781
 
+fi
69782
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5
69783
 
+$as_echo "$gl_cv_pragma_columns" >&6; }
69784
 
+  if test $gl_cv_pragma_columns = yes; then
69785
 
+    PRAGMA_COLUMNS="#pragma COLUMNS 10000"
69786
 
+  else
69787
 
+    PRAGMA_COLUMNS=
69788
 
+  fi
69789
 
+  
69790
 
+
69791
 
+
69792
 
+
69793
 
+
69794
 
+  
69795
 
+  if test $ac_cv_header_features_h = yes; then
69796
 
+    HAVE_FEATURES_H=1
69797
 
+  else
69798
 
+    HAVE_FEATURES_H=0
69799
 
+  fi
69800
 
+  
69801
 
+
69802
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for d_ino member in directory struct" >&5
69803
 
+$as_echo_n "checking for d_ino member in directory struct... " >&6; }
69804
 
+if ${gl_cv_struct_dirent_d_ino+:} false; then :
69805
 
+  $as_echo_n "(cached) " >&6
69806
 
+else
69807
 
+  if test "$cross_compiling" = yes; then :
69808
 
+  gl_cv_struct_dirent_d_ino=no
69809
 
+else
69810
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69811
 
+/* end confdefs.h.  */
69812
 
+#include <sys/types.h>
69813
 
+             #include <sys/stat.h>
69814
 
+             #include <dirent.h>
69815
 
+           
69816
 
+int
69817
 
+main ()
69818
 
+{
69819
 
+DIR *dp = opendir (".");
69820
 
+             struct dirent *e;
69821
 
+             struct stat st;
69822
 
+             if (! dp)
69823
 
+               return 1;
69824
 
+             e = readdir (dp);
69825
 
+             if (! e)
69826
 
+               return 2;
69827
 
+             if (stat (e->d_name, &st) != 0)
69828
 
+               return 3;
69829
 
+             if (e->d_ino != st.st_ino)
69830
 
+               return 4;
69831
 
+             return 0;
69832
 
+           
69833
 
+  ;
69834
 
+  return 0;
69835
 
+}
69836
 
+_ACEOF
69837
 
+if ac_fn_c_try_run "$LINENO"; then :
69838
 
+  gl_cv_struct_dirent_d_ino=yes
69839
 
+else
69840
 
+  gl_cv_struct_dirent_d_ino=no
69841
 
+fi
69842
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
69843
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
69844
 
+fi
69845
 
+
69846
 
+fi
69847
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_struct_dirent_d_ino" >&5
69848
 
+$as_echo "$gl_cv_struct_dirent_d_ino" >&6; }
69849
 
+   if test $gl_cv_struct_dirent_d_ino = yes; then
69850
 
+     
69851
 
+$as_echo "@%:@define D_INO_IN_DIRENT 1" >>confdefs.h
69852
 
+
69853
 
+   fi
69854
 
+  
69855
 
+
69856
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5
69857
 
+$as_echo_n "checking for long file names... " >&6; }
69858
 
+if ${ac_cv_sys_long_file_names+:} false; then :
69859
 
+  $as_echo_n "(cached) " >&6
69860
 
+else
69861
 
+  ac_cv_sys_long_file_names=yes
69862
 
+# Test for long file names in all the places we know might matter:
69863
 
+#      .               the current directory, where building will happen
69864
 
+#      $prefix/lib     where we will be installing things
69865
 
+#      $exec_prefix/lib        likewise
69866
 
+#      $TMPDIR         if set, where it might want to write temporary files
69867
 
+#      /tmp            where it might want to write temporary files
69868
 
+#      /var/tmp                likewise
69869
 
+#      /usr/tmp                likewise
69870
 
+for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib"; do
69871
 
+  # Skip $TMPDIR if it is empty or bogus, and skip $exec_prefix/lib
69872
 
+  # in the usual case where exec_prefix is '${prefix}'.
69873
 
+  case $ac_dir in #(
69874
 
+    . | /* | ?:[\\/]*) ;; #(
69875
 
+    *) continue;;
69876
 
+  esac
69877
 
+  test -w "$ac_dir/." || continue # It is less confusing to not echo anything here.
69878
 
+  ac_xdir=$ac_dir/cf$$
69879
 
+  (umask 077 && mkdir "$ac_xdir" 2>/dev/null) || continue
69880
 
+  ac_tf1=$ac_xdir/conftest9012345
69881
 
+  ac_tf2=$ac_xdir/conftest9012346
69882
 
+  touch "$ac_tf1" 2>/dev/null && test -f "$ac_tf1" && test ! -f "$ac_tf2" ||
69883
 
+    ac_cv_sys_long_file_names=no
69884
 
+  rm -f -r "$ac_xdir" 2>/dev/null
69885
 
+  test $ac_cv_sys_long_file_names = no && break
69886
 
+done
69887
 
+fi
69888
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5
69889
 
+$as_echo "$ac_cv_sys_long_file_names" >&6; }
69890
 
+if test $ac_cv_sys_long_file_names = yes; then
69891
 
+  
69892
 
+$as_echo "@%:@define HAVE_LONG_FILE_NAMES 1" >>confdefs.h
69893
 
+
69894
 
+fi
69895
 
+
69896
 
+
69897
 
+
69898
 
+  
69899
 
+  for ac_func in $ac_func_list
69900
 
+do :
69901
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69902
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69903
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
69904
 
+  cat >>confdefs.h <<_ACEOF
69905
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69906
 
+_ACEOF
69907
 
69908
 
+fi
69909
 
+done
69910
 
+
69911
 
+  
69912
 
+
69913
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
69914
 
+$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
69915
 
+if ${ac_cv_c_restrict+:} false; then :
69916
 
+  $as_echo_n "(cached) " >&6
69917
 
+else
69918
 
+  ac_cv_c_restrict=no
69919
 
+   # The order here caters to the fact that C++ does not require restrict.
69920
 
+   for ac_kw in __restrict __restrict__ _Restrict restrict; do
69921
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69922
 
+/* end confdefs.h.  */
69923
 
+typedef int * int_ptr;
69924
 
+       int foo (int_ptr $ac_kw ip) {
69925
 
+       return ip[0];
69926
 
+       }
69927
 
+int
69928
 
+main ()
69929
 
+{
69930
 
+int s[1];
69931
 
+       int * $ac_kw t = s;
69932
 
+       t[0] = 0;
69933
 
+       return foo(t)
69934
 
+  ;
69935
 
+  return 0;
69936
 
+}
69937
 
+_ACEOF
69938
 
+if ac_fn_c_try_compile "$LINENO"; then :
69939
 
+  ac_cv_c_restrict=$ac_kw
69940
 
+fi
69941
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69942
 
+     test "$ac_cv_c_restrict" != no && break
69943
 
+   done
69944
 
+  
69945
 
+fi
69946
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
69947
 
+$as_echo "$ac_cv_c_restrict" >&6; }
69948
 
69949
 
+ case $ac_cv_c_restrict in
69950
 
+   restrict) ;;
69951
 
+   no) $as_echo "@%:@define restrict /**/" >>confdefs.h
69952
 
+ ;;
69953
 
+   *)  cat >>confdefs.h <<_ACEOF
69954
 
+@%:@define restrict $ac_cv_c_restrict
69955
 
+_ACEOF
69956
 
+ ;;
69957
 
+ esac
69958
 
+
69959
 
+
69960
 
+  GNULIB_BTOWC=0;       
69961
 
+  GNULIB_WCTOB=0;       
69962
 
+  GNULIB_MBSINIT=0;     
69963
 
+  GNULIB_MBRTOWC=0;     
69964
 
+  GNULIB_MBRLEN=0;      
69965
 
+  GNULIB_MBSRTOWCS=0;   
69966
 
+  GNULIB_MBSNRTOWCS=0;  
69967
 
+  GNULIB_WCRTOMB=0;     
69968
 
+  GNULIB_WCSRTOMBS=0;   
69969
 
+  GNULIB_WCSNRTOMBS=0;  
69970
 
+  GNULIB_WCWIDTH=0;     
69971
 
+  GNULIB_WMEMCHR=0;     
69972
 
+  GNULIB_WMEMCMP=0;     
69973
 
+  GNULIB_WMEMCPY=0;     
69974
 
+  GNULIB_WMEMMOVE=0;    
69975
 
+  GNULIB_WMEMSET=0;     
69976
 
+  GNULIB_WCSLEN=0;      
69977
 
+  GNULIB_WCSNLEN=0;     
69978
 
+  GNULIB_WCSCPY=0;      
69979
 
+  GNULIB_WCPCPY=0;      
69980
 
+  GNULIB_WCSNCPY=0;     
69981
 
+  GNULIB_WCPNCPY=0;     
69982
 
+  GNULIB_WCSCAT=0;      
69983
 
+  GNULIB_WCSNCAT=0;     
69984
 
+  GNULIB_WCSCMP=0;      
69985
 
+  GNULIB_WCSNCMP=0;     
69986
 
+  GNULIB_WCSCASECMP=0;  
69987
 
+  GNULIB_WCSNCASECMP=0; 
69988
 
+  GNULIB_WCSCOLL=0;     
69989
 
+  GNULIB_WCSXFRM=0;     
69990
 
+  GNULIB_WCSDUP=0;      
69991
 
+  GNULIB_WCSCHR=0;      
69992
 
+  GNULIB_WCSRCHR=0;     
69993
 
+  GNULIB_WCSCSPN=0;     
69994
 
+  GNULIB_WCSSPN=0;      
69995
 
+  GNULIB_WCSPBRK=0;     
69996
 
+  GNULIB_WCSSTR=0;      
69997
 
+  GNULIB_WCSTOK=0;      
69998
 
+  GNULIB_WCSWIDTH=0;    
69999
 
+    HAVE_BTOWC=1;         
70000
 
+  HAVE_MBSINIT=1;       
70001
 
+  HAVE_MBRTOWC=1;       
70002
 
+  HAVE_MBRLEN=1;        
70003
 
+  HAVE_MBSRTOWCS=1;     
70004
 
+  HAVE_MBSNRTOWCS=1;    
70005
 
+  HAVE_WCRTOMB=1;       
70006
 
+  HAVE_WCSRTOMBS=1;     
70007
 
+  HAVE_WCSNRTOMBS=1;    
70008
 
+  HAVE_WMEMCHR=1;       
70009
 
+  HAVE_WMEMCMP=1;       
70010
 
+  HAVE_WMEMCPY=1;       
70011
 
+  HAVE_WMEMMOVE=1;      
70012
 
+  HAVE_WMEMSET=1;       
70013
 
+  HAVE_WCSLEN=1;        
70014
 
+  HAVE_WCSNLEN=1;       
70015
 
+  HAVE_WCSCPY=1;        
70016
 
+  HAVE_WCPCPY=1;        
70017
 
+  HAVE_WCSNCPY=1;       
70018
 
+  HAVE_WCPNCPY=1;       
70019
 
+  HAVE_WCSCAT=1;        
70020
 
+  HAVE_WCSNCAT=1;       
70021
 
+  HAVE_WCSCMP=1;        
70022
 
+  HAVE_WCSNCMP=1;       
70023
 
+  HAVE_WCSCASECMP=1;    
70024
 
+  HAVE_WCSNCASECMP=1;   
70025
 
+  HAVE_WCSCOLL=1;       
70026
 
+  HAVE_WCSXFRM=1;       
70027
 
+  HAVE_WCSDUP=1;        
70028
 
+  HAVE_WCSCHR=1;        
70029
 
+  HAVE_WCSRCHR=1;       
70030
 
+  HAVE_WCSCSPN=1;       
70031
 
+  HAVE_WCSSPN=1;        
70032
 
+  HAVE_WCSPBRK=1;       
70033
 
+  HAVE_WCSSTR=1;        
70034
 
+  HAVE_WCSTOK=1;        
70035
 
+  HAVE_WCSWIDTH=1;      
70036
 
+  HAVE_DECL_WCTOB=1;    
70037
 
+  HAVE_DECL_WCWIDTH=1;  
70038
 
+  REPLACE_MBSTATE_T=0;  
70039
 
+  REPLACE_BTOWC=0;      
70040
 
+  REPLACE_WCTOB=0;      
70041
 
+  REPLACE_MBSINIT=0;    
70042
 
+  REPLACE_MBRTOWC=0;    
70043
 
+  REPLACE_MBRLEN=0;     
70044
 
+  REPLACE_MBSRTOWCS=0;  
70045
 
+  REPLACE_MBSNRTOWCS=0; 
70046
 
+  REPLACE_WCRTOMB=0;    
70047
 
+  REPLACE_WCSRTOMBS=0;  
70048
 
+  REPLACE_WCSNRTOMBS=0; 
70049
 
+  REPLACE_WCWIDTH=0;    
70050
 
+  REPLACE_WCSWIDTH=0;   
70051
 
+
70052
 
+
70053
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <wchar.h> uses 'inline' correctly" >&5
70054
 
+$as_echo_n "checking whether <wchar.h> uses 'inline' correctly... " >&6; }
70055
 
+if ${gl_cv_header_wchar_h_correct_inline+:} false; then :
70056
 
+  $as_echo_n "(cached) " >&6
70057
 
+else
70058
 
+  gl_cv_header_wchar_h_correct_inline=yes
70059
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70060
 
+/* end confdefs.h.  */
70061
 
+
70062
 
+       #define wcstod renamed_wcstod
70063
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
70064
 
+   <wchar.h>.
70065
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
70066
 
+   included before <wchar.h>.  */
70067
 
+#include <stddef.h>
70068
 
+#include <stdio.h>
70069
 
+#include <time.h>
70070
 
+#include <wchar.h>
70071
 
+extern int zero (void);
70072
 
+int main () { return zero(); }
70073
 
+
70074
 
+_ACEOF
70075
 
+     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
70076
 
+  (eval $ac_compile) 2>&5
70077
 
+  ac_status=$?
70078
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
70079
 
+  test $ac_status = 0; }; then
70080
 
+       mv conftest.$ac_objext conftest1.$ac_objext
70081
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70082
 
+/* end confdefs.h.  */
70083
 
+
70084
 
+         #define wcstod renamed_wcstod
70085
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
70086
 
+   <wchar.h>.
70087
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
70088
 
+   included before <wchar.h>.  */
70089
 
+#include <stddef.h>
70090
 
+#include <stdio.h>
70091
 
+#include <time.h>
70092
 
+#include <wchar.h>
70093
 
+int zero (void) { return 0; }
70094
 
+
70095
 
+_ACEOF
70096
 
+       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
70097
 
+  (eval $ac_compile) 2>&5
70098
 
+  ac_status=$?
70099
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
70100
 
+  test $ac_status = 0; }; then
70101
 
+         mv conftest.$ac_objext conftest2.$ac_objext
70102
 
+         if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then
70103
 
+           :
70104
 
+         else
70105
 
+           gl_cv_header_wchar_h_correct_inline=no
70106
 
+         fi
70107
 
+       fi
70108
 
+     fi
70109
 
+     rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext
70110
 
+    
70111
 
+fi
70112
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5
70113
 
+$as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; }
70114
 
+  if test $gl_cv_header_wchar_h_correct_inline = no; then
70115
 
+    as_fn_error $? "<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS).
70116
 
+This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
70117
 
+C99 mode. You have four options:
70118
 
+  - Add the flag -fgnu89-inline to CC and reconfigure, or
70119
 
+  - Fix your include files, using parts of
70120
 
+    <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
70121
 
+  - Use a gcc version older than 4.3, or
70122
 
+  - Don't use the flags -std=c99 or -std=gnu99.
70123
 
+Configuration aborted." "$LINENO" 5
70124
 
+  fi
70125
 
+
70126
 
+
70127
 
+
70128
 
+
70129
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
70130
 
+$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
70131
 
+if ${am_cv_langinfo_codeset+:} false; then :
70132
 
+  $as_echo_n "(cached) " >&6
70133
 
+else
70134
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70135
 
+/* end confdefs.h.  */
70136
 
+#include <langinfo.h>
70137
 
+int
70138
 
+main ()
70139
 
+{
70140
 
+char* cs = nl_langinfo(CODESET); return !cs;
70141
 
+  ;
70142
 
+  return 0;
70143
 
+}
70144
 
+_ACEOF
70145
 
+if ac_fn_c_try_link "$LINENO"; then :
70146
 
+  am_cv_langinfo_codeset=yes
70147
 
+else
70148
 
+  am_cv_langinfo_codeset=no
70149
 
+fi
70150
 
+rm -f core conftest.err conftest.$ac_objext \
70151
 
+    conftest$ac_exeext conftest.$ac_ext
70152
 
+    
70153
 
+fi
70154
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
70155
 
+$as_echo "$am_cv_langinfo_codeset" >&6; }
70156
 
+  if test $am_cv_langinfo_codeset = yes; then
70157
 
+    
70158
 
+$as_echo "@%:@define HAVE_LANGINFO_CODESET 1" >>confdefs.h
70159
 
+
70160
 
+  fi
70161
 
+
70162
 
+
70163
 
+  
70164
 
+  
70165
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
70166
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
70167
 
+if ${gt_cv_locale_fr+:} false; then :
70168
 
+  $as_echo_n "(cached) " >&6
70169
 
+else
70170
 
+  
70171
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70172
 
+/* end confdefs.h.  */
70173
 
+
70174
 
+#include <locale.h>
70175
 
+#include <time.h>
70176
 
+#if HAVE_LANGINFO_CODESET
70177
 
+# include <langinfo.h>
70178
 
+#endif
70179
 
+#include <stdlib.h>
70180
 
+#include <string.h>
70181
 
+struct tm t;
70182
 
+char buf[16];
70183
 
+int main () {
70184
 
+  /* Check whether the given locale name is recognized by the system.  */
70185
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
70186
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
70187
 
+     not at the environment variables.  Also, when an encoding suffix such
70188
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
70189
 
+     category of the locale to "C".  */
70190
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
70191
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
70192
 
+    return 1;
70193
 
+#else
70194
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
70195
 
+#endif
70196
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
70197
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
70198
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
70199
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
70200
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
70201
 
+     some unit tests fail.
70202
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
70203
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
70204
 
+#if HAVE_LANGINFO_CODESET
70205
 
+  {
70206
 
+    const char *cs = nl_langinfo (CODESET);
70207
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
70208
 
+        || strcmp (cs, "UTF-8") == 0)
70209
 
+      return 1;
70210
 
+  }
70211
 
+#endif
70212
 
+#ifdef __CYGWIN__
70213
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
70214
 
+     locale_charset() function relies on the encoding suffix.  Note that
70215
 
+     LC_ALL is set on the command line.  */
70216
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
70217
 
+#endif
70218
 
+  /* Check whether in the abbreviation of the second month, the second
70219
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
70220
 
+     one byte long. This excludes the UTF-8 encoding.  */
70221
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
70222
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
70223
 
+  /* Check whether the decimal separator is a comma.
70224
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
70225
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
70226
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
70227
 
+  return 0;
70228
 
+}
70229
 
+      
70230
 
+_ACEOF
70231
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
70232
 
+  (eval $ac_link) 2>&5
70233
 
+  ac_status=$?
70234
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
70235
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
70236
 
+      case "$host_os" in
70237
 
+        # Handle native Windows specially, because there setlocale() interprets
70238
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
70239
 
+        # "fr" or "fra" as "French" or "French_France.1252",
70240
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
70241
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
70242
 
+        # and similar.
70243
 
+        mingw*)
70244
 
+          # Test for the native Win32 locale name.
70245
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
70246
 
+            gt_cv_locale_fr=French_France.1252
70247
 
+          else
70248
 
+            # None found.
70249
 
+            gt_cv_locale_fr=none
70250
 
+          fi
70251
 
+          ;;
70252
 
+        *)
70253
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
70254
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
70255
 
+          # configure script would override the LC_ALL setting. Likewise for
70256
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
70257
 
+          # Test for the usual locale name.
70258
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
70259
 
+            gt_cv_locale_fr=fr_FR
70260
 
+          else
70261
 
+            # Test for the locale name with explicit encoding suffix.
70262
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
70263
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
70264
 
+            else
70265
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
70266
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
70267
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
70268
 
+              else
70269
 
+                # Test for the HP-UX locale name.
70270
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
70271
 
+                  gt_cv_locale_fr=fr_FR.iso88591
70272
 
+                else
70273
 
+                  # Test for the Solaris 7 locale name.
70274
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
70275
 
+                    gt_cv_locale_fr=fr
70276
 
+                  else
70277
 
+                    # None found.
70278
 
+                    gt_cv_locale_fr=none
70279
 
+                  fi
70280
 
+                fi
70281
 
+              fi
70282
 
+            fi
70283
 
+          fi
70284
 
+          ;;
70285
 
+      esac
70286
 
+    fi
70287
 
+    rm -fr conftest*
70288
 
+  
70289
 
+fi
70290
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
70291
 
+$as_echo "$gt_cv_locale_fr" >&6; }
70292
 
+  LOCALE_FR=$gt_cv_locale_fr
70293
 
+  
70294
 
+
70295
 
+
70296
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtold conforms to C99" >&5
70297
 
+$as_echo_n "checking whether strtold conforms to C99... " >&6; }
70298
 
+if ${gl_cv_func_c99_strtold+:} false; then :
70299
 
+  $as_echo_n "(cached) " >&6
70300
 
+else
70301
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70302
 
+/* end confdefs.h.  */
70303
 
+/* On HP-UX before 11.23, strtold returns a struct instead of
70304
 
+                long double.  Reject implementations like that, by requiring
70305
 
+                compatibility with the C99 prototype.  */
70306
 
+             #include <stdlib.h>
70307
 
+             static long double (*p) (char const *, char **) = strtold;
70308
 
+             static long double
70309
 
+             test (char const *nptr, char **endptr)
70310
 
+             {
70311
 
+               long double r;
70312
 
+               r = strtold (nptr, endptr);
70313
 
+               return r;
70314
 
+             }
70315
 
+int
70316
 
+main ()
70317
 
+{
70318
 
+return test ("1.0", NULL) != 1 || p ("1.0", NULL) != 1;
70319
 
+  ;
70320
 
+  return 0;
70321
 
+}
70322
 
+_ACEOF
70323
 
+if ac_fn_c_try_link "$LINENO"; then :
70324
 
+  gl_cv_func_c99_strtold=yes
70325
 
+else
70326
 
+  gl_cv_func_c99_strtold=no
70327
 
+fi
70328
 
+rm -f core conftest.err conftest.$ac_objext \
70329
 
+    conftest$ac_exeext conftest.$ac_ext
70330
 
+fi
70331
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_c99_strtold" >&5
70332
 
+$as_echo "$gl_cv_func_c99_strtold" >&6; }
70333
 
+  if test $gl_cv_func_c99_strtold = yes; then
70334
 
+    
70335
 
+$as_echo "@%:@define HAVE_C99_STRTOLD 1" >>confdefs.h
70336
 
+
70337
 
+  fi
70338
 
+
70339
 
+
70340
 
+  GNULIB__EXIT=0;         
70341
 
+  GNULIB_ATOLL=0;         
70342
 
+  GNULIB_CALLOC_POSIX=0;  
70343
 
+  GNULIB_CANONICALIZE_FILE_NAME=0;  
70344
 
+  GNULIB_GETLOADAVG=0;    
70345
 
+  GNULIB_GETSUBOPT=0;     
70346
 
+  GNULIB_GRANTPT=0;       
70347
 
+  GNULIB_MALLOC_POSIX=0;  
70348
 
+  GNULIB_MBTOWC=0;        
70349
 
+  GNULIB_MKDTEMP=0;       
70350
 
+  GNULIB_MKOSTEMP=0;      
70351
 
+  GNULIB_MKOSTEMPS=0;     
70352
 
+  GNULIB_MKSTEMP=0;       
70353
 
+  GNULIB_MKSTEMPS=0;      
70354
 
+  GNULIB_PTSNAME=0;       
70355
 
+  GNULIB_PUTENV=0;        
70356
 
+  GNULIB_RANDOM_R=0;      
70357
 
+  GNULIB_REALLOC_POSIX=0; 
70358
 
+  GNULIB_REALPATH=0;      
70359
 
+  GNULIB_RPMATCH=0;       
70360
 
+  GNULIB_SETENV=0;        
70361
 
+  GNULIB_STRTOD=0;        
70362
 
+  GNULIB_STRTOLL=0;       
70363
 
+  GNULIB_STRTOULL=0;      
70364
 
+  GNULIB_SYSTEM_POSIX=0;  
70365
 
+  GNULIB_UNLOCKPT=0;      
70366
 
+  GNULIB_UNSETENV=0;      
70367
 
+  GNULIB_WCTOMB=0;        
70368
 
+    HAVE__EXIT=1;              
70369
 
+  HAVE_ATOLL=1;              
70370
 
+  HAVE_CANONICALIZE_FILE_NAME=1;  
70371
 
+  HAVE_DECL_GETLOADAVG=1;    
70372
 
+  HAVE_GETSUBOPT=1;          
70373
 
+  HAVE_GRANTPT=1;            
70374
 
+  HAVE_MKDTEMP=1;            
70375
 
+  HAVE_MKOSTEMP=1;           
70376
 
+  HAVE_MKOSTEMPS=1;          
70377
 
+  HAVE_MKSTEMP=1;            
70378
 
+  HAVE_MKSTEMPS=1;           
70379
 
+  HAVE_PTSNAME=1;            
70380
 
+  HAVE_RANDOM_H=1;           
70381
 
+  HAVE_RANDOM_R=1;           
70382
 
+  HAVE_REALPATH=1;           
70383
 
+  HAVE_RPMATCH=1;            
70384
 
+  HAVE_SETENV=1;             
70385
 
+  HAVE_DECL_SETENV=1;        
70386
 
+  HAVE_STRTOD=1;             
70387
 
+  HAVE_STRTOLL=1;            
70388
 
+  HAVE_STRTOULL=1;           
70389
 
+  HAVE_STRUCT_RANDOM_DATA=1; 
70390
 
+  HAVE_SYS_LOADAVG_H=0;      
70391
 
+  HAVE_UNLOCKPT=1;           
70392
 
+  HAVE_DECL_UNSETENV=1;      
70393
 
+  REPLACE_CALLOC=0;          
70394
 
+  REPLACE_CANONICALIZE_FILE_NAME=0;  
70395
 
+  REPLACE_MALLOC=0;          
70396
 
+  REPLACE_MBTOWC=0;          
70397
 
+  REPLACE_MKSTEMP=0;         
70398
 
+  REPLACE_PUTENV=0;          
70399
 
+  REPLACE_REALLOC=0;         
70400
 
+  REPLACE_REALPATH=0;        
70401
 
+  REPLACE_SETENV=0;          
70402
 
+  REPLACE_STRTOD=0;          
70403
 
+  REPLACE_UNSETENV=0;        
70404
 
+  REPLACE_WCTOMB=0;          
70405
 
+
70406
 
+
70407
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5
70408
 
+$as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; }
70409
 
+if ${gl_cv_func_malloc_posix+:} false; then :
70410
 
+  $as_echo_n "(cached) " >&6
70411
 
+else
70412
 
+  
70413
 
+                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70414
 
+/* end confdefs.h.  */
70415
 
+
70416
 
+int
70417
 
+main ()
70418
 
+{
70419
 
+#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
70420
 
+             choke me
70421
 
+             #endif
70422
 
+            
70423
 
+  ;
70424
 
+  return 0;
70425
 
+}
70426
 
+_ACEOF
70427
 
+if ac_fn_c_try_compile "$LINENO"; then :
70428
 
+  gl_cv_func_malloc_posix=yes
70429
 
+else
70430
 
+  gl_cv_func_malloc_posix=no
70431
 
+fi
70432
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70433
 
+    
70434
 
+fi
70435
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5
70436
 
+$as_echo "$gl_cv_func_malloc_posix" >&6; }
70437
 
+
70438
 
+
70439
 
+
70440
 
+
70441
 
+  
70442
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
70443
 
+$as_echo_n "checking whether // is distinct from /... " >&6; }
70444
 
+if ${gl_cv_double_slash_root+:} false; then :
70445
 
+  $as_echo_n "(cached) " >&6
70446
 
+else
70447
 
+   if test x"$cross_compiling" = xyes ; then
70448
 
+        # When cross-compiling, there is no way to tell whether // is special
70449
 
+        # short of a list of hosts.  However, the only known hosts to date
70450
 
+        # that have a distinct // are Apollo DomainOS (too old to port to),
70451
 
+        # Cygwin, and z/OS.  If anyone knows of another system for which // has
70452
 
+        # special semantics and is distinct from /, please report it to
70453
 
+        # <bug-gnulib@gnu.org>.
70454
 
+        case $host in
70455
 
+          *-cygwin | i370-ibm-openedition)
70456
 
+            gl_cv_double_slash_root=yes ;;
70457
 
+          *)
70458
 
+            # Be optimistic and assume that / and // are the same when we
70459
 
+            # don't know.
70460
 
+            gl_cv_double_slash_root='unknown, assuming no' ;;
70461
 
+        esac
70462
 
+      else
70463
 
+        set x `ls -di / // 2>/dev/null`
70464
 
+        if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then
70465
 
+          gl_cv_double_slash_root=no
70466
 
+        else
70467
 
+          gl_cv_double_slash_root=yes
70468
 
+        fi
70469
 
+      fi
70470
 
+fi
70471
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
70472
 
+$as_echo "$gl_cv_double_slash_root" >&6; }
70473
 
+  if test "$gl_cv_double_slash_root" = yes; then
70474
 
+    
70475
 
+$as_echo "@%:@define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
70476
 
+
70477
 
+  fi
70478
 
+
70479
 
+
70480
 
+
70481
 
+
70482
 
+  
70483
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether realpath works" >&5
70484
 
+$as_echo_n "checking whether realpath works... " >&6; }
70485
 
+if ${gl_cv_func_realpath_works+:} false; then :
70486
 
+  $as_echo_n "(cached) " >&6
70487
 
+else
70488
 
+  
70489
 
+    touch conftest.a
70490
 
+    mkdir conftest.d
70491
 
+    if test "$cross_compiling" = yes; then :
70492
 
+  gl_cv_func_realpath_works="guessing no"
70493
 
+else
70494
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70495
 
+/* end confdefs.h.  */
70496
 
+
70497
 
+      
70498
 
+        
70499
 
+#include <stdlib.h>
70500
 
+#if defined __MACH__ && defined __APPLE__
70501
 
+/* Avoid a crash on MacOS X.  */
70502
 
+#include <mach/mach.h>
70503
 
+#include <mach/mach_error.h>
70504
 
+#include <mach/thread_status.h>
70505
 
+#include <mach/exception.h>
70506
 
+#include <mach/task.h>
70507
 
+#include <pthread.h>
70508
 
+/* The exception port on which our thread listens.  */
70509
 
+static mach_port_t our_exception_port;
70510
 
+/* The main function of the thread listening for exceptions of type
70511
 
+   EXC_BAD_ACCESS.  */
70512
 
+static void *
70513
 
+mach_exception_thread (void *arg)
70514
 
+{
70515
 
+  /* Buffer for a message to be received.  */
70516
 
+  struct {
70517
 
+    mach_msg_header_t head;
70518
 
+    mach_msg_body_t msgh_body;
70519
 
+    char data[1024];
70520
 
+  } msg;
70521
 
+  mach_msg_return_t retval;
70522
 
+  /* Wait for a message on the exception port.  */
70523
 
+  retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
70524
 
+                     our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
70525
 
+  if (retval != MACH_MSG_SUCCESS)
70526
 
+    abort ();
70527
 
+  exit (1);
70528
 
+}
70529
 
+static void
70530
 
+nocrash_init (void)
70531
 
+{
70532
 
+  mach_port_t self = mach_task_self ();
70533
 
+  /* Allocate a port on which the thread shall listen for exceptions.  */
70534
 
+  if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
70535
 
+      == KERN_SUCCESS) {
70536
 
+    /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html.  */
70537
 
+    if (mach_port_insert_right (self, our_exception_port, our_exception_port,
70538
 
+                                MACH_MSG_TYPE_MAKE_SEND)
70539
 
+        == KERN_SUCCESS) {
70540
 
+      /* The exceptions we want to catch.  Only EXC_BAD_ACCESS is interesting
70541
 
+         for us.  */
70542
 
+      exception_mask_t mask = EXC_MASK_BAD_ACCESS;
70543
 
+      /* Create the thread listening on the exception port.  */
70544
 
+      pthread_attr_t attr;
70545
 
+      pthread_t thread;
70546
 
+      if (pthread_attr_init (&attr) == 0
70547
 
+          && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
70548
 
+          && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
70549
 
+        pthread_attr_destroy (&attr);
70550
 
+        /* Replace the exception port info for these exceptions with our own.
70551
 
+           Note that we replace the exception port for the entire task, not only
70552
 
+           for a particular thread.  This has the effect that when our exception
70553
 
+           port gets the message, the thread specific exception port has already
70554
 
+           been asked, and we don't need to bother about it.
70555
 
+           See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html.  */
70556
 
+        task_set_exception_ports (self, mask, our_exception_port,
70557
 
+                                  EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
70558
 
+      }
70559
 
+    }
70560
 
+  }
70561
 
+}
70562
 
+#else
70563
 
+/* Avoid a crash on POSIX systems.  */
70564
 
+#include <signal.h>
70565
 
+/* A POSIX signal handler.  */
70566
 
+static void
70567
 
+exception_handler (int sig)
70568
 
+{
70569
 
+  exit (1);
70570
 
+}
70571
 
+static void
70572
 
+nocrash_init (void)
70573
 
+{
70574
 
+#ifdef SIGSEGV
70575
 
+  signal (SIGSEGV, exception_handler);
70576
 
+#endif
70577
 
+#ifdef SIGBUS
70578
 
+  signal (SIGBUS, exception_handler);
70579
 
+#endif
70580
 
+}
70581
 
+#endif
70582
 
+
70583
 
+        #include <stdlib.h>
70584
 
+        #include <string.h>
70585
 
+      
70586
 
+int
70587
 
+main ()
70588
 
+{
70589
 
+
70590
 
+        int result = 0;
70591
 
+        {
70592
 
+          char *name = realpath ("conftest.a", NULL);
70593
 
+          if (!(name && *name == '/'))
70594
 
+            result |= 1;
70595
 
+        }
70596
 
+        {
70597
 
+          char *name = realpath ("conftest.b/../conftest.a", NULL);
70598
 
+          if (name != NULL)
70599
 
+            result |= 2;
70600
 
+        }
70601
 
+        {
70602
 
+          char *name = realpath ("conftest.a/", NULL);
70603
 
+          if (name != NULL)
70604
 
+            result |= 4;
70605
 
+        }
70606
 
+        {
70607
 
+          char *name1 = realpath (".", NULL);
70608
 
+          char *name2 = realpath ("conftest.d//./..", NULL);
70609
 
+          if (strcmp (name1, name2) != 0)
70610
 
+            result |= 8;
70611
 
+        }
70612
 
+        return result;
70613
 
+      
70614
 
+  ;
70615
 
+  return 0;
70616
 
+}
70617
 
+    
70618
 
+_ACEOF
70619
 
+if ac_fn_c_try_run "$LINENO"; then :
70620
 
+  gl_cv_func_realpath_works=yes
70621
 
+else
70622
 
+  gl_cv_func_realpath_works=no
70623
 
+fi
70624
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
70625
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
70626
 
+fi
70627
 
+
70628
 
+    rm -rf conftest.a conftest.d
70629
 
+  
70630
 
+fi
70631
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_realpath_works" >&5
70632
 
+$as_echo "$gl_cv_func_realpath_works" >&6; }
70633
 
+  if test "$gl_cv_func_realpath_works" = yes; then
70634
 
+    
70635
 
+$as_echo "@%:@define FUNC_REALPATH_WORKS 1" >>confdefs.h
70636
 
+
70637
 
+  fi
70638
 
+
70639
 
+
70640
 
+
70641
 
+
70642
 
+  GNULIB_CHOWN=0;                
70643
 
+  GNULIB_CLOSE=0;                
70644
 
+  GNULIB_DUP2=0;                 
70645
 
+  GNULIB_DUP3=0;                 
70646
 
+  GNULIB_ENVIRON=0;              
70647
 
+  GNULIB_EUIDACCESS=0;           
70648
 
+  GNULIB_FACCESSAT=0;            
70649
 
+  GNULIB_FCHDIR=0;               
70650
 
+  GNULIB_FCHOWNAT=0;             
70651
 
+  GNULIB_FSYNC=0;                
70652
 
+  GNULIB_FTRUNCATE=0;            
70653
 
+  GNULIB_GETCWD=0;               
70654
 
+  GNULIB_GETDOMAINNAME=0;        
70655
 
+  GNULIB_GETDTABLESIZE=0;        
70656
 
+  GNULIB_GETGROUPS=0;            
70657
 
+  GNULIB_GETHOSTNAME=0;          
70658
 
+  GNULIB_GETLOGIN=0;             
70659
 
+  GNULIB_GETLOGIN_R=0;           
70660
 
+  GNULIB_GETPAGESIZE=0;          
70661
 
+  GNULIB_GETUSERSHELL=0;         
70662
 
+  GNULIB_GROUP_MEMBER=0;         
70663
 
+  GNULIB_LCHOWN=0;               
70664
 
+  GNULIB_LINK=0;                 
70665
 
+  GNULIB_LINKAT=0;               
70666
 
+  GNULIB_LSEEK=0;                
70667
 
+  GNULIB_PIPE=0;                 
70668
 
+  GNULIB_PIPE2=0;                
70669
 
+  GNULIB_PREAD=0;                
70670
 
+  GNULIB_PWRITE=0;               
70671
 
+  GNULIB_READ=0;                 
70672
 
+  GNULIB_READLINK=0;             
70673
 
+  GNULIB_READLINKAT=0;           
70674
 
+  GNULIB_RMDIR=0;                
70675
 
+  GNULIB_SLEEP=0;                
70676
 
+  GNULIB_SYMLINK=0;              
70677
 
+  GNULIB_SYMLINKAT=0;            
70678
 
+  GNULIB_TTYNAME_R=0;            
70679
 
+  GNULIB_UNISTD_H_GETOPT=0;      
70680
 
+  GNULIB_UNISTD_H_NONBLOCKING=0; 
70681
 
+  GNULIB_UNISTD_H_SIGPIPE=0;     
70682
 
+  GNULIB_UNLINK=0;               
70683
 
+  GNULIB_UNLINKAT=0;             
70684
 
+  GNULIB_USLEEP=0;               
70685
 
+  GNULIB_WRITE=0;                
70686
 
+    HAVE_CHOWN=1;           
70687
 
+  HAVE_DUP2=1;            
70688
 
+  HAVE_DUP3=1;            
70689
 
+  HAVE_EUIDACCESS=1;      
70690
 
+  HAVE_FACCESSAT=1;       
70691
 
+  HAVE_FCHDIR=1;          
70692
 
+  HAVE_FCHOWNAT=1;        
70693
 
+  HAVE_FSYNC=1;           
70694
 
+  HAVE_FTRUNCATE=1;       
70695
 
+  HAVE_GETDTABLESIZE=1;   
70696
 
+  HAVE_GETGROUPS=1;       
70697
 
+  HAVE_GETHOSTNAME=1;     
70698
 
+  HAVE_GETLOGIN=1;        
70699
 
+  HAVE_GETPAGESIZE=1;     
70700
 
+  HAVE_GROUP_MEMBER=1;    
70701
 
+  HAVE_LCHOWN=1;          
70702
 
+  HAVE_LINK=1;            
70703
 
+  HAVE_LINKAT=1;          
70704
 
+  HAVE_PIPE=1;            
70705
 
+  HAVE_PIPE2=1;           
70706
 
+  HAVE_PREAD=1;           
70707
 
+  HAVE_PWRITE=1;          
70708
 
+  HAVE_READLINK=1;        
70709
 
+  HAVE_READLINKAT=1;      
70710
 
+  HAVE_SLEEP=1;           
70711
 
+  HAVE_SYMLINK=1;         
70712
 
+  HAVE_SYMLINKAT=1;       
70713
 
+  HAVE_UNLINKAT=1;        
70714
 
+  HAVE_USLEEP=1;          
70715
 
+  HAVE_DECL_ENVIRON=1;    
70716
 
+  HAVE_DECL_FCHDIR=1;     
70717
 
+  HAVE_DECL_GETDOMAINNAME=1; 
70718
 
+  HAVE_DECL_GETLOGIN_R=1; 
70719
 
+  HAVE_DECL_GETPAGESIZE=1; 
70720
 
+  HAVE_DECL_GETUSERSHELL=1; 
70721
 
+  HAVE_DECL_TTYNAME_R=1;  
70722
 
+  HAVE_OS_H=0;            
70723
 
+  HAVE_SYS_PARAM_H=0;     
70724
 
+  REPLACE_CHOWN=0;        
70725
 
+  REPLACE_CLOSE=0;        
70726
 
+  REPLACE_DUP=0;          
70727
 
+  REPLACE_DUP2=0;         
70728
 
+  REPLACE_FCHOWNAT=0;     
70729
 
+  REPLACE_GETCWD=0;       
70730
 
+  REPLACE_GETDOMAINNAME=0; 
70731
 
+  REPLACE_GETLOGIN_R=0;   
70732
 
+  REPLACE_GETGROUPS=0;    
70733
 
+  REPLACE_GETPAGESIZE=0;  
70734
 
+  REPLACE_LCHOWN=0;       
70735
 
+  REPLACE_LINK=0;         
70736
 
+  REPLACE_LINKAT=0;       
70737
 
+  REPLACE_LSEEK=0;        
70738
 
+  REPLACE_PREAD=0;        
70739
 
+  REPLACE_PWRITE=0;       
70740
 
+  REPLACE_READ=0;         
70741
 
+  REPLACE_READLINK=0;     
70742
 
+  REPLACE_RMDIR=0;        
70743
 
+  REPLACE_SLEEP=0;        
70744
 
+  REPLACE_SYMLINK=0;      
70745
 
+  REPLACE_TTYNAME_R=0;    
70746
 
+  REPLACE_UNLINK=0;       
70747
 
+  REPLACE_UNLINKAT=0;     
70748
 
+  REPLACE_USLEEP=0;       
70749
 
+  REPLACE_WRITE=0;        
70750
 
+  UNISTD_H_HAVE_WINSOCK2_H=0; 
70751
 
+  UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0;
70752
 
+                           
70753
 
+
70754
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
70755
 
+$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
70756
 
+if ${ac_cv_type_uid_t+:} false; then :
70757
 
+  $as_echo_n "(cached) " >&6
70758
 
+else
70759
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70760
 
+/* end confdefs.h.  */
70761
 
+#include <sys/types.h>
70762
 
+
70763
 
+_ACEOF
70764
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
70765
 
+  $EGREP "uid_t" >/dev/null 2>&1; then :
70766
 
+  ac_cv_type_uid_t=yes
70767
 
+else
70768
 
+  ac_cv_type_uid_t=no
70769
 
+fi
70770
 
+rm -f conftest*
70771
 
+
70772
 
+fi
70773
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
70774
 
+$as_echo "$ac_cv_type_uid_t" >&6; }
70775
 
+if test $ac_cv_type_uid_t = no; then
70776
 
+  
70777
 
+$as_echo "@%:@define uid_t int" >>confdefs.h
70778
 
+
70779
 
+  
70780
 
+$as_echo "@%:@define gid_t int" >>confdefs.h
70781
 
+
70782
 
+fi
70783
 
+
70784
 
+for ac_header in unistd.h
70785
 
+do :
70786
 
+  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
70787
 
+if test "x$ac_cv_header_unistd_h" = xyes; then :
70788
 
+  cat >>confdefs.h <<_ACEOF
70789
 
+@%:@define HAVE_UNISTD_H 1
70790
 
+_ACEOF
70791
 
70792
 
+fi
70793
 
+
70794
 
+done
70795
 
+
70796
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
70797
 
+$as_echo_n "checking for working chown... " >&6; }
70798
 
+if ${ac_cv_func_chown_works+:} false; then :
70799
 
+  $as_echo_n "(cached) " >&6
70800
 
+else
70801
 
+  if test "$cross_compiling" = yes; then :
70802
 
+  ac_cv_func_chown_works=no
70803
 
+else
70804
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70805
 
+/* end confdefs.h.  */
70806
 
+$ac_includes_default
70807
 
+#include <fcntl.h>
70808
 
+
70809
 
+int
70810
 
+main ()
70811
 
+{
70812
 
+  char *f = "conftest.chown";
70813
 
+  struct stat before, after;
70814
 
+
70815
 
+  if (creat (f, 0600) < 0)
70816
 
+    return 1;
70817
 
+  if (stat (f, &before) < 0)
70818
 
+    return 1;
70819
 
+  if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
70820
 
+    return 1;
70821
 
+  if (stat (f, &after) < 0)
70822
 
+    return 1;
70823
 
+  return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
70824
 
+
70825
 
+  ;
70826
 
+  return 0;
70827
 
+}
70828
 
+_ACEOF
70829
 
+if ac_fn_c_try_run "$LINENO"; then :
70830
 
+  ac_cv_func_chown_works=yes
70831
 
+else
70832
 
+  ac_cv_func_chown_works=no
70833
 
+fi
70834
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
70835
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
70836
 
+fi
70837
 
+
70838
 
+rm -f conftest.chown
70839
 
+
70840
 
+fi
70841
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5
70842
 
+$as_echo "$ac_cv_func_chown_works" >&6; }
70843
 
+if test $ac_cv_func_chown_works = yes; then
70844
 
+  
70845
 
+$as_echo "@%:@define HAVE_CHOWN 1" >>confdefs.h
70846
 
+
70847
 
+fi
70848
 
+
70849
 
+
70850
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether chown dereferences symlinks" >&5
70851
 
+$as_echo_n "checking whether chown dereferences symlinks... " >&6; }
70852
 
+if ${gl_cv_func_chown_follows_symlink+:} false; then :
70853
 
+  $as_echo_n "(cached) " >&6
70854
 
+else
70855
 
+  
70856
 
+      if test "$cross_compiling" = yes; then :
70857
 
+  gl_cv_func_chown_follows_symlink=yes
70858
 
+      
70859
 
+else
70860
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70861
 
+/* end confdefs.h.  */
70862
 
+
70863
 
+#include <unistd.h>
70864
 
+#include <stdlib.h>
70865
 
+#include <errno.h>
70866
 
+
70867
 
+        int
70868
 
+        main ()
70869
 
+        {
70870
 
+          int result = 0;
70871
 
+          char const *dangling_symlink = "conftest.dangle";
70872
 
+
70873
 
+          unlink (dangling_symlink);
70874
 
+          if (symlink ("conftest.no-such", dangling_symlink))
70875
 
+            abort ();
70876
 
+
70877
 
+          /* Exit successfully on a conforming system,
70878
 
+             i.e., where chown must fail with ENOENT.  */
70879
 
+          if (chown (dangling_symlink, getuid (), getgid ()) == 0)
70880
 
+            result |= 1;
70881
 
+          if (errno != ENOENT)
70882
 
+            result |= 2;
70883
 
+          return result;
70884
 
+        }
70885
 
+        
70886
 
+_ACEOF
70887
 
+if ac_fn_c_try_run "$LINENO"; then :
70888
 
+  gl_cv_func_chown_follows_symlink=yes
70889
 
+else
70890
 
+  gl_cv_func_chown_follows_symlink=no
70891
 
+fi
70892
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
70893
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
70894
 
+fi
70895
 
+
70896
 
+    
70897
 
+  
70898
 
+fi
70899
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_chown_follows_symlink" >&5
70900
 
+$as_echo "$gl_cv_func_chown_follows_symlink" >&6; }
70901
 
+
70902
 
+  if test $gl_cv_func_chown_follows_symlink = no; then
70903
 
+    
70904
 
+$as_echo "@%:@define CHOWN_MODIFIES_SYMLINK 1" >>confdefs.h
70905
 
+
70906
 
+  fi
70907
 
+
70908
 
+
70909
 
+
70910
 
+
70911
 
+
70912
 
+
70913
 
+  
70914
 
+  
70915
 
+  
70916
 
+  
70917
 
+  
70918
 
+
70919
 
+    if test $ac_cv_func_chown = no; then
70920
 
+    HAVE_CHOWN=0
70921
 
+  else
70922
 
+        if test $gl_cv_func_chown_follows_symlink = no; then
70923
 
+      REPLACE_CHOWN=1
70924
 
+    fi
70925
 
+
70926
 
+        if test $ac_cv_func_chown_works = no; then
70927
 
+      
70928
 
+$as_echo "@%:@define CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE 1" >>confdefs.h
70929
 
+
70930
 
+      REPLACE_CHOWN=1
70931
 
+    fi
70932
 
+
70933
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether chown honors trailing slash" >&5
70934
 
+$as_echo_n "checking whether chown honors trailing slash... " >&6; }
70935
 
+if ${gl_cv_func_chown_slash_works+:} false; then :
70936
 
+  $as_echo_n "(cached) " >&6
70937
 
+else
70938
 
+  touch conftest.file && rm -f conftest.link
70939
 
+       if test "$cross_compiling" = yes; then :
70940
 
+  gl_cv_func_chown_slash_works="guessing no"
70941
 
+else
70942
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70943
 
+/* end confdefs.h.  */
70944
 
+
70945
 
+#include <unistd.h>
70946
 
+#include <stdlib.h>
70947
 
+#include <errno.h>
70948
 
+
70949
 
+int
70950
 
+main ()
70951
 
+{
70952
 
+    if (symlink ("conftest.file", "conftest.link")) return 1;
70953
 
+          if (chown ("conftest.link/", getuid (), getgid ()) == 0) return 2;
70954
 
+        
70955
 
+  ;
70956
 
+  return 0;
70957
 
+}
70958
 
+_ACEOF
70959
 
+if ac_fn_c_try_run "$LINENO"; then :
70960
 
+  gl_cv_func_chown_slash_works=yes
70961
 
+else
70962
 
+  gl_cv_func_chown_slash_works=no
70963
 
+fi
70964
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
70965
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
70966
 
+fi
70967
 
+
70968
 
+      rm -f conftest.link conftest.file
70969
 
+fi
70970
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_chown_slash_works" >&5
70971
 
+$as_echo "$gl_cv_func_chown_slash_works" >&6; }
70972
 
+    if test "$gl_cv_func_chown_slash_works" != yes; then
70973
 
+      
70974
 
+$as_echo "@%:@define CHOWN_TRAILING_SLASH_BUG 1" >>confdefs.h
70975
 
+
70976
 
+      REPLACE_CHOWN=1
70977
 
+    fi
70978
 
+
70979
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether chown always updates ctime" >&5
70980
 
+$as_echo_n "checking whether chown always updates ctime... " >&6; }
70981
 
+if ${gl_cv_func_chown_ctime_works+:} false; then :
70982
 
+  $as_echo_n "(cached) " >&6
70983
 
+else
70984
 
+  if test "$cross_compiling" = yes; then :
70985
 
+  gl_cv_func_chown_ctime_works="guessing no"
70986
 
+else
70987
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70988
 
+/* end confdefs.h.  */
70989
 
+
70990
 
+#include <unistd.h>
70991
 
+#include <stdlib.h>
70992
 
+#include <errno.h>
70993
 
+#include <fcntl.h>
70994
 
+#include <sys/stat.h>
70995
 
+
70996
 
+int
70997
 
+main ()
70998
 
+{
70999
 
+    struct stat st1, st2;
71000
 
+          if (close (creat ("conftest.file", 0600))) return 1;
71001
 
+          if (stat ("conftest.file", &st1)) return 2;
71002
 
+          sleep (1);
71003
 
+          if (chown ("conftest.file", st1.st_uid, st1.st_gid)) return 3;
71004
 
+          if (stat ("conftest.file", &st2)) return 4;
71005
 
+          if (st2.st_ctime <= st1.st_ctime) return 5;
71006
 
+        
71007
 
+  ;
71008
 
+  return 0;
71009
 
+}
71010
 
+_ACEOF
71011
 
+if ac_fn_c_try_run "$LINENO"; then :
71012
 
+  gl_cv_func_chown_ctime_works=yes
71013
 
+else
71014
 
+  gl_cv_func_chown_ctime_works=no
71015
 
+fi
71016
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
71017
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
71018
 
+fi
71019
 
+
71020
 
+      rm -f conftest.file
71021
 
+fi
71022
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_chown_ctime_works" >&5
71023
 
+$as_echo "$gl_cv_func_chown_ctime_works" >&6; }
71024
 
+    if test "$gl_cv_func_chown_ctime_works" != yes; then
71025
 
+      
71026
 
+$as_echo "@%:@define CHOWN_CHANGE_TIME_BUG 1" >>confdefs.h
71027
 
+
71028
 
+      REPLACE_CHOWN=1
71029
 
+    fi
71030
 
+  fi
71031
 
+
71032
 
+
71033
 
+  GNULIB_IOCTL=0;         
71034
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=0; 
71035
 
+  SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0;
71036
 
+                        
71037
 
+  REPLACE_IOCTL=0;      
71038
 
+
71039
 
+
71040
 
+
71041
 
+
71042
 
+
71043
 
+
71044
 
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
71045
 
+$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
71046
 
+if ${ac_cv_c_bigendian+:} false; then :
71047
 
+  $as_echo_n "(cached) " >&6
71048
 
+else
71049
 
+  ac_cv_c_bigendian=unknown
71050
 
+    # See if we're dealing with a universal compiler.
71051
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71052
 
+/* end confdefs.h.  */
71053
 
+#ifndef __APPLE_CC__
71054
 
+              not a universal capable compiler
71055
 
+            #endif
71056
 
+            typedef int dummy;
71057
 
+           
71058
 
+_ACEOF
71059
 
+if ac_fn_c_try_compile "$LINENO"; then :
71060
 
+  
71061
 
+       # Check for potential -arch flags.  It is not universal unless
71062
 
+       # there are at least two -arch flags with different values.
71063
 
+       ac_arch=
71064
 
+       ac_prev=
71065
 
+       for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
71066
 
+        if test -n "$ac_prev"; then
71067
 
+          case $ac_word in
71068
 
+            i?86 | x86_64 | ppc | ppc64)
71069
 
+              if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
71070
 
+                ac_arch=$ac_word
71071
 
+              else
71072
 
+                ac_cv_c_bigendian=universal
71073
 
+                break
71074
 
+              fi
71075
 
+              ;;
71076
 
+          esac
71077
 
+          ac_prev=
71078
 
+        elif test "x$ac_word" = "x-arch"; then
71079
 
+          ac_prev=arch
71080
 
+        fi
71081
 
+       done
71082
 
+fi
71083
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71084
 
+    if test $ac_cv_c_bigendian = unknown; then
71085
 
+      # See if sys/param.h defines the BYTE_ORDER macro.
71086
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71087
 
+/* end confdefs.h.  */
71088
 
+#include <sys/types.h>
71089
 
+            #include <sys/param.h>
71090
 
+          
71091
 
+int
71092
 
+main ()
71093
 
+{
71094
 
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
71095
 
+                    && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
71096
 
+                    && LITTLE_ENDIAN)
71097
 
+             bogus endian macros
71098
 
+            #endif
71099
 
+          
71100
 
+  ;
71101
 
+  return 0;
71102
 
+}
71103
 
+_ACEOF
71104
 
+if ac_fn_c_try_compile "$LINENO"; then :
71105
 
+  # It does; now see whether it defined to BIG_ENDIAN or not.
71106
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71107
 
+/* end confdefs.h.  */
71108
 
+#include <sys/types.h>
71109
 
+               #include <sys/param.h>
71110
 
+             
71111
 
+int
71112
 
+main ()
71113
 
+{
71114
 
+#if BYTE_ORDER != BIG_ENDIAN
71115
 
+                not big endian
71116
 
+               #endif
71117
 
+             
71118
 
+  ;
71119
 
+  return 0;
71120
 
+}
71121
 
+_ACEOF
71122
 
+if ac_fn_c_try_compile "$LINENO"; then :
71123
 
+  ac_cv_c_bigendian=yes
71124
 
+else
71125
 
+  ac_cv_c_bigendian=no
71126
 
+fi
71127
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71128
 
+fi
71129
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71130
 
+    fi
71131
 
+    if test $ac_cv_c_bigendian = unknown; then
71132
 
+      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
71133
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71134
 
+/* end confdefs.h.  */
71135
 
+#include <limits.h>
71136
 
+          
71137
 
+int
71138
 
+main ()
71139
 
+{
71140
 
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
71141
 
+             bogus endian macros
71142
 
+            #endif
71143
 
+          
71144
 
+  ;
71145
 
+  return 0;
71146
 
+}
71147
 
+_ACEOF
71148
 
+if ac_fn_c_try_compile "$LINENO"; then :
71149
 
+  # It does; now see whether it defined to _BIG_ENDIAN or not.
71150
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71151
 
+/* end confdefs.h.  */
71152
 
+#include <limits.h>
71153
 
+             
71154
 
+int
71155
 
+main ()
71156
 
+{
71157
 
+#ifndef _BIG_ENDIAN
71158
 
+                not big endian
71159
 
+               #endif
71160
 
+             
71161
 
+  ;
71162
 
+  return 0;
71163
 
+}
71164
 
+_ACEOF
71165
 
+if ac_fn_c_try_compile "$LINENO"; then :
71166
 
+  ac_cv_c_bigendian=yes
71167
 
+else
71168
 
+  ac_cv_c_bigendian=no
71169
 
+fi
71170
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71171
 
+fi
71172
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71173
 
+    fi
71174
 
+    if test $ac_cv_c_bigendian = unknown; then
71175
 
+      # Compile a test program.
71176
 
+      if test "$cross_compiling" = yes; then :
71177
 
+  # Try to guess by grepping values from an object file.
71178
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71179
 
+/* end confdefs.h.  */
71180
 
+short int ascii_mm[] =
71181
 
+                 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
71182
 
+               short int ascii_ii[] =
71183
 
+                 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
71184
 
+               int use_ascii (int i) {
71185
 
+                 return ascii_mm[i] + ascii_ii[i];
71186
 
+               }
71187
 
+               short int ebcdic_ii[] =
71188
 
+                 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
71189
 
+               short int ebcdic_mm[] =
71190
 
+                 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
71191
 
+               int use_ebcdic (int i) {
71192
 
+                 return ebcdic_mm[i] + ebcdic_ii[i];
71193
 
+               }
71194
 
+               extern int foo;
71195
 
+             
71196
 
+int
71197
 
+main ()
71198
 
+{
71199
 
+return use_ascii (foo) == use_ebcdic (foo);
71200
 
+  ;
71201
 
+  return 0;
71202
 
+}
71203
 
+_ACEOF
71204
 
+if ac_fn_c_try_compile "$LINENO"; then :
71205
 
+  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
71206
 
+             ac_cv_c_bigendian=yes
71207
 
+           fi
71208
 
+           if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
71209
 
+             if test "$ac_cv_c_bigendian" = unknown; then
71210
 
+               ac_cv_c_bigendian=no
71211
 
+             else
71212
 
+               # finding both strings is unlikely to happen, but who knows?
71213
 
+               ac_cv_c_bigendian=unknown
71214
 
+             fi
71215
 
+           fi
71216
 
+fi
71217
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71218
 
+else
71219
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71220
 
+/* end confdefs.h.  */
71221
 
+$ac_includes_default
71222
 
+int
71223
 
+main ()
71224
 
+{
71225
 
+
71226
 
+            /* Are we little or big endian?  From Harbison&Steele.  */
71227
 
+            union
71228
 
+            {
71229
 
+              long int l;
71230
 
+              char c[sizeof (long int)];
71231
 
+            } u;
71232
 
+            u.l = 1;
71233
 
+            return u.c[sizeof (long int) - 1] == 1;
71234
 
+          
71235
 
+  ;
71236
 
+  return 0;
71237
 
+}
71238
 
+_ACEOF
71239
 
+if ac_fn_c_try_run "$LINENO"; then :
71240
 
+  ac_cv_c_bigendian=no
71241
 
+else
71242
 
+  ac_cv_c_bigendian=yes
71243
 
+fi
71244
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
71245
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
71246
 
+fi
71247
 
+
71248
 
+    fi
71249
 
+fi
71250
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
71251
 
+$as_echo "$ac_cv_c_bigendian" >&6; }
71252
 
+ case $ac_cv_c_bigendian in #(
71253
 
+   yes)
71254
 
+     $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
71255
 
+;; #(
71256
 
+   no)
71257
 
+      ;; #(
71258
 
+   universal)
71259
 
+       
71260
 
+$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
71261
 
+
71262
 
+     ;; #(
71263
 
+   *)
71264
 
+     as_fn_error $? "unknown endianness
71265
 
+ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
71266
 
+ esac
71267
 
+
71268
 
+
71269
 
+
71270
 
+  GNULIB_ISBLANK=0; 
71271
 
+    HAVE_ISBLANK=1;   
71272
 
+
71273
 
+
71274
 
+     GNULIB_DIRFD=0;       
71275
 
+  GNULIB_FDOPENDIR=0;   
71276
 
+  GNULIB_SCANDIR=0;     
71277
 
+  GNULIB_ALPHASORT=0;   
71278
 
+    HAVE_DECL_DIRFD=1;    
71279
 
+  HAVE_DECL_FDOPENDIR=1;
71280
 
+  HAVE_FDOPENDIR=1;     
71281
 
+  HAVE_SCANDIR=1;       
71282
 
+  HAVE_ALPHASORT=1;     
71283
 
+  REPLACE_CLOSEDIR=0;   
71284
 
+  REPLACE_DIRFD=0;      
71285
 
+  REPLACE_FDOPENDIR=0;  
71286
 
+  REPLACE_OPENDIR=0;    
71287
 
+
71288
 
+
71289
 
+
71290
 
+
71291
 
+
71292
 
+
71293
 
+    
71294
 
+
71295
 
+    
71296
 
+
71297
 
+  
71298
 
+    
71299
 
+  
71300
 
+  
71301
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5
71302
 
+$as_echo_n "checking if environ is properly declared... " >&6; }
71303
 
+  if ${gt_cv_var_environ_declaration+:} false; then :
71304
 
+  $as_echo_n "(cached) " >&6
71305
 
+else
71306
 
+  
71307
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71308
 
+/* end confdefs.h.  */
71309
 
+#include <unistd.h>
71310
 
+           extern struct { int foo; } environ;
71311
 
+int
71312
 
+main ()
71313
 
+{
71314
 
+environ.foo = 1;
71315
 
+  ;
71316
 
+  return 0;
71317
 
+}
71318
 
+_ACEOF
71319
 
+if ac_fn_c_try_compile "$LINENO"; then :
71320
 
+  gt_cv_var_environ_declaration=no
71321
 
+else
71322
 
+  gt_cv_var_environ_declaration=yes
71323
 
+fi
71324
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71325
 
+fi
71326
 
+
71327
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_var_environ_declaration" >&5
71328
 
+$as_echo "$gt_cv_var_environ_declaration" >&6; }
71329
 
+  if test $gt_cv_var_environ_declaration = yes; then
71330
 
+    
71331
 
+$as_echo "@%:@define HAVE_ENVIRON_DECL 1" >>confdefs.h
71332
 
+
71333
 
+  fi
71334
 
+  
71335
 
+
71336
 
+  if test $gt_cv_var_environ_declaration != yes; then
71337
 
+    HAVE_DECL_ENVIRON=0
71338
 
+  fi
71339
 
+
71340
 
+
71341
 
+  
71342
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5
71343
 
+$as_echo_n "checking for complete errno.h... " >&6; }
71344
 
+if ${gl_cv_header_errno_h_complete+:} false; then :
71345
 
+  $as_echo_n "(cached) " >&6
71346
 
+else
71347
 
+  
71348
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71349
 
+/* end confdefs.h.  */
71350
 
+
71351
 
+#include <errno.h>
71352
 
+#if !defined ENOMSG
71353
 
+booboo
71354
 
+#endif
71355
 
+#if !defined EIDRM
71356
 
+booboo
71357
 
+#endif
71358
 
+#if !defined ENOLINK
71359
 
+booboo
71360
 
+#endif
71361
 
+#if !defined EPROTO
71362
 
+booboo
71363
 
+#endif
71364
 
+#if !defined EMULTIHOP
71365
 
+booboo
71366
 
+#endif
71367
 
+#if !defined EBADMSG
71368
 
+booboo
71369
 
+#endif
71370
 
+#if !defined EOVERFLOW
71371
 
+booboo
71372
 
+#endif
71373
 
+#if !defined ENOTSUP
71374
 
+booboo
71375
 
+#endif
71376
 
+#if !defined ENETRESET
71377
 
+booboo
71378
 
+#endif
71379
 
+#if !defined ECONNABORTED
71380
 
+booboo
71381
 
+#endif
71382
 
+#if !defined ESTALE
71383
 
+booboo
71384
 
+#endif
71385
 
+#if !defined EDQUOT
71386
 
+booboo
71387
 
+#endif
71388
 
+#if !defined ECANCELED
71389
 
+booboo
71390
 
+#endif
71391
 
+      
71392
 
+_ACEOF
71393
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
71394
 
+  $EGREP "booboo" >/dev/null 2>&1; then :
71395
 
+  gl_cv_header_errno_h_complete=no
71396
 
+else
71397
 
+  gl_cv_header_errno_h_complete=yes
71398
 
+fi
71399
 
+rm -f conftest*
71400
 
+
71401
 
+  
71402
 
+fi
71403
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5
71404
 
+$as_echo "$gl_cv_header_errno_h_complete" >&6; }
71405
 
+  if test $gl_cv_header_errno_h_complete = yes; then
71406
 
+    ERRNO_H=''
71407
 
+  else
71408
 
+    
71409
 
+  
71410
 
+  
71411
 
+  
71412
 
+
71413
 
+  
71414
 
+
71415
 
+  
71416
 
+     if test $gl_cv_have_include_next = yes; then
71417
 
+       gl_cv_next_errno_h='<'errno.h'>'
71418
 
+     else
71419
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <errno.h>" >&5
71420
 
+$as_echo_n "checking absolute name of <errno.h>... " >&6; }
71421
 
+if ${gl_cv_next_errno_h+:} false; then :
71422
 
+  $as_echo_n "(cached) " >&6
71423
 
+else
71424
 
+  
71425
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71426
 
+/* end confdefs.h.  */
71427
 
+#include <errno.h>
71428
 
+                  
71429
 
+_ACEOF
71430
 
+                                                                                                                        case "$host_os" in
71431
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
71432
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
71433
 
+               esac
71434
 
+                                                            gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
71435
 
+                  sed -n '\#/errno.h#{
71436
 
+                    s#.*"\(.*/errno.h\)".*#\1#
71437
 
+                    s#^/[^/]#//&#
71438
 
+                    p
71439
 
+                    q
71440
 
+                  }'`'"'
71441
 
+          
71442
 
+         
71443
 
+fi
71444
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5
71445
 
+$as_echo "$gl_cv_next_errno_h" >&6; }
71446
 
+     fi
71447
 
+     NEXT_ERRNO_H=$gl_cv_next_errno_h
71448
 
+
71449
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
71450
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
71451
 
+       gl_next_as_first_directive='<'errno.h'>'
71452
 
+     else
71453
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
71454
 
+       gl_next_as_first_directive=$gl_cv_next_errno_h
71455
 
+     fi
71456
 
+     NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive
71457
 
+
71458
 
+     
71459
 
+
71460
 
+
71461
 
+    ERRNO_H='errno.h'
71462
 
+  fi
71463
 
+  
71464
 
+   if test -n "$ERRNO_H"; then
71465
 
+  GL_GENERATE_ERRNO_H_TRUE=
71466
 
+  GL_GENERATE_ERRNO_H_FALSE='#'
71467
 
+else
71468
 
+  GL_GENERATE_ERRNO_H_TRUE='#'
71469
 
+  GL_GENERATE_ERRNO_H_FALSE=
71470
 
+fi
71471
 
+
71472
 
+  
71473
 
+  if test -n "$ERRNO_H"; then
71474
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5
71475
 
+$as_echo_n "checking for EMULTIHOP value... " >&6; }
71476
 
+if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then :
71477
 
+  $as_echo_n "(cached) " >&6
71478
 
+else
71479
 
+  
71480
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71481
 
+/* end confdefs.h.  */
71482
 
+
71483
 
+#include <errno.h>
71484
 
+#ifdef EMULTIHOP
71485
 
+yes
71486
 
+#endif
71487
 
+      
71488
 
+_ACEOF
71489
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
71490
 
+  $EGREP "yes" >/dev/null 2>&1; then :
71491
 
+  gl_cv_header_errno_h_EMULTIHOP=yes
71492
 
+else
71493
 
+  gl_cv_header_errno_h_EMULTIHOP=no
71494
 
+fi
71495
 
+rm -f conftest*
71496
 
+
71497
 
+      if test $gl_cv_header_errno_h_EMULTIHOP = no; then
71498
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71499
 
+/* end confdefs.h.  */
71500
 
+
71501
 
+#define _XOPEN_SOURCE_EXTENDED 1
71502
 
+#include <errno.h>
71503
 
+#ifdef EMULTIHOP
71504
 
+yes
71505
 
+#endif
71506
 
+          
71507
 
+_ACEOF
71508
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
71509
 
+  $EGREP "yes" >/dev/null 2>&1; then :
71510
 
+  gl_cv_header_errno_h_EMULTIHOP=hidden
71511
 
+fi
71512
 
+rm -f conftest*
71513
 
+
71514
 
+        if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then
71515
 
+                              if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP"        "
71516
 
+#define _XOPEN_SOURCE_EXTENDED 1
71517
 
+#include <errno.h>
71518
 
+/* The following two lines are a workaround against an autoconf-2.52 bug.  */
71519
 
+#include <stdio.h>
71520
 
+#include <stdlib.h>
71521
 
+"; then :
71522
 
+  
71523
 
+fi
71524
 
+
71525
 
+        fi
71526
 
+      fi
71527
 
+    
71528
 
+fi
71529
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5
71530
 
+$as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; }
71531
 
+    case $gl_cv_header_errno_h_EMULTIHOP in
71532
 
+      yes | no)
71533
 
+        EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE=
71534
 
+        ;;
71535
 
+      *)
71536
 
+        EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP"
71537
 
+        ;;
71538
 
+    esac
71539
 
+    
71540
 
+    
71541
 
+  fi
71542
 
+
71543
 
+  
71544
 
+  if test -n "$ERRNO_H"; then
71545
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5
71546
 
+$as_echo_n "checking for ENOLINK value... " >&6; }
71547
 
+if ${gl_cv_header_errno_h_ENOLINK+:} false; then :
71548
 
+  $as_echo_n "(cached) " >&6
71549
 
+else
71550
 
+  
71551
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71552
 
+/* end confdefs.h.  */
71553
 
+
71554
 
+#include <errno.h>
71555
 
+#ifdef ENOLINK
71556
 
+yes
71557
 
+#endif
71558
 
+      
71559
 
+_ACEOF
71560
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
71561
 
+  $EGREP "yes" >/dev/null 2>&1; then :
71562
 
+  gl_cv_header_errno_h_ENOLINK=yes
71563
 
+else
71564
 
+  gl_cv_header_errno_h_ENOLINK=no
71565
 
+fi
71566
 
+rm -f conftest*
71567
 
+
71568
 
+      if test $gl_cv_header_errno_h_ENOLINK = no; then
71569
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71570
 
+/* end confdefs.h.  */
71571
 
+
71572
 
+#define _XOPEN_SOURCE_EXTENDED 1
71573
 
+#include <errno.h>
71574
 
+#ifdef ENOLINK
71575
 
+yes
71576
 
+#endif
71577
 
+          
71578
 
+_ACEOF
71579
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
71580
 
+  $EGREP "yes" >/dev/null 2>&1; then :
71581
 
+  gl_cv_header_errno_h_ENOLINK=hidden
71582
 
+fi
71583
 
+rm -f conftest*
71584
 
+
71585
 
+        if test $gl_cv_header_errno_h_ENOLINK = hidden; then
71586
 
+                              if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK"        "
71587
 
+#define _XOPEN_SOURCE_EXTENDED 1
71588
 
+#include <errno.h>
71589
 
+/* The following two lines are a workaround against an autoconf-2.52 bug.  */
71590
 
+#include <stdio.h>
71591
 
+#include <stdlib.h>
71592
 
+"; then :
71593
 
+  
71594
 
+fi
71595
 
+
71596
 
+        fi
71597
 
+      fi
71598
 
+    
71599
 
+fi
71600
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5
71601
 
+$as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; }
71602
 
+    case $gl_cv_header_errno_h_ENOLINK in
71603
 
+      yes | no)
71604
 
+        ENOLINK_HIDDEN=0; ENOLINK_VALUE=
71605
 
+        ;;
71606
 
+      *)
71607
 
+        ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK"
71608
 
+        ;;
71609
 
+    esac
71610
 
+    
71611
 
+    
71612
 
+  fi
71613
 
+
71614
 
+  
71615
 
+  if test -n "$ERRNO_H"; then
71616
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5
71617
 
+$as_echo_n "checking for EOVERFLOW value... " >&6; }
71618
 
+if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then :
71619
 
+  $as_echo_n "(cached) " >&6
71620
 
+else
71621
 
+  
71622
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71623
 
+/* end confdefs.h.  */
71624
 
+
71625
 
+#include <errno.h>
71626
 
+#ifdef EOVERFLOW
71627
 
+yes
71628
 
+#endif
71629
 
+      
71630
 
+_ACEOF
71631
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
71632
 
+  $EGREP "yes" >/dev/null 2>&1; then :
71633
 
+  gl_cv_header_errno_h_EOVERFLOW=yes
71634
 
+else
71635
 
+  gl_cv_header_errno_h_EOVERFLOW=no
71636
 
+fi
71637
 
+rm -f conftest*
71638
 
+
71639
 
+      if test $gl_cv_header_errno_h_EOVERFLOW = no; then
71640
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71641
 
+/* end confdefs.h.  */
71642
 
+
71643
 
+#define _XOPEN_SOURCE_EXTENDED 1
71644
 
+#include <errno.h>
71645
 
+#ifdef EOVERFLOW
71646
 
+yes
71647
 
+#endif
71648
 
+          
71649
 
+_ACEOF
71650
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
71651
 
+  $EGREP "yes" >/dev/null 2>&1; then :
71652
 
+  gl_cv_header_errno_h_EOVERFLOW=hidden
71653
 
+fi
71654
 
+rm -f conftest*
71655
 
+
71656
 
+        if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then
71657
 
+                              if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW"        "
71658
 
+#define _XOPEN_SOURCE_EXTENDED 1
71659
 
+#include <errno.h>
71660
 
+/* The following two lines are a workaround against an autoconf-2.52 bug.  */
71661
 
+#include <stdio.h>
71662
 
+#include <stdlib.h>
71663
 
+"; then :
71664
 
+  
71665
 
+fi
71666
 
+
71667
 
+        fi
71668
 
+      fi
71669
 
+    
71670
 
+fi
71671
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5
71672
 
+$as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; }
71673
 
+    case $gl_cv_header_errno_h_EOVERFLOW in
71674
 
+      yes | no)
71675
 
+        EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE=
71676
 
+        ;;
71677
 
+      *)
71678
 
+        EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW"
71679
 
+        ;;
71680
 
+    esac
71681
 
+    
71682
 
+    
71683
 
+  fi
71684
 
+
71685
 
+
71686
 
+ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
71687
 
+if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
71688
 
+  ac_have_decl=1
71689
 
+else
71690
 
+  ac_have_decl=0
71691
 
+fi
71692
 
+
71693
 
+cat >>confdefs.h <<_ACEOF
71694
 
+@%:@define HAVE_DECL_STRERROR_R $ac_have_decl
71695
 
+_ACEOF
71696
 
+
71697
 
+for ac_func in strerror_r
71698
 
+do :
71699
 
+  ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
71700
 
+if test "x$ac_cv_func_strerror_r" = xyes; then :
71701
 
+  cat >>confdefs.h <<_ACEOF
71702
 
+@%:@define HAVE_STRERROR_R 1
71703
 
+_ACEOF
71704
 
71705
 
+fi
71706
 
+done
71707
 
+
71708
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
71709
 
+$as_echo_n "checking whether strerror_r returns char *... " >&6; }
71710
 
+if ${ac_cv_func_strerror_r_char_p+:} false; then :
71711
 
+  $as_echo_n "(cached) " >&6
71712
 
+else
71713
 
+  
71714
 
+    ac_cv_func_strerror_r_char_p=no
71715
 
+    if test $ac_cv_have_decl_strerror_r = yes; then
71716
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71717
 
+/* end confdefs.h.  */
71718
 
+$ac_includes_default
71719
 
+int
71720
 
+main ()
71721
 
+{
71722
 
+
71723
 
+         char buf[100];
71724
 
+         char x = *strerror_r (0, buf, sizeof buf);
71725
 
+         char *p = strerror_r (0, buf, sizeof buf);
71726
 
+         return !p || x;
71727
 
+       
71728
 
+  ;
71729
 
+  return 0;
71730
 
+}
71731
 
+_ACEOF
71732
 
+if ac_fn_c_try_compile "$LINENO"; then :
71733
 
+  ac_cv_func_strerror_r_char_p=yes
71734
 
+fi
71735
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71736
 
+    else
71737
 
+      # strerror_r is not declared.  Choose between
71738
 
+      # systems that have relatively inaccessible declarations for the
71739
 
+      # function.  BeOS and DEC UNIX 4.0 fall in this category, but the
71740
 
+      # former has a strerror_r that returns char*, while the latter
71741
 
+      # has a strerror_r that returns `int'.
71742
 
+      # This test should segfault on the DEC system.
71743
 
+      if test "$cross_compiling" = yes; then :
71744
 
+  :
71745
 
+else
71746
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71747
 
+/* end confdefs.h.  */
71748
 
+$ac_includes_default
71749
 
+       extern char *strerror_r ();
71750
 
+int
71751
 
+main ()
71752
 
+{
71753
 
+char buf[100];
71754
 
+         char x = *strerror_r (0, buf, sizeof buf);
71755
 
+         return ! isalpha (x);
71756
 
+  ;
71757
 
+  return 0;
71758
 
+}
71759
 
+_ACEOF
71760
 
+if ac_fn_c_try_run "$LINENO"; then :
71761
 
+  ac_cv_func_strerror_r_char_p=yes
71762
 
+fi
71763
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
71764
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
71765
 
+fi
71766
 
+
71767
 
+    fi
71768
 
+  
71769
 
+fi
71770
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
71771
 
+$as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
71772
 
+if test $ac_cv_func_strerror_r_char_p = yes; then
71773
 
+  
71774
 
+$as_echo "@%:@define STRERROR_R_CHAR_P 1" >>confdefs.h
71775
 
+
71776
 
+fi
71777
 
+
71778
 
+
71779
 
+  XGETTEXT_EXTRA_OPTIONS=
71780
 
+
71781
 
+
71782
 
+
71783
 
+
71784
 
+
71785
 
+ac_fn_c_check_decl "$LINENO" "setregid" "ac_cv_have_decl_setregid" "$ac_includes_default"
71786
 
+if test "x$ac_cv_have_decl_setregid" = xyes; then :
71787
 
+  ac_have_decl=1
71788
 
+else
71789
 
+  ac_have_decl=0
71790
 
+fi
71791
 
+
71792
 
+cat >>confdefs.h <<_ACEOF
71793
 
+@%:@define HAVE_DECL_SETREGID $ac_have_decl
71794
 
+_ACEOF
71795
 
+
71796
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
71797
 
+$as_echo_n "checking type of array argument to getgroups... " >&6; }
71798
 
+if ${ac_cv_type_getgroups+:} false; then :
71799
 
+  $as_echo_n "(cached) " >&6
71800
 
+else
71801
 
+  if test "$cross_compiling" = yes; then :
71802
 
+  ac_cv_type_getgroups=cross
71803
 
+else
71804
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71805
 
+/* end confdefs.h.  */
71806
 
+/* Thanks to Mike Rendell for this test.  */
71807
 
+$ac_includes_default
71808
 
+#define NGID 256
71809
 
+#undef MAX
71810
 
+#define MAX(x, y) ((x) > (y) ? (x) : (y))
71811
 
+
71812
 
+int
71813
 
+main ()
71814
 
+{
71815
 
+  gid_t gidset[NGID];
71816
 
+  int i, n;
71817
 
+  union { gid_t gval; long int lval; }  val;
71818
 
+
71819
 
+  val.lval = -1;
71820
 
+  for (i = 0; i < NGID; i++)
71821
 
+    gidset[i] = val.gval;
71822
 
+  n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
71823
 
+                gidset);
71824
 
+  /* Exit non-zero if getgroups seems to require an array of ints.  This
71825
 
+     happens when gid_t is short int but getgroups modifies an array
71826
 
+     of ints.  */
71827
 
+  return n > 0 && gidset[n] != val.gval;
71828
 
+}
71829
 
+_ACEOF
71830
 
+if ac_fn_c_try_run "$LINENO"; then :
71831
 
+  ac_cv_type_getgroups=gid_t
71832
 
+else
71833
 
+  ac_cv_type_getgroups=int
71834
 
+fi
71835
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
71836
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
71837
 
+fi
71838
 
+
71839
 
+if test $ac_cv_type_getgroups = cross; then
71840
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71841
 
+/* end confdefs.h.  */
71842
 
+#include <unistd.h>
71843
 
+
71844
 
+_ACEOF
71845
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
71846
 
+  $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then :
71847
 
+  ac_cv_type_getgroups=gid_t
71848
 
+else
71849
 
+  ac_cv_type_getgroups=int
71850
 
+fi
71851
 
+rm -f conftest*
71852
 
+
71853
 
+fi
71854
 
+fi
71855
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
71856
 
+$as_echo "$ac_cv_type_getgroups" >&6; }
71857
 
+
71858
 
+cat >>confdefs.h <<_ACEOF
71859
 
+@%:@define GETGROUPS_T $ac_cv_type_getgroups
71860
 
+_ACEOF
71861
 
+
71862
 
+
71863
 
+ac_fn_c_check_func "$LINENO" "getgroups" "ac_cv_func_getgroups"
71864
 
+if test "x$ac_cv_func_getgroups" = xyes; then :
71865
 
+  
71866
 
+fi
71867
 
+
71868
 
+
71869
 
+# If we don't yet have getgroups, see if it's in -lbsd.
71870
 
+# This is reported to be necessary on an ITOS 3000WS running SEIUX 3.1.
71871
 
+ac_save_LIBS=$LIBS
71872
 
+if test $ac_cv_func_getgroups = no; then
71873
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgroups in -lbsd" >&5
71874
 
+$as_echo_n "checking for getgroups in -lbsd... " >&6; }
71875
 
+if ${ac_cv_lib_bsd_getgroups+:} false; then :
71876
 
+  $as_echo_n "(cached) " >&6
71877
 
+else
71878
 
+  ac_check_lib_save_LIBS=$LIBS
71879
 
+LIBS="-lbsd  $LIBS"
71880
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71881
 
+/* end confdefs.h.  */
71882
 
+
71883
 
+/* Override any GCC internal prototype to avoid an error.
71884
 
+   Use char because int might match the return type of a GCC
71885
 
+   builtin and then its argument prototype would still apply.  */
71886
 
+#ifdef __cplusplus
71887
 
+extern "C"
71888
 
+#endif
71889
 
+char getgroups ();
71890
 
+int
71891
 
+main ()
71892
 
+{
71893
 
+return getgroups ();
71894
 
+  ;
71895
 
+  return 0;
71896
 
+}
71897
 
+_ACEOF
71898
 
+if ac_fn_c_try_link "$LINENO"; then :
71899
 
+  ac_cv_lib_bsd_getgroups=yes
71900
 
+else
71901
 
+  ac_cv_lib_bsd_getgroups=no
71902
 
+fi
71903
 
+rm -f core conftest.err conftest.$ac_objext \
71904
 
+    conftest$ac_exeext conftest.$ac_ext
71905
 
+LIBS=$ac_check_lib_save_LIBS
71906
 
+fi
71907
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_getgroups" >&5
71908
 
+$as_echo "$ac_cv_lib_bsd_getgroups" >&6; }
71909
 
+if test "x$ac_cv_lib_bsd_getgroups" = xyes; then :
71910
 
+  GETGROUPS_LIB=-lbsd
71911
 
+fi
71912
 
+
71913
 
+fi
71914
 
+
71915
 
+# Run the program to test the functionality of the system-supplied
71916
 
+# getgroups function only if there is such a function.
71917
 
+if test $ac_cv_func_getgroups = yes; then
71918
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getgroups" >&5
71919
 
+$as_echo_n "checking for working getgroups... " >&6; }
71920
 
+if ${ac_cv_func_getgroups_works+:} false; then :
71921
 
+  $as_echo_n "(cached) " >&6
71922
 
+else
71923
 
+  if test "$cross_compiling" = yes; then :
71924
 
+  ac_cv_func_getgroups_works=no
71925
 
+else
71926
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71927
 
+/* end confdefs.h.  */
71928
 
+$ac_includes_default
71929
 
+int
71930
 
+main ()
71931
 
+{
71932
 
+/* On Ultrix 4.3, getgroups (0, 0) always fails.  */
71933
 
+       return getgroups (0, 0) == -1;
71934
 
+  ;
71935
 
+  return 0;
71936
 
+}
71937
 
+_ACEOF
71938
 
+if ac_fn_c_try_run "$LINENO"; then :
71939
 
+  ac_cv_func_getgroups_works=yes
71940
 
+else
71941
 
+  ac_cv_func_getgroups_works=no
71942
 
+fi
71943
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
71944
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
71945
 
+fi
71946
 
+
71947
 
+   
71948
 
+fi
71949
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getgroups_works" >&5
71950
 
+$as_echo "$ac_cv_func_getgroups_works" >&6; }
71951
 
+else
71952
 
+  ac_cv_func_getgroups_works=no
71953
 
+fi
71954
 
+if test $ac_cv_func_getgroups_works = yes; then
71955
 
+  
71956
 
+$as_echo "@%:@define HAVE_GETGROUPS 1" >>confdefs.h
71957
 
+
71958
 
+fi
71959
 
+LIBS=$ac_save_LIBS
71960
 
+
71961
 
+
71962
 
+  GNULIB_FCNTL=0;        
71963
 
+  GNULIB_NONBLOCKING=0;  
71964
 
+  GNULIB_OPEN=0;         
71965
 
+  GNULIB_OPENAT=0;       
71966
 
+    HAVE_FCNTL=1;          
71967
 
+  HAVE_OPENAT=1;         
71968
 
+  REPLACE_FCNTL=0;       
71969
 
+  REPLACE_OPEN=0;        
71970
 
+  REPLACE_OPENAT=0;      
71971
 
+
71972
 
+
71973
 
+     GNULIB_FCHMODAT=0;    
71974
 
+  GNULIB_FSTATAT=0;     
71975
 
+  GNULIB_FUTIMENS=0;    
71976
 
+  GNULIB_LCHMOD=0;      
71977
 
+  GNULIB_LSTAT=0;       
71978
 
+  GNULIB_MKDIRAT=0;     
71979
 
+  GNULIB_MKFIFO=0;      
71980
 
+  GNULIB_MKFIFOAT=0;    
71981
 
+  GNULIB_MKNOD=0;       
71982
 
+  GNULIB_MKNODAT=0;     
71983
 
+  GNULIB_STAT=0;        
71984
 
+  GNULIB_UTIMENSAT=0;   
71985
 
+    HAVE_FCHMODAT=1;      
71986
 
+  HAVE_FSTATAT=1;       
71987
 
+  HAVE_FUTIMENS=1;      
71988
 
+  HAVE_LCHMOD=1;        
71989
 
+  HAVE_LSTAT=1;         
71990
 
+  HAVE_MKDIRAT=1;       
71991
 
+  HAVE_MKFIFO=1;        
71992
 
+  HAVE_MKFIFOAT=1;      
71993
 
+  HAVE_MKNOD=1;         
71994
 
+  HAVE_MKNODAT=1;       
71995
 
+  HAVE_UTIMENSAT=1;     
71996
 
+  REPLACE_FSTAT=0;      
71997
 
+  REPLACE_FSTATAT=0;    
71998
 
+  REPLACE_FUTIMENS=0;   
71999
 
+  REPLACE_LSTAT=0;      
72000
 
+  REPLACE_MKDIR=0;      
72001
 
+  REPLACE_MKFIFO=0;     
72002
 
+  REPLACE_MKNOD=0;      
72003
 
+  REPLACE_STAT=0;       
72004
 
+  REPLACE_UTIMENSAT=0;  
72005
 
+
72006
 
+
72007
 
+
72008
 
+
72009
 
+
72010
 
+
72011
 
+
72012
 
+
72013
 
+
72014
 
+
72015
 
+
72016
 
+
72017
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
72018
 
+$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
72019
 
+if ${gl_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
72020
 
+  $as_echo_n "(cached) " >&6
72021
 
+else
72022
 
+  rm -f conftest.sym conftest.file
72023
 
+     echo >conftest.file
72024
 
+     if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
72025
 
+       if test "$cross_compiling" = yes; then :
72026
 
+  # When cross-compiling, be pessimistic so we will end up using the
72027
 
+          # replacement version of lstat that checks for trailing slashes and
72028
 
+          # calls lstat a second time when necessary.
72029
 
+          gl_cv_func_lstat_dereferences_slashed_symlink=no
72030
 
+         
72031
 
+else
72032
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72033
 
+/* end confdefs.h.  */
72034
 
+$ac_includes_default
72035
 
+int
72036
 
+main ()
72037
 
+{
72038
 
+struct stat sbuf;
72039
 
+              /* Linux will dereference the symlink and fail, as required by
72040
 
+                 POSIX.  That is better in the sense that it means we will not
72041
 
+                 have to compile and use the lstat wrapper.  */
72042
 
+              return lstat ("conftest.sym/", &sbuf) == 0;
72043
 
+            
72044
 
+  ;
72045
 
+  return 0;
72046
 
+}
72047
 
+_ACEOF
72048
 
+if ac_fn_c_try_run "$LINENO"; then :
72049
 
+  gl_cv_func_lstat_dereferences_slashed_symlink=yes
72050
 
+else
72051
 
+  gl_cv_func_lstat_dereferences_slashed_symlink=no
72052
 
+fi
72053
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
72054
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
72055
 
+fi
72056
 
+
72057
 
+     else
72058
 
+       # If the 'ln -s' command failed, then we probably don't even
72059
 
+       # have an lstat function.
72060
 
+       gl_cv_func_lstat_dereferences_slashed_symlink=no
72061
 
+     fi
72062
 
+     rm -f conftest.sym conftest.file
72063
 
+    
72064
 
+fi
72065
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5
72066
 
+$as_echo "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; }
72067
 
+  test $gl_cv_func_lstat_dereferences_slashed_symlink = yes &&
72068
 
+    
72069
 
+cat >>confdefs.h <<_ACEOF
72070
 
+@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
72071
 
+_ACEOF
72072
 
+
72073
 
+
72074
 
+
72075
 
+  
72076
 
+  
72077
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unlink honors trailing slashes" >&5
72078
 
+$as_echo_n "checking whether unlink honors trailing slashes... " >&6; }
72079
 
+if ${gl_cv_func_unlink_honors_slashes+:} false; then :
72080
 
+  $as_echo_n "(cached) " >&6
72081
 
+else
72082
 
+  touch conftest.file
72083
 
+     # Assume that if we have lstat, we can also check symlinks.
72084
 
+     if test $ac_cv_func_lstat = yes; then
72085
 
+       ln -s conftest.file conftest.lnk
72086
 
+     fi
72087
 
+     if test "$cross_compiling" = yes; then :
72088
 
+  gl_cv_func_unlink_honors_slashes="guessing no"
72089
 
+else
72090
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72091
 
+/* end confdefs.h.  */
72092
 
+#include <unistd.h>
72093
 
+           #include <errno.h>
72094
 
+         
72095
 
+int
72096
 
+main ()
72097
 
+{
72098
 
+int result = 0;
72099
 
+           if (!unlink ("conftest.file/"))
72100
 
+             result |= 1;
72101
 
+           else if (errno != ENOTDIR)
72102
 
+             result |= 2;
72103
 
+#if HAVE_LSTAT
72104
 
+           if (!unlink ("conftest.lnk/"))
72105
 
+             result |= 4;
72106
 
+           else if (errno != ENOTDIR)
72107
 
+             result |= 8;
72108
 
+#endif
72109
 
+           return result;
72110
 
+         
72111
 
+  ;
72112
 
+  return 0;
72113
 
+}
72114
 
+_ACEOF
72115
 
+if ac_fn_c_try_run "$LINENO"; then :
72116
 
+  gl_cv_func_unlink_honors_slashes=yes
72117
 
+else
72118
 
+  gl_cv_func_unlink_honors_slashes=no
72119
 
+fi
72120
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
72121
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
72122
 
+fi
72123
 
+
72124
 
+     rm -f conftest.file conftest.lnk
72125
 
+fi
72126
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unlink_honors_slashes" >&5
72127
 
+$as_echo "$gl_cv_func_unlink_honors_slashes" >&6; }
72128
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unlink of a parent directory fails as it should" >&5
72129
 
+$as_echo_n "checking whether unlink of a parent directory fails as it should... " >&6; }
72130
 
+if ${gl_cv_func_unlink_parent_fails+:} false; then :
72131
 
+  $as_echo_n "(cached) " >&6
72132
 
+else
72133
 
+  case "$host_os" in
72134
 
+       darwin*)
72135
 
+                                                      if {
72136
 
+              # Use the mktemp program if available. If not available, hide the error
72137
 
+              # message.
72138
 
+              tmp=`(umask 077 && mktemp -d /tmp/gtXXXXXX) 2>/dev/null` &&
72139
 
+              test -n "$tmp" && test -d "$tmp"
72140
 
+            } ||
72141
 
+            {
72142
 
+              # Use a simple mkdir command. It is guaranteed to fail if the directory
72143
 
+              # already exists.  $RANDOM is bash specific and expands to empty in shells
72144
 
+              # other than bash, ksh and zsh.  Its use does not increase security;
72145
 
+              # rather, it minimizes the probability of failure in a very cluttered /tmp
72146
 
+              # directory.
72147
 
+              tmp=/tmp/gt$$-$RANDOM
72148
 
+              (umask 077 && mkdir "$tmp")
72149
 
+            }; then
72150
 
+           mkdir "$tmp/subdir"
72151
 
+           GL_SUBDIR_FOR_UNLINK="$tmp/subdir"
72152
 
+           export GL_SUBDIR_FOR_UNLINK
72153
 
+           if test "$cross_compiling" = yes; then :
72154
 
+  gl_cv_func_unlink_parent_fails="guessing no"
72155
 
+else
72156
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72157
 
+/* end confdefs.h.  */
72158
 
+
72159
 
+                #include <stdlib.h>
72160
 
+                #include <unistd.h>
72161
 
+                int main ()
72162
 
+                {
72163
 
+                  int result = 0;
72164
 
+                  if (chdir (getenv ("GL_SUBDIR_FOR_UNLINK")) != 0)
72165
 
+                    result |= 1;
72166
 
+                  else if (unlink ("..") == 0)
72167
 
+                    result |= 2;
72168
 
+                  return result;
72169
 
+                }
72170
 
+              
72171
 
+_ACEOF
72172
 
+if ac_fn_c_try_run "$LINENO"; then :
72173
 
+  gl_cv_func_unlink_parent_fails=yes
72174
 
+else
72175
 
+  gl_cv_func_unlink_parent_fails=no
72176
 
+fi
72177
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
72178
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
72179
 
+fi
72180
 
+
72181
 
+           unset GL_SUBDIR_FOR_UNLINK
72182
 
+           rm -rf "$tmp"
72183
 
+         else
72184
 
+           gl_cv_func_unlink_parent_fails="guessing no"
72185
 
+         fi
72186
 
+         ;;
72187
 
+       *)
72188
 
+         gl_cv_func_unlink_parent_fails="guessing yes"
72189
 
+         ;;
72190
 
+     esac
72191
 
+    
72192
 
+fi
72193
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unlink_parent_fails" >&5
72194
 
+$as_echo "$gl_cv_func_unlink_parent_fails" >&6; }
72195
 
+  case "$gl_cv_func_unlink_parent_fails" in
72196
 
+    *no)
72197
 
+      
72198
 
+$as_echo "@%:@define UNLINK_PARENT_BUG 1" >>confdefs.h
72199
 
+
72200
 
+      ;;
72201
 
+  esac
72202
 
+  if test "$gl_cv_func_unlink_honors_slashes" != yes \
72203
 
+     || { case "$gl_cv_func_unlink_parent_fails" in
72204
 
+            *yes) false;;
72205
 
+            *no) true;;
72206
 
+          esac
72207
 
+        }; then
72208
 
+    REPLACE_UNLINK=1
72209
 
+  fi
72210
 
+
72211
 
+ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
72212
 
+if test "x$ac_cv_type_mode_t" = xyes; then :
72213
 
+  
72214
 
+else
72215
 
+  
72216
 
+cat >>confdefs.h <<_ACEOF
72217
 
+@%:@define mode_t int
72218
 
+_ACEOF
72219
 
+
72220
 
+fi
72221
 
+
72222
 
+
72223
 
+  
72224
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for promoted mode_t type" >&5
72225
 
+$as_echo_n "checking for promoted mode_t type... " >&6; }
72226
 
+if ${gl_cv_promoted_mode_t+:} false; then :
72227
 
+  $as_echo_n "(cached) " >&6
72228
 
+else
72229
 
+  
72230
 
+                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72231
 
+/* end confdefs.h.  */
72232
 
+#include <sys/types.h>
72233
 
+int
72234
 
+main ()
72235
 
+{
72236
 
+typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1];
72237
 
+  ;
72238
 
+  return 0;
72239
 
+}
72240
 
+_ACEOF
72241
 
+if ac_fn_c_try_compile "$LINENO"; then :
72242
 
+  gl_cv_promoted_mode_t='int'
72243
 
+else
72244
 
+  gl_cv_promoted_mode_t='mode_t'
72245
 
+fi
72246
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72247
 
+  
72248
 
+fi
72249
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_promoted_mode_t" >&5
72250
 
+$as_echo "$gl_cv_promoted_mode_t" >&6; }
72251
 
+  
72252
 
+cat >>confdefs.h <<_ACEOF
72253
 
+@%:@define PROMOTED_MODE_T $gl_cv_promoted_mode_t
72254
 
+_ACEOF
72255
 
+
72256
 
+
72257
 
+
72258
 
+
72259
 
+
72260
 
+  
72261
 
+  GNULIB_OPENAT=1
72262
 
+
72263
 
+  
72264
 
+  GNULIB_FCHMODAT=1
72265
 
+  GNULIB_FSTATAT=1
72266
 
+  GNULIB_MKDIRAT=1
72267
 
+
72268
 
+  
72269
 
+  GNULIB_FCHOWNAT=1
72270
 
+  GNULIB_UNLINKAT=1
72271
 
+
72272
 
+  
72273
 
+  
72274
 
+  
72275
 
+  
72276
 
+  case $ac_cv_func_openat+$gl_cv_func_lstat_dereferences_slashed_symlink in
72277
 
+  yes+yes)
72278
 
+    # GNU/Hurd has unlinkat, but it has the same bug as unlink.
72279
 
+    if test $REPLACE_UNLINK = 1; then
72280
 
+      REPLACE_UNLINKAT=1
72281
 
+    fi ;;
72282
 
+  yes+*)
72283
 
+    # Solaris 9 has *at functions, but uniformly mishandles trailing
72284
 
+    # slash in all of them.
72285
 
+    REPLACE_OPENAT=1
72286
 
+    REPLACE_UNLINKAT=1
72287
 
+    ;;
72288
 
+  *)
72289
 
+    HAVE_OPENAT=0
72290
 
+    HAVE_UNLINKAT=0 # No known system with unlinkat but not openat
72291
 
+    
72292
 
+  
72293
 
+  
72294
 
+  :
72295
 
+;;
72296
 
+  esac
72297
 
+  if test $ac_cv_func_fchmodat != yes; then
72298
 
+    HAVE_FCHMODAT=0
72299
 
+  fi
72300
 
+  if test $ac_cv_func_mkdirat != yes; then
72301
 
+    HAVE_MKDIRAT=0
72302
 
+  fi
72303
 
+  
72304
 
+  
72305
 
+  
72306
 
+  ac_fn_c_check_func "$LINENO" "fchownat" "ac_cv_func_fchownat"
72307
 
+if test "x$ac_cv_func_fchownat" = xyes; then :
72308
 
+  
72309
 
+    
72310
 
+
72311
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fchownat works with AT_SYMLINK_NOFOLLOW" >&5
72312
 
+$as_echo_n "checking whether fchownat works with AT_SYMLINK_NOFOLLOW... " >&6; }
72313
 
+if ${gl_cv_func_fchownat_nofollow_works+:} false; then :
72314
 
+  $as_echo_n "(cached) " >&6
72315
 
+else
72316
 
+  
72317
 
+     gl_dangle=conftest.dangle
72318
 
+     # Remove any remnants of a previous test.
72319
 
+     rm -f $gl_dangle
72320
 
+     # Arrange for deletion of the temporary file this test creates.
72321
 
+     ac_clean_files="$ac_clean_files $gl_dangle"
72322
 
+     ln -s conftest.no-such $gl_dangle
72323
 
+     if test "$cross_compiling" = yes; then :
72324
 
+  gl_cv_func_fchownat_nofollow_works=no
72325
 
+else
72326
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72327
 
+/* end confdefs.h.  */
72328
 
+
72329
 
+#include <fcntl.h>
72330
 
+#include <unistd.h>
72331
 
+#include <stdlib.h>
72332
 
+#include <errno.h>
72333
 
+#include <sys/types.h>
72334
 
+int
72335
 
+main ()
72336
 
+{
72337
 
+  return (fchownat (AT_FDCWD, "$gl_dangle", -1, getgid (),
72338
 
+                    AT_SYMLINK_NOFOLLOW) != 0
72339
 
+          && errno == ENOENT);
72340
 
+}
72341
 
+          
72342
 
+_ACEOF
72343
 
+if ac_fn_c_try_run "$LINENO"; then :
72344
 
+  gl_cv_func_fchownat_nofollow_works=yes
72345
 
+else
72346
 
+  gl_cv_func_fchownat_nofollow_works=no
72347
 
+fi
72348
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
72349
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
72350
 
+fi
72351
 
+
72352
 
+  
72353
 
+fi
72354
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fchownat_nofollow_works" >&5
72355
 
+$as_echo "$gl_cv_func_fchownat_nofollow_works" >&6; }
72356
 
+  if test $gl_cv_func_fchownat_nofollow_works = no; then :
72357
 
+  REPLACE_FCHOWNAT=1
72358
 
+        
72359
 
+$as_echo "@%:@define FCHOWNAT_NOFOLLOW_BUG 1" >>confdefs.h
72360
 
+
72361
 
+       
72362
 
+fi
72363
 
+
72364
 
+     
72365
 
+    
72366
 
+
72367
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fchownat works with an empty file name" >&5
72368
 
+$as_echo_n "checking whether fchownat works with an empty file name... " >&6; }
72369
 
+if ${gl_cv_func_fchownat_empty_filename_works+:} false; then :
72370
 
+  $as_echo_n "(cached) " >&6
72371
 
+else
72372
 
+  if test "$cross_compiling" = yes; then :
72373
 
+  gl_cv_func_fchownat_empty_filename_works="guessing no"
72374
 
+else
72375
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72376
 
+/* end confdefs.h.  */
72377
 
+#include <unistd.h>
72378
 
+            #include <fcntl.h>
72379
 
+          
72380
 
+int
72381
 
+main ()
72382
 
+{
72383
 
+int fd;
72384
 
+            int ret;
72385
 
+            if (mkdir ("conftestdir", 0700) < 0)
72386
 
+              return 2;
72387
 
+            fd = open ("conftestdir", O_RDONLY);
72388
 
+            if (fd < 0)
72389
 
+              return 3;
72390
 
+            ret = fchownat (fd, "", -1, -1, 0);
72391
 
+            close (fd);
72392
 
+            rmdir ("conftestdir");
72393
 
+            return ret == 0;
72394
 
+          
72395
 
+  ;
72396
 
+  return 0;
72397
 
+}
72398
 
+_ACEOF
72399
 
+if ac_fn_c_try_run "$LINENO"; then :
72400
 
+  gl_cv_func_fchownat_empty_filename_works=yes
72401
 
+else
72402
 
+  gl_cv_func_fchownat_empty_filename_works=no
72403
 
+fi
72404
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
72405
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
72406
 
+fi
72407
 
+
72408
 
+    
72409
 
+fi
72410
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fchownat_empty_filename_works" >&5
72411
 
+$as_echo "$gl_cv_func_fchownat_empty_filename_works" >&6; }
72412
 
+  if test "$gl_cv_func_fchownat_empty_filename_works" != yes; then :
72413
 
+  REPLACE_FCHOWNAT=1
72414
 
+        
72415
 
+$as_echo "@%:@define FCHOWNAT_EMPTY_FILENAME_BUG 1" >>confdefs.h
72416
 
+
72417
 
+       
72418
 
+fi
72419
 
+
72420
 
+     if test $REPLACE_CHOWN = 1; then
72421
 
+       REPLACE_FCHOWNAT=1
72422
 
+     fi
72423
 
+else
72424
 
+  HAVE_FCHOWNAT=0
72425
 
+fi
72426
 
+
72427
 
+
72428
 
+  
72429
 
+  
72430
 
+  
72431
 
+  
72432
 
+  
72433
 
+
72434
 
+  if test $ac_cv_func_fstatat = no; then
72435
 
+    HAVE_FSTATAT=0
72436
 
+  else
72437
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fstatat (..., 0) works" >&5
72438
 
+$as_echo_n "checking whether fstatat (..., 0) works... " >&6; }
72439
 
+if ${gl_cv_func_fstatat_zero_flag+:} false; then :
72440
 
+  $as_echo_n "(cached) " >&6
72441
 
+else
72442
 
+  gl_cv_func_fstatat_zero_flag=no
72443
 
+       if test "$cross_compiling" = yes; then :
72444
 
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
72445
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
72446
 
+as_fn_error $? "cannot run test program while cross compiling
72447
 
+See \`config.log' for more details" "$LINENO" 5; }
72448
 
+else
72449
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72450
 
+/* end confdefs.h.  */
72451
 
+
72452
 
+              #include <fcntl.h>
72453
 
+              #include <sys/stat.h>
72454
 
+              int
72455
 
+              main (void)
72456
 
+              {
72457
 
+                struct stat a;
72458
 
+                return fstatat (AT_FDCWD, ".", &a, 0) != 0;
72459
 
+              }
72460
 
+            
72461
 
+_ACEOF
72462
 
+if ac_fn_c_try_run "$LINENO"; then :
72463
 
+  gl_cv_func_fstatat_zero_flag=yes
72464
 
+fi
72465
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
72466
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
72467
 
+fi
72468
 
+
72469
 
+fi
72470
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fstatat_zero_flag" >&5
72471
 
+$as_echo "$gl_cv_func_fstatat_zero_flag" >&6; }
72472
 
+
72473
 
+    case $gl_cv_func_fstatat_zero_flag+$gl_cv_func_lstat_dereferences_slashed_symlink in
72474
 
+    yes+yes) ;;
72475
 
+    *) REPLACE_FSTATAT=1
72476
 
+       if test $gl_cv_func_fstatat_zero_flag != yes; then
72477
 
+         
72478
 
+$as_echo "@%:@define FSTATAT_ZERO_FLAG_BROKEN 1" >>confdefs.h
72479
 
+
72480
 
+       fi
72481
 
+       ;;
72482
 
+    esac
72483
 
+  fi
72484
 
+
72485
 
+
72486
 
+    
72487
 
+  
72488
 
+cat >>confdefs.h <<_ACEOF
72489
 
+@%:@define GNULIB_OPENAT 1
72490
 
+_ACEOF
72491
 
+
72492
 
+
72493
 
+
72494
 
+
72495
 
+
72496
 
+
72497
 
+
72498
 
+ac_fn_c_check_decl "$LINENO" "fchdir" "ac_cv_have_decl_fchdir" "$ac_includes_default"
72499
 
+if test "x$ac_cv_have_decl_fchdir" = xyes; then :
72500
 
+  ac_have_decl=1
72501
 
+else
72502
 
+  ac_have_decl=0
72503
 
+fi
72504
 
+
72505
 
+cat >>confdefs.h <<_ACEOF
72506
 
+@%:@define HAVE_DECL_FCHDIR $ac_have_decl
72507
 
+_ACEOF
72508
 
+
72509
 
+
72510
 
+  GNULIB_DPRINTF=0;              
72511
 
+  GNULIB_FCLOSE=0;               
72512
 
+  GNULIB_FFLUSH=0;               
72513
 
+  GNULIB_FGETC=0;                
72514
 
+  GNULIB_FGETS=0;                
72515
 
+  GNULIB_FOPEN=0;                
72516
 
+  GNULIB_FPRINTF=0;              
72517
 
+  GNULIB_FPRINTF_POSIX=0;        
72518
 
+  GNULIB_FPURGE=0;               
72519
 
+  GNULIB_FPUTC=0;                
72520
 
+  GNULIB_FPUTS=0;                
72521
 
+  GNULIB_FREAD=0;                
72522
 
+  GNULIB_FREOPEN=0;              
72523
 
+  GNULIB_FSCANF=0;               
72524
 
+  GNULIB_FSEEK=0;                
72525
 
+  GNULIB_FSEEKO=0;               
72526
 
+  GNULIB_FTELL=0;                
72527
 
+  GNULIB_FTELLO=0;               
72528
 
+  GNULIB_FWRITE=0;               
72529
 
+  GNULIB_GETC=0;                 
72530
 
+  GNULIB_GETCHAR=0;              
72531
 
+  GNULIB_GETDELIM=0;             
72532
 
+  GNULIB_GETLINE=0;              
72533
 
+  GNULIB_GETS=0;                 
72534
 
+  GNULIB_OBSTACK_PRINTF=0;       
72535
 
+  GNULIB_OBSTACK_PRINTF_POSIX=0; 
72536
 
+  GNULIB_PERROR=0;               
72537
 
+  GNULIB_POPEN=0;                
72538
 
+  GNULIB_PRINTF=0;               
72539
 
+  GNULIB_PRINTF_POSIX=0;         
72540
 
+  GNULIB_PUTC=0;                 
72541
 
+  GNULIB_PUTCHAR=0;              
72542
 
+  GNULIB_PUTS=0;                 
72543
 
+  GNULIB_REMOVE=0;               
72544
 
+  GNULIB_RENAME=0;               
72545
 
+  GNULIB_RENAMEAT=0;             
72546
 
+  GNULIB_SCANF=0;                
72547
 
+  GNULIB_SNPRINTF=0;             
72548
 
+  GNULIB_SPRINTF_POSIX=0;        
72549
 
+  GNULIB_STDIO_H_NONBLOCKING=0;  
72550
 
+  GNULIB_STDIO_H_SIGPIPE=0;      
72551
 
+  GNULIB_TMPFILE=0;              
72552
 
+  GNULIB_VASPRINTF=0;            
72553
 
+  GNULIB_VFSCANF=0;              
72554
 
+  GNULIB_VSCANF=0;               
72555
 
+  GNULIB_VDPRINTF=0;             
72556
 
+  GNULIB_VFPRINTF=0;             
72557
 
+  GNULIB_VFPRINTF_POSIX=0;       
72558
 
+  GNULIB_VPRINTF=0;              
72559
 
+  GNULIB_VPRINTF_POSIX=0;        
72560
 
+  GNULIB_VSNPRINTF=0;            
72561
 
+  GNULIB_VSPRINTF_POSIX=0;       
72562
 
+    HAVE_DECL_FPURGE=1;            
72563
 
+  HAVE_DECL_FSEEKO=1;            
72564
 
+  HAVE_DECL_FTELLO=1;            
72565
 
+  HAVE_DECL_GETDELIM=1;          
72566
 
+  HAVE_DECL_GETLINE=1;           
72567
 
+  HAVE_DECL_OBSTACK_PRINTF=1;    
72568
 
+  HAVE_DECL_SNPRINTF=1;          
72569
 
+  HAVE_DECL_VSNPRINTF=1;         
72570
 
+  HAVE_DPRINTF=1;                
72571
 
+  HAVE_FSEEKO=1;                 
72572
 
+  HAVE_FTELLO=1;                 
72573
 
+  HAVE_RENAMEAT=1;               
72574
 
+  HAVE_VASPRINTF=1;              
72575
 
+  HAVE_VDPRINTF=1;               
72576
 
+  REPLACE_DPRINTF=0;             
72577
 
+  REPLACE_FCLOSE=0;              
72578
 
+  REPLACE_FFLUSH=0;              
72579
 
+  REPLACE_FOPEN=0;               
72580
 
+  REPLACE_FPRINTF=0;             
72581
 
+  REPLACE_FPURGE=0;              
72582
 
+  REPLACE_FREOPEN=0;             
72583
 
+  REPLACE_FSEEK=0;               
72584
 
+  REPLACE_FSEEKO=0;              
72585
 
+  REPLACE_FTELL=0;               
72586
 
+  REPLACE_FTELLO=0;              
72587
 
+  REPLACE_GETDELIM=0;            
72588
 
+  REPLACE_GETLINE=0;             
72589
 
+  REPLACE_OBSTACK_PRINTF=0;      
72590
 
+  REPLACE_PERROR=0;              
72591
 
+  REPLACE_POPEN=0;               
72592
 
+  REPLACE_PRINTF=0;              
72593
 
+  REPLACE_REMOVE=0;              
72594
 
+  REPLACE_RENAME=0;              
72595
 
+  REPLACE_RENAMEAT=0;            
72596
 
+  REPLACE_SNPRINTF=0;            
72597
 
+  REPLACE_SPRINTF=0;             
72598
 
+  REPLACE_STDIO_READ_FUNCS=0;    
72599
 
+  REPLACE_STDIO_WRITE_FUNCS=0;   
72600
 
+  REPLACE_TMPFILE=0;             
72601
 
+  REPLACE_VASPRINTF=0;           
72602
 
+  REPLACE_VDPRINTF=0;            
72603
 
+  REPLACE_VFPRINTF=0;            
72604
 
+  REPLACE_VPRINTF=0;             
72605
 
+  REPLACE_VSNPRINTF=0;           
72606
 
+  REPLACE_VSPRINTF=0;            
72607
 
+
72608
 
+
72609
 
+
72610
 
+
72611
 
+        
72612
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5
72613
 
+$as_echo_n "checking for working fcntl.h... " >&6; }
72614
 
+if ${gl_cv_header_working_fcntl_h+:} false; then :
72615
 
+  $as_echo_n "(cached) " >&6
72616
 
+else
72617
 
+  if test "$cross_compiling" = yes; then :
72618
 
+  gl_cv_header_working_fcntl_h=cross-compiling
72619
 
+else
72620
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72621
 
+/* end confdefs.h.  */
72622
 
+#include <sys/types.h>
72623
 
+           #include <sys/stat.h>
72624
 
+           #include <unistd.h>
72625
 
+           #include <fcntl.h>
72626
 
+           #ifndef O_NOATIME
72627
 
+            #define O_NOATIME 0
72628
 
+           #endif
72629
 
+           #ifndef O_NOFOLLOW
72630
 
+            #define O_NOFOLLOW 0
72631
 
+           #endif
72632
 
+           static int const constants[] =
72633
 
+            {
72634
 
+              O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
72635
 
+              O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
72636
 
+            };
72637
 
+          
72638
 
+int
72639
 
+main ()
72640
 
+{
72641
 
+
72642
 
+            int result = !constants;
72643
 
+            {
72644
 
+              static char const sym[] = "conftest.sym";
72645
 
+              if (symlink (".", sym) != 0)
72646
 
+                result |= 2;
72647
 
+              else
72648
 
+                {
72649
 
+                  int fd = open (sym, O_RDONLY | O_NOFOLLOW);
72650
 
+                  if (fd >= 0)
72651
 
+                    {
72652
 
+                      close (fd);
72653
 
+                      result |= 4;
72654
 
+                    }
72655
 
+                }
72656
 
+              unlink (sym);
72657
 
+            }
72658
 
+            {
72659
 
+              static char const file[] = "confdefs.h";
72660
 
+              int fd = open (file, O_RDONLY | O_NOATIME);
72661
 
+              if (fd < 0)
72662
 
+                result |= 8;
72663
 
+              else
72664
 
+                {
72665
 
+                  struct stat st0;
72666
 
+                  if (fstat (fd, &st0) != 0)
72667
 
+                    result |= 16;
72668
 
+                  else
72669
 
+                    {
72670
 
+                      char c;
72671
 
+                      sleep (1);
72672
 
+                      if (read (fd, &c, 1) != 1)
72673
 
+                        result |= 24;
72674
 
+                      else
72675
 
+                        {
72676
 
+                          if (close (fd) != 0)
72677
 
+                            result |= 32;
72678
 
+                          else
72679
 
+                            {
72680
 
+                              struct stat st1;
72681
 
+                              if (stat (file, &st1) != 0)
72682
 
+                                result |= 40;
72683
 
+                              else
72684
 
+                                if (st0.st_atime != st1.st_atime)
72685
 
+                                  result |= 64;
72686
 
+                            }
72687
 
+                        }
72688
 
+                    }
72689
 
+                }
72690
 
+            }
72691
 
+            return result;
72692
 
+  ;
72693
 
+  return 0;
72694
 
+}
72695
 
+_ACEOF
72696
 
+if ac_fn_c_try_run "$LINENO"; then :
72697
 
+  gl_cv_header_working_fcntl_h=yes
72698
 
+else
72699
 
+  case $? in #(
72700
 
+        4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #(
72701
 
+        64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #(
72702
 
+        68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #(
72703
 
+         *) gl_cv_header_working_fcntl_h='no';;
72704
 
+        esac
72705
 
+fi
72706
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
72707
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
72708
 
+fi
72709
 
+
72710
 
+fi
72711
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5
72712
 
+$as_echo "$gl_cv_header_working_fcntl_h" >&6; }
72713
 
+
72714
 
+  case $gl_cv_header_working_fcntl_h in #(
72715
 
+  *O_NOATIME* | no | cross-compiling) ac_val=0;; #(
72716
 
+  *) ac_val=1;;
72717
 
+  esac
72718
 
+  
72719
 
+cat >>confdefs.h <<_ACEOF
72720
 
+@%:@define HAVE_WORKING_O_NOATIME $ac_val
72721
 
+_ACEOF
72722
 
+
72723
 
+
72724
 
+  case $gl_cv_header_working_fcntl_h in #(
72725
 
+  *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #(
72726
 
+  *) ac_val=1;;
72727
 
+  esac
72728
 
+  
72729
 
+cat >>confdefs.h <<_ACEOF
72730
 
+@%:@define HAVE_WORKING_O_NOFOLLOW $ac_val
72731
 
+_ACEOF
72732
 
+
72733
 
+
72734
 
+
72735
 
+
72736
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_dm_mode in struct stat" >&5
72737
 
+$as_echo_n "checking for st_dm_mode in struct stat... " >&6; }
72738
 
+if ${ac_cv_struct_st_dm_mode+:} false; then :
72739
 
+  $as_echo_n "(cached) " >&6
72740
 
+else
72741
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72742
 
+/* end confdefs.h.  */
72743
 
+
72744
 
+#include <sys/types.h>
72745
 
+#include <sys/stat.h>
72746
 
+int
72747
 
+main ()
72748
 
+{
72749
 
+struct stat s; s.st_dm_mode;
72750
 
+  ;
72751
 
+  return 0;
72752
 
+}
72753
 
+_ACEOF
72754
 
+if ac_fn_c_try_compile "$LINENO"; then :
72755
 
+  ac_cv_struct_st_dm_mode=yes
72756
 
+else
72757
 
+  ac_cv_struct_st_dm_mode=no
72758
 
+fi
72759
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72760
 
+fi
72761
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_st_dm_mode" >&5
72762
 
+$as_echo "$ac_cv_struct_st_dm_mode" >&6; }
72763
 
+
72764
 
+  if test $ac_cv_struct_st_dm_mode = yes; then
72765
 
+    
72766
 
+$as_echo "@%:@define HAVE_ST_DM_MODE 1" >>confdefs.h
72767
 
+
72768
 
+  fi
72769
 
72770
 
+
72771
 
+ac_fn_c_check_decl "$LINENO" "strmode" "ac_cv_have_decl_strmode" "$ac_includes_default"
72772
 
+if test "x$ac_cv_have_decl_strmode" = xyes; then :
72773
 
+  ac_have_decl=1
72774
 
+else
72775
 
+  ac_have_decl=0
72776
 
+fi
72777
 
+
72778
 
+cat >>confdefs.h <<_ACEOF
72779
 
+@%:@define HAVE_DECL_STRMODE $ac_have_decl
72780
 
+_ACEOF
72781
 
+
72782
 
+
72783
 
+
72784
 
+
72785
 
+    
72786
 
+
72787
 
+
72788
 
+    
72789
 
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
72790
 
+$as_echo_n "checking for mbstate_t... " >&6; }
72791
 
+if ${ac_cv_type_mbstate_t+:} false; then :
72792
 
+  $as_echo_n "(cached) " >&6
72793
 
+else
72794
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72795
 
+/* end confdefs.h.  */
72796
 
+$ac_includes_default
72797
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
72798
 
+   <wchar.h>.
72799
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
72800
 
+   included before <wchar.h>.  */
72801
 
+#include <stddef.h>
72802
 
+#include <stdio.h>
72803
 
+#include <time.h>
72804
 
+#include <wchar.h>
72805
 
+int
72806
 
+main ()
72807
 
+{
72808
 
+mbstate_t x; return sizeof x;
72809
 
+  ;
72810
 
+  return 0;
72811
 
+}
72812
 
+_ACEOF
72813
 
+if ac_fn_c_try_compile "$LINENO"; then :
72814
 
+  ac_cv_type_mbstate_t=yes
72815
 
+else
72816
 
+  ac_cv_type_mbstate_t=no
72817
 
+fi
72818
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72819
 
+fi
72820
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
72821
 
+$as_echo "$ac_cv_type_mbstate_t" >&6; }
72822
 
+   if test $ac_cv_type_mbstate_t = yes; then
72823
 
+     
72824
 
+$as_echo "@%:@define HAVE_MBSTATE_T 1" >>confdefs.h
72825
 
+
72826
 
+   else
72827
 
+     
72828
 
+$as_echo "@%:@define mbstate_t int" >>confdefs.h
72829
 
+
72830
 
+   fi
72831
 
+
72832
 
+
72833
 
+
72834
 
+
72835
 
+
72836
 
+
72837
 
+
72838
 
+
72839
 
+
72840
 
+
72841
 
+
72842
 
+
72843
 
+
72844
 
+
72845
 
+
72846
 
+
72847
 
+
72848
 
+
72849
 
+
72850
 
+
72851
 
+
72852
 
+
72853
 
+
72854
 
+
72855
 
+
72856
 
+
72857
 
+  GNULIB_ACOSL=0;    
72858
 
+  GNULIB_ASINL=0;    
72859
 
+  GNULIB_ATANL=0;    
72860
 
+  GNULIB_CEIL=0;     
72861
 
+  GNULIB_CEILF=0;    
72862
 
+  GNULIB_CEILL=0;    
72863
 
+  GNULIB_COSL=0;     
72864
 
+  GNULIB_EXPL=0;     
72865
 
+  GNULIB_FLOOR=0;    
72866
 
+  GNULIB_FLOORF=0;   
72867
 
+  GNULIB_FLOORL=0;   
72868
 
+  GNULIB_FREXP=0;    
72869
 
+  GNULIB_FREXPL=0;   
72870
 
+  GNULIB_ISFINITE=0; 
72871
 
+  GNULIB_ISINF=0;    
72872
 
+  GNULIB_ISNAN=0;    
72873
 
+  GNULIB_ISNANF=0;   
72874
 
+  GNULIB_ISNAND=0;   
72875
 
+  GNULIB_ISNANL=0;   
72876
 
+  GNULIB_LDEXPL=0;   
72877
 
+  GNULIB_LOGB=0;     
72878
 
+  GNULIB_LOGL=0;     
72879
 
+  GNULIB_ROUND=0;    
72880
 
+  GNULIB_ROUNDF=0;   
72881
 
+  GNULIB_ROUNDL=0;   
72882
 
+  GNULIB_SIGNBIT=0;  
72883
 
+  GNULIB_SINL=0;     
72884
 
+  GNULIB_SQRTL=0;    
72885
 
+  GNULIB_TANL=0;     
72886
 
+  GNULIB_TRUNC=0;    
72887
 
+  GNULIB_TRUNCF=0;   
72888
 
+  GNULIB_TRUNCL=0;   
72889
 
+    HAVE_ACOSL=1;                
72890
 
+  HAVE_ASINL=1;                
72891
 
+  HAVE_ATANL=1;                
72892
 
+  HAVE_COSL=1;                 
72893
 
+  HAVE_EXPL=1;                 
72894
 
+  HAVE_ISNANF=1;               
72895
 
+  HAVE_ISNAND=1;               
72896
 
+  HAVE_ISNANL=1;               
72897
 
+  HAVE_LOGL=1;                 
72898
 
+  HAVE_SINL=1;                 
72899
 
+  HAVE_SQRTL=1;                
72900
 
+  HAVE_TANL=1;                 
72901
 
+  HAVE_DECL_ACOSL=1;           
72902
 
+  HAVE_DECL_ASINL=1;           
72903
 
+  HAVE_DECL_ATANL=1;           
72904
 
+  HAVE_DECL_CEILF=1;           
72905
 
+  HAVE_DECL_CEILL=1;           
72906
 
+  HAVE_DECL_COSL=1;            
72907
 
+  HAVE_DECL_EXPL=1;            
72908
 
+  HAVE_DECL_FLOORF=1;          
72909
 
+  HAVE_DECL_FLOORL=1;          
72910
 
+  HAVE_DECL_FREXPL=1;          
72911
 
+  HAVE_DECL_LDEXPL=1;          
72912
 
+  HAVE_DECL_LOGB=1;            
72913
 
+  HAVE_DECL_LOGL=1;            
72914
 
+  HAVE_DECL_ROUND=1;           
72915
 
+  HAVE_DECL_ROUNDF=1;          
72916
 
+  HAVE_DECL_ROUNDL=1;          
72917
 
+  HAVE_DECL_SINL=1;            
72918
 
+  HAVE_DECL_SQRTL=1;           
72919
 
+  HAVE_DECL_TANL=1;            
72920
 
+  HAVE_DECL_TRUNC=1;           
72921
 
+  HAVE_DECL_TRUNCF=1;          
72922
 
+  HAVE_DECL_TRUNCL=1;          
72923
 
+  REPLACE_CEIL=0;              
72924
 
+  REPLACE_CEILF=0;             
72925
 
+  REPLACE_CEILL=0;             
72926
 
+  REPLACE_FLOOR=0;             
72927
 
+  REPLACE_FLOORF=0;            
72928
 
+  REPLACE_FLOORL=0;            
72929
 
+  REPLACE_FREXP=0;             
72930
 
+  REPLACE_FREXPL=0;            
72931
 
+  REPLACE_HUGE_VAL=0;          
72932
 
+  REPLACE_ISFINITE=0;          
72933
 
+  REPLACE_ISINF=0;             
72934
 
+  REPLACE_ISNAN=0;             
72935
 
+  REPLACE_LDEXPL=0;            
72936
 
+  REPLACE_NAN=0;               
72937
 
+  REPLACE_ROUND=0;             
72938
 
+  REPLACE_ROUNDF=0;            
72939
 
+  REPLACE_ROUNDL=0;            
72940
 
+  REPLACE_SIGNBIT=0;           
72941
 
+  REPLACE_SIGNBIT_USING_GCC=0; 
72942
 
+  REPLACE_TRUNC=0;             
72943
 
+  REPLACE_TRUNCF=0;            
72944
 
+  REPLACE_TRUNCL=0;            
72945
 
+
72946
 
+
72947
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp() can be used without linking with libm" >&5
72948
 
+$as_echo_n "checking whether frexp() can be used without linking with libm... " >&6; }
72949
 
+if ${gl_cv_func_frexp_no_libm+:} false; then :
72950
 
+  $as_echo_n "(cached) " >&6
72951
 
+else
72952
 
+  
72953
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72954
 
+/* end confdefs.h.  */
72955
 
+#include <math.h>
72956
 
+             double x;
72957
 
+int
72958
 
+main ()
72959
 
+{
72960
 
+int e; return frexp (x, &e) > 0;
72961
 
+  ;
72962
 
+  return 0;
72963
 
+}
72964
 
+_ACEOF
72965
 
+if ac_fn_c_try_link "$LINENO"; then :
72966
 
+  gl_cv_func_frexp_no_libm=yes
72967
 
+else
72968
 
+  gl_cv_func_frexp_no_libm=no
72969
 
+fi
72970
 
+rm -f core conftest.err conftest.$ac_objext \
72971
 
+    conftest$ac_exeext conftest.$ac_ext
72972
 
+    
72973
 
+fi
72974
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_no_libm" >&5
72975
 
+$as_echo "$gl_cv_func_frexp_no_libm" >&6; }
72976
 
+
72977
 
+
72978
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdin defaults to large file offsets" >&5
72979
 
+$as_echo_n "checking whether stdin defaults to large file offsets... " >&6; }
72980
 
+if ${gl_cv_var_stdin_large_offset+:} false; then :
72981
 
+  $as_echo_n "(cached) " >&6
72982
 
+else
72983
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72984
 
+/* end confdefs.h.  */
72985
 
+#include <stdio.h>
72986
 
+int
72987
 
+main ()
72988
 
+{
72989
 
+#if defined __SL64 && defined __SCLE /* cygwin */
72990
 
+  /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making
72991
 
+     fseeko/ftello needlessly fail.  This bug was fixed in 1.5.25, and
72992
 
+     it is easier to do a version check than building a runtime test.  */
72993
 
+# include <cygwin/version.h>
72994
 
+# if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25)
72995
 
+  choke me
72996
 
+# endif
72997
 
+#endif
72998
 
+  ;
72999
 
+  return 0;
73000
 
+}
73001
 
+_ACEOF
73002
 
+if ac_fn_c_try_link "$LINENO"; then :
73003
 
+  gl_cv_var_stdin_large_offset=yes
73004
 
+else
73005
 
+  gl_cv_var_stdin_large_offset=no
73006
 
+fi
73007
 
+rm -f core conftest.err conftest.$ac_objext \
73008
 
+    conftest$ac_exeext conftest.$ac_ext
73009
 
+fi
73010
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var_stdin_large_offset" >&5
73011
 
+$as_echo "$gl_cv_var_stdin_large_offset" >&6; }
73012
 
+
73013
 
+ac_fn_c_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default"
73014
 
+if test "x$ac_cv_have_decl_fseeko" = xyes; then :
73015
 
+  ac_have_decl=1
73016
 
+else
73017
 
+  ac_have_decl=0
73018
 
+fi
73019
 
+
73020
 
+cat >>confdefs.h <<_ACEOF
73021
 
+@%:@define HAVE_DECL_FSEEKO $ac_have_decl
73022
 
+_ACEOF
73023
 
+
73024
 
+
73025
 
+  
73026
 
+  
73027
 
+  
73028
 
+
73029
 
+    
73030
 
+
73031
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5
73032
 
+$as_echo_n "checking for fseeko... " >&6; }
73033
 
+if ${gl_cv_func_fseeko+:} false; then :
73034
 
+  $as_echo_n "(cached) " >&6
73035
 
+else
73036
 
+  
73037
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73038
 
+/* end confdefs.h.  */
73039
 
+#include <stdio.h>
73040
 
+
73041
 
+int
73042
 
+main ()
73043
 
+{
73044
 
+fseeko (stdin, 0, 0);
73045
 
+  ;
73046
 
+  return 0;
73047
 
+}
73048
 
+_ACEOF
73049
 
+if ac_fn_c_try_link "$LINENO"; then :
73050
 
+  gl_cv_func_fseeko=yes
73051
 
+else
73052
 
+  gl_cv_func_fseeko=no
73053
 
+fi
73054
 
+rm -f core conftest.err conftest.$ac_objext \
73055
 
+    conftest$ac_exeext conftest.$ac_ext
73056
 
+    
73057
 
+fi
73058
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fseeko" >&5
73059
 
+$as_echo "$gl_cv_func_fseeko" >&6; }
73060
 
+
73061
 
+  
73062
 
+  if test $ac_cv_have_decl_fseeko = no; then
73063
 
+    HAVE_DECL_FSEEKO=0
73064
 
+  fi
73065
 
+
73066
 
+  if test $gl_cv_func_fseeko = no; then
73067
 
+    HAVE_FSEEKO=0
73068
 
+  else
73069
 
+    if test $gl_cv_var_stdin_large_offset = no; then
73070
 
+      REPLACE_FSEEKO=1
73071
 
+    fi
73072
 
+    
73073
 
+      
73074
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5
73075
 
+$as_echo_n "checking whether fflush works on input streams... " >&6; }
73076
 
+if ${gl_cv_func_fflush_stdin+:} false; then :
73077
 
+  $as_echo_n "(cached) " >&6
73078
 
+else
73079
 
+  echo hello world > conftest.txt
73080
 
+     if test "$cross_compiling" = yes; then :
73081
 
+        gl_cv_func_fflush_stdin=no
73082
 
+else
73083
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73084
 
+/* end confdefs.h.  */
73085
 
+
73086
 
+#include <stdio.h>
73087
 
+#include <unistd.h>
73088
 
+       
73089
 
+int
73090
 
+main ()
73091
 
+{
73092
 
+FILE *f = fopen ("conftest.txt", "r");
73093
 
+         char buffer[10];
73094
 
+         int fd;
73095
 
+         int c;
73096
 
+         if (f == NULL)
73097
 
+           return 1;
73098
 
+         fd = fileno (f);
73099
 
+         if (fd < 0 || fread (buffer, 1, 5, f) != 5)
73100
 
+           return 2;
73101
 
+         /* For deterministic results, ensure f read a bigger buffer.  */
73102
 
+         if (lseek (fd, 0, SEEK_CUR) == 5)
73103
 
+           return 3;
73104
 
+         /* POSIX requires fflush-fseek to set file offset of fd.  This fails
73105
 
+            on BSD systems and on mingw.  */
73106
 
+         if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0)
73107
 
+           return 4;
73108
 
+         if (lseek (fd, 0, SEEK_CUR) != 5)
73109
 
+           return 5;
73110
 
+         /* Verify behaviour of fflush after ungetc. See
73111
 
+            <http://www.opengroup.org/austin/aardvark/latest/xshbug3.txt>  */
73112
 
+         /* Verify behaviour of fflush after a backup ungetc.  This fails on
73113
 
+            mingw.  */
73114
 
+         c = fgetc (f);
73115
 
+         ungetc (c, f);
73116
 
+         fflush (f);
73117
 
+         if (fgetc (f) != c)
73118
 
+           return 6;
73119
 
+         /* Verify behaviour of fflush after a non-backup ungetc.  This fails
73120
 
+            on glibc 2.8 and on BSD systems.  */
73121
 
+         c = fgetc (f);
73122
 
+         ungetc ('@', f);
73123
 
+         fflush (f);
73124
 
+         if (fgetc (f) != c)
73125
 
+           return 7;
73126
 
+         return 0;
73127
 
+       
73128
 
+  ;
73129
 
+  return 0;
73130
 
+}
73131
 
+_ACEOF
73132
 
+if ac_fn_c_try_run "$LINENO"; then :
73133
 
+  gl_cv_func_fflush_stdin=yes
73134
 
+else
73135
 
+  gl_cv_func_fflush_stdin=no
73136
 
+fi
73137
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
73138
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
73139
 
+fi
73140
 
+
73141
 
+     rm conftest.txt
73142
 
+    
73143
 
+fi
73144
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5
73145
 
+$as_echo "$gl_cv_func_fflush_stdin" >&6; }
73146
 
+
73147
 
+      if test $gl_cv_func_fflush_stdin = no; then
73148
 
+        REPLACE_FSEEKO=1
73149
 
+      fi
73150
 
+    
73151
 
+  fi
73152
 
+
73153
 
+
73154
 
+
73155
 
+
73156
 
+
73157
 
+
73158
 
+
73159
 
+ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default"
73160
 
+if test "x$ac_cv_have_decl_ftello" = xyes; then :
73161
 
+  ac_have_decl=1
73162
 
+else
73163
 
+  ac_have_decl=0
73164
 
+fi
73165
 
+
73166
 
+cat >>confdefs.h <<_ACEOF
73167
 
+@%:@define HAVE_DECL_FTELLO $ac_have_decl
73168
 
+_ACEOF
73169
 
+
73170
 
+
73171
 
+  
73172
 
+  
73173
 
+  
73174
 
+
73175
 
+    
73176
 
+
73177
 
+  
73178
 
+  if test $ac_cv_have_decl_ftello = no; then
73179
 
+    HAVE_DECL_FTELLO=0
73180
 
+  fi
73181
 
+
73182
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftello" >&5
73183
 
+$as_echo_n "checking for ftello... " >&6; }
73184
 
+if ${gl_cv_func_ftello+:} false; then :
73185
 
+  $as_echo_n "(cached) " >&6
73186
 
+else
73187
 
+  
73188
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73189
 
+/* end confdefs.h.  */
73190
 
+#include <stdio.h>
73191
 
+int
73192
 
+main ()
73193
 
+{
73194
 
+ftello (stdin);
73195
 
+  ;
73196
 
+  return 0;
73197
 
+}
73198
 
+_ACEOF
73199
 
+if ac_fn_c_try_link "$LINENO"; then :
73200
 
+  gl_cv_func_ftello=yes
73201
 
+else
73202
 
+  gl_cv_func_ftello=no
73203
 
+fi
73204
 
+rm -f core conftest.err conftest.$ac_objext \
73205
 
+    conftest$ac_exeext conftest.$ac_ext
73206
 
+    
73207
 
+fi
73208
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello" >&5
73209
 
+$as_echo "$gl_cv_func_ftello" >&6; }
73210
 
+  if test $gl_cv_func_ftello = no; then
73211
 
+    HAVE_FTELLO=0
73212
 
+  else
73213
 
+    if test $gl_cv_var_stdin_large_offset = no; then
73214
 
+      REPLACE_FTELLO=1
73215
 
+    else
73216
 
+                                    
73217
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ftello works" >&5
73218
 
+$as_echo_n "checking whether ftello works... " >&6; }
73219
 
+if ${gl_cv_func_ftello_works+:} false; then :
73220
 
+  $as_echo_n "(cached) " >&6
73221
 
+else
73222
 
+  
73223
 
+                              case "$host_os" in
73224
 
+                      # Guess no on Solaris.
73225
 
+            solaris*) gl_cv_func_ftello_works="guessing no" ;;
73226
 
+                      # Guess yes otherwise.
73227
 
+            *)        gl_cv_func_ftello_works="guessing yes" ;;
73228
 
+          esac
73229
 
+          if test "$cross_compiling" = yes; then :
73230
 
+  :
73231
 
+else
73232
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73233
 
+/* end confdefs.h.  */
73234
 
+
73235
 
+#include <stdio.h>
73236
 
+#include <stdlib.h>
73237
 
+#include <string.h>
73238
 
+#define TESTFILE "conftest.tmp"
73239
 
+int
73240
 
+main (void)
73241
 
+{
73242
 
+  FILE *fp;
73243
 
+
73244
 
+  /* Create a file with some contents.  */
73245
 
+  fp = fopen (TESTFILE, "w");
73246
 
+  if (fp == NULL)
73247
 
+    return 70;
73248
 
+  if (fwrite ("foogarsh", 1, 8, fp) < 8)
73249
 
+    return 71;
73250
 
+  if (fclose (fp))
73251
 
+    return 72;
73252
 
+
73253
 
+  /* The file's contents is now "foogarsh".  */
73254
 
+
73255
 
+  /* Try writing after reading to EOF.  */
73256
 
+  fp = fopen (TESTFILE, "r+");
73257
 
+  if (fp == NULL)
73258
 
+    return 73;
73259
 
+  if (fseek (fp, -1, SEEK_END))
73260
 
+    return 74;
73261
 
+  if (!(getc (fp) == 'h'))
73262
 
+    return 1;
73263
 
+  if (!(getc (fp) == EOF))
73264
 
+    return 2;
73265
 
+  if (!(ftell (fp) == 8))
73266
 
+    return 3;
73267
 
+  if (!(ftell (fp) == 8))
73268
 
+    return 4;
73269
 
+  if (!(putc ('!', fp) == '!'))
73270
 
+    return 5;
73271
 
+  if (!(ftell (fp) == 9))
73272
 
+    return 6;
73273
 
+  if (!(fclose (fp) == 0))
73274
 
+    return 7;
73275
 
+  fp = fopen (TESTFILE, "r");
73276
 
+  if (fp == NULL)
73277
 
+    return 75;
73278
 
+  {
73279
 
+    char buf[10];
73280
 
+    if (!(fread (buf, 1, 10, fp) == 9))
73281
 
+      return 10;
73282
 
+    if (!(memcmp (buf, "foogarsh!", 9) == 0))
73283
 
+      return 11;
73284
 
+  }
73285
 
+  if (!(fclose (fp) == 0))
73286
 
+    return 12;
73287
 
+
73288
 
+  /* The file's contents is now "foogarsh!".  */
73289
 
+
73290
 
+  return 0;
73291
 
+}
73292
 
+_ACEOF
73293
 
+if ac_fn_c_try_run "$LINENO"; then :
73294
 
+  gl_cv_func_ftello_works=yes
73295
 
+else
73296
 
+  gl_cv_func_ftello_works=no
73297
 
+fi
73298
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
73299
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
73300
 
+fi
73301
 
+
73302
 
+        
73303
 
+fi
73304
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello_works" >&5
73305
 
+$as_echo "$gl_cv_func_ftello_works" >&6; }
73306
 
+      case "$gl_cv_func_ftello_works" in
73307
 
+        *yes) ;;
73308
 
+        *)
73309
 
+          REPLACE_FTELLO=1
73310
 
+          
73311
 
+$as_echo "@%:@define FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE 1" >>confdefs.h
73312
 
+
73313
 
+          ;;
73314
 
+      esac
73315
 
+    fi
73316
 
+  fi
73317
 
+
73318
 
+
73319
 
+
73320
 
+
73321
 
+
73322
 
+
73323
 
+
73324
 
+
73325
 
+  GNULIB_SOCKET=0;      
73326
 
+  GNULIB_CONNECT=0;     
73327
 
+  GNULIB_ACCEPT=0;      
73328
 
+  GNULIB_BIND=0;        
73329
 
+  GNULIB_GETPEERNAME=0; 
73330
 
+  GNULIB_GETSOCKNAME=0; 
73331
 
+  GNULIB_GETSOCKOPT=0;  
73332
 
+  GNULIB_LISTEN=0;      
73333
 
+  GNULIB_RECV=0;        
73334
 
+  GNULIB_SEND=0;        
73335
 
+  GNULIB_RECVFROM=0;    
73336
 
+  GNULIB_SENDTO=0;      
73337
 
+  GNULIB_SETSOCKOPT=0;  
73338
 
+  GNULIB_SHUTDOWN=0;    
73339
 
+  GNULIB_ACCEPT4=0;     
73340
 
+  HAVE_STRUCT_SOCKADDR_STORAGE=1; 
73341
 
+  HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=1;
73342
 
+                        
73343
 
+  HAVE_SA_FAMILY_T=1;   
73344
 
+  HAVE_ACCEPT4=1;       
73345
 
+
73346
 
+
73347
 
+   if test $ac_cv_header_sys_socket_h = no; then
73348
 
+                         for ac_header in ws2tcpip.h
73349
 
+do :
73350
 
+  ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default"
73351
 
+if test "x$ac_cv_header_ws2tcpip_h" = xyes; then :
73352
 
+  cat >>confdefs.h <<_ACEOF
73353
 
+@%:@define HAVE_WS2TCPIP_H 1
73354
 
+_ACEOF
73355
 
73356
 
+fi
73357
 
+
73358
 
+done
73359
 
+
73360
 
+   fi
73361
 
+  
73362
 
+
73363
 
+  
73364
 
+  
73365
 
+  
73366
 
+
73367
 
+        case "$host_os" in
73368
 
+    osf*)
73369
 
+      
73370
 
+$as_echo "@%:@define _POSIX_PII_SOCKET 1" >>confdefs.h
73371
 
+
73372
 
+      ;;
73373
 
+  esac
73374
 
+
73375
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/socket.h> is self-contained" >&5
73376
 
+$as_echo_n "checking whether <sys/socket.h> is self-contained... " >&6; }
73377
 
+if ${gl_cv_header_sys_socket_h_selfcontained+:} false; then :
73378
 
+  $as_echo_n "(cached) " >&6
73379
 
+else
73380
 
+  
73381
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73382
 
+/* end confdefs.h.  */
73383
 
+#include <sys/socket.h>
73384
 
+int
73385
 
+main ()
73386
 
+{
73387
 
+
73388
 
+  ;
73389
 
+  return 0;
73390
 
+}
73391
 
+_ACEOF
73392
 
+if ac_fn_c_try_compile "$LINENO"; then :
73393
 
+  gl_cv_header_sys_socket_h_selfcontained=yes
73394
 
+else
73395
 
+  gl_cv_header_sys_socket_h_selfcontained=no
73396
 
+fi
73397
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73398
 
+    
73399
 
+fi
73400
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5
73401
 
+$as_echo "$gl_cv_header_sys_socket_h_selfcontained" >&6; }
73402
 
+  if test $gl_cv_header_sys_socket_h_selfcontained = yes; then
73403
 
+            for ac_func in shutdown
73404
 
+do :
73405
 
+  ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown"
73406
 
+if test "x$ac_cv_func_shutdown" = xyes; then :
73407
 
+  cat >>confdefs.h <<_ACEOF
73408
 
+@%:@define HAVE_SHUTDOWN 1
73409
 
+_ACEOF
73410
 
73411
 
+fi
73412
 
+done
73413
 
+
73414
 
+    if test $ac_cv_func_shutdown = yes; then
73415
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/socket.h> defines the SHUT_* macros" >&5
73416
 
+$as_echo_n "checking whether <sys/socket.h> defines the SHUT_* macros... " >&6; }
73417
 
+if ${gl_cv_header_sys_socket_h_shut+:} false; then :
73418
 
+  $as_echo_n "(cached) " >&6
73419
 
+else
73420
 
+  
73421
 
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73422
 
+/* end confdefs.h.  */
73423
 
+#include <sys/socket.h>
73424
 
+int
73425
 
+main ()
73426
 
+{
73427
 
+int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR };
73428
 
+  ;
73429
 
+  return 0;
73430
 
+}
73431
 
+_ACEOF
73432
 
+if ac_fn_c_try_compile "$LINENO"; then :
73433
 
+  gl_cv_header_sys_socket_h_shut=yes
73434
 
+else
73435
 
+  gl_cv_header_sys_socket_h_shut=no
73436
 
+fi
73437
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73438
 
+        
73439
 
+fi
73440
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5
73441
 
+$as_echo "$gl_cv_header_sys_socket_h_shut" >&6; }
73442
 
+      if test $gl_cv_header_sys_socket_h_shut = no; then
73443
 
+        SYS_SOCKET_H='sys/socket.h'
73444
 
+      fi
73445
 
+    fi
73446
 
+  fi
73447
 
+  # We need to check for ws2tcpip.h now.
73448
 
+  
73449
 
+    
73450
 
+  
73451
 
+  
73452
 
+  
73453
 
+  
73454
 
+
73455
 
+  
73456
 
+    
73457
 
+
73458
 
+  
73459
 
+     if test $gl_cv_have_include_next = yes; then
73460
 
+       gl_cv_next_sys_socket_h='<'sys/socket.h'>'
73461
 
+     else
73462
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/socket.h>" >&5
73463
 
+$as_echo_n "checking absolute name of <sys/socket.h>... " >&6; }
73464
 
+if ${gl_cv_next_sys_socket_h+:} false; then :
73465
 
+  $as_echo_n "(cached) " >&6
73466
 
+else
73467
 
+  
73468
 
+             if test $ac_cv_header_sys_socket_h = yes; then
73469
 
+             
73470
 
+            
73471
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73472
 
+/* end confdefs.h.  */
73473
 
+#include <sys/socket.h>
73474
 
+                  
73475
 
+_ACEOF
73476
 
+                                                                                                                        case "$host_os" in
73477
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
73478
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
73479
 
+               esac
73480
 
+                                                            gl_cv_next_sys_socket_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
73481
 
+                  sed -n '\#/sys/socket.h#{
73482
 
+                    s#.*"\(.*/sys/socket.h\)".*#\1#
73483
 
+                    s#^/[^/]#//&#
73484
 
+                    p
73485
 
+                    q
73486
 
+                  }'`'"'
73487
 
+          else
73488
 
+               gl_cv_next_sys_socket_h='<'sys/socket.h'>'
73489
 
+             fi
73490
 
+            
73491
 
+         
73492
 
+fi
73493
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5
73494
 
+$as_echo "$gl_cv_next_sys_socket_h" >&6; }
73495
 
+     fi
73496
 
+     NEXT_SYS_SOCKET_H=$gl_cv_next_sys_socket_h
73497
 
+
73498
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
73499
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
73500
 
+       gl_next_as_first_directive='<'sys/socket.h'>'
73501
 
+     else
73502
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
73503
 
+       gl_next_as_first_directive=$gl_cv_next_sys_socket_h
73504
 
+     fi
73505
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H=$gl_next_as_first_directive
73506
 
+
73507
 
+     
73508
 
+
73509
 
+
73510
 
+  if test $ac_cv_header_sys_socket_h = yes; then
73511
 
+    HAVE_SYS_SOCKET_H=1
73512
 
+    HAVE_WS2TCPIP_H=0
73513
 
+  else
73514
 
+    HAVE_SYS_SOCKET_H=0
73515
 
+    if test $ac_cv_header_ws2tcpip_h = yes; then
73516
 
+      HAVE_WS2TCPIP_H=1
73517
 
+    else
73518
 
+      HAVE_WS2TCPIP_H=0
73519
 
+    fi
73520
 
+  fi
73521
 
+  
73522
 
+  
73523
 
+
73524
 
+  ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
73525
 
+  /* sys/types.h is not needed according to POSIX, but the
73526
 
+     sys/socket.h in i386-unknown-freebsd4.10 and
73527
 
+     powerpc-apple-darwin5.5 required it. */
73528
 
+#include <sys/types.h>
73529
 
+#ifdef HAVE_SYS_SOCKET_H
73530
 
+#include <sys/socket.h>
73531
 
+#endif
73532
 
+#ifdef HAVE_WS2TCPIP_H
73533
 
+#include <ws2tcpip.h>
73534
 
+#endif
73535
 
+
73536
 
+"
73537
 
+if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
73538
 
+  
73539
 
+cat >>confdefs.h <<_ACEOF
73540
 
+@%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1
73541
 
+_ACEOF
73542
 
+
73543
 
+
73544
 
+fi
73545
 
+ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" "
73546
 
+  /* sys/types.h is not needed according to POSIX, but the
73547
 
+     sys/socket.h in i386-unknown-freebsd4.10 and
73548
 
+     powerpc-apple-darwin5.5 required it. */
73549
 
+#include <sys/types.h>
73550
 
+#ifdef HAVE_SYS_SOCKET_H
73551
 
+#include <sys/socket.h>
73552
 
+#endif
73553
 
+#ifdef HAVE_WS2TCPIP_H
73554
 
+#include <ws2tcpip.h>
73555
 
+#endif
73556
 
+
73557
 
+"
73558
 
+if test "x$ac_cv_type_sa_family_t" = xyes; then :
73559
 
+  
73560
 
+cat >>confdefs.h <<_ACEOF
73561
 
+@%:@define HAVE_SA_FAMILY_T 1
73562
 
+_ACEOF
73563
 
+
73564
 
+
73565
 
+fi
73566
 
+
73567
 
+  if test $ac_cv_type_struct_sockaddr_storage = no; then
73568
 
+    HAVE_STRUCT_SOCKADDR_STORAGE=0
73569
 
+  fi
73570
 
+  if test $ac_cv_type_sa_family_t = no; then
73571
 
+    HAVE_SA_FAMILY_T=0
73572
 
+  fi
73573
 
+  if test $ac_cv_type_struct_sockaddr_storage != no; then
73574
 
+    ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "#include <sys/types.h>
73575
 
+       #ifdef HAVE_SYS_SOCKET_H
73576
 
+       #include <sys/socket.h>
73577
 
+       #endif
73578
 
+       #ifdef HAVE_WS2TCPIP_H
73579
 
+       #include <ws2tcpip.h>
73580
 
+       #endif
73581
 
+      
73582
 
+"
73583
 
+if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then :
73584
 
+  
73585
 
+cat >>confdefs.h <<_ACEOF
73586
 
+@%:@define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
73587
 
+_ACEOF
73588
 
+
73589
 
+
73590
 
+else
73591
 
+  HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=0
73592
 
+fi
73593
 
+
73594
 
+  fi
73595
 
+  if test $HAVE_STRUCT_SOCKADDR_STORAGE = 0 || test $HAVE_SA_FAMILY_T = 0 \
73596
 
+     || test $HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = 0; then
73597
 
+    SYS_SOCKET_H='sys/socket.h'
73598
 
+  fi
73599
 
+  
73600
 
+  
73601
 
+  
73602
 
+  
73603
 
+  if test $ac_cv_header_sys_socket_h != yes; then
73604
 
+                    for ac_header in winsock2.h
73605
 
+do :
73606
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
73607
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
73608
 
+  cat >>confdefs.h <<_ACEOF
73609
 
+@%:@define HAVE_WINSOCK2_H 1
73610
 
+_ACEOF
73611
 
73612
 
+fi
73613
 
+
73614
 
+done
73615
 
+
73616
 
+  fi
73617
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
73618
 
+    HAVE_WINSOCK2_H=1
73619
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
73620
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
73621
 
+  else
73622
 
+    HAVE_WINSOCK2_H=0
73623
 
+  fi
73624
 
+  
73625
 
+
73626
 
+
73627
 
+      
73628
 
+    for gl_func in socket connect accept bind getpeername getsockname getsockopt     listen recv send recvfrom sendto setsockopt shutdown accept4; do
73629
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
73630
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
73631
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
73632
 
+if eval \${$as_gl_Symbol+:} false; then :
73633
 
+  $as_echo_n "(cached) " >&6
73634
 
+else
73635
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73636
 
+/* end confdefs.h.  */
73637
 
+
73638
 
+/* Some systems require prerequisite headers.  */
73639
 
+#include <sys/types.h>
73640
 
+#include <sys/socket.h>
73641
 
+    
73642
 
+int
73643
 
+main ()
73644
 
+{
73645
 
+@%:@undef $gl_func
73646
 
+  (void) $gl_func;
73647
 
+  ;
73648
 
+  return 0;
73649
 
+}
73650
 
+_ACEOF
73651
 
+if ac_fn_c_try_compile "$LINENO"; then :
73652
 
+  eval "$as_gl_Symbol=yes"
73653
 
+else
73654
 
+  eval "$as_gl_Symbol=no"
73655
 
+fi
73656
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73657
 
+fi
73658
 
+eval ac_res=\$$as_gl_Symbol
73659
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
73660
 
+$as_echo "$ac_res" >&6; }
73661
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
73662
 
+  cat >>confdefs.h <<_ACEOF
73663
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
73664
 
+_ACEOF
73665
 
+
73666
 
+                     eval ac_cv_have_decl_$gl_func=yes
73667
 
+fi
73668
 
+      done
73669
 
+
73670
 
+
73671
 
+
73672
 
+  GNULIB_GETADDRINFO=0; 
73673
 
+    HAVE_STRUCT_ADDRINFO=1;   
73674
 
+  HAVE_DECL_FREEADDRINFO=1; 
73675
 
+  HAVE_DECL_GAI_STRERROR=1; 
73676
 
+  HAVE_DECL_GETADDRINFO=1;  
73677
 
+  HAVE_DECL_GETNAMEINFO=1;  
73678
 
+  REPLACE_GAI_STRERROR=0;   
73679
 
+
73680
 
+
73681
 
+
73682
 
+
73683
 
+  
73684
 
+  
73685
 
+  
73686
 
+  
73687
 
+  
73688
 
+
73689
 
+  
73690
 
+    
73691
 
+
73692
 
+  
73693
 
+     if test $gl_cv_have_include_next = yes; then
73694
 
+       gl_cv_next_netdb_h='<'netdb.h'>'
73695
 
+     else
73696
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <netdb.h>" >&5
73697
 
+$as_echo_n "checking absolute name of <netdb.h>... " >&6; }
73698
 
+if ${gl_cv_next_netdb_h+:} false; then :
73699
 
+  $as_echo_n "(cached) " >&6
73700
 
+else
73701
 
+  
73702
 
+             if test $ac_cv_header_netdb_h = yes; then
73703
 
+             
73704
 
+            
73705
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73706
 
+/* end confdefs.h.  */
73707
 
+#include <netdb.h>
73708
 
+                  
73709
 
+_ACEOF
73710
 
+                                                                                                                        case "$host_os" in
73711
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
73712
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
73713
 
+               esac
73714
 
+                                                            gl_cv_next_netdb_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
73715
 
+                  sed -n '\#/netdb.h#{
73716
 
+                    s#.*"\(.*/netdb.h\)".*#\1#
73717
 
+                    s#^/[^/]#//&#
73718
 
+                    p
73719
 
+                    q
73720
 
+                  }'`'"'
73721
 
+          else
73722
 
+               gl_cv_next_netdb_h='<'netdb.h'>'
73723
 
+             fi
73724
 
+            
73725
 
+         
73726
 
+fi
73727
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5
73728
 
+$as_echo "$gl_cv_next_netdb_h" >&6; }
73729
 
+     fi
73730
 
+     NEXT_NETDB_H=$gl_cv_next_netdb_h
73731
 
+
73732
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
73733
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
73734
 
+       gl_next_as_first_directive='<'netdb.h'>'
73735
 
+     else
73736
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
73737
 
+       gl_next_as_first_directive=$gl_cv_next_netdb_h
73738
 
+     fi
73739
 
+     NEXT_AS_FIRST_DIRECTIVE_NETDB_H=$gl_next_as_first_directive
73740
 
+
73741
 
+     
73742
 
+
73743
 
+
73744
 
+  if test $ac_cv_header_netdb_h = yes; then
73745
 
+    HAVE_NETDB_H=1
73746
 
+  else
73747
 
+    HAVE_NETDB_H=0
73748
 
+  fi
73749
 
+  
73750
 
+
73751
 
+      
73752
 
+    for gl_func in getaddrinfo freeaddrinfo gai_strerror getnameinfo; do
73753
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
73754
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
73755
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
73756
 
+if eval \${$as_gl_Symbol+:} false; then :
73757
 
+  $as_echo_n "(cached) " >&6
73758
 
+else
73759
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73760
 
+/* end confdefs.h.  */
73761
 
+#include <netdb.h>
73762
 
+int
73763
 
+main ()
73764
 
+{
73765
 
+@%:@undef $gl_func
73766
 
+  (void) $gl_func;
73767
 
+  ;
73768
 
+  return 0;
73769
 
+}
73770
 
+_ACEOF
73771
 
+if ac_fn_c_try_compile "$LINENO"; then :
73772
 
+  eval "$as_gl_Symbol=yes"
73773
 
+else
73774
 
+  eval "$as_gl_Symbol=no"
73775
 
+fi
73776
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73777
 
+fi
73778
 
+eval ac_res=\$$as_gl_Symbol
73779
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
73780
 
+$as_echo "$ac_res" >&6; }
73781
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
73782
 
+  cat >>confdefs.h <<_ACEOF
73783
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
73784
 
+_ACEOF
73785
 
+
73786
 
+                     eval ac_cv_have_decl_$gl_func=yes
73787
 
+fi
73788
 
+      done
73789
 
+
73790
 
+
73791
 
+
73792
 
+                  HOSTENT_LIB=
73793
 
+  gl_saved_libs="$LIBS"
73794
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
73795
 
+$as_echo_n "checking for library containing gethostbyname... " >&6; }
73796
 
+if ${ac_cv_search_gethostbyname+:} false; then :
73797
 
+  $as_echo_n "(cached) " >&6
73798
 
+else
73799
 
+  ac_func_search_save_LIBS=$LIBS
73800
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73801
 
+/* end confdefs.h.  */
73802
 
+
73803
 
+/* Override any GCC internal prototype to avoid an error.
73804
 
+   Use char because int might match the return type of a GCC
73805
 
+   builtin and then its argument prototype would still apply.  */
73806
 
+#ifdef __cplusplus
73807
 
+extern "C"
73808
 
+#endif
73809
 
+char gethostbyname ();
73810
 
+int
73811
 
+main ()
73812
 
+{
73813
 
+return gethostbyname ();
73814
 
+  ;
73815
 
+  return 0;
73816
 
+}
73817
 
+_ACEOF
73818
 
+for ac_lib in '' nsl network net; do
73819
 
+  if test -z "$ac_lib"; then
73820
 
+    ac_res="none required"
73821
 
+  else
73822
 
+    ac_res=-l$ac_lib
73823
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
73824
 
+  fi
73825
 
+  if ac_fn_c_try_link "$LINENO"; then :
73826
 
+  ac_cv_search_gethostbyname=$ac_res
73827
 
+fi
73828
 
+rm -f core conftest.err conftest.$ac_objext \
73829
 
+    conftest$ac_exeext
73830
 
+  if ${ac_cv_search_gethostbyname+:} false; then :
73831
 
+  break
73832
 
+fi
73833
 
+done
73834
 
+if ${ac_cv_search_gethostbyname+:} false; then :
73835
 
+  
73836
 
+else
73837
 
+  ac_cv_search_gethostbyname=no
73838
 
+fi
73839
 
+rm conftest.$ac_ext
73840
 
+LIBS=$ac_func_search_save_LIBS
73841
 
+fi
73842
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
73843
 
+$as_echo "$ac_cv_search_gethostbyname" >&6; }
73844
 
+ac_res=$ac_cv_search_gethostbyname
73845
 
+if test "$ac_res" != no; then :
73846
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
73847
 
+  if test "$ac_cv_search_gethostbyname" != "none required"; then
73848
 
+       HOSTENT_LIB="$ac_cv_search_gethostbyname"
73849
 
+     fi
73850
 
+fi
73851
 
+
73852
 
+  LIBS="$gl_saved_libs"
73853
 
+  if test -z "$HOSTENT_LIB"; then
73854
 
+    for ac_func in gethostbyname
73855
 
+do :
73856
 
+  ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
73857
 
+if test "x$ac_cv_func_gethostbyname" = xyes; then :
73858
 
+  cat >>confdefs.h <<_ACEOF
73859
 
+@%:@define HAVE_GETHOSTBYNAME 1
73860
 
+_ACEOF
73861
 
73862
 
+else
73863
 
+  
73864
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5
73865
 
+$as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; }
73866
 
+if ${gl_cv_w32_gethostbyname+:} false; then :
73867
 
+  $as_echo_n "(cached) " >&6
73868
 
+else
73869
 
+  gl_cv_w32_gethostbyname=no
73870
 
+         gl_save_LIBS="$LIBS"
73871
 
+         LIBS="$LIBS -lws2_32"
73872
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73873
 
+/* end confdefs.h.  */
73874
 
+
73875
 
+#ifdef HAVE_WINSOCK2_H
73876
 
+#include <winsock2.h>
73877
 
+#endif
73878
 
+#include <stddef.h>
73879
 
+              
73880
 
+int
73881
 
+main ()
73882
 
+{
73883
 
+gethostbyname(NULL);
73884
 
+  ;
73885
 
+  return 0;
73886
 
+}
73887
 
+_ACEOF
73888
 
+if ac_fn_c_try_link "$LINENO"; then :
73889
 
+  gl_cv_w32_gethostbyname=yes
73890
 
+fi
73891
 
+rm -f core conftest.err conftest.$ac_objext \
73892
 
+    conftest$ac_exeext conftest.$ac_ext
73893
 
+         LIBS="$gl_save_LIBS"
73894
 
+        
73895
 
+fi
73896
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostbyname" >&5
73897
 
+$as_echo "$gl_cv_w32_gethostbyname" >&6; }
73898
 
+      if test "$gl_cv_w32_gethostbyname" = "yes"; then
73899
 
+        HOSTENT_LIB="-lws2_32"
73900
 
+      fi
73901
 
+    
73902
 
+fi
73903
 
+done
73904
 
+
73905
 
+  fi
73906
 
+  
73907
 
+
73908
 
+
73909
 
+                      SERVENT_LIB=
73910
 
+  gl_saved_libs="$LIBS"
73911
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5
73912
 
+$as_echo_n "checking for library containing getservbyname... " >&6; }
73913
 
+if ${ac_cv_search_getservbyname+:} false; then :
73914
 
+  $as_echo_n "(cached) " >&6
73915
 
+else
73916
 
+  ac_func_search_save_LIBS=$LIBS
73917
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73918
 
+/* end confdefs.h.  */
73919
 
+
73920
 
+/* Override any GCC internal prototype to avoid an error.
73921
 
+   Use char because int might match the return type of a GCC
73922
 
+   builtin and then its argument prototype would still apply.  */
73923
 
+#ifdef __cplusplus
73924
 
+extern "C"
73925
 
+#endif
73926
 
+char getservbyname ();
73927
 
+int
73928
 
+main ()
73929
 
+{
73930
 
+return getservbyname ();
73931
 
+  ;
73932
 
+  return 0;
73933
 
+}
73934
 
+_ACEOF
73935
 
+for ac_lib in '' socket network net; do
73936
 
+  if test -z "$ac_lib"; then
73937
 
+    ac_res="none required"
73938
 
+  else
73939
 
+    ac_res=-l$ac_lib
73940
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
73941
 
+  fi
73942
 
+  if ac_fn_c_try_link "$LINENO"; then :
73943
 
+  ac_cv_search_getservbyname=$ac_res
73944
 
+fi
73945
 
+rm -f core conftest.err conftest.$ac_objext \
73946
 
+    conftest$ac_exeext
73947
 
+  if ${ac_cv_search_getservbyname+:} false; then :
73948
 
+  break
73949
 
+fi
73950
 
+done
73951
 
+if ${ac_cv_search_getservbyname+:} false; then :
73952
 
+  
73953
 
+else
73954
 
+  ac_cv_search_getservbyname=no
73955
 
+fi
73956
 
+rm conftest.$ac_ext
73957
 
+LIBS=$ac_func_search_save_LIBS
73958
 
+fi
73959
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5
73960
 
+$as_echo "$ac_cv_search_getservbyname" >&6; }
73961
 
+ac_res=$ac_cv_search_getservbyname
73962
 
+if test "$ac_res" != no; then :
73963
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
73964
 
+  if test "$ac_cv_search_getservbyname" != "none required"; then
73965
 
+       SERVENT_LIB="$ac_cv_search_getservbyname"
73966
 
+     fi
73967
 
+fi
73968
 
+
73969
 
+  LIBS="$gl_saved_libs"
73970
 
+  if test -z "$SERVENT_LIB"; then
73971
 
+    for ac_func in getservbyname
73972
 
+do :
73973
 
+  ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
73974
 
+if test "x$ac_cv_func_getservbyname" = xyes; then :
73975
 
+  cat >>confdefs.h <<_ACEOF
73976
 
+@%:@define HAVE_GETSERVBYNAME 1
73977
 
+_ACEOF
73978
 
73979
 
+else
73980
 
+  
73981
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5
73982
 
+$as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; }
73983
 
+if ${gl_cv_w32_getservbyname+:} false; then :
73984
 
+  $as_echo_n "(cached) " >&6
73985
 
+else
73986
 
+  gl_cv_w32_getservbyname=no
73987
 
+         gl_save_LIBS="$LIBS"
73988
 
+         LIBS="$LIBS -lws2_32"
73989
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73990
 
+/* end confdefs.h.  */
73991
 
+
73992
 
+#ifdef HAVE_WINSOCK2_H
73993
 
+#include <winsock2.h>
73994
 
+#endif
73995
 
+#include <stddef.h>
73996
 
+              
73997
 
+int
73998
 
+main ()
73999
 
+{
74000
 
+getservbyname(NULL,NULL);
74001
 
+  ;
74002
 
+  return 0;
74003
 
+}
74004
 
+_ACEOF
74005
 
+if ac_fn_c_try_link "$LINENO"; then :
74006
 
+  gl_cv_w32_getservbyname=yes
74007
 
+fi
74008
 
+rm -f core conftest.err conftest.$ac_objext \
74009
 
+    conftest$ac_exeext conftest.$ac_ext
74010
 
+         LIBS="$gl_save_LIBS"
74011
 
+        
74012
 
+fi
74013
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getservbyname" >&5
74014
 
+$as_echo "$gl_cv_w32_getservbyname" >&6; }
74015
 
+      if test "$gl_cv_w32_getservbyname" = "yes"; then
74016
 
+        SERVENT_LIB="-lws2_32"
74017
 
+      fi
74018
 
+    
74019
 
+fi
74020
 
+done
74021
 
+
74022
 
+  fi
74023
 
+  
74024
 
+
74025
 
+
74026
 
+    
74027
 
+
74028
 
+      HAVE_INET_NTOP=1
74029
 
+  gl_save_LIBS=$LIBS
74030
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
74031
 
+$as_echo_n "checking for library containing inet_ntop... " >&6; }
74032
 
+if ${ac_cv_search_inet_ntop+:} false; then :
74033
 
+  $as_echo_n "(cached) " >&6
74034
 
+else
74035
 
+  ac_func_search_save_LIBS=$LIBS
74036
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74037
 
+/* end confdefs.h.  */
74038
 
+
74039
 
+/* Override any GCC internal prototype to avoid an error.
74040
 
+   Use char because int might match the return type of a GCC
74041
 
+   builtin and then its argument prototype would still apply.  */
74042
 
+#ifdef __cplusplus
74043
 
+extern "C"
74044
 
+#endif
74045
 
+char inet_ntop ();
74046
 
+int
74047
 
+main ()
74048
 
+{
74049
 
+return inet_ntop ();
74050
 
+  ;
74051
 
+  return 0;
74052
 
+}
74053
 
+_ACEOF
74054
 
+for ac_lib in '' nsl; do
74055
 
+  if test -z "$ac_lib"; then
74056
 
+    ac_res="none required"
74057
 
+  else
74058
 
+    ac_res=-l$ac_lib
74059
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
74060
 
+  fi
74061
 
+  if ac_fn_c_try_link "$LINENO"; then :
74062
 
+  ac_cv_search_inet_ntop=$ac_res
74063
 
+fi
74064
 
+rm -f core conftest.err conftest.$ac_objext \
74065
 
+    conftest$ac_exeext
74066
 
+  if ${ac_cv_search_inet_ntop+:} false; then :
74067
 
+  break
74068
 
+fi
74069
 
+done
74070
 
+if ${ac_cv_search_inet_ntop+:} false; then :
74071
 
+  
74072
 
+else
74073
 
+  ac_cv_search_inet_ntop=no
74074
 
+fi
74075
 
+rm conftest.$ac_ext
74076
 
+LIBS=$ac_func_search_save_LIBS
74077
 
+fi
74078
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5
74079
 
+$as_echo "$ac_cv_search_inet_ntop" >&6; }
74080
 
+ac_res=$ac_cv_search_inet_ntop
74081
 
+if test "$ac_res" != no; then :
74082
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
74083
 
+  
74084
 
+else
74085
 
+  for ac_func in inet_ntop
74086
 
+do :
74087
 
+  ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
74088
 
+if test "x$ac_cv_func_inet_ntop" = xyes; then :
74089
 
+  cat >>confdefs.h <<_ACEOF
74090
 
+@%:@define HAVE_INET_NTOP 1
74091
 
+_ACEOF
74092
 
74093
 
+fi
74094
 
+done
74095
 
+
74096
 
+     if test $ac_cv_func_inet_ntop = no; then
74097
 
+       HAVE_INET_NTOP=0
74098
 
+     fi
74099
 
+    
74100
 
+fi
74101
 
+
74102
 
+  LIBS=$gl_save_LIBS
74103
 
+
74104
 
+  INET_NTOP_LIB=
74105
 
+  if test "$ac_cv_search_inet_ntop" != "no" &&
74106
 
+     test "$ac_cv_search_inet_ntop" != "none required"; then
74107
 
+    INET_NTOP_LIB="$ac_cv_search_inet_ntop"
74108
 
+  fi
74109
 
+  
74110
 
+
74111
 
+  
74112
 
+  ac_fn_c_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include <arpa/inet.h>
74113
 
+     #if HAVE_NETDB_H
74114
 
+     # include <netdb.h>
74115
 
+     #endif
74116
 
+    
74117
 
+"
74118
 
+if test "x$ac_cv_have_decl_inet_ntop" = xyes; then :
74119
 
+  ac_have_decl=1
74120
 
+else
74121
 
+  ac_have_decl=0
74122
 
+fi
74123
 
+
74124
 
+cat >>confdefs.h <<_ACEOF
74125
 
+@%:@define HAVE_DECL_INET_NTOP $ac_have_decl
74126
 
+_ACEOF
74127
 
+
74128
 
+  if test $ac_cv_have_decl_inet_ntop = no; then
74129
 
+    HAVE_DECL_INET_NTOP=0
74130
 
+    
74131
 
+  fi
74132
 
+
74133
 
+
74134
 
+
74135
 
+
74136
 
+  
74137
 
+  
74138
 
+
74139
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv4 sockets" >&5
74140
 
+$as_echo_n "checking for IPv4 sockets... " >&6; }
74141
 
+  if ${gl_cv_socket_ipv4+:} false; then :
74142
 
+  $as_echo_n "(cached) " >&6
74143
 
+else
74144
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74145
 
+/* end confdefs.h.  */
74146
 
+#include <sys/types.h>
74147
 
+#ifdef HAVE_SYS_SOCKET_H
74148
 
+#include <sys/socket.h>
74149
 
+#endif
74150
 
+#ifdef HAVE_NETINET_IN_H
74151
 
+#include <netinet/in.h>
74152
 
+#endif
74153
 
+#ifdef HAVE_WINSOCK2_H
74154
 
+#include <winsock2.h>
74155
 
+#endif
74156
 
+int
74157
 
+main ()
74158
 
+{
74159
 
+int x = AF_INET; struct in_addr y; struct sockaddr_in z;
74160
 
+ if (&x && &y && &z) return 0;
74161
 
+  ;
74162
 
+  return 0;
74163
 
+}
74164
 
+_ACEOF
74165
 
+if ac_fn_c_try_compile "$LINENO"; then :
74166
 
+  gl_cv_socket_ipv4=yes
74167
 
+else
74168
 
+  gl_cv_socket_ipv4=no
74169
 
+fi
74170
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74171
 
+fi
74172
 
+
74173
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv4" >&5
74174
 
+$as_echo "$gl_cv_socket_ipv4" >&6; }
74175
 
+  if test $gl_cv_socket_ipv4 = yes; then
74176
 
+    
74177
 
+$as_echo "@%:@define HAVE_IPV4 1" >>confdefs.h
74178
 
+
74179
 
+  fi
74180
 
+
74181
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv6 sockets" >&5
74182
 
+$as_echo_n "checking for IPv6 sockets... " >&6; }
74183
 
+  if ${gl_cv_socket_ipv6+:} false; then :
74184
 
+  $as_echo_n "(cached) " >&6
74185
 
+else
74186
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74187
 
+/* end confdefs.h.  */
74188
 
+#include <sys/types.h>
74189
 
+#ifdef HAVE_SYS_SOCKET_H
74190
 
+#include <sys/socket.h>
74191
 
+#endif
74192
 
+#ifdef HAVE_NETINET_IN_H
74193
 
+#include <netinet/in.h>
74194
 
+#endif
74195
 
+#ifdef HAVE_WINSOCK2_H
74196
 
+#include <winsock2.h>
74197
 
+#endif
74198
 
+#ifdef HAVE_WS2TCPIP_H
74199
 
+#include <ws2tcpip.h>
74200
 
+#endif
74201
 
+int
74202
 
+main ()
74203
 
+{
74204
 
+int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z;
74205
 
+ if (&x && &y && &z) return 0;
74206
 
+  ;
74207
 
+  return 0;
74208
 
+}
74209
 
+_ACEOF
74210
 
+if ac_fn_c_try_compile "$LINENO"; then :
74211
 
+  gl_cv_socket_ipv6=yes
74212
 
+else
74213
 
+  gl_cv_socket_ipv6=no
74214
 
+fi
74215
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74216
 
+fi
74217
 
+
74218
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socket_ipv6" >&5
74219
 
+$as_echo "$gl_cv_socket_ipv6" >&6; }
74220
 
+  if test $gl_cv_socket_ipv6 = yes; then
74221
 
+    
74222
 
+$as_echo "@%:@define HAVE_IPV6 1" >>confdefs.h
74223
 
+
74224
 
+  fi
74225
 
+
74226
 
+
74227
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getcwd (NULL, 0) allocates memory for result" >&5
74228
 
+$as_echo_n "checking whether getcwd (NULL, 0) allocates memory for result... " >&6; }
74229
 
+if ${gl_cv_func_getcwd_null+:} false; then :
74230
 
+  $as_echo_n "(cached) " >&6
74231
 
+else
74232
 
+  if test "$cross_compiling" = yes; then :
74233
 
+  
74234
 
+       case "$host_os" in
74235
 
+                               # Guess yes on glibc systems.
74236
 
+         *-gnu*)               gl_cv_func_getcwd_null="guessing yes";;
74237
 
+                               # Guess yes on Cygwin.
74238
 
+         cygwin*)              gl_cv_func_getcwd_null="guessing yes";;
74239
 
+                               # If we don't know, assume the worst.
74240
 
+         *)                    gl_cv_func_getcwd_null="guessing no";;
74241
 
+       esac
74242
 
+        
74243
 
+else
74244
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74245
 
+/* end confdefs.h.  */
74246
 
+
74247
 
+#        include <unistd.h>
74248
 
+#        ifndef getcwd
74249
 
+         char *getcwd ();
74250
 
+#        endif
74251
 
+
74252
 
+int
74253
 
+main ()
74254
 
+{
74255
 
+
74256
 
+#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
74257
 
+/* mingw cwd does not start with '/', but getcwd does allocate.
74258
 
+   However, mingw fails to honor non-zero size.  */
74259
 
+#else
74260
 
+           if (chdir ("/") != 0)
74261
 
+             return 1;
74262
 
+           else
74263
 
+             {
74264
 
+               char *f = getcwd (NULL, 0);
74265
 
+               if (! f)
74266
 
+                 return 2;
74267
 
+               if (f[0] != '/')
74268
 
+                 return 3;
74269
 
+               if (f[1] != '\0')
74270
 
+                 return 4;
74271
 
+               return 0;
74272
 
+             }
74273
 
+#endif
74274
 
+         
74275
 
+  ;
74276
 
+  return 0;
74277
 
+}
74278
 
+_ACEOF
74279
 
+if ac_fn_c_try_run "$LINENO"; then :
74280
 
+  gl_cv_func_getcwd_null=yes
74281
 
+else
74282
 
+  gl_cv_func_getcwd_null=no
74283
 
+fi
74284
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
74285
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
74286
 
+fi
74287
 
+
74288
 
+fi
74289
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_null" >&5
74290
 
+$as_echo "$gl_cv_func_getcwd_null" >&6; }
74291
 
+
74292
 
+
74293
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getcwd with POSIX signature" >&5
74294
 
+$as_echo_n "checking for getcwd with POSIX signature... " >&6; }
74295
 
+if ${gl_cv_func_getcwd_posix_signature+:} false; then :
74296
 
+  $as_echo_n "(cached) " >&6
74297
 
+else
74298
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74299
 
+/* end confdefs.h.  */
74300
 
+#include <unistd.h>
74301
 
+int
74302
 
+main ()
74303
 
+{
74304
 
+extern
74305
 
+           #ifdef __cplusplus
74306
 
+           "C"
74307
 
+           #endif
74308
 
+           char *getcwd (char *, size_t);
74309
 
+         
74310
 
+  ;
74311
 
+  return 0;
74312
 
+}
74313
 
+      
74314
 
+_ACEOF
74315
 
+if ac_fn_c_try_compile "$LINENO"; then :
74316
 
+  gl_cv_func_getcwd_posix_signature=yes
74317
 
+else
74318
 
+  gl_cv_func_getcwd_posix_signature=no
74319
 
+fi
74320
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74321
 
+   
74322
 
+fi
74323
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_posix_signature" >&5
74324
 
+$as_echo "$gl_cv_func_getcwd_posix_signature" >&6; }
74325
 
+
74326
 
+ac_fn_c_check_decl "$LINENO" "getcwd" "ac_cv_have_decl_getcwd" "$ac_includes_default"
74327
 
+if test "x$ac_cv_have_decl_getcwd" = xyes; then :
74328
 
+  ac_have_decl=1
74329
 
+else
74330
 
+  ac_have_decl=0
74331
 
+fi
74332
 
+
74333
 
+cat >>confdefs.h <<_ACEOF
74334
 
+@%:@define HAVE_DECL_GETCWD $ac_have_decl
74335
 
+_ACEOF
74336
 
+
74337
 
+ac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" "$ac_includes_default"
74338
 
+if test "x$ac_cv_have_decl_getdelim" = xyes; then :
74339
 
+  ac_have_decl=1
74340
 
+else
74341
 
+  ac_have_decl=0
74342
 
+fi
74343
 
+
74344
 
+cat >>confdefs.h <<_ACEOF
74345
 
+@%:@define HAVE_DECL_GETDELIM $ac_have_decl
74346
 
+_ACEOF
74347
 
+
74348
 
+
74349
 
+
74350
 
+
74351
 
+
74352
 
+
74353
 
+  
74354
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arithmetic hrtime_t" >&5
74355
 
+$as_echo_n "checking for arithmetic hrtime_t... " >&6; }
74356
 
+if ${gl_cv_arithmetic_hrtime_t+:} false; then :
74357
 
+  $as_echo_n "(cached) " >&6
74358
 
+else
74359
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74360
 
+/* end confdefs.h.  */
74361
 
+#include <time.h>
74362
 
+int
74363
 
+main ()
74364
 
+{
74365
 
+hrtime_t x = 0; return x/x;
74366
 
+  ;
74367
 
+  return 0;
74368
 
+}
74369
 
+_ACEOF
74370
 
+if ac_fn_c_try_compile "$LINENO"; then :
74371
 
+  gl_cv_arithmetic_hrtime_t=yes
74372
 
+else
74373
 
+  gl_cv_arithmetic_hrtime_t=no
74374
 
+fi
74375
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74376
 
+fi
74377
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_arithmetic_hrtime_t" >&5
74378
 
+$as_echo "$gl_cv_arithmetic_hrtime_t" >&6; }
74379
 
+  if test $gl_cv_arithmetic_hrtime_t = yes; then
74380
 
+    
74381
 
+$as_echo "@%:@define HAVE_ARITHMETIC_HRTIME_T 1" >>confdefs.h
74382
 
+
74383
 
+  fi
74384
 
+
74385
 
+
74386
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
74387
 
+$as_echo_n "checking for unsigned long long int... " >&6; }
74388
 
+if ${ac_cv_type_unsigned_long_long_int+:} false; then :
74389
 
+  $as_echo_n "(cached) " >&6
74390
 
+else
74391
 
+  ac_cv_type_unsigned_long_long_int=yes
74392
 
+     if test "x${ac_cv_prog_cc_c99-no}" = xno; then
74393
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74394
 
+/* end confdefs.h.  */
74395
 
+
74396
 
+  /* For now, do not test the preprocessor; as of 2007 there are too many
74397
 
+         implementations with broken preprocessors.  Perhaps this can
74398
 
+         be revisited in 2012.  In the meantime, code should not expect
74399
 
+         #if to work with literals wider than 32 bits.  */
74400
 
+      /* Test literals.  */
74401
 
+      long long int ll = 9223372036854775807ll;
74402
 
+      long long int nll = -9223372036854775807LL;
74403
 
+      unsigned long long int ull = 18446744073709551615ULL;
74404
 
+      /* Test constant expressions.   */
74405
 
+      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
74406
 
+                     ? 1 : -1)];
74407
 
+      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
74408
 
+                     ? 1 : -1)];
74409
 
+      int i = 63;
74410
 
+int
74411
 
+main ()
74412
 
+{
74413
 
+/* Test availability of runtime routines for shift and division.  */
74414
 
+      long long int llmax = 9223372036854775807ll;
74415
 
+      unsigned long long int ullmax = 18446744073709551615ull;
74416
 
+      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
74417
 
+              | (llmax / ll) | (llmax % ll)
74418
 
+              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
74419
 
+              | (ullmax / ull) | (ullmax % ull));
74420
 
+  ;
74421
 
+  return 0;
74422
 
+}
74423
 
+
74424
 
+_ACEOF
74425
 
+if ac_fn_c_try_link "$LINENO"; then :
74426
 
+  
74427
 
+else
74428
 
+  ac_cv_type_unsigned_long_long_int=no
74429
 
+fi
74430
 
+rm -f core conftest.err conftest.$ac_objext \
74431
 
+    conftest$ac_exeext conftest.$ac_ext
74432
 
+     fi
74433
 
+fi
74434
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
74435
 
+$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
74436
 
+  if test $ac_cv_type_unsigned_long_long_int = yes; then
74437
 
+    
74438
 
+$as_echo "@%:@define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
74439
 
+
74440
 
+  fi
74441
 
+
74442
 
+
74443
 
+  
74444
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
74445
 
+$as_echo_n "checking for long long int... " >&6; }
74446
 
+if ${ac_cv_type_long_long_int+:} false; then :
74447
 
+  $as_echo_n "(cached) " >&6
74448
 
+else
74449
 
+  ac_cv_type_long_long_int=yes
74450
 
+      if test "x${ac_cv_prog_cc_c99-no}" = xno; then
74451
 
+        ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
74452
 
+        if test $ac_cv_type_long_long_int = yes; then
74453
 
+                                        if test "$cross_compiling" = yes; then :
74454
 
+  :
74455
 
+else
74456
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74457
 
+/* end confdefs.h.  */
74458
 
+@%:@include <limits.h>
74459
 
+                 @%:@ifndef LLONG_MAX
74460
 
+                 @%:@ define HALF \
74461
 
+                          (1LL << (sizeof (long long int) * CHAR_BIT - 2))
74462
 
+                 @%:@ define LLONG_MAX (HALF - 1 + HALF)
74463
 
+                 @%:@endif
74464
 
+int
74465
 
+main ()
74466
 
+{
74467
 
+long long int n = 1;
74468
 
+                 int i;
74469
 
+                 for (i = 0; ; i++)
74470
 
+                   {
74471
 
+                     long long int m = n << i;
74472
 
+                     if (m >> i != n)
74473
 
+                       return 1;
74474
 
+                     if (LLONG_MAX / 2 < m)
74475
 
+                       break;
74476
 
+                   }
74477
 
+                 return 0;
74478
 
+  ;
74479
 
+  return 0;
74480
 
+}
74481
 
+_ACEOF
74482
 
+if ac_fn_c_try_run "$LINENO"; then :
74483
 
+  
74484
 
+else
74485
 
+  ac_cv_type_long_long_int=no
74486
 
+fi
74487
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
74488
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
74489
 
+fi
74490
 
+
74491
 
+        fi
74492
 
+      fi
74493
 
+fi
74494
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
74495
 
+$as_echo "$ac_cv_type_long_long_int" >&6; }
74496
 
+  if test $ac_cv_type_long_long_int = yes; then
74497
 
+    
74498
 
+$as_echo "@%:@define HAVE_LONG_LONG_INT 1" >>confdefs.h
74499
 
+
74500
 
+  fi
74501
 
+
74502
 
+
74503
 
+  
74504
 
+  
74505
 
+  :
74506
 
+
74507
 
+
74508
 
+
74509
 
+
74510
 
+
74511
 
+ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "$ac_includes_default"
74512
 
+if test "x$ac_cv_have_decl_getline" = xyes; then :
74513
 
+  ac_have_decl=1
74514
 
+else
74515
 
+  ac_have_decl=0
74516
 
+fi
74517
 
+
74518
 
+cat >>confdefs.h <<_ACEOF
74519
 
+@%:@define HAVE_DECL_GETLINE $ac_have_decl
74520
 
+_ACEOF
74521
 
+
74522
 
+
74523
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
74524
 
+$as_echo_n "checking for ssize_t... " >&6; }
74525
 
+if ${gt_cv_ssize_t+:} false; then :
74526
 
+  $as_echo_n "(cached) " >&6
74527
 
+else
74528
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74529
 
+/* end confdefs.h.  */
74530
 
+#include <sys/types.h>
74531
 
+int
74532
 
+main ()
74533
 
+{
74534
 
+int x = sizeof (ssize_t *) + sizeof (ssize_t);
74535
 
+            return !x;
74536
 
+  ;
74537
 
+  return 0;
74538
 
+}
74539
 
+_ACEOF
74540
 
+if ac_fn_c_try_compile "$LINENO"; then :
74541
 
+  gt_cv_ssize_t=yes
74542
 
+else
74543
 
+  gt_cv_ssize_t=no
74544
 
+fi
74545
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74546
 
+fi
74547
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5
74548
 
+$as_echo "$gt_cv_ssize_t" >&6; }
74549
 
+  if test $gt_cv_ssize_t = no; then
74550
 
+    
74551
 
+$as_echo "@%:@define ssize_t int" >>confdefs.h
74552
 
+
74553
 
+  fi
74554
 
+
74555
 
+
74556
 
+
74557
 
+
74558
 
+
74559
 
+
74560
 
+
74561
 
+
74562
 
+      
74563
 
+    
74564
 
+
74565
 
+  
74566
 
+  
74567
 
+  
74568
 
+  
74569
 
+
74570
 
+  
74571
 
+    
74572
 
+
74573
 
+  
74574
 
+     if test $gl_cv_have_include_next = yes; then
74575
 
+       gl_cv_next_getopt_h='<'getopt.h'>'
74576
 
+     else
74577
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <getopt.h>" >&5
74578
 
+$as_echo_n "checking absolute name of <getopt.h>... " >&6; }
74579
 
+if ${gl_cv_next_getopt_h+:} false; then :
74580
 
+  $as_echo_n "(cached) " >&6
74581
 
+else
74582
 
+  
74583
 
+             if test $ac_cv_header_getopt_h = yes; then
74584
 
+             
74585
 
+            
74586
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74587
 
+/* end confdefs.h.  */
74588
 
+#include <getopt.h>
74589
 
+                  
74590
 
+_ACEOF
74591
 
+                                                                                                                        case "$host_os" in
74592
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
74593
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
74594
 
+               esac
74595
 
+                                                            gl_cv_next_getopt_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
74596
 
+                  sed -n '\#/getopt.h#{
74597
 
+                    s#.*"\(.*/getopt.h\)".*#\1#
74598
 
+                    s#^/[^/]#//&#
74599
 
+                    p
74600
 
+                    q
74601
 
+                  }'`'"'
74602
 
+          else
74603
 
+               gl_cv_next_getopt_h='<'getopt.h'>'
74604
 
+             fi
74605
 
+            
74606
 
+         
74607
 
+fi
74608
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_getopt_h" >&5
74609
 
+$as_echo "$gl_cv_next_getopt_h" >&6; }
74610
 
+     fi
74611
 
+     NEXT_GETOPT_H=$gl_cv_next_getopt_h
74612
 
+
74613
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
74614
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
74615
 
+       gl_next_as_first_directive='<'getopt.h'>'
74616
 
+     else
74617
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
74618
 
+       gl_next_as_first_directive=$gl_cv_next_getopt_h
74619
 
+     fi
74620
 
+     NEXT_AS_FIRST_DIRECTIVE_GETOPT_H=$gl_next_as_first_directive
74621
 
+
74622
 
+     
74623
 
+
74624
 
+
74625
 
+  if test $ac_cv_header_getopt_h = yes; then
74626
 
+    HAVE_GETOPT_H=1
74627
 
+  else
74628
 
+    HAVE_GETOPT_H=0
74629
 
+  fi
74630
 
+  
74631
 
+
74632
 
+  gl_replace_getopt=
74633
 
+
74634
 
+    if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
74635
 
+    for ac_header in getopt.h
74636
 
+do :
74637
 
+  ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
74638
 
+if test "x$ac_cv_header_getopt_h" = xyes; then :
74639
 
+  cat >>confdefs.h <<_ACEOF
74640
 
+@%:@define HAVE_GETOPT_H 1
74641
 
+_ACEOF
74642
 
74643
 
+else
74644
 
+  gl_replace_getopt=yes
74645
 
+fi
74646
 
+
74647
 
+done
74648
 
+
74649
 
+  fi
74650
 
+
74651
 
+    if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
74652
 
+    for ac_func in getopt_long_only
74653
 
+do :
74654
 
+  ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only"
74655
 
+if test "x$ac_cv_func_getopt_long_only" = xyes; then :
74656
 
+  cat >>confdefs.h <<_ACEOF
74657
 
+@%:@define HAVE_GETOPT_LONG_ONLY 1
74658
 
+_ACEOF
74659
 
74660
 
+else
74661
 
+  gl_replace_getopt=yes
74662
 
+fi
74663
 
+done
74664
 
+
74665
 
+  fi
74666
 
+
74667
 
+                    if test -z "$gl_replace_getopt"; then
74668
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5
74669
 
+$as_echo_n "checking whether getopt is POSIX compatible... " >&6; }
74670
 
+if ${gl_cv_func_getopt_posix+:} false; then :
74671
 
+  $as_echo_n "(cached) " >&6
74672
 
+else
74673
 
+  
74674
 
+                                                                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74675
 
+/* end confdefs.h.  */
74676
 
+#include <unistd.h>
74677
 
+int
74678
 
+main ()
74679
 
+{
74680
 
+int *p = &optreset; return optreset;
74681
 
+  ;
74682
 
+  return 0;
74683
 
+}
74684
 
+_ACEOF
74685
 
+if ac_fn_c_try_link "$LINENO"; then :
74686
 
+  gl_optind_min=1
74687
 
+else
74688
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74689
 
+/* end confdefs.h.  */
74690
 
+#include <getopt.h>
74691
 
+int
74692
 
+main ()
74693
 
+{
74694
 
+return !getopt_clip;
74695
 
+  ;
74696
 
+  return 0;
74697
 
+}
74698
 
+_ACEOF
74699
 
+if ac_fn_c_try_compile "$LINENO"; then :
74700
 
+  gl_optind_min=1
74701
 
+else
74702
 
+  gl_optind_min=0
74703
 
+fi
74704
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74705
 
+fi
74706
 
+rm -f core conftest.err conftest.$ac_objext \
74707
 
+    conftest$ac_exeext conftest.$ac_ext
74708
 
+
74709
 
+                gl_save_CPPFLAGS=$CPPFLAGS
74710
 
+        CPPFLAGS="$CPPFLAGS -DOPTIND_MIN=$gl_optind_min"
74711
 
+        if test "$cross_compiling" = yes; then :
74712
 
+  case "$host_os" in
74713
 
+             mingw*)         gl_cv_func_getopt_posix="guessing no";;
74714
 
+             darwin* | aix*) gl_cv_func_getopt_posix="guessing no";;
74715
 
+             *)              gl_cv_func_getopt_posix="guessing yes";;
74716
 
+           esac
74717
 
+          
74718
 
+else
74719
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74720
 
+/* end confdefs.h.  */
74721
 
+
74722
 
+#include <unistd.h>
74723
 
+#include <stdlib.h>
74724
 
+#include <string.h>
74725
 
+
74726
 
+int
74727
 
+main ()
74728
 
+{
74729
 
+  {
74730
 
+    static char program[] = "program";
74731
 
+    static char a[] = "-a";
74732
 
+    static char foo[] = "foo";
74733
 
+    static char bar[] = "bar";
74734
 
+    char *argv[] = { program, a, foo, bar, NULL };
74735
 
+    int c;
74736
 
+
74737
 
+    optind = OPTIND_MIN;
74738
 
+    opterr = 0;
74739
 
+
74740
 
+    c = getopt (4, argv, "ab");
74741
 
+    if (!(c == 'a'))
74742
 
+      return 1;
74743
 
+    c = getopt (4, argv, "ab");
74744
 
+    if (!(c == -1))
74745
 
+      return 2;
74746
 
+    if (!(optind == 2))
74747
 
+      return 3;
74748
 
+  }
74749
 
+  /* Some internal state exists at this point.  */
74750
 
+  {
74751
 
+    static char program[] = "program";
74752
 
+    static char donald[] = "donald";
74753
 
+    static char p[] = "-p";
74754
 
+    static char billy[] = "billy";
74755
 
+    static char duck[] = "duck";
74756
 
+    static char a[] = "-a";
74757
 
+    static char bar[] = "bar";
74758
 
+    char *argv[] = { program, donald, p, billy, duck, a, bar, NULL };
74759
 
+    int c;
74760
 
+
74761
 
+    optind = OPTIND_MIN;
74762
 
+    opterr = 0;
74763
 
+
74764
 
+    c = getopt (7, argv, "+abp:q:");
74765
 
+    if (!(c == -1))
74766
 
+      return 4;
74767
 
+    if (!(strcmp (argv[0], "program") == 0))
74768
 
+      return 5;
74769
 
+    if (!(strcmp (argv[1], "donald") == 0))
74770
 
+      return 6;
74771
 
+    if (!(strcmp (argv[2], "-p") == 0))
74772
 
+      return 7;
74773
 
+    if (!(strcmp (argv[3], "billy") == 0))
74774
 
+      return 8;
74775
 
+    if (!(strcmp (argv[4], "duck") == 0))
74776
 
+      return 9;
74777
 
+    if (!(strcmp (argv[5], "-a") == 0))
74778
 
+      return 10;
74779
 
+    if (!(strcmp (argv[6], "bar") == 0))
74780
 
+      return 11;
74781
 
+    if (!(optind == 1))
74782
 
+      return 12;
74783
 
+  }
74784
 
+  /* Detect MacOS 10.5, AIX 7.1 bug.  */
74785
 
+  {
74786
 
+    static char program[] = "program";
74787
 
+    static char ab[] = "-ab";
74788
 
+    char *argv[3] = { program, ab, NULL };
74789
 
+    optind = OPTIND_MIN;
74790
 
+    opterr = 0;
74791
 
+    if (getopt (2, argv, "ab:") != 'a')
74792
 
+      return 13;
74793
 
+    if (getopt (2, argv, "ab:") != '?')
74794
 
+      return 14;
74795
 
+    if (optopt != 'b')
74796
 
+      return 15;
74797
 
+    if (optind != 2)
74798
 
+      return 16;
74799
 
+  }
74800
 
+
74801
 
+  return 0;
74802
 
+}
74803
 
+
74804
 
+_ACEOF
74805
 
+if ac_fn_c_try_run "$LINENO"; then :
74806
 
+  gl_cv_func_getopt_posix=yes
74807
 
+else
74808
 
+  gl_cv_func_getopt_posix=no
74809
 
+fi
74810
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
74811
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
74812
 
+fi
74813
 
+
74814
 
+        CPPFLAGS=$gl_save_CPPFLAGS
74815
 
+      
74816
 
+fi
74817
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5
74818
 
+$as_echo "$gl_cv_func_getopt_posix" >&6; }
74819
 
+    case "$gl_cv_func_getopt_posix" in
74820
 
+      *no) gl_replace_getopt=yes ;;
74821
 
+    esac
74822
 
+  fi
74823
 
+
74824
 
+  if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
74825
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5
74826
 
+$as_echo_n "checking for working GNU getopt function... " >&6; }
74827
 
+if ${gl_cv_func_getopt_gnu+:} false; then :
74828
 
+  $as_echo_n "(cached) " >&6
74829
 
+else
74830
 
+  # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the
74831
 
+       # optstring is necessary for programs like m4 that have POSIX-mandated
74832
 
+       # semantics for supporting options interspersed with files.
74833
 
+       # Also, since getopt_long is a GNU extension, we require optind=0.
74834
 
+       # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT;
74835
 
+       # so take care to revert to the correct (non-)export state.
74836
 
+       gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }'
74837
 
+       case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" </dev/null` in
74838
 
+         xx) gl_had_POSIXLY_CORRECT=exported ;;
74839
 
+         x)  gl_had_POSIXLY_CORRECT=yes      ;;
74840
 
+         *)  gl_had_POSIXLY_CORRECT=         ;;
74841
 
+       esac
74842
 
+       POSIXLY_CORRECT=1
74843
 
+       export POSIXLY_CORRECT
74844
 
+       if test "$cross_compiling" = yes; then :
74845
 
+           case $host_os:$ac_cv_have_decl_optreset in
74846
 
+           *-gnu*:* | mingw*:*) gl_cv_func_getopt_gnu=no;;
74847
 
+           *:yes)               gl_cv_func_getopt_gnu=no;;
74848
 
+           *)                   gl_cv_func_getopt_gnu=yes;;
74849
 
+         esac
74850
 
+        
74851
 
+else
74852
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74853
 
+/* end confdefs.h.  */
74854
 
+#include <getopt.h>
74855
 
+                           #include <stddef.h>
74856
 
+                           #include <string.h>
74857
 
+           
74858
 
+#include <stdlib.h>
74859
 
+#if defined __MACH__ && defined __APPLE__
74860
 
+/* Avoid a crash on MacOS X.  */
74861
 
+#include <mach/mach.h>
74862
 
+#include <mach/mach_error.h>
74863
 
+#include <mach/thread_status.h>
74864
 
+#include <mach/exception.h>
74865
 
+#include <mach/task.h>
74866
 
+#include <pthread.h>
74867
 
+/* The exception port on which our thread listens.  */
74868
 
+static mach_port_t our_exception_port;
74869
 
+/* The main function of the thread listening for exceptions of type
74870
 
+   EXC_BAD_ACCESS.  */
74871
 
+static void *
74872
 
+mach_exception_thread (void *arg)
74873
 
+{
74874
 
+  /* Buffer for a message to be received.  */
74875
 
+  struct {
74876
 
+    mach_msg_header_t head;
74877
 
+    mach_msg_body_t msgh_body;
74878
 
+    char data[1024];
74879
 
+  } msg;
74880
 
+  mach_msg_return_t retval;
74881
 
+  /* Wait for a message on the exception port.  */
74882
 
+  retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
74883
 
+                     our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
74884
 
+  if (retval != MACH_MSG_SUCCESS)
74885
 
+    abort ();
74886
 
+  exit (1);
74887
 
+}
74888
 
+static void
74889
 
+nocrash_init (void)
74890
 
+{
74891
 
+  mach_port_t self = mach_task_self ();
74892
 
+  /* Allocate a port on which the thread shall listen for exceptions.  */
74893
 
+  if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
74894
 
+      == KERN_SUCCESS) {
74895
 
+    /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html.  */
74896
 
+    if (mach_port_insert_right (self, our_exception_port, our_exception_port,
74897
 
+                                MACH_MSG_TYPE_MAKE_SEND)
74898
 
+        == KERN_SUCCESS) {
74899
 
+      /* The exceptions we want to catch.  Only EXC_BAD_ACCESS is interesting
74900
 
+         for us.  */
74901
 
+      exception_mask_t mask = EXC_MASK_BAD_ACCESS;
74902
 
+      /* Create the thread listening on the exception port.  */
74903
 
+      pthread_attr_t attr;
74904
 
+      pthread_t thread;
74905
 
+      if (pthread_attr_init (&attr) == 0
74906
 
+          && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
74907
 
+          && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
74908
 
+        pthread_attr_destroy (&attr);
74909
 
+        /* Replace the exception port info for these exceptions with our own.
74910
 
+           Note that we replace the exception port for the entire task, not only
74911
 
+           for a particular thread.  This has the effect that when our exception
74912
 
+           port gets the message, the thread specific exception port has already
74913
 
+           been asked, and we don't need to bother about it.
74914
 
+           See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html.  */
74915
 
+        task_set_exception_ports (self, mask, our_exception_port,
74916
 
+                                  EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
74917
 
+      }
74918
 
+    }
74919
 
+  }
74920
 
+}
74921
 
+#else
74922
 
+/* Avoid a crash on POSIX systems.  */
74923
 
+#include <signal.h>
74924
 
+/* A POSIX signal handler.  */
74925
 
+static void
74926
 
+exception_handler (int sig)
74927
 
+{
74928
 
+  exit (1);
74929
 
+}
74930
 
+static void
74931
 
+nocrash_init (void)
74932
 
+{
74933
 
+#ifdef SIGSEGV
74934
 
+  signal (SIGSEGV, exception_handler);
74935
 
+#endif
74936
 
+#ifdef SIGBUS
74937
 
+  signal (SIGBUS, exception_handler);
74938
 
+#endif
74939
 
+}
74940
 
+#endif
74941
 
+
74942
 
+           
74943
 
+int
74944
 
+main ()
74945
 
+{
74946
 
+
74947
 
+             int result = 0;
74948
 
+
74949
 
+             nocrash_init();
74950
 
+
74951
 
+             /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw,
74952
 
+                and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5,
74953
 
+                OSF/1 5.1, Solaris 10.  */
74954
 
+             {
74955
 
+               static char conftest[] = "conftest";
74956
 
+               static char plus[] = "-+";
74957
 
+               char *argv[3] = { conftest, plus, NULL };
74958
 
+               opterr = 0;
74959
 
+               if (getopt (2, argv, "+a") != '?')
74960
 
+                 result |= 1;
74961
 
+             }
74962
 
+             /* This code succeeds on glibc 2.8, mingw,
74963
 
+                and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11,
74964
 
+                IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x.  */
74965
 
+             {
74966
 
+               static char program[] = "program";
74967
 
+               static char p[] = "-p";
74968
 
+               static char foo[] = "foo";
74969
 
+               static char bar[] = "bar";
74970
 
+               char *argv[] = { program, p, foo, bar, NULL };
74971
 
+
74972
 
+               optind = 1;
74973
 
+               if (getopt (4, argv, "p::") != 'p')
74974
 
+                 result |= 2;
74975
 
+               else if (optarg != NULL)
74976
 
+                 result |= 4;
74977
 
+               else if (getopt (4, argv, "p::") != -1)
74978
 
+                 result |= 6;
74979
 
+               else if (optind != 2)
74980
 
+                 result |= 8;
74981
 
+             }
74982
 
+             /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0.  */
74983
 
+             {
74984
 
+               static char program[] = "program";
74985
 
+               static char foo[] = "foo";
74986
 
+               static char p[] = "-p";
74987
 
+               char *argv[] = { program, foo, p, NULL };
74988
 
+               optind = 0;
74989
 
+               if (getopt (3, argv, "-p") != 1)
74990
 
+                 result |= 16;
74991
 
+               else if (getopt (3, argv, "-p") != 'p')
74992
 
+                 result |= 32;
74993
 
+             }
74994
 
+             /* This code fails on glibc 2.11.  */
74995
 
+             {
74996
 
+               static char program[] = "program";
74997
 
+               static char b[] = "-b";
74998
 
+               static char a[] = "-a";
74999
 
+               char *argv[] = { program, b, a, NULL };
75000
 
+               optind = opterr = 0;
75001
 
+               if (getopt (3, argv, "+:a:b") != 'b')
75002
 
+                 result |= 64;
75003
 
+               else if (getopt (3, argv, "+:a:b") != ':')
75004
 
+                 result |= 64;
75005
 
+             }
75006
 
+             /* This code dumps core on glibc 2.14.  */
75007
 
+             {
75008
 
+               static char program[] = "program";
75009
 
+               static char w[] = "-W";
75010
 
+               static char dummy[] = "dummy";
75011
 
+               char *argv[] = { program, w, dummy, NULL };
75012
 
+               optind = opterr = 1;
75013
 
+               if (getopt (3, argv, "W;") != 'W')
75014
 
+                 result |= 128;
75015
 
+             }
75016
 
+             return result;
75017
 
+           
75018
 
+  ;
75019
 
+  return 0;
75020
 
+}
75021
 
+_ACEOF
75022
 
+if ac_fn_c_try_run "$LINENO"; then :
75023
 
+  gl_cv_func_getopt_gnu=yes
75024
 
+else
75025
 
+  gl_cv_func_getopt_gnu=no
75026
 
+fi
75027
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
75028
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
75029
 
+fi
75030
 
+
75031
 
+       case $gl_had_POSIXLY_CORRECT in
75032
 
+         exported) ;;
75033
 
+         yes) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}; POSIXLY_CORRECT=1 ;;
75034
 
+         *) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} ;;
75035
 
+       esac
75036
 
+      
75037
 
+fi
75038
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_gnu" >&5
75039
 
+$as_echo "$gl_cv_func_getopt_gnu" >&6; }
75040
 
+    if test "$gl_cv_func_getopt_gnu" = "no"; then
75041
 
+      gl_replace_getopt=yes
75042
 
+    fi
75043
 
+  fi
75044
 
+
75045
 
+
75046
 
+  
75047
 
+  
75048
 
+        
75049
 
+    REPLACE_GETOPT=0
75050
 
+    
75051
 
+  
75052
 
+  if test -n "$gl_replace_getopt"; then :
75053
 
+  
75054
 
+      REPLACE_GETOPT=1
75055
 
+    
75056
 
+fi
75057
 
+
75058
 
+  
75059
 
+  if test $REPLACE_GETOPT = 1; then
75060
 
+        
75061
 
+  GETOPT_H=getopt.h
75062
 
+  
75063
 
+$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h
75064
 
+
75065
 
+  
75066
 
+
75067
 
+        GNULIB_UNISTD_H_GETOPT=1
75068
 
+  fi
75069
 
+
75070
 
+ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
75071
 
+if test "x$ac_cv_have_decl_getenv" = xyes; then :
75072
 
+  ac_have_decl=1
75073
 
+else
75074
 
+  ac_have_decl=0
75075
 
+fi
75076
 
+
75077
 
+cat >>confdefs.h <<_ACEOF
75078
 
+@%:@define HAVE_DECL_GETENV $ac_have_decl
75079
 
+_ACEOF
75080
 
+
75081
 
+ac_fn_c_check_decl "$LINENO" "getpass" "ac_cv_have_decl_getpass" "$ac_includes_default"
75082
 
+if test "x$ac_cv_have_decl_getpass" = xyes; then :
75083
 
+  ac_have_decl=1
75084
 
+else
75085
 
+  ac_have_decl=0
75086
 
+fi
75087
 
+
75088
 
+cat >>confdefs.h <<_ACEOF
75089
 
+@%:@define HAVE_DECL_GETPASS $ac_have_decl
75090
 
+_ACEOF
75091
 
+
75092
 
+
75093
 
+
75094
 
+
75095
 
+
75096
 
+
75097
 
+
75098
 
+
75099
 
+
75100
 
+ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
75101
 
+if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then :
75102
 
+  ac_have_decl=1
75103
 
+else
75104
 
+  ac_have_decl=0
75105
 
+fi
75106
 
+
75107
 
+cat >>confdefs.h <<_ACEOF
75108
 
+@%:@define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
75109
 
+_ACEOF
75110
 
+
75111
 
+ac_fn_c_check_decl "$LINENO" "flockfile" "ac_cv_have_decl_flockfile" "$ac_includes_default"
75112
 
+if test "x$ac_cv_have_decl_flockfile" = xyes; then :
75113
 
+  ac_have_decl=1
75114
 
+else
75115
 
+  ac_have_decl=0
75116
 
+fi
75117
 
+
75118
 
+cat >>confdefs.h <<_ACEOF
75119
 
+@%:@define HAVE_DECL_FLOCKFILE $ac_have_decl
75120
 
+_ACEOF
75121
 
+
75122
 
+ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
75123
 
+if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then :
75124
 
+  ac_have_decl=1
75125
 
+else
75126
 
+  ac_have_decl=0
75127
 
+fi
75128
 
+
75129
 
+cat >>confdefs.h <<_ACEOF
75130
 
+@%:@define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
75131
 
+_ACEOF
75132
 
+
75133
 
+ac_fn_c_check_decl "$LINENO" "funlockfile" "ac_cv_have_decl_funlockfile" "$ac_includes_default"
75134
 
+if test "x$ac_cv_have_decl_funlockfile" = xyes; then :
75135
 
+  ac_have_decl=1
75136
 
+else
75137
 
+  ac_have_decl=0
75138
 
+fi
75139
 
+
75140
 
+cat >>confdefs.h <<_ACEOF
75141
 
+@%:@define HAVE_DECL_FUNLOCKFILE $ac_have_decl
75142
 
+_ACEOF
75143
 
+
75144
 
+ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
75145
 
+if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then :
75146
 
+  ac_have_decl=1
75147
 
+else
75148
 
+  ac_have_decl=0
75149
 
+fi
75150
 
+
75151
 
+cat >>confdefs.h <<_ACEOF
75152
 
+@%:@define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl
75153
 
+_ACEOF
75154
 
+
75155
 
+
75156
 
+    
75157
 
+
75158
 
+
75159
 
+
75160
 
+
75161
 
+
75162
 
+
75163
 
+  GNULIB_GETTIMEOFDAY=0;     
75164
 
+    HAVE_GETTIMEOFDAY=1;       
75165
 
+  HAVE_STRUCT_TIMEVAL=1;     
75166
 
+  HAVE_SYS_TIME_H=1;         
75167
 
+  REPLACE_GETTIMEOFDAY=0;    
75168
 
+
75169
 
+
75170
 
+
75171
 
+
75172
 
+  
75173
 
+  
75174
 
+  
75175
 
+  
75176
 
+  
75177
 
+  
75178
 
+  
75179
 
+
75180
 
+  
75181
 
+    
75182
 
+
75183
 
+  
75184
 
+     if test $gl_cv_have_include_next = yes; then
75185
 
+       gl_cv_next_sys_time_h='<'sys/time.h'>'
75186
 
+     else
75187
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/time.h>" >&5
75188
 
+$as_echo_n "checking absolute name of <sys/time.h>... " >&6; }
75189
 
+if ${gl_cv_next_sys_time_h+:} false; then :
75190
 
+  $as_echo_n "(cached) " >&6
75191
 
+else
75192
 
+  
75193
 
+             if test $ac_cv_header_sys_time_h = yes; then
75194
 
+             
75195
 
+            
75196
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75197
 
+/* end confdefs.h.  */
75198
 
+#include <sys/time.h>
75199
 
+                  
75200
 
+_ACEOF
75201
 
+                                                                                                                        case "$host_os" in
75202
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
75203
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
75204
 
+               esac
75205
 
+                                                            gl_cv_next_sys_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
75206
 
+                  sed -n '\#/sys/time.h#{
75207
 
+                    s#.*"\(.*/sys/time.h\)".*#\1#
75208
 
+                    s#^/[^/]#//&#
75209
 
+                    p
75210
 
+                    q
75211
 
+                  }'`'"'
75212
 
+          else
75213
 
+               gl_cv_next_sys_time_h='<'sys/time.h'>'
75214
 
+             fi
75215
 
+            
75216
 
+         
75217
 
+fi
75218
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_time_h" >&5
75219
 
+$as_echo "$gl_cv_next_sys_time_h" >&6; }
75220
 
+     fi
75221
 
+     NEXT_SYS_TIME_H=$gl_cv_next_sys_time_h
75222
 
+
75223
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
75224
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
75225
 
+       gl_next_as_first_directive='<'sys/time.h'>'
75226
 
+     else
75227
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
75228
 
+       gl_next_as_first_directive=$gl_cv_next_sys_time_h
75229
 
+     fi
75230
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H=$gl_next_as_first_directive
75231
 
+
75232
 
+     
75233
 
+
75234
 
+
75235
 
+
75236
 
+  if test $ac_cv_header_sys_time_h != yes; then
75237
 
+    HAVE_SYS_TIME_H=0
75238
 
+  fi
75239
 
+
75240
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
75241
 
+$as_echo_n "checking for struct timeval... " >&6; }
75242
 
+if ${gl_cv_sys_struct_timeval+:} false; then :
75243
 
+  $as_echo_n "(cached) " >&6
75244
 
+else
75245
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75246
 
+/* end confdefs.h.  */
75247
 
+#if HAVE_SYS_TIME_H
75248
 
+             #include <sys/time.h>
75249
 
+            #endif
75250
 
+            #include <time.h>
75251
 
+          
75252
 
+int
75253
 
+main ()
75254
 
+{
75255
 
+static struct timeval x; x.tv_sec = x.tv_usec;
75256
 
+  ;
75257
 
+  return 0;
75258
 
+}
75259
 
+_ACEOF
75260
 
+if ac_fn_c_try_compile "$LINENO"; then :
75261
 
+  gl_cv_sys_struct_timeval=yes
75262
 
+else
75263
 
+  gl_cv_sys_struct_timeval=no
75264
 
+fi
75265
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75266
 
+fi
75267
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timeval" >&5
75268
 
+$as_echo "$gl_cv_sys_struct_timeval" >&6; }
75269
 
+  if test $gl_cv_sys_struct_timeval != yes; then
75270
 
+    HAVE_STRUCT_TIMEVAL=0
75271
 
+  fi
75272
 
+
75273
 
+      
75274
 
+    for gl_func in gettimeofday; do
75275
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
75276
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
75277
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
75278
 
+if eval \${$as_gl_Symbol+:} false; then :
75279
 
+  $as_echo_n "(cached) " >&6
75280
 
+else
75281
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75282
 
+/* end confdefs.h.  */
75283
 
+
75284
 
+#if HAVE_SYS_TIME_H
75285
 
+# include <sys/time.h>
75286
 
+#endif
75287
 
+#include <time.h>
75288
 
+    
75289
 
+int
75290
 
+main ()
75291
 
+{
75292
 
+@%:@undef $gl_func
75293
 
+  (void) $gl_func;
75294
 
+  ;
75295
 
+  return 0;
75296
 
+}
75297
 
+_ACEOF
75298
 
+if ac_fn_c_try_compile "$LINENO"; then :
75299
 
+  eval "$as_gl_Symbol=yes"
75300
 
+else
75301
 
+  eval "$as_gl_Symbol=no"
75302
 
+fi
75303
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75304
 
+fi
75305
 
+eval ac_res=\$$as_gl_Symbol
75306
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
75307
 
+$as_echo "$ac_res" >&6; }
75308
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
75309
 
+  cat >>confdefs.h <<_ACEOF
75310
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
75311
 
+_ACEOF
75312
 
+
75313
 
+                     eval ac_cv_have_decl_$gl_func=yes
75314
 
+fi
75315
 
+      done
75316
 
+
75317
 
+
75318
 
+
75319
 
+        
75320
 
+
75321
 
+
75322
 
+
75323
 
+
75324
 
+
75325
 
+
75326
 
+      if test "X$prefix" = "XNONE"; then
75327
 
+    acl_final_prefix="$ac_default_prefix"
75328
 
+  else
75329
 
+    acl_final_prefix="$prefix"
75330
 
+  fi
75331
 
+  if test "X$exec_prefix" = "XNONE"; then
75332
 
+    acl_final_exec_prefix='${prefix}'
75333
 
+  else
75334
 
+    acl_final_exec_prefix="$exec_prefix"
75335
 
+  fi
75336
 
+  acl_save_prefix="$prefix"
75337
 
+  prefix="$acl_final_prefix"
75338
 
+  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
75339
 
+  prefix="$acl_save_prefix"
75340
 
+
75341
 
+
75342
 
+@%:@ Check whether --with-gnu-ld was given.
75343
 
+if test "${with_gnu_ld+set}" = set; then :
75344
 
+  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
75345
 
+else
75346
 
+  with_gnu_ld=no
75347
 
+fi
75348
 
+
75349
 
+# Prepare PATH_SEPARATOR.
75350
 
+# The user is always right.
75351
 
+if test "${PATH_SEPARATOR+set}" != set; then
75352
 
+  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
75353
 
+  # contains only /bin. Note that ksh looks also at the FPATH variable,
75354
 
+  # so we have to set that as well for the test.
75355
 
+  PATH_SEPARATOR=:
75356
 
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
75357
 
+    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
75358
 
+           || PATH_SEPARATOR=';'
75359
 
+       }
75360
 
+fi
75361
 
+ac_prog=ld
75362
 
+if test "$GCC" = yes; then
75363
 
+  # Check if gcc -print-prog-name=ld gives a path.
75364
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
75365
 
+$as_echo_n "checking for ld used by GCC... " >&6; }
75366
 
+  case $host in
75367
 
+  *-*-mingw*)
75368
 
+    # gcc leaves a trailing carriage return which upsets mingw
75369
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
75370
 
+  *)
75371
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
75372
 
+  esac
75373
 
+  case $ac_prog in
75374
 
+    # Accept absolute paths.
75375
 
+    [\\/]* | [A-Za-z]:[\\/]*)
75376
 
+      re_direlt='/[^/][^/]*/\.\./'
75377
 
+      # Canonicalize the path of ld
75378
 
+      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
75379
 
+      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
75380
 
+        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
75381
 
+      done
75382
 
+      test -z "$LD" && LD="$ac_prog"
75383
 
+      ;;
75384
 
+  "")
75385
 
+    # If it fails, then pretend we aren't using GCC.
75386
 
+    ac_prog=ld
75387
 
+    ;;
75388
 
+  *)
75389
 
+    # If it is relative, then search for the first ld in PATH.
75390
 
+    with_gnu_ld=unknown
75391
 
+    ;;
75392
 
+  esac
75393
 
+elif test "$with_gnu_ld" = yes; then
75394
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
75395
 
+$as_echo_n "checking for GNU ld... " >&6; }
75396
 
+else
75397
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
75398
 
+$as_echo_n "checking for non-GNU ld... " >&6; }
75399
 
+fi
75400
 
+if ${acl_cv_path_LD+:} false; then :
75401
 
+  $as_echo_n "(cached) " >&6
75402
 
+else
75403
 
+  if test -z "$LD"; then
75404
 
+  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
75405
 
+  for ac_dir in $PATH; do
75406
 
+    test -z "$ac_dir" && ac_dir=.
75407
 
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
75408
 
+      acl_cv_path_LD="$ac_dir/$ac_prog"
75409
 
+      # Check to see if the program is GNU ld.  I'd rather use --version,
75410
 
+      # but apparently some GNU ld's only accept -v.
75411
 
+      # Break only if it was the GNU/non-GNU ld that we prefer.
75412
 
+      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
75413
 
+      *GNU* | *'with BFD'*)
75414
 
+        test "$with_gnu_ld" != no && break ;;
75415
 
+      *)
75416
 
+        test "$with_gnu_ld" != yes && break ;;
75417
 
+      esac
75418
 
+    fi
75419
 
+  done
75420
 
+  IFS="$ac_save_ifs"
75421
 
+else
75422
 
+  acl_cv_path_LD="$LD" # Let the user override the test with a path.
75423
 
+fi
75424
 
+fi
75425
 
+
75426
 
+LD="$acl_cv_path_LD"
75427
 
+if test -n "$LD"; then
75428
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
75429
 
+$as_echo "$LD" >&6; }
75430
 
+else
75431
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
75432
 
+$as_echo "no" >&6; }
75433
 
+fi
75434
 
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
75435
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
75436
 
+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
75437
 
+if ${acl_cv_prog_gnu_ld+:} false; then :
75438
 
+  $as_echo_n "(cached) " >&6
75439
 
+else
75440
 
+  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
75441
 
+case `$LD -v 2>&1 </dev/null` in
75442
 
+*GNU* | *'with BFD'*)
75443
 
+  acl_cv_prog_gnu_ld=yes ;;
75444
 
+*)
75445
 
+  acl_cv_prog_gnu_ld=no ;;
75446
 
+esac
75447
 
+fi
75448
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
75449
 
+$as_echo "$acl_cv_prog_gnu_ld" >&6; }
75450
 
+with_gnu_ld=$acl_cv_prog_gnu_ld
75451
 
+
75452
 
+
75453
 
+
75454
 
+    
75455
 
+                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
75456
 
+$as_echo_n "checking for shared library run path origin... " >&6; }
75457
 
+if ${acl_cv_rpath+:} false; then :
75458
 
+  $as_echo_n "(cached) " >&6
75459
 
+else
75460
 
+  
75461
 
+    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
75462
 
+    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
75463
 
+    . ./conftest.sh
75464
 
+    rm -f ./conftest.sh
75465
 
+    acl_cv_rpath=done
75466
 
+  
75467
 
+fi
75468
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
75469
 
+$as_echo "$acl_cv_rpath" >&6; }
75470
 
+  wl="$acl_cv_wl"
75471
 
+  acl_libext="$acl_cv_libext"
75472
 
+  acl_shlibext="$acl_cv_shlibext"
75473
 
+  acl_libname_spec="$acl_cv_libname_spec"
75474
 
+  acl_library_names_spec="$acl_cv_library_names_spec"
75475
 
+  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
75476
 
+  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
75477
 
+  acl_hardcode_direct="$acl_cv_hardcode_direct"
75478
 
+  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
75479
 
+    @%:@ Check whether --enable-rpath was given.
75480
 
+if test "${enable_rpath+set}" = set; then :
75481
 
+  enableval=$enable_rpath; :
75482
 
+else
75483
 
+  enable_rpath=yes
75484
 
+fi
75485
 
+
75486
 
+
75487
 
+
75488
 
+                          
75489
 
+  acl_libdirstem=lib
75490
 
+  acl_libdirstem2=
75491
 
+  case "$host_os" in
75492
 
+    solaris*)
75493
 
+                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
75494
 
+$as_echo_n "checking for 64-bit host... " >&6; }
75495
 
+if ${gl_cv_solaris_64bit+:} false; then :
75496
 
+  $as_echo_n "(cached) " >&6
75497
 
+else
75498
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75499
 
+/* end confdefs.h.  */
75500
 
+
75501
 
+#ifdef _LP64
75502
 
+sixtyfour bits
75503
 
+#endif
75504
 
+           
75505
 
+_ACEOF
75506
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
75507
 
+  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
75508
 
+  gl_cv_solaris_64bit=yes
75509
 
+else
75510
 
+  gl_cv_solaris_64bit=no
75511
 
+fi
75512
 
+rm -f conftest*
75513
 
+
75514
 
+        
75515
 
+fi
75516
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
75517
 
+$as_echo "$gl_cv_solaris_64bit" >&6; }
75518
 
+      if test $gl_cv_solaris_64bit = yes; then
75519
 
+        acl_libdirstem=lib/64
75520
 
+        case "$host_cpu" in
75521
 
+          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
75522
 
+          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
75523
 
+        esac
75524
 
+      fi
75525
 
+      ;;
75526
 
+    *)
75527
 
+      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
75528
 
+      if test -n "$searchpath"; then
75529
 
+        acl_save_IFS="${IFS=   }"; IFS=":"
75530
 
+        for searchdir in $searchpath; do
75531
 
+          if test -d "$searchdir"; then
75532
 
+            case "$searchdir" in
75533
 
+              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
75534
 
+              */../ | */.. )
75535
 
+                # Better ignore directories of this form. They are misleading.
75536
 
+                ;;
75537
 
+              *) searchdir=`cd "$searchdir" && pwd`
75538
 
+                 case "$searchdir" in
75539
 
+                   */lib64 ) acl_libdirstem=lib64 ;;
75540
 
+                 esac ;;
75541
 
+            esac
75542
 
+          fi
75543
 
+        done
75544
 
+        IFS="$acl_save_IFS"
75545
 
+      fi
75546
 
+      ;;
75547
 
+  esac
75548
 
+  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
75549
 
+
75550
 
+
75551
 
+    
75552
 
+  
75553
 
+
75554
 
+      
75555
 
+  
75556
 
+  
75557
 
+  
75558
 
+  
75559
 
+  
75560
 
+    
75561
 
+    use_additional=yes
75562
 
+  
75563
 
+  acl_save_prefix="$prefix"
75564
 
+  prefix="$acl_final_prefix"
75565
 
+  acl_save_exec_prefix="$exec_prefix"
75566
 
+  exec_prefix="$acl_final_exec_prefix"
75567
 
+  
75568
 
+    eval additional_includedir=\"$includedir\"
75569
 
+    eval additional_libdir=\"$libdir\"
75570
 
+  
75571
 
+  exec_prefix="$acl_save_exec_prefix"
75572
 
+  prefix="$acl_save_prefix"
75573
 
+
75574
 
+  
75575
 
+@%:@ Check whether --with-libiconv-prefix was given.
75576
 
+if test "${with_libiconv_prefix+set}" = set; then :
75577
 
+  withval=$with_libiconv_prefix; 
75578
 
+    if test "X$withval" = "Xno"; then
75579
 
+      use_additional=no
75580
 
+    else
75581
 
+      if test "X$withval" = "X"; then
75582
 
+        
75583
 
+  acl_save_prefix="$prefix"
75584
 
+  prefix="$acl_final_prefix"
75585
 
+  acl_save_exec_prefix="$exec_prefix"
75586
 
+  exec_prefix="$acl_final_exec_prefix"
75587
 
+  
75588
 
+          eval additional_includedir=\"$includedir\"
75589
 
+          eval additional_libdir=\"$libdir\"
75590
 
+        
75591
 
+  exec_prefix="$acl_save_exec_prefix"
75592
 
+  prefix="$acl_save_prefix"
75593
 
+
75594
 
+      else
75595
 
+        additional_includedir="$withval/include"
75596
 
+        additional_libdir="$withval/$acl_libdirstem"
75597
 
+        if test "$acl_libdirstem2" != "$acl_libdirstem" \
75598
 
+           && ! test -d "$withval/$acl_libdirstem"; then
75599
 
+          additional_libdir="$withval/$acl_libdirstem2"
75600
 
+        fi
75601
 
+      fi
75602
 
+    fi
75603
 
+
75604
 
+fi
75605
 
+
75606
 
+      LIBICONV=
75607
 
+  LTLIBICONV=
75608
 
+  INCICONV=
75609
 
+  LIBICONV_PREFIX=
75610
 
+      HAVE_LIBICONV=
75611
 
+  rpathdirs=
75612
 
+  ltrpathdirs=
75613
 
+  names_already_handled=
75614
 
+  names_next_round='iconv '
75615
 
+  while test -n "$names_next_round"; do
75616
 
+    names_this_round="$names_next_round"
75617
 
+    names_next_round=
75618
 
+    for name in $names_this_round; do
75619
 
+      already_handled=
75620
 
+      for n in $names_already_handled; do
75621
 
+        if test "$n" = "$name"; then
75622
 
+          already_handled=yes
75623
 
+          break
75624
 
+        fi
75625
 
+      done
75626
 
+      if test -z "$already_handled"; then
75627
 
+        names_already_handled="$names_already_handled $name"
75628
 
+                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
75629
 
+        eval value=\"\$HAVE_LIB$uppername\"
75630
 
+        if test -n "$value"; then
75631
 
+          if test "$value" = yes; then
75632
 
+            eval value=\"\$LIB$uppername\"
75633
 
+            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
75634
 
+            eval value=\"\$LTLIB$uppername\"
75635
 
+            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
75636
 
+          else
75637
 
+                                    :
75638
 
+          fi
75639
 
+        else
75640
 
+                              found_dir=
75641
 
+          found_la=
75642
 
+          found_so=
75643
 
+          found_a=
75644
 
+          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
75645
 
+          if test -n "$acl_shlibext"; then
75646
 
+            shrext=".$acl_shlibext"             # typically: shrext=.so
75647
 
+          else
75648
 
+            shrext=
75649
 
+          fi
75650
 
+          if test $use_additional = yes; then
75651
 
+            dir="$additional_libdir"
75652
 
+                                    if test -n "$acl_shlibext"; then
75653
 
+              if test -f "$dir/$libname$shrext"; then
75654
 
+                found_dir="$dir"
75655
 
+                found_so="$dir/$libname$shrext"
75656
 
+              else
75657
 
+                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
75658
 
+                  ver=`(cd "$dir" && \
75659
 
+                        for f in "$libname$shrext".*; do echo "$f"; done \
75660
 
+                        | sed -e "s,^$libname$shrext\\\\.,," \
75661
 
+                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
75662
 
+                        | sed 1q ) 2>/dev/null`
75663
 
+                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
75664
 
+                    found_dir="$dir"
75665
 
+                    found_so="$dir/$libname$shrext.$ver"
75666
 
+                  fi
75667
 
+                else
75668
 
+                  eval library_names=\"$acl_library_names_spec\"
75669
 
+                  for f in $library_names; do
75670
 
+                    if test -f "$dir/$f"; then
75671
 
+                      found_dir="$dir"
75672
 
+                      found_so="$dir/$f"
75673
 
+                      break
75674
 
+                    fi
75675
 
+                  done
75676
 
+                fi
75677
 
+              fi
75678
 
+            fi
75679
 
+                        if test "X$found_dir" = "X"; then
75680
 
+              if test -f "$dir/$libname.$acl_libext"; then
75681
 
+                found_dir="$dir"
75682
 
+                found_a="$dir/$libname.$acl_libext"
75683
 
+              fi
75684
 
+            fi
75685
 
+            if test "X$found_dir" != "X"; then
75686
 
+              if test -f "$dir/$libname.la"; then
75687
 
+                found_la="$dir/$libname.la"
75688
 
+              fi
75689
 
+            fi
75690
 
+          fi
75691
 
+          if test "X$found_dir" = "X"; then
75692
 
+            for x in $LDFLAGS $LTLIBICONV; do
75693
 
+              
75694
 
+  acl_save_prefix="$prefix"
75695
 
+  prefix="$acl_final_prefix"
75696
 
+  acl_save_exec_prefix="$exec_prefix"
75697
 
+  exec_prefix="$acl_final_exec_prefix"
75698
 
+  eval x=\"$x\"
75699
 
+  exec_prefix="$acl_save_exec_prefix"
75700
 
+  prefix="$acl_save_prefix"
75701
 
+
75702
 
+              case "$x" in
75703
 
+                -L*)
75704
 
+                  dir=`echo "X$x" | sed -e 's/^X-L//'`
75705
 
+                                    if test -n "$acl_shlibext"; then
75706
 
+                    if test -f "$dir/$libname$shrext"; then
75707
 
+                      found_dir="$dir"
75708
 
+                      found_so="$dir/$libname$shrext"
75709
 
+                    else
75710
 
+                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
75711
 
+                        ver=`(cd "$dir" && \
75712
 
+                              for f in "$libname$shrext".*; do echo "$f"; done \
75713
 
+                              | sed -e "s,^$libname$shrext\\\\.,," \
75714
 
+                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
75715
 
+                              | sed 1q ) 2>/dev/null`
75716
 
+                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
75717
 
+                          found_dir="$dir"
75718
 
+                          found_so="$dir/$libname$shrext.$ver"
75719
 
+                        fi
75720
 
+                      else
75721
 
+                        eval library_names=\"$acl_library_names_spec\"
75722
 
+                        for f in $library_names; do
75723
 
+                          if test -f "$dir/$f"; then
75724
 
+                            found_dir="$dir"
75725
 
+                            found_so="$dir/$f"
75726
 
+                            break
75727
 
+                          fi
75728
 
+                        done
75729
 
+                      fi
75730
 
+                    fi
75731
 
+                  fi
75732
 
+                                    if test "X$found_dir" = "X"; then
75733
 
+                    if test -f "$dir/$libname.$acl_libext"; then
75734
 
+                      found_dir="$dir"
75735
 
+                      found_a="$dir/$libname.$acl_libext"
75736
 
+                    fi
75737
 
+                  fi
75738
 
+                  if test "X$found_dir" != "X"; then
75739
 
+                    if test -f "$dir/$libname.la"; then
75740
 
+                      found_la="$dir/$libname.la"
75741
 
+                    fi
75742
 
+                  fi
75743
 
+                  ;;
75744
 
+              esac
75745
 
+              if test "X$found_dir" != "X"; then
75746
 
+                break
75747
 
+              fi
75748
 
+            done
75749
 
+          fi
75750
 
+          if test "X$found_dir" != "X"; then
75751
 
+                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
75752
 
+            if test "X$found_so" != "X"; then
75753
 
+                                                        if test "$enable_rpath" = no \
75754
 
+                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
75755
 
+                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
75756
 
+                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
75757
 
+              else
75758
 
+                                                                                haveit=
75759
 
+                for x in $ltrpathdirs; do
75760
 
+                  if test "X$x" = "X$found_dir"; then
75761
 
+                    haveit=yes
75762
 
+                    break
75763
 
+                  fi
75764
 
+                done
75765
 
+                if test -z "$haveit"; then
75766
 
+                  ltrpathdirs="$ltrpathdirs $found_dir"
75767
 
+                fi
75768
 
+                                if test "$acl_hardcode_direct" = yes; then
75769
 
+                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
75770
 
+                else
75771
 
+                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
75772
 
+                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
75773
 
+                                                            haveit=
75774
 
+                    for x in $rpathdirs; do
75775
 
+                      if test "X$x" = "X$found_dir"; then
75776
 
+                        haveit=yes
75777
 
+                        break
75778
 
+                      fi
75779
 
+                    done
75780
 
+                    if test -z "$haveit"; then
75781
 
+                      rpathdirs="$rpathdirs $found_dir"
75782
 
+                    fi
75783
 
+                  else
75784
 
+                                                                                haveit=
75785
 
+                    for x in $LDFLAGS $LIBICONV; do
75786
 
+                      
75787
 
+  acl_save_prefix="$prefix"
75788
 
+  prefix="$acl_final_prefix"
75789
 
+  acl_save_exec_prefix="$exec_prefix"
75790
 
+  exec_prefix="$acl_final_exec_prefix"
75791
 
+  eval x=\"$x\"
75792
 
+  exec_prefix="$acl_save_exec_prefix"
75793
 
+  prefix="$acl_save_prefix"
75794
 
+
75795
 
+                      if test "X$x" = "X-L$found_dir"; then
75796
 
+                        haveit=yes
75797
 
+                        break
75798
 
+                      fi
75799
 
+                    done
75800
 
+                    if test -z "$haveit"; then
75801
 
+                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
75802
 
+                    fi
75803
 
+                    if test "$acl_hardcode_minus_L" != no; then
75804
 
+                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
75805
 
+                    else
75806
 
+                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
75807
 
+                    fi
75808
 
+                  fi
75809
 
+                fi
75810
 
+              fi
75811
 
+            else
75812
 
+              if test "X$found_a" != "X"; then
75813
 
+                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
75814
 
+              else
75815
 
+                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
75816
 
+              fi
75817
 
+            fi
75818
 
+                        additional_includedir=
75819
 
+            case "$found_dir" in
75820
 
+              */$acl_libdirstem | */$acl_libdirstem/)
75821
 
+                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
75822
 
+                if test "$name" = 'iconv'; then
75823
 
+                  LIBICONV_PREFIX="$basedir"
75824
 
+                fi
75825
 
+                additional_includedir="$basedir/include"
75826
 
+                ;;
75827
 
+              */$acl_libdirstem2 | */$acl_libdirstem2/)
75828
 
+                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
75829
 
+                if test "$name" = 'iconv'; then
75830
 
+                  LIBICONV_PREFIX="$basedir"
75831
 
+                fi
75832
 
+                additional_includedir="$basedir/include"
75833
 
+                ;;
75834
 
+            esac
75835
 
+            if test "X$additional_includedir" != "X"; then
75836
 
+                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
75837
 
+                haveit=
75838
 
+                if test "X$additional_includedir" = "X/usr/local/include"; then
75839
 
+                  if test -n "$GCC"; then
75840
 
+                    case $host_os in
75841
 
+                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
75842
 
+                    esac
75843
 
+                  fi
75844
 
+                fi
75845
 
+                if test -z "$haveit"; then
75846
 
+                  for x in $CPPFLAGS $INCICONV; do
75847
 
+                    
75848
 
+  acl_save_prefix="$prefix"
75849
 
+  prefix="$acl_final_prefix"
75850
 
+  acl_save_exec_prefix="$exec_prefix"
75851
 
+  exec_prefix="$acl_final_exec_prefix"
75852
 
+  eval x=\"$x\"
75853
 
+  exec_prefix="$acl_save_exec_prefix"
75854
 
+  prefix="$acl_save_prefix"
75855
 
+
75856
 
+                    if test "X$x" = "X-I$additional_includedir"; then
75857
 
+                      haveit=yes
75858
 
+                      break
75859
 
+                    fi
75860
 
+                  done
75861
 
+                  if test -z "$haveit"; then
75862
 
+                    if test -d "$additional_includedir"; then
75863
 
+                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
75864
 
+                    fi
75865
 
+                  fi
75866
 
+                fi
75867
 
+              fi
75868
 
+            fi
75869
 
+                        if test -n "$found_la"; then
75870
 
+                                                        save_libdir="$libdir"
75871
 
+              case "$found_la" in
75872
 
+                */* | *\\*) . "$found_la" ;;
75873
 
+                *) . "./$found_la" ;;
75874
 
+              esac
75875
 
+              libdir="$save_libdir"
75876
 
+                            for dep in $dependency_libs; do
75877
 
+                case "$dep" in
75878
 
+                  -L*)
75879
 
+                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
75880
 
+                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
75881
 
+                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
75882
 
+                      haveit=
75883
 
+                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
75884
 
+                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
75885
 
+                        if test -n "$GCC"; then
75886
 
+                          case $host_os in
75887
 
+                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
75888
 
+                          esac
75889
 
+                        fi
75890
 
+                      fi
75891
 
+                      if test -z "$haveit"; then
75892
 
+                        haveit=
75893
 
+                        for x in $LDFLAGS $LIBICONV; do
75894
 
+                          
75895
 
+  acl_save_prefix="$prefix"
75896
 
+  prefix="$acl_final_prefix"
75897
 
+  acl_save_exec_prefix="$exec_prefix"
75898
 
+  exec_prefix="$acl_final_exec_prefix"
75899
 
+  eval x=\"$x\"
75900
 
+  exec_prefix="$acl_save_exec_prefix"
75901
 
+  prefix="$acl_save_prefix"
75902
 
+
75903
 
+                          if test "X$x" = "X-L$additional_libdir"; then
75904
 
+                            haveit=yes
75905
 
+                            break
75906
 
+                          fi
75907
 
+                        done
75908
 
+                        if test -z "$haveit"; then
75909
 
+                          if test -d "$additional_libdir"; then
75910
 
+                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
75911
 
+                          fi
75912
 
+                        fi
75913
 
+                        haveit=
75914
 
+                        for x in $LDFLAGS $LTLIBICONV; do
75915
 
+                          
75916
 
+  acl_save_prefix="$prefix"
75917
 
+  prefix="$acl_final_prefix"
75918
 
+  acl_save_exec_prefix="$exec_prefix"
75919
 
+  exec_prefix="$acl_final_exec_prefix"
75920
 
+  eval x=\"$x\"
75921
 
+  exec_prefix="$acl_save_exec_prefix"
75922
 
+  prefix="$acl_save_prefix"
75923
 
+
75924
 
+                          if test "X$x" = "X-L$additional_libdir"; then
75925
 
+                            haveit=yes
75926
 
+                            break
75927
 
+                          fi
75928
 
+                        done
75929
 
+                        if test -z "$haveit"; then
75930
 
+                          if test -d "$additional_libdir"; then
75931
 
+                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
75932
 
+                          fi
75933
 
+                        fi
75934
 
+                      fi
75935
 
+                    fi
75936
 
+                    ;;
75937
 
+                  -R*)
75938
 
+                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
75939
 
+                    if test "$enable_rpath" != no; then
75940
 
+                                                                  haveit=
75941
 
+                      for x in $rpathdirs; do
75942
 
+                        if test "X$x" = "X$dir"; then
75943
 
+                          haveit=yes
75944
 
+                          break
75945
 
+                        fi
75946
 
+                      done
75947
 
+                      if test -z "$haveit"; then
75948
 
+                        rpathdirs="$rpathdirs $dir"
75949
 
+                      fi
75950
 
+                                                                  haveit=
75951
 
+                      for x in $ltrpathdirs; do
75952
 
+                        if test "X$x" = "X$dir"; then
75953
 
+                          haveit=yes
75954
 
+                          break
75955
 
+                        fi
75956
 
+                      done
75957
 
+                      if test -z "$haveit"; then
75958
 
+                        ltrpathdirs="$ltrpathdirs $dir"
75959
 
+                      fi
75960
 
+                    fi
75961
 
+                    ;;
75962
 
+                  -l*)
75963
 
+                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
75964
 
+                    ;;
75965
 
+                  *.la)
75966
 
+                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
75967
 
+                    ;;
75968
 
+                  *)
75969
 
+                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
75970
 
+                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
75971
 
+                    ;;
75972
 
+                esac
75973
 
+              done
75974
 
+            fi
75975
 
+          else
75976
 
+                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
75977
 
+            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
75978
 
+          fi
75979
 
+        fi
75980
 
+      fi
75981
 
+    done
75982
 
+  done
75983
 
+  if test "X$rpathdirs" != "X"; then
75984
 
+    if test -n "$acl_hardcode_libdir_separator"; then
75985
 
+                        alldirs=
75986
 
+      for found_dir in $rpathdirs; do
75987
 
+        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
75988
 
+      done
75989
 
+            acl_save_libdir="$libdir"
75990
 
+      libdir="$alldirs"
75991
 
+      eval flag=\"$acl_hardcode_libdir_flag_spec\"
75992
 
+      libdir="$acl_save_libdir"
75993
 
+      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
75994
 
+    else
75995
 
+            for found_dir in $rpathdirs; do
75996
 
+        acl_save_libdir="$libdir"
75997
 
+        libdir="$found_dir"
75998
 
+        eval flag=\"$acl_hardcode_libdir_flag_spec\"
75999
 
+        libdir="$acl_save_libdir"
76000
 
+        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
76001
 
+      done
76002
 
+    fi
76003
 
+  fi
76004
 
+  if test "X$ltrpathdirs" != "X"; then
76005
 
+            for found_dir in $ltrpathdirs; do
76006
 
+      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
76007
 
+    done
76008
 
+  fi
76009
 
+  
76010
 
+  
76011
 
+  
76012
 
+  
76013
 
+  
76014
 
+
76015
 
+
76016
 
+
76017
 
+  GNULIB_ICONV=0;       
76018
 
+    ICONV_CONST=;         
76019
 
+  REPLACE_ICONV=0;      
76020
 
+  REPLACE_ICONV_OPEN=0; 
76021
 
+  REPLACE_ICONV_UTF=0;  
76022
 
+  ICONV_H='';           
76023
 
+   if test -n "$ICONV_H"; then
76024
 
+  GL_GENERATE_ICONV_H_TRUE=
76025
 
+  GL_GENERATE_ICONV_H_FALSE='#'
76026
 
+else
76027
 
+  GL_GENERATE_ICONV_H_TRUE='#'
76028
 
+  GL_GENERATE_ICONV_H_FALSE=
76029
 
+fi
76030
 
+
76031
 
+
76032
 
+
76033
 
+  
76034
 
+       
76035
 
+      
76036
 
+
76037
 
+          am_save_CPPFLAGS="$CPPFLAGS"
76038
 
+  
76039
 
+  for element in $INCICONV; do
76040
 
+    haveit=
76041
 
+    for x in $CPPFLAGS; do
76042
 
+      
76043
 
+  acl_save_prefix="$prefix"
76044
 
+  prefix="$acl_final_prefix"
76045
 
+  acl_save_exec_prefix="$exec_prefix"
76046
 
+  exec_prefix="$acl_final_exec_prefix"
76047
 
+  eval x=\"$x\"
76048
 
+  exec_prefix="$acl_save_exec_prefix"
76049
 
+  prefix="$acl_save_prefix"
76050
 
+
76051
 
+      if test "X$x" = "X$element"; then
76052
 
+        haveit=yes
76053
 
+        break
76054
 
+      fi
76055
 
+    done
76056
 
+    if test -z "$haveit"; then
76057
 
+      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
76058
 
+    fi
76059
 
+  done
76060
 
+
76061
 
+
76062
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
76063
 
+$as_echo_n "checking for iconv... " >&6; }
76064
 
+if ${am_cv_func_iconv+:} false; then :
76065
 
+  $as_echo_n "(cached) " >&6
76066
 
+else
76067
 
+  
76068
 
+    am_cv_func_iconv="no, consider installing GNU libiconv"
76069
 
+    am_cv_lib_iconv=no
76070
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76071
 
+/* end confdefs.h.  */
76072
 
+
76073
 
+#include <stdlib.h>
76074
 
+#include <iconv.h>
76075
 
+         
76076
 
+int
76077
 
+main ()
76078
 
+{
76079
 
+iconv_t cd = iconv_open("","");
76080
 
+           iconv(cd,NULL,NULL,NULL,NULL);
76081
 
+           iconv_close(cd);
76082
 
+  ;
76083
 
+  return 0;
76084
 
+}
76085
 
+_ACEOF
76086
 
+if ac_fn_c_try_link "$LINENO"; then :
76087
 
+  am_cv_func_iconv=yes
76088
 
+fi
76089
 
+rm -f core conftest.err conftest.$ac_objext \
76090
 
+    conftest$ac_exeext conftest.$ac_ext
76091
 
+    if test "$am_cv_func_iconv" != yes; then
76092
 
+      am_save_LIBS="$LIBS"
76093
 
+      LIBS="$LIBS $LIBICONV"
76094
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76095
 
+/* end confdefs.h.  */
76096
 
+
76097
 
+#include <stdlib.h>
76098
 
+#include <iconv.h>
76099
 
+           
76100
 
+int
76101
 
+main ()
76102
 
+{
76103
 
+iconv_t cd = iconv_open("","");
76104
 
+             iconv(cd,NULL,NULL,NULL,NULL);
76105
 
+             iconv_close(cd);
76106
 
+  ;
76107
 
+  return 0;
76108
 
+}
76109
 
+_ACEOF
76110
 
+if ac_fn_c_try_link "$LINENO"; then :
76111
 
+  am_cv_lib_iconv=yes
76112
 
+        am_cv_func_iconv=yes
76113
 
+fi
76114
 
+rm -f core conftest.err conftest.$ac_objext \
76115
 
+    conftest$ac_exeext conftest.$ac_ext
76116
 
+      LIBS="$am_save_LIBS"
76117
 
+    fi
76118
 
+  
76119
 
+fi
76120
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
76121
 
+$as_echo "$am_cv_func_iconv" >&6; }
76122
 
+  if test "$am_cv_func_iconv" = yes; then
76123
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
76124
 
+$as_echo_n "checking for working iconv... " >&6; }
76125
 
+if ${am_cv_func_iconv_works+:} false; then :
76126
 
+  $as_echo_n "(cached) " >&6
76127
 
+else
76128
 
+  
76129
 
+                  am_save_LIBS="$LIBS"
76130
 
+      if test $am_cv_lib_iconv = yes; then
76131
 
+        LIBS="$LIBS $LIBICONV"
76132
 
+      fi
76133
 
+      if test "$cross_compiling" = yes; then :
76134
 
+  
76135
 
+         case "$host_os" in
76136
 
+           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
76137
 
+           *)            am_cv_func_iconv_works="guessing yes" ;;
76138
 
+         esac
76139
 
+        
76140
 
+else
76141
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76142
 
+/* end confdefs.h.  */
76143
 
+
76144
 
+#include <iconv.h>
76145
 
+#include <string.h>
76146
 
+int main ()
76147
 
+{
76148
 
+  int result = 0;
76149
 
+  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
76150
 
+     returns.  */
76151
 
+  {
76152
 
+    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
76153
 
+    if (cd_utf8_to_88591 != (iconv_t)(-1))
76154
 
+      {
76155
 
+        static const char input[] = "\342\202\254"; /* EURO SIGN */
76156
 
+        char buf[10];
76157
 
+        const char *inptr = input;
76158
 
+        size_t inbytesleft = strlen (input);
76159
 
+        char *outptr = buf;
76160
 
+        size_t outbytesleft = sizeof (buf);
76161
 
+        size_t res = iconv (cd_utf8_to_88591,
76162
 
+                            (char **) &inptr, &inbytesleft,
76163
 
+                            &outptr, &outbytesleft);
76164
 
+        if (res == 0)
76165
 
+          result |= 1;
76166
 
+        iconv_close (cd_utf8_to_88591);
76167
 
+      }
76168
 
+  }
76169
 
+  /* Test against Solaris 10 bug: Failures are not distinguishable from
76170
 
+     successful returns.  */
76171
 
+  {
76172
 
+    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
76173
 
+    if (cd_ascii_to_88591 != (iconv_t)(-1))
76174
 
+      {
76175
 
+        static const char input[] = "\263";
76176
 
+        char buf[10];
76177
 
+        const char *inptr = input;
76178
 
+        size_t inbytesleft = strlen (input);
76179
 
+        char *outptr = buf;
76180
 
+        size_t outbytesleft = sizeof (buf);
76181
 
+        size_t res = iconv (cd_ascii_to_88591,
76182
 
+                            (char **) &inptr, &inbytesleft,
76183
 
+                            &outptr, &outbytesleft);
76184
 
+        if (res == 0)
76185
 
+          result |= 2;
76186
 
+        iconv_close (cd_ascii_to_88591);
76187
 
+      }
76188
 
+  }
76189
 
+  /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
76190
 
+  {
76191
 
+    iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
76192
 
+    if (cd_88591_to_utf8 != (iconv_t)(-1))
76193
 
+      {
76194
 
+        static const char input[] = "\304";
76195
 
+        static char buf[2] = { (char)0xDE, (char)0xAD };
76196
 
+        const char *inptr = input;
76197
 
+        size_t inbytesleft = 1;
76198
 
+        char *outptr = buf;
76199
 
+        size_t outbytesleft = 1;
76200
 
+        size_t res = iconv (cd_88591_to_utf8,
76201
 
+                            (char **) &inptr, &inbytesleft,
76202
 
+                            &outptr, &outbytesleft);
76203
 
+        if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
76204
 
+          result |= 4;
76205
 
+        iconv_close (cd_88591_to_utf8);
76206
 
+      }
76207
 
+  }
76208
 
+#if 0 /* This bug could be worked around by the caller.  */
76209
 
+  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
76210
 
+  {
76211
 
+    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
76212
 
+    if (cd_88591_to_utf8 != (iconv_t)(-1))
76213
 
+      {
76214
 
+        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
76215
 
+        char buf[50];
76216
 
+        const char *inptr = input;
76217
 
+        size_t inbytesleft = strlen (input);
76218
 
+        char *outptr = buf;
76219
 
+        size_t outbytesleft = sizeof (buf);
76220
 
+        size_t res = iconv (cd_88591_to_utf8,
76221
 
+                            (char **) &inptr, &inbytesleft,
76222
 
+                            &outptr, &outbytesleft);
76223
 
+        if ((int)res > 0)
76224
 
+          result |= 8;
76225
 
+        iconv_close (cd_88591_to_utf8);
76226
 
+      }
76227
 
+  }
76228
 
+#endif
76229
 
+  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
76230
 
+     provided.  */
76231
 
+  if (/* Try standardized names.  */
76232
 
+      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
76233
 
+      /* Try IRIX, OSF/1 names.  */
76234
 
+      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
76235
 
+      /* Try AIX names.  */
76236
 
+      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
76237
 
+      /* Try HP-UX names.  */
76238
 
+      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
76239
 
+    result |= 16;
76240
 
+  return result;
76241
 
+}
76242
 
+_ACEOF
76243
 
+if ac_fn_c_try_run "$LINENO"; then :
76244
 
+  am_cv_func_iconv_works=yes
76245
 
+else
76246
 
+  am_cv_func_iconv_works=no
76247
 
+fi
76248
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
76249
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
76250
 
+fi
76251
 
+
76252
 
+      LIBS="$am_save_LIBS"
76253
 
+    
76254
 
+fi
76255
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
76256
 
+$as_echo "$am_cv_func_iconv_works" >&6; }
76257
 
+    case "$am_cv_func_iconv_works" in
76258
 
+      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
76259
 
+      *)   am_func_iconv=yes ;;
76260
 
+    esac
76261
 
+  else
76262
 
+    am_func_iconv=no am_cv_lib_iconv=no
76263
 
+  fi
76264
 
+  if test "$am_func_iconv" = yes; then
76265
 
+    
76266
 
+$as_echo "@%:@define HAVE_ICONV 1" >>confdefs.h
76267
 
+
76268
 
+  fi
76269
 
+  if test "$am_cv_lib_iconv" = yes; then
76270
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
76271
 
+$as_echo_n "checking how to link with libiconv... " >&6; }
76272
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
76273
 
+$as_echo "$LIBICONV" >&6; }
76274
 
+  else
76275
 
+            CPPFLAGS="$am_save_CPPFLAGS"
76276
 
+    LIBICONV=
76277
 
+    LTLIBICONV=
76278
 
+  fi
76279
 
+  
76280
 
+  
76281
 
+
76282
 
+  if test "$am_cv_func_iconv" = yes; then
76283
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
76284
 
+$as_echo_n "checking for iconv declaration... " >&6; }
76285
 
+    if ${am_cv_proto_iconv+:} false; then :
76286
 
+  $as_echo_n "(cached) " >&6
76287
 
+else
76288
 
+  
76289
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76290
 
+/* end confdefs.h.  */
76291
 
+
76292
 
+#include <stdlib.h>
76293
 
+#include <iconv.h>
76294
 
+extern
76295
 
+#ifdef __cplusplus
76296
 
+"C"
76297
 
+#endif
76298
 
+#if defined(__STDC__) || defined(__cplusplus)
76299
 
+size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
76300
 
+#else
76301
 
+size_t iconv();
76302
 
+#endif
76303
 
+           
76304
 
+int
76305
 
+main ()
76306
 
+{
76307
 
+
76308
 
+  ;
76309
 
+  return 0;
76310
 
+}
76311
 
+_ACEOF
76312
 
+if ac_fn_c_try_compile "$LINENO"; then :
76313
 
+  am_cv_proto_iconv_arg1=""
76314
 
+else
76315
 
+  am_cv_proto_iconv_arg1="const"
76316
 
+fi
76317
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76318
 
+      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);"
76319
 
+fi
76320
 
+
76321
 
+    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
76322
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: 
76323
 
+         $am_cv_proto_iconv" >&5
76324
 
+$as_echo "
76325
 
+         $am_cv_proto_iconv" >&6; }
76326
 
+    
76327
 
+cat >>confdefs.h <<_ACEOF
76328
 
+@%:@define ICONV_CONST $am_cv_proto_iconv_arg1
76329
 
+_ACEOF
76330
 
+
76331
 
+        
76332
 
+       if test -n "$am_cv_proto_iconv_arg1"; then
76333
 
+         ICONV_CONST="const"
76334
 
+       fi
76335
 
+      
76336
 
+  fi
76337
 
+
76338
 
+
76339
 
+
76340
 
+ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
76341
 
+if test "x$ac_cv_type_off_t" = xyes; then :
76342
 
+  
76343
 
+else
76344
 
+  
76345
 
+cat >>confdefs.h <<_ACEOF
76346
 
+@%:@define off_t long int
76347
 
+_ACEOF
76348
 
+
76349
 
+fi
76350
 
+
76351
 
+
76352
 
+
76353
 
+
76354
 
+
76355
 
+
76356
 
+    gl_cv_c_multiarch=no
76357
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76358
 
+/* end confdefs.h.  */
76359
 
+#ifndef __APPLE_CC__
76360
 
+         not a universal capable compiler
76361
 
+        #endif
76362
 
+        typedef int dummy;
76363
 
+      
76364
 
+_ACEOF
76365
 
+if ac_fn_c_try_compile "$LINENO"; then :
76366
 
+  
76367
 
+               arch=
76368
 
+     prev=
76369
 
+     for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do
76370
 
+       if test -n "$prev"; then
76371
 
+         case $word in
76372
 
+           i?86 | x86_64 | ppc | ppc64)
76373
 
+             if test -z "$arch" || test "$arch" = "$word"; then
76374
 
+               arch="$word"
76375
 
+             else
76376
 
+               gl_cv_c_multiarch=yes
76377
 
+             fi
76378
 
+             ;;
76379
 
+         esac
76380
 
+         prev=
76381
 
+       else
76382
 
+         if test "x$word" = "x-arch"; then
76383
 
+           prev=arch
76384
 
+         fi
76385
 
+       fi
76386
 
+     done
76387
 
+    
76388
 
+fi
76389
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76390
 
+  if test $gl_cv_c_multiarch = yes; then
76391
 
+    APPLE_UNIVERSAL_BUILD=1
76392
 
+  else
76393
 
+    APPLE_UNIVERSAL_BUILD=0
76394
 
+  fi
76395
 
+  
76396
 
+
76397
 
+
76398
 
+  
76399
 
+    
76400
 
+  if test $ac_cv_type_long_long_int = yes; then
76401
 
+    HAVE_LONG_LONG_INT=1
76402
 
+  else
76403
 
+    HAVE_LONG_LONG_INT=0
76404
 
+  fi
76405
 
+  
76406
 
+  
76407
 
+  if test $ac_cv_type_unsigned_long_long_int = yes; then
76408
 
+    HAVE_UNSIGNED_LONG_LONG_INT=1
76409
 
+  else
76410
 
+    HAVE_UNSIGNED_LONG_LONG_INT=0
76411
 
+  fi
76412
 
+  
76413
 
+
76414
 
+    
76415
 
+  if test $ac_cv_header_wchar_h = yes; then
76416
 
+    HAVE_WCHAR_H=1
76417
 
+  else
76418
 
+    HAVE_WCHAR_H=0
76419
 
+  fi
76420
 
+  
76421
 
+
76422
 
+      if test $ac_cv_header_inttypes_h = yes; then
76423
 
+    HAVE_INTTYPES_H=1
76424
 
+  else
76425
 
+    HAVE_INTTYPES_H=0
76426
 
+  fi
76427
 
+  
76428
 
+
76429
 
+      if test $ac_cv_header_sys_types_h = yes; then
76430
 
+    HAVE_SYS_TYPES_H=1
76431
 
+  else
76432
 
+    HAVE_SYS_TYPES_H=0
76433
 
+  fi
76434
 
+  
76435
 
+
76436
 
+  
76437
 
+  
76438
 
+  
76439
 
+  
76440
 
+
76441
 
+  
76442
 
+    
76443
 
+
76444
 
+  
76445
 
+     if test $gl_cv_have_include_next = yes; then
76446
 
+       gl_cv_next_stdint_h='<'stdint.h'>'
76447
 
+     else
76448
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
76449
 
+$as_echo_n "checking absolute name of <stdint.h>... " >&6; }
76450
 
+if ${gl_cv_next_stdint_h+:} false; then :
76451
 
+  $as_echo_n "(cached) " >&6
76452
 
+else
76453
 
+  
76454
 
+             if test $ac_cv_header_stdint_h = yes; then
76455
 
+             
76456
 
+            
76457
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76458
 
+/* end confdefs.h.  */
76459
 
+#include <stdint.h>
76460
 
+                  
76461
 
+_ACEOF
76462
 
+                                                                                                                        case "$host_os" in
76463
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
76464
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
76465
 
+               esac
76466
 
+                                                            gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
76467
 
+                  sed -n '\#/stdint.h#{
76468
 
+                    s#.*"\(.*/stdint.h\)".*#\1#
76469
 
+                    s#^/[^/]#//&#
76470
 
+                    p
76471
 
+                    q
76472
 
+                  }'`'"'
76473
 
+          else
76474
 
+               gl_cv_next_stdint_h='<'stdint.h'>'
76475
 
+             fi
76476
 
+            
76477
 
+         
76478
 
+fi
76479
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5
76480
 
+$as_echo "$gl_cv_next_stdint_h" >&6; }
76481
 
+     fi
76482
 
+     NEXT_STDINT_H=$gl_cv_next_stdint_h
76483
 
+
76484
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
76485
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
76486
 
+       gl_next_as_first_directive='<'stdint.h'>'
76487
 
+     else
76488
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
76489
 
+       gl_next_as_first_directive=$gl_cv_next_stdint_h
76490
 
+     fi
76491
 
+     NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive
76492
 
+
76493
 
+     
76494
 
+
76495
 
+
76496
 
+  if test $ac_cv_header_stdint_h = yes; then
76497
 
+    HAVE_STDINT_H=1
76498
 
+  else
76499
 
+    HAVE_STDINT_H=0
76500
 
+  fi
76501
 
+  
76502
 
+
76503
 
+    if test $ac_cv_header_stdint_h = yes; then
76504
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
76505
 
+$as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
76506
 
+if ${gl_cv_header_working_stdint_h+:} false; then :
76507
 
+  $as_echo_n "(cached) " >&6
76508
 
+else
76509
 
+  gl_cv_header_working_stdint_h=no
76510
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76511
 
+/* end confdefs.h.  */
76512
 
+
76513
 
+         
76514
 
+#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
76515
 
+#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
76516
 
+#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
76517
 
+#include <stdint.h>
76518
 
+/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>.  */
76519
 
+#if !(defined WCHAR_MIN && defined WCHAR_MAX)
76520
 
+#error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
76521
 
+#endif
76522
 
+
76523
 
+
76524
 
+  /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
76525
 
+     included before <wchar.h>.  */
76526
 
+  #include <stddef.h>
76527
 
+  #include <signal.h>
76528
 
+  #if HAVE_WCHAR_H
76529
 
+  # include <stdio.h>
76530
 
+  # include <time.h>
76531
 
+  # include <wchar.h>
76532
 
+  #endif
76533
 
+
76534
 
+
76535
 
+#ifdef INT8_MAX
76536
 
+int8_t a1 = INT8_MAX;
76537
 
+int8_t a1min = INT8_MIN;
76538
 
+#endif
76539
 
+#ifdef INT16_MAX
76540
 
+int16_t a2 = INT16_MAX;
76541
 
+int16_t a2min = INT16_MIN;
76542
 
+#endif
76543
 
+#ifdef INT32_MAX
76544
 
+int32_t a3 = INT32_MAX;
76545
 
+int32_t a3min = INT32_MIN;
76546
 
+#endif
76547
 
+#ifdef INT64_MAX
76548
 
+int64_t a4 = INT64_MAX;
76549
 
+int64_t a4min = INT64_MIN;
76550
 
+#endif
76551
 
+#ifdef UINT8_MAX
76552
 
+uint8_t b1 = UINT8_MAX;
76553
 
+#else
76554
 
+typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
76555
 
+#endif
76556
 
+#ifdef UINT16_MAX
76557
 
+uint16_t b2 = UINT16_MAX;
76558
 
+#endif
76559
 
+#ifdef UINT32_MAX
76560
 
+uint32_t b3 = UINT32_MAX;
76561
 
+#endif
76562
 
+#ifdef UINT64_MAX
76563
 
+uint64_t b4 = UINT64_MAX;
76564
 
+#endif
76565
 
+int_least8_t c1 = INT8_C (0x7f);
76566
 
+int_least8_t c1max = INT_LEAST8_MAX;
76567
 
+int_least8_t c1min = INT_LEAST8_MIN;
76568
 
+int_least16_t c2 = INT16_C (0x7fff);
76569
 
+int_least16_t c2max = INT_LEAST16_MAX;
76570
 
+int_least16_t c2min = INT_LEAST16_MIN;
76571
 
+int_least32_t c3 = INT32_C (0x7fffffff);
76572
 
+int_least32_t c3max = INT_LEAST32_MAX;
76573
 
+int_least32_t c3min = INT_LEAST32_MIN;
76574
 
+int_least64_t c4 = INT64_C (0x7fffffffffffffff);
76575
 
+int_least64_t c4max = INT_LEAST64_MAX;
76576
 
+int_least64_t c4min = INT_LEAST64_MIN;
76577
 
+uint_least8_t d1 = UINT8_C (0xff);
76578
 
+uint_least8_t d1max = UINT_LEAST8_MAX;
76579
 
+uint_least16_t d2 = UINT16_C (0xffff);
76580
 
+uint_least16_t d2max = UINT_LEAST16_MAX;
76581
 
+uint_least32_t d3 = UINT32_C (0xffffffff);
76582
 
+uint_least32_t d3max = UINT_LEAST32_MAX;
76583
 
+uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
76584
 
+uint_least64_t d4max = UINT_LEAST64_MAX;
76585
 
+int_fast8_t e1 = INT_FAST8_MAX;
76586
 
+int_fast8_t e1min = INT_FAST8_MIN;
76587
 
+int_fast16_t e2 = INT_FAST16_MAX;
76588
 
+int_fast16_t e2min = INT_FAST16_MIN;
76589
 
+int_fast32_t e3 = INT_FAST32_MAX;
76590
 
+int_fast32_t e3min = INT_FAST32_MIN;
76591
 
+int_fast64_t e4 = INT_FAST64_MAX;
76592
 
+int_fast64_t e4min = INT_FAST64_MIN;
76593
 
+uint_fast8_t f1 = UINT_FAST8_MAX;
76594
 
+uint_fast16_t f2 = UINT_FAST16_MAX;
76595
 
+uint_fast32_t f3 = UINT_FAST32_MAX;
76596
 
+uint_fast64_t f4 = UINT_FAST64_MAX;
76597
 
+#ifdef INTPTR_MAX
76598
 
+intptr_t g = INTPTR_MAX;
76599
 
+intptr_t gmin = INTPTR_MIN;
76600
 
+#endif
76601
 
+#ifdef UINTPTR_MAX
76602
 
+uintptr_t h = UINTPTR_MAX;
76603
 
+#endif
76604
 
+intmax_t i = INTMAX_MAX;
76605
 
+uintmax_t j = UINTMAX_MAX;
76606
 
+
76607
 
+#include <limits.h> /* for CHAR_BIT */
76608
 
+#define TYPE_MINIMUM(t) \
76609
 
+  ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t)))
76610
 
+#define TYPE_MAXIMUM(t) \
76611
 
+  ((t) ((t) 0 < (t) -1 \
76612
 
+        ? (t) -1 \
76613
 
+        : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
76614
 
+struct s {
76615
 
+  int check_PTRDIFF:
76616
 
+      PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
76617
 
+      && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
76618
 
+      ? 1 : -1;
76619
 
+  /* Detect bug in FreeBSD 6.0 / ia64.  */
76620
 
+  int check_SIG_ATOMIC:
76621
 
+      SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
76622
 
+      && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
76623
 
+      ? 1 : -1;
76624
 
+  int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
76625
 
+  int check_WCHAR:
76626
 
+      WCHAR_MIN == TYPE_MINIMUM (wchar_t)
76627
 
+      && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
76628
 
+      ? 1 : -1;
76629
 
+  /* Detect bug in mingw.  */
76630
 
+  int check_WINT:
76631
 
+      WINT_MIN == TYPE_MINIMUM (wint_t)
76632
 
+      && WINT_MAX == TYPE_MAXIMUM (wint_t)
76633
 
+      ? 1 : -1;
76634
 
+
76635
 
+  /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others.  */
76636
 
+  int check_UINT8_C:
76637
 
+        (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
76638
 
+  int check_UINT16_C:
76639
 
+        (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
76640
 
+
76641
 
+  /* Detect bugs in OpenBSD 3.9 stdint.h.  */
76642
 
+#ifdef UINT8_MAX
76643
 
+  int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
76644
 
+#endif
76645
 
+#ifdef UINT16_MAX
76646
 
+  int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
76647
 
+#endif
76648
 
+#ifdef UINT32_MAX
76649
 
+  int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
76650
 
+#endif
76651
 
+#ifdef UINT64_MAX
76652
 
+  int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
76653
 
+#endif
76654
 
+  int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
76655
 
+  int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
76656
 
+  int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
76657
 
+  int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
76658
 
+  int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
76659
 
+  int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
76660
 
+  int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
76661
 
+  int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
76662
 
+  int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
76663
 
+  int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
76664
 
+  int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
76665
 
+};
76666
 
+         
76667
 
+int
76668
 
+main ()
76669
 
+{
76670
 
+
76671
 
+  ;
76672
 
+  return 0;
76673
 
+}
76674
 
+_ACEOF
76675
 
+if ac_fn_c_try_compile "$LINENO"; then :
76676
 
+                                                    if test "$cross_compiling" = yes; then :
76677
 
+                 gl_cv_header_working_stdint_h=yes
76678
 
+              
76679
 
+else
76680
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76681
 
+/* end confdefs.h.  */
76682
 
+
76683
 
+            
76684
 
+#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
76685
 
+#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
76686
 
+#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
76687
 
+#include <stdint.h>
76688
 
+
76689
 
+
76690
 
+  /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
76691
 
+     included before <wchar.h>.  */
76692
 
+  #include <stddef.h>
76693
 
+  #include <signal.h>
76694
 
+  #if HAVE_WCHAR_H
76695
 
+  # include <stdio.h>
76696
 
+  # include <time.h>
76697
 
+  # include <wchar.h>
76698
 
+  #endif
76699
 
+
76700
 
+
76701
 
+#include <stdio.h>
76702
 
+#include <string.h>
76703
 
+#define MVAL(macro) MVAL1(macro)
76704
 
+#define MVAL1(expression) #expression
76705
 
+static const char *macro_values[] =
76706
 
+  {
76707
 
+#ifdef INT8_MAX
76708
 
+    MVAL (INT8_MAX),
76709
 
+#endif
76710
 
+#ifdef INT16_MAX
76711
 
+    MVAL (INT16_MAX),
76712
 
+#endif
76713
 
+#ifdef INT32_MAX
76714
 
+    MVAL (INT32_MAX),
76715
 
+#endif
76716
 
+#ifdef INT64_MAX
76717
 
+    MVAL (INT64_MAX),
76718
 
+#endif
76719
 
+#ifdef UINT8_MAX
76720
 
+    MVAL (UINT8_MAX),
76721
 
+#endif
76722
 
+#ifdef UINT16_MAX
76723
 
+    MVAL (UINT16_MAX),
76724
 
+#endif
76725
 
+#ifdef UINT32_MAX
76726
 
+    MVAL (UINT32_MAX),
76727
 
+#endif
76728
 
+#ifdef UINT64_MAX
76729
 
+    MVAL (UINT64_MAX),
76730
 
+#endif
76731
 
+    NULL
76732
 
+  };
76733
 
+
76734
 
+int
76735
 
+main ()
76736
 
+{
76737
 
+
76738
 
+  const char **mv;
76739
 
+  for (mv = macro_values; *mv != NULL; mv++)
76740
 
+    {
76741
 
+      const char *value = *mv;
76742
 
+      /* Test whether it looks like a cast expression.  */
76743
 
+      if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0
76744
 
+          || strncmp (value, "((unsigned short)"/*)*/, 17) == 0
76745
 
+          || strncmp (value, "((unsigned char)"/*)*/, 16) == 0
76746
 
+          || strncmp (value, "((int)"/*)*/, 6) == 0
76747
 
+          || strncmp (value, "((signed short)"/*)*/, 15) == 0
76748
 
+          || strncmp (value, "((signed char)"/*)*/, 14) == 0)
76749
 
+        return mv - macro_values + 1;
76750
 
+    }
76751
 
+  return 0;
76752
 
+
76753
 
+  ;
76754
 
+  return 0;
76755
 
+}
76756
 
+_ACEOF
76757
 
+if ac_fn_c_try_run "$LINENO"; then :
76758
 
+  gl_cv_header_working_stdint_h=yes
76759
 
+fi
76760
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
76761
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
76762
 
+fi
76763
 
+
76764
 
+         
76765
 
+fi
76766
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76767
 
+      
76768
 
+fi
76769
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5
76770
 
+$as_echo "$gl_cv_header_working_stdint_h" >&6; }
76771
 
+  fi
76772
 
+  if test "$gl_cv_header_working_stdint_h" = yes; then
76773
 
+    STDINT_H=
76774
 
+  else
76775
 
+            for ac_header in sys/inttypes.h sys/bitypes.h
76776
 
+do :
76777
 
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76778
 
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76779
 
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76780
 
+  cat >>confdefs.h <<_ACEOF
76781
 
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76782
 
+_ACEOF
76783
 
76784
 
+fi
76785
 
+
76786
 
+done
76787
 
+
76788
 
+    if test $ac_cv_header_sys_inttypes_h = yes; then
76789
 
+      HAVE_SYS_INTTYPES_H=1
76790
 
+    else
76791
 
+      HAVE_SYS_INTTYPES_H=0
76792
 
+    fi
76793
 
+    
76794
 
+    if test $ac_cv_header_sys_bitypes_h = yes; then
76795
 
+      HAVE_SYS_BITYPES_H=1
76796
 
+    else
76797
 
+      HAVE_SYS_BITYPES_H=0
76798
 
+    fi
76799
 
+    
76800
 
+
76801
 
+    
76802
 
+  
76803
 
+  if test $APPLE_UNIVERSAL_BUILD = 0; then
76804
 
+    
76805
 
+          
76806
 
+  for gltype in ptrdiff_t size_t ; do
76807
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
76808
 
+$as_echo_n "checking for bit size of $gltype... " >&6; }
76809
 
+if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
76810
 
+  $as_echo_n "(cached) " >&6
76811
 
+else
76812
 
+  if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result"        "
76813
 
+  /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
76814
 
+     included before <wchar.h>.  */
76815
 
+  #include <stddef.h>
76816
 
+  #include <signal.h>
76817
 
+  #if HAVE_WCHAR_H
76818
 
+  # include <stdio.h>
76819
 
+  # include <time.h>
76820
 
+  # include <wchar.h>
76821
 
+  #endif
76822
 
+
76823
 
+#include <limits.h>"; then :
76824
 
+  
76825
 
+else
76826
 
+  result=unknown
76827
 
+fi
76828
 
+
76829
 
+       eval gl_cv_bitsizeof_${gltype}=\$result
76830
 
+      
76831
 
+fi
76832
 
+eval ac_res=\$gl_cv_bitsizeof_${gltype}
76833
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
76834
 
+$as_echo "$ac_res" >&6; }
76835
 
+    eval result=\$gl_cv_bitsizeof_${gltype}
76836
 
+    if test $result = unknown; then
76837
 
+                                                result=0
76838
 
+    fi
76839
 
+    GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
76840
 
+    cat >>confdefs.h <<_ACEOF
76841
 
+@%:@define BITSIZEOF_${GLTYPE} $result
76842
 
+_ACEOF
76843
 
+
76844
 
+    eval BITSIZEOF_${GLTYPE}=\$result
76845
 
+  done
76846
 
+  
76847
 
+
76848
 
+  fi
76849
 
+  
76850
 
+          
76851
 
+  for gltype in sig_atomic_t wchar_t wint_t ; do
76852
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
76853
 
+$as_echo_n "checking for bit size of $gltype... " >&6; }
76854
 
+if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
76855
 
+  $as_echo_n "(cached) " >&6
76856
 
+else
76857
 
+  if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result"        "
76858
 
+  /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
76859
 
+     included before <wchar.h>.  */
76860
 
+  #include <stddef.h>
76861
 
+  #include <signal.h>
76862
 
+  #if HAVE_WCHAR_H
76863
 
+  # include <stdio.h>
76864
 
+  # include <time.h>
76865
 
+  # include <wchar.h>
76866
 
+  #endif
76867
 
+
76868
 
+#include <limits.h>"; then :
76869
 
+  
76870
 
+else
76871
 
+  result=unknown
76872
 
+fi
76873
 
+
76874
 
+       eval gl_cv_bitsizeof_${gltype}=\$result
76875
 
+      
76876
 
+fi
76877
 
+eval ac_res=\$gl_cv_bitsizeof_${gltype}
76878
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
76879
 
+$as_echo "$ac_res" >&6; }
76880
 
+    eval result=\$gl_cv_bitsizeof_${gltype}
76881
 
+    if test $result = unknown; then
76882
 
+                                                result=0
76883
 
+    fi
76884
 
+    GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
76885
 
+    cat >>confdefs.h <<_ACEOF
76886
 
+@%:@define BITSIZEOF_${GLTYPE} $result
76887
 
+_ACEOF
76888
 
+
76889
 
+    eval BITSIZEOF_${GLTYPE}=\$result
76890
 
+  done
76891
 
+  
76892
 
+
76893
 
+  
76894
 
+          
76895
 
+  for gltype in sig_atomic_t wchar_t wint_t ; do
76896
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
76897
 
+$as_echo_n "checking whether $gltype is signed... " >&6; }
76898
 
+if eval \${gl_cv_type_${gltype}_signed+:} false; then :
76899
 
+  $as_echo_n "(cached) " >&6
76900
 
+else
76901
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76902
 
+/* end confdefs.h.  */
76903
 
+
76904
 
+  /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
76905
 
+     included before <wchar.h>.  */
76906
 
+  #include <stddef.h>
76907
 
+  #include <signal.h>
76908
 
+  #if HAVE_WCHAR_H
76909
 
+  # include <stdio.h>
76910
 
+  # include <time.h>
76911
 
+  # include <wchar.h>
76912
 
+  #endif
76913
 
+
76914
 
+            int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
76915
 
+int
76916
 
+main ()
76917
 
+{
76918
 
+
76919
 
+  ;
76920
 
+  return 0;
76921
 
+}
76922
 
+_ACEOF
76923
 
+if ac_fn_c_try_compile "$LINENO"; then :
76924
 
+  result=yes
76925
 
+else
76926
 
+  result=no
76927
 
+fi
76928
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76929
 
+       eval gl_cv_type_${gltype}_signed=\$result
76930
 
+      
76931
 
+fi
76932
 
+eval ac_res=\$gl_cv_type_${gltype}_signed
76933
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
76934
 
+$as_echo "$ac_res" >&6; }
76935
 
+    eval result=\$gl_cv_type_${gltype}_signed
76936
 
+    GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
76937
 
+    if test "$result" = yes; then
76938
 
+      cat >>confdefs.h <<_ACEOF
76939
 
+@%:@define HAVE_SIGNED_${GLTYPE} 1
76940
 
+_ACEOF
76941
 
+
76942
 
+      eval HAVE_SIGNED_${GLTYPE}=1
76943
 
+    else
76944
 
+      eval HAVE_SIGNED_${GLTYPE}=0
76945
 
+    fi
76946
 
+  done
76947
 
+  
76948
 
+
76949
 
+  gl_cv_type_ptrdiff_t_signed=yes
76950
 
+  gl_cv_type_size_t_signed=no
76951
 
+  if test $APPLE_UNIVERSAL_BUILD = 0; then
76952
 
+    
76953
 
+          
76954
 
+  for gltype in ptrdiff_t size_t ; do
76955
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
76956
 
+$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
76957
 
+if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
76958
 
+  $as_echo_n "(cached) " >&6
76959
 
+else
76960
 
+  eval gl_cv_type_${gltype}_suffix=no
76961
 
+       eval result=\$gl_cv_type_${gltype}_signed
76962
 
+       if test "$result" = yes; then
76963
 
+         glsufu=
76964
 
+       else
76965
 
+         glsufu=u
76966
 
+       fi
76967
 
+       for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
76968
 
+         case $glsuf in
76969
 
+           '')  gltype1='int';;
76970
 
+           l)   gltype1='long int';;
76971
 
+           ll)  gltype1='long long int';;
76972
 
+           i64) gltype1='__int64';;
76973
 
+           u)   gltype1='unsigned int';;
76974
 
+           ul)  gltype1='unsigned long int';;
76975
 
+           ull) gltype1='unsigned long long int';;
76976
 
+           ui64)gltype1='unsigned __int64';;
76977
 
+         esac
76978
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76979
 
+/* end confdefs.h.  */
76980
 
+
76981
 
+  /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
76982
 
+     included before <wchar.h>.  */
76983
 
+  #include <stddef.h>
76984
 
+  #include <signal.h>
76985
 
+  #if HAVE_WCHAR_H
76986
 
+  # include <stdio.h>
76987
 
+  # include <time.h>
76988
 
+  # include <wchar.h>
76989
 
+  #endif
76990
 
+
76991
 
+              extern $gltype foo;
76992
 
+              extern $gltype1 foo;
76993
 
+int
76994
 
+main ()
76995
 
+{
76996
 
+
76997
 
+  ;
76998
 
+  return 0;
76999
 
+}
77000
 
+_ACEOF
77001
 
+if ac_fn_c_try_compile "$LINENO"; then :
77002
 
+  eval gl_cv_type_${gltype}_suffix=\$glsuf
77003
 
+fi
77004
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77005
 
+         eval result=\$gl_cv_type_${gltype}_suffix
77006
 
+         test "$result" != no && break
77007
 
+       done
77008
 
+fi
77009
 
+eval ac_res=\$gl_cv_type_${gltype}_suffix
77010
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
77011
 
+$as_echo "$ac_res" >&6; }
77012
 
+    GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
77013
 
+    eval result=\$gl_cv_type_${gltype}_suffix
77014
 
+    test "$result" = no && result=
77015
 
+    eval ${GLTYPE}_SUFFIX=\$result
77016
 
+    cat >>confdefs.h <<_ACEOF
77017
 
+@%:@define ${GLTYPE}_SUFFIX $result
77018
 
+_ACEOF
77019
 
+
77020
 
+  done
77021
 
+  
77022
 
+
77023
 
+  fi
77024
 
+  
77025
 
+          
77026
 
+  for gltype in sig_atomic_t wchar_t wint_t ; do
77027
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
77028
 
+$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
77029
 
+if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
77030
 
+  $as_echo_n "(cached) " >&6
77031
 
+else
77032
 
+  eval gl_cv_type_${gltype}_suffix=no
77033
 
+       eval result=\$gl_cv_type_${gltype}_signed
77034
 
+       if test "$result" = yes; then
77035
 
+         glsufu=
77036
 
+       else
77037
 
+         glsufu=u
77038
 
+       fi
77039
 
+       for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
77040
 
+         case $glsuf in
77041
 
+           '')  gltype1='int';;
77042
 
+           l)   gltype1='long int';;
77043
 
+           ll)  gltype1='long long int';;
77044
 
+           i64) gltype1='__int64';;
77045
 
+           u)   gltype1='unsigned int';;
77046
 
+           ul)  gltype1='unsigned long int';;
77047
 
+           ull) gltype1='unsigned long long int';;
77048
 
+           ui64)gltype1='unsigned __int64';;
77049
 
+         esac
77050
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77051
 
+/* end confdefs.h.  */
77052
 
+
77053
 
+  /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
77054
 
+     included before <wchar.h>.  */
77055
 
+  #include <stddef.h>
77056
 
+  #include <signal.h>
77057
 
+  #if HAVE_WCHAR_H
77058
 
+  # include <stdio.h>
77059
 
+  # include <time.h>
77060
 
+  # include <wchar.h>
77061
 
+  #endif
77062
 
+
77063
 
+              extern $gltype foo;
77064
 
+              extern $gltype1 foo;
77065
 
+int
77066
 
+main ()
77067
 
+{
77068
 
+
77069
 
+  ;
77070
 
+  return 0;
77071
 
+}
77072
 
+_ACEOF
77073
 
+if ac_fn_c_try_compile "$LINENO"; then :
77074
 
+  eval gl_cv_type_${gltype}_suffix=\$glsuf
77075
 
+fi
77076
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77077
 
+         eval result=\$gl_cv_type_${gltype}_suffix
77078
 
+         test "$result" != no && break
77079
 
+       done
77080
 
+fi
77081
 
+eval ac_res=\$gl_cv_type_${gltype}_suffix
77082
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
77083
 
+$as_echo "$ac_res" >&6; }
77084
 
+    GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
77085
 
+    eval result=\$gl_cv_type_${gltype}_suffix
77086
 
+    test "$result" = no && result=
77087
 
+    eval ${GLTYPE}_SUFFIX=\$result
77088
 
+    cat >>confdefs.h <<_ACEOF
77089
 
+@%:@define ${GLTYPE}_SUFFIX $result
77090
 
+_ACEOF
77091
 
+
77092
 
+  done
77093
 
+  
77094
 
+
77095
 
+
77096
 
+    STDINT_H=stdint.h
77097
 
+  fi
77098
 
+  
77099
 
+   if test -n "$STDINT_H"; then
77100
 
+  GL_GENERATE_STDINT_H_TRUE=
77101
 
+  GL_GENERATE_STDINT_H_FALSE='#'
77102
 
+else
77103
 
+  GL_GENERATE_STDINT_H_TRUE='#'
77104
 
+  GL_GENERATE_STDINT_H_FALSE=
77105
 
+fi
77106
 
+
77107
 
+
77108
 
+
77109
 
+
77110
 
+
77111
 
+  GNULIB_IMAXABS=0;      
77112
 
+  GNULIB_IMAXDIV=0;      
77113
 
+  GNULIB_STRTOIMAX=0;    
77114
 
+  GNULIB_STRTOUMAX=0;    
77115
 
+    HAVE_DECL_IMAXABS=1;   
77116
 
+  HAVE_DECL_IMAXDIV=1;   
77117
 
+  HAVE_DECL_STRTOIMAX=1; 
77118
 
+  HAVE_DECL_STRTOUMAX=1; 
77119
 
+  INT32_MAX_LT_INTMAX_MAX=1;  
77120
 
+  INT64_MAX_EQ_LONG_MAX='defined _LP64';  
77121
 
+  PRI_MACROS_BROKEN=0;   
77122
 
+  PRIPTR_PREFIX=__PRIPTR_PREFIX;  
77123
 
+  UINT32_MAX_LT_UINTMAX_MAX=1;  
77124
 
+  UINT64_MAX_EQ_ULONG_MAX='defined _LP64';  
77125
 
+
77126
 
+
77127
 
+  
77128
 
+  
77129
 
+
77130
 
+    
77131
 
+  
77132
 
+  
77133
 
+  
77134
 
+  
77135
 
+
77136
 
+  
77137
 
+    
77138
 
+
77139
 
+  
77140
 
+     if test $gl_cv_have_include_next = yes; then
77141
 
+       gl_cv_next_inttypes_h='<'inttypes.h'>'
77142
 
+     else
77143
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <inttypes.h>" >&5
77144
 
+$as_echo_n "checking absolute name of <inttypes.h>... " >&6; }
77145
 
+if ${gl_cv_next_inttypes_h+:} false; then :
77146
 
+  $as_echo_n "(cached) " >&6
77147
 
+else
77148
 
+  
77149
 
+             if test $ac_cv_header_inttypes_h = yes; then
77150
 
+             
77151
 
+            
77152
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77153
 
+/* end confdefs.h.  */
77154
 
+#include <inttypes.h>
77155
 
+                  
77156
 
+_ACEOF
77157
 
+                                                                                                                        case "$host_os" in
77158
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
77159
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
77160
 
+               esac
77161
 
+                                                            gl_cv_next_inttypes_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
77162
 
+                  sed -n '\#/inttypes.h#{
77163
 
+                    s#.*"\(.*/inttypes.h\)".*#\1#
77164
 
+                    s#^/[^/]#//&#
77165
 
+                    p
77166
 
+                    q
77167
 
+                  }'`'"'
77168
 
+          else
77169
 
+               gl_cv_next_inttypes_h='<'inttypes.h'>'
77170
 
+             fi
77171
 
+            
77172
 
+         
77173
 
+fi
77174
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_inttypes_h" >&5
77175
 
+$as_echo "$gl_cv_next_inttypes_h" >&6; }
77176
 
+     fi
77177
 
+     NEXT_INTTYPES_H=$gl_cv_next_inttypes_h
77178
 
+
77179
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
77180
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
77181
 
+       gl_next_as_first_directive='<'inttypes.h'>'
77182
 
+     else
77183
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
77184
 
+       gl_next_as_first_directive=$gl_cv_next_inttypes_h
77185
 
+     fi
77186
 
+     NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H=$gl_next_as_first_directive
77187
 
+
77188
 
+     
77189
 
+
77190
 
+
77191
 
+
77192
 
+  
77193
 
+
77194
 
+              
77195
 
+$as_echo "@%:@define GL_TRIGGER_STDC_LIMIT_MACROS 1" >>confdefs.h
77196
 
+
77197
 
+  
77198
 
+
77199
 
+      
77200
 
+    for gl_func in imaxabs imaxdiv strtoimax strtoumax; do
77201
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
77202
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
77203
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
77204
 
+if eval \${$as_gl_Symbol+:} false; then :
77205
 
+  $as_echo_n "(cached) " >&6
77206
 
+else
77207
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77208
 
+/* end confdefs.h.  */
77209
 
+#include <inttypes.h>
77210
 
+    
77211
 
+int
77212
 
+main ()
77213
 
+{
77214
 
+@%:@undef $gl_func
77215
 
+  (void) $gl_func;
77216
 
+  ;
77217
 
+  return 0;
77218
 
+}
77219
 
+_ACEOF
77220
 
+if ac_fn_c_try_compile "$LINENO"; then :
77221
 
+  eval "$as_gl_Symbol=yes"
77222
 
+else
77223
 
+  eval "$as_gl_Symbol=no"
77224
 
+fi
77225
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77226
 
+fi
77227
 
+eval ac_res=\$$as_gl_Symbol
77228
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
77229
 
+$as_echo "$ac_res" >&6; }
77230
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
77231
 
+  cat >>confdefs.h <<_ACEOF
77232
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
77233
 
+_ACEOF
77234
 
+
77235
 
+                     eval ac_cv_have_decl_$gl_func=yes
77236
 
+fi
77237
 
+      done
77238
 
+
77239
 
+
77240
 
+
77241
 
+  for ac_header in inttypes.h
77242
 
+do :
77243
 
+  ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
77244
 
+if test "x$ac_cv_header_inttypes_h" = xyes; then :
77245
 
+  cat >>confdefs.h <<_ACEOF
77246
 
+@%:@define HAVE_INTTYPES_H 1
77247
 
+_ACEOF
77248
 
77249
 
+fi
77250
 
+
77251
 
+done
77252
 
+
77253
 
+  if test $ac_cv_header_inttypes_h = yes; then
77254
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
77255
 
+$as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
77256
 
+if ${gt_cv_inttypes_pri_broken+:} false; then :
77257
 
+  $as_echo_n "(cached) " >&6
77258
 
+else
77259
 
+  
77260
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77261
 
+/* end confdefs.h.  */
77262
 
+
77263
 
+#include <inttypes.h>
77264
 
+#ifdef PRId32
77265
 
+char *p = PRId32;
77266
 
+#endif
77267
 
+             
77268
 
+int
77269
 
+main ()
77270
 
+{
77271
 
+
77272
 
+  ;
77273
 
+  return 0;
77274
 
+}
77275
 
+_ACEOF
77276
 
+if ac_fn_c_try_compile "$LINENO"; then :
77277
 
+  gt_cv_inttypes_pri_broken=no
77278
 
+else
77279
 
+  gt_cv_inttypes_pri_broken=yes
77280
 
+fi
77281
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77282
 
+      
77283
 
+fi
77284
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
77285
 
+$as_echo "$gt_cv_inttypes_pri_broken" >&6; }
77286
 
+  fi
77287
 
+  if test "$gt_cv_inttypes_pri_broken" = yes; then
77288
 
+    
77289
 
+cat >>confdefs.h <<_ACEOF
77290
 
+@%:@define PRI_MACROS_BROKEN 1
77291
 
+_ACEOF
77292
 
+
77293
 
+    PRI_MACROS_BROKEN=1
77294
 
+  else
77295
 
+    PRI_MACROS_BROKEN=0
77296
 
+  fi
77297
 
+  
77298
 
+
77299
 
+
77300
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
77301
 
+$as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
77302
 
+if ${gl_cv_cc_float_expbit0+:} false; then :
77303
 
+  $as_echo_n "(cached) " >&6
77304
 
+else
77305
 
+  
77306
 
+      if test "$cross_compiling" = yes; then :
77307
 
+  gl_cv_cc_float_expbit0="word 0 bit 23"
77308
 
+else
77309
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77310
 
+/* end confdefs.h.  */
77311
 
+
77312
 
+#include <float.h>
77313
 
+#include <stddef.h>
77314
 
+#include <stdio.h>
77315
 
+#include <string.h>
77316
 
+#define NWORDS \
77317
 
+  ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
77318
 
+typedef union { float value; unsigned int word[NWORDS]; } memory_float;
77319
 
+static unsigned int ored_words[NWORDS];
77320
 
+static unsigned int anded_words[NWORDS];
77321
 
+static void add_to_ored_words (float x)
77322
 
+{
77323
 
+  memory_float m;
77324
 
+  size_t i;
77325
 
+  /* Clear it first, in case
77326
 
+     sizeof (float) < sizeof (memory_float).  */
77327
 
+  memset (&m, 0, sizeof (memory_float));
77328
 
+  m.value = x;
77329
 
+  for (i = 0; i < NWORDS; i++)
77330
 
+    {
77331
 
+      ored_words[i] |= m.word[i];
77332
 
+      anded_words[i] &= m.word[i];
77333
 
+    }
77334
 
+}
77335
 
+int main ()
77336
 
+{
77337
 
+  size_t j;
77338
 
+  FILE *fp = fopen ("conftest.out", "w");
77339
 
+  if (fp == NULL)
77340
 
+    return 1;
77341
 
+  for (j = 0; j < NWORDS; j++)
77342
 
+    anded_words[j] = ~ (unsigned int) 0;
77343
 
+  add_to_ored_words (0.25f);
77344
 
+  add_to_ored_words (0.5f);
77345
 
+  add_to_ored_words (1.0f);
77346
 
+  add_to_ored_words (2.0f);
77347
 
+  add_to_ored_words (4.0f);
77348
 
+  /* Remove bits that are common (e.g. if representation of the first mantissa
77349
 
+     bit is explicit).  */
77350
 
+  for (j = 0; j < NWORDS; j++)
77351
 
+    ored_words[j] &= ~anded_words[j];
77352
 
+  /* Now find the nonzero word.  */
77353
 
+  for (j = 0; j < NWORDS; j++)
77354
 
+    if (ored_words[j] != 0)
77355
 
+      break;
77356
 
+  if (j < NWORDS)
77357
 
+    {
77358
 
+      size_t i;
77359
 
+      for (i = j + 1; i < NWORDS; i++)
77360
 
+        if (ored_words[i] != 0)
77361
 
+          {
77362
 
+            fprintf (fp, "unknown");
77363
 
+            return (fclose (fp) != 0);
77364
 
+          }
77365
 
+      for (i = 0; ; i++)
77366
 
+        if ((ored_words[j] >> i) & 1)
77367
 
+          {
77368
 
+            fprintf (fp, "word %d bit %d", (int) j, (int) i);
77369
 
+            return (fclose (fp) != 0);
77370
 
+          }
77371
 
+    }
77372
 
+  fprintf (fp, "unknown");
77373
 
+  return (fclose (fp) != 0);
77374
 
+}
77375
 
+        
77376
 
+_ACEOF
77377
 
+if ac_fn_c_try_run "$LINENO"; then :
77378
 
+  gl_cv_cc_float_expbit0=`cat conftest.out`
77379
 
+else
77380
 
+  gl_cv_cc_float_expbit0="unknown"
77381
 
+fi
77382
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
77383
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
77384
 
+fi
77385
 
+
77386
 
+      rm -f conftest.out
77387
 
+    
77388
 
+fi
77389
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5
77390
 
+$as_echo "$gl_cv_cc_float_expbit0" >&6; }
77391
 
+  case "$gl_cv_cc_float_expbit0" in
77392
 
+    word*bit*)
77393
 
+      word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
77394
 
+      bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'`
77395
 
+      
77396
 
+cat >>confdefs.h <<_ACEOF
77397
 
+@%:@define FLT_EXPBIT0_WORD $word
77398
 
+_ACEOF
77399
 
+
77400
 
+      
77401
 
+cat >>confdefs.h <<_ACEOF
77402
 
+@%:@define FLT_EXPBIT0_BIT $bit
77403
 
+_ACEOF
77404
 
+
77405
 
+      ;;
77406
 
+  esac
77407
 
+
77408
 
+
77409
 
+  GNULIB_ISWBLANK=0;    
77410
 
+  GNULIB_WCTYPE=0;      
77411
 
+  GNULIB_ISWCTYPE=0;    
77412
 
+  GNULIB_WCTRANS=0;     
77413
 
+  GNULIB_TOWCTRANS=0;   
77414
 
+    HAVE_ISWBLANK=1;      
77415
 
+  HAVE_WCTYPE_T=1;      
77416
 
+  HAVE_WCTRANS_T=1;     
77417
 
+  REPLACE_ISWBLANK=0;   
77418
 
+
77419
 
+
77420
 
+
77421
 
+
77422
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
77423
 
+$as_echo_n "checking for wint_t... " >&6; }
77424
 
+if ${gt_cv_c_wint_t+:} false; then :
77425
 
+  $as_echo_n "(cached) " >&6
77426
 
+else
77427
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77428
 
+/* end confdefs.h.  */
77429
 
+
77430
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
77431
 
+   <wchar.h>.
77432
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
77433
 
+   before <wchar.h>.  */
77434
 
+#include <stddef.h>
77435
 
+#include <stdio.h>
77436
 
+#include <time.h>
77437
 
+#include <wchar.h>
77438
 
+            wint_t foo = (wchar_t)'\0';
77439
 
+int
77440
 
+main ()
77441
 
+{
77442
 
+
77443
 
+  ;
77444
 
+  return 0;
77445
 
+}
77446
 
+_ACEOF
77447
 
+if ac_fn_c_try_compile "$LINENO"; then :
77448
 
+  gt_cv_c_wint_t=yes
77449
 
+else
77450
 
+  gt_cv_c_wint_t=no
77451
 
+fi
77452
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77453
 
+fi
77454
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
77455
 
+$as_echo "$gt_cv_c_wint_t" >&6; }
77456
 
+  if test $gt_cv_c_wint_t = yes; then
77457
 
+    
77458
 
+$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h
77459
 
+
77460
 
+  fi
77461
 
+
77462
 
+
77463
 
+  
77464
 
+  
77465
 
+  
77466
 
+  
77467
 
+  if test $ac_cv_func_iswcntrl = yes; then
77468
 
+    HAVE_ISWCNTRL=1
77469
 
+  else
77470
 
+    HAVE_ISWCNTRL=0
77471
 
+  fi
77472
 
+  
77473
 
+
77474
 
+  
77475
 
+
77476
 
+  
77477
 
+  if test $gt_cv_c_wint_t = yes; then
77478
 
+    HAVE_WINT_T=1
77479
 
+  else
77480
 
+    HAVE_WINT_T=0
77481
 
+  fi
77482
 
+  
77483
 
+
77484
 
+  
77485
 
+  
77486
 
+  
77487
 
+  
77488
 
+
77489
 
+  
77490
 
+    
77491
 
+
77492
 
+  
77493
 
+     if test $gl_cv_have_include_next = yes; then
77494
 
+       gl_cv_next_wctype_h='<'wctype.h'>'
77495
 
+     else
77496
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wctype.h>" >&5
77497
 
+$as_echo_n "checking absolute name of <wctype.h>... " >&6; }
77498
 
+if ${gl_cv_next_wctype_h+:} false; then :
77499
 
+  $as_echo_n "(cached) " >&6
77500
 
+else
77501
 
+  
77502
 
+             if test $ac_cv_header_wctype_h = yes; then
77503
 
+             
77504
 
+            
77505
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77506
 
+/* end confdefs.h.  */
77507
 
+#include <wctype.h>
77508
 
+                  
77509
 
+_ACEOF
77510
 
+                                                                                                                        case "$host_os" in
77511
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
77512
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
77513
 
+               esac
77514
 
+                                                            gl_cv_next_wctype_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
77515
 
+                  sed -n '\#/wctype.h#{
77516
 
+                    s#.*"\(.*/wctype.h\)".*#\1#
77517
 
+                    s#^/[^/]#//&#
77518
 
+                    p
77519
 
+                    q
77520
 
+                  }'`'"'
77521
 
+          else
77522
 
+               gl_cv_next_wctype_h='<'wctype.h'>'
77523
 
+             fi
77524
 
+            
77525
 
+         
77526
 
+fi
77527
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5
77528
 
+$as_echo "$gl_cv_next_wctype_h" >&6; }
77529
 
+     fi
77530
 
+     NEXT_WCTYPE_H=$gl_cv_next_wctype_h
77531
 
+
77532
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
77533
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
77534
 
+       gl_next_as_first_directive='<'wctype.h'>'
77535
 
+     else
77536
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
77537
 
+       gl_next_as_first_directive=$gl_cv_next_wctype_h
77538
 
+     fi
77539
 
+     NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H=$gl_next_as_first_directive
77540
 
+
77541
 
+     
77542
 
+
77543
 
+
77544
 
+  if test $ac_cv_header_wctype_h = yes; then
77545
 
+    if test $ac_cv_func_iswcntrl = yes; then
77546
 
+                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5
77547
 
+$as_echo_n "checking whether iswcntrl works... " >&6; }
77548
 
+if ${gl_cv_func_iswcntrl_works+:} false; then :
77549
 
+  $as_echo_n "(cached) " >&6
77550
 
+else
77551
 
+  
77552
 
+          if test "$cross_compiling" = yes; then :
77553
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77554
 
+/* end confdefs.h.  */
77555
 
+#include <stdlib.h>
77556
 
+                          #if __GNU_LIBRARY__ == 1
77557
 
+                          Linux libc5 i18n is broken.
77558
 
+                          #endif
77559
 
+int
77560
 
+main ()
77561
 
+{
77562
 
+
77563
 
+  ;
77564
 
+  return 0;
77565
 
+}
77566
 
+_ACEOF
77567
 
+if ac_fn_c_try_compile "$LINENO"; then :
77568
 
+  gl_cv_func_iswcntrl_works=yes
77569
 
+else
77570
 
+  gl_cv_func_iswcntrl_works=no
77571
 
+fi
77572
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77573
 
+            
77574
 
+else
77575
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77576
 
+/* end confdefs.h.  */
77577
 
+
77578
 
+               /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
77579
 
+                  included before <wchar.h>.
77580
 
+                  BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
77581
 
+                  must be included before <wchar.h>.  */
77582
 
+               #include <stddef.h>
77583
 
+               #include <stdio.h>
77584
 
+               #include <time.h>
77585
 
+               #include <wchar.h>
77586
 
+               #include <wctype.h>
77587
 
+               int main () { return iswprint ('x') == 0; }
77588
 
+            
77589
 
+_ACEOF
77590
 
+if ac_fn_c_try_run "$LINENO"; then :
77591
 
+  gl_cv_func_iswcntrl_works=yes
77592
 
+else
77593
 
+  gl_cv_func_iswcntrl_works=no
77594
 
+fi
77595
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
77596
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
77597
 
+fi
77598
 
+
77599
 
+        
77600
 
+fi
77601
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswcntrl_works" >&5
77602
 
+$as_echo "$gl_cv_func_iswcntrl_works" >&6; }
77603
 
+    fi
77604
 
+    HAVE_WCTYPE_H=1
77605
 
+  else
77606
 
+    HAVE_WCTYPE_H=0
77607
 
+  fi
77608
 
+  
77609
 
+
77610
 
+  if test "$gl_cv_func_iswcntrl_works" = no; then
77611
 
+    REPLACE_ISWCNTRL=1
77612
 
+  else
77613
 
+    REPLACE_ISWCNTRL=0
77614
 
+  fi
77615
 
+  
77616
 
+
77617
 
+  if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
77618
 
+        :
77619
 
+  fi
77620
 
+
77621
 
+  if test $REPLACE_ISWCNTRL = 1; then
77622
 
+    REPLACE_TOWLOWER=1
77623
 
+  else
77624
 
+    for ac_func in towlower
77625
 
+do :
77626
 
+  ac_fn_c_check_func "$LINENO" "towlower" "ac_cv_func_towlower"
77627
 
+if test "x$ac_cv_func_towlower" = xyes; then :
77628
 
+  cat >>confdefs.h <<_ACEOF
77629
 
+@%:@define HAVE_TOWLOWER 1
77630
 
+_ACEOF
77631
 
77632
 
+fi
77633
 
+done
77634
 
+
77635
 
+    if test $ac_cv_func_towlower = yes; then
77636
 
+      REPLACE_TOWLOWER=0
77637
 
+    else
77638
 
+      ac_fn_c_check_decl "$LINENO" "towlower" "ac_cv_have_decl_towlower" "/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
77639
 
+             included before <wchar.h>.
77640
 
+             BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
77641
 
+             must be included before <wchar.h>.  */
77642
 
+          #include <stddef.h>
77643
 
+          #include <stdio.h>
77644
 
+          #include <time.h>
77645
 
+          #include <wchar.h>
77646
 
+          #if HAVE_WCTYPE_H
77647
 
+          # include <wctype.h>
77648
 
+          #endif
77649
 
+        
77650
 
+"
77651
 
+if test "x$ac_cv_have_decl_towlower" = xyes; then :
77652
 
+  ac_have_decl=1
77653
 
+else
77654
 
+  ac_have_decl=0
77655
 
+fi
77656
 
+
77657
 
+cat >>confdefs.h <<_ACEOF
77658
 
+@%:@define HAVE_DECL_TOWLOWER $ac_have_decl
77659
 
+_ACEOF
77660
 
+
77661
 
+      if test $ac_cv_have_decl_towlower = yes; then
77662
 
+                                REPLACE_TOWLOWER=1
77663
 
+      else
77664
 
+        REPLACE_TOWLOWER=0
77665
 
+      fi
77666
 
+    fi
77667
 
+  fi
77668
 
+  
77669
 
+
77670
 
+  if test $HAVE_ISWCNTRL = 0 || test $REPLACE_TOWLOWER = 1; then
77671
 
+        :
77672
 
+  fi
77673
 
+
77674
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5
77675
 
+$as_echo_n "checking for wctype_t... " >&6; }
77676
 
+if ${gl_cv_type_wctype_t+:} false; then :
77677
 
+  $as_echo_n "(cached) " >&6
77678
 
+else
77679
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77680
 
+/* end confdefs.h.  */
77681
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
77682
 
+               included before <wchar.h>.
77683
 
+               BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
77684
 
+               must be included before <wchar.h>.  */
77685
 
+            #include <stddef.h>
77686
 
+            #include <stdio.h>
77687
 
+            #include <time.h>
77688
 
+            #include <wchar.h>
77689
 
+            #if HAVE_WCTYPE_H
77690
 
+            # include <wctype.h>
77691
 
+            #endif
77692
 
+            wctype_t a;
77693
 
+          
77694
 
+int
77695
 
+main ()
77696
 
+{
77697
 
+
77698
 
+  ;
77699
 
+  return 0;
77700
 
+}
77701
 
+_ACEOF
77702
 
+if ac_fn_c_try_compile "$LINENO"; then :
77703
 
+  gl_cv_type_wctype_t=yes
77704
 
+else
77705
 
+  gl_cv_type_wctype_t=no
77706
 
+fi
77707
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77708
 
+    
77709
 
+fi
77710
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctype_t" >&5
77711
 
+$as_echo "$gl_cv_type_wctype_t" >&6; }
77712
 
+  if test $gl_cv_type_wctype_t = no; then
77713
 
+    HAVE_WCTYPE_T=0
77714
 
+  fi
77715
 
+
77716
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5
77717
 
+$as_echo_n "checking for wctrans_t... " >&6; }
77718
 
+if ${gl_cv_type_wctrans_t+:} false; then :
77719
 
+  $as_echo_n "(cached) " >&6
77720
 
+else
77721
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77722
 
+/* end confdefs.h.  */
77723
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
77724
 
+               included before <wchar.h>.
77725
 
+               BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
77726
 
+               must be included before <wchar.h>.  */
77727
 
+            #include <stddef.h>
77728
 
+            #include <stdio.h>
77729
 
+            #include <time.h>
77730
 
+            #include <wchar.h>
77731
 
+            #include <wctype.h>
77732
 
+            wctrans_t a;
77733
 
+          
77734
 
+int
77735
 
+main ()
77736
 
+{
77737
 
+
77738
 
+  ;
77739
 
+  return 0;
77740
 
+}
77741
 
+_ACEOF
77742
 
+if ac_fn_c_try_compile "$LINENO"; then :
77743
 
+  gl_cv_type_wctrans_t=yes
77744
 
+else
77745
 
+  gl_cv_type_wctrans_t=no
77746
 
+fi
77747
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77748
 
+    
77749
 
+fi
77750
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctrans_t" >&5
77751
 
+$as_echo "$gl_cv_type_wctrans_t" >&6; }
77752
 
+  if test $gl_cv_type_wctrans_t = no; then
77753
 
+    HAVE_WCTRANS_T=0
77754
 
+  fi
77755
 
+
77756
 
+      
77757
 
+    for gl_func in wctype iswctype wctrans towctrans     ; do
77758
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
77759
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
77760
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
77761
 
+if eval \${$as_gl_Symbol+:} false; then :
77762
 
+  $as_echo_n "(cached) " >&6
77763
 
+else
77764
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77765
 
+/* end confdefs.h.  */
77766
 
+
77767
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
77768
 
+   <wchar.h>.
77769
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
77770
 
+   included before <wchar.h>.  */
77771
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
77772
 
+# include <stddef.h>
77773
 
+# include <stdio.h>
77774
 
+# include <time.h>
77775
 
+# include <wchar.h>
77776
 
+#endif
77777
 
+#include <wctype.h>
77778
 
+    
77779
 
+int
77780
 
+main ()
77781
 
+{
77782
 
+@%:@undef $gl_func
77783
 
+  (void) $gl_func;
77784
 
+  ;
77785
 
+  return 0;
77786
 
+}
77787
 
+_ACEOF
77788
 
+if ac_fn_c_try_compile "$LINENO"; then :
77789
 
+  eval "$as_gl_Symbol=yes"
77790
 
+else
77791
 
+  eval "$as_gl_Symbol=no"
77792
 
+fi
77793
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77794
 
+fi
77795
 
+eval ac_res=\$$as_gl_Symbol
77796
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
77797
 
+$as_echo "$ac_res" >&6; }
77798
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
77799
 
+  cat >>confdefs.h <<_ACEOF
77800
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
77801
 
+_ACEOF
77802
 
+
77803
 
+                     eval ac_cv_have_decl_$gl_func=yes
77804
 
+fi
77805
 
+      done
77806
 
+
77807
 
+
77808
 
+
77809
 
+
77810
 
+
77811
 
+  GNULIB_NL_LANGINFO=0;  
77812
 
+    HAVE_NL_LANGINFO=1;    
77813
 
+  REPLACE_NL_LANGINFO=0; 
77814
 
+
77815
 
+
77816
 
+
77817
 
+
77818
 
+
77819
 
+
77820
 
+
77821
 
+
77822
 
+
77823
 
+
77824
 
+
77825
 
+ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
77826
 
+if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
77827
 
+  ac_have_decl=1
77828
 
+else
77829
 
+  ac_have_decl=0
77830
 
+fi
77831
 
+
77832
 
+cat >>confdefs.h <<_ACEOF
77833
 
+@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
77834
 
+_ACEOF
77835
 
+
77836
 
+
77837
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library >= 2.1 or uClibc" >&5
77838
 
+$as_echo_n "checking whether we are using the GNU C Library >= 2.1 or uClibc... " >&6; }
77839
 
+if ${ac_cv_gnu_library_2_1+:} false; then :
77840
 
+  $as_echo_n "(cached) " >&6
77841
 
+else
77842
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77843
 
+/* end confdefs.h.  */
77844
 
+
77845
 
+#include <features.h>
77846
 
+#ifdef __GNU_LIBRARY__
77847
 
+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
77848
 
+  Lucky GNU user
77849
 
+ #endif
77850
 
+#endif
77851
 
+#ifdef __UCLIBC__
77852
 
+ Lucky user
77853
 
+#endif
77854
 
+        
77855
 
+_ACEOF
77856
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
77857
 
+  $EGREP "Lucky" >/dev/null 2>&1; then :
77858
 
+  ac_cv_gnu_library_2_1=yes
77859
 
+else
77860
 
+  ac_cv_gnu_library_2_1=no
77861
 
+fi
77862
 
+rm -f conftest*
77863
 
+
77864
 
+      
77865
 
+    
77866
 
+fi
77867
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
77868
 
+$as_echo "$ac_cv_gnu_library_2_1" >&6; }
77869
 
+    
77870
 
+    GLIBC21="$ac_cv_gnu_library_2_1"
77871
 
+  
77872
 
+
77873
 
+
77874
 
+  GNULIB_SETLOCALE=0;  
77875
 
+  GNULIB_DUPLOCALE=0;  
77876
 
+    HAVE_DUPLOCALE=1;    
77877
 
+  REPLACE_SETLOCALE=0; 
77878
 
+  REPLACE_DUPLOCALE=0; 
77879
 
+
77880
 
+
77881
 
+    REPLACE_NULL=0;                
77882
 
+  HAVE_WCHAR_T=1;                
77883
 
+
77884
 
+
77885
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
77886
 
+$as_echo_n "checking for wchar_t... " >&6; }
77887
 
+if ${gt_cv_c_wchar_t+:} false; then :
77888
 
+  $as_echo_n "(cached) " >&6
77889
 
+else
77890
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77891
 
+/* end confdefs.h.  */
77892
 
+#include <stddef.h>
77893
 
+            wchar_t foo = (wchar_t)'\0';
77894
 
+int
77895
 
+main ()
77896
 
+{
77897
 
+
77898
 
+  ;
77899
 
+  return 0;
77900
 
+}
77901
 
+_ACEOF
77902
 
+if ac_fn_c_try_compile "$LINENO"; then :
77903
 
+  gt_cv_c_wchar_t=yes
77904
 
+else
77905
 
+  gt_cv_c_wchar_t=no
77906
 
+fi
77907
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77908
 
+fi
77909
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
77910
 
+$as_echo "$gt_cv_c_wchar_t" >&6; }
77911
 
+  if test $gt_cv_c_wchar_t = yes; then
77912
 
+    
77913
 
+$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h
77914
 
+
77915
 
+  fi
77916
 
+
77917
 
+
77918
 
+  
77919
 
+  
77920
 
+  STDDEF_H=
77921
 
+  if test $gt_cv_c_wchar_t = no; then
77922
 
+    HAVE_WCHAR_T=0
77923
 
+    STDDEF_H=stddef.h
77924
 
+  fi
77925
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
77926
 
+$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
77927
 
+if ${gl_cv_decl_null_works+:} false; then :
77928
 
+  $as_echo_n "(cached) " >&6
77929
 
+else
77930
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77931
 
+/* end confdefs.h.  */
77932
 
+#include <stddef.h>
77933
 
+      int test[2 * (sizeof NULL == sizeof (void *)) -1];
77934
 
+
77935
 
+int
77936
 
+main ()
77937
 
+{
77938
 
+
77939
 
+  ;
77940
 
+  return 0;
77941
 
+}
77942
 
+_ACEOF
77943
 
+if ac_fn_c_try_compile "$LINENO"; then :
77944
 
+  gl_cv_decl_null_works=yes
77945
 
+else
77946
 
+  gl_cv_decl_null_works=no
77947
 
+fi
77948
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77949
 
+fi
77950
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5
77951
 
+$as_echo "$gl_cv_decl_null_works" >&6; }
77952
 
+  if test $gl_cv_decl_null_works = no; then
77953
 
+    REPLACE_NULL=1
77954
 
+    STDDEF_H=stddef.h
77955
 
+  fi
77956
 
+  
77957
 
+   if test -n "$STDDEF_H"; then
77958
 
+  GL_GENERATE_STDDEF_H_TRUE=
77959
 
+  GL_GENERATE_STDDEF_H_FALSE='#'
77960
 
+else
77961
 
+  GL_GENERATE_STDDEF_H_TRUE='#'
77962
 
+  GL_GENERATE_STDDEF_H_FALSE=
77963
 
+fi
77964
 
+
77965
 
+  if test -n "$STDDEF_H"; then
77966
 
+    
77967
 
+  
77968
 
+  
77969
 
+  
77970
 
+
77971
 
+  
77972
 
+
77973
 
+  
77974
 
+     if test $gl_cv_have_include_next = yes; then
77975
 
+       gl_cv_next_stddef_h='<'stddef.h'>'
77976
 
+     else
77977
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
77978
 
+$as_echo_n "checking absolute name of <stddef.h>... " >&6; }
77979
 
+if ${gl_cv_next_stddef_h+:} false; then :
77980
 
+  $as_echo_n "(cached) " >&6
77981
 
+else
77982
 
+  
77983
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77984
 
+/* end confdefs.h.  */
77985
 
+#include <stddef.h>
77986
 
+                  
77987
 
+_ACEOF
77988
 
+                                                                                                                        case "$host_os" in
77989
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
77990
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
77991
 
+               esac
77992
 
+                                                            gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
77993
 
+                  sed -n '\#/stddef.h#{
77994
 
+                    s#.*"\(.*/stddef.h\)".*#\1#
77995
 
+                    s#^/[^/]#//&#
77996
 
+                    p
77997
 
+                    q
77998
 
+                  }'`'"'
77999
 
+          
78000
 
+         
78001
 
+fi
78002
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
78003
 
+$as_echo "$gl_cv_next_stddef_h" >&6; }
78004
 
+     fi
78005
 
+     NEXT_STDDEF_H=$gl_cv_next_stddef_h
78006
 
+
78007
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
78008
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
78009
 
+       gl_next_as_first_directive='<'stddef.h'>'
78010
 
+     else
78011
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
78012
 
+       gl_next_as_first_directive=$gl_cv_next_stddef_h
78013
 
+     fi
78014
 
+     NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive
78015
 
+
78016
 
+     
78017
 
+
78018
 
+
78019
 
+  fi
78020
 
+
78021
 
+
78022
 
+
78023
 
+
78024
 
+  
78025
 
+  gl_threads_api=none
78026
 
+  LIBTHREAD=
78027
 
+  LTLIBTHREAD=
78028
 
+  LIBMULTITHREAD=
78029
 
+  LTLIBMULTITHREAD=
78030
 
+  if test "$gl_use_threads" != no; then
78031
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5
78032
 
+$as_echo_n "checking whether imported symbols can be declared weak... " >&6; }
78033
 
+if ${gl_cv_have_weak+:} false; then :
78034
 
+  $as_echo_n "(cached) " >&6
78035
 
+else
78036
 
+  gl_cv_have_weak=no
78037
 
+              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78038
 
+/* end confdefs.h.  */
78039
 
+extern void xyzzy ();
78040
 
+#pragma weak xyzzy
78041
 
+int
78042
 
+main ()
78043
 
+{
78044
 
+xyzzy();
78045
 
+  ;
78046
 
+  return 0;
78047
 
+}
78048
 
+_ACEOF
78049
 
+if ac_fn_c_try_link "$LINENO"; then :
78050
 
+  gl_cv_have_weak=maybe
78051
 
+fi
78052
 
+rm -f core conftest.err conftest.$ac_objext \
78053
 
+    conftest$ac_exeext conftest.$ac_ext
78054
 
+       if test $gl_cv_have_weak = maybe; then
78055
 
+                           if test "$cross_compiling" = yes; then :
78056
 
+                          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78057
 
+/* end confdefs.h.  */
78058
 
+#ifdef __ELF__
78059
 
+               Extensible Linking Format
78060
 
+               #endif
78061
 
+              
78062
 
+_ACEOF
78063
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
78064
 
+  $EGREP "Extensible Linking Format" >/dev/null 2>&1; then :
78065
 
+  gl_cv_have_weak="guessing yes"
78066
 
+else
78067
 
+  gl_cv_have_weak="guessing no"
78068
 
+fi
78069
 
+rm -f conftest*
78070
 
+
78071
 
+           
78072
 
+else
78073
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78074
 
+/* end confdefs.h.  */
78075
 
+
78076
 
+#include <stdio.h>
78077
 
+#pragma weak fputs
78078
 
+int main ()
78079
 
+{
78080
 
+  return (fputs == NULL);
78081
 
+}
78082
 
+_ACEOF
78083
 
+if ac_fn_c_try_run "$LINENO"; then :
78084
 
+  gl_cv_have_weak=yes
78085
 
+else
78086
 
+  gl_cv_have_weak=no
78087
 
+fi
78088
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
78089
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
78090
 
+fi
78091
 
+
78092
 
+       fi
78093
 
+      
78094
 
+fi
78095
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5
78096
 
+$as_echo "$gl_cv_have_weak" >&6; }
78097
 
+    if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
78098
 
+      # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
78099
 
+      # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY.
78100
 
+      ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
78101
 
+if test "x$ac_cv_header_pthread_h" = xyes; then :
78102
 
+  gl_have_pthread_h=yes
78103
 
+else
78104
 
+  gl_have_pthread_h=no
78105
 
+fi
78106
 
+
78107
 
+
78108
 
+      if test "$gl_have_pthread_h" = yes; then
78109
 
+        # Other possible tests:
78110
 
+        #   -lpthreads (FSU threads, PCthreads)
78111
 
+        #   -lgthreads
78112
 
+        gl_have_pthread=
78113
 
+        # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
78114
 
+        # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
78115
 
+        # the second one only in libpthread, and lock.c needs it.
78116
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78117
 
+/* end confdefs.h.  */
78118
 
+#include <pthread.h>
78119
 
+int
78120
 
+main ()
78121
 
+{
78122
 
+pthread_mutex_lock((pthread_mutex_t*)0);
78123
 
+               pthread_mutexattr_init((pthread_mutexattr_t*)0);
78124
 
+  ;
78125
 
+  return 0;
78126
 
+}
78127
 
+_ACEOF
78128
 
+if ac_fn_c_try_link "$LINENO"; then :
78129
 
+  gl_have_pthread=yes
78130
 
+fi
78131
 
+rm -f core conftest.err conftest.$ac_objext \
78132
 
+    conftest$ac_exeext conftest.$ac_ext
78133
 
+        # Test for libpthread by looking for pthread_kill. (Not pthread_self,
78134
 
+        # since it is defined as a macro on OSF/1.)
78135
 
+        if test -n "$gl_have_pthread"; then
78136
 
+          # The program links fine without libpthread. But it may actually
78137
 
+          # need to link with libpthread in order to create multiple threads.
78138
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
78139
 
+$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
78140
 
+if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
78141
 
+  $as_echo_n "(cached) " >&6
78142
 
+else
78143
 
+  ac_check_lib_save_LIBS=$LIBS
78144
 
+LIBS="-lpthread  $LIBS"
78145
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78146
 
+/* end confdefs.h.  */
78147
 
+
78148
 
+/* Override any GCC internal prototype to avoid an error.
78149
 
+   Use char because int might match the return type of a GCC
78150
 
+   builtin and then its argument prototype would still apply.  */
78151
 
+#ifdef __cplusplus
78152
 
+extern "C"
78153
 
+#endif
78154
 
+char pthread_kill ();
78155
 
+int
78156
 
+main ()
78157
 
+{
78158
 
+return pthread_kill ();
78159
 
+  ;
78160
 
+  return 0;
78161
 
+}
78162
 
+_ACEOF
78163
 
+if ac_fn_c_try_link "$LINENO"; then :
78164
 
+  ac_cv_lib_pthread_pthread_kill=yes
78165
 
+else
78166
 
+  ac_cv_lib_pthread_pthread_kill=no
78167
 
+fi
78168
 
+rm -f core conftest.err conftest.$ac_objext \
78169
 
+    conftest$ac_exeext conftest.$ac_ext
78170
 
+LIBS=$ac_check_lib_save_LIBS
78171
 
+fi
78172
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
78173
 
+$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
78174
 
+if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
78175
 
+  LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
78176
 
+             # On Solaris and HP-UX, most pthread functions exist also in libc.
78177
 
+             # Therefore pthread_in_use() needs to actually try to create a
78178
 
+             # thread: pthread_create from libc will fail, whereas
78179
 
+             # pthread_create will actually create a thread.
78180
 
+             case "$host_os" in
78181
 
+               solaris* | hpux*)
78182
 
+                 
78183
 
+$as_echo "@%:@define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
78184
 
+
78185
 
+             esac
78186
 
+            
78187
 
+fi
78188
 
+
78189
 
+        else
78190
 
+          # Some library is needed. Try libpthread and libc_r.
78191
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
78192
 
+$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
78193
 
+if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
78194
 
+  $as_echo_n "(cached) " >&6
78195
 
+else
78196
 
+  ac_check_lib_save_LIBS=$LIBS
78197
 
+LIBS="-lpthread  $LIBS"
78198
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78199
 
+/* end confdefs.h.  */
78200
 
+
78201
 
+/* Override any GCC internal prototype to avoid an error.
78202
 
+   Use char because int might match the return type of a GCC
78203
 
+   builtin and then its argument prototype would still apply.  */
78204
 
+#ifdef __cplusplus
78205
 
+extern "C"
78206
 
+#endif
78207
 
+char pthread_kill ();
78208
 
+int
78209
 
+main ()
78210
 
+{
78211
 
+return pthread_kill ();
78212
 
+  ;
78213
 
+  return 0;
78214
 
+}
78215
 
+_ACEOF
78216
 
+if ac_fn_c_try_link "$LINENO"; then :
78217
 
+  ac_cv_lib_pthread_pthread_kill=yes
78218
 
+else
78219
 
+  ac_cv_lib_pthread_pthread_kill=no
78220
 
+fi
78221
 
+rm -f core conftest.err conftest.$ac_objext \
78222
 
+    conftest$ac_exeext conftest.$ac_ext
78223
 
+LIBS=$ac_check_lib_save_LIBS
78224
 
+fi
78225
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
78226
 
+$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
78227
 
+if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
78228
 
+  gl_have_pthread=yes
78229
 
+             LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
78230
 
+             LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
78231
 
+fi
78232
 
+
78233
 
+          if test -z "$gl_have_pthread"; then
78234
 
+            # For FreeBSD 4.
78235
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5
78236
 
+$as_echo_n "checking for pthread_kill in -lc_r... " >&6; }
78237
 
+if ${ac_cv_lib_c_r_pthread_kill+:} false; then :
78238
 
+  $as_echo_n "(cached) " >&6
78239
 
+else
78240
 
+  ac_check_lib_save_LIBS=$LIBS
78241
 
+LIBS="-lc_r  $LIBS"
78242
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78243
 
+/* end confdefs.h.  */
78244
 
+
78245
 
+/* Override any GCC internal prototype to avoid an error.
78246
 
+   Use char because int might match the return type of a GCC
78247
 
+   builtin and then its argument prototype would still apply.  */
78248
 
+#ifdef __cplusplus
78249
 
+extern "C"
78250
 
+#endif
78251
 
+char pthread_kill ();
78252
 
+int
78253
 
+main ()
78254
 
+{
78255
 
+return pthread_kill ();
78256
 
+  ;
78257
 
+  return 0;
78258
 
+}
78259
 
+_ACEOF
78260
 
+if ac_fn_c_try_link "$LINENO"; then :
78261
 
+  ac_cv_lib_c_r_pthread_kill=yes
78262
 
+else
78263
 
+  ac_cv_lib_c_r_pthread_kill=no
78264
 
+fi
78265
 
+rm -f core conftest.err conftest.$ac_objext \
78266
 
+    conftest$ac_exeext conftest.$ac_ext
78267
 
+LIBS=$ac_check_lib_save_LIBS
78268
 
+fi
78269
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5
78270
 
+$as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; }
78271
 
+if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then :
78272
 
+  gl_have_pthread=yes
78273
 
+               LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
78274
 
+               LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r
78275
 
+fi
78276
 
+
78277
 
+          fi
78278
 
+        fi
78279
 
+        if test -n "$gl_have_pthread"; then
78280
 
+          gl_threads_api=posix
78281
 
+          
78282
 
+$as_echo "@%:@define USE_POSIX_THREADS 1" >>confdefs.h
78283
 
+
78284
 
+          if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
78285
 
+            if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
78286
 
+              
78287
 
+$as_echo "@%:@define USE_POSIX_THREADS_WEAK 1" >>confdefs.h
78288
 
+
78289
 
+              LIBTHREAD=
78290
 
+              LTLIBTHREAD=
78291
 
+            fi
78292
 
+          fi
78293
 
+        fi
78294
 
+      fi
78295
 
+    fi
78296
 
+    if test -z "$gl_have_pthread"; then
78297
 
+      if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
78298
 
+        gl_have_solaristhread=
78299
 
+        gl_save_LIBS="$LIBS"
78300
 
+        LIBS="$LIBS -lthread"
78301
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78302
 
+/* end confdefs.h.  */
78303
 
+
78304
 
+#include <thread.h>
78305
 
+#include <synch.h>
78306
 
+             
78307
 
+int
78308
 
+main ()
78309
 
+{
78310
 
+thr_self();
78311
 
+  ;
78312
 
+  return 0;
78313
 
+}
78314
 
+_ACEOF
78315
 
+if ac_fn_c_try_link "$LINENO"; then :
78316
 
+  gl_have_solaristhread=yes
78317
 
+fi
78318
 
+rm -f core conftest.err conftest.$ac_objext \
78319
 
+    conftest$ac_exeext conftest.$ac_ext
78320
 
+        LIBS="$gl_save_LIBS"
78321
 
+        if test -n "$gl_have_solaristhread"; then
78322
 
+          gl_threads_api=solaris
78323
 
+          LIBTHREAD=-lthread
78324
 
+          LTLIBTHREAD=-lthread
78325
 
+          LIBMULTITHREAD="$LIBTHREAD"
78326
 
+          LTLIBMULTITHREAD="$LTLIBTHREAD"
78327
 
+          
78328
 
+$as_echo "@%:@define USE_SOLARIS_THREADS 1" >>confdefs.h
78329
 
+
78330
 
+          if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
78331
 
+            
78332
 
+$as_echo "@%:@define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h
78333
 
+
78334
 
+            LIBTHREAD=
78335
 
+            LTLIBTHREAD=
78336
 
+          fi
78337
 
+        fi
78338
 
+      fi
78339
 
+    fi
78340
 
+    if test "$gl_use_threads" = pth; then
78341
 
+      gl_save_CPPFLAGS="$CPPFLAGS"
78342
 
+      
78343
 
+  
78344
 
+  
78345
 
+  
78346
 
+  
78347
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5
78348
 
+$as_echo_n "checking how to link with libpth... " >&6; }
78349
 
+if ${ac_cv_libpth_libs+:} false; then :
78350
 
+  $as_echo_n "(cached) " >&6
78351
 
+else
78352
 
+  
78353
 
+    
78354
 
+  
78355
 
+  
78356
 
+  
78357
 
+  
78358
 
+  
78359
 
+    
78360
 
+    use_additional=yes
78361
 
+  
78362
 
+  acl_save_prefix="$prefix"
78363
 
+  prefix="$acl_final_prefix"
78364
 
+  acl_save_exec_prefix="$exec_prefix"
78365
 
+  exec_prefix="$acl_final_exec_prefix"
78366
 
+  
78367
 
+    eval additional_includedir=\"$includedir\"
78368
 
+    eval additional_libdir=\"$libdir\"
78369
 
+  
78370
 
+  exec_prefix="$acl_save_exec_prefix"
78371
 
+  prefix="$acl_save_prefix"
78372
 
+
78373
 
+  
78374
 
+@%:@ Check whether --with-libpth-prefix was given.
78375
 
+if test "${with_libpth_prefix+set}" = set; then :
78376
 
+  withval=$with_libpth_prefix; 
78377
 
+    if test "X$withval" = "Xno"; then
78378
 
+      use_additional=no
78379
 
+    else
78380
 
+      if test "X$withval" = "X"; then
78381
 
+        
78382
 
+  acl_save_prefix="$prefix"
78383
 
+  prefix="$acl_final_prefix"
78384
 
+  acl_save_exec_prefix="$exec_prefix"
78385
 
+  exec_prefix="$acl_final_exec_prefix"
78386
 
+  
78387
 
+          eval additional_includedir=\"$includedir\"
78388
 
+          eval additional_libdir=\"$libdir\"
78389
 
+        
78390
 
+  exec_prefix="$acl_save_exec_prefix"
78391
 
+  prefix="$acl_save_prefix"
78392
 
+
78393
 
+      else
78394
 
+        additional_includedir="$withval/include"
78395
 
+        additional_libdir="$withval/$acl_libdirstem"
78396
 
+        if test "$acl_libdirstem2" != "$acl_libdirstem" \
78397
 
+           && ! test -d "$withval/$acl_libdirstem"; then
78398
 
+          additional_libdir="$withval/$acl_libdirstem2"
78399
 
+        fi
78400
 
+      fi
78401
 
+    fi
78402
 
+
78403
 
+fi
78404
 
+
78405
 
+      LIBPTH=
78406
 
+  LTLIBPTH=
78407
 
+  INCPTH=
78408
 
+  LIBPTH_PREFIX=
78409
 
+      HAVE_LIBPTH=
78410
 
+  rpathdirs=
78411
 
+  ltrpathdirs=
78412
 
+  names_already_handled=
78413
 
+  names_next_round='pth '
78414
 
+  while test -n "$names_next_round"; do
78415
 
+    names_this_round="$names_next_round"
78416
 
+    names_next_round=
78417
 
+    for name in $names_this_round; do
78418
 
+      already_handled=
78419
 
+      for n in $names_already_handled; do
78420
 
+        if test "$n" = "$name"; then
78421
 
+          already_handled=yes
78422
 
+          break
78423
 
+        fi
78424
 
+      done
78425
 
+      if test -z "$already_handled"; then
78426
 
+        names_already_handled="$names_already_handled $name"
78427
 
+                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
78428
 
+        eval value=\"\$HAVE_LIB$uppername\"
78429
 
+        if test -n "$value"; then
78430
 
+          if test "$value" = yes; then
78431
 
+            eval value=\"\$LIB$uppername\"
78432
 
+            test -z "$value" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value"
78433
 
+            eval value=\"\$LTLIB$uppername\"
78434
 
+            test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$value"
78435
 
+          else
78436
 
+                                    :
78437
 
+          fi
78438
 
+        else
78439
 
+                              found_dir=
78440
 
+          found_la=
78441
 
+          found_so=
78442
 
+          found_a=
78443
 
+          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
78444
 
+          if test -n "$acl_shlibext"; then
78445
 
+            shrext=".$acl_shlibext"             # typically: shrext=.so
78446
 
+          else
78447
 
+            shrext=
78448
 
+          fi
78449
 
+          if test $use_additional = yes; then
78450
 
+            dir="$additional_libdir"
78451
 
+                                    if test -n "$acl_shlibext"; then
78452
 
+              if test -f "$dir/$libname$shrext"; then
78453
 
+                found_dir="$dir"
78454
 
+                found_so="$dir/$libname$shrext"
78455
 
+              else
78456
 
+                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
78457
 
+                  ver=`(cd "$dir" && \
78458
 
+                        for f in "$libname$shrext".*; do echo "$f"; done \
78459
 
+                        | sed -e "s,^$libname$shrext\\\\.,," \
78460
 
+                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
78461
 
+                        | sed 1q ) 2>/dev/null`
78462
 
+                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
78463
 
+                    found_dir="$dir"
78464
 
+                    found_so="$dir/$libname$shrext.$ver"
78465
 
+                  fi
78466
 
+                else
78467
 
+                  eval library_names=\"$acl_library_names_spec\"
78468
 
+                  for f in $library_names; do
78469
 
+                    if test -f "$dir/$f"; then
78470
 
+                      found_dir="$dir"
78471
 
+                      found_so="$dir/$f"
78472
 
+                      break
78473
 
+                    fi
78474
 
+                  done
78475
 
+                fi
78476
 
+              fi
78477
 
+            fi
78478
 
+                        if test "X$found_dir" = "X"; then
78479
 
+              if test -f "$dir/$libname.$acl_libext"; then
78480
 
+                found_dir="$dir"
78481
 
+                found_a="$dir/$libname.$acl_libext"
78482
 
+              fi
78483
 
+            fi
78484
 
+            if test "X$found_dir" != "X"; then
78485
 
+              if test -f "$dir/$libname.la"; then
78486
 
+                found_la="$dir/$libname.la"
78487
 
+              fi
78488
 
+            fi
78489
 
+          fi
78490
 
+          if test "X$found_dir" = "X"; then
78491
 
+            for x in $LDFLAGS $LTLIBPTH; do
78492
 
+              
78493
 
+  acl_save_prefix="$prefix"
78494
 
+  prefix="$acl_final_prefix"
78495
 
+  acl_save_exec_prefix="$exec_prefix"
78496
 
+  exec_prefix="$acl_final_exec_prefix"
78497
 
+  eval x=\"$x\"
78498
 
+  exec_prefix="$acl_save_exec_prefix"
78499
 
+  prefix="$acl_save_prefix"
78500
 
+
78501
 
+              case "$x" in
78502
 
+                -L*)
78503
 
+                  dir=`echo "X$x" | sed -e 's/^X-L//'`
78504
 
+                                    if test -n "$acl_shlibext"; then
78505
 
+                    if test -f "$dir/$libname$shrext"; then
78506
 
+                      found_dir="$dir"
78507
 
+                      found_so="$dir/$libname$shrext"
78508
 
+                    else
78509
 
+                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
78510
 
+                        ver=`(cd "$dir" && \
78511
 
+                              for f in "$libname$shrext".*; do echo "$f"; done \
78512
 
+                              | sed -e "s,^$libname$shrext\\\\.,," \
78513
 
+                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
78514
 
+                              | sed 1q ) 2>/dev/null`
78515
 
+                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
78516
 
+                          found_dir="$dir"
78517
 
+                          found_so="$dir/$libname$shrext.$ver"
78518
 
+                        fi
78519
 
+                      else
78520
 
+                        eval library_names=\"$acl_library_names_spec\"
78521
 
+                        for f in $library_names; do
78522
 
+                          if test -f "$dir/$f"; then
78523
 
+                            found_dir="$dir"
78524
 
+                            found_so="$dir/$f"
78525
 
+                            break
78526
 
+                          fi
78527
 
+                        done
78528
 
+                      fi
78529
 
+                    fi
78530
 
+                  fi
78531
 
+                                    if test "X$found_dir" = "X"; then
78532
 
+                    if test -f "$dir/$libname.$acl_libext"; then
78533
 
+                      found_dir="$dir"
78534
 
+                      found_a="$dir/$libname.$acl_libext"
78535
 
+                    fi
78536
 
+                  fi
78537
 
+                  if test "X$found_dir" != "X"; then
78538
 
+                    if test -f "$dir/$libname.la"; then
78539
 
+                      found_la="$dir/$libname.la"
78540
 
+                    fi
78541
 
+                  fi
78542
 
+                  ;;
78543
 
+              esac
78544
 
+              if test "X$found_dir" != "X"; then
78545
 
+                break
78546
 
+              fi
78547
 
+            done
78548
 
+          fi
78549
 
+          if test "X$found_dir" != "X"; then
78550
 
+                        LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name"
78551
 
+            if test "X$found_so" != "X"; then
78552
 
+                                                        if test "$enable_rpath" = no \
78553
 
+                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
78554
 
+                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
78555
 
+                                LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
78556
 
+              else
78557
 
+                                                                                haveit=
78558
 
+                for x in $ltrpathdirs; do
78559
 
+                  if test "X$x" = "X$found_dir"; then
78560
 
+                    haveit=yes
78561
 
+                    break
78562
 
+                  fi
78563
 
+                done
78564
 
+                if test -z "$haveit"; then
78565
 
+                  ltrpathdirs="$ltrpathdirs $found_dir"
78566
 
+                fi
78567
 
+                                if test "$acl_hardcode_direct" = yes; then
78568
 
+                                                      LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
78569
 
+                else
78570
 
+                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
78571
 
+                                                            LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
78572
 
+                                                            haveit=
78573
 
+                    for x in $rpathdirs; do
78574
 
+                      if test "X$x" = "X$found_dir"; then
78575
 
+                        haveit=yes
78576
 
+                        break
78577
 
+                      fi
78578
 
+                    done
78579
 
+                    if test -z "$haveit"; then
78580
 
+                      rpathdirs="$rpathdirs $found_dir"
78581
 
+                    fi
78582
 
+                  else
78583
 
+                                                                                haveit=
78584
 
+                    for x in $LDFLAGS $LIBPTH; do
78585
 
+                      
78586
 
+  acl_save_prefix="$prefix"
78587
 
+  prefix="$acl_final_prefix"
78588
 
+  acl_save_exec_prefix="$exec_prefix"
78589
 
+  exec_prefix="$acl_final_exec_prefix"
78590
 
+  eval x=\"$x\"
78591
 
+  exec_prefix="$acl_save_exec_prefix"
78592
 
+  prefix="$acl_save_prefix"
78593
 
+
78594
 
+                      if test "X$x" = "X-L$found_dir"; then
78595
 
+                        haveit=yes
78596
 
+                        break
78597
 
+                      fi
78598
 
+                    done
78599
 
+                    if test -z "$haveit"; then
78600
 
+                      LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir"
78601
 
+                    fi
78602
 
+                    if test "$acl_hardcode_minus_L" != no; then
78603
 
+                                                                                        LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
78604
 
+                    else
78605
 
+                                                                                                                                                                                LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
78606
 
+                    fi
78607
 
+                  fi
78608
 
+                fi
78609
 
+              fi
78610
 
+            else
78611
 
+              if test "X$found_a" != "X"; then
78612
 
+                                LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a"
78613
 
+              else
78614
 
+                                                LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir -l$name"
78615
 
+              fi
78616
 
+            fi
78617
 
+                        additional_includedir=
78618
 
+            case "$found_dir" in
78619
 
+              */$acl_libdirstem | */$acl_libdirstem/)
78620
 
+                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
78621
 
+                if test "$name" = 'pth'; then
78622
 
+                  LIBPTH_PREFIX="$basedir"
78623
 
+                fi
78624
 
+                additional_includedir="$basedir/include"
78625
 
+                ;;
78626
 
+              */$acl_libdirstem2 | */$acl_libdirstem2/)
78627
 
+                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
78628
 
+                if test "$name" = 'pth'; then
78629
 
+                  LIBPTH_PREFIX="$basedir"
78630
 
+                fi
78631
 
+                additional_includedir="$basedir/include"
78632
 
+                ;;
78633
 
+            esac
78634
 
+            if test "X$additional_includedir" != "X"; then
78635
 
+                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
78636
 
+                haveit=
78637
 
+                if test "X$additional_includedir" = "X/usr/local/include"; then
78638
 
+                  if test -n "$GCC"; then
78639
 
+                    case $host_os in
78640
 
+                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
78641
 
+                    esac
78642
 
+                  fi
78643
 
+                fi
78644
 
+                if test -z "$haveit"; then
78645
 
+                  for x in $CPPFLAGS $INCPTH; do
78646
 
+                    
78647
 
+  acl_save_prefix="$prefix"
78648
 
+  prefix="$acl_final_prefix"
78649
 
+  acl_save_exec_prefix="$exec_prefix"
78650
 
+  exec_prefix="$acl_final_exec_prefix"
78651
 
+  eval x=\"$x\"
78652
 
+  exec_prefix="$acl_save_exec_prefix"
78653
 
+  prefix="$acl_save_prefix"
78654
 
+
78655
 
+                    if test "X$x" = "X-I$additional_includedir"; then
78656
 
+                      haveit=yes
78657
 
+                      break
78658
 
+                    fi
78659
 
+                  done
78660
 
+                  if test -z "$haveit"; then
78661
 
+                    if test -d "$additional_includedir"; then
78662
 
+                                            INCPTH="${INCPTH}${INCPTH:+ }-I$additional_includedir"
78663
 
+                    fi
78664
 
+                  fi
78665
 
+                fi
78666
 
+              fi
78667
 
+            fi
78668
 
+                        if test -n "$found_la"; then
78669
 
+                                                        save_libdir="$libdir"
78670
 
+              case "$found_la" in
78671
 
+                */* | *\\*) . "$found_la" ;;
78672
 
+                *) . "./$found_la" ;;
78673
 
+              esac
78674
 
+              libdir="$save_libdir"
78675
 
+                            for dep in $dependency_libs; do
78676
 
+                case "$dep" in
78677
 
+                  -L*)
78678
 
+                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
78679
 
+                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
78680
 
+                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
78681
 
+                      haveit=
78682
 
+                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
78683
 
+                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
78684
 
+                        if test -n "$GCC"; then
78685
 
+                          case $host_os in
78686
 
+                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
78687
 
+                          esac
78688
 
+                        fi
78689
 
+                      fi
78690
 
+                      if test -z "$haveit"; then
78691
 
+                        haveit=
78692
 
+                        for x in $LDFLAGS $LIBPTH; do
78693
 
+                          
78694
 
+  acl_save_prefix="$prefix"
78695
 
+  prefix="$acl_final_prefix"
78696
 
+  acl_save_exec_prefix="$exec_prefix"
78697
 
+  exec_prefix="$acl_final_exec_prefix"
78698
 
+  eval x=\"$x\"
78699
 
+  exec_prefix="$acl_save_exec_prefix"
78700
 
+  prefix="$acl_save_prefix"
78701
 
+
78702
 
+                          if test "X$x" = "X-L$additional_libdir"; then
78703
 
+                            haveit=yes
78704
 
+                            break
78705
 
+                          fi
78706
 
+                        done
78707
 
+                        if test -z "$haveit"; then
78708
 
+                          if test -d "$additional_libdir"; then
78709
 
+                                                        LIBPTH="${LIBPTH}${LIBPTH:+ }-L$additional_libdir"
78710
 
+                          fi
78711
 
+                        fi
78712
 
+                        haveit=
78713
 
+                        for x in $LDFLAGS $LTLIBPTH; do
78714
 
+                          
78715
 
+  acl_save_prefix="$prefix"
78716
 
+  prefix="$acl_final_prefix"
78717
 
+  acl_save_exec_prefix="$exec_prefix"
78718
 
+  exec_prefix="$acl_final_exec_prefix"
78719
 
+  eval x=\"$x\"
78720
 
+  exec_prefix="$acl_save_exec_prefix"
78721
 
+  prefix="$acl_save_prefix"
78722
 
+
78723
 
+                          if test "X$x" = "X-L$additional_libdir"; then
78724
 
+                            haveit=yes
78725
 
+                            break
78726
 
+                          fi
78727
 
+                        done
78728
 
+                        if test -z "$haveit"; then
78729
 
+                          if test -d "$additional_libdir"; then
78730
 
+                                                        LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$additional_libdir"
78731
 
+                          fi
78732
 
+                        fi
78733
 
+                      fi
78734
 
+                    fi
78735
 
+                    ;;
78736
 
+                  -R*)
78737
 
+                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
78738
 
+                    if test "$enable_rpath" != no; then
78739
 
+                                                                  haveit=
78740
 
+                      for x in $rpathdirs; do
78741
 
+                        if test "X$x" = "X$dir"; then
78742
 
+                          haveit=yes
78743
 
+                          break
78744
 
+                        fi
78745
 
+                      done
78746
 
+                      if test -z "$haveit"; then
78747
 
+                        rpathdirs="$rpathdirs $dir"
78748
 
+                      fi
78749
 
+                                                                  haveit=
78750
 
+                      for x in $ltrpathdirs; do
78751
 
+                        if test "X$x" = "X$dir"; then
78752
 
+                          haveit=yes
78753
 
+                          break
78754
 
+                        fi
78755
 
+                      done
78756
 
+                      if test -z "$haveit"; then
78757
 
+                        ltrpathdirs="$ltrpathdirs $dir"
78758
 
+                      fi
78759
 
+                    fi
78760
 
+                    ;;
78761
 
+                  -l*)
78762
 
+                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
78763
 
+                    ;;
78764
 
+                  *.la)
78765
 
+                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
78766
 
+                    ;;
78767
 
+                  *)
78768
 
+                                        LIBPTH="${LIBPTH}${LIBPTH:+ }$dep"
78769
 
+                    LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$dep"
78770
 
+                    ;;
78771
 
+                esac
78772
 
+              done
78773
 
+            fi
78774
 
+          else
78775
 
+                                                            LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
78776
 
+            LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-l$name"
78777
 
+          fi
78778
 
+        fi
78779
 
+      fi
78780
 
+    done
78781
 
+  done
78782
 
+  if test "X$rpathdirs" != "X"; then
78783
 
+    if test -n "$acl_hardcode_libdir_separator"; then
78784
 
+                        alldirs=
78785
 
+      for found_dir in $rpathdirs; do
78786
 
+        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
78787
 
+      done
78788
 
+            acl_save_libdir="$libdir"
78789
 
+      libdir="$alldirs"
78790
 
+      eval flag=\"$acl_hardcode_libdir_flag_spec\"
78791
 
+      libdir="$acl_save_libdir"
78792
 
+      LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
78793
 
+    else
78794
 
+            for found_dir in $rpathdirs; do
78795
 
+        acl_save_libdir="$libdir"
78796
 
+        libdir="$found_dir"
78797
 
+        eval flag=\"$acl_hardcode_libdir_flag_spec\"
78798
 
+        libdir="$acl_save_libdir"
78799
 
+        LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
78800
 
+      done
78801
 
+    fi
78802
 
+  fi
78803
 
+  if test "X$ltrpathdirs" != "X"; then
78804
 
+            for found_dir in $ltrpathdirs; do
78805
 
+      LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir"
78806
 
+    done
78807
 
+  fi
78808
 
+  
78809
 
+  
78810
 
+  
78811
 
+  
78812
 
+  
78813
 
+
78814
 
+    ac_cv_libpth_libs="$LIBPTH"
78815
 
+    ac_cv_libpth_ltlibs="$LTLIBPTH"
78816
 
+    ac_cv_libpth_cppflags="$INCPTH"
78817
 
+    ac_cv_libpth_prefix="$LIBPTH_PREFIX"
78818
 
+  
78819
 
+fi
78820
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5
78821
 
+$as_echo "$ac_cv_libpth_libs" >&6; }
78822
 
+  LIBPTH="$ac_cv_libpth_libs"
78823
 
+  LTLIBPTH="$ac_cv_libpth_ltlibs"
78824
 
+  INCPTH="$ac_cv_libpth_cppflags"
78825
 
+  LIBPTH_PREFIX="$ac_cv_libpth_prefix"
78826
 
+  
78827
 
+  for element in $INCPTH; do
78828
 
+    haveit=
78829
 
+    for x in $CPPFLAGS; do
78830
 
+      
78831
 
+  acl_save_prefix="$prefix"
78832
 
+  prefix="$acl_final_prefix"
78833
 
+  acl_save_exec_prefix="$exec_prefix"
78834
 
+  exec_prefix="$acl_final_exec_prefix"
78835
 
+  eval x=\"$x\"
78836
 
+  exec_prefix="$acl_save_exec_prefix"
78837
 
+  prefix="$acl_save_prefix"
78838
 
+
78839
 
+      if test "X$x" = "X$element"; then
78840
 
+        haveit=yes
78841
 
+        break
78842
 
+      fi
78843
 
+    done
78844
 
+    if test -z "$haveit"; then
78845
 
+      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
78846
 
+    fi
78847
 
+  done
78848
 
+
78849
 
+  
78850
 
+  
78851
 
+  
78852
 
+      HAVE_LIBPTH=yes
78853
 
+  
78854
 
+  
78855
 
+
78856
 
+      gl_have_pth=
78857
 
+      gl_save_LIBS="$LIBS"
78858
 
+      LIBS="$LIBS $LIBPTH"
78859
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78860
 
+/* end confdefs.h.  */
78861
 
+#include <pth.h>
78862
 
+int
78863
 
+main ()
78864
 
+{
78865
 
+pth_self();
78866
 
+  ;
78867
 
+  return 0;
78868
 
+}
78869
 
+_ACEOF
78870
 
+if ac_fn_c_try_link "$LINENO"; then :
78871
 
+  gl_have_pth=yes
78872
 
+fi
78873
 
+rm -f core conftest.err conftest.$ac_objext \
78874
 
+    conftest$ac_exeext conftest.$ac_ext
78875
 
+      LIBS="$gl_save_LIBS"
78876
 
+      if test -n "$gl_have_pth"; then
78877
 
+        gl_threads_api=pth
78878
 
+        LIBTHREAD="$LIBPTH"
78879
 
+        LTLIBTHREAD="$LTLIBPTH"
78880
 
+        LIBMULTITHREAD="$LIBTHREAD"
78881
 
+        LTLIBMULTITHREAD="$LTLIBTHREAD"
78882
 
+        
78883
 
+$as_echo "@%:@define USE_PTH_THREADS 1" >>confdefs.h
78884
 
+
78885
 
+        if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
78886
 
+          if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
78887
 
+            
78888
 
+$as_echo "@%:@define USE_PTH_THREADS_WEAK 1" >>confdefs.h
78889
 
+
78890
 
+            LIBTHREAD=
78891
 
+            LTLIBTHREAD=
78892
 
+          fi
78893
 
+        fi
78894
 
+      else
78895
 
+        CPPFLAGS="$gl_save_CPPFLAGS"
78896
 
+      fi
78897
 
+    fi
78898
 
+    if test -z "$gl_have_pthread"; then
78899
 
+      if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then
78900
 
+        if { case "$host_os" in
78901
 
+               mingw*) true;;
78902
 
+               *) false;;
78903
 
+             esac
78904
 
+           }; then
78905
 
+          gl_threads_api=win32
78906
 
+          
78907
 
+$as_echo "@%:@define USE_WIN32_THREADS 1" >>confdefs.h
78908
 
+
78909
 
+        fi
78910
 
+      fi
78911
 
+    fi
78912
 
+  fi
78913
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5
78914
 
+$as_echo_n "checking for multithread API to use... " >&6; }
78915
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5
78916
 
+$as_echo "$gl_threads_api" >&6; }
78917
 
+  
78918
 
+  
78919
 
+  
78920
 
+  
78921
 
+
78922
 
+
78923
 
+  
78924
 
+  
78925
 
+
78926
 
+
78927
 
+
78928
 
+
78929
 
+  for ac_header in stdlib.h
78930
 
+do :
78931
 
+  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
78932
 
+if test "x$ac_cv_header_stdlib_h" = xyes; then :
78933
 
+  cat >>confdefs.h <<_ACEOF
78934
 
+@%:@define HAVE_STDLIB_H 1
78935
 
+_ACEOF
78936
 
78937
 
+fi
78938
 
+
78939
 
+done
78940
 
+
78941
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
78942
 
+$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
78943
 
+if ${ac_cv_func_malloc_0_nonnull+:} false; then :
78944
 
+  $as_echo_n "(cached) " >&6
78945
 
+else
78946
 
+  if test "$cross_compiling" = yes; then :
78947
 
+  ac_cv_func_malloc_0_nonnull=no
78948
 
+else
78949
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78950
 
+/* end confdefs.h.  */
78951
 
+#if defined STDC_HEADERS || defined HAVE_STDLIB_H
78952
 
+# include <stdlib.h>
78953
 
+#else
78954
 
+char *malloc ();
78955
 
+#endif
78956
 
+
78957
 
+int
78958
 
+main ()
78959
 
+{
78960
 
+return ! malloc (0);
78961
 
+  ;
78962
 
+  return 0;
78963
 
+}
78964
 
+_ACEOF
78965
 
+if ac_fn_c_try_run "$LINENO"; then :
78966
 
+  ac_cv_func_malloc_0_nonnull=yes
78967
 
+else
78968
 
+  ac_cv_func_malloc_0_nonnull=no
78969
 
+fi
78970
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
78971
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
78972
 
+fi
78973
 
+
78974
 
+fi
78975
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
78976
 
+$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
78977
 
+if test $ac_cv_func_malloc_0_nonnull = yes; then :
78978
 
+  gl_cv_func_malloc_0_nonnull=1
78979
 
+else
78980
 
+  gl_cv_func_malloc_0_nonnull=0
78981
 
+fi
78982
 
+
78983
 
+  
78984
 
+cat >>confdefs.h <<_ACEOF
78985
 
+@%:@define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull
78986
 
+_ACEOF
78987
 
+
78988
 
+
78989
 
+
78990
 
+
78991
 
+
78992
 
+
78993
 
+
78994
 
+
78995
 
+
78996
 
+  
78997
 
+  
78998
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
78999
 
+$as_echo_n "checking for a traditional japanese locale... " >&6; }
79000
 
+if ${gt_cv_locale_ja+:} false; then :
79001
 
+  $as_echo_n "(cached) " >&6
79002
 
+else
79003
 
+  
79004
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79005
 
+/* end confdefs.h.  */
79006
 
+
79007
 
+#include <locale.h>
79008
 
+#include <time.h>
79009
 
+#if HAVE_LANGINFO_CODESET
79010
 
+# include <langinfo.h>
79011
 
+#endif
79012
 
+#include <stdlib.h>
79013
 
+#include <string.h>
79014
 
+struct tm t;
79015
 
+char buf[16];
79016
 
+int main ()
79017
 
+{
79018
 
+  const char *p;
79019
 
+  /* Check whether the given locale name is recognized by the system.  */
79020
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
79021
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
79022
 
+     not at the environment variables.  Also, when an encoding suffix such
79023
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
79024
 
+     category of the locale to "C".  */
79025
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
79026
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
79027
 
+    return 1;
79028
 
+#else
79029
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
79030
 
+#endif
79031
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
79032
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
79033
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
79034
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
79035
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
79036
 
+     some unit tests fail.
79037
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
79038
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
79039
 
+#if HAVE_LANGINFO_CODESET
79040
 
+  {
79041
 
+    const char *cs = nl_langinfo (CODESET);
79042
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
79043
 
+        || strcmp (cs, "UTF-8") == 0)
79044
 
+      return 1;
79045
 
+  }
79046
 
+#endif
79047
 
+#ifdef __CYGWIN__
79048
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
79049
 
+     locale_charset() function relies on the encoding suffix.  Note that
79050
 
+     LC_ALL is set on the command line.  */
79051
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
79052
 
+#endif
79053
 
+  /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
79054
 
+     on Cygwin 1.5.x.  */
79055
 
+  if (MB_CUR_MAX == 1)
79056
 
+    return 1;
79057
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
79058
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
79059
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
79060
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
79061
 
+  for (p = buf; *p != '\0'; p++)
79062
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
79063
 
+      return 1;
79064
 
+  return 0;
79065
 
+}
79066
 
+      
79067
 
+_ACEOF
79068
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
79069
 
+  (eval $ac_link) 2>&5
79070
 
+  ac_status=$?
79071
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
79072
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
79073
 
+      case "$host_os" in
79074
 
+        # Handle native Windows specially, because there setlocale() interprets
79075
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
79076
 
+        # "fr" or "fra" as "French" or "French_France.1252",
79077
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
79078
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
79079
 
+        # and similar.
79080
 
+        mingw*)
79081
 
+          # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
79082
 
+          # and CP932 is very different from EUC-JP, so we cannot use it here.
79083
 
+          gt_cv_locale_ja=none
79084
 
+          ;;
79085
 
+        *)
79086
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
79087
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
79088
 
+          # configure script would override the LC_ALL setting. Likewise for
79089
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
79090
 
+          # Test for the AIX locale name.
79091
 
+          if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
79092
 
+            gt_cv_locale_ja=ja_JP
79093
 
+          else
79094
 
+            # Test for the locale name with explicit encoding suffix.
79095
 
+            if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
79096
 
+              gt_cv_locale_ja=ja_JP.EUC-JP
79097
 
+            else
79098
 
+              # Test for the HP-UX, OSF/1, NetBSD locale name.
79099
 
+              if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
79100
 
+                gt_cv_locale_ja=ja_JP.eucJP
79101
 
+              else
79102
 
+                # Test for the IRIX, FreeBSD locale name.
79103
 
+                if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
79104
 
+                  gt_cv_locale_ja=ja_JP.EUC
79105
 
+                else
79106
 
+                  # Test for the Solaris 7 locale name.
79107
 
+                  if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
79108
 
+                    gt_cv_locale_ja=ja
79109
 
+                  else
79110
 
+                    # Special test for NetBSD 1.6.
79111
 
+                    if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
79112
 
+                      gt_cv_locale_ja=ja_JP.eucJP
79113
 
+                    else
79114
 
+                      # None found.
79115
 
+                      gt_cv_locale_ja=none
79116
 
+                    fi
79117
 
+                  fi
79118
 
+                fi
79119
 
+              fi
79120
 
+            fi
79121
 
+          fi
79122
 
+          ;;
79123
 
+      esac
79124
 
+    fi
79125
 
+    rm -fr conftest*
79126
 
+  
79127
 
+fi
79128
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
79129
 
+$as_echo "$gt_cv_locale_ja" >&6; }
79130
 
+  LOCALE_JA=$gt_cv_locale_ja
79131
 
+  
79132
 
+
79133
 
+
79134
 
+  
79135
 
+  
79136
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
79137
 
+$as_echo_n "checking for a transitional chinese locale... " >&6; }
79138
 
+if ${gt_cv_locale_zh_CN+:} false; then :
79139
 
+  $as_echo_n "(cached) " >&6
79140
 
+else
79141
 
+  
79142
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79143
 
+/* end confdefs.h.  */
79144
 
+
79145
 
+#include <locale.h>
79146
 
+#include <stdlib.h>
79147
 
+#include <time.h>
79148
 
+#if HAVE_LANGINFO_CODESET
79149
 
+# include <langinfo.h>
79150
 
+#endif
79151
 
+#include <stdlib.h>
79152
 
+#include <string.h>
79153
 
+struct tm t;
79154
 
+char buf[16];
79155
 
+int main ()
79156
 
+{
79157
 
+  const char *p;
79158
 
+  /* Check whether the given locale name is recognized by the system.  */
79159
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
79160
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
79161
 
+     not at the environment variables.  Also, when an encoding suffix such
79162
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
79163
 
+     category of the locale to "C".  */
79164
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
79165
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
79166
 
+    return 1;
79167
 
+#else
79168
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
79169
 
+#endif
79170
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
79171
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
79172
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
79173
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
79174
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
79175
 
+     some unit tests fail.
79176
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
79177
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
79178
 
+#if HAVE_LANGINFO_CODESET
79179
 
+  {
79180
 
+    const char *cs = nl_langinfo (CODESET);
79181
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
79182
 
+        || strcmp (cs, "UTF-8") == 0)
79183
 
+      return 1;
79184
 
+  }
79185
 
+#endif
79186
 
+#ifdef __CYGWIN__
79187
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
79188
 
+     locale_charset() function relies on the encoding suffix.  Note that
79189
 
+     LC_ALL is set on the command line.  */
79190
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
79191
 
+#endif
79192
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
79193
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
79194
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
79195
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
79196
 
+  for (p = buf; *p != '\0'; p++)
79197
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
79198
 
+      return 1;
79199
 
+  /* Check whether a typical GB18030 multibyte sequence is recognized as a
79200
 
+     single wide character.  This excludes the GB2312 and GBK encodings.  */
79201
 
+  if (mblen ("\203\062\332\066", 5) != 4)
79202
 
+    return 1;
79203
 
+  return 0;
79204
 
+}
79205
 
+      
79206
 
+_ACEOF
79207
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
79208
 
+  (eval $ac_link) 2>&5
79209
 
+  ac_status=$?
79210
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
79211
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
79212
 
+      case "$host_os" in
79213
 
+        # Handle native Windows specially, because there setlocale() interprets
79214
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
79215
 
+        # "fr" or "fra" as "French" or "French_France.1252",
79216
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
79217
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
79218
 
+        # and similar.
79219
 
+        mingw*)
79220
 
+          # Test for the hypothetical native Win32 locale name.
79221
 
+          if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
79222
 
+            gt_cv_locale_zh_CN=Chinese_China.54936
79223
 
+          else
79224
 
+            # None found.
79225
 
+            gt_cv_locale_zh_CN=none
79226
 
+          fi
79227
 
+          ;;
79228
 
+        solaris2.8)
79229
 
+          # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
79230
 
+          # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
79231
 
+          # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
79232
 
+          gt_cv_locale_zh_CN=none
79233
 
+          ;;
79234
 
+        *)
79235
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
79236
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
79237
 
+          # configure script would override the LC_ALL setting. Likewise for
79238
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
79239
 
+          # Test for the locale name without encoding suffix.
79240
 
+          if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
79241
 
+            gt_cv_locale_zh_CN=zh_CN
79242
 
+          else
79243
 
+            # Test for the locale name with explicit encoding suffix.
79244
 
+            if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
79245
 
+              gt_cv_locale_zh_CN=zh_CN.GB18030
79246
 
+            else
79247
 
+              # None found.
79248
 
+              gt_cv_locale_zh_CN=none
79249
 
+            fi
79250
 
+          fi
79251
 
+          ;;
79252
 
+      esac
79253
 
+    else
79254
 
+      # If there was a link error, due to mblen(), the system is so old that
79255
 
+      # it certainly doesn't have a chinese locale.
79256
 
+      gt_cv_locale_zh_CN=none
79257
 
+    fi
79258
 
+    rm -fr conftest*
79259
 
+  
79260
 
+fi
79261
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
79262
 
+$as_echo "$gt_cv_locale_zh_CN" >&6; }
79263
 
+  LOCALE_ZH_CN=$gt_cv_locale_zh_CN
79264
 
+  
79265
 
+
79266
 
+
79267
 
+  
79268
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
79269
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
79270
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
79271
 
+  $as_echo_n "(cached) " >&6
79272
 
+else
79273
 
+  
79274
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79275
 
+/* end confdefs.h.  */
79276
 
+
79277
 
+#include <locale.h>
79278
 
+#include <time.h>
79279
 
+#if HAVE_LANGINFO_CODESET
79280
 
+# include <langinfo.h>
79281
 
+#endif
79282
 
+#include <stdlib.h>
79283
 
+#include <string.h>
79284
 
+struct tm t;
79285
 
+char buf[16];
79286
 
+int main () {
79287
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
79288
 
+     imitates locale dependent behaviour by looking at the environment
79289
 
+     variables, and all locales use the UTF-8 encoding.  */
79290
 
+#if !(defined __BEOS__ || defined __HAIKU__)
79291
 
+  /* Check whether the given locale name is recognized by the system.  */
79292
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
79293
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
79294
 
+     not at the environment variables.  Also, when an encoding suffix such
79295
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
79296
 
+     category of the locale to "C".  */
79297
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
79298
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
79299
 
+    return 1;
79300
 
+# else
79301
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
79302
 
+# endif
79303
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
79304
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
79305
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
79306
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
79307
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
79308
 
+     some unit tests fail.  */
79309
 
+# if HAVE_LANGINFO_CODESET
79310
 
+  {
79311
 
+    const char *cs = nl_langinfo (CODESET);
79312
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
79313
 
+      return 1;
79314
 
+  }
79315
 
+# endif
79316
 
+# ifdef __CYGWIN__
79317
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
79318
 
+     locale_charset() function relies on the encoding suffix.  Note that
79319
 
+     LC_ALL is set on the command line.  */
79320
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
79321
 
+# endif
79322
 
+  /* Check whether in the abbreviation of the second month, the second
79323
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
79324
 
+     two bytes long, with UTF-8 encoding.  */
79325
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
79326
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
79327
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
79328
 
+    return 1;
79329
 
+#endif
79330
 
+  /* Check whether the decimal separator is a comma.
79331
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
79332
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
79333
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
79334
 
+  return 0;
79335
 
+}
79336
 
+      
79337
 
+_ACEOF
79338
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
79339
 
+  (eval $ac_link) 2>&5
79340
 
+  ac_status=$?
79341
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
79342
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
79343
 
+      case "$host_os" in
79344
 
+        # Handle native Windows specially, because there setlocale() interprets
79345
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
79346
 
+        # "fr" or "fra" as "French" or "French_France.1252",
79347
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
79348
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
79349
 
+        # and similar.
79350
 
+        mingw*)
79351
 
+          # Test for the hypothetical native Win32 locale name.
79352
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
79353
 
+            gt_cv_locale_fr_utf8=French_France.65001
79354
 
+          else
79355
 
+            # None found.
79356
 
+            gt_cv_locale_fr_utf8=none
79357
 
+          fi
79358
 
+          ;;
79359
 
+        *)
79360
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
79361
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
79362
 
+          # configure script would override the LC_ALL setting. Likewise for
79363
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
79364
 
+          # Test for the usual locale name.
79365
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
79366
 
+            gt_cv_locale_fr_utf8=fr_FR
79367
 
+          else
79368
 
+            # Test for the locale name with explicit encoding suffix.
79369
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
79370
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
79371
 
+            else
79372
 
+              # Test for the Solaris 7 locale name.
79373
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
79374
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
79375
 
+              else
79376
 
+                # None found.
79377
 
+                gt_cv_locale_fr_utf8=none
79378
 
+              fi
79379
 
+            fi
79380
 
+          fi
79381
 
+          ;;
79382
 
+      esac
79383
 
+    fi
79384
 
+    rm -fr conftest*
79385
 
+  
79386
 
+fi
79387
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
79388
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
79389
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
79390
 
+  
79391
 
+
79392
 
+
79393
 
+  
79394
 
+
79395
 
+  
79396
 
+  
79397
 
+  
79398
 
+
79399
 
+  
79400
 
+  
79401
 
+  
79402
 
+  if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
79403
 
+    
79404
 
+  
79405
 
+  
79406
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
79407
 
+$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
79408
 
+if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
79409
 
+  $as_echo_n "(cached) " >&6
79410
 
+else
79411
 
+  
79412
 
+                  case "$host_os" in
79413
 
+                     # Guess no on AIX and OSF/1.
79414
 
+        aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
79415
 
+                     # Guess yes otherwise.
79416
 
+        *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
79417
 
+      esac
79418
 
+      if test $LOCALE_JA != none; then
79419
 
+        if test "$cross_compiling" = yes; then :
79420
 
+  :
79421
 
+else
79422
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79423
 
+/* end confdefs.h.  */
79424
 
+
79425
 
+#include <locale.h>
79426
 
+#include <string.h>
79427
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
79428
 
+   <wchar.h>.
79429
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
79430
 
+   included before <wchar.h>.  */
79431
 
+#include <stddef.h>
79432
 
+#include <stdio.h>
79433
 
+#include <time.h>
79434
 
+#include <wchar.h>
79435
 
+int main ()
79436
 
+{
79437
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
79438
 
+    {
79439
 
+      const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
79440
 
+      mbstate_t state;
79441
 
+      wchar_t wc;
79442
 
+
79443
 
+      memset (&state, '\0', sizeof (mbstate_t));
79444
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
79445
 
+        if (mbsinit (&state))
79446
 
+          return 1;
79447
 
+    }
79448
 
+  return 0;
79449
 
+}
79450
 
+_ACEOF
79451
 
+if ac_fn_c_try_run "$LINENO"; then :
79452
 
+  gl_cv_func_mbrtowc_incomplete_state=yes
79453
 
+else
79454
 
+  gl_cv_func_mbrtowc_incomplete_state=no
79455
 
+fi
79456
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
79457
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
79458
 
+fi
79459
 
+
79460
 
+      fi
79461
 
+    
79462
 
+fi
79463
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
79464
 
+$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
79465
 
+
79466
 
+    
79467
 
+  
79468
 
+  
79469
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
79470
 
+$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
79471
 
+if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
79472
 
+  $as_echo_n "(cached) " >&6
79473
 
+else
79474
 
+  
79475
 
+                  case "$host_os" in
79476
 
+                    # Guess no on Solaris 8.
79477
 
+        solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
79478
 
+                    # Guess yes otherwise.
79479
 
+        *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
79480
 
+      esac
79481
 
+      if test $LOCALE_ZH_CN != none; then
79482
 
+        if test "$cross_compiling" = yes; then :
79483
 
+  :
79484
 
+else
79485
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79486
 
+/* end confdefs.h.  */
79487
 
+
79488
 
+#include <locale.h>
79489
 
+#include <stdlib.h>
79490
 
+#include <string.h>
79491
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
79492
 
+   <wchar.h>.
79493
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
79494
 
+   included before <wchar.h>.  */
79495
 
+#include <stddef.h>
79496
 
+#include <stdio.h>
79497
 
+#include <time.h>
79498
 
+#include <wchar.h>
79499
 
+int main ()
79500
 
+{
79501
 
+  /* This fails on Solaris 8:
79502
 
+     mbrtowc returns 2, and sets wc to 0x00F0.
79503
 
+     mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
79504
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
79505
 
+    {
79506
 
+      char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
79507
 
+      mbstate_t state;
79508
 
+      wchar_t wc;
79509
 
+
79510
 
+      memset (&state, '\0', sizeof (mbstate_t));
79511
 
+      if (mbrtowc (&wc, input + 3, 6, &state) != 4
79512
 
+          && mbtowc (&wc, input + 3, 6) == 4)
79513
 
+        return 1;
79514
 
+    }
79515
 
+  return 0;
79516
 
+}
79517
 
+_ACEOF
79518
 
+if ac_fn_c_try_run "$LINENO"; then :
79519
 
+  gl_cv_func_mbrtowc_sanitycheck=yes
79520
 
+else
79521
 
+  gl_cv_func_mbrtowc_sanitycheck=no
79522
 
+fi
79523
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
79524
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
79525
 
+fi
79526
 
+
79527
 
+      fi
79528
 
+    
79529
 
+fi
79530
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
79531
 
+$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
79532
 
+
79533
 
+    REPLACE_MBSTATE_T=0
79534
 
+    case "$gl_cv_func_mbrtowc_incomplete_state" in
79535
 
+      *yes) ;;
79536
 
+      *) REPLACE_MBSTATE_T=1 ;;
79537
 
+    esac
79538
 
+    case "$gl_cv_func_mbrtowc_sanitycheck" in
79539
 
+      *yes) ;;
79540
 
+      *) REPLACE_MBSTATE_T=1 ;;
79541
 
+    esac
79542
 
+  else
79543
 
+    REPLACE_MBSTATE_T=1
79544
 
+  fi
79545
 
+
79546
 
+
79547
 
+  
79548
 
+  if test $ac_cv_func_mbrtowc = no; then
79549
 
+    HAVE_MBRTOWC=0
79550
 
+    ac_fn_c_check_decl "$LINENO" "mbrtowc" "ac_cv_have_decl_mbrtowc" "
79551
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
79552
 
+   <wchar.h>.
79553
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
79554
 
+   included before <wchar.h>.  */
79555
 
+#include <stddef.h>
79556
 
+#include <stdio.h>
79557
 
+#include <time.h>
79558
 
+#include <wchar.h>
79559
 
+
79560
 
+"
79561
 
+if test "x$ac_cv_have_decl_mbrtowc" = xyes; then :
79562
 
+  ac_have_decl=1
79563
 
+else
79564
 
+  ac_have_decl=0
79565
 
+fi
79566
 
+
79567
 
+cat >>confdefs.h <<_ACEOF
79568
 
+@%:@define HAVE_DECL_MBRTOWC $ac_have_decl
79569
 
+_ACEOF
79570
 
+
79571
 
+    if test $ac_cv_have_decl_mbrtowc = yes; then
79572
 
+                        REPLACE_MBRTOWC=1
79573
 
+    fi
79574
 
+  else
79575
 
+    if test $REPLACE_MBSTATE_T = 1; then
79576
 
+      REPLACE_MBRTOWC=1
79577
 
+    else
79578
 
+      
79579
 
+  
79580
 
+  
79581
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5
79582
 
+$as_echo_n "checking whether mbrtowc handles a NULL pwc argument... " >&6; }
79583
 
+if ${gl_cv_func_mbrtowc_null_arg1+:} false; then :
79584
 
+  $as_echo_n "(cached) " >&6
79585
 
+else
79586
 
+  
79587
 
+                  case "$host_os" in
79588
 
+                  # Guess no on Solaris.
79589
 
+        solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;;
79590
 
+                  # Guess yes otherwise.
79591
 
+        *)        gl_cv_func_mbrtowc_null_arg1="guessing yes" ;;
79592
 
+      esac
79593
 
+      if test $LOCALE_FR_UTF8 != none; then
79594
 
+        if test "$cross_compiling" = yes; then :
79595
 
+  :
79596
 
+else
79597
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79598
 
+/* end confdefs.h.  */
79599
 
+
79600
 
+#include <locale.h>
79601
 
+#include <stdlib.h>
79602
 
+#include <string.h>
79603
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
79604
 
+   <wchar.h>.
79605
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
79606
 
+   included before <wchar.h>.  */
79607
 
+#include <stddef.h>
79608
 
+#include <stdio.h>
79609
 
+#include <time.h>
79610
 
+#include <wchar.h>
79611
 
+int main ()
79612
 
+{
79613
 
+  int result = 0;
79614
 
+
79615
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
79616
 
+    {
79617
 
+      char input[] = "\303\237er";
79618
 
+      mbstate_t state;
79619
 
+      wchar_t wc;
79620
 
+      size_t ret;
79621
 
+
79622
 
+      memset (&state, '\0', sizeof (mbstate_t));
79623
 
+      wc = (wchar_t) 0xBADFACE;
79624
 
+      ret = mbrtowc (&wc, input, 5, &state);
79625
 
+      if (ret != 2)
79626
 
+        result |= 1;
79627
 
+      if (!mbsinit (&state))
79628
 
+        result |= 2;
79629
 
+
79630
 
+      memset (&state, '\0', sizeof (mbstate_t));
79631
 
+      ret = mbrtowc (NULL, input, 5, &state);
79632
 
+      if (ret != 2) /* Solaris 7 fails here: ret is -1.  */
79633
 
+        result |= 4;
79634
 
+      if (!mbsinit (&state))
79635
 
+        result |= 8;
79636
 
+    }
79637
 
+  return result;
79638
 
+}
79639
 
+_ACEOF
79640
 
+if ac_fn_c_try_run "$LINENO"; then :
79641
 
+  gl_cv_func_mbrtowc_null_arg1=yes
79642
 
+else
79643
 
+  gl_cv_func_mbrtowc_null_arg1=no
79644
 
+fi
79645
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
79646
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
79647
 
+fi
79648
 
+
79649
 
+      fi
79650
 
+    
79651
 
+fi
79652
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg1" >&5
79653
 
+$as_echo "$gl_cv_func_mbrtowc_null_arg1" >&6; }
79654
 
+
79655
 
+      
79656
 
+  
79657
 
+  
79658
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5
79659
 
+$as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; }
79660
 
+if ${gl_cv_func_mbrtowc_null_arg2+:} false; then :
79661
 
+  $as_echo_n "(cached) " >&6
79662
 
+else
79663
 
+  
79664
 
+                  case "$host_os" in
79665
 
+              # Guess no on OSF/1.
79666
 
+        osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;;
79667
 
+              # Guess yes otherwise.
79668
 
+        *)    gl_cv_func_mbrtowc_null_arg2="guessing yes" ;;
79669
 
+      esac
79670
 
+      if test $LOCALE_FR_UTF8 != none; then
79671
 
+        if test "$cross_compiling" = yes; then :
79672
 
+  :
79673
 
+else
79674
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79675
 
+/* end confdefs.h.  */
79676
 
+
79677
 
+#include <locale.h>
79678
 
+#include <string.h>
79679
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
79680
 
+   <wchar.h>.
79681
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
79682
 
+   included before <wchar.h>.  */
79683
 
+#include <stddef.h>
79684
 
+#include <stdio.h>
79685
 
+#include <time.h>
79686
 
+#include <wchar.h>
79687
 
+int main ()
79688
 
+{
79689
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
79690
 
+    {
79691
 
+      mbstate_t state;
79692
 
+      wchar_t wc;
79693
 
+      int ret;
79694
 
+
79695
 
+      memset (&state, '\0', sizeof (mbstate_t));
79696
 
+      wc = (wchar_t) 0xBADFACE;
79697
 
+      mbrtowc (&wc, NULL, 5, &state);
79698
 
+      /* Check that wc was not modified.  */
79699
 
+      if (wc != (wchar_t) 0xBADFACE)
79700
 
+        return 1;
79701
 
+    }
79702
 
+  return 0;
79703
 
+}
79704
 
+_ACEOF
79705
 
+if ac_fn_c_try_run "$LINENO"; then :
79706
 
+  gl_cv_func_mbrtowc_null_arg2=yes
79707
 
+else
79708
 
+  gl_cv_func_mbrtowc_null_arg2=no
79709
 
+fi
79710
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
79711
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
79712
 
+fi
79713
 
+
79714
 
+      fi
79715
 
+    
79716
 
+fi
79717
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg2" >&5
79718
 
+$as_echo "$gl_cv_func_mbrtowc_null_arg2" >&6; }
79719
 
+
79720
 
+      
79721
 
+  
79722
 
+  
79723
 
+  
79724
 
+  
79725
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5
79726
 
+$as_echo_n "checking whether mbrtowc has a correct return value... " >&6; }
79727
 
+if ${gl_cv_func_mbrtowc_retval+:} false; then :
79728
 
+  $as_echo_n "(cached) " >&6
79729
 
+else
79730
 
+  
79731
 
+                  case "$host_os" in
79732
 
+                                   # Guess no on HP-UX, Solaris, native Windows.
79733
 
+        hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;;
79734
 
+                                   # Guess yes otherwise.
79735
 
+        *)                         gl_cv_func_mbrtowc_retval="guessing yes" ;;
79736
 
+      esac
79737
 
+      if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \
79738
 
+         || { case "$host_os" in mingw*) true;; *) false;; esac; }; then
79739
 
+        if test "$cross_compiling" = yes; then :
79740
 
+  :
79741
 
+else
79742
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79743
 
+/* end confdefs.h.  */
79744
 
+
79745
 
+#include <locale.h>
79746
 
+#include <string.h>
79747
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
79748
 
+   <wchar.h>.
79749
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
79750
 
+   included before <wchar.h>.  */
79751
 
+#include <stddef.h>
79752
 
+#include <stdio.h>
79753
 
+#include <time.h>
79754
 
+#include <wchar.h>
79755
 
+int main ()
79756
 
+{
79757
 
+  int result = 0;
79758
 
+  int found_some_locale = 0;
79759
 
+  /* This fails on Solaris.  */
79760
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
79761
 
+    {
79762
 
+      char input[] = "B\303\274\303\237er"; /* "Büßer" */
79763
 
+      mbstate_t state;
79764
 
+      wchar_t wc;
79765
 
+
79766
 
+      memset (&state, '\0', sizeof (mbstate_t));
79767
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
79768
 
+        {
79769
 
+          input[1] = '\0';
79770
 
+          if (mbrtowc (&wc, input + 2, 5, &state) != 1)
79771
 
+            result |= 1;
79772
 
+        }
79773
 
+      found_some_locale = 1;
79774
 
+    }
79775
 
+  /* This fails on HP-UX 11.11.  */
79776
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
79777
 
+    {
79778
 
+      char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
79779
 
+      mbstate_t state;
79780
 
+      wchar_t wc;
79781
 
+
79782
 
+      memset (&state, '\0', sizeof (mbstate_t));
79783
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
79784
 
+        {
79785
 
+          input[1] = '\0';
79786
 
+          if (mbrtowc (&wc, input + 2, 5, &state) != 2)
79787
 
+            result |= 2;
79788
 
+        }
79789
 
+      found_some_locale = 1;
79790
 
+    }
79791
 
+  /* This fails on native Windows.  */
79792
 
+  if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL)
79793
 
+    {
79794
 
+      char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */
79795
 
+      mbstate_t state;
79796
 
+      wchar_t wc;
79797
 
+
79798
 
+      memset (&state, '\0', sizeof (mbstate_t));
79799
 
+      if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
79800
 
+        {
79801
 
+          input[3] = '\0';
79802
 
+          if (mbrtowc (&wc, input + 4, 4, &state) != 1)
79803
 
+            result |= 4;
79804
 
+        }
79805
 
+      found_some_locale = 1;
79806
 
+    }
79807
 
+  if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL)
79808
 
+    {
79809
 
+      char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */
79810
 
+      mbstate_t state;
79811
 
+      wchar_t wc;
79812
 
+
79813
 
+      memset (&state, '\0', sizeof (mbstate_t));
79814
 
+      if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
79815
 
+        {
79816
 
+          input[3] = '\0';
79817
 
+          if (mbrtowc (&wc, input + 4, 4, &state) != 1)
79818
 
+            result |= 8;
79819
 
+        }
79820
 
+      found_some_locale = 1;
79821
 
+    }
79822
 
+  if (setlocale (LC_ALL, "Chinese_China.936") != NULL)
79823
 
+    {
79824
 
+      char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */
79825
 
+      mbstate_t state;
79826
 
+      wchar_t wc;
79827
 
+
79828
 
+      memset (&state, '\0', sizeof (mbstate_t));
79829
 
+      if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
79830
 
+        {
79831
 
+          input[3] = '\0';
79832
 
+          if (mbrtowc (&wc, input + 4, 4, &state) != 1)
79833
 
+            result |= 16;
79834
 
+        }
79835
 
+      found_some_locale = 1;
79836
 
+    }
79837
 
+  return (found_some_locale ? result : 77);
79838
 
+}
79839
 
+_ACEOF
79840
 
+if ac_fn_c_try_run "$LINENO"; then :
79841
 
+  gl_cv_func_mbrtowc_retval=yes
79842
 
+else
79843
 
+  if test $? != 77; then
79844
 
+             gl_cv_func_mbrtowc_retval=no
79845
 
+           fi
79846
 
+          
79847
 
+fi
79848
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
79849
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
79850
 
+fi
79851
 
+
79852
 
+      fi
79853
 
+    
79854
 
+fi
79855
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5
79856
 
+$as_echo "$gl_cv_func_mbrtowc_retval" >&6; }
79857
 
+
79858
 
+      
79859
 
+  
79860
 
+  
79861
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5
79862
 
+$as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; }
79863
 
+if ${gl_cv_func_mbrtowc_nul_retval+:} false; then :
79864
 
+  $as_echo_n "(cached) " >&6
79865
 
+else
79866
 
+  
79867
 
+                  case "$host_os" in
79868
 
+                       # Guess no on Solaris 8 and 9.
79869
 
+        solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;;
79870
 
+                       # Guess yes otherwise.
79871
 
+        *)             gl_cv_func_mbrtowc_nul_retval="guessing yes" ;;
79872
 
+      esac
79873
 
+      if test $LOCALE_ZH_CN != none; then
79874
 
+        if test "$cross_compiling" = yes; then :
79875
 
+  :
79876
 
+else
79877
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79878
 
+/* end confdefs.h.  */
79879
 
+
79880
 
+#include <locale.h>
79881
 
+#include <string.h>
79882
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
79883
 
+   <wchar.h>.
79884
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
79885
 
+   included before <wchar.h>.  */
79886
 
+#include <stddef.h>
79887
 
+#include <stdio.h>
79888
 
+#include <time.h>
79889
 
+#include <wchar.h>
79890
 
+int main ()
79891
 
+{
79892
 
+  /* This fails on Solaris 8 and 9.  */
79893
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
79894
 
+    {
79895
 
+      mbstate_t state;
79896
 
+      wchar_t wc;
79897
 
+
79898
 
+      memset (&state, '\0', sizeof (mbstate_t));
79899
 
+      if (mbrtowc (&wc, "", 1, &state) != 0)
79900
 
+        return 1;
79901
 
+    }
79902
 
+  return 0;
79903
 
+}
79904
 
+_ACEOF
79905
 
+if ac_fn_c_try_run "$LINENO"; then :
79906
 
+  gl_cv_func_mbrtowc_nul_retval=yes
79907
 
+else
79908
 
+  gl_cv_func_mbrtowc_nul_retval=no
79909
 
+fi
79910
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
79911
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
79912
 
+fi
79913
 
+
79914
 
+      fi
79915
 
+    
79916
 
+fi
79917
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5
79918
 
+$as_echo "$gl_cv_func_mbrtowc_nul_retval" >&6; }
79919
 
+
79920
 
+      case "$gl_cv_func_mbrtowc_null_arg1" in
79921
 
+        *yes) ;;
79922
 
+        *) 
79923
 
+$as_echo "@%:@define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h
79924
 
+
79925
 
+           REPLACE_MBRTOWC=1
79926
 
+           ;;
79927
 
+      esac
79928
 
+      case "$gl_cv_func_mbrtowc_null_arg2" in
79929
 
+        *yes) ;;
79930
 
+        *) 
79931
 
+$as_echo "@%:@define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h
79932
 
+
79933
 
+           REPLACE_MBRTOWC=1
79934
 
+           ;;
79935
 
+      esac
79936
 
+      case "$gl_cv_func_mbrtowc_retval" in
79937
 
+        *yes) ;;
79938
 
+        *) 
79939
 
+$as_echo "@%:@define MBRTOWC_RETVAL_BUG 1" >>confdefs.h
79940
 
+
79941
 
+           REPLACE_MBRTOWC=1
79942
 
+           ;;
79943
 
+      esac
79944
 
+      case "$gl_cv_func_mbrtowc_nul_retval" in
79945
 
+        *yes) ;;
79946
 
+        *) 
79947
 
+$as_echo "@%:@define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h
79948
 
+
79949
 
+           REPLACE_MBRTOWC=1
79950
 
+           ;;
79951
 
+      esac
79952
 
+    fi
79953
 
+  fi
79954
 
+
79955
 
+
79956
 
+
79957
 
+
79958
 
+  GNULIB_FFSL=0;        
79959
 
+  GNULIB_FFSLL=0;       
79960
 
+  GNULIB_MEMCHR=0;      
79961
 
+  GNULIB_MEMMEM=0;      
79962
 
+  GNULIB_MEMPCPY=0;     
79963
 
+  GNULIB_MEMRCHR=0;     
79964
 
+  GNULIB_RAWMEMCHR=0;   
79965
 
+  GNULIB_STPCPY=0;      
79966
 
+  GNULIB_STPNCPY=0;     
79967
 
+  GNULIB_STRCHRNUL=0;   
79968
 
+  GNULIB_STRDUP=0;      
79969
 
+  GNULIB_STRNCAT=0;     
79970
 
+  GNULIB_STRNDUP=0;     
79971
 
+  GNULIB_STRNLEN=0;     
79972
 
+  GNULIB_STRPBRK=0;     
79973
 
+  GNULIB_STRSEP=0;      
79974
 
+  GNULIB_STRSTR=0;      
79975
 
+  GNULIB_STRCASESTR=0;  
79976
 
+  GNULIB_STRTOK_R=0;    
79977
 
+  GNULIB_MBSLEN=0;      
79978
 
+  GNULIB_MBSNLEN=0;     
79979
 
+  GNULIB_MBSCHR=0;      
79980
 
+  GNULIB_MBSRCHR=0;     
79981
 
+  GNULIB_MBSSTR=0;      
79982
 
+  GNULIB_MBSCASECMP=0;  
79983
 
+  GNULIB_MBSNCASECMP=0; 
79984
 
+  GNULIB_MBSPCASECMP=0; 
79985
 
+  GNULIB_MBSCASESTR=0;  
79986
 
+  GNULIB_MBSCSPN=0;     
79987
 
+  GNULIB_MBSPBRK=0;     
79988
 
+  GNULIB_MBSSPN=0;      
79989
 
+  GNULIB_MBSSEP=0;      
79990
 
+  GNULIB_MBSTOK_R=0;    
79991
 
+  GNULIB_STRERROR=0;    
79992
 
+  GNULIB_STRERROR_R=0;  
79993
 
+  GNULIB_STRSIGNAL=0;   
79994
 
+  GNULIB_STRVERSCMP=0;  
79995
 
+  HAVE_MBSLEN=0;        
79996
 
+    HAVE_FFSL=1;                  
79997
 
+  HAVE_FFSLL=1;                 
79998
 
+  HAVE_MEMCHR=1;                
79999
 
+  HAVE_DECL_MEMMEM=1;           
80000
 
+  HAVE_MEMPCPY=1;               
80001
 
+  HAVE_DECL_MEMRCHR=1;          
80002
 
+  HAVE_RAWMEMCHR=1;             
80003
 
+  HAVE_STPCPY=1;                
80004
 
+  HAVE_STPNCPY=1;               
80005
 
+  HAVE_STRCHRNUL=1;             
80006
 
+  HAVE_DECL_STRDUP=1;           
80007
 
+  HAVE_DECL_STRNDUP=1;          
80008
 
+  HAVE_DECL_STRNLEN=1;          
80009
 
+  HAVE_STRPBRK=1;               
80010
 
+  HAVE_STRSEP=1;                
80011
 
+  HAVE_STRCASESTR=1;            
80012
 
+  HAVE_DECL_STRTOK_R=1;         
80013
 
+  HAVE_DECL_STRERROR_R=1;       
80014
 
+  HAVE_DECL_STRSIGNAL=1;        
80015
 
+  HAVE_STRVERSCMP=1;            
80016
 
+  REPLACE_MEMCHR=0;             
80017
 
+  REPLACE_MEMMEM=0;             
80018
 
+  REPLACE_STPNCPY=0;            
80019
 
+  REPLACE_STRDUP=0;             
80020
 
+  REPLACE_STRSTR=0;             
80021
 
+  REPLACE_STRCASESTR=0;         
80022
 
+  REPLACE_STRCHRNUL=0;          
80023
 
+  REPLACE_STRERROR=0;           
80024
 
+  REPLACE_STRERROR_R=0;         
80025
 
+  REPLACE_STRNCAT=0;            
80026
 
+  REPLACE_STRNDUP=0;            
80027
 
+  REPLACE_STRNLEN=0;            
80028
 
+  REPLACE_STRSIGNAL=0;          
80029
 
+  REPLACE_STRTOK_R=0;           
80030
 
+  UNDEFINE_STRTOK_R=0;          
80031
 
+
80032
 
+
80033
 
+
80034
 
+
80035
 
+
80036
 
+
80037
 
+
80038
 
+
80039
 
+
80040
 
+
80041
 
+    
80042
 
+    
80043
 
+
80044
 
+  # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
80045
 
+  # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
80046
 
+  # irrelevant for anonymous mappings.
80047
 
+  ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
80048
 
+if test "x$ac_cv_func_mmap" = xyes; then :
80049
 
+  gl_have_mmap=yes
80050
 
+else
80051
 
+  gl_have_mmap=no
80052
 
+fi
80053
 
+
80054
 
+
80055
 
+  # Try to allow MAP_ANONYMOUS.
80056
 
+  gl_have_mmap_anonymous=no
80057
 
+  if test $gl_have_mmap = yes; then
80058
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
80059
 
+$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
80060
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80061
 
+/* end confdefs.h.  */
80062
 
+
80063
 
+#include <sys/mman.h>
80064
 
+#ifdef MAP_ANONYMOUS
80065
 
+    I cant identify this map
80066
 
+#endif
80067
 
+
80068
 
+_ACEOF
80069
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
80070
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
80071
 
+  gl_have_mmap_anonymous=yes
80072
 
+fi
80073
 
+rm -f conftest*
80074
 
+
80075
 
+    if test $gl_have_mmap_anonymous != yes; then
80076
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80077
 
+/* end confdefs.h.  */
80078
 
+
80079
 
+#include <sys/mman.h>
80080
 
+#ifdef MAP_ANON
80081
 
+    I cant identify this map
80082
 
+#endif
80083
 
+
80084
 
+_ACEOF
80085
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
80086
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
80087
 
+  
80088
 
+$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
80089
 
+
80090
 
+         gl_have_mmap_anonymous=yes
80091
 
+fi
80092
 
+rm -f conftest*
80093
 
+
80094
 
+    fi
80095
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
80096
 
+$as_echo "$gl_have_mmap_anonymous" >&6; }
80097
 
+    if test $gl_have_mmap_anonymous = yes; then
80098
 
+      
80099
 
+$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
80100
 
+
80101
 
+    fi
80102
 
+  fi
80103
 
+
80104
 
+  
80105
 
+  
80106
 
+
80107
 
+  
80108
 
+  
80109
 
+  if test $HAVE_MEMCHR = 1; then
80110
 
+    # Detect platform-specific bugs in some versions of glibc:
80111
 
+    # memchr should not dereference anything with length 0
80112
 
+    #   http://bugzilla.redhat.com/499689
80113
 
+    # memchr should not dereference overestimated length after a match
80114
 
+    #   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737
80115
 
+    #   http://sourceware.org/bugzilla/show_bug.cgi?id=10162
80116
 
+    # Assume that memchr works on platforms that lack mprotect.
80117
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5
80118
 
+$as_echo_n "checking whether memchr works... " >&6; }
80119
 
+if ${gl_cv_func_memchr_works+:} false; then :
80120
 
+  $as_echo_n "(cached) " >&6
80121
 
+else
80122
 
+  if test "$cross_compiling" = yes; then :
80123
 
+         gl_cv_func_memchr_works="guessing no"
80124
 
+else
80125
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80126
 
+/* end confdefs.h.  */
80127
 
+
80128
 
+#include <string.h>
80129
 
+#if HAVE_SYS_MMAN_H
80130
 
+# include <fcntl.h>
80131
 
+# include <unistd.h>
80132
 
+# include <sys/types.h>
80133
 
+# include <sys/mman.h>
80134
 
+# ifndef MAP_FILE
80135
 
+#  define MAP_FILE 0
80136
 
+# endif
80137
 
+#endif
80138
 
+
80139
 
+int
80140
 
+main ()
80141
 
+{
80142
 
+
80143
 
+  int result = 0;
80144
 
+  char *fence = NULL;
80145
 
+#if HAVE_SYS_MMAN_H && HAVE_MPROTECT
80146
 
+# if HAVE_MAP_ANONYMOUS
80147
 
+  const int flags = MAP_ANONYMOUS | MAP_PRIVATE;
80148
 
+  const int fd = -1;
80149
 
+# else /* !HAVE_MAP_ANONYMOUS */
80150
 
+  const int flags = MAP_FILE | MAP_PRIVATE;
80151
 
+  int fd = open ("/dev/zero", O_RDONLY, 0666);
80152
 
+  if (fd >= 0)
80153
 
+# endif
80154
 
+    {
80155
 
+      int pagesize = getpagesize ();
80156
 
+      char *two_pages =
80157
 
+        (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
80158
 
+                       flags, fd, 0);
80159
 
+      if (two_pages != (char *)(-1)
80160
 
+          && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0)
80161
 
+        fence = two_pages + pagesize;
80162
 
+    }
80163
 
+#endif
80164
 
+  if (fence)
80165
 
+    {
80166
 
+      if (memchr (fence, 0, 0))
80167
 
+        result |= 1;
80168
 
+      strcpy (fence - 9, "12345678");
80169
 
+      if (memchr (fence - 9, 0, 79) != fence - 1)
80170
 
+        result |= 2;
80171
 
+      if (memchr (fence - 1, 0, 3) != fence - 1)
80172
 
+        result |= 4;
80173
 
+    }
80174
 
+  return result;
80175
 
+
80176
 
+  ;
80177
 
+  return 0;
80178
 
+}
80179
 
+_ACEOF
80180
 
+if ac_fn_c_try_run "$LINENO"; then :
80181
 
+  gl_cv_func_memchr_works=yes
80182
 
+else
80183
 
+  gl_cv_func_memchr_works=no
80184
 
+fi
80185
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
80186
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
80187
 
+fi
80188
 
+
80189
 
+fi
80190
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5
80191
 
+$as_echo "$gl_cv_func_memchr_works" >&6; }
80192
 
+    if test "$gl_cv_func_memchr_works" != yes; then
80193
 
+      REPLACE_MEMCHR=1
80194
 
+    fi
80195
 
+  fi
80196
 
+
80197
 
+ac_fn_c_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default"
80198
 
+if test "x$ac_cv_have_decl_memrchr" = xyes; then :
80199
 
+  ac_have_decl=1
80200
 
+else
80201
 
+  ac_have_decl=0
80202
 
+fi
80203
 
+
80204
 
+cat >>confdefs.h <<_ACEOF
80205
 
+@%:@define HAVE_DECL_MEMRCHR $ac_have_decl
80206
 
+_ACEOF
80207
 
+
80208
 
+
80209
 
+
80210
 
+
80211
 
+
80212
 
+
80213
 
+
80214
 
+
80215
 
+
80216
 
+
80217
 
+  GNULIB_MKTIME=0;                       
80218
 
+  GNULIB_NANOSLEEP=0;                    
80219
 
+  GNULIB_STRPTIME=0;                     
80220
 
+  GNULIB_TIMEGM=0;                       
80221
 
+  GNULIB_TIME_R=0;                       
80222
 
+    HAVE_DECL_LOCALTIME_R=1;               
80223
 
+  HAVE_NANOSLEEP=1;                      
80224
 
+  HAVE_STRPTIME=1;                       
80225
 
+  HAVE_TIMEGM=1;                         
80226
 
+        REPLACE_LOCALTIME_R=GNULIB_PORTCHECK;  
80227
 
+  REPLACE_MKTIME=GNULIB_PORTCHECK;       
80228
 
+  REPLACE_NANOSLEEP=GNULIB_PORTCHECK;    
80229
 
+  REPLACE_TIMEGM=GNULIB_PORTCHECK;       
80230
 
+
80231
 
+
80232
 
+
80233
 
+
80234
 
+
80235
 
+
80236
 
+  GNULIB_PSELECT=0; 
80237
 
+  GNULIB_SELECT=0; 
80238
 
+    HAVE_PSELECT=1; 
80239
 
+  REPLACE_PSELECT=0; 
80240
 
+  REPLACE_SELECT=0; 
80241
 
+
80242
 
+
80243
 
+
80244
 
+
80245
 
+  
80246
 
+  
80247
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/select.h> is self-contained" >&5
80248
 
+$as_echo_n "checking whether <sys/select.h> is self-contained... " >&6; }
80249
 
+if ${gl_cv_header_sys_select_h_selfcontained+:} false; then :
80250
 
+  $as_echo_n "(cached) " >&6
80251
 
+else
80252
 
+  
80253
 
+                                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80254
 
+/* end confdefs.h.  */
80255
 
+#include <sys/select.h>
80256
 
+int
80257
 
+main ()
80258
 
+{
80259
 
+struct timeval b;
80260
 
+  ;
80261
 
+  return 0;
80262
 
+}
80263
 
+_ACEOF
80264
 
+if ac_fn_c_try_compile "$LINENO"; then :
80265
 
+  gl_cv_header_sys_select_h_selfcontained=yes
80266
 
+else
80267
 
+  gl_cv_header_sys_select_h_selfcontained=no
80268
 
+fi
80269
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80270
 
+                        if test $gl_cv_header_sys_select_h_selfcontained = yes; then
80271
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80272
 
+/* end confdefs.h.  */
80273
 
+#include <sys/select.h>
80274
 
+int
80275
 
+main ()
80276
 
+{
80277
 
+int memset; int bzero;
80278
 
+  ;
80279
 
+  return 0;
80280
 
+}
80281
 
+          
80282
 
+_ACEOF
80283
 
+if ac_fn_c_try_compile "$LINENO"; then :
80284
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80285
 
+/* end confdefs.h.  */
80286
 
+#include <sys/select.h>
80287
 
+int
80288
 
+main ()
80289
 
+{
80290
 
+
80291
 
+                  #undef memset
80292
 
+                  #define memset nonexistent_memset
80293
 
+                  extern
80294
 
+                  #ifdef __cplusplus
80295
 
+                  "C"
80296
 
+                  #endif
80297
 
+                  void *memset (void *, int, unsigned long);
80298
 
+                  #undef bzero
80299
 
+                  #define bzero nonexistent_bzero
80300
 
+                  extern
80301
 
+                  #ifdef __cplusplus
80302
 
+                  "C"
80303
 
+                  #endif
80304
 
+                  void bzero (void *, unsigned long);
80305
 
+                  fd_set fds;
80306
 
+                  FD_ZERO (&fds);
80307
 
+                
80308
 
+  ;
80309
 
+  return 0;
80310
 
+}
80311
 
+             
80312
 
+_ACEOF
80313
 
+if ac_fn_c_try_link "$LINENO"; then :
80314
 
+  
80315
 
+else
80316
 
+  gl_cv_header_sys_select_h_selfcontained=no
80317
 
+fi
80318
 
+rm -f core conftest.err conftest.$ac_objext \
80319
 
+    conftest$ac_exeext conftest.$ac_ext
80320
 
+          
80321
 
+fi
80322
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80323
 
+      fi
80324
 
+    
80325
 
+fi
80326
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_select_h_selfcontained" >&5
80327
 
+$as_echo "$gl_cv_header_sys_select_h_selfcontained" >&6; }
80328
 
+    
80329
 
+  
80330
 
+  
80331
 
+  
80332
 
+
80333
 
+  
80334
 
+    
80335
 
+
80336
 
+  
80337
 
+     if test $gl_cv_have_include_next = yes; then
80338
 
+       gl_cv_next_sys_select_h='<'sys/select.h'>'
80339
 
+     else
80340
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/select.h>" >&5
80341
 
+$as_echo_n "checking absolute name of <sys/select.h>... " >&6; }
80342
 
+if ${gl_cv_next_sys_select_h+:} false; then :
80343
 
+  $as_echo_n "(cached) " >&6
80344
 
+else
80345
 
+  
80346
 
+             if test $ac_cv_header_sys_select_h = yes; then
80347
 
+             
80348
 
+            
80349
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80350
 
+/* end confdefs.h.  */
80351
 
+#include <sys/select.h>
80352
 
+                  
80353
 
+_ACEOF
80354
 
+                                                                                                                        case "$host_os" in
80355
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
80356
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
80357
 
+               esac
80358
 
+                                                            gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
80359
 
+                  sed -n '\#/sys/select.h#{
80360
 
+                    s#.*"\(.*/sys/select.h\)".*#\1#
80361
 
+                    s#^/[^/]#//&#
80362
 
+                    p
80363
 
+                    q
80364
 
+                  }'`'"'
80365
 
+          else
80366
 
+               gl_cv_next_sys_select_h='<'sys/select.h'>'
80367
 
+             fi
80368
 
+            
80369
 
+         
80370
 
+fi
80371
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_select_h" >&5
80372
 
+$as_echo "$gl_cv_next_sys_select_h" >&6; }
80373
 
+     fi
80374
 
+     NEXT_SYS_SELECT_H=$gl_cv_next_sys_select_h
80375
 
+
80376
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
80377
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
80378
 
+       gl_next_as_first_directive='<'sys/select.h'>'
80379
 
+     else
80380
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
80381
 
+       gl_next_as_first_directive=$gl_cv_next_sys_select_h
80382
 
+     fi
80383
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H=$gl_next_as_first_directive
80384
 
+
80385
 
+     
80386
 
+
80387
 
+
80388
 
+  if test $ac_cv_header_sys_select_h = yes; then
80389
 
+    HAVE_SYS_SELECT_H=1
80390
 
+  else
80391
 
+    HAVE_SYS_SELECT_H=0
80392
 
+  fi
80393
 
+  
80394
 
+  
80395
 
+  
80396
 
+  
80397
 
+  
80398
 
+  if test $ac_cv_header_sys_socket_h != yes; then
80399
 
+                    for ac_header in winsock2.h
80400
 
+do :
80401
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
80402
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
80403
 
+  cat >>confdefs.h <<_ACEOF
80404
 
+@%:@define HAVE_WINSOCK2_H 1
80405
 
+_ACEOF
80406
 
80407
 
+fi
80408
 
+
80409
 
+done
80410
 
+
80411
 
+  fi
80412
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
80413
 
+    HAVE_WINSOCK2_H=1
80414
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
80415
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
80416
 
+  else
80417
 
+    HAVE_WINSOCK2_H=0
80418
 
+  fi
80419
 
+  
80420
 
+
80421
 
+
80422
 
+      
80423
 
+    for gl_func in pselect select; do
80424
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
80425
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
80426
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
80427
 
+if eval \${$as_gl_Symbol+:} false; then :
80428
 
+  $as_echo_n "(cached) " >&6
80429
 
+else
80430
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80431
 
+/* end confdefs.h.  */
80432
 
+
80433
 
+/* Some systems require prerequisite headers.  */
80434
 
+#include <sys/types.h>
80435
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__) && HAVE_SYS_TIME_H
80436
 
+# include <sys/time.h>
80437
 
+#endif
80438
 
+#include <sys/select.h>
80439
 
+    
80440
 
+int
80441
 
+main ()
80442
 
+{
80443
 
+@%:@undef $gl_func
80444
 
+  (void) $gl_func;
80445
 
+  ;
80446
 
+  return 0;
80447
 
+}
80448
 
+_ACEOF
80449
 
+if ac_fn_c_try_compile "$LINENO"; then :
80450
 
+  eval "$as_gl_Symbol=yes"
80451
 
+else
80452
 
+  eval "$as_gl_Symbol=no"
80453
 
+fi
80454
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80455
 
+fi
80456
 
+eval ac_res=\$$as_gl_Symbol
80457
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
80458
 
+$as_echo "$ac_res" >&6; }
80459
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
80460
 
+  cat >>confdefs.h <<_ACEOF
80461
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
80462
 
+_ACEOF
80463
 
+
80464
 
+                     eval ac_cv_have_decl_$gl_func=yes
80465
 
+fi
80466
 
+      done
80467
 
+
80468
 
+
80469
 
+
80470
 
+  
80471
 
+  
80472
 
+  
80473
 
+  
80474
 
+  if test $ac_cv_header_sys_socket_h != yes; then
80475
 
+                    for ac_header in winsock2.h
80476
 
+do :
80477
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
80478
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
80479
 
+  cat >>confdefs.h <<_ACEOF
80480
 
+@%:@define HAVE_WINSOCK2_H 1
80481
 
+_ACEOF
80482
 
80483
 
+fi
80484
 
+
80485
 
+done
80486
 
+
80487
 
+  fi
80488
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
80489
 
+    HAVE_WINSOCK2_H=1
80490
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
80491
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
80492
 
+  else
80493
 
+    HAVE_WINSOCK2_H=0
80494
 
+  fi
80495
 
+  
80496
 
+   LIBSOCKET=
80497
 
+  if test $HAVE_WINSOCK2_H = 1; then
80498
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to call WSAStartup in winsock2.h and -lws2_32" >&5
80499
 
+$as_echo_n "checking if we need to call WSAStartup in winsock2.h and -lws2_32... " >&6; }
80500
 
+if ${gl_cv_func_wsastartup+:} false; then :
80501
 
+  $as_echo_n "(cached) " >&6
80502
 
+else
80503
 
+  
80504
 
+      gl_save_LIBS="$LIBS"
80505
 
+      LIBS="$LIBS -lws2_32"
80506
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80507
 
+/* end confdefs.h.  */
80508
 
+
80509
 
+#ifdef HAVE_WINSOCK2_H
80510
 
+# include <winsock2.h>
80511
 
+#endif
80512
 
+int
80513
 
+main ()
80514
 
+{
80515
 
+
80516
 
+          WORD wVersionRequested = MAKEWORD(1, 1);
80517
 
+          WSADATA wsaData;
80518
 
+          int err = WSAStartup(wVersionRequested, &wsaData);
80519
 
+          WSACleanup ();
80520
 
+  ;
80521
 
+  return 0;
80522
 
+}
80523
 
+_ACEOF
80524
 
+if ac_fn_c_try_link "$LINENO"; then :
80525
 
+  gl_cv_func_wsastartup=yes
80526
 
+else
80527
 
+  gl_cv_func_wsastartup=no
80528
 
+fi
80529
 
+rm -f core conftest.err conftest.$ac_objext \
80530
 
+    conftest$ac_exeext conftest.$ac_ext
80531
 
+      LIBS="$gl_save_LIBS"
80532
 
+    
80533
 
+fi
80534
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wsastartup" >&5
80535
 
+$as_echo "$gl_cv_func_wsastartup" >&6; }
80536
 
+    if test "$gl_cv_func_wsastartup" = "yes"; then
80537
 
+      
80538
 
+$as_echo "@%:@define WINDOWS_SOCKETS 1" >>confdefs.h
80539
 
+
80540
 
+      LIBSOCKET='-lws2_32'
80541
 
+    fi
80542
 
+  else
80543
 
+                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
80544
 
+$as_echo_n "checking for library containing setsockopt... " >&6; }
80545
 
+if ${gl_cv_lib_socket+:} false; then :
80546
 
+  $as_echo_n "(cached) " >&6
80547
 
+else
80548
 
+  
80549
 
+      gl_cv_lib_socket=
80550
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80551
 
+/* end confdefs.h.  */
80552
 
+extern
80553
 
+#ifdef __cplusplus
80554
 
+"C"
80555
 
+#endif
80556
 
+char setsockopt();
80557
 
+int
80558
 
+main ()
80559
 
+{
80560
 
+setsockopt();
80561
 
+  ;
80562
 
+  return 0;
80563
 
+}
80564
 
+_ACEOF
80565
 
+if ac_fn_c_try_link "$LINENO"; then :
80566
 
+  
80567
 
+else
80568
 
+  gl_save_LIBS="$LIBS"
80569
 
+         LIBS="$gl_save_LIBS -lsocket"
80570
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80571
 
+/* end confdefs.h.  */
80572
 
+extern
80573
 
+#ifdef __cplusplus
80574
 
+"C"
80575
 
+#endif
80576
 
+char setsockopt();
80577
 
+int
80578
 
+main ()
80579
 
+{
80580
 
+setsockopt();
80581
 
+  ;
80582
 
+  return 0;
80583
 
+}
80584
 
+_ACEOF
80585
 
+if ac_fn_c_try_link "$LINENO"; then :
80586
 
+  gl_cv_lib_socket="-lsocket"
80587
 
+fi
80588
 
+rm -f core conftest.err conftest.$ac_objext \
80589
 
+    conftest$ac_exeext conftest.$ac_ext
80590
 
+         if test -z "$gl_cv_lib_socket"; then
80591
 
+           LIBS="$gl_save_LIBS -lnetwork"
80592
 
+           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80593
 
+/* end confdefs.h.  */
80594
 
+extern
80595
 
+#ifdef __cplusplus
80596
 
+"C"
80597
 
+#endif
80598
 
+char setsockopt();
80599
 
+int
80600
 
+main ()
80601
 
+{
80602
 
+setsockopt();
80603
 
+  ;
80604
 
+  return 0;
80605
 
+}
80606
 
+_ACEOF
80607
 
+if ac_fn_c_try_link "$LINENO"; then :
80608
 
+  gl_cv_lib_socket="-lnetwork"
80609
 
+fi
80610
 
+rm -f core conftest.err conftest.$ac_objext \
80611
 
+    conftest$ac_exeext conftest.$ac_ext
80612
 
+           if test -z "$gl_cv_lib_socket"; then
80613
 
+             LIBS="$gl_save_LIBS -lnet"
80614
 
+             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80615
 
+/* end confdefs.h.  */
80616
 
+extern
80617
 
+#ifdef __cplusplus
80618
 
+"C"
80619
 
+#endif
80620
 
+char setsockopt();
80621
 
+int
80622
 
+main ()
80623
 
+{
80624
 
+setsockopt();
80625
 
+  ;
80626
 
+  return 0;
80627
 
+}
80628
 
+_ACEOF
80629
 
+if ac_fn_c_try_link "$LINENO"; then :
80630
 
+  gl_cv_lib_socket="-lnet"
80631
 
+fi
80632
 
+rm -f core conftest.err conftest.$ac_objext \
80633
 
+    conftest$ac_exeext conftest.$ac_ext
80634
 
+           fi
80635
 
+         fi
80636
 
+         LIBS="$gl_save_LIBS"
80637
 
+        
80638
 
+fi
80639
 
+rm -f core conftest.err conftest.$ac_objext \
80640
 
+    conftest$ac_exeext conftest.$ac_ext
80641
 
+      if test -z "$gl_cv_lib_socket"; then
80642
 
+        gl_cv_lib_socket="none needed"
80643
 
+      fi
80644
 
+    
80645
 
+fi
80646
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_socket" >&5
80647
 
+$as_echo "$gl_cv_lib_socket" >&6; }
80648
 
+    if test "$gl_cv_lib_socket" != "none needed"; then
80649
 
+      LIBSOCKET="$gl_cv_lib_socket"
80650
 
+    fi
80651
 
+  fi
80652
 
+  
80653
 
+
80654
 
+
80655
 
+  
80656
 
+  
80657
 
+  
80658
 
+  :
80659
 
+
80660
 
+
80661
 
+
80662
 
+  
80663
 
+     
80664
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
80665
 
+    REPLACE_SELECT=1
80666
 
+  else
80667
 
+            
80668
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether select supports a 0 argument" >&5
80669
 
+$as_echo_n "checking whether select supports a 0 argument... " >&6; }
80670
 
+if ${gl_cv_func_select_supports0+:} false; then :
80671
 
+  $as_echo_n "(cached) " >&6
80672
 
+else
80673
 
+  
80674
 
+        if test "$cross_compiling" = yes; then :
80675
 
+  
80676
 
+           case "$host_os" in
80677
 
+                       # Guess no on Interix.
80678
 
+             interix*) gl_cv_func_select_supports0="guessing no";;
80679
 
+                       # Guess yes otherwise.
80680
 
+             *)        gl_cv_func_select_supports0="guessing yes";;
80681
 
+           esac
80682
 
+          
80683
 
+else
80684
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80685
 
+/* end confdefs.h.  */
80686
 
+
80687
 
+#include <sys/types.h>
80688
 
+#include <sys/time.h>
80689
 
+#if HAVE_SYS_SELECT_H
80690
 
+#include <sys/select.h>
80691
 
+#endif
80692
 
+int main ()
80693
 
+{
80694
 
+  struct timeval timeout;
80695
 
+  timeout.tv_sec = 0;
80696
 
+  timeout.tv_usec = 5;
80697
 
+  return select (0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &timeout) < 0;
80698
 
+}
80699
 
+_ACEOF
80700
 
+if ac_fn_c_try_run "$LINENO"; then :
80701
 
+  gl_cv_func_select_supports0=yes
80702
 
+else
80703
 
+  gl_cv_func_select_supports0=no
80704
 
+fi
80705
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
80706
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
80707
 
+fi
80708
 
+
80709
 
+      
80710
 
+fi
80711
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_select_supports0" >&5
80712
 
+$as_echo "$gl_cv_func_select_supports0" >&6; }
80713
 
+    case "$gl_cv_func_select_supports0" in
80714
 
+      *yes) ;;
80715
 
+      *) REPLACE_SELECT=1 ;;
80716
 
+    esac
80717
 
+  fi
80718
 
+
80719
 
+
80720
 
+
80721
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
80722
 
+$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
80723
 
+if ${ac_cv_header_stdbool_h+:} false; then :
80724
 
+  $as_echo_n "(cached) " >&6
80725
 
+else
80726
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80727
 
+/* end confdefs.h.  */
80728
 
+
80729
 
+             #include <stdbool.h>
80730
 
+             #ifndef bool
80731
 
+              "error: bool is not defined"
80732
 
+             #endif
80733
 
+             #ifndef false
80734
 
+              "error: false is not defined"
80735
 
+             #endif
80736
 
+             #if false
80737
 
+              "error: false is not 0"
80738
 
+             #endif
80739
 
+             #ifndef true
80740
 
+              "error: true is not defined"
80741
 
+             #endif
80742
 
+             #if true != 1
80743
 
+              "error: true is not 1"
80744
 
+             #endif
80745
 
+             #ifndef __bool_true_false_are_defined
80746
 
+              "error: __bool_true_false_are_defined is not defined"
80747
 
+             #endif
80748
 
+
80749
 
+             struct s { _Bool s: 1; _Bool t; } s;
80750
 
+
80751
 
+             char a[true == 1 ? 1 : -1];
80752
 
+             char b[false == 0 ? 1 : -1];
80753
 
+             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
80754
 
+             char d[(bool) 0.5 == true ? 1 : -1];
80755
 
+             /* See body of main program for 'e'.  */
80756
 
+             char f[(_Bool) 0.0 == false ? 1 : -1];
80757
 
+             char g[true];
80758
 
+             char h[sizeof (_Bool)];
80759
 
+             char i[sizeof s.t];
80760
 
+             enum { j = false, k = true, l = false * true, m = true * 256 };
80761
 
+             /* The following fails for
80762
 
+                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
80763
 
+             _Bool n[m];
80764
 
+             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
80765
 
+             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
80766
 
+             /* Catch a bug in an HP-UX C compiler.  See
80767
 
+                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
80768
 
+                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
80769
 
+              */
80770
 
+             _Bool q = true;
80771
 
+             _Bool *pq = &q;
80772
 
+           
80773
 
+int
80774
 
+main ()
80775
 
+{
80776
 
+
80777
 
+             bool e = &s;
80778
 
+             *pq |= q;
80779
 
+             *pq |= ! q;
80780
 
+             /* Refer to every declared value, to avoid compiler optimizations.  */
80781
 
+             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
80782
 
+                     + !m + !n + !o + !p + !q + !pq);
80783
 
+           
80784
 
+  ;
80785
 
+  return 0;
80786
 
+}
80787
 
+_ACEOF
80788
 
+if ac_fn_c_try_compile "$LINENO"; then :
80789
 
+  ac_cv_header_stdbool_h=yes
80790
 
+else
80791
 
+  ac_cv_header_stdbool_h=no
80792
 
+fi
80793
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80794
 
+fi
80795
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
80796
 
+$as_echo "$ac_cv_header_stdbool_h" >&6; }
80797
 
+   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
80798
 
+if test "x$ac_cv_type__Bool" = xyes; then :
80799
 
+  
80800
 
+cat >>confdefs.h <<_ACEOF
80801
 
+@%:@define HAVE__BOOL 1
80802
 
+_ACEOF
80803
 
+
80804
 
+
80805
 
+fi
80806
 
+
80807
 
+
80808
 
+
80809
 
+  
80810
 
+
80811
 
+  # Define two additional variables used in the Makefile substitution.
80812
 
+
80813
 
+  if test "$ac_cv_header_stdbool_h" = yes; then
80814
 
+    STDBOOL_H=''
80815
 
+  else
80816
 
+    STDBOOL_H='stdbool.h'
80817
 
+  fi
80818
 
+  
80819
 
+   if test -n "$STDBOOL_H"; then
80820
 
+  GL_GENERATE_STDBOOL_H_TRUE=
80821
 
+  GL_GENERATE_STDBOOL_H_FALSE='#'
80822
 
+else
80823
 
+  GL_GENERATE_STDBOOL_H_TRUE='#'
80824
 
+  GL_GENERATE_STDBOOL_H_FALSE=
80825
 
+fi
80826
 
+
80827
 
+
80828
 
+  if test "$ac_cv_type__Bool" = yes; then
80829
 
+    HAVE__BOOL=1
80830
 
+  else
80831
 
+    HAVE__BOOL=0
80832
 
+  fi
80833
 
+  
80834
 
+
80835
 
+
80836
 
+  # parse-datetime.y works with bison only.
80837
 
+  : ${YACC='bison -y'}
80838
 
+    
80839
 
+
80840
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compound literals" >&5
80841
 
+$as_echo_n "checking for compound literals... " >&6; }
80842
 
+if ${gl_cv_compound_literals+:} false; then :
80843
 
+  $as_echo_n "(cached) " >&6
80844
 
+else
80845
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80846
 
+/* end confdefs.h.  */
80847
 
+struct s { int i, j; };
80848
 
+int
80849
 
+main ()
80850
 
+{
80851
 
+struct s t = (struct s) { 3, 4 };
80852
 
+        if (t.i != 0) return 0;
80853
 
+  ;
80854
 
+  return 0;
80855
 
+}
80856
 
+_ACEOF
80857
 
+if ac_fn_c_try_compile "$LINENO"; then :
80858
 
+  gl_cv_compound_literals=yes
80859
 
+else
80860
 
+  gl_cv_compound_literals=no
80861
 
+fi
80862
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80863
 
+fi
80864
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_compound_literals" >&5
80865
 
+$as_echo "$gl_cv_compound_literals" >&6; }
80866
 
+  if test $gl_cv_compound_literals = yes; then
80867
 
+    
80868
 
+$as_echo "@%:@define HAVE_COMPOUND_LITERALS 1" >>confdefs.h
80869
 
+
80870
 
+  fi
80871
 
+
80872
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
80873
 
+$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
80874
 
+if ${ac_cv_struct_tm+:} false; then :
80875
 
+  $as_echo_n "(cached) " >&6
80876
 
+else
80877
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80878
 
+/* end confdefs.h.  */
80879
 
+#include <sys/types.h>
80880
 
+#include <time.h>
80881
 
+
80882
 
+int
80883
 
+main ()
80884
 
+{
80885
 
+struct tm tm;
80886
 
+                                    int *p = &tm.tm_sec;
80887
 
+                                    return !p;
80888
 
+  ;
80889
 
+  return 0;
80890
 
+}
80891
 
+_ACEOF
80892
 
+if ac_fn_c_try_compile "$LINENO"; then :
80893
 
+  ac_cv_struct_tm=time.h
80894
 
+else
80895
 
+  ac_cv_struct_tm=sys/time.h
80896
 
+fi
80897
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80898
 
+fi
80899
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
80900
 
+$as_echo "$ac_cv_struct_tm" >&6; }
80901
 
+if test $ac_cv_struct_tm = sys/time.h; then
80902
 
+  
80903
 
+$as_echo "@%:@define TM_IN_SYS_TIME 1" >>confdefs.h
80904
 
+
80905
 
+fi
80906
 
+
80907
 
+
80908
 
+ ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
80909
 
+"
80910
 
+if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
80911
 
+  
80912
 
+$as_echo "@%:@define HAVE_TM_GMTOFF 1" >>confdefs.h
80913
 
+
80914
 
+fi
80915
 
+
80916
 
+
80917
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for external symbol _system_configuration" >&5
80918
 
+$as_echo_n "checking for external symbol _system_configuration... " >&6; }
80919
 
+if ${gl_cv_var__system_configuration+:} false; then :
80920
 
+  $as_echo_n "(cached) " >&6
80921
 
+else
80922
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80923
 
+/* end confdefs.h.  */
80924
 
+#include <sys/systemcfg.h>
80925
 
+                      
80926
 
+int
80927
 
+main ()
80928
 
+{
80929
 
+double x = _system_configuration.physmem;
80930
 
+                        if (x > 0.0) return 0;
80931
 
+  ;
80932
 
+  return 0;
80933
 
+}
80934
 
+_ACEOF
80935
 
+if ac_fn_c_try_link "$LINENO"; then :
80936
 
+  gl_cv_var__system_configuration=yes
80937
 
+else
80938
 
+  gl_cv_var__system_configuration=no
80939
 
+fi
80940
 
+rm -f core conftest.err conftest.$ac_objext \
80941
 
+    conftest$ac_exeext conftest.$ac_ext
80942
 
+fi
80943
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var__system_configuration" >&5
80944
 
+$as_echo "$gl_cv_var__system_configuration" >&6; }
80945
 
+
80946
 
+    if test $gl_cv_var__system_configuration = yes; then
80947
 
+      
80948
 
+$as_echo "@%:@define HAVE__SYSTEM_CONFIGURATION 1" >>confdefs.h
80949
 
+
80950
 
+    fi
80951
 
+  
80952
 
+
80953
 
+
80954
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for desired default level of POSIX conformance" >&5
80955
 
+$as_echo_n "checking for desired default level of POSIX conformance... " >&6; }
80956
 
+  gl_default_posix2_version=none-specified
80957
 
+  if test -n "$ac_cv_env_DEFAULT_POSIX2_VERSION_set"; then
80958
 
+    gl_default_posix2_version=$ac_cv_env_DEFAULT_POSIX2_VERSION_value
80959
 
+    
80960
 
+cat >>confdefs.h <<_ACEOF
80961
 
+@%:@define DEFAULT_POSIX2_VERSION $gl_default_posix2_version
80962
 
+_ACEOF
80963
 
+
80964
 
+  fi
80965
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_default_posix2_version" >&5
80966
 
+$as_echo "$gl_default_posix2_version" >&6; }
80967
 
+  
80968
 
+
80969
 
+
80970
 
+
80971
 
+
80972
 
+    HAVE_PTHREAD_H=1;              
80973
 
+  HAVE_PTHREAD_T=1;              
80974
 
+  HAVE_PTHREAD_SPINLOCK_T=1;     
80975
 
+
80976
 
+
80977
 
+
80978
 
+
80979
 
+
80980
 
+
80981
 
+
80982
 
+
80983
 
+
80984
 
+
80985
 
+
80986
 
+
80987
 
+
80988
 
+
80989
 
+  
80990
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rmdir works" >&5
80991
 
+$as_echo_n "checking whether rmdir works... " >&6; }
80992
 
+if ${gl_cv_func_rmdir_works+:} false; then :
80993
 
+  $as_echo_n "(cached) " >&6
80994
 
+else
80995
 
+  mkdir conftest.dir
80996
 
+     touch conftest.file
80997
 
+     if test "$cross_compiling" = yes; then :
80998
 
+  gl_cv_func_rmdir_works="guessing no"
80999
 
+else
81000
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81001
 
+/* end confdefs.h.  */
81002
 
+#include <stdio.h>
81003
 
+           #include <errno.h>
81004
 
+           #include <unistd.h>
81005
 
+
81006
 
+int
81007
 
+main ()
81008
 
+{
81009
 
+int result = 0;
81010
 
+      if (!rmdir ("conftest.file/"))
81011
 
+        result |= 1;
81012
 
+      else if (errno != ENOTDIR)
81013
 
+        result |= 2;
81014
 
+      if (!rmdir ("conftest.dir/./"))
81015
 
+        result |= 4;
81016
 
+      return result;
81017
 
+    
81018
 
+  ;
81019
 
+  return 0;
81020
 
+}
81021
 
+_ACEOF
81022
 
+if ac_fn_c_try_run "$LINENO"; then :
81023
 
+  gl_cv_func_rmdir_works=yes
81024
 
+else
81025
 
+  gl_cv_func_rmdir_works=no
81026
 
+fi
81027
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
81028
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
81029
 
+fi
81030
 
+
81031
 
+     rm -rf conftest.dir conftest.file
81032
 
+fi
81033
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rmdir_works" >&5
81034
 
+$as_echo "$gl_cv_func_rmdir_works" >&6; }
81035
 
+  if test x"$gl_cv_func_rmdir_works" != xyes; then
81036
 
+    REPLACE_RMDIR=1
81037
 
+  fi
81038
 
+
81039
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
81040
 
+$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
81041
 
+if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
81042
 
+  $as_echo_n "(cached) " >&6
81043
 
+else
81044
 
+  rm -f conftest.sym conftest.file
81045
 
+echo >conftest.file
81046
 
+if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
81047
 
+  if test "$cross_compiling" = yes; then :
81048
 
+  ac_cv_func_lstat_dereferences_slashed_symlink=no
81049
 
+else
81050
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81051
 
+/* end confdefs.h.  */
81052
 
+$ac_includes_default
81053
 
+int
81054
 
+main ()
81055
 
+{
81056
 
+struct stat sbuf;
81057
 
+     /* Linux will dereference the symlink and fail, as required by POSIX.
81058
 
+       That is better in the sense that it means we will not
81059
 
+       have to compile and use the lstat wrapper.  */
81060
 
+     return lstat ("conftest.sym/", &sbuf) == 0;
81061
 
+  ;
81062
 
+  return 0;
81063
 
+}
81064
 
+_ACEOF
81065
 
+if ac_fn_c_try_run "$LINENO"; then :
81066
 
+  ac_cv_func_lstat_dereferences_slashed_symlink=yes
81067
 
+else
81068
 
+  ac_cv_func_lstat_dereferences_slashed_symlink=no
81069
 
+fi
81070
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
81071
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
81072
 
+fi
81073
 
+
81074
 
+else
81075
 
+  # If the `ln -s' command failed, then we probably don't even
81076
 
+  # have an lstat function.
81077
 
+  ac_cv_func_lstat_dereferences_slashed_symlink=no
81078
 
+fi
81079
 
+rm -f conftest.sym conftest.file
81080
 
+
81081
 
+fi
81082
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
81083
 
+$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
81084
 
+
81085
 
+test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
81086
 
+  
81087
 
+cat >>confdefs.h <<_ACEOF
81088
 
+@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
81089
 
+_ACEOF
81090
 
+
81091
 
+
81092
 
+if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
81093
 
+  
81094
 
+  
81095
 
+  
81096
 
+    
81097
 
+      
81098
 
+      
81099
 
+    
81100
 
+  
81101
 
+  gl_LIBOBJS="$gl_LIBOBJS lstat.$ac_objext"
81102
 
+
81103
 
+fi
81104
 
+
81105
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5
81106
 
+$as_echo_n "checking whether lstat accepts an empty string... " >&6; }
81107
 
+if ${ac_cv_func_lstat_empty_string_bug+:} false; then :
81108
 
+  $as_echo_n "(cached) " >&6
81109
 
+else
81110
 
+  if test "$cross_compiling" = yes; then :
81111
 
+  ac_cv_func_lstat_empty_string_bug=yes
81112
 
+else
81113
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81114
 
+/* end confdefs.h.  */
81115
 
+$ac_includes_default
81116
 
+int
81117
 
+main ()
81118
 
+{
81119
 
+struct stat sbuf;
81120
 
+  return lstat ("", &sbuf) == 0;
81121
 
+  ;
81122
 
+  return 0;
81123
 
+}
81124
 
+_ACEOF
81125
 
+if ac_fn_c_try_run "$LINENO"; then :
81126
 
+  ac_cv_func_lstat_empty_string_bug=no
81127
 
+else
81128
 
+  ac_cv_func_lstat_empty_string_bug=yes
81129
 
+fi
81130
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
81131
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
81132
 
+fi
81133
 
+
81134
 
+fi
81135
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5
81136
 
+$as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
81137
 
+if test $ac_cv_func_lstat_empty_string_bug = yes; then
81138
 
+  
81139
 
+  
81140
 
+  
81141
 
+    
81142
 
+      
81143
 
+      
81144
 
+    
81145
 
+  
81146
 
+  gl_LIBOBJS="$gl_LIBOBJS lstat.$ac_objext"
81147
 
+
81148
 
+  
81149
 
+cat >>confdefs.h <<_ACEOF
81150
 
+@%:@define HAVE_LSTAT_EMPTY_STRING_BUG 1
81151
 
+_ACEOF
81152
 
+
81153
 
+fi
81154
 
+
81155
 
+
81156
 
+
81157
 
+
81158
 
+  
81159
 
+  
81160
 
+
81161
 
+  
81162
 
+@%:@ Check whether --with-selinux was given.
81163
 
+if test "${with_selinux+set}" = set; then :
81164
 
+  withval=$with_selinux; 
81165
 
+else
81166
 
+  with_selinux=maybe
81167
 
+fi
81168
 
+
81169
 
+
81170
 
+  LIB_SELINUX=
81171
 
+  if test "$with_selinux" != no; then
81172
 
+    gl_save_LIBS=$LIBS
81173
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setfilecon" >&5
81174
 
+$as_echo_n "checking for library containing setfilecon... " >&6; }
81175
 
+if ${ac_cv_search_setfilecon+:} false; then :
81176
 
+  $as_echo_n "(cached) " >&6
81177
 
+else
81178
 
+  ac_func_search_save_LIBS=$LIBS
81179
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81180
 
+/* end confdefs.h.  */
81181
 
+
81182
 
+/* Override any GCC internal prototype to avoid an error.
81183
 
+   Use char because int might match the return type of a GCC
81184
 
+   builtin and then its argument prototype would still apply.  */
81185
 
+#ifdef __cplusplus
81186
 
+extern "C"
81187
 
+#endif
81188
 
+char setfilecon ();
81189
 
+int
81190
 
+main ()
81191
 
+{
81192
 
+return setfilecon ();
81193
 
+  ;
81194
 
+  return 0;
81195
 
+}
81196
 
+_ACEOF
81197
 
+for ac_lib in '' selinux; do
81198
 
+  if test -z "$ac_lib"; then
81199
 
+    ac_res="none required"
81200
 
+  else
81201
 
+    ac_res=-l$ac_lib
81202
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
81203
 
+  fi
81204
 
+  if ac_fn_c_try_link "$LINENO"; then :
81205
 
+  ac_cv_search_setfilecon=$ac_res
81206
 
+fi
81207
 
+rm -f core conftest.err conftest.$ac_objext \
81208
 
+    conftest$ac_exeext
81209
 
+  if ${ac_cv_search_setfilecon+:} false; then :
81210
 
+  break
81211
 
+fi
81212
 
+done
81213
 
+if ${ac_cv_search_setfilecon+:} false; then :
81214
 
+  
81215
 
+else
81216
 
+  ac_cv_search_setfilecon=no
81217
 
+fi
81218
 
+rm conftest.$ac_ext
81219
 
+LIBS=$ac_func_search_save_LIBS
81220
 
+fi
81221
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setfilecon" >&5
81222
 
+$as_echo "$ac_cv_search_setfilecon" >&6; }
81223
 
+ac_res=$ac_cv_search_setfilecon
81224
 
+if test "$ac_res" != no; then :
81225
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
81226
 
+  test "$ac_cv_search_setfilecon" = "none required" ||
81227
 
+                    LIB_SELINUX=$ac_cv_search_setfilecon
81228
 
+fi
81229
 
+
81230
 
+    LIBS=$gl_save_LIBS
81231
 
+  fi
81232
 
+  
81233
 
+
81234
 
+  # Warn if SELinux is found but libselinux is absent;
81235
 
+  if test "$ac_cv_search_setfilecon" = no &&
81236
 
+     test "$host" = "$build" && test -d /selinux; then
81237
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This system supports SELinux but libselinux is missing." >&5
81238
 
+$as_echo "$as_me: WARNING: This system supports SELinux but libselinux is missing." >&2;}
81239
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU coreutils will be compiled without SELinux support." >&5
81240
 
+$as_echo "$as_me: WARNING: GNU coreutils will be compiled without SELinux support." >&2;}
81241
 
+  fi
81242
 
+
81243
 
+
81244
 
+
81245
 
+ac_fn_c_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default"
81246
 
+if test "x$ac_cv_have_decl_setenv" = xyes; then :
81247
 
+  ac_have_decl=1
81248
 
+else
81249
 
+  ac_have_decl=0
81250
 
+fi
81251
 
+
81252
 
+cat >>confdefs.h <<_ACEOF
81253
 
+@%:@define HAVE_DECL_SETENV $ac_have_decl
81254
 
+_ACEOF
81255
 
+
81256
 
+
81257
 
+
81258
 
+
81259
 
+  
81260
 
+  
81261
 
+  if test $ac_cv_have_decl_setenv = no; then
81262
 
+    HAVE_DECL_SETENV=0
81263
 
+  fi
81264
 
+  
81265
 
+  
81266
 
+  
81267
 
+  
81268
 
+  
81269
 
+  for ac_header in search.h
81270
 
+do :
81271
 
+  ac_fn_c_check_header_mongrel "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default"
81272
 
+if test "x$ac_cv_header_search_h" = xyes; then :
81273
 
+  cat >>confdefs.h <<_ACEOF
81274
 
+@%:@define HAVE_SEARCH_H 1
81275
 
+_ACEOF
81276
 
81277
 
+fi
81278
 
+
81279
 
+done
81280
 
+
81281
 
+  for ac_func in tsearch
81282
 
+do :
81283
 
+  ac_fn_c_check_func "$LINENO" "tsearch" "ac_cv_func_tsearch"
81284
 
+if test "x$ac_cv_func_tsearch" = xyes; then :
81285
 
+  cat >>confdefs.h <<_ACEOF
81286
 
+@%:@define HAVE_TSEARCH 1
81287
 
+_ACEOF
81288
 
81289
 
+fi
81290
 
+done
81291
 
+
81292
 
+
81293
 
+
81294
 
+
81295
 
+
81296
 
+
81297
 
+
81298
 
+
81299
 
+  GNULIB_PTHREAD_SIGMASK=0;    
81300
 
+  GNULIB_SIGNAL_H_SIGPIPE=0;   
81301
 
+  GNULIB_SIGPROCMASK=0;        
81302
 
+  GNULIB_SIGACTION=0;          
81303
 
+    HAVE_POSIX_SIGNALBLOCKING=1; 
81304
 
+  HAVE_PTHREAD_SIGMASK=1;      
81305
 
+  HAVE_SIGSET_T=1;             
81306
 
+  HAVE_SIGINFO_T=1;            
81307
 
+  HAVE_SIGACTION=1;            
81308
 
+  HAVE_STRUCT_SIGACTION_SA_SIGACTION=1;
81309
 
+                               
81310
 
+  HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1;
81311
 
+                               
81312
 
+  HAVE_SIGHANDLER_T=1;         
81313
 
+  REPLACE_PTHREAD_SIGMASK=0;   
81314
 
+
81315
 
+
81316
 
+
81317
 
+
81318
 
+
81319
 
+
81320
 
+
81321
 
+
81322
 
+  ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "
81323
 
+      #include <signal.h>
81324
 
+      /* Mingw defines sigset_t not in <signal.h>, but in <sys/types.h>.  */
81325
 
+      #include <sys/types.h>
81326
 
+    
81327
 
+"
81328
 
+if test "x$ac_cv_type_sigset_t" = xyes; then :
81329
 
+  
81330
 
+cat >>confdefs.h <<_ACEOF
81331
 
+@%:@define HAVE_SIGSET_T 1
81332
 
+_ACEOF
81333
 
+
81334
 
+gl_cv_type_sigset_t=yes
81335
 
+else
81336
 
+  gl_cv_type_sigset_t=no
81337
 
+fi
81338
 
+
81339
 
+  if test $gl_cv_type_sigset_t != yes; then
81340
 
+    HAVE_SIGSET_T=0
81341
 
+  fi
81342
 
+
81343
 
+
81344
 
+  
81345
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5
81346
 
+$as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; }
81347
 
+if ${gl_cv_func_snprintf_retval_c99+:} false; then :
81348
 
+  $as_echo_n "(cached) " >&6
81349
 
+else
81350
 
+  
81351
 
+      if test "$cross_compiling" = yes; then :
81352
 
+  
81353
 
+         case "$host_os" in
81354
 
+                                 # Guess yes on glibc systems.
81355
 
+           *-gnu*)               gl_cv_func_snprintf_retval_c99="guessing yes";;
81356
 
+                                 # Guess yes on FreeBSD >= 5.
81357
 
+           freebsd[1-4]*)        gl_cv_func_snprintf_retval_c99="guessing no";;
81358
 
+           freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";;
81359
 
+                                 # Guess yes on MacOS X >= 10.3.
81360
 
+           darwin[1-6].*)        gl_cv_func_snprintf_retval_c99="guessing no";;
81361
 
+           darwin*)              gl_cv_func_snprintf_retval_c99="guessing yes";;
81362
 
+                                 # Guess yes on OpenBSD >= 3.9.
81363
 
+           openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
81364
 
+                                 gl_cv_func_snprintf_retval_c99="guessing no";;
81365
 
+           openbsd*)             gl_cv_func_snprintf_retval_c99="guessing yes";;
81366
 
+                                 # Guess yes on Solaris >= 2.10.
81367
 
+           solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
81368
 
+           solaris*)             gl_cv_func_printf_sizes_c99="guessing no";;
81369
 
+                                 # Guess yes on AIX >= 4.
81370
 
+           aix[1-3]*)            gl_cv_func_snprintf_retval_c99="guessing no";;
81371
 
+           aix*)                 gl_cv_func_snprintf_retval_c99="guessing yes";;
81372
 
+                                 # Guess yes on NetBSD >= 3.
81373
 
+           netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
81374
 
+                                 gl_cv_func_snprintf_retval_c99="guessing no";;
81375
 
+           netbsd*)              gl_cv_func_snprintf_retval_c99="guessing yes";;
81376
 
+                                 # Guess yes on BeOS.
81377
 
+           beos*)                gl_cv_func_snprintf_retval_c99="guessing yes";;
81378
 
+                                 # If we don't know, assume the worst.
81379
 
+           *)                    gl_cv_func_snprintf_retval_c99="guessing no";;
81380
 
+         esac
81381
 
+        
81382
 
+else
81383
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81384
 
+/* end confdefs.h.  */
81385
 
+
81386
 
+#include <stdio.h>
81387
 
+#include <string.h>
81388
 
+static char buf[100];
81389
 
+int main ()
81390
 
+{
81391
 
+  strcpy (buf, "ABCDEF");
81392
 
+  if (snprintf (buf, 3, "%d %d", 4567, 89) != 7)
81393
 
+    return 1;
81394
 
+  if (snprintf (buf, 0, "%d %d", 4567, 89) != 7)
81395
 
+    return 2;
81396
 
+  if (snprintf (NULL, 0, "%d %d", 4567, 89) != 7)
81397
 
+    return 3;
81398
 
+  return 0;
81399
 
+}
81400
 
+_ACEOF
81401
 
+if ac_fn_c_try_run "$LINENO"; then :
81402
 
+  gl_cv_func_snprintf_retval_c99=yes
81403
 
+else
81404
 
+  gl_cv_func_snprintf_retval_c99=no
81405
 
+fi
81406
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
81407
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
81408
 
+fi
81409
 
+
81410
 
+    
81411
 
+fi
81412
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_retval_c99" >&5
81413
 
+$as_echo "$gl_cv_func_snprintf_retval_c99" >&6; }
81414
 
+
81415
 
+ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
81416
 
+if test "x$ac_cv_have_decl_snprintf" = xyes; then :
81417
 
+  ac_have_decl=1
81418
 
+else
81419
 
+  ac_have_decl=0
81420
 
+fi
81421
 
+
81422
 
+cat >>confdefs.h <<_ACEOF
81423
 
+@%:@define HAVE_DECL_SNPRINTF $ac_have_decl
81424
 
+_ACEOF
81425
 
+
81426
 
+ac_fn_c_check_decl "$LINENO" "stpncpy" "ac_cv_have_decl_stpncpy" "$ac_includes_default"
81427
 
+if test "x$ac_cv_have_decl_stpncpy" = xyes; then :
81428
 
+  ac_have_decl=1
81429
 
+else
81430
 
+  ac_have_decl=0
81431
 
+fi
81432
 
+
81433
 
+cat >>confdefs.h <<_ACEOF
81434
 
+@%:@define HAVE_DECL_STPNCPY $ac_have_decl
81435
 
+_ACEOF
81436
 
+
81437
 
+
81438
 
+
81439
 
+
81440
 
+
81441
 
+ac_fn_c_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default"
81442
 
+if test "x$ac_cv_have_decl_strdup" = xyes; then :
81443
 
+  ac_have_decl=1
81444
 
+else
81445
 
+  ac_have_decl=0
81446
 
+fi
81447
 
+
81448
 
+cat >>confdefs.h <<_ACEOF
81449
 
+@%:@define HAVE_DECL_STRDUP $ac_have_decl
81450
 
+_ACEOF
81451
 
+
81452
 
+
81453
 
+  REPLACE_STRERROR_0=0
81454
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5
81455
 
+$as_echo_n "checking whether strerror(0) succeeds... " >&6; }
81456
 
+if ${gl_cv_func_strerror_0_works+:} false; then :
81457
 
+  $as_echo_n "(cached) " >&6
81458
 
+else
81459
 
+  if test "$cross_compiling" = yes; then :
81460
 
+         gl_cv_func_strerror_0_works="guessing no"
81461
 
+else
81462
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81463
 
+/* end confdefs.h.  */
81464
 
+#include <string.h>
81465
 
+           #include <errno.h>
81466
 
+         
81467
 
+int
81468
 
+main ()
81469
 
+{
81470
 
+int result = 0;
81471
 
+           char *str;
81472
 
+           errno = 0;
81473
 
+           str = strerror (0);
81474
 
+           if (!*str) result |= 1;
81475
 
+           if (errno) result |= 2;
81476
 
+           if (strstr (str, "nknown") || strstr (str, "ndefined"))
81477
 
+             result |= 4;
81478
 
+           return result;
81479
 
+  ;
81480
 
+  return 0;
81481
 
+}
81482
 
+_ACEOF
81483
 
+if ac_fn_c_try_run "$LINENO"; then :
81484
 
+  gl_cv_func_strerror_0_works=yes
81485
 
+else
81486
 
+  gl_cv_func_strerror_0_works=no
81487
 
+fi
81488
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
81489
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
81490
 
+fi
81491
 
+
81492
 
+  
81493
 
+fi
81494
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_0_works" >&5
81495
 
+$as_echo "$gl_cv_func_strerror_0_works" >&6; }
81496
 
+  if test "$gl_cv_func_strerror_0_works" != yes; then
81497
 
+    REPLACE_STRERROR_0=1
81498
 
+    
81499
 
+$as_echo "@%:@define REPLACE_STRERROR_0 1" >>confdefs.h
81500
 
+
81501
 
+  fi
81502
 
+
81503
 
+
81504
 
+
81505
 
+
81506
 
+
81507
 
+
81508
 
+  
81509
 
+     
81510
 
+
81511
 
+  
81512
 
+  if test $ac_cv_func_strerror_r = yes; then
81513
 
+    if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
81514
 
+                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror_r with POSIX signature" >&5
81515
 
+$as_echo_n "checking for strerror_r with POSIX signature... " >&6; }
81516
 
+if ${gl_cv_func_strerror_r_posix_signature+:} false; then :
81517
 
+  $as_echo_n "(cached) " >&6
81518
 
+else
81519
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81520
 
+/* end confdefs.h.  */
81521
 
+#include <string.h>
81522
 
+                int strerror_r (int, char *, size_t);
81523
 
+              
81524
 
+int
81525
 
+main ()
81526
 
+{
81527
 
+
81528
 
+  ;
81529
 
+  return 0;
81530
 
+}
81531
 
+_ACEOF
81532
 
+if ac_fn_c_try_compile "$LINENO"; then :
81533
 
+  gl_cv_func_strerror_r_posix_signature=yes
81534
 
+else
81535
 
+  gl_cv_func_strerror_r_posix_signature=no
81536
 
+fi
81537
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81538
 
+        
81539
 
+fi
81540
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_r_posix_signature" >&5
81541
 
+$as_echo "$gl_cv_func_strerror_r_posix_signature" >&6; }
81542
 
+      if test $gl_cv_func_strerror_r_posix_signature = yes; then
81543
 
+                                                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r works" >&5
81544
 
+$as_echo_n "checking whether strerror_r works... " >&6; }
81545
 
+if ${gl_cv_func_strerror_r_works+:} false; then :
81546
 
+  $as_echo_n "(cached) " >&6
81547
 
+else
81548
 
+  if test "$cross_compiling" = yes; then :
81549
 
+  
81550
 
+              case "$host_os" in
81551
 
+                       # Guess no on AIX.
81552
 
+                aix*)  gl_cv_func_strerror_r_works="guessing no";;
81553
 
+                       # Guess no on HP-UX.
81554
 
+                hpux*) gl_cv_func_strerror_r_works="guessing no";;
81555
 
+                       # Guess no on BSD variants.
81556
 
+                *bsd*)  gl_cv_func_strerror_r_works="guessing no";;
81557
 
+                       # Guess yes otherwise.
81558
 
+                *)     gl_cv_func_strerror_r_works="guessing yes";;
81559
 
+              esac
81560
 
+             
81561
 
+else
81562
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81563
 
+/* end confdefs.h.  */
81564
 
+#include <errno.h>
81565
 
+                  #include <string.h>
81566
 
+                
81567
 
+int
81568
 
+main ()
81569
 
+{
81570
 
+int result = 0;
81571
 
+                  char buf[79];
81572
 
+                  if (strerror_r (EACCES, buf, 0) < 0)
81573
 
+                    result |= 1;
81574
 
+                  errno = 0;
81575
 
+                  if (strerror_r (EACCES, buf, sizeof buf) != 0)
81576
 
+                    result |= 2;
81577
 
+                  strcpy (buf, "Unknown");
81578
 
+                  if (strerror_r (0, buf, sizeof buf) != 0)
81579
 
+                    result |= 4;
81580
 
+                  if (errno)
81581
 
+                    result |= 8;
81582
 
+                  if (strstr (buf, "nknown") || strstr (buf, "ndefined"))
81583
 
+                    result |= 0x10;
81584
 
+                  errno = 0;
81585
 
+                  *buf = 0;
81586
 
+                  if (strerror_r (-3, buf, sizeof buf) < 0)
81587
 
+                    result |= 0x20;
81588
 
+                  if (errno)
81589
 
+                    result |= 0x40;
81590
 
+                  if (!*buf)
81591
 
+                    result |= 0x80;
81592
 
+                  return result;
81593
 
+                
81594
 
+  ;
81595
 
+  return 0;
81596
 
+}
81597
 
+_ACEOF
81598
 
+if ac_fn_c_try_run "$LINENO"; then :
81599
 
+  gl_cv_func_strerror_r_works=yes
81600
 
+else
81601
 
+  gl_cv_func_strerror_r_works=no
81602
 
+fi
81603
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
81604
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
81605
 
+fi
81606
 
+
81607
 
+          
81608
 
+fi
81609
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_r_works" >&5
81610
 
+$as_echo "$gl_cv_func_strerror_r_works" >&6; }
81611
 
+      else
81612
 
+                        
81613
 
+                        if test $ac_cv_func___xpg_strerror_r = yes; then
81614
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __xpg_strerror_r works" >&5
81615
 
+$as_echo_n "checking whether __xpg_strerror_r works... " >&6; }
81616
 
+if ${gl_cv_func_strerror_r_works+:} false; then :
81617
 
+  $as_echo_n "(cached) " >&6
81618
 
+else
81619
 
+  if test "$cross_compiling" = yes; then :
81620
 
+                                  gl_cv_func_strerror_r_works="guessing no"
81621
 
+               
81622
 
+else
81623
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81624
 
+/* end confdefs.h.  */
81625
 
+#include <errno.h>
81626
 
+                    #include <string.h>
81627
 
+                    extern
81628
 
+                    #ifdef __cplusplus
81629
 
+                    "C"
81630
 
+                    #endif
81631
 
+                    int __xpg_strerror_r(int, char *, size_t);
81632
 
+                  
81633
 
+int
81634
 
+main ()
81635
 
+{
81636
 
+int result = 0;
81637
 
+                    char buf[256] = "^";
81638
 
+                    char copy[256];
81639
 
+                    char *str = strerror (-1);
81640
 
+                    strcpy (copy, str);
81641
 
+                    if (__xpg_strerror_r (-2, buf, 1) == 0)
81642
 
+                      result |= 1;
81643
 
+                    if (*buf)
81644
 
+                      result |= 2;
81645
 
+                    __xpg_strerror_r (-2, buf, 256);
81646
 
+                    if (strcmp (str, copy))
81647
 
+                      result |= 4;
81648
 
+                    return result;
81649
 
+                  
81650
 
+  ;
81651
 
+  return 0;
81652
 
+}
81653
 
+_ACEOF
81654
 
+if ac_fn_c_try_run "$LINENO"; then :
81655
 
+  gl_cv_func_strerror_r_works=yes
81656
 
+else
81657
 
+  gl_cv_func_strerror_r_works=no
81658
 
+fi
81659
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
81660
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
81661
 
+fi
81662
 
+
81663
 
+            
81664
 
+fi
81665
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_r_works" >&5
81666
 
+$as_echo "$gl_cv_func_strerror_r_works" >&6; }
81667
 
+        fi
81668
 
+      fi
81669
 
+    fi
81670
 
+  fi
81671
 
+
81672
 
+
81673
 
+
81674
 
+
81675
 
+  
81676
 
+  
81677
 
+  
81678
 
+  
81679
 
+  
81680
 
+  
81681
 
+
81682
 
+  
81683
 
+
81684
 
+  
81685
 
+     if test $gl_cv_have_include_next = yes; then
81686
 
+       gl_cv_next_string_h='<'string.h'>'
81687
 
+     else
81688
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
81689
 
+$as_echo_n "checking absolute name of <string.h>... " >&6; }
81690
 
+if ${gl_cv_next_string_h+:} false; then :
81691
 
+  $as_echo_n "(cached) " >&6
81692
 
+else
81693
 
+  
81694
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81695
 
+/* end confdefs.h.  */
81696
 
+#include <string.h>
81697
 
+                  
81698
 
+_ACEOF
81699
 
+                                                                                                                        case "$host_os" in
81700
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
81701
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
81702
 
+               esac
81703
 
+                                                            gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
81704
 
+                  sed -n '\#/string.h#{
81705
 
+                    s#.*"\(.*/string.h\)".*#\1#
81706
 
+                    s#^/[^/]#//&#
81707
 
+                    p
81708
 
+                    q
81709
 
+                  }'`'"'
81710
 
+          
81711
 
+         
81712
 
+fi
81713
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5
81714
 
+$as_echo "$gl_cv_next_string_h" >&6; }
81715
 
+     fi
81716
 
+     NEXT_STRING_H=$gl_cv_next_string_h
81717
 
+
81718
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
81719
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
81720
 
+       gl_next_as_first_directive='<'string.h'>'
81721
 
+     else
81722
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
81723
 
+       gl_next_as_first_directive=$gl_cv_next_string_h
81724
 
+     fi
81725
 
+     NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive
81726
 
+
81727
 
+     
81728
 
+
81729
 
+
81730
 
+
81731
 
+        
81732
 
+    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
81733
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
81734
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
81735
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
81736
 
+if eval \${$as_gl_Symbol+:} false; then :
81737
 
+  $as_echo_n "(cached) " >&6
81738
 
+else
81739
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81740
 
+/* end confdefs.h.  */
81741
 
+#include <string.h>
81742
 
+    
81743
 
+int
81744
 
+main ()
81745
 
+{
81746
 
+@%:@undef $gl_func
81747
 
+  (void) $gl_func;
81748
 
+  ;
81749
 
+  return 0;
81750
 
+}
81751
 
+_ACEOF
81752
 
+if ac_fn_c_try_compile "$LINENO"; then :
81753
 
+  eval "$as_gl_Symbol=yes"
81754
 
+else
81755
 
+  eval "$as_gl_Symbol=no"
81756
 
+fi
81757
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81758
 
+fi
81759
 
+eval ac_res=\$$as_gl_Symbol
81760
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
81761
 
+$as_echo "$ac_res" >&6; }
81762
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
81763
 
+  cat >>confdefs.h <<_ACEOF
81764
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
81765
 
+_ACEOF
81766
 
+
81767
 
+                     eval ac_cv_have_decl_$gl_func=yes
81768
 
+fi
81769
 
+      done
81770
 
+
81771
 
+
81772
 
+ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
81773
 
+if test "x$ac_cv_have_decl_strndup" = xyes; then :
81774
 
+  ac_have_decl=1
81775
 
+else
81776
 
+  ac_have_decl=0
81777
 
+fi
81778
 
+
81779
 
+cat >>confdefs.h <<_ACEOF
81780
 
+@%:@define HAVE_DECL_STRNDUP $ac_have_decl
81781
 
+_ACEOF
81782
 
+
81783
 
+
81784
 
+
81785
 
+ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
81786
 
+if test "x$ac_cv_have_decl_strnlen" = xyes; then :
81787
 
+  ac_have_decl=1
81788
 
+else
81789
 
+  ac_have_decl=0
81790
 
+fi
81791
 
+
81792
 
+cat >>confdefs.h <<_ACEOF
81793
 
+@%:@define HAVE_DECL_STRNLEN $ac_have_decl
81794
 
+_ACEOF
81795
 
+
81796
 
+ac_fn_c_check_decl "$LINENO" "strsignal" "ac_cv_have_decl_strsignal" "$ac_includes_default"
81797
 
+if test "x$ac_cv_have_decl_strsignal" = xyes; then :
81798
 
+  ac_have_decl=1
81799
 
+else
81800
 
+  ac_have_decl=0
81801
 
+fi
81802
 
+
81803
 
+cat >>confdefs.h <<_ACEOF
81804
 
+@%:@define HAVE_DECL_STRSIGNAL $ac_have_decl
81805
 
+_ACEOF
81806
 
+
81807
 
+ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "#include <signal.h>
81808
 
+/* NetBSD declares sys_siglist in unistd.h.  */
81809
 
+#ifdef HAVE_UNISTD_H
81810
 
+# include <unistd.h>
81811
 
+#endif
81812
 
+
81813
 
+"
81814
 
+if test "x$ac_cv_have_decl_sys_siglist" = xyes; then :
81815
 
+  ac_have_decl=1
81816
 
+else
81817
 
+  ac_have_decl=0
81818
 
+fi
81819
 
+
81820
 
+cat >>confdefs.h <<_ACEOF
81821
 
+@%:@define HAVE_DECL_SYS_SIGLIST $ac_have_decl
81822
 
+_ACEOF
81823
 
+
81824
 
+
81825
 
+
81826
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexp() can be used without linking with libm" >&5
81827
 
+$as_echo_n "checking whether ldexp() can be used without linking with libm... " >&6; }
81828
 
+if ${gl_cv_func_ldexp_no_libm+:} false; then :
81829
 
+  $as_echo_n "(cached) " >&6
81830
 
+else
81831
 
+  
81832
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81833
 
+/* end confdefs.h.  */
81834
 
+#ifndef __NO_MATH_INLINES
81835
 
+                           # define __NO_MATH_INLINES 1 /* for glibc */
81836
 
+                           #endif
81837
 
+                           #include <math.h>
81838
 
+                           double (*funcptr) (double, int) = ldexp;
81839
 
+                           double x;
81840
 
+int
81841
 
+main ()
81842
 
+{
81843
 
+return ldexp (x, -1) > 0;
81844
 
+  ;
81845
 
+  return 0;
81846
 
+}
81847
 
+_ACEOF
81848
 
+if ac_fn_c_try_link "$LINENO"; then :
81849
 
+  gl_cv_func_ldexp_no_libm=yes
81850
 
+else
81851
 
+  gl_cv_func_ldexp_no_libm=no
81852
 
+fi
81853
 
+rm -f core conftest.err conftest.$ac_objext \
81854
 
+    conftest$ac_exeext conftest.$ac_ext
81855
 
+    
81856
 
+fi
81857
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_no_libm" >&5
81858
 
+$as_echo "$gl_cv_func_ldexp_no_libm" >&6; }
81859
 
+
81860
 
+
81861
 
+
81862
 
+ac_fn_c_check_decl "$LINENO" "strtoimax" "ac_cv_have_decl_strtoimax" "$ac_includes_default"
81863
 
+if test "x$ac_cv_have_decl_strtoimax" = xyes; then :
81864
 
+  ac_have_decl=1
81865
 
+else
81866
 
+  ac_have_decl=0
81867
 
+fi
81868
 
+
81869
 
+cat >>confdefs.h <<_ACEOF
81870
 
+@%:@define HAVE_DECL_STRTOIMAX $ac_have_decl
81871
 
+_ACEOF
81872
 
+
81873
 
+
81874
 
+
81875
 
+ac_fn_c_check_decl "$LINENO" "strtoumax" "ac_cv_have_decl_strtoumax" "$ac_includes_default"
81876
 
+if test "x$ac_cv_have_decl_strtoumax" = xyes; then :
81877
 
+  ac_have_decl=1
81878
 
+else
81879
 
+  ac_have_decl=0
81880
 
+fi
81881
 
+
81882
 
+cat >>confdefs.h <<_ACEOF
81883
 
+@%:@define HAVE_DECL_STRTOUMAX $ac_have_decl
81884
 
+_ACEOF
81885
 
+
81886
 
+
81887
 
+
81888
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
81889
 
+$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
81890
 
+if ${ac_cv_header_stat_broken+:} false; then :
81891
 
+  $as_echo_n "(cached) " >&6
81892
 
+else
81893
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81894
 
+/* end confdefs.h.  */
81895
 
+#include <sys/types.h>
81896
 
+#include <sys/stat.h>
81897
 
+
81898
 
+#if defined S_ISBLK && defined S_IFDIR
81899
 
+extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
81900
 
+#endif
81901
 
+
81902
 
+#if defined S_ISBLK && defined S_IFCHR
81903
 
+extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
81904
 
+#endif
81905
 
+
81906
 
+#if defined S_ISLNK && defined S_IFREG
81907
 
+extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
81908
 
+#endif
81909
 
+
81910
 
+#if defined S_ISSOCK && defined S_IFREG
81911
 
+extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
81912
 
+#endif
81913
 
+
81914
 
+_ACEOF
81915
 
+if ac_fn_c_try_compile "$LINENO"; then :
81916
 
+  ac_cv_header_stat_broken=no
81917
 
+else
81918
 
+  ac_cv_header_stat_broken=yes
81919
 
+fi
81920
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81921
 
+fi
81922
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
81923
 
+$as_echo "$ac_cv_header_stat_broken" >&6; }
81924
 
+if test $ac_cv_header_stat_broken = yes; then
81925
 
+  
81926
 
+$as_echo "@%:@define STAT_MACROS_BROKEN 1" >>confdefs.h
81927
 
+
81928
 
+fi
81929
 
+
81930
 
+
81931
 
+
81932
 
+
81933
 
+
81934
 
+
81935
 
+
81936
 
+
81937
 
+  GNULIB_UNAME=0;         
81938
 
+    HAVE_UNAME=1;           
81939
 
+  HAVE_STRUCT_UTSNAME=1;  
81940
 
+
81941
 
+
81942
 
+
81943
 
+
81944
 
+  GNULIB_WAITPID=0; 
81945
 
+  
81946
 
+
81947
 
+
81948
 
+
81949
 
+  GNULIB_TCGETSID=0;      
81950
 
+    HAVE_DECL_TCGETSID=1;   
81951
 
+  HAVE_TERMIOS_H=1;       
81952
 
+
81953
 
+
81954
 
+  
81955
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5
81956
 
+$as_echo_n "checking for struct timespec in <time.h>... " >&6; }
81957
 
+if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then :
81958
 
+  $as_echo_n "(cached) " >&6
81959
 
+else
81960
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81961
 
+/* end confdefs.h.  */
81962
 
+#include <time.h>
81963
 
+          
81964
 
+int
81965
 
+main ()
81966
 
+{
81967
 
+static struct timespec x; x.tv_sec = x.tv_nsec;
81968
 
+  ;
81969
 
+  return 0;
81970
 
+}
81971
 
+_ACEOF
81972
 
+if ac_fn_c_try_compile "$LINENO"; then :
81973
 
+  gl_cv_sys_struct_timespec_in_time_h=yes
81974
 
+else
81975
 
+  gl_cv_sys_struct_timespec_in_time_h=no
81976
 
+fi
81977
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81978
 
+fi
81979
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5
81980
 
+$as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; }
81981
 
+
81982
 
+  TIME_H_DEFINES_STRUCT_TIMESPEC=0
81983
 
+  SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0
81984
 
+  PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0
81985
 
+  if test $gl_cv_sys_struct_timespec_in_time_h = yes; then
81986
 
+    TIME_H_DEFINES_STRUCT_TIMESPEC=1
81987
 
+  else
81988
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5
81989
 
+$as_echo_n "checking for struct timespec in <sys/time.h>... " >&6; }
81990
 
+if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then :
81991
 
+  $as_echo_n "(cached) " >&6
81992
 
+else
81993
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81994
 
+/* end confdefs.h.  */
81995
 
+#include <sys/time.h>
81996
 
+            
81997
 
+int
81998
 
+main ()
81999
 
+{
82000
 
+static struct timespec x; x.tv_sec = x.tv_nsec;
82001
 
+  ;
82002
 
+  return 0;
82003
 
+}
82004
 
+_ACEOF
82005
 
+if ac_fn_c_try_compile "$LINENO"; then :
82006
 
+  gl_cv_sys_struct_timespec_in_sys_time_h=yes
82007
 
+else
82008
 
+  gl_cv_sys_struct_timespec_in_sys_time_h=no
82009
 
+fi
82010
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
82011
 
+fi
82012
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5
82013
 
+$as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; }
82014
 
+    if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then
82015
 
+      SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1
82016
 
+    else
82017
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5
82018
 
+$as_echo_n "checking for struct timespec in <pthread.h>... " >&6; }
82019
 
+if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then :
82020
 
+  $as_echo_n "(cached) " >&6
82021
 
+else
82022
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82023
 
+/* end confdefs.h.  */
82024
 
+#include <pthread.h>
82025
 
+              
82026
 
+int
82027
 
+main ()
82028
 
+{
82029
 
+static struct timespec x; x.tv_sec = x.tv_nsec;
82030
 
+  ;
82031
 
+  return 0;
82032
 
+}
82033
 
+_ACEOF
82034
 
+if ac_fn_c_try_compile "$LINENO"; then :
82035
 
+  gl_cv_sys_struct_timespec_in_pthread_h=yes
82036
 
+else
82037
 
+  gl_cv_sys_struct_timespec_in_pthread_h=no
82038
 
+fi
82039
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
82040
 
+fi
82041
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5
82042
 
+$as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; }
82043
 
+      if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then
82044
 
+        PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1
82045
 
+      fi
82046
 
+    fi
82047
 
+  fi
82048
 
+  
82049
 
+  
82050
 
+  
82051
 
+
82052
 
+
82053
 
+  
82054
 
+  
82055
 
+  
82056
 
+  
82057
 
+  
82058
 
+  
82059
 
+
82060
 
+  
82061
 
+
82062
 
+  
82063
 
+     if test $gl_cv_have_include_next = yes; then
82064
 
+       gl_cv_next_time_h='<'time.h'>'
82065
 
+     else
82066
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5
82067
 
+$as_echo_n "checking absolute name of <time.h>... " >&6; }
82068
 
+if ${gl_cv_next_time_h+:} false; then :
82069
 
+  $as_echo_n "(cached) " >&6
82070
 
+else
82071
 
+  
82072
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82073
 
+/* end confdefs.h.  */
82074
 
+#include <time.h>
82075
 
+                  
82076
 
+_ACEOF
82077
 
+                                                                                                                        case "$host_os" in
82078
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
82079
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
82080
 
+               esac
82081
 
+                                                            gl_cv_next_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
82082
 
+                  sed -n '\#/time.h#{
82083
 
+                    s#.*"\(.*/time.h\)".*#\1#
82084
 
+                    s#^/[^/]#//&#
82085
 
+                    p
82086
 
+                    q
82087
 
+                  }'`'"'
82088
 
+          
82089
 
+         
82090
 
+fi
82091
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5
82092
 
+$as_echo "$gl_cv_next_time_h" >&6; }
82093
 
+     fi
82094
 
+     NEXT_TIME_H=$gl_cv_next_time_h
82095
 
+
82096
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
82097
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
82098
 
+       gl_next_as_first_directive='<'time.h'>'
82099
 
+     else
82100
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
82101
 
+       gl_next_as_first_directive=$gl_cv_next_time_h
82102
 
+     fi
82103
 
+     NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive
82104
 
+
82105
 
+     
82106
 
+
82107
 
+
82108
 
+  
82109
 
+
82110
 
+ac_fn_c_check_decl "$LINENO" "localtime_r" "ac_cv_have_decl_localtime_r" "$ac_includes_default"
82111
 
+if test "x$ac_cv_have_decl_localtime_r" = xyes; then :
82112
 
+  ac_have_decl=1
82113
 
+else
82114
 
+  ac_have_decl=0
82115
 
+fi
82116
 
+
82117
 
+cat >>confdefs.h <<_ACEOF
82118
 
+@%:@define HAVE_DECL_LOCALTIME_R $ac_have_decl
82119
 
+_ACEOF
82120
 
+
82121
 
+
82122
 
+
82123
 
+
82124
 
+
82125
 
+
82126
 
+    
82127
 
+
82128
 
+  
82129
 
+
82130
 
+
82131
 
+gl_libunistring_sed_extract_major='/^[0-9]/{s/^\([0-9]*\).*/\1/p;q;}
82132
 
+i\
82133
 
+0
82134
 
+q
82135
 
+'
82136
 
+gl_libunistring_sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{s/^[0-9]*[.]\([0-9]*\).*/\1/p;q;}
82137
 
+i\
82138
 
+0
82139
 
+q
82140
 
+'
82141
 
+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;}
82142
 
+i\
82143
 
+0
82144
 
+q
82145
 
+'
82146
 
+
82147
 
+
82148
 
+  if test "$HAVE_LIBUNISTRING" = yes; then
82149
 
+    LIBUNISTRING_VERSION_MAJOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_major"`
82150
 
+    LIBUNISTRING_VERSION_MINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_minor"`
82151
 
+    LIBUNISTRING_VERSION_SUBMINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_subminor"`
82152
 
+  fi
82153
 
+
82154
 
+ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
82155
 
+if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then :
82156
 
+  ac_have_decl=1
82157
 
+else
82158
 
+  ac_have_decl=0
82159
 
+fi
82160
 
+
82161
 
+cat >>confdefs.h <<_ACEOF
82162
 
+@%:@define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
82163
 
+_ACEOF
82164
 
+
82165
 
+ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
82166
 
+if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then :
82167
 
+  ac_have_decl=1
82168
 
+else
82169
 
+  ac_have_decl=0
82170
 
+fi
82171
 
+
82172
 
+cat >>confdefs.h <<_ACEOF
82173
 
+@%:@define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
82174
 
+_ACEOF
82175
 
+
82176
 
+ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
82177
 
+if test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then :
82178
 
+  ac_have_decl=1
82179
 
+else
82180
 
+  ac_have_decl=0
82181
 
+fi
82182
 
+
82183
 
+cat >>confdefs.h <<_ACEOF
82184
 
+@%:@define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
82185
 
+_ACEOF
82186
 
+
82187
 
+ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
82188
 
+if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then :
82189
 
+  ac_have_decl=1
82190
 
+else
82191
 
+  ac_have_decl=0
82192
 
+fi
82193
 
+
82194
 
+cat >>confdefs.h <<_ACEOF
82195
 
+@%:@define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
82196
 
+_ACEOF
82197
 
+
82198
 
+ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
82199
 
+if test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then :
82200
 
+  ac_have_decl=1
82201
 
+else
82202
 
+  ac_have_decl=0
82203
 
+fi
82204
 
+
82205
 
+cat >>confdefs.h <<_ACEOF
82206
 
+@%:@define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
82207
 
+_ACEOF
82208
 
+
82209
 
+ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
82210
 
+if test "x$ac_cv_have_decl_fread_unlocked" = xyes; then :
82211
 
+  ac_have_decl=1
82212
 
+else
82213
 
+  ac_have_decl=0
82214
 
+fi
82215
 
+
82216
 
+cat >>confdefs.h <<_ACEOF
82217
 
+@%:@define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
82218
 
+_ACEOF
82219
 
+
82220
 
+ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
82221
 
+if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then :
82222
 
+  ac_have_decl=1
82223
 
+else
82224
 
+  ac_have_decl=0
82225
 
+fi
82226
 
+
82227
 
+cat >>confdefs.h <<_ACEOF
82228
 
+@%:@define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
82229
 
+_ACEOF
82230
 
+
82231
 
+ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
82232
 
+if test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then :
82233
 
+  ac_have_decl=1
82234
 
+else
82235
 
+  ac_have_decl=0
82236
 
+fi
82237
 
+
82238
 
+cat >>confdefs.h <<_ACEOF
82239
 
+@%:@define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
82240
 
+_ACEOF
82241
 
+
82242
 
+ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
82243
 
+if test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then :
82244
 
+  ac_have_decl=1
82245
 
+else
82246
 
+  ac_have_decl=0
82247
 
+fi
82248
 
+
82249
 
+cat >>confdefs.h <<_ACEOF
82250
 
+@%:@define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
82251
 
+_ACEOF
82252
 
+
82253
 
+ac_fn_c_check_decl "$LINENO" "unsetenv" "ac_cv_have_decl_unsetenv" "$ac_includes_default"
82254
 
+if test "x$ac_cv_have_decl_unsetenv" = xyes; then :
82255
 
+  ac_have_decl=1
82256
 
+else
82257
 
+  ac_have_decl=0
82258
 
+fi
82259
 
+
82260
 
+cat >>confdefs.h <<_ACEOF
82261
 
+@%:@define HAVE_DECL_UNSETENV $ac_have_decl
82262
 
+_ACEOF
82263
 
+
82264
 
+
82265
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the utimes function works" >&5
82266
 
+$as_echo_n "checking whether the utimes function works... " >&6; }
82267
 
+if ${gl_cv_func_working_utimes+:} false; then :
82268
 
+  $as_echo_n "(cached) " >&6
82269
 
+else
82270
 
+  
82271
 
+  if test "$cross_compiling" = yes; then :
82272
 
+  gl_cv_func_working_utimes=no
82273
 
+else
82274
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82275
 
+/* end confdefs.h.  */
82276
 
+
82277
 
+#include <sys/types.h>
82278
 
+#include <sys/stat.h>
82279
 
+#include <fcntl.h>
82280
 
+#include <sys/time.h>
82281
 
+#include <time.h>
82282
 
+#include <unistd.h>
82283
 
+#include <stdlib.h>
82284
 
+#include <stdio.h>
82285
 
+#include <utime.h>
82286
 
+
82287
 
+static int
82288
 
+inorder (time_t a, time_t b, time_t c)
82289
 
+{
82290
 
+  return a <= b && b <= c;
82291
 
+}
82292
 
+
82293
 
+int
82294
 
+main ()
82295
 
+{
82296
 
+  int result = 0;
82297
 
+  char const *file = "conftest.utimes";
82298
 
+  static struct timeval timeval[2] = {{9, 10}, {999999, 999999}};
82299
 
+
82300
 
+  /* Test whether utimes() essentially works.  */
82301
 
+  {
82302
 
+    struct stat sbuf;
82303
 
+    FILE *f = fopen (file, "w");
82304
 
+    if (f == NULL)
82305
 
+      result |= 1;
82306
 
+    else if (fclose (f) != 0)
82307
 
+      result |= 1;
82308
 
+    else if (utimes (file, timeval) != 0)
82309
 
+      result |= 2;
82310
 
+    else if (lstat (file, &sbuf) != 0)
82311
 
+      result |= 1;
82312
 
+    else if (!(sbuf.st_atime == timeval[0].tv_sec
82313
 
+               && sbuf.st_mtime == timeval[1].tv_sec))
82314
 
+      result |= 4;
82315
 
+    if (unlink (file) != 0)
82316
 
+      result |= 1;
82317
 
+  }
82318
 
+
82319
 
+  /* Test whether utimes() with a NULL argument sets the file's timestamp
82320
 
+     to the current time.  Use 'fstat' as well as 'time' to
82321
 
+     determine the "current" time, to accommodate NFS file systems
82322
 
+     if there is a time skew between the host and the NFS server.  */
82323
 
+  {
82324
 
+    int fd = open (file, O_WRONLY|O_CREAT, 0644);
82325
 
+    if (fd < 0)
82326
 
+      result |= 1;
82327
 
+    else
82328
 
+      {
82329
 
+        time_t t0, t2;
82330
 
+        struct stat st0, st1, st2;
82331
 
+        if (time (&t0) == (time_t) -1)
82332
 
+          result |= 1;
82333
 
+        else if (fstat (fd, &st0) != 0)
82334
 
+          result |= 1;
82335
 
+        else if (utimes (file, timeval) != 0)
82336
 
+          result |= 2;
82337
 
+        else if (utimes (file, NULL) != 0)
82338
 
+          result |= 8;
82339
 
+        else if (fstat (fd, &st1) != 0)
82340
 
+          result |= 1;
82341
 
+        else if (write (fd, "\n", 1) != 1)
82342
 
+          result |= 1;
82343
 
+        else if (fstat (fd, &st2) != 0)
82344
 
+          result |= 1;
82345
 
+        else if (time (&t2) == (time_t) -1)
82346
 
+          result |= 1;
82347
 
+        else
82348
 
+          {
82349
 
+            int m_ok_POSIX = inorder (t0, st1.st_mtime, t2);
82350
 
+            int m_ok_NFS = inorder (st0.st_mtime, st1.st_mtime, st2.st_mtime);
82351
 
+            if (! (st1.st_atime == st1.st_mtime))
82352
 
+              result |= 16;
82353
 
+            if (! (m_ok_POSIX || m_ok_NFS))
82354
 
+              result |= 32;
82355
 
+          }
82356
 
+        if (close (fd) != 0)
82357
 
+          result |= 1;
82358
 
+      }
82359
 
+    if (unlink (file) != 0)
82360
 
+      result |= 1;
82361
 
+  }
82362
 
+
82363
 
+  /* Test whether utimes() with a NULL argument works on read-only files.  */
82364
 
+  {
82365
 
+    int fd = open (file, O_WRONLY|O_CREAT, 0444);
82366
 
+    if (fd < 0)
82367
 
+      result |= 1;
82368
 
+    else if (close (fd) != 0)
82369
 
+      result |= 1;
82370
 
+    else if (utimes (file, NULL) != 0)
82371
 
+      result |= 64;
82372
 
+    if (unlink (file) != 0)
82373
 
+      result |= 1;
82374
 
+  }
82375
 
+
82376
 
+  return result;
82377
 
+}
82378
 
+  
82379
 
+_ACEOF
82380
 
+if ac_fn_c_try_run "$LINENO"; then :
82381
 
+  gl_cv_func_working_utimes=yes
82382
 
+else
82383
 
+  gl_cv_func_working_utimes=no
82384
 
+fi
82385
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
82386
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
82387
 
+fi
82388
 
+
82389
 
+fi
82390
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_utimes" >&5
82391
 
+$as_echo "$gl_cv_func_working_utimes" >&6; }
82392
 
+
82393
 
+  if test $gl_cv_func_working_utimes = yes; then
82394
 
+    
82395
 
+$as_echo "@%:@define HAVE_WORKING_UTIMES 1" >>confdefs.h
82396
 
+
82397
 
+  fi
82398
 
+
82399
 
+
82400
 
+
82401
 
+
82402
 
+  
82403
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5
82404
 
+$as_echo_n "checking for struct utimbuf... " >&6; }
82405
 
+if ${gl_cv_sys_struct_utimbuf+:} false; then :
82406
 
+  $as_echo_n "(cached) " >&6
82407
 
+else
82408
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82409
 
+/* end confdefs.h.  */
82410
 
+#if HAVE_SYS_TIME_H
82411
 
+             #include <sys/time.h>
82412
 
+            #endif
82413
 
+            #include <time.h>
82414
 
+            #ifdef HAVE_UTIME_H
82415
 
+             #include <utime.h>
82416
 
+            #endif
82417
 
+          
82418
 
+int
82419
 
+main ()
82420
 
+{
82421
 
+static struct utimbuf x; x.actime = x.modtime;
82422
 
+  ;
82423
 
+  return 0;
82424
 
+}
82425
 
+_ACEOF
82426
 
+if ac_fn_c_try_compile "$LINENO"; then :
82427
 
+  gl_cv_sys_struct_utimbuf=yes
82428
 
+else
82429
 
+  gl_cv_sys_struct_utimbuf=no
82430
 
+fi
82431
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
82432
 
+fi
82433
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_utimbuf" >&5
82434
 
+$as_echo "$gl_cv_sys_struct_utimbuf" >&6; }
82435
 
+
82436
 
+  if test $gl_cv_sys_struct_utimbuf = yes; then
82437
 
+    
82438
 
+$as_echo "@%:@define HAVE_STRUCT_UTIMBUF 1" >>confdefs.h
82439
 
+
82440
 
+  fi
82441
 
+
82442
 
+
82443
 
+
82444
 
+
82445
 
+
82446
 
+
82447
 
+
82448
 
+
82449
 
+
82450
 
+
82451
 
+
82452
 
+
82453
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
82454
 
+$as_echo_n "checking for inttypes.h... " >&6; }
82455
 
+if ${gl_cv_header_inttypes_h+:} false; then :
82456
 
+  $as_echo_n "(cached) " >&6
82457
 
+else
82458
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82459
 
+/* end confdefs.h.  */
82460
 
+
82461
 
+#include <sys/types.h>
82462
 
+#include <inttypes.h>
82463
 
+          
82464
 
+int
82465
 
+main ()
82466
 
+{
82467
 
+uintmax_t i = (uintmax_t) -1; return !i;
82468
 
+  ;
82469
 
+  return 0;
82470
 
+}
82471
 
+_ACEOF
82472
 
+if ac_fn_c_try_compile "$LINENO"; then :
82473
 
+  gl_cv_header_inttypes_h=yes
82474
 
+else
82475
 
+  gl_cv_header_inttypes_h=no
82476
 
+fi
82477
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
82478
 
+fi
82479
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5
82480
 
+$as_echo "$gl_cv_header_inttypes_h" >&6; }
82481
 
+  if test $gl_cv_header_inttypes_h = yes; then
82482
 
+    
82483
 
+cat >>confdefs.h <<_ACEOF
82484
 
+@%:@define HAVE_INTTYPES_H_WITH_UINTMAX 1
82485
 
+_ACEOF
82486
 
+
82487
 
+  fi
82488
 
+
82489
 
+
82490
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
82491
 
+$as_echo_n "checking for stdint.h... " >&6; }
82492
 
+if ${gl_cv_header_stdint_h+:} false; then :
82493
 
+  $as_echo_n "(cached) " >&6
82494
 
+else
82495
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82496
 
+/* end confdefs.h.  */
82497
 
+#include <sys/types.h>
82498
 
+            #include <stdint.h>
82499
 
+int
82500
 
+main ()
82501
 
+{
82502
 
+uintmax_t i = (uintmax_t) -1; return !i;
82503
 
+  ;
82504
 
+  return 0;
82505
 
+}
82506
 
+_ACEOF
82507
 
+if ac_fn_c_try_compile "$LINENO"; then :
82508
 
+  gl_cv_header_stdint_h=yes
82509
 
+else
82510
 
+  gl_cv_header_stdint_h=no
82511
 
+fi
82512
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
82513
 
+fi
82514
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5
82515
 
+$as_echo "$gl_cv_header_stdint_h" >&6; }
82516
 
+  if test $gl_cv_header_stdint_h = yes; then
82517
 
+    
82518
 
+cat >>confdefs.h <<_ACEOF
82519
 
+@%:@define HAVE_STDINT_H_WITH_UINTMAX 1
82520
 
+_ACEOF
82521
 
+
82522
 
+  fi
82523
 
+
82524
 
+
82525
 
+  
82526
 
+  
82527
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
82528
 
+$as_echo_n "checking for intmax_t... " >&6; }
82529
 
+if ${gt_cv_c_intmax_t+:} false; then :
82530
 
+  $as_echo_n "(cached) " >&6
82531
 
+else
82532
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82533
 
+/* end confdefs.h.  */
82534
 
+
82535
 
+#include <stddef.h>
82536
 
+#include <stdlib.h>
82537
 
+#if HAVE_STDINT_H_WITH_UINTMAX
82538
 
+#include <stdint.h>
82539
 
+#endif
82540
 
+#if HAVE_INTTYPES_H_WITH_UINTMAX
82541
 
+#include <inttypes.h>
82542
 
+#endif
82543
 
+          
82544
 
+int
82545
 
+main ()
82546
 
+{
82547
 
+intmax_t x = -1; return !x;
82548
 
+  ;
82549
 
+  return 0;
82550
 
+}
82551
 
+_ACEOF
82552
 
+if ac_fn_c_try_compile "$LINENO"; then :
82553
 
+  gt_cv_c_intmax_t=yes
82554
 
+else
82555
 
+  gt_cv_c_intmax_t=no
82556
 
+fi
82557
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
82558
 
+fi
82559
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
82560
 
+$as_echo "$gt_cv_c_intmax_t" >&6; }
82561
 
+  if test $gt_cv_c_intmax_t = yes; then
82562
 
+    
82563
 
+$as_echo "@%:@define HAVE_INTMAX_T 1" >>confdefs.h
82564
 
+
82565
 
+  else
82566
 
+    
82567
 
+    test $ac_cv_type_long_long_int = yes \
82568
 
+      && ac_type='long long' \
82569
 
+      || ac_type='long'
82570
 
+    
82571
 
+cat >>confdefs.h <<_ACEOF
82572
 
+@%:@define intmax_t $ac_type
82573
 
+_ACEOF
82574
 
+
82575
 
+  fi
82576
 
+
82577
 
+
82578
 
+  
82579
 
+  
82580
 
+  
82581
 
+  
82582
 
+  
82583
 
+  for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb
82584
 
+do :
82585
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
82586
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
82587
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
82588
 
+  cat >>confdefs.h <<_ACEOF
82589
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
82590
 
+_ACEOF
82591
 
82592
 
+fi
82593
 
+done
82594
 
+
82595
 
+      ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include <stdio.h>
82596
 
+"
82597
 
+if test "x$ac_cv_have_decl__snprintf" = xyes; then :
82598
 
+  ac_have_decl=1
82599
 
+else
82600
 
+  ac_have_decl=0
82601
 
+fi
82602
 
+
82603
 
+cat >>confdefs.h <<_ACEOF
82604
 
+@%:@define HAVE_DECL__SNPRINTF $ac_have_decl
82605
 
+_ACEOF
82606
 
+
82607
 
+      
82608
 
+  case "$gl_cv_func_snprintf_retval_c99" in
82609
 
+    *yes)
82610
 
+      
82611
 
+$as_echo "@%:@define HAVE_SNPRINTF_RETVAL_C99 1" >>confdefs.h
82612
 
+
82613
 
+      ;;
82614
 
+  esac
82615
 
+
82616
 
+
82617
 
+  
82618
 
+  
82619
 
+  
82620
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports size specifiers as in C99" >&5
82621
 
+$as_echo_n "checking whether printf supports size specifiers as in C99... " >&6; }
82622
 
+if ${gl_cv_func_printf_sizes_c99+:} false; then :
82623
 
+  $as_echo_n "(cached) " >&6
82624
 
+else
82625
 
+  
82626
 
+      if test "$cross_compiling" = yes; then :
82627
 
+  
82628
 
+         case "$host_os" in
82629
 
+                                 # Guess yes on glibc systems.
82630
 
+           *-gnu*)               gl_cv_func_printf_sizes_c99="guessing yes";;
82631
 
+                                 # Guess yes on FreeBSD >= 5.
82632
 
+           freebsd[1-4]*)        gl_cv_func_printf_sizes_c99="guessing no";;
82633
 
+           freebsd* | kfreebsd*) gl_cv_func_printf_sizes_c99="guessing yes";;
82634
 
+                                 # Guess yes on MacOS X >= 10.3.
82635
 
+           darwin[1-6].*)        gl_cv_func_printf_sizes_c99="guessing no";;
82636
 
+           darwin*)              gl_cv_func_printf_sizes_c99="guessing yes";;
82637
 
+                                 # Guess yes on OpenBSD >= 3.9.
82638
 
+           openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
82639
 
+                                 gl_cv_func_printf_sizes_c99="guessing no";;
82640
 
+           openbsd*)             gl_cv_func_printf_sizes_c99="guessing yes";;
82641
 
+                                 # Guess yes on Solaris >= 2.10.
82642
 
+           solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
82643
 
+           solaris*)             gl_cv_func_printf_sizes_c99="guessing no";;
82644
 
+                                 # Guess yes on NetBSD >= 3.
82645
 
+           netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
82646
 
+                                 gl_cv_func_printf_sizes_c99="guessing no";;
82647
 
+           netbsd*)              gl_cv_func_printf_sizes_c99="guessing yes";;
82648
 
+                                 # If we don't know, assume the worst.
82649
 
+           *)                    gl_cv_func_printf_sizes_c99="guessing no";;
82650
 
+         esac
82651
 
+        
82652
 
+else
82653
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82654
 
+/* end confdefs.h.  */
82655
 
+
82656
 
+#include <stddef.h>
82657
 
+#include <stdio.h>
82658
 
+#include <string.h>
82659
 
+#include <sys/types.h>
82660
 
+#if HAVE_STDINT_H_WITH_UINTMAX
82661
 
+# include <stdint.h>
82662
 
+#endif
82663
 
+#if HAVE_INTTYPES_H_WITH_UINTMAX
82664
 
+# include <inttypes.h>
82665
 
+#endif
82666
 
+static char buf[100];
82667
 
+int main ()
82668
 
+{
82669
 
+  int result = 0;
82670
 
+#if HAVE_STDINT_H_WITH_UINTMAX || HAVE_INTTYPES_H_WITH_UINTMAX
82671
 
+  buf[0] = '\0';
82672
 
+  if (sprintf (buf, "%ju %d", (uintmax_t) 12345671, 33, 44, 55) < 0
82673
 
+      || strcmp (buf, "12345671 33") != 0)
82674
 
+    result |= 1;
82675
 
+#endif
82676
 
+  buf[0] = '\0';
82677
 
+  if (sprintf (buf, "%zu %d", (size_t) 12345672, 33, 44, 55) < 0
82678
 
+      || strcmp (buf, "12345672 33") != 0)
82679
 
+    result |= 2;
82680
 
+  buf[0] = '\0';
82681
 
+  if (sprintf (buf, "%tu %d", (ptrdiff_t) 12345673, 33, 44, 55) < 0
82682
 
+      || strcmp (buf, "12345673 33") != 0)
82683
 
+    result |= 4;
82684
 
+  buf[0] = '\0';
82685
 
+  if (sprintf (buf, "%Lg %d", (long double) 1.5, 33, 44, 55) < 0
82686
 
+      || strcmp (buf, "1.5 33") != 0)
82687
 
+    result |= 8;
82688
 
+  return result;
82689
 
+}
82690
 
+_ACEOF
82691
 
+if ac_fn_c_try_run "$LINENO"; then :
82692
 
+  gl_cv_func_printf_sizes_c99=yes
82693
 
+else
82694
 
+  gl_cv_func_printf_sizes_c99=no
82695
 
+fi
82696
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
82697
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
82698
 
+fi
82699
 
+
82700
 
+    
82701
 
+fi
82702
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_sizes_c99" >&5
82703
 
+$as_echo "$gl_cv_func_printf_sizes_c99" >&6; }
82704
 
+
82705
 
+
82706
 
+  
82707
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports 'long double' arguments" >&5
82708
 
+$as_echo_n "checking whether printf supports 'long double' arguments... " >&6; }
82709
 
+if ${gl_cv_func_printf_long_double+:} false; then :
82710
 
+  $as_echo_n "(cached) " >&6
82711
 
+else
82712
 
+  
82713
 
+      if test "$cross_compiling" = yes; then :
82714
 
+  
82715
 
+         case "$host_os" in
82716
 
+           beos*)        gl_cv_func_printf_long_double="guessing no";;
82717
 
+           mingw* | pw*) gl_cv_func_printf_long_double="guessing no";;
82718
 
+           *)            gl_cv_func_printf_long_double="guessing yes";;
82719
 
+         esac
82720
 
+        
82721
 
+else
82722
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82723
 
+/* end confdefs.h.  */
82724
 
+
82725
 
+#include <stdio.h>
82726
 
+#include <string.h>
82727
 
+static char buf[10000];
82728
 
+int main ()
82729
 
+{
82730
 
+  int result = 0;
82731
 
+  buf[0] = '\0';
82732
 
+  if (sprintf (buf, "%Lf %d", 1.75L, 33, 44, 55) < 0
82733
 
+      || strcmp (buf, "1.750000 33") != 0)
82734
 
+    result |= 1;
82735
 
+  buf[0] = '\0';
82736
 
+  if (sprintf (buf, "%Le %d", 1.75L, 33, 44, 55) < 0
82737
 
+      || strcmp (buf, "1.750000e+00 33") != 0)
82738
 
+    result |= 2;
82739
 
+  buf[0] = '\0';
82740
 
+  if (sprintf (buf, "%Lg %d", 1.75L, 33, 44, 55) < 0
82741
 
+      || strcmp (buf, "1.75 33") != 0)
82742
 
+    result |= 4;
82743
 
+  return result;
82744
 
+}
82745
 
+_ACEOF
82746
 
+if ac_fn_c_try_run "$LINENO"; then :
82747
 
+  gl_cv_func_printf_long_double=yes
82748
 
+else
82749
 
+  gl_cv_func_printf_long_double=no
82750
 
+fi
82751
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
82752
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
82753
 
+fi
82754
 
+
82755
 
+    
82756
 
+fi
82757
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_long_double" >&5
82758
 
+$as_echo "$gl_cv_func_printf_long_double" >&6; }
82759
 
+
82760
 
+
82761
 
+  
82762
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'double' arguments" >&5
82763
 
+$as_echo_n "checking whether printf supports infinite 'double' arguments... " >&6; }
82764
 
+if ${gl_cv_func_printf_infinite+:} false; then :
82765
 
+  $as_echo_n "(cached) " >&6
82766
 
+else
82767
 
+  
82768
 
+      if test "$cross_compiling" = yes; then :
82769
 
+  
82770
 
+         case "$host_os" in
82771
 
+                                 # Guess yes on glibc systems.
82772
 
+           *-gnu*)               gl_cv_func_printf_infinite="guessing yes";;
82773
 
+                                 # Guess yes on FreeBSD >= 6.
82774
 
+           freebsd[1-5]*)        gl_cv_func_printf_infinite="guessing no";;
82775
 
+           freebsd* | kfreebsd*) gl_cv_func_printf_infinite="guessing yes";;
82776
 
+                                 # Guess yes on MacOS X >= 10.3.
82777
 
+           darwin[1-6].*)        gl_cv_func_printf_infinite="guessing no";;
82778
 
+           darwin*)              gl_cv_func_printf_infinite="guessing yes";;
82779
 
+                                 # Guess yes on HP-UX >= 11.
82780
 
+           hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite="guessing no";;
82781
 
+           hpux*)                gl_cv_func_printf_infinite="guessing yes";;
82782
 
+                                 # Guess yes on NetBSD >= 3.
82783
 
+           netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
82784
 
+                                 gl_cv_func_printf_infinite="guessing no";;
82785
 
+           netbsd*)              gl_cv_func_printf_infinite="guessing yes";;
82786
 
+                                 # Guess yes on BeOS.
82787
 
+           beos*)                gl_cv_func_printf_infinite="guessing yes";;
82788
 
+                                 # If we don't know, assume the worst.
82789
 
+           *)                    gl_cv_func_printf_infinite="guessing no";;
82790
 
+         esac
82791
 
+        
82792
 
+else
82793
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82794
 
+/* end confdefs.h.  */
82795
 
+
82796
 
+#include <stdio.h>
82797
 
+#include <string.h>
82798
 
+static int
82799
 
+strisnan (const char *string, size_t start_index, size_t end_index)
82800
 
+{
82801
 
+  if (start_index < end_index)
82802
 
+    {
82803
 
+      if (string[start_index] == '-')
82804
 
+        start_index++;
82805
 
+      if (start_index + 3 <= end_index
82806
 
+          && memcmp (string + start_index, "nan", 3) == 0)
82807
 
+        {
82808
 
+          start_index += 3;
82809
 
+          if (start_index == end_index
82810
 
+              || (string[start_index] == '(' && string[end_index - 1] == ')'))
82811
 
+            return 1;
82812
 
+        }
82813
 
+    }
82814
 
+  return 0;
82815
 
+}
82816
 
+static int
82817
 
+have_minus_zero ()
82818
 
+{
82819
 
+  static double plus_zero = 0.0;
82820
 
+  double minus_zero = - plus_zero;
82821
 
+  return memcmp (&plus_zero, &minus_zero, sizeof (double)) != 0;
82822
 
+}
82823
 
+static char buf[10000];
82824
 
+static double zero = 0.0;
82825
 
+int main ()
82826
 
+{
82827
 
+  int result = 0;
82828
 
+  if (sprintf (buf, "%f", 1.0 / 0.0) < 0
82829
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
82830
 
+    result |= 1;
82831
 
+  if (sprintf (buf, "%f", -1.0 / 0.0) < 0
82832
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
82833
 
+    result |= 1;
82834
 
+  if (sprintf (buf, "%f", zero / zero) < 0
82835
 
+      || !strisnan (buf, 0, strlen (buf)))
82836
 
+    result |= 2;
82837
 
+  if (sprintf (buf, "%e", 1.0 / 0.0) < 0
82838
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
82839
 
+    result |= 4;
82840
 
+  if (sprintf (buf, "%e", -1.0 / 0.0) < 0
82841
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
82842
 
+    result |= 4;
82843
 
+  if (sprintf (buf, "%e", zero / zero) < 0
82844
 
+      || !strisnan (buf, 0, strlen (buf)))
82845
 
+    result |= 8;
82846
 
+  if (sprintf (buf, "%g", 1.0 / 0.0) < 0
82847
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
82848
 
+    result |= 16;
82849
 
+  if (sprintf (buf, "%g", -1.0 / 0.0) < 0
82850
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
82851
 
+    result |= 16;
82852
 
+  if (sprintf (buf, "%g", zero / zero) < 0
82853
 
+      || !strisnan (buf, 0, strlen (buf)))
82854
 
+    result |= 32;
82855
 
+  /* This test fails on HP-UX 10.20.  */
82856
 
+  if (have_minus_zero ())
82857
 
+    if (sprintf (buf, "%g", - zero) < 0
82858
 
+        || strcmp (buf, "-0") != 0)
82859
 
+    result |= 64;
82860
 
+  return result;
82861
 
+}
82862
 
+_ACEOF
82863
 
+if ac_fn_c_try_run "$LINENO"; then :
82864
 
+  gl_cv_func_printf_infinite=yes
82865
 
+else
82866
 
+  gl_cv_func_printf_infinite=no
82867
 
+fi
82868
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
82869
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
82870
 
+fi
82871
 
+
82872
 
+    
82873
 
+fi
82874
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_infinite" >&5
82875
 
+$as_echo "$gl_cv_func_printf_infinite" >&6; }
82876
 
+
82877
 
+
82878
 
+  
82879
 
+  
82880
 
+  
82881
 
+         if test -n "$gl_printf_safe"; then
82882
 
+    
82883
 
+$as_echo "@%:@define CHECK_PRINTF_SAFE 1" >>confdefs.h
82884
 
+
82885
 
+  fi
82886
 
+  case "$gl_cv_func_printf_long_double" in
82887
 
+    *yes)
82888
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'long double' arguments" >&5
82889
 
+$as_echo_n "checking whether printf supports infinite 'long double' arguments... " >&6; }
82890
 
+if ${gl_cv_func_printf_infinite_long_double+:} false; then :
82891
 
+  $as_echo_n "(cached) " >&6
82892
 
+else
82893
 
+  
82894
 
+          if test "$cross_compiling" = yes; then :
82895
 
+  
82896
 
+             case "$host_cpu" in
82897
 
+                                     # Guess no on ia64, x86_64, i386.
82898
 
+               ia64 | x86_64 | i*86) gl_cv_func_printf_infinite_long_double="guessing no";;
82899
 
+               *)
82900
 
+                 case "$host_os" in
82901
 
+                                         # Guess yes on glibc systems.
82902
 
+                   *-gnu*)               gl_cv_func_printf_infinite_long_double="guessing yes";;
82903
 
+                                         # Guess yes on FreeBSD >= 6.
82904
 
+                   freebsd[1-5]*)        gl_cv_func_printf_infinite_long_double="guessing no";;
82905
 
+                   freebsd* | kfreebsd*) gl_cv_func_printf_infinite_long_double="guessing yes";;
82906
 
+                                         # Guess yes on HP-UX >= 11.
82907
 
+                   hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite_long_double="guessing no";;
82908
 
+                   hpux*)                gl_cv_func_printf_infinite_long_double="guessing yes";;
82909
 
+                                         # If we don't know, assume the worst.
82910
 
+                   *)                    gl_cv_func_printf_infinite_long_double="guessing no";;
82911
 
+                 esac
82912
 
+                 ;;
82913
 
+             esac
82914
 
+            
82915
 
+else
82916
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82917
 
+/* end confdefs.h.  */
82918
 
+
82919
 
+
82920
 
+#include <stdlib.h>
82921
 
+#if defined __MACH__ && defined __APPLE__
82922
 
+/* Avoid a crash on MacOS X.  */
82923
 
+#include <mach/mach.h>
82924
 
+#include <mach/mach_error.h>
82925
 
+#include <mach/thread_status.h>
82926
 
+#include <mach/exception.h>
82927
 
+#include <mach/task.h>
82928
 
+#include <pthread.h>
82929
 
+/* The exception port on which our thread listens.  */
82930
 
+static mach_port_t our_exception_port;
82931
 
+/* The main function of the thread listening for exceptions of type
82932
 
+   EXC_BAD_ACCESS.  */
82933
 
+static void *
82934
 
+mach_exception_thread (void *arg)
82935
 
+{
82936
 
+  /* Buffer for a message to be received.  */
82937
 
+  struct {
82938
 
+    mach_msg_header_t head;
82939
 
+    mach_msg_body_t msgh_body;
82940
 
+    char data[1024];
82941
 
+  } msg;
82942
 
+  mach_msg_return_t retval;
82943
 
+  /* Wait for a message on the exception port.  */
82944
 
+  retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
82945
 
+                     our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
82946
 
+  if (retval != MACH_MSG_SUCCESS)
82947
 
+    abort ();
82948
 
+  exit (1);
82949
 
+}
82950
 
+static void
82951
 
+nocrash_init (void)
82952
 
+{
82953
 
+  mach_port_t self = mach_task_self ();
82954
 
+  /* Allocate a port on which the thread shall listen for exceptions.  */
82955
 
+  if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
82956
 
+      == KERN_SUCCESS) {
82957
 
+    /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html.  */
82958
 
+    if (mach_port_insert_right (self, our_exception_port, our_exception_port,
82959
 
+                                MACH_MSG_TYPE_MAKE_SEND)
82960
 
+        == KERN_SUCCESS) {
82961
 
+      /* The exceptions we want to catch.  Only EXC_BAD_ACCESS is interesting
82962
 
+         for us.  */
82963
 
+      exception_mask_t mask = EXC_MASK_BAD_ACCESS;
82964
 
+      /* Create the thread listening on the exception port.  */
82965
 
+      pthread_attr_t attr;
82966
 
+      pthread_t thread;
82967
 
+      if (pthread_attr_init (&attr) == 0
82968
 
+          && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
82969
 
+          && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
82970
 
+        pthread_attr_destroy (&attr);
82971
 
+        /* Replace the exception port info for these exceptions with our own.
82972
 
+           Note that we replace the exception port for the entire task, not only
82973
 
+           for a particular thread.  This has the effect that when our exception
82974
 
+           port gets the message, the thread specific exception port has already
82975
 
+           been asked, and we don't need to bother about it.
82976
 
+           See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html.  */
82977
 
+        task_set_exception_ports (self, mask, our_exception_port,
82978
 
+                                  EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
82979
 
+      }
82980
 
+    }
82981
 
+  }
82982
 
+}
82983
 
+#else
82984
 
+/* Avoid a crash on POSIX systems.  */
82985
 
+#include <signal.h>
82986
 
+/* A POSIX signal handler.  */
82987
 
+static void
82988
 
+exception_handler (int sig)
82989
 
+{
82990
 
+  exit (1);
82991
 
+}
82992
 
+static void
82993
 
+nocrash_init (void)
82994
 
+{
82995
 
+#ifdef SIGSEGV
82996
 
+  signal (SIGSEGV, exception_handler);
82997
 
+#endif
82998
 
+#ifdef SIGBUS
82999
 
+  signal (SIGBUS, exception_handler);
83000
 
+#endif
83001
 
+}
83002
 
+#endif
83003
 
+
83004
 
+#include <float.h>
83005
 
+#include <stdio.h>
83006
 
+#include <string.h>
83007
 
+static int
83008
 
+strisnan (const char *string, size_t start_index, size_t end_index)
83009
 
+{
83010
 
+  if (start_index < end_index)
83011
 
+    {
83012
 
+      if (string[start_index] == '-')
83013
 
+        start_index++;
83014
 
+      if (start_index + 3 <= end_index
83015
 
+          && memcmp (string + start_index, "nan", 3) == 0)
83016
 
+        {
83017
 
+          start_index += 3;
83018
 
+          if (start_index == end_index
83019
 
+              || (string[start_index] == '(' && string[end_index - 1] == ')'))
83020
 
+            return 1;
83021
 
+        }
83022
 
+    }
83023
 
+  return 0;
83024
 
+}
83025
 
+static char buf[10000];
83026
 
+static long double zeroL = 0.0L;
83027
 
+int main ()
83028
 
+{
83029
 
+  int result = 0;
83030
 
+  nocrash_init();
83031
 
+  if (sprintf (buf, "%Lf", 1.0L / 0.0L) < 0
83032
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
83033
 
+    result |= 1;
83034
 
+  if (sprintf (buf, "%Lf", -1.0L / 0.0L) < 0
83035
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
83036
 
+    result |= 1;
83037
 
+  if (sprintf (buf, "%Lf", zeroL / zeroL) < 0
83038
 
+      || !strisnan (buf, 0, strlen (buf)))
83039
 
+    result |= 1;
83040
 
+  if (sprintf (buf, "%Le", 1.0L / 0.0L) < 0
83041
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
83042
 
+    result |= 1;
83043
 
+  if (sprintf (buf, "%Le", -1.0L / 0.0L) < 0
83044
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
83045
 
+    result |= 1;
83046
 
+  if (sprintf (buf, "%Le", zeroL / zeroL) < 0
83047
 
+      || !strisnan (buf, 0, strlen (buf)))
83048
 
+    result |= 1;
83049
 
+  if (sprintf (buf, "%Lg", 1.0L / 0.0L) < 0
83050
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
83051
 
+    result |= 1;
83052
 
+  if (sprintf (buf, "%Lg", -1.0L / 0.0L) < 0
83053
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
83054
 
+    result |= 1;
83055
 
+  if (sprintf (buf, "%Lg", zeroL / zeroL) < 0
83056
 
+      || !strisnan (buf, 0, strlen (buf)))
83057
 
+    result |= 1;
83058
 
+#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_))
83059
 
+/* Representation of an 80-bit 'long double' as an initializer for a sequence
83060
 
+   of 'unsigned int' words.  */
83061
 
+# ifdef WORDS_BIGENDIAN
83062
 
+#  define LDBL80_WORDS(exponent,manthi,mantlo) \
83063
 
+     { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \
83064
 
+       ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16),    \
83065
 
+       (unsigned int) (mantlo) << 16                                        \
83066
 
+     }
83067
 
+# else
83068
 
+#  define LDBL80_WORDS(exponent,manthi,mantlo) \
83069
 
+     { mantlo, manthi, exponent }
83070
 
+# endif
83071
 
+  { /* Quiet NaN.  */
83072
 
+    static union { unsigned int word[4]; long double value; } x =
83073
 
+      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
83074
 
+    if (sprintf (buf, "%Lf", x.value) < 0
83075
 
+        || !strisnan (buf, 0, strlen (buf)))
83076
 
+      result |= 2;
83077
 
+    if (sprintf (buf, "%Le", x.value) < 0
83078
 
+        || !strisnan (buf, 0, strlen (buf)))
83079
 
+      result |= 2;
83080
 
+    if (sprintf (buf, "%Lg", x.value) < 0
83081
 
+        || !strisnan (buf, 0, strlen (buf)))
83082
 
+      result |= 2;
83083
 
+  }
83084
 
+  {
83085
 
+    /* Signalling NaN.  */
83086
 
+    static union { unsigned int word[4]; long double value; } x =
83087
 
+      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
83088
 
+    if (sprintf (buf, "%Lf", x.value) < 0
83089
 
+        || !strisnan (buf, 0, strlen (buf)))
83090
 
+      result |= 2;
83091
 
+    if (sprintf (buf, "%Le", x.value) < 0
83092
 
+        || !strisnan (buf, 0, strlen (buf)))
83093
 
+      result |= 2;
83094
 
+    if (sprintf (buf, "%Lg", x.value) < 0
83095
 
+        || !strisnan (buf, 0, strlen (buf)))
83096
 
+      result |= 2;
83097
 
+  }
83098
 
+  { /* Pseudo-NaN.  */
83099
 
+    static union { unsigned int word[4]; long double value; } x =
83100
 
+      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
83101
 
+    if (sprintf (buf, "%Lf", x.value) < 0
83102
 
+        || !strisnan (buf, 0, strlen (buf)))
83103
 
+      result |= 4;
83104
 
+    if (sprintf (buf, "%Le", x.value) < 0
83105
 
+        || !strisnan (buf, 0, strlen (buf)))
83106
 
+      result |= 4;
83107
 
+    if (sprintf (buf, "%Lg", x.value) < 0
83108
 
+        || !strisnan (buf, 0, strlen (buf)))
83109
 
+      result |= 4;
83110
 
+  }
83111
 
+  { /* Pseudo-Infinity.  */
83112
 
+    static union { unsigned int word[4]; long double value; } x =
83113
 
+      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
83114
 
+    if (sprintf (buf, "%Lf", x.value) < 0
83115
 
+        || !strisnan (buf, 0, strlen (buf)))
83116
 
+      result |= 8;
83117
 
+    if (sprintf (buf, "%Le", x.value) < 0
83118
 
+        || !strisnan (buf, 0, strlen (buf)))
83119
 
+      result |= 8;
83120
 
+    if (sprintf (buf, "%Lg", x.value) < 0
83121
 
+        || !strisnan (buf, 0, strlen (buf)))
83122
 
+      result |= 8;
83123
 
+  }
83124
 
+  { /* Pseudo-Zero.  */
83125
 
+    static union { unsigned int word[4]; long double value; } x =
83126
 
+      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
83127
 
+    if (sprintf (buf, "%Lf", x.value) < 0
83128
 
+        || !strisnan (buf, 0, strlen (buf)))
83129
 
+      result |= 16;
83130
 
+    if (sprintf (buf, "%Le", x.value) < 0
83131
 
+        || !strisnan (buf, 0, strlen (buf)))
83132
 
+      result |= 16;
83133
 
+    if (sprintf (buf, "%Lg", x.value) < 0
83134
 
+        || !strisnan (buf, 0, strlen (buf)))
83135
 
+      result |= 16;
83136
 
+  }
83137
 
+  { /* Unnormalized number.  */
83138
 
+    static union { unsigned int word[4]; long double value; } x =
83139
 
+      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
83140
 
+    if (sprintf (buf, "%Lf", x.value) < 0
83141
 
+        || !strisnan (buf, 0, strlen (buf)))
83142
 
+      result |= 32;
83143
 
+    if (sprintf (buf, "%Le", x.value) < 0
83144
 
+        || !strisnan (buf, 0, strlen (buf)))
83145
 
+      result |= 32;
83146
 
+    if (sprintf (buf, "%Lg", x.value) < 0
83147
 
+        || !strisnan (buf, 0, strlen (buf)))
83148
 
+      result |= 32;
83149
 
+  }
83150
 
+  { /* Pseudo-Denormal.  */
83151
 
+    static union { unsigned int word[4]; long double value; } x =
83152
 
+      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
83153
 
+    if (sprintf (buf, "%Lf", x.value) < 0
83154
 
+        || !strisnan (buf, 0, strlen (buf)))
83155
 
+      result |= 64;
83156
 
+    if (sprintf (buf, "%Le", x.value) < 0
83157
 
+        || !strisnan (buf, 0, strlen (buf)))
83158
 
+      result |= 64;
83159
 
+    if (sprintf (buf, "%Lg", x.value) < 0
83160
 
+        || !strisnan (buf, 0, strlen (buf)))
83161
 
+      result |= 64;
83162
 
+  }
83163
 
+#endif
83164
 
+  return result;
83165
 
+}
83166
 
+_ACEOF
83167
 
+if ac_fn_c_try_run "$LINENO"; then :
83168
 
+  gl_cv_func_printf_infinite_long_double=yes
83169
 
+else
83170
 
+  gl_cv_func_printf_infinite_long_double=no
83171
 
+fi
83172
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
83173
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
83174
 
+fi
83175
 
+
83176
 
+        
83177
 
+fi
83178
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_infinite_long_double" >&5
83179
 
+$as_echo "$gl_cv_func_printf_infinite_long_double" >&6; }
83180
 
+      ;;
83181
 
+    *)
83182
 
+      gl_cv_func_printf_infinite_long_double="irrelevant"
83183
 
+      ;;
83184
 
+  esac
83185
 
+
83186
 
+
83187
 
+  
83188
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'a' and 'A' directives" >&5
83189
 
+$as_echo_n "checking whether printf supports the 'a' and 'A' directives... " >&6; }
83190
 
+if ${gl_cv_func_printf_directive_a+:} false; then :
83191
 
+  $as_echo_n "(cached) " >&6
83192
 
+else
83193
 
+  
83194
 
+      if test "$cross_compiling" = yes; then :
83195
 
+  
83196
 
+         case "$host_os" in
83197
 
+                                 # Guess yes on glibc >= 2.5 systems.
83198
 
+           *-gnu*)
83199
 
+             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83200
 
+/* end confdefs.h.  */
83201
 
+
83202
 
+               #include <features.h>
83203
 
+               #ifdef __GNU_LIBRARY__
83204
 
+                #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 5) || (__GLIBC__ > 2)) && !defined __UCLIBC__
83205
 
+                 BZ2908
83206
 
+                #endif
83207
 
+               #endif
83208
 
+               
83209
 
+_ACEOF
83210
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
83211
 
+  $EGREP "BZ2908" >/dev/null 2>&1; then :
83212
 
+  gl_cv_func_printf_directive_a="guessing yes"
83213
 
+else
83214
 
+  gl_cv_func_printf_directive_a="guessing no"
83215
 
+fi
83216
 
+rm -f conftest*
83217
 
+
83218
 
+             ;;
83219
 
+                                 # If we don't know, assume the worst.
83220
 
+           *)                    gl_cv_func_printf_directive_a="guessing no";;
83221
 
+         esac
83222
 
+        
83223
 
+else
83224
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83225
 
+/* end confdefs.h.  */
83226
 
+
83227
 
+#include <stdio.h>
83228
 
+#include <string.h>
83229
 
+static char buf[100];
83230
 
+int main ()
83231
 
+{
83232
 
+  int result = 0;
83233
 
+  if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0
83234
 
+      || (strcmp (buf, "0x1.922p+1 33") != 0
83235
 
+          && strcmp (buf, "0x3.244p+0 33") != 0
83236
 
+          && strcmp (buf, "0x6.488p-1 33") != 0
83237
 
+          && strcmp (buf, "0xc.91p-2 33") != 0))
83238
 
+    result |= 1;
83239
 
+  if (sprintf (buf, "%A %d", -3.1416015625, 33, 44, 55) < 0
83240
 
+      || (strcmp (buf, "-0X1.922P+1 33") != 0
83241
 
+          && strcmp (buf, "-0X3.244P+0 33") != 0
83242
 
+          && strcmp (buf, "-0X6.488P-1 33") != 0
83243
 
+          && strcmp (buf, "-0XC.91P-2 33") != 0))
83244
 
+    result |= 2;
83245
 
+  /* This catches a FreeBSD 6.1 bug: it doesn't round.  */
83246
 
+  if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0
83247
 
+      || (strcmp (buf, "0x1.83p+0 33") != 0
83248
 
+          && strcmp (buf, "0x3.05p-1 33") != 0
83249
 
+          && strcmp (buf, "0x6.0ap-2 33") != 0
83250
 
+          && strcmp (buf, "0xc.14p-3 33") != 0))
83251
 
+    result |= 4;
83252
 
+  /* This catches a FreeBSD 6.1 bug.  See
83253
 
+     <http://lists.gnu.org/archive/html/bug-gnulib/2007-04/msg00107.html> */
83254
 
+  if (sprintf (buf, "%010a %d", 1.0 / 0.0, 33, 44, 55) < 0
83255
 
+      || buf[0] == '0')
83256
 
+    result |= 8;
83257
 
+  /* This catches a MacOS X 10.3.9 (Darwin 7.9) bug.  */
83258
 
+  if (sprintf (buf, "%.1a", 1.999) < 0
83259
 
+      || (strcmp (buf, "0x1.0p+1") != 0
83260
 
+          && strcmp (buf, "0x2.0p+0") != 0
83261
 
+          && strcmp (buf, "0x4.0p-1") != 0
83262
 
+          && strcmp (buf, "0x8.0p-2") != 0))
83263
 
+    result |= 16;
83264
 
+  /* This catches the same MacOS X 10.3.9 (Darwin 7.9) bug and also a
83265
 
+     glibc 2.4 bug <http://sourceware.org/bugzilla/show_bug.cgi?id=2908>.  */
83266
 
+  if (sprintf (buf, "%.1La", 1.999L) < 0
83267
 
+      || (strcmp (buf, "0x1.0p+1") != 0
83268
 
+          && strcmp (buf, "0x2.0p+0") != 0
83269
 
+          && strcmp (buf, "0x4.0p-1") != 0
83270
 
+          && strcmp (buf, "0x8.0p-2") != 0))
83271
 
+    result |= 32;
83272
 
+  return result;
83273
 
+}
83274
 
+_ACEOF
83275
 
+if ac_fn_c_try_run "$LINENO"; then :
83276
 
+  gl_cv_func_printf_directive_a=yes
83277
 
+else
83278
 
+  gl_cv_func_printf_directive_a=no
83279
 
+fi
83280
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
83281
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
83282
 
+fi
83283
 
+
83284
 
+    
83285
 
+fi
83286
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_a" >&5
83287
 
+$as_echo "$gl_cv_func_printf_directive_a" >&6; }
83288
 
+
83289
 
+
83290
 
+  
83291
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'F' directive" >&5
83292
 
+$as_echo_n "checking whether printf supports the 'F' directive... " >&6; }
83293
 
+if ${gl_cv_func_printf_directive_f+:} false; then :
83294
 
+  $as_echo_n "(cached) " >&6
83295
 
+else
83296
 
+  
83297
 
+      if test "$cross_compiling" = yes; then :
83298
 
+  
83299
 
+         case "$host_os" in
83300
 
+                                 # Guess yes on glibc systems.
83301
 
+           *-gnu*)               gl_cv_func_printf_directive_f="guessing yes";;
83302
 
+                                 # Guess yes on FreeBSD >= 6.
83303
 
+           freebsd[1-5]*)        gl_cv_func_printf_directive_f="guessing no";;
83304
 
+           freebsd* | kfreebsd*) gl_cv_func_printf_directive_f="guessing yes";;
83305
 
+                                 # Guess yes on MacOS X >= 10.3.
83306
 
+           darwin[1-6].*)        gl_cv_func_printf_directive_f="guessing no";;
83307
 
+           darwin*)              gl_cv_func_printf_directive_f="guessing yes";;
83308
 
+                                 # Guess yes on Solaris >= 2.10.
83309
 
+           solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
83310
 
+           solaris*)             gl_cv_func_printf_sizes_c99="guessing no";;
83311
 
+                                 # If we don't know, assume the worst.
83312
 
+           *)                    gl_cv_func_printf_directive_f="guessing no";;
83313
 
+         esac
83314
 
+        
83315
 
+else
83316
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83317
 
+/* end confdefs.h.  */
83318
 
+
83319
 
+#include <stdio.h>
83320
 
+#include <string.h>
83321
 
+static char buf[100];
83322
 
+int main ()
83323
 
+{
83324
 
+  int result = 0;
83325
 
+  if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0
83326
 
+      || strcmp (buf, "1234567.000000 33") != 0)
83327
 
+    result |= 1;
83328
 
+  if (sprintf (buf, "%F", 1.0 / 0.0) < 0
83329
 
+      || (strcmp (buf, "INF") != 0 && strcmp (buf, "INFINITY") != 0))
83330
 
+    result |= 2;
83331
 
+  /* This catches a Cygwin 1.5.x bug.  */
83332
 
+  if (sprintf (buf, "%.F", 1234.0) < 0
83333
 
+      || strcmp (buf, "1234") != 0)
83334
 
+    result |= 4;
83335
 
+  return result;
83336
 
+}
83337
 
+_ACEOF
83338
 
+if ac_fn_c_try_run "$LINENO"; then :
83339
 
+  gl_cv_func_printf_directive_f=yes
83340
 
+else
83341
 
+  gl_cv_func_printf_directive_f=no
83342
 
+fi
83343
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
83344
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
83345
 
+fi
83346
 
+
83347
 
+    
83348
 
+fi
83349
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_f" >&5
83350
 
+$as_echo "$gl_cv_func_printf_directive_f" >&6; }
83351
 
+
83352
 
+
83353
 
+  
83354
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'n' directive" >&5
83355
 
+$as_echo_n "checking whether printf supports the 'n' directive... " >&6; }
83356
 
+if ${gl_cv_func_printf_directive_n+:} false; then :
83357
 
+  $as_echo_n "(cached) " >&6
83358
 
+else
83359
 
+  
83360
 
+      if test "$cross_compiling" = yes; then :
83361
 
+  
83362
 
+         case "$host_os" in
83363
 
+           *)     gl_cv_func_printf_directive_n="guessing yes";;
83364
 
+         esac
83365
 
+        
83366
 
+else
83367
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83368
 
+/* end confdefs.h.  */
83369
 
+
83370
 
+#include <stdio.h>
83371
 
+#include <string.h>
83372
 
+static char fmtstring[10];
83373
 
+static char buf[100];
83374
 
+int main ()
83375
 
+{
83376
 
+  int count = -1;
83377
 
+  /* Copy the format string.  Some systems (glibc with _FORTIFY_SOURCE=2)
83378
 
+     support %n in format strings in read-only memory but not in writable
83379
 
+     memory.  */
83380
 
+  strcpy (fmtstring, "%d %n");
83381
 
+  if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0
83382
 
+      || strcmp (buf, "123 ") != 0
83383
 
+      || count != 4)
83384
 
+    return 1;
83385
 
+  return 0;
83386
 
+}
83387
 
+_ACEOF
83388
 
+if ac_fn_c_try_run "$LINENO"; then :
83389
 
+  gl_cv_func_printf_directive_n=yes
83390
 
+else
83391
 
+  gl_cv_func_printf_directive_n=no
83392
 
+fi
83393
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
83394
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
83395
 
+fi
83396
 
+
83397
 
+    
83398
 
+fi
83399
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_n" >&5
83400
 
+$as_echo "$gl_cv_func_printf_directive_n" >&6; }
83401
 
+
83402
 
+
83403
 
+  
83404
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'ls' directive" >&5
83405
 
+$as_echo_n "checking whether printf supports the 'ls' directive... " >&6; }
83406
 
+if ${gl_cv_func_printf_directive_ls+:} false; then :
83407
 
+  $as_echo_n "(cached) " >&6
83408
 
+else
83409
 
+  
83410
 
+      if test "$cross_compiling" = yes; then :
83411
 
+  
83412
 
+         case "$host_os" in
83413
 
+           openbsd*)        gl_cv_func_printf_directive_ls="guessing no";;
83414
 
+           irix*)           gl_cv_func_printf_directive_ls="guessing no";;
83415
 
+           solaris*)        gl_cv_func_printf_directive_ls="guessing no";;
83416
 
+           cygwin*)         gl_cv_func_printf_directive_ls="guessing no";;
83417
 
+           beos* | haiku*)  gl_cv_func_printf_directive_ls="guessing no";;
83418
 
+           *)               gl_cv_func_printf_directive_ls="guessing yes";;
83419
 
+         esac
83420
 
+        
83421
 
+else
83422
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83423
 
+/* end confdefs.h.  */
83424
 
+
83425
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
83426
 
+   <wchar.h>.
83427
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
83428
 
+   included before <wchar.h>.  */
83429
 
+#include <stddef.h>
83430
 
+#include <stdio.h>
83431
 
+#include <time.h>
83432
 
+#include <wchar.h>
83433
 
+#include <string.h>
83434
 
+int main ()
83435
 
+{
83436
 
+  int result = 0;
83437
 
+  char buf[100];
83438
 
+  /* Test whether %ls works at all.
83439
 
+     This test fails on OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Haiku, but not on
83440
 
+     Cygwin 1.5.  */
83441
 
+  {
83442
 
+    static const wchar_t wstring[] = { 'a', 'b', 'c', 0 };
83443
 
+    buf[0] = '\0';
83444
 
+    if (sprintf (buf, "%ls", wstring) < 0
83445
 
+        || strcmp (buf, "abc") != 0)
83446
 
+      result |= 1;
83447
 
+  }
83448
 
+  /* This test fails on IRIX 6.5, Solaris 2.6, Cygwin 1.5, Haiku (with an
83449
 
+     assertion failure inside libc), but not on OpenBSD 4.0.  */
83450
 
+  {
83451
 
+    static const wchar_t wstring[] = { 'a', 0 };
83452
 
+    buf[0] = '\0';
83453
 
+    if (sprintf (buf, "%ls", wstring) < 0
83454
 
+        || strcmp (buf, "a") != 0)
83455
 
+      result |= 2;
83456
 
+  }
83457
 
+  /* Test whether precisions in %ls are supported as specified in ISO C 99
83458
 
+     section 7.19.6.1:
83459
 
+       "If a precision is specified, no more than that many bytes are written
83460
 
+        (including shift sequences, if any), and the array shall contain a
83461
 
+        null wide character if, to equal the multibyte character sequence
83462
 
+        length given by the precision, the function would need to access a
83463
 
+        wide character one past the end of the array."
83464
 
+     This test fails on Solaris 10.  */
83465
 
+  {
83466
 
+    static const wchar_t wstring[] = { 'a', 'b', (wchar_t) 0xfdfdfdfd, 0 };
83467
 
+    buf[0] = '\0';
83468
 
+    if (sprintf (buf, "%.2ls", wstring) < 0
83469
 
+        || strcmp (buf, "ab") != 0)
83470
 
+      result |= 8;
83471
 
+  }
83472
 
+  return result;
83473
 
+}
83474
 
+_ACEOF
83475
 
+if ac_fn_c_try_run "$LINENO"; then :
83476
 
+  gl_cv_func_printf_directive_ls=yes
83477
 
+else
83478
 
+  gl_cv_func_printf_directive_ls=no
83479
 
+fi
83480
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
83481
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
83482
 
+fi
83483
 
+
83484
 
+    
83485
 
+fi
83486
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_ls" >&5
83487
 
+$as_echo "$gl_cv_func_printf_directive_ls" >&6; }
83488
 
+
83489
 
+
83490
 
+  
83491
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the grouping flag" >&5
83492
 
+$as_echo_n "checking whether printf supports the grouping flag... " >&6; }
83493
 
+if ${gl_cv_func_printf_flag_grouping+:} false; then :
83494
 
+  $as_echo_n "(cached) " >&6
83495
 
+else
83496
 
+  
83497
 
+      if test "$cross_compiling" = yes; then :
83498
 
+  
83499
 
+         case "$host_os" in
83500
 
+           cygwin*)      gl_cv_func_printf_flag_grouping="guessing no";;
83501
 
+           netbsd*)      gl_cv_func_printf_flag_grouping="guessing no";;
83502
 
+           mingw* | pw*) gl_cv_func_printf_flag_grouping="guessing no";;
83503
 
+           *)            gl_cv_func_printf_flag_grouping="guessing yes";;
83504
 
+         esac
83505
 
+        
83506
 
+else
83507
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83508
 
+/* end confdefs.h.  */
83509
 
+
83510
 
+#include <stdio.h>
83511
 
+#include <string.h>
83512
 
+static char buf[100];
83513
 
+int main ()
83514
 
+{
83515
 
+  if (sprintf (buf, "%'d %d", 1234567, 99) < 0
83516
 
+      || buf[strlen (buf) - 1] != '9')
83517
 
+    return 1;
83518
 
+  return 0;
83519
 
+}
83520
 
+_ACEOF
83521
 
+if ac_fn_c_try_run "$LINENO"; then :
83522
 
+  gl_cv_func_printf_flag_grouping=yes
83523
 
+else
83524
 
+  gl_cv_func_printf_flag_grouping=no
83525
 
+fi
83526
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
83527
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
83528
 
+fi
83529
 
+
83530
 
+    
83531
 
+fi
83532
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_flag_grouping" >&5
83533
 
+$as_echo "$gl_cv_func_printf_flag_grouping" >&6; }
83534
 
+
83535
 
+
83536
 
+  
83537
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the left-adjust flag correctly" >&5
83538
 
+$as_echo_n "checking whether printf supports the left-adjust flag correctly... " >&6; }
83539
 
+if ${gl_cv_func_printf_flag_leftadjust+:} false; then :
83540
 
+  $as_echo_n "(cached) " >&6
83541
 
+else
83542
 
+  
83543
 
+      if test "$cross_compiling" = yes; then :
83544
 
+  
83545
 
+         case "$host_os" in
83546
 
+                    # Guess yes on HP-UX 11.
83547
 
+           hpux11*) gl_cv_func_printf_flag_leftadjust="guessing yes";;
83548
 
+                    # Guess no on HP-UX 10 and older.
83549
 
+           hpux*)   gl_cv_func_printf_flag_leftadjust="guessing no";;
83550
 
+                    # Guess yes otherwise.
83551
 
+           *)       gl_cv_func_printf_flag_leftadjust="guessing yes";;
83552
 
+         esac
83553
 
+        
83554
 
+else
83555
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83556
 
+/* end confdefs.h.  */
83557
 
+
83558
 
+#include <stdio.h>
83559
 
+#include <string.h>
83560
 
+static char buf[100];
83561
 
+int main ()
83562
 
+{
83563
 
+  /* Check that a '-' flag is not annihilated by a negative width.  */
83564
 
+  if (sprintf (buf, "a%-*sc", -3, "b") < 0
83565
 
+      || strcmp (buf, "ab  c") != 0)
83566
 
+    return 1;
83567
 
+  return 0;
83568
 
+}
83569
 
+_ACEOF
83570
 
+if ac_fn_c_try_run "$LINENO"; then :
83571
 
+  gl_cv_func_printf_flag_leftadjust=yes
83572
 
+else
83573
 
+  gl_cv_func_printf_flag_leftadjust=no
83574
 
+fi
83575
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
83576
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
83577
 
+fi
83578
 
+
83579
 
+    
83580
 
+fi
83581
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_flag_leftadjust" >&5
83582
 
+$as_echo "$gl_cv_func_printf_flag_leftadjust" >&6; }
83583
 
+
83584
 
+
83585
 
+  
83586
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the zero flag correctly" >&5
83587
 
+$as_echo_n "checking whether printf supports the zero flag correctly... " >&6; }
83588
 
+if ${gl_cv_func_printf_flag_zero+:} false; then :
83589
 
+  $as_echo_n "(cached) " >&6
83590
 
+else
83591
 
+  
83592
 
+      if test "$cross_compiling" = yes; then :
83593
 
+  
83594
 
+         case "$host_os" in
83595
 
+                   # Guess yes on glibc systems.
83596
 
+           *-gnu*) gl_cv_func_printf_flag_zero="guessing yes";;
83597
 
+                   # Guess yes on BeOS.
83598
 
+           beos*)  gl_cv_func_printf_flag_zero="guessing yes";;
83599
 
+                   # If we don't know, assume the worst.
83600
 
+           *)      gl_cv_func_printf_flag_zero="guessing no";;
83601
 
+         esac
83602
 
+        
83603
 
+else
83604
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83605
 
+/* end confdefs.h.  */
83606
 
+
83607
 
+#include <stdio.h>
83608
 
+#include <string.h>
83609
 
+static char buf[100];
83610
 
+int main ()
83611
 
+{
83612
 
+  if (sprintf (buf, "%010f", 1.0 / 0.0, 33, 44, 55) < 0
83613
 
+      || (strcmp (buf, "       inf") != 0
83614
 
+          && strcmp (buf, "  infinity") != 0))
83615
 
+    return 1;
83616
 
+  return 0;
83617
 
+}
83618
 
+_ACEOF
83619
 
+if ac_fn_c_try_run "$LINENO"; then :
83620
 
+  gl_cv_func_printf_flag_zero=yes
83621
 
+else
83622
 
+  gl_cv_func_printf_flag_zero=no
83623
 
+fi
83624
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
83625
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
83626
 
+fi
83627
 
+
83628
 
+    
83629
 
+fi
83630
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_flag_zero" >&5
83631
 
+$as_echo "$gl_cv_func_printf_flag_zero" >&6; }
83632
 
+
83633
 
+
83634
 
+  
83635
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports large precisions" >&5
83636
 
+$as_echo_n "checking whether printf supports large precisions... " >&6; }
83637
 
+if ${gl_cv_func_printf_precision+:} false; then :
83638
 
+  $as_echo_n "(cached) " >&6
83639
 
+else
83640
 
+  
83641
 
+      if test "$cross_compiling" = yes; then :
83642
 
+  
83643
 
+         case "$host_os" in
83644
 
+           # Guess no only on Solaris, native Win32, and BeOS systems.
83645
 
+           solaris*)     gl_cv_func_printf_precision="guessing no" ;;
83646
 
+           mingw* | pw*) gl_cv_func_printf_precision="guessing no" ;;
83647
 
+           beos*)        gl_cv_func_printf_precision="guessing no" ;;
83648
 
+           *)            gl_cv_func_printf_precision="guessing yes" ;;
83649
 
+         esac
83650
 
+        
83651
 
+else
83652
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83653
 
+/* end confdefs.h.  */
83654
 
+
83655
 
+#include <stdio.h>
83656
 
+#include <string.h>
83657
 
+static char buf[5000];
83658
 
+int main ()
83659
 
+{
83660
 
+  int result = 0;
83661
 
+#ifdef __BEOS__
83662
 
+  /* On BeOS, this would crash and show a dialog box.  Avoid the crash.  */
83663
 
+  return 1;
83664
 
+#endif
83665
 
+  if (sprintf (buf, "%.4000d %d", 1, 33, 44) < 4000 + 3)
83666
 
+    result |= 1;
83667
 
+  if (sprintf (buf, "%.4000f %d", 1.0, 33, 44) < 4000 + 5)
83668
 
+    result |= 2;
83669
 
+  if (sprintf (buf, "%.511f %d", 1.0, 33, 44) < 511 + 5
83670
 
+      || buf[0] != '1')
83671
 
+    result |= 4;
83672
 
+  if (sprintf (buf, "%.999f %d", 1.0, 33, 44) < 999 + 5
83673
 
+      || buf[0] != '1')
83674
 
+    result |= 4;
83675
 
+  return result;
83676
 
+}
83677
 
+_ACEOF
83678
 
+if ac_fn_c_try_run "$LINENO"; then :
83679
 
+  gl_cv_func_printf_precision=yes
83680
 
+else
83681
 
+  gl_cv_func_printf_precision=no
83682
 
+fi
83683
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
83684
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
83685
 
+fi
83686
 
+
83687
 
+    
83688
 
+fi
83689
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_precision" >&5
83690
 
+$as_echo "$gl_cv_func_printf_precision" >&6; }
83691
 
+
83692
 
+
83693
 
+  
83694
 
+  
83695
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf survives out-of-memory conditions" >&5
83696
 
+$as_echo_n "checking whether printf survives out-of-memory conditions... " >&6; }
83697
 
+if ${gl_cv_func_printf_enomem+:} false; then :
83698
 
+  $as_echo_n "(cached) " >&6
83699
 
+else
83700
 
+  
83701
 
+      gl_cv_func_printf_enomem="guessing no"
83702
 
+      if test "$cross_compiling" = no; then
83703
 
+        if test $APPLE_UNIVERSAL_BUILD = 0; then
83704
 
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83705
 
+/* end confdefs.h.  */
83706
 
+
83707
 
+
83708
 
+#include <stdlib.h>
83709
 
+#if defined __MACH__ && defined __APPLE__
83710
 
+/* Avoid a crash on MacOS X.  */
83711
 
+#include <mach/mach.h>
83712
 
+#include <mach/mach_error.h>
83713
 
+#include <mach/thread_status.h>
83714
 
+#include <mach/exception.h>
83715
 
+#include <mach/task.h>
83716
 
+#include <pthread.h>
83717
 
+/* The exception port on which our thread listens.  */
83718
 
+static mach_port_t our_exception_port;
83719
 
+/* The main function of the thread listening for exceptions of type
83720
 
+   EXC_BAD_ACCESS.  */
83721
 
+static void *
83722
 
+mach_exception_thread (void *arg)
83723
 
+{
83724
 
+  /* Buffer for a message to be received.  */
83725
 
+  struct {
83726
 
+    mach_msg_header_t head;
83727
 
+    mach_msg_body_t msgh_body;
83728
 
+    char data1024;
83729
 
+  } msg;
83730
 
+  mach_msg_return_t retval;
83731
 
+  /* Wait for a message on the exception port.  */
83732
 
+  retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
83733
 
+                     our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
83734
 
+  if (retval != MACH_MSG_SUCCESS)
83735
 
+    abort ();
83736
 
+  exit (1);
83737
 
+}
83738
 
+static void
83739
 
+nocrash_init (void)
83740
 
+{
83741
 
+  mach_port_t self = mach_task_self ();
83742
 
+  /* Allocate a port on which the thread shall listen for exceptions.  */
83743
 
+  if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
83744
 
+      == KERN_SUCCESS) {
83745
 
+    /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html.  */
83746
 
+    if (mach_port_insert_right (self, our_exception_port, our_exception_port,
83747
 
+                                MACH_MSG_TYPE_MAKE_SEND)
83748
 
+        == KERN_SUCCESS) {
83749
 
+      /* The exceptions we want to catch.  Only EXC_BAD_ACCESS is interesting
83750
 
+         for us.  */
83751
 
+      exception_mask_t mask = EXC_MASK_BAD_ACCESS;
83752
 
+      /* Create the thread listening on the exception port.  */
83753
 
+      pthread_attr_t attr;
83754
 
+      pthread_t thread;
83755
 
+      if (pthread_attr_init (&attr) == 0
83756
 
+          && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
83757
 
+          && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
83758
 
+        pthread_attr_destroy (&attr);
83759
 
+        /* Replace the exception port info for these exceptions with our own.
83760
 
+           Note that we replace the exception port for the entire task, not only
83761
 
+           for a particular thread.  This has the effect that when our exception
83762
 
+           port gets the message, the thread specific exception port has already
83763
 
+           been asked, and we don't need to bother about it.
83764
 
+           See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html.  */
83765
 
+        task_set_exception_ports (self, mask, our_exception_port,
83766
 
+                                  EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
83767
 
+      }
83768
 
+    }
83769
 
+  }
83770
 
+}
83771
 
+#else
83772
 
+/* Avoid a crash on POSIX systems.  */
83773
 
+#include <signal.h>
83774
 
+/* A POSIX signal handler.  */
83775
 
+static void
83776
 
+exception_handler (int sig)
83777
 
+{
83778
 
+  exit (1);
83779
 
+}
83780
 
+static void
83781
 
+nocrash_init (void)
83782
 
+{
83783
 
+#ifdef SIGSEGV
83784
 
+  signal (SIGSEGV, exception_handler);
83785
 
+#endif
83786
 
+#ifdef SIGBUS
83787
 
+  signal (SIGBUS, exception_handler);
83788
 
+#endif
83789
 
+}
83790
 
+#endif
83791
 
+
83792
 
+#include <stdio.h>
83793
 
+#include <sys/types.h>
83794
 
+#include <sys/time.h>
83795
 
+#include <sys/resource.h>
83796
 
+#include <errno.h>
83797
 
+int main()
83798
 
+{
83799
 
+  struct rlimit limit;
83800
 
+  int ret;
83801
 
+  nocrash_init ();
83802
 
+  /* Some printf implementations allocate temporary space with malloc.  */
83803
 
+  /* On BSD systems, malloc() is limited by RLIMIT_DATA.  */
83804
 
+#ifdef RLIMIT_DATA
83805
 
+  if (getrlimit (RLIMIT_DATA, &limit) < 0)
83806
 
+    return 77;
83807
 
+  if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
83808
 
+    limit.rlim_max = 5000000;
83809
 
+  limit.rlim_cur = limit.rlim_max;
83810
 
+  if (setrlimit (RLIMIT_DATA, &limit) < 0)
83811
 
+    return 77;
83812
 
+#endif
83813
 
+  /* On Linux systems, malloc() is limited by RLIMIT_AS.  */
83814
 
+#ifdef RLIMIT_AS
83815
 
+  if (getrlimit (RLIMIT_AS, &limit) < 0)
83816
 
+    return 77;
83817
 
+  if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
83818
 
+    limit.rlim_max = 5000000;
83819
 
+  limit.rlim_cur = limit.rlim_max;
83820
 
+  if (setrlimit (RLIMIT_AS, &limit) < 0)
83821
 
+    return 77;
83822
 
+#endif
83823
 
+  /* Some printf implementations allocate temporary space on the stack.  */
83824
 
+#ifdef RLIMIT_STACK
83825
 
+  if (getrlimit (RLIMIT_STACK, &limit) < 0)
83826
 
+    return 77;
83827
 
+  if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
83828
 
+    limit.rlim_max = 5000000;
83829
 
+  limit.rlim_cur = limit.rlim_max;
83830
 
+  if (setrlimit (RLIMIT_STACK, &limit) < 0)
83831
 
+    return 77;
83832
 
+#endif
83833
 
+  ret = printf ("%.5000000f", 1.0);
83834
 
+  return !(ret == 5000002 || (ret < 0 && errno == ENOMEM));
83835
 
+}
83836
 
+          
83837
 
+_ACEOF
83838
 
+          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
83839
 
+  (eval $ac_link) 2>&5
83840
 
+  ac_status=$?
83841
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
83842
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
83843
 
+            (./conftest
83844
 
+             result=$?
83845
 
+             if test $result != 0 && test $result != 77; then result=1; fi
83846
 
+             exit $result
83847
 
+            ) >/dev/null 2>/dev/null
83848
 
+            case $? in
83849
 
+              0) gl_cv_func_printf_enomem="yes" ;;
83850
 
+              77) gl_cv_func_printf_enomem="guessing no" ;;
83851
 
+              *) gl_cv_func_printf_enomem="no" ;;
83852
 
+            esac
83853
 
+          else
83854
 
+            gl_cv_func_printf_enomem="guessing no"
83855
 
+          fi
83856
 
+          rm -fr conftest*
83857
 
+        else
83858
 
+                                        gl_cv_func_printf_enomem="guessing no"
83859
 
+        fi
83860
 
+      fi
83861
 
+      if test "$gl_cv_func_printf_enomem" = "guessing no"; then
83862
 
+        case "$host_os" in
83863
 
+                    # Guess yes on glibc systems.
83864
 
+          *-gnu*)   gl_cv_func_printf_enomem="guessing yes";;
83865
 
+                    # Guess yes on Solaris.
83866
 
+          solaris*) gl_cv_func_printf_enomem="guessing yes";;
83867
 
+                    # Guess yes on AIX.
83868
 
+          aix*)     gl_cv_func_printf_enomem="guessing yes";;
83869
 
+                    # Guess yes on HP-UX/hppa.
83870
 
+          hpux*)    case "$host_cpu" in
83871
 
+                      hppa*) gl_cv_func_printf_enomem="guessing yes";;
83872
 
+                      *)     gl_cv_func_printf_enomem="guessing no";;
83873
 
+                    esac
83874
 
+                    ;;
83875
 
+                    # Guess yes on IRIX.
83876
 
+          irix*)    gl_cv_func_printf_enomem="guessing yes";;
83877
 
+                    # Guess yes on OSF/1.
83878
 
+          osf*)     gl_cv_func_printf_enomem="guessing yes";;
83879
 
+                    # Guess yes on BeOS.
83880
 
+          beos*)    gl_cv_func_printf_enomem="guessing yes";;
83881
 
+                    # Guess yes on Haiku.
83882
 
+          haiku*)   gl_cv_func_printf_enomem="guessing yes";;
83883
 
+                    # If we don't know, assume the worst.
83884
 
+          *)        gl_cv_func_printf_enomem="guessing no";;
83885
 
+        esac
83886
 
+      fi
83887
 
+    
83888
 
+fi
83889
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_enomem" >&5
83890
 
+$as_echo "$gl_cv_func_printf_enomem" >&6; }
83891
 
+
83892
 
+
83893
 
+  
83894
 
+  case "$gl_cv_func_printf_long_double" in
83895
 
+    *yes)
83896
 
+      ;;
83897
 
+    *)
83898
 
+      
83899
 
+$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
83900
 
+
83901
 
+      ;;
83902
 
+  esac
83903
 
+
83904
 
+
83905
 
+
83906
 
+
83907
 
+
83908
 
+
83909
 
+  
83910
 
+   
83911
 
+    
83912
 
+
83913
 
+  
83914
 
+  
83915
 
+
83916
 
+  
83917
 
+  
83918
 
+
83919
 
+  ac_fn_c_check_decl "$LINENO" "wcwidth" "ac_cv_have_decl_wcwidth" "
83920
 
+/* AIX 3.2.5 declares wcwidth in <string.h>. */
83921
 
+#include <string.h>
83922
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
83923
 
+   <wchar.h>.
83924
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
83925
 
+   before <wchar.h>.  */
83926
 
+#include <stddef.h>
83927
 
+#include <stdio.h>
83928
 
+#include <time.h>
83929
 
+#include <wchar.h>
83930
 
+
83931
 
+"
83932
 
+if test "x$ac_cv_have_decl_wcwidth" = xyes; then :
83933
 
+  ac_have_decl=1
83934
 
+else
83935
 
+  ac_have_decl=0
83936
 
+fi
83937
 
+
83938
 
+cat >>confdefs.h <<_ACEOF
83939
 
+@%:@define HAVE_DECL_WCWIDTH $ac_have_decl
83940
 
+_ACEOF
83941
 
+
83942
 
+  if test $ac_cv_have_decl_wcwidth != yes; then
83943
 
+    HAVE_DECL_WCWIDTH=0
83944
 
+  fi
83945
 
+
83946
 
+  if test $ac_cv_func_wcwidth = yes; then
83947
 
+    HAVE_WCWIDTH=1
83948
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcwidth works reasonably in UTF-8 locales" >&5
83949
 
+$as_echo_n "checking whether wcwidth works reasonably in UTF-8 locales... " >&6; }
83950
 
+if ${gl_cv_func_wcwidth_works+:} false; then :
83951
 
+  $as_echo_n "(cached) " >&6
83952
 
+else
83953
 
+  
83954
 
+        if test "$cross_compiling" = yes; then :
83955
 
+  
83956
 
+           case "$host_os" in
83957
 
+                     # Guess yes on glibc and AIX 7 systems.
83958
 
+             *-gnu* | aix[7-9]*) gl_cv_func_wcwidth_works="guessing yes";;
83959
 
+             *)                  gl_cv_func_wcwidth_works="guessing no";;
83960
 
+           esac
83961
 
+          
83962
 
+else
83963
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83964
 
+/* end confdefs.h.  */
83965
 
+
83966
 
+#include <locale.h>
83967
 
+/* AIX 3.2.5 declares wcwidth in <string.h>. */
83968
 
+#include <string.h>
83969
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
83970
 
+   <wchar.h>.
83971
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
83972
 
+   before <wchar.h>.  */
83973
 
+#include <stddef.h>
83974
 
+#include <stdio.h>
83975
 
+#include <time.h>
83976
 
+#include <wchar.h>
83977
 
+#if !HAVE_DECL_WCWIDTH
83978
 
+extern
83979
 
+# ifdef __cplusplus
83980
 
+"C"
83981
 
+# endif
83982
 
+int wcwidth (int);
83983
 
+#endif
83984
 
+int main ()
83985
 
+{
83986
 
+  int result = 0;
83987
 
+  if (setlocale (LC_ALL, "fr_FR.UTF-8") != NULL)
83988
 
+    {
83989
 
+      if (wcwidth (0x0301) > 0)
83990
 
+        result |= 1;
83991
 
+      if (wcwidth (0x200B) > 0)
83992
 
+        result |= 2;
83993
 
+    }
83994
 
+  return result;
83995
 
+}
83996
 
+_ACEOF
83997
 
+if ac_fn_c_try_run "$LINENO"; then :
83998
 
+  gl_cv_func_wcwidth_works=yes
83999
 
+else
84000
 
+  gl_cv_func_wcwidth_works=no
84001
 
+fi
84002
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
84003
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
84004
 
+fi
84005
 
+
84006
 
+      
84007
 
+fi
84008
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcwidth_works" >&5
84009
 
+$as_echo "$gl_cv_func_wcwidth_works" >&6; }
84010
 
+    case "$gl_cv_func_wcwidth_works" in
84011
 
+      *yes) ;;
84012
 
+      *no) REPLACE_WCWIDTH=1 ;;
84013
 
+    esac
84014
 
+  else
84015
 
+    HAVE_WCWIDTH=0
84016
 
+  fi
84017
 
+    
84018
 
+
84019
 
+
84020
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX termios" >&5
84021
 
+$as_echo_n "checking POSIX termios... " >&6; }
84022
 
+if ${ac_cv_sys_posix_termios+:} false; then :
84023
 
+  $as_echo_n "(cached) " >&6
84024
 
+else
84025
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84026
 
+/* end confdefs.h.  */
84027
 
+#include <sys/types.h>
84028
 
+#include <unistd.h>
84029
 
+#include <termios.h>
84030
 
+
84031
 
+int
84032
 
+main ()
84033
 
+{
84034
 
+/* SunOS 4.0.3 has termios.h but not the library calls.  */
84035
 
+   tcgetattr(0, 0);
84036
 
+  ;
84037
 
+  return 0;
84038
 
+}
84039
 
+_ACEOF
84040
 
+if ac_fn_c_try_link "$LINENO"; then :
84041
 
+  ac_cv_sys_posix_termios=yes
84042
 
+else
84043
 
+  ac_cv_sys_posix_termios=no
84044
 
+fi
84045
 
+rm -f core conftest.err conftest.$ac_objext \
84046
 
+    conftest$ac_exeext conftest.$ac_ext
84047
 
+fi
84048
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_posix_termios" >&5
84049
 
+$as_echo "$ac_cv_sys_posix_termios" >&6; }
84050
 
+
84051
 
+
84052
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use of TIOCGWINSZ requires termios.h" >&5
84053
 
+$as_echo_n "checking whether use of TIOCGWINSZ requires termios.h... " >&6; }
84054
 
+if ${gl_cv_sys_tiocgwinsz_needs_termios_h+:} false; then :
84055
 
+  $as_echo_n "(cached) " >&6
84056
 
+else
84057
 
+  gl_cv_sys_tiocgwinsz_needs_termios_h=no
84058
 
+
84059
 
+   if test $ac_cv_sys_posix_termios = yes; then
84060
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84061
 
+/* end confdefs.h.  */
84062
 
+#include <sys/types.h>
84063
 
+#      include <termios.h>
84064
 
+#      ifdef TIOCGWINSZ
84065
 
+         yes
84066
 
+#      endif
84067
 
+     
84068
 
+_ACEOF
84069
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
84070
 
+  $EGREP "yes" >/dev/null 2>&1; then :
84071
 
+  gl_cv_sys_tiocgwinsz_needs_termios_h=yes
84072
 
+fi
84073
 
+rm -f conftest*
84074
 
+
84075
 
+   fi
84076
 
+  
84077
 
+fi
84078
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_tiocgwinsz_needs_termios_h" >&5
84079
 
+$as_echo "$gl_cv_sys_tiocgwinsz_needs_termios_h" >&6; }
84080
 
+
84081
 
+ac_fn_c_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default"
84082
 
+if test "x$ac_cv_have_decl_alarm" = xyes; then :
84083
 
+  ac_have_decl=1
84084
 
+else
84085
 
+  ac_have_decl=0
84086
 
+fi
84087
 
+
84088
 
+cat >>confdefs.h <<_ACEOF
84089
 
+@%:@define HAVE_DECL_ALARM $ac_have_decl
84090
 
+_ACEOF
84091
 
+
84092
 
+
84093
 
+
84094
 
+
84095
 
+  
84096
 
+
84097
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ungetc works on arbitrary bytes" >&5
84098
 
+$as_echo_n "checking whether ungetc works on arbitrary bytes... " >&6; }
84099
 
+if ${gl_cv_func_ungetc_works+:} false; then :
84100
 
+  $as_echo_n "(cached) " >&6
84101
 
+else
84102
 
+  if test "$cross_compiling" = yes; then :
84103
 
+  gl_cv_func_ungetc_works='guessing no'
84104
 
+else
84105
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84106
 
+/* end confdefs.h.  */
84107
 
+
84108
 
+#include <stdio.h>
84109
 
+      
84110
 
+int
84111
 
+main ()
84112
 
+{
84113
 
+FILE *f;
84114
 
+           if (!(f = fopen ("conftest.tmp", "w+"))) return 1;
84115
 
+           if (fputs ("abc", f) < 0) return 2;
84116
 
+           rewind (f);
84117
 
+           if (fgetc (f) != 'a') return 3;
84118
 
+           if (fgetc (f) != 'b') return 4;
84119
 
+           if (ungetc ('d', f) != 'd') return 5;
84120
 
+           if (ftell (f) != 1) return 6;
84121
 
+           if (fgetc (f) != 'd') return 7;
84122
 
+           if (ftell (f) != 2) return 8;
84123
 
+           if (fseek (f, 0, SEEK_CUR) != 0) return 9;
84124
 
+           if (ftell (f) != 2) return 10;
84125
 
+           if (fgetc (f) != 'c') return 11;
84126
 
+           fclose (f); remove ("conftest.tmp");
84127
 
+  ;
84128
 
+  return 0;
84129
 
+}
84130
 
+_ACEOF
84131
 
+if ac_fn_c_try_run "$LINENO"; then :
84132
 
+  gl_cv_func_ungetc_works=yes
84133
 
+else
84134
 
+  gl_cv_func_ungetc_works=no
84135
 
+fi
84136
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
84137
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
84138
 
+fi
84139
 
+
84140
 
+    
84141
 
+fi
84142
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ungetc_works" >&5
84143
 
+$as_echo "$gl_cv_func_ungetc_works" >&6; }
84144
 
+  if test "$gl_cv_func_ungetc_works" != yes; then
84145
 
+    
84146
 
+$as_echo "@%:@define FUNC_UNGETC_BROKEN 1" >>confdefs.h
84147
 
+
84148
 
+  fi
84149
 
+
84150
 
+
84151
 
+
84152
 
+
84153
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
84154
 
+$as_echo_n "checking for LC_MESSAGES... " >&6; }
84155
 
+if ${gt_cv_val_LC_MESSAGES+:} false; then :
84156
 
+  $as_echo_n "(cached) " >&6
84157
 
+else
84158
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84159
 
+/* end confdefs.h.  */
84160
 
+#include <locale.h>
84161
 
+int
84162
 
+main ()
84163
 
+{
84164
 
+return LC_MESSAGES
84165
 
+  ;
84166
 
+  return 0;
84167
 
+}
84168
 
+_ACEOF
84169
 
+if ac_fn_c_try_link "$LINENO"; then :
84170
 
+  gt_cv_val_LC_MESSAGES=yes
84171
 
+else
84172
 
+  gt_cv_val_LC_MESSAGES=no
84173
 
+fi
84174
 
+rm -f core conftest.err conftest.$ac_objext \
84175
 
+    conftest$ac_exeext conftest.$ac_ext
84176
 
+fi
84177
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5
84178
 
+$as_echo "$gt_cv_val_LC_MESSAGES" >&6; }
84179
 
+  if test $gt_cv_val_LC_MESSAGES = yes; then
84180
 
+    
84181
 
+$as_echo "@%:@define HAVE_LC_MESSAGES 1" >>confdefs.h
84182
 
+
84183
 
+  fi
84184
 
+
84185
 
+
84186
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
84187
 
+$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
84188
 
+if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
84189
 
+  $as_echo_n "(cached) " >&6
84190
 
+else
84191
 
+  gt_save_LIBS="$LIBS"
84192
 
+     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
84193
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84194
 
+/* end confdefs.h.  */
84195
 
+#include <CoreFoundation/CFPreferences.h>
84196
 
+int
84197
 
+main ()
84198
 
+{
84199
 
+CFPreferencesCopyAppValue(NULL, NULL)
84200
 
+  ;
84201
 
+  return 0;
84202
 
+}
84203
 
+_ACEOF
84204
 
+if ac_fn_c_try_link "$LINENO"; then :
84205
 
+  gt_cv_func_CFPreferencesCopyAppValue=yes
84206
 
+else
84207
 
+  gt_cv_func_CFPreferencesCopyAppValue=no
84208
 
+fi
84209
 
+rm -f core conftest.err conftest.$ac_objext \
84210
 
+    conftest$ac_exeext conftest.$ac_ext
84211
 
+     LIBS="$gt_save_LIBS"
84212
 
+fi
84213
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
84214
 
+$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
84215
 
+  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
84216
 
+    
84217
 
+$as_echo "@%:@define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
84218
 
+
84219
 
+  fi
84220
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
84221
 
+$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
84222
 
+if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
84223
 
+  $as_echo_n "(cached) " >&6
84224
 
+else
84225
 
+  gt_save_LIBS="$LIBS"
84226
 
+     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
84227
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84228
 
+/* end confdefs.h.  */
84229
 
+#include <CoreFoundation/CFLocale.h>
84230
 
+int
84231
 
+main ()
84232
 
+{
84233
 
+CFLocaleCopyCurrent();
84234
 
+  ;
84235
 
+  return 0;
84236
 
+}
84237
 
+_ACEOF
84238
 
+if ac_fn_c_try_link "$LINENO"; then :
84239
 
+  gt_cv_func_CFLocaleCopyCurrent=yes
84240
 
+else
84241
 
+  gt_cv_func_CFLocaleCopyCurrent=no
84242
 
+fi
84243
 
+rm -f core conftest.err conftest.$ac_objext \
84244
 
+    conftest$ac_exeext conftest.$ac_ext
84245
 
+     LIBS="$gt_save_LIBS"
84246
 
+fi
84247
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
84248
 
+$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
84249
 
+  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
84250
 
+    
84251
 
+$as_echo "@%:@define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
84252
 
+
84253
 
+  fi
84254
 
+  INTL_MACOSX_LIBS=
84255
 
+  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
84256
 
+    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
84257
 
+  fi
84258
 
+  
84259
 
+
84260
 
+ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
84261
 
+if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
84262
 
+  ac_have_decl=1
84263
 
+else
84264
 
+  ac_have_decl=0
84265
 
+fi
84266
 
+
84267
 
+cat >>confdefs.h <<_ACEOF
84268
 
+@%:@define HAVE_DECL_STRERROR_R $ac_have_decl
84269
 
+_ACEOF
84270
 
+
84271
 
+
84272
 
+  
84273
 
+  
84274
 
+
84275
 
+    
84276
 
+
84277
 
+      
84278
 
+  if test $ac_cv_have_decl_strerror_r = no; then
84279
 
+    HAVE_DECL_STRERROR_R=0
84280
 
+  fi
84281
 
+
84282
 
+  if test $ac_cv_func_strerror_r = yes; then
84283
 
+    if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
84284
 
+      if test $gl_cv_func_strerror_r_posix_signature = yes; then
84285
 
+        case "$gl_cv_func_strerror_r_works" in
84286
 
+                    *no) REPLACE_STRERROR_R=1 ;;
84287
 
+        esac
84288
 
+      else
84289
 
+                REPLACE_STRERROR_R=1
84290
 
+      fi
84291
 
+    else
84292
 
+                  REPLACE_STRERROR_R=1
84293
 
+    fi
84294
 
+  fi
84295
 
+
84296
 
+
84297
 
+
84298
 
+
84299
 
+
84300
 
+
84301
 
+
84302
 
+
84303
 
+
84304
 
+
84305
 
+
84306
 
+
84307
 
+
84308
 
+
84309
 
+   if false; then
84310
 
+  GL_COND_LIBTOOL_TRUE=
84311
 
+  GL_COND_LIBTOOL_FALSE='#'
84312
 
+else
84313
 
+  GL_COND_LIBTOOL_TRUE='#'
84314
 
+  GL_COND_LIBTOOL_FALSE=
84315
 
+fi
84316
 
+
84317
 
+  gl_cond_libtool=false
84318
 
+  gl_libdeps=
84319
 
+  gl_ltlibdeps=
84320
 
+  gl_m4_base='m4'
84321
 
+  
84322
 
+  
84323
 
+  
84324
 
+  
84325
 
+  
84326
 
+  
84327
 
+    
84328
 
+  
84329
 
+
84330
 
+  gl_source_base='lib'
84331
 
+
84332
 
+  @%:@ Check whether --enable-acl was given.
84333
 
+if test "${enable_acl+set}" = set; then :
84334
 
+  enableval=$enable_acl; 
84335
 
+else
84336
 
+  enable_acl=auto
84337
 
+fi
84338
 
+
84339
 
+
84340
 
+  LIB_ACL=
84341
 
+  use_acl=0
84342
 
+  
84343
 
+  if test "x$enable_acl" != "xno"; then
84344
 
+        for ac_header in sys/acl.h
84345
 
+do :
84346
 
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/acl.h" "ac_cv_header_sys_acl_h" "$ac_includes_default"
84347
 
+if test "x$ac_cv_header_sys_acl_h" = xyes; then :
84348
 
+  cat >>confdefs.h <<_ACEOF
84349
 
+@%:@define HAVE_SYS_ACL_H 1
84350
 
+_ACEOF
84351
 
84352
 
+fi
84353
 
+
84354
 
+done
84355
 
+
84356
 
+    if test $ac_cv_header_sys_acl_h = yes; then
84357
 
+      ac_save_LIBS=$LIBS
84358
 
+
84359
 
+                  if test $use_acl = 0; then
84360
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing acl_get_file" >&5
84361
 
+$as_echo_n "checking for library containing acl_get_file... " >&6; }
84362
 
+if ${ac_cv_search_acl_get_file+:} false; then :
84363
 
+  $as_echo_n "(cached) " >&6
84364
 
+else
84365
 
+  ac_func_search_save_LIBS=$LIBS
84366
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84367
 
+/* end confdefs.h.  */
84368
 
+
84369
 
+/* Override any GCC internal prototype to avoid an error.
84370
 
+   Use char because int might match the return type of a GCC
84371
 
+   builtin and then its argument prototype would still apply.  */
84372
 
+#ifdef __cplusplus
84373
 
+extern "C"
84374
 
+#endif
84375
 
+char acl_get_file ();
84376
 
+int
84377
 
+main ()
84378
 
+{
84379
 
+return acl_get_file ();
84380
 
+  ;
84381
 
+  return 0;
84382
 
+}
84383
 
+_ACEOF
84384
 
+for ac_lib in '' acl pacl; do
84385
 
+  if test -z "$ac_lib"; then
84386
 
+    ac_res="none required"
84387
 
+  else
84388
 
+    ac_res=-l$ac_lib
84389
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
84390
 
+  fi
84391
 
+  if ac_fn_c_try_link "$LINENO"; then :
84392
 
+  ac_cv_search_acl_get_file=$ac_res
84393
 
+fi
84394
 
+rm -f core conftest.err conftest.$ac_objext \
84395
 
+    conftest$ac_exeext
84396
 
+  if ${ac_cv_search_acl_get_file+:} false; then :
84397
 
+  break
84398
 
+fi
84399
 
+done
84400
 
+if ${ac_cv_search_acl_get_file+:} false; then :
84401
 
+  
84402
 
+else
84403
 
+  ac_cv_search_acl_get_file=no
84404
 
+fi
84405
 
+rm conftest.$ac_ext
84406
 
+LIBS=$ac_func_search_save_LIBS
84407
 
+fi
84408
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_acl_get_file" >&5
84409
 
+$as_echo "$ac_cv_search_acl_get_file" >&6; }
84410
 
+ac_res=$ac_cv_search_acl_get_file
84411
 
+if test "$ac_res" != no; then :
84412
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
84413
 
+  if test "$ac_cv_search_acl_get_file" != "none required"; then
84414
 
+             LIB_ACL=$ac_cv_search_acl_get_file
84415
 
+           fi
84416
 
+           for ac_func in acl_get_file acl_get_fd acl_set_file acl_set_fd \
84417
 
+              acl_free acl_from_mode acl_from_text \
84418
 
+              acl_delete_def_file acl_extended_file acl_extended_file_nofollow \
84419
 
+              acl_delete_fd_np acl_delete_file_np \
84420
 
+              acl_copy_ext_native acl_create_entry_np \
84421
 
+              acl_to_short_text acl_free_text
84422
 
+do :
84423
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
84424
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
84425
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
84426
 
+  cat >>confdefs.h <<_ACEOF
84427
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
84428
 
+_ACEOF
84429
 
84430
 
+fi
84431
 
+done
84432
 
+
84433
 
+           # If the acl_get_file bug is detected, don't enable the ACL support.
84434
 
+           
84435
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working acl_get_file" >&5
84436
 
+$as_echo_n "checking for working acl_get_file... " >&6; }
84437
 
+if ${gl_cv_func_working_acl_get_file+:} false; then :
84438
 
+  $as_echo_n "(cached) " >&6
84439
 
+else
84440
 
+  if test "$cross_compiling" = yes; then :
84441
 
+  gl_cv_func_working_acl_get_file=cross-compiling
84442
 
+else
84443
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84444
 
+/* end confdefs.h.  */
84445
 
+#include <sys/types.h>
84446
 
+           #include <sys/acl.h>
84447
 
+           #include <errno.h>
84448
 
+          
84449
 
+int
84450
 
+main ()
84451
 
+{
84452
 
+if (!acl_get_file (".", ACL_TYPE_ACCESS) && errno == ENOENT)
84453
 
+              return 1;
84454
 
+            return 0;
84455
 
+          
84456
 
+  ;
84457
 
+  return 0;
84458
 
+}
84459
 
+_ACEOF
84460
 
+if ac_fn_c_try_run "$LINENO"; then :
84461
 
+  gl_cv_func_working_acl_get_file=yes
84462
 
+else
84463
 
+  gl_cv_func_working_acl_get_file=no
84464
 
+fi
84465
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
84466
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
84467
 
+fi
84468
 
+
84469
 
+fi
84470
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_acl_get_file" >&5
84471
 
+$as_echo "$gl_cv_func_working_acl_get_file" >&6; }
84472
 
+
84473
 
+  if test $gl_cv_func_working_acl_get_file = yes; then :
84474
 
+  use_acl=1
84475
 
+fi
84476
 
+
84477
 
+           if test $use_acl = 1; then
84478
 
+                          for ac_header in acl/libacl.h
84479
 
+do :
84480
 
+  ac_fn_c_check_header_mongrel "$LINENO" "acl/libacl.h" "ac_cv_header_acl_libacl_h" "$ac_includes_default"
84481
 
+if test "x$ac_cv_header_acl_libacl_h" = xyes; then :
84482
 
+  cat >>confdefs.h <<_ACEOF
84483
 
+@%:@define HAVE_ACL_LIBACL_H 1
84484
 
+_ACEOF
84485
 
84486
 
+fi
84487
 
+
84488
 
+done
84489
 
+
84490
 
+             
84491
 
+  
84492
 
+  
84493
 
+    
84494
 
+      
84495
 
+      
84496
 
+    
84497
 
+  
84498
 
+  for ac_func in acl_entries
84499
 
+do :
84500
 
+  ac_fn_c_check_func "$LINENO" "acl_entries" "ac_cv_func_acl_entries"
84501
 
+if test "x$ac_cv_func_acl_entries" = xyes; then :
84502
 
+  cat >>confdefs.h <<_ACEOF
84503
 
+@%:@define HAVE_ACL_ENTRIES 1
84504
 
+_ACEOF
84505
 
84506
 
+else
84507
 
+  
84508
 
+    gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext"
84509
 
+
84510
 
+fi
84511
 
+done
84512
 
+
84513
 
+
84514
 
+             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ACL_FIRST_ENTRY" >&5
84515
 
+$as_echo_n "checking for ACL_FIRST_ENTRY... " >&6; }
84516
 
+if ${gl_cv_acl_ACL_FIRST_ENTRY+:} false; then :
84517
 
+  $as_echo_n "(cached) " >&6
84518
 
+else
84519
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84520
 
+/* end confdefs.h.  */
84521
 
+#include <sys/types.h>
84522
 
+#include <sys/acl.h>
84523
 
+int type = ACL_FIRST_ENTRY;
84524
 
+int
84525
 
+main ()
84526
 
+{
84527
 
+
84528
 
+  ;
84529
 
+  return 0;
84530
 
+}
84531
 
+_ACEOF
84532
 
+if ac_fn_c_try_compile "$LINENO"; then :
84533
 
+  gl_cv_acl_ACL_FIRST_ENTRY=yes
84534
 
+else
84535
 
+  gl_cv_acl_ACL_FIRST_ENTRY=no
84536
 
+fi
84537
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
84538
 
+fi
84539
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_acl_ACL_FIRST_ENTRY" >&5
84540
 
+$as_echo "$gl_cv_acl_ACL_FIRST_ENTRY" >&6; }
84541
 
+             if test $gl_cv_acl_ACL_FIRST_ENTRY = yes; then
84542
 
+               
84543
 
+$as_echo "@%:@define HAVE_ACL_FIRST_ENTRY 1" >>confdefs.h
84544
 
+
84545
 
+             fi
84546
 
+                          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ACL_TYPE_EXTENDED" >&5
84547
 
+$as_echo_n "checking for ACL_TYPE_EXTENDED... " >&6; }
84548
 
+if ${gl_cv_acl_ACL_TYPE_EXTENDED+:} false; then :
84549
 
+  $as_echo_n "(cached) " >&6
84550
 
+else
84551
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84552
 
+/* end confdefs.h.  */
84553
 
+#include <sys/types.h>
84554
 
+#include <sys/acl.h>
84555
 
+int type = ACL_TYPE_EXTENDED;
84556
 
+int
84557
 
+main ()
84558
 
+{
84559
 
+
84560
 
+  ;
84561
 
+  return 0;
84562
 
+}
84563
 
+_ACEOF
84564
 
+if ac_fn_c_try_compile "$LINENO"; then :
84565
 
+  gl_cv_acl_ACL_TYPE_EXTENDED=yes
84566
 
+else
84567
 
+  gl_cv_acl_ACL_TYPE_EXTENDED=no
84568
 
+fi
84569
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
84570
 
+fi
84571
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_acl_ACL_TYPE_EXTENDED" >&5
84572
 
+$as_echo "$gl_cv_acl_ACL_TYPE_EXTENDED" >&6; }
84573
 
+             if test $gl_cv_acl_ACL_TYPE_EXTENDED = yes; then
84574
 
+               
84575
 
+$as_echo "@%:@define HAVE_ACL_TYPE_EXTENDED 1" >>confdefs.h
84576
 
+
84577
 
+             fi
84578
 
+           else
84579
 
+             LIB_ACL=
84580
 
+           fi
84581
 
+          
84582
 
+fi
84583
 
+
84584
 
+      fi
84585
 
+
84586
 
+            if test $use_acl = 0; then
84587
 
+        for ac_func in facl
84588
 
+do :
84589
 
+  ac_fn_c_check_func "$LINENO" "facl" "ac_cv_func_facl"
84590
 
+if test "x$ac_cv_func_facl" = xyes; then :
84591
 
+  cat >>confdefs.h <<_ACEOF
84592
 
+@%:@define HAVE_FACL 1
84593
 
+_ACEOF
84594
 
84595
 
+fi
84596
 
+done
84597
 
+
84598
 
+        if test $ac_cv_func_facl = yes; then
84599
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing acl_trivial" >&5
84600
 
+$as_echo_n "checking for library containing acl_trivial... " >&6; }
84601
 
+if ${ac_cv_search_acl_trivial+:} false; then :
84602
 
+  $as_echo_n "(cached) " >&6
84603
 
+else
84604
 
+  ac_func_search_save_LIBS=$LIBS
84605
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84606
 
+/* end confdefs.h.  */
84607
 
+
84608
 
+/* Override any GCC internal prototype to avoid an error.
84609
 
+   Use char because int might match the return type of a GCC
84610
 
+   builtin and then its argument prototype would still apply.  */
84611
 
+#ifdef __cplusplus
84612
 
+extern "C"
84613
 
+#endif
84614
 
+char acl_trivial ();
84615
 
+int
84616
 
+main ()
84617
 
+{
84618
 
+return acl_trivial ();
84619
 
+  ;
84620
 
+  return 0;
84621
 
+}
84622
 
+_ACEOF
84623
 
+for ac_lib in '' sec; do
84624
 
+  if test -z "$ac_lib"; then
84625
 
+    ac_res="none required"
84626
 
+  else
84627
 
+    ac_res=-l$ac_lib
84628
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
84629
 
+  fi
84630
 
+  if ac_fn_c_try_link "$LINENO"; then :
84631
 
+  ac_cv_search_acl_trivial=$ac_res
84632
 
+fi
84633
 
+rm -f core conftest.err conftest.$ac_objext \
84634
 
+    conftest$ac_exeext
84635
 
+  if ${ac_cv_search_acl_trivial+:} false; then :
84636
 
+  break
84637
 
+fi
84638
 
+done
84639
 
+if ${ac_cv_search_acl_trivial+:} false; then :
84640
 
+  
84641
 
+else
84642
 
+  ac_cv_search_acl_trivial=no
84643
 
+fi
84644
 
+rm conftest.$ac_ext
84645
 
+LIBS=$ac_func_search_save_LIBS
84646
 
+fi
84647
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_acl_trivial" >&5
84648
 
+$as_echo "$ac_cv_search_acl_trivial" >&6; }
84649
 
+ac_res=$ac_cv_search_acl_trivial
84650
 
+if test "$ac_res" != no; then :
84651
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
84652
 
+  if test "$ac_cv_search_acl_trivial" != "none required"; then
84653
 
+               LIB_ACL=$ac_cv_search_acl_trivial
84654
 
+             fi
84655
 
+            
84656
 
+fi
84657
 
+
84658
 
+          for ac_func in acl_trivial
84659
 
+do :
84660
 
+  ac_fn_c_check_func "$LINENO" "acl_trivial" "ac_cv_func_acl_trivial"
84661
 
+if test "x$ac_cv_func_acl_trivial" = xyes; then :
84662
 
+  cat >>confdefs.h <<_ACEOF
84663
 
+@%:@define HAVE_ACL_TRIVIAL 1
84664
 
+_ACEOF
84665
 
84666
 
+fi
84667
 
+done
84668
 
+
84669
 
+          use_acl=1
84670
 
+        fi
84671
 
+      fi
84672
 
+
84673
 
+            if test $use_acl = 0; then
84674
 
+        for ac_func in getacl
84675
 
+do :
84676
 
+  ac_fn_c_check_func "$LINENO" "getacl" "ac_cv_func_getacl"
84677
 
+if test "x$ac_cv_func_getacl" = xyes; then :
84678
 
+  cat >>confdefs.h <<_ACEOF
84679
 
+@%:@define HAVE_GETACL 1
84680
 
+_ACEOF
84681
 
84682
 
+fi
84683
 
+done
84684
 
+
84685
 
+        if test $ac_cv_func_getacl = yes; then
84686
 
+          use_acl=1
84687
 
+        fi
84688
 
+                for ac_header in aclv.h
84689
 
+do :
84690
 
+  ac_fn_c_check_header_compile "$LINENO" "aclv.h" "ac_cv_header_aclv_h" "#include <sys/types.h>
84691
 
+"
84692
 
+if test "x$ac_cv_header_aclv_h" = xyes; then :
84693
 
+  cat >>confdefs.h <<_ACEOF
84694
 
+@%:@define HAVE_ACLV_H 1
84695
 
+_ACEOF
84696
 
84697
 
+fi
84698
 
+
84699
 
+done
84700
 
+
84701
 
+      fi
84702
 
+
84703
 
+            if test $use_acl = 0; then
84704
 
+        for ac_func in aclx_get
84705
 
+do :
84706
 
+  ac_fn_c_check_func "$LINENO" "aclx_get" "ac_cv_func_aclx_get"
84707
 
+if test "x$ac_cv_func_aclx_get" = xyes; then :
84708
 
+  cat >>confdefs.h <<_ACEOF
84709
 
+@%:@define HAVE_ACLX_GET 1
84710
 
+_ACEOF
84711
 
84712
 
+fi
84713
 
+done
84714
 
+
84715
 
+        if test $ac_cv_func_aclx_get = yes; then
84716
 
+          use_acl=1
84717
 
+        fi
84718
 
+      fi
84719
 
+
84720
 
+            if test $use_acl = 0 || test "$ac_cv_func_aclx_get" = yes; then
84721
 
+        for ac_func in statacl
84722
 
+do :
84723
 
+  ac_fn_c_check_func "$LINENO" "statacl" "ac_cv_func_statacl"
84724
 
+if test "x$ac_cv_func_statacl" = xyes; then :
84725
 
+  cat >>confdefs.h <<_ACEOF
84726
 
+@%:@define HAVE_STATACL 1
84727
 
+_ACEOF
84728
 
84729
 
+fi
84730
 
+done
84731
 
+
84732
 
+        if test $ac_cv_func_statacl = yes; then
84733
 
+          use_acl=1
84734
 
+        fi
84735
 
+      fi
84736
 
+
84737
 
+            if test $use_acl = 0; then
84738
 
+        for ac_func in aclsort
84739
 
+do :
84740
 
+  ac_fn_c_check_func "$LINENO" "aclsort" "ac_cv_func_aclsort"
84741
 
+if test "x$ac_cv_func_aclsort" = xyes; then :
84742
 
+  cat >>confdefs.h <<_ACEOF
84743
 
+@%:@define HAVE_ACLSORT 1
84744
 
+_ACEOF
84745
 
84746
 
+fi
84747
 
+done
84748
 
+
84749
 
+        if test $ac_cv_func_aclsort = yes; then
84750
 
+          use_acl=1
84751
 
+        fi
84752
 
+      fi
84753
 
+
84754
 
+      LIBS=$ac_save_LIBS
84755
 
+    fi
84756
 
+    if test "x$enable_acl$use_acl" = "xyes0"; then
84757
 
+      as_fn_error $? "ACLs enabled but support not detected" "$LINENO" 5
84758
 
+    elif test "x$enable_acl$use_acl" = "xauto0"; then
84759
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libacl development library was not found or not usable." >&5
84760
 
+$as_echo "$as_me: WARNING: libacl development library was not found or not usable." >&2;}
84761
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU coreutils will be built without ACL support." >&5
84762
 
+$as_echo "$as_me: WARNING: GNU coreutils will be built without ACL support." >&2;}
84763
 
+    fi
84764
 
+  fi
84765
 
+  
84766
 
+  
84767
 
+cat >>confdefs.h <<_ACEOF
84768
 
+@%:@define USE_ACL $use_acl
84769
 
+_ACEOF
84770
 
+
84771
 
+  USE_ACL=$use_acl
84772
 
+  
84773
 
+
84774
 
+
84775
 
+  
84776
 
+  if test $ac_cv_func_alloca_works = no; then
84777
 
+    :
84778
 
+  fi
84779
 
+
84780
 
+  # Define an additional variable used in the Makefile substitution.
84781
 
+  if test $ac_cv_working_alloca_h = yes; then
84782
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5
84783
 
+$as_echo_n "checking for alloca as a compiler built-in... " >&6; }
84784
 
+if ${gl_cv_rpl_alloca+:} false; then :
84785
 
+  $as_echo_n "(cached) " >&6
84786
 
+else
84787
 
+  
84788
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84789
 
+/* end confdefs.h.  */
84790
 
+
84791
 
+#if defined __GNUC__ || defined _AIX || defined _MSC_VER
84792
 
+        Need own alloca
84793
 
+#endif
84794
 
+        
84795
 
+_ACEOF
84796
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
84797
 
+  $EGREP "Need own alloca" >/dev/null 2>&1; then :
84798
 
+  gl_cv_rpl_alloca=yes
84799
 
+else
84800
 
+  gl_cv_rpl_alloca=no
84801
 
+fi
84802
 
+rm -f conftest*
84803
 
+
84804
 
+    
84805
 
+fi
84806
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5
84807
 
+$as_echo "$gl_cv_rpl_alloca" >&6; }
84808
 
+    if test $gl_cv_rpl_alloca = yes; then
84809
 
+            
84810
 
+$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
84811
 
+
84812
 
+      ALLOCA_H=alloca.h
84813
 
+    else
84814
 
+                  ALLOCA_H=
84815
 
+    fi
84816
 
+  else
84817
 
+    ALLOCA_H=alloca.h
84818
 
+  fi
84819
 
+  
84820
 
+   if test -n "$ALLOCA_H"; then
84821
 
+  GL_GENERATE_ALLOCA_H_TRUE=
84822
 
+  GL_GENERATE_ALLOCA_H_FALSE='#'
84823
 
+else
84824
 
+  GL_GENERATE_ALLOCA_H_TRUE='#'
84825
 
+  GL_GENERATE_ALLOCA_H_FALSE=
84826
 
+fi
84827
 
+
84828
 
+
84829
 
+
84830
 
+  
84831
 
+cat >>confdefs.h <<_ACEOF
84832
 
+@%:@define GNULIB_AREADLINKAT 1
84833
 
+_ACEOF
84834
 
+
84835
 
+
84836
 
+
84837
 
+      
84838
 
+
84839
 
+  
84840
 
+  if test $ac_cv_header_arpa_inet_h = yes; then
84841
 
+    HAVE_ARPA_INET_H=1
84842
 
+  else
84843
 
+    HAVE_ARPA_INET_H=0
84844
 
+  fi
84845
 
+  
84846
 
+    
84847
 
+  
84848
 
+  
84849
 
+  
84850
 
+
84851
 
+  
84852
 
+    
84853
 
+
84854
 
+  
84855
 
+     if test $gl_cv_have_include_next = yes; then
84856
 
+       gl_cv_next_arpa_inet_h='<'arpa/inet.h'>'
84857
 
+     else
84858
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <arpa/inet.h>" >&5
84859
 
+$as_echo_n "checking absolute name of <arpa/inet.h>... " >&6; }
84860
 
+if ${gl_cv_next_arpa_inet_h+:} false; then :
84861
 
+  $as_echo_n "(cached) " >&6
84862
 
+else
84863
 
+  
84864
 
+             if test $ac_cv_header_arpa_inet_h = yes; then
84865
 
+             
84866
 
+            
84867
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84868
 
+/* end confdefs.h.  */
84869
 
+#include <arpa/inet.h>
84870
 
+                  
84871
 
+_ACEOF
84872
 
+                                                                                                                        case "$host_os" in
84873
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
84874
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
84875
 
+               esac
84876
 
+                                                            gl_cv_next_arpa_inet_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
84877
 
+                  sed -n '\#/arpa/inet.h#{
84878
 
+                    s#.*"\(.*/arpa/inet.h\)".*#\1#
84879
 
+                    s#^/[^/]#//&#
84880
 
+                    p
84881
 
+                    q
84882
 
+                  }'`'"'
84883
 
+          else
84884
 
+               gl_cv_next_arpa_inet_h='<'arpa/inet.h'>'
84885
 
+             fi
84886
 
+            
84887
 
+         
84888
 
+fi
84889
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_arpa_inet_h" >&5
84890
 
+$as_echo "$gl_cv_next_arpa_inet_h" >&6; }
84891
 
+     fi
84892
 
+     NEXT_ARPA_INET_H=$gl_cv_next_arpa_inet_h
84893
 
+
84894
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
84895
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
84896
 
+       gl_next_as_first_directive='<'arpa/inet.h'>'
84897
 
+     else
84898
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
84899
 
+       gl_next_as_first_directive=$gl_cv_next_arpa_inet_h
84900
 
+     fi
84901
 
+     NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H=$gl_next_as_first_directive
84902
 
+
84903
 
+     
84904
 
+
84905
 
+
84906
 
+
84907
 
+  
84908
 
+
84909
 
+      
84910
 
+    for gl_func in inet_ntop inet_pton; do
84911
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
84912
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
84913
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
84914
 
+if eval \${$as_gl_Symbol+:} false; then :
84915
 
+  $as_echo_n "(cached) " >&6
84916
 
+else
84917
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
84918
 
+/* end confdefs.h.  */
84919
 
+
84920
 
+/* On some systems, this header is not self-consistent.  */
84921
 
+#if !(defined __GLIBC__ || defined __UCLIBC__)
84922
 
+# include <sys/socket.h>
84923
 
+#endif
84924
 
+#ifdef __TANDEM
84925
 
+# include <netdb.h>
84926
 
+#endif
84927
 
+#include <arpa/inet.h>
84928
 
+    
84929
 
+int
84930
 
+main ()
84931
 
+{
84932
 
+@%:@undef $gl_func
84933
 
+  (void) $gl_func;
84934
 
+  ;
84935
 
+  return 0;
84936
 
+}
84937
 
+_ACEOF
84938
 
+if ac_fn_c_try_compile "$LINENO"; then :
84939
 
+  eval "$as_gl_Symbol=yes"
84940
 
+else
84941
 
+  eval "$as_gl_Symbol=no"
84942
 
+fi
84943
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
84944
 
+fi
84945
 
+eval ac_res=\$$as_gl_Symbol
84946
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
84947
 
+$as_echo "$ac_res" >&6; }
84948
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
84949
 
+  cat >>confdefs.h <<_ACEOF
84950
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
84951
 
+_ACEOF
84952
 
+
84953
 
+                     eval ac_cv_have_decl_$gl_func=yes
84954
 
+fi
84955
 
+      done
84956
 
+
84957
 
+
84958
 
+
84959
 
+
84960
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5
84961
 
+$as_echo_n "checking whether to enable assertions... " >&6; }
84962
 
+  @%:@ Check whether --enable-assert was given.
84963
 
+if test "${enable_assert+set}" = set; then :
84964
 
+  enableval=$enable_assert; if test "x$enableval" = xno; then :
84965
 
+  
84966
 
+$as_echo "@%:@define NDEBUG 1" >>confdefs.h
84967
 
+
84968
 
+elif test "x$enableval" != xyes; then :
84969
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5
84970
 
+$as_echo "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;}
84971
 
+      enable_assert=yes
84972
 
+fi
84973
 
+else
84974
 
+  enable_assert=yes
84975
 
+fi
84976
 
+
84977
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_assert" >&5
84978
 
+$as_echo "$enable_assert" >&6; }
84979
 
+
84980
 
+
84981
 
+  
84982
 
+  
84983
 
+  
84984
 
+
84985
 
+
84986
 
+  
84987
 
+  
84988
 
+  
84989
 
+
84990
 
+
84991
 
+
84992
 
+
84993
 
+  
84994
 
+
84995
 
+        
84996
 
+
84997
 
+  
84998
 
+  if test $ac_cv_func_btowc = no; then
84999
 
+    HAVE_BTOWC=0
85000
 
+  else
85001
 
+
85002
 
+    
85003
 
+    
85004
 
+     
85005
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5
85006
 
+$as_echo_n "checking whether btowc(0) is correct... " >&6; }
85007
 
+if ${gl_cv_func_btowc_nul+:} false; then :
85008
 
+  $as_echo_n "(cached) " >&6
85009
 
+else
85010
 
+  
85011
 
+        if test "$cross_compiling" = yes; then :
85012
 
+  
85013
 
+           case "$host_os" in
85014
 
+                      # Guess no on Cygwin.
85015
 
+             cygwin*) gl_cv_func_btowc_nul="guessing no" ;;
85016
 
+                      # Guess yes otherwise.
85017
 
+             *)       gl_cv_func_btowc_nul="guessing yes" ;;
85018
 
+           esac
85019
 
+          
85020
 
+else
85021
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85022
 
+/* end confdefs.h.  */
85023
 
+
85024
 
+#include <string.h>
85025
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
85026
 
+   <wchar.h>.
85027
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
85028
 
+   included before <wchar.h>.  */
85029
 
+#include <stddef.h>
85030
 
+#include <stdio.h>
85031
 
+#include <time.h>
85032
 
+#include <wchar.h>
85033
 
+int main ()
85034
 
+{
85035
 
+  if (btowc ('\0') != 0)
85036
 
+    return 1;
85037
 
+  return 0;
85038
 
+}
85039
 
+_ACEOF
85040
 
+if ac_fn_c_try_run "$LINENO"; then :
85041
 
+  gl_cv_func_btowc_nul=yes
85042
 
+else
85043
 
+  gl_cv_func_btowc_nul=no
85044
 
+fi
85045
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
85046
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
85047
 
+fi
85048
 
+
85049
 
+      
85050
 
+fi
85051
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_nul" >&5
85052
 
+$as_echo "$gl_cv_func_btowc_nul" >&6; }
85053
 
+
85054
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5
85055
 
+$as_echo_n "checking whether btowc(EOF) is correct... " >&6; }
85056
 
+if ${gl_cv_func_btowc_eof+:} false; then :
85057
 
+  $as_echo_n "(cached) " >&6
85058
 
+else
85059
 
+  
85060
 
+                        case "$host_os" in
85061
 
+                 # Guess no on IRIX.
85062
 
+          irix*) gl_cv_func_btowc_eof="guessing no" ;;
85063
 
+                 # Guess yes otherwise.
85064
 
+          *)     gl_cv_func_btowc_eof="guessing yes" ;;
85065
 
+        esac
85066
 
+        if test $LOCALE_FR != none; then
85067
 
+          if test "$cross_compiling" = yes; then :
85068
 
+  :
85069
 
+else
85070
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85071
 
+/* end confdefs.h.  */
85072
 
+
85073
 
+#include <locale.h>
85074
 
+#include <string.h>
85075
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
85076
 
+   <wchar.h>.
85077
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
85078
 
+   included before <wchar.h>.  */
85079
 
+#include <stddef.h>
85080
 
+#include <stdio.h>
85081
 
+#include <time.h>
85082
 
+#include <wchar.h>
85083
 
+int main ()
85084
 
+{
85085
 
+  if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
85086
 
+    {
85087
 
+      if (btowc (EOF) != WEOF)
85088
 
+        return 1;
85089
 
+    }
85090
 
+  return 0;
85091
 
+}
85092
 
+_ACEOF
85093
 
+if ac_fn_c_try_run "$LINENO"; then :
85094
 
+  gl_cv_func_btowc_eof=yes
85095
 
+else
85096
 
+  gl_cv_func_btowc_eof=no
85097
 
+fi
85098
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
85099
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
85100
 
+fi
85101
 
+
85102
 
+        fi
85103
 
+      
85104
 
+fi
85105
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_eof" >&5
85106
 
+$as_echo "$gl_cv_func_btowc_eof" >&6; }
85107
 
+
85108
 
+    case "$gl_cv_func_btowc_nul" in
85109
 
+      *yes) ;;
85110
 
+      *) REPLACE_BTOWC=1 ;;
85111
 
+    esac
85112
 
+    case "$gl_cv_func_btowc_eof" in
85113
 
+      *yes) ;;
85114
 
+      *) REPLACE_BTOWC=1 ;;
85115
 
+    esac
85116
 
+  fi
85117
 
+
85118
 
+if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
85119
 
+  
85120
 
+  
85121
 
+  
85122
 
+    
85123
 
+      
85124
 
+      
85125
 
+    
85126
 
+  
85127
 
+  gl_LIBOBJS="$gl_LIBOBJS btowc.$ac_objext"
85128
 
+
85129
 
+  
85130
 
+  :
85131
 
+
85132
 
+fi
85133
 
+
85134
 
+    
85135
 
+  
85136
 
+  
85137
 
+  
85138
 
+          GNULIB_BTOWC=1
85139
 
+    
85140
 
+
85141
 
+
85142
 
+    
85143
 
+  
85144
 
+$as_echo "@%:@define GNULIB_TEST_BTOWC 1" >>confdefs.h
85145
 
+
85146
 
+
85147
 
+
85148
 
+
85149
 
+  
85150
 
+  for ac_func in strtod_l
85151
 
+do :
85152
 
+  ac_fn_c_check_func "$LINENO" "strtod_l" "ac_cv_func_strtod_l"
85153
 
+if test "x$ac_cv_func_strtod_l" = xyes; then :
85154
 
+  cat >>confdefs.h <<_ACEOF
85155
 
+@%:@define HAVE_STRTOD_L 1
85156
 
+_ACEOF
85157
 
85158
 
+fi
85159
 
+done
85160
 
+
85161
 
+
85162
 
+  
85163
 
+  :
85164
 
+
85165
 
+
85166
 
+  
85167
 
+  
85168
 
+  for ac_func in strtold_l
85169
 
+do :
85170
 
+  ac_fn_c_check_func "$LINENO" "strtold_l" "ac_cv_func_strtold_l"
85171
 
+if test "x$ac_cv_func_strtold_l" = xyes; then :
85172
 
+  cat >>confdefs.h <<_ACEOF
85173
 
+@%:@define HAVE_STRTOLD_L 1
85174
 
+_ACEOF
85175
 
85176
 
+fi
85177
 
+done
85178
 
+
85179
 
+
85180
 
+  
85181
 
+  :
85182
 
+
85183
 
+
85184
 
+  
85185
 
+  
85186
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible calloc" >&5
85187
 
+$as_echo_n "checking for GNU libc compatible calloc... " >&6; }
85188
 
+if ${ac_cv_func_calloc_0_nonnull+:} false; then :
85189
 
+  $as_echo_n "(cached) " >&6
85190
 
+else
85191
 
+  if test "$cross_compiling" = yes; then :
85192
 
+  ac_cv_func_calloc_0_nonnull=no
85193
 
+else
85194
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85195
 
+/* end confdefs.h.  */
85196
 
+$ac_includes_default
85197
 
+int
85198
 
+main ()
85199
 
+{
85200
 
+int result = 0;
85201
 
+            if (!calloc (0, 0))
85202
 
+              result |= 1;
85203
 
+            if (calloc ((size_t) -1 / 8 + 1, 8))
85204
 
+              result |= 2;
85205
 
+            return result;
85206
 
+          
85207
 
+  ;
85208
 
+  return 0;
85209
 
+}
85210
 
+_ACEOF
85211
 
+if ac_fn_c_try_run "$LINENO"; then :
85212
 
+  ac_cv_func_calloc_0_nonnull=yes
85213
 
+else
85214
 
+  ac_cv_func_calloc_0_nonnull=no
85215
 
+fi
85216
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
85217
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
85218
 
+fi
85219
 
+
85220
 
+fi
85221
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_calloc_0_nonnull" >&5
85222
 
+$as_echo "$ac_cv_func_calloc_0_nonnull" >&6; }
85223
 
+  if test $ac_cv_func_calloc_0_nonnull = yes; then :
85224
 
+  
85225
 
+$as_echo "@%:@define HAVE_CALLOC_GNU 1" >>confdefs.h
85226
 
+
85227
 
+else
85228
 
+  $as_echo "@%:@define HAVE_CALLOC_GNU 0" >>confdefs.h
85229
 
+
85230
 
+     REPLACE_CALLOC=1
85231
 
+    
85232
 
+fi
85233
 
+
85234
 
+
85235
 
+if test $REPLACE_CALLOC = 1; then
85236
 
+  
85237
 
+  
85238
 
+  
85239
 
+    
85240
 
+      
85241
 
+      
85242
 
+    
85243
 
+  
85244
 
+  gl_LIBOBJS="$gl_LIBOBJS calloc.$ac_objext"
85245
 
+
85246
 
+fi
85247
 
+
85248
 
+  
85249
 
+cat >>confdefs.h <<_ACEOF
85250
 
+@%:@define GNULIB_CALLOC_GNU 1
85251
 
+_ACEOF
85252
 
+
85253
 
+
85254
 
+
85255
 
+  
85256
 
+  
85257
 
+  if test $gl_cv_func_malloc_posix = yes; then
85258
 
+    
85259
 
+$as_echo "@%:@define HAVE_CALLOC_POSIX 1" >>confdefs.h
85260
 
+
85261
 
+  else
85262
 
+    REPLACE_CALLOC=1
85263
 
+  fi
85264
 
+
85265
 
+if test $REPLACE_CALLOC = 1; then
85266
 
+  
85267
 
+  
85268
 
+  
85269
 
+    
85270
 
+      
85271
 
+      
85272
 
+    
85273
 
+  
85274
 
+  gl_LIBOBJS="$gl_LIBOBJS calloc.$ac_objext"
85275
 
+
85276
 
+fi
85277
 
+
85278
 
+    
85279
 
+  
85280
 
+  
85281
 
+  
85282
 
+          GNULIB_CALLOC_POSIX=1
85283
 
+    
85284
 
+
85285
 
+
85286
 
+    
85287
 
+  
85288
 
+$as_echo "@%:@define GNULIB_TEST_CALLOC_POSIX 1" >>confdefs.h
85289
 
+
85290
 
+
85291
 
+
85292
 
+
85293
 
+  :
85294
 
+
85295
 
+
85296
 
+  
85297
 
+  
85298
 
+  
85299
 
+  
85300
 
+  if test $ac_cv_func_canonicalize_file_name = no; then
85301
 
+    HAVE_CANONICALIZE_FILE_NAME=0
85302
 
+  elif test "$gl_cv_func_realpath_works" != yes; then
85303
 
+    REPLACE_CANONICALIZE_FILE_NAME=1
85304
 
+  fi
85305
 
+
85306
 
+
85307
 
+  
85308
 
+cat >>confdefs.h <<_ACEOF
85309
 
+@%:@define GNULIB_CANONICALIZE 1
85310
 
+_ACEOF
85311
 
+
85312
 
+
85313
 
+
85314
 
+  
85315
 
+$as_echo "@%:@define GNULIB_TEST_CANONICALIZE 1" >>confdefs.h
85316
 
+
85317
 
+
85318
 
+
85319
 
+    
85320
 
+  
85321
 
+  
85322
 
+  
85323
 
+          GNULIB_CANONICALIZE_FILE_NAME=1
85324
 
+    
85325
 
+
85326
 
+
85327
 
+    
85328
 
+  
85329
 
+$as_echo "@%:@define GNULIB_TEST_CANONICALIZE_FILE_NAME 1" >>confdefs.h
85330
 
+
85331
 
+
85332
 
+
85333
 
+
85334
 
+
85335
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether this system has an arbitrary file name length limit" >&5
85336
 
+$as_echo_n "checking whether this system has an arbitrary file name length limit... " >&6; }
85337
 
+if ${gl_cv_have_arbitrary_file_name_length_limit+:} false; then :
85338
 
+  $as_echo_n "(cached) " >&6
85339
 
+else
85340
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85341
 
+/* end confdefs.h.  */
85342
 
+#include <unistd.h>
85343
 
+#include <limits.h>
85344
 
+#if defined PATH_MAX || defined MAXPATHLEN
85345
 
+have_arbitrary_file_name_length_limit
85346
 
+#endif
85347
 
+_ACEOF
85348
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
85349
 
+  $EGREP "have_arbitrary_file_name_length_limit" >/dev/null 2>&1; then :
85350
 
+  gl_cv_have_arbitrary_file_name_length_limit=yes
85351
 
+else
85352
 
+  gl_cv_have_arbitrary_file_name_length_limit=no
85353
 
+fi
85354
 
+rm -f conftest*
85355
 
+
85356
 
+fi
85357
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_arbitrary_file_name_length_limit" >&5
85358
 
+$as_echo "$gl_cv_have_arbitrary_file_name_length_limit" >&6; }
85359
 
+
85360
 
+if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
85361
 
+  
85362
 
+  
85363
 
+  
85364
 
+    
85365
 
+      
85366
 
+      
85367
 
+    
85368
 
+  
85369
 
+  gl_LIBOBJS="$gl_LIBOBJS chdir-long.$ac_objext"
85370
 
+
85371
 
+  
85372
 
+  
85373
 
+  :
85374
 
+
85375
 
+fi
85376
 
+
85377
 
+if test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1; then
85378
 
+  
85379
 
+  
85380
 
+  
85381
 
+    
85382
 
+      
85383
 
+      
85384
 
+    
85385
 
+  
85386
 
+  gl_LIBOBJS="$gl_LIBOBJS chown.$ac_objext"
85387
 
+
85388
 
+fi
85389
 
+if test $REPLACE_CHOWN = 1 && test $ac_cv_func_fchown = no; then
85390
 
+  
85391
 
+  
85392
 
+  
85393
 
+    
85394
 
+      
85395
 
+      
85396
 
+    
85397
 
+  
85398
 
+  gl_LIBOBJS="$gl_LIBOBJS fchown-stub.$ac_objext"
85399
 
+
85400
 
+fi
85401
 
+
85402
 
+    
85403
 
+  
85404
 
+  
85405
 
+  
85406
 
+          GNULIB_CHOWN=1
85407
 
+    
85408
 
+
85409
 
+
85410
 
+    
85411
 
+  
85412
 
+$as_echo "@%:@define GNULIB_TEST_CHOWN 1" >>confdefs.h
85413
 
+
85414
 
+
85415
 
+
85416
 
+
85417
 
+    
85418
 
+
85419
 
+  # Solaris 2.5.1 needs -lposix4 to get the clock_gettime function.
85420
 
+  # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4.
85421
 
+
85422
 
+  # Save and restore LIBS so e.g., -lrt, isn't added to it.  Otherwise, *all*
85423
 
+  # programs in the package would end up linked with that potentially-shared
85424
 
+  # library, inducing unnecessary run-time overhead.
85425
 
+  LIB_CLOCK_GETTIME=
85426
 
+  
85427
 
+  gl_saved_libs=$LIBS
85428
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
85429
 
+$as_echo_n "checking for library containing clock_gettime... " >&6; }
85430
 
+if ${ac_cv_search_clock_gettime+:} false; then :
85431
 
+  $as_echo_n "(cached) " >&6
85432
 
+else
85433
 
+  ac_func_search_save_LIBS=$LIBS
85434
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85435
 
+/* end confdefs.h.  */
85436
 
+
85437
 
+/* Override any GCC internal prototype to avoid an error.
85438
 
+   Use char because int might match the return type of a GCC
85439
 
+   builtin and then its argument prototype would still apply.  */
85440
 
+#ifdef __cplusplus
85441
 
+extern "C"
85442
 
+#endif
85443
 
+char clock_gettime ();
85444
 
+int
85445
 
+main ()
85446
 
+{
85447
 
+return clock_gettime ();
85448
 
+  ;
85449
 
+  return 0;
85450
 
+}
85451
 
+_ACEOF
85452
 
+for ac_lib in '' rt posix4; do
85453
 
+  if test -z "$ac_lib"; then
85454
 
+    ac_res="none required"
85455
 
+  else
85456
 
+    ac_res=-l$ac_lib
85457
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
85458
 
+  fi
85459
 
+  if ac_fn_c_try_link "$LINENO"; then :
85460
 
+  ac_cv_search_clock_gettime=$ac_res
85461
 
+fi
85462
 
+rm -f core conftest.err conftest.$ac_objext \
85463
 
+    conftest$ac_exeext
85464
 
+  if ${ac_cv_search_clock_gettime+:} false; then :
85465
 
+  break
85466
 
+fi
85467
 
+done
85468
 
+if ${ac_cv_search_clock_gettime+:} false; then :
85469
 
+  
85470
 
+else
85471
 
+  ac_cv_search_clock_gettime=no
85472
 
+fi
85473
 
+rm conftest.$ac_ext
85474
 
+LIBS=$ac_func_search_save_LIBS
85475
 
+fi
85476
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
85477
 
+$as_echo "$ac_cv_search_clock_gettime" >&6; }
85478
 
+ac_res=$ac_cv_search_clock_gettime
85479
 
+if test "$ac_res" != no; then :
85480
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
85481
 
+  test "$ac_cv_search_clock_gettime" = "none required" ||
85482
 
+                    LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime
85483
 
+fi
85484
 
+
85485
 
+    for ac_func in clock_gettime clock_settime
85486
 
+do :
85487
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
85488
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
85489
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
85490
 
+  cat >>confdefs.h <<_ACEOF
85491
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
85492
 
+_ACEOF
85493
 
85494
 
+fi
85495
 
+done
85496
 
+
85497
 
+  LIBS=$gl_saved_libs
85498
 
+
85499
 
+
85500
 
+  
85501
 
+$as_echo "@%:@define GNULIB_TEST_CLOEXEC 1" >>confdefs.h
85502
 
+
85503
 
+
85504
 
+
85505
 
+  
85506
 
+  
85507
 
+    
85508
 
+  
85509
 
+  
85510
 
+  
85511
 
+  if test $ac_cv_header_sys_socket_h != yes; then
85512
 
+                    for ac_header in winsock2.h
85513
 
+do :
85514
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
85515
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
85516
 
+  cat >>confdefs.h <<_ACEOF
85517
 
+@%:@define HAVE_WINSOCK2_H 1
85518
 
+_ACEOF
85519
 
85520
 
+fi
85521
 
+
85522
 
+done
85523
 
+
85524
 
+  fi
85525
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
85526
 
+    HAVE_WINSOCK2_H=1
85527
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
85528
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
85529
 
+  else
85530
 
+    HAVE_WINSOCK2_H=0
85531
 
+  fi
85532
 
+  
85533
 
+
85534
 
+    if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then
85535
 
+                        REPLACE_CLOSE=1
85536
 
+    fi
85537
 
+  
85538
 
+      
85539
 
+    if test $REPLACE_CLOSE = 0; then
85540
 
+      
85541
 
+  
85542
 
+  
85543
 
+  if test $ac_cv_func_fchdir = no; then
85544
 
+    HAVE_FCHDIR=0
85545
 
+  fi
85546
 
+
85547
 
+      if test $HAVE_FCHDIR = 0; then
85548
 
+        REPLACE_CLOSE=1
85549
 
+      fi
85550
 
+    fi
85551
 
+  
85552
 
+
85553
 
+if test $REPLACE_CLOSE = 1; then
85554
 
+  
85555
 
+  
85556
 
+  
85557
 
+    
85558
 
+      
85559
 
+      
85560
 
+    
85561
 
+  
85562
 
+  gl_LIBOBJS="$gl_LIBOBJS close.$ac_objext"
85563
 
+
85564
 
+fi
85565
 
+
85566
 
+    
85567
 
+  
85568
 
+  
85569
 
+  
85570
 
+          GNULIB_CLOSE=1
85571
 
+    
85572
 
+
85573
 
+
85574
 
+    
85575
 
+  
85576
 
+$as_echo "@%:@define GNULIB_TEST_CLOSE 1" >>confdefs.h
85577
 
+
85578
 
+
85579
 
+
85580
 
+
85581
 
+  :
85582
 
+
85583
 
+
85584
 
+  
85585
 
+cat >>confdefs.h <<_ACEOF
85586
 
+@%:@define GNULIB_CLOSE_STREAM 1
85587
 
+_ACEOF
85588
 
+
85589
 
+
85590
 
+
85591
 
+  :
85592
 
+
85593
 
+
85594
 
+  :
85595
 
+
85596
 
+
85597
 
+
85598
 
+          if test "x$datarootdir" = x; then
85599
 
+    datarootdir='${datadir}'
85600
 
+
85601
 
+  fi
85602
 
+    if test "x$docdir" = x; then
85603
 
+    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
85604
 
+
85605
 
+  fi
85606
 
+    if test "x$htmldir" = x; then
85607
 
+    htmldir='${docdir}'
85608
 
+
85609
 
+  fi
85610
 
+  if test "x$dvidir" = x; then
85611
 
+    dvidir='${docdir}'
85612
 
+
85613
 
+  fi
85614
 
+  if test "x$pdfdir" = x; then
85615
 
+    pdfdir='${docdir}'
85616
 
+
85617
 
+  fi
85618
 
+  if test "x$psdir" = x; then
85619
 
+    psdir='${docdir}'
85620
 
+
85621
 
+  fi
85622
 
+  if test "x$lispdir" = x; then
85623
 
+    lispdir='${datarootdir}/emacs/site-lisp'
85624
 
+
85625
 
+  fi
85626
 
+  if test "x$localedir" = x; then
85627
 
+    localedir='${datarootdir}/locale'
85628
 
+
85629
 
+  fi
85630
 
+
85631
 
+      pkglibexecdir='${libexecdir}/${PACKAGE}'
85632
 
+
85633
 
+
85634
 
+
85635
 
+    
85636
 
+  
85637
 
+  :
85638
 
+
85639
 
+
85640
 
+    
85641
 
+  
85642
 
+  :
85643
 
+
85644
 
+
85645
 
+    
85646
 
+  
85647
 
+
85648
 
+
85649
 
+    
85650
 
+  
85651
 
+
85652
 
+
85653
 
+  
85654
 
+
85655
 
+    
85656
 
+  
85657
 
+  
85658
 
+  
85659
 
+
85660
 
+  
85661
 
+
85662
 
+  
85663
 
+     if test $gl_cv_have_include_next = yes; then
85664
 
+       gl_cv_next_ctype_h='<'ctype.h'>'
85665
 
+     else
85666
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <ctype.h>" >&5
85667
 
+$as_echo_n "checking absolute name of <ctype.h>... " >&6; }
85668
 
+if ${gl_cv_next_ctype_h+:} false; then :
85669
 
+  $as_echo_n "(cached) " >&6
85670
 
+else
85671
 
+  
85672
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85673
 
+/* end confdefs.h.  */
85674
 
+#include <ctype.h>
85675
 
+                  
85676
 
+_ACEOF
85677
 
+                                                                                                                        case "$host_os" in
85678
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
85679
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
85680
 
+               esac
85681
 
+                                                            gl_cv_next_ctype_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
85682
 
+                  sed -n '\#/ctype.h#{
85683
 
+                    s#.*"\(.*/ctype.h\)".*#\1#
85684
 
+                    s#^/[^/]#//&#
85685
 
+                    p
85686
 
+                    q
85687
 
+                  }'`'"'
85688
 
+          
85689
 
+         
85690
 
+fi
85691
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_ctype_h" >&5
85692
 
+$as_echo "$gl_cv_next_ctype_h" >&6; }
85693
 
+     fi
85694
 
+     NEXT_CTYPE_H=$gl_cv_next_ctype_h
85695
 
+
85696
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
85697
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
85698
 
+       gl_next_as_first_directive='<'ctype.h'>'
85699
 
+     else
85700
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
85701
 
+       gl_next_as_first_directive=$gl_cv_next_ctype_h
85702
 
+     fi
85703
 
+     NEXT_AS_FIRST_DIRECTIVE_CTYPE_H=$gl_next_as_first_directive
85704
 
+
85705
 
+     
85706
 
+
85707
 
+
85708
 
+
85709
 
+      
85710
 
+    for gl_func in isblank; do
85711
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
85712
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
85713
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
85714
 
+if eval \${$as_gl_Symbol+:} false; then :
85715
 
+  $as_echo_n "(cached) " >&6
85716
 
+else
85717
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85718
 
+/* end confdefs.h.  */
85719
 
+#include <ctype.h>
85720
 
+    
85721
 
+int
85722
 
+main ()
85723
 
+{
85724
 
+@%:@undef $gl_func
85725
 
+  (void) $gl_func;
85726
 
+  ;
85727
 
+  return 0;
85728
 
+}
85729
 
+_ACEOF
85730
 
+if ac_fn_c_try_compile "$LINENO"; then :
85731
 
+  eval "$as_gl_Symbol=yes"
85732
 
+else
85733
 
+  eval "$as_gl_Symbol=no"
85734
 
+fi
85735
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
85736
 
+fi
85737
 
+eval ac_res=\$$as_gl_Symbol
85738
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
85739
 
+$as_echo "$ac_res" >&6; }
85740
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
85741
 
+  cat >>confdefs.h <<_ACEOF
85742
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
85743
 
+_ACEOF
85744
 
+
85745
 
+                     eval ac_cv_have_decl_$gl_func=yes
85746
 
+fi
85747
 
+      done
85748
 
+
85749
 
+
85750
 
+
85751
 
+  
85752
 
+
85753
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for d_ino member in directory struct" >&5
85754
 
+$as_echo_n "checking for d_ino member in directory struct... " >&6; }
85755
 
+if ${gl_cv_struct_dirent_d_ino+:} false; then :
85756
 
+  $as_echo_n "(cached) " >&6
85757
 
+else
85758
 
+  if test "$cross_compiling" = yes; then :
85759
 
+  gl_cv_struct_dirent_d_ino=no
85760
 
+else
85761
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85762
 
+/* end confdefs.h.  */
85763
 
+#include <sys/types.h>
85764
 
+             #include <sys/stat.h>
85765
 
+             #include <dirent.h>
85766
 
+           
85767
 
+int
85768
 
+main ()
85769
 
+{
85770
 
+DIR *dp = opendir (".");
85771
 
+             struct dirent *e;
85772
 
+             struct stat st;
85773
 
+             if (! dp)
85774
 
+               return 1;
85775
 
+             e = readdir (dp);
85776
 
+             if (! e)
85777
 
+               return 2;
85778
 
+             if (stat (e->d_name, &st) != 0)
85779
 
+               return 3;
85780
 
+             if (e->d_ino != st.st_ino)
85781
 
+               return 4;
85782
 
+             return 0;
85783
 
+           
85784
 
+  ;
85785
 
+  return 0;
85786
 
+}
85787
 
+_ACEOF
85788
 
+if ac_fn_c_try_run "$LINENO"; then :
85789
 
+  gl_cv_struct_dirent_d_ino=yes
85790
 
+else
85791
 
+  gl_cv_struct_dirent_d_ino=no
85792
 
+fi
85793
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
85794
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
85795
 
+fi
85796
 
+
85797
 
+fi
85798
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_struct_dirent_d_ino" >&5
85799
 
+$as_echo "$gl_cv_struct_dirent_d_ino" >&6; }
85800
 
+   if test $gl_cv_struct_dirent_d_ino = yes; then
85801
 
+     
85802
 
+$as_echo "@%:@define D_INO_IN_DIRENT 1" >>confdefs.h
85803
 
+
85804
 
+   fi
85805
 
+  
85806
 
+
85807
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for d_type member in directory struct" >&5
85808
 
+$as_echo_n "checking for d_type member in directory struct... " >&6; }
85809
 
+if ${gl_cv_struct_dirent_d_type+:} false; then :
85810
 
+  $as_echo_n "(cached) " >&6
85811
 
+else
85812
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85813
 
+/* end confdefs.h.  */
85814
 
+
85815
 
+#include <sys/types.h>
85816
 
+#include <dirent.h>
85817
 
+         
85818
 
+int
85819
 
+main ()
85820
 
+{
85821
 
+struct dirent dp; dp.d_type = 0;
85822
 
+  ;
85823
 
+  return 0;
85824
 
+}
85825
 
+_ACEOF
85826
 
+if ac_fn_c_try_link "$LINENO"; then :
85827
 
+  gl_cv_struct_dirent_d_type=yes
85828
 
+else
85829
 
+  gl_cv_struct_dirent_d_type=no
85830
 
+fi
85831
 
+rm -f core conftest.err conftest.$ac_objext \
85832
 
+    conftest$ac_exeext conftest.$ac_ext
85833
 
+     
85834
 
+   
85835
 
+fi
85836
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_struct_dirent_d_type" >&5
85837
 
+$as_echo "$gl_cv_struct_dirent_d_type" >&6; }
85838
 
+   if test $gl_cv_struct_dirent_d_type = yes; then
85839
 
+     
85840
 
+$as_echo "@%:@define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
85841
 
+
85842
 
+   fi
85843
 
+  
85844
 
+
85845
 
+
85846
 
+      
85847
 
+
85848
 
+    
85849
 
+  
85850
 
+  
85851
 
+  
85852
 
+
85853
 
+  
85854
 
+    
85855
 
+
85856
 
+  
85857
 
+     if test $gl_cv_have_include_next = yes; then
85858
 
+       gl_cv_next_dirent_h='<'dirent.h'>'
85859
 
+     else
85860
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <dirent.h>" >&5
85861
 
+$as_echo_n "checking absolute name of <dirent.h>... " >&6; }
85862
 
+if ${gl_cv_next_dirent_h+:} false; then :
85863
 
+  $as_echo_n "(cached) " >&6
85864
 
+else
85865
 
+  
85866
 
+             if test $ac_cv_header_dirent_h = yes; then
85867
 
+             
85868
 
+            
85869
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85870
 
+/* end confdefs.h.  */
85871
 
+#include <dirent.h>
85872
 
+                  
85873
 
+_ACEOF
85874
 
+                                                                                                                        case "$host_os" in
85875
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
85876
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
85877
 
+               esac
85878
 
+                                                            gl_cv_next_dirent_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
85879
 
+                  sed -n '\#/dirent.h#{
85880
 
+                    s#.*"\(.*/dirent.h\)".*#\1#
85881
 
+                    s#^/[^/]#//&#
85882
 
+                    p
85883
 
+                    q
85884
 
+                  }'`'"'
85885
 
+          else
85886
 
+               gl_cv_next_dirent_h='<'dirent.h'>'
85887
 
+             fi
85888
 
+            
85889
 
+         
85890
 
+fi
85891
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_dirent_h" >&5
85892
 
+$as_echo "$gl_cv_next_dirent_h" >&6; }
85893
 
+     fi
85894
 
+     NEXT_DIRENT_H=$gl_cv_next_dirent_h
85895
 
+
85896
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
85897
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
85898
 
+       gl_next_as_first_directive='<'dirent.h'>'
85899
 
+     else
85900
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
85901
 
+       gl_next_as_first_directive=$gl_cv_next_dirent_h
85902
 
+     fi
85903
 
+     NEXT_AS_FIRST_DIRECTIVE_DIRENT_H=$gl_next_as_first_directive
85904
 
+
85905
 
+     
85906
 
+
85907
 
+
85908
 
+
85909
 
+      
85910
 
+    for gl_func in alphasort dirfd fdopendir scandir; do
85911
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
85912
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
85913
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
85914
 
+if eval \${$as_gl_Symbol+:} false; then :
85915
 
+  $as_echo_n "(cached) " >&6
85916
 
+else
85917
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85918
 
+/* end confdefs.h.  */
85919
 
+#include <dirent.h>
85920
 
+    
85921
 
+int
85922
 
+main ()
85923
 
+{
85924
 
+@%:@undef $gl_func
85925
 
+  (void) $gl_func;
85926
 
+  ;
85927
 
+  return 0;
85928
 
+}
85929
 
+_ACEOF
85930
 
+if ac_fn_c_try_compile "$LINENO"; then :
85931
 
+  eval "$as_gl_Symbol=yes"
85932
 
+else
85933
 
+  eval "$as_gl_Symbol=no"
85934
 
+fi
85935
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
85936
 
+fi
85937
 
+eval ac_res=\$$as_gl_Symbol
85938
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
85939
 
+$as_echo "$ac_res" >&6; }
85940
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
85941
 
+  cat >>confdefs.h <<_ACEOF
85942
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
85943
 
+_ACEOF
85944
 
+
85945
 
+                     eval ac_cv_have_decl_$gl_func=yes
85946
 
+fi
85947
 
+      done
85948
 
+
85949
 
+
85950
 
+
85951
 
+  
85952
 
+
85953
 
+
85954
 
+  
85955
 
+cat >>confdefs.h <<_ACEOF
85956
 
+@%:@define GNULIB_DIRENT_SAFER 1
85957
 
+_ACEOF
85958
 
+
85959
 
+
85960
 
+
85961
 
+  
85962
 
+
85963
 
+    
85964
 
+
85965
 
+  for ac_func in dirfd
85966
 
+do :
85967
 
+  ac_fn_c_check_func "$LINENO" "dirfd" "ac_cv_func_dirfd"
85968
 
+if test "x$ac_cv_func_dirfd" = xyes; then :
85969
 
+  cat >>confdefs.h <<_ACEOF
85970
 
+@%:@define HAVE_DIRFD 1
85971
 
+_ACEOF
85972
 
85973
 
+fi
85974
 
+done
85975
 
+
85976
 
+  ac_fn_c_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include <sys/types.h>
85977
 
+     #include <dirent.h>
85978
 
+"
85979
 
+if test "x$ac_cv_have_decl_dirfd" = xyes; then :
85980
 
+  ac_have_decl=1
85981
 
+else
85982
 
+  ac_have_decl=0
85983
 
+fi
85984
 
+
85985
 
+cat >>confdefs.h <<_ACEOF
85986
 
+@%:@define HAVE_DECL_DIRFD $ac_have_decl
85987
 
+_ACEOF
85988
 
+
85989
 
+  if test $ac_cv_have_decl_dirfd = no; then
85990
 
+    HAVE_DECL_DIRFD=0
85991
 
+  fi
85992
 
+
85993
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dirfd is a macro" >&5
85994
 
+$as_echo_n "checking whether dirfd is a macro... " >&6; }
85995
 
+if ${gl_cv_func_dirfd_macro+:} false; then :
85996
 
+  $as_echo_n "(cached) " >&6
85997
 
+else
85998
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85999
 
+/* end confdefs.h.  */
86000
 
+
86001
 
+#include <sys/types.h>
86002
 
+#include <dirent.h>
86003
 
+#ifdef dirfd
86004
 
+ dirent_header_defines_dirfd
86005
 
+#endif
86006
 
+_ACEOF
86007
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
86008
 
+  $EGREP "dirent_header_defines_dirfd" >/dev/null 2>&1; then :
86009
 
+  gl_cv_func_dirfd_macro=yes
86010
 
+else
86011
 
+  gl_cv_func_dirfd_macro=no
86012
 
+fi
86013
 
+rm -f conftest*
86014
 
+
86015
 
+fi
86016
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dirfd_macro" >&5
86017
 
+$as_echo "$gl_cv_func_dirfd_macro" >&6; }
86018
 
+
86019
 
+  # Use the replacement only if we have no function or macro with that name.
86020
 
+  if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then
86021
 
+    if test $ac_cv_have_decl_dirfd = yes; then
86022
 
+      # If the system declares dirfd already, let's declare rpl_dirfd instead.
86023
 
+      REPLACE_DIRFD=1
86024
 
+    fi
86025
 
+  fi
86026
 
+
86027
 
+if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then
86028
 
+  
86029
 
+  
86030
 
+  
86031
 
+    
86032
 
+      
86033
 
+      
86034
 
+    
86035
 
+  
86036
 
+  gl_LIBOBJS="$gl_LIBOBJS dirfd.$ac_objext"
86037
 
+
86038
 
+  
86039
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get the file descriptor associated with an open DIR*" >&5
86040
 
+$as_echo_n "checking how to get the file descriptor associated with an open DIR*... " >&6; }
86041
 
+if ${gl_cv_sys_dir_fd_member_name+:} false; then :
86042
 
+  $as_echo_n "(cached) " >&6
86043
 
+else
86044
 
+  
86045
 
+      dirfd_save_CFLAGS=$CFLAGS
86046
 
+      for ac_expr in d_fd dd_fd; do
86047
 
+
86048
 
+        CFLAGS="$CFLAGS -DDIR_FD_MEMBER_NAME=$ac_expr"
86049
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86050
 
+/* end confdefs.h.  */
86051
 
+
86052
 
+           #include <sys/types.h>
86053
 
+           #include <dirent.h>
86054
 
+int
86055
 
+main ()
86056
 
+{
86057
 
+DIR *dir_p = opendir("."); (void) dir_p->DIR_FD_MEMBER_NAME;
86058
 
+  ;
86059
 
+  return 0;
86060
 
+}
86061
 
+_ACEOF
86062
 
+if ac_fn_c_try_compile "$LINENO"; then :
86063
 
+  dir_fd_found=yes
86064
 
+        
86065
 
+fi
86066
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
86067
 
+        CFLAGS=$dirfd_save_CFLAGS
86068
 
+        test "$dir_fd_found" = yes && break
86069
 
+      done
86070
 
+      test "$dir_fd_found" = yes || ac_expr=no_such_member
86071
 
+
86072
 
+      gl_cv_sys_dir_fd_member_name=$ac_expr
86073
 
+    
86074
 
+  
86075
 
+fi
86076
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_dir_fd_member_name" >&5
86077
 
+$as_echo "$gl_cv_sys_dir_fd_member_name" >&6; }
86078
 
+  if test $gl_cv_sys_dir_fd_member_name != no_such_member; then
86079
 
+    
86080
 
+cat >>confdefs.h <<_ACEOF
86081
 
+@%:@define DIR_FD_MEMBER_NAME $gl_cv_sys_dir_fd_member_name
86082
 
+_ACEOF
86083
 
+
86084
 
+  fi
86085
 
+  
86086
 
+
86087
 
+fi
86088
 
+
86089
 
+    
86090
 
+  
86091
 
+  
86092
 
+  
86093
 
+          GNULIB_DIRFD=1
86094
 
+    
86095
 
+
86096
 
+
86097
 
+    
86098
 
+  
86099
 
+$as_echo "@%:@define GNULIB_TEST_DIRFD 1" >>confdefs.h
86100
 
+
86101
 
+
86102
 
+
86103
 
+
86104
 
+  
86105
 
+
86106
 
+
86107
 
+  
86108
 
+cat >>confdefs.h <<_ACEOF
86109
 
+@%:@define GNULIB_DIRNAME 1
86110
 
+_ACEOF
86111
 
+
86112
 
+
86113
 
+
86114
 
+    
86115
 
+
86116
 
+    
86117
 
+
86118
 
+  
86119
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
86120
 
+$as_echo_n "checking whether // is distinct from /... " >&6; }
86121
 
+if ${gl_cv_double_slash_root+:} false; then :
86122
 
+  $as_echo_n "(cached) " >&6
86123
 
+else
86124
 
+   if test x"$cross_compiling" = xyes ; then
86125
 
+        # When cross-compiling, there is no way to tell whether // is special
86126
 
+        # short of a list of hosts.  However, the only known hosts to date
86127
 
+        # that have a distinct // are Apollo DomainOS (too old to port to),
86128
 
+        # Cygwin, and z/OS.  If anyone knows of another system for which // has
86129
 
+        # special semantics and is distinct from /, please report it to
86130
 
+        # <bug-gnulib@gnu.org>.
86131
 
+        case $host in
86132
 
+          *-cygwin | i370-ibm-openedition)
86133
 
+            gl_cv_double_slash_root=yes ;;
86134
 
+          *)
86135
 
+            # Be optimistic and assume that / and // are the same when we
86136
 
+            # don't know.
86137
 
+            gl_cv_double_slash_root='unknown, assuming no' ;;
86138
 
+        esac
86139
 
+      else
86140
 
+        set x `ls -di / // 2>/dev/null`
86141
 
+        if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then
86142
 
+          gl_cv_double_slash_root=no
86143
 
+        else
86144
 
+          gl_cv_double_slash_root=yes
86145
 
+        fi
86146
 
+      fi
86147
 
+fi
86148
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
86149
 
+$as_echo "$gl_cv_double_slash_root" >&6; }
86150
 
+  if test "$gl_cv_double_slash_root" = yes; then
86151
 
+    
86152
 
+$as_echo "@%:@define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
86153
 
+
86154
 
+  fi
86155
 
+
86156
 
+
86157
 
+
86158
 
+  
86159
 
+  
86160
 
+  
86161
 
+    
86162
 
+$as_echo "@%:@define HAVE_DUP2 1" >>confdefs.h
86163
 
+
86164
 
+  
86165
 
+  if test $HAVE_DUP2 = 1; then
86166
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5
86167
 
+$as_echo_n "checking whether dup2 works... " >&6; }
86168
 
+if ${gl_cv_func_dup2_works+:} false; then :
86169
 
+  $as_echo_n "(cached) " >&6
86170
 
+else
86171
 
+  if test "$cross_compiling" = yes; then :
86172
 
+  case "$host_os" in
86173
 
+           mingw*) # on this platform, dup2 always returns 0 for success
86174
 
+             gl_cv_func_dup2_works=no;;
86175
 
+           cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0
86176
 
+             gl_cv_func_dup2_works=no;;
86177
 
+           linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a
86178
 
+                   # closed fd may yield -EBADF instead of -1 / errno=EBADF.
86179
 
+             gl_cv_func_dup2_works=no;;
86180
 
+           freebsd*) # on FreeBSD 6.1, dup2(1,1000000) gives EMFILE, not EBADF.
86181
 
+             gl_cv_func_dup2_works=no;;
86182
 
+           haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC.
86183
 
+             gl_cv_func_dup2_works=no;;
86184
 
+           *) gl_cv_func_dup2_works=yes;;
86185
 
+         esac
86186
 
+else
86187
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86188
 
+/* end confdefs.h.  */
86189
 
+
86190
 
+         #include <unistd.h>
86191
 
+#include <fcntl.h>
86192
 
+#include <errno.h>
86193
 
+int
86194
 
+main ()
86195
 
+{
86196
 
+int result = 0;
86197
 
+#ifdef FD_CLOEXEC
86198
 
+            if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1)
86199
 
+              result |= 1;
86200
 
+#endif
86201
 
+            if (dup2 (1, 1) == 0)
86202
 
+              result |= 2;
86203
 
+#ifdef FD_CLOEXEC
86204
 
+            if (fcntl (1, F_GETFD) != FD_CLOEXEC)
86205
 
+              result |= 4;
86206
 
+#endif
86207
 
+            close (0);
86208
 
+            if (dup2 (0, 0) != -1)
86209
 
+              result |= 8;
86210
 
+            /* Many gnulib modules require POSIX conformance of EBADF.  */
86211
 
+            if (dup2 (2, 1000000) == -1 && errno != EBADF)
86212
 
+              result |= 16;
86213
 
+            return result;
86214
 
+           
86215
 
+  ;
86216
 
+  return 0;
86217
 
+}
86218
 
+        
86219
 
+_ACEOF
86220
 
+if ac_fn_c_try_run "$LINENO"; then :
86221
 
+  gl_cv_func_dup2_works=yes
86222
 
+else
86223
 
+  gl_cv_func_dup2_works=no
86224
 
+fi
86225
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
86226
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
86227
 
+fi
86228
 
+
86229
 
+      
86230
 
+fi
86231
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup2_works" >&5
86232
 
+$as_echo "$gl_cv_func_dup2_works" >&6; }
86233
 
+    if test "$gl_cv_func_dup2_works" = no; then
86234
 
+      REPLACE_DUP2=1
86235
 
+    fi
86236
 
+  fi
86237
 
+      
86238
 
+    
86239
 
+  
86240
 
+  
86241
 
+  if test $ac_cv_func_fchdir = no; then
86242
 
+    HAVE_FCHDIR=0
86243
 
+  fi
86244
 
+
86245
 
+    if test $HAVE_FCHDIR = 0; then
86246
 
+      REPLACE_DUP2=1
86247
 
+    fi
86248
 
+  
86249
 
+
86250
 
+if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
86251
 
+  
86252
 
+  
86253
 
+  
86254
 
+    
86255
 
+      
86256
 
+      
86257
 
+    
86258
 
+  
86259
 
+  gl_LIBOBJS="$gl_LIBOBJS dup2.$ac_objext"
86260
 
+
86261
 
+fi
86262
 
+
86263
 
+    
86264
 
+  
86265
 
+  
86266
 
+  
86267
 
+          GNULIB_DUP2=1
86268
 
+    
86269
 
+
86270
 
+
86271
 
+    
86272
 
+  
86273
 
+$as_echo "@%:@define GNULIB_TEST_DUP2 1" >>confdefs.h
86274
 
+
86275
 
+
86276
 
+
86277
 
+
86278
 
+
86279
 
+    
86280
 
+  
86281
 
+  
86282
 
+  
86283
 
+          GNULIB_ENVIRON=1
86284
 
+    
86285
 
+
86286
 
+
86287
 
+    
86288
 
+  
86289
 
+$as_echo "@%:@define GNULIB_TEST_ENVIRON 1" >>confdefs.h
86290
 
+
86291
 
+
86292
 
+
86293
 
+
86294
 
+
86295
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
86296
 
+$as_echo_n "checking for error_at_line... " >&6; }
86297
 
+if ${ac_cv_lib_error_at_line+:} false; then :
86298
 
+  $as_echo_n "(cached) " >&6
86299
 
+else
86300
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86301
 
+/* end confdefs.h.  */
86302
 
+#include <error.h>
86303
 
+int
86304
 
+main ()
86305
 
+{
86306
 
+error_at_line (0, 0, "", 0, "an error occurred");
86307
 
+  ;
86308
 
+  return 0;
86309
 
+}
86310
 
+_ACEOF
86311
 
+if ac_fn_c_try_link "$LINENO"; then :
86312
 
+  ac_cv_lib_error_at_line=yes
86313
 
+else
86314
 
+  ac_cv_lib_error_at_line=no
86315
 
+fi
86316
 
+rm -f core conftest.err conftest.$ac_objext \
86317
 
+    conftest$ac_exeext conftest.$ac_ext
86318
 
+fi
86319
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
86320
 
+$as_echo "$ac_cv_lib_error_at_line" >&6; }
86321
 
+
86322
 
+if test $ac_cv_lib_error_at_line = no; then
86323
 
+  
86324
 
+  
86325
 
+  
86326
 
+    
86327
 
+      
86328
 
+      
86329
 
+    
86330
 
+  
86331
 
+  gl_LIBOBJS="$gl_LIBOBJS error.$ac_objext"
86332
 
+
86333
 
+  
86334
 
+  
86335
 
+  
86336
 
+  :
86337
 
+
86338
 
+fi
86339
 
+
86340
 
+  
86341
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format"
86342
 
+
86343
 
+   
86344
 
+  
86345
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format"
86346
 
+
86347
 
+
86348
 
+  
86349
 
+
86350
 
+    
86351
 
+
86352
 
+  for ac_func in euidaccess
86353
 
+do :
86354
 
+  ac_fn_c_check_func "$LINENO" "euidaccess" "ac_cv_func_euidaccess"
86355
 
+if test "x$ac_cv_func_euidaccess" = xyes; then :
86356
 
+  cat >>confdefs.h <<_ACEOF
86357
 
+@%:@define HAVE_EUIDACCESS 1
86358
 
+_ACEOF
86359
 
86360
 
+fi
86361
 
+done
86362
 
+
86363
 
+  if test $ac_cv_func_euidaccess = no; then
86364
 
+    HAVE_EUIDACCESS=0
86365
 
+  fi
86366
 
+
86367
 
+if test $HAVE_EUIDACCESS = 0; then
86368
 
+  
86369
 
+  
86370
 
+  
86371
 
+    
86372
 
+      
86373
 
+      
86374
 
+    
86375
 
+  
86376
 
+  gl_LIBOBJS="$gl_LIBOBJS euidaccess.$ac_objext"
86377
 
+
86378
 
+  
86379
 
+    
86380
 
+    
86381
 
+  
86382
 
+  
86383
 
+
86384
 
+  # Solaris 9 needs -lgen to get the eaccess function.
86385
 
+  # Save and restore LIBS so -lgen isn't added to it.  Otherwise, *all*
86386
 
+  # programs in the package would end up linked with that potentially-shared
86387
 
+  # library, inducing unnecessary run-time overhead.
86388
 
+  LIB_EACCESS=
86389
 
+  
86390
 
+  gl_saved_libs=$LIBS
86391
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing eaccess" >&5
86392
 
+$as_echo_n "checking for library containing eaccess... " >&6; }
86393
 
+if ${ac_cv_search_eaccess+:} false; then :
86394
 
+  $as_echo_n "(cached) " >&6
86395
 
+else
86396
 
+  ac_func_search_save_LIBS=$LIBS
86397
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86398
 
+/* end confdefs.h.  */
86399
 
+
86400
 
+/* Override any GCC internal prototype to avoid an error.
86401
 
+   Use char because int might match the return type of a GCC
86402
 
+   builtin and then its argument prototype would still apply.  */
86403
 
+#ifdef __cplusplus
86404
 
+extern "C"
86405
 
+#endif
86406
 
+char eaccess ();
86407
 
+int
86408
 
+main ()
86409
 
+{
86410
 
+return eaccess ();
86411
 
+  ;
86412
 
+  return 0;
86413
 
+}
86414
 
+_ACEOF
86415
 
+for ac_lib in '' gen; do
86416
 
+  if test -z "$ac_lib"; then
86417
 
+    ac_res="none required"
86418
 
+  else
86419
 
+    ac_res=-l$ac_lib
86420
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
86421
 
+  fi
86422
 
+  if ac_fn_c_try_link "$LINENO"; then :
86423
 
+  ac_cv_search_eaccess=$ac_res
86424
 
+fi
86425
 
+rm -f core conftest.err conftest.$ac_objext \
86426
 
+    conftest$ac_exeext
86427
 
+  if ${ac_cv_search_eaccess+:} false; then :
86428
 
+  break
86429
 
+fi
86430
 
+done
86431
 
+if ${ac_cv_search_eaccess+:} false; then :
86432
 
+  
86433
 
+else
86434
 
+  ac_cv_search_eaccess=no
86435
 
+fi
86436
 
+rm conftest.$ac_ext
86437
 
+LIBS=$ac_func_search_save_LIBS
86438
 
+fi
86439
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_eaccess" >&5
86440
 
+$as_echo "$ac_cv_search_eaccess" >&6; }
86441
 
+ac_res=$ac_cv_search_eaccess
86442
 
+if test "$ac_res" != no; then :
86443
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
86444
 
+  test "$ac_cv_search_eaccess" = "none required" ||
86445
 
+                    LIB_EACCESS=$ac_cv_search_eaccess
86446
 
+fi
86447
 
+
86448
 
+    for ac_func in eaccess
86449
 
+do :
86450
 
+  ac_fn_c_check_func "$LINENO" "eaccess" "ac_cv_func_eaccess"
86451
 
+if test "x$ac_cv_func_eaccess" = xyes; then :
86452
 
+  cat >>confdefs.h <<_ACEOF
86453
 
+@%:@define HAVE_EACCESS 1
86454
 
+_ACEOF
86455
 
86456
 
+fi
86457
 
+done
86458
 
+
86459
 
+  LIBS=$gl_saved_libs
86460
 
+
86461
 
+fi
86462
 
+
86463
 
+    
86464
 
+  
86465
 
+  
86466
 
+  
86467
 
+          GNULIB_EUIDACCESS=1
86468
 
+    
86469
 
+
86470
 
+
86471
 
+    
86472
 
+  
86473
 
+$as_echo "@%:@define GNULIB_TEST_EUIDACCESS 1" >>confdefs.h
86474
 
+
86475
 
+
86476
 
+
86477
 
+
86478
 
+  
86479
 
+  
86480
 
+  
86481
 
+  
86482
 
+  
86483
 
+  
86484
 
+  if test $ac_cv_func_faccessat = no; then
86485
 
+    HAVE_FACCESSAT=0
86486
 
+    
86487
 
+  
86488
 
+  
86489
 
+    
86490
 
+      
86491
 
+      
86492
 
+    
86493
 
+  
86494
 
+  gl_LIBOBJS="$gl_LIBOBJS faccessat.$ac_objext"
86495
 
+
86496
 
+  fi
86497
 
+
86498
 
+
86499
 
+  
86500
 
+cat >>confdefs.h <<_ACEOF
86501
 
+@%:@define GNULIB_FACCESSAT 1
86502
 
+_ACEOF
86503
 
+
86504
 
+
86505
 
+
86506
 
+    
86507
 
+  
86508
 
+  
86509
 
+  
86510
 
+          GNULIB_FACCESSAT=1
86511
 
+    
86512
 
+
86513
 
+
86514
 
+    
86515
 
+  
86516
 
+$as_echo "@%:@define GNULIB_TEST_FACCESSAT 1" >>confdefs.h
86517
 
+
86518
 
+
86519
 
+
86520
 
+
86521
 
+
86522
 
+  
86523
 
+  
86524
 
+  
86525
 
+
86526
 
+  
86527
 
+  if test $ac_cv_have_decl_fchdir = no; then
86528
 
+    HAVE_DECL_FCHDIR=0
86529
 
+  fi
86530
 
+
86531
 
+  
86532
 
+  if test $HAVE_FCHDIR = 0; then
86533
 
+    
86534
 
+  
86535
 
+  
86536
 
+    
86537
 
+      
86538
 
+      
86539
 
+    
86540
 
+  
86541
 
+  gl_LIBOBJS="$gl_LIBOBJS fchdir.$ac_objext"
86542
 
+
86543
 
+    :
86544
 
+    
86545
 
+$as_echo "@%:@define REPLACE_FCHDIR 1" >>confdefs.h
86546
 
+
86547
 
+                REPLACE_OPENDIR=1
86548
 
+    REPLACE_CLOSEDIR=1
86549
 
+    REPLACE_DUP=1
86550
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether open can visit directories" >&5
86551
 
+$as_echo_n "checking whether open can visit directories... " >&6; }
86552
 
+if ${gl_cv_func_open_directory_works+:} false; then :
86553
 
+  $as_echo_n "(cached) " >&6
86554
 
+else
86555
 
+  if test "$cross_compiling" = yes; then :
86556
 
+  gl_cv_func_open_directory_works="guessing no"
86557
 
+else
86558
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86559
 
+/* end confdefs.h.  */
86560
 
+#include <fcntl.h>
86561
 
+
86562
 
+int
86563
 
+main ()
86564
 
+{
86565
 
+return open(".", O_RDONLY) < 0;
86566
 
+  ;
86567
 
+  return 0;
86568
 
+}
86569
 
+_ACEOF
86570
 
+if ac_fn_c_try_run "$LINENO"; then :
86571
 
+  gl_cv_func_open_directory_works=yes
86572
 
+else
86573
 
+  gl_cv_func_open_directory_works=no
86574
 
+fi
86575
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
86576
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
86577
 
+fi
86578
 
+
86579
 
+fi
86580
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_open_directory_works" >&5
86581
 
+$as_echo "$gl_cv_func_open_directory_works" >&6; }
86582
 
+    if test "$gl_cv_func_open_directory_works" != yes; then
86583
 
+      
86584
 
+$as_echo "@%:@define REPLACE_OPEN_DIRECTORY 1" >>confdefs.h
86585
 
+
86586
 
+      REPLACE_FSTAT=1
86587
 
+    fi
86588
 
+  fi
86589
 
+
86590
 
+
86591
 
+    
86592
 
+  
86593
 
+  
86594
 
+  
86595
 
+          GNULIB_FCHDIR=1
86596
 
+    
86597
 
+
86598
 
+
86599
 
+    
86600
 
+  
86601
 
+$as_echo "@%:@define GNULIB_TEST_FCHDIR 1" >>confdefs.h
86602
 
+
86603
 
+
86604
 
+
86605
 
+
86606
 
+  
86607
 
+
86608
 
+  
86609
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5
86610
 
+$as_echo_n "checking whether fflush works on input streams... " >&6; }
86611
 
+if ${gl_cv_func_fflush_stdin+:} false; then :
86612
 
+  $as_echo_n "(cached) " >&6
86613
 
+else
86614
 
+  echo hello world > conftest.txt
86615
 
+     if test "$cross_compiling" = yes; then :
86616
 
+        gl_cv_func_fflush_stdin=no
86617
 
+else
86618
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86619
 
+/* end confdefs.h.  */
86620
 
+
86621
 
+#include <stdio.h>
86622
 
+#include <unistd.h>
86623
 
+       
86624
 
+int
86625
 
+main ()
86626
 
+{
86627
 
+FILE *f = fopen ("conftest.txt", "r");
86628
 
+         char buffer[10];
86629
 
+         int fd;
86630
 
+         int c;
86631
 
+         if (f == NULL)
86632
 
+           return 1;
86633
 
+         fd = fileno (f);
86634
 
+         if (fd < 0 || fread (buffer, 1, 5, f) != 5)
86635
 
+           return 2;
86636
 
+         /* For deterministic results, ensure f read a bigger buffer.  */
86637
 
+         if (lseek (fd, 0, SEEK_CUR) == 5)
86638
 
+           return 3;
86639
 
+         /* POSIX requires fflush-fseek to set file offset of fd.  This fails
86640
 
+            on BSD systems and on mingw.  */
86641
 
+         if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0)
86642
 
+           return 4;
86643
 
+         if (lseek (fd, 0, SEEK_CUR) != 5)
86644
 
+           return 5;
86645
 
+         /* Verify behaviour of fflush after ungetc. See
86646
 
+            <http://www.opengroup.org/austin/aardvark/latest/xshbug3.txt>  */
86647
 
+         /* Verify behaviour of fflush after a backup ungetc.  This fails on
86648
 
+            mingw.  */
86649
 
+         c = fgetc (f);
86650
 
+         ungetc (c, f);
86651
 
+         fflush (f);
86652
 
+         if (fgetc (f) != c)
86653
 
+           return 6;
86654
 
+         /* Verify behaviour of fflush after a non-backup ungetc.  This fails
86655
 
+            on glibc 2.8 and on BSD systems.  */
86656
 
+         c = fgetc (f);
86657
 
+         ungetc ('@', f);
86658
 
+         fflush (f);
86659
 
+         if (fgetc (f) != c)
86660
 
+           return 7;
86661
 
+         return 0;
86662
 
+       
86663
 
+  ;
86664
 
+  return 0;
86665
 
+}
86666
 
+_ACEOF
86667
 
+if ac_fn_c_try_run "$LINENO"; then :
86668
 
+  gl_cv_func_fflush_stdin=yes
86669
 
+else
86670
 
+  gl_cv_func_fflush_stdin=no
86671
 
+fi
86672
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
86673
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
86674
 
+fi
86675
 
+
86676
 
+     rm conftest.txt
86677
 
+    
86678
 
+fi
86679
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5
86680
 
+$as_echo "$gl_cv_func_fflush_stdin" >&6; }
86681
 
+
86682
 
+  if test $gl_cv_func_fflush_stdin = no; then
86683
 
+    REPLACE_FCLOSE=1
86684
 
+  fi
86685
 
+
86686
 
+  
86687
 
+  if test $REPLACE_CLOSE = 1; then
86688
 
+    REPLACE_FCLOSE=1
86689
 
+  fi
86690
 
+
86691
 
+if test $REPLACE_FCLOSE = 1; then
86692
 
+  
86693
 
+  
86694
 
+  
86695
 
+    
86696
 
+      
86697
 
+      
86698
 
+    
86699
 
+  
86700
 
+  gl_LIBOBJS="$gl_LIBOBJS fclose.$ac_objext"
86701
 
+
86702
 
+fi
86703
 
+
86704
 
+    
86705
 
+  
86706
 
+  
86707
 
+  
86708
 
+          GNULIB_FCLOSE=1
86709
 
+    
86710
 
+
86711
 
+
86712
 
+    
86713
 
+  
86714
 
+$as_echo "@%:@define GNULIB_TEST_FCLOSE 1" >>confdefs.h
86715
 
+
86716
 
+
86717
 
+
86718
 
+
86719
 
+    
86720
 
+  
86721
 
+  
86722
 
+  
86723
 
+  if test $ac_cv_func_fcntl = no; then
86724
 
+    
86725
 
+  
86726
 
+  
86727
 
+  if test $ac_cv_func_fcntl = no; then
86728
 
+    HAVE_FCNTL=0
86729
 
+  else
86730
 
+    REPLACE_FCNTL=1
86731
 
+  fi
86732
 
+
86733
 
+  else
86734
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl handles F_DUPFD correctly" >&5
86735
 
+$as_echo_n "checking whether fcntl handles F_DUPFD correctly... " >&6; }
86736
 
+if ${gl_cv_func_fcntl_f_dupfd_works+:} false; then :
86737
 
+  $as_echo_n "(cached) " >&6
86738
 
+else
86739
 
+  if test "$cross_compiling" = yes; then :
86740
 
+  # Guess that it works on glibc systems
86741
 
+          case $host_os in #((
86742
 
+            *-gnu*) gl_cv_func_fcntl_f_dupfd_works="guessing yes";;
86743
 
+            *)      gl_cv_func_fcntl_f_dupfd_works="guessing no";;
86744
 
+          esac
86745
 
+else
86746
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86747
 
+/* end confdefs.h.  */
86748
 
+
86749
 
+#include <fcntl.h>
86750
 
+#include <errno.h>
86751
 
+
86752
 
+int
86753
 
+main ()
86754
 
+{
86755
 
+int result = 0;
86756
 
+      if (fcntl (0, F_DUPFD, -1) != -1) result |= 1;
86757
 
+      if (errno != EINVAL) result |= 2;
86758
 
+      return result;
86759
 
+         
86760
 
+  ;
86761
 
+  return 0;
86762
 
+}
86763
 
+_ACEOF
86764
 
+if ac_fn_c_try_run "$LINENO"; then :
86765
 
+  gl_cv_func_fcntl_f_dupfd_works=yes
86766
 
+else
86767
 
+  gl_cv_func_fcntl_f_dupfd_works=no
86768
 
+fi
86769
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
86770
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
86771
 
+fi
86772
 
+
86773
 
+fi
86774
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_works" >&5
86775
 
+$as_echo "$gl_cv_func_fcntl_f_dupfd_works" >&6; }
86776
 
+    case $gl_cv_func_fcntl_f_dupfd_works in
86777
 
+      *yes) ;;
86778
 
+      *) 
86779
 
+  
86780
 
+  
86781
 
+  if test $ac_cv_func_fcntl = no; then
86782
 
+    HAVE_FCNTL=0
86783
 
+  else
86784
 
+    REPLACE_FCNTL=1
86785
 
+  fi
86786
 
+
86787
 
+        
86788
 
+$as_echo "@%:@define FCNTL_DUPFD_BUGGY 1" >>confdefs.h
86789
 
+ ;;
86790
 
+    esac
86791
 
+
86792
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl understands F_DUPFD_CLOEXEC" >&5
86793
 
+$as_echo_n "checking whether fcntl understands F_DUPFD_CLOEXEC... " >&6; }
86794
 
+if ${gl_cv_func_fcntl_f_dupfd_cloexec+:} false; then :
86795
 
+  $as_echo_n "(cached) " >&6
86796
 
+else
86797
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86798
 
+/* end confdefs.h.  */
86799
 
+
86800
 
+#include <fcntl.h>
86801
 
+#ifndef F_DUPFD_CLOEXEC
86802
 
+choke me
86803
 
+#endif
86804
 
+         
86805
 
+int
86806
 
+main ()
86807
 
+{
86808
 
+
86809
 
+  ;
86810
 
+  return 0;
86811
 
+}
86812
 
+_ACEOF
86813
 
+if ac_fn_c_try_compile "$LINENO"; then :
86814
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86815
 
+/* end confdefs.h.  */
86816
 
+
86817
 
+#ifdef __linux__
86818
 
+/* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace
86819
 
+   it to support the semantics on older kernels that failed with EINVAL.  */
86820
 
+choke me
86821
 
+#endif
86822
 
+           
86823
 
+int
86824
 
+main ()
86825
 
+{
86826
 
+
86827
 
+  ;
86828
 
+  return 0;
86829
 
+}
86830
 
+_ACEOF
86831
 
+if ac_fn_c_try_compile "$LINENO"; then :
86832
 
+  gl_cv_func_fcntl_f_dupfd_cloexec=yes
86833
 
+else
86834
 
+  gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check"
86835
 
+fi
86836
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
86837
 
+else
86838
 
+  gl_cv_func_fcntl_f_dupfd_cloexec=no
86839
 
+fi
86840
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
86841
 
+fi
86842
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_cloexec" >&5
86843
 
+$as_echo "$gl_cv_func_fcntl_f_dupfd_cloexec" >&6; }
86844
 
+    if test "$gl_cv_func_fcntl_f_dupfd_cloexec" != yes; then
86845
 
+      
86846
 
+  
86847
 
+  
86848
 
+  if test $ac_cv_func_fcntl = no; then
86849
 
+    HAVE_FCNTL=0
86850
 
+  else
86851
 
+    REPLACE_FCNTL=1
86852
 
+  fi
86853
 
+
86854
 
+          fi
86855
 
+  fi
86856
 
+      
86857
 
+    
86858
 
+  
86859
 
+  
86860
 
+  if test $ac_cv_func_fchdir = no; then
86861
 
+    HAVE_FCHDIR=0
86862
 
+  fi
86863
 
+
86864
 
+    if test $HAVE_FCHDIR = 0; then
86865
 
+      
86866
 
+  
86867
 
+  
86868
 
+  if test $ac_cv_func_fcntl = no; then
86869
 
+    HAVE_FCNTL=0
86870
 
+  else
86871
 
+    REPLACE_FCNTL=1
86872
 
+  fi
86873
 
+
86874
 
+    fi
86875
 
+  
86876
 
+
86877
 
+if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
86878
 
+  
86879
 
+  
86880
 
+  
86881
 
+    
86882
 
+      
86883
 
+      
86884
 
+    
86885
 
+  
86886
 
+  gl_LIBOBJS="$gl_LIBOBJS fcntl.$ac_objext"
86887
 
+
86888
 
+fi
86889
 
+
86890
 
+    
86891
 
+  
86892
 
+  
86893
 
+  
86894
 
+          GNULIB_FCNTL=1
86895
 
+    
86896
 
+
86897
 
+
86898
 
+    
86899
 
+  
86900
 
+$as_echo "@%:@define GNULIB_TEST_FCNTL 1" >>confdefs.h
86901
 
+
86902
 
+
86903
 
+
86904
 
+
86905
 
+  
86906
 
+  
86907
 
+  
86908
 
+  
86909
 
+  
86910
 
+  
86911
 
+
86912
 
+  
86913
 
+
86914
 
+  
86915
 
+     if test $gl_cv_have_include_next = yes; then
86916
 
+       gl_cv_next_fcntl_h='<'fcntl.h'>'
86917
 
+     else
86918
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <fcntl.h>" >&5
86919
 
+$as_echo_n "checking absolute name of <fcntl.h>... " >&6; }
86920
 
+if ${gl_cv_next_fcntl_h+:} false; then :
86921
 
+  $as_echo_n "(cached) " >&6
86922
 
+else
86923
 
+  
86924
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86925
 
+/* end confdefs.h.  */
86926
 
+#include <fcntl.h>
86927
 
+                  
86928
 
+_ACEOF
86929
 
+                                                                                                                        case "$host_os" in
86930
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
86931
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
86932
 
+               esac
86933
 
+                                                            gl_cv_next_fcntl_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
86934
 
+                  sed -n '\#/fcntl.h#{
86935
 
+                    s#.*"\(.*/fcntl.h\)".*#\1#
86936
 
+                    s#^/[^/]#//&#
86937
 
+                    p
86938
 
+                    q
86939
 
+                  }'`'"'
86940
 
+          
86941
 
+         
86942
 
+fi
86943
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fcntl_h" >&5
86944
 
+$as_echo "$gl_cv_next_fcntl_h" >&6; }
86945
 
+     fi
86946
 
+     NEXT_FCNTL_H=$gl_cv_next_fcntl_h
86947
 
+
86948
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
86949
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
86950
 
+       gl_next_as_first_directive='<'fcntl.h'>'
86951
 
+     else
86952
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
86953
 
+       gl_next_as_first_directive=$gl_cv_next_fcntl_h
86954
 
+     fi
86955
 
+     NEXT_AS_FIRST_DIRECTIVE_FCNTL_H=$gl_next_as_first_directive
86956
 
+
86957
 
+     
86958
 
+
86959
 
+
86960
 
+
86961
 
+        
86962
 
+    for gl_func in fcntl openat; do
86963
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
86964
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
86965
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
86966
 
+if eval \${$as_gl_Symbol+:} false; then :
86967
 
+  $as_echo_n "(cached) " >&6
86968
 
+else
86969
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86970
 
+/* end confdefs.h.  */
86971
 
+#include <fcntl.h>
86972
 
+    
86973
 
+int
86974
 
+main ()
86975
 
+{
86976
 
+@%:@undef $gl_func
86977
 
+  (void) $gl_func;
86978
 
+  ;
86979
 
+  return 0;
86980
 
+}
86981
 
+_ACEOF
86982
 
+if ac_fn_c_try_compile "$LINENO"; then :
86983
 
+  eval "$as_gl_Symbol=yes"
86984
 
+else
86985
 
+  eval "$as_gl_Symbol=no"
86986
 
+fi
86987
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
86988
 
+fi
86989
 
+eval ac_res=\$$as_gl_Symbol
86990
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
86991
 
+$as_echo "$ac_res" >&6; }
86992
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
86993
 
+  cat >>confdefs.h <<_ACEOF
86994
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
86995
 
+_ACEOF
86996
 
+
86997
 
+                     eval ac_cv_have_decl_$gl_func=yes
86998
 
+fi
86999
 
+      done
87000
 
+
87001
 
+
87002
 
+
87003
 
+    
87004
 
+
87005
 
+
87006
 
+  
87007
 
+cat >>confdefs.h <<_ACEOF
87008
 
+@%:@define GNULIB_FCNTL_SAFER 1
87009
 
+_ACEOF
87010
 
+
87011
 
+
87012
 
+
87013
 
+  
87014
 
+cat >>confdefs.h <<_ACEOF
87015
 
+@%:@define GNULIB_FD_SAFER_FLAG 1
87016
 
+_ACEOF
87017
 
+
87018
 
+
87019
 
+
87020
 
+  
87021
 
+    ac_fn_c_check_decl "$LINENO" "fdopendir" "ac_cv_have_decl_fdopendir" "
87022
 
+#include <dirent.h>
87023
 
+    
87024
 
+"
87025
 
+if test "x$ac_cv_have_decl_fdopendir" = xyes; then :
87026
 
+  ac_have_decl=1
87027
 
+else
87028
 
+  ac_have_decl=0
87029
 
+fi
87030
 
+
87031
 
+cat >>confdefs.h <<_ACEOF
87032
 
+@%:@define HAVE_DECL_FDOPENDIR $ac_have_decl
87033
 
+_ACEOF
87034
 
+if test $ac_have_decl = 1; then :
87035
 
+  
87036
 
+else
87037
 
+  HAVE_DECL_FDOPENDIR=0
87038
 
+fi
87039
 
+
87040
 
+  
87041
 
+  if test $ac_cv_func_fdopendir = no; then
87042
 
+    HAVE_FDOPENDIR=0
87043
 
+  else
87044
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fdopendir works" >&5
87045
 
+$as_echo_n "checking whether fdopendir works... " >&6; }
87046
 
+if ${gl_cv_func_fdopendir_works+:} false; then :
87047
 
+  $as_echo_n "(cached) " >&6
87048
 
+else
87049
 
+  if test "$cross_compiling" = yes; then :
87050
 
+  gl_cv_func_fdopendir_works="guessing no"
87051
 
+else
87052
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
87053
 
+/* end confdefs.h.  */
87054
 
+
87055
 
+#include <dirent.h>
87056
 
+#include <fcntl.h>
87057
 
+#include <unistd.h>
87058
 
+#if !HAVE_DECL_FDOPENDIR
87059
 
+extern
87060
 
+# ifdef __cplusplus
87061
 
+"C"
87062
 
+# endif
87063
 
+DIR *fdopendir (int);
87064
 
+#endif
87065
 
+
87066
 
+int
87067
 
+main ()
87068
 
+{
87069
 
+int result = 0;
87070
 
+     int fd = open ("conftest.c", O_RDONLY);
87071
 
+     if (fd < 0) result |= 1;
87072
 
+     if (fdopendir (fd)) result |= 2;
87073
 
+     if (close (fd)) result |= 4;
87074
 
+     return result;
87075
 
+  ;
87076
 
+  return 0;
87077
 
+}
87078
 
+_ACEOF
87079
 
+if ac_fn_c_try_run "$LINENO"; then :
87080
 
+  gl_cv_func_fdopendir_works=yes
87081
 
+else
87082
 
+  gl_cv_func_fdopendir_works=no
87083
 
+fi
87084
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
87085
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
87086
 
+fi
87087
 
+
87088
 
+fi
87089
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fdopendir_works" >&5
87090
 
+$as_echo "$gl_cv_func_fdopendir_works" >&6; }
87091
 
+    if test "$gl_cv_func_fdopendir_works" != yes; then
87092
 
+      REPLACE_FDOPENDIR=1
87093
 
+    fi
87094
 
+  fi
87095
 
+
87096
 
+if test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then
87097
 
+  
87098
 
+  
87099
 
+  
87100
 
+    
87101
 
+      
87102
 
+      
87103
 
+    
87104
 
+  
87105
 
+  gl_LIBOBJS="$gl_LIBOBJS fdopendir.$ac_objext"
87106
 
+
87107
 
+fi
87108
 
+if test $HAVE_FDOPENDIR = 0; then
87109
 
+  
87110
 
+  
87111
 
+  
87112
 
+    
87113
 
+      
87114
 
+      
87115
 
+    
87116
 
+  
87117
 
+  gl_LIBOBJS="$gl_LIBOBJS openat-proc.$ac_objext"
87118
 
+
87119
 
+fi
87120
 
+
87121
 
+    
87122
 
+  
87123
 
+  
87124
 
+  
87125
 
+          GNULIB_FDOPENDIR=1
87126
 
+    
87127
 
+
87128
 
+
87129
 
+    
87130
 
+  
87131
 
+$as_echo "@%:@define GNULIB_TEST_FDOPENDIR 1" >>confdefs.h
87132
 
+
87133
 
+
87134
 
+
87135
 
+
87136
 
+  
87137
 
+cat >>confdefs.h <<_ACEOF
87138
 
+@%:@define GNULIB_FDOPENDIR 1
87139
 
+_ACEOF
87140
 
+
87141
 
+
87142
 
87143
 
+  
87144
 
+cat >>confdefs.h <<_ACEOF
87145
 
+@%:@define GNULIB_FDUTIMENSAT 1
87146
 
+_ACEOF
87147
 
+
87148
 
+
87149
 
+
87150
 
+  
87151
 
+  
87152
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5
87153
 
+$as_echo_n "checking whether fflush works on input streams... " >&6; }
87154
 
+if ${gl_cv_func_fflush_stdin+:} false; then :
87155
 
+  $as_echo_n "(cached) " >&6
87156
 
+else
87157
 
+  echo hello world > conftest.txt
87158
 
+     if test "$cross_compiling" = yes; then :
87159
 
+        gl_cv_func_fflush_stdin=no
87160
 
+else
87161
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
87162
 
+/* end confdefs.h.  */
87163
 
+
87164
 
+#include <stdio.h>
87165
 
+#include <unistd.h>
87166
 
+       
87167
 
+int
87168
 
+main ()
87169
 
+{
87170
 
+FILE *f = fopen ("conftest.txt", "r");
87171
 
+         char buffer[10];
87172
 
+         int fd;
87173
 
+         int c;
87174
 
+         if (f == NULL)
87175
 
+           return 1;
87176
 
+         fd = fileno (f);
87177
 
+         if (fd < 0 || fread (buffer, 1, 5, f) != 5)
87178
 
+           return 2;
87179
 
+         /* For deterministic results, ensure f read a bigger buffer.  */
87180
 
+         if (lseek (fd, 0, SEEK_CUR) == 5)
87181
 
+           return 3;
87182
 
+         /* POSIX requires fflush-fseek to set file offset of fd.  This fails
87183
 
+            on BSD systems and on mingw.  */
87184
 
+         if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0)
87185
 
+           return 4;
87186
 
+         if (lseek (fd, 0, SEEK_CUR) != 5)
87187
 
+           return 5;
87188
 
+         /* Verify behaviour of fflush after ungetc. See
87189
 
+            <http://www.opengroup.org/austin/aardvark/latest/xshbug3.txt>  */
87190
 
+         /* Verify behaviour of fflush after a backup ungetc.  This fails on
87191
 
+            mingw.  */
87192
 
+         c = fgetc (f);
87193
 
+         ungetc (c, f);
87194
 
+         fflush (f);
87195
 
+         if (fgetc (f) != c)
87196
 
+           return 6;
87197
 
+         /* Verify behaviour of fflush after a non-backup ungetc.  This fails
87198
 
+            on glibc 2.8 and on BSD systems.  */
87199
 
+         c = fgetc (f);
87200
 
+         ungetc ('@', f);
87201
 
+         fflush (f);
87202
 
+         if (fgetc (f) != c)
87203
 
+           return 7;
87204
 
+         return 0;
87205
 
+       
87206
 
+  ;
87207
 
+  return 0;
87208
 
+}
87209
 
+_ACEOF
87210
 
+if ac_fn_c_try_run "$LINENO"; then :
87211
 
+  gl_cv_func_fflush_stdin=yes
87212
 
+else
87213
 
+  gl_cv_func_fflush_stdin=no
87214
 
+fi
87215
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
87216
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
87217
 
+fi
87218
 
+
87219
 
+     rm conftest.txt
87220
 
+    
87221
 
+fi
87222
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5
87223
 
+$as_echo "$gl_cv_func_fflush_stdin" >&6; }
87224
 
+
87225
 
+  if test $gl_cv_func_fflush_stdin = no; then
87226
 
+    REPLACE_FFLUSH=1
87227
 
+  fi
87228
 
+
87229
 
+if test $REPLACE_FFLUSH = 1; then
87230
 
+  
87231
 
+  
87232
 
+  
87233
 
+    
87234
 
+      
87235
 
+      
87236
 
+    
87237
 
+  
87238
 
+  gl_LIBOBJS="$gl_LIBOBJS fflush.$ac_objext"
87239
 
+
87240
 
+  
87241
 
+  
87242
 
+  :
87243
 
+
87244
 
+fi
87245
 
+
87246
 
+  
87247
 
+cat >>confdefs.h <<_ACEOF
87248
 
+@%:@define GNULIB_FFLUSH 1
87249
 
+_ACEOF
87250
 
+
87251
 
+
87252
 
+
87253
 
+    
87254
 
+  
87255
 
+  
87256
 
+  
87257
 
+          GNULIB_FFLUSH=1
87258
 
+    
87259
 
+
87260
 
+
87261
 
+    
87262
 
+  
87263
 
+$as_echo "@%:@define GNULIB_TEST_FFLUSH 1" >>confdefs.h
87264
 
+
87265
 
+
87266
 
+
87267
 
+
87268
 
+  
87269
 
+    ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
87270
 
+if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
87271
 
+  
87272
 
+cat >>confdefs.h <<_ACEOF
87273
 
+@%:@define HAVE_STRUCT_STAT_ST_BLOCKS 1
87274
 
+_ACEOF
87275
 
+
87276
 
+
87277
 
+$as_echo "@%:@define HAVE_ST_BLOCKS 1" >>confdefs.h
87278
 
+
87279
 
+else
87280
 
+  :
87281
 
+fi
87282
 
+
87283
 
+
87284
 
+  
87285
 
+        
87286
 
+if test $ac_cv_member_struct_stat_st_blocks = no; then
87287
 
+  
87288
 
+  
87289
 
+  
87290
 
+    
87291
 
+      
87292
 
+      
87293
 
+    
87294
 
+  
87295
 
+  gl_LIBOBJS="$gl_LIBOBJS fileblocks.$ac_objext"
87296
 
+
87297
 
+  
87298
 
+  
87299
 
+  :
87300
 
+
87301
 
+fi
87302
 
+
87303
 
+  
87304
 
+  
87305
 
+
87306
 
+
87307
 
+  
87308
 
+
87309
 
+
87310
 
+  
87311
 
+cat >>confdefs.h <<_ACEOF
87312
 
+@%:@define GNULIB_FILENAMECAT 1
87313
 
+_ACEOF
87314
 
+
87315
 
+
87316
 
+
87317
 
+    
87318
 
+
87319
 
+
87320
 
+
87321
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flexible array member" >&5
87322
 
+$as_echo_n "checking for flexible array member... " >&6; }
87323
 
+if ${ac_cv_c_flexmember+:} false; then :
87324
 
+  $as_echo_n "(cached) " >&6
87325
 
+else
87326
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
87327
 
+/* end confdefs.h.  */
87328
 
+#include <stdlib.h>
87329
 
+            #include <stdio.h>
87330
 
+            #include <stddef.h>
87331
 
+            struct s { int n; double d[]; };
87332
 
+int
87333
 
+main ()
87334
 
+{
87335
 
+int m = getchar ();
87336
 
+            struct s *p = malloc (offsetof (struct s, d)
87337
 
+                                  + m * sizeof (double));
87338
 
+            p->d[0] = 0.0;
87339
 
+            return p->d != (double *) NULL;
87340
 
+  ;
87341
 
+  return 0;
87342
 
+}
87343
 
+_ACEOF
87344
 
+if ac_fn_c_try_compile "$LINENO"; then :
87345
 
+  ac_cv_c_flexmember=yes
87346
 
+else
87347
 
+  ac_cv_c_flexmember=no
87348
 
+fi
87349
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
87350
 
+fi
87351
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
87352
 
+$as_echo "$ac_cv_c_flexmember" >&6; }
87353
 
+  if test $ac_cv_c_flexmember = yes; then
87354
 
+    
87355
 
+$as_echo "@%:@define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
87356
 
+
87357
 
+  else
87358
 
+    $as_echo "@%:@define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
87359
 
+
87360
 
+  fi
87361
 
+
87362
 
+
87363
 
+  
87364
 
+  
87365
 
+  FLOAT_H=
87366
 
+  REPLACE_FLOAT_LDBL=0
87367
 
+  case "$host_os" in
87368
 
+    aix* | beos* | openbsd* | mirbsd* | irix*)
87369
 
+      FLOAT_H=float.h
87370
 
+      ;;
87371
 
+    freebsd*)
87372
 
+      case "$host_cpu" in
87373
 
+        i[34567]86 )
87374
 
+          FLOAT_H=float.h
87375
 
+          ;;
87376
 
+        x86_64 )
87377
 
+          # On x86_64 systems, the C compiler may still be generating
87378
 
+          # 32-bit code.
87379
 
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
87380
 
+/* end confdefs.h.  */
87381
 
+#if defined __LP64__ || defined __x86_64__ || defined __amd64__
87382
 
+             yes
87383
 
+             #endif
87384
 
+_ACEOF
87385
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
87386
 
+  $EGREP "yes" >/dev/null 2>&1; then :
87387
 
+  
87388
 
+else
87389
 
+  FLOAT_H=float.h
87390
 
+fi
87391
 
+rm -f conftest*
87392
 
+
87393
 
+          ;;
87394
 
+      esac
87395
 
+      ;;
87396
 
+    linux*)
87397
 
+      case "$host_cpu" in
87398
 
+        powerpc*)
87399
 
+          FLOAT_H=float.h
87400
 
+          ;;
87401
 
+      esac
87402
 
+      ;;
87403
 
+  esac
87404
 
+  case "$host_os" in
87405
 
+    aix* | freebsd* | linux*)
87406
 
+      if test -n "$FLOAT_H"; then
87407
 
+        REPLACE_FLOAT_LDBL=1
87408
 
+      fi
87409
 
+      ;;
87410
 
+  esac
87411
 
+  if test -n "$FLOAT_H"; then
87412
 
+    
87413
 
+  
87414
 
+  
87415
 
+  
87416
 
+
87417
 
+  
87418
 
+
87419
 
+  
87420
 
+     if test $gl_cv_have_include_next = yes; then
87421
 
+       gl_cv_next_float_h='<'float.h'>'
87422
 
+     else
87423
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <float.h>" >&5
87424
 
+$as_echo_n "checking absolute name of <float.h>... " >&6; }
87425
 
+if ${gl_cv_next_float_h+:} false; then :
87426
 
+  $as_echo_n "(cached) " >&6
87427
 
+else
87428
 
+  
87429
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
87430
 
+/* end confdefs.h.  */
87431
 
+#include <float.h>
87432
 
+                  
87433
 
+_ACEOF
87434
 
+                                                                                                                        case "$host_os" in
87435
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
87436
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
87437
 
+               esac
87438
 
+                                                            gl_cv_next_float_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
87439
 
+                  sed -n '\#/float.h#{
87440
 
+                    s#.*"\(.*/float.h\)".*#\1#
87441
 
+                    s#^/[^/]#//&#
87442
 
+                    p
87443
 
+                    q
87444
 
+                  }'`'"'
87445
 
+          
87446
 
+         
87447
 
+fi
87448
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5
87449
 
+$as_echo "$gl_cv_next_float_h" >&6; }
87450
 
+     fi
87451
 
+     NEXT_FLOAT_H=$gl_cv_next_float_h
87452
 
+
87453
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
87454
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
87455
 
+       gl_next_as_first_directive='<'float.h'>'
87456
 
+     else
87457
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
87458
 
+       gl_next_as_first_directive=$gl_cv_next_float_h
87459
 
+     fi
87460
 
+     NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive
87461
 
+
87462
 
+     
87463
 
+
87464
 
+
87465
 
+  fi
87466
 
+  
87467
 
+   if test -n "$FLOAT_H"; then
87468
 
+  GL_GENERATE_FLOAT_H_TRUE=
87469
 
+  GL_GENERATE_FLOAT_H_FALSE='#'
87470
 
+else
87471
 
+  GL_GENERATE_FLOAT_H_TRUE='#'
87472
 
+  GL_GENERATE_FLOAT_H_FALSE=
87473
 
+fi
87474
 
+
87475
 
+
87476
 
+if test $REPLACE_FLOAT_LDBL = 1; then
87477
 
+  
87478
 
+  
87479
 
+  
87480
 
+    
87481
 
+      
87482
 
+      
87483
 
+    
87484
 
+  
87485
 
+  gl_LIBOBJS="$gl_LIBOBJS float.$ac_objext"
87486
 
+
87487
 
+fi
87488
 
+
87489
 
+  
87490
 
+
87491
 
+          
87492
 
+
87493
 
+  FNMATCH_H=
87494
 
+  gl_fnmatch_required_lowercase=`
87495
 
+    echo $gl_fnmatch_required | tr '[A-Z]' '[a-z]'
87496
 
+  `
87497
 
+  gl_fnmatch_cache_var="gl_cv_func_fnmatch_${gl_fnmatch_required_lowercase}"
87498
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working $gl_fnmatch_required fnmatch" >&5
87499
 
+$as_echo_n "checking for working $gl_fnmatch_required fnmatch... " >&6; }
87500
 
+if eval \${$gl_fnmatch_cache_var+:} false; then :
87501
 
+  $as_echo_n "(cached) " >&6
87502
 
+else
87503
 
+                           if test $gl_fnmatch_required = GNU; then
87504
 
+       gl_fnmatch_gnu_start=
87505
 
+       gl_fnmatch_gnu_end=
87506
 
+     else
87507
 
+       gl_fnmatch_gnu_start='#if 0'
87508
 
+       gl_fnmatch_gnu_end='#endif'
87509
 
+     fi
87510
 
+     if test "$cross_compiling" = yes; then :
87511
 
+  eval "$gl_fnmatch_cache_var=\"guessing no\""
87512
 
+else
87513
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
87514
 
+/* end confdefs.h.  */
87515
 
+#include <fnmatch.h>
87516
 
+            static int
87517
 
+            y (char const *pattern, char const *string, int flags)
87518
 
+            {
87519
 
+              return fnmatch (pattern, string, flags) == 0;
87520
 
+            }
87521
 
+            static int
87522
 
+            n (char const *pattern, char const *string, int flags)
87523
 
+            {
87524
 
+              return fnmatch (pattern, string, flags) == FNM_NOMATCH;
87525
 
+            }
87526
 
+          
87527
 
+int
87528
 
+main ()
87529
 
+{
87530
 
+char const *Apat = 'A' < '\\\\' ? "[A-\\\\\\\\]" : "[\\\\\\\\-A]";
87531
 
+            char const *apat = 'a' < '\\\\' ? "[a-\\\\\\\\]" : "[\\\\\\\\-a]";
87532
 
+            static char const A_1[] = { 'A' - 1, 0 };
87533
 
+            static char const A01[] = { 'A' + 1, 0 };
87534
 
+            static char const a_1[] = { 'a' - 1, 0 };
87535
 
+            static char const a01[] = { 'a' + 1, 0 };
87536
 
+            static char const bs_1[] = { '\\\\' - 1, 0 };
87537
 
+            static char const bs01[] = { '\\\\' + 1, 0 };
87538
 
+            int result = 0;
87539
 
+            if (!n ("a*", "", 0))
87540
 
+              return 1;
87541
 
+            if (!y ("a*", "abc", 0))
87542
 
+              return 1;
87543
 
+            if (!y ("[/b", "[/b", 0)) /*"]]"*/ /* glibc Bugzilla bug 12378 */
87544
 
+              return 1;
87545
 
+            if (!n ("d*/*1", "d/s/1", FNM_PATHNAME))
87546
 
+              return 2;
87547
 
+            if (!y ("a\\\\bc", "abc", 0))
87548
 
+              return 3;
87549
 
+            if (!n ("a\\\\bc", "abc", FNM_NOESCAPE))
87550
 
+              return 3;
87551
 
+            if (!y ("*x", ".x", 0))
87552
 
+              return 4;
87553
 
+            if (!n ("*x", ".x", FNM_PERIOD))
87554
 
+              return 4;
87555
 
+            if (!y (Apat, "\\\\", 0))
87556
 
+              return 5;
87557
 
+            if (!y (Apat, "A", 0))
87558
 
+              return 5;
87559
 
+            if (!y (apat, "\\\\", 0))
87560
 
+              return 5;
87561
 
+            if (!y (apat, "a", 0))
87562
 
+              return 5;
87563
 
+            if (!(n (Apat, A_1, 0) == ('A' < '\\\\')))
87564
 
+              return 5;
87565
 
+            if (!(n (apat, a_1, 0) == ('a' < '\\\\')))
87566
 
+              return 5;
87567
 
+            if (!(y (Apat, A01, 0) == ('A' < '\\\\')))
87568
 
+              return 5;
87569
 
+            if (!(y (apat, a01, 0) == ('a' < '\\\\')))
87570
 
+              return 5;
87571
 
+            if (!(y (Apat, bs_1, 0) == ('A' < '\\\\')))
87572
 
+              return 5;
87573
 
+            if (!(y (apat, bs_1, 0) == ('a' < '\\\\')))
87574
 
+              return 5;
87575
 
+            if (!(n (Apat, bs01, 0) == ('A' < '\\\\')))
87576
 
+              return 5;
87577
 
+            if (!(n (apat, bs01, 0) == ('a' < '\\\\')))
87578
 
+              return 5;
87579
 
+            $gl_fnmatch_gnu_start
87580
 
+            if (!y ("xxXX", "xXxX", FNM_CASEFOLD))
87581
 
+              result |= 8;
87582
 
+            if (!y ("a++(x|yy)b", "a+xyyyyxb", FNM_EXTMATCH))
87583
 
+              result |= 16;
87584
 
+            if (!n ("d*/*1", "d/s/1", FNM_FILE_NAME))
87585
 
+              result |= 32;
87586
 
+            if (!y ("*", "x", FNM_FILE_NAME | FNM_LEADING_DIR))
87587
 
+              result |= 64;
87588
 
+            if (!y ("x*", "x/y/z", FNM_FILE_NAME | FNM_LEADING_DIR))
87589
 
+              result |= 64;
87590
 
+            if (!y ("*c*", "c/x", FNM_FILE_NAME | FNM_LEADING_DIR))
87591
 
+              result |= 64;
87592
 
+            $gl_fnmatch_gnu_end
87593
 
+            return result;
87594
 
+          
87595
 
+  ;
87596
 
+  return 0;
87597
 
+}
87598
 
+_ACEOF
87599
 
+if ac_fn_c_try_run "$LINENO"; then :
87600
 
+  eval "$gl_fnmatch_cache_var=yes"
87601
 
+else
87602
 
+  eval "$gl_fnmatch_cache_var=no"
87603
 
+fi
87604
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
87605
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
87606
 
+fi
87607
 
+
87608
 
+    
87609
 
+fi
87610
 
+eval ac_res=\$$gl_fnmatch_cache_var
87611
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
87612
 
+$as_echo "$ac_res" >&6; }
87613
 
+  eval "gl_fnmatch_result=\"\$$gl_fnmatch_cache_var\""
87614
 
+  if test "$gl_fnmatch_result" = yes; then
87615
 
+            rm -f "$gl_source_base/fnmatch.h"
87616
 
+  else
87617
 
+    FNMATCH_H=fnmatch.h
87618
 
+  fi
87619
 
+  
87620
 
+   if test -n "$FNMATCH_H"; then
87621
 
+  GL_GENERATE_FNMATCH_H_TRUE=
87622
 
+  GL_GENERATE_FNMATCH_H_FALSE='#'
87623
 
+else
87624
 
+  GL_GENERATE_FNMATCH_H_TRUE='#'
87625
 
+  GL_GENERATE_FNMATCH_H_FALSE=
87626
 
+fi
87627
 
+
87628
 
+
87629
 
+if test -n "$FNMATCH_H"; then
87630
 
+  
87631
 
+  
87632
 
+  
87633
 
+    
87634
 
+      
87635
 
+      
87636
 
+    
87637
 
+  
87638
 
+  gl_LIBOBJS="$gl_LIBOBJS fnmatch.$ac_objext"
87639
 
+
87640
 
+  
87641
 
+        
87642
 
+cat >>confdefs.h <<_ACEOF
87643
 
+@%:@define fnmatch ${gl_fnmatch_required_lowercase}_fnmatch
87644
 
+_ACEOF
87645
 
+
87646
 
+    
87647
 
+  ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include <ctype.h>
87648
 
+"
87649
 
+if test "x$ac_cv_have_decl_isblank" = xyes; then :
87650
 
+  ac_have_decl=1
87651
 
+else
87652
 
+  ac_have_decl=0
87653
 
+fi
87654
 
+
87655
 
+cat >>confdefs.h <<_ACEOF
87656
 
+@%:@define HAVE_DECL_ISBLANK $ac_have_decl
87657
 
+_ACEOF
87658
 
+
87659
 
+  
87660
 
+  
87661
 
+
87662
 
+fi
87663
 
+
87664
 
+  
87665
 
+
87666
 
+  
87667
 
+
87668
 
+if test -n "$FNMATCH_H"; then
87669
 
+  
87670
 
+  
87671
 
+  
87672
 
+    
87673
 
+      
87674
 
+      
87675
 
+    
87676
 
+  
87677
 
+  gl_LIBOBJS="$gl_LIBOBJS fnmatch.$ac_objext"
87678
 
+
87679
 
+  
87680
 
+        
87681
 
+cat >>confdefs.h <<_ACEOF
87682
 
+@%:@define fnmatch ${gl_fnmatch_required_lowercase}_fnmatch
87683
 
+_ACEOF
87684
 
+
87685
 
+    
87686
 
+  ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include <ctype.h>
87687
 
+"
87688
 
+if test "x$ac_cv_have_decl_isblank" = xyes; then :
87689
 
+  ac_have_decl=1
87690
 
+else
87691
 
+  ac_have_decl=0
87692
 
+fi
87693
 
+
87694
 
+cat >>confdefs.h <<_ACEOF
87695
 
+@%:@define HAVE_DECL_ISBLANK $ac_have_decl
87696
 
+_ACEOF
87697
 
+
87698
 
+  
87699
 
+  
87700
 
+
87701
 
+fi
87702
 
+
87703
 
+  
87704
 
+  
87705
 
+  case "$host_os" in
87706
 
+    mingw* | pw*)
87707
 
+            REPLACE_FOPEN=1
87708
 
+            gl_cv_func_fopen_slash="guessing no"
87709
 
+      ;;
87710
 
+    *)
87711
 
+                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fopen recognizes a trailing slash" >&5
87712
 
+$as_echo_n "checking whether fopen recognizes a trailing slash... " >&6; }
87713
 
+if ${gl_cv_func_fopen_slash+:} false; then :
87714
 
+  $as_echo_n "(cached) " >&6
87715
 
+else
87716
 
+  
87717
 
+          if test "$cross_compiling" = yes; then :
87718
 
+  
87719
 
+             case "$host_os" in
87720
 
+               aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*)
87721
 
+                 gl_cv_func_fopen_slash="guessing no" ;;
87722
 
+               *)
87723
 
+                 gl_cv_func_fopen_slash="guessing yes" ;;
87724
 
+             esac
87725
 
+            
87726
 
+else
87727
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
87728
 
+/* end confdefs.h.  */
87729
 
+
87730
 
+#include <stddef.h>
87731
 
+#include <stdio.h>
87732
 
+int main ()
87733
 
+{
87734
 
+  return fopen ("conftest.sl/", "w") != NULL;
87735
 
+}
87736
 
+_ACEOF
87737
 
+if ac_fn_c_try_run "$LINENO"; then :
87738
 
+  gl_cv_func_fopen_slash=yes
87739
 
+else
87740
 
+  gl_cv_func_fopen_slash=no
87741
 
+fi
87742
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
87743
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
87744
 
+fi
87745
 
+
87746
 
+          rm -f conftest.sl
87747
 
+        
87748
 
+fi
87749
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fopen_slash" >&5
87750
 
+$as_echo "$gl_cv_func_fopen_slash" >&6; }
87751
 
+      ;;
87752
 
+  esac
87753
 
+  case "$gl_cv_func_fopen_slash" in
87754
 
+    *no)
87755
 
+      
87756
 
+$as_echo "@%:@define FOPEN_TRAILING_SLASH_BUG 1" >>confdefs.h
87757
 
+
87758
 
+      REPLACE_FOPEN=1
87759
 
+      ;;
87760
 
+  esac
87761
 
+
87762
 
+if test $REPLACE_FOPEN = 1; then
87763
 
+  
87764
 
+  
87765
 
+  
87766
 
+    
87767
 
+      
87768
 
+      
87769
 
+    
87770
 
+  
87771
 
+  gl_LIBOBJS="$gl_LIBOBJS fopen.$ac_objext"
87772
 
+
87773
 
+  
87774
 
+  
87775
 
+
87776
 
+fi
87777
 
+
87778
 
+    
87779
 
+  
87780
 
+  
87781
 
+  
87782
 
+          GNULIB_FOPEN=1
87783
 
+    
87784
 
+
87785
 
+
87786
 
+    
87787
 
+  
87788
 
+$as_echo "@%:@define GNULIB_TEST_FOPEN 1" >>confdefs.h
87789
 
+
87790
 
+
87791
 
+
87792
 
+
87793
 
+  
87794
 
+cat >>confdefs.h <<_ACEOF
87795
 
+@%:@define GNULIB_FOPEN_SAFER 1
87796
 
+_ACEOF
87797
 
+
87798
 
+
87799
 
+
87800
 
+  
87801
 
+  
87802
 
+  fp_headers='
87803
 
+#     include <stdio.h>
87804
 
+#     if HAVE_STDIO_EXT_H
87805
 
+#      include <stdio_ext.h>
87806
 
+#     endif
87807
 
+'
87808
 
+  ac_fn_c_check_decl "$LINENO" "__fpending" "ac_cv_have_decl___fpending" "$fp_headers
87809
 
+"
87810
 
+if test "x$ac_cv_have_decl___fpending" = xyes; then :
87811
 
+  ac_have_decl=1
87812
 
+else
87813
 
+  ac_have_decl=0
87814
 
+fi
87815
 
+
87816
 
+cat >>confdefs.h <<_ACEOF
87817
 
+@%:@define HAVE_DECL___FPENDING $ac_have_decl
87818
 
+_ACEOF
87819
 
+
87820
 
+
87821
 
+if test $ac_cv_func___fpending = no; then
87822
 
+  
87823
 
+  
87824
 
+  
87825
 
+    
87826
 
+      
87827
 
+      
87828
 
+    
87829
 
+  
87830
 
+  gl_LIBOBJS="$gl_LIBOBJS fpending.$ac_objext"
87831
 
+
87832
 
+  
87833
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to determine the number of pending output bytes on a stream" >&5
87834
 
+$as_echo_n "checking how to determine the number of pending output bytes on a stream... " >&6; }
87835
 
+if ${ac_cv_sys_pending_output_n_bytes+:} false; then :
87836
 
+  $as_echo_n "(cached) " >&6
87837
 
+else
87838
 
+  
87839
 
+      for ac_expr in                                                    \
87840
 
+                                                                        \
87841
 
+          '# glibc2'                                                    \
87842
 
+          'fp->_IO_write_ptr - fp->_IO_write_base'                      \
87843
 
+                                                                        \
87844
 
+          '# traditional Unix'                                          \
87845
 
+          'fp->_ptr - fp->_base'                                        \
87846
 
+                                                                        \
87847
 
+          '# BSD'                                                       \
87848
 
+          'fp->_p - fp->_bf._base'                                      \
87849
 
+                                                                        \
87850
 
+          '# SCO, Unixware'                                             \
87851
 
+          '(fp->__ptr ? fp->__ptr - fp->__base : 0)'                    \
87852
 
+                                                                        \
87853
 
+          '# QNX'                                                       \
87854
 
+          '(fp->_Mode & 0x2000 /*_MWRITE*/ ? fp->_Next - fp->_Buf : 0)' \
87855
 
+                                                                        \
87856
 
+          '# old glibc?'                                                \
87857
 
+          'fp->__bufp - fp->__buffer'                                   \
87858
 
+                                                                        \
87859
 
+          '# old glibc iostream?'                                       \
87860
 
+          'fp->_pptr - fp->_pbase'                                      \
87861
 
+                                                                        \
87862
 
+          '# emx+gcc'                                                   \
87863
 
+          'fp->_ptr - fp->_buffer'                                      \
87864
 
+                                                                        \
87865
 
+          '# Minix'                                                     \
87866
 
+          'fp->_ptr - fp->_buf'                                         \
87867
 
+                                                                        \
87868
 
+          '# VMS'                                                       \
87869
 
+          '(*fp)->_ptr - (*fp)->_base'                                  \
87870
 
+                                                                        \
87871
 
+          '# e.g., DGUX R4.11; the info is not available'               \
87872
 
+          1                                                             \
87873
 
+          ; do
87874
 
+
87875
 
+        # Skip each embedded comment.
87876
 
+        case "$ac_expr" in '#'*) continue;; esac
87877
 
+
87878
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
87879
 
+/* end confdefs.h.  */
87880
 
+#include <stdio.h>
87881
 
+int
87882
 
+main ()
87883
 
+{
87884
 
+FILE *fp = stdin; (void) ($ac_expr);
87885
 
+  ;
87886
 
+  return 0;
87887
 
+}
87888
 
+_ACEOF
87889
 
+if ac_fn_c_try_compile "$LINENO"; then :
87890
 
+  fp_done=yes
87891
 
+        
87892
 
+fi
87893
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
87894
 
+        test "$fp_done" = yes && break
87895
 
+      done
87896
 
+
87897
 
+      ac_cv_sys_pending_output_n_bytes=$ac_expr
87898
 
+    
87899
 
+  
87900
 
+fi
87901
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_pending_output_n_bytes" >&5
87902
 
+$as_echo "$ac_cv_sys_pending_output_n_bytes" >&6; }
87903
 
+  
87904
 
+cat >>confdefs.h <<_ACEOF
87905
 
+@%:@define PENDING_OUTPUT_N_BYTES $ac_cv_sys_pending_output_n_bytes
87906
 
+_ACEOF
87907
 
+
87908
 
+
87909
 
+fi
87910
 
+
87911
 
+  
87912
 
+  
87913
 
+  
87914
 
+  ac_fn_c_check_decl "$LINENO" "fpurge" "ac_cv_have_decl_fpurge" "#include <stdio.h>
87915
 
+"
87916
 
+if test "x$ac_cv_have_decl_fpurge" = xyes; then :
87917
 
+  ac_have_decl=1
87918
 
+else
87919
 
+  ac_have_decl=0
87920
 
+fi
87921
 
+
87922
 
+cat >>confdefs.h <<_ACEOF
87923
 
+@%:@define HAVE_DECL_FPURGE $ac_have_decl
87924
 
+_ACEOF
87925
 
+
87926
 
+  if test "x$ac_cv_func_fpurge" = xyes; then
87927
 
+    HAVE_FPURGE=1
87928
 
+    # Detect BSD bug.  Only cygwin 1.7 is known to be immune.
87929
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpurge works" >&5
87930
 
+$as_echo_n "checking whether fpurge works... " >&6; }
87931
 
+if ${gl_cv_func_fpurge_works+:} false; then :
87932
 
+  $as_echo_n "(cached) " >&6
87933
 
+else
87934
 
+  if test "$cross_compiling" = yes; then :
87935
 
+  gl_cv_func_fpurge_works='guessing no'
87936
 
+else
87937
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
87938
 
+/* end confdefs.h.  */
87939
 
+#include <stdio.h>
87940
 
+
87941
 
+int
87942
 
+main ()
87943
 
+{
87944
 
+FILE *f = fopen ("conftest.txt", "w+");
87945
 
+        if (!f) return 1;
87946
 
+        if (fputc ('a', f) != 'a') return 2;
87947
 
+        rewind (f);
87948
 
+        if (fgetc (f) != 'a') return 3;
87949
 
+        if (fgetc (f) != EOF) return 4;
87950
 
+        if (fpurge (f) != 0) return 5;
87951
 
+        if (putc ('b', f) != 'b') return 6;
87952
 
+        if (fclose (f) != 0) return 7;
87953
 
+        if ((f = fopen ("conftest.txt", "r")) == NULL) return 8;
87954
 
+        if (fgetc (f) != 'a') return 9;
87955
 
+        if (fgetc (f) != 'b') return 10;
87956
 
+        if (fgetc (f) != EOF) return 11;
87957
 
+        if (fclose (f) != 0) return 12;
87958
 
+        if (remove ("conftest.txt") != 0) return 13;
87959
 
+        return 0;
87960
 
+  ;
87961
 
+  return 0;
87962
 
+}
87963
 
+_ACEOF
87964
 
+if ac_fn_c_try_run "$LINENO"; then :
87965
 
+  gl_cv_func_fpurge_works=yes
87966
 
+else
87967
 
+  gl_cv_func_fpurge_works=no
87968
 
+fi
87969
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
87970
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
87971
 
+fi
87972
 
+
87973
 
+fi
87974
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fpurge_works" >&5
87975
 
+$as_echo "$gl_cv_func_fpurge_works" >&6; }
87976
 
+    if test "x$gl_cv_func_fpurge_works" != xyes; then
87977
 
+      REPLACE_FPURGE=1
87978
 
+    fi
87979
 
+  else
87980
 
+    HAVE_FPURGE=0
87981
 
+  fi
87982
 
+  if test "x$ac_cv_have_decl_fpurge" = xno; then
87983
 
+    HAVE_DECL_FPURGE=0
87984
 
+  fi
87985
 
+
87986
 
+if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then
87987
 
+  
87988
 
+  
87989
 
+  
87990
 
+    
87991
 
+      
87992
 
+      
87993
 
+    
87994
 
+  
87995
 
+  gl_LIBOBJS="$gl_LIBOBJS fpurge.$ac_objext"
87996
 
+
87997
 
+fi
87998
 
+
87999
 
+    
88000
 
+  
88001
 
+  
88002
 
+  
88003
 
+          GNULIB_FPURGE=1
88004
 
+    
88005
 
+
88006
 
+
88007
 
+    
88008
 
+  
88009
 
+$as_echo "@%:@define GNULIB_TEST_FPURGE 1" >>confdefs.h
88010
 
+
88011
 
+
88012
 
+
88013
 
+
88014
 
+  
88015
 
+
88016
 
+
88017
 
+
88018
 
+  
88019
 
+  
88020
 
+  case "$host_os" in
88021
 
+    mingw* | pw*)
88022
 
+      REPLACE_FREOPEN=1
88023
 
+      ;;
88024
 
+  esac
88025
 
+
88026
 
+if test $REPLACE_FREOPEN = 1; then
88027
 
+  
88028
 
+  
88029
 
+  
88030
 
+    
88031
 
+      
88032
 
+      
88033
 
+    
88034
 
+  
88035
 
+  gl_LIBOBJS="$gl_LIBOBJS freopen.$ac_objext"
88036
 
+
88037
 
+  
88038
 
+  
88039
 
+
88040
 
+fi
88041
 
+
88042
 
+    
88043
 
+  
88044
 
+  
88045
 
+  
88046
 
+          GNULIB_FREOPEN=1
88047
 
+    
88048
 
+
88049
 
+
88050
 
+    
88051
 
+  
88052
 
+$as_echo "@%:@define GNULIB_TEST_FREOPEN 1" >>confdefs.h
88053
 
+
88054
 
+
88055
 
+
88056
 
+
88057
 
+  
88058
 
+cat >>confdefs.h <<_ACEOF
88059
 
+@%:@define GNULIB_FREOPEN_SAFER 1
88060
 
+_ACEOF
88061
 
+
88062
 
+
88063
 
+
88064
 
+  
88065
 
+  
88066
 
+  if test $gl_cv_func_frexp_no_libm = yes; then
88067
 
+    
88068
 
+  
88069
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5
88070
 
+$as_echo_n "checking whether frexp works... " >&6; }
88071
 
+if ${gl_cv_func_frexp_works+:} false; then :
88072
 
+  $as_echo_n "(cached) " >&6
88073
 
+else
88074
 
+  
88075
 
+      if test "$cross_compiling" = yes; then :
88076
 
+  case "$host_os" in
88077
 
+           netbsd* | irix* | mingw*) gl_cv_func_frexp_works="guessing no";;
88078
 
+           *)                        gl_cv_func_frexp_works="guessing yes";;
88079
 
+         esac
88080
 
+        
88081
 
+else
88082
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88083
 
+/* end confdefs.h.  */
88084
 
+
88085
 
+#include <float.h>
88086
 
+#include <math.h>
88087
 
+#include <string.h>
88088
 
+/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
88089
 
+   ICC 10.0 has a bug when optimizing the expression -zero.
88090
 
+   The expression -DBL_MIN * DBL_MIN does not work when cross-compiling
88091
 
+   to PowerPC on MacOS X 10.5.  */
88092
 
+#if defined __hpux || defined __sgi || defined __ICC
88093
 
+static double
88094
 
+compute_minus_zero (void)
88095
 
+{
88096
 
+  return -DBL_MIN * DBL_MIN;
88097
 
+}
88098
 
+# define minus_zero compute_minus_zero ()
88099
 
+#else
88100
 
+double minus_zero = -0.0;
88101
 
+#endif
88102
 
+int main()
88103
 
+{
88104
 
+  int result = 0;
88105
 
+  int i;
88106
 
+  volatile double x;
88107
 
+  double zero = 0.0;
88108
 
+  /* Test on denormalized numbers.  */
88109
 
+  for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5)
88110
 
+    ;
88111
 
+  if (x > 0.0)
88112
 
+    {
88113
 
+      int exp;
88114
 
+      double y = frexp (x, &exp);
88115
 
+      /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022.
88116
 
+         On NetBSD: y = 0.75. Correct: y = 0.5.  */
88117
 
+      if (y != 0.5)
88118
 
+        result |= 1;
88119
 
+    }
88120
 
+  /* Test on infinite numbers.  */
88121
 
+  x = 1.0 / 0.0;
88122
 
+  {
88123
 
+    int exp;
88124
 
+    double y = frexp (x, &exp);
88125
 
+    if (y != x)
88126
 
+      result |= 2;
88127
 
+  }
88128
 
+  /* Test on negative zero.  */
88129
 
+  x = minus_zero;
88130
 
+  {
88131
 
+    int exp;
88132
 
+    double y = frexp (x, &exp);
88133
 
+    if (memcmp (&y, &x, sizeof x))
88134
 
+      result |= 4;
88135
 
+  }
88136
 
+  return result;
88137
 
+}
88138
 
+_ACEOF
88139
 
+if ac_fn_c_try_run "$LINENO"; then :
88140
 
+  gl_cv_func_frexp_works=yes
88141
 
+else
88142
 
+  gl_cv_func_frexp_works=no
88143
 
+fi
88144
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
88145
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
88146
 
+fi
88147
 
+
88148
 
+    
88149
 
+fi
88150
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_works" >&5
88151
 
+$as_echo "$gl_cv_func_frexp_works" >&6; }
88152
 
+
88153
 
+    case "$gl_cv_func_frexp_works" in
88154
 
+      *yes) gl_func_frexp_no_libm=yes ;;
88155
 
+      *)    gl_func_frexp_no_libm=no; REPLACE_FREXP=1 ;;
88156
 
+    esac
88157
 
+  else
88158
 
+    gl_func_frexp_no_libm=no
88159
 
+        REPLACE_FREXP=1
88160
 
+  fi
88161
 
+  if test $gl_func_frexp_no_libm = yes; then
88162
 
+    
88163
 
+$as_echo "@%:@define HAVE_FREXP_IN_LIBC 1" >>confdefs.h
88164
 
+
88165
 
+  fi
88166
 
+
88167
 
+if test $gl_func_frexp_no_libm != yes; then
88168
 
+  
88169
 
+  
88170
 
+  
88171
 
+    
88172
 
+      
88173
 
+      
88174
 
+    
88175
 
+  
88176
 
+  gl_LIBOBJS="$gl_LIBOBJS frexp.$ac_objext"
88177
 
+
88178
 
+fi
88179
 
+
88180
 
+    
88181
 
+  
88182
 
+  
88183
 
+  
88184
 
+          GNULIB_FREXP=1
88185
 
+    
88186
 
+
88187
 
+
88188
 
+    
88189
 
+  
88190
 
+$as_echo "@%:@define GNULIB_TEST_FREXP 1" >>confdefs.h
88191
 
+
88192
 
+
88193
 
+
88194
 
+
88195
 
+  
88196
 
+      ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include <math.h>
88197
 
+"
88198
 
+if test "x$ac_cv_have_decl_frexpl" = xyes; then :
88199
 
+  
88200
 
+else
88201
 
+  HAVE_DECL_FREXPL=0
88202
 
+fi
88203
 
+
88204
 
+  if test $HAVE_DECL_FREXPL = 1; then
88205
 
+    
88206
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5
88207
 
+$as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; }
88208
 
+if ${gl_cv_func_frexpl_no_libm+:} false; then :
88209
 
+  $as_echo_n "(cached) " >&6
88210
 
+else
88211
 
+  
88212
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88213
 
+/* end confdefs.h.  */
88214
 
+#include <math.h>
88215
 
+             long double x;
88216
 
+int
88217
 
+main ()
88218
 
+{
88219
 
+int e; return frexpl (x, &e) > 0;
88220
 
+  ;
88221
 
+  return 0;
88222
 
+}
88223
 
+_ACEOF
88224
 
+if ac_fn_c_try_link "$LINENO"; then :
88225
 
+  gl_cv_func_frexpl_no_libm=yes
88226
 
+else
88227
 
+  gl_cv_func_frexpl_no_libm=no
88228
 
+fi
88229
 
+rm -f core conftest.err conftest.$ac_objext \
88230
 
+    conftest$ac_exeext conftest.$ac_ext
88231
 
+    
88232
 
+fi
88233
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_no_libm" >&5
88234
 
+$as_echo "$gl_cv_func_frexpl_no_libm" >&6; }
88235
 
+
88236
 
+    if test $gl_cv_func_frexpl_no_libm = yes; then
88237
 
+      
88238
 
+  
88239
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5
88240
 
+$as_echo_n "checking whether frexpl works... " >&6; }
88241
 
+if ${gl_cv_func_frexpl_works+:} false; then :
88242
 
+  $as_echo_n "(cached) " >&6
88243
 
+else
88244
 
+  
88245
 
+      if test "$cross_compiling" = yes; then :
88246
 
+  
88247
 
+         case "$host_os" in
88248
 
+           aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*)
88249
 
+              gl_cv_func_frexpl_works="guessing no";;
88250
 
+           *) gl_cv_func_frexpl_works="guessing yes";;
88251
 
+         esac
88252
 
+        
88253
 
+else
88254
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88255
 
+/* end confdefs.h.  */
88256
 
+
88257
 
+#include <float.h>
88258
 
+#include <math.h>
88259
 
+/* Override the values of <float.h>, like done in float.in.h.  */
88260
 
+#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__)
88261
 
+# undef LDBL_MIN_EXP
88262
 
+# define LDBL_MIN_EXP    (-16381)
88263
 
+#endif
88264
 
+#if defined __i386__ && defined __FreeBSD__
88265
 
+# undef LDBL_MIN_EXP
88266
 
+# define LDBL_MIN_EXP    (-16381)
88267
 
+#endif
88268
 
+#if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__
88269
 
+# undef LDBL_MIN_EXP
88270
 
+# define LDBL_MIN_EXP DBL_MIN_EXP
88271
 
+#endif
88272
 
+#if defined __sgi && (LDBL_MANT_DIG >= 106)
88273
 
+# if defined __GNUC__
88274
 
+#  undef LDBL_MIN_EXP
88275
 
+#  define LDBL_MIN_EXP DBL_MIN_EXP
88276
 
+# endif
88277
 
+#endif
88278
 
+extern
88279
 
+#ifdef __cplusplus
88280
 
+"C"
88281
 
+#endif
88282
 
+long double frexpl (long double, int *);
88283
 
+int main()
88284
 
+{
88285
 
+  int result = 0;
88286
 
+  volatile long double x;
88287
 
+  /* Test on finite numbers that fails on AIX 5.1.  */
88288
 
+  x = 16.0L;
88289
 
+  {
88290
 
+    int exp = -9999;
88291
 
+    frexpl (x, &exp);
88292
 
+    if (exp != 5)
88293
 
+      result |= 1;
88294
 
+  }
88295
 
+  /* Test on finite numbers that fails on MacOS X 10.4, because its frexpl
88296
 
+     function returns an invalid (incorrectly normalized) value: it returns
88297
 
+               y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 }
88298
 
+     but the correct result is
88299
 
+          0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 }  */
88300
 
+  x = 1.01L;
88301
 
+  {
88302
 
+    int exp = -9999;
88303
 
+    long double y = frexpl (x, &exp);
88304
 
+    if (!(exp == 1 && y == 0.505L))
88305
 
+      result |= 2;
88306
 
+  }
88307
 
+  /* Test on large finite numbers.  This fails on BeOS at i = 16322, while
88308
 
+     LDBL_MAX_EXP = 16384.
88309
 
+     In the loop end test, we test x against Infinity, rather than comparing
88310
 
+     i with LDBL_MAX_EXP, because BeOS <float.h> has a wrong LDBL_MAX_EXP.  */
88311
 
+  {
88312
 
+    int i;
88313
 
+    for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L)
88314
 
+      {
88315
 
+        int exp = -9999;
88316
 
+        frexpl (x, &exp);
88317
 
+        if (exp != i)
88318
 
+          {
88319
 
+            result |= 4;
88320
 
+            break;
88321
 
+          }
88322
 
+      }
88323
 
+  }
88324
 
+  /* Test on denormalized numbers.  */
88325
 
+  {
88326
 
+    int i;
88327
 
+    for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L)
88328
 
+      ;
88329
 
+    if (x > 0.0L)
88330
 
+      {
88331
 
+        int exp;
88332
 
+        long double y = frexpl (x, &exp);
88333
 
+        /* On machines with IEEE854 arithmetic: x = 1.68105e-4932,
88334
 
+           exp = -16382, y = 0.5.  On MacOS X 10.5: exp = -16384, y = 0.5.  */
88335
 
+        if (exp != LDBL_MIN_EXP - 1)
88336
 
+          result |= 8;
88337
 
+      }
88338
 
+  }
88339
 
+  /* Test on infinite numbers.  */
88340
 
+  x = 1.0L / 0.0L;
88341
 
+  {
88342
 
+    int exp;
88343
 
+    long double y = frexpl (x, &exp);
88344
 
+    if (y != x)
88345
 
+      result |= 16;
88346
 
+  }
88347
 
+  return result;
88348
 
+}
88349
 
+_ACEOF
88350
 
+if ac_fn_c_try_run "$LINENO"; then :
88351
 
+  gl_cv_func_frexpl_works=yes
88352
 
+else
88353
 
+  gl_cv_func_frexpl_works=no
88354
 
+fi
88355
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
88356
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
88357
 
+fi
88358
 
+
88359
 
+    
88360
 
+fi
88361
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_works" >&5
88362
 
+$as_echo "$gl_cv_func_frexpl_works" >&6; }
88363
 
+
88364
 
+      case "$gl_cv_func_frexpl_works" in
88365
 
+        *yes) gl_func_frexpl_no_libm=yes ;;
88366
 
+        *)    gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;;
88367
 
+      esac
88368
 
+    else
88369
 
+      gl_func_frexpl_no_libm=no
88370
 
+            REPLACE_FREXPL=1
88371
 
+    fi
88372
 
+    if test $gl_func_frexpl_no_libm = yes; then
88373
 
+      
88374
 
+$as_echo "@%:@define HAVE_FREXPL_IN_LIBC 1" >>confdefs.h
88375
 
+
88376
 
+    fi
88377
 
+  fi
88378
 
+
88379
 
+if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then
88380
 
+  
88381
 
+  
88382
 
+  
88383
 
+    
88384
 
+      
88385
 
+      
88386
 
+    
88387
 
+  
88388
 
+  gl_LIBOBJS="$gl_LIBOBJS frexpl.$ac_objext"
88389
 
+
88390
 
+fi
88391
 
+
88392
 
+    
88393
 
+  
88394
 
+  
88395
 
+  
88396
 
+          GNULIB_FREXPL=1
88397
 
+    
88398
 
+
88399
 
+
88400
 
+    
88401
 
+  
88402
 
+$as_echo "@%:@define GNULIB_TEST_FREXPL 1" >>confdefs.h
88403
 
+
88404
 
+
88405
 
+
88406
 
+
88407
 
+  
88408
 
+  
88409
 
+    if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then
88410
 
+    REPLACE_FSEEK=1
88411
 
+  fi
88412
 
+
88413
 
+if test $REPLACE_FSEEK = 1; then
88414
 
+  
88415
 
+  
88416
 
+  
88417
 
+    
88418
 
+      
88419
 
+      
88420
 
+    
88421
 
+  
88422
 
+  gl_LIBOBJS="$gl_LIBOBJS fseek.$ac_objext"
88423
 
+
88424
 
+fi
88425
 
+
88426
 
+    
88427
 
+  
88428
 
+  
88429
 
+  
88430
 
+          GNULIB_FSEEK=1
88431
 
+    
88432
 
+
88433
 
+
88434
 
+    
88435
 
+  
88436
 
+$as_echo "@%:@define GNULIB_TEST_FSEEK 1" >>confdefs.h
88437
 
+
88438
 
+
88439
 
+
88440
 
+
88441
 
+  
88442
 
+  
88443
 
+  
88444
 
+
88445
 
+    
88446
 
+
88447
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5
88448
 
+$as_echo_n "checking for fseeko... " >&6; }
88449
 
+if ${gl_cv_func_fseeko+:} false; then :
88450
 
+  $as_echo_n "(cached) " >&6
88451
 
+else
88452
 
+  
88453
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88454
 
+/* end confdefs.h.  */
88455
 
+#include <stdio.h>
88456
 
+
88457
 
+int
88458
 
+main ()
88459
 
+{
88460
 
+fseeko (stdin, 0, 0);
88461
 
+  ;
88462
 
+  return 0;
88463
 
+}
88464
 
+_ACEOF
88465
 
+if ac_fn_c_try_link "$LINENO"; then :
88466
 
+  gl_cv_func_fseeko=yes
88467
 
+else
88468
 
+  gl_cv_func_fseeko=no
88469
 
+fi
88470
 
+rm -f core conftest.err conftest.$ac_objext \
88471
 
+    conftest$ac_exeext conftest.$ac_ext
88472
 
+    
88473
 
+fi
88474
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fseeko" >&5
88475
 
+$as_echo "$gl_cv_func_fseeko" >&6; }
88476
 
+
88477
 
+  
88478
 
+  if test $ac_cv_have_decl_fseeko = no; then
88479
 
+    HAVE_DECL_FSEEKO=0
88480
 
+  fi
88481
 
+
88482
 
+  if test $gl_cv_func_fseeko = no; then
88483
 
+    HAVE_FSEEKO=0
88484
 
+  else
88485
 
+    if test $gl_cv_var_stdin_large_offset = no; then
88486
 
+      REPLACE_FSEEKO=1
88487
 
+    fi
88488
 
+    
88489
 
+      
88490
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5
88491
 
+$as_echo_n "checking whether fflush works on input streams... " >&6; }
88492
 
+if ${gl_cv_func_fflush_stdin+:} false; then :
88493
 
+  $as_echo_n "(cached) " >&6
88494
 
+else
88495
 
+  echo hello world > conftest.txt
88496
 
+     if test "$cross_compiling" = yes; then :
88497
 
+        gl_cv_func_fflush_stdin=no
88498
 
+else
88499
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88500
 
+/* end confdefs.h.  */
88501
 
+
88502
 
+#include <stdio.h>
88503
 
+#include <unistd.h>
88504
 
+       
88505
 
+int
88506
 
+main ()
88507
 
+{
88508
 
+FILE *f = fopen ("conftest.txt", "r");
88509
 
+         char buffer[10];
88510
 
+         int fd;
88511
 
+         int c;
88512
 
+         if (f == NULL)
88513
 
+           return 1;
88514
 
+         fd = fileno (f);
88515
 
+         if (fd < 0 || fread (buffer, 1, 5, f) != 5)
88516
 
+           return 2;
88517
 
+         /* For deterministic results, ensure f read a bigger buffer.  */
88518
 
+         if (lseek (fd, 0, SEEK_CUR) == 5)
88519
 
+           return 3;
88520
 
+         /* POSIX requires fflush-fseek to set file offset of fd.  This fails
88521
 
+            on BSD systems and on mingw.  */
88522
 
+         if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0)
88523
 
+           return 4;
88524
 
+         if (lseek (fd, 0, SEEK_CUR) != 5)
88525
 
+           return 5;
88526
 
+         /* Verify behaviour of fflush after ungetc. See
88527
 
+            <http://www.opengroup.org/austin/aardvark/latest/xshbug3.txt>  */
88528
 
+         /* Verify behaviour of fflush after a backup ungetc.  This fails on
88529
 
+            mingw.  */
88530
 
+         c = fgetc (f);
88531
 
+         ungetc (c, f);
88532
 
+         fflush (f);
88533
 
+         if (fgetc (f) != c)
88534
 
+           return 6;
88535
 
+         /* Verify behaviour of fflush after a non-backup ungetc.  This fails
88536
 
+            on glibc 2.8 and on BSD systems.  */
88537
 
+         c = fgetc (f);
88538
 
+         ungetc ('@', f);
88539
 
+         fflush (f);
88540
 
+         if (fgetc (f) != c)
88541
 
+           return 7;
88542
 
+         return 0;
88543
 
+       
88544
 
+  ;
88545
 
+  return 0;
88546
 
+}
88547
 
+_ACEOF
88548
 
+if ac_fn_c_try_run "$LINENO"; then :
88549
 
+  gl_cv_func_fflush_stdin=yes
88550
 
+else
88551
 
+  gl_cv_func_fflush_stdin=no
88552
 
+fi
88553
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
88554
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
88555
 
+fi
88556
 
+
88557
 
+     rm conftest.txt
88558
 
+    
88559
 
+fi
88560
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5
88561
 
+$as_echo "$gl_cv_func_fflush_stdin" >&6; }
88562
 
+
88563
 
+      if test $gl_cv_func_fflush_stdin = no; then
88564
 
+        REPLACE_FSEEKO=1
88565
 
+      fi
88566
 
+    
88567
 
+  fi
88568
 
+
88569
 
+if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then
88570
 
+  
88571
 
+  
88572
 
+  
88573
 
+    
88574
 
+      
88575
 
+      
88576
 
+    
88577
 
+  
88578
 
+  gl_LIBOBJS="$gl_LIBOBJS fseeko.$ac_objext"
88579
 
+
88580
 
+fi
88581
 
+
88582
 
+    
88583
 
+  
88584
 
+  
88585
 
+  
88586
 
+          GNULIB_FSEEKO=1
88587
 
+    
88588
 
+
88589
 
+
88590
 
+    
88591
 
+  
88592
 
+$as_echo "@%:@define GNULIB_TEST_FSEEKO 1" >>confdefs.h
88593
 
+
88594
 
+
88595
 
+
88596
 
+
88597
 
+  
88598
 
+  
88599
 
+  for ac_header in sys/mount.h
88600
 
+do :
88601
 
+  ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default
88602
 
+     #if HAVE_SYS_PARAM_H
88603
 
+       #include <sys/param.h>
88604
 
+      #endif
88605
 
+"
88606
 
+if test "x$ac_cv_header_sys_mount_h" = xyes; then :
88607
 
+  cat >>confdefs.h <<_ACEOF
88608
 
+@%:@define HAVE_SYS_MOUNT_H 1
88609
 
+_ACEOF
88610
 
88611
 
+fi
88612
 
+
88613
 
+done
88614
 
+
88615
 
+  
88616
 
+
88617
 
+
88618
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get file system space usage" >&5
88619
 
+$as_echo "$as_me: checking how to get file system space usage" >&6;}
88620
 
+ac_fsusage_space=no
88621
 
+
88622
 
+# Perform only the link test since it seems there are no variants of the
88623
 
+# statvfs function.  This check is more than just AC_CHECK_FUNCS([statvfs])
88624
 
+# because that got a false positive on SCO OSR5.  Adding the declaration
88625
 
+# of a `struct statvfs' causes this test to fail (as it should) on such
88626
 
+# systems.  That system is reported to work fine with STAT_STATFS4 which
88627
 
+# is what it gets when this test fails.
88628
 
+if test $ac_fsusage_space = no; then
88629
 
+  # glibc/{Hurd,kFreeBSD}, FreeBSD >= 5.0, NetBSD >= 3.0,
88630
 
+  # OpenBSD >= 4.4, AIX, HP-UX, IRIX, Solaris, Cygwin, Interix, BeOS.
88631
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs function (SVR4)" >&5
88632
 
+$as_echo_n "checking for statvfs function (SVR4)... " >&6; }
88633
 
+if ${fu_cv_sys_stat_statvfs+:} false; then :
88634
 
+  $as_echo_n "(cached) " >&6
88635
 
+else
88636
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88637
 
+/* end confdefs.h.  */
88638
 
+#include <sys/types.h>
88639
 
+#if (defined __GLIBC__ || defined __UCLIBC__) && defined __linux__
88640
 
+Do not use statvfs on systems with GNU libc on Linux, because that function
88641
 
+stats all preceding entries in /proc/mounts, and that makes df hang if even
88642
 
+one of the corresponding file systems is hard-mounted, but not available.
88643
 
+statvfs in GNU libc on Hurd, BeOS, Haiku operates differently: it only makes
88644
 
+a system call.
88645
 
+#endif
88646
 
+
88647
 
+#ifdef __osf__
88648
 
+"Do not use Tru64's statvfs implementation"
88649
 
+#endif
88650
 
+
88651
 
+#include <sys/statvfs.h>
88652
 
+
88653
 
+struct statvfs fsd;
88654
 
+
88655
 
+#if defined __APPLE__ && defined __MACH__
88656
 
+#include <limits.h>
88657
 
+/* On MacOS X >= 10.5, f_blocks in 'struct statvfs' is a 32-bit quantity;
88658
 
+   that commonly limits file systems to 4 TiB.  Whereas f_blocks in
88659
 
+   'struct statfs' is a 64-bit type, thanks to the large-file support
88660
 
+   that was enabled above.  In this case, don't use statvfs(); use statfs()
88661
 
+   instead.  */
88662
 
+int check_f_blocks_size[sizeof fsd.f_blocks * CHAR_BIT <= 32 ? -1 : 1];
88663
 
+#endif
88664
 
+
88665
 
+int
88666
 
+main ()
88667
 
+{
88668
 
+statvfs (0, &fsd);
88669
 
+  ;
88670
 
+  return 0;
88671
 
+}
88672
 
+_ACEOF
88673
 
+if ac_fn_c_try_link "$LINENO"; then :
88674
 
+  fu_cv_sys_stat_statvfs=yes
88675
 
+else
88676
 
+  fu_cv_sys_stat_statvfs=no
88677
 
+fi
88678
 
+rm -f core conftest.err conftest.$ac_objext \
88679
 
+    conftest$ac_exeext conftest.$ac_ext
88680
 
+fi
88681
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statvfs" >&5
88682
 
+$as_echo "$fu_cv_sys_stat_statvfs" >&6; }
88683
 
+  if test $fu_cv_sys_stat_statvfs = yes; then
88684
 
+    ac_fsusage_space=yes
88685
 
+    # AIX >= 5.2 has statvfs64 that has a wider f_blocks field than statvfs.
88686
 
+    # glibc, HP-UX, IRIX, Solaris have statvfs64 as well, but on these systems
88687
 
+    # statvfs with large-file support is already equivalent to statvfs64.
88688
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use statvfs64" >&5
88689
 
+$as_echo_n "checking whether to use statvfs64... " >&6; }
88690
 
+if ${fu_cv_sys_stat_statvfs64+:} false; then :
88691
 
+  $as_echo_n "(cached) " >&6
88692
 
+else
88693
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88694
 
+/* end confdefs.h.  */
88695
 
+#include <sys/types.h>
88696
 
+              #include <sys/statvfs.h>
88697
 
+              struct statvfs64 fsd;
88698
 
+              int check_f_blocks_larger_in_statvfs64
88699
 
+                [sizeof (((struct statvfs64 *) 0)->f_blocks)
88700
 
+                 > sizeof (((struct statvfs *) 0)->f_blocks)
88701
 
+                 ? 1 : -1];
88702
 
+            
88703
 
+int
88704
 
+main ()
88705
 
+{
88706
 
+statvfs64 (0, &fsd);
88707
 
+  ;
88708
 
+  return 0;
88709
 
+}
88710
 
+_ACEOF
88711
 
+if ac_fn_c_try_link "$LINENO"; then :
88712
 
+  fu_cv_sys_stat_statvfs64=yes
88713
 
+else
88714
 
+  fu_cv_sys_stat_statvfs64=no
88715
 
+fi
88716
 
+rm -f core conftest.err conftest.$ac_objext \
88717
 
+    conftest$ac_exeext conftest.$ac_ext
88718
 
+      
88719
 
+fi
88720
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statvfs64" >&5
88721
 
+$as_echo "$fu_cv_sys_stat_statvfs64" >&6; }
88722
 
+    if test $fu_cv_sys_stat_statvfs64 = yes; then
88723
 
+      
88724
 
+$as_echo "@%:@define STAT_STATVFS64 1" >>confdefs.h
88725
 
+
88726
 
+    else
88727
 
+      
88728
 
+$as_echo "@%:@define STAT_STATVFS 1" >>confdefs.h
88729
 
+
88730
 
+    fi
88731
 
+  fi
88732
 
+fi
88733
 
+
88734
 
+if test $ac_fsusage_space = no; then
88735
 
+  # DEC Alpha running OSF/1
88736
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 3-argument statfs function (DEC OSF/1)" >&5
88737
 
+$as_echo_n "checking for 3-argument statfs function (DEC OSF/1)... " >&6; }
88738
 
+  if ${fu_cv_sys_stat_statfs3_osf1+:} false; then :
88739
 
+  $as_echo_n "(cached) " >&6
88740
 
+else
88741
 
+  if test "$cross_compiling" = yes; then :
88742
 
+  fu_cv_sys_stat_statfs3_osf1=no
88743
 
+else
88744
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88745
 
+/* end confdefs.h.  */
88746
 
+
88747
 
+#include <sys/param.h>
88748
 
+#include <sys/types.h>
88749
 
+#include <sys/mount.h>
88750
 
+  int
88751
 
+  main ()
88752
 
+  {
88753
 
+    struct statfs fsd;
88754
 
+    fsd.f_fsize = 0;
88755
 
+    return statfs (".", &fsd, sizeof (struct statfs)) != 0;
88756
 
+  }
88757
 
+_ACEOF
88758
 
+if ac_fn_c_try_run "$LINENO"; then :
88759
 
+  fu_cv_sys_stat_statfs3_osf1=yes
88760
 
+else
88761
 
+  fu_cv_sys_stat_statfs3_osf1=no
88762
 
+fi
88763
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
88764
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
88765
 
+fi
88766
 
+
88767
 
+fi
88768
 
+
88769
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs3_osf1" >&5
88770
 
+$as_echo "$fu_cv_sys_stat_statfs3_osf1" >&6; }
88771
 
+  if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
88772
 
+    ac_fsusage_space=yes
88773
 
+    
88774
 
+$as_echo "@%:@define STAT_STATFS3_OSF1 1" >>confdefs.h
88775
 
+
88776
 
+  fi
88777
 
+fi
88778
 
+
88779
 
+if test $ac_fsusage_space = no; then
88780
 
+  # glibc/Linux, MacOS X, FreeBSD < 5.0, NetBSD < 3.0, OpenBSD < 4.4.
88781
 
+  # (glibc/{Hurd,kFreeBSD}, FreeBSD >= 5.0, NetBSD >= 3.0,
88782
 
+  # OpenBSD >= 4.4, AIX, HP-UX, OSF/1, Cygwin already handled above.)
88783
 
+  # (On IRIX you need to include <sys/statfs.h>, not only <sys/mount.h> and
88784
 
+  # <sys/vfs.h>.)
88785
 
+  # (On Solaris, statfs has 4 arguments.)
88786
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument statfs with statfs.f_bsize member (AIX, 4.3BSD)" >&5
88787
 
+$as_echo_n "checking for two-argument statfs with statfs.f_bsize member (AIX, 4.3BSD)... " >&6; }
88788
 
+  if ${fu_cv_sys_stat_statfs2_bsize+:} false; then :
88789
 
+  $as_echo_n "(cached) " >&6
88790
 
+else
88791
 
+  if test "$cross_compiling" = yes; then :
88792
 
+  fu_cv_sys_stat_statfs2_bsize=no
88793
 
+else
88794
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88795
 
+/* end confdefs.h.  */
88796
 
+
88797
 
+#ifdef HAVE_SYS_PARAM_H
88798
 
+#include <sys/param.h>
88799
 
+#endif
88800
 
+#ifdef HAVE_SYS_MOUNT_H
88801
 
+#include <sys/mount.h>
88802
 
+#endif
88803
 
+#ifdef HAVE_SYS_VFS_H
88804
 
+#include <sys/vfs.h>
88805
 
+#endif
88806
 
+  int
88807
 
+  main ()
88808
 
+  {
88809
 
+  struct statfs fsd;
88810
 
+  fsd.f_bsize = 0;
88811
 
+  return statfs (".", &fsd) != 0;
88812
 
+  }
88813
 
+_ACEOF
88814
 
+if ac_fn_c_try_run "$LINENO"; then :
88815
 
+  fu_cv_sys_stat_statfs2_bsize=yes
88816
 
+else
88817
 
+  fu_cv_sys_stat_statfs2_bsize=no
88818
 
+fi
88819
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
88820
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
88821
 
+fi
88822
 
+
88823
 
+fi
88824
 
+
88825
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs2_bsize" >&5
88826
 
+$as_echo "$fu_cv_sys_stat_statfs2_bsize" >&6; }
88827
 
+  if test $fu_cv_sys_stat_statfs2_bsize = yes; then
88828
 
+    ac_fsusage_space=yes
88829
 
+    
88830
 
+$as_echo "@%:@define STAT_STATFS2_BSIZE 1" >>confdefs.h
88831
 
+
88832
 
+  fi
88833
 
+fi
88834
 
+
88835
 
+if test $ac_fsusage_space = no; then
88836
 
+  # SVR3
88837
 
+  # (Solaris already handled above.)
88838
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for four-argument statfs (AIX-3.2.5, SVR3)" >&5
88839
 
+$as_echo_n "checking for four-argument statfs (AIX-3.2.5, SVR3)... " >&6; }
88840
 
+  if ${fu_cv_sys_stat_statfs4+:} false; then :
88841
 
+  $as_echo_n "(cached) " >&6
88842
 
+else
88843
 
+  if test "$cross_compiling" = yes; then :
88844
 
+  fu_cv_sys_stat_statfs4=no
88845
 
+else
88846
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88847
 
+/* end confdefs.h.  */
88848
 
+
88849
 
+#include <sys/types.h>
88850
 
+#include <sys/statfs.h>
88851
 
+  int
88852
 
+  main ()
88853
 
+  {
88854
 
+  struct statfs fsd;
88855
 
+  return statfs (".", &fsd, sizeof fsd, 0) != 0;
88856
 
+  }
88857
 
+_ACEOF
88858
 
+if ac_fn_c_try_run "$LINENO"; then :
88859
 
+  fu_cv_sys_stat_statfs4=yes
88860
 
+else
88861
 
+  fu_cv_sys_stat_statfs4=no
88862
 
+fi
88863
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
88864
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
88865
 
+fi
88866
 
+
88867
 
+fi
88868
 
+
88869
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs4" >&5
88870
 
+$as_echo "$fu_cv_sys_stat_statfs4" >&6; }
88871
 
+  if test $fu_cv_sys_stat_statfs4 = yes; then
88872
 
+    ac_fsusage_space=yes
88873
 
+    
88874
 
+$as_echo "@%:@define STAT_STATFS4 1" >>confdefs.h
88875
 
+
88876
 
+  fi
88877
 
+fi
88878
 
+
88879
 
+if test $ac_fsusage_space = no; then
88880
 
+  # 4.4BSD and older NetBSD
88881
 
+  # (OSF/1 already handled above.)
88882
 
+  # (On AIX, you need to include <sys/statfs.h>, not only <sys/mount.h>.)
88883
 
+  # (On Solaris, statfs has 4 arguments and 'struct statfs' is not declared in
88884
 
+  # <sys/mount.h>.)
88885
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument statfs with statfs.f_fsize member (4.4BSD and NetBSD)" >&5
88886
 
+$as_echo_n "checking for two-argument statfs with statfs.f_fsize member (4.4BSD and NetBSD)... " >&6; }
88887
 
+  if ${fu_cv_sys_stat_statfs2_fsize+:} false; then :
88888
 
+  $as_echo_n "(cached) " >&6
88889
 
+else
88890
 
+  if test "$cross_compiling" = yes; then :
88891
 
+  fu_cv_sys_stat_statfs2_fsize=no
88892
 
+else
88893
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88894
 
+/* end confdefs.h.  */
88895
 
+
88896
 
+#include <sys/types.h>
88897
 
+#ifdef HAVE_SYS_PARAM_H
88898
 
+#include <sys/param.h>
88899
 
+#endif
88900
 
+#ifdef HAVE_SYS_MOUNT_H
88901
 
+#include <sys/mount.h>
88902
 
+#endif
88903
 
+  int
88904
 
+  main ()
88905
 
+  {
88906
 
+  struct statfs fsd;
88907
 
+  fsd.f_fsize = 0;
88908
 
+  return statfs (".", &fsd) != 0;
88909
 
+  }
88910
 
+_ACEOF
88911
 
+if ac_fn_c_try_run "$LINENO"; then :
88912
 
+  fu_cv_sys_stat_statfs2_fsize=yes
88913
 
+else
88914
 
+  fu_cv_sys_stat_statfs2_fsize=no
88915
 
+fi
88916
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
88917
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
88918
 
+fi
88919
 
+
88920
 
+fi
88921
 
+
88922
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_statfs2_fsize" >&5
88923
 
+$as_echo "$fu_cv_sys_stat_statfs2_fsize" >&6; }
88924
 
+  if test $fu_cv_sys_stat_statfs2_fsize = yes; then
88925
 
+    ac_fsusage_space=yes
88926
 
+    
88927
 
+$as_echo "@%:@define STAT_STATFS2_FSIZE 1" >>confdefs.h
88928
 
+
88929
 
+  fi
88930
 
+fi
88931
 
+
88932
 
+if test $ac_fsusage_space = no; then
88933
 
+  # Ultrix
88934
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument statfs with struct fs_data (Ultrix)" >&5
88935
 
+$as_echo_n "checking for two-argument statfs with struct fs_data (Ultrix)... " >&6; }
88936
 
+  if ${fu_cv_sys_stat_fs_data+:} false; then :
88937
 
+  $as_echo_n "(cached) " >&6
88938
 
+else
88939
 
+  if test "$cross_compiling" = yes; then :
88940
 
+  fu_cv_sys_stat_fs_data=no
88941
 
+else
88942
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88943
 
+/* end confdefs.h.  */
88944
 
+
88945
 
+#include <sys/types.h>
88946
 
+#ifdef HAVE_SYS_PARAM_H
88947
 
+#include <sys/param.h>
88948
 
+#endif
88949
 
+#ifdef HAVE_SYS_MOUNT_H
88950
 
+#include <sys/mount.h>
88951
 
+#endif
88952
 
+#ifdef HAVE_SYS_FS_TYPES_H
88953
 
+#include <sys/fs_types.h>
88954
 
+#endif
88955
 
+  int
88956
 
+  main ()
88957
 
+  {
88958
 
+  struct fs_data fsd;
88959
 
+  /* Ultrix's statfs returns 1 for success,
88960
 
+     0 for not mounted, -1 for failure.  */
88961
 
+  return statfs (".", &fsd) != 1;
88962
 
+  }
88963
 
+_ACEOF
88964
 
+if ac_fn_c_try_run "$LINENO"; then :
88965
 
+  fu_cv_sys_stat_fs_data=yes
88966
 
+else
88967
 
+  fu_cv_sys_stat_fs_data=no
88968
 
+fi
88969
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
88970
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
88971
 
+fi
88972
 
+
88973
 
+fi
88974
 
+
88975
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_stat_fs_data" >&5
88976
 
+$as_echo "$fu_cv_sys_stat_fs_data" >&6; }
88977
 
+  if test $fu_cv_sys_stat_fs_data = yes; then
88978
 
+    ac_fsusage_space=yes
88979
 
+    
88980
 
+$as_echo "@%:@define STAT_STATFS2_FS_DATA 1" >>confdefs.h
88981
 
+
88982
 
+  fi
88983
 
+fi
88984
 
+
88985
 
+if test $ac_fsusage_space = no; then
88986
 
+  # SVR2
88987
 
+  # (AIX, HP-UX, OSF/1 already handled above.)
88988
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88989
 
+/* end confdefs.h.  */
88990
 
+#include <sys/filsys.h>
88991
 
+        
88992
 
+_ACEOF
88993
 
+if ac_fn_c_try_cpp "$LINENO"; then :
88994
 
+  
88995
 
+$as_echo "@%:@define STAT_READ_FILSYS 1" >>confdefs.h
88996
 
+
88997
 
+     ac_fsusage_space=yes
88998
 
+fi
88999
 
+rm -f conftest.err conftest.i conftest.$ac_ext
89000
 
+fi
89001
 
+
89002
 
+if test $ac_fsusage_space = yes; then :
89003
 
+  gl_cv_fs_space=yes
89004
 
+else
89005
 
+  gl_cv_fs_space=no
89006
 
+fi
89007
 
+
89008
 
+
89009
 
+
89010
 
+if test $gl_cv_fs_space = yes; then
89011
 
+  
89012
 
+  
89013
 
+  
89014
 
+    
89015
 
+      
89016
 
+      
89017
 
+    
89018
 
+  
89019
 
+  gl_LIBOBJS="$gl_LIBOBJS fsusage.$ac_objext"
89020
 
+
89021
 
+  
89022
 
+  for ac_header in dustat.h sys/fs/s5param.h sys/filsys.h sys/statfs.h
89023
 
+do :
89024
 
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
89025
 
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
89026
 
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
89027
 
+  cat >>confdefs.h <<_ACEOF
89028
 
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
89029
 
+_ACEOF
89030
 
89031
 
+fi
89032
 
+
89033
 
+done
89034
 
+
89035
 
+  
89036
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs that truncates block counts" >&5
89037
 
+$as_echo_n "checking for statfs that truncates block counts... " >&6; }
89038
 
+  if ${fu_cv_sys_truncating_statfs+:} false; then :
89039
 
+  $as_echo_n "(cached) " >&6
89040
 
+else
89041
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89042
 
+/* end confdefs.h.  */
89043
 
+
89044
 
+#if !defined(sun) && !defined(__sun)
89045
 
+choke -- this is a workaround for a Sun-specific problem
89046
 
+#endif
89047
 
+#include <sys/types.h>
89048
 
+#include <sys/vfs.h>
89049
 
+int
89050
 
+main ()
89051
 
+{
89052
 
+struct statfs t; long c = *(t.f_spare);
89053
 
+        if (c) return 0;
89054
 
+  ;
89055
 
+  return 0;
89056
 
+}
89057
 
+_ACEOF
89058
 
+if ac_fn_c_try_compile "$LINENO"; then :
89059
 
+  fu_cv_sys_truncating_statfs=yes
89060
 
+else
89061
 
+  fu_cv_sys_truncating_statfs=no
89062
 
+fi
89063
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
89064
 
+fi
89065
 
+
89066
 
+  if test $fu_cv_sys_truncating_statfs = yes; then
89067
 
+    
89068
 
+$as_echo "@%:@define STATFS_TRUNCATES_BLOCK_COUNTS 1" >>confdefs.h
89069
 
+
89070
 
+  fi
89071
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_truncating_statfs" >&5
89072
 
+$as_echo "$fu_cv_sys_truncating_statfs" >&6; }
89073
 
+
89074
 
+
89075
 
+fi
89076
 
+
89077
 
+  
89078
 
+  
89079
 
+  if test $ac_cv_func_fsync = no; then
89080
 
+    HAVE_FSYNC=0
89081
 
+  fi
89082
 
+
89083
 
+if test $HAVE_FSYNC = 0; then
89084
 
+  
89085
 
+  
89086
 
+  
89087
 
+    
89088
 
+      
89089
 
+      
89090
 
+    
89091
 
+  
89092
 
+  gl_LIBOBJS="$gl_LIBOBJS fsync.$ac_objext"
89093
 
+
89094
 
+  :
89095
 
+fi
89096
 
+
89097
 
+    
89098
 
+  
89099
 
+  
89100
 
+  
89101
 
+          GNULIB_FSYNC=1
89102
 
+    
89103
 
+
89104
 
+
89105
 
+    
89106
 
+  
89107
 
+$as_echo "@%:@define GNULIB_TEST_FSYNC 1" >>confdefs.h
89108
 
+
89109
 
+
89110
 
+
89111
 
+
89112
 
+  
89113
 
+  
89114
 
+    if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
89115
 
+    REPLACE_FTELL=1
89116
 
+  fi
89117
 
+
89118
 
+if test $REPLACE_FTELL = 1; then
89119
 
+  
89120
 
+  
89121
 
+  
89122
 
+    
89123
 
+      
89124
 
+      
89125
 
+    
89126
 
+  
89127
 
+  gl_LIBOBJS="$gl_LIBOBJS ftell.$ac_objext"
89128
 
+
89129
 
+fi
89130
 
+
89131
 
+    
89132
 
+  
89133
 
+  
89134
 
+  
89135
 
+          GNULIB_FTELL=1
89136
 
+    
89137
 
+
89138
 
+
89139
 
+    
89140
 
+  
89141
 
+$as_echo "@%:@define GNULIB_TEST_FTELL 1" >>confdefs.h
89142
 
+
89143
 
+
89144
 
+
89145
 
+
89146
 
+  
89147
 
+  
89148
 
+  
89149
 
+
89150
 
+    
89151
 
+
89152
 
+  
89153
 
+  if test $ac_cv_have_decl_ftello = no; then
89154
 
+    HAVE_DECL_FTELLO=0
89155
 
+  fi
89156
 
+
89157
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftello" >&5
89158
 
+$as_echo_n "checking for ftello... " >&6; }
89159
 
+if ${gl_cv_func_ftello+:} false; then :
89160
 
+  $as_echo_n "(cached) " >&6
89161
 
+else
89162
 
+  
89163
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89164
 
+/* end confdefs.h.  */
89165
 
+#include <stdio.h>
89166
 
+int
89167
 
+main ()
89168
 
+{
89169
 
+ftello (stdin);
89170
 
+  ;
89171
 
+  return 0;
89172
 
+}
89173
 
+_ACEOF
89174
 
+if ac_fn_c_try_link "$LINENO"; then :
89175
 
+  gl_cv_func_ftello=yes
89176
 
+else
89177
 
+  gl_cv_func_ftello=no
89178
 
+fi
89179
 
+rm -f core conftest.err conftest.$ac_objext \
89180
 
+    conftest$ac_exeext conftest.$ac_ext
89181
 
+    
89182
 
+fi
89183
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello" >&5
89184
 
+$as_echo "$gl_cv_func_ftello" >&6; }
89185
 
+  if test $gl_cv_func_ftello = no; then
89186
 
+    HAVE_FTELLO=0
89187
 
+  else
89188
 
+    if test $gl_cv_var_stdin_large_offset = no; then
89189
 
+      REPLACE_FTELLO=1
89190
 
+    else
89191
 
+                                    
89192
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ftello works" >&5
89193
 
+$as_echo_n "checking whether ftello works... " >&6; }
89194
 
+if ${gl_cv_func_ftello_works+:} false; then :
89195
 
+  $as_echo_n "(cached) " >&6
89196
 
+else
89197
 
+  
89198
 
+                              case "$host_os" in
89199
 
+                      # Guess no on Solaris.
89200
 
+            solaris*) gl_cv_func_ftello_works="guessing no" ;;
89201
 
+                      # Guess yes otherwise.
89202
 
+            *)        gl_cv_func_ftello_works="guessing yes" ;;
89203
 
+          esac
89204
 
+          if test "$cross_compiling" = yes; then :
89205
 
+  :
89206
 
+else
89207
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89208
 
+/* end confdefs.h.  */
89209
 
+
89210
 
+#include <stdio.h>
89211
 
+#include <stdlib.h>
89212
 
+#include <string.h>
89213
 
+#define TESTFILE "conftest.tmp"
89214
 
+int
89215
 
+main (void)
89216
 
+{
89217
 
+  FILE *fp;
89218
 
+
89219
 
+  /* Create a file with some contents.  */
89220
 
+  fp = fopen (TESTFILE, "w");
89221
 
+  if (fp == NULL)
89222
 
+    return 70;
89223
 
+  if (fwrite ("foogarsh", 1, 8, fp) < 8)
89224
 
+    return 71;
89225
 
+  if (fclose (fp))
89226
 
+    return 72;
89227
 
+
89228
 
+  /* The file's contents is now "foogarsh".  */
89229
 
+
89230
 
+  /* Try writing after reading to EOF.  */
89231
 
+  fp = fopen (TESTFILE, "r+");
89232
 
+  if (fp == NULL)
89233
 
+    return 73;
89234
 
+  if (fseek (fp, -1, SEEK_END))
89235
 
+    return 74;
89236
 
+  if (!(getc (fp) == 'h'))
89237
 
+    return 1;
89238
 
+  if (!(getc (fp) == EOF))
89239
 
+    return 2;
89240
 
+  if (!(ftell (fp) == 8))
89241
 
+    return 3;
89242
 
+  if (!(ftell (fp) == 8))
89243
 
+    return 4;
89244
 
+  if (!(putc ('!', fp) == '!'))
89245
 
+    return 5;
89246
 
+  if (!(ftell (fp) == 9))
89247
 
+    return 6;
89248
 
+  if (!(fclose (fp) == 0))
89249
 
+    return 7;
89250
 
+  fp = fopen (TESTFILE, "r");
89251
 
+  if (fp == NULL)
89252
 
+    return 75;
89253
 
+  {
89254
 
+    char buf[10];
89255
 
+    if (!(fread (buf, 1, 10, fp) == 9))
89256
 
+      return 10;
89257
 
+    if (!(memcmp (buf, "foogarsh!", 9) == 0))
89258
 
+      return 11;
89259
 
+  }
89260
 
+  if (!(fclose (fp) == 0))
89261
 
+    return 12;
89262
 
+
89263
 
+  /* The file's contents is now "foogarsh!".  */
89264
 
+
89265
 
+  return 0;
89266
 
+}
89267
 
+_ACEOF
89268
 
+if ac_fn_c_try_run "$LINENO"; then :
89269
 
+  gl_cv_func_ftello_works=yes
89270
 
+else
89271
 
+  gl_cv_func_ftello_works=no
89272
 
+fi
89273
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
89274
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
89275
 
+fi
89276
 
+
89277
 
+        
89278
 
+fi
89279
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello_works" >&5
89280
 
+$as_echo "$gl_cv_func_ftello_works" >&6; }
89281
 
+      case "$gl_cv_func_ftello_works" in
89282
 
+        *yes) ;;
89283
 
+        *)
89284
 
+          REPLACE_FTELLO=1
89285
 
+          
89286
 
+$as_echo "@%:@define FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE 1" >>confdefs.h
89287
 
+
89288
 
+          ;;
89289
 
+      esac
89290
 
+    fi
89291
 
+  fi
89292
 
+
89293
 
+if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
89294
 
+  
89295
 
+  
89296
 
+  
89297
 
+    
89298
 
+      
89299
 
+      
89300
 
+    
89301
 
+  
89302
 
+  gl_LIBOBJS="$gl_LIBOBJS ftello.$ac_objext"
89303
 
+
89304
 
+fi
89305
 
+
89306
 
+    
89307
 
+  
89308
 
+  
89309
 
+  
89310
 
+          GNULIB_FTELLO=1
89311
 
+    
89312
 
+
89313
 
+
89314
 
+    
89315
 
+  
89316
 
+$as_echo "@%:@define GNULIB_TEST_FTELLO 1" >>confdefs.h
89317
 
+
89318
 
+
89319
 
+
89320
 
+
89321
 
+
89322
 
+
89323
 
+  
89324
 
+    
89325
 
+  
89326
 
+  
89327
 
+  GNULIB_OPENAT=1
89328
 
+
89329
 
+  
89330
 
+  GNULIB_FCHMODAT=1
89331
 
+  GNULIB_FSTATAT=1
89332
 
+  GNULIB_MKDIRAT=1
89333
 
+
89334
 
+  
89335
 
+  GNULIB_FCHOWNAT=1
89336
 
+  GNULIB_UNLINKAT=1
89337
 
+
89338
 
+  
89339
 
+  
89340
 
+  
89341
 
+  
89342
 
+  case $ac_cv_func_openat+$gl_cv_func_lstat_dereferences_slashed_symlink in
89343
 
+  yes+yes)
89344
 
+    # GNU/Hurd has unlinkat, but it has the same bug as unlink.
89345
 
+    if test $REPLACE_UNLINK = 1; then
89346
 
+      REPLACE_UNLINKAT=1
89347
 
+    fi ;;
89348
 
+  yes+*)
89349
 
+    # Solaris 9 has *at functions, but uniformly mishandles trailing
89350
 
+    # slash in all of them.
89351
 
+    REPLACE_OPENAT=1
89352
 
+    REPLACE_UNLINKAT=1
89353
 
+    ;;
89354
 
+  *)
89355
 
+    HAVE_OPENAT=0
89356
 
+    HAVE_UNLINKAT=0 # No known system with unlinkat but not openat
89357
 
+    
89358
 
+  
89359
 
+  
89360
 
+  :
89361
 
+;;
89362
 
+  esac
89363
 
+  if test $ac_cv_func_fchmodat != yes; then
89364
 
+    HAVE_FCHMODAT=0
89365
 
+  fi
89366
 
+  if test $ac_cv_func_mkdirat != yes; then
89367
 
+    HAVE_MKDIRAT=0
89368
 
+  fi
89369
 
+  
89370
 
+  
89371
 
+  
89372
 
+  ac_fn_c_check_func "$LINENO" "fchownat" "ac_cv_func_fchownat"
89373
 
+if test "x$ac_cv_func_fchownat" = xyes; then :
89374
 
+  
89375
 
+    
89376
 
+
89377
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fchownat works with AT_SYMLINK_NOFOLLOW" >&5
89378
 
+$as_echo_n "checking whether fchownat works with AT_SYMLINK_NOFOLLOW... " >&6; }
89379
 
+if ${gl_cv_func_fchownat_nofollow_works+:} false; then :
89380
 
+  $as_echo_n "(cached) " >&6
89381
 
+else
89382
 
+  
89383
 
+     gl_dangle=conftest.dangle
89384
 
+     # Remove any remnants of a previous test.
89385
 
+     rm -f $gl_dangle
89386
 
+     # Arrange for deletion of the temporary file this test creates.
89387
 
+     ac_clean_files="$ac_clean_files $gl_dangle"
89388
 
+     ln -s conftest.no-such $gl_dangle
89389
 
+     if test "$cross_compiling" = yes; then :
89390
 
+  gl_cv_func_fchownat_nofollow_works=no
89391
 
+else
89392
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89393
 
+/* end confdefs.h.  */
89394
 
+
89395
 
+#include <fcntl.h>
89396
 
+#include <unistd.h>
89397
 
+#include <stdlib.h>
89398
 
+#include <errno.h>
89399
 
+#include <sys/types.h>
89400
 
+int
89401
 
+main ()
89402
 
+{
89403
 
+  return (fchownat (AT_FDCWD, "$gl_dangle", -1, getgid (),
89404
 
+                    AT_SYMLINK_NOFOLLOW) != 0
89405
 
+          && errno == ENOENT);
89406
 
+}
89407
 
+          
89408
 
+_ACEOF
89409
 
+if ac_fn_c_try_run "$LINENO"; then :
89410
 
+  gl_cv_func_fchownat_nofollow_works=yes
89411
 
+else
89412
 
+  gl_cv_func_fchownat_nofollow_works=no
89413
 
+fi
89414
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
89415
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
89416
 
+fi
89417
 
+
89418
 
+  
89419
 
+fi
89420
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fchownat_nofollow_works" >&5
89421
 
+$as_echo "$gl_cv_func_fchownat_nofollow_works" >&6; }
89422
 
+  if test $gl_cv_func_fchownat_nofollow_works = no; then :
89423
 
+  REPLACE_FCHOWNAT=1
89424
 
+        
89425
 
+$as_echo "@%:@define FCHOWNAT_NOFOLLOW_BUG 1" >>confdefs.h
89426
 
+
89427
 
+       
89428
 
+fi
89429
 
+
89430
 
+     
89431
 
+    
89432
 
+
89433
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fchownat works with an empty file name" >&5
89434
 
+$as_echo_n "checking whether fchownat works with an empty file name... " >&6; }
89435
 
+if ${gl_cv_func_fchownat_empty_filename_works+:} false; then :
89436
 
+  $as_echo_n "(cached) " >&6
89437
 
+else
89438
 
+  if test "$cross_compiling" = yes; then :
89439
 
+  gl_cv_func_fchownat_empty_filename_works="guessing no"
89440
 
+else
89441
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89442
 
+/* end confdefs.h.  */
89443
 
+#include <unistd.h>
89444
 
+            #include <fcntl.h>
89445
 
+          
89446
 
+int
89447
 
+main ()
89448
 
+{
89449
 
+int fd;
89450
 
+            int ret;
89451
 
+            if (mkdir ("conftestdir", 0700) < 0)
89452
 
+              return 2;
89453
 
+            fd = open ("conftestdir", O_RDONLY);
89454
 
+            if (fd < 0)
89455
 
+              return 3;
89456
 
+            ret = fchownat (fd, "", -1, -1, 0);
89457
 
+            close (fd);
89458
 
+            rmdir ("conftestdir");
89459
 
+            return ret == 0;
89460
 
+          
89461
 
+  ;
89462
 
+  return 0;
89463
 
+}
89464
 
+_ACEOF
89465
 
+if ac_fn_c_try_run "$LINENO"; then :
89466
 
+  gl_cv_func_fchownat_empty_filename_works=yes
89467
 
+else
89468
 
+  gl_cv_func_fchownat_empty_filename_works=no
89469
 
+fi
89470
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
89471
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
89472
 
+fi
89473
 
+
89474
 
+    
89475
 
+fi
89476
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fchownat_empty_filename_works" >&5
89477
 
+$as_echo "$gl_cv_func_fchownat_empty_filename_works" >&6; }
89478
 
+  if test "$gl_cv_func_fchownat_empty_filename_works" != yes; then :
89479
 
+  REPLACE_FCHOWNAT=1
89480
 
+        
89481
 
+$as_echo "@%:@define FCHOWNAT_EMPTY_FILENAME_BUG 1" >>confdefs.h
89482
 
+
89483
 
+       
89484
 
+fi
89485
 
+
89486
 
+     if test $REPLACE_CHOWN = 1; then
89487
 
+       REPLACE_FCHOWNAT=1
89488
 
+     fi
89489
 
+else
89490
 
+  HAVE_FCHOWNAT=0
89491
 
+fi
89492
 
+
89493
 
+
89494
 
+  
89495
 
+  
89496
 
+  
89497
 
+  
89498
 
+  
89499
 
+
89500
 
+  if test $ac_cv_func_fstatat = no; then
89501
 
+    HAVE_FSTATAT=0
89502
 
+  else
89503
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fstatat (..., 0) works" >&5
89504
 
+$as_echo_n "checking whether fstatat (..., 0) works... " >&6; }
89505
 
+if ${gl_cv_func_fstatat_zero_flag+:} false; then :
89506
 
+  $as_echo_n "(cached) " >&6
89507
 
+else
89508
 
+  gl_cv_func_fstatat_zero_flag=no
89509
 
+       if test "$cross_compiling" = yes; then :
89510
 
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
89511
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
89512
 
+as_fn_error $? "cannot run test program while cross compiling
89513
 
+See \`config.log' for more details" "$LINENO" 5; }
89514
 
+else
89515
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89516
 
+/* end confdefs.h.  */
89517
 
+
89518
 
+              #include <fcntl.h>
89519
 
+              #include <sys/stat.h>
89520
 
+              int
89521
 
+              main (void)
89522
 
+              {
89523
 
+                struct stat a;
89524
 
+                return fstatat (AT_FDCWD, ".", &a, 0) != 0;
89525
 
+              }
89526
 
+            
89527
 
+_ACEOF
89528
 
+if ac_fn_c_try_run "$LINENO"; then :
89529
 
+  gl_cv_func_fstatat_zero_flag=yes
89530
 
+fi
89531
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
89532
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
89533
 
+fi
89534
 
+
89535
 
+fi
89536
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fstatat_zero_flag" >&5
89537
 
+$as_echo "$gl_cv_func_fstatat_zero_flag" >&6; }
89538
 
+
89539
 
+    case $gl_cv_func_fstatat_zero_flag+$gl_cv_func_lstat_dereferences_slashed_symlink in
89540
 
+    yes+yes) ;;
89541
 
+    *) REPLACE_FSTATAT=1
89542
 
+       if test $gl_cv_func_fstatat_zero_flag != yes; then
89543
 
+         
89544
 
+$as_echo "@%:@define FSTATAT_ZERO_FLAG_BROKEN 1" >>confdefs.h
89545
 
+
89546
 
+       fi
89547
 
+       ;;
89548
 
+    esac
89549
 
+  fi
89550
 
+
89551
 
+
89552
 
+    
89553
 
+  
89554
 
+cat >>confdefs.h <<_ACEOF
89555
 
+@%:@define GNULIB_OPENAT 1
89556
 
+_ACEOF
89557
 
+
89558
 
+
89559
 
+
89560
 
+
89561
 
+  
89562
 
+    ac_fn_c_check_member "$LINENO" "struct statfs" "f_type" "ac_cv_member_struct_statfs_f_type" "$ac_includes_default
89563
 
+     #include <sys/vfs.h>
89564
 
+"
89565
 
+if test "x$ac_cv_member_struct_statfs_f_type" = xyes; then :
89566
 
+  
89567
 
+cat >>confdefs.h <<_ACEOF
89568
 
+@%:@define HAVE_STRUCT_STATFS_F_TYPE 1
89569
 
+_ACEOF
89570
 
+
89571
 
+
89572
 
+fi
89573
 
+
89574
 
+
89575
 
+
89576
 
+
89577
 
+  
89578
 
+  
89579
 
+    
89580
 
+      
89581
 
+      
89582
 
+    
89583
 
+  
89584
 
+  gl_LIBOBJS="$gl_LIBOBJS fts.$ac_objext"
89585
 
+
89586
 
+
89587
 
+  
89588
 
+  
89589
 
+  
89590
 
+  if test $ac_cv_func_futimens = no; then
89591
 
+    HAVE_FUTIMENS=0
89592
 
+  else
89593
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether futimens works" >&5
89594
 
+$as_echo_n "checking whether futimens works... " >&6; }
89595
 
+if ${gl_cv_func_futimens_works+:} false; then :
89596
 
+  $as_echo_n "(cached) " >&6
89597
 
+else
89598
 
+  if test "$cross_compiling" = yes; then :
89599
 
+  gl_cv_func_futimens_works="guessing no"
89600
 
+else
89601
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89602
 
+/* end confdefs.h.  */
89603
 
+
89604
 
+#include <fcntl.h>
89605
 
+#include <sys/stat.h>
89606
 
+#include <unistd.h>
89607
 
+#include <errno.h>
89608
 
+
89609
 
+int
89610
 
+main ()
89611
 
+{
89612
 
+struct timespec ts[2] = { { 1, UTIME_OMIT }, { 1, UTIME_NOW } };
89613
 
+      int fd = creat ("conftest.file", 0600);
89614
 
+      struct stat st;
89615
 
+      if (fd < 0) return 1;
89616
 
+      errno = 0;
89617
 
+      if (futimens (AT_FDCWD, NULL) == 0) return 2;
89618
 
+      if (errno != EBADF) return 3;
89619
 
+      if (futimens (fd, ts)) return 4;
89620
 
+      sleep (1);
89621
 
+      ts[0].tv_nsec = UTIME_NOW;
89622
 
+      ts[1].tv_nsec = UTIME_OMIT;
89623
 
+      if (futimens (fd, ts)) return 5;
89624
 
+      if (fstat (fd, &st)) return 6;
89625
 
+      if (st.st_ctime < st.st_atime) return 7;
89626
 
+      
89627
 
+  ;
89628
 
+  return 0;
89629
 
+}
89630
 
+_ACEOF
89631
 
+if ac_fn_c_try_run "$LINENO"; then :
89632
 
+           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89633
 
+/* end confdefs.h.  */
89634
 
+
89635
 
+#ifdef __linux__
89636
 
+/* The Linux kernel added futimens in 2.6.22, but has bugs with UTIME_OMIT
89637
 
+   in several file systems as recently as 2.6.32.  Always replace futimens
89638
 
+   to support older kernels.  */
89639
 
+choke me
89640
 
+#endif
89641
 
+      
89642
 
+int
89643
 
+main ()
89644
 
+{
89645
 
+
89646
 
+  ;
89647
 
+  return 0;
89648
 
+}
89649
 
+_ACEOF
89650
 
+if ac_fn_c_try_compile "$LINENO"; then :
89651
 
+  gl_cv_func_futimens_works=yes
89652
 
+else
89653
 
+  gl_cv_func_futimens_works="needs runtime check"
89654
 
+fi
89655
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
89656
 
+else
89657
 
+  gl_cv_func_futimens_works=no
89658
 
+fi
89659
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
89660
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
89661
 
+fi
89662
 
+
89663
 
+      rm -f conftest.file
89664
 
+fi
89665
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_futimens_works" >&5
89666
 
+$as_echo "$gl_cv_func_futimens_works" >&6; }
89667
 
+    if test "$gl_cv_func_futimens_works" != yes; then
89668
 
+      REPLACE_FUTIMENS=1
89669
 
+    fi
89670
 
+  fi
89671
 
+
89672
 
+if test $HAVE_FUTIMENS = 0 || test $REPLACE_FUTIMENS = 1; then
89673
 
+  
89674
 
+  
89675
 
+  
89676
 
+    
89677
 
+      
89678
 
+      
89679
 
+    
89680
 
+  
89681
 
+  gl_LIBOBJS="$gl_LIBOBJS futimens.$ac_objext"
89682
 
+
89683
 
+fi
89684
 
+
89685
 
+    
89686
 
+  
89687
 
+  
89688
 
+  
89689
 
+          GNULIB_FUTIMENS=1
89690
 
+    
89691
 
+
89692
 
+
89693
 
+    
89694
 
+  
89695
 
+$as_echo "@%:@define GNULIB_TEST_FUTIMENS 1" >>confdefs.h
89696
 
+
89697
 
+
89698
 
+
89699
 
+
89700
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to do getaddrinfo, freeaddrinfo and getnameinfo" >&5
89701
 
+$as_echo "$as_me: checking how to do getaddrinfo, freeaddrinfo and getnameinfo" >&6;}
89702
 
+  GETADDRINFO_LIB=
89703
 
+  gai_saved_LIBS="$LIBS"
89704
 
+
89705
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
89706
 
+$as_echo_n "checking for library containing getaddrinfo... " >&6; }
89707
 
+if ${ac_cv_search_getaddrinfo+:} false; then :
89708
 
+  $as_echo_n "(cached) " >&6
89709
 
+else
89710
 
+  ac_func_search_save_LIBS=$LIBS
89711
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89712
 
+/* end confdefs.h.  */
89713
 
+
89714
 
+/* Override any GCC internal prototype to avoid an error.
89715
 
+   Use char because int might match the return type of a GCC
89716
 
+   builtin and then its argument prototype would still apply.  */
89717
 
+#ifdef __cplusplus
89718
 
+extern "C"
89719
 
+#endif
89720
 
+char getaddrinfo ();
89721
 
+int
89722
 
+main ()
89723
 
+{
89724
 
+return getaddrinfo ();
89725
 
+  ;
89726
 
+  return 0;
89727
 
+}
89728
 
+_ACEOF
89729
 
+for ac_lib in '' socket network net; do
89730
 
+  if test -z "$ac_lib"; then
89731
 
+    ac_res="none required"
89732
 
+  else
89733
 
+    ac_res=-l$ac_lib
89734
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
89735
 
+  fi
89736
 
+  if ac_fn_c_try_link "$LINENO"; then :
89737
 
+  ac_cv_search_getaddrinfo=$ac_res
89738
 
+fi
89739
 
+rm -f core conftest.err conftest.$ac_objext \
89740
 
+    conftest$ac_exeext
89741
 
+  if ${ac_cv_search_getaddrinfo+:} false; then :
89742
 
+  break
89743
 
+fi
89744
 
+done
89745
 
+if ${ac_cv_search_getaddrinfo+:} false; then :
89746
 
+  
89747
 
+else
89748
 
+  ac_cv_search_getaddrinfo=no
89749
 
+fi
89750
 
+rm conftest.$ac_ext
89751
 
+LIBS=$ac_func_search_save_LIBS
89752
 
+fi
89753
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
89754
 
+$as_echo "$ac_cv_search_getaddrinfo" >&6; }
89755
 
+ac_res=$ac_cv_search_getaddrinfo
89756
 
+if test "$ac_res" != no; then :
89757
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
89758
 
+  if test "$ac_cv_search_getaddrinfo" != "none required"; then
89759
 
+       GETADDRINFO_LIB="$ac_cv_search_getaddrinfo"
89760
 
+     fi
89761
 
+fi
89762
 
+
89763
 
+  LIBS="$gai_saved_LIBS $GETADDRINFO_LIB"
89764
 
+
89765
 
+  HAVE_GETADDRINFO=1
89766
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
89767
 
+$as_echo_n "checking for getaddrinfo... " >&6; }
89768
 
+if ${gl_cv_func_getaddrinfo+:} false; then :
89769
 
+  $as_echo_n "(cached) " >&6
89770
 
+else
89771
 
+  
89772
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89773
 
+/* end confdefs.h.  */
89774
 
+
89775
 
+#include <sys/types.h>
89776
 
+#ifdef HAVE_SYS_SOCKET_H
89777
 
+#include <sys/socket.h>
89778
 
+#endif
89779
 
+#ifdef HAVE_NETDB_H
89780
 
+#include <netdb.h>
89781
 
+#endif
89782
 
+#include <stddef.h>
89783
 
+
89784
 
+int
89785
 
+main ()
89786
 
+{
89787
 
+getaddrinfo("", "", NULL, NULL);
89788
 
+  ;
89789
 
+  return 0;
89790
 
+}
89791
 
+_ACEOF
89792
 
+if ac_fn_c_try_link "$LINENO"; then :
89793
 
+  gl_cv_func_getaddrinfo=yes
89794
 
+else
89795
 
+  gl_cv_func_getaddrinfo=no
89796
 
+fi
89797
 
+rm -f core conftest.err conftest.$ac_objext \
89798
 
+    conftest$ac_exeext conftest.$ac_ext
89799
 
+fi
89800
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getaddrinfo" >&5
89801
 
+$as_echo "$gl_cv_func_getaddrinfo" >&6; }
89802
 
+  if test $gl_cv_func_getaddrinfo = no; then
89803
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in ws2tcpip.h and -lws2_32" >&5
89804
 
+$as_echo_n "checking for getaddrinfo in ws2tcpip.h and -lws2_32... " >&6; }
89805
 
+if ${gl_cv_w32_getaddrinfo+:} false; then :
89806
 
+  $as_echo_n "(cached) " >&6
89807
 
+else
89808
 
+  
89809
 
+      gl_cv_w32_getaddrinfo=no
89810
 
+      am_save_LIBS="$LIBS"
89811
 
+      LIBS="$LIBS -lws2_32"
89812
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89813
 
+/* end confdefs.h.  */
89814
 
+
89815
 
+#ifdef HAVE_WS2TCPIP_H
89816
 
+#include <ws2tcpip.h>
89817
 
+#endif
89818
 
+#include <stddef.h>
89819
 
+
89820
 
+int
89821
 
+main ()
89822
 
+{
89823
 
+getaddrinfo(NULL, NULL, NULL, NULL);
89824
 
+  ;
89825
 
+  return 0;
89826
 
+}
89827
 
+_ACEOF
89828
 
+if ac_fn_c_try_link "$LINENO"; then :
89829
 
+  gl_cv_w32_getaddrinfo=yes
89830
 
+fi
89831
 
+rm -f core conftest.err conftest.$ac_objext \
89832
 
+    conftest$ac_exeext conftest.$ac_ext
89833
 
+      LIBS="$am_save_LIBS"
89834
 
+    
89835
 
+fi
89836
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getaddrinfo" >&5
89837
 
+$as_echo "$gl_cv_w32_getaddrinfo" >&6; }
89838
 
+    if test "$gl_cv_w32_getaddrinfo" = "yes"; then
89839
 
+      GETADDRINFO_LIB="-lws2_32"
89840
 
+      LIBS="$gai_saved_LIBS $GETADDRINFO_LIB"
89841
 
+    else
89842
 
+      HAVE_GETADDRINFO=0
89843
 
+    fi
89844
 
+  fi
89845
 
+
89846
 
+  # We can't use AC_REPLACE_FUNCS here because gai_strerror may be an
89847
 
+  # inline function declared in ws2tcpip.h, so we need to get that
89848
 
+  # header included somehow.
89849
 
+  ac_fn_c_check_decl "$LINENO" "gai_strerror" "ac_cv_have_decl_gai_strerror" "
89850
 
+#include <sys/types.h>
89851
 
+#ifdef HAVE_SYS_SOCKET_H
89852
 
+#include <sys/socket.h>
89853
 
+#endif
89854
 
+#ifdef HAVE_NETDB_H
89855
 
+#include <netdb.h>
89856
 
+#endif
89857
 
+#ifdef HAVE_WS2TCPIP_H
89858
 
+#include <ws2tcpip.h>
89859
 
+#endif
89860
 
+#include <stddef.h>
89861
 
+
89862
 
+"
89863
 
+if test "x$ac_cv_have_decl_gai_strerror" = xyes; then :
89864
 
+  ac_have_decl=1
89865
 
+else
89866
 
+  ac_have_decl=0
89867
 
+fi
89868
 
+
89869
 
+cat >>confdefs.h <<_ACEOF
89870
 
+@%:@define HAVE_DECL_GAI_STRERROR $ac_have_decl
89871
 
+_ACEOF
89872
 
+
89873
 
+  if test $ac_cv_have_decl_gai_strerror = yes; then
89874
 
+    ac_fn_c_check_decl "$LINENO" "gai_strerrorA" "ac_cv_have_decl_gai_strerrorA" "
89875
 
+#include <sys/types.h>
89876
 
+#ifdef HAVE_SYS_SOCKET_H
89877
 
+#include <sys/socket.h>
89878
 
+#endif
89879
 
+#ifdef HAVE_NETDB_H
89880
 
+#include <netdb.h>
89881
 
+#endif
89882
 
+#ifdef HAVE_WS2TCPIP_H
89883
 
+#include <ws2tcpip.h>
89884
 
+#endif
89885
 
+#include <stddef.h>
89886
 
+
89887
 
+"
89888
 
+if test "x$ac_cv_have_decl_gai_strerrorA" = xyes; then :
89889
 
+  ac_have_decl=1
89890
 
+else
89891
 
+  ac_have_decl=0
89892
 
+fi
89893
 
+
89894
 
+cat >>confdefs.h <<_ACEOF
89895
 
+@%:@define HAVE_DECL_GAI_STRERRORA $ac_have_decl
89896
 
+_ACEOF
89897
 
+
89898
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gai_strerror with POSIX signature" >&5
89899
 
+$as_echo_n "checking for gai_strerror with POSIX signature... " >&6; }
89900
 
+if ${gl_cv_func_gai_strerror_posix_signature+:} false; then :
89901
 
+  $as_echo_n "(cached) " >&6
89902
 
+else
89903
 
+  
89904
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89905
 
+/* end confdefs.h.  */
89906
 
+
89907
 
+#include <sys/types.h>
89908
 
+#ifdef HAVE_SYS_SOCKET_H
89909
 
+#include <sys/socket.h>
89910
 
+#endif
89911
 
+#ifdef HAVE_NETDB_H
89912
 
+#include <netdb.h>
89913
 
+#endif
89914
 
+#ifdef HAVE_WS2TCPIP_H
89915
 
+#include <ws2tcpip.h>
89916
 
+#endif
89917
 
+#include <stddef.h>
89918
 
+extern
89919
 
+#ifdef __cplusplus
89920
 
+"C"
89921
 
+#endif
89922
 
+const char *gai_strerror(int);
89923
 
+_ACEOF
89924
 
+if ac_fn_c_try_compile "$LINENO"; then :
89925
 
+  gl_cv_func_gai_strerror_posix_signature=yes
89926
 
+else
89927
 
+  gl_cv_func_gai_strerror_posix_signature=no
89928
 
+fi
89929
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
89930
 
+fi
89931
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gai_strerror_posix_signature" >&5
89932
 
+$as_echo "$gl_cv_func_gai_strerror_posix_signature" >&6; }
89933
 
+    if test $gl_cv_func_gai_strerror_posix_signature = no; then
89934
 
+      REPLACE_GAI_STRERROR=1
89935
 
+    fi
89936
 
+  fi
89937
 
+
89938
 
+  LIBS="$gai_saved_LIBS"
89939
 
+
89940
 
+  
89941
 
+  
89942
 
+             
89943
 
+  
89944
 
+  
89945
 
+  
89946
 
+  
89947
 
+
89948
 
+      ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
89949
 
+#include <sys/types.h>
89950
 
+#include <sys/socket.h>
89951
 
+
89952
 
+"
89953
 
+if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
89954
 
+  
89955
 
+cat >>confdefs.h <<_ACEOF
89956
 
+@%:@define HAVE_STRUCT_SOCKADDR_SA_LEN 1
89957
 
+_ACEOF
89958
 
+
89959
 
+
89960
 
+fi
89961
 
+
89962
 
+
89963
 
+  
89964
 
+
89965
 
+  ac_fn_c_check_decl "$LINENO" "getaddrinfo" "ac_cv_have_decl_getaddrinfo" "
89966
 
+  /* sys/types.h is not needed according to POSIX, but the
89967
 
+     sys/socket.h in i386-unknown-freebsd4.10 and
89968
 
+     powerpc-apple-darwin5.5 required it. */
89969
 
+#include <sys/types.h>
89970
 
+#ifdef HAVE_SYS_SOCKET_H
89971
 
+#include <sys/socket.h>
89972
 
+#endif
89973
 
+#ifdef HAVE_NETDB_H
89974
 
+#include <netdb.h>
89975
 
+#endif
89976
 
+#ifdef HAVE_WS2TCPIP_H
89977
 
+#include <ws2tcpip.h>
89978
 
+#endif
89979
 
+
89980
 
+"
89981
 
+if test "x$ac_cv_have_decl_getaddrinfo" = xyes; then :
89982
 
+  ac_have_decl=1
89983
 
+else
89984
 
+  ac_have_decl=0
89985
 
+fi
89986
 
+
89987
 
+cat >>confdefs.h <<_ACEOF
89988
 
+@%:@define HAVE_DECL_GETADDRINFO $ac_have_decl
89989
 
+_ACEOF
89990
 
+ac_fn_c_check_decl "$LINENO" "freeaddrinfo" "ac_cv_have_decl_freeaddrinfo" "
89991
 
+  /* sys/types.h is not needed according to POSIX, but the
89992
 
+     sys/socket.h in i386-unknown-freebsd4.10 and
89993
 
+     powerpc-apple-darwin5.5 required it. */
89994
 
+#include <sys/types.h>
89995
 
+#ifdef HAVE_SYS_SOCKET_H
89996
 
+#include <sys/socket.h>
89997
 
+#endif
89998
 
+#ifdef HAVE_NETDB_H
89999
 
+#include <netdb.h>
90000
 
+#endif
90001
 
+#ifdef HAVE_WS2TCPIP_H
90002
 
+#include <ws2tcpip.h>
90003
 
+#endif
90004
 
+
90005
 
+"
90006
 
+if test "x$ac_cv_have_decl_freeaddrinfo" = xyes; then :
90007
 
+  ac_have_decl=1
90008
 
+else
90009
 
+  ac_have_decl=0
90010
 
+fi
90011
 
+
90012
 
+cat >>confdefs.h <<_ACEOF
90013
 
+@%:@define HAVE_DECL_FREEADDRINFO $ac_have_decl
90014
 
+_ACEOF
90015
 
+ac_fn_c_check_decl "$LINENO" "getnameinfo" "ac_cv_have_decl_getnameinfo" "
90016
 
+  /* sys/types.h is not needed according to POSIX, but the
90017
 
+     sys/socket.h in i386-unknown-freebsd4.10 and
90018
 
+     powerpc-apple-darwin5.5 required it. */
90019
 
+#include <sys/types.h>
90020
 
+#ifdef HAVE_SYS_SOCKET_H
90021
 
+#include <sys/socket.h>
90022
 
+#endif
90023
 
+#ifdef HAVE_NETDB_H
90024
 
+#include <netdb.h>
90025
 
+#endif
90026
 
+#ifdef HAVE_WS2TCPIP_H
90027
 
+#include <ws2tcpip.h>
90028
 
+#endif
90029
 
+
90030
 
+"
90031
 
+if test "x$ac_cv_have_decl_getnameinfo" = xyes; then :
90032
 
+  ac_have_decl=1
90033
 
+else
90034
 
+  ac_have_decl=0
90035
 
+fi
90036
 
+
90037
 
+cat >>confdefs.h <<_ACEOF
90038
 
+@%:@define HAVE_DECL_GETNAMEINFO $ac_have_decl
90039
 
+_ACEOF
90040
 
+
90041
 
+  if test $ac_cv_have_decl_getaddrinfo = no; then
90042
 
+    HAVE_DECL_GETADDRINFO=0
90043
 
+  fi
90044
 
+  if test $ac_cv_have_decl_freeaddrinfo = no; then
90045
 
+    HAVE_DECL_FREEADDRINFO=0
90046
 
+  fi
90047
 
+  if test $ac_cv_have_decl_gai_strerror = no; then
90048
 
+    HAVE_DECL_GAI_STRERROR=0
90049
 
+  fi
90050
 
+  if test $ac_cv_have_decl_getnameinfo = no; then
90051
 
+    HAVE_DECL_GETNAMEINFO=0
90052
 
+  fi
90053
 
+
90054
 
+  ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "
90055
 
+#include <sys/types.h>
90056
 
+#ifdef HAVE_SYS_SOCKET_H
90057
 
+#include <sys/socket.h>
90058
 
+#endif
90059
 
+#ifdef HAVE_NETDB_H
90060
 
+#include <netdb.h>
90061
 
+#endif
90062
 
+#ifdef HAVE_WS2TCPIP_H
90063
 
+#include <ws2tcpip.h>
90064
 
+#endif
90065
 
+
90066
 
+"
90067
 
+if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
90068
 
+  
90069
 
+cat >>confdefs.h <<_ACEOF
90070
 
+@%:@define HAVE_STRUCT_ADDRINFO 1
90071
 
+_ACEOF
90072
 
+
90073
 
+
90074
 
+fi
90075
 
+
90076
 
+  if test $ac_cv_type_struct_addrinfo = no; then
90077
 
+    HAVE_STRUCT_ADDRINFO=0
90078
 
+  fi
90079
 
+
90080
 
+    case " $GETADDRINFO_LIB " in
90081
 
+    *" $HOSTENT_LIB "*) ;;
90082
 
+    *) GETADDRINFO_LIB="$GETADDRINFO_LIB $HOSTENT_LIB" ;;
90083
 
+  esac
90084
 
+
90085
 
+    case " $GETADDRINFO_LIB " in
90086
 
+    *" $SERVENT_LIB "*) ;;
90087
 
+    *) GETADDRINFO_LIB="$GETADDRINFO_LIB $SERVENT_LIB" ;;
90088
 
+  esac
90089
 
+
90090
 
+    case " $GETADDRINFO_LIB " in
90091
 
+    *" $INET_NTOP_LIB "*) ;;
90092
 
+    *) GETADDRINFO_LIB="$GETADDRINFO_LIB $INET_NTOP_LIB" ;;
90093
 
+  esac
90094
 
+
90095
 
+
90096
 
+  
90097
 
+
90098
 
+if test $HAVE_GETADDRINFO = 0; then
90099
 
+  
90100
 
+  
90101
 
+  
90102
 
+    
90103
 
+      
90104
 
+      
90105
 
+    
90106
 
+  
90107
 
+  gl_LIBOBJS="$gl_LIBOBJS getaddrinfo.$ac_objext"
90108
 
+
90109
 
+fi
90110
 
+if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then
90111
 
+  
90112
 
+  
90113
 
+  
90114
 
+    
90115
 
+      
90116
 
+      
90117
 
+    
90118
 
+  
90119
 
+  gl_LIBOBJS="$gl_LIBOBJS gai_strerror.$ac_objext"
90120
 
+
90121
 
+fi
90122
 
+
90123
 
+    
90124
 
+  
90125
 
+  
90126
 
+  
90127
 
+          GNULIB_GETADDRINFO=1
90128
 
+    
90129
 
+
90130
 
+
90131
 
+    
90132
 
+  
90133
 
+$as_echo "@%:@define GNULIB_TEST_GETADDRINFO 1" >>confdefs.h
90134
 
+
90135
 
+
90136
 
+
90137
 
+
90138
 
+  
90139
 
+  
90140
 
+  
90141
 
+   
90142
 
+  gl_abort_bug=no
90143
 
+  case $gl_cv_func_getcwd_null,$host_os in
90144
 
+  *,mingw*)
90145
 
+    gl_cv_func_getcwd_path_max=yes;;
90146
 
+  yes,*)
90147
 
+    
90148
 
+  
90149
 
+  
90150
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getcwd handles long file names properly" >&5
90151
 
+$as_echo_n "checking whether getcwd handles long file names properly... " >&6; }
90152
 
+if ${gl_cv_func_getcwd_path_max+:} false; then :
90153
 
+  $as_echo_n "(cached) " >&6
90154
 
+else
90155
 
+  # Arrange for deletion of the temporary directory this test creates.
90156
 
+     ac_clean_files="$ac_clean_files confdir3"
90157
 
+          if test "$cross_compiling" = yes; then :
90158
 
+  gl_cv_func_getcwd_path_max=no
90159
 
+else
90160
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
90161
 
+/* end confdefs.h.  */
90162
 
+
90163
 
+#include <errno.h>
90164
 
+#include <stdlib.h>
90165
 
+#include <unistd.h>
90166
 
+#include <string.h>
90167
 
+#include <limits.h>
90168
 
+#include <sys/stat.h>
90169
 
+#include <sys/types.h>
90170
 
+#include <fcntl.h>
90171
 
+
90172
 
+#ifndef AT_FDCWD
90173
 
+# define AT_FDCWD 0
90174
 
+#endif
90175
 
+#ifdef ENAMETOOLONG
90176
 
+# define is_ENAMETOOLONG(x) ((x) == ENAMETOOLONG)
90177
 
+#else
90178
 
+# define is_ENAMETOOLONG(x) 0
90179
 
+#endif
90180
 
+
90181
 
+/* Don't get link errors because mkdir is redefined to rpl_mkdir.  */
90182
 
+#undef mkdir
90183
 
+
90184
 
+#ifndef S_IRWXU
90185
 
+# define S_IRWXU 0700
90186
 
+#endif
90187
 
+
90188
 
+/* The length of this name must be 8.  */
90189
 
+#define DIR_NAME "confdir3"
90190
 
+#define DIR_NAME_LEN 8
90191
 
+#define DIR_NAME_SIZE (DIR_NAME_LEN + 1)
90192
 
+
90193
 
+/* The length of "../".  */
90194
 
+#define DOTDOTSLASH_LEN 3
90195
 
+
90196
 
+/* Leftover bytes in the buffer, to work around library or OS bugs.  */
90197
 
+#define BUF_SLOP 20
90198
 
+
90199
 
+int
90200
 
+main ()
90201
 
+{
90202
 
+#ifndef PATH_MAX
90203
 
+  /* The Hurd doesn't define this, so getcwd can't exhibit the bug --
90204
 
+     at least not on a local file system.  And if we were to start worrying
90205
 
+     about remote file systems, we'd have to enable the wrapper function
90206
 
+     all of the time, just to be safe.  That's not worth the cost.  */
90207
 
+  exit (0);
90208
 
+#elif ((INT_MAX / (DIR_NAME_SIZE / DOTDOTSLASH_LEN + 1) \
90209
 
+        - DIR_NAME_SIZE - BUF_SLOP) \
90210
 
+       <= PATH_MAX)
90211
 
+  /* FIXME: Assuming there's a system for which this is true,
90212
 
+     this should be done in a compile test.  */
90213
 
+  exit (0);
90214
 
+#else
90215
 
+  char buf[PATH_MAX * (DIR_NAME_SIZE / DOTDOTSLASH_LEN + 1)
90216
 
+           + DIR_NAME_SIZE + BUF_SLOP];
90217
 
+  char *cwd = getcwd (buf, PATH_MAX);
90218
 
+  size_t initial_cwd_len;
90219
 
+  size_t cwd_len;
90220
 
+  int fail = 0;
90221
 
+  size_t n_chdirs = 0;
90222
 
+
90223
 
+  if (cwd == NULL)
90224
 
+    exit (10);
90225
 
+
90226
 
+  cwd_len = initial_cwd_len = strlen (cwd);
90227
 
+
90228
 
+  while (1)
90229
 
+    {
90230
 
+      size_t dotdot_max = PATH_MAX * (DIR_NAME_SIZE / DOTDOTSLASH_LEN);
90231
 
+      char *c = NULL;
90232
 
+
90233
 
+      cwd_len += DIR_NAME_SIZE;
90234
 
+      /* If mkdir or chdir fails, it could be that this system cannot create
90235
 
+         any file with an absolute name longer than PATH_MAX, such as cygwin.
90236
 
+         If so, leave fail as 0, because the current working directory can't
90237
 
+         be too long for getcwd if it can't even be created.  For other
90238
 
+         errors, be pessimistic and consider that as a failure, too.  */
90239
 
+      if (mkdir (DIR_NAME, S_IRWXU) < 0 || chdir (DIR_NAME) < 0)
90240
 
+        {
90241
 
+          if (! (errno == ERANGE || is_ENAMETOOLONG (errno)))
90242
 
+            fail = 20;
90243
 
+          break;
90244
 
+        }
90245
 
+
90246
 
+      if (PATH_MAX <= cwd_len && cwd_len < PATH_MAX + DIR_NAME_SIZE)
90247
 
+        {
90248
 
+          c = getcwd (buf, PATH_MAX);
90249
 
+          if (!c && errno == ENOENT)
90250
 
+            {
90251
 
+              fail = 11;
90252
 
+              break;
90253
 
+            }
90254
 
+          if (c || ! (errno == ERANGE || is_ENAMETOOLONG (errno)))
90255
 
+            {
90256
 
+              fail = 21;
90257
 
+              break;
90258
 
+            }
90259
 
+        }
90260
 
+
90261
 
+      if (dotdot_max <= cwd_len - initial_cwd_len)
90262
 
+        {
90263
 
+          if (dotdot_max + DIR_NAME_SIZE < cwd_len - initial_cwd_len)
90264
 
+            break;
90265
 
+          c = getcwd (buf, cwd_len + 1);
90266
 
+          if (!c)
90267
 
+            {
90268
 
+              if (! (errno == ERANGE || errno == ENOENT
90269
 
+                     || is_ENAMETOOLONG (errno)))
90270
 
+                {
90271
 
+                  fail = 22;
90272
 
+                  break;
90273
 
+                }
90274
 
+              if (AT_FDCWD || errno == ERANGE || errno == ENOENT)
90275
 
+                {
90276
 
+                  fail = 12;
90277
 
+                  break;
90278
 
+                }
90279
 
+            }
90280
 
+        }
90281
 
+
90282
 
+      if (c && strlen (c) != cwd_len)
90283
 
+        {
90284
 
+          fail = 23;
90285
 
+          break;
90286
 
+        }
90287
 
+      ++n_chdirs;
90288
 
+    }
90289
 
+
90290
 
+  /* Leaving behind such a deep directory is not polite.
90291
 
+     So clean up here, right away, even though the driving
90292
 
+     shell script would also clean up.  */
90293
 
+  {
90294
 
+    size_t i;
90295
 
+
90296
 
+    /* Try rmdir first, in case the chdir failed.  */
90297
 
+    rmdir (DIR_NAME);
90298
 
+    for (i = 0; i <= n_chdirs; i++)
90299
 
+      {
90300
 
+        if (chdir ("..") < 0)
90301
 
+          break;
90302
 
+        if (rmdir (DIR_NAME) != 0)
90303
 
+          break;
90304
 
+      }
90305
 
+  }
90306
 
+
90307
 
+  exit (fail);
90308
 
+#endif
90309
 
+}
90310
 
+          
90311
 
+_ACEOF
90312
 
+if ac_fn_c_try_run "$LINENO"; then :
90313
 
+  gl_cv_func_getcwd_path_max=yes
90314
 
+else
90315
 
+  case $? in
90316
 
+     10|11|12) gl_cv_func_getcwd_path_max='no, but it is partly working';;
90317
 
+     *) gl_cv_func_getcwd_path_max=no;;
90318
 
+     esac
90319
 
+fi
90320
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
90321
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
90322
 
+fi
90323
 
+
90324
 
+  
90325
 
+fi
90326
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_path_max" >&5
90327
 
+$as_echo "$gl_cv_func_getcwd_path_max" >&6; }
90328
 
+  case $gl_cv_func_getcwd_path_max in
90329
 
+  no,*)
90330
 
+    
90331
 
+$as_echo "@%:@define HAVE_PARTLY_WORKING_GETCWD 1" >>confdefs.h
90332
 
+;;
90333
 
+  esac
90334
 
+
90335
 
+    
90336
 
+  
90337
 
+  for ac_func in getpagesize
90338
 
+do :
90339
 
+  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
90340
 
+if test "x$ac_cv_func_getpagesize" = xyes; then :
90341
 
+  cat >>confdefs.h <<_ACEOF
90342
 
+@%:@define HAVE_GETPAGESIZE 1
90343
 
+_ACEOF
90344
 
90345
 
+fi
90346
 
+done
90347
 
+
90348
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getcwd aborts when 4k < cwd_length < 16k" >&5
90349
 
+$as_echo_n "checking whether getcwd aborts when 4k < cwd_length < 16k... " >&6; }
90350
 
+if ${gl_cv_func_getcwd_abort_bug+:} false; then :
90351
 
+  $as_echo_n "(cached) " >&6
90352
 
+else
90353
 
+  # Remove any remnants of a previous test.
90354
 
+     rm -rf confdir-14B---
90355
 
+     # Arrange for deletion of the temporary directory this test creates.
90356
 
+     ac_clean_files="$ac_clean_files confdir-14B---"
90357
 
+          if test "$cross_compiling" = yes; then :
90358
 
+  gl_cv_func_getcwd_abort_bug=yes
90359
 
+else
90360
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
90361
 
+/* end confdefs.h.  */
90362
 
+
90363
 
+#include <stdlib.h>
90364
 
+#include <unistd.h>
90365
 
+#include <limits.h>
90366
 
+#include <string.h>
90367
 
+#include <sys/stat.h>
90368
 
+
90369
 
+/* Don't get link errors because mkdir is redefined to rpl_mkdir.  */
90370
 
+#undef mkdir
90371
 
+
90372
 
+#ifndef S_IRWXU
90373
 
+# define S_IRWXU 0700
90374
 
+#endif
90375
 
+
90376
 
+/* FIXME: skip the run-test altogether on systems without getpagesize.  */
90377
 
+#if ! HAVE_GETPAGESIZE
90378
 
+# define getpagesize() 0
90379
 
+#endif
90380
 
+
90381
 
+/* This size is chosen to be larger than PATH_MAX (4k), yet smaller than
90382
 
+   the 16kB pagesize on ia64 linux.  Those conditions make the code below
90383
 
+   trigger a bug in glibc's getcwd implementation before 2.4.90-10.  */
90384
 
+#define TARGET_LEN (5 * 1024)
90385
 
+
90386
 
+int
90387
 
+main ()
90388
 
+{
90389
 
+  char const *dir_name = "confdir-14B---";
90390
 
+  char *cwd;
90391
 
+  size_t initial_cwd_len;
90392
 
+  int fail = 0;
90393
 
+  size_t desired_depth;
90394
 
+  size_t d;
90395
 
+
90396
 
+  /* The bug is triggered when PATH_MAX < getpagesize (), so skip
90397
 
+     this relatively expensive and invasive test if that's not true.  */
90398
 
+  if (getpagesize () <= PATH_MAX)
90399
 
+    return 0;
90400
 
+
90401
 
+  cwd = getcwd (NULL, 0);
90402
 
+  if (cwd == NULL)
90403
 
+    return 2;
90404
 
+
90405
 
+  initial_cwd_len = strlen (cwd);
90406
 
+  free (cwd);
90407
 
+  desired_depth = ((TARGET_LEN - 1 - initial_cwd_len)
90408
 
+                   / (1 + strlen (dir_name)));
90409
 
+  for (d = 0; d < desired_depth; d++)
90410
 
+    {
90411
 
+      if (mkdir (dir_name, S_IRWXU) < 0 || chdir (dir_name) < 0)
90412
 
+        {
90413
 
+          fail = 3; /* Unable to construct deep hierarchy.  */
90414
 
+          break;
90415
 
+        }
90416
 
+    }
90417
 
+
90418
 
+  /* If libc has the bug in question, this invocation of getcwd
90419
 
+     results in a failed assertion.  */
90420
 
+  cwd = getcwd (NULL, 0);
90421
 
+  if (cwd == NULL)
90422
 
+    fail = 4; /* getcwd failed.  This is ok, and expected.  */
90423
 
+  free (cwd);
90424
 
+
90425
 
+  /* Call rmdir first, in case the above chdir failed.  */
90426
 
+  rmdir (dir_name);
90427
 
+  while (0 < d--)
90428
 
+    {
90429
 
+      if (chdir ("..") < 0)
90430
 
+        {
90431
 
+          fail = 5;
90432
 
+          break;
90433
 
+        }
90434
 
+      rmdir (dir_name);
90435
 
+    }
90436
 
+
90437
 
+  return fail;
90438
 
+}
90439
 
+          
90440
 
+_ACEOF
90441
 
+if ac_fn_c_try_run "$LINENO"; then :
90442
 
+  gl_cv_func_getcwd_abort_bug=no
90443
 
+else
90444
 
+          test $? -gt 128 \
90445
 
+      && gl_cv_func_getcwd_abort_bug=yes \
90446
 
+      || gl_cv_func_getcwd_abort_bug=no
90447
 
+fi
90448
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
90449
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
90450
 
+fi
90451
 
+
90452
 
+  
90453
 
+fi
90454
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getcwd_abort_bug" >&5
90455
 
+$as_echo "$gl_cv_func_getcwd_abort_bug" >&6; }
90456
 
+  if test $gl_cv_func_getcwd_abort_bug = yes; then :
90457
 
+  gl_abort_bug=yes
90458
 
+fi
90459
 
+;;
90460
 
+  esac
90461
 
+
90462
 
+  case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_posix_signature$gl_cv_func_getcwd_path_max,$gl_abort_bug in
90463
 
+  *yes,yes,yes,no) ;;
90464
 
+  *)
90465
 
+        REPLACE_GETCWD=1;;
90466
 
+  esac
90467
 
+
90468
 
+if test $REPLACE_GETCWD = 1; then
90469
 
+  
90470
 
+  
90471
 
+  
90472
 
+    
90473
 
+      
90474
 
+      
90475
 
+    
90476
 
+  
90477
 
+  gl_LIBOBJS="$gl_LIBOBJS getcwd.$ac_objext"
90478
 
+
90479
 
+  
90480
 
+  
90481
 
+  
90482
 
+  :
90483
 
+
90484
 
+fi
90485
 
+
90486
 
+  
90487
 
+cat >>confdefs.h <<_ACEOF
90488
 
+@%:@define GNULIB_GETCWD 1
90489
 
+_ACEOF
90490
 
+
90491
 
+
90492
 
+
90493
 
+    
90494
 
+  
90495
 
+  
90496
 
+  
90497
 
+          GNULIB_GETCWD=1
90498
 
+    
90499
 
+
90500
 
+
90501
 
+    
90502
 
+  
90503
 
+$as_echo "@%:@define GNULIB_TEST_GETCWD 1" >>confdefs.h
90504
 
+
90505
 
+
90506
 
+
90507
 
+
90508
 
+  
90509
 
+  
90510
 
+  
90511
 
+
90512
 
+  case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_posix_signature in
90513
 
+  *yes,yes) ;;
90514
 
+  *)
90515
 
+        REPLACE_GETCWD=1
90516
 
+    ;;
90517
 
+  esac
90518
 
+
90519
 
+if test $REPLACE_GETCWD = 1; then
90520
 
+  
90521
 
+  
90522
 
+  
90523
 
+    
90524
 
+      
90525
 
+      
90526
 
+    
90527
 
+  
90528
 
+  gl_LIBOBJS="$gl_LIBOBJS getcwd-lgpl.$ac_objext"
90529
 
+
90530
 
+fi
90531
 
+
90532
 
+    
90533
 
+  
90534
 
+  
90535
 
+  
90536
 
+          GNULIB_GETCWD=1
90537
 
+    
90538
 
+
90539
 
+
90540
 
+    
90541
 
+  
90542
 
+$as_echo "@%:@define GNULIB_TEST_GETCWD 1" >>confdefs.h
90543
 
+
90544
 
+
90545
 
+
90546
 
+
90547
 
+  
90548
 
+
90549
 
+    
90550
 
+
90551
 
+  
90552
 
+
90553
 
+  
90554
 
+  if test $ac_cv_func_getdelim = yes; then
90555
 
+    HAVE_GETDELIM=1
90556
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getdelim function" >&5
90557
 
+$as_echo_n "checking for working getdelim function... " >&6; }
90558
 
+if ${gl_cv_func_working_getdelim+:} false; then :
90559
 
+  $as_echo_n "(cached) " >&6
90560
 
+else
90561
 
+  echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data
90562
 
+    if test "$cross_compiling" = yes; then :
90563
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
90564
 
+/* end confdefs.h.  */
90565
 
+
90566
 
+#include <features.h>
90567
 
+#ifdef __GNU_LIBRARY__
90568
 
+ #if (__GLIBC__ >= 2) && !defined __UCLIBC__
90569
 
+  Lucky GNU user
90570
 
+ #endif
90571
 
+#endif
90572
 
+         
90573
 
+_ACEOF
90574
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
90575
 
+  $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
90576
 
+  gl_cv_func_working_getdelim=yes
90577
 
+else
90578
 
+  gl_cv_func_working_getdelim=no
90579
 
+fi
90580
 
+rm -f conftest*
90581
 
+
90582
 
+    
90583
 
+else
90584
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
90585
 
+/* end confdefs.h.  */
90586
 
+
90587
 
+#    include <stdio.h>
90588
 
+#    include <stdlib.h>
90589
 
+#    include <string.h>
90590
 
+    int main ()
90591
 
+    {
90592
 
+      FILE *in = fopen ("./conftest.data", "r");
90593
 
+      if (!in)
90594
 
+        return 1;
90595
 
+      {
90596
 
+        /* Test result for a NULL buffer and a zero size.
90597
 
+           Based on a test program from Karl Heuer.  */
90598
 
+        char *line = NULL;
90599
 
+        size_t siz = 0;
90600
 
+        int len = getdelim (&line, &siz, '\n', in);
90601
 
+        if (!(len == 4 && line && strcmp (line, "foo\n") == 0))
90602
 
+          return 2;
90603
 
+      }
90604
 
+      {
90605
 
+        /* Test result for a NULL buffer and a non-zero size.
90606
 
+           This crashes on FreeBSD 8.0.  */
90607
 
+        char *line = NULL;
90608
 
+        size_t siz = (size_t)(~0) / 4;
90609
 
+        if (getdelim (&line, &siz, '\n', in) == -1)
90610
 
+          return 3;
90611
 
+      }
90612
 
+      return 0;
90613
 
+    }
90614
 
+    
90615
 
+_ACEOF
90616
 
+if ac_fn_c_try_run "$LINENO"; then :
90617
 
+  gl_cv_func_working_getdelim=yes     
90618
 
+else
90619
 
+  gl_cv_func_working_getdelim=no     
90620
 
+fi
90621
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
90622
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
90623
 
+fi
90624
 
+
90625
 
+fi
90626
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_getdelim" >&5
90627
 
+$as_echo "$gl_cv_func_working_getdelim" >&6; }
90628
 
+    if test $gl_cv_func_working_getdelim = no; then
90629
 
+      REPLACE_GETDELIM=1
90630
 
+    fi
90631
 
+  else
90632
 
+    HAVE_GETDELIM=0
90633
 
+  fi
90634
 
+
90635
 
+  if test $ac_cv_have_decl_getdelim = no; then
90636
 
+    HAVE_DECL_GETDELIM=0
90637
 
+  fi
90638
 
+
90639
 
+if test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1; then
90640
 
+  
90641
 
+  
90642
 
+  
90643
 
+    
90644
 
+      
90645
 
+      
90646
 
+    
90647
 
+  
90648
 
+  gl_LIBOBJS="$gl_LIBOBJS getdelim.$ac_objext"
90649
 
+
90650
 
+  
90651
 
+  for ac_func in flockfile funlockfile
90652
 
+do :
90653
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
90654
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
90655
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
90656
 
+  cat >>confdefs.h <<_ACEOF
90657
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
90658
 
+_ACEOF
90659
 
90660
 
+fi
90661
 
+done
90662
 
+
90663
 
+  ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
90664
 
+if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
90665
 
+  ac_have_decl=1
90666
 
+else
90667
 
+  ac_have_decl=0
90668
 
+fi
90669
 
+
90670
 
+cat >>confdefs.h <<_ACEOF
90671
 
+@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
90672
 
+_ACEOF
90673
 
+
90674
 
+
90675
 
+fi
90676
 
+
90677
 
+    
90678
 
+  
90679
 
+  
90680
 
+  
90681
 
+          GNULIB_GETDELIM=1
90682
 
+    
90683
 
+
90684
 
+
90685
 
+    
90686
 
+  
90687
 
+$as_echo "@%:@define GNULIB_TEST_GETDELIM 1" >>confdefs.h
90688
 
+
90689
 
+
90690
 
+
90691
 
+
90692
 
+  
90693
 
+  
90694
 
+  if test $ac_cv_func_getdtablesize != yes; then
90695
 
+    HAVE_GETDTABLESIZE=0
90696
 
+  fi
90697
 
+
90698
 
+if test $HAVE_GETDTABLESIZE = 0; then
90699
 
+  
90700
 
+  
90701
 
+  
90702
 
+    
90703
 
+      
90704
 
+      
90705
 
+    
90706
 
+  
90707
 
+  gl_LIBOBJS="$gl_LIBOBJS getdtablesize.$ac_objext"
90708
 
+
90709
 
+fi
90710
 
+
90711
 
+    
90712
 
+  
90713
 
+  
90714
 
+  
90715
 
+          GNULIB_GETDTABLESIZE=1
90716
 
+    
90717
 
+
90718
 
+
90719
 
+    
90720
 
+  
90721
 
+$as_echo "@%:@define GNULIB_TEST_GETDTABLESIZE 1" >>confdefs.h
90722
 
+
90723
 
+
90724
 
+
90725
 
+
90726
 
+  
90727
 
+  
90728
 
+  
90729
 
+  if test "$ac_cv_func_getgroups" != yes; then
90730
 
+    HAVE_GETGROUPS=0
90731
 
+  elif test "$ac_cv_func_getgroups_works.$ac_cv_type_getgroups" != yes.gid_t
90732
 
+  then
90733
 
+    REPLACE_GETGROUPS=1
90734
 
+    
90735
 
+$as_echo "@%:@define GETGROUPS_ZERO_BUG 1" >>confdefs.h
90736
 
+
90737
 
+  else
90738
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getgroups handles negative values" >&5
90739
 
+$as_echo_n "checking whether getgroups handles negative values... " >&6; }
90740
 
+if ${gl_cv_func_getgroups_works+:} false; then :
90741
 
+  $as_echo_n "(cached) " >&6
90742
 
+else
90743
 
+  if test "$cross_compiling" = yes; then :
90744
 
+  gl_cv_func_getgroups_works="guessing no"
90745
 
+else
90746
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
90747
 
+/* end confdefs.h.  */
90748
 
+$ac_includes_default
90749
 
+int
90750
 
+main ()
90751
 
+{
90752
 
+int size = getgroups (0, 0);
90753
 
+          gid_t *list = malloc (size * sizeof *list);
90754
 
+          return getgroups (-1, list) != -1;
90755
 
+  ;
90756
 
+  return 0;
90757
 
+}
90758
 
+_ACEOF
90759
 
+if ac_fn_c_try_run "$LINENO"; then :
90760
 
+  gl_cv_func_getgroups_works=yes
90761
 
+else
90762
 
+  gl_cv_func_getgroups_works=no
90763
 
+fi
90764
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
90765
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
90766
 
+fi
90767
 
+
90768
 
+fi
90769
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getgroups_works" >&5
90770
 
+$as_echo "$gl_cv_func_getgroups_works" >&6; }
90771
 
+    if test "$gl_cv_func_getgroups_works" != yes; then
90772
 
+      REPLACE_GETGROUPS=1
90773
 
+    fi
90774
 
+  fi
90775
 
+  test -n "$GETGROUPS_LIB" && LIBS="$GETGROUPS_LIB $LIBS"
90776
 
+
90777
 
+if test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1; then
90778
 
+  
90779
 
+  
90780
 
+  
90781
 
+    
90782
 
+      
90783
 
+      
90784
 
+    
90785
 
+  
90786
 
+  gl_LIBOBJS="$gl_LIBOBJS getgroups.$ac_objext"
90787
 
+
90788
 
+fi
90789
 
+
90790
 
+    
90791
 
+  
90792
 
+  
90793
 
+  
90794
 
+          GNULIB_GETGROUPS=1
90795
 
+    
90796
 
+
90797
 
+
90798
 
+    
90799
 
+  
90800
 
+$as_echo "@%:@define GNULIB_TEST_GETGROUPS 1" >>confdefs.h
90801
 
+
90802
 
+
90803
 
+
90804
 
+
90805
 
+  
90806
 
+  
90807
 
+  
90808
 
+  
90809
 
+  
90810
 
+  if test $ac_cv_header_sys_socket_h != yes; then
90811
 
+                    for ac_header in winsock2.h
90812
 
+do :
90813
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
90814
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
90815
 
+  cat >>confdefs.h <<_ACEOF
90816
 
+@%:@define HAVE_WINSOCK2_H 1
90817
 
+_ACEOF
90818
 
90819
 
+fi
90820
 
+
90821
 
+done
90822
 
+
90823
 
+  fi
90824
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
90825
 
+    HAVE_WINSOCK2_H=1
90826
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
90827
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
90828
 
+  else
90829
 
+    HAVE_WINSOCK2_H=0
90830
 
+  fi
90831
 
+  
90832
 
+
90833
 
+
90834
 
+        GETHOSTNAME_LIB=
90835
 
+  for ac_func in gethostname
90836
 
+do :
90837
 
+  ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname"
90838
 
+if test "x$ac_cv_func_gethostname" = xyes; then :
90839
 
+  cat >>confdefs.h <<_ACEOF
90840
 
+@%:@define HAVE_GETHOSTNAME 1
90841
 
+_ACEOF
90842
 
90843
 
+else
90844
 
+  
90845
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in winsock2.h and -lws2_32" >&5
90846
 
+$as_echo_n "checking for gethostname in winsock2.h and -lws2_32... " >&6; }
90847
 
+if ${gl_cv_w32_gethostname+:} false; then :
90848
 
+  $as_echo_n "(cached) " >&6
90849
 
+else
90850
 
+  gl_cv_w32_gethostname=no
90851
 
+       gl_save_LIBS="$LIBS"
90852
 
+       LIBS="$LIBS -lws2_32"
90853
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
90854
 
+/* end confdefs.h.  */
90855
 
+
90856
 
+#ifdef HAVE_WINSOCK2_H
90857
 
+#include <winsock2.h>
90858
 
+#endif
90859
 
+#include <stddef.h>
90860
 
+
90861
 
+int
90862
 
+main ()
90863
 
+{
90864
 
+gethostname(NULL, 0);
90865
 
+  ;
90866
 
+  return 0;
90867
 
+}
90868
 
+_ACEOF
90869
 
+if ac_fn_c_try_link "$LINENO"; then :
90870
 
+  gl_cv_w32_gethostname=yes
90871
 
+fi
90872
 
+rm -f core conftest.err conftest.$ac_objext \
90873
 
+    conftest$ac_exeext conftest.$ac_ext
90874
 
+       LIBS="$gl_save_LIBS"
90875
 
+      
90876
 
+fi
90877
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostname" >&5
90878
 
+$as_echo "$gl_cv_w32_gethostname" >&6; }
90879
 
+    if test "$gl_cv_w32_gethostname" = "yes"; then
90880
 
+      GETHOSTNAME_LIB="-lws2_32"
90881
 
+    fi
90882
 
+  
90883
 
+fi
90884
 
+done
90885
 
+
90886
 
+  
90887
 
+
90888
 
+  if test "$ac_cv_func_gethostname" = no; then
90889
 
+    HAVE_GETHOSTNAME=0
90890
 
+  fi
90891
 
+
90892
 
+                            
90893
 
+  
90894
 
+  
90895
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HOST_NAME_MAX" >&5
90896
 
+$as_echo_n "checking for HOST_NAME_MAX... " >&6; }
90897
 
+if ${gl_cv_decl_HOST_NAME_MAX+:} false; then :
90898
 
+  $as_echo_n "(cached) " >&6
90899
 
+else
90900
 
+  
90901
 
+    gl_cv_decl_HOST_NAME_MAX=
90902
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
90903
 
+/* end confdefs.h.  */
90904
 
+
90905
 
+#include <limits.h>
90906
 
+#ifdef HOST_NAME_MAX
90907
 
+lucky
90908
 
+#endif
90909
 
+      
90910
 
+_ACEOF
90911
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
90912
 
+  $EGREP "lucky" >/dev/null 2>&1; then :
90913
 
+  gl_cv_decl_HOST_NAME_MAX=yes
90914
 
+fi
90915
 
+rm -f conftest*
90916
 
+
90917
 
+    if test -z "$gl_cv_decl_HOST_NAME_MAX"; then
90918
 
+            if test "$gl_cv_w32_gethostname" = yes; then
90919
 
+                gl_cv_decl_HOST_NAME_MAX=256
90920
 
+      else
90921
 
+        if ac_fn_c_compute_int "$LINENO" "MAXHOSTNAMELEN" "gl_cv_decl_HOST_NAME_MAX"        "
90922
 
+#include <sys/types.h>
90923
 
+#if HAVE_SYS_PARAM_H
90924
 
+# include <sys/param.h>
90925
 
+#endif
90926
 
+#if HAVE_SYS_SOCKET_H
90927
 
+# include <sys/socket.h>
90928
 
+#endif
90929
 
+#if HAVE_NETDB_H
90930
 
+# include <netdb.h>
90931
 
+#endif
90932
 
+"; then :
90933
 
+  
90934
 
+else
90935
 
+                        gl_cv_decl_HOST_NAME_MAX=256
90936
 
+          
90937
 
+fi
90938
 
+
90939
 
+
90940
 
+      fi
90941
 
+    fi
90942
 
+  
90943
 
+fi
90944
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_HOST_NAME_MAX" >&5
90945
 
+$as_echo "$gl_cv_decl_HOST_NAME_MAX" >&6; }
90946
 
+  if test "$gl_cv_decl_HOST_NAME_MAX" != yes; then
90947
 
+    
90948
 
+cat >>confdefs.h <<_ACEOF
90949
 
+@%:@define HOST_NAME_MAX $gl_cv_decl_HOST_NAME_MAX
90950
 
+_ACEOF
90951
 
+
90952
 
+  fi
90953
 
+
90954
 
+if test $HAVE_GETHOSTNAME = 0; then
90955
 
+  
90956
 
+  
90957
 
+  
90958
 
+    
90959
 
+      
90960
 
+      
90961
 
+    
90962
 
+  
90963
 
+  gl_LIBOBJS="$gl_LIBOBJS gethostname.$ac_objext"
90964
 
+
90965
 
+  
90966
 
+  if test "$gl_cv_w32_gethostname" != "yes"; then
90967
 
+    for ac_func in uname
90968
 
+do :
90969
 
+  ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname"
90970
 
+if test "x$ac_cv_func_uname" = xyes; then :
90971
 
+  cat >>confdefs.h <<_ACEOF
90972
 
+@%:@define HAVE_UNAME 1
90973
 
+_ACEOF
90974
 
90975
 
+fi
90976
 
+done
90977
 
+
90978
 
+  fi
90979
 
+
90980
 
+fi
90981
 
+
90982
 
+    
90983
 
+  
90984
 
+  
90985
 
+  
90986
 
+          GNULIB_GETHOSTNAME=1
90987
 
+    
90988
 
+
90989
 
+
90990
 
+    
90991
 
+  
90992
 
+$as_echo "@%:@define GNULIB_TEST_GETHOSTNAME 1" >>confdefs.h
90993
 
+
90994
 
+
90995
 
+
90996
 
+
90997
 
+  
90998
 
+  
90999
 
+  
91000
 
+  ac_fn_c_check_decl "$LINENO" "gethrtime" "ac_cv_have_decl_gethrtime" "#include <time.h>
91001
 
+"
91002
 
+if test "x$ac_cv_have_decl_gethrtime" = xyes; then :
91003
 
+  ac_have_decl=1
91004
 
+else
91005
 
+  ac_have_decl=0
91006
 
+fi
91007
 
+
91008
 
+cat >>confdefs.h <<_ACEOF
91009
 
+@%:@define HAVE_DECL_GETHRTIME $ac_have_decl
91010
 
+_ACEOF
91011
 
+
91012
 
+  LIB_GETHRXTIME=
91013
 
+  if test $ac_cv_have_decl_gethrtime = no \
91014
 
+     || test $gl_cv_arithmetic_hrtime_t = no; then
91015
 
+        
91016
 
+    
91017
 
+    
91018
 
+    if test $ac_cv_func_nanouptime != yes; then
91019
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CLOCK_MONOTONIC or CLOCK_REALTIME is defined" >&5
91020
 
+$as_echo_n "checking whether CLOCK_MONOTONIC or CLOCK_REALTIME is defined... " >&6; }
91021
 
+if ${gl_cv_have_clock_gettime_macro+:} false; then :
91022
 
+  $as_echo_n "(cached) " >&6
91023
 
+else
91024
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91025
 
+/* end confdefs.h.  */
91026
 
+
91027
 
+#          include <time.h>
91028
 
+#          if defined CLOCK_MONOTONIC || defined CLOCK_REALTIME
91029
 
+            have_clock_gettime_macro
91030
 
+#          endif
91031
 
+          
91032
 
+_ACEOF
91033
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
91034
 
+  $EGREP "have_clock_gettime_macro" >/dev/null 2>&1; then :
91035
 
+  gl_cv_have_clock_gettime_macro=yes
91036
 
+else
91037
 
+  gl_cv_have_clock_gettime_macro=no
91038
 
+fi
91039
 
+rm -f conftest*
91040
 
+
91041
 
+fi
91042
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_clock_gettime_macro" >&5
91043
 
+$as_echo "$gl_cv_have_clock_gettime_macro" >&6; }
91044
 
+      if test $gl_cv_have_clock_gettime_macro = yes; then
91045
 
+        LIB_GETHRXTIME=$LIB_CLOCK_GETTIME
91046
 
+      fi
91047
 
+    fi
91048
 
+  fi
91049
 
+  
91050
 
+
91051
 
+if test $ac_cv_have_decl_gethrtime = no || test $gl_cv_arithmetic_hrtime_t = no; then
91052
 
+  
91053
 
+  
91054
 
+  
91055
 
+    
91056
 
+      
91057
 
+      
91058
 
+    
91059
 
+  
91060
 
+  gl_LIBOBJS="$gl_LIBOBJS gethrxtime.$ac_objext"
91061
 
+
91062
 
+  
91063
 
+  
91064
 
+  :
91065
 
+
91066
 
+fi
91067
 
+
91068
 
+  
91069
 
+
91070
 
+    
91071
 
+
91072
 
+  
91073
 
+
91074
 
+  gl_getline_needs_run_time_check=no
91075
 
+  ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline"
91076
 
+if test "x$ac_cv_func_getline" = xyes; then :
91077
 
+                   gl_getline_needs_run_time_check=yes
91078
 
+else
91079
 
+  am_cv_func_working_getline=no
91080
 
+fi
91081
 
+
91082
 
+  if test $gl_getline_needs_run_time_check = yes; then
91083
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getline function" >&5
91084
 
+$as_echo_n "checking for working getline function... " >&6; }
91085
 
+if ${am_cv_func_working_getline+:} false; then :
91086
 
+  $as_echo_n "(cached) " >&6
91087
 
+else
91088
 
+  echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data
91089
 
+    if test "$cross_compiling" = yes; then :
91090
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91091
 
+/* end confdefs.h.  */
91092
 
+
91093
 
+#include <features.h>
91094
 
+#ifdef __GNU_LIBRARY__
91095
 
+ #if (__GLIBC__ >= 2) && !defined __UCLIBC__
91096
 
+  Lucky GNU user
91097
 
+ #endif
91098
 
+#endif
91099
 
+         
91100
 
+_ACEOF
91101
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
91102
 
+  $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
91103
 
+  am_cv_func_working_getline=yes
91104
 
+else
91105
 
+  am_cv_func_working_getline=no
91106
 
+fi
91107
 
+rm -f conftest*
91108
 
+
91109
 
+    
91110
 
+else
91111
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91112
 
+/* end confdefs.h.  */
91113
 
+
91114
 
+#    include <stdio.h>
91115
 
+#    include <stdlib.h>
91116
 
+#    include <string.h>
91117
 
+    int main ()
91118
 
+    {
91119
 
+      FILE *in = fopen ("./conftest.data", "r");
91120
 
+      if (!in)
91121
 
+        return 1;
91122
 
+      {
91123
 
+        /* Test result for a NULL buffer and a zero size.
91124
 
+           Based on a test program from Karl Heuer.  */
91125
 
+        char *line = NULL;
91126
 
+        size_t siz = 0;
91127
 
+        int len = getline (&line, &siz, in);
91128
 
+        if (!(len == 4 && line && strcmp (line, "foo\n") == 0))
91129
 
+          return 2;
91130
 
+      }
91131
 
+      {
91132
 
+        /* Test result for a NULL buffer and a non-zero size.
91133
 
+           This crashes on FreeBSD 8.0.  */
91134
 
+        char *line = NULL;
91135
 
+        size_t siz = (size_t)(~0) / 4;
91136
 
+        if (getline (&line, &siz, in) == -1)
91137
 
+          return 3;
91138
 
+      }
91139
 
+      return 0;
91140
 
+    }
91141
 
+    
91142
 
+_ACEOF
91143
 
+if ac_fn_c_try_run "$LINENO"; then :
91144
 
+  am_cv_func_working_getline=yes     
91145
 
+else
91146
 
+  am_cv_func_working_getline=no     
91147
 
+fi
91148
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
91149
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
91150
 
+fi
91151
 
+
91152
 
+fi
91153
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_working_getline" >&5
91154
 
+$as_echo "$am_cv_func_working_getline" >&6; }
91155
 
+  fi
91156
 
+
91157
 
+  if test $ac_cv_have_decl_getline = no; then
91158
 
+    HAVE_DECL_GETLINE=0
91159
 
+  fi
91160
 
+
91161
 
+  if test $am_cv_func_working_getline = no; then
91162
 
+                REPLACE_GETLINE=1
91163
 
+  fi
91164
 
+
91165
 
+if test $REPLACE_GETLINE = 1; then
91166
 
+  
91167
 
+  
91168
 
+  
91169
 
+    
91170
 
+      
91171
 
+      
91172
 
+    
91173
 
+  
91174
 
+  gl_LIBOBJS="$gl_LIBOBJS getline.$ac_objext"
91175
 
+
91176
 
+  
91177
 
+  :
91178
 
+
91179
 
+fi
91180
 
+
91181
 
+    
91182
 
+  
91183
 
+  
91184
 
+  
91185
 
+          GNULIB_GETLINE=1
91186
 
+    
91187
 
+
91188
 
+
91189
 
+    
91190
 
+  
91191
 
+$as_echo "@%:@define GNULIB_TEST_GETLINE 1" >>confdefs.h
91192
 
+
91193
 
+
91194
 
+
91195
 
+
91196
 
+
91197
 
+# Persuade glibc <stdlib.h> to declare getloadavg().
91198
 
+
91199
 
+
91200
 
+gl_save_LIBS=$LIBS
91201
 
+
91202
 
+# getloadvg is present in libc on glibc >= 2.2, MacOS X, FreeBSD >= 2.0,
91203
 
+# NetBSD >= 0.9, OpenBSD >= 2.0, Solaris >= 7.
91204
 
+HAVE_GETLOADAVG=1
91205
 
+ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
91206
 
+if test "x$ac_cv_func_getloadavg" = xyes; then :
91207
 
+  
91208
 
+else
91209
 
+  gl_func_getloadavg_done=no
91210
 
+
91211
 
+   # Some systems with -lutil have (and need) -lkvm as well, some do not.
91212
 
+   # On Solaris, -lkvm requires nlist from -lelf, so check that first
91213
 
+   # to get the right answer into the cache.
91214
 
+   # For kstat on solaris, we need to test for libelf and libkvm to force the
91215
 
+   # definition of SVR4 below.
91216
 
+   if test $gl_func_getloadavg_done = no; then
91217
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
91218
 
+$as_echo_n "checking for elf_begin in -lelf... " >&6; }
91219
 
+if ${ac_cv_lib_elf_elf_begin+:} false; then :
91220
 
+  $as_echo_n "(cached) " >&6
91221
 
+else
91222
 
+  ac_check_lib_save_LIBS=$LIBS
91223
 
+LIBS="-lelf  $LIBS"
91224
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91225
 
+/* end confdefs.h.  */
91226
 
+
91227
 
+/* Override any GCC internal prototype to avoid an error.
91228
 
+   Use char because int might match the return type of a GCC
91229
 
+   builtin and then its argument prototype would still apply.  */
91230
 
+#ifdef __cplusplus
91231
 
+extern "C"
91232
 
+#endif
91233
 
+char elf_begin ();
91234
 
+int
91235
 
+main ()
91236
 
+{
91237
 
+return elf_begin ();
91238
 
+  ;
91239
 
+  return 0;
91240
 
+}
91241
 
+_ACEOF
91242
 
+if ac_fn_c_try_link "$LINENO"; then :
91243
 
+  ac_cv_lib_elf_elf_begin=yes
91244
 
+else
91245
 
+  ac_cv_lib_elf_elf_begin=no
91246
 
+fi
91247
 
+rm -f core conftest.err conftest.$ac_objext \
91248
 
+    conftest$ac_exeext conftest.$ac_ext
91249
 
+LIBS=$ac_check_lib_save_LIBS
91250
 
+fi
91251
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5
91252
 
+$as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
91253
 
+if test "x$ac_cv_lib_elf_elf_begin" = xyes; then :
91254
 
+  LIBS="-lelf $LIBS"
91255
 
+fi
91256
 
+
91257
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5
91258
 
+$as_echo_n "checking for kvm_open in -lkvm... " >&6; }
91259
 
+if ${ac_cv_lib_kvm_kvm_open+:} false; then :
91260
 
+  $as_echo_n "(cached) " >&6
91261
 
+else
91262
 
+  ac_check_lib_save_LIBS=$LIBS
91263
 
+LIBS="-lkvm  $LIBS"
91264
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91265
 
+/* end confdefs.h.  */
91266
 
+
91267
 
+/* Override any GCC internal prototype to avoid an error.
91268
 
+   Use char because int might match the return type of a GCC
91269
 
+   builtin and then its argument prototype would still apply.  */
91270
 
+#ifdef __cplusplus
91271
 
+extern "C"
91272
 
+#endif
91273
 
+char kvm_open ();
91274
 
+int
91275
 
+main ()
91276
 
+{
91277
 
+return kvm_open ();
91278
 
+  ;
91279
 
+  return 0;
91280
 
+}
91281
 
+_ACEOF
91282
 
+if ac_fn_c_try_link "$LINENO"; then :
91283
 
+  ac_cv_lib_kvm_kvm_open=yes
91284
 
+else
91285
 
+  ac_cv_lib_kvm_kvm_open=no
91286
 
+fi
91287
 
+rm -f core conftest.err conftest.$ac_objext \
91288
 
+    conftest$ac_exeext conftest.$ac_ext
91289
 
+LIBS=$ac_check_lib_save_LIBS
91290
 
+fi
91291
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5
91292
 
+$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
91293
 
+if test "x$ac_cv_lib_kvm_kvm_open" = xyes; then :
91294
 
+  LIBS="-lkvm $LIBS"
91295
 
+fi
91296
 
+
91297
 
+     # Check for the 4.4BSD definition of getloadavg.
91298
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5
91299
 
+$as_echo_n "checking for getloadavg in -lutil... " >&6; }
91300
 
+if ${ac_cv_lib_util_getloadavg+:} false; then :
91301
 
+  $as_echo_n "(cached) " >&6
91302
 
+else
91303
 
+  ac_check_lib_save_LIBS=$LIBS
91304
 
+LIBS="-lutil  $LIBS"
91305
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91306
 
+/* end confdefs.h.  */
91307
 
+
91308
 
+/* Override any GCC internal prototype to avoid an error.
91309
 
+   Use char because int might match the return type of a GCC
91310
 
+   builtin and then its argument prototype would still apply.  */
91311
 
+#ifdef __cplusplus
91312
 
+extern "C"
91313
 
+#endif
91314
 
+char getloadavg ();
91315
 
+int
91316
 
+main ()
91317
 
+{
91318
 
+return getloadavg ();
91319
 
+  ;
91320
 
+  return 0;
91321
 
+}
91322
 
+_ACEOF
91323
 
+if ac_fn_c_try_link "$LINENO"; then :
91324
 
+  ac_cv_lib_util_getloadavg=yes
91325
 
+else
91326
 
+  ac_cv_lib_util_getloadavg=no
91327
 
+fi
91328
 
+rm -f core conftest.err conftest.$ac_objext \
91329
 
+    conftest$ac_exeext conftest.$ac_ext
91330
 
+LIBS=$ac_check_lib_save_LIBS
91331
 
+fi
91332
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5
91333
 
+$as_echo "$ac_cv_lib_util_getloadavg" >&6; }
91334
 
+if test "x$ac_cv_lib_util_getloadavg" = xyes; then :
91335
 
+  LIBS="-lutil $LIBS" gl_func_getloadavg_done=yes
91336
 
+fi
91337
 
+
91338
 
+   fi
91339
 
+
91340
 
+   if test $gl_func_getloadavg_done = no; then
91341
 
+     # There is a commonly available library for RS/6000 AIX.
91342
 
+     # Since it is not a standard part of AIX, it might be installed locally.
91343
 
+     gl_getloadavg_LIBS=$LIBS
91344
 
+     LIBS="-L/usr/local/lib $LIBS"
91345
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5
91346
 
+$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
91347
 
+if ${ac_cv_lib_getloadavg_getloadavg+:} false; then :
91348
 
+  $as_echo_n "(cached) " >&6
91349
 
+else
91350
 
+  ac_check_lib_save_LIBS=$LIBS
91351
 
+LIBS="-lgetloadavg  $LIBS"
91352
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91353
 
+/* end confdefs.h.  */
91354
 
+
91355
 
+/* Override any GCC internal prototype to avoid an error.
91356
 
+   Use char because int might match the return type of a GCC
91357
 
+   builtin and then its argument prototype would still apply.  */
91358
 
+#ifdef __cplusplus
91359
 
+extern "C"
91360
 
+#endif
91361
 
+char getloadavg ();
91362
 
+int
91363
 
+main ()
91364
 
+{
91365
 
+return getloadavg ();
91366
 
+  ;
91367
 
+  return 0;
91368
 
+}
91369
 
+_ACEOF
91370
 
+if ac_fn_c_try_link "$LINENO"; then :
91371
 
+  ac_cv_lib_getloadavg_getloadavg=yes
91372
 
+else
91373
 
+  ac_cv_lib_getloadavg_getloadavg=no
91374
 
+fi
91375
 
+rm -f core conftest.err conftest.$ac_objext \
91376
 
+    conftest$ac_exeext conftest.$ac_ext
91377
 
+LIBS=$ac_check_lib_save_LIBS
91378
 
+fi
91379
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5
91380
 
+$as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
91381
 
+if test "x$ac_cv_lib_getloadavg_getloadavg" = xyes; then :
91382
 
+  LIBS="-lgetloadavg $LIBS" gl_func_getloadavg_done=yes
91383
 
+else
91384
 
+  LIBS=$gl_getloadavg_LIBS
91385
 
+fi
91386
 
+
91387
 
+   fi
91388
 
+
91389
 
+   # Set up the replacement function if necessary.
91390
 
+   if test $gl_func_getloadavg_done = no; then
91391
 
+     HAVE_GETLOADAVG=0
91392
 
+
91393
 
+     # Solaris has libkstat which does not require root.
91394
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
91395
 
+$as_echo_n "checking for kstat_open in -lkstat... " >&6; }
91396
 
+if ${ac_cv_lib_kstat_kstat_open+:} false; then :
91397
 
+  $as_echo_n "(cached) " >&6
91398
 
+else
91399
 
+  ac_check_lib_save_LIBS=$LIBS
91400
 
+LIBS="-lkstat  $LIBS"
91401
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91402
 
+/* end confdefs.h.  */
91403
 
+
91404
 
+/* Override any GCC internal prototype to avoid an error.
91405
 
+   Use char because int might match the return type of a GCC
91406
 
+   builtin and then its argument prototype would still apply.  */
91407
 
+#ifdef __cplusplus
91408
 
+extern "C"
91409
 
+#endif
91410
 
+char kstat_open ();
91411
 
+int
91412
 
+main ()
91413
 
+{
91414
 
+return kstat_open ();
91415
 
+  ;
91416
 
+  return 0;
91417
 
+}
91418
 
+_ACEOF
91419
 
+if ac_fn_c_try_link "$LINENO"; then :
91420
 
+  ac_cv_lib_kstat_kstat_open=yes
91421
 
+else
91422
 
+  ac_cv_lib_kstat_kstat_open=no
91423
 
+fi
91424
 
+rm -f core conftest.err conftest.$ac_objext \
91425
 
+    conftest$ac_exeext conftest.$ac_ext
91426
 
+LIBS=$ac_check_lib_save_LIBS
91427
 
+fi
91428
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
91429
 
+$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
91430
 
+if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
91431
 
+  cat >>confdefs.h <<_ACEOF
91432
 
+@%:@define HAVE_LIBKSTAT 1
91433
 
+_ACEOF
91434
 
+
91435
 
+  LIBS="-lkstat $LIBS"
91436
 
+
91437
 
+fi
91438
 
+
91439
 
+     test $ac_cv_lib_kstat_kstat_open = yes && gl_func_getloadavg_done=yes
91440
 
+
91441
 
+     # AIX has libperfstat which does not require root
91442
 
+     if test $gl_func_getloadavg_done = no; then
91443
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perfstat_cpu_total in -lperfstat" >&5
91444
 
+$as_echo_n "checking for perfstat_cpu_total in -lperfstat... " >&6; }
91445
 
+if ${ac_cv_lib_perfstat_perfstat_cpu_total+:} false; then :
91446
 
+  $as_echo_n "(cached) " >&6
91447
 
+else
91448
 
+  ac_check_lib_save_LIBS=$LIBS
91449
 
+LIBS="-lperfstat  $LIBS"
91450
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91451
 
+/* end confdefs.h.  */
91452
 
+
91453
 
+/* Override any GCC internal prototype to avoid an error.
91454
 
+   Use char because int might match the return type of a GCC
91455
 
+   builtin and then its argument prototype would still apply.  */
91456
 
+#ifdef __cplusplus
91457
 
+extern "C"
91458
 
+#endif
91459
 
+char perfstat_cpu_total ();
91460
 
+int
91461
 
+main ()
91462
 
+{
91463
 
+return perfstat_cpu_total ();
91464
 
+  ;
91465
 
+  return 0;
91466
 
+}
91467
 
+_ACEOF
91468
 
+if ac_fn_c_try_link "$LINENO"; then :
91469
 
+  ac_cv_lib_perfstat_perfstat_cpu_total=yes
91470
 
+else
91471
 
+  ac_cv_lib_perfstat_perfstat_cpu_total=no
91472
 
+fi
91473
 
+rm -f core conftest.err conftest.$ac_objext \
91474
 
+    conftest$ac_exeext conftest.$ac_ext
91475
 
+LIBS=$ac_check_lib_save_LIBS
91476
 
+fi
91477
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_perfstat_perfstat_cpu_total" >&5
91478
 
+$as_echo "$ac_cv_lib_perfstat_perfstat_cpu_total" >&6; }
91479
 
+if test "x$ac_cv_lib_perfstat_perfstat_cpu_total" = xyes; then :
91480
 
+  cat >>confdefs.h <<_ACEOF
91481
 
+@%:@define HAVE_LIBPERFSTAT 1
91482
 
+_ACEOF
91483
 
+
91484
 
+  LIBS="-lperfstat $LIBS"
91485
 
+
91486
 
+fi
91487
 
+
91488
 
+       test $ac_cv_lib_perfstat_perfstat_cpu_total = yes && gl_func_getloadavg_done=yes
91489
 
+     fi
91490
 
+
91491
 
+     if test $gl_func_getloadavg_done = no; then
91492
 
+       ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default"
91493
 
+if test "x$ac_cv_header_sys_dg_sys_info_h" = xyes; then :
91494
 
+  gl_func_getloadavg_done=yes
91495
 
+          
91496
 
+$as_echo "@%:@define DGUX 1" >>confdefs.h
91497
 
+
91498
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5
91499
 
+$as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
91500
 
+if ${ac_cv_lib_dgc_dg_sys_info+:} false; then :
91501
 
+  $as_echo_n "(cached) " >&6
91502
 
+else
91503
 
+  ac_check_lib_save_LIBS=$LIBS
91504
 
+LIBS="-ldgc  $LIBS"
91505
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91506
 
+/* end confdefs.h.  */
91507
 
+
91508
 
+/* Override any GCC internal prototype to avoid an error.
91509
 
+   Use char because int might match the return type of a GCC
91510
 
+   builtin and then its argument prototype would still apply.  */
91511
 
+#ifdef __cplusplus
91512
 
+extern "C"
91513
 
+#endif
91514
 
+char dg_sys_info ();
91515
 
+int
91516
 
+main ()
91517
 
+{
91518
 
+return dg_sys_info ();
91519
 
+  ;
91520
 
+  return 0;
91521
 
+}
91522
 
+_ACEOF
91523
 
+if ac_fn_c_try_link "$LINENO"; then :
91524
 
+  ac_cv_lib_dgc_dg_sys_info=yes
91525
 
+else
91526
 
+  ac_cv_lib_dgc_dg_sys_info=no
91527
 
+fi
91528
 
+rm -f core conftest.err conftest.$ac_objext \
91529
 
+    conftest$ac_exeext conftest.$ac_ext
91530
 
+LIBS=$ac_check_lib_save_LIBS
91531
 
+fi
91532
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5
91533
 
+$as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
91534
 
+if test "x$ac_cv_lib_dgc_dg_sys_info" = xyes; then :
91535
 
+  cat >>confdefs.h <<_ACEOF
91536
 
+@%:@define HAVE_LIBDGC 1
91537
 
+_ACEOF
91538
 
+
91539
 
+  LIBS="-ldgc $LIBS"
91540
 
+
91541
 
+fi
91542
 
+
91543
 
+fi
91544
 
+
91545
 
+
91546
 
+     fi
91547
 
+   fi
91548
 
+fi
91549
 
+
91550
 
+
91551
 
+if test "x$gl_save_LIBS" = x; then
91552
 
+  GETLOADAVG_LIBS=$LIBS
91553
 
+else
91554
 
+  GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$gl_save_LIBS!!"`
91555
 
+fi
91556
 
+LIBS=$gl_save_LIBS
91557
 
+
91558
 
+
91559
 
+# Test whether the system declares getloadavg. Solaris has the function
91560
 
+# but declares it in <sys/loadavg.h>, not <stdlib.h>.
91561
 
+for ac_header in sys/loadavg.h
91562
 
+do :
91563
 
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default"
91564
 
+if test "x$ac_cv_header_sys_loadavg_h" = xyes; then :
91565
 
+  cat >>confdefs.h <<_ACEOF
91566
 
+@%:@define HAVE_SYS_LOADAVG_H 1
91567
 
+_ACEOF
91568
 
91569
 
+fi
91570
 
+
91571
 
+done
91572
 
+
91573
 
+if test $ac_cv_header_sys_loadavg_h = yes; then
91574
 
+  HAVE_SYS_LOADAVG_H=1
91575
 
+else
91576
 
+  HAVE_SYS_LOADAVG_H=0
91577
 
+fi
91578
 
+ac_fn_c_check_decl "$LINENO" "getloadavg" "ac_cv_have_decl_getloadavg" "#if HAVE_SYS_LOADAVG_H
91579
 
+   # include <sys/loadavg.h>
91580
 
+   #endif
91581
 
+   #include <stdlib.h>
91582
 
+"
91583
 
+if test "x$ac_cv_have_decl_getloadavg" = xyes; then :
91584
 
+  
91585
 
+else
91586
 
+  HAVE_DECL_GETLOADAVG=0
91587
 
+fi
91588
 
+
91589
 
+
91590
 
+if test $HAVE_GETLOADAVG = 0; then
91591
 
+  
91592
 
+  
91593
 
+  
91594
 
+    
91595
 
+      
91596
 
+      
91597
 
+    
91598
 
+  
91599
 
+  gl_LIBOBJS="$gl_LIBOBJS getloadavg.$ac_objext"
91600
 
+
91601
 
+  
91602
 
+# Figure out what our getloadavg.c needs.
91603
 
+
91604
 
+# On HPUX9, an unprivileged user can get load averages this way.
91605
 
+if test $gl_func_getloadavg_done = no; then
91606
 
+  for ac_func in pstat_getdynamic
91607
 
+do :
91608
 
+  ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic"
91609
 
+if test "x$ac_cv_func_pstat_getdynamic" = xyes; then :
91610
 
+  cat >>confdefs.h <<_ACEOF
91611
 
+@%:@define HAVE_PSTAT_GETDYNAMIC 1
91612
 
+_ACEOF
91613
 
+ gl_func_getloadavg_done=yes
91614
 
+fi
91615
 
+done
91616
 
+
91617
 
+fi
91618
 
+
91619
 
+# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
91620
 
+# uses stabs), but it is still SVR4.  We cannot check for <elf.h> because
91621
 
+# Irix 4.0.5F has the header but not the library.
91622
 
+if test $gl_func_getloadavg_done = no && test "$ac_cv_lib_elf_elf_begin" = yes \
91623
 
+    && test "$ac_cv_lib_kvm_kvm_open" = yes; then
91624
 
+  gl_func_getloadavg_done=yes
91625
 
+  
91626
 
+$as_echo "@%:@define SVR4 1" >>confdefs.h
91627
 
+
91628
 
+fi
91629
 
+
91630
 
+if test $gl_func_getloadavg_done = no; then
91631
 
+  ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default"
91632
 
+if test "x$ac_cv_header_inq_stats_cpustats_h" = xyes; then :
91633
 
+  gl_func_getloadavg_done=yes
91634
 
+   
91635
 
+$as_echo "@%:@define UMAX 1" >>confdefs.h
91636
 
+
91637
 
+   
91638
 
+$as_echo "@%:@define UMAX4_3 1" >>confdefs.h
91639
 
+
91640
 
+fi
91641
 
+
91642
 
+
91643
 
+fi
91644
 
+
91645
 
+if test $gl_func_getloadavg_done = no; then
91646
 
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default"
91647
 
+if test "x$ac_cv_header_sys_cpustats_h" = xyes; then :
91648
 
+  gl_func_getloadavg_done=yes; $as_echo "@%:@define UMAX 1" >>confdefs.h
91649
 
+
91650
 
+fi
91651
 
+
91652
 
+
91653
 
+fi
91654
 
+
91655
 
+if test $gl_func_getloadavg_done = no; then
91656
 
+  for ac_header in mach/mach.h
91657
 
+do :
91658
 
+  ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
91659
 
+if test "x$ac_cv_header_mach_mach_h" = xyes; then :
91660
 
+  cat >>confdefs.h <<_ACEOF
91661
 
+@%:@define HAVE_MACH_MACH_H 1
91662
 
+_ACEOF
91663
 
91664
 
+fi
91665
 
+
91666
 
+done
91667
 
+
91668
 
+fi
91669
 
+
91670
 
+for ac_header in nlist.h
91671
 
+do :
91672
 
+  ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default"
91673
 
+if test "x$ac_cv_header_nlist_h" = xyes; then :
91674
 
+  cat >>confdefs.h <<_ACEOF
91675
 
+@%:@define HAVE_NLIST_H 1
91676
 
+_ACEOF
91677
 
+ ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "@%:@include <nlist.h>
91678
 
+"
91679
 
+if test "x$ac_cv_member_struct_nlist_n_un_n_name" = xyes; then :
91680
 
+  
91681
 
+cat >>confdefs.h <<_ACEOF
91682
 
+@%:@define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
91683
 
+_ACEOF
91684
 
+
91685
 
+
91686
 
+fi
91687
 
+
91688
 
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91689
 
+/* end confdefs.h.  */
91690
 
+#include <nlist.h>
91691
 
+int
91692
 
+main ()
91693
 
+{
91694
 
+struct nlist x;
91695
 
+                    #ifdef HAVE_STRUCT_NLIST_N_UN_N_NAME
91696
 
+                    x.n_un.n_name = "";
91697
 
+                    #else
91698
 
+                    x.n_name = "";
91699
 
+                    #endif
91700
 
+  ;
91701
 
+  return 0;
91702
 
+}
91703
 
+_ACEOF
91704
 
+if ac_fn_c_try_link "$LINENO"; then :
91705
 
+  
91706
 
+$as_echo "@%:@define N_NAME_POINTER 1" >>confdefs.h
91707
 
+
91708
 
+fi
91709
 
+rm -f core conftest.err conftest.$ac_objext \
91710
 
+    conftest$ac_exeext conftest.$ac_ext
91711
 
+
91712
 
+fi
91713
 
+
91714
 
+done
91715
 
+
91716
 
+fi
91717
 
+
91718
 
+    
91719
 
+  
91720
 
+  
91721
 
+  
91722
 
+          GNULIB_GETLOADAVG=1
91723
 
+    
91724
 
+
91725
 
+
91726
 
+    
91727
 
+  
91728
 
+$as_echo "@%:@define GNULIB_TEST_GETLOADAVG 1" >>confdefs.h
91729
 
+
91730
 
+
91731
 
+
91732
 
+
91733
 
+  
91734
 
+    
91735
 
+  
91736
 
+  
91737
 
+  
91738
 
+
91739
 
+
91740
 
+  
91741
 
+
91742
 
+  
91743
 
+
91744
 
+if test $REPLACE_GETOPT = 1; then
91745
 
+  
91746
 
+  
91747
 
+  
91748
 
+    
91749
 
+      
91750
 
+      
91751
 
+    
91752
 
+  
91753
 
+  gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext"
91754
 
+
91755
 
+  
91756
 
+  
91757
 
+  
91758
 
+    
91759
 
+      
91760
 
+      
91761
 
+    
91762
 
+  
91763
 
+  gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext"
91764
 
+
91765
 
+  
91766
 
+  
91767
 
+
91768
 
+fi
91769
 
+
91770
 
+  
91771
 
+$as_echo "@%:@define GNULIB_TEST_GETOPT_GNU 1" >>confdefs.h
91772
 
+
91773
 
+
91774
 
+
91775
 
+  
91776
 
+  
91777
 
+        
91778
 
+    REPLACE_GETOPT=0
91779
 
+    
91780
 
+  
91781
 
+  if test -n "$gl_replace_getopt"; then :
91782
 
+  
91783
 
+      REPLACE_GETOPT=1
91784
 
+    
91785
 
+fi
91786
 
+
91787
 
+  
91788
 
+  if test $REPLACE_GETOPT = 1; then
91789
 
+        
91790
 
+  GETOPT_H=getopt.h
91791
 
+  
91792
 
+$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h
91793
 
+
91794
 
+  
91795
 
+
91796
 
+        GNULIB_UNISTD_H_GETOPT=1
91797
 
+  fi
91798
 
+
91799
 
+if test $REPLACE_GETOPT = 1; then
91800
 
+  
91801
 
+  
91802
 
+  
91803
 
+    
91804
 
+      
91805
 
+      
91806
 
+    
91807
 
+  
91808
 
+  gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext"
91809
 
+
91810
 
+  
91811
 
+  
91812
 
+  
91813
 
+    
91814
 
+      
91815
 
+      
91816
 
+    
91817
 
+  
91818
 
+  gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext"
91819
 
+
91820
 
+  
91821
 
+  
91822
 
+
91823
 
+fi
91824
 
+
91825
 
+  
91826
 
+  
91827
 
+  for ac_func in getpagesize
91828
 
+do :
91829
 
+  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
91830
 
+if test "x$ac_cv_func_getpagesize" = xyes; then :
91831
 
+  cat >>confdefs.h <<_ACEOF
91832
 
+@%:@define HAVE_GETPAGESIZE 1
91833
 
+_ACEOF
91834
 
91835
 
+fi
91836
 
+done
91837
 
+
91838
 
+  if test $ac_cv_func_getpagesize = no; then
91839
 
+    HAVE_GETPAGESIZE=0
91840
 
+    for ac_header in OS.h
91841
 
+do :
91842
 
+  ac_fn_c_check_header_mongrel "$LINENO" "OS.h" "ac_cv_header_OS_h" "$ac_includes_default"
91843
 
+if test "x$ac_cv_header_OS_h" = xyes; then :
91844
 
+  cat >>confdefs.h <<_ACEOF
91845
 
+@%:@define HAVE_OS_H 1
91846
 
+_ACEOF
91847
 
91848
 
+fi
91849
 
+
91850
 
+done
91851
 
+
91852
 
+    if test $ac_cv_header_OS_h = yes; then
91853
 
+      HAVE_OS_H=1
91854
 
+    fi
91855
 
+    for ac_header in sys/param.h
91856
 
+do :
91857
 
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
91858
 
+if test "x$ac_cv_header_sys_param_h" = xyes; then :
91859
 
+  cat >>confdefs.h <<_ACEOF
91860
 
+@%:@define HAVE_SYS_PARAM_H 1
91861
 
+_ACEOF
91862
 
91863
 
+fi
91864
 
+
91865
 
+done
91866
 
+
91867
 
+    if test $ac_cv_header_sys_param_h = yes; then
91868
 
+      HAVE_SYS_PARAM_H=1
91869
 
+    fi
91870
 
+  fi
91871
 
+  case "$host_os" in
91872
 
+    mingw*)
91873
 
+      REPLACE_GETPAGESIZE=1
91874
 
+      ;;
91875
 
+  esac
91876
 
+      ac_fn_c_check_decl "$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default"
91877
 
+if test "x$ac_cv_have_decl_getpagesize" = xyes; then :
91878
 
+  
91879
 
+else
91880
 
+  HAVE_DECL_GETPAGESIZE=0
91881
 
+fi
91882
 
+
91883
 
+
91884
 
+if test $REPLACE_GETPAGESIZE = 1; then
91885
 
+  
91886
 
+  
91887
 
+  
91888
 
+    
91889
 
+      
91890
 
+      
91891
 
+    
91892
 
+  
91893
 
+  gl_LIBOBJS="$gl_LIBOBJS getpagesize.$ac_objext"
91894
 
+
91895
 
+fi
91896
 
+
91897
 
+    
91898
 
+  
91899
 
+  
91900
 
+  
91901
 
+          GNULIB_GETPAGESIZE=1
91902
 
+    
91903
 
+
91904
 
+
91905
 
+    
91906
 
+  
91907
 
+$as_echo "@%:@define GNULIB_TEST_GETPAGESIZE 1" >>confdefs.h
91908
 
+
91909
 
+
91910
 
+
91911
 
+
91912
 
+    
91913
 
+
91914
 
+  
91915
 
+    REPLACE_GETPASS=1
91916
 
+
91917
 
+  if test $REPLACE_GETPASS = 1; then
91918
 
+                
91919
 
+$as_echo "@%:@define getpass gnu_getpass" >>confdefs.h
91920
 
+
91921
 
+  fi
91922
 
+
91923
 
+if test $REPLACE_GETPASS = 1; then
91924
 
+  
91925
 
+  
91926
 
+  
91927
 
+    
91928
 
+      
91929
 
+      
91930
 
+    
91931
 
+  
91932
 
+  gl_LIBOBJS="$gl_LIBOBJS getpass.$ac_objext"
91933
 
+
91934
 
+  
91935
 
+  
91936
 
+  
91937
 
+  ac_fn_c_check_decl "$LINENO" "__fsetlocking" "ac_cv_have_decl___fsetlocking" "#include <stdio.h>
91938
 
+     #if HAVE_STDIO_EXT_H
91939
 
+      #include <stdio_ext.h>
91940
 
+     #endif
91941
 
+"
91942
 
+if test "x$ac_cv_have_decl___fsetlocking" = xyes; then :
91943
 
+  ac_have_decl=1
91944
 
+else
91945
 
+  ac_have_decl=0
91946
 
+fi
91947
 
+
91948
 
+cat >>confdefs.h <<_ACEOF
91949
 
+@%:@define HAVE_DECL___FSETLOCKING $ac_have_decl
91950
 
+_ACEOF
91951
 
+
91952
 
+  
91953
 
+  
91954
 
+  
91955
 
+  
91956
 
+  
91957
 
+  :
91958
 
+
91959
 
+fi
91960
 
+
91961
 
+
91962
 
+
91963
 
+
91964
 
+    
91965
 
+  
91966
 
+  
91967
 
+
91968
 
+
91969
 
+  
91970
 
+  
91971
 
+  
91972
 
+  
91973
 
+
91974
 
+  gl_gettimeofday_timezone=void
91975
 
+  if test $ac_cv_func_gettimeofday != yes; then
91976
 
+    HAVE_GETTIMEOFDAY=0
91977
 
+  else
91978
 
+    
91979
 
91980
 
+
91981
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday clobbers localtime buffer" >&5
91982
 
+$as_echo_n "checking whether gettimeofday clobbers localtime buffer... " >&6; }
91983
 
+if ${gl_cv_func_gettimeofday_clobber+:} false; then :
91984
 
+  $as_echo_n "(cached) " >&6
91985
 
+else
91986
 
+  if test "$cross_compiling" = yes; then :
91987
 
+       gl_cv_func_gettimeofday_clobber=yes
91988
 
+else
91989
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
91990
 
+/* end confdefs.h.  */
91991
 
+#include <string.h>
91992
 
+          #include <sys/time.h>
91993
 
+          #include <time.h>
91994
 
+          #include <stdlib.h>
91995
 
+        
91996
 
+int
91997
 
+main ()
91998
 
+{
91999
 
+
92000
 
+          time_t t = 0;
92001
 
+          struct tm *lt;
92002
 
+          struct tm saved_lt;
92003
 
+          struct timeval tv;
92004
 
+          lt = localtime (&t);
92005
 
+          saved_lt = *lt;
92006
 
+          gettimeofday (&tv, NULL);
92007
 
+          return memcmp (lt, &saved_lt, sizeof (struct tm)) != 0;
92008
 
+        
92009
 
+  ;
92010
 
+  return 0;
92011
 
+}
92012
 
+_ACEOF
92013
 
+if ac_fn_c_try_run "$LINENO"; then :
92014
 
+  gl_cv_func_gettimeofday_clobber=no
92015
 
+else
92016
 
+  gl_cv_func_gettimeofday_clobber=yes
92017
 
+fi
92018
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
92019
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
92020
 
+fi
92021
 
+
92022
 
+fi
92023
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_clobber" >&5
92024
 
+$as_echo "$gl_cv_func_gettimeofday_clobber" >&6; }
92025
 
+
92026
 
+ if test $gl_cv_func_gettimeofday_clobber = yes; then
92027
 
+   REPLACE_GETTIMEOFDAY=1
92028
 
+   
92029
 
+  
92030
 
+$as_echo "@%:@define gmtime rpl_gmtime" >>confdefs.h
92031
 
+
92032
 
+  
92033
 
+$as_echo "@%:@define localtime rpl_localtime" >>confdefs.h
92034
 
+
92035
 
+
92036
 
+   
92037
 
+$as_echo "@%:@define GETTIMEOFDAY_CLOBBERS_LOCALTIME 1" >>confdefs.h
92038
 
+
92039
 
+ fi
92040
 
+
92041
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday with POSIX signature" >&5
92042
 
+$as_echo_n "checking for gettimeofday with POSIX signature... " >&6; }
92043
 
+if ${gl_cv_func_gettimeofday_posix_signature+:} false; then :
92044
 
+  $as_echo_n "(cached) " >&6
92045
 
+else
92046
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92047
 
+/* end confdefs.h.  */
92048
 
+#include <sys/time.h>
92049
 
+              struct timeval c;
92050
 
+              int gettimeofday (struct timeval *restrict, void *restrict);
92051
 
+            
92052
 
+int
92053
 
+main ()
92054
 
+{
92055
 
+/* glibc uses struct timezone * rather than the POSIX void *
92056
 
+                 if _GNU_SOURCE is defined.  However, since the only portable
92057
 
+                 use of gettimeofday uses NULL as the second parameter, and
92058
 
+                 since the glibc definition is actually more typesafe, it is
92059
 
+                 not worth wrapping this to get a compliant signature.  */
92060
 
+              int (*f) (struct timeval *restrict, void *restrict)
92061
 
+                = gettimeofday;
92062
 
+              int x = f (&c, 0);
92063
 
+              return !(x | c.tv_sec | c.tv_usec);
92064
 
+            
92065
 
+  ;
92066
 
+  return 0;
92067
 
+}
92068
 
+_ACEOF
92069
 
+if ac_fn_c_try_compile "$LINENO"; then :
92070
 
+  gl_cv_func_gettimeofday_posix_signature=yes
92071
 
+else
92072
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92073
 
+/* end confdefs.h.  */
92074
 
+#include <sys/time.h>
92075
 
+int gettimeofday (struct timeval *restrict, struct timezone *restrict);
92076
 
+              
92077
 
+int
92078
 
+main ()
92079
 
+{
92080
 
+
92081
 
+  ;
92082
 
+  return 0;
92083
 
+}
92084
 
+_ACEOF
92085
 
+if ac_fn_c_try_compile "$LINENO"; then :
92086
 
+  gl_cv_func_gettimeofday_posix_signature=almost
92087
 
+else
92088
 
+  gl_cv_func_gettimeofday_posix_signature=no
92089
 
+fi
92090
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
92091
 
+fi
92092
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
92093
 
+fi
92094
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_posix_signature" >&5
92095
 
+$as_echo "$gl_cv_func_gettimeofday_posix_signature" >&6; }
92096
 
+    if test $gl_cv_func_gettimeofday_posix_signature = almost; then
92097
 
+      gl_gettimeofday_timezone='struct timezone'
92098
 
+    elif test $gl_cv_func_gettimeofday_posix_signature != yes; then
92099
 
+      REPLACE_GETTIMEOFDAY=1
92100
 
+    fi
92101
 
+    
92102
 
+      
92103
 
+  
92104
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tzset clobbers localtime buffer" >&5
92105
 
+$as_echo_n "checking whether tzset clobbers localtime buffer... " >&6; }
92106
 
+if ${gl_cv_func_tzset_clobber+:} false; then :
92107
 
+  $as_echo_n "(cached) " >&6
92108
 
+else
92109
 
+  
92110
 
+  if test "$cross_compiling" = yes; then :
92111
 
+  gl_cv_func_tzset_clobber=yes
92112
 
+else
92113
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92114
 
+/* end confdefs.h.  */
92115
 
+
92116
 
+#include <time.h>
92117
 
+#include <stdlib.h>
92118
 
+
92119
 
+int
92120
 
+main ()
92121
 
+{
92122
 
+  time_t t1 = 853958121;
92123
 
+  struct tm *p, s;
92124
 
+  putenv ("TZ=GMT0");
92125
 
+  p = localtime (&t1);
92126
 
+  s = *p;
92127
 
+  putenv ("TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00");
92128
 
+  tzset ();
92129
 
+  return (p->tm_year != s.tm_year
92130
 
+          || p->tm_mon != s.tm_mon
92131
 
+          || p->tm_mday != s.tm_mday
92132
 
+          || p->tm_hour != s.tm_hour
92133
 
+          || p->tm_min != s.tm_min
92134
 
+          || p->tm_sec != s.tm_sec);
92135
 
+}
92136
 
+  
92137
 
+_ACEOF
92138
 
+if ac_fn_c_try_run "$LINENO"; then :
92139
 
+  gl_cv_func_tzset_clobber=no
92140
 
+else
92141
 
+  gl_cv_func_tzset_clobber=yes
92142
 
+fi
92143
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
92144
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
92145
 
+fi
92146
 
+
92147
 
+fi
92148
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_tzset_clobber" >&5
92149
 
+$as_echo "$gl_cv_func_tzset_clobber" >&6; }
92150
 
+
92151
 
+  
92152
 
+$as_echo "@%:@define HAVE_RUN_TZSET_TEST 1" >>confdefs.h
92153
 
+
92154
 
+
92155
 
+      if test $gl_cv_func_tzset_clobber = yes; then
92156
 
+        REPLACE_GETTIMEOFDAY=1
92157
 
+        
92158
 
+  
92159
 
+$as_echo "@%:@define gmtime rpl_gmtime" >>confdefs.h
92160
 
+
92161
 
+  
92162
 
+$as_echo "@%:@define localtime rpl_localtime" >>confdefs.h
92163
 
+
92164
 
+
92165
 
+        
92166
 
+$as_echo "@%:@define tzset rpl_tzset" >>confdefs.h
92167
 
+
92168
 
+        
92169
 
+$as_echo "@%:@define TZSET_CLOBBERS_LOCALTIME 1" >>confdefs.h
92170
 
+
92171
 
+      fi
92172
 
+    
92173
 
+  fi
92174
 
+  
92175
 
+cat >>confdefs.h <<_ACEOF
92176
 
+@%:@define GETTIMEOFDAY_TIMEZONE $gl_gettimeofday_timezone
92177
 
+_ACEOF
92178
 
+
92179
 
+
92180
 
+if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
92181
 
+  
92182
 
+  
92183
 
+  
92184
 
+    
92185
 
+      
92186
 
+      
92187
 
+    
92188
 
+  
92189
 
+  gl_LIBOBJS="$gl_LIBOBJS gettimeofday.$ac_objext"
92190
 
+
92191
 
+  
92192
 
+  for ac_header in sys/timeb.h
92193
 
+do :
92194
 
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
92195
 
+if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
92196
 
+  cat >>confdefs.h <<_ACEOF
92197
 
+@%:@define HAVE_SYS_TIMEB_H 1
92198
 
+_ACEOF
92199
 
92200
 
+fi
92201
 
+
92202
 
+done
92203
 
+
92204
 
+  for ac_func in _ftime
92205
 
+do :
92206
 
+  ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime"
92207
 
+if test "x$ac_cv_func__ftime" = xyes; then :
92208
 
+  cat >>confdefs.h <<_ACEOF
92209
 
+@%:@define HAVE__FTIME 1
92210
 
+_ACEOF
92211
 
92212
 
+fi
92213
 
+done
92214
 
+
92215
 
+
92216
 
+fi
92217
 
+
92218
 
+    
92219
 
+  
92220
 
+  
92221
 
+  
92222
 
+          GNULIB_GETTIMEOFDAY=1
92223
 
+    
92224
 
+
92225
 
+
92226
 
+    
92227
 
+  
92228
 
+$as_echo "@%:@define GNULIB_TEST_GETTIMEOFDAY 1" >>confdefs.h
92229
 
+
92230
 
+
92231
 
+
92232
 
+
92233
 
+  
92234
 
+
92235
 
+
92236
 
+  
92237
 
+
92238
 
+    
92239
 
+
92240
 
+    
92241
 
+  if test $ac_cv_func_getusershell = yes; then
92242
 
+    HAVE_GETUSERSHELL=1
92243
 
+        ac_fn_c_check_decl "$LINENO" "getusershell" "ac_cv_have_decl_getusershell" "$ac_includes_default"
92244
 
+if test "x$ac_cv_have_decl_getusershell" = xyes; then :
92245
 
+  ac_have_decl=1
92246
 
+else
92247
 
+  ac_have_decl=0
92248
 
+fi
92249
 
+
92250
 
+cat >>confdefs.h <<_ACEOF
92251
 
+@%:@define HAVE_DECL_GETUSERSHELL $ac_have_decl
92252
 
+_ACEOF
92253
 
+
92254
 
+    if test $ac_cv_have_decl_getusershell = no; then
92255
 
+      HAVE_DECL_GETUSERSHELL=0
92256
 
+    fi
92257
 
+  else
92258
 
+    HAVE_GETUSERSHELL=0
92259
 
+        HAVE_DECL_GETUSERSHELL=0
92260
 
+  fi
92261
 
+
92262
 
+if test $HAVE_GETUSERSHELL = 0; then
92263
 
+  
92264
 
+  
92265
 
+  
92266
 
+    
92267
 
+      
92268
 
+      
92269
 
+    
92270
 
+  
92271
 
+  gl_LIBOBJS="$gl_LIBOBJS getusershell.$ac_objext"
92272
 
+
92273
 
+fi
92274
 
+
92275
 
+    
92276
 
+  
92277
 
+  
92278
 
+  
92279
 
+          GNULIB_GETUSERSHELL=1
92280
 
+    
92281
 
+
92282
 
+
92283
 
+    
92284
 
+  
92285
 
+$as_echo "@%:@define GNULIB_TEST_GETUSERSHELL 1" >>confdefs.h
92286
 
+
92287
 
+
92288
 
+
92289
 
+
92290
 
+   if ${MAKE-make} --version /cannot/make/this >/dev/null 2>&1; then
92291
 
+  GNU_MAKE_TRUE=
92292
 
+  GNU_MAKE_FALSE='#'
92293
 
+else
92294
 
+  GNU_MAKE_TRUE='#'
92295
 
+  GNU_MAKE_FALSE=
92296
 
+fi
92297
 
+
92298
 
+
92299
 
+# Autoconf 2.61a.99 and earlier don't support linking a file only
92300
 
+# in VPATH builds.  But since GNUmakefile is for maintainer use
92301
 
+# only, it does not matter if we skip the link with older autoconf.
92302
 
+# Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
92303
 
+# builds, so use a shell variable to bypass this.
92304
 
+GNUmakefile=GNUmakefile
92305
 
+ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
92306
 
+
92307
 
+
92308
 
+  
92309
 
+
92310
 
+    
92311
 
+
92312
 
+      ac_fn_c_check_func "$LINENO" "group_member" "ac_cv_func_group_member"
92313
 
+if test "x$ac_cv_func_group_member" = xyes; then :
92314
 
+  
92315
 
+else
92316
 
+  
92317
 
+    HAVE_GROUP_MEMBER=0
92318
 
+  
92319
 
+fi
92320
 
+
92321
 
+
92322
 
+if test $HAVE_GROUP_MEMBER = 0; then
92323
 
+  
92324
 
+  
92325
 
+  
92326
 
+    
92327
 
+      
92328
 
+      
92329
 
+    
92330
 
+  
92331
 
+  gl_LIBOBJS="$gl_LIBOBJS group-member.$ac_objext"
92332
 
+
92333
 
+  
92334
 
+  
92335
 
+
92336
 
+fi
92337
 
+
92338
 
+    
92339
 
+  
92340
 
+  
92341
 
+  
92342
 
+          GNULIB_GROUP_MEMBER=1
92343
 
+    
92344
 
+
92345
 
+
92346
 
+    
92347
 
+  
92348
 
+$as_echo "@%:@define GNULIB_TEST_GROUP_MEMBER 1" >>confdefs.h
92349
 
+
92350
 
+
92351
 
+
92352
 
+
92353
 
+  :
92354
 
+
92355
 
+
92356
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking host operating system" >&5
92357
 
+$as_echo_n "checking host operating system... " >&6; }
92358
 
+if ${gl_cv_host_operating_system+:} false; then :
92359
 
+  $as_echo_n "(cached) " >&6
92360
 
+else
92361
 
+  case $host_os in
92362
 
+
92363
 
+       # These operating system names do not use the default heuristic below.
92364
 
+       # They are in reverse order, so that more-specific prefixes come first.
92365
 
+       winnt*)          os='Windows NT';;
92366
 
+       vos*)            os='VOS';;
92367
 
+       sysv*)           os='Unix System V';;
92368
 
+       superux*)        os='SUPER-UX';;
92369
 
+       sunos*)          os='SunOS';;
92370
 
+       stop*)           os='STOP';;
92371
 
+       sco*)            os='SCO Unix';;
92372
 
+       riscos*)         os='RISC OS';;
92373
 
+       riscix*)         os='RISCiX';;
92374
 
+       qnx*)            os='QNX';;
92375
 
+       pw32*)           os='PW32';;
92376
 
+       ptx*)            os='ptx';;
92377
 
+       plan9*)          os='Plan 9';;
92378
 
+       osf*)            os='Tru64';;
92379
 
+       os2*)            os='OS/2';;
92380
 
+       openbsd*)        os='OpenBSD';;
92381
 
+       nsk*)            os='NonStop Kernel';;
92382
 
+       nonstopux*)      os='NonStop-UX';;
92383
 
+       netbsd*-gnu*)    os='GNU/NetBSD';; # NetBSD kernel+libc, GNU userland
92384
 
+       netbsd*)         os='NetBSD';;
92385
 
+       mirbsd*)         os='MirBSD';;
92386
 
+       knetbsd*-gnu)    os='GNU/kNetBSD';; # NetBSD kernel, GNU libc+userland
92387
 
+       kfreebsd*-gnu)   os='GNU/kFreeBSD';; # FreeBSD kernel, GNU libc+userland
92388
 
+       msdosdjgpp*)     os='DJGPP';;
92389
 
+       mpeix*)          os='MPE/iX';;
92390
 
+       mint*)           os='MiNT';;
92391
 
+       mingw*)          os='MinGW';;
92392
 
+       lynxos*)         os='LynxOS';;
92393
 
+       linux*)          os='GNU/Linux';;
92394
 
+       hpux*)           os='HP-UX';;
92395
 
+       hiux*)           os='HI-UX';;
92396
 
+       gnu*)            os='GNU';;
92397
 
+       freebsd*)        os='FreeBSD';;
92398
 
+       dgux*)           os='DG/UX';;
92399
 
+       bsdi*)           os='BSD/OS';;
92400
 
+       bsd*)            os='BSD';;
92401
 
+       beos*)           os='BeOS';;
92402
 
+       aux*)            os='A/UX';;
92403
 
+       atheos*)         os='AtheOS';;
92404
 
+       amigaos*)        os='Amiga OS';;
92405
 
+       aix*)            os='AIX';;
92406
 
+
92407
 
+       # The default heuristic takes the initial alphabetic string
92408
 
+       # from $host_os, but capitalizes its first letter.
92409
 
+       [A-Za-z]*)
92410
 
+         os=`
92411
 
+           expr "X$host_os" : 'X\([A-Za-z]\)' | tr '[a-z]' '[A-Z]'
92412
 
+         ``
92413
 
+           expr "X$host_os" : 'X.\([A-Za-z]*\)'
92414
 
+         `
92415
 
+         ;;
92416
 
+
92417
 
+       # If $host_os does not start with an alphabetic string, use it unchanged.
92418
 
+       *)
92419
 
+         os=$host_os;;
92420
 
+     esac
92421
 
+     gl_cv_host_operating_system=$os
92422
 
+fi
92423
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_operating_system" >&5
92424
 
+$as_echo "$gl_cv_host_operating_system" >&6; }
92425
 
+  
92426
 
+cat >>confdefs.h <<_ACEOF
92427
 
+@%:@define HOST_OPERATING_SYSTEM "$gl_cv_host_operating_system"
92428
 
+_ACEOF
92429
 
+
92430
 
+
92431
 
+
92432
 
+                  HOSTENT_LIB=
92433
 
+  gl_saved_libs="$LIBS"
92434
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
92435
 
+$as_echo_n "checking for library containing gethostbyname... " >&6; }
92436
 
+if ${ac_cv_search_gethostbyname+:} false; then :
92437
 
+  $as_echo_n "(cached) " >&6
92438
 
+else
92439
 
+  ac_func_search_save_LIBS=$LIBS
92440
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92441
 
+/* end confdefs.h.  */
92442
 
+
92443
 
+/* Override any GCC internal prototype to avoid an error.
92444
 
+   Use char because int might match the return type of a GCC
92445
 
+   builtin and then its argument prototype would still apply.  */
92446
 
+#ifdef __cplusplus
92447
 
+extern "C"
92448
 
+#endif
92449
 
+char gethostbyname ();
92450
 
+int
92451
 
+main ()
92452
 
+{
92453
 
+return gethostbyname ();
92454
 
+  ;
92455
 
+  return 0;
92456
 
+}
92457
 
+_ACEOF
92458
 
+for ac_lib in '' nsl network net; do
92459
 
+  if test -z "$ac_lib"; then
92460
 
+    ac_res="none required"
92461
 
+  else
92462
 
+    ac_res=-l$ac_lib
92463
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
92464
 
+  fi
92465
 
+  if ac_fn_c_try_link "$LINENO"; then :
92466
 
+  ac_cv_search_gethostbyname=$ac_res
92467
 
+fi
92468
 
+rm -f core conftest.err conftest.$ac_objext \
92469
 
+    conftest$ac_exeext
92470
 
+  if ${ac_cv_search_gethostbyname+:} false; then :
92471
 
+  break
92472
 
+fi
92473
 
+done
92474
 
+if ${ac_cv_search_gethostbyname+:} false; then :
92475
 
+  
92476
 
+else
92477
 
+  ac_cv_search_gethostbyname=no
92478
 
+fi
92479
 
+rm conftest.$ac_ext
92480
 
+LIBS=$ac_func_search_save_LIBS
92481
 
+fi
92482
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
92483
 
+$as_echo "$ac_cv_search_gethostbyname" >&6; }
92484
 
+ac_res=$ac_cv_search_gethostbyname
92485
 
+if test "$ac_res" != no; then :
92486
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
92487
 
+  if test "$ac_cv_search_gethostbyname" != "none required"; then
92488
 
+       HOSTENT_LIB="$ac_cv_search_gethostbyname"
92489
 
+     fi
92490
 
+fi
92491
 
+
92492
 
+  LIBS="$gl_saved_libs"
92493
 
+  if test -z "$HOSTENT_LIB"; then
92494
 
+    for ac_func in gethostbyname
92495
 
+do :
92496
 
+  ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
92497
 
+if test "x$ac_cv_func_gethostbyname" = xyes; then :
92498
 
+  cat >>confdefs.h <<_ACEOF
92499
 
+@%:@define HAVE_GETHOSTBYNAME 1
92500
 
+_ACEOF
92501
 
92502
 
+else
92503
 
+  
92504
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5
92505
 
+$as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; }
92506
 
+if ${gl_cv_w32_gethostbyname+:} false; then :
92507
 
+  $as_echo_n "(cached) " >&6
92508
 
+else
92509
 
+  gl_cv_w32_gethostbyname=no
92510
 
+         gl_save_LIBS="$LIBS"
92511
 
+         LIBS="$LIBS -lws2_32"
92512
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92513
 
+/* end confdefs.h.  */
92514
 
+
92515
 
+#ifdef HAVE_WINSOCK2_H
92516
 
+#include <winsock2.h>
92517
 
+#endif
92518
 
+#include <stddef.h>
92519
 
+              
92520
 
+int
92521
 
+main ()
92522
 
+{
92523
 
+gethostbyname(NULL);
92524
 
+  ;
92525
 
+  return 0;
92526
 
+}
92527
 
+_ACEOF
92528
 
+if ac_fn_c_try_link "$LINENO"; then :
92529
 
+  gl_cv_w32_gethostbyname=yes
92530
 
+fi
92531
 
+rm -f core conftest.err conftest.$ac_objext \
92532
 
+    conftest$ac_exeext conftest.$ac_ext
92533
 
+         LIBS="$gl_save_LIBS"
92534
 
+        
92535
 
+fi
92536
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_gethostbyname" >&5
92537
 
+$as_echo "$gl_cv_w32_gethostbyname" >&6; }
92538
 
+      if test "$gl_cv_w32_gethostbyname" = "yes"; then
92539
 
+        HOSTENT_LIB="-lws2_32"
92540
 
+      fi
92541
 
+    
92542
 
+fi
92543
 
+done
92544
 
+
92545
 
+  fi
92546
 
+  
92547
 
+
92548
 
+
92549
 
+  :
92550
 
+
92551
 
+
92552
 
+  :
92553
 
+
92554
 
+
92555
 
+
92556
 
+    
92557
 
+  
92558
 
+  
92559
 
+  
92560
 
+          GNULIB_ICONV=1
92561
 
+    
92562
 
+
92563
 
+
92564
 
+
92565
 
+
92566
 
+  
92567
 
+
92568
 
+      
92569
 
+  
92570
 
+  
92571
 
+  
92572
 
+
92573
 
+  
92574
 
+    
92575
 
+
92576
 
+  
92577
 
+     if test $gl_cv_have_include_next = yes; then
92578
 
+       gl_cv_next_iconv_h='<'iconv.h'>'
92579
 
+     else
92580
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <iconv.h>" >&5
92581
 
+$as_echo_n "checking absolute name of <iconv.h>... " >&6; }
92582
 
+if ${gl_cv_next_iconv_h+:} false; then :
92583
 
+  $as_echo_n "(cached) " >&6
92584
 
+else
92585
 
+  
92586
 
+             if test $ac_cv_header_iconv_h = yes; then
92587
 
+             
92588
 
+            
92589
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92590
 
+/* end confdefs.h.  */
92591
 
+#include <iconv.h>
92592
 
+                  
92593
 
+_ACEOF
92594
 
+                                                                                                                        case "$host_os" in
92595
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
92596
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
92597
 
+               esac
92598
 
+                                                            gl_cv_next_iconv_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
92599
 
+                  sed -n '\#/iconv.h#{
92600
 
+                    s#.*"\(.*/iconv.h\)".*#\1#
92601
 
+                    s#^/[^/]#//&#
92602
 
+                    p
92603
 
+                    q
92604
 
+                  }'`'"'
92605
 
+          else
92606
 
+               gl_cv_next_iconv_h='<'iconv.h'>'
92607
 
+             fi
92608
 
+            
92609
 
+         
92610
 
+fi
92611
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_iconv_h" >&5
92612
 
+$as_echo "$gl_cv_next_iconv_h" >&6; }
92613
 
+     fi
92614
 
+     NEXT_ICONV_H=$gl_cv_next_iconv_h
92615
 
+
92616
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
92617
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
92618
 
+       gl_next_as_first_directive='<'iconv.h'>'
92619
 
+     else
92620
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
92621
 
+       gl_next_as_first_directive=$gl_cv_next_iconv_h
92622
 
+     fi
92623
 
+     NEXT_AS_FIRST_DIRECTIVE_ICONV_H=$gl_next_as_first_directive
92624
 
+
92625
 
+     
92626
 
+
92627
 
+
92628
 
+
92629
 
+
92630
 
+  
92631
 
+  
92632
 
+  
92633
 
+  if test "$am_cv_func_iconv" = yes; then
92634
 
+        
92635
 
+  
92636
 
+  ICONV_H='iconv.h'
92637
 
+   if test -n "$ICONV_H"; then
92638
 
+  GL_GENERATE_ICONV_H_TRUE=
92639
 
+  GL_GENERATE_ICONV_H_FALSE='#'
92640
 
+else
92641
 
+  GL_GENERATE_ICONV_H_TRUE='#'
92642
 
+  GL_GENERATE_ICONV_H_FALSE=
92643
 
+fi
92644
 
+
92645
 
+
92646
 
+            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92647
 
+/* end confdefs.h.  */
92648
 
+
92649
 
+      #include <iconv.h>
92650
 
+      #if defined _LIBICONV_VERSION || (defined __GLIBC__ && !defined __UCLIBC__)
92651
 
+       gnu_iconv
92652
 
+      #endif
92653
 
+      
92654
 
+_ACEOF
92655
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
92656
 
+  $EGREP "gnu_iconv" >/dev/null 2>&1; then :
92657
 
+  gl_func_iconv_gnu=yes
92658
 
+else
92659
 
+  gl_func_iconv_gnu=no
92660
 
+fi
92661
 
+rm -f conftest*
92662
 
+
92663
 
+    if test $gl_func_iconv_gnu = no; then
92664
 
+      iconv_flavor=
92665
 
+      case "$host_os" in
92666
 
+        aix*)     iconv_flavor=ICONV_FLAVOR_AIX ;;
92667
 
+        irix*)    iconv_flavor=ICONV_FLAVOR_IRIX ;;
92668
 
+        hpux*)    iconv_flavor=ICONV_FLAVOR_HPUX ;;
92669
 
+        osf*)     iconv_flavor=ICONV_FLAVOR_OSF ;;
92670
 
+        solaris*) iconv_flavor=ICONV_FLAVOR_SOLARIS ;;
92671
 
+      esac
92672
 
+      if test -n "$iconv_flavor"; then
92673
 
+        
92674
 
+cat >>confdefs.h <<_ACEOF
92675
 
+@%:@define ICONV_FLAVOR $iconv_flavor
92676
 
+_ACEOF
92677
 
+
92678
 
+        
92679
 
+  
92680
 
+  
92681
 
+  ICONV_H='iconv.h'
92682
 
+   if test -n "$ICONV_H"; then
92683
 
+  GL_GENERATE_ICONV_H_TRUE=
92684
 
+  GL_GENERATE_ICONV_H_FALSE='#'
92685
 
+else
92686
 
+  GL_GENERATE_ICONV_H_TRUE='#'
92687
 
+  GL_GENERATE_ICONV_H_FALSE=
92688
 
+fi
92689
 
+
92690
 
+
92691
 
+  REPLACE_ICONV_OPEN=1
92692
 
+
92693
 
+      fi
92694
 
+    fi
92695
 
+    
92696
 
+  fi
92697
 
+
92698
 
+if test $REPLACE_ICONV_OPEN = 1; then
92699
 
+  
92700
 
+  
92701
 
+  
92702
 
+    
92703
 
+      
92704
 
+      
92705
 
+    
92706
 
+  
92707
 
+  gl_LIBOBJS="$gl_LIBOBJS iconv_open.$ac_objext"
92708
 
+
92709
 
+fi
92710
 
+if test $REPLACE_ICONV = 1; then
92711
 
+  
92712
 
+  
92713
 
+  
92714
 
+    
92715
 
+      
92716
 
+      
92717
 
+    
92718
 
+  
92719
 
+  gl_LIBOBJS="$gl_LIBOBJS iconv.$ac_objext"
92720
 
+
92721
 
+  
92722
 
+  
92723
 
+  
92724
 
+    
92725
 
+      
92726
 
+      
92727
 
+    
92728
 
+  
92729
 
+  gl_LIBOBJS="$gl_LIBOBJS iconv_close.$ac_objext"
92730
 
+
92731
 
+fi
92732
 
+
92733
 
+  :
92734
 
+
92735
 
+
92736
 
+
92737
 
+    
92738
 
+
92739
 
+      HAVE_INET_NTOP=1
92740
 
+  gl_save_LIBS=$LIBS
92741
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
92742
 
+$as_echo_n "checking for library containing inet_ntop... " >&6; }
92743
 
+if ${ac_cv_search_inet_ntop+:} false; then :
92744
 
+  $as_echo_n "(cached) " >&6
92745
 
+else
92746
 
+  ac_func_search_save_LIBS=$LIBS
92747
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92748
 
+/* end confdefs.h.  */
92749
 
+
92750
 
+/* Override any GCC internal prototype to avoid an error.
92751
 
+   Use char because int might match the return type of a GCC
92752
 
+   builtin and then its argument prototype would still apply.  */
92753
 
+#ifdef __cplusplus
92754
 
+extern "C"
92755
 
+#endif
92756
 
+char inet_ntop ();
92757
 
+int
92758
 
+main ()
92759
 
+{
92760
 
+return inet_ntop ();
92761
 
+  ;
92762
 
+  return 0;
92763
 
+}
92764
 
+_ACEOF
92765
 
+for ac_lib in '' nsl; do
92766
 
+  if test -z "$ac_lib"; then
92767
 
+    ac_res="none required"
92768
 
+  else
92769
 
+    ac_res=-l$ac_lib
92770
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
92771
 
+  fi
92772
 
+  if ac_fn_c_try_link "$LINENO"; then :
92773
 
+  ac_cv_search_inet_ntop=$ac_res
92774
 
+fi
92775
 
+rm -f core conftest.err conftest.$ac_objext \
92776
 
+    conftest$ac_exeext
92777
 
+  if ${ac_cv_search_inet_ntop+:} false; then :
92778
 
+  break
92779
 
+fi
92780
 
+done
92781
 
+if ${ac_cv_search_inet_ntop+:} false; then :
92782
 
+  
92783
 
+else
92784
 
+  ac_cv_search_inet_ntop=no
92785
 
+fi
92786
 
+rm conftest.$ac_ext
92787
 
+LIBS=$ac_func_search_save_LIBS
92788
 
+fi
92789
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5
92790
 
+$as_echo "$ac_cv_search_inet_ntop" >&6; }
92791
 
+ac_res=$ac_cv_search_inet_ntop
92792
 
+if test "$ac_res" != no; then :
92793
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
92794
 
+  
92795
 
+else
92796
 
+  for ac_func in inet_ntop
92797
 
+do :
92798
 
+  ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
92799
 
+if test "x$ac_cv_func_inet_ntop" = xyes; then :
92800
 
+  cat >>confdefs.h <<_ACEOF
92801
 
+@%:@define HAVE_INET_NTOP 1
92802
 
+_ACEOF
92803
 
92804
 
+fi
92805
 
+done
92806
 
+
92807
 
+     if test $ac_cv_func_inet_ntop = no; then
92808
 
+       HAVE_INET_NTOP=0
92809
 
+     fi
92810
 
+    
92811
 
+fi
92812
 
+
92813
 
+  LIBS=$gl_save_LIBS
92814
 
+
92815
 
+  INET_NTOP_LIB=
92816
 
+  if test "$ac_cv_search_inet_ntop" != "no" &&
92817
 
+     test "$ac_cv_search_inet_ntop" != "none required"; then
92818
 
+    INET_NTOP_LIB="$ac_cv_search_inet_ntop"
92819
 
+  fi
92820
 
+  
92821
 
+
92822
 
+  
92823
 
+  ac_fn_c_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include <arpa/inet.h>
92824
 
+     #if HAVE_NETDB_H
92825
 
+     # include <netdb.h>
92826
 
+     #endif
92827
 
+    
92828
 
+"
92829
 
+if test "x$ac_cv_have_decl_inet_ntop" = xyes; then :
92830
 
+  ac_have_decl=1
92831
 
+else
92832
 
+  ac_have_decl=0
92833
 
+fi
92834
 
+
92835
 
+cat >>confdefs.h <<_ACEOF
92836
 
+@%:@define HAVE_DECL_INET_NTOP $ac_have_decl
92837
 
+_ACEOF
92838
 
+
92839
 
+  if test $ac_cv_have_decl_inet_ntop = no; then
92840
 
+    HAVE_DECL_INET_NTOP=0
92841
 
+    
92842
 
+  fi
92843
 
+
92844
 
+if test $HAVE_INET_NTOP = 0; then
92845
 
+  
92846
 
+  
92847
 
+  
92848
 
+    
92849
 
+      
92850
 
+      
92851
 
+    
92852
 
+  
92853
 
+  gl_LIBOBJS="$gl_LIBOBJS inet_ntop.$ac_objext"
92854
 
+
92855
 
+  
92856
 
+  
92857
 
+
92858
 
+fi
92859
 
+
92860
 
+    
92861
 
+  
92862
 
+  
92863
 
+  
92864
 
+          GNULIB_INET_NTOP=1
92865
 
+    
92866
 
+
92867
 
+
92868
 
+
92869
 
+
92870
 
+  
92871
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler generally respects inline" >&5
92872
 
+$as_echo_n "checking whether the compiler generally respects inline... " >&6; }
92873
 
+if ${gl_cv_c_inline_effective+:} false; then :
92874
 
+  $as_echo_n "(cached) " >&6
92875
 
+else
92876
 
+  if test $ac_cv_c_inline = no; then
92877
 
+       gl_cv_c_inline_effective=no
92878
 
+     else
92879
 
+                                          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92880
 
+/* end confdefs.h.  */
92881
 
+
92882
 
+int
92883
 
+main ()
92884
 
+{
92885
 
+#ifdef __NO_INLINE__
92886
 
+               #error "inline is not effective"
92887
 
+             #endif
92888
 
+  ;
92889
 
+  return 0;
92890
 
+}
92891
 
+_ACEOF
92892
 
+if ac_fn_c_try_compile "$LINENO"; then :
92893
 
+  gl_cv_c_inline_effective=yes
92894
 
+else
92895
 
+  gl_cv_c_inline_effective=no
92896
 
+fi
92897
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
92898
 
+     fi
92899
 
+    
92900
 
+fi
92901
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_inline_effective" >&5
92902
 
+$as_echo "$gl_cv_c_inline_effective" >&6; }
92903
 
+  if test $gl_cv_c_inline_effective = yes; then
92904
 
+    
92905
 
+$as_echo "@%:@define HAVE_INLINE 1" >>confdefs.h
92906
 
+
92907
 
+  fi
92908
 
+
92909
 
+
92910
 
+  
92911
 
+  
92912
 
+  :
92913
 
+
92914
 
+  :
92915
 
+  :
92916
 
+  :
92917
 
+  :
92918
 
+
92919
 
+
92920
 
+  
92921
 
+  
92922
 
+  
92923
 
+
92924
 
+  PRIPTR_PREFIX=
92925
 
+  if test -n "$STDINT_H"; then
92926
 
+        PRIPTR_PREFIX='"l"'
92927
 
+  else
92928
 
+        for glpfx in '' l ll I64; do
92929
 
+      case $glpfx in
92930
 
+        '')  gltype1='int';;
92931
 
+        l)   gltype1='long int';;
92932
 
+        ll)  gltype1='long long int';;
92933
 
+        I64) gltype1='__int64';;
92934
 
+      esac
92935
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92936
 
+/* end confdefs.h.  */
92937
 
+#include <stdint.h>
92938
 
+           extern intptr_t foo;
92939
 
+           extern $gltype1 foo;
92940
 
+int
92941
 
+main ()
92942
 
+{
92943
 
+
92944
 
+  ;
92945
 
+  return 0;
92946
 
+}
92947
 
+_ACEOF
92948
 
+if ac_fn_c_try_compile "$LINENO"; then :
92949
 
+  PRIPTR_PREFIX='"'$glpfx'"'
92950
 
+fi
92951
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
92952
 
+      test -n "$PRIPTR_PREFIX" && break
92953
 
+    done
92954
 
+  fi
92955
 
+  
92956
 
+
92957
 
+  
92958
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether INT32_MAX < INTMAX_MAX" >&5
92959
 
+$as_echo_n "checking whether INT32_MAX < INTMAX_MAX... " >&6; }
92960
 
+if ${gl_cv_test_INT32_MAX_LT_INTMAX_MAX+:} false; then :
92961
 
+  $as_echo_n "(cached) " >&6
92962
 
+else
92963
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92964
 
+/* end confdefs.h.  */
92965
 
+/* Work also in C++ mode.  */
92966
 
+            #define __STDC_LIMIT_MACROS 1
92967
 
+
92968
 
+            /* Work if build is not clean.  */
92969
 
+            #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H
92970
 
+
92971
 
+            #include <limits.h>
92972
 
+            #if HAVE_STDINT_H
92973
 
+             #include <stdint.h>
92974
 
+            #endif
92975
 
+
92976
 
+            #if defined INT32_MAX && defined INTMAX_MAX
92977
 
+             #define CONDITION (INT32_MAX < INTMAX_MAX)
92978
 
+            #elif HAVE_LONG_LONG_INT
92979
 
+             #define CONDITION (sizeof (int) < sizeof (long long int))
92980
 
+            #else
92981
 
+             #define CONDITION 0
92982
 
+            #endif
92983
 
+            int test[CONDITION ? 1 : -1];
92984
 
+int
92985
 
+main ()
92986
 
+{
92987
 
+
92988
 
+  ;
92989
 
+  return 0;
92990
 
+}
92991
 
+_ACEOF
92992
 
+if ac_fn_c_try_compile "$LINENO"; then :
92993
 
+  gl_cv_test_INT32_MAX_LT_INTMAX_MAX=yes
92994
 
+else
92995
 
+  gl_cv_test_INT32_MAX_LT_INTMAX_MAX=no
92996
 
+fi
92997
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
92998
 
+fi
92999
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&5
93000
 
+$as_echo "$gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&6; }
93001
 
+  if test $gl_cv_test_INT32_MAX_LT_INTMAX_MAX = yes; then
93002
 
+    INT32_MAX_LT_INTMAX_MAX=1;
93003
 
+  else
93004
 
+    INT32_MAX_LT_INTMAX_MAX=0;
93005
 
+  fi
93006
 
+  
93007
 
+
93008
 
+  if test $APPLE_UNIVERSAL_BUILD = 0; then
93009
 
+    
93010
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether INT64_MAX == LONG_MAX" >&5
93011
 
+$as_echo_n "checking whether INT64_MAX == LONG_MAX... " >&6; }
93012
 
+if ${gl_cv_test_INT64_MAX_EQ_LONG_MAX+:} false; then :
93013
 
+  $as_echo_n "(cached) " >&6
93014
 
+else
93015
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93016
 
+/* end confdefs.h.  */
93017
 
+/* Work also in C++ mode.  */
93018
 
+            #define __STDC_LIMIT_MACROS 1
93019
 
+
93020
 
+            /* Work if build is not clean.  */
93021
 
+            #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H
93022
 
+
93023
 
+            #include <limits.h>
93024
 
+            #if HAVE_STDINT_H
93025
 
+             #include <stdint.h>
93026
 
+            #endif
93027
 
+
93028
 
+            #if defined INT64_MAX
93029
 
+             #define CONDITION (INT64_MAX == LONG_MAX)
93030
 
+            #elif HAVE_LONG_LONG_INT
93031
 
+             #define CONDITION (sizeof (long long int) == sizeof (long int))
93032
 
+            #else
93033
 
+             #define CONDITION 0
93034
 
+            #endif
93035
 
+            int test[CONDITION ? 1 : -1];
93036
 
+int
93037
 
+main ()
93038
 
+{
93039
 
+
93040
 
+  ;
93041
 
+  return 0;
93042
 
+}
93043
 
+_ACEOF
93044
 
+if ac_fn_c_try_compile "$LINENO"; then :
93045
 
+  gl_cv_test_INT64_MAX_EQ_LONG_MAX=yes
93046
 
+else
93047
 
+  gl_cv_test_INT64_MAX_EQ_LONG_MAX=no
93048
 
+fi
93049
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93050
 
+fi
93051
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&5
93052
 
+$as_echo "$gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&6; }
93053
 
+  if test $gl_cv_test_INT64_MAX_EQ_LONG_MAX = yes; then
93054
 
+    INT64_MAX_EQ_LONG_MAX=1;
93055
 
+  else
93056
 
+    INT64_MAX_EQ_LONG_MAX=0;
93057
 
+  fi
93058
 
+  
93059
 
+
93060
 
+  else
93061
 
+    INT64_MAX_EQ_LONG_MAX=-1
93062
 
+  fi
93063
 
+  
93064
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UINT32_MAX < UINTMAX_MAX" >&5
93065
 
+$as_echo_n "checking whether UINT32_MAX < UINTMAX_MAX... " >&6; }
93066
 
+if ${gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX+:} false; then :
93067
 
+  $as_echo_n "(cached) " >&6
93068
 
+else
93069
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93070
 
+/* end confdefs.h.  */
93071
 
+/* Work also in C++ mode.  */
93072
 
+            #define __STDC_LIMIT_MACROS 1
93073
 
+
93074
 
+            /* Work if build is not clean.  */
93075
 
+            #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H
93076
 
+
93077
 
+            #include <limits.h>
93078
 
+            #if HAVE_STDINT_H
93079
 
+             #include <stdint.h>
93080
 
+            #endif
93081
 
+
93082
 
+            #if defined UINT32_MAX && defined UINTMAX_MAX
93083
 
+             #define CONDITION (UINT32_MAX < UINTMAX_MAX)
93084
 
+            #elif HAVE_LONG_LONG_INT
93085
 
+             #define CONDITION (sizeof (unsigned int) < sizeof (unsigned long long int))
93086
 
+            #else
93087
 
+             #define CONDITION 0
93088
 
+            #endif
93089
 
+            int test[CONDITION ? 1 : -1];
93090
 
+int
93091
 
+main ()
93092
 
+{
93093
 
+
93094
 
+  ;
93095
 
+  return 0;
93096
 
+}
93097
 
+_ACEOF
93098
 
+if ac_fn_c_try_compile "$LINENO"; then :
93099
 
+  gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=yes
93100
 
+else
93101
 
+  gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=no
93102
 
+fi
93103
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93104
 
+fi
93105
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&5
93106
 
+$as_echo "$gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&6; }
93107
 
+  if test $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX = yes; then
93108
 
+    UINT32_MAX_LT_UINTMAX_MAX=1;
93109
 
+  else
93110
 
+    UINT32_MAX_LT_UINTMAX_MAX=0;
93111
 
+  fi
93112
 
+  
93113
 
+
93114
 
+  if test $APPLE_UNIVERSAL_BUILD = 0; then
93115
 
+    
93116
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UINT64_MAX == ULONG_MAX" >&5
93117
 
+$as_echo_n "checking whether UINT64_MAX == ULONG_MAX... " >&6; }
93118
 
+if ${gl_cv_test_UINT64_MAX_EQ_ULONG_MAX+:} false; then :
93119
 
+  $as_echo_n "(cached) " >&6
93120
 
+else
93121
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93122
 
+/* end confdefs.h.  */
93123
 
+/* Work also in C++ mode.  */
93124
 
+            #define __STDC_LIMIT_MACROS 1
93125
 
+
93126
 
+            /* Work if build is not clean.  */
93127
 
+            #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H
93128
 
+
93129
 
+            #include <limits.h>
93130
 
+            #if HAVE_STDINT_H
93131
 
+             #include <stdint.h>
93132
 
+            #endif
93133
 
+
93134
 
+            #if defined UINT64_MAX
93135
 
+             #define CONDITION (UINT64_MAX == ULONG_MAX)
93136
 
+            #elif HAVE_LONG_LONG_INT
93137
 
+             #define CONDITION (sizeof (unsigned long long int) == sizeof (unsigned long int))
93138
 
+            #else
93139
 
+             #define CONDITION 0
93140
 
+            #endif
93141
 
+            int test[CONDITION ? 1 : -1];
93142
 
+int
93143
 
+main ()
93144
 
+{
93145
 
+
93146
 
+  ;
93147
 
+  return 0;
93148
 
+}
93149
 
+_ACEOF
93150
 
+if ac_fn_c_try_compile "$LINENO"; then :
93151
 
+  gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=yes
93152
 
+else
93153
 
+  gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=no
93154
 
+fi
93155
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93156
 
+fi
93157
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&5
93158
 
+$as_echo "$gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&6; }
93159
 
+  if test $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX = yes; then
93160
 
+    UINT64_MAX_EQ_ULONG_MAX=1;
93161
 
+  else
93162
 
+    UINT64_MAX_EQ_ULONG_MAX=0;
93163
 
+  fi
93164
 
+  
93165
 
+
93166
 
+  else
93167
 
+    UINT64_MAX_EQ_ULONG_MAX=-1
93168
 
+  fi
93169
 
+
93170
 
+
93171
 
+
93172
 
+
93173
 
+  # OpenVMS has isapipe already, so check for it.
93174
 
+  for ac_func in isapipe
93175
 
+do :
93176
 
+  ac_fn_c_check_func "$LINENO" "isapipe" "ac_cv_func_isapipe"
93177
 
+if test "x$ac_cv_func_isapipe" = xyes; then :
93178
 
+  cat >>confdefs.h <<_ACEOF
93179
 
+@%:@define HAVE_ISAPIPE 1
93180
 
+_ACEOF
93181
 
93182
 
+fi
93183
 
+done
93184
 
+
93185
 
+  if test $ac_cv_func_isapipe = yes; then
93186
 
+    HAVE_ISAPIPE=1
93187
 
+  else
93188
 
+    HAVE_ISAPIPE=0
93189
 
+  fi
93190
 
+
93191
 
+if test $HAVE_ISAPIPE = 0; then
93192
 
+  
93193
 
+  
93194
 
+  
93195
 
+    
93196
 
+      
93197
 
+      
93198
 
+    
93199
 
+  
93200
 
+  gl_LIBOBJS="$gl_LIBOBJS isapipe.$ac_objext"
93201
 
+
93202
 
+  
93203
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pipes are FIFOs (and for their link count)" >&5
93204
 
+$as_echo_n "checking whether pipes are FIFOs (and for their link count)... " >&6; }
93205
 
+if ${gl_cv_pipes_are_fifos+:} false; then :
93206
 
+  $as_echo_n "(cached) " >&6
93207
 
+else
93208
 
+  if test "$cross_compiling" = yes; then :
93209
 
+  gl_cv_pipes_are_fifos=cross-compiling
93210
 
+else
93211
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93212
 
+/* end confdefs.h.  */
93213
 
+#include <stdio.h>
93214
 
+            #include <sys/types.h>
93215
 
+            #include <sys/stat.h>
93216
 
+            #include <unistd.h>
93217
 
+            #ifndef S_ISFIFO
93218
 
+             #define S_ISFIFO(m) 0
93219
 
+            #endif
93220
 
+            #ifndef S_ISSOCK
93221
 
+             #define S_ISSOCK(m) 0
93222
 
+            #endif
93223
 
+            int
93224
 
+            main (int argc, char **argv)
93225
 
+            {
93226
 
+              int fd[2];
93227
 
+              struct stat st;
93228
 
+              if (pipe (fd) != 0)
93229
 
+                return 1;
93230
 
+              if (fstat (fd[0], &st) != 0)
93231
 
+                return 2;
93232
 
+              if (2 <= argc && argv[1][0] == '-')
93233
 
+                {
93234
 
+                  char const *yesno = (S_ISFIFO (st.st_mode) ? "yes" : "no");
93235
 
+                  if (st.st_nlink <= 1)
93236
 
+                    {
93237
 
+                      long int i = st.st_nlink;
93238
 
+                      if (i != st.st_nlink)
93239
 
+                        return 3;
93240
 
+                      printf ("%s (%ld)\n", yesno, i);
93241
 
+                    }
93242
 
+                  else
93243
 
+                    {
93244
 
+                      unsigned long int i = st.st_nlink;
93245
 
+                      if (i != st.st_nlink)
93246
 
+                        return 4;
93247
 
+                      printf ("%s (%lu)\n", yesno, i);
93248
 
+                    }
93249
 
+                }
93250
 
+              else
93251
 
+                {
93252
 
+                  if (! S_ISFIFO (st.st_mode) && ! S_ISSOCK (st.st_mode))
93253
 
+                    return 5;
93254
 
+                }
93255
 
+              return 0;
93256
 
+            }
93257
 
+_ACEOF
93258
 
+if ac_fn_c_try_run "$LINENO"; then :
93259
 
+  gl_cv_pipes_are_fifos=`./conftest$ac_exeext -`
93260
 
+        test -z "$gl_cv_pipes_are_fifos" && gl_cv_pipes_are_fifos=no
93261
 
+else
93262
 
+  gl_cv_pipes_are_fifos=unknown
93263
 
+fi
93264
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
93265
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
93266
 
+fi
93267
 
+
93268
 
+fi
93269
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pipes_are_fifos" >&5
93270
 
+$as_echo "$gl_cv_pipes_are_fifos" >&6; }
93271
 
+
93272
 
+  case $gl_cv_pipes_are_fifos in #(
93273
 
+  'yes ('*')')
93274
 
+    
93275
 
+$as_echo "@%:@define HAVE_FIFO_PIPES 1" >>confdefs.h
93276
 
+;; #(
93277
 
+  'no ('*')')
93278
 
+    $as_echo "@%:@define HAVE_FIFO_PIPES 0" >>confdefs.h
93279
 
+;;
93280
 
+  esac
93281
 
+
93282
 
+  case $gl_cv_pipes_are_fifos in #(
93283
 
+  *'('*')')
93284
 
+    
93285
 
+cat >>confdefs.h <<_ACEOF
93286
 
+@%:@define PIPE_LINK_COUNT_MAX `expr "$gl_cv_pipes_are_fifos" : '.*\((.*)\)'`
93287
 
+_ACEOF
93288
 
+;;
93289
 
+  esac
93290
 
+
93291
 
+fi
93292
 
+
93293
 
+    
93294
 
+
93295
 
+  
93296
 
+  
93297
 
+  if test $ac_cv_func_isblank = no; then
93298
 
+    HAVE_ISBLANK=0
93299
 
+  fi
93300
 
+
93301
 
+if test $HAVE_ISBLANK = 0; then
93302
 
+  
93303
 
+  
93304
 
+  
93305
 
+    
93306
 
+      
93307
 
+      
93308
 
+    
93309
 
+  
93310
 
+  gl_LIBOBJS="$gl_LIBOBJS isblank.$ac_objext"
93311
 
+
93312
 
+fi
93313
 
+
93314
 
+    
93315
 
+  
93316
 
+  
93317
 
+  
93318
 
+          GNULIB_ISBLANK=1
93319
 
+    
93320
 
+
93321
 
+
93322
 
+
93323
 
+
93324
 
+  
93325
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(double) can be used without linking with libm" >&5
93326
 
+$as_echo_n "checking whether isnan(double) can be used without linking with libm... " >&6; }
93327
 
+if ${gl_cv_func_isnand_no_libm+:} false; then :
93328
 
+  $as_echo_n "(cached) " >&6
93329
 
+else
93330
 
+  
93331
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93332
 
+/* end confdefs.h.  */
93333
 
+#include <math.h>
93334
 
+             #if __GNUC__ >= 4
93335
 
+             # undef isnand
93336
 
+             # define isnand(x) __builtin_isnan ((double)(x))
93337
 
+             #else
93338
 
+             # undef isnand
93339
 
+             # define isnand(x) isnan ((double)(x))
93340
 
+             #endif
93341
 
+             double x;
93342
 
+int
93343
 
+main ()
93344
 
+{
93345
 
+return isnand (x);
93346
 
+  ;
93347
 
+  return 0;
93348
 
+}
93349
 
+_ACEOF
93350
 
+if ac_fn_c_try_link "$LINENO"; then :
93351
 
+  gl_cv_func_isnand_no_libm=yes
93352
 
+else
93353
 
+  gl_cv_func_isnand_no_libm=no
93354
 
+fi
93355
 
+rm -f core conftest.err conftest.$ac_objext \
93356
 
+    conftest$ac_exeext conftest.$ac_ext
93357
 
+    
93358
 
+fi
93359
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnand_no_libm" >&5
93360
 
+$as_echo "$gl_cv_func_isnand_no_libm" >&6; }
93361
 
+
93362
 
+  gl_func_isnand_no_libm=$gl_cv_func_isnand_no_libm
93363
 
+  if test $gl_cv_func_isnand_no_libm = yes; then
93364
 
+    
93365
 
+$as_echo "@%:@define HAVE_ISNAND_IN_LIBC 1" >>confdefs.h
93366
 
+
93367
 
+  fi
93368
 
+
93369
 
+if test $gl_func_isnand_no_libm != yes; then
93370
 
+  
93371
 
+  
93372
 
+  
93373
 
+    
93374
 
+      
93375
 
+      
93376
 
+    
93377
 
+  
93378
 
+  gl_LIBOBJS="$gl_LIBOBJS isnand.$ac_objext"
93379
 
+
93380
 
+  
93381
 
+  
93382
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5
93383
 
+$as_echo_n "checking where to find the exponent in a 'double'... " >&6; }
93384
 
+if ${gl_cv_cc_double_expbit0+:} false; then :
93385
 
+  $as_echo_n "(cached) " >&6
93386
 
+else
93387
 
+  
93388
 
+      if test "$cross_compiling" = yes; then :
93389
 
+  
93390
 
+                                                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93391
 
+/* end confdefs.h.  */
93392
 
+
93393
 
+#if defined arm || defined __arm || defined __arm__
93394
 
+  mixed_endianness
93395
 
+#endif
93396
 
+            
93397
 
+_ACEOF
93398
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
93399
 
+  $EGREP "mixed_endianness" >/dev/null 2>&1; then :
93400
 
+  gl_cv_cc_double_expbit0="unknown"
93401
 
+else
93402
 
+  
93403
 
+                                                         :
93404
 
+if ${ac_cv_c_bigendian+:} false; then :
93405
 
+  $as_echo_n "(cached) " >&6
93406
 
+else
93407
 
+  ac_cv_c_bigendian=unknown
93408
 
+    # See if we're dealing with a universal compiler.
93409
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93410
 
+/* end confdefs.h.  */
93411
 
+#ifndef __APPLE_CC__
93412
 
+              not a universal capable compiler
93413
 
+            #endif
93414
 
+            typedef int dummy;
93415
 
+           
93416
 
+_ACEOF
93417
 
+if ac_fn_c_try_compile "$LINENO"; then :
93418
 
+  
93419
 
+       # Check for potential -arch flags.  It is not universal unless
93420
 
+       # there are at least two -arch flags with different values.
93421
 
+       ac_arch=
93422
 
+       ac_prev=
93423
 
+       for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
93424
 
+        if test -n "$ac_prev"; then
93425
 
+          case $ac_word in
93426
 
+            i?86 | x86_64 | ppc | ppc64)
93427
 
+              if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
93428
 
+                ac_arch=$ac_word
93429
 
+              else
93430
 
+                ac_cv_c_bigendian=universal
93431
 
+                break
93432
 
+              fi
93433
 
+              ;;
93434
 
+          esac
93435
 
+          ac_prev=
93436
 
+        elif test "x$ac_word" = "x-arch"; then
93437
 
+          ac_prev=arch
93438
 
+        fi
93439
 
+       done
93440
 
+fi
93441
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93442
 
+    if test $ac_cv_c_bigendian = unknown; then
93443
 
+      # See if sys/param.h defines the BYTE_ORDER macro.
93444
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93445
 
+/* end confdefs.h.  */
93446
 
+#include <sys/types.h>
93447
 
+            #include <sys/param.h>
93448
 
+          
93449
 
+int
93450
 
+main ()
93451
 
+{
93452
 
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
93453
 
+                    && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
93454
 
+                    && LITTLE_ENDIAN)
93455
 
+             bogus endian macros
93456
 
+            #endif
93457
 
+          
93458
 
+  ;
93459
 
+  return 0;
93460
 
+}
93461
 
+_ACEOF
93462
 
+if ac_fn_c_try_compile "$LINENO"; then :
93463
 
+  # It does; now see whether it defined to BIG_ENDIAN or not.
93464
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93465
 
+/* end confdefs.h.  */
93466
 
+#include <sys/types.h>
93467
 
+               #include <sys/param.h>
93468
 
+             
93469
 
+int
93470
 
+main ()
93471
 
+{
93472
 
+#if BYTE_ORDER != BIG_ENDIAN
93473
 
+                not big endian
93474
 
+               #endif
93475
 
+             
93476
 
+  ;
93477
 
+  return 0;
93478
 
+}
93479
 
+_ACEOF
93480
 
+if ac_fn_c_try_compile "$LINENO"; then :
93481
 
+  ac_cv_c_bigendian=yes
93482
 
+else
93483
 
+  ac_cv_c_bigendian=no
93484
 
+fi
93485
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93486
 
+fi
93487
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93488
 
+    fi
93489
 
+    if test $ac_cv_c_bigendian = unknown; then
93490
 
+      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
93491
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93492
 
+/* end confdefs.h.  */
93493
 
+#include <limits.h>
93494
 
+          
93495
 
+int
93496
 
+main ()
93497
 
+{
93498
 
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
93499
 
+             bogus endian macros
93500
 
+            #endif
93501
 
+          
93502
 
+  ;
93503
 
+  return 0;
93504
 
+}
93505
 
+_ACEOF
93506
 
+if ac_fn_c_try_compile "$LINENO"; then :
93507
 
+  # It does; now see whether it defined to _BIG_ENDIAN or not.
93508
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93509
 
+/* end confdefs.h.  */
93510
 
+#include <limits.h>
93511
 
+             
93512
 
+int
93513
 
+main ()
93514
 
+{
93515
 
+#ifndef _BIG_ENDIAN
93516
 
+                not big endian
93517
 
+               #endif
93518
 
+             
93519
 
+  ;
93520
 
+  return 0;
93521
 
+}
93522
 
+_ACEOF
93523
 
+if ac_fn_c_try_compile "$LINENO"; then :
93524
 
+  ac_cv_c_bigendian=yes
93525
 
+else
93526
 
+  ac_cv_c_bigendian=no
93527
 
+fi
93528
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93529
 
+fi
93530
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93531
 
+    fi
93532
 
+    if test $ac_cv_c_bigendian = unknown; then
93533
 
+      # Compile a test program.
93534
 
+      if test "$cross_compiling" = yes; then :
93535
 
+  # Try to guess by grepping values from an object file.
93536
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93537
 
+/* end confdefs.h.  */
93538
 
+short int ascii_mm[] =
93539
 
+                 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
93540
 
+               short int ascii_ii[] =
93541
 
+                 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
93542
 
+               int use_ascii (int i) {
93543
 
+                 return ascii_mm[i] + ascii_ii[i];
93544
 
+               }
93545
 
+               short int ebcdic_ii[] =
93546
 
+                 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
93547
 
+               short int ebcdic_mm[] =
93548
 
+                 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
93549
 
+               int use_ebcdic (int i) {
93550
 
+                 return ebcdic_mm[i] + ebcdic_ii[i];
93551
 
+               }
93552
 
+               extern int foo;
93553
 
+             
93554
 
+int
93555
 
+main ()
93556
 
+{
93557
 
+return use_ascii (foo) == use_ebcdic (foo);
93558
 
+  ;
93559
 
+  return 0;
93560
 
+}
93561
 
+_ACEOF
93562
 
+if ac_fn_c_try_compile "$LINENO"; then :
93563
 
+  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
93564
 
+             ac_cv_c_bigendian=yes
93565
 
+           fi
93566
 
+           if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
93567
 
+             if test "$ac_cv_c_bigendian" = unknown; then
93568
 
+               ac_cv_c_bigendian=no
93569
 
+             else
93570
 
+               # finding both strings is unlikely to happen, but who knows?
93571
 
+               ac_cv_c_bigendian=unknown
93572
 
+             fi
93573
 
+           fi
93574
 
+fi
93575
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93576
 
+else
93577
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93578
 
+/* end confdefs.h.  */
93579
 
+$ac_includes_default
93580
 
+int
93581
 
+main ()
93582
 
+{
93583
 
+
93584
 
+            /* Are we little or big endian?  From Harbison&Steele.  */
93585
 
+            union
93586
 
+            {
93587
 
+              long int l;
93588
 
+              char c[sizeof (long int)];
93589
 
+            } u;
93590
 
+            u.l = 1;
93591
 
+            return u.c[sizeof (long int) - 1] == 1;
93592
 
+          
93593
 
+  ;
93594
 
+  return 0;
93595
 
+}
93596
 
+_ACEOF
93597
 
+if ac_fn_c_try_run "$LINENO"; then :
93598
 
+  ac_cv_c_bigendian=no
93599
 
+else
93600
 
+  ac_cv_c_bigendian=yes
93601
 
+fi
93602
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
93603
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
93604
 
+fi
93605
 
+
93606
 
+    fi
93607
 
+fi
93608
 
+:
93609
 
+ case $ac_cv_c_bigendian in #(
93610
 
+   yes)
93611
 
+     gl_cv_cc_double_expbit0="word 0 bit 20";; #(
93612
 
+   no)
93613
 
+     gl_cv_cc_double_expbit0="word 1 bit 20" ;; #(
93614
 
+   universal)
93615
 
+       
93616
 
+$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
93617
 
+
93618
 
+     ;; #(
93619
 
+   *)
93620
 
+     gl_cv_cc_double_expbit0="unknown" ;;
93621
 
+ esac
93622
 
+
93623
 
+                                                      
93624
 
+fi
93625
 
+rm -f conftest*
93626
 
+
93627
 
+        
93628
 
+else
93629
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93630
 
+/* end confdefs.h.  */
93631
 
+
93632
 
+#include <float.h>
93633
 
+#include <stddef.h>
93634
 
+#include <stdio.h>
93635
 
+#include <string.h>
93636
 
+#define NWORDS \
93637
 
+  ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
93638
 
+typedef union { double value; unsigned int word[NWORDS]; } memory_double;
93639
 
+static unsigned int ored_words[NWORDS];
93640
 
+static unsigned int anded_words[NWORDS];
93641
 
+static void add_to_ored_words (double x)
93642
 
+{
93643
 
+  memory_double m;
93644
 
+  size_t i;
93645
 
+  /* Clear it first, in case sizeof (double) < sizeof (memory_double).  */
93646
 
+  memset (&m, 0, sizeof (memory_double));
93647
 
+  m.value = x;
93648
 
+  for (i = 0; i < NWORDS; i++)
93649
 
+    {
93650
 
+      ored_words[i] |= m.word[i];
93651
 
+      anded_words[i] &= m.word[i];
93652
 
+    }
93653
 
+}
93654
 
+int main ()
93655
 
+{
93656
 
+  size_t j;
93657
 
+  FILE *fp = fopen ("conftest.out", "w");
93658
 
+  if (fp == NULL)
93659
 
+    return 1;
93660
 
+  for (j = 0; j < NWORDS; j++)
93661
 
+    anded_words[j] = ~ (unsigned int) 0;
93662
 
+  add_to_ored_words (0.25);
93663
 
+  add_to_ored_words (0.5);
93664
 
+  add_to_ored_words (1.0);
93665
 
+  add_to_ored_words (2.0);
93666
 
+  add_to_ored_words (4.0);
93667
 
+  /* Remove bits that are common (e.g. if representation of the first mantissa
93668
 
+     bit is explicit).  */
93669
 
+  for (j = 0; j < NWORDS; j++)
93670
 
+    ored_words[j] &= ~anded_words[j];
93671
 
+  /* Now find the nonzero word.  */
93672
 
+  for (j = 0; j < NWORDS; j++)
93673
 
+    if (ored_words[j] != 0)
93674
 
+      break;
93675
 
+  if (j < NWORDS)
93676
 
+    {
93677
 
+      size_t i;
93678
 
+      for (i = j + 1; i < NWORDS; i++)
93679
 
+        if (ored_words[i] != 0)
93680
 
+          {
93681
 
+            fprintf (fp, "unknown");
93682
 
+            return (fclose (fp) != 0);
93683
 
+          }
93684
 
+      for (i = 0; ; i++)
93685
 
+        if ((ored_words[j] >> i) & 1)
93686
 
+          {
93687
 
+            fprintf (fp, "word %d bit %d", (int) j, (int) i);
93688
 
+            return (fclose (fp) != 0);
93689
 
+          }
93690
 
+    }
93691
 
+  fprintf (fp, "unknown");
93692
 
+  return (fclose (fp) != 0);
93693
 
+}
93694
 
+        
93695
 
+_ACEOF
93696
 
+if ac_fn_c_try_run "$LINENO"; then :
93697
 
+  gl_cv_cc_double_expbit0=`cat conftest.out`
93698
 
+else
93699
 
+  gl_cv_cc_double_expbit0="unknown"
93700
 
+fi
93701
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
93702
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
93703
 
+fi
93704
 
+
93705
 
+      rm -f conftest.out
93706
 
+    
93707
 
+fi
93708
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5
93709
 
+$as_echo "$gl_cv_cc_double_expbit0" >&6; }
93710
 
+  case "$gl_cv_cc_double_expbit0" in
93711
 
+    word*bit*)
93712
 
+      word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
93713
 
+      bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'`
93714
 
+      
93715
 
+cat >>confdefs.h <<_ACEOF
93716
 
+@%:@define DBL_EXPBIT0_WORD $word
93717
 
+_ACEOF
93718
 
+
93719
 
+      
93720
 
+cat >>confdefs.h <<_ACEOF
93721
 
+@%:@define DBL_EXPBIT0_BIT $bit
93722
 
+_ACEOF
93723
 
+
93724
 
+      ;;
93725
 
+  esac
93726
 
+
93727
 
+
93728
 
+fi
93729
 
+
93730
 
+  
93731
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) can be used without linking with libm" >&5
93732
 
+$as_echo_n "checking whether isnan(float) can be used without linking with libm... " >&6; }
93733
 
+if ${gl_cv_func_isnanf_no_libm+:} false; then :
93734
 
+  $as_echo_n "(cached) " >&6
93735
 
+else
93736
 
+  
93737
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93738
 
+/* end confdefs.h.  */
93739
 
+#include <math.h>
93740
 
+             #if __GNUC__ >= 4
93741
 
+             # undef isnanf
93742
 
+             # define isnanf(x) __builtin_isnanf ((float)(x))
93743
 
+             #elif defined isnan
93744
 
+             # undef isnanf
93745
 
+             # define isnanf(x) isnan ((float)(x))
93746
 
+             #endif
93747
 
+             float x;
93748
 
+int
93749
 
+main ()
93750
 
+{
93751
 
+return isnanf (x);
93752
 
+  ;
93753
 
+  return 0;
93754
 
+}
93755
 
+_ACEOF
93756
 
+if ac_fn_c_try_link "$LINENO"; then :
93757
 
+  gl_cv_func_isnanf_no_libm=yes
93758
 
+else
93759
 
+  gl_cv_func_isnanf_no_libm=no
93760
 
+fi
93761
 
+rm -f core conftest.err conftest.$ac_objext \
93762
 
+    conftest$ac_exeext conftest.$ac_ext
93763
 
+    
93764
 
+fi
93765
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanf_no_libm" >&5
93766
 
+$as_echo "$gl_cv_func_isnanf_no_libm" >&6; }
93767
 
+
93768
 
+  if test $gl_cv_func_isnanf_no_libm = yes; then
93769
 
+    
93770
 
+  
93771
 
+     
93772
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) works" >&5
93773
 
+$as_echo_n "checking whether isnan(float) works... " >&6; }
93774
 
+if ${gl_cv_func_isnanf_works+:} false; then :
93775
 
+  $as_echo_n "(cached) " >&6
93776
 
+else
93777
 
+  
93778
 
+      if test "$cross_compiling" = yes; then :
93779
 
+  case "$host_os" in
93780
 
+           irix* | solaris*) gl_cv_func_isnanf_works="guessing no";;
93781
 
+           *)                gl_cv_func_isnanf_works="guessing yes";;
93782
 
+         esac
93783
 
+        
93784
 
+else
93785
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93786
 
+/* end confdefs.h.  */
93787
 
+
93788
 
+#include <math.h>
93789
 
+#if __GNUC__ >= 4
93790
 
+# undef isnanf
93791
 
+# define isnanf(x) __builtin_isnanf ((float)(x))
93792
 
+#elif defined isnan
93793
 
+# undef isnanf
93794
 
+# define isnanf(x) isnan ((float)(x))
93795
 
+#endif
93796
 
+/* The Compaq (ex-DEC) C 6.4 compiler chokes on the expression 0.0 / 0.0.  */
93797
 
+#ifdef __DECC
93798
 
+static float
93799
 
+NaN ()
93800
 
+{
93801
 
+  static float zero = 0.0f;
93802
 
+  return zero / zero;
93803
 
+}
93804
 
+#else
93805
 
+# define NaN() (0.0f / 0.0f)
93806
 
+#endif
93807
 
+#define NWORDS \
93808
 
+  ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
93809
 
+typedef union { unsigned int word[NWORDS]; float value; } memory_float;
93810
 
+int main()
93811
 
+{
93812
 
+  int result = 0;
93813
 
+
93814
 
+  if (isnanf (1.0f / 0.0f))
93815
 
+    result |= 1;
93816
 
+
93817
 
+  if (!isnanf (NaN ()))
93818
 
+    result |= 2;
93819
 
+
93820
 
+#if defined FLT_EXPBIT0_WORD && defined FLT_EXPBIT0_BIT
93821
 
+  /* The isnanf function should be immune against changes in the sign bit and
93822
 
+     in the mantissa bits.  The xor operation twiddles a bit that can only be
93823
 
+     a sign bit or a mantissa bit.  */
93824
 
+  if (FLT_EXPBIT0_WORD == 0 && FLT_EXPBIT0_BIT > 0)
93825
 
+    {
93826
 
+      memory_float m;
93827
 
+
93828
 
+      m.value = NaN ();
93829
 
+      /* Set the bits below the exponent to 01111...111.  */
93830
 
+      m.word[0] &= -1U << FLT_EXPBIT0_BIT;
93831
 
+      m.word[0] |= 1U << (FLT_EXPBIT0_BIT - 1) - 1;
93832
 
+      if (!isnanf (m.value))
93833
 
+        result |= 4;
93834
 
+    }
93835
 
+#endif
93836
 
+
93837
 
+  return result;
93838
 
+}
93839
 
+_ACEOF
93840
 
+if ac_fn_c_try_run "$LINENO"; then :
93841
 
+  gl_cv_func_isnanf_works=yes
93842
 
+else
93843
 
+  gl_cv_func_isnanf_works=no
93844
 
+fi
93845
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
93846
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
93847
 
+fi
93848
 
+
93849
 
+    
93850
 
+fi
93851
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanf_works" >&5
93852
 
+$as_echo "$gl_cv_func_isnanf_works" >&6; }
93853
 
+
93854
 
+  fi
93855
 
+  if test $gl_cv_func_isnanf_no_libm = yes \
93856
 
+     && { case "$gl_cv_func_isnanf_works" in
93857
 
+            *yes) true;;
93858
 
+            *) false;;
93859
 
+          esac
93860
 
+        }; then
93861
 
+    gl_func_isnanf_no_libm=yes
93862
 
+    
93863
 
+$as_echo "@%:@define HAVE_ISNANF_IN_LIBC 1" >>confdefs.h
93864
 
+
93865
 
+  else
93866
 
+    gl_func_isnanf_no_libm=no
93867
 
+  fi
93868
 
+
93869
 
+if test $gl_func_isnanf_no_libm != yes; then
93870
 
+  
93871
 
+  
93872
 
+  
93873
 
+    
93874
 
+      
93875
 
+      
93876
 
+    
93877
 
+  
93878
 
+  gl_LIBOBJS="$gl_LIBOBJS isnanf.$ac_objext"
93879
 
+
93880
 
+  
93881
 
+  
93882
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
93883
 
+$as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
93884
 
+if ${gl_cv_cc_float_expbit0+:} false; then :
93885
 
+  $as_echo_n "(cached) " >&6
93886
 
+else
93887
 
+  
93888
 
+      if test "$cross_compiling" = yes; then :
93889
 
+  gl_cv_cc_float_expbit0="word 0 bit 23"
93890
 
+else
93891
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
93892
 
+/* end confdefs.h.  */
93893
 
+
93894
 
+#include <float.h>
93895
 
+#include <stddef.h>
93896
 
+#include <stdio.h>
93897
 
+#include <string.h>
93898
 
+#define NWORDS \
93899
 
+  ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
93900
 
+typedef union { float value; unsigned int word[NWORDS]; } memory_float;
93901
 
+static unsigned int ored_words[NWORDS];
93902
 
+static unsigned int anded_words[NWORDS];
93903
 
+static void add_to_ored_words (float x)
93904
 
+{
93905
 
+  memory_float m;
93906
 
+  size_t i;
93907
 
+  /* Clear it first, in case
93908
 
+     sizeof (float) < sizeof (memory_float).  */
93909
 
+  memset (&m, 0, sizeof (memory_float));
93910
 
+  m.value = x;
93911
 
+  for (i = 0; i < NWORDS; i++)
93912
 
+    {
93913
 
+      ored_words[i] |= m.word[i];
93914
 
+      anded_words[i] &= m.word[i];
93915
 
+    }
93916
 
+}
93917
 
+int main ()
93918
 
+{
93919
 
+  size_t j;
93920
 
+  FILE *fp = fopen ("conftest.out", "w");
93921
 
+  if (fp == NULL)
93922
 
+    return 1;
93923
 
+  for (j = 0; j < NWORDS; j++)
93924
 
+    anded_words[j] = ~ (unsigned int) 0;
93925
 
+  add_to_ored_words (0.25f);
93926
 
+  add_to_ored_words (0.5f);
93927
 
+  add_to_ored_words (1.0f);
93928
 
+  add_to_ored_words (2.0f);
93929
 
+  add_to_ored_words (4.0f);
93930
 
+  /* Remove bits that are common (e.g. if representation of the first mantissa
93931
 
+     bit is explicit).  */
93932
 
+  for (j = 0; j < NWORDS; j++)
93933
 
+    ored_words[j] &= ~anded_words[j];
93934
 
+  /* Now find the nonzero word.  */
93935
 
+  for (j = 0; j < NWORDS; j++)
93936
 
+    if (ored_words[j] != 0)
93937
 
+      break;
93938
 
+  if (j < NWORDS)
93939
 
+    {
93940
 
+      size_t i;
93941
 
+      for (i = j + 1; i < NWORDS; i++)
93942
 
+        if (ored_words[i] != 0)
93943
 
+          {
93944
 
+            fprintf (fp, "unknown");
93945
 
+            return (fclose (fp) != 0);
93946
 
+          }
93947
 
+      for (i = 0; ; i++)
93948
 
+        if ((ored_words[j] >> i) & 1)
93949
 
+          {
93950
 
+            fprintf (fp, "word %d bit %d", (int) j, (int) i);
93951
 
+            return (fclose (fp) != 0);
93952
 
+          }
93953
 
+    }
93954
 
+  fprintf (fp, "unknown");
93955
 
+  return (fclose (fp) != 0);
93956
 
+}
93957
 
+        
93958
 
+_ACEOF
93959
 
+if ac_fn_c_try_run "$LINENO"; then :
93960
 
+  gl_cv_cc_float_expbit0=`cat conftest.out`
93961
 
+else
93962
 
+  gl_cv_cc_float_expbit0="unknown"
93963
 
+fi
93964
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
93965
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
93966
 
+fi
93967
 
+
93968
 
+      rm -f conftest.out
93969
 
+    
93970
 
+fi
93971
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5
93972
 
+$as_echo "$gl_cv_cc_float_expbit0" >&6; }
93973
 
+  case "$gl_cv_cc_float_expbit0" in
93974
 
+    word*bit*)
93975
 
+      word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
93976
 
+      bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'`
93977
 
+      
93978
 
+cat >>confdefs.h <<_ACEOF
93979
 
+@%:@define FLT_EXPBIT0_WORD $word
93980
 
+_ACEOF
93981
 
+
93982
 
+      
93983
 
+cat >>confdefs.h <<_ACEOF
93984
 
+@%:@define FLT_EXPBIT0_BIT $bit
93985
 
+_ACEOF
93986
 
+
93987
 
+      ;;
93988
 
+  esac
93989
 
+
93990
 
+
93991
 
+fi
93992
 
+
93993
 
+  
93994
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(long double) can be used without linking with libm" >&5
93995
 
+$as_echo_n "checking whether isnan(long double) can be used without linking with libm... " >&6; }
93996
 
+if ${gl_cv_func_isnanl_no_libm+:} false; then :
93997
 
+  $as_echo_n "(cached) " >&6
93998
 
+else
93999
 
+  
94000
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94001
 
+/* end confdefs.h.  */
94002
 
+#include <math.h>
94003
 
+             #if __GNUC__ >= 4
94004
 
+             # undef isnanl
94005
 
+             # define isnanl(x) __builtin_isnanl ((long double)(x))
94006
 
+             #elif defined isnan
94007
 
+             # undef isnanl
94008
 
+             # define isnanl(x) isnan ((long double)(x))
94009
 
+             #endif
94010
 
+             long double x;
94011
 
+int
94012
 
+main ()
94013
 
+{
94014
 
+return isnanl (x);
94015
 
+  ;
94016
 
+  return 0;
94017
 
+}
94018
 
+_ACEOF
94019
 
+if ac_fn_c_try_link "$LINENO"; then :
94020
 
+  gl_cv_func_isnanl_no_libm=yes
94021
 
+else
94022
 
+  gl_cv_func_isnanl_no_libm=no
94023
 
+fi
94024
 
+rm -f core conftest.err conftest.$ac_objext \
94025
 
+    conftest$ac_exeext conftest.$ac_ext
94026
 
+    
94027
 
+fi
94028
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanl_no_libm" >&5
94029
 
+$as_echo "$gl_cv_func_isnanl_no_libm" >&6; }
94030
 
+
94031
 
+  gl_func_isnanl_no_libm=$gl_cv_func_isnanl_no_libm
94032
 
+  if test $gl_func_isnanl_no_libm = yes; then
94033
 
+    
94034
 
+  
94035
 
+  
94036
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnanl works" >&5
94037
 
+$as_echo_n "checking whether isnanl works... " >&6; }
94038
 
+if ${gl_cv_func_isnanl_works+:} false; then :
94039
 
+  $as_echo_n "(cached) " >&6
94040
 
+else
94041
 
+  
94042
 
+      if test "$cross_compiling" = yes; then :
94043
 
+  case "$host_cpu" in
94044
 
+                                 # Guess no on ia64, x86_64, i386.
94045
 
+           ia64 | x86_64 | i*86) gl_cv_func_isnanl_works="guessing no";;
94046
 
+           *)
94047
 
+             case "$host_os" in
94048
 
+               netbsd*) gl_cv_func_isnanl_works="guessing no";;
94049
 
+               *)       gl_cv_func_isnanl_works="guessing yes";;
94050
 
+             esac
94051
 
+             ;;
94052
 
+         esac
94053
 
+        
94054
 
+else
94055
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94056
 
+/* end confdefs.h.  */
94057
 
+
94058
 
+#include <float.h>
94059
 
+#include <limits.h>
94060
 
+#include <math.h>
94061
 
+#if __GNUC__ >= 4
94062
 
+# undef isnanl
94063
 
+# define isnanl(x) __builtin_isnanl ((long double)(x))
94064
 
+#elif defined isnan
94065
 
+# undef isnanl
94066
 
+# define isnanl(x) isnan ((long double)(x))
94067
 
+#endif
94068
 
+#define NWORDS \
94069
 
+  ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
94070
 
+typedef union { unsigned int word[NWORDS]; long double value; }
94071
 
+        memory_long_double;
94072
 
+/* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the
94073
 
+   runtime type conversion.  */
94074
 
+#ifdef __sgi
94075
 
+static long double NaNl ()
94076
 
+{
94077
 
+  double zero = 0.0;
94078
 
+  return zero / zero;
94079
 
+}
94080
 
+#else
94081
 
+# define NaNl() (0.0L / 0.0L)
94082
 
+#endif
94083
 
+int main ()
94084
 
+{
94085
 
+  int result = 0;
94086
 
+
94087
 
+  if (!isnanl (NaNl ()))
94088
 
+    result |= 1;
94089
 
+
94090
 
+  {
94091
 
+    memory_long_double m;
94092
 
+    unsigned int i;
94093
 
+
94094
 
+    /* The isnanl function should be immune against changes in the sign bit and
94095
 
+       in the mantissa bits.  The xor operation twiddles a bit that can only be
94096
 
+       a sign bit or a mantissa bit (since the exponent never extends to
94097
 
+       bit 31).  */
94098
 
+    m.value = NaNl ();
94099
 
+    m.word[NWORDS / 2] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1);
94100
 
+    for (i = 0; i < NWORDS; i++)
94101
 
+      m.word[i] |= 1;
94102
 
+    if (!isnanl (m.value))
94103
 
+      result |= 1;
94104
 
+  }
94105
 
+
94106
 
+#if ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_))
94107
 
+/* Representation of an 80-bit 'long double' as an initializer for a sequence
94108
 
+   of 'unsigned int' words.  */
94109
 
+# ifdef WORDS_BIGENDIAN
94110
 
+#  define LDBL80_WORDS(exponent,manthi,mantlo) \
94111
 
+     { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \
94112
 
+       ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16),    \
94113
 
+       (unsigned int) (mantlo) << 16                                        \
94114
 
+     }
94115
 
+# else
94116
 
+#  define LDBL80_WORDS(exponent,manthi,mantlo) \
94117
 
+     { mantlo, manthi, exponent }
94118
 
+# endif
94119
 
+  { /* Quiet NaN.  */
94120
 
+    static memory_long_double x =
94121
 
+      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
94122
 
+    if (!isnanl (x.value))
94123
 
+      result |= 2;
94124
 
+  }
94125
 
+  {
94126
 
+    /* Signalling NaN.  */
94127
 
+    static memory_long_double x =
94128
 
+      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
94129
 
+    if (!isnanl (x.value))
94130
 
+      result |= 2;
94131
 
+  }
94132
 
+  /* The isnanl function should recognize Pseudo-NaNs, Pseudo-Infinities,
94133
 
+     Pseudo-Zeroes, Unnormalized Numbers, and Pseudo-Denormals, as defined in
94134
 
+       Intel IA-64 Architecture Software Developer's Manual, Volume 1:
94135
 
+       Application Architecture.
94136
 
+       Table 5-2 "Floating-Point Register Encodings"
94137
 
+       Figure 5-6 "Memory to Floating-Point Register Data Translation"
94138
 
+   */
94139
 
+  { /* Pseudo-NaN.  */
94140
 
+    static memory_long_double x =
94141
 
+      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
94142
 
+    if (!isnanl (x.value))
94143
 
+      result |= 4;
94144
 
+  }
94145
 
+  { /* Pseudo-Infinity.  */
94146
 
+    static memory_long_double x =
94147
 
+      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
94148
 
+    if (!isnanl (x.value))
94149
 
+      result |= 8;
94150
 
+  }
94151
 
+  { /* Pseudo-Zero.  */
94152
 
+    static memory_long_double x =
94153
 
+      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
94154
 
+    if (!isnanl (x.value))
94155
 
+      result |= 16;
94156
 
+  }
94157
 
+  { /* Unnormalized number.  */
94158
 
+    static memory_long_double x =
94159
 
+      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
94160
 
+    if (!isnanl (x.value))
94161
 
+      result |= 32;
94162
 
+  }
94163
 
+  { /* Pseudo-Denormal.  */
94164
 
+    static memory_long_double x =
94165
 
+      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
94166
 
+    if (!isnanl (x.value))
94167
 
+      result |= 64;
94168
 
+  }
94169
 
+#endif
94170
 
+
94171
 
+  return result;
94172
 
+}
94173
 
+_ACEOF
94174
 
+if ac_fn_c_try_run "$LINENO"; then :
94175
 
+  gl_cv_func_isnanl_works=yes
94176
 
+else
94177
 
+  gl_cv_func_isnanl_works=no
94178
 
+fi
94179
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
94180
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
94181
 
+fi
94182
 
+
94183
 
+    
94184
 
+fi
94185
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanl_works" >&5
94186
 
+$as_echo "$gl_cv_func_isnanl_works" >&6; }
94187
 
+
94188
 
+    case "$gl_cv_func_isnanl_works" in
94189
 
+      *yes) ;;
94190
 
+      *)    gl_func_isnanl_no_libm=no ;;
94191
 
+    esac
94192
 
+  fi
94193
 
+  if test $gl_func_isnanl_no_libm = yes; then
94194
 
+    
94195
 
+$as_echo "@%:@define HAVE_ISNANL_IN_LIBC 1" >>confdefs.h
94196
 
+
94197
 
+  fi
94198
 
+
94199
 
+if test $gl_func_isnanl_no_libm != yes; then
94200
 
+  
94201
 
+  
94202
 
+  
94203
 
+    
94204
 
+      
94205
 
+      
94206
 
+    
94207
 
+  
94208
 
+  gl_LIBOBJS="$gl_LIBOBJS isnanl.$ac_objext"
94209
 
+
94210
 
+  
94211
 
+  
94212
 
+  
94213
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5
94214
 
+$as_echo_n "checking where to find the exponent in a 'long double'... " >&6; }
94215
 
+if ${gl_cv_cc_long_double_expbit0+:} false; then :
94216
 
+  $as_echo_n "(cached) " >&6
94217
 
+else
94218
 
+  
94219
 
+      if test "$cross_compiling" = yes; then :
94220
 
+  
94221
 
+                              gl_cv_cc_long_double_expbit0="unknown"
94222
 
+        
94223
 
+else
94224
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94225
 
+/* end confdefs.h.  */
94226
 
+
94227
 
+#include <float.h>
94228
 
+#include <stddef.h>
94229
 
+#include <stdio.h>
94230
 
+#include <string.h>
94231
 
+#define NWORDS \
94232
 
+  ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
94233
 
+typedef union { long double value; unsigned int word[NWORDS]; }
94234
 
+        memory_long_double;
94235
 
+static unsigned int ored_words[NWORDS];
94236
 
+static unsigned int anded_words[NWORDS];
94237
 
+static void add_to_ored_words (long double x)
94238
 
+{
94239
 
+  memory_long_double m;
94240
 
+  size_t i;
94241
 
+  /* Clear it first, in case
94242
 
+     sizeof (long double) < sizeof (memory_long_double).  */
94243
 
+  memset (&m, 0, sizeof (memory_long_double));
94244
 
+  m.value = x;
94245
 
+  for (i = 0; i < NWORDS; i++)
94246
 
+    {
94247
 
+      ored_words[i] |= m.word[i];
94248
 
+      anded_words[i] &= m.word[i];
94249
 
+    }
94250
 
+}
94251
 
+int main ()
94252
 
+{
94253
 
+  size_t j;
94254
 
+  FILE *fp = fopen ("conftest.out", "w");
94255
 
+  if (fp == NULL)
94256
 
+    return 1;
94257
 
+  for (j = 0; j < NWORDS; j++)
94258
 
+    anded_words[j] = ~ (unsigned int) 0;
94259
 
+  add_to_ored_words (0.25L);
94260
 
+  add_to_ored_words (0.5L);
94261
 
+  add_to_ored_words (1.0L);
94262
 
+  add_to_ored_words (2.0L);
94263
 
+  add_to_ored_words (4.0L);
94264
 
+  /* Remove bits that are common (e.g. if representation of the first mantissa
94265
 
+     bit is explicit).  */
94266
 
+  for (j = 0; j < NWORDS; j++)
94267
 
+    ored_words[j] &= ~anded_words[j];
94268
 
+  /* Now find the nonzero word.  */
94269
 
+  for (j = 0; j < NWORDS; j++)
94270
 
+    if (ored_words[j] != 0)
94271
 
+      break;
94272
 
+  if (j < NWORDS)
94273
 
+    {
94274
 
+      size_t i;
94275
 
+      for (i = j + 1; i < NWORDS; i++)
94276
 
+        if (ored_words[i] != 0)
94277
 
+          {
94278
 
+            fprintf (fp, "unknown");
94279
 
+            return (fclose (fp) != 0);
94280
 
+          }
94281
 
+      for (i = 0; ; i++)
94282
 
+        if ((ored_words[j] >> i) & 1)
94283
 
+          {
94284
 
+            fprintf (fp, "word %d bit %d", (int) j, (int) i);
94285
 
+            return (fclose (fp) != 0);
94286
 
+          }
94287
 
+    }
94288
 
+  fprintf (fp, "unknown");
94289
 
+  return (fclose (fp) != 0);
94290
 
+}
94291
 
+        
94292
 
+_ACEOF
94293
 
+if ac_fn_c_try_run "$LINENO"; then :
94294
 
+  gl_cv_cc_long_double_expbit0=`cat conftest.out`
94295
 
+else
94296
 
+  gl_cv_cc_long_double_expbit0="unknown"
94297
 
+fi
94298
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
94299
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
94300
 
+fi
94301
 
+
94302
 
+      rm -f conftest.out
94303
 
+    
94304
 
+fi
94305
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_expbit0" >&5
94306
 
+$as_echo "$gl_cv_cc_long_double_expbit0" >&6; }
94307
 
+  case "$gl_cv_cc_long_double_expbit0" in
94308
 
+    word*bit*)
94309
 
+      word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
94310
 
+      bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'`
94311
 
+      
94312
 
+cat >>confdefs.h <<_ACEOF
94313
 
+@%:@define LDBL_EXPBIT0_WORD $word
94314
 
+_ACEOF
94315
 
+
94316
 
+      
94317
 
+cat >>confdefs.h <<_ACEOF
94318
 
+@%:@define LDBL_EXPBIT0_BIT $bit
94319
 
+_ACEOF
94320
 
+
94321
 
+      ;;
94322
 
+  esac
94323
 
+
94324
 
+
94325
 
+fi
94326
 
+
94327
 
+  
94328
 
+  
94329
 
+    
94330
 
+  
94331
 
+  ac_fn_c_check_decl "$LINENO" "iswblank" "ac_cv_have_decl_iswblank" "
94332
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
94333
 
+   <wchar.h>.
94334
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
94335
 
+   before <wchar.h>.  */
94336
 
+#include <stddef.h>
94337
 
+#include <stdio.h>
94338
 
+#include <time.h>
94339
 
+#include <wchar.h>
94340
 
+#include <wctype.h>
94341
 
+
94342
 
+"
94343
 
+if test "x$ac_cv_have_decl_iswblank" = xyes; then :
94344
 
+  ac_have_decl=1
94345
 
+else
94346
 
+  ac_have_decl=0
94347
 
+fi
94348
 
+
94349
 
+cat >>confdefs.h <<_ACEOF
94350
 
+@%:@define HAVE_DECL_ISWBLANK $ac_have_decl
94351
 
+_ACEOF
94352
 
+
94353
 
+  if test $ac_cv_func_iswblank = no; then
94354
 
+    HAVE_ISWBLANK=0
94355
 
+    if test $ac_cv_have_decl_iswblank = yes; then
94356
 
+      REPLACE_ISWBLANK=1
94357
 
+    fi
94358
 
+  fi
94359
 
+  if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
94360
 
+        :
94361
 
+  else
94362
 
+    if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then
94363
 
+            :
94364
 
+    fi
94365
 
+  fi
94366
 
+
94367
 
+
94368
 
+if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
94369
 
+  :
94370
 
+else
94371
 
+  if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then
94372
 
+    
94373
 
+  
94374
 
+  
94375
 
+    
94376
 
+      
94377
 
+      
94378
 
+    
94379
 
+  
94380
 
+  gl_LIBOBJS="$gl_LIBOBJS iswblank.$ac_objext"
94381
 
+
94382
 
+  fi
94383
 
+fi
94384
 
+
94385
 
+    
94386
 
+  
94387
 
+  
94388
 
+  
94389
 
+          GNULIB_ISWBLANK=1
94390
 
+    
94391
 
+
94392
 
+
94393
 
+    
94394
 
+  
94395
 
+$as_echo "@%:@define GNULIB_TEST_ISWBLANK 1" >>confdefs.h
94396
 
+
94397
 
+
94398
 
+
94399
 
+
94400
 
+  
94401
 
+
94402
 
+    
94403
 
+
94404
 
+    
94405
 
+  
94406
 
+  
94407
 
+  
94408
 
+
94409
 
+  
94410
 
+    
94411
 
+
94412
 
+  
94413
 
+     if test $gl_cv_have_include_next = yes; then
94414
 
+       gl_cv_next_langinfo_h='<'langinfo.h'>'
94415
 
+     else
94416
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <langinfo.h>" >&5
94417
 
+$as_echo_n "checking absolute name of <langinfo.h>... " >&6; }
94418
 
+if ${gl_cv_next_langinfo_h+:} false; then :
94419
 
+  $as_echo_n "(cached) " >&6
94420
 
+else
94421
 
+  
94422
 
+             if test $ac_cv_header_langinfo_h = yes; then
94423
 
+             
94424
 
+            
94425
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94426
 
+/* end confdefs.h.  */
94427
 
+#include <langinfo.h>
94428
 
+                  
94429
 
+_ACEOF
94430
 
+                                                                                                                        case "$host_os" in
94431
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
94432
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
94433
 
+               esac
94434
 
+                                                            gl_cv_next_langinfo_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
94435
 
+                  sed -n '\#/langinfo.h#{
94436
 
+                    s#.*"\(.*/langinfo.h\)".*#\1#
94437
 
+                    s#^/[^/]#//&#
94438
 
+                    p
94439
 
+                    q
94440
 
+                  }'`'"'
94441
 
+          else
94442
 
+               gl_cv_next_langinfo_h='<'langinfo.h'>'
94443
 
+             fi
94444
 
+            
94445
 
+         
94446
 
+fi
94447
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_langinfo_h" >&5
94448
 
+$as_echo "$gl_cv_next_langinfo_h" >&6; }
94449
 
+     fi
94450
 
+     NEXT_LANGINFO_H=$gl_cv_next_langinfo_h
94451
 
+
94452
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
94453
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
94454
 
+       gl_next_as_first_directive='<'langinfo.h'>'
94455
 
+     else
94456
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
94457
 
+       gl_next_as_first_directive=$gl_cv_next_langinfo_h
94458
 
+     fi
94459
 
+     NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H=$gl_next_as_first_directive
94460
 
+
94461
 
+     
94462
 
+
94463
 
+
94464
 
+
94465
 
+    HAVE_LANGINFO_CODESET=0
94466
 
+  HAVE_LANGINFO_T_FMT_AMPM=0
94467
 
+  HAVE_LANGINFO_ERA=0
94468
 
+  HAVE_LANGINFO_YESEXPR=0
94469
 
+  
94470
 
+  if test $ac_cv_header_langinfo_h = yes; then
94471
 
+    HAVE_LANGINFO_H=1
94472
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5
94473
 
+$as_echo_n "checking whether langinfo.h defines CODESET... " >&6; }
94474
 
+if ${gl_cv_header_langinfo_codeset+:} false; then :
94475
 
+  $as_echo_n "(cached) " >&6
94476
 
+else
94477
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94478
 
+/* end confdefs.h.  */
94479
 
+#include <langinfo.h>
94480
 
+int a = CODESET;
94481
 
+
94482
 
+int
94483
 
+main ()
94484
 
+{
94485
 
+
94486
 
+  ;
94487
 
+  return 0;
94488
 
+}
94489
 
+_ACEOF
94490
 
+if ac_fn_c_try_compile "$LINENO"; then :
94491
 
+  gl_cv_header_langinfo_codeset=yes
94492
 
+else
94493
 
+  gl_cv_header_langinfo_codeset=no
94494
 
+fi
94495
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94496
 
+      
94497
 
+fi
94498
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_codeset" >&5
94499
 
+$as_echo "$gl_cv_header_langinfo_codeset" >&6; }
94500
 
+    if test $gl_cv_header_langinfo_codeset = yes; then
94501
 
+      HAVE_LANGINFO_CODESET=1
94502
 
+    fi
94503
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5
94504
 
+$as_echo_n "checking whether langinfo.h defines T_FMT_AMPM... " >&6; }
94505
 
+if ${gl_cv_header_langinfo_t_fmt_ampm+:} false; then :
94506
 
+  $as_echo_n "(cached) " >&6
94507
 
+else
94508
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94509
 
+/* end confdefs.h.  */
94510
 
+#include <langinfo.h>
94511
 
+int a = T_FMT_AMPM;
94512
 
+
94513
 
+int
94514
 
+main ()
94515
 
+{
94516
 
+
94517
 
+  ;
94518
 
+  return 0;
94519
 
+}
94520
 
+_ACEOF
94521
 
+if ac_fn_c_try_compile "$LINENO"; then :
94522
 
+  gl_cv_header_langinfo_t_fmt_ampm=yes
94523
 
+else
94524
 
+  gl_cv_header_langinfo_t_fmt_ampm=no
94525
 
+fi
94526
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94527
 
+      
94528
 
+fi
94529
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_t_fmt_ampm" >&5
94530
 
+$as_echo "$gl_cv_header_langinfo_t_fmt_ampm" >&6; }
94531
 
+    if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then
94532
 
+      HAVE_LANGINFO_T_FMT_AMPM=1
94533
 
+    fi
94534
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5
94535
 
+$as_echo_n "checking whether langinfo.h defines ERA... " >&6; }
94536
 
+if ${gl_cv_header_langinfo_era+:} false; then :
94537
 
+  $as_echo_n "(cached) " >&6
94538
 
+else
94539
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94540
 
+/* end confdefs.h.  */
94541
 
+#include <langinfo.h>
94542
 
+int a = ERA;
94543
 
+
94544
 
+int
94545
 
+main ()
94546
 
+{
94547
 
+
94548
 
+  ;
94549
 
+  return 0;
94550
 
+}
94551
 
+_ACEOF
94552
 
+if ac_fn_c_try_compile "$LINENO"; then :
94553
 
+  gl_cv_header_langinfo_era=yes
94554
 
+else
94555
 
+  gl_cv_header_langinfo_era=no
94556
 
+fi
94557
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94558
 
+      
94559
 
+fi
94560
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_era" >&5
94561
 
+$as_echo "$gl_cv_header_langinfo_era" >&6; }
94562
 
+    if test $gl_cv_header_langinfo_era = yes; then
94563
 
+      HAVE_LANGINFO_ERA=1
94564
 
+    fi
94565
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5
94566
 
+$as_echo_n "checking whether langinfo.h defines YESEXPR... " >&6; }
94567
 
+if ${gl_cv_header_langinfo_yesexpr+:} false; then :
94568
 
+  $as_echo_n "(cached) " >&6
94569
 
+else
94570
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94571
 
+/* end confdefs.h.  */
94572
 
+#include <langinfo.h>
94573
 
+int a = YESEXPR;
94574
 
+
94575
 
+int
94576
 
+main ()
94577
 
+{
94578
 
+
94579
 
+  ;
94580
 
+  return 0;
94581
 
+}
94582
 
+_ACEOF
94583
 
+if ac_fn_c_try_compile "$LINENO"; then :
94584
 
+  gl_cv_header_langinfo_yesexpr=yes
94585
 
+else
94586
 
+  gl_cv_header_langinfo_yesexpr=no
94587
 
+fi
94588
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94589
 
+      
94590
 
+fi
94591
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_yesexpr" >&5
94592
 
+$as_echo "$gl_cv_header_langinfo_yesexpr" >&6; }
94593
 
+    if test $gl_cv_header_langinfo_yesexpr = yes; then
94594
 
+      HAVE_LANGINFO_YESEXPR=1
94595
 
+    fi
94596
 
+  else
94597
 
+    HAVE_LANGINFO_H=0
94598
 
+  fi
94599
 
+  
94600
 
+  
94601
 
+  
94602
 
+  
94603
 
+  
94604
 
+
94605
 
+      
94606
 
+    for gl_func in nl_langinfo; do
94607
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
94608
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
94609
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
94610
 
+if eval \${$as_gl_Symbol+:} false; then :
94611
 
+  $as_echo_n "(cached) " >&6
94612
 
+else
94613
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94614
 
+/* end confdefs.h.  */
94615
 
+#include <langinfo.h>
94616
 
+    
94617
 
+int
94618
 
+main ()
94619
 
+{
94620
 
+@%:@undef $gl_func
94621
 
+  (void) $gl_func;
94622
 
+  ;
94623
 
+  return 0;
94624
 
+}
94625
 
+_ACEOF
94626
 
+if ac_fn_c_try_compile "$LINENO"; then :
94627
 
+  eval "$as_gl_Symbol=yes"
94628
 
+else
94629
 
+  eval "$as_gl_Symbol=no"
94630
 
+fi
94631
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
94632
 
+fi
94633
 
+eval ac_res=\$$as_gl_Symbol
94634
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
94635
 
+$as_echo "$ac_res" >&6; }
94636
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
94637
 
+  cat >>confdefs.h <<_ACEOF
94638
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
94639
 
+_ACEOF
94640
 
+
94641
 
+                     eval ac_cv_have_decl_$gl_func=yes
94642
 
+fi
94643
 
+      done
94644
 
+
94645
 
+
94646
 
+
94647
 
+  
94648
 
+
94649
 
+    
94650
 
+
94651
 
+  
94652
 
+  if test $ac_cv_func_lchmod = no; then
94653
 
+    HAVE_LCHMOD=0
94654
 
+  fi
94655
 
+
94656
 
+
94657
 
+    
94658
 
+  
94659
 
+  
94660
 
+  
94661
 
+          GNULIB_LCHMOD=1
94662
 
+    
94663
 
+
94664
 
+
94665
 
+    
94666
 
+  
94667
 
+$as_echo "@%:@define GNULIB_TEST_LCHMOD 1" >>confdefs.h
94668
 
+
94669
 
+
94670
 
+
94671
 
+
94672
 
+  
94673
 
+  
94674
 
+  
94675
 
+  for ac_func in lchown
94676
 
+do :
94677
 
+  ac_fn_c_check_func "$LINENO" "lchown" "ac_cv_func_lchown"
94678
 
+if test "x$ac_cv_func_lchown" = xyes; then :
94679
 
+  cat >>confdefs.h <<_ACEOF
94680
 
+@%:@define HAVE_LCHOWN 1
94681
 
+_ACEOF
94682
 
94683
 
+fi
94684
 
+done
94685
 
+
94686
 
+  if test $ac_cv_func_lchown = no; then
94687
 
+    HAVE_LCHOWN=0
94688
 
+  elif test "$gl_cv_func_chown_slash_works" != yes \
94689
 
+      || test "$gl_cv_func_chown_ctime_works" != yes; then
94690
 
+        REPLACE_LCHOWN=1
94691
 
+  fi
94692
 
+
94693
 
+if test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1; then
94694
 
+  
94695
 
+  
94696
 
+  
94697
 
+    
94698
 
+      
94699
 
+      
94700
 
+    
94701
 
+  
94702
 
+  gl_LIBOBJS="$gl_LIBOBJS lchown.$ac_objext"
94703
 
+
94704
 
+fi
94705
 
+
94706
 
+    
94707
 
+  
94708
 
+  
94709
 
+  
94710
 
+          GNULIB_LCHOWN=1
94711
 
+    
94712
 
+
94713
 
+
94714
 
+    
94715
 
+  
94716
 
+$as_echo "@%:@define GNULIB_TEST_LCHOWN 1" >>confdefs.h
94717
 
+
94718
 
+
94719
 
+
94720
 
+
94721
 
+
94722
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler flag to ignore unused libraries" >&5
94723
 
+$as_echo_n "checking for C compiler flag to ignore unused libraries... " >&6; }
94724
 
+if ${gl_cv_prog_c_ignore_unused_libraries+:} false; then :
94725
 
+  $as_echo_n "(cached) " >&6
94726
 
+else
94727
 
+  gl_cv_prog_c_ignore_unused_libraries=none
94728
 
+     gl_saved_ldflags=$LDFLAGS
94729
 
+     gl_saved_libs=$LIBS
94730
 
+     # Link with -lm to detect binutils 2.16 bug with --as-needed; see
94731
 
+     # <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00131.html>.
94732
 
+     LIBS="$LIBS -lm"
94733
 
+     # Use long option sequences like '-z ignore' to test for the feature,
94734
 
+     # to forestall problems with linkers that have -z, -i, -g, -n, etc. flags.
94735
 
+     # GCC + binutils likes '-Wl,--as-needed'.
94736
 
+     # GCC + Solaris ld likes '-Wl,-z,ignore'.
94737
 
+     # Sun C likes '-Wl,-z,ignore'. '-z ignore' is accepted but has no effect.
94738
 
+     # Don't try bare '--as-needed'; nothing likes it and the HP-UX 11.11
94739
 
+     # native cc issues annoying warnings and then ignores it,
94740
 
+     # which would cause us to incorrectly conclude that it worked.
94741
 
+     for gl_flags in  '-Wl,--as-needed' \
94742
 
+  '-Wl,-z,ignore' \
94743
 
+  '-z ignore'
94744
 
+
94745
 
+     do
94746
 
+       LDFLAGS="$gl_flags $LDFLAGS"
94747
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94748
 
+/* end confdefs.h.  */
94749
 
+
94750
 
+int
94751
 
+main ()
94752
 
+{
94753
 
+
94754
 
+  ;
94755
 
+  return 0;
94756
 
+}
94757
 
+_ACEOF
94758
 
+if ac_fn_c_try_link "$LINENO"; then :
94759
 
+  gl_cv_prog_c_ignore_unused_libraries=$gl_flags
94760
 
+fi
94761
 
+rm -f core conftest.err conftest.$ac_objext \
94762
 
+    conftest$ac_exeext conftest.$ac_ext
94763
 
+       LDFLAGS=$gl_saved_ldflags
94764
 
+       test "$gl_cv_prog_c_ignore_unused_libraries" != none &&
94765
 
+         break
94766
 
+     done
94767
 
+     LIBS=$gl_saved_libs
94768
 
+    
94769
 
+fi
94770
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_prog_c_ignore_unused_libraries" >&5
94771
 
+$as_echo "$gl_cv_prog_c_ignore_unused_libraries" >&6; }
94772
 
+  IGNORE_UNUSED_LIBRARIES_CFLAGS=
94773
 
+  if test "$gl_cv_prog_c_ignore_unused_libraries" != none; then
94774
 
+    IGNORE_UNUSED_LIBRARIES_CFLAGS="$gl_cv_prog_c_ignore_unused_libraries"
94775
 
+  fi
94776
 
+  
94777
 
+
94778
 
+
94779
 
+  
94780
 
+  
94781
 
+  if test $ac_cv_func_link = no; then
94782
 
+    HAVE_LINK=0
94783
 
+  else
94784
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether link obeys POSIX" >&5
94785
 
+$as_echo_n "checking whether link obeys POSIX... " >&6; }
94786
 
+if ${gl_cv_func_link_works+:} false; then :
94787
 
+  $as_echo_n "(cached) " >&6
94788
 
+else
94789
 
+  touch conftest.a
94790
 
+       # Assume that if we have lstat, we can also check symlinks.
94791
 
+       if test $ac_cv_func_lstat = yes; then
94792
 
+         ln -s conftest.a conftest.lnk
94793
 
+       fi
94794
 
+       if test "$cross_compiling" = yes; then :
94795
 
+  gl_cv_func_link_works="guessing no"
94796
 
+else
94797
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94798
 
+/* end confdefs.h.  */
94799
 
+#include <unistd.h>
94800
 
+           
94801
 
+int
94802
 
+main ()
94803
 
+{
94804
 
+int result = 0;
94805
 
+             if (!link ("conftest.a", "conftest.b/"))
94806
 
+               result |= 1;
94807
 
+#if HAVE_LSTAT
94808
 
+             if (!link ("conftest.lnk/", "conftest.b"))
94809
 
+               result |= 2;
94810
 
+             if (rename ("conftest.a", "conftest.b"))
94811
 
+               result |= 4;
94812
 
+             if (!link ("conftest.b", "conftest.lnk"))
94813
 
+               result |= 8;
94814
 
+#endif
94815
 
+             return result;
94816
 
+           
94817
 
+  ;
94818
 
+  return 0;
94819
 
+}
94820
 
+_ACEOF
94821
 
+if ac_fn_c_try_run "$LINENO"; then :
94822
 
+  gl_cv_func_link_works=yes
94823
 
+else
94824
 
+  gl_cv_func_link_works=no
94825
 
+fi
94826
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
94827
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
94828
 
+fi
94829
 
+
94830
 
+       rm -f conftest.a conftest.b conftest.lnk
94831
 
+fi
94832
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_link_works" >&5
94833
 
+$as_echo "$gl_cv_func_link_works" >&6; }
94834
 
+    if test "$gl_cv_func_link_works" != yes; then
94835
 
+      REPLACE_LINK=1
94836
 
+    fi
94837
 
+  fi
94838
 
+
94839
 
+if test $HAVE_LINK = 0 || test $REPLACE_LINK = 1; then
94840
 
+  
94841
 
+  
94842
 
+  
94843
 
+    
94844
 
+      
94845
 
+      
94846
 
+    
94847
 
+  
94848
 
+  gl_LIBOBJS="$gl_LIBOBJS link.$ac_objext"
94849
 
+
94850
 
+fi
94851
 
+
94852
 
+    
94853
 
+  
94854
 
+  
94855
 
+  
94856
 
+          GNULIB_LINK=1
94857
 
+    
94858
 
+
94859
 
+
94860
 
+    
94861
 
+  
94862
 
+$as_echo "@%:@define GNULIB_TEST_LINK 1" >>confdefs.h
94863
 
+
94864
 
+
94865
 
+
94866
 
+  
94867
 
+          gl_link_follows_symlinks=0 # assume GNU behavior
94868
 
+  if test $ac_cv_func_readlink = yes; then
94869
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __xpg4" >&5
94870
 
+$as_echo_n "checking for __xpg4... " >&6; }
94871
 
+if ${gl_cv_have___xpg4+:} false; then :
94872
 
+  $as_echo_n "(cached) " >&6
94873
 
+else
94874
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94875
 
+/* end confdefs.h.  */
94876
 
+extern int __xpg4;
94877
 
+int
94878
 
+main ()
94879
 
+{
94880
 
+return __xpg4;
94881
 
+  ;
94882
 
+  return 0;
94883
 
+}
94884
 
+_ACEOF
94885
 
+if ac_fn_c_try_link "$LINENO"; then :
94886
 
+  gl_cv_have___xpg4=yes
94887
 
+else
94888
 
+  gl_cv_have___xpg4=no
94889
 
+fi
94890
 
+rm -f core conftest.err conftest.$ac_objext \
94891
 
+    conftest$ac_exeext conftest.$ac_ext
94892
 
+      
94893
 
+fi
94894
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have___xpg4" >&5
94895
 
+$as_echo "$gl_cv_have___xpg4" >&6; }
94896
 
+    if test $gl_cv_have___xpg4 = yes; then
94897
 
+      gl_link_follows_symlinks=-1
94898
 
+    else
94899
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether link(2) dereferences a symlink" >&5
94900
 
+$as_echo_n "checking whether link(2) dereferences a symlink... " >&6; }
94901
 
+if ${gl_cv_func_link_follows_symlink+:} false; then :
94902
 
+  $as_echo_n "(cached) " >&6
94903
 
+else
94904
 
+  
94905
 
+         # Create a regular file.
94906
 
+         echo > conftest.file
94907
 
+         if test "$cross_compiling" = yes; then :
94908
 
+             gl_cv_func_link_follows_symlink=unknown          
94909
 
+else
94910
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94911
 
+/* end confdefs.h.  */
94912
 
+
94913
 
+#       include <sys/types.h>
94914
 
+#       include <sys/stat.h>
94915
 
+#       include <unistd.h>
94916
 
+#       include <stdlib.h>
94917
 
+
94918
 
+#       define SAME_INODE(Stat_buf_1, Stat_buf_2) \
94919
 
+          ((Stat_buf_1).st_ino == (Stat_buf_2).st_ino \
94920
 
+           && (Stat_buf_1).st_dev == (Stat_buf_2).st_dev)
94921
 
+
94922
 
+        int
94923
 
+        main ()
94924
 
+        {
94925
 
+          const char *file = "conftest.file";
94926
 
+          const char *sym = "conftest.sym";
94927
 
+          const char *hard = "conftest.hard";
94928
 
+          struct stat sb_file, sb_hard;
94929
 
+
94930
 
+          /* Create a symlink to the regular file. */
94931
 
+          if (symlink (file, sym))
94932
 
+            return 2;
94933
 
+
94934
 
+          /* Create a hard link to that symlink.  */
94935
 
+          if (link (sym, hard))
94936
 
+            return 3;
94937
 
+
94938
 
+          if (lstat (hard, &sb_hard))
94939
 
+            return 4;
94940
 
+          if (lstat (file, &sb_file))
94941
 
+            return 5;
94942
 
+
94943
 
+          /* If the dev/inode of hard and file are the same, then
94944
 
+             the link call followed the symlink.  */
94945
 
+          return SAME_INODE (sb_hard, sb_file) ? 1 : 0;
94946
 
+        }
94947
 
+           
94948
 
+_ACEOF
94949
 
+if ac_fn_c_try_run "$LINENO"; then :
94950
 
+  gl_cv_func_link_follows_symlink=no
94951
 
+else
94952
 
+             gl_cv_func_link_follows_symlink=yes
94953
 
+fi
94954
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
94955
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
94956
 
+fi
94957
 
+
94958
 
+         rm -f conftest.file conftest.sym conftest.hard
94959
 
+        
94960
 
+fi
94961
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_link_follows_symlink" >&5
94962
 
+$as_echo "$gl_cv_func_link_follows_symlink" >&6; }
94963
 
+      case $gl_cv_func_link_follows_symlink in
94964
 
+        yes) gl_link_follows_symlinks=1 ;;
94965
 
+        no) ;; # already defaulted to 0
94966
 
+        *) gl_link_follows_symlinks=-2 ;;
94967
 
+      esac
94968
 
+    fi
94969
 
+  fi
94970
 
+  
94971
 
+cat >>confdefs.h <<_ACEOF
94972
 
+@%:@define LINK_FOLLOWS_SYMLINKS $gl_link_follows_symlinks
94973
 
+_ACEOF
94974
 
+
94975
 
+
94976
 
+
94977
 
+  
94978
 
+  
94979
 
+  
94980
 
+  
94981
 
+     
94982
 
+  
94983
 
+  if test $ac_cv_func_linkat = no; then
94984
 
+    HAVE_LINKAT=0
94985
 
+  else
94986
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linkat(,AT_SYMLINK_FOLLOW) works" >&5
94987
 
+$as_echo_n "checking whether linkat(,AT_SYMLINK_FOLLOW) works... " >&6; }
94988
 
+if ${gl_cv_func_linkat_follow+:} false; then :
94989
 
+  $as_echo_n "(cached) " >&6
94990
 
+else
94991
 
+  rm -rf conftest.f1 conftest.f2
94992
 
+       touch conftest.f1
94993
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
94994
 
+/* end confdefs.h.  */
94995
 
+
94996
 
+#include <fcntl.h>
94997
 
+#include <unistd.h>
94998
 
+#ifdef __linux__
94999
 
+/* Linux added linkat in 2.6.16, but did not add AT_SYMLINK_FOLLOW
95000
 
+   until 2.6.18.  Always replace linkat to support older kernels.  */
95001
 
+choke me
95002
 
+#endif
95003
 
+
95004
 
+int
95005
 
+main ()
95006
 
+{
95007
 
+return linkat (AT_FDCWD, "conftest.f1", AT_FDCWD, "conftest.f2",
95008
 
+                    AT_SYMLINK_FOLLOW);
95009
 
+  ;
95010
 
+  return 0;
95011
 
+}
95012
 
+_ACEOF
95013
 
+if ac_fn_c_try_compile "$LINENO"; then :
95014
 
+  gl_cv_func_linkat_follow=yes
95015
 
+else
95016
 
+  gl_cv_func_linkat_follow="need runtime check"
95017
 
+fi
95018
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95019
 
+       rm -rf conftest.f1 conftest.f2
95020
 
+fi
95021
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_linkat_follow" >&5
95022
 
+$as_echo "$gl_cv_func_linkat_follow" >&6; }
95023
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linkat handles trailing slash correctly" >&5
95024
 
+$as_echo_n "checking whether linkat handles trailing slash correctly... " >&6; }
95025
 
+if ${gl_cv_func_linkat_slash+:} false; then :
95026
 
+  $as_echo_n "(cached) " >&6
95027
 
+else
95028
 
+  rm -rf conftest.a conftest.b conftest.c conftest.d
95029
 
+       if test "$cross_compiling" = yes; then :
95030
 
+  # Guess yes on glibc systems, no otherwise.
95031
 
+          case "$host_os" in
95032
 
+            *-gnu*) gl_cv_func_linkat_slash="guessing yes";;
95033
 
+            *)      gl_cv_func_linkat_slash="guessing no";;
95034
 
+          esac
95035
 
+         
95036
 
+else
95037
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95038
 
+/* end confdefs.h.  */
95039
 
+#include <unistd.h>
95040
 
+              #include <fcntl.h>
95041
 
+              #include <errno.h>
95042
 
+              #include <stdio.h>
95043
 
+            
95044
 
+int
95045
 
+main ()
95046
 
+{
95047
 
+int result;
95048
 
+              int fd;
95049
 
+              /* Create a regular file.  */
95050
 
+              fd = open ("conftest.a", O_CREAT | O_EXCL | O_WRONLY, 0600);
95051
 
+              if (fd < 0)
95052
 
+                return 1;
95053
 
+              if (write (fd, "hello", 5) < 5)
95054
 
+                return 2;
95055
 
+              if (close (fd) < 0)
95056
 
+                return 3;
95057
 
+              /* Test whether hard links are supported on the current
95058
 
+                 device.  */
95059
 
+              if (linkat (AT_FDCWD, "conftest.a", AT_FDCWD, "conftest.b",
95060
 
+                          AT_SYMLINK_FOLLOW) < 0)
95061
 
+                return 0;
95062
 
+              result = 0;
95063
 
+              /* Test whether a trailing "/" is treated like "/.".  */
95064
 
+              if (linkat (AT_FDCWD, "conftest.a/", AT_FDCWD, "conftest.c",
95065
 
+                          AT_SYMLINK_FOLLOW) == 0)
95066
 
+                result |= 4;
95067
 
+              if (linkat (AT_FDCWD, "conftest.a", AT_FDCWD, "conftest.d/",
95068
 
+                          AT_SYMLINK_FOLLOW) == 0)
95069
 
+                result |= 8;
95070
 
+              return result;
95071
 
+            
95072
 
+  ;
95073
 
+  return 0;
95074
 
+}
95075
 
+_ACEOF
95076
 
+if ac_fn_c_try_run "$LINENO"; then :
95077
 
+  gl_cv_func_linkat_slash=yes
95078
 
+else
95079
 
+  gl_cv_func_linkat_slash=no
95080
 
+fi
95081
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
95082
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
95083
 
+fi
95084
 
+
95085
 
+       rm -rf conftest.a conftest.b conftest.c conftest.d
95086
 
+fi
95087
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_linkat_slash" >&5
95088
 
+$as_echo "$gl_cv_func_linkat_slash" >&6; }
95089
 
+    case "$gl_cv_func_linkat_slash" in
95090
 
+      *yes) gl_linkat_slash_bug=0 ;;
95091
 
+      *)    gl_linkat_slash_bug=1 ;;
95092
 
+    esac
95093
 
+    if test "$gl_cv_func_linkat_follow" != yes \
95094
 
+       || test $gl_linkat_slash_bug = 1; then
95095
 
+      REPLACE_LINKAT=1
95096
 
+      
95097
 
+cat >>confdefs.h <<_ACEOF
95098
 
+@%:@define LINKAT_TRAILING_SLASH_BUG $gl_linkat_slash_bug
95099
 
+_ACEOF
95100
 
+
95101
 
+    fi
95102
 
+  fi
95103
 
+
95104
 
+if test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1; then
95105
 
+  
95106
 
+  
95107
 
+  
95108
 
+    
95109
 
+      
95110
 
+      
95111
 
+    
95112
 
+  
95113
 
+  gl_LIBOBJS="$gl_LIBOBJS linkat.$ac_objext"
95114
 
+
95115
 
+fi
95116
 
+if test $HAVE_LINKAT = 0; then
95117
 
+  
95118
 
+  
95119
 
+  
95120
 
+    
95121
 
+      
95122
 
+      
95123
 
+    
95124
 
+  
95125
 
+  gl_LIBOBJS="$gl_LIBOBJS at-func2.$ac_objext"
95126
 
+
95127
 
+fi
95128
 
+
95129
 
+    
95130
 
+  
95131
 
+  
95132
 
+  
95133
 
+          GNULIB_LINKAT=1
95134
 
+    
95135
 
+
95136
 
+
95137
 
+    
95138
 
+  
95139
 
+$as_echo "@%:@define GNULIB_TEST_LINKAT 1" >>confdefs.h
95140
 
+
95141
 
+
95142
 
+
95143
 
+
95144
 
+    
95145
 
+  
95146
 
+  
95147
 
+
95148
 
+    
95149
 
+  
95150
 
+
95151
 
+LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
95152
 
+
95153
 
+
95154
 
+      
95155
 
+
95156
 
+    
95157
 
+
95158
 
+    
95159
 
+
95160
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h conforms to POSIX:2001" >&5
95161
 
+$as_echo_n "checking whether locale.h conforms to POSIX:2001... " >&6; }
95162
 
+if ${gl_cv_header_locale_h_posix2001+:} false; then :
95163
 
+  $as_echo_n "(cached) " >&6
95164
 
+else
95165
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95166
 
+/* end confdefs.h.  */
95167
 
+#include <locale.h>
95168
 
+            int x = LC_MESSAGES;
95169
 
+int
95170
 
+main ()
95171
 
+{
95172
 
+
95173
 
+  ;
95174
 
+  return 0;
95175
 
+}
95176
 
+_ACEOF
95177
 
+if ac_fn_c_try_compile "$LINENO"; then :
95178
 
+  gl_cv_header_locale_h_posix2001=yes
95179
 
+else
95180
 
+  gl_cv_header_locale_h_posix2001=no
95181
 
+fi
95182
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95183
 
+fi
95184
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_h_posix2001" >&5
95185
 
+$as_echo "$gl_cv_header_locale_h_posix2001" >&6; }
95186
 
+
95187
 
+    
95188
 
+  if test $ac_cv_header_xlocale_h = yes; then
95189
 
+    HAVE_XLOCALE_H=1
95190
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5
95191
 
+$as_echo_n "checking whether locale.h defines locale_t... " >&6; }
95192
 
+if ${gl_cv_header_locale_has_locale_t+:} false; then :
95193
 
+  $as_echo_n "(cached) " >&6
95194
 
+else
95195
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95196
 
+/* end confdefs.h.  */
95197
 
+#include <locale.h>
95198
 
+              locale_t x;
95199
 
+int
95200
 
+main ()
95201
 
+{
95202
 
+
95203
 
+  ;
95204
 
+  return 0;
95205
 
+}
95206
 
+_ACEOF
95207
 
+if ac_fn_c_try_compile "$LINENO"; then :
95208
 
+  gl_cv_header_locale_has_locale_t=yes
95209
 
+else
95210
 
+  gl_cv_header_locale_has_locale_t=no
95211
 
+fi
95212
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95213
 
+      
95214
 
+fi
95215
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_has_locale_t" >&5
95216
 
+$as_echo "$gl_cv_header_locale_has_locale_t" >&6; }
95217
 
+    if test $gl_cv_header_locale_has_locale_t = yes; then
95218
 
+      gl_cv_header_locale_h_needs_xlocale_h=no
95219
 
+    else
95220
 
+      gl_cv_header_locale_h_needs_xlocale_h=yes
95221
 
+    fi
95222
 
+  else
95223
 
+    HAVE_XLOCALE_H=0
95224
 
+    gl_cv_header_locale_h_needs_xlocale_h=no
95225
 
+  fi
95226
 
+  
95227
 
+
95228
 
+    
95229
 
+  
95230
 
+  
95231
 
+  
95232
 
+
95233
 
+  
95234
 
+
95235
 
+  
95236
 
+     if test $gl_cv_have_include_next = yes; then
95237
 
+       gl_cv_next_locale_h='<'locale.h'>'
95238
 
+     else
95239
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <locale.h>" >&5
95240
 
+$as_echo_n "checking absolute name of <locale.h>... " >&6; }
95241
 
+if ${gl_cv_next_locale_h+:} false; then :
95242
 
+  $as_echo_n "(cached) " >&6
95243
 
+else
95244
 
+  
95245
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95246
 
+/* end confdefs.h.  */
95247
 
+#include <locale.h>
95248
 
+                  
95249
 
+_ACEOF
95250
 
+                                                                                                                        case "$host_os" in
95251
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
95252
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
95253
 
+               esac
95254
 
+                                                            gl_cv_next_locale_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
95255
 
+                  sed -n '\#/locale.h#{
95256
 
+                    s#.*"\(.*/locale.h\)".*#\1#
95257
 
+                    s#^/[^/]#//&#
95258
 
+                    p
95259
 
+                    q
95260
 
+                  }'`'"'
95261
 
+          
95262
 
+         
95263
 
+fi
95264
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_locale_h" >&5
95265
 
+$as_echo "$gl_cv_next_locale_h" >&6; }
95266
 
+     fi
95267
 
+     NEXT_LOCALE_H=$gl_cv_next_locale_h
95268
 
+
95269
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
95270
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
95271
 
+       gl_next_as_first_directive='<'locale.h'>'
95272
 
+     else
95273
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
95274
 
+       gl_next_as_first_directive=$gl_cv_next_locale_h
95275
 
+     fi
95276
 
+     NEXT_AS_FIRST_DIRECTIVE_LOCALE_H=$gl_next_as_first_directive
95277
 
+
95278
 
+     
95279
 
+
95280
 
+
95281
 
+
95282
 
+      
95283
 
+    for gl_func in setlocale duplocale; do
95284
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
95285
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
95286
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
95287
 
+if eval \${$as_gl_Symbol+:} false; then :
95288
 
+  $as_echo_n "(cached) " >&6
95289
 
+else
95290
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95291
 
+/* end confdefs.h.  */
95292
 
+#include <locale.h>
95293
 
+/* Some systems provide declarations in a non-standard header.  */
95294
 
+#if HAVE_XLOCALE_H
95295
 
+# include <xlocale.h>
95296
 
+#endif
95297
 
+    
95298
 
+int
95299
 
+main ()
95300
 
+{
95301
 
+@%:@undef $gl_func
95302
 
+  (void) $gl_func;
95303
 
+  ;
95304
 
+  return 0;
95305
 
+}
95306
 
+_ACEOF
95307
 
+if ac_fn_c_try_compile "$LINENO"; then :
95308
 
+  eval "$as_gl_Symbol=yes"
95309
 
+else
95310
 
+  eval "$as_gl_Symbol=no"
95311
 
+fi
95312
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95313
 
+fi
95314
 
+eval ac_res=\$$as_gl_Symbol
95315
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
95316
 
+$as_echo "$ac_res" >&6; }
95317
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
95318
 
+  cat >>confdefs.h <<_ACEOF
95319
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
95320
 
+_ACEOF
95321
 
+
95322
 
+                     eval ac_cv_have_decl_$gl_func=yes
95323
 
+fi
95324
 
+      done
95325
 
+
95326
 
+
95327
 
+
95328
 
+  
95329
 
+  if test "$gl_threads_api" = posix; then
95330
 
+    # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
95331
 
+    # pthread_rwlock_* functions.
95332
 
+    ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h>
95333
 
+"
95334
 
+if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
95335
 
+  
95336
 
+$as_echo "@%:@define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
95337
 
+
95338
 
+fi
95339
 
+
95340
 
+    # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
95341
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95342
 
+/* end confdefs.h.  */
95343
 
+
95344
 
+      #include <pthread.h>
95345
 
+int
95346
 
+main ()
95347
 
+{
95348
 
+
95349
 
+#if __FreeBSD__ == 4
95350
 
+error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
95351
 
+#else
95352
 
+int x = (int)PTHREAD_MUTEX_RECURSIVE;
95353
 
+return !x;
95354
 
+#endif
95355
 
+        
95356
 
+  ;
95357
 
+  return 0;
95358
 
+}
95359
 
+_ACEOF
95360
 
+if ac_fn_c_try_compile "$LINENO"; then :
95361
 
+  
95362
 
+$as_echo "@%:@define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h
95363
 
+
95364
 
+fi
95365
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95366
 
+  fi
95367
 
+  
95368
 
+  
95369
 
+
95370
 
+
95371
 
+
95372
 
+  
95373
 
+  
95374
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lseek detects pipes" >&5
95375
 
+$as_echo_n "checking whether lseek detects pipes... " >&6; }
95376
 
+if ${gl_cv_func_lseek_pipe+:} false; then :
95377
 
+  $as_echo_n "(cached) " >&6
95378
 
+else
95379
 
+  if test $cross_compiling = no; then
95380
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95381
 
+/* end confdefs.h.  */
95382
 
+
95383
 
+#include <sys/types.h> /* for off_t */
95384
 
+#include <stdio.h> /* for SEEK_CUR */
95385
 
+#include <unistd.h>
95386
 
+int
95387
 
+main ()
95388
 
+{
95389
 
+
95390
 
+  /* Exit with success only if stdin is seekable.  */
95391
 
+  return lseek (0, (off_t)0, SEEK_CUR) < 0;
95392
 
+
95393
 
+  ;
95394
 
+  return 0;
95395
 
+}
95396
 
+_ACEOF
95397
 
+if ac_fn_c_try_link "$LINENO"; then :
95398
 
+  if test -s conftest$ac_exeext \
95399
 
+             && ./conftest$ac_exeext < conftest.$ac_ext \
95400
 
+             && test 1 = "`echo hi \
95401
 
+               | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then
95402
 
+            gl_cv_func_lseek_pipe=yes
95403
 
+          else
95404
 
+            gl_cv_func_lseek_pipe=no
95405
 
+          fi
95406
 
+else
95407
 
+  gl_cv_func_lseek_pipe=no
95408
 
+fi
95409
 
+rm -f core conftest.err conftest.$ac_objext \
95410
 
+    conftest$ac_exeext conftest.$ac_ext
95411
 
+     else
95412
 
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95413
 
+/* end confdefs.h.  */
95414
 
+
95415
 
+#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined __BEOS__
95416
 
+/* mingw and BeOS mistakenly return 0 when trying to seek on pipes.  */
95417
 
+  Choke me.
95418
 
+#endif
95419
 
+_ACEOF
95420
 
+if ac_fn_c_try_compile "$LINENO"; then :
95421
 
+  gl_cv_func_lseek_pipe=yes
95422
 
+else
95423
 
+  gl_cv_func_lseek_pipe=no
95424
 
+fi
95425
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95426
 
+     fi
95427
 
+fi
95428
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lseek_pipe" >&5
95429
 
+$as_echo "$gl_cv_func_lseek_pipe" >&6; }
95430
 
+  if test $gl_cv_func_lseek_pipe = no; then
95431
 
+    REPLACE_LSEEK=1
95432
 
+    
95433
 
+$as_echo "@%:@define LSEEK_PIPE_BROKEN 1" >>confdefs.h
95434
 
+
95435
 
+  fi
95436
 
+
95437
 
+if test $REPLACE_LSEEK = 1; then
95438
 
+  
95439
 
+  
95440
 
+  
95441
 
+    
95442
 
+      
95443
 
+      
95444
 
+    
95445
 
+  
95446
 
+  gl_LIBOBJS="$gl_LIBOBJS lseek.$ac_objext"
95447
 
+
95448
 
+fi
95449
 
+
95450
 
+    
95451
 
+  
95452
 
+  
95453
 
+  
95454
 
+          GNULIB_LSEEK=1
95455
 
+    
95456
 
+
95457
 
+
95458
 
+    
95459
 
+  
95460
 
+$as_echo "@%:@define GNULIB_TEST_LSEEK 1" >>confdefs.h
95461
 
+
95462
 
+
95463
 
+
95464
 
+
95465
 
+  
95466
 
+      
95467
 
+  if test $ac_cv_func_lstat = yes; then
95468
 
+    
95469
 
+    if test $gl_cv_func_lstat_dereferences_slashed_symlink = no; then
95470
 
+      REPLACE_LSTAT=1
95471
 
+    fi
95472
 
+  else
95473
 
+    HAVE_LSTAT=0
95474
 
+  fi
95475
 
+
95476
 
+if test $REPLACE_LSTAT = 1; then
95477
 
+  
95478
 
+  
95479
 
+  
95480
 
+    
95481
 
+      
95482
 
+      
95483
 
+    
95484
 
+  
95485
 
+  gl_LIBOBJS="$gl_LIBOBJS lstat.$ac_objext"
95486
 
+
95487
 
+  
95488
 
+  
95489
 
+  :
95490
 
+
95491
 
+fi
95492
 
+
95493
 
+    
95494
 
+  
95495
 
+  
95496
 
+  
95497
 
+          GNULIB_LSTAT=1
95498
 
+    
95499
 
+
95500
 
+
95501
 
+    
95502
 
+  
95503
 
+$as_echo "@%:@define GNULIB_TEST_LSTAT 1" >>confdefs.h
95504
 
+
95505
 
+
95506
 
+
95507
 
+
95508
 
+
95509
 
+  
95510
 
+    for ac_header in stdlib.h
95511
 
+do :
95512
 
+  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
95513
 
+if test "x$ac_cv_header_stdlib_h" = xyes; then :
95514
 
+  cat >>confdefs.h <<_ACEOF
95515
 
+@%:@define HAVE_STDLIB_H 1
95516
 
+_ACEOF
95517
 
95518
 
+fi
95519
 
+
95520
 
+done
95521
 
+
95522
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
95523
 
+$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
95524
 
+if ${ac_cv_func_malloc_0_nonnull+:} false; then :
95525
 
+  $as_echo_n "(cached) " >&6
95526
 
+else
95527
 
+  if test "$cross_compiling" = yes; then :
95528
 
+  ac_cv_func_malloc_0_nonnull=no
95529
 
+else
95530
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95531
 
+/* end confdefs.h.  */
95532
 
+#if defined STDC_HEADERS || defined HAVE_STDLIB_H
95533
 
+# include <stdlib.h>
95534
 
+#else
95535
 
+char *malloc ();
95536
 
+#endif
95537
 
+
95538
 
+int
95539
 
+main ()
95540
 
+{
95541
 
+return ! malloc (0);
95542
 
+  ;
95543
 
+  return 0;
95544
 
+}
95545
 
+_ACEOF
95546
 
+if ac_fn_c_try_run "$LINENO"; then :
95547
 
+  ac_cv_func_malloc_0_nonnull=yes
95548
 
+else
95549
 
+  ac_cv_func_malloc_0_nonnull=no
95550
 
+fi
95551
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
95552
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
95553
 
+fi
95554
 
+
95555
 
+fi
95556
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
95557
 
+$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
95558
 
+if test $ac_cv_func_malloc_0_nonnull = yes; then :
95559
 
+  
95560
 
+$as_echo "@%:@define HAVE_MALLOC_GNU 1" >>confdefs.h
95561
 
+
95562
 
+else
95563
 
+  $as_echo "@%:@define HAVE_MALLOC_GNU 0" >>confdefs.h
95564
 
+
95565
 
+     REPLACE_MALLOC=1
95566
 
+    
95567
 
+fi
95568
 
+
95569
 
+
95570
 
+if test $REPLACE_MALLOC = 1; then
95571
 
+  
95572
 
+  
95573
 
+  
95574
 
+    
95575
 
+      
95576
 
+      
95577
 
+    
95578
 
+  
95579
 
+  gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext"
95580
 
+
95581
 
+fi
95582
 
+
95583
 
+  
95584
 
+cat >>confdefs.h <<_ACEOF
95585
 
+@%:@define GNULIB_MALLOC_GNU 1
95586
 
+_ACEOF
95587
 
+
95588
 
+
95589
 
+
95590
 
+  
95591
 
+  
95592
 
+  if test $gl_cv_func_malloc_posix = yes; then
95593
 
+    
95594
 
+$as_echo "@%:@define HAVE_MALLOC_POSIX 1" >>confdefs.h
95595
 
+
95596
 
+  else
95597
 
+    REPLACE_MALLOC=1
95598
 
+  fi
95599
 
+
95600
 
+if test $REPLACE_MALLOC = 1; then
95601
 
+  
95602
 
+  
95603
 
+  
95604
 
+    
95605
 
+      
95606
 
+      
95607
 
+    
95608
 
+  
95609
 
+  gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext"
95610
 
+
95611
 
+fi
95612
 
+
95613
 
+    
95614
 
+  
95615
 
+  
95616
 
+  
95617
 
+          GNULIB_MALLOC_POSIX=1
95618
 
+    
95619
 
+
95620
 
+
95621
 
+    
95622
 
+  
95623
 
+$as_echo "@%:@define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h
95624
 
+
95625
 
+
95626
 
+
95627
 
+
95628
 
+        
95629
 
+  
95630
 
+
95631
 
+
95632
 
+  
95633
 
+  
95634
 
+  
95635
 
+  
95636
 
+  
95637
 
+
95638
 
+  
95639
 
+    
95640
 
+
95641
 
+  
95642
 
+     if test $gl_cv_have_include_next = yes; then
95643
 
+       gl_cv_next_math_h='<'math.h'>'
95644
 
+     else
95645
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <math.h>" >&5
95646
 
+$as_echo_n "checking absolute name of <math.h>... " >&6; }
95647
 
+if ${gl_cv_next_math_h+:} false; then :
95648
 
+  $as_echo_n "(cached) " >&6
95649
 
+else
95650
 
+  
95651
 
+             if test $ac_cv_header_math_h = yes; then
95652
 
+             
95653
 
+            
95654
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95655
 
+/* end confdefs.h.  */
95656
 
+#include <math.h>
95657
 
+                  
95658
 
+_ACEOF
95659
 
+                                                                                                                        case "$host_os" in
95660
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
95661
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
95662
 
+               esac
95663
 
+                                                            gl_cv_next_math_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
95664
 
+                  sed -n '\#/math.h#{
95665
 
+                    s#.*"\(.*/math.h\)".*#\1#
95666
 
+                    s#^/[^/]#//&#
95667
 
+                    p
95668
 
+                    q
95669
 
+                  }'`'"'
95670
 
+          else
95671
 
+               gl_cv_next_math_h='<'math.h'>'
95672
 
+             fi
95673
 
+            
95674
 
+         
95675
 
+fi
95676
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_math_h" >&5
95677
 
+$as_echo "$gl_cv_next_math_h" >&6; }
95678
 
+     fi
95679
 
+     NEXT_MATH_H=$gl_cv_next_math_h
95680
 
+
95681
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
95682
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
95683
 
+       gl_next_as_first_directive='<'math.h'>'
95684
 
+     else
95685
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
95686
 
+       gl_next_as_first_directive=$gl_cv_next_math_h
95687
 
+     fi
95688
 
+     NEXT_AS_FIRST_DIRECTIVE_MATH_H=$gl_next_as_first_directive
95689
 
+
95690
 
+     
95691
 
+
95692
 
+
95693
 
+  
95694
 
+
95695
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NAN macro works" >&5
95696
 
+$as_echo_n "checking whether NAN macro works... " >&6; }
95697
 
+if ${gl_cv_header_math_nan_works+:} false; then :
95698
 
+  $as_echo_n "(cached) " >&6
95699
 
+else
95700
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95701
 
+/* end confdefs.h.  */
95702
 
+@%:@include <math.h>
95703
 
+int
95704
 
+main ()
95705
 
+{
95706
 
+/* Solaris 10 has a broken definition of NAN.  Other platforms
95707
 
+        fail to provide NAN, or provide it only in C99 mode; this
95708
 
+        test only needs to fail when NAN is provided but wrong.  */
95709
 
+         float f = 1.0f;
95710
 
+#ifdef NAN
95711
 
+         f = NAN;
95712
 
+#endif
95713
 
+         return f == 0;
95714
 
+  ;
95715
 
+  return 0;
95716
 
+}
95717
 
+_ACEOF
95718
 
+if ac_fn_c_try_compile "$LINENO"; then :
95719
 
+  gl_cv_header_math_nan_works=yes
95720
 
+else
95721
 
+  gl_cv_header_math_nan_works=no
95722
 
+fi
95723
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95724
 
+fi
95725
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_math_nan_works" >&5
95726
 
+$as_echo "$gl_cv_header_math_nan_works" >&6; }
95727
 
+  if test $gl_cv_header_math_nan_works = no; then
95728
 
+    REPLACE_NAN=1
95729
 
+  fi
95730
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether HUGE_VAL works" >&5
95731
 
+$as_echo_n "checking whether HUGE_VAL works... " >&6; }
95732
 
+if ${gl_cv_header_math_huge_val_works+:} false; then :
95733
 
+  $as_echo_n "(cached) " >&6
95734
 
+else
95735
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95736
 
+/* end confdefs.h.  */
95737
 
+@%:@include <math.h>
95738
 
+int
95739
 
+main ()
95740
 
+{
95741
 
+/* Solaris 10 has a broken definition of HUGE_VAL.  */
95742
 
+         double d = HUGE_VAL;
95743
 
+         return d == 0;
95744
 
+  ;
95745
 
+  return 0;
95746
 
+}
95747
 
+_ACEOF
95748
 
+if ac_fn_c_try_compile "$LINENO"; then :
95749
 
+  gl_cv_header_math_huge_val_works=yes
95750
 
+else
95751
 
+  gl_cv_header_math_huge_val_works=no
95752
 
+fi
95753
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95754
 
+fi
95755
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_math_huge_val_works" >&5
95756
 
+$as_echo "$gl_cv_header_math_huge_val_works" >&6; }
95757
 
+  if test $gl_cv_header_math_huge_val_works = no; then
95758
 
+    REPLACE_HUGE_VAL=1
95759
 
+  fi
95760
 
+
95761
 
+      
95762
 
+    for gl_func in acosl asinl atanl ceilf ceill cosl expl floorf floorl frexpl     ldexpl logb logl round roundf roundl sinl sqrtl tanl trunc truncf truncl; do
95763
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
95764
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
95765
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
95766
 
+if eval \${$as_gl_Symbol+:} false; then :
95767
 
+  $as_echo_n "(cached) " >&6
95768
 
+else
95769
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95770
 
+/* end confdefs.h.  */
95771
 
+#include <math.h>
95772
 
+    
95773
 
+int
95774
 
+main ()
95775
 
+{
95776
 
+@%:@undef $gl_func
95777
 
+  (void) $gl_func;
95778
 
+  ;
95779
 
+  return 0;
95780
 
+}
95781
 
+_ACEOF
95782
 
+if ac_fn_c_try_compile "$LINENO"; then :
95783
 
+  eval "$as_gl_Symbol=yes"
95784
 
+else
95785
 
+  eval "$as_gl_Symbol=no"
95786
 
+fi
95787
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
95788
 
+fi
95789
 
+eval ac_res=\$$as_gl_Symbol
95790
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
95791
 
+$as_echo "$ac_res" >&6; }
95792
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
95793
 
+  cat >>confdefs.h <<_ACEOF
95794
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
95795
 
+_ACEOF
95796
 
+
95797
 
+                     eval ac_cv_have_decl_$gl_func=yes
95798
 
+fi
95799
 
+      done
95800
 
+
95801
 
+
95802
 
+
95803
 
+  
95804
 
+  
95805
 
+
95806
 
+
95807
 
+  
95808
 
+  
95809
 
+  :
95810
 
+
95811
 
+
95812
 
+  
95813
 
+
95814
 
+  
95815
 
+  
95816
 
+  
95817
 
+  if test $ac_cv_func_mbrlen = no; then
95818
 
+    HAVE_MBRLEN=0
95819
 
+    ac_fn_c_check_decl "$LINENO" "mbrlen" "ac_cv_have_decl_mbrlen" "
95820
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
95821
 
+   <wchar.h>.
95822
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
95823
 
+   included before <wchar.h>.  */
95824
 
+#include <stddef.h>
95825
 
+#include <stdio.h>
95826
 
+#include <time.h>
95827
 
+#include <wchar.h>
95828
 
+
95829
 
+"
95830
 
+if test "x$ac_cv_have_decl_mbrlen" = xyes; then :
95831
 
+  ac_have_decl=1
95832
 
+else
95833
 
+  ac_have_decl=0
95834
 
+fi
95835
 
+
95836
 
+cat >>confdefs.h <<_ACEOF
95837
 
+@%:@define HAVE_DECL_MBRLEN $ac_have_decl
95838
 
+_ACEOF
95839
 
+
95840
 
+    if test $ac_cv_have_decl_mbrlen = yes; then
95841
 
+                        REPLACE_MBRLEN=1
95842
 
+    fi
95843
 
+  else
95844
 
+                    if test $REPLACE_MBRTOWC = 1; then
95845
 
+      REPLACE_MBRLEN=1
95846
 
+    fi
95847
 
+  fi
95848
 
+
95849
 
+if test $HAVE_MBRLEN = 0 || test $REPLACE_MBRLEN = 1; then
95850
 
+  
95851
 
+  
95852
 
+  
95853
 
+    
95854
 
+      
95855
 
+      
95856
 
+    
95857
 
+  
95858
 
+  gl_LIBOBJS="$gl_LIBOBJS mbrlen.$ac_objext"
95859
 
+
95860
 
+  
95861
 
+  :
95862
 
+
95863
 
+fi
95864
 
+
95865
 
+    
95866
 
+  
95867
 
+  
95868
 
+  
95869
 
+          GNULIB_MBRLEN=1
95870
 
+    
95871
 
+
95872
 
+
95873
 
+    
95874
 
+  
95875
 
+$as_echo "@%:@define GNULIB_TEST_MBRLEN 1" >>confdefs.h
95876
 
+
95877
 
+
95878
 
+
95879
 
+
95880
 
+  
95881
 
+
95882
 
+  
95883
 
+  
95884
 
+  
95885
 
+
95886
 
+  
95887
 
+  
95888
 
+  
95889
 
+  if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
95890
 
+    
95891
 
+  
95892
 
+  
95893
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
95894
 
+$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
95895
 
+if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
95896
 
+  $as_echo_n "(cached) " >&6
95897
 
+else
95898
 
+  
95899
 
+                  case "$host_os" in
95900
 
+                     # Guess no on AIX and OSF/1.
95901
 
+        aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
95902
 
+                     # Guess yes otherwise.
95903
 
+        *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
95904
 
+      esac
95905
 
+      if test $LOCALE_JA != none; then
95906
 
+        if test "$cross_compiling" = yes; then :
95907
 
+  :
95908
 
+else
95909
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95910
 
+/* end confdefs.h.  */
95911
 
+
95912
 
+#include <locale.h>
95913
 
+#include <string.h>
95914
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
95915
 
+   <wchar.h>.
95916
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
95917
 
+   included before <wchar.h>.  */
95918
 
+#include <stddef.h>
95919
 
+#include <stdio.h>
95920
 
+#include <time.h>
95921
 
+#include <wchar.h>
95922
 
+int main ()
95923
 
+{
95924
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
95925
 
+    {
95926
 
+      const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
95927
 
+      mbstate_t state;
95928
 
+      wchar_t wc;
95929
 
+
95930
 
+      memset (&state, '\0', sizeof (mbstate_t));
95931
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
95932
 
+        if (mbsinit (&state))
95933
 
+          return 1;
95934
 
+    }
95935
 
+  return 0;
95936
 
+}
95937
 
+_ACEOF
95938
 
+if ac_fn_c_try_run "$LINENO"; then :
95939
 
+  gl_cv_func_mbrtowc_incomplete_state=yes
95940
 
+else
95941
 
+  gl_cv_func_mbrtowc_incomplete_state=no
95942
 
+fi
95943
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
95944
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
95945
 
+fi
95946
 
+
95947
 
+      fi
95948
 
+    
95949
 
+fi
95950
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
95951
 
+$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
95952
 
+
95953
 
+    
95954
 
+  
95955
 
+  
95956
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
95957
 
+$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
95958
 
+if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
95959
 
+  $as_echo_n "(cached) " >&6
95960
 
+else
95961
 
+  
95962
 
+                  case "$host_os" in
95963
 
+                    # Guess no on Solaris 8.
95964
 
+        solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
95965
 
+                    # Guess yes otherwise.
95966
 
+        *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
95967
 
+      esac
95968
 
+      if test $LOCALE_ZH_CN != none; then
95969
 
+        if test "$cross_compiling" = yes; then :
95970
 
+  :
95971
 
+else
95972
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
95973
 
+/* end confdefs.h.  */
95974
 
+
95975
 
+#include <locale.h>
95976
 
+#include <stdlib.h>
95977
 
+#include <string.h>
95978
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
95979
 
+   <wchar.h>.
95980
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
95981
 
+   included before <wchar.h>.  */
95982
 
+#include <stddef.h>
95983
 
+#include <stdio.h>
95984
 
+#include <time.h>
95985
 
+#include <wchar.h>
95986
 
+int main ()
95987
 
+{
95988
 
+  /* This fails on Solaris 8:
95989
 
+     mbrtowc returns 2, and sets wc to 0x00F0.
95990
 
+     mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
95991
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
95992
 
+    {
95993
 
+      char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
95994
 
+      mbstate_t state;
95995
 
+      wchar_t wc;
95996
 
+
95997
 
+      memset (&state, '\0', sizeof (mbstate_t));
95998
 
+      if (mbrtowc (&wc, input + 3, 6, &state) != 4
95999
 
+          && mbtowc (&wc, input + 3, 6) == 4)
96000
 
+        return 1;
96001
 
+    }
96002
 
+  return 0;
96003
 
+}
96004
 
+_ACEOF
96005
 
+if ac_fn_c_try_run "$LINENO"; then :
96006
 
+  gl_cv_func_mbrtowc_sanitycheck=yes
96007
 
+else
96008
 
+  gl_cv_func_mbrtowc_sanitycheck=no
96009
 
+fi
96010
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
96011
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
96012
 
+fi
96013
 
+
96014
 
+      fi
96015
 
+    
96016
 
+fi
96017
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
96018
 
+$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
96019
 
+
96020
 
+    REPLACE_MBSTATE_T=0
96021
 
+    case "$gl_cv_func_mbrtowc_incomplete_state" in
96022
 
+      *yes) ;;
96023
 
+      *) REPLACE_MBSTATE_T=1 ;;
96024
 
+    esac
96025
 
+    case "$gl_cv_func_mbrtowc_sanitycheck" in
96026
 
+      *yes) ;;
96027
 
+      *) REPLACE_MBSTATE_T=1 ;;
96028
 
+    esac
96029
 
+  else
96030
 
+    REPLACE_MBSTATE_T=1
96031
 
+  fi
96032
 
+
96033
 
+
96034
 
+  
96035
 
+  if test $ac_cv_func_mbrtowc = no; then
96036
 
+    HAVE_MBRTOWC=0
96037
 
+    ac_fn_c_check_decl "$LINENO" "mbrtowc" "ac_cv_have_decl_mbrtowc" "
96038
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
96039
 
+   <wchar.h>.
96040
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
96041
 
+   included before <wchar.h>.  */
96042
 
+#include <stddef.h>
96043
 
+#include <stdio.h>
96044
 
+#include <time.h>
96045
 
+#include <wchar.h>
96046
 
+
96047
 
+"
96048
 
+if test "x$ac_cv_have_decl_mbrtowc" = xyes; then :
96049
 
+  ac_have_decl=1
96050
 
+else
96051
 
+  ac_have_decl=0
96052
 
+fi
96053
 
+
96054
 
+cat >>confdefs.h <<_ACEOF
96055
 
+@%:@define HAVE_DECL_MBRTOWC $ac_have_decl
96056
 
+_ACEOF
96057
 
+
96058
 
+    if test $ac_cv_have_decl_mbrtowc = yes; then
96059
 
+                        REPLACE_MBRTOWC=1
96060
 
+    fi
96061
 
+  else
96062
 
+    if test $REPLACE_MBSTATE_T = 1; then
96063
 
+      REPLACE_MBRTOWC=1
96064
 
+    else
96065
 
+      
96066
 
+  
96067
 
+  
96068
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5
96069
 
+$as_echo_n "checking whether mbrtowc handles a NULL pwc argument... " >&6; }
96070
 
+if ${gl_cv_func_mbrtowc_null_arg1+:} false; then :
96071
 
+  $as_echo_n "(cached) " >&6
96072
 
+else
96073
 
+  
96074
 
+                  case "$host_os" in
96075
 
+                  # Guess no on Solaris.
96076
 
+        solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;;
96077
 
+                  # Guess yes otherwise.
96078
 
+        *)        gl_cv_func_mbrtowc_null_arg1="guessing yes" ;;
96079
 
+      esac
96080
 
+      if test $LOCALE_FR_UTF8 != none; then
96081
 
+        if test "$cross_compiling" = yes; then :
96082
 
+  :
96083
 
+else
96084
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
96085
 
+/* end confdefs.h.  */
96086
 
+
96087
 
+#include <locale.h>
96088
 
+#include <stdlib.h>
96089
 
+#include <string.h>
96090
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
96091
 
+   <wchar.h>.
96092
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
96093
 
+   included before <wchar.h>.  */
96094
 
+#include <stddef.h>
96095
 
+#include <stdio.h>
96096
 
+#include <time.h>
96097
 
+#include <wchar.h>
96098
 
+int main ()
96099
 
+{
96100
 
+  int result = 0;
96101
 
+
96102
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
96103
 
+    {
96104
 
+      char input[] = "\303\237er";
96105
 
+      mbstate_t state;
96106
 
+      wchar_t wc;
96107
 
+      size_t ret;
96108
 
+
96109
 
+      memset (&state, '\0', sizeof (mbstate_t));
96110
 
+      wc = (wchar_t) 0xBADFACE;
96111
 
+      ret = mbrtowc (&wc, input, 5, &state);
96112
 
+      if (ret != 2)
96113
 
+        result |= 1;
96114
 
+      if (!mbsinit (&state))
96115
 
+        result |= 2;
96116
 
+
96117
 
+      memset (&state, '\0', sizeof (mbstate_t));
96118
 
+      ret = mbrtowc (NULL, input, 5, &state);
96119
 
+      if (ret != 2) /* Solaris 7 fails here: ret is -1.  */
96120
 
+        result |= 4;
96121
 
+      if (!mbsinit (&state))
96122
 
+        result |= 8;
96123
 
+    }
96124
 
+  return result;
96125
 
+}
96126
 
+_ACEOF
96127
 
+if ac_fn_c_try_run "$LINENO"; then :
96128
 
+  gl_cv_func_mbrtowc_null_arg1=yes
96129
 
+else
96130
 
+  gl_cv_func_mbrtowc_null_arg1=no
96131
 
+fi
96132
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
96133
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
96134
 
+fi
96135
 
+
96136
 
+      fi
96137
 
+    
96138
 
+fi
96139
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg1" >&5
96140
 
+$as_echo "$gl_cv_func_mbrtowc_null_arg1" >&6; }
96141
 
+
96142
 
+      
96143
 
+  
96144
 
+  
96145
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5
96146
 
+$as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; }
96147
 
+if ${gl_cv_func_mbrtowc_null_arg2+:} false; then :
96148
 
+  $as_echo_n "(cached) " >&6
96149
 
+else
96150
 
+  
96151
 
+                  case "$host_os" in
96152
 
+              # Guess no on OSF/1.
96153
 
+        osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;;
96154
 
+              # Guess yes otherwise.
96155
 
+        *)    gl_cv_func_mbrtowc_null_arg2="guessing yes" ;;
96156
 
+      esac
96157
 
+      if test $LOCALE_FR_UTF8 != none; then
96158
 
+        if test "$cross_compiling" = yes; then :
96159
 
+  :
96160
 
+else
96161
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
96162
 
+/* end confdefs.h.  */
96163
 
+
96164
 
+#include <locale.h>
96165
 
+#include <string.h>
96166
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
96167
 
+   <wchar.h>.
96168
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
96169
 
+   included before <wchar.h>.  */
96170
 
+#include <stddef.h>
96171
 
+#include <stdio.h>
96172
 
+#include <time.h>
96173
 
+#include <wchar.h>
96174
 
+int main ()
96175
 
+{
96176
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
96177
 
+    {
96178
 
+      mbstate_t state;
96179
 
+      wchar_t wc;
96180
 
+      int ret;
96181
 
+
96182
 
+      memset (&state, '\0', sizeof (mbstate_t));
96183
 
+      wc = (wchar_t) 0xBADFACE;
96184
 
+      mbrtowc (&wc, NULL, 5, &state);
96185
 
+      /* Check that wc was not modified.  */
96186
 
+      if (wc != (wchar_t) 0xBADFACE)
96187
 
+        return 1;
96188
 
+    }
96189
 
+  return 0;
96190
 
+}
96191
 
+_ACEOF
96192
 
+if ac_fn_c_try_run "$LINENO"; then :
96193
 
+  gl_cv_func_mbrtowc_null_arg2=yes
96194
 
+else
96195
 
+  gl_cv_func_mbrtowc_null_arg2=no
96196
 
+fi
96197
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
96198
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
96199
 
+fi
96200
 
+
96201
 
+      fi
96202
 
+    
96203
 
+fi
96204
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg2" >&5
96205
 
+$as_echo "$gl_cv_func_mbrtowc_null_arg2" >&6; }
96206
 
+
96207
 
+      
96208
 
+  
96209
 
+  
96210
 
+  
96211
 
+  
96212
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5
96213
 
+$as_echo_n "checking whether mbrtowc has a correct return value... " >&6; }
96214
 
+if ${gl_cv_func_mbrtowc_retval+:} false; then :
96215
 
+  $as_echo_n "(cached) " >&6
96216
 
+else
96217
 
+  
96218
 
+                  case "$host_os" in
96219
 
+                                   # Guess no on HP-UX, Solaris, native Windows.
96220
 
+        hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;;
96221
 
+                                   # Guess yes otherwise.
96222
 
+        *)                         gl_cv_func_mbrtowc_retval="guessing yes" ;;
96223
 
+      esac
96224
 
+      if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \
96225
 
+         || { case "$host_os" in mingw*) true;; *) false;; esac; }; then
96226
 
+        if test "$cross_compiling" = yes; then :
96227
 
+  :
96228
 
+else
96229
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
96230
 
+/* end confdefs.h.  */
96231
 
+
96232
 
+#include <locale.h>
96233
 
+#include <string.h>
96234
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
96235
 
+   <wchar.h>.
96236
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
96237
 
+   included before <wchar.h>.  */
96238
 
+#include <stddef.h>
96239
 
+#include <stdio.h>
96240
 
+#include <time.h>
96241
 
+#include <wchar.h>
96242
 
+int main ()
96243
 
+{
96244
 
+  int result = 0;
96245
 
+  int found_some_locale = 0;
96246
 
+  /* This fails on Solaris.  */
96247
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
96248
 
+    {
96249
 
+      char input[] = "B\303\274\303\237er"; /* "Büßer" */
96250
 
+      mbstate_t state;
96251
 
+      wchar_t wc;
96252
 
+
96253
 
+      memset (&state, '\0', sizeof (mbstate_t));
96254
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
96255
 
+        {
96256
 
+          input[1] = '\0';
96257
 
+          if (mbrtowc (&wc, input + 2, 5, &state) != 1)
96258
 
+            result |= 1;
96259
 
+        }
96260
 
+      found_some_locale = 1;
96261
 
+    }
96262
 
+  /* This fails on HP-UX 11.11.  */
96263
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
96264
 
+    {
96265
 
+      char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
96266
 
+      mbstate_t state;
96267
 
+      wchar_t wc;
96268
 
+
96269
 
+      memset (&state, '\0', sizeof (mbstate_t));
96270
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
96271
 
+        {
96272
 
+          input[1] = '\0';
96273
 
+          if (mbrtowc (&wc, input + 2, 5, &state) != 2)
96274
 
+            result |= 2;
96275
 
+        }
96276
 
+      found_some_locale = 1;
96277
 
+    }
96278
 
+  /* This fails on native Windows.  */
96279
 
+  if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL)
96280
 
+    {
96281
 
+      char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */
96282
 
+      mbstate_t state;
96283
 
+      wchar_t wc;
96284
 
+
96285
 
+      memset (&state, '\0', sizeof (mbstate_t));
96286
 
+      if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
96287
 
+        {
96288
 
+          input[3] = '\0';
96289
 
+          if (mbrtowc (&wc, input + 4, 4, &state) != 1)
96290
 
+            result |= 4;
96291
 
+        }
96292
 
+      found_some_locale = 1;
96293
 
+    }
96294
 
+  if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL)
96295
 
+    {
96296
 
+      char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */
96297
 
+      mbstate_t state;
96298
 
+      wchar_t wc;
96299
 
+
96300
 
+      memset (&state, '\0', sizeof (mbstate_t));
96301
 
+      if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
96302
 
+        {
96303
 
+          input[3] = '\0';
96304
 
+          if (mbrtowc (&wc, input + 4, 4, &state) != 1)
96305
 
+            result |= 8;
96306
 
+        }
96307
 
+      found_some_locale = 1;
96308
 
+    }
96309
 
+  if (setlocale (LC_ALL, "Chinese_China.936") != NULL)
96310
 
+    {
96311
 
+      char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */
96312
 
+      mbstate_t state;
96313
 
+      wchar_t wc;
96314
 
+
96315
 
+      memset (&state, '\0', sizeof (mbstate_t));
96316
 
+      if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
96317
 
+        {
96318
 
+          input[3] = '\0';
96319
 
+          if (mbrtowc (&wc, input + 4, 4, &state) != 1)
96320
 
+            result |= 16;
96321
 
+        }
96322
 
+      found_some_locale = 1;
96323
 
+    }
96324
 
+  return (found_some_locale ? result : 77);
96325
 
+}
96326
 
+_ACEOF
96327
 
+if ac_fn_c_try_run "$LINENO"; then :
96328
 
+  gl_cv_func_mbrtowc_retval=yes
96329
 
+else
96330
 
+  if test $? != 77; then
96331
 
+             gl_cv_func_mbrtowc_retval=no
96332
 
+           fi
96333
 
+          
96334
 
+fi
96335
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
96336
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
96337
 
+fi
96338
 
+
96339
 
+      fi
96340
 
+    
96341
 
+fi
96342
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5
96343
 
+$as_echo "$gl_cv_func_mbrtowc_retval" >&6; }
96344
 
+
96345
 
+      
96346
 
+  
96347
 
+  
96348
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5
96349
 
+$as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; }
96350
 
+if ${gl_cv_func_mbrtowc_nul_retval+:} false; then :
96351
 
+  $as_echo_n "(cached) " >&6
96352
 
+else
96353
 
+  
96354
 
+                  case "$host_os" in
96355
 
+                       # Guess no on Solaris 8 and 9.
96356
 
+        solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;;
96357
 
+                       # Guess yes otherwise.
96358
 
+        *)             gl_cv_func_mbrtowc_nul_retval="guessing yes" ;;
96359
 
+      esac
96360
 
+      if test $LOCALE_ZH_CN != none; then
96361
 
+        if test "$cross_compiling" = yes; then :
96362
 
+  :
96363
 
+else
96364
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
96365
 
+/* end confdefs.h.  */
96366
 
+
96367
 
+#include <locale.h>
96368
 
+#include <string.h>
96369
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
96370
 
+   <wchar.h>.
96371
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
96372
 
+   included before <wchar.h>.  */
96373
 
+#include <stddef.h>
96374
 
+#include <stdio.h>
96375
 
+#include <time.h>
96376
 
+#include <wchar.h>
96377
 
+int main ()
96378
 
+{
96379
 
+  /* This fails on Solaris 8 and 9.  */
96380
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
96381
 
+    {
96382
 
+      mbstate_t state;
96383
 
+      wchar_t wc;
96384
 
+
96385
 
+      memset (&state, '\0', sizeof (mbstate_t));
96386
 
+      if (mbrtowc (&wc, "", 1, &state) != 0)
96387
 
+        return 1;
96388
 
+    }
96389
 
+  return 0;
96390
 
+}
96391
 
+_ACEOF
96392
 
+if ac_fn_c_try_run "$LINENO"; then :
96393
 
+  gl_cv_func_mbrtowc_nul_retval=yes
96394
 
+else
96395
 
+  gl_cv_func_mbrtowc_nul_retval=no
96396
 
+fi
96397
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
96398
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
96399
 
+fi
96400
 
+
96401
 
+      fi
96402
 
+    
96403
 
+fi
96404
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5
96405
 
+$as_echo "$gl_cv_func_mbrtowc_nul_retval" >&6; }
96406
 
+
96407
 
+      case "$gl_cv_func_mbrtowc_null_arg1" in
96408
 
+        *yes) ;;
96409
 
+        *) 
96410
 
+$as_echo "@%:@define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h
96411
 
+
96412
 
+           REPLACE_MBRTOWC=1
96413
 
+           ;;
96414
 
+      esac
96415
 
+      case "$gl_cv_func_mbrtowc_null_arg2" in
96416
 
+        *yes) ;;
96417
 
+        *) 
96418
 
+$as_echo "@%:@define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h
96419
 
+
96420
 
+           REPLACE_MBRTOWC=1
96421
 
+           ;;
96422
 
+      esac
96423
 
+      case "$gl_cv_func_mbrtowc_retval" in
96424
 
+        *yes) ;;
96425
 
+        *) 
96426
 
+$as_echo "@%:@define MBRTOWC_RETVAL_BUG 1" >>confdefs.h
96427
 
+
96428
 
+           REPLACE_MBRTOWC=1
96429
 
+           ;;
96430
 
+      esac
96431
 
+      case "$gl_cv_func_mbrtowc_nul_retval" in
96432
 
+        *yes) ;;
96433
 
+        *) 
96434
 
+$as_echo "@%:@define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h
96435
 
+
96436
 
+           REPLACE_MBRTOWC=1
96437
 
+           ;;
96438
 
+      esac
96439
 
+    fi
96440
 
+  fi
96441
 
+
96442
 
+if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
96443
 
+  
96444
 
+  
96445
 
+  
96446
 
+    
96447
 
+      
96448
 
+      
96449
 
+    
96450
 
+  
96451
 
+  gl_LIBOBJS="$gl_LIBOBJS mbrtowc.$ac_objext"
96452
 
+
96453
 
+  
96454
 
+  :
96455
 
+
96456
 
+fi
96457
 
+
96458
 
+    
96459
 
+  
96460
 
+  
96461
 
+  
96462
 
+          GNULIB_MBRTOWC=1
96463
 
+    
96464
 
+
96465
 
+
96466
 
+    
96467
 
+  
96468
 
+$as_echo "@%:@define GNULIB_TEST_MBRTOWC 1" >>confdefs.h
96469
 
+
96470
 
+
96471
 
+
96472
 
+
96473
 
+    
96474
 
+  
96475
 
+  
96476
 
+  
96477
 
+          GNULIB_MBSCASECMP=1
96478
 
+    
96479
 
+
96480
 
+
96481
 
+    
96482
 
+  
96483
 
+$as_echo "@%:@define GNULIB_TEST_MBSCASECMP 1" >>confdefs.h
96484
 
+
96485
 
+
96486
 
+
96487
 
+
96488
 
+  
96489
 
+  
96490
 
+
96491
 
+  
96492
 
+  
96493
 
+  
96494
 
+
96495
 
+  
96496
 
+  
96497
 
+  
96498
 
+  if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
96499
 
+    
96500
 
+  
96501
 
+  
96502
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
96503
 
+$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
96504
 
+if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
96505
 
+  $as_echo_n "(cached) " >&6
96506
 
+else
96507
 
+  
96508
 
+                  case "$host_os" in
96509
 
+                     # Guess no on AIX and OSF/1.
96510
 
+        aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
96511
 
+                     # Guess yes otherwise.
96512
 
+        *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
96513
 
+      esac
96514
 
+      if test $LOCALE_JA != none; then
96515
 
+        if test "$cross_compiling" = yes; then :
96516
 
+  :
96517
 
+else
96518
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
96519
 
+/* end confdefs.h.  */
96520
 
+
96521
 
+#include <locale.h>
96522
 
+#include <string.h>
96523
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
96524
 
+   <wchar.h>.
96525
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
96526
 
+   included before <wchar.h>.  */
96527
 
+#include <stddef.h>
96528
 
+#include <stdio.h>
96529
 
+#include <time.h>
96530
 
+#include <wchar.h>
96531
 
+int main ()
96532
 
+{
96533
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
96534
 
+    {
96535
 
+      const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
96536
 
+      mbstate_t state;
96537
 
+      wchar_t wc;
96538
 
+
96539
 
+      memset (&state, '\0', sizeof (mbstate_t));
96540
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
96541
 
+        if (mbsinit (&state))
96542
 
+          return 1;
96543
 
+    }
96544
 
+  return 0;
96545
 
+}
96546
 
+_ACEOF
96547
 
+if ac_fn_c_try_run "$LINENO"; then :
96548
 
+  gl_cv_func_mbrtowc_incomplete_state=yes
96549
 
+else
96550
 
+  gl_cv_func_mbrtowc_incomplete_state=no
96551
 
+fi
96552
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
96553
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
96554
 
+fi
96555
 
+
96556
 
+      fi
96557
 
+    
96558
 
+fi
96559
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
96560
 
+$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
96561
 
+
96562
 
+    
96563
 
+  
96564
 
+  
96565
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
96566
 
+$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
96567
 
+if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
96568
 
+  $as_echo_n "(cached) " >&6
96569
 
+else
96570
 
+  
96571
 
+                  case "$host_os" in
96572
 
+                    # Guess no on Solaris 8.
96573
 
+        solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
96574
 
+                    # Guess yes otherwise.
96575
 
+        *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
96576
 
+      esac
96577
 
+      if test $LOCALE_ZH_CN != none; then
96578
 
+        if test "$cross_compiling" = yes; then :
96579
 
+  :
96580
 
+else
96581
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
96582
 
+/* end confdefs.h.  */
96583
 
+
96584
 
+#include <locale.h>
96585
 
+#include <stdlib.h>
96586
 
+#include <string.h>
96587
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
96588
 
+   <wchar.h>.
96589
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
96590
 
+   included before <wchar.h>.  */
96591
 
+#include <stddef.h>
96592
 
+#include <stdio.h>
96593
 
+#include <time.h>
96594
 
+#include <wchar.h>
96595
 
+int main ()
96596
 
+{
96597
 
+  /* This fails on Solaris 8:
96598
 
+     mbrtowc returns 2, and sets wc to 0x00F0.
96599
 
+     mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
96600
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
96601
 
+    {
96602
 
+      char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
96603
 
+      mbstate_t state;
96604
 
+      wchar_t wc;
96605
 
+
96606
 
+      memset (&state, '\0', sizeof (mbstate_t));
96607
 
+      if (mbrtowc (&wc, input + 3, 6, &state) != 4
96608
 
+          && mbtowc (&wc, input + 3, 6) == 4)
96609
 
+        return 1;
96610
 
+    }
96611
 
+  return 0;
96612
 
+}
96613
 
+_ACEOF
96614
 
+if ac_fn_c_try_run "$LINENO"; then :
96615
 
+  gl_cv_func_mbrtowc_sanitycheck=yes
96616
 
+else
96617
 
+  gl_cv_func_mbrtowc_sanitycheck=no
96618
 
+fi
96619
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
96620
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
96621
 
+fi
96622
 
+
96623
 
+      fi
96624
 
+    
96625
 
+fi
96626
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
96627
 
+$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
96628
 
+
96629
 
+    REPLACE_MBSTATE_T=0
96630
 
+    case "$gl_cv_func_mbrtowc_incomplete_state" in
96631
 
+      *yes) ;;
96632
 
+      *) REPLACE_MBSTATE_T=1 ;;
96633
 
+    esac
96634
 
+    case "$gl_cv_func_mbrtowc_sanitycheck" in
96635
 
+      *yes) ;;
96636
 
+      *) REPLACE_MBSTATE_T=1 ;;
96637
 
+    esac
96638
 
+  else
96639
 
+    REPLACE_MBSTATE_T=1
96640
 
+  fi
96641
 
+
96642
 
+
96643
 
+  
96644
 
+  if test $ac_cv_func_mbsinit = no; then
96645
 
+    HAVE_MBSINIT=0
96646
 
+    ac_fn_c_check_decl "$LINENO" "mbsinit" "ac_cv_have_decl_mbsinit" "
96647
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
96648
 
+   <wchar.h>.
96649
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
96650
 
+   included before <wchar.h>.  */
96651
 
+#include <stddef.h>
96652
 
+#include <stdio.h>
96653
 
+#include <time.h>
96654
 
+#include <wchar.h>
96655
 
+
96656
 
+"
96657
 
+if test "x$ac_cv_have_decl_mbsinit" = xyes; then :
96658
 
+  ac_have_decl=1
96659
 
+else
96660
 
+  ac_have_decl=0
96661
 
+fi
96662
 
+
96663
 
+cat >>confdefs.h <<_ACEOF
96664
 
+@%:@define HAVE_DECL_MBSINIT $ac_have_decl
96665
 
+_ACEOF
96666
 
+
96667
 
+    if test $ac_cv_have_decl_mbsinit = yes; then
96668
 
+                        REPLACE_MBSINIT=1
96669
 
+    fi
96670
 
+  else
96671
 
+    if test $REPLACE_MBSTATE_T = 1; then
96672
 
+      REPLACE_MBSINIT=1
96673
 
+    else
96674
 
+                        case "$host_os" in
96675
 
+        mingw*) REPLACE_MBSINIT=1 ;;
96676
 
+      esac
96677
 
+    fi
96678
 
+  fi
96679
 
+
96680
 
+if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
96681
 
+  
96682
 
+  
96683
 
+  
96684
 
+    
96685
 
+      
96686
 
+      
96687
 
+    
96688
 
+  
96689
 
+  gl_LIBOBJS="$gl_LIBOBJS mbsinit.$ac_objext"
96690
 
+
96691
 
+  
96692
 
+  :
96693
 
+
96694
 
+fi
96695
 
+
96696
 
+    
96697
 
+  
96698
 
+  
96699
 
+  
96700
 
+          GNULIB_MBSINIT=1
96701
 
+    
96702
 
+
96703
 
+
96704
 
+    
96705
 
+  
96706
 
+$as_echo "@%:@define GNULIB_TEST_MBSINIT 1" >>confdefs.h
96707
 
+
96708
 
+
96709
 
+
96710
 
+
96711
 
+  
96712
 
+  
96713
 
+  if test $ac_cv_func_mbslen = yes; then
96714
 
+    HAVE_MBSLEN=1
96715
 
+  else
96716
 
+    HAVE_MBSLEN=0
96717
 
+  fi
96718
 
+
96719
 
+
96720
 
+    
96721
 
+  
96722
 
+  
96723
 
+  
96724
 
+          GNULIB_MBSLEN=1
96725
 
+    
96726
 
+
96727
 
+
96728
 
+    
96729
 
+  
96730
 
+$as_echo "@%:@define GNULIB_TEST_MBSLEN 1" >>confdefs.h
96731
 
+
96732
 
+
96733
 
+
96734
 
+
96735
 
+  
96736
 
+
96737
 
+  
96738
 
+  
96739
 
+  
96740
 
+
96741
 
+  
96742
 
+  
96743
 
+  
96744
 
+  if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
96745
 
+    
96746
 
+  
96747
 
+  
96748
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
96749
 
+$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
96750
 
+if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
96751
 
+  $as_echo_n "(cached) " >&6
96752
 
+else
96753
 
+  
96754
 
+                  case "$host_os" in
96755
 
+                     # Guess no on AIX and OSF/1.
96756
 
+        aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
96757
 
+                     # Guess yes otherwise.
96758
 
+        *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
96759
 
+      esac
96760
 
+      if test $LOCALE_JA != none; then
96761
 
+        if test "$cross_compiling" = yes; then :
96762
 
+  :
96763
 
+else
96764
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
96765
 
+/* end confdefs.h.  */
96766
 
+
96767
 
+#include <locale.h>
96768
 
+#include <string.h>
96769
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
96770
 
+   <wchar.h>.
96771
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
96772
 
+   included before <wchar.h>.  */
96773
 
+#include <stddef.h>
96774
 
+#include <stdio.h>
96775
 
+#include <time.h>
96776
 
+#include <wchar.h>
96777
 
+int main ()
96778
 
+{
96779
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
96780
 
+    {
96781
 
+      const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
96782
 
+      mbstate_t state;
96783
 
+      wchar_t wc;
96784
 
+
96785
 
+      memset (&state, '\0', sizeof (mbstate_t));
96786
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
96787
 
+        if (mbsinit (&state))
96788
 
+          return 1;
96789
 
+    }
96790
 
+  return 0;
96791
 
+}
96792
 
+_ACEOF
96793
 
+if ac_fn_c_try_run "$LINENO"; then :
96794
 
+  gl_cv_func_mbrtowc_incomplete_state=yes
96795
 
+else
96796
 
+  gl_cv_func_mbrtowc_incomplete_state=no
96797
 
+fi
96798
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
96799
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
96800
 
+fi
96801
 
+
96802
 
+      fi
96803
 
+    
96804
 
+fi
96805
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
96806
 
+$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
96807
 
+
96808
 
+    
96809
 
+  
96810
 
+  
96811
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
96812
 
+$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
96813
 
+if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
96814
 
+  $as_echo_n "(cached) " >&6
96815
 
+else
96816
 
+  
96817
 
+                  case "$host_os" in
96818
 
+                    # Guess no on Solaris 8.
96819
 
+        solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
96820
 
+                    # Guess yes otherwise.
96821
 
+        *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
96822
 
+      esac
96823
 
+      if test $LOCALE_ZH_CN != none; then
96824
 
+        if test "$cross_compiling" = yes; then :
96825
 
+  :
96826
 
+else
96827
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
96828
 
+/* end confdefs.h.  */
96829
 
+
96830
 
+#include <locale.h>
96831
 
+#include <stdlib.h>
96832
 
+#include <string.h>
96833
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
96834
 
+   <wchar.h>.
96835
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
96836
 
+   included before <wchar.h>.  */
96837
 
+#include <stddef.h>
96838
 
+#include <stdio.h>
96839
 
+#include <time.h>
96840
 
+#include <wchar.h>
96841
 
+int main ()
96842
 
+{
96843
 
+  /* This fails on Solaris 8:
96844
 
+     mbrtowc returns 2, and sets wc to 0x00F0.
96845
 
+     mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
96846
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
96847
 
+    {
96848
 
+      char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
96849
 
+      mbstate_t state;
96850
 
+      wchar_t wc;
96851
 
+
96852
 
+      memset (&state, '\0', sizeof (mbstate_t));
96853
 
+      if (mbrtowc (&wc, input + 3, 6, &state) != 4
96854
 
+          && mbtowc (&wc, input + 3, 6) == 4)
96855
 
+        return 1;
96856
 
+    }
96857
 
+  return 0;
96858
 
+}
96859
 
+_ACEOF
96860
 
+if ac_fn_c_try_run "$LINENO"; then :
96861
 
+  gl_cv_func_mbrtowc_sanitycheck=yes
96862
 
+else
96863
 
+  gl_cv_func_mbrtowc_sanitycheck=no
96864
 
+fi
96865
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
96866
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
96867
 
+fi
96868
 
+
96869
 
+      fi
96870
 
+    
96871
 
+fi
96872
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
96873
 
+$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
96874
 
+
96875
 
+    REPLACE_MBSTATE_T=0
96876
 
+    case "$gl_cv_func_mbrtowc_incomplete_state" in
96877
 
+      *yes) ;;
96878
 
+      *) REPLACE_MBSTATE_T=1 ;;
96879
 
+    esac
96880
 
+    case "$gl_cv_func_mbrtowc_sanitycheck" in
96881
 
+      *yes) ;;
96882
 
+      *) REPLACE_MBSTATE_T=1 ;;
96883
 
+    esac
96884
 
+  else
96885
 
+    REPLACE_MBSTATE_T=1
96886
 
+  fi
96887
 
+
96888
 
+
96889
 
+  
96890
 
+  if test $ac_cv_func_mbsrtowcs = no; then
96891
 
+    HAVE_MBSRTOWCS=0
96892
 
+    ac_fn_c_check_decl "$LINENO" "mbsrtowcs" "ac_cv_have_decl_mbsrtowcs" "
96893
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
96894
 
+   <wchar.h>.
96895
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
96896
 
+   included before <wchar.h>.  */
96897
 
+#include <stddef.h>
96898
 
+#include <stdio.h>
96899
 
+#include <time.h>
96900
 
+#include <wchar.h>
96901
 
+
96902
 
+"
96903
 
+if test "x$ac_cv_have_decl_mbsrtowcs" = xyes; then :
96904
 
+  ac_have_decl=1
96905
 
+else
96906
 
+  ac_have_decl=0
96907
 
+fi
96908
 
+
96909
 
+cat >>confdefs.h <<_ACEOF
96910
 
+@%:@define HAVE_DECL_MBSRTOWCS $ac_have_decl
96911
 
+_ACEOF
96912
 
+
96913
 
+    if test $ac_cv_have_decl_mbsrtowcs = yes; then
96914
 
+                        REPLACE_MBSRTOWCS=1
96915
 
+    fi
96916
 
+  else
96917
 
+    if test $REPLACE_MBSTATE_T = 1; then
96918
 
+      REPLACE_MBSRTOWCS=1
96919
 
+    else
96920
 
+      
96921
 
+  
96922
 
+  
96923
 
+  
96924
 
+  
96925
 
+  
96926
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbsrtowcs works" >&5
96927
 
+$as_echo_n "checking whether mbsrtowcs works... " >&6; }
96928
 
+if ${gl_cv_func_mbsrtowcs_works+:} false; then :
96929
 
+  $as_echo_n "(cached) " >&6
96930
 
+else
96931
 
+  
96932
 
+                  case "$host_os" in
96933
 
+                                   # Guess no on HP-UX, Solaris, mingw.
96934
 
+        hpux* | solaris* | mingw*) gl_cv_func_mbsrtowcs_works="guessing no" ;;
96935
 
+                                   # Guess yes otherwise.
96936
 
+        *)                         gl_cv_func_mbsrtowcs_works="guessing yes" ;;
96937
 
+      esac
96938
 
+      if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
96939
 
+        if test "$cross_compiling" = yes; then :
96940
 
+  :
96941
 
+else
96942
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
96943
 
+/* end confdefs.h.  */
96944
 
+
96945
 
+#include <locale.h>
96946
 
+#include <string.h>
96947
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
96948
 
+   <wchar.h>.
96949
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
96950
 
+   included before <wchar.h>.  */
96951
 
+#include <stddef.h>
96952
 
+#include <stdio.h>
96953
 
+#include <time.h>
96954
 
+#include <wchar.h>
96955
 
+int main ()
96956
 
+{
96957
 
+  int result = 0;
96958
 
+  /* Test whether the function supports a NULL destination argument.
96959
 
+     This fails on native Windows.  */
96960
 
+  if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
96961
 
+    {
96962
 
+      const char input[] = "\337er";
96963
 
+      const char *src = input;
96964
 
+      mbstate_t state;
96965
 
+
96966
 
+      memset (&state, '\0', sizeof (mbstate_t));
96967
 
+      if (mbsrtowcs (NULL, &src, 1, &state) != 3
96968
 
+          || src != input)
96969
 
+        result |= 1;
96970
 
+    }
96971
 
+  /* Test whether the function works when started with a conversion state
96972
 
+     in non-initial state.  This fails on HP-UX 11.11 and Solaris 10.  */
96973
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
96974
 
+    {
96975
 
+      const char input[] = "B\303\274\303\237er";
96976
 
+      mbstate_t state;
96977
 
+
96978
 
+      memset (&state, '\0', sizeof (mbstate_t));
96979
 
+      if (mbrtowc (NULL, input + 1, 1, &state) == (size_t)(-2))
96980
 
+        if (!mbsinit (&state))
96981
 
+          {
96982
 
+            const char *src = input + 2;
96983
 
+            if (mbsrtowcs (NULL, &src, 10, &state) != 4)
96984
 
+              result |= 2;
96985
 
+          }
96986
 
+    }
96987
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
96988
 
+    {
96989
 
+      const char input[] = "<\306\374\313\334\270\354>";
96990
 
+      mbstate_t state;
96991
 
+
96992
 
+      memset (&state, '\0', sizeof (mbstate_t));
96993
 
+      if (mbrtowc (NULL, input + 3, 1, &state) == (size_t)(-2))
96994
 
+        if (!mbsinit (&state))
96995
 
+          {
96996
 
+            const char *src = input + 4;
96997
 
+            if (mbsrtowcs (NULL, &src, 10, &state) != 3)
96998
 
+              result |= 4;
96999
 
+          }
97000
 
+    }
97001
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
97002
 
+    {
97003
 
+      const char input[] = "B\250\271\201\060\211\070er";
97004
 
+      mbstate_t state;
97005
 
+
97006
 
+      memset (&state, '\0', sizeof (mbstate_t));
97007
 
+      if (mbrtowc (NULL, input + 1, 1, &state) == (size_t)(-2))
97008
 
+        if (!mbsinit (&state))
97009
 
+          {
97010
 
+            const char *src = input + 2;
97011
 
+            if (mbsrtowcs (NULL, &src, 10, &state) != 4)
97012
 
+              result |= 8;
97013
 
+          }
97014
 
+    }
97015
 
+  return result;
97016
 
+}
97017
 
+_ACEOF
97018
 
+if ac_fn_c_try_run "$LINENO"; then :
97019
 
+  gl_cv_func_mbsrtowcs_works=yes
97020
 
+else
97021
 
+  gl_cv_func_mbsrtowcs_works=no
97022
 
+fi
97023
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
97024
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
97025
 
+fi
97026
 
+
97027
 
+      fi
97028
 
+    
97029
 
+fi
97030
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbsrtowcs_works" >&5
97031
 
+$as_echo "$gl_cv_func_mbsrtowcs_works" >&6; }
97032
 
+
97033
 
+      case "$gl_cv_func_mbsrtowcs_works" in
97034
 
+        *yes) ;;
97035
 
+        *) REPLACE_MBSRTOWCS=1 ;;
97036
 
+      esac
97037
 
+    fi
97038
 
+  fi
97039
 
+
97040
 
+if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then
97041
 
+  
97042
 
+  
97043
 
+  
97044
 
+    
97045
 
+      
97046
 
+      
97047
 
+    
97048
 
+  
97049
 
+  gl_LIBOBJS="$gl_LIBOBJS mbsrtowcs.$ac_objext"
97050
 
+
97051
 
+  
97052
 
+  
97053
 
+  
97054
 
+    
97055
 
+      
97056
 
+      
97057
 
+    
97058
 
+  
97059
 
+  gl_LIBOBJS="$gl_LIBOBJS mbsrtowcs-state.$ac_objext"
97060
 
+
97061
 
+  
97062
 
+  :
97063
 
+
97064
 
+fi
97065
 
+
97066
 
+    
97067
 
+  
97068
 
+  
97069
 
+  
97070
 
+          GNULIB_MBSRTOWCS=1
97071
 
+    
97072
 
+
97073
 
+
97074
 
+    
97075
 
+  
97076
 
+$as_echo "@%:@define GNULIB_TEST_MBSRTOWCS 1" >>confdefs.h
97077
 
+
97078
 
+
97079
 
+
97080
 
+
97081
 
+    
97082
 
+  
97083
 
+  
97084
 
+  
97085
 
+          GNULIB_MBSSTR=1
97086
 
+    
97087
 
+
97088
 
+
97089
 
+    
97090
 
+  
97091
 
+$as_echo "@%:@define GNULIB_TEST_MBSSTR 1" >>confdefs.h
97092
 
+
97093
 
+
97094
 
+
97095
 
+
97096
 
+  
97097
 
+  
97098
 
+
97099
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbswidth is declared in <wchar.h>" >&5
97100
 
+$as_echo_n "checking whether mbswidth is declared in <wchar.h>... " >&6; }
97101
 
+if ${ac_cv_have_decl_mbswidth+:} false; then :
97102
 
+  $as_echo_n "(cached) " >&6
97103
 
+else
97104
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
97105
 
+/* end confdefs.h.  */
97106
 
+
97107
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
97108
 
+   <wchar.h>.
97109
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
97110
 
+   before <wchar.h>.  */
97111
 
+#include <stddef.h>
97112
 
+#include <stdio.h>
97113
 
+#include <time.h>
97114
 
+#include <wchar.h>
97115
 
+          
97116
 
+int
97117
 
+main ()
97118
 
+{
97119
 
+
97120
 
+  char *p = (char *) mbswidth;
97121
 
+  return !p;
97122
 
+          
97123
 
+  ;
97124
 
+  return 0;
97125
 
+}
97126
 
+_ACEOF
97127
 
+if ac_fn_c_try_compile "$LINENO"; then :
97128
 
+  ac_cv_have_decl_mbswidth=yes
97129
 
+else
97130
 
+  ac_cv_have_decl_mbswidth=no
97131
 
+fi
97132
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
97133
 
+fi
97134
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_mbswidth" >&5
97135
 
+$as_echo "$ac_cv_have_decl_mbswidth" >&6; }
97136
 
+  if test $ac_cv_have_decl_mbswidth = yes; then
97137
 
+    ac_val=1
97138
 
+  else
97139
 
+    ac_val=0
97140
 
+  fi
97141
 
+  
97142
 
+cat >>confdefs.h <<_ACEOF
97143
 
+@%:@define HAVE_DECL_MBSWIDTH_IN_WCHAR_H $ac_val
97144
 
+_ACEOF
97145
 
+
97146
 
+
97147
 
+  
97148
 
+    
97149
 
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
97150
 
+$as_echo_n "checking for mbstate_t... " >&6; }
97151
 
+if ${ac_cv_type_mbstate_t+:} false; then :
97152
 
+  $as_echo_n "(cached) " >&6
97153
 
+else
97154
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
97155
 
+/* end confdefs.h.  */
97156
 
+$ac_includes_default
97157
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
97158
 
+   <wchar.h>.
97159
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
97160
 
+   included before <wchar.h>.  */
97161
 
+#include <stddef.h>
97162
 
+#include <stdio.h>
97163
 
+#include <time.h>
97164
 
+#include <wchar.h>
97165
 
+int
97166
 
+main ()
97167
 
+{
97168
 
+mbstate_t x; return sizeof x;
97169
 
+  ;
97170
 
+  return 0;
97171
 
+}
97172
 
+_ACEOF
97173
 
+if ac_fn_c_try_compile "$LINENO"; then :
97174
 
+  ac_cv_type_mbstate_t=yes
97175
 
+else
97176
 
+  ac_cv_type_mbstate_t=no
97177
 
+fi
97178
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
97179
 
+fi
97180
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
97181
 
+$as_echo "$ac_cv_type_mbstate_t" >&6; }
97182
 
+   if test $ac_cv_type_mbstate_t = yes; then
97183
 
+     
97184
 
+$as_echo "@%:@define HAVE_MBSTATE_T 1" >>confdefs.h
97185
 
+
97186
 
+   else
97187
 
+     
97188
 
+$as_echo "@%:@define mbstate_t int" >>confdefs.h
97189
 
+
97190
 
+   fi
97191
 
+
97192
 
+
97193
 
+
97194
 
+  
97195
 
+
97196
 
+  if false; then
97197
 
+    REPLACE_MBTOWC=1
97198
 
+  fi
97199
 
+
97200
 
+if test $REPLACE_MBTOWC = 1; then
97201
 
+  
97202
 
+  
97203
 
+  
97204
 
+    
97205
 
+      
97206
 
+      
97207
 
+    
97208
 
+  
97209
 
+  gl_LIBOBJS="$gl_LIBOBJS mbtowc.$ac_objext"
97210
 
+
97211
 
+  
97212
 
+  :
97213
 
+
97214
 
+fi
97215
 
+
97216
 
+    
97217
 
+  
97218
 
+  
97219
 
+  
97220
 
+          GNULIB_MBTOWC=1
97221
 
+    
97222
 
+
97223
 
+
97224
 
+    
97225
 
+  
97226
 
+$as_echo "@%:@define GNULIB_TEST_MBTOWC 1" >>confdefs.h
97227
 
+
97228
 
+
97229
 
+
97230
 
+
97231
 
+  
97232
 
+  
97233
 
+  :
97234
 
+
97235
 
+
97236
 
+  :
97237
 
+
97238
 
+
97239
 
+if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
97240
 
+  
97241
 
+  
97242
 
+  
97243
 
+    
97244
 
+      
97245
 
+      
97246
 
+    
97247
 
+  
97248
 
+  gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext"
97249
 
+
97250
 
+  
97251
 
+  for ac_header in bp-sym.h
97252
 
+do :
97253
 
+  ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default"
97254
 
+if test "x$ac_cv_header_bp_sym_h" = xyes; then :
97255
 
+  cat >>confdefs.h <<_ACEOF
97256
 
+@%:@define HAVE_BP_SYM_H 1
97257
 
+_ACEOF
97258
 
97259
 
+fi
97260
 
+
97261
 
+done
97262
 
+
97263
 
+
97264
 
+fi
97265
 
+
97266
 
+    
97267
 
+  
97268
 
+  
97269
 
+  
97270
 
+          GNULIB_MEMCHR=1
97271
 
+    
97272
 
+
97273
 
+
97274
 
+    
97275
 
+  
97276
 
+$as_echo "@%:@define GNULIB_TEST_MEMCHR 1" >>confdefs.h
97277
 
+
97278
 
+
97279
 
+
97280
 
+
97281
 
+  
97282
 
+
97283
 
+
97284
 
+    
97285
 
+
97286
 
+    
97287
 
+
97288
 
+  
97289
 
+  for ac_func in mempcpy
97290
 
+do :
97291
 
+  ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy"
97292
 
+if test "x$ac_cv_func_mempcpy" = xyes; then :
97293
 
+  cat >>confdefs.h <<_ACEOF
97294
 
+@%:@define HAVE_MEMPCPY 1
97295
 
+_ACEOF
97296
 
97297
 
+fi
97298
 
+done
97299
 
+
97300
 
+  if test $ac_cv_func_mempcpy = no; then
97301
 
+    HAVE_MEMPCPY=0
97302
 
+  fi
97303
 
+
97304
 
+if test $HAVE_MEMPCPY = 0; then
97305
 
+  
97306
 
+  
97307
 
+  
97308
 
+    
97309
 
+      
97310
 
+      
97311
 
+    
97312
 
+  
97313
 
+  gl_LIBOBJS="$gl_LIBOBJS mempcpy.$ac_objext"
97314
 
+
97315
 
+  
97316
 
+  :
97317
 
+
97318
 
+fi
97319
 
+
97320
 
+    
97321
 
+  
97322
 
+  
97323
 
+  
97324
 
+          GNULIB_MEMPCPY=1
97325
 
+    
97326
 
+
97327
 
+
97328
 
+    
97329
 
+  
97330
 
+$as_echo "@%:@define GNULIB_TEST_MEMPCPY 1" >>confdefs.h
97331
 
+
97332
 
+
97333
 
+
97334
 
+
97335
 
+    
97336
 
+
97337
 
+  
97338
 
+  
97339
 
+  if test $ac_cv_have_decl_memrchr = no; then
97340
 
+    HAVE_DECL_MEMRCHR=0
97341
 
+  fi
97342
 
+
97343
 
+  for ac_func in memrchr
97344
 
+do :
97345
 
+  ac_fn_c_check_func "$LINENO" "memrchr" "ac_cv_func_memrchr"
97346
 
+if test "x$ac_cv_func_memrchr" = xyes; then :
97347
 
+  cat >>confdefs.h <<_ACEOF
97348
 
+@%:@define HAVE_MEMRCHR 1
97349
 
+_ACEOF
97350
 
97351
 
+fi
97352
 
+done
97353
 
+
97354
 
+
97355
 
+if test $ac_cv_func_memrchr = no; then
97356
 
+  
97357
 
+  
97358
 
+  
97359
 
+    
97360
 
+      
97361
 
+      
97362
 
+    
97363
 
+  
97364
 
+  gl_LIBOBJS="$gl_LIBOBJS memrchr.$ac_objext"
97365
 
+
97366
 
+  :
97367
 
+fi
97368
 
+
97369
 
+    
97370
 
+  
97371
 
+  
97372
 
+  
97373
 
+          GNULIB_MEMRCHR=1
97374
 
+    
97375
 
+
97376
 
+
97377
 
+    
97378
 
+  
97379
 
+$as_echo "@%:@define GNULIB_TEST_MEMRCHR 1" >>confdefs.h
97380
 
+
97381
 
+
97382
 
+
97383
 
+
97384
 
+  
97385
 
+
97386
 
+
97387
 
+  :
97388
 
+
97389
 
+  
97390
 
+  
97391
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir handles trailing slash" >&5
97392
 
+$as_echo_n "checking whether mkdir handles trailing slash... " >&6; }
97393
 
+if ${gl_cv_func_mkdir_trailing_slash_works+:} false; then :
97394
 
+  $as_echo_n "(cached) " >&6
97395
 
+else
97396
 
+  rm -rf conftest.dir
97397
 
+      if test "$cross_compiling" = yes; then :
97398
 
+  gl_cv_func_mkdir_trailing_slash_works="guessing no"
97399
 
+else
97400
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
97401
 
+/* end confdefs.h.  */
97402
 
+
97403
 
+#       include <sys/types.h>
97404
 
+#       include <sys/stat.h>
97405
 
+
97406
 
+int
97407
 
+main ()
97408
 
+{
97409
 
+return mkdir ("conftest.dir/", 0700);
97410
 
+  ;
97411
 
+  return 0;
97412
 
+}
97413
 
+_ACEOF
97414
 
+if ac_fn_c_try_run "$LINENO"; then :
97415
 
+  gl_cv_func_mkdir_trailing_slash_works=yes
97416
 
+else
97417
 
+  gl_cv_func_mkdir_trailing_slash_works=no
97418
 
+fi
97419
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
97420
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
97421
 
+fi
97422
 
+
97423
 
+    rm -rf conftest.dir
97424
 
+    
97425
 
+  
97426
 
+fi
97427
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mkdir_trailing_slash_works" >&5
97428
 
+$as_echo "$gl_cv_func_mkdir_trailing_slash_works" >&6; }
97429
 
+  if test "$gl_cv_func_mkdir_trailing_slash_works" != yes; then
97430
 
+    REPLACE_MKDIR=1
97431
 
+  fi
97432
 
+
97433
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir handles trailing dot" >&5
97434
 
+$as_echo_n "checking whether mkdir handles trailing dot... " >&6; }
97435
 
+if ${gl_cv_func_mkdir_trailing_dot_works+:} false; then :
97436
 
+  $as_echo_n "(cached) " >&6
97437
 
+else
97438
 
+  rm -rf conftest.dir
97439
 
+      if test "$cross_compiling" = yes; then :
97440
 
+  gl_cv_func_mkdir_trailing_dot_works="guessing no"
97441
 
+else
97442
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
97443
 
+/* end confdefs.h.  */
97444
 
+
97445
 
+#       include <sys/types.h>
97446
 
+#       include <sys/stat.h>
97447
 
+
97448
 
+int
97449
 
+main ()
97450
 
+{
97451
 
+return !mkdir ("conftest.dir/./", 0700);
97452
 
+  ;
97453
 
+  return 0;
97454
 
+}
97455
 
+_ACEOF
97456
 
+if ac_fn_c_try_run "$LINENO"; then :
97457
 
+  gl_cv_func_mkdir_trailing_dot_works=yes
97458
 
+else
97459
 
+  gl_cv_func_mkdir_trailing_dot_works=no
97460
 
+fi
97461
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
97462
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
97463
 
+fi
97464
 
+
97465
 
+    rm -rf conftest.dir
97466
 
+    
97467
 
+  
97468
 
+fi
97469
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mkdir_trailing_dot_works" >&5
97470
 
+$as_echo "$gl_cv_func_mkdir_trailing_dot_works" >&6; }
97471
 
+  if test "$gl_cv_func_mkdir_trailing_dot_works" != yes; then
97472
 
+    REPLACE_MKDIR=1
97473
 
+    
97474
 
+$as_echo "@%:@define FUNC_MKDIR_DOT_BUG 1" >>confdefs.h
97475
 
+
97476
 
+  fi
97477
 
+
97478
 
+if test $REPLACE_MKDIR = 1; then
97479
 
+  
97480
 
+  
97481
 
+  
97482
 
+    
97483
 
+      
97484
 
+      
97485
 
+    
97486
 
+  
97487
 
+  gl_LIBOBJS="$gl_LIBOBJS mkdir.$ac_objext"
97488
 
+
97489
 
+fi
97490
 
+
97491
 
+    
97492
 
+
97493
 
+
97494
 
+  
97495
 
+
97496
 
+  
97497
 
+  if test $ac_cv_func_mkstemp = yes; then
97498
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mkstemp" >&5
97499
 
+$as_echo_n "checking for working mkstemp... " >&6; }
97500
 
+if ${gl_cv_func_working_mkstemp+:} false; then :
97501
 
+  $as_echo_n "(cached) " >&6
97502
 
+else
97503
 
+  
97504
 
+        mkdir conftest.mkstemp
97505
 
+        if test "$cross_compiling" = yes; then :
97506
 
+  gl_cv_func_working_mkstemp="guessing no"
97507
 
+else
97508
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
97509
 
+/* end confdefs.h.  */
97510
 
+$ac_includes_default
97511
 
+int
97512
 
+main ()
97513
 
+{
97514
 
+int result = 0;
97515
 
+              int i;
97516
 
+              off_t large = (off_t) 4294967295u;
97517
 
+              if (large < 0)
97518
 
+                large = 2147483647;
97519
 
+              umask (0);
97520
 
+              for (i = 0; i < 70; i++)
97521
 
+                {
97522
 
+                  char templ[] = "conftest.mkstemp/coXXXXXX";
97523
 
+                  int (*mkstemp_function) (char *) = mkstemp;
97524
 
+                  int fd = mkstemp_function (templ);
97525
 
+                  if (fd < 0)
97526
 
+                    result |= 1;
97527
 
+                  else
97528
 
+                    {
97529
 
+                      struct stat st;
97530
 
+                      if (lseek (fd, large, SEEK_SET) != large)
97531
 
+                        result |= 2;
97532
 
+                      if (fstat (fd, &st) < 0)
97533
 
+                        result |= 4;
97534
 
+                      else if (st.st_mode & 0077)
97535
 
+                        result |= 8;
97536
 
+                      if (close (fd))
97537
 
+                        result |= 16;
97538
 
+                    }
97539
 
+                }
97540
 
+              return result;
97541
 
+  ;
97542
 
+  return 0;
97543
 
+}
97544
 
+_ACEOF
97545
 
+if ac_fn_c_try_run "$LINENO"; then :
97546
 
+  gl_cv_func_working_mkstemp=yes
97547
 
+else
97548
 
+  gl_cv_func_working_mkstemp=no
97549
 
+fi
97550
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
97551
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
97552
 
+fi
97553
 
+
97554
 
+        rm -rf conftest.mkstemp
97555
 
+      
97556
 
+fi
97557
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_mkstemp" >&5
97558
 
+$as_echo "$gl_cv_func_working_mkstemp" >&6; }
97559
 
+    if test "$gl_cv_func_working_mkstemp" != yes; then
97560
 
+      REPLACE_MKSTEMP=1
97561
 
+    fi
97562
 
+  else
97563
 
+    HAVE_MKSTEMP=0
97564
 
+  fi
97565
 
+
97566
 
+if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then
97567
 
+  
97568
 
+  
97569
 
+  
97570
 
+    
97571
 
+      
97572
 
+      
97573
 
+    
97574
 
+  
97575
 
+  gl_LIBOBJS="$gl_LIBOBJS mkstemp.$ac_objext"
97576
 
+
97577
 
+  
97578
 
+
97579
 
+fi
97580
 
+
97581
 
+    
97582
 
+  
97583
 
+  
97584
 
+  
97585
 
+          GNULIB_MKSTEMP=1
97586
 
+    
97587
 
+
97588
 
+
97589
 
+    
97590
 
+  
97591
 
+$as_echo "@%:@define GNULIB_TEST_MKSTEMP 1" >>confdefs.h
97592
 
+
97593
 
+
97594
 
+
97595
 
+
97596
 
+  
97597
 
+
97598
 
+      
97599
 
+  
97600
 
+  
97601
 
+  if test $APPLE_UNIVERSAL_BUILD = 1; then
97602
 
+    # A universal build on Apple MacOS X platforms.
97603
 
+    # The test result would be 'yes' in 32-bit mode and 'no' in 64-bit mode.
97604
 
+    # But we need a configuration result that is valid in both modes.
97605
 
+    gl_cv_func_working_mktime=no
97606
 
+  fi
97607
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
97608
 
+$as_echo_n "checking for working mktime... " >&6; }
97609
 
+if ${gl_cv_func_working_mktime+:} false; then :
97610
 
+  $as_echo_n "(cached) " >&6
97611
 
+else
97612
 
+  if test "$cross_compiling" = yes; then :
97613
 
+  gl_cv_func_working_mktime=no
97614
 
+else
97615
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
97616
 
+/* end confdefs.h.  */
97617
 
+/* Test program from Paul Eggert and Tony Leneis.  */
97618
 
+#include <limits.h>
97619
 
+#include <stdlib.h>
97620
 
+#include <time.h>
97621
 
+
97622
 
+#ifdef HAVE_UNISTD_H
97623
 
+# include <unistd.h>
97624
 
+#endif
97625
 
+
97626
 
+#ifndef HAVE_ALARM
97627
 
+# define alarm(X) /* empty */
97628
 
+#endif
97629
 
+
97630
 
+/* Work around redefinition to rpl_putenv by other config tests.  */
97631
 
+#undef putenv
97632
 
+
97633
 
+static time_t time_t_max;
97634
 
+static time_t time_t_min;
97635
 
+
97636
 
+/* Values we'll use to set the TZ environment variable.  */
97637
 
+static char *tz_strings[] = {
97638
 
+  (char *) 0, "TZ=GMT0", "TZ=JST-9",
97639
 
+  "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
97640
 
+};
97641
 
+#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
97642
 
+
97643
 
+/* Return 0 if mktime fails to convert a date in the spring-forward gap.
97644
 
+   Based on a problem report from Andreas Jaeger.  */
97645
 
+static int
97646
 
+spring_forward_gap ()
97647
 
+{
97648
 
+  /* glibc (up to about 1998-10-07) failed this test. */
97649
 
+  struct tm tm;
97650
 
+
97651
 
+  /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
97652
 
+     instead of "TZ=America/Vancouver" in order to detect the bug even
97653
 
+     on systems that don't support the Olson extension, or don't have the
97654
 
+     full zoneinfo tables installed.  */
97655
 
+  putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
97656
 
+
97657
 
+  tm.tm_year = 98;
97658
 
+  tm.tm_mon = 3;
97659
 
+  tm.tm_mday = 5;
97660
 
+  tm.tm_hour = 2;
97661
 
+  tm.tm_min = 0;
97662
 
+  tm.tm_sec = 0;
97663
 
+  tm.tm_isdst = -1;
97664
 
+  return mktime (&tm) != (time_t) -1;
97665
 
+}
97666
 
+
97667
 
+static int
97668
 
+mktime_test1 (time_t now)
97669
 
+{
97670
 
+  struct tm *lt;
97671
 
+  return ! (lt = localtime (&now)) || mktime (lt) == now;
97672
 
+}
97673
 
+
97674
 
+static int
97675
 
+mktime_test (time_t now)
97676
 
+{
97677
 
+  return (mktime_test1 (now)
97678
 
+          && mktime_test1 ((time_t) (time_t_max - now))
97679
 
+          && mktime_test1 ((time_t) (time_t_min + now)));
97680
 
+}
97681
 
+
97682
 
+static int
97683
 
+irix_6_4_bug ()
97684
 
+{
97685
 
+  /* Based on code from Ariel Faigon.  */
97686
 
+  struct tm tm;
97687
 
+  tm.tm_year = 96;
97688
 
+  tm.tm_mon = 3;
97689
 
+  tm.tm_mday = 0;
97690
 
+  tm.tm_hour = 0;
97691
 
+  tm.tm_min = 0;
97692
 
+  tm.tm_sec = 0;
97693
 
+  tm.tm_isdst = -1;
97694
 
+  mktime (&tm);
97695
 
+  return tm.tm_mon == 2 && tm.tm_mday == 31;
97696
 
+}
97697
 
+
97698
 
+static int
97699
 
+bigtime_test (int j)
97700
 
+{
97701
 
+  struct tm tm;
97702
 
+  time_t now;
97703
 
+  tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
97704
 
+  now = mktime (&tm);
97705
 
+  if (now != (time_t) -1)
97706
 
+    {
97707
 
+      struct tm *lt = localtime (&now);
97708
 
+      if (! (lt
97709
 
+             && lt->tm_year == tm.tm_year
97710
 
+             && lt->tm_mon == tm.tm_mon
97711
 
+             && lt->tm_mday == tm.tm_mday
97712
 
+             && lt->tm_hour == tm.tm_hour
97713
 
+             && lt->tm_min == tm.tm_min
97714
 
+             && lt->tm_sec == tm.tm_sec
97715
 
+             && lt->tm_yday == tm.tm_yday
97716
 
+             && lt->tm_wday == tm.tm_wday
97717
 
+             && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
97718
 
+                  == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
97719
 
+        return 0;
97720
 
+    }
97721
 
+  return 1;
97722
 
+}
97723
 
+
97724
 
+static int
97725
 
+year_2050_test ()
97726
 
+{
97727
 
+  /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
97728
 
+     ignoring leap seconds.  */
97729
 
+  unsigned long int answer = 2527315200UL;
97730
 
+
97731
 
+  struct tm tm;
97732
 
+  time_t t;
97733
 
+  tm.tm_year = 2050 - 1900;
97734
 
+  tm.tm_mon = 2 - 1;
97735
 
+  tm.tm_mday = 1;
97736
 
+  tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
97737
 
+  tm.tm_isdst = -1;
97738
 
+
97739
 
+  /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
97740
 
+     instead of "TZ=America/Vancouver" in order to detect the bug even
97741
 
+     on systems that don't support the Olson extension, or don't have the
97742
 
+     full zoneinfo tables installed.  */
97743
 
+  putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
97744
 
+
97745
 
+  t = mktime (&tm);
97746
 
+
97747
 
+  /* Check that the result is either a failure, or close enough
97748
 
+     to the correct answer that we can assume the discrepancy is
97749
 
+     due to leap seconds.  */
97750
 
+  return (t == (time_t) -1
97751
 
+          || (0 < t && answer - 120 <= t && t <= answer + 120));
97752
 
+}
97753
 
+
97754
 
+int
97755
 
+main ()
97756
 
+{
97757
 
+  int result = 0;
97758
 
+  time_t t, delta;
97759
 
+  int i, j;
97760
 
+  int time_t_signed_magnitude = (time_t) ~ (time_t) 0 < (time_t) -1;
97761
 
+  int time_t_signed = ! ((time_t) 0 < (time_t) -1);
97762
 
+
97763
 
+  /* This test makes some buggy mktime implementations loop.
97764
 
+     Give up after 60 seconds; a mktime slower than that
97765
 
+     isn't worth using anyway.  */
97766
 
+  alarm (60);
97767
 
+
97768
 
+  time_t_max = (! time_t_signed
97769
 
+                ? (time_t) -1
97770
 
+                : ((((time_t) 1 << (sizeof (time_t) * CHAR_BIT - 2)) - 1)
97771
 
+                   * 2 + 1));
97772
 
+  time_t_min = (! time_t_signed
97773
 
+                ? (time_t) 0
97774
 
+                : time_t_signed_magnitude
97775
 
+                ? ~ (time_t) 0
97776
 
+                : ~ time_t_max);
97777
 
+
97778
 
+  delta = time_t_max / 997; /* a suitable prime number */
97779
 
+  for (i = 0; i < N_STRINGS; i++)
97780
 
+    {
97781
 
+      if (tz_strings[i])
97782
 
+        putenv (tz_strings[i]);
97783
 
+
97784
 
+      for (t = 0; t <= time_t_max - delta; t += delta)
97785
 
+        if (! mktime_test (t))
97786
 
+          result |= 1;
97787
 
+      if (! (mktime_test ((time_t) 1)
97788
 
+             && mktime_test ((time_t) (60 * 60))
97789
 
+             && mktime_test ((time_t) (60 * 60 * 24))))
97790
 
+        result |= 2;
97791
 
+
97792
 
+      for (j = 1; ; j <<= 1)
97793
 
+        if (! bigtime_test (j))
97794
 
+          result |= 4;
97795
 
+        else if (INT_MAX / 2 < j)
97796
 
+          break;
97797
 
+      if (! bigtime_test (INT_MAX))
97798
 
+        result |= 8;
97799
 
+    }
97800
 
+  if (! irix_6_4_bug ())
97801
 
+    result |= 16;
97802
 
+  if (! spring_forward_gap ())
97803
 
+    result |= 32;
97804
 
+  if (! year_2050_test ())
97805
 
+    result |= 64;
97806
 
+  return result;
97807
 
+}
97808
 
+_ACEOF
97809
 
+if ac_fn_c_try_run "$LINENO"; then :
97810
 
+  gl_cv_func_working_mktime=yes
97811
 
+else
97812
 
+  gl_cv_func_working_mktime=no
97813
 
+fi
97814
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
97815
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
97816
 
+fi
97817
 
+
97818
 
+    
97819
 
+fi
97820
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_mktime" >&5
97821
 
+$as_echo "$gl_cv_func_working_mktime" >&6; }
97822
 
+
97823
 
+  if test $gl_cv_func_working_mktime = no; then
97824
 
+    REPLACE_MKTIME=1
97825
 
+  else
97826
 
+    REPLACE_MKTIME=0
97827
 
+  fi
97828
 
+
97829
 
+if test $REPLACE_MKTIME = 1; then
97830
 
+  
97831
 
+  
97832
 
+  
97833
 
+    
97834
 
+      
97835
 
+      
97836
 
+    
97837
 
+  
97838
 
+  gl_LIBOBJS="$gl_LIBOBJS mktime.$ac_objext"
97839
 
+
97840
 
+  
97841
 
+  
97842
 
+
97843
 
+fi
97844
 
+
97845
 
+    
97846
 
+  
97847
 
+  
97848
 
+  
97849
 
+          GNULIB_MKTIME=1
97850
 
+    
97851
 
+
97852
 
+
97853
 
+    
97854
 
+  
97855
 
+$as_echo "@%:@define GNULIB_TEST_MKTIME 1" >>confdefs.h
97856
 
+
97857
 
+
97858
 
+
97859
 
+
97860
 
+  :
97861
 
+
97862
 
+
97863
 
+  
97864
 
+for ac_func in listmntent getmntinfo
97865
 
+do :
97866
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
97867
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
97868
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
97869
 
+  cat >>confdefs.h <<_ACEOF
97870
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
97871
 
+_ACEOF
97872
 
97873
 
+fi
97874
 
+done
97875
 
+
97876
 
+
97877
 
+
97878
 
+# We must include grp.h before ucred.h on OSF V4.0, since ucred.h uses
97879
 
+# NGROUPS (as the array dimension for a struct member) without a definition.
97880
 
+for ac_header in sys/ucred.h
97881
 
+do :
97882
 
+  ac_fn_c_check_header_compile "$LINENO" "sys/ucred.h" "ac_cv_header_sys_ucred_h" "#include <grp.h>
97883
 
+"
97884
 
+if test "x$ac_cv_header_sys_ucred_h" = xyes; then :
97885
 
+  cat >>confdefs.h <<_ACEOF
97886
 
+@%:@define HAVE_SYS_UCRED_H 1
97887
 
+_ACEOF
97888
 
97889
 
+fi
97890
 
+
97891
 
+done
97892
 
+
97893
 
+
97894
 
+for ac_header in sys/mount.h
97895
 
+do :
97896
 
+  ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default
97897
 
+   #if HAVE_SYS_PARAM_H
97898
 
+     #include <sys/param.h>
97899
 
+    #endif
97900
 
+"
97901
 
+if test "x$ac_cv_header_sys_mount_h" = xyes; then :
97902
 
+  cat >>confdefs.h <<_ACEOF
97903
 
+@%:@define HAVE_SYS_MOUNT_H 1
97904
 
+_ACEOF
97905
 
97906
 
+fi
97907
 
+
97908
 
+done
97909
 
+
97910
 
+
97911
 
+for ac_header in mntent.h sys/fs_types.h
97912
 
+do :
97913
 
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
97914
 
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
97915
 
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
97916
 
+  cat >>confdefs.h <<_ACEOF
97917
 
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
97918
 
+_ACEOF
97919
 
97920
 
+fi
97921
 
+
97922
 
+done
97923
 
+
97924
 
+    getfsstat_includes="\
97925
 
+$ac_includes_default
97926
 
+#if HAVE_SYS_PARAM_H
97927
 
+# include <sys/param.h> /* needed by powerpc-apple-darwin1.3.7 */
97928
 
+#endif
97929
 
+#if HAVE_SYS_UCRED_H
97930
 
+# include <grp.h> /* needed for definition of NGROUPS */
97931
 
+# include <sys/ucred.h> /* needed by powerpc-apple-darwin1.3.7 */
97932
 
+#endif
97933
 
+#if HAVE_SYS_MOUNT_H
97934
 
+# include <sys/mount.h>
97935
 
+#endif
97936
 
+#if HAVE_SYS_FS_TYPES_H
97937
 
+# include <sys/fs_types.h> /* needed by powerpc-apple-darwin1.3.7 */
97938
 
+#endif
97939
 
+"
97940
 
+ac_fn_c_check_member "$LINENO" "struct fsstat" "f_fstypename" "ac_cv_member_struct_fsstat_f_fstypename" "$getfsstat_includes
97941
 
+"
97942
 
+if test "x$ac_cv_member_struct_fsstat_f_fstypename" = xyes; then :
97943
 
+  
97944
 
+cat >>confdefs.h <<_ACEOF
97945
 
+@%:@define HAVE_STRUCT_FSSTAT_F_FSTYPENAME 1
97946
 
+_ACEOF
97947
 
+
97948
 
+
97949
 
+fi
97950
 
+
97951
 
+
97952
 
+# Determine how to get the list of mounted file systems.
97953
 
+ac_list_mounted_fs=
97954
 
+
97955
 
+# If the getmntent function is available but not in the standard library,
97956
 
+# make sure LIBS contains the appropriate -l option.
97957
 
+# getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
97958
 
+# -lseq on Dynix/PTX, -lgen on Unixware.
97959
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5
97960
 
+$as_echo_n "checking for library containing getmntent... " >&6; }
97961
 
+if ${ac_cv_search_getmntent+:} false; then :
97962
 
+  $as_echo_n "(cached) " >&6
97963
 
+else
97964
 
+  ac_func_search_save_LIBS=$LIBS
97965
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
97966
 
+/* end confdefs.h.  */
97967
 
+
97968
 
+/* Override any GCC internal prototype to avoid an error.
97969
 
+   Use char because int might match the return type of a GCC
97970
 
+   builtin and then its argument prototype would still apply.  */
97971
 
+#ifdef __cplusplus
97972
 
+extern "C"
97973
 
+#endif
97974
 
+char getmntent ();
97975
 
+int
97976
 
+main ()
97977
 
+{
97978
 
+return getmntent ();
97979
 
+  ;
97980
 
+  return 0;
97981
 
+}
97982
 
+_ACEOF
97983
 
+for ac_lib in '' sun seq gen; do
97984
 
+  if test -z "$ac_lib"; then
97985
 
+    ac_res="none required"
97986
 
+  else
97987
 
+    ac_res=-l$ac_lib
97988
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
97989
 
+  fi
97990
 
+  if ac_fn_c_try_link "$LINENO"; then :
97991
 
+  ac_cv_search_getmntent=$ac_res
97992
 
+fi
97993
 
+rm -f core conftest.err conftest.$ac_objext \
97994
 
+    conftest$ac_exeext
97995
 
+  if ${ac_cv_search_getmntent+:} false; then :
97996
 
+  break
97997
 
+fi
97998
 
+done
97999
 
+if ${ac_cv_search_getmntent+:} false; then :
98000
 
+  
98001
 
+else
98002
 
+  ac_cv_search_getmntent=no
98003
 
+fi
98004
 
+rm conftest.$ac_ext
98005
 
+LIBS=$ac_func_search_save_LIBS
98006
 
+fi
98007
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getmntent" >&5
98008
 
+$as_echo "$ac_cv_search_getmntent" >&6; }
98009
 
+ac_res=$ac_cv_search_getmntent
98010
 
+if test "$ac_res" != no; then :
98011
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
98012
 
+  
98013
 
+fi
98014
 
+
98015
 
+for ac_func in getmntent
98016
 
+do :
98017
 
+  ac_fn_c_check_func "$LINENO" "getmntent" "ac_cv_func_getmntent"
98018
 
+if test "x$ac_cv_func_getmntent" = xyes; then :
98019
 
+  cat >>confdefs.h <<_ACEOF
98020
 
+@%:@define HAVE_GETMNTENT 1
98021
 
+_ACEOF
98022
 
98023
 
+fi
98024
 
+done
98025
 
+
98026
 
+
98027
 
+
98028
 
+# This test must precede the ones for getmntent because Unicos-9 is
98029
 
+# reported to have the getmntent function, but its support is incompatible
98030
 
+# with other getmntent implementations.
98031
 
+
98032
 
+# NOTE: Normally, I wouldn't use a check for system type as I've done for
98033
 
+# `CRAY' below since that goes against the whole autoconf philosophy.  But
98034
 
+# I think there is too great a chance that some non-Cray system has a
98035
 
+# function named listmntent to risk the false positive.
98036
 
+
98037
 
+if test -z "$ac_list_mounted_fs"; then
98038
 
+  # Cray UNICOS 9
98039
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for listmntent of Cray/Unicos-9" >&5
98040
 
+$as_echo_n "checking for listmntent of Cray/Unicos-9... " >&6; }
98041
 
+  if ${fu_cv_sys_mounted_cray_listmntent+:} false; then :
98042
 
+  $as_echo_n "(cached) " >&6
98043
 
+else
98044
 
+  fu_cv_sys_mounted_cray_listmntent=no
98045
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98046
 
+/* end confdefs.h.  */
98047
 
+#ifdef _CRAY
98048
 
+yes
98049
 
+#endif
98050
 
+        
98051
 
+_ACEOF
98052
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
98053
 
+  $EGREP "yes" >/dev/null 2>&1; then :
98054
 
+  test $ac_cv_func_listmntent = yes \
98055
 
+            && fu_cv_sys_mounted_cray_listmntent=yes
98056
 
+      
98057
 
+fi
98058
 
+rm -f conftest*
98059
 
+
98060
 
+    
98061
 
+  
98062
 
+fi
98063
 
+
98064
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_cray_listmntent" >&5
98065
 
+$as_echo "$fu_cv_sys_mounted_cray_listmntent" >&6; }
98066
 
+  if test $fu_cv_sys_mounted_cray_listmntent = yes; then
98067
 
+    ac_list_mounted_fs=found
98068
 
+    
98069
 
+$as_echo "@%:@define MOUNTED_LISTMNTENT 1" >>confdefs.h
98070
 
+
98071
 
+  fi
98072
 
+fi
98073
 
+
98074
 
+if test -z "$ac_list_mounted_fs"; then
98075
 
+  # AIX.
98076
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mntctl function and struct vmount" >&5
98077
 
+$as_echo_n "checking for mntctl function and struct vmount... " >&6; }
98078
 
+  if ${fu_cv_sys_mounted_vmount+:} false; then :
98079
 
+  $as_echo_n "(cached) " >&6
98080
 
+else
98081
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98082
 
+/* end confdefs.h.  */
98083
 
+#include <fshelp.h>
98084
 
+_ACEOF
98085
 
+if ac_fn_c_try_cpp "$LINENO"; then :
98086
 
+  fu_cv_sys_mounted_vmount=yes
98087
 
+else
98088
 
+  fu_cv_sys_mounted_vmount=no
98089
 
+fi
98090
 
+rm -f conftest.err conftest.i conftest.$ac_ext
98091
 
+fi
98092
 
+
98093
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_vmount" >&5
98094
 
+$as_echo "$fu_cv_sys_mounted_vmount" >&6; }
98095
 
+  if test $fu_cv_sys_mounted_vmount = yes; then
98096
 
+    ac_list_mounted_fs=found
98097
 
+    
98098
 
+$as_echo "@%:@define MOUNTED_VMOUNT 1" >>confdefs.h
98099
 
+
98100
 
+  fi
98101
 
+fi
98102
 
+
98103
 
+if test $ac_cv_func_getmntent = yes; then
98104
 
+
98105
 
+  # This system has the getmntent function.
98106
 
+  # Determine whether it's the one-argument variant or the two-argument one.
98107
 
+
98108
 
+  if test -z "$ac_list_mounted_fs"; then
98109
 
+    # 4.3BSD, SunOS, HP-UX, Dynix, Irix
98110
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for one-argument getmntent function" >&5
98111
 
+$as_echo_n "checking for one-argument getmntent function... " >&6; }
98112
 
+    if ${fu_cv_sys_mounted_getmntent1+:} false; then :
98113
 
+  $as_echo_n "(cached) " >&6
98114
 
+else
98115
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98116
 
+/* end confdefs.h.  */
98117
 
+
98118
 
+/* SunOS 4.1.x /usr/include/mntent.h needs this for FILE */
98119
 
+#include <stdio.h>
98120
 
+
98121
 
+#include <mntent.h>
98122
 
+#if !defined MOUNTED
98123
 
+# if defined _PATH_MOUNTED      /* GNU libc  */
98124
 
+#  define MOUNTED _PATH_MOUNTED
98125
 
+# endif
98126
 
+# if defined MNT_MNTTAB /* HP-UX.  */
98127
 
+#  define MOUNTED MNT_MNTTAB
98128
 
+# endif
98129
 
+# if defined MNTTABNAME /* Dynix.  */
98130
 
+#  define MOUNTED MNTTABNAME
98131
 
+# endif
98132
 
+#endif
98133
 
+
98134
 
+int
98135
 
+main ()
98136
 
+{
98137
 
+ struct mntent *mnt = 0; char *table = MOUNTED;
98138
 
+                         if (sizeof mnt && sizeof table) return 0;
98139
 
+  ;
98140
 
+  return 0;
98141
 
+}
98142
 
+_ACEOF
98143
 
+if ac_fn_c_try_compile "$LINENO"; then :
98144
 
+  fu_cv_sys_mounted_getmntent1=yes
98145
 
+else
98146
 
+  fu_cv_sys_mounted_getmntent1=no
98147
 
+fi
98148
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
98149
 
+fi
98150
 
+
98151
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntent1" >&5
98152
 
+$as_echo "$fu_cv_sys_mounted_getmntent1" >&6; }
98153
 
+    if test $fu_cv_sys_mounted_getmntent1 = yes; then
98154
 
+      ac_list_mounted_fs=found
98155
 
+      
98156
 
+$as_echo "@%:@define MOUNTED_GETMNTENT1 1" >>confdefs.h
98157
 
+
98158
 
+    fi
98159
 
+  fi
98160
 
+
98161
 
+  if test -z "$ac_list_mounted_fs"; then
98162
 
+    # SVR4
98163
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument getmntent function" >&5
98164
 
+$as_echo_n "checking for two-argument getmntent function... " >&6; }
98165
 
+    if ${fu_cv_sys_mounted_getmntent2+:} false; then :
98166
 
+  $as_echo_n "(cached) " >&6
98167
 
+else
98168
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98169
 
+/* end confdefs.h.  */
98170
 
+#include <sys/mnttab.h>
98171
 
+
98172
 
+_ACEOF
98173
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
98174
 
+  $EGREP "getmntent" >/dev/null 2>&1; then :
98175
 
+  fu_cv_sys_mounted_getmntent2=yes
98176
 
+else
98177
 
+  fu_cv_sys_mounted_getmntent2=no
98178
 
+fi
98179
 
+rm -f conftest*
98180
 
+
98181
 
+fi
98182
 
+
98183
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntent2" >&5
98184
 
+$as_echo "$fu_cv_sys_mounted_getmntent2" >&6; }
98185
 
+    if test $fu_cv_sys_mounted_getmntent2 = yes; then
98186
 
+      ac_list_mounted_fs=found
98187
 
+      
98188
 
+$as_echo "@%:@define MOUNTED_GETMNTENT2 1" >>confdefs.h
98189
 
+
98190
 
+      for ac_func in hasmntopt
98191
 
+do :
98192
 
+  ac_fn_c_check_func "$LINENO" "hasmntopt" "ac_cv_func_hasmntopt"
98193
 
+if test "x$ac_cv_func_hasmntopt" = xyes; then :
98194
 
+  cat >>confdefs.h <<_ACEOF
98195
 
+@%:@define HAVE_HASMNTOPT 1
98196
 
+_ACEOF
98197
 
98198
 
+fi
98199
 
+done
98200
 
+
98201
 
+    fi
98202
 
+  fi
98203
 
+
98204
 
+fi
98205
 
+
98206
 
+if test -z "$ac_list_mounted_fs"; then
98207
 
+  # DEC Alpha running OSF/1, and Apple Darwin 1.3.
98208
 
+  # powerpc-apple-darwin1.3.7 needs sys/param.h sys/ucred.h sys/fs_types.h
98209
 
+
98210
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getfsstat function" >&5
98211
 
+$as_echo_n "checking for getfsstat function... " >&6; }
98212
 
+  if ${fu_cv_sys_mounted_getfsstat+:} false; then :
98213
 
+  $as_echo_n "(cached) " >&6
98214
 
+else
98215
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98216
 
+/* end confdefs.h.  */
98217
 
+
98218
 
+#include <sys/types.h>
98219
 
+#if HAVE_STRUCT_FSSTAT_F_FSTYPENAME
98220
 
+# define FS_TYPE(Ent) ((Ent).f_fstypename)
98221
 
+#else
98222
 
+# define FS_TYPE(Ent) mnt_names[(Ent).f_type]
98223
 
+#endif
98224
 
+$getfsstat_includes
98225
 
+
98226
 
+int
98227
 
+main ()
98228
 
+{
98229
 
+struct statfs *stats;
98230
 
+        int numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT);
98231
 
+        char *t = FS_TYPE (*stats); 
98232
 
+  ;
98233
 
+  return 0;
98234
 
+}
98235
 
+_ACEOF
98236
 
+if ac_fn_c_try_link "$LINENO"; then :
98237
 
+  fu_cv_sys_mounted_getfsstat=yes
98238
 
+else
98239
 
+  fu_cv_sys_mounted_getfsstat=no
98240
 
+fi
98241
 
+rm -f core conftest.err conftest.$ac_objext \
98242
 
+    conftest$ac_exeext conftest.$ac_ext
98243
 
+fi
98244
 
+
98245
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getfsstat" >&5
98246
 
+$as_echo "$fu_cv_sys_mounted_getfsstat" >&6; }
98247
 
+  if test $fu_cv_sys_mounted_getfsstat = yes; then
98248
 
+    ac_list_mounted_fs=found
98249
 
+    
98250
 
+$as_echo "@%:@define MOUNTED_GETFSSTAT 1" >>confdefs.h
98251
 
+
98252
 
+  fi
98253
 
+fi
98254
 
+
98255
 
+if test -z "$ac_list_mounted_fs"; then
98256
 
+  # SVR3
98257
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIXME existence of three headers" >&5
98258
 
+$as_echo_n "checking for FIXME existence of three headers... " >&6; }
98259
 
+  if ${fu_cv_sys_mounted_fread_fstyp+:} false; then :
98260
 
+  $as_echo_n "(cached) " >&6
98261
 
+else
98262
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98263
 
+/* end confdefs.h.  */
98264
 
+
98265
 
+#include <sys/statfs.h>
98266
 
+#include <sys/fstyp.h>
98267
 
+#include <mnttab.h>
98268
 
+_ACEOF
98269
 
+if ac_fn_c_try_cpp "$LINENO"; then :
98270
 
+  fu_cv_sys_mounted_fread_fstyp=yes
98271
 
+else
98272
 
+  fu_cv_sys_mounted_fread_fstyp=no
98273
 
+fi
98274
 
+rm -f conftest.err conftest.i conftest.$ac_ext
98275
 
+fi
98276
 
+
98277
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_fread_fstyp" >&5
98278
 
+$as_echo "$fu_cv_sys_mounted_fread_fstyp" >&6; }
98279
 
+  if test $fu_cv_sys_mounted_fread_fstyp = yes; then
98280
 
+    ac_list_mounted_fs=found
98281
 
+    
98282
 
+$as_echo "@%:@define MOUNTED_FREAD_FSTYP 1" >>confdefs.h
98283
 
+
98284
 
+  fi
98285
 
+fi
98286
 
+
98287
 
+if test -z "$ac_list_mounted_fs"; then
98288
 
+  # 4.4BSD and DEC OSF/1.
98289
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getmntinfo function" >&5
98290
 
+$as_echo_n "checking for getmntinfo function... " >&6; }
98291
 
+  if ${fu_cv_sys_mounted_getmntinfo+:} false; then :
98292
 
+  $as_echo_n "(cached) " >&6
98293
 
+else
98294
 
+  
98295
 
+      test "$ac_cv_func_getmntinfo" = yes \
98296
 
+          && fu_cv_sys_mounted_getmntinfo=yes \
98297
 
+          || fu_cv_sys_mounted_getmntinfo=no
98298
 
+    
98299
 
+fi
98300
 
+
98301
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntinfo" >&5
98302
 
+$as_echo "$fu_cv_sys_mounted_getmntinfo" >&6; }
98303
 
+  if test $fu_cv_sys_mounted_getmntinfo = yes; then
98304
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getmntinfo returns statvfs structures" >&5
98305
 
+$as_echo_n "checking whether getmntinfo returns statvfs structures... " >&6; }
98306
 
+    if ${fu_cv_sys_mounted_getmntinfo2+:} false; then :
98307
 
+  $as_echo_n "(cached) " >&6
98308
 
+else
98309
 
+  
98310
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98311
 
+/* end confdefs.h.  */
98312
 
+
98313
 
+#if HAVE_SYS_PARAM_H
98314
 
+# include <sys/param.h>
98315
 
+#endif
98316
 
+#include <sys/types.h>
98317
 
+#if HAVE_SYS_MOUNT_H
98318
 
+# include <sys/mount.h>
98319
 
+#endif
98320
 
+#if HAVE_SYS_STATVFS_H
98321
 
+# include <sys/statvfs.h>
98322
 
+#endif
98323
 
+extern
98324
 
+#ifdef __cplusplus
98325
 
+"C"
98326
 
+#endif
98327
 
+int getmntinfo (struct statfs **, int);
98328
 
+            
98329
 
+int
98330
 
+main ()
98331
 
+{
98332
 
+
98333
 
+  ;
98334
 
+  return 0;
98335
 
+}
98336
 
+_ACEOF
98337
 
+if ac_fn_c_try_compile "$LINENO"; then :
98338
 
+  fu_cv_sys_mounted_getmntinfo2=no
98339
 
+else
98340
 
+  fu_cv_sys_mounted_getmntinfo2=yes
98341
 
+fi
98342
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
98343
 
+      
98344
 
+fi
98345
 
+
98346
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmntinfo2" >&5
98347
 
+$as_echo "$fu_cv_sys_mounted_getmntinfo2" >&6; }
98348
 
+    if test $fu_cv_sys_mounted_getmntinfo2 = no; then
98349
 
+      ac_list_mounted_fs=found
98350
 
+      
98351
 
+$as_echo "@%:@define MOUNTED_GETMNTINFO 1" >>confdefs.h
98352
 
+
98353
 
+    else
98354
 
+      ac_list_mounted_fs=found
98355
 
+      
98356
 
+$as_echo "@%:@define MOUNTED_GETMNTINFO2 1" >>confdefs.h
98357
 
+
98358
 
+    fi
98359
 
+  fi
98360
 
+fi
98361
 
+
98362
 
+if test -z "$ac_list_mounted_fs"; then
98363
 
+  # Ultrix
98364
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getmnt function" >&5
98365
 
+$as_echo_n "checking for getmnt function... " >&6; }
98366
 
+  if ${fu_cv_sys_mounted_getmnt+:} false; then :
98367
 
+  $as_echo_n "(cached) " >&6
98368
 
+else
98369
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98370
 
+/* end confdefs.h.  */
98371
 
+
98372
 
+#include <sys/fs_types.h>
98373
 
+#include <sys/mount.h>
98374
 
+_ACEOF
98375
 
+if ac_fn_c_try_cpp "$LINENO"; then :
98376
 
+  fu_cv_sys_mounted_getmnt=yes
98377
 
+else
98378
 
+  fu_cv_sys_mounted_getmnt=no
98379
 
+fi
98380
 
+rm -f conftest.err conftest.i conftest.$ac_ext
98381
 
+fi
98382
 
+
98383
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_getmnt" >&5
98384
 
+$as_echo "$fu_cv_sys_mounted_getmnt" >&6; }
98385
 
+  if test $fu_cv_sys_mounted_getmnt = yes; then
98386
 
+    ac_list_mounted_fs=found
98387
 
+    
98388
 
+$as_echo "@%:@define MOUNTED_GETMNT 1" >>confdefs.h
98389
 
+
98390
 
+  fi
98391
 
+fi
98392
 
+
98393
 
+if test -z "$ac_list_mounted_fs"; then
98394
 
+  # BeOS
98395
 
+  for ac_func in next_dev fs_stat_dev
98396
 
+do :
98397
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
98398
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
98399
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
98400
 
+  cat >>confdefs.h <<_ACEOF
98401
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
98402
 
+_ACEOF
98403
 
98404
 
+fi
98405
 
+done
98406
 
+
98407
 
+  for ac_header in fs_info.h
98408
 
+do :
98409
 
+  ac_fn_c_check_header_mongrel "$LINENO" "fs_info.h" "ac_cv_header_fs_info_h" "$ac_includes_default"
98410
 
+if test "x$ac_cv_header_fs_info_h" = xyes; then :
98411
 
+  cat >>confdefs.h <<_ACEOF
98412
 
+@%:@define HAVE_FS_INFO_H 1
98413
 
+_ACEOF
98414
 
98415
 
+fi
98416
 
+
98417
 
+done
98418
 
+
98419
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BEOS mounted file system support functions" >&5
98420
 
+$as_echo_n "checking for BEOS mounted file system support functions... " >&6; }
98421
 
+  if test $ac_cv_header_fs_info_h = yes \
98422
 
+      && test $ac_cv_func_next_dev = yes \
98423
 
+        && test $ac_cv_func_fs_stat_dev = yes; then
98424
 
+    fu_result=yes
98425
 
+  else
98426
 
+    fu_result=no
98427
 
+  fi
98428
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_result" >&5
98429
 
+$as_echo "$fu_result" >&6; }
98430
 
+  if test $fu_result = yes; then
98431
 
+    ac_list_mounted_fs=found
98432
 
+    
98433
 
+$as_echo "@%:@define MOUNTED_FS_STAT_DEV 1" >>confdefs.h
98434
 
+
98435
 
+  fi
98436
 
+fi
98437
 
+
98438
 
+if test -z "$ac_list_mounted_fs"; then
98439
 
+  # SVR2
98440
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is possible to resort to fread on /etc/mnttab" >&5
98441
 
+$as_echo_n "checking whether it is possible to resort to fread on /etc/mnttab... " >&6; }
98442
 
+  if ${fu_cv_sys_mounted_fread+:} false; then :
98443
 
+  $as_echo_n "(cached) " >&6
98444
 
+else
98445
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98446
 
+/* end confdefs.h.  */
98447
 
+#include <mnttab.h>
98448
 
+_ACEOF
98449
 
+if ac_fn_c_try_cpp "$LINENO"; then :
98450
 
+  fu_cv_sys_mounted_fread=yes
98451
 
+else
98452
 
+  fu_cv_sys_mounted_fread=no
98453
 
+fi
98454
 
+rm -f conftest.err conftest.i conftest.$ac_ext
98455
 
+fi
98456
 
+
98457
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fu_cv_sys_mounted_fread" >&5
98458
 
+$as_echo "$fu_cv_sys_mounted_fread" >&6; }
98459
 
+  if test $fu_cv_sys_mounted_fread = yes; then
98460
 
+    ac_list_mounted_fs=found
98461
 
+    
98462
 
+$as_echo "@%:@define MOUNTED_FREAD 1" >>confdefs.h
98463
 
+
98464
 
+  fi
98465
 
+fi
98466
 
+
98467
 
+if test -z "$ac_list_mounted_fs"; then
98468
 
+  # Interix / BSD alike statvfs
98469
 
+  # the code is really interix specific, so make sure, we're on it.
98470
 
+  case "$host" in
98471
 
+  *-interix*)
98472
 
+    for ac_func in statvfs
98473
 
+do :
98474
 
+  ac_fn_c_check_func "$LINENO" "statvfs" "ac_cv_func_statvfs"
98475
 
+if test "x$ac_cv_func_statvfs" = xyes; then :
98476
 
+  cat >>confdefs.h <<_ACEOF
98477
 
+@%:@define HAVE_STATVFS 1
98478
 
+_ACEOF
98479
 
98480
 
+fi
98481
 
+done
98482
 
+
98483
 
+    if test $ac_cv_func_statvfs = yes; then
98484
 
+      ac_list_mounted_fs=found
98485
 
+      
98486
 
+$as_echo "@%:@define MOUNTED_INTERIX_STATVFS 1" >>confdefs.h
98487
 
+
98488
 
+    fi
98489
 
+    ;;
98490
 
+  esac
98491
 
+fi
98492
 
+
98493
 
+if test -z "$ac_list_mounted_fs"; then
98494
 
+  as_fn_error $? "could not determine how to read list of mounted file systems" "$LINENO" 5
98495
 
+  # FIXME -- no need to abort building the whole package
98496
 
+  # Can't build mountlist.c or anything that needs its functions
98497
 
+fi
98498
 
+
98499
 
+if test $ac_list_mounted_fs = found; then :
98500
 
+  gl_cv_list_mounted_fs=yes
98501
 
+else
98502
 
+  gl_cv_list_mounted_fs=no
98503
 
+fi
98504
 
+
98505
 
+  
98506
 
+
98507
 
+if test $gl_cv_list_mounted_fs = yes; then
98508
 
+  
98509
 
+  
98510
 
+  
98511
 
+    
98512
 
+      
98513
 
+      
98514
 
+    
98515
 
+  
98516
 
+  gl_LIBOBJS="$gl_LIBOBJS mountlist.$ac_objext"
98517
 
+
98518
 
+  
98519
 
+    for ac_header in sys/mntent.h
98520
 
+do :
98521
 
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/mntent.h" "ac_cv_header_sys_mntent_h" "$ac_includes_default"
98522
 
+if test "x$ac_cv_header_sys_mntent_h" = xyes; then :
98523
 
+  cat >>confdefs.h <<_ACEOF
98524
 
+@%:@define HAVE_SYS_MNTENT_H 1
98525
 
+_ACEOF
98526
 
98527
 
+fi
98528
 
+
98529
 
+done
98530
 
+
98531
 
+  
98532
 
+  ac_fn_c_check_member "$LINENO" "struct statfs" "f_fstypename" "ac_cv_member_struct_statfs_f_fstypename" "
98533
 
+      #include <sys/types.h>
98534
 
+      #include <sys/param.h>
98535
 
+      #include <sys/mount.h>
98536
 
+    
98537
 
+"
98538
 
+if test "x$ac_cv_member_struct_statfs_f_fstypename" = xyes; then :
98539
 
+  
98540
 
+cat >>confdefs.h <<_ACEOF
98541
 
+@%:@define HAVE_STRUCT_STATFS_F_FSTYPENAME 1
98542
 
+_ACEOF
98543
 
+
98544
 
+
98545
 
+fi
98546
 
+
98547
 
+
98548
 
+
98549
 
+fi
98550
 
+
98551
 
+  
98552
 
+
98553
 
+
98554
 
+
98555
 
+  
98556
 
+
98557
 
98558
 
98559
 
98560
 
+
98561
 
+ nanosleep_save_libs=$LIBS
98562
 
+
98563
 
+ # Solaris 2.5.1 needs -lposix4 to get the nanosleep function.
98564
 
+ # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4.
98565
 
+ LIB_NANOSLEEP=
98566
 
98567
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
98568
 
+$as_echo_n "checking for library containing nanosleep... " >&6; }
98569
 
+if ${ac_cv_search_nanosleep+:} false; then :
98570
 
+  $as_echo_n "(cached) " >&6
98571
 
+else
98572
 
+  ac_func_search_save_LIBS=$LIBS
98573
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98574
 
+/* end confdefs.h.  */
98575
 
+
98576
 
+/* Override any GCC internal prototype to avoid an error.
98577
 
+   Use char because int might match the return type of a GCC
98578
 
+   builtin and then its argument prototype would still apply.  */
98579
 
+#ifdef __cplusplus
98580
 
+extern "C"
98581
 
+#endif
98582
 
+char nanosleep ();
98583
 
+int
98584
 
+main ()
98585
 
+{
98586
 
+return nanosleep ();
98587
 
+  ;
98588
 
+  return 0;
98589
 
+}
98590
 
+_ACEOF
98591
 
+for ac_lib in '' rt posix4; do
98592
 
+  if test -z "$ac_lib"; then
98593
 
+    ac_res="none required"
98594
 
+  else
98595
 
+    ac_res=-l$ac_lib
98596
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
98597
 
+  fi
98598
 
+  if ac_fn_c_try_link "$LINENO"; then :
98599
 
+  ac_cv_search_nanosleep=$ac_res
98600
 
+fi
98601
 
+rm -f core conftest.err conftest.$ac_objext \
98602
 
+    conftest$ac_exeext
98603
 
+  if ${ac_cv_search_nanosleep+:} false; then :
98604
 
+  break
98605
 
+fi
98606
 
+done
98607
 
+if ${ac_cv_search_nanosleep+:} false; then :
98608
 
+  
98609
 
+else
98610
 
+  ac_cv_search_nanosleep=no
98611
 
+fi
98612
 
+rm conftest.$ac_ext
98613
 
+LIBS=$ac_func_search_save_LIBS
98614
 
+fi
98615
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
98616
 
+$as_echo "$ac_cv_search_nanosleep" >&6; }
98617
 
+ac_res=$ac_cv_search_nanosleep
98618
 
+if test "$ac_res" != no; then :
98619
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
98620
 
+  test "$ac_cv_search_nanosleep" = "none required" ||
98621
 
+                 LIB_NANOSLEEP=$ac_cv_search_nanosleep
98622
 
+fi
98623
 
+
98624
 
+ if test "x$ac_cv_search_nanosleep" != xno; then
98625
 
+   
98626
 
+   
98627
 
+   if test $APPLE_UNIVERSAL_BUILD = 1; then
98628
 
+     # A universal build on Apple MacOS X platforms.
98629
 
+     # The test result would be 'no (mishandles large arguments)' in 64-bit
98630
 
+     # mode but 'yes' in 32-bit mode. But we need a configuration result that
98631
 
+     # is valid in both modes.
98632
 
+     gl_cv_func_nanosleep='no (mishandles large arguments)'
98633
 
+   fi
98634
 
+
98635
 
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nanosleep" >&5
98636
 
+$as_echo_n "checking for working nanosleep... " >&6; }
98637
 
+if ${gl_cv_func_nanosleep+:} false; then :
98638
 
+  $as_echo_n "(cached) " >&6
98639
 
+else
98640
 
+  
98641
 
+     if test "$cross_compiling" = yes; then :
98642
 
+  gl_cv_func_nanosleep=cross-compiling
98643
 
+else
98644
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98645
 
+/* end confdefs.h.  */
98646
 
+
98647
 
+          #include <errno.h>
98648
 
+          #include <limits.h>
98649
 
+          #include <signal.h>
98650
 
+          #if HAVE_SYS_TIME_H
98651
 
+           #include <sys/time.h>
98652
 
+          #endif
98653
 
+          #include <time.h>
98654
 
+          #include <unistd.h>
98655
 
+          #define TYPE_SIGNED(t) (! ((t) 0 < (t) -1))
98656
 
+          #define TYPE_MAXIMUM(t) \
98657
 
+            ((t) (! TYPE_SIGNED (t) \
98658
 
+                  ? (t) -1 \
98659
 
+                  : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
98660
 
+
98661
 
+          static void
98662
 
+          check_for_SIGALRM (int sig)
98663
 
+          {
98664
 
+            if (sig != SIGALRM)
98665
 
+              _exit (1);
98666
 
+          }
98667
 
+
98668
 
+          int
98669
 
+          main ()
98670
 
+          {
98671
 
+            static struct timespec ts_sleep;
98672
 
+            static struct timespec ts_remaining;
98673
 
+            static struct sigaction act;
98674
 
+            if (! nanosleep)
98675
 
+              return 2;
98676
 
+            act.sa_handler = check_for_SIGALRM;
98677
 
+            sigemptyset (&act.sa_mask);
98678
 
+            sigaction (SIGALRM, &act, NULL);
98679
 
+            ts_sleep.tv_sec = 0;
98680
 
+            ts_sleep.tv_nsec = 1;
98681
 
+            alarm (1);
98682
 
+            if (nanosleep (&ts_sleep, NULL) != 0)
98683
 
+              return 3;
98684
 
+            ts_sleep.tv_sec = TYPE_MAXIMUM (time_t);
98685
 
+            ts_sleep.tv_nsec = 999999999;
98686
 
+            alarm (1);
98687
 
+            if (nanosleep (&ts_sleep, &ts_remaining) != -1)
98688
 
+              return 4;
98689
 
+            if (errno != EINTR)
98690
 
+              return 5;
98691
 
+            if (ts_remaining.tv_sec <= TYPE_MAXIMUM (time_t) - 10)
98692
 
+              return 6;
98693
 
+            return 0;
98694
 
+          }
98695
 
+_ACEOF
98696
 
+if ac_fn_c_try_run "$LINENO"; then :
98697
 
+  gl_cv_func_nanosleep=yes
98698
 
+else
98699
 
+  case $? in         4|5|6) gl_cv_func_nanosleep='no (mishandles large arguments)';;         *)   gl_cv_func_nanosleep=no;;
98700
 
+        esac
98701
 
+fi
98702
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
98703
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
98704
 
+fi
98705
 
+
98706
 
+    
98707
 
+fi
98708
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_nanosleep" >&5
98709
 
+$as_echo "$gl_cv_func_nanosleep" >&6; }
98710
 
+   if test "$gl_cv_func_nanosleep" = yes; then
98711
 
+     REPLACE_NANOSLEEP=0
98712
 
+   else
98713
 
+     REPLACE_NANOSLEEP=1
98714
 
+     if test "$gl_cv_func_nanosleep" = 'no (mishandles large arguments)'; then
98715
 
+       
98716
 
+$as_echo "@%:@define HAVE_BUG_BIG_NANOSLEEP 1" >>confdefs.h
98717
 
+
98718
 
+     else
98719
 
+       for ac_lib in $LIBSOCKET; do
98720
 
+         case " $LIB_NANOSLEEP " in
98721
 
+         *" $ac_lib "*) ;;
98722
 
+         *) LIB_NANOSLEEP="$LIB_NANOSLEEP $ac_lib";;
98723
 
+         esac
98724
 
+       done
98725
 
+     fi
98726
 
+   fi
98727
 
+ else
98728
 
+   HAVE_NANOSLEEP=0
98729
 
+ fi
98730
 
+ LIBS=$nanosleep_save_libs
98731
 
+
98732
 
+if test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1; then
98733
 
+  
98734
 
+  
98735
 
+  
98736
 
+    
98737
 
+      
98738
 
+      
98739
 
+    
98740
 
+  
98741
 
+  gl_LIBOBJS="$gl_LIBOBJS nanosleep.$ac_objext"
98742
 
+
98743
 
+  
98744
 
+  
98745
 
+  
98746
 
+  
98747
 
+
98748
 
+
98749
 
+fi
98750
 
+
98751
 
+    
98752
 
+  
98753
 
+  
98754
 
+  
98755
 
+          GNULIB_NANOSLEEP=1
98756
 
+    
98757
 
+
98758
 
+
98759
 
+    
98760
 
+  
98761
 
+$as_echo "@%:@define GNULIB_TEST_NANOSLEEP 1" >>confdefs.h
98762
 
+
98763
 
+
98764
 
+
98765
 
+
98766
 
+  
98767
 
+  
98768
 
+  
98769
 
+  
98770
 
+  
98771
 
+
98772
 
+  
98773
 
+    
98774
 
+
98775
 
+  
98776
 
+     if test $gl_cv_have_include_next = yes; then
98777
 
+       gl_cv_next_netdb_h='<'netdb.h'>'
98778
 
+     else
98779
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <netdb.h>" >&5
98780
 
+$as_echo_n "checking absolute name of <netdb.h>... " >&6; }
98781
 
+if ${gl_cv_next_netdb_h+:} false; then :
98782
 
+  $as_echo_n "(cached) " >&6
98783
 
+else
98784
 
+  
98785
 
+             if test $ac_cv_header_netdb_h = yes; then
98786
 
+             
98787
 
+            
98788
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98789
 
+/* end confdefs.h.  */
98790
 
+#include <netdb.h>
98791
 
+                  
98792
 
+_ACEOF
98793
 
+                                                                                                                        case "$host_os" in
98794
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
98795
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
98796
 
+               esac
98797
 
+                                                            gl_cv_next_netdb_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
98798
 
+                  sed -n '\#/netdb.h#{
98799
 
+                    s#.*"\(.*/netdb.h\)".*#\1#
98800
 
+                    s#^/[^/]#//&#
98801
 
+                    p
98802
 
+                    q
98803
 
+                  }'`'"'
98804
 
+          else
98805
 
+               gl_cv_next_netdb_h='<'netdb.h'>'
98806
 
+             fi
98807
 
+            
98808
 
+         
98809
 
+fi
98810
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5
98811
 
+$as_echo "$gl_cv_next_netdb_h" >&6; }
98812
 
+     fi
98813
 
+     NEXT_NETDB_H=$gl_cv_next_netdb_h
98814
 
+
98815
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
98816
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
98817
 
+       gl_next_as_first_directive='<'netdb.h'>'
98818
 
+     else
98819
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
98820
 
+       gl_next_as_first_directive=$gl_cv_next_netdb_h
98821
 
+     fi
98822
 
+     NEXT_AS_FIRST_DIRECTIVE_NETDB_H=$gl_next_as_first_directive
98823
 
+
98824
 
+     
98825
 
+
98826
 
+
98827
 
+  if test $ac_cv_header_netdb_h = yes; then
98828
 
+    HAVE_NETDB_H=1
98829
 
+  else
98830
 
+    HAVE_NETDB_H=0
98831
 
+  fi
98832
 
+  
98833
 
+
98834
 
+      
98835
 
+    for gl_func in getaddrinfo freeaddrinfo gai_strerror getnameinfo; do
98836
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
98837
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
98838
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
98839
 
+if eval \${$as_gl_Symbol+:} false; then :
98840
 
+  $as_echo_n "(cached) " >&6
98841
 
+else
98842
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98843
 
+/* end confdefs.h.  */
98844
 
+#include <netdb.h>
98845
 
+int
98846
 
+main ()
98847
 
+{
98848
 
+@%:@undef $gl_func
98849
 
+  (void) $gl_func;
98850
 
+  ;
98851
 
+  return 0;
98852
 
+}
98853
 
+_ACEOF
98854
 
+if ac_fn_c_try_compile "$LINENO"; then :
98855
 
+  eval "$as_gl_Symbol=yes"
98856
 
+else
98857
 
+  eval "$as_gl_Symbol=no"
98858
 
+fi
98859
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
98860
 
+fi
98861
 
+eval ac_res=\$$as_gl_Symbol
98862
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
98863
 
+$as_echo "$ac_res" >&6; }
98864
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
98865
 
+  cat >>confdefs.h <<_ACEOF
98866
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
98867
 
+_ACEOF
98868
 
+
98869
 
+                     eval ac_cv_have_decl_$gl_func=yes
98870
 
+fi
98871
 
+      done
98872
 
+
98873
 
+
98874
 
+
98875
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <netinet/in.h> is self-contained" >&5
98876
 
+$as_echo_n "checking whether <netinet/in.h> is self-contained... " >&6; }
98877
 
+if ${gl_cv_header_netinet_in_h_selfcontained+:} false; then :
98878
 
+  $as_echo_n "(cached) " >&6
98879
 
+else
98880
 
+  
98881
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98882
 
+/* end confdefs.h.  */
98883
 
+#include <netinet/in.h>
98884
 
+int
98885
 
+main ()
98886
 
+{
98887
 
+
98888
 
+  ;
98889
 
+  return 0;
98890
 
+}
98891
 
+_ACEOF
98892
 
+if ac_fn_c_try_compile "$LINENO"; then :
98893
 
+  gl_cv_header_netinet_in_h_selfcontained=yes
98894
 
+else
98895
 
+  gl_cv_header_netinet_in_h_selfcontained=no
98896
 
+fi
98897
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
98898
 
+    
98899
 
+fi
98900
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_netinet_in_h_selfcontained" >&5
98901
 
+$as_echo "$gl_cv_header_netinet_in_h_selfcontained" >&6; }
98902
 
+  if test $gl_cv_header_netinet_in_h_selfcontained = yes; then
98903
 
+    NETINET_IN_H=''
98904
 
+  else
98905
 
+    NETINET_IN_H='netinet/in.h'
98906
 
+    for ac_header in netinet/in.h
98907
 
+do :
98908
 
+  ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
98909
 
+if test "x$ac_cv_header_netinet_in_h" = xyes; then :
98910
 
+  cat >>confdefs.h <<_ACEOF
98911
 
+@%:@define HAVE_NETINET_IN_H 1
98912
 
+_ACEOF
98913
 
98914
 
+fi
98915
 
+
98916
 
+done
98917
 
+
98918
 
+    
98919
 
+  
98920
 
+  
98921
 
+  
98922
 
+
98923
 
+  
98924
 
+    
98925
 
+
98926
 
+  
98927
 
+     if test $gl_cv_have_include_next = yes; then
98928
 
+       gl_cv_next_netinet_in_h='<'netinet/in.h'>'
98929
 
+     else
98930
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <netinet/in.h>" >&5
98931
 
+$as_echo_n "checking absolute name of <netinet/in.h>... " >&6; }
98932
 
+if ${gl_cv_next_netinet_in_h+:} false; then :
98933
 
+  $as_echo_n "(cached) " >&6
98934
 
+else
98935
 
+  
98936
 
+             if test $ac_cv_header_netinet_in_h = yes; then
98937
 
+             
98938
 
+            
98939
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98940
 
+/* end confdefs.h.  */
98941
 
+#include <netinet/in.h>
98942
 
+                  
98943
 
+_ACEOF
98944
 
+                                                                                                                        case "$host_os" in
98945
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
98946
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
98947
 
+               esac
98948
 
+                                                            gl_cv_next_netinet_in_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
98949
 
+                  sed -n '\#/netinet/in.h#{
98950
 
+                    s#.*"\(.*/netinet/in.h\)".*#\1#
98951
 
+                    s#^/[^/]#//&#
98952
 
+                    p
98953
 
+                    q
98954
 
+                  }'`'"'
98955
 
+          else
98956
 
+               gl_cv_next_netinet_in_h='<'netinet/in.h'>'
98957
 
+             fi
98958
 
+            
98959
 
+         
98960
 
+fi
98961
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netinet_in_h" >&5
98962
 
+$as_echo "$gl_cv_next_netinet_in_h" >&6; }
98963
 
+     fi
98964
 
+     NEXT_NETINET_IN_H=$gl_cv_next_netinet_in_h
98965
 
+
98966
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
98967
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
98968
 
+       gl_next_as_first_directive='<'netinet/in.h'>'
98969
 
+     else
98970
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
98971
 
+       gl_next_as_first_directive=$gl_cv_next_netinet_in_h
98972
 
+     fi
98973
 
+     NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H=$gl_next_as_first_directive
98974
 
+
98975
 
+     
98976
 
+
98977
 
+
98978
 
+    if test $ac_cv_header_netinet_in_h = yes; then
98979
 
+      HAVE_NETINET_IN_H=1
98980
 
+    else
98981
 
+      HAVE_NETINET_IN_H=0
98982
 
+    fi
98983
 
+    
98984
 
+  fi
98985
 
+  
98986
 
+   if test -n "$NETINET_IN_H"; then
98987
 
+  GL_GENERATE_NETINET_IN_H_TRUE=
98988
 
+  GL_GENERATE_NETINET_IN_H_FALSE='#'
98989
 
+else
98990
 
+  GL_GENERATE_NETINET_IN_H_TRUE='#'
98991
 
+  GL_GENERATE_NETINET_IN_H_FALSE=
98992
 
+fi
98993
 
+
98994
 
+
98995
 
+
98996
 
+
98997
 
+  
98998
 
+  
98999
 
+  
99000
 
+     if test $ac_cv_func_nl_langinfo = yes; then
99001
 
+    # On Irix 6.5, YESEXPR is defined, but nl_langinfo(YESEXPR) is broken.
99002
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether YESEXPR works" >&5
99003
 
+$as_echo_n "checking whether YESEXPR works... " >&6; }
99004
 
+if ${gl_cv_func_nl_langinfo_yesexpr_works+:} false; then :
99005
 
+  $as_echo_n "(cached) " >&6
99006
 
+else
99007
 
+  if test "$cross_compiling" = yes; then :
99008
 
+  
99009
 
+         case "$host_os" in
99010
 
+                   # Guess no on irix systems.
99011
 
+           irix*)  gl_cv_func_nl_langinfo_yesexpr_works="guessing no";;
99012
 
+                   # Guess yes elsewhere.
99013
 
+           *)      gl_cv_func_nl_langinfo_yesexpr_works="guessing yes";;
99014
 
+         esac
99015
 
+         
99016
 
+else
99017
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
99018
 
+/* end confdefs.h.  */
99019
 
+#include <langinfo.h>
99020
 
+
99021
 
+int
99022
 
+main ()
99023
 
+{
99024
 
+return !*nl_langinfo(YESEXPR);
99025
 
+
99026
 
+  ;
99027
 
+  return 0;
99028
 
+}
99029
 
+_ACEOF
99030
 
+if ac_fn_c_try_run "$LINENO"; then :
99031
 
+  gl_cv_func_nl_langinfo_yesexpr_works=yes
99032
 
+else
99033
 
+  gl_cv_func_nl_langinfo_yesexpr_works=no
99034
 
+fi
99035
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
99036
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
99037
 
+fi
99038
 
+
99039
 
+      
99040
 
+fi
99041
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_nl_langinfo_yesexpr_works" >&5
99042
 
+$as_echo "$gl_cv_func_nl_langinfo_yesexpr_works" >&6; }
99043
 
+    case $gl_cv_func_nl_langinfo_yesexpr_works in
99044
 
+      *yes) FUNC_NL_LANGINFO_YESEXPR_WORKS=1 ;;
99045
 
+      *)    FUNC_NL_LANGINFO_YESEXPR_WORKS=0 ;;
99046
 
+    esac
99047
 
+    
99048
 
+cat >>confdefs.h <<_ACEOF
99049
 
+@%:@define FUNC_NL_LANGINFO_YESEXPR_WORKS $FUNC_NL_LANGINFO_YESEXPR_WORKS
99050
 
+_ACEOF
99051
 
+
99052
 
+    if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1 \
99053
 
+        && test $FUNC_NL_LANGINFO_YESEXPR_WORKS = 1; then
99054
 
+      :
99055
 
+    else
99056
 
+      REPLACE_NL_LANGINFO=1
99057
 
+      
99058
 
+$as_echo "@%:@define REPLACE_NL_LANGINFO 1" >>confdefs.h
99059
 
+
99060
 
+    fi
99061
 
+  else
99062
 
+    HAVE_NL_LANGINFO=0
99063
 
+  fi
99064
 
+
99065
 
+if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then
99066
 
+  
99067
 
+  
99068
 
+  
99069
 
+    
99070
 
+      
99071
 
+      
99072
 
+    
99073
 
+  
99074
 
+  gl_LIBOBJS="$gl_LIBOBJS nl_langinfo.$ac_objext"
99075
 
+
99076
 
+fi
99077
 
+
99078
 
+    
99079
 
+  
99080
 
+  
99081
 
+  
99082
 
+          GNULIB_NL_LANGINFO=1
99083
 
+    
99084
 
+
99085
 
+
99086
 
+    
99087
 
+  
99088
 
+$as_echo "@%:@define GNULIB_TEST_NL_LANGINFO 1" >>confdefs.h
99089
 
+
99090
 
+
99091
 
+
99092
 
+
99093
 
+  
99094
 
+    
99095
 
+
99096
 
+  for ac_header in sys/pstat.h sys/sysmp.h sys/param.h
99097
 
+do :
99098
 
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
99099
 
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
99100
 
+"
99101
 
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
99102
 
+  cat >>confdefs.h <<_ACEOF
99103
 
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
99104
 
+_ACEOF
99105
 
99106
 
+fi
99107
 
+
99108
 
+done
99109
 
+
99110
 
+    for ac_header in sys/sysctl.h
99111
 
+do :
99112
 
+  ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "$ac_includes_default
99113
 
+     #if HAVE_SYS_PARAM_H
99114
 
+     # include <sys/param.h>
99115
 
+     #endif
99116
 
+    
99117
 
+"
99118
 
+if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
99119
 
+  cat >>confdefs.h <<_ACEOF
99120
 
+@%:@define HAVE_SYS_SYSCTL_H 1
99121
 
+_ACEOF
99122
 
99123
 
+fi
99124
 
+
99125
 
+done
99126
 
+
99127
 
+
99128
 
+  for ac_func in sched_getaffinity sched_getaffinity_np \
99129
 
+                  pstat_getdynamic sysmp sysctl
99130
 
+do :
99131
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
99132
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
99133
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
99134
 
+  cat >>confdefs.h <<_ACEOF
99135
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
99136
 
+_ACEOF
99137
 
99138
 
+fi
99139
 
+done
99140
 
+
99141
 
+
99142
 
+                if test $ac_cv_func_sched_getaffinity = yes; then
99143
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc compatible sched_getaffinity" >&5
99144
 
+$as_echo_n "checking for glibc compatible sched_getaffinity... " >&6; }
99145
 
+if ${gl_cv_func_sched_getaffinity3+:} false; then :
99146
 
+  $as_echo_n "(cached) " >&6
99147
 
+else
99148
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
99149
 
+/* end confdefs.h.  */
99150
 
+#include <sched.h>
99151
 
+int
99152
 
+main ()
99153
 
+{
99154
 
+sched_getaffinity (0, 0, (cpu_set_t *) 0);
99155
 
+  ;
99156
 
+  return 0;
99157
 
+}
99158
 
+_ACEOF
99159
 
+if ac_fn_c_try_compile "$LINENO"; then :
99160
 
+  gl_cv_func_sched_getaffinity3=yes
99161
 
+else
99162
 
+  gl_cv_func_sched_getaffinity3=no
99163
 
+fi
99164
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
99165
 
+      
99166
 
+fi
99167
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_sched_getaffinity3" >&5
99168
 
+$as_echo "$gl_cv_func_sched_getaffinity3" >&6; }
99169
 
+    if test $gl_cv_func_sched_getaffinity3 = yes; then
99170
 
+      
99171
 
+$as_echo "@%:@define HAVE_SCHED_GETAFFINITY_LIKE_GLIBC 1" >>confdefs.h
99172
 
+
99173
 
+    fi
99174
 
+  fi
99175
 
+
99176
 
+
99177
 
+
99178
 
+  
99179
 
+    
99180
 
+      
99181
 
+      
99182
 
+    
99183
 
+  
99184
 
+    
99185
 
+      
99186
 
+      
99187
 
+    
99188
 
+  
99189
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5
99190
 
+$as_echo_n "checking for obstacks... " >&6; }
99191
 
+if ${ac_cv_func_obstack+:} false; then :
99192
 
+  $as_echo_n "(cached) " >&6
99193
 
+else
99194
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
99195
 
+/* end confdefs.h.  */
99196
 
+$ac_includes_default
99197
 
+                     @%:@include "obstack.h"
99198
 
+int
99199
 
+main ()
99200
 
+{
99201
 
+struct obstack mem;
99202
 
+                      @%:@define obstack_chunk_alloc malloc
99203
 
+                      @%:@define obstack_chunk_free free
99204
 
+                      obstack_init (&mem);
99205
 
+                      obstack_free (&mem, 0);
99206
 
+  ;
99207
 
+  return 0;
99208
 
+}
99209
 
+_ACEOF
99210
 
+if ac_fn_c_try_link "$LINENO"; then :
99211
 
+  ac_cv_func_obstack=yes
99212
 
+else
99213
 
+  ac_cv_func_obstack=no
99214
 
+fi
99215
 
+rm -f core conftest.err conftest.$ac_objext \
99216
 
+    conftest$ac_exeext conftest.$ac_ext
99217
 
+fi
99218
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_obstack" >&5
99219
 
+$as_echo "$ac_cv_func_obstack" >&6; }
99220
 
+if test $ac_cv_func_obstack = yes; then
99221
 
+  
99222
 
+$as_echo "@%:@define HAVE_OBSTACK 1" >>confdefs.h
99223
 
+
99224
 
+else
99225
 
+  
99226
 
+  
99227
 
+  
99228
 
+    
99229
 
+      
99230
 
+      
99231
 
+    
99232
 
+  
99233
 
+  gl_LIBOBJS="$gl_LIBOBJS obstack.$ac_objext"
99234
 
+
99235
 
+fi
99236
 
+
99237
 
+
99238
 
+  
99239
 
+  case "$host_os" in
99240
 
+    mingw* | pw*)
99241
 
+      REPLACE_OPEN=1
99242
 
+      ;;
99243
 
+    *)
99244
 
+                  
99245
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether open recognizes a trailing slash" >&5
99246
 
+$as_echo_n "checking whether open recognizes a trailing slash... " >&6; }
99247
 
+if ${gl_cv_func_open_slash+:} false; then :
99248
 
+  $as_echo_n "(cached) " >&6
99249
 
+else
99250
 
+  # Assume that if we have lstat, we can also check symlinks.
99251
 
+          if test $ac_cv_func_lstat = yes; then
99252
 
+            touch conftest.tmp
99253
 
+            ln -s conftest.tmp conftest.lnk
99254
 
+          fi
99255
 
+          if test "$cross_compiling" = yes; then :
99256
 
+  
99257
 
+             case "$host_os" in
99258
 
+               freebsd* | aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*)
99259
 
+                 gl_cv_func_open_slash="guessing no" ;;
99260
 
+               *)
99261
 
+                 gl_cv_func_open_slash="guessing yes" ;;
99262
 
+             esac
99263
 
+            
99264
 
+else
99265
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
99266
 
+/* end confdefs.h.  */
99267
 
+
99268
 
+#include <fcntl.h>
99269
 
+#if HAVE_UNISTD_H
99270
 
+# include <unistd.h>
99271
 
+#endif
99272
 
+int main ()
99273
 
+{
99274
 
+  int result = 0;
99275
 
+#if HAVE_LSTAT
99276
 
+  if (open ("conftest.lnk/", O_RDONLY) != -1)
99277
 
+    result |= 1;
99278
 
+#endif
99279
 
+  if (open ("conftest.sl/", O_CREAT, 0600) >= 0)
99280
 
+    result |= 2;
99281
 
+  return result;
99282
 
+}
99283
 
+_ACEOF
99284
 
+if ac_fn_c_try_run "$LINENO"; then :
99285
 
+  gl_cv_func_open_slash=yes
99286
 
+else
99287
 
+  gl_cv_func_open_slash=no
99288
 
+fi
99289
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
99290
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
99291
 
+fi
99292
 
+
99293
 
+          rm -f conftest.sl conftest.tmp conftest.lnk
99294
 
+        
99295
 
+fi
99296
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_open_slash" >&5
99297
 
+$as_echo "$gl_cv_func_open_slash" >&6; }
99298
 
+      case "$gl_cv_func_open_slash" in
99299
 
+        *no)
99300
 
+          
99301
 
+$as_echo "@%:@define OPEN_TRAILING_SLASH_BUG 1" >>confdefs.h
99302
 
+
99303
 
+          REPLACE_OPEN=1
99304
 
+          ;;
99305
 
+      esac
99306
 
+      ;;
99307
 
+  esac
99308
 
+      
99309
 
+    if test $REPLACE_OPEN = 0; then
99310
 
+      
99311
 
+  
99312
 
+  
99313
 
+  if test $ac_cv_func_fchdir = no; then
99314
 
+    HAVE_FCHDIR=0
99315
 
+  fi
99316
 
+
99317
 
+      if test $HAVE_FCHDIR = 0; then
99318
 
+        REPLACE_OPEN=1
99319
 
+      fi
99320
 
+    fi
99321
 
+  
99322
 
+    
99323
 
+
99324
 
+if test $REPLACE_OPEN = 1; then
99325
 
+  
99326
 
+  
99327
 
+  
99328
 
+    
99329
 
+      
99330
 
+      
99331
 
+    
99332
 
+  
99333
 
+  gl_LIBOBJS="$gl_LIBOBJS open.$ac_objext"
99334
 
+
99335
 
+  
99336
 
+  
99337
 
+  
99338
 
+  :
99339
 
+
99340
 
+fi
99341
 
+
99342
 
+    
99343
 
+  
99344
 
+  
99345
 
+  
99346
 
+          GNULIB_OPEN=1
99347
 
+    
99348
 
+
99349
 
+
99350
 
+    
99351
 
+  
99352
 
+$as_echo "@%:@define GNULIB_TEST_OPEN 1" >>confdefs.h
99353
 
+
99354
 
+
99355
 
+
99356
 
+
99357
 
+  
99358
 
+  GNULIB_OPENAT=1
99359
 
+
99360
 
+  
99361
 
+  GNULIB_FCHMODAT=1
99362
 
+  GNULIB_FSTATAT=1
99363
 
+  GNULIB_MKDIRAT=1
99364
 
+
99365
 
+  
99366
 
+  GNULIB_FCHOWNAT=1
99367
 
+  GNULIB_UNLINKAT=1
99368
 
+
99369
 
+  
99370
 
+  
99371
 
+  
99372
 
+  
99373
 
+  case $ac_cv_func_openat+$gl_cv_func_lstat_dereferences_slashed_symlink in
99374
 
+  yes+yes)
99375
 
+    # GNU/Hurd has unlinkat, but it has the same bug as unlink.
99376
 
+    if test $REPLACE_UNLINK = 1; then
99377
 
+      REPLACE_UNLINKAT=1
99378
 
+    fi ;;
99379
 
+  yes+*)
99380
 
+    # Solaris 9 has *at functions, but uniformly mishandles trailing
99381
 
+    # slash in all of them.
99382
 
+    REPLACE_OPENAT=1
99383
 
+    REPLACE_UNLINKAT=1
99384
 
+    ;;
99385
 
+  *)
99386
 
+    HAVE_OPENAT=0
99387
 
+    HAVE_UNLINKAT=0 # No known system with unlinkat but not openat
99388
 
+    
99389
 
+  
99390
 
+  
99391
 
+  :
99392
 
+;;
99393
 
+  esac
99394
 
+  if test $ac_cv_func_fchmodat != yes; then
99395
 
+    HAVE_FCHMODAT=0
99396
 
+  fi
99397
 
+  if test $ac_cv_func_mkdirat != yes; then
99398
 
+    HAVE_MKDIRAT=0
99399
 
+  fi
99400
 
+  
99401
 
+  
99402
 
+  
99403
 
+  ac_fn_c_check_func "$LINENO" "fchownat" "ac_cv_func_fchownat"
99404
 
+if test "x$ac_cv_func_fchownat" = xyes; then :
99405
 
+  
99406
 
+    
99407
 
+
99408
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fchownat works with AT_SYMLINK_NOFOLLOW" >&5
99409
 
+$as_echo_n "checking whether fchownat works with AT_SYMLINK_NOFOLLOW... " >&6; }
99410
 
+if ${gl_cv_func_fchownat_nofollow_works+:} false; then :
99411
 
+  $as_echo_n "(cached) " >&6
99412
 
+else
99413
 
+  
99414
 
+     gl_dangle=conftest.dangle
99415
 
+     # Remove any remnants of a previous test.
99416
 
+     rm -f $gl_dangle
99417
 
+     # Arrange for deletion of the temporary file this test creates.
99418
 
+     ac_clean_files="$ac_clean_files $gl_dangle"
99419
 
+     ln -s conftest.no-such $gl_dangle
99420
 
+     if test "$cross_compiling" = yes; then :
99421
 
+  gl_cv_func_fchownat_nofollow_works=no
99422
 
+else
99423
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
99424
 
+/* end confdefs.h.  */
99425
 
+
99426
 
+#include <fcntl.h>
99427
 
+#include <unistd.h>
99428
 
+#include <stdlib.h>
99429
 
+#include <errno.h>
99430
 
+#include <sys/types.h>
99431
 
+int
99432
 
+main ()
99433
 
+{
99434
 
+  return (fchownat (AT_FDCWD, "$gl_dangle", -1, getgid (),
99435
 
+                    AT_SYMLINK_NOFOLLOW) != 0
99436
 
+          && errno == ENOENT);
99437
 
+}
99438
 
+          
99439
 
+_ACEOF
99440
 
+if ac_fn_c_try_run "$LINENO"; then :
99441
 
+  gl_cv_func_fchownat_nofollow_works=yes
99442
 
+else
99443
 
+  gl_cv_func_fchownat_nofollow_works=no
99444
 
+fi
99445
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
99446
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
99447
 
+fi
99448
 
+
99449
 
+  
99450
 
+fi
99451
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fchownat_nofollow_works" >&5
99452
 
+$as_echo "$gl_cv_func_fchownat_nofollow_works" >&6; }
99453
 
+  if test $gl_cv_func_fchownat_nofollow_works = no; then :
99454
 
+  REPLACE_FCHOWNAT=1
99455
 
+        
99456
 
+$as_echo "@%:@define FCHOWNAT_NOFOLLOW_BUG 1" >>confdefs.h
99457
 
+
99458
 
+       
99459
 
+fi
99460
 
+
99461
 
+     
99462
 
+    
99463
 
+
99464
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fchownat works with an empty file name" >&5
99465
 
+$as_echo_n "checking whether fchownat works with an empty file name... " >&6; }
99466
 
+if ${gl_cv_func_fchownat_empty_filename_works+:} false; then :
99467
 
+  $as_echo_n "(cached) " >&6
99468
 
+else
99469
 
+  if test "$cross_compiling" = yes; then :
99470
 
+  gl_cv_func_fchownat_empty_filename_works="guessing no"
99471
 
+else
99472
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
99473
 
+/* end confdefs.h.  */
99474
 
+#include <unistd.h>
99475
 
+            #include <fcntl.h>
99476
 
+          
99477
 
+int
99478
 
+main ()
99479
 
+{
99480
 
+int fd;
99481
 
+            int ret;
99482
 
+            if (mkdir ("conftestdir", 0700) < 0)
99483
 
+              return 2;
99484
 
+            fd = open ("conftestdir", O_RDONLY);
99485
 
+            if (fd < 0)
99486
 
+              return 3;
99487
 
+            ret = fchownat (fd, "", -1, -1, 0);
99488
 
+            close (fd);
99489
 
+            rmdir ("conftestdir");
99490
 
+            return ret == 0;
99491
 
+          
99492
 
+  ;
99493
 
+  return 0;
99494
 
+}
99495
 
+_ACEOF
99496
 
+if ac_fn_c_try_run "$LINENO"; then :
99497
 
+  gl_cv_func_fchownat_empty_filename_works=yes
99498
 
+else
99499
 
+  gl_cv_func_fchownat_empty_filename_works=no
99500
 
+fi
99501
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
99502
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
99503
 
+fi
99504
 
+
99505
 
+    
99506
 
+fi
99507
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fchownat_empty_filename_works" >&5
99508
 
+$as_echo "$gl_cv_func_fchownat_empty_filename_works" >&6; }
99509
 
+  if test "$gl_cv_func_fchownat_empty_filename_works" != yes; then :
99510
 
+  REPLACE_FCHOWNAT=1
99511
 
+        
99512
 
+$as_echo "@%:@define FCHOWNAT_EMPTY_FILENAME_BUG 1" >>confdefs.h
99513
 
+
99514
 
+       
99515
 
+fi
99516
 
+
99517
 
+     if test $REPLACE_CHOWN = 1; then
99518
 
+       REPLACE_FCHOWNAT=1
99519
 
+     fi
99520
 
+else
99521
 
+  HAVE_FCHOWNAT=0
99522
 
+fi
99523
 
+
99524
 
+
99525
 
+  
99526
 
+  
99527
 
+  
99528
 
+  
99529
 
+  
99530
 
+
99531
 
+  if test $ac_cv_func_fstatat = no; then
99532
 
+    HAVE_FSTATAT=0
99533
 
+  else
99534
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fstatat (..., 0) works" >&5
99535
 
+$as_echo_n "checking whether fstatat (..., 0) works... " >&6; }
99536
 
+if ${gl_cv_func_fstatat_zero_flag+:} false; then :
99537
 
+  $as_echo_n "(cached) " >&6
99538
 
+else
99539
 
+  gl_cv_func_fstatat_zero_flag=no
99540
 
+       if test "$cross_compiling" = yes; then :
99541
 
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
99542
 
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
99543
 
+as_fn_error $? "cannot run test program while cross compiling
99544
 
+See \`config.log' for more details" "$LINENO" 5; }
99545
 
+else
99546
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
99547
 
+/* end confdefs.h.  */
99548
 
+
99549
 
+              #include <fcntl.h>
99550
 
+              #include <sys/stat.h>
99551
 
+              int
99552
 
+              main (void)
99553
 
+              {
99554
 
+                struct stat a;
99555
 
+                return fstatat (AT_FDCWD, ".", &a, 0) != 0;
99556
 
+              }
99557
 
+            
99558
 
+_ACEOF
99559
 
+if ac_fn_c_try_run "$LINENO"; then :
99560
 
+  gl_cv_func_fstatat_zero_flag=yes
99561
 
+fi
99562
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
99563
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
99564
 
+fi
99565
 
+
99566
 
+fi
99567
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fstatat_zero_flag" >&5
99568
 
+$as_echo "$gl_cv_func_fstatat_zero_flag" >&6; }
99569
 
+
99570
 
+    case $gl_cv_func_fstatat_zero_flag+$gl_cv_func_lstat_dereferences_slashed_symlink in
99571
 
+    yes+yes) ;;
99572
 
+    *) REPLACE_FSTATAT=1
99573
 
+       if test $gl_cv_func_fstatat_zero_flag != yes; then
99574
 
+         
99575
 
+$as_echo "@%:@define FSTATAT_ZERO_FLAG_BROKEN 1" >>confdefs.h
99576
 
+
99577
 
+       fi
99578
 
+       ;;
99579
 
+    esac
99580
 
+  fi
99581
 
+
99582
 
+
99583
 
+    
99584
 
+  
99585
 
+cat >>confdefs.h <<_ACEOF
99586
 
+@%:@define GNULIB_OPENAT 1
99587
 
+_ACEOF
99588
 
+
99589
 
+
99590
 
+
99591
 
+
99592
 
+  
99593
 
+  
99594
 
+    
99595
 
+      
99596
 
+      
99597
 
+    
99598
 
+  
99599
 
+  gl_LIBOBJS="$gl_LIBOBJS openat-proc.$ac_objext"
99600
 
+
99601
 
+if test $HAVE_FCHMODAT = 0; then
99602
 
+  
99603
 
+  
99604
 
+  
99605
 
+    
99606
 
+      
99607
 
+      
99608
 
+    
99609
 
+  
99610
 
+  gl_LIBOBJS="$gl_LIBOBJS fchmodat.$ac_objext"
99611
 
+
99612
 
+fi
99613
 
+if test $ac_cv_func_fstatat = no || test $REPLACE_FSTATAT = 1; then
99614
 
+  
99615
 
+  
99616
 
+  
99617
 
+    
99618
 
+      
99619
 
+      
99620
 
+    
99621
 
+  
99622
 
+  gl_LIBOBJS="$gl_LIBOBJS fstatat.$ac_objext"
99623
 
+
99624
 
+fi
99625
 
+if test $HAVE_MKDIRAT = 0; then
99626
 
+  
99627
 
+  
99628
 
+  
99629
 
+    
99630
 
+      
99631
 
+      
99632
 
+    
99633
 
+  
99634
 
+  gl_LIBOBJS="$gl_LIBOBJS mkdirat.$ac_objext"
99635
 
+
99636
 
+fi
99637
 
+if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then
99638
 
+  
99639
 
+  
99640
 
+  
99641
 
+    
99642
 
+      
99643
 
+      
99644
 
+    
99645
 
+  
99646
 
+  gl_LIBOBJS="$gl_LIBOBJS openat.$ac_objext"
99647
 
+
99648
 
+fi
99649
 
+if test $ac_cv_func_unlinkat = no || test $REPLACE_UNLINKAT = 1; then
99650
 
+  
99651
 
+  
99652
 
+  
99653
 
+    
99654
 
+      
99655
 
+      
99656
 
+    
99657
 
+  
99658
 
+  gl_LIBOBJS="$gl_LIBOBJS unlinkat.$ac_objext"
99659
 
+
99660
 
+fi
99661
 
+if test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1; then
99662
 
+  
99663
 
+  
99664
 
+  
99665
 
+    
99666
 
+      
99667
 
+      
99668
 
+    
99669
 
+  
99670
 
+  gl_LIBOBJS="$gl_LIBOBJS fchownat.$ac_objext"
99671
 
+
99672
 
+fi
99673
 
+
99674
 
+  
99675
 
+
99676
 
+
99677
 
+  
99678
 
+cat >>confdefs.h <<_ACEOF
99679
 
+@%:@define GNULIB_OPENAT_SAFER 1
99680
 
+_ACEOF
99681
 
+
99682
 
+
99683
 
+
99684
 
+    
99685
 
+  
99686
 
+
99687
 
+    
99688
 
+  
99689
 
+  ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
99690
 
+#include <$ac_cv_struct_tm>
99691
 
+
99692
 
+"
99693
 
+if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
99694
 
+  
99695
 
+cat >>confdefs.h <<_ACEOF
99696
 
+@%:@define HAVE_STRUCT_TM_TM_ZONE 1
99697
 
+_ACEOF
99698
 
+
99699
 
+
99700
 
+fi
99701
 
+
99702
 
+if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
99703
 
+  
99704
 
+$as_echo "@%:@define HAVE_TM_ZONE 1" >>confdefs.h
99705
 
+
99706
 
+else
99707
 
+  ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
99708
 
+"
99709
 
+if test "x$ac_cv_have_decl_tzname" = xyes; then :
99710
 
+  ac_have_decl=1
99711
 
+else
99712
 
+  ac_have_decl=0
99713
 
+fi
99714
 
+
99715
 
+cat >>confdefs.h <<_ACEOF
99716
 
+@%:@define HAVE_DECL_TZNAME $ac_have_decl
99717
 
+_ACEOF
99718
 
+
99719
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
99720
 
+$as_echo_n "checking for tzname... " >&6; }
99721
 
+if ${ac_cv_var_tzname+:} false; then :
99722
 
+  $as_echo_n "(cached) " >&6
99723
 
+else
99724
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
99725
 
+/* end confdefs.h.  */
99726
 
+#include <time.h>
99727
 
+#if !HAVE_DECL_TZNAME
99728
 
+extern char *tzname[];
99729
 
+#endif
99730
 
+
99731
 
+int
99732
 
+main ()
99733
 
+{
99734
 
+return tzname[0][0];
99735
 
+  ;
99736
 
+  return 0;
99737
 
+}
99738
 
+_ACEOF
99739
 
+if ac_fn_c_try_link "$LINENO"; then :
99740
 
+  ac_cv_var_tzname=yes
99741
 
+else
99742
 
+  ac_cv_var_tzname=no
99743
 
+fi
99744
 
+rm -f core conftest.err conftest.$ac_objext \
99745
 
+    conftest$ac_exeext conftest.$ac_ext
99746
 
+fi
99747
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
99748
 
+$as_echo "$ac_cv_var_tzname" >&6; }
99749
 
+  if test $ac_cv_var_tzname = yes; then
99750
 
+    
99751
 
+$as_echo "@%:@define HAVE_TZNAME 1" >>confdefs.h
99752
 
+
99753
 
+  fi
99754
 
+fi
99755
 
+
99756
 
+  
99757
 
+  
99758
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
99759
 
+/* end confdefs.h.  */
99760
 
+
99761
 
+#include <time.h> /* for time_t */
99762
 
+#include <limits.h> /* for CHAR_BIT, LONG_MIN, LONG_MAX */
99763
 
+#define TYPE_MINIMUM(t) \
99764
 
+  ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t)))
99765
 
+#define TYPE_MAXIMUM(t) \
99766
 
+  ((t) ((t) 0 < (t) -1 \
99767
 
+        ? (t) -1 \
99768
 
+        : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
99769
 
+typedef int verify_min[2 * (LONG_MIN <= TYPE_MINIMUM (time_t)) - 1];
99770
 
+typedef int verify_max[2 * (TYPE_MAXIMUM (time_t) <= LONG_MAX) - 1];
99771
 
+       
99772
 
+_ACEOF
99773
 
+if ac_fn_c_try_compile "$LINENO"; then :
99774
 
+  
99775
 
+$as_echo "@%:@define TIME_T_FITS_IN_LONG_INT 1" >>confdefs.h
99776
 
+
99777
 
+    
99778
 
+fi
99779
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
99780
 
+
99781
 
+
99782
 
+    
99783
 
+
99784
 
+
99785
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl5.005 or newer" >&5
99786
 
+$as_echo_n "checking for perl5.005 or newer... " >&6; }
99787
 
+  if test "${PERL+set}" = set; then
99788
 
+    # `PERL' is set in the user's environment.
99789
 
+    candidate_perl_names="$PERL"
99790
 
+    perl_specified=yes
99791
 
+  else
99792
 
+    candidate_perl_names='perl perl5'
99793
 
+    perl_specified=no
99794
 
+  fi
99795
 
+
99796
 
+  found=no
99797
 
+  
99798
 
+  PERL="$am_missing_run perl"
99799
 
+  for perl in $candidate_perl_names; do
99800
 
+    # Run test in a subshell; some versions of sh will print an error if
99801
 
+    # an executable is not found, even if stderr is redirected.
99802
 
+    if ( $perl -e 'require 5.005; use File::Compare' ) > /dev/null 2>&1; then
99803
 
+      PERL=$perl
99804
 
+      found=yes
99805
 
+      break
99806
 
+    fi
99807
 
+  done
99808
 
+
99809
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found" >&5
99810
 
+$as_echo "$found" >&6; }
99811
 
+  test $found = no && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 
99812
 
+WARNING: You don't seem to have perl5.005 or newer installed, or you lack
99813
 
+         a usable version of the Perl File::Compare module.  As a result,
99814
 
+         you may be unable to run a few tests or to regenerate certain
99815
 
+         files if you modify the sources from which they are derived.
99816
 
+ " >&5
99817
 
+$as_echo "$as_me: WARNING: 
99818
 
+WARNING: You don't seem to have perl5.005 or newer installed, or you lack
99819
 
+         a usable version of the Perl File::Compare module.  As a result,
99820
 
+         you may be unable to run a few tests or to regenerate certain
99821
 
+         files if you modify the sources from which they are derived.
99822
 
+ " >&2;}
99823
 
+
99824
 
+
99825
 
+  # Prerequisites of lib/physmem.c.
99826
 
+  for ac_header in sys/pstat.h sys/sysmp.h sys/sysinfo.h \
99827
 
+    machine/hal_sysinfo.h sys/table.h sys/param.h sys/systemcfg.h
99828
 
+do :
99829
 
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
99830
 
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
99831
 
+"
99832
 
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
99833
 
+  cat >>confdefs.h <<_ACEOF
99834
 
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
99835
 
+_ACEOF
99836
 
99837
 
+fi
99838
 
+
99839
 
+done
99840
 
+
99841
 
+    for ac_header in sys/sysctl.h
99842
 
+do :
99843
 
+  ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "$ac_includes_default
99844
 
+     #if HAVE_SYS_PARAM_H
99845
 
+     # include <sys/param.h>
99846
 
+     #endif
99847
 
+    
99848
 
+"
99849
 
+if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
99850
 
+  cat >>confdefs.h <<_ACEOF
99851
 
+@%:@define HAVE_SYS_SYSCTL_H 1
99852
 
+_ACEOF
99853
 
99854
 
+fi
99855
 
+
99856
 
+done
99857
 
+
99858
 
+
99859
 
+  for ac_func in pstat_getstatic pstat_getdynamic sysmp getsysinfo sysctl table
99860
 
+do :
99861
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
99862
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
99863
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
99864
 
+  cat >>confdefs.h <<_ACEOF
99865
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
99866
 
+_ACEOF
99867
 
99868
 
+fi
99869
 
+done
99870
 
+
99871
 
+  
99872
 
+
99873
 
+
99874
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a shell that conforms to POSIX" >&5
99875
 
+$as_echo_n "checking for a shell that conforms to POSIX... " >&6; }
99876
 
+if ${gl_cv_posix_shell+:} false; then :
99877
 
+  $as_echo_n "(cached) " >&6
99878
 
+else
99879
 
+  gl_test_posix_shell_script='
99880
 
+       func_return () {
99881
 
+         (exit $1)
99882
 
+       }
99883
 
+       func_success () {
99884
 
+         func_return 0
99885
 
+       }
99886
 
+       func_failure () {
99887
 
+         func_return 1
99888
 
+       }
99889
 
+       func_ret_success () {
99890
 
+         return 0
99891
 
+       }
99892
 
+       func_ret_failure () {
99893
 
+         return 1
99894
 
+       }
99895
 
+       subshell_umask_sanity () {
99896
 
+         (umask 22; (umask 0); test $(umask) -eq 22)
99897
 
+       }
99898
 
+       test "$(echo foo)" = foo &&
99899
 
+       func_success &&
99900
 
+       ! func_failure &&
99901
 
+       func_ret_success &&
99902
 
+       ! func_ret_failure &&
99903
 
+       (set x && func_ret_success y && test x = "$1") &&
99904
 
+       subshell_umask_sanity
99905
 
+     '
99906
 
+     for gl_cv_posix_shell in \
99907
 
+         "$CONFIG_SHELL" "$SHELL" /bin/sh /bin/bash /bin/ksh /bin/sh5 no; do
99908
 
+       case $gl_cv_posix_shell in
99909
 
+         /*)
99910
 
+           "$gl_cv_posix_shell" -c "$gl_test_posix_shell_script" 2>/dev/null \
99911
 
+             && break;;
99912
 
+       esac
99913
 
+     done
99914
 
+fi
99915
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_posix_shell" >&5
99916
 
+$as_echo "$gl_cv_posix_shell" >&6; }
99917
 
+
99918
 
+  if test "$gl_cv_posix_shell" != no; then
99919
 
+    POSIX_SHELL=$gl_cv_posix_shell
99920
 
+    PREFERABLY_POSIX_SHELL=$POSIX_SHELL
99921
 
+  else
99922
 
+    POSIX_SHELL=
99923
 
+    PREFERABLY_POSIX_SHELL=/bin/sh
99924
 
+  fi
99925
 
+  
99926
 
+  
99927
 
+
99928
 
+
99929
 
+    :
99930
 
+
99931
 
+
99932
 
+  
99933
 
+
99934
 
+
99935
 
+  
99936
 
+  if test $gl_cv_func_frexp_no_libm = yes; then
99937
 
+    
99938
 
+  
99939
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5
99940
 
+$as_echo_n "checking whether frexp works... " >&6; }
99941
 
+if ${gl_cv_func_frexp_works+:} false; then :
99942
 
+  $as_echo_n "(cached) " >&6
99943
 
+else
99944
 
+  
99945
 
+      if test "$cross_compiling" = yes; then :
99946
 
+  case "$host_os" in
99947
 
+           netbsd* | irix* | mingw*) gl_cv_func_frexp_works="guessing no";;
99948
 
+           *)                        gl_cv_func_frexp_works="guessing yes";;
99949
 
+         esac
99950
 
+        
99951
 
+else
99952
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
99953
 
+/* end confdefs.h.  */
99954
 
+
99955
 
+#include <float.h>
99956
 
+#include <math.h>
99957
 
+#include <string.h>
99958
 
+/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
99959
 
+   ICC 10.0 has a bug when optimizing the expression -zero.
99960
 
+   The expression -DBL_MIN * DBL_MIN does not work when cross-compiling
99961
 
+   to PowerPC on MacOS X 10.5.  */
99962
 
+#if defined __hpux || defined __sgi || defined __ICC
99963
 
+static double
99964
 
+compute_minus_zero (void)
99965
 
+{
99966
 
+  return -DBL_MIN * DBL_MIN;
99967
 
+}
99968
 
+# define minus_zero compute_minus_zero ()
99969
 
+#else
99970
 
+double minus_zero = -0.0;
99971
 
+#endif
99972
 
+int main()
99973
 
+{
99974
 
+  int result = 0;
99975
 
+  int i;
99976
 
+  volatile double x;
99977
 
+  double zero = 0.0;
99978
 
+  /* Test on denormalized numbers.  */
99979
 
+  for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5)
99980
 
+    ;
99981
 
+  if (x > 0.0)
99982
 
+    {
99983
 
+      int exp;
99984
 
+      double y = frexp (x, &exp);
99985
 
+      /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022.
99986
 
+         On NetBSD: y = 0.75. Correct: y = 0.5.  */
99987
 
+      if (y != 0.5)
99988
 
+        result |= 1;
99989
 
+    }
99990
 
+  /* Test on infinite numbers.  */
99991
 
+  x = 1.0 / 0.0;
99992
 
+  {
99993
 
+    int exp;
99994
 
+    double y = frexp (x, &exp);
99995
 
+    if (y != x)
99996
 
+      result |= 2;
99997
 
+  }
99998
 
+  /* Test on negative zero.  */
99999
 
+  x = minus_zero;
100000
 
+  {
100001
 
+    int exp;
100002
 
+    double y = frexp (x, &exp);
100003
 
+    if (memcmp (&y, &x, sizeof x))
100004
 
+      result |= 4;
100005
 
+  }
100006
 
+  return result;
100007
 
+}
100008
 
+_ACEOF
100009
 
+if ac_fn_c_try_run "$LINENO"; then :
100010
 
+  gl_cv_func_frexp_works=yes
100011
 
+else
100012
 
+  gl_cv_func_frexp_works=no
100013
 
+fi
100014
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
100015
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
100016
 
+fi
100017
 
+
100018
 
+    
100019
 
+fi
100020
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_works" >&5
100021
 
+$as_echo "$gl_cv_func_frexp_works" >&6; }
100022
 
+
100023
 
+    case "$gl_cv_func_frexp_works" in
100024
 
+      *yes)
100025
 
+        
100026
 
+$as_echo "@%:@define HAVE_FREXP_IN_LIBC 1" >>confdefs.h
100027
 
+
100028
 
+        ;;
100029
 
+    esac
100030
 
+  fi
100031
 
+
100032
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexp can be used without linking with libm" >&5
100033
 
+$as_echo_n "checking whether ldexp can be used without linking with libm... " >&6; }
100034
 
+if ${gl_cv_func_ldexp_no_libm+:} false; then :
100035
 
+  $as_echo_n "(cached) " >&6
100036
 
+else
100037
 
+  
100038
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
100039
 
+/* end confdefs.h.  */
100040
 
+#include <math.h>
100041
 
+             double x;
100042
 
+             int y;
100043
 
+int
100044
 
+main ()
100045
 
+{
100046
 
+return ldexp (x, y) < 1;
100047
 
+  ;
100048
 
+  return 0;
100049
 
+}
100050
 
+_ACEOF
100051
 
+if ac_fn_c_try_link "$LINENO"; then :
100052
 
+  gl_cv_func_ldexp_no_libm=yes
100053
 
+else
100054
 
+  gl_cv_func_ldexp_no_libm=no
100055
 
+fi
100056
 
+rm -f core conftest.err conftest.$ac_objext \
100057
 
+    conftest$ac_exeext conftest.$ac_ext
100058
 
+    
100059
 
+fi
100060
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_no_libm" >&5
100061
 
+$as_echo "$gl_cv_func_ldexp_no_libm" >&6; }
100062
 
+  if test $gl_cv_func_ldexp_no_libm = yes; then
100063
 
+    
100064
 
+$as_echo "@%:@define HAVE_LDEXP_IN_LIBC 1" >>confdefs.h
100065
 
+
100066
 
+  fi
100067
 
+
100068
 
+
100069
 
+  
100070
 
+    
100071
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5
100072
 
+$as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; }
100073
 
+if ${gl_cv_func_frexpl_no_libm+:} false; then :
100074
 
+  $as_echo_n "(cached) " >&6
100075
 
+else
100076
 
+  
100077
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
100078
 
+/* end confdefs.h.  */
100079
 
+#include <math.h>
100080
 
+             long double x;
100081
 
+int
100082
 
+main ()
100083
 
+{
100084
 
+int e; return frexpl (x, &e) > 0;
100085
 
+  ;
100086
 
+  return 0;
100087
 
+}
100088
 
+_ACEOF
100089
 
+if ac_fn_c_try_link "$LINENO"; then :
100090
 
+  gl_cv_func_frexpl_no_libm=yes
100091
 
+else
100092
 
+  gl_cv_func_frexpl_no_libm=no
100093
 
+fi
100094
 
+rm -f core conftest.err conftest.$ac_objext \
100095
 
+    conftest$ac_exeext conftest.$ac_ext
100096
 
+    
100097
 
+fi
100098
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_no_libm" >&5
100099
 
+$as_echo "$gl_cv_func_frexpl_no_libm" >&6; }
100100
 
+
100101
 
+  if test $gl_cv_func_frexpl_no_libm = yes; then
100102
 
+    
100103
 
+  
100104
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5
100105
 
+$as_echo_n "checking whether frexpl works... " >&6; }
100106
 
+if ${gl_cv_func_frexpl_works+:} false; then :
100107
 
+  $as_echo_n "(cached) " >&6
100108
 
+else
100109
 
+  
100110
 
+      if test "$cross_compiling" = yes; then :
100111
 
+  
100112
 
+         case "$host_os" in
100113
 
+           aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*)
100114
 
+              gl_cv_func_frexpl_works="guessing no";;
100115
 
+           *) gl_cv_func_frexpl_works="guessing yes";;
100116
 
+         esac
100117
 
+        
100118
 
+else
100119
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
100120
 
+/* end confdefs.h.  */
100121
 
+
100122
 
+#include <float.h>
100123
 
+#include <math.h>
100124
 
+/* Override the values of <float.h>, like done in float.in.h.  */
100125
 
+#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__)
100126
 
+# undef LDBL_MIN_EXP
100127
 
+# define LDBL_MIN_EXP    (-16381)
100128
 
+#endif
100129
 
+#if defined __i386__ && defined __FreeBSD__
100130
 
+# undef LDBL_MIN_EXP
100131
 
+# define LDBL_MIN_EXP    (-16381)
100132
 
+#endif
100133
 
+#if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__
100134
 
+# undef LDBL_MIN_EXP
100135
 
+# define LDBL_MIN_EXP DBL_MIN_EXP
100136
 
+#endif
100137
 
+#if defined __sgi && (LDBL_MANT_DIG >= 106)
100138
 
+# if defined __GNUC__
100139
 
+#  undef LDBL_MIN_EXP
100140
 
+#  define LDBL_MIN_EXP DBL_MIN_EXP
100141
 
+# endif
100142
 
+#endif
100143
 
+extern
100144
 
+#ifdef __cplusplus
100145
 
+"C"
100146
 
+#endif
100147
 
+long double frexpl (long double, int *);
100148
 
+int main()
100149
 
+{
100150
 
+  int result = 0;
100151
 
+  volatile long double x;
100152
 
+  /* Test on finite numbers that fails on AIX 5.1.  */
100153
 
+  x = 16.0L;
100154
 
+  {
100155
 
+    int exp = -9999;
100156
 
+    frexpl (x, &exp);
100157
 
+    if (exp != 5)
100158
 
+      result |= 1;
100159
 
+  }
100160
 
+  /* Test on finite numbers that fails on MacOS X 10.4, because its frexpl
100161
 
+     function returns an invalid (incorrectly normalized) value: it returns
100162
 
+               y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 }
100163
 
+     but the correct result is
100164
 
+          0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 }  */
100165
 
+  x = 1.01L;
100166
 
+  {
100167
 
+    int exp = -9999;
100168
 
+    long double y = frexpl (x, &exp);
100169
 
+    if (!(exp == 1 && y == 0.505L))
100170
 
+      result |= 2;
100171
 
+  }
100172
 
+  /* Test on large finite numbers.  This fails on BeOS at i = 16322, while
100173
 
+     LDBL_MAX_EXP = 16384.
100174
 
+     In the loop end test, we test x against Infinity, rather than comparing
100175
 
+     i with LDBL_MAX_EXP, because BeOS <float.h> has a wrong LDBL_MAX_EXP.  */
100176
 
+  {
100177
 
+    int i;
100178
 
+    for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L)
100179
 
+      {
100180
 
+        int exp = -9999;
100181
 
+        frexpl (x, &exp);
100182
 
+        if (exp != i)
100183
 
+          {
100184
 
+            result |= 4;
100185
 
+            break;
100186
 
+          }
100187
 
+      }
100188
 
+  }
100189
 
+  /* Test on denormalized numbers.  */
100190
 
+  {
100191
 
+    int i;
100192
 
+    for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L)
100193
 
+      ;
100194
 
+    if (x > 0.0L)
100195
 
+      {
100196
 
+        int exp;
100197
 
+        long double y = frexpl (x, &exp);
100198
 
+        /* On machines with IEEE854 arithmetic: x = 1.68105e-4932,
100199
 
+           exp = -16382, y = 0.5.  On MacOS X 10.5: exp = -16384, y = 0.5.  */
100200
 
+        if (exp != LDBL_MIN_EXP - 1)
100201
 
+          result |= 8;
100202
 
+      }
100203
 
+  }
100204
 
+  /* Test on infinite numbers.  */
100205
 
+  x = 1.0L / 0.0L;
100206
 
+  {
100207
 
+    int exp;
100208
 
+    long double y = frexpl (x, &exp);
100209
 
+    if (y != x)
100210
 
+      result |= 16;
100211
 
+  }
100212
 
+  return result;
100213
 
+}
100214
 
+_ACEOF
100215
 
+if ac_fn_c_try_run "$LINENO"; then :
100216
 
+  gl_cv_func_frexpl_works=yes
100217
 
+else
100218
 
+  gl_cv_func_frexpl_works=no
100219
 
+fi
100220
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
100221
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
100222
 
+fi
100223
 
+
100224
 
+    
100225
 
+fi
100226
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_works" >&5
100227
 
+$as_echo "$gl_cv_func_frexpl_works" >&6; }
100228
 
+
100229
 
+    case "$gl_cv_func_frexpl_works" in
100230
 
+      *yes) gl_func_frexpl_no_libm=yes ;;
100231
 
+      *)    gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;;
100232
 
+    esac
100233
 
+  else
100234
 
+    gl_func_frexpl_no_libm=no
100235
 
+        REPLACE_FREXPL=1
100236
 
+  fi
100237
 
+  if test $gl_func_frexpl_no_libm = yes; then
100238
 
+    
100239
 
+$as_echo "@%:@define HAVE_FREXPL_IN_LIBC 1" >>confdefs.h
100240
 
+
100241
 
+            ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include <math.h>
100242
 
+"
100243
 
+if test "x$ac_cv_have_decl_frexpl" = xyes; then :
100244
 
+  
100245
 
+else
100246
 
+  HAVE_DECL_FREXPL=0
100247
 
+fi
100248
 
+
100249
 
+  fi
100250
 
+
100251
 
+  
100252
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl() can be used without linking with libm" >&5
100253
 
+$as_echo_n "checking whether ldexpl() can be used without linking with libm... " >&6; }
100254
 
+if ${gl_cv_func_ldexpl_no_libm+:} false; then :
100255
 
+  $as_echo_n "(cached) " >&6
100256
 
+else
100257
 
+  
100258
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
100259
 
+/* end confdefs.h.  */
100260
 
+#include <math.h>
100261
 
+             long double x;
100262
 
+int
100263
 
+main ()
100264
 
+{
100265
 
+return ldexpl (x, -1) > 0;
100266
 
+  ;
100267
 
+  return 0;
100268
 
+}
100269
 
+_ACEOF
100270
 
+if ac_fn_c_try_link "$LINENO"; then :
100271
 
+  gl_cv_func_ldexpl_no_libm=yes
100272
 
+else
100273
 
+  gl_cv_func_ldexpl_no_libm=no
100274
 
+fi
100275
 
+rm -f core conftest.err conftest.$ac_objext \
100276
 
+    conftest$ac_exeext conftest.$ac_ext
100277
 
+    
100278
 
+fi
100279
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_no_libm" >&5
100280
 
+$as_echo "$gl_cv_func_ldexpl_no_libm" >&6; }
100281
 
+
100282
 
+  if test $gl_cv_func_ldexpl_no_libm = yes; then
100283
 
+    
100284
 
+  
100285
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl works" >&5
100286
 
+$as_echo_n "checking whether ldexpl works... " >&6; }
100287
 
+if ${gl_cv_func_ldexpl_works+:} false; then :
100288
 
+  $as_echo_n "(cached) " >&6
100289
 
+else
100290
 
+  
100291
 
+      if test "$cross_compiling" = yes; then :
100292
 
+  
100293
 
+         case "$host_os" in
100294
 
+           aix | aix[3-6]*) gl_cv_func_ldexpl_works="guessing no";;
100295
 
+           *)               gl_cv_func_ldexpl_works="guessing yes";;
100296
 
+         esac
100297
 
+        
100298
 
+else
100299
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
100300
 
+/* end confdefs.h.  */
100301
 
+
100302
 
+#include <math.h>
100303
 
+extern
100304
 
+#ifdef __cplusplus
100305
 
+"C"
100306
 
+#endif
100307
 
+long double ldexpl (long double, int);
100308
 
+int main()
100309
 
+{
100310
 
+  int result = 0;
100311
 
+  {
100312
 
+    volatile long double x = 1.0;
100313
 
+    volatile long double y = ldexpl (x, -1);
100314
 
+    if (y != 0.5L)
100315
 
+      result |= 1;
100316
 
+  }
100317
 
+  {
100318
 
+    volatile long double x = 1.73205L;
100319
 
+    volatile long double y = ldexpl (x, 0);
100320
 
+    if (y != x)
100321
 
+      result |= 2;
100322
 
+  }
100323
 
+  return result;
100324
 
+}
100325
 
+_ACEOF
100326
 
+if ac_fn_c_try_run "$LINENO"; then :
100327
 
+  gl_cv_func_ldexpl_works=yes
100328
 
+else
100329
 
+  gl_cv_func_ldexpl_works=no
100330
 
+fi
100331
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
100332
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
100333
 
+fi
100334
 
+
100335
 
+    
100336
 
+fi
100337
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_works" >&5
100338
 
+$as_echo "$gl_cv_func_ldexpl_works" >&6; }
100339
 
+
100340
 
+    case "$gl_cv_func_ldexpl_works" in
100341
 
+      *yes)
100342
 
+        
100343
 
+$as_echo "@%:@define HAVE_LDEXPL_IN_LIBC 1" >>confdefs.h
100344
 
+
100345
 
+                        ac_fn_c_check_decl "$LINENO" "ldexpl" "ac_cv_have_decl_ldexpl" "#include <math.h>
100346
 
+"
100347
 
+if test "x$ac_cv_have_decl_ldexpl" = xyes; then :
100348
 
+  
100349
 
+else
100350
 
+  HAVE_DECL_LDEXPL=0
100351
 
+fi
100352
 
+
100353
 
+        ;;
100354
 
+    esac
100355
 
+  fi
100356
 
+
100357
 
+
100358
 
+
100359
 
+  
100360
 
+  for ac_func in getppriv
100361
 
+do :
100362
 
+  ac_fn_c_check_func "$LINENO" "getppriv" "ac_cv_func_getppriv"
100363
 
+if test "x$ac_cv_func_getppriv" = xyes; then :
100364
 
+  cat >>confdefs.h <<_ACEOF
100365
 
+@%:@define HAVE_GETPPRIV 1
100366
 
+_ACEOF
100367
 
100368
 
+fi
100369
 
+done
100370
 
+
100371
 
+  
100372
 
+
100373
 
+ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
100374
 
+"
100375
 
+if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then :
100376
 
+  ac_have_decl=1
100377
 
+else
100378
 
+  ac_have_decl=0
100379
 
+fi
100380
 
+
100381
 
+cat >>confdefs.h <<_ACEOF
100382
 
+@%:@define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl
100383
 
+_ACEOF
100384
 
+
100385
 
+ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
100386
 
+"
100387
 
+if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then :
100388
 
+  ac_have_decl=1
100389
 
+else
100390
 
+  ac_have_decl=0
100391
 
+fi
100392
 
+
100393
 
+cat >>confdefs.h <<_ACEOF
100394
 
+@%:@define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl
100395
 
+_ACEOF
100396
 
+
100397
 
+
100398
 
+  
100399
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --keyword='proper_name:1,\"This is a proper name. See the gettext manual, section Names.\"'"
100400
 
+
100401
 
+   
100402
 
+  
100403
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --keyword='proper_name_utf8:1,\"This is a proper name. See the gettext manual, section Names.\"'"
100404
 
+
100405
 
+
100406
 
+   
100407
 
+   
100408
 
+  
100409
 
+  
100410
 
+  
100411
 
+
100412
 
+  
100413
 
+    
100414
 
+
100415
 
+  
100416
 
+     if test $gl_cv_have_include_next = yes; then
100417
 
+       gl_cv_next_pthread_h='<'pthread.h'>'
100418
 
+     else
100419
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <pthread.h>" >&5
100420
 
+$as_echo_n "checking absolute name of <pthread.h>... " >&6; }
100421
 
+if ${gl_cv_next_pthread_h+:} false; then :
100422
 
+  $as_echo_n "(cached) " >&6
100423
 
+else
100424
 
+  
100425
 
+             if test $ac_cv_header_pthread_h = yes; then
100426
 
+             
100427
 
+            
100428
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
100429
 
+/* end confdefs.h.  */
100430
 
+#include <pthread.h>
100431
 
+                  
100432
 
+_ACEOF
100433
 
+                                                                                                                        case "$host_os" in
100434
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
100435
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
100436
 
+               esac
100437
 
+                                                            gl_cv_next_pthread_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
100438
 
+                  sed -n '\#/pthread.h#{
100439
 
+                    s#.*"\(.*/pthread.h\)".*#\1#
100440
 
+                    s#^/[^/]#//&#
100441
 
+                    p
100442
 
+                    q
100443
 
+                  }'`'"'
100444
 
+          else
100445
 
+               gl_cv_next_pthread_h='<'pthread.h'>'
100446
 
+             fi
100447
 
+            
100448
 
+         
100449
 
+fi
100450
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_pthread_h" >&5
100451
 
+$as_echo "$gl_cv_next_pthread_h" >&6; }
100452
 
+     fi
100453
 
+     NEXT_PTHREAD_H=$gl_cv_next_pthread_h
100454
 
+
100455
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
100456
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
100457
 
+       gl_next_as_first_directive='<'pthread.h'>'
100458
 
+     else
100459
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
100460
 
+       gl_next_as_first_directive=$gl_cv_next_pthread_h
100461
 
+     fi
100462
 
+     NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H=$gl_next_as_first_directive
100463
 
+
100464
 
+     
100465
 
+
100466
 
+
100467
 
+   if test $ac_cv_header_pthread_h = yes; then
100468
 
+     HAVE_PTHREAD_H=1
100469
 
+   else
100470
 
+     HAVE_PTHREAD_H=0
100471
 
+   fi
100472
 
+
100473
 
+   ac_fn_c_check_type "$LINENO" "pthread_t" "ac_cv_type_pthread_t" "$ac_includes_default
100474
 
+      #if HAVE_PTHREAD_H
100475
 
+       #include <pthread.h>
100476
 
+      #endif
100477
 
+"
100478
 
+if test "x$ac_cv_type_pthread_t" = xyes; then :
100479
 
+  
100480
 
+cat >>confdefs.h <<_ACEOF
100481
 
+@%:@define HAVE_PTHREAD_T 1
100482
 
+_ACEOF
100483
 
+
100484
 
+
100485
 
+fi
100486
 
+ac_fn_c_check_type "$LINENO" "pthread_spinlock_t" "ac_cv_type_pthread_spinlock_t" "$ac_includes_default
100487
 
+      #if HAVE_PTHREAD_H
100488
 
+       #include <pthread.h>
100489
 
+      #endif
100490
 
+"
100491
 
+if test "x$ac_cv_type_pthread_spinlock_t" = xyes; then :
100492
 
+  
100493
 
+cat >>confdefs.h <<_ACEOF
100494
 
+@%:@define HAVE_PTHREAD_SPINLOCK_T 1
100495
 
+_ACEOF
100496
 
+
100497
 
+
100498
 
+fi
100499
 
+
100500
 
+   if test $ac_cv_type_pthread_t != yes; then
100501
 
+     HAVE_PTHREAD_T=0
100502
 
+   fi
100503
 
+   if test $ac_cv_type_pthread_spinlock_t != yes; then
100504
 
+     HAVE_PTHREAD_SPINLOCK_T=0
100505
 
+   fi
100506
 
+
100507
 
+   if test $ac_cv_header_pthread_h != yes ||
100508
 
+      test $ac_cv_type_pthread_t != yes ||
100509
 
+      test $ac_cv_type_pthread_spinlock_t != yes; then
100510
 
+     PTHREAD_H='pthread.h'
100511
 
+   else
100512
 
+     PTHREAD_H=
100513
 
+   fi
100514
 
+   
100515
 
+    if test -n "$PTHREAD_H"; then
100516
 
+  GL_GENERATE_PTHREAD_H_TRUE=
100517
 
+  GL_GENERATE_PTHREAD_H_FALSE='#'
100518
 
+else
100519
 
+  GL_GENERATE_PTHREAD_H_TRUE='#'
100520
 
+  GL_GENERATE_PTHREAD_H_FALSE=
100521
 
+fi
100522
 
+
100523
 
+
100524
 
+   LIB_PTHREAD=
100525
 
+   if test $ac_cv_header_pthread_h = yes; then
100526
 
+                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_join" >&5
100527
 
+$as_echo_n "checking for library containing pthread_join... " >&6; }
100528
 
+if ${gl_cv_search_pthread_join+:} false; then :
100529
 
+  $as_echo_n "(cached) " >&6
100530
 
+else
100531
 
+  gl_saved_libs="$LIBS"
100532
 
+        gl_cv_search_pthread_join=
100533
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
100534
 
+/* end confdefs.h.  */
100535
 
+#include <pthread.h>
100536
 
+int
100537
 
+main ()
100538
 
+{
100539
 
+pthread_join (pthread_self (), (void **) 0);
100540
 
+  ;
100541
 
+  return 0;
100542
 
+}
100543
 
+_ACEOF
100544
 
+if ac_fn_c_try_link "$LINENO"; then :
100545
 
+  gl_cv_search_pthread_join="none required"
100546
 
+fi
100547
 
+rm -f core conftest.err conftest.$ac_objext \
100548
 
+    conftest$ac_exeext conftest.$ac_ext
100549
 
+        if test -z "$gl_cv_search_pthread_join"; then
100550
 
+          LIBS="-lpthread $gl_saved_libs"
100551
 
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
100552
 
+/* end confdefs.h.  */
100553
 
+#include <pthread.h>
100554
 
+int
100555
 
+main ()
100556
 
+{
100557
 
+pthread_join (pthread_self (), (void **) 0);
100558
 
+  ;
100559
 
+  return 0;
100560
 
+}
100561
 
+_ACEOF
100562
 
+if ac_fn_c_try_link "$LINENO"; then :
100563
 
+  gl_cv_search_pthread_join="-lpthread"
100564
 
+fi
100565
 
+rm -f core conftest.err conftest.$ac_objext \
100566
 
+    conftest$ac_exeext conftest.$ac_ext
100567
 
+        fi
100568
 
+        LIBS="$gl_saved_libs"
100569
 
+       
100570
 
+fi
100571
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_search_pthread_join" >&5
100572
 
+$as_echo "$gl_cv_search_pthread_join" >&6; }
100573
 
+     if test "$gl_cv_search_pthread_join" != "none required"; then
100574
 
+       LIB_PTHREAD="$gl_cv_search_pthread_join"
100575
 
+     fi
100576
 
+   fi
100577
 
+   
100578
 
+
100579
 
+   
100580
 
+   
100581
 
+
100582
 
+
100583
 
+  
100584
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for putenv compatible with GNU and SVID" >&5
100585
 
+$as_echo_n "checking for putenv compatible with GNU and SVID... " >&6; }
100586
 
+if ${gl_cv_func_svid_putenv+:} false; then :
100587
 
+  $as_echo_n "(cached) " >&6
100588
 
+else
100589
 
+  if test "$cross_compiling" = yes; then :
100590
 
+               gl_cv_func_svid_putenv=no
100591
 
+else
100592
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
100593
 
+/* end confdefs.h.  */
100594
 
+$ac_includes_default
100595
 
+int
100596
 
+main ()
100597
 
+{
100598
 
+
100599
 
+    /* Put it in env.  */
100600
 
+    if (putenv ("CONFTEST_putenv=val"))
100601
 
+      return 1;
100602
 
+
100603
 
+    /* Try to remove it.  */
100604
 
+    if (putenv ("CONFTEST_putenv"))
100605
 
+      return 2;
100606
 
+
100607
 
+    /* Make sure it was deleted.  */
100608
 
+    if (getenv ("CONFTEST_putenv") != 0)
100609
 
+      return 3;
100610
 
+
100611
 
+    return 0;
100612
 
+              
100613
 
+  ;
100614
 
+  return 0;
100615
 
+}
100616
 
+_ACEOF
100617
 
+if ac_fn_c_try_run "$LINENO"; then :
100618
 
+  gl_cv_func_svid_putenv=yes
100619
 
+else
100620
 
+  gl_cv_func_svid_putenv=no
100621
 
+fi
100622
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
100623
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
100624
 
+fi
100625
 
+
100626
 
+   
100627
 
+fi
100628
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_svid_putenv" >&5
100629
 
+$as_echo "$gl_cv_func_svid_putenv" >&6; }
100630
 
+  if test $gl_cv_func_svid_putenv = no; then
100631
 
+    REPLACE_PUTENV=1
100632
 
+  fi
100633
 
+
100634
 
+if test $REPLACE_PUTENV = 1; then
100635
 
+  
100636
 
+  
100637
 
+  
100638
 
+    
100639
 
+      
100640
 
+      
100641
 
+    
100642
 
+  
100643
 
+  gl_LIBOBJS="$gl_LIBOBJS putenv.$ac_objext"
100644
 
+
100645
 
+fi
100646
 
+
100647
 
+    
100648
 
+  
100649
 
+  
100650
 
+  
100651
 
+          GNULIB_PUTENV=1
100652
 
+    
100653
 
+
100654
 
+
100655
 
+    
100656
 
+  
100657
 
+$as_echo "@%:@define GNULIB_TEST_PUTENV 1" >>confdefs.h
100658
 
+
100659
 
+
100660
 
+
100661
 
+
100662
 
+      :
100663
 
+
100664
 
+
100665
 
+  :
100666
 
+
100667
 
+
100668
 
+  
100669
 
+        
100670
 
+
100671
 
+if test $REPLACE_READ = 1; then
100672
 
+  
100673
 
+  
100674
 
+  
100675
 
+    
100676
 
+      
100677
 
+      
100678
 
+    
100679
 
+  
100680
 
+  gl_LIBOBJS="$gl_LIBOBJS read.$ac_objext"
100681
 
+
100682
 
+fi
100683
 
+
100684
 
+    
100685
 
+  
100686
 
+  
100687
 
+  
100688
 
+          GNULIB_READ=1
100689
 
+    
100690
 
+
100691
 
+
100692
 
+    
100693
 
+  
100694
 
+$as_echo "@%:@define GNULIB_TEST_READ 1" >>confdefs.h
100695
 
+
100696
 
+
100697
 
+
100698
 
+:
100699
 
+
100700
 
+  
100701
 
+  
100702
 
+  if test $ac_cv_func_readlink = no; then
100703
 
+    HAVE_READLINK=0
100704
 
+  else
100705
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink signature is correct" >&5
100706
 
+$as_echo_n "checking whether readlink signature is correct... " >&6; }
100707
 
+if ${gl_cv_decl_readlink_works+:} false; then :
100708
 
+  $as_echo_n "(cached) " >&6
100709
 
+else
100710
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
100711
 
+/* end confdefs.h.  */
100712
 
+#include <unistd.h>
100713
 
+      /* Cause compilation failure if original declaration has wrong type.  */
100714
 
+      ssize_t readlink (const char *, char *, size_t);
100715
 
+int
100716
 
+main ()
100717
 
+{
100718
 
+
100719
 
+  ;
100720
 
+  return 0;
100721
 
+}
100722
 
+_ACEOF
100723
 
+if ac_fn_c_try_compile "$LINENO"; then :
100724
 
+  gl_cv_decl_readlink_works=yes
100725
 
+else
100726
 
+  gl_cv_decl_readlink_works=no
100727
 
+fi
100728
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
100729
 
+fi
100730
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_readlink_works" >&5
100731
 
+$as_echo "$gl_cv_decl_readlink_works" >&6; }
100732
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink handles trailing slash correctly" >&5
100733
 
+$as_echo_n "checking whether readlink handles trailing slash correctly... " >&6; }
100734
 
+if ${gl_cv_func_readlink_works+:} false; then :
100735
 
+  $as_echo_n "(cached) " >&6
100736
 
+else
100737
 
+  # We have readlink, so assume ln -s works.
100738
 
+       ln -s conftest.no-such conftest.link
100739
 
+       ln -s conftest.link conftest.lnk2
100740
 
+       if test "$cross_compiling" = yes; then :
100741
 
+  gl_cv_func_readlink_works="guessing no"
100742
 
+else
100743
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
100744
 
+/* end confdefs.h.  */
100745
 
+#include <unistd.h>
100746
 
+
100747
 
+int
100748
 
+main ()
100749
 
+{
100750
 
+char buf[20];
100751
 
+      return readlink ("conftest.lnk2/", buf, sizeof buf) != -1;
100752
 
+  ;
100753
 
+  return 0;
100754
 
+}
100755
 
+_ACEOF
100756
 
+if ac_fn_c_try_run "$LINENO"; then :
100757
 
+  gl_cv_func_readlink_works=yes
100758
 
+else
100759
 
+  gl_cv_func_readlink_works=no
100760
 
+fi
100761
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
100762
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
100763
 
+fi
100764
 
+
100765
 
+      rm -f conftest.link conftest.lnk2
100766
 
+fi
100767
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_readlink_works" >&5
100768
 
+$as_echo "$gl_cv_func_readlink_works" >&6; }
100769
 
+    if test "$gl_cv_func_readlink_works" != yes; then
100770
 
+      
100771
 
+$as_echo "@%:@define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h
100772
 
+
100773
 
+      REPLACE_READLINK=1
100774
 
+    elif test "$gl_cv_decl_readlink_works" != yes; then
100775
 
+      REPLACE_READLINK=1
100776
 
+    fi
100777
 
+  fi
100778
 
+
100779
 
+if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
100780
 
+  
100781
 
+  
100782
 
+  
100783
 
+    
100784
 
+      
100785
 
+      
100786
 
+    
100787
 
+  
100788
 
+  gl_LIBOBJS="$gl_LIBOBJS readlink.$ac_objext"
100789
 
+
100790
 
+  
100791
 
+  :
100792
 
+
100793
 
+fi
100794
 
+
100795
 
+    
100796
 
+  
100797
 
+  
100798
 
+  
100799
 
+          GNULIB_READLINK=1
100800
 
+    
100801
 
+
100802
 
+
100803
 
+    
100804
 
+  
100805
 
+$as_echo "@%:@define GNULIB_TEST_READLINK 1" >>confdefs.h
100806
 
+
100807
 
+
100808
 
+
100809
 
+
100810
 
+  
100811
 
+  
100812
 
+  
100813
 
+  
100814
 
+  if test $ac_cv_func_readlinkat = no; then
100815
 
+    HAVE_READLINKAT=0
100816
 
+  fi
100817
 
+
100818
 
+if test $HAVE_READLINKAT = 0; then
100819
 
+  
100820
 
+  
100821
 
+  
100822
 
+    
100823
 
+      
100824
 
+      
100825
 
+    
100826
 
+  
100827
 
+  gl_LIBOBJS="$gl_LIBOBJS readlinkat.$ac_objext"
100828
 
+
100829
 
+fi
100830
 
+
100831
 
+    
100832
 
+  
100833
 
+  
100834
 
+  
100835
 
+          GNULIB_READLINKAT=1
100836
 
+    
100837
 
+
100838
 
+
100839
 
+    
100840
 
+  
100841
 
+$as_echo "@%:@define GNULIB_TEST_READLINKAT 1" >>confdefs.h
100842
 
+
100843
 
+
100844
 
+
100845
 
+
100846
 
+  :
100847
 
+
100848
 
+
100849
 
+    
100850
 
+
100851
 
+  
100852
 
+  if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then
100853
 
+        
100854
 
+    
100855
 
+    ac_fn_c_check_decl "$LINENO" "getutent" "ac_cv_have_decl_getutent" "
100856
 
+/* <sys/types.h> is a prerequisite of <utmp.h> on FreeBSD 8.0, OpenBSD 4.6.  */
100857
 
+#include <sys/types.h>
100858
 
+#ifdef HAVE_UTMP_H
100859
 
+# include <utmp.h>
100860
 
+#endif
100861
 
+
100862
 
+"
100863
 
+if test "x$ac_cv_have_decl_getutent" = xyes; then :
100864
 
+  ac_have_decl=1
100865
 
+else
100866
 
+  ac_have_decl=0
100867
 
+fi
100868
 
+
100869
 
+cat >>confdefs.h <<_ACEOF
100870
 
+@%:@define HAVE_DECL_GETUTENT $ac_have_decl
100871
 
+_ACEOF
100872
 
+
100873
 
+    utmp_includes="\
100874
 
+$ac_includes_default
100875
 
+#ifdef HAVE_UTMPX_H
100876
 
+# include <utmpx.h>
100877
 
+#endif
100878
 
+#ifdef HAVE_UTMP_H
100879
 
+# if defined _THREAD_SAFE && defined UTMP_DATA_INIT
100880
 
+   /* When including both utmp.h and utmpx.h on AIX 4.3, with _THREAD_SAFE
100881
 
+      defined, work around the duplicate struct utmp_data declaration.  */
100882
 
+#  define utmp_data gl_aix_4_3_workaround_utmp_data
100883
 
+# endif
100884
 
+# include <utmp.h>
100885
 
+#endif
100886
 
+"
100887
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_user" "ac_cv_member_struct_utmpx_ut_user" "$utmp_includes
100888
 
+"
100889
 
+if test "x$ac_cv_member_struct_utmpx_ut_user" = xyes; then :
100890
 
+  
100891
 
+cat >>confdefs.h <<_ACEOF
100892
 
+@%:@define HAVE_STRUCT_UTMPX_UT_USER 1
100893
 
+_ACEOF
100894
 
+
100895
 
+
100896
 
+fi
100897
 
+
100898
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_user" "ac_cv_member_struct_utmp_ut_user" "$utmp_includes
100899
 
+"
100900
 
+if test "x$ac_cv_member_struct_utmp_ut_user" = xyes; then :
100901
 
+  
100902
 
+cat >>confdefs.h <<_ACEOF
100903
 
+@%:@define HAVE_STRUCT_UTMP_UT_USER 1
100904
 
+_ACEOF
100905
 
+
100906
 
+
100907
 
+fi
100908
 
+
100909
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_name" "ac_cv_member_struct_utmpx_ut_name" "$utmp_includes
100910
 
+"
100911
 
+if test "x$ac_cv_member_struct_utmpx_ut_name" = xyes; then :
100912
 
+  
100913
 
+cat >>confdefs.h <<_ACEOF
100914
 
+@%:@define HAVE_STRUCT_UTMPX_UT_NAME 1
100915
 
+_ACEOF
100916
 
+
100917
 
+
100918
 
+fi
100919
 
+
100920
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_name" "ac_cv_member_struct_utmp_ut_name" "$utmp_includes
100921
 
+"
100922
 
+if test "x$ac_cv_member_struct_utmp_ut_name" = xyes; then :
100923
 
+  
100924
 
+cat >>confdefs.h <<_ACEOF
100925
 
+@%:@define HAVE_STRUCT_UTMP_UT_NAME 1
100926
 
+_ACEOF
100927
 
+
100928
 
+
100929
 
+fi
100930
 
+
100931
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_type" "ac_cv_member_struct_utmpx_ut_type" "$utmp_includes
100932
 
+"
100933
 
+if test "x$ac_cv_member_struct_utmpx_ut_type" = xyes; then :
100934
 
+  
100935
 
+cat >>confdefs.h <<_ACEOF
100936
 
+@%:@define HAVE_STRUCT_UTMPX_UT_TYPE 1
100937
 
+_ACEOF
100938
 
+
100939
 
+
100940
 
+fi
100941
 
+
100942
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_type" "ac_cv_member_struct_utmp_ut_type" "$utmp_includes
100943
 
+"
100944
 
+if test "x$ac_cv_member_struct_utmp_ut_type" = xyes; then :
100945
 
+  
100946
 
+cat >>confdefs.h <<_ACEOF
100947
 
+@%:@define HAVE_STRUCT_UTMP_UT_TYPE 1
100948
 
+_ACEOF
100949
 
+
100950
 
+
100951
 
+fi
100952
 
+
100953
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_pid" "ac_cv_member_struct_utmpx_ut_pid" "$utmp_includes
100954
 
+"
100955
 
+if test "x$ac_cv_member_struct_utmpx_ut_pid" = xyes; then :
100956
 
+  
100957
 
+cat >>confdefs.h <<_ACEOF
100958
 
+@%:@define HAVE_STRUCT_UTMPX_UT_PID 1
100959
 
+_ACEOF
100960
 
+
100961
 
+
100962
 
+fi
100963
 
+
100964
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" "$utmp_includes
100965
 
+"
100966
 
+if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes; then :
100967
 
+  
100968
 
+cat >>confdefs.h <<_ACEOF
100969
 
+@%:@define HAVE_STRUCT_UTMP_UT_PID 1
100970
 
+_ACEOF
100971
 
+
100972
 
+
100973
 
+fi
100974
 
+
100975
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_id" "ac_cv_member_struct_utmpx_ut_id" "$utmp_includes
100976
 
+"
100977
 
+if test "x$ac_cv_member_struct_utmpx_ut_id" = xyes; then :
100978
 
+  
100979
 
+cat >>confdefs.h <<_ACEOF
100980
 
+@%:@define HAVE_STRUCT_UTMPX_UT_ID 1
100981
 
+_ACEOF
100982
 
+
100983
 
+
100984
 
+fi
100985
 
+
100986
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_id" "ac_cv_member_struct_utmp_ut_id" "$utmp_includes
100987
 
+"
100988
 
+if test "x$ac_cv_member_struct_utmp_ut_id" = xyes; then :
100989
 
+  
100990
 
+cat >>confdefs.h <<_ACEOF
100991
 
+@%:@define HAVE_STRUCT_UTMP_UT_ID 1
100992
 
+_ACEOF
100993
 
+
100994
 
+
100995
 
+fi
100996
 
+
100997
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_exit" "ac_cv_member_struct_utmpx_ut_exit" "$utmp_includes
100998
 
+"
100999
 
+if test "x$ac_cv_member_struct_utmpx_ut_exit" = xyes; then :
101000
 
+  
101001
 
+cat >>confdefs.h <<_ACEOF
101002
 
+@%:@define HAVE_STRUCT_UTMPX_UT_EXIT 1
101003
 
+_ACEOF
101004
 
+
101005
 
+
101006
 
+fi
101007
 
+
101008
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_exit" "ac_cv_member_struct_utmp_ut_exit" "$utmp_includes
101009
 
+"
101010
 
+if test "x$ac_cv_member_struct_utmp_ut_exit" = xyes; then :
101011
 
+  
101012
 
+cat >>confdefs.h <<_ACEOF
101013
 
+@%:@define HAVE_STRUCT_UTMP_UT_EXIT 1
101014
 
+_ACEOF
101015
 
+
101016
 
+
101017
 
+fi
101018
 
+
101019
 
+
101020
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_exit.ut_exit" "ac_cv_member_struct_utmpx_ut_exit_ut_exit" "$utmp_includes
101021
 
+"
101022
 
+if test "x$ac_cv_member_struct_utmpx_ut_exit_ut_exit" = xyes; then :
101023
 
+  
101024
 
+cat >>confdefs.h <<_ACEOF
101025
 
+@%:@define HAVE_STRUCT_UTMPX_UT_EXIT_UT_EXIT 1
101026
 
+_ACEOF
101027
 
+
101028
 
+
101029
 
+fi
101030
 
+
101031
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_exit.ut_exit" "ac_cv_member_struct_utmp_ut_exit_ut_exit" "$utmp_includes
101032
 
+"
101033
 
+if test "x$ac_cv_member_struct_utmp_ut_exit_ut_exit" = xyes; then :
101034
 
+  
101035
 
+cat >>confdefs.h <<_ACEOF
101036
 
+@%:@define HAVE_STRUCT_UTMP_UT_EXIT_UT_EXIT 1
101037
 
+_ACEOF
101038
 
+
101039
 
+
101040
 
+fi
101041
 
+
101042
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_exit.e_exit" "ac_cv_member_struct_utmpx_ut_exit_e_exit" "$utmp_includes
101043
 
+"
101044
 
+if test "x$ac_cv_member_struct_utmpx_ut_exit_e_exit" = xyes; then :
101045
 
+  
101046
 
+cat >>confdefs.h <<_ACEOF
101047
 
+@%:@define HAVE_STRUCT_UTMPX_UT_EXIT_E_EXIT 1
101048
 
+_ACEOF
101049
 
+
101050
 
+
101051
 
+fi
101052
 
+
101053
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_exit.e_exit" "ac_cv_member_struct_utmp_ut_exit_e_exit" "$utmp_includes
101054
 
+"
101055
 
+if test "x$ac_cv_member_struct_utmp_ut_exit_e_exit" = xyes; then :
101056
 
+  
101057
 
+cat >>confdefs.h <<_ACEOF
101058
 
+@%:@define HAVE_STRUCT_UTMP_UT_EXIT_E_EXIT 1
101059
 
+_ACEOF
101060
 
+
101061
 
+
101062
 
+fi
101063
 
+
101064
 
+
101065
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_exit.ut_termination" "ac_cv_member_struct_utmpx_ut_exit_ut_termination" "$utmp_includes
101066
 
+"
101067
 
+if test "x$ac_cv_member_struct_utmpx_ut_exit_ut_termination" = xyes; then :
101068
 
+  
101069
 
+cat >>confdefs.h <<_ACEOF
101070
 
+@%:@define HAVE_STRUCT_UTMPX_UT_EXIT_UT_TERMINATION 1
101071
 
+_ACEOF
101072
 
+
101073
 
+
101074
 
+fi
101075
 
+
101076
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_exit.ut_termination" "ac_cv_member_struct_utmp_ut_exit_ut_termination" "$utmp_includes
101077
 
+"
101078
 
+if test "x$ac_cv_member_struct_utmp_ut_exit_ut_termination" = xyes; then :
101079
 
+  
101080
 
+cat >>confdefs.h <<_ACEOF
101081
 
+@%:@define HAVE_STRUCT_UTMP_UT_EXIT_UT_TERMINATION 1
101082
 
+_ACEOF
101083
 
+
101084
 
+
101085
 
+fi
101086
 
+
101087
 
+    ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_exit.e_termination" "ac_cv_member_struct_utmpx_ut_exit_e_termination" "$utmp_includes
101088
 
+"
101089
 
+if test "x$ac_cv_member_struct_utmpx_ut_exit_e_termination" = xyes; then :
101090
 
+  
101091
 
+cat >>confdefs.h <<_ACEOF
101092
 
+@%:@define HAVE_STRUCT_UTMPX_UT_EXIT_E_TERMINATION 1
101093
 
+_ACEOF
101094
 
+
101095
 
+
101096
 
+fi
101097
 
+
101098
 
+    ac_fn_c_check_member "$LINENO" "struct utmp" "ut_exit.e_termination" "ac_cv_member_struct_utmp_ut_exit_e_termination" "$utmp_includes
101099
 
+"
101100
 
+if test "x$ac_cv_member_struct_utmp_ut_exit_e_termination" = xyes; then :
101101
 
+  
101102
 
+cat >>confdefs.h <<_ACEOF
101103
 
+@%:@define HAVE_STRUCT_UTMP_UT_EXIT_E_TERMINATION 1
101104
 
+_ACEOF
101105
 
+
101106
 
+
101107
 
+fi
101108
 
+
101109
 
+  fi
101110
 
+
101111
 
+if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then
101112
 
+  
101113
 
+  
101114
 
+  
101115
 
+    
101116
 
+      
101117
 
+      
101118
 
+    
101119
 
+  
101120
 
+  gl_LIBOBJS="$gl_LIBOBJS readutmp.$ac_objext"
101121
 
+
101122
 
+fi
101123
 
+
101124
 
+  
101125
 
+    for ac_header in stdlib.h
101126
 
+do :
101127
 
+  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
101128
 
+if test "x$ac_cv_header_stdlib_h" = xyes; then :
101129
 
+  cat >>confdefs.h <<_ACEOF
101130
 
+@%:@define HAVE_STDLIB_H 1
101131
 
+_ACEOF
101132
 
101133
 
+fi
101134
 
+
101135
 
+done
101136
 
+
101137
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
101138
 
+$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
101139
 
+if ${ac_cv_func_realloc_0_nonnull+:} false; then :
101140
 
+  $as_echo_n "(cached) " >&6
101141
 
+else
101142
 
+  if test "$cross_compiling" = yes; then :
101143
 
+  ac_cv_func_realloc_0_nonnull=no
101144
 
+else
101145
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
101146
 
+/* end confdefs.h.  */
101147
 
+#if defined STDC_HEADERS || defined HAVE_STDLIB_H
101148
 
+# include <stdlib.h>
101149
 
+#else
101150
 
+char *realloc ();
101151
 
+#endif
101152
 
+
101153
 
+int
101154
 
+main ()
101155
 
+{
101156
 
+return ! realloc (0, 0);
101157
 
+  ;
101158
 
+  return 0;
101159
 
+}
101160
 
+_ACEOF
101161
 
+if ac_fn_c_try_run "$LINENO"; then :
101162
 
+  ac_cv_func_realloc_0_nonnull=yes
101163
 
+else
101164
 
+  ac_cv_func_realloc_0_nonnull=no
101165
 
+fi
101166
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
101167
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
101168
 
+fi
101169
 
+
101170
 
+fi
101171
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
101172
 
+$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
101173
 
+if test $ac_cv_func_realloc_0_nonnull = yes; then :
101174
 
+  
101175
 
+$as_echo "@%:@define HAVE_REALLOC_GNU 1" >>confdefs.h
101176
 
+
101177
 
+else
101178
 
+  $as_echo "@%:@define HAVE_REALLOC_GNU 0" >>confdefs.h
101179
 
+
101180
 
+     REPLACE_REALLOC=1
101181
 
+    
101182
 
+fi
101183
 
+
101184
 
+
101185
 
+if test $REPLACE_REALLOC = 1; then
101186
 
+  
101187
 
+  
101188
 
+  
101189
 
+    
101190
 
+      
101191
 
+      
101192
 
+    
101193
 
+  
101194
 
+  gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext"
101195
 
+
101196
 
+fi
101197
 
+
101198
 
+  
101199
 
+cat >>confdefs.h <<_ACEOF
101200
 
+@%:@define GNULIB_REALLOC_GNU 1
101201
 
+_ACEOF
101202
 
+
101203
 
+
101204
 
+
101205
 
+  
101206
 
+  
101207
 
+  if test $gl_cv_func_malloc_posix = yes; then
101208
 
+    
101209
 
+$as_echo "@%:@define HAVE_REALLOC_POSIX 1" >>confdefs.h
101210
 
+
101211
 
+  else
101212
 
+    REPLACE_REALLOC=1
101213
 
+  fi
101214
 
+
101215
 
+if test $REPLACE_REALLOC = 1; then
101216
 
+  
101217
 
+  
101218
 
+  
101219
 
+    
101220
 
+      
101221
 
+      
101222
 
+    
101223
 
+  
101224
 
+  gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext"
101225
 
+
101226
 
+fi
101227
 
+
101228
 
+    
101229
 
+  
101230
 
+  
101231
 
+  
101232
 
+          GNULIB_REALLOC_POSIX=1
101233
 
+    
101234
 
+
101235
 
+
101236
 
+    
101237
 
+  
101238
 
+$as_echo "@%:@define GNULIB_TEST_REALLOC_POSIX 1" >>confdefs.h
101239
 
+
101240
 
+
101241
 
+
101242
 
+
101243
 
+  
101244
 
+@%:@ Check whether --with-included-regex was given.
101245
 
+if test "${with_included_regex+set}" = set; then :
101246
 
+  withval=$with_included_regex; 
101247
 
+fi
101248
 
+
101249
 
+
101250
 
+  case $with_included_regex in #(
101251
 
+  yes|no) ac_use_included_regex=$with_included_regex
101252
 
+        ;;
101253
 
+  '')
101254
 
+    # If the system regex support is good enough that it passes the
101255
 
+    # following run test, then default to *not* using the included regex.c.
101256
 
+    # If cross compiling, assume the test would fail and use the included
101257
 
+    # regex.c.
101258
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working re_compile_pattern" >&5
101259
 
+$as_echo_n "checking for working re_compile_pattern... " >&6; }
101260
 
+if ${gl_cv_func_re_compile_pattern_working+:} false; then :
101261
 
+  $as_echo_n "(cached) " >&6
101262
 
+else
101263
 
+  if test "$cross_compiling" = yes; then :
101264
 
+         gl_cv_func_re_compile_pattern_working=no
101265
 
+else
101266
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
101267
 
+/* end confdefs.h.  */
101268
 
+$ac_includes_default
101269
 
+           #include <locale.h>
101270
 
+           #include <limits.h>
101271
 
+           #include <regex.h>
101272
 
+           
101273
 
+int
101274
 
+main ()
101275
 
+{
101276
 
+int result = 0;
101277
 
+            static struct re_pattern_buffer regex;
101278
 
+            unsigned char folded_chars[UCHAR_MAX + 1];
101279
 
+            int i;
101280
 
+            const char *s;
101281
 
+            struct re_registers regs;
101282
 
+
101283
 
+            /* http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html
101284
 
+               This test needs valgrind to catch the bug on Debian
101285
 
+               GNU/Linux 3.1 x86, but it might catch the bug better
101286
 
+               on other platforms and it shouldn't hurt to try the
101287
 
+               test here.  */
101288
 
+            if (setlocale (LC_ALL, "en_US.UTF-8"))
101289
 
+              {
101290
 
+                static char const pat[] = "insert into";
101291
 
+                static char const data[] =
101292
 
+                  "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK";
101293
 
+                re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE
101294
 
+                               | RE_ICASE);
101295
 
+                memset (&regex, 0, sizeof regex);
101296
 
+                s = re_compile_pattern (pat, sizeof pat - 1, &regex);
101297
 
+                if (s)
101298
 
+                  result |= 1;
101299
 
+                else if (re_search (&regex, data, sizeof data - 1,
101300
 
+                                    0, sizeof data - 1, &regs)
101301
 
+                         != -1)
101302
 
+                  result |= 1;
101303
 
+                if (! setlocale (LC_ALL, "C"))
101304
 
+                  return 1;
101305
 
+              }
101306
 
+
101307
 
+            /* This test is from glibc bug 3957, reported by Andrew Mackey.  */
101308
 
+            re_set_syntax (RE_SYNTAX_EGREP | RE_HAT_LISTS_NOT_NEWLINE);
101309
 
+            memset (&regex, 0, sizeof regex);
101310
 
+            s = re_compile_pattern ("a[^x]b", 6, &regex);
101311
 
+            if (s)
101312
 
+              result |= 2;
101313
 
+            /* This should fail, but succeeds for glibc-2.5.  */
101314
 
+            else if (re_search (&regex, "a\nb", 3, 0, 3, &regs) != -1)
101315
 
+              result |= 2;
101316
 
+
101317
 
+            /* This regular expression is from Spencer ere test number 75
101318
 
+               in grep-2.3.  */
101319
 
+            re_set_syntax (RE_SYNTAX_POSIX_EGREP);
101320
 
+            memset (&regex, 0, sizeof regex);
101321
 
+            for (i = 0; i <= UCHAR_MAX; i++)
101322
 
+              folded_chars[i] = i;
101323
 
+            regex.translate = folded_chars;
101324
 
+            s = re_compile_pattern ("a[[:@:>@:]]b\n", 11, &regex);
101325
 
+            /* This should fail with _Invalid character class name_ error.  */
101326
 
+            if (!s)
101327
 
+              result |= 4;
101328
 
+
101329
 
+            /* Ensure that [b-a] is diagnosed as invalid, when
101330
 
+               using RE_NO_EMPTY_RANGES. */
101331
 
+            re_set_syntax (RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES);
101332
 
+            memset (&regex, 0, sizeof regex);
101333
 
+            s = re_compile_pattern ("a[b-a]", 6, &regex);
101334
 
+            if (s == 0)
101335
 
+              result |= 8;
101336
 
+
101337
 
+            /* This should succeed, but does not for glibc-2.1.3.  */
101338
 
+            memset (&regex, 0, sizeof regex);
101339
 
+            s = re_compile_pattern ("{1", 2, &regex);
101340
 
+            if (s)
101341
 
+              result |= 8;
101342
 
+
101343
 
+            /* The following example is derived from a problem report
101344
 
+               against gawk from Jorge Stolfi <stolfi@ic.unicamp.br>.  */
101345
 
+            memset (&regex, 0, sizeof regex);
101346
 
+            s = re_compile_pattern ("[an\371]*n", 7, &regex);
101347
 
+            if (s)
101348
 
+              result |= 8;
101349
 
+            /* This should match, but does not for glibc-2.2.1.  */
101350
 
+            else if (re_match (&regex, "an", 2, 0, &regs) != 2)
101351
 
+              result |= 8;
101352
 
+
101353
 
+            memset (&regex, 0, sizeof regex);
101354
 
+            s = re_compile_pattern ("x", 1, &regex);
101355
 
+            if (s)
101356
 
+              result |= 8;
101357
 
+            /* glibc-2.2.93 does not work with a negative RANGE argument.  */
101358
 
+            else if (re_search (&regex, "wxy", 3, 2, -2, &regs) != 1)
101359
 
+              result |= 8;
101360
 
+
101361
 
+            /* The version of regex.c in older versions of gnulib
101362
 
+               ignored RE_ICASE.  Detect that problem too.  */
101363
 
+            re_set_syntax (RE_SYNTAX_EMACS | RE_ICASE);
101364
 
+            memset (&regex, 0, sizeof regex);
101365
 
+            s = re_compile_pattern ("x", 1, &regex);
101366
 
+            if (s)
101367
 
+              result |= 16;
101368
 
+            else if (re_search (&regex, "WXY", 3, 0, 3, &regs) < 0)
101369
 
+              result |= 16;
101370
 
+
101371
 
+            /* Catch a bug reported by Vin Shelton in
101372
 
+               http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00089.html
101373
 
+               */
101374
 
+            re_set_syntax (RE_SYNTAX_POSIX_BASIC
101375
 
+                           & ~RE_CONTEXT_INVALID_DUP
101376
 
+                           & ~RE_NO_EMPTY_RANGES);
101377
 
+            memset (&regex, 0, sizeof regex);
101378
 
+            s = re_compile_pattern ("[[:alnum:]_-]\\\\+$", 16, &regex);
101379
 
+            if (s)
101380
 
+              result |= 32;
101381
 
+
101382
 
+            /* REG_STARTEND was added to glibc on 2004-01-15.
101383
 
+               Reject older versions.  */
101384
 
+            if (! REG_STARTEND)
101385
 
+              result |= 64;
101386
 
+
101387
 
+#if 0
101388
 
+            /* It would be nice to reject hosts whose regoff_t values are too
101389
 
+               narrow (including glibc on hosts with 64-bit ptrdiff_t and
101390
 
+               32-bit int), but we should wait until glibc implements this
101391
 
+               feature.  Otherwise, support for equivalence classes and
101392
 
+               multibyte collation symbols would always be broken except
101393
 
+               when compiling --without-included-regex.   */
101394
 
+            if (sizeof (regoff_t) < sizeof (ptrdiff_t)
101395
 
+                || sizeof (regoff_t) < sizeof (ssize_t))
101396
 
+              result |= 64;
101397
 
+#endif
101398
 
+
101399
 
+            return result;
101400
 
+          
101401
 
+  ;
101402
 
+  return 0;
101403
 
+}
101404
 
+_ACEOF
101405
 
+if ac_fn_c_try_run "$LINENO"; then :
101406
 
+  gl_cv_func_re_compile_pattern_working=yes
101407
 
+else
101408
 
+  gl_cv_func_re_compile_pattern_working=no
101409
 
+fi
101410
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
101411
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
101412
 
+fi
101413
 
+
101414
 
+fi
101415
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_re_compile_pattern_working" >&5
101416
 
+$as_echo "$gl_cv_func_re_compile_pattern_working" >&6; }
101417
 
+    case $gl_cv_func_re_compile_pattern_working in #(
101418
 
+    yes) ac_use_included_regex=no;; #(
101419
 
+    no) ac_use_included_regex=yes;;
101420
 
+    esac
101421
 
+    ;;
101422
 
+  *) as_fn_error $? "Invalid value for --with-included-regex: $with_included_regex" "$LINENO" 5
101423
 
+    ;;
101424
 
+  esac
101425
 
+
101426
 
+  if test $ac_use_included_regex = yes; then
101427
 
+    
101428
 
+$as_echo "@%:@define _REGEX_LARGE_OFFSETS 1" >>confdefs.h
101429
 
+
101430
 
+    
101431
 
+$as_echo "@%:@define re_syntax_options rpl_re_syntax_options" >>confdefs.h
101432
 
+
101433
 
+    
101434
 
+$as_echo "@%:@define re_set_syntax rpl_re_set_syntax" >>confdefs.h
101435
 
+
101436
 
+    
101437
 
+$as_echo "@%:@define re_compile_pattern rpl_re_compile_pattern" >>confdefs.h
101438
 
+
101439
 
+    
101440
 
+$as_echo "@%:@define re_compile_fastmap rpl_re_compile_fastmap" >>confdefs.h
101441
 
+
101442
 
+    
101443
 
+$as_echo "@%:@define re_search rpl_re_search" >>confdefs.h
101444
 
+
101445
 
+    
101446
 
+$as_echo "@%:@define re_search_2 rpl_re_search_2" >>confdefs.h
101447
 
+
101448
 
+    
101449
 
+$as_echo "@%:@define re_match rpl_re_match" >>confdefs.h
101450
 
+
101451
 
+    
101452
 
+$as_echo "@%:@define re_match_2 rpl_re_match_2" >>confdefs.h
101453
 
+
101454
 
+    
101455
 
+$as_echo "@%:@define re_set_registers rpl_re_set_registers" >>confdefs.h
101456
 
+
101457
 
+    
101458
 
+$as_echo "@%:@define re_comp rpl_re_comp" >>confdefs.h
101459
 
+
101460
 
+    
101461
 
+$as_echo "@%:@define re_exec rpl_re_exec" >>confdefs.h
101462
 
+
101463
 
+    
101464
 
+$as_echo "@%:@define regcomp rpl_regcomp" >>confdefs.h
101465
 
+
101466
 
+    
101467
 
+$as_echo "@%:@define regexec rpl_regexec" >>confdefs.h
101468
 
+
101469
 
+    
101470
 
+$as_echo "@%:@define regerror rpl_regerror" >>confdefs.h
101471
 
+
101472
 
+    
101473
 
+$as_echo "@%:@define regfree rpl_regfree" >>confdefs.h
101474
 
+
101475
 
+  fi
101476
 
+
101477
 
+if test $ac_use_included_regex = yes; then
101478
 
+  
101479
 
+  
101480
 
+  
101481
 
+    
101482
 
+      
101483
 
+      
101484
 
+    
101485
 
+  
101486
 
+  gl_LIBOBJS="$gl_LIBOBJS regex.$ac_objext"
101487
 
+
101488
 
+  
101489
 
+  
101490
 
+  
101491
 
+  
101492
 
+  
101493
 
+  for ac_header in libintl.h
101494
 
+do :
101495
 
+  ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
101496
 
+if test "x$ac_cv_header_libintl_h" = xyes; then :
101497
 
+  cat >>confdefs.h <<_ACEOF
101498
 
+@%:@define HAVE_LIBINTL_H 1
101499
 
+_ACEOF
101500
 
101501
 
+fi
101502
 
+
101503
 
+done
101504
 
+
101505
 
+  
101506
 
+  ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include <ctype.h>
101507
 
+"
101508
 
+if test "x$ac_cv_have_decl_isblank" = xyes; then :
101509
 
+  ac_have_decl=1
101510
 
+else
101511
 
+  ac_have_decl=0
101512
 
+fi
101513
 
+
101514
 
+cat >>confdefs.h <<_ACEOF
101515
 
+@%:@define HAVE_DECL_ISBLANK $ac_have_decl
101516
 
+_ACEOF
101517
 
+
101518
 
+
101519
 
+fi
101520
 
+
101521
 
+     
101522
 
+  
101523
 
+  
101524
 
+  if test "$gl_cv_func_rmdir_works:$gl_cv_func_unlink_works" != yes:yes; then
101525
 
+            REPLACE_REMOVE=1
101526
 
+  else
101527
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether remove handles directories" >&5
101528
 
+$as_echo_n "checking whether remove handles directories... " >&6; }
101529
 
+if ${gl_cv_func_remove_dir_works+:} false; then :
101530
 
+  $as_echo_n "(cached) " >&6
101531
 
+else
101532
 
+  mkdir conftest.dir
101533
 
+       if test "$cross_compiling" = yes; then :
101534
 
+  case $host_os in
101535
 
+            mingw*) gl_cv_func_remove_dir_works="guessing no";;
101536
 
+            *) gl_cv_func_remove_dir_works="guessing yes";;
101537
 
+          esac
101538
 
+else
101539
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
101540
 
+/* end confdefs.h.  */
101541
 
+#include <stdio.h>
101542
 
+
101543
 
+int
101544
 
+main ()
101545
 
+{
101546
 
+return remove ("conftest.dir");
101547
 
+  ;
101548
 
+  return 0;
101549
 
+}
101550
 
+_ACEOF
101551
 
+if ac_fn_c_try_run "$LINENO"; then :
101552
 
+  gl_cv_func_remove_dir_works=yes
101553
 
+else
101554
 
+  gl_cv_func_remove_dir_works=no
101555
 
+fi
101556
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
101557
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
101558
 
+fi
101559
 
+
101560
 
+       rm -rf conftest.dir
101561
 
+fi
101562
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_remove_dir_works" >&5
101563
 
+$as_echo "$gl_cv_func_remove_dir_works" >&6; }
101564
 
+    case $gl_cv_func_remove_dir_works in
101565
 
+      *no*) REPLACE_REMOVE=1;;
101566
 
+    esac
101567
 
+  fi
101568
 
+
101569
 
+if test $REPLACE_REMOVE = 1; then
101570
 
+  
101571
 
+  
101572
 
+  
101573
 
+    
101574
 
+      
101575
 
+      
101576
 
+    
101577
 
+  
101578
 
+  gl_LIBOBJS="$gl_LIBOBJS remove.$ac_objext"
101579
 
+
101580
 
+fi
101581
 
+
101582
 
+    
101583
 
+  
101584
 
+  
101585
 
+  
101586
 
+          GNULIB_REMOVE=1
101587
 
+    
101588
 
+
101589
 
+
101590
 
+    
101591
 
+  
101592
 
+$as_echo "@%:@define GNULIB_TEST_REMOVE 1" >>confdefs.h
101593
 
+
101594
 
+
101595
 
+
101596
 
+
101597
 
+  
101598
 
+  
101599
 
+  
101600
 
+
101601
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on destination" >&5
101602
 
+$as_echo_n "checking whether rename honors trailing slash on destination... " >&6; }
101603
 
+if ${gl_cv_func_rename_slash_dst_works+:} false; then :
101604
 
+  $as_echo_n "(cached) " >&6
101605
 
+else
101606
 
+  rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk
101607
 
+    touch conftest.f && touch conftest.f1 && mkdir conftest.d1 ||
101608
 
+      as_fn_error $? "cannot create temporary files" "$LINENO" 5
101609
 
+    # Assume that if we have lstat, we can also check symlinks.
101610
 
+    if test $ac_cv_func_lstat = yes; then
101611
 
+      ln -s conftest.f conftest.lnk
101612
 
+    fi
101613
 
+    if test "$cross_compiling" = yes; then :
101614
 
+        gl_cv_func_rename_slash_dst_works="guessing no"
101615
 
+else
101616
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
101617
 
+/* end confdefs.h.  */
101618
 
+
101619
 
+#        include <stdio.h>
101620
 
+#        include <stdlib.h>
101621
 
+         
101622
 
+int
101623
 
+main ()
101624
 
+{
101625
 
+int result = 0;
101626
 
+           if (rename ("conftest.f1", "conftest.f2/") == 0)
101627
 
+             result |= 1;
101628
 
+           if (rename ("conftest.d1", "conftest.d2/") != 0)
101629
 
+             result |= 2;
101630
 
+#if HAVE_LSTAT
101631
 
+           if (rename ("conftest.f", "conftest.lnk/") == 0)
101632
 
+             result |= 4;
101633
 
+#endif
101634
 
+           return result;
101635
 
+         
101636
 
+  ;
101637
 
+  return 0;
101638
 
+}
101639
 
+_ACEOF
101640
 
+if ac_fn_c_try_run "$LINENO"; then :
101641
 
+  gl_cv_func_rename_slash_dst_works=yes
101642
 
+else
101643
 
+  gl_cv_func_rename_slash_dst_works=no
101644
 
+fi
101645
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
101646
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
101647
 
+fi
101648
 
+
101649
 
+    rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk
101650
 
+  
101651
 
+fi
101652
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_slash_dst_works" >&5
101653
 
+$as_echo "$gl_cv_func_rename_slash_dst_works" >&6; }
101654
 
+  if test "x$gl_cv_func_rename_slash_dst_works" != xyes; then
101655
 
+    REPLACE_RENAME=1
101656
 
+    
101657
 
+$as_echo "@%:@define RENAME_TRAILING_SLASH_DEST_BUG 1" >>confdefs.h
101658
 
+
101659
 
+  fi
101660
 
+
101661
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on source" >&5
101662
 
+$as_echo_n "checking whether rename honors trailing slash on source... " >&6; }
101663
 
+if ${gl_cv_func_rename_slash_src_works+:} false; then :
101664
 
+  $as_echo_n "(cached) " >&6
101665
 
+else
101666
 
+  rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk
101667
 
+    touch conftest.f && touch conftest.f1 && mkdir conftest.d1 ||
101668
 
+      as_fn_error $? "cannot create temporary files" "$LINENO" 5
101669
 
+    # Assume that if we have lstat, we can also check symlinks.
101670
 
+    if test $ac_cv_func_lstat = yes; then
101671
 
+      ln -s conftest.f conftest.lnk
101672
 
+    fi
101673
 
+    if test "$cross_compiling" = yes; then :
101674
 
+        gl_cv_func_rename_slash_src_works="guessing no"
101675
 
+else
101676
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
101677
 
+/* end confdefs.h.  */
101678
 
+
101679
 
+#        include <stdio.h>
101680
 
+#        include <stdlib.h>
101681
 
+         
101682
 
+int
101683
 
+main ()
101684
 
+{
101685
 
+int result = 0;
101686
 
+           if (rename ("conftest.f1/", "conftest.d3") == 0)
101687
 
+             result |= 1;
101688
 
+           if (rename ("conftest.d1/", "conftest.d2") != 0)
101689
 
+             result |= 2;
101690
 
+#if HAVE_LSTAT
101691
 
+           if (rename ("conftest.lnk/", "conftest.f") == 0)
101692
 
+             result |= 4;
101693
 
+#endif
101694
 
+           return result;
101695
 
+         
101696
 
+  ;
101697
 
+  return 0;
101698
 
+}
101699
 
+_ACEOF
101700
 
+if ac_fn_c_try_run "$LINENO"; then :
101701
 
+  gl_cv_func_rename_slash_src_works=yes
101702
 
+else
101703
 
+  gl_cv_func_rename_slash_src_works=no
101704
 
+fi
101705
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
101706
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
101707
 
+fi
101708
 
+
101709
 
+    rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk
101710
 
+  
101711
 
+fi
101712
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_slash_src_works" >&5
101713
 
+$as_echo "$gl_cv_func_rename_slash_src_works" >&6; }
101714
 
+  if test "x$gl_cv_func_rename_slash_src_works" != xyes; then
101715
 
+    REPLACE_RENAME=1
101716
 
+    
101717
 
+$as_echo "@%:@define RENAME_TRAILING_SLASH_SOURCE_BUG 1" >>confdefs.h
101718
 
+
101719
 
+  fi
101720
 
+
101721
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages hard links correctly" >&5
101722
 
+$as_echo_n "checking whether rename manages hard links correctly... " >&6; }
101723
 
+if ${gl_cv_func_rename_link_works+:} false; then :
101724
 
+  $as_echo_n "(cached) " >&6
101725
 
+else
101726
 
+  rm -rf conftest.f conftest.f1
101727
 
+    if touch conftest.f && ln conftest.f conftest.f1 &&
101728
 
+        set x `ls -i conftest.f conftest.f1` && test "" = ""; then
101729
 
+      if test "$cross_compiling" = yes; then :
101730
 
+          gl_cv_func_rename_link_works="guessing no"
101731
 
+else
101732
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
101733
 
+/* end confdefs.h.  */
101734
 
+
101735
 
+#          include <stdio.h>
101736
 
+#          include <stdlib.h>
101737
 
+#          include <unistd.h>
101738
 
+           
101739
 
+int
101740
 
+main ()
101741
 
+{
101742
 
+int result = 0;
101743
 
+             if (rename ("conftest.f", "conftest.f1"))
101744
 
+               result |= 1;
101745
 
+             if (unlink ("conftest.f1"))
101746
 
+               result |= 2;
101747
 
+             if (rename ("conftest.f", "conftest.f"))
101748
 
+               result |= 4;
101749
 
+             if (rename ("conftest.f1", "conftest.f1") == 0)
101750
 
+               result |= 8;
101751
 
+             return result;
101752
 
+           
101753
 
+  ;
101754
 
+  return 0;
101755
 
+}
101756
 
+_ACEOF
101757
 
+if ac_fn_c_try_run "$LINENO"; then :
101758
 
+  gl_cv_func_rename_link_works=yes
101759
 
+else
101760
 
+  gl_cv_func_rename_link_works=no
101761
 
+fi
101762
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
101763
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
101764
 
+fi
101765
 
+
101766
 
+    else
101767
 
+      gl_cv_func_rename_link_works="guessing no"
101768
 
+    fi
101769
 
+    rm -rf conftest.f conftest.f1
101770
 
+  
101771
 
+fi
101772
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_link_works" >&5
101773
 
+$as_echo "$gl_cv_func_rename_link_works" >&6; }
101774
 
+  if test "x$gl_cv_func_rename_link_works" != xyes; then
101775
 
+    REPLACE_RENAME=1
101776
 
+    
101777
 
+$as_echo "@%:@define RENAME_HARD_LINK_BUG 1" >>confdefs.h
101778
 
+
101779
 
+  fi
101780
 
+
101781
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages existing destinations correctly" >&5
101782
 
+$as_echo_n "checking whether rename manages existing destinations correctly... " >&6; }
101783
 
+if ${gl_cv_func_rename_dest_works+:} false; then :
101784
 
+  $as_echo_n "(cached) " >&6
101785
 
+else
101786
 
+  rm -rf conftest.f conftest.d1 conftest.d2
101787
 
+    touch conftest.f && mkdir conftest.d1 conftest.d2 ||
101788
 
+      as_fn_error $? "cannot create temporary files" "$LINENO" 5
101789
 
+    if test "$cross_compiling" = yes; then :
101790
 
+        gl_cv_func_rename_dest_works="guessing no"
101791
 
+else
101792
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
101793
 
+/* end confdefs.h.  */
101794
 
+
101795
 
+#        include <stdio.h>
101796
 
+#        include <stdlib.h>
101797
 
+         
101798
 
+int
101799
 
+main ()
101800
 
+{
101801
 
+int result = 0;
101802
 
+           if (rename ("conftest.d1", "conftest.d2") != 0)
101803
 
+             result |= 1;
101804
 
+           if (rename ("conftest.d2", "conftest.f") == 0)
101805
 
+             result |= 2;
101806
 
+           return result;
101807
 
+         
101808
 
+  ;
101809
 
+  return 0;
101810
 
+}
101811
 
+_ACEOF
101812
 
+if ac_fn_c_try_run "$LINENO"; then :
101813
 
+  gl_cv_func_rename_dest_works=yes
101814
 
+else
101815
 
+  gl_cv_func_rename_dest_works=no
101816
 
+fi
101817
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
101818
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
101819
 
+fi
101820
 
+
101821
 
+    rm -rf conftest.f conftest.d1 conftest.d2
101822
 
+  
101823
 
+fi
101824
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_dest_works" >&5
101825
 
+$as_echo "$gl_cv_func_rename_dest_works" >&6; }
101826
 
+  if test "x$gl_cv_func_rename_dest_works" != xyes; then
101827
 
+    REPLACE_RENAME=1
101828
 
+    
101829
 
+$as_echo "@%:@define RENAME_DEST_EXISTS_BUG 1" >>confdefs.h
101830
 
+
101831
 
+  fi
101832
 
+
101833
 
+if test $REPLACE_RENAME = 1; then
101834
 
+  
101835
 
+  
101836
 
+  
101837
 
+    
101838
 
+      
101839
 
+      
101840
 
+    
101841
 
+  
101842
 
+  gl_LIBOBJS="$gl_LIBOBJS rename.$ac_objext"
101843
 
+
101844
 
+fi
101845
 
+
101846
 
+    
101847
 
+  
101848
 
+  
101849
 
+  
101850
 
+          GNULIB_RENAME=1
101851
 
+    
101852
 
+
101853
 
+
101854
 
+    
101855
 
+  
101856
 
+$as_echo "@%:@define GNULIB_TEST_RENAME 1" >>confdefs.h
101857
 
+
101858
 
+
101859
 
+
101860
 
+
101861
 
+  
101862
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rmdir works" >&5
101863
 
+$as_echo_n "checking whether rmdir works... " >&6; }
101864
 
+if ${gl_cv_func_rmdir_works+:} false; then :
101865
 
+  $as_echo_n "(cached) " >&6
101866
 
+else
101867
 
+  mkdir conftest.dir
101868
 
+     touch conftest.file
101869
 
+     if test "$cross_compiling" = yes; then :
101870
 
+  gl_cv_func_rmdir_works="guessing no"
101871
 
+else
101872
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
101873
 
+/* end confdefs.h.  */
101874
 
+#include <stdio.h>
101875
 
+           #include <errno.h>
101876
 
+           #include <unistd.h>
101877
 
+
101878
 
+int
101879
 
+main ()
101880
 
+{
101881
 
+int result = 0;
101882
 
+      if (!rmdir ("conftest.file/"))
101883
 
+        result |= 1;
101884
 
+      else if (errno != ENOTDIR)
101885
 
+        result |= 2;
101886
 
+      if (!rmdir ("conftest.dir/./"))
101887
 
+        result |= 4;
101888
 
+      return result;
101889
 
+    
101890
 
+  ;
101891
 
+  return 0;
101892
 
+}
101893
 
+_ACEOF
101894
 
+if ac_fn_c_try_run "$LINENO"; then :
101895
 
+  gl_cv_func_rmdir_works=yes
101896
 
+else
101897
 
+  gl_cv_func_rmdir_works=no
101898
 
+fi
101899
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
101900
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
101901
 
+fi
101902
 
+
101903
 
+     rm -rf conftest.dir conftest.file
101904
 
+fi
101905
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rmdir_works" >&5
101906
 
+$as_echo "$gl_cv_func_rmdir_works" >&6; }
101907
 
+  if test x"$gl_cv_func_rmdir_works" != xyes; then
101908
 
+    REPLACE_RMDIR=1
101909
 
+  fi
101910
 
+
101911
 
+if test $REPLACE_RMDIR = 1; then
101912
 
+  
101913
 
+  
101914
 
+  
101915
 
+    
101916
 
+      
101917
 
+      
101918
 
+    
101919
 
+  
101920
 
+  gl_LIBOBJS="$gl_LIBOBJS rmdir.$ac_objext"
101921
 
+
101922
 
+fi
101923
 
+
101924
 
+    
101925
 
+  
101926
 
+  
101927
 
+  
101928
 
+          GNULIB_RMDIR=1
101929
 
+    
101930
 
+
101931
 
+
101932
 
+    
101933
 
+  
101934
 
+$as_echo "@%:@define GNULIB_TEST_RMDIR 1" >>confdefs.h
101935
 
+
101936
 
+
101937
 
+
101938
 
+
101939
 
+  
101940
 
+  
101941
 
+  
101942
 
+    
101943
 
+      
101944
 
+      
101945
 
+    
101946
 
+  
101947
 
+  gl_LIBOBJS="$gl_LIBOBJS root-dev-ino.$ac_objext"
101948
 
+
101949
 
+
101950
 
+    
101951
 
+  :
101952
 
+
101953
 
+
101954
 
+    
101955
 
+
101956
 
+  
101957
 
+  for ac_func in rpmatch
101958
 
+do :
101959
 
+  ac_fn_c_check_func "$LINENO" "rpmatch" "ac_cv_func_rpmatch"
101960
 
+if test "x$ac_cv_func_rpmatch" = xyes; then :
101961
 
+  cat >>confdefs.h <<_ACEOF
101962
 
+@%:@define HAVE_RPMATCH 1
101963
 
+_ACEOF
101964
 
101965
 
+fi
101966
 
+done
101967
 
+
101968
 
+  if test $ac_cv_func_rpmatch = no; then
101969
 
+    HAVE_RPMATCH=0
101970
 
+  fi
101971
 
+
101972
 
+if test $HAVE_RPMATCH = 0; then
101973
 
+  
101974
 
+  
101975
 
+  
101976
 
+    
101977
 
+      
101978
 
+      
101979
 
+    
101980
 
+  
101981
 
+  gl_LIBOBJS="$gl_LIBOBJS rpmatch.$ac_objext"
101982
 
+
101983
 
+  
101984
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and YESEXPR" >&5
101985
 
+$as_echo_n "checking for nl_langinfo and YESEXPR... " >&6; }
101986
 
+if ${gl_cv_langinfo_yesexpr+:} false; then :
101987
 
+  $as_echo_n "(cached) " >&6
101988
 
+else
101989
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
101990
 
+/* end confdefs.h.  */
101991
 
+#include <langinfo.h>
101992
 
+int
101993
 
+main ()
101994
 
+{
101995
 
+char* cs = nl_langinfo(YESEXPR); return !cs;
101996
 
+  ;
101997
 
+  return 0;
101998
 
+}
101999
 
+_ACEOF
102000
 
+if ac_fn_c_try_link "$LINENO"; then :
102001
 
+  gl_cv_langinfo_yesexpr=yes
102002
 
+else
102003
 
+  gl_cv_langinfo_yesexpr=no
102004
 
+fi
102005
 
+rm -f core conftest.err conftest.$ac_objext \
102006
 
+    conftest$ac_exeext conftest.$ac_ext
102007
 
+    
102008
 
+fi
102009
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_langinfo_yesexpr" >&5
102010
 
+$as_echo "$gl_cv_langinfo_yesexpr" >&6; }
102011
 
+  if test $gl_cv_langinfo_yesexpr = yes; then
102012
 
+    
102013
 
+$as_echo "@%:@define HAVE_LANGINFO_YESEXPR 1" >>confdefs.h
102014
 
+
102015
 
+  fi
102016
 
+
102017
 
+fi
102018
 
+
102019
 
+    
102020
 
+  
102021
 
+  
102022
 
+  
102023
 
+          GNULIB_RPMATCH=1
102024
 
+    
102025
 
+
102026
 
+
102027
 
+    
102028
 
+  
102029
 
+$as_echo "@%:@define GNULIB_TEST_RPMATCH 1" >>confdefs.h
102030
 
+
102031
 
+
102032
 
+
102033
 
+
102034
 
+  
102035
 
+
102036
 
+
102037
 
+  
102038
 
+  
102039
 
+
102040
 
+
102041
 
+
102042
 
+  
102043
 
+  
102044
 
+
102045
 
+
102046
 
+  
102047
 
+
102048
 
+
102049
 
+  :
102050
 
+
102051
 
+
102052
 
+
102053
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
102054
 
+/* end confdefs.h.  */
102055
 
+
102056
 
+       #include <sched.h>
102057
 
+       struct sched_param a;
102058
 
+       int b[] = { SCHED_FIFO, SCHED_RR, SCHED_OTHER };
102059
 
+     
102060
 
+int
102061
 
+main ()
102062
 
+{
102063
 
+
102064
 
+  ;
102065
 
+  return 0;
102066
 
+}
102067
 
+_ACEOF
102068
 
+if ac_fn_c_try_compile "$LINENO"; then :
102069
 
+  SCHED_H=''
102070
 
+else
102071
 
+  SCHED_H='sched.h'
102072
 
+
102073
 
+     
102074
 
+  
102075
 
+  
102076
 
+  
102077
 
+
102078
 
+  
102079
 
+    
102080
 
+
102081
 
+  
102082
 
+     if test $gl_cv_have_include_next = yes; then
102083
 
+       gl_cv_next_sched_h='<'sched.h'>'
102084
 
+     else
102085
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sched.h>" >&5
102086
 
+$as_echo_n "checking absolute name of <sched.h>... " >&6; }
102087
 
+if ${gl_cv_next_sched_h+:} false; then :
102088
 
+  $as_echo_n "(cached) " >&6
102089
 
+else
102090
 
+  
102091
 
+             if test $ac_cv_header_sched_h = yes; then
102092
 
+             
102093
 
+            
102094
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
102095
 
+/* end confdefs.h.  */
102096
 
+#include <sched.h>
102097
 
+                  
102098
 
+_ACEOF
102099
 
+                                                                                                                        case "$host_os" in
102100
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
102101
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
102102
 
+               esac
102103
 
+                                                            gl_cv_next_sched_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
102104
 
+                  sed -n '\#/sched.h#{
102105
 
+                    s#.*"\(.*/sched.h\)".*#\1#
102106
 
+                    s#^/[^/]#//&#
102107
 
+                    p
102108
 
+                    q
102109
 
+                  }'`'"'
102110
 
+          else
102111
 
+               gl_cv_next_sched_h='<'sched.h'>'
102112
 
+             fi
102113
 
+            
102114
 
+         
102115
 
+fi
102116
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sched_h" >&5
102117
 
+$as_echo "$gl_cv_next_sched_h" >&6; }
102118
 
+     fi
102119
 
+     NEXT_SCHED_H=$gl_cv_next_sched_h
102120
 
+
102121
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
102122
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
102123
 
+       gl_next_as_first_directive='<'sched.h'>'
102124
 
+     else
102125
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
102126
 
+       gl_next_as_first_directive=$gl_cv_next_sched_h
102127
 
+     fi
102128
 
+     NEXT_AS_FIRST_DIRECTIVE_SCHED_H=$gl_next_as_first_directive
102129
 
+
102130
 
+     
102131
 
+
102132
 
+
102133
 
+
102134
 
+     if test $ac_cv_header_sched_h = yes; then
102135
 
+       HAVE_SCHED_H=1
102136
 
+     else
102137
 
+       HAVE_SCHED_H=0
102138
 
+     fi
102139
 
+     
102140
 
+
102141
 
+     ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include <sched.h>
102142
 
+"
102143
 
+if test "x$ac_cv_type_struct_sched_param" = xyes; then :
102144
 
+  HAVE_STRUCT_SCHED_PARAM=1
102145
 
+else
102146
 
+  HAVE_STRUCT_SCHED_PARAM=0
102147
 
+fi
102148
 
+
102149
 
+     
102150
 
+    
102151
 
+fi
102152
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
102153
 
+  
102154
 
+   if test -n "$SCHED_H"; then
102155
 
+  GL_GENERATE_SCHED_H_TRUE=
102156
 
+  GL_GENERATE_SCHED_H_FALSE='#'
102157
 
+else
102158
 
+  GL_GENERATE_SCHED_H_TRUE='#'
102159
 
+  GL_GENERATE_SCHED_H_FALSE=
102160
 
+fi
102161
 
+
102162
 
+
102163
 
+
102164
 
+  
102165
 
+     
102166
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
102167
 
+    REPLACE_SELECT=1
102168
 
+  else
102169
 
+            
102170
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether select supports a 0 argument" >&5
102171
 
+$as_echo_n "checking whether select supports a 0 argument... " >&6; }
102172
 
+if ${gl_cv_func_select_supports0+:} false; then :
102173
 
+  $as_echo_n "(cached) " >&6
102174
 
+else
102175
 
+  
102176
 
+        if test "$cross_compiling" = yes; then :
102177
 
+  
102178
 
+           case "$host_os" in
102179
 
+                       # Guess no on Interix.
102180
 
+             interix*) gl_cv_func_select_supports0="guessing no";;
102181
 
+                       # Guess yes otherwise.
102182
 
+             *)        gl_cv_func_select_supports0="guessing yes";;
102183
 
+           esac
102184
 
+          
102185
 
+else
102186
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
102187
 
+/* end confdefs.h.  */
102188
 
+
102189
 
+#include <sys/types.h>
102190
 
+#include <sys/time.h>
102191
 
+#if HAVE_SYS_SELECT_H
102192
 
+#include <sys/select.h>
102193
 
+#endif
102194
 
+int main ()
102195
 
+{
102196
 
+  struct timeval timeout;
102197
 
+  timeout.tv_sec = 0;
102198
 
+  timeout.tv_usec = 5;
102199
 
+  return select (0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &timeout) < 0;
102200
 
+}
102201
 
+_ACEOF
102202
 
+if ac_fn_c_try_run "$LINENO"; then :
102203
 
+  gl_cv_func_select_supports0=yes
102204
 
+else
102205
 
+  gl_cv_func_select_supports0=no
102206
 
+fi
102207
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
102208
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
102209
 
+fi
102210
 
+
102211
 
+      
102212
 
+fi
102213
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_select_supports0" >&5
102214
 
+$as_echo "$gl_cv_func_select_supports0" >&6; }
102215
 
+    case "$gl_cv_func_select_supports0" in
102216
 
+      *yes) ;;
102217
 
+      *) REPLACE_SELECT=1 ;;
102218
 
+    esac
102219
 
+  fi
102220
 
+
102221
 
+if test $REPLACE_SELECT = 1; then
102222
 
+  
102223
 
+  
102224
 
+  
102225
 
+    
102226
 
+      
102227
 
+      
102228
 
+    
102229
 
+  
102230
 
+  gl_LIBOBJS="$gl_LIBOBJS select.$ac_objext"
102231
 
+
102232
 
+fi
102233
 
+
102234
 
+    
102235
 
+  
102236
 
+  
102237
 
+  
102238
 
+          GNULIB_SELECT=1
102239
 
+    
102240
 
+
102241
 
+
102242
 
+    
102243
 
+  
102244
 
+$as_echo "@%:@define GNULIB_TEST_SELECT 1" >>confdefs.h
102245
 
+
102246
 
+
102247
 
+
102248
 
+for ac_header in selinux/flask.h
102249
 
+do :
102250
 
+  ac_fn_c_check_header_mongrel "$LINENO" "selinux/flask.h" "ac_cv_header_selinux_flask_h" "$ac_includes_default"
102251
 
+if test "x$ac_cv_header_selinux_flask_h" = xyes; then :
102252
 
+  cat >>confdefs.h <<_ACEOF
102253
 
+@%:@define HAVE_SELINUX_FLASK_H 1
102254
 
+_ACEOF
102255
 
102256
 
+fi
102257
 
+
102258
 
+done
102259
 
+
102260
 
+
102261
 
+  
102262
 
+  
102263
 
+    
102264
 
+      
102265
 
+      
102266
 
+    
102267
 
+  
102268
 
+  gl_LIBOBJS="$gl_LIBOBJS selinux-at.$ac_objext"
102269
 
+
102270
 
+
102271
 
+  
102272
 
+  if test "$with_selinux" != no; then
102273
 
+    for ac_header in selinux/selinux.h
102274
 
+do :
102275
 
+  ac_fn_c_check_header_mongrel "$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default"
102276
 
+if test "x$ac_cv_header_selinux_selinux_h" = xyes; then :
102277
 
+  cat >>confdefs.h <<_ACEOF
102278
 
+@%:@define HAVE_SELINUX_SELINUX_H 1
102279
 
+_ACEOF
102280
 
102281
 
+fi
102282
 
+
102283
 
+done
102284
 
+
102285
 
+
102286
 
+    if test "$ac_cv_header_selinux_selinux_h" = yes; then
102287
 
+      # We do have <selinux/selinux.h>, so do compile getfilecon.c
102288
 
+      # and arrange to use its wrappers.
102289
 
+      
102290
 
+  
102291
 
+  
102292
 
+  
102293
 
+
102294
 
+  
102295
 
+    
102296
 
+
102297
 
+  
102298
 
+     if test $gl_cv_have_include_next = yes; then
102299
 
+       gl_cv_next_selinux_selinux_h='<'selinux/selinux.h'>'
102300
 
+     else
102301
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <selinux/selinux.h>" >&5
102302
 
+$as_echo_n "checking absolute name of <selinux/selinux.h>... " >&6; }
102303
 
+if ${gl_cv_next_selinux_selinux_h+:} false; then :
102304
 
+  $as_echo_n "(cached) " >&6
102305
 
+else
102306
 
+  
102307
 
+             if test $ac_cv_header_selinux_selinux_h = yes; then
102308
 
+             
102309
 
+            
102310
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
102311
 
+/* end confdefs.h.  */
102312
 
+#include <selinux/selinux.h>
102313
 
+                  
102314
 
+_ACEOF
102315
 
+                                                                                                                        case "$host_os" in
102316
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
102317
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
102318
 
+               esac
102319
 
+                                                            gl_cv_next_selinux_selinux_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
102320
 
+                  sed -n '\#/selinux/selinux.h#{
102321
 
+                    s#.*"\(.*/selinux/selinux.h\)".*#\1#
102322
 
+                    s#^/[^/]#//&#
102323
 
+                    p
102324
 
+                    q
102325
 
+                  }'`'"'
102326
 
+          else
102327
 
+               gl_cv_next_selinux_selinux_h='<'selinux/selinux.h'>'
102328
 
+             fi
102329
 
+            
102330
 
+         
102331
 
+fi
102332
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_selinux_selinux_h" >&5
102333
 
+$as_echo "$gl_cv_next_selinux_selinux_h" >&6; }
102334
 
+     fi
102335
 
+     NEXT_SELINUX_SELINUX_H=$gl_cv_next_selinux_selinux_h
102336
 
+
102337
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
102338
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
102339
 
+       gl_next_as_first_directive='<'selinux/selinux.h'>'
102340
 
+     else
102341
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
102342
 
+       gl_next_as_first_directive=$gl_cv_next_selinux_selinux_h
102343
 
+     fi
102344
 
+     NEXT_AS_FIRST_DIRECTIVE_SELINUX_SELINUX_H=$gl_next_as_first_directive
102345
 
+
102346
 
+     
102347
 
+
102348
 
+
102349
 
+      
102350
 
+$as_echo "@%:@define getfilecon rpl_getfilecon" >>confdefs.h
102351
 
+
102352
 
+      
102353
 
+$as_echo "@%:@define lgetfilecon rpl_lgetfilecon" >>confdefs.h
102354
 
+
102355
 
+      
102356
 
+$as_echo "@%:@define fgetfilecon rpl_fgetfilecon" >>confdefs.h
102357
 
+
102358
 
+    fi
102359
 
+
102360
 
+    case "$ac_cv_search_setfilecon:$ac_cv_header_selinux_selinux_h" in
102361
 
+      no:*) # already warned
102362
 
+        ;;
102363
 
+      *:no)
102364
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libselinux was found but selinux/selinux.h is missing." >&5
102365
 
+$as_echo "$as_me: WARNING: libselinux was found but selinux/selinux.h is missing." >&2;}
102366
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU coreutils will be compiled without SELinux support." >&5
102367
 
+$as_echo "$as_me: WARNING: GNU coreutils will be compiled without SELinux support." >&2;}
102368
 
+    esac
102369
 
+  else
102370
 
+    # Do as if <selinux/selinux.h> does not exist, even if
102371
 
+    # AC_CHECK_HEADERS_ONCE has already determined that it exists.
102372
 
+    $as_echo "@%:@define HAVE_SELINUX_SELINUX_H 0" >>confdefs.h
102373
 
+
102374
 
+  fi
102375
 
+
102376
 
+
102377
 
+  
102378
 
+  if test "$with_selinux" != no; then
102379
 
+    for ac_header in selinux/context.h
102380
 
+do :
102381
 
+  ac_fn_c_check_header_mongrel "$LINENO" "selinux/context.h" "ac_cv_header_selinux_context_h" "$ac_includes_default"
102382
 
+if test "x$ac_cv_header_selinux_context_h" = xyes; then :
102383
 
+  cat >>confdefs.h <<_ACEOF
102384
 
+@%:@define HAVE_SELINUX_CONTEXT_H 1
102385
 
+_ACEOF
102386
 
+ SELINUX_CONTEXT_H=
102387
 
+else
102388
 
+  SELINUX_CONTEXT_H=selinux/context.h
102389
 
+fi
102390
 
+
102391
 
+done
102392
 
+
102393
 
+  else
102394
 
+    SELINUX_CONTEXT_H=selinux/context.h
102395
 
+  fi
102396
 
+  
102397
 
+   if test -n "$SELINUX_CONTEXT_H"; then
102398
 
+  GL_GENERATE_SELINUX_CONTEXT_H_TRUE=
102399
 
+  GL_GENERATE_SELINUX_CONTEXT_H_FALSE='#'
102400
 
+else
102401
 
+  GL_GENERATE_SELINUX_CONTEXT_H_TRUE='#'
102402
 
+  GL_GENERATE_SELINUX_CONTEXT_H_FALSE=
102403
 
+fi
102404
 
+
102405
 
+
102406
 
+
102407
 
+if test "$with_selinux" != no && test "$ac_cv_header_selinux_selinux_h" = yes; then
102408
 
+  
102409
 
+  
102410
 
+  
102411
 
+    
102412
 
+      
102413
 
+      
102414
 
+    
102415
 
+  
102416
 
+  gl_LIBOBJS="$gl_LIBOBJS getfilecon.$ac_objext"
102417
 
+
102418
 
+fi
102419
 
+
102420
 
+                      SERVENT_LIB=
102421
 
+  gl_saved_libs="$LIBS"
102422
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5
102423
 
+$as_echo_n "checking for library containing getservbyname... " >&6; }
102424
 
+if ${ac_cv_search_getservbyname+:} false; then :
102425
 
+  $as_echo_n "(cached) " >&6
102426
 
+else
102427
 
+  ac_func_search_save_LIBS=$LIBS
102428
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
102429
 
+/* end confdefs.h.  */
102430
 
+
102431
 
+/* Override any GCC internal prototype to avoid an error.
102432
 
+   Use char because int might match the return type of a GCC
102433
 
+   builtin and then its argument prototype would still apply.  */
102434
 
+#ifdef __cplusplus
102435
 
+extern "C"
102436
 
+#endif
102437
 
+char getservbyname ();
102438
 
+int
102439
 
+main ()
102440
 
+{
102441
 
+return getservbyname ();
102442
 
+  ;
102443
 
+  return 0;
102444
 
+}
102445
 
+_ACEOF
102446
 
+for ac_lib in '' socket network net; do
102447
 
+  if test -z "$ac_lib"; then
102448
 
+    ac_res="none required"
102449
 
+  else
102450
 
+    ac_res=-l$ac_lib
102451
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
102452
 
+  fi
102453
 
+  if ac_fn_c_try_link "$LINENO"; then :
102454
 
+  ac_cv_search_getservbyname=$ac_res
102455
 
+fi
102456
 
+rm -f core conftest.err conftest.$ac_objext \
102457
 
+    conftest$ac_exeext
102458
 
+  if ${ac_cv_search_getservbyname+:} false; then :
102459
 
+  break
102460
 
+fi
102461
 
+done
102462
 
+if ${ac_cv_search_getservbyname+:} false; then :
102463
 
+  
102464
 
+else
102465
 
+  ac_cv_search_getservbyname=no
102466
 
+fi
102467
 
+rm conftest.$ac_ext
102468
 
+LIBS=$ac_func_search_save_LIBS
102469
 
+fi
102470
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getservbyname" >&5
102471
 
+$as_echo "$ac_cv_search_getservbyname" >&6; }
102472
 
+ac_res=$ac_cv_search_getservbyname
102473
 
+if test "$ac_res" != no; then :
102474
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
102475
 
+  if test "$ac_cv_search_getservbyname" != "none required"; then
102476
 
+       SERVENT_LIB="$ac_cv_search_getservbyname"
102477
 
+     fi
102478
 
+fi
102479
 
+
102480
 
+  LIBS="$gl_saved_libs"
102481
 
+  if test -z "$SERVENT_LIB"; then
102482
 
+    for ac_func in getservbyname
102483
 
+do :
102484
 
+  ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
102485
 
+if test "x$ac_cv_func_getservbyname" = xyes; then :
102486
 
+  cat >>confdefs.h <<_ACEOF
102487
 
+@%:@define HAVE_GETSERVBYNAME 1
102488
 
+_ACEOF
102489
 
102490
 
+else
102491
 
+  
102492
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5
102493
 
+$as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; }
102494
 
+if ${gl_cv_w32_getservbyname+:} false; then :
102495
 
+  $as_echo_n "(cached) " >&6
102496
 
+else
102497
 
+  gl_cv_w32_getservbyname=no
102498
 
+         gl_save_LIBS="$LIBS"
102499
 
+         LIBS="$LIBS -lws2_32"
102500
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
102501
 
+/* end confdefs.h.  */
102502
 
+
102503
 
+#ifdef HAVE_WINSOCK2_H
102504
 
+#include <winsock2.h>
102505
 
+#endif
102506
 
+#include <stddef.h>
102507
 
+              
102508
 
+int
102509
 
+main ()
102510
 
+{
102511
 
+getservbyname(NULL,NULL);
102512
 
+  ;
102513
 
+  return 0;
102514
 
+}
102515
 
+_ACEOF
102516
 
+if ac_fn_c_try_link "$LINENO"; then :
102517
 
+  gl_cv_w32_getservbyname=yes
102518
 
+fi
102519
 
+rm -f core conftest.err conftest.$ac_objext \
102520
 
+    conftest$ac_exeext conftest.$ac_ext
102521
 
+         LIBS="$gl_save_LIBS"
102522
 
+        
102523
 
+fi
102524
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_w32_getservbyname" >&5
102525
 
+$as_echo "$gl_cv_w32_getservbyname" >&6; }
102526
 
+      if test "$gl_cv_w32_getservbyname" = "yes"; then
102527
 
+        SERVENT_LIB="-lws2_32"
102528
 
+      fi
102529
 
+    
102530
 
+fi
102531
 
+done
102532
 
+
102533
 
+  fi
102534
 
+  
102535
 
+
102536
 
+
102537
 
+  
102538
 
+  if test $ac_cv_func_setenv = no; then
102539
 
+    HAVE_SETENV=0
102540
 
+  else
102541
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setenv validates arguments" >&5
102542
 
+$as_echo_n "checking whether setenv validates arguments... " >&6; }
102543
 
+if ${gl_cv_func_setenv_works+:} false; then :
102544
 
+  $as_echo_n "(cached) " >&6
102545
 
+else
102546
 
+  if test "$cross_compiling" = yes; then :
102547
 
+  gl_cv_func_setenv_works="guessing no"
102548
 
+else
102549
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
102550
 
+/* end confdefs.h.  */
102551
 
+
102552
 
+       #include <stdlib.h>
102553
 
+       #include <errno.h>
102554
 
+       #include <string.h>
102555
 
+      
102556
 
+int
102557
 
+main ()
102558
 
+{
102559
 
+
102560
 
+       int result = 0;
102561
 
+       {
102562
 
+         if (setenv ("", "", 0) != -1)
102563
 
+           result |= 1;
102564
 
+         else if (errno != EINVAL)
102565
 
+           result |= 2;
102566
 
+       }
102567
 
+       {
102568
 
+         if (setenv ("a", "=", 1) != 0)
102569
 
+           result |= 4;
102570
 
+         else if (strcmp (getenv ("a"), "=") != 0)
102571
 
+           result |= 8;
102572
 
+       }
102573
 
+       return result;
102574
 
+      
102575
 
+  ;
102576
 
+  return 0;
102577
 
+}
102578
 
+_ACEOF
102579
 
+if ac_fn_c_try_run "$LINENO"; then :
102580
 
+  gl_cv_func_setenv_works=yes
102581
 
+else
102582
 
+  gl_cv_func_setenv_works=no
102583
 
+fi
102584
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
102585
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
102586
 
+fi
102587
 
+
102588
 
+fi
102589
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_setenv_works" >&5
102590
 
+$as_echo "$gl_cv_func_setenv_works" >&6; }
102591
 
+    if test "$gl_cv_func_setenv_works" != yes; then
102592
 
+      REPLACE_SETENV=1
102593
 
+    fi
102594
 
+  fi
102595
 
+
102596
 
+if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
102597
 
+  
102598
 
+  
102599
 
+  
102600
 
+    
102601
 
+      
102602
 
+      
102603
 
+    
102604
 
+  
102605
 
+  gl_LIBOBJS="$gl_LIBOBJS setenv.$ac_objext"
102606
 
+
102607
 
+fi
102608
 
+
102609
 
+    
102610
 
+  
102611
 
+  
102612
 
+  
102613
 
+          GNULIB_SETENV=1
102614
 
+    
102615
 
+
102616
 
+
102617
 
+    
102618
 
+  
102619
 
+$as_echo "@%:@define GNULIB_TEST_SETENV 1" >>confdefs.h
102620
 
+
102621
 
+
102622
 
+
102623
 
+
102624
 
+    
102625
 
+  
102626
 
+  
102627
 
+
102628
 
+
102629
 
+  for ac_func in sig2str
102630
 
+do :
102631
 
+  ac_fn_c_check_func "$LINENO" "sig2str" "ac_cv_func_sig2str"
102632
 
+if test "x$ac_cv_func_sig2str" = xyes; then :
102633
 
+  cat >>confdefs.h <<_ACEOF
102634
 
+@%:@define HAVE_SIG2STR 1
102635
 
+_ACEOF
102636
 
102637
 
+fi
102638
 
+done
102639
 
+
102640
 
+
102641
 
+if test $ac_cv_func_sig2str = no; then
102642
 
+  
102643
 
+  
102644
 
+  
102645
 
+    
102646
 
+      
102647
 
+      
102648
 
+    
102649
 
+  
102650
 
+  gl_LIBOBJS="$gl_LIBOBJS sig2str.$ac_objext"
102651
 
+
102652
 
+  
102653
 
+  :
102654
 
+
102655
 
+fi
102656
 
+
102657
 
+  
102658
 
+  
102659
 
+  if test $ac_cv_func_sigaction = yes; then
102660
 
+    ac_fn_c_check_member "$LINENO" "struct sigaction" "sa_sigaction" "ac_cv_member_struct_sigaction_sa_sigaction" "#include <signal.h>
102661
 
+"
102662
 
+if test "x$ac_cv_member_struct_sigaction_sa_sigaction" = xyes; then :
102663
 
+  
102664
 
+cat >>confdefs.h <<_ACEOF
102665
 
+@%:@define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1
102666
 
+_ACEOF
102667
 
+
102668
 
+
102669
 
+fi
102670
 
+
102671
 
+    if test $ac_cv_member_struct_sigaction_sa_sigaction = no; then
102672
 
+      HAVE_STRUCT_SIGACTION_SA_SIGACTION=0
102673
 
+    fi
102674
 
+  else
102675
 
+    HAVE_SIGACTION=0
102676
 
+  fi
102677
 
+
102678
 
+if test $HAVE_SIGACTION = 0; then
102679
 
+  
102680
 
+  
102681
 
+  
102682
 
+    
102683
 
+      
102684
 
+      
102685
 
+    
102686
 
+  
102687
 
+  gl_LIBOBJS="$gl_LIBOBJS sigaction.$ac_objext"
102688
 
+
102689
 
+  
102690
 
+  
102691
 
+  
102692
 
+  
102693
 
+  
102694
 
+  
102695
 
+  ac_fn_c_check_type "$LINENO" "siginfo_t" "ac_cv_type_siginfo_t" "
102696
 
+#include <signal.h>
102697
 
+  
102698
 
+"
102699
 
+if test "x$ac_cv_type_siginfo_t" = xyes; then :
102700
 
+  
102701
 
+cat >>confdefs.h <<_ACEOF
102702
 
+@%:@define HAVE_SIGINFO_T 1
102703
 
+_ACEOF
102704
 
+
102705
 
+
102706
 
+fi
102707
 
+
102708
 
+  if test $ac_cv_type_siginfo_t = no; then
102709
 
+    HAVE_SIGINFO_T=0
102710
 
+  fi
102711
 
+
102712
 
+fi
102713
 
+
102714
 
+    
102715
 
+  
102716
 
+  
102717
 
+  
102718
 
+          GNULIB_SIGACTION=1
102719
 
+    
102720
 
+
102721
 
+
102722
 
+    
102723
 
+  
102724
 
+$as_echo "@%:@define GNULIB_TEST_SIGACTION 1" >>confdefs.h
102725
 
+
102726
 
+
102727
 
+
102728
 
+
102729
 
+  
102730
 
+  
102731
 
+  
102732
 
+  
102733
 
+  
102734
 
+  
102735
 
+
102736
 
+  
102737
 
+
102738
 
+  
102739
 
+     if test $gl_cv_have_include_next = yes; then
102740
 
+       gl_cv_next_signal_h='<'signal.h'>'
102741
 
+     else
102742
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <signal.h>" >&5
102743
 
+$as_echo_n "checking absolute name of <signal.h>... " >&6; }
102744
 
+if ${gl_cv_next_signal_h+:} false; then :
102745
 
+  $as_echo_n "(cached) " >&6
102746
 
+else
102747
 
+  
102748
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
102749
 
+/* end confdefs.h.  */
102750
 
+#include <signal.h>
102751
 
+                  
102752
 
+_ACEOF
102753
 
+                                                                                                                        case "$host_os" in
102754
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
102755
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
102756
 
+               esac
102757
 
+                                                            gl_cv_next_signal_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
102758
 
+                  sed -n '\#/signal.h#{
102759
 
+                    s#.*"\(.*/signal.h\)".*#\1#
102760
 
+                    s#^/[^/]#//&#
102761
 
+                    p
102762
 
+                    q
102763
 
+                  }'`'"'
102764
 
+          
102765
 
+         
102766
 
+fi
102767
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_signal_h" >&5
102768
 
+$as_echo "$gl_cv_next_signal_h" >&6; }
102769
 
+     fi
102770
 
+     NEXT_SIGNAL_H=$gl_cv_next_signal_h
102771
 
+
102772
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
102773
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
102774
 
+       gl_next_as_first_directive='<'signal.h'>'
102775
 
+     else
102776
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
102777
 
+       gl_next_as_first_directive=$gl_cv_next_signal_h
102778
 
+     fi
102779
 
+     NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H=$gl_next_as_first_directive
102780
 
+
102781
 
+     
102782
 
+
102783
 
+
102784
 
+
102785
 
+# AIX declares sig_atomic_t to already include volatile, and C89 compilers
102786
 
+# then choke on 'volatile sig_atomic_t'.  C99 requires that it compile.
102787
 
+  ac_fn_c_check_type "$LINENO" "volatile sig_atomic_t" "ac_cv_type_volatile_sig_atomic_t" "
102788
 
+#include <signal.h>
102789
 
+    
102790
 
+"
102791
 
+if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes; then :
102792
 
+  
102793
 
+else
102794
 
+  HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0
102795
 
+fi
102796
 
+
102797
 
+
102798
 
+  
102799
 
+
102800
 
+    
102801
 
+  ac_fn_c_check_type "$LINENO" "sighandler_t" "ac_cv_type_sighandler_t" "
102802
 
+#include <signal.h>
102803
 
+    
102804
 
+"
102805
 
+if test "x$ac_cv_type_sighandler_t" = xyes; then :
102806
 
+  
102807
 
+else
102808
 
+  HAVE_SIGHANDLER_T=0
102809
 
+fi
102810
 
+
102811
 
+
102812
 
+      
102813
 
+    for gl_func in pthread_sigmask sigaction     sigaddset sigdelset sigemptyset sigfillset sigismember     sigpending sigprocmask; do
102814
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
102815
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
102816
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
102817
 
+if eval \${$as_gl_Symbol+:} false; then :
102818
 
+  $as_echo_n "(cached) " >&6
102819
 
+else
102820
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
102821
 
+/* end confdefs.h.  */
102822
 
+#include <signal.h>
102823
 
+    
102824
 
+int
102825
 
+main ()
102826
 
+{
102827
 
+@%:@undef $gl_func
102828
 
+  (void) $gl_func;
102829
 
+  ;
102830
 
+  return 0;
102831
 
+}
102832
 
+_ACEOF
102833
 
+if ac_fn_c_try_compile "$LINENO"; then :
102834
 
+  eval "$as_gl_Symbol=yes"
102835
 
+else
102836
 
+  eval "$as_gl_Symbol=no"
102837
 
+fi
102838
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
102839
 
+fi
102840
 
+eval ac_res=\$$as_gl_Symbol
102841
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
102842
 
+$as_echo "$ac_res" >&6; }
102843
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
102844
 
+  cat >>confdefs.h <<_ACEOF
102845
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
102846
 
+_ACEOF
102847
 
+
102848
 
+                     eval ac_cv_have_decl_$gl_func=yes
102849
 
+fi
102850
 
+      done
102851
 
+
102852
 
+
102853
 
+
102854
 
+  
102855
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit macro" >&5
102856
 
+$as_echo_n "checking for signbit macro... " >&6; }
102857
 
+if ${gl_cv_func_signbit+:} false; then :
102858
 
+  $as_echo_n "(cached) " >&6
102859
 
+else
102860
 
+  
102861
 
+      if test "$cross_compiling" = yes; then :
102862
 
+  gl_cv_func_signbit="guessing no"
102863
 
+else
102864
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
102865
 
+/* end confdefs.h.  */
102866
 
+
102867
 
+#include <math.h>
102868
 
+/* If signbit is defined as a function, don't use it, since calling it for
102869
 
+   'float' or 'long double' arguments would involve conversions.
102870
 
+   If signbit is not declared at all but exists as a library function, don't
102871
 
+   use it, since the prototype may not match.
102872
 
+   If signbit is not declared at all but exists as a compiler built-in, don't
102873
 
+   use it, since it's preferable to use __builtin_signbit* (no warnings,
102874
 
+   no conversions).  */
102875
 
+#ifndef signbit
102876
 
+# error "signbit should be a macro"
102877
 
+#endif
102878
 
+#include <string.h>
102879
 
+
102880
 
+/* Global variables.
102881
 
+   Needed because GCC 4 constant-folds __builtin_signbitl (literal)
102882
 
+   but cannot constant-fold            __builtin_signbitl (variable).  */
102883
 
+float vf;
102884
 
+double vd;
102885
 
+long double vl;
102886
 
+int main ()
102887
 
+{
102888
 
+/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
102889
 
+   So we use -p0f and -p0d instead.  */
102890
 
+float p0f = 0.0f;
102891
 
+float m0f = -p0f;
102892
 
+double p0d = 0.0;
102893
 
+double m0d = -p0d;
102894
 
+/* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
102895
 
+   So we use another constant expression instead.
102896
 
+   But that expression does not work on other platforms, such as when
102897
 
+   cross-compiling to PowerPC on MacOS X 10.5.  */
102898
 
+long double p0l = 0.0L;
102899
 
+#if defined __hpux || defined __sgi
102900
 
+long double m0l = -LDBL_MIN * LDBL_MIN;
102901
 
+#else
102902
 
+long double m0l = -p0l;
102903
 
+#endif
102904
 
+  int result = 0;
102905
 
+  if (signbit (vf)) /* link check */
102906
 
+    vf++;
102907
 
+  {
102908
 
+    float plus_inf = 1.0f / p0f;
102909
 
+    float minus_inf = -1.0f / p0f;
102910
 
+    if (!(!signbit (255.0f)
102911
 
+          && signbit (-255.0f)
102912
 
+          && !signbit (p0f)
102913
 
+          && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f))
102914
 
+          && !signbit (plus_inf)
102915
 
+          && signbit (minus_inf)))
102916
 
+      result |= 1;
102917
 
+  }
102918
 
+  if (signbit (vd)) /* link check */
102919
 
+    vd++;
102920
 
+  {
102921
 
+    double plus_inf = 1.0 / p0d;
102922
 
+    double minus_inf = -1.0 / p0d;
102923
 
+    if (!(!signbit (255.0)
102924
 
+          && signbit (-255.0)
102925
 
+          && !signbit (p0d)
102926
 
+          && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d))
102927
 
+          && !signbit (plus_inf)
102928
 
+          && signbit (minus_inf)))
102929
 
+      result |= 2;
102930
 
+  }
102931
 
+  if (signbit (vl)) /* link check */
102932
 
+    vl++;
102933
 
+  {
102934
 
+    long double plus_inf = 1.0L / p0l;
102935
 
+    long double minus_inf = -1.0L / p0l;
102936
 
+    if (signbit (255.0L))
102937
 
+      result |= 4;
102938
 
+    if (!signbit (-255.0L))
102939
 
+      result |= 4;
102940
 
+    if (signbit (p0l))
102941
 
+      result |= 8;
102942
 
+    if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l)))
102943
 
+      result |= 16;
102944
 
+    if (signbit (plus_inf))
102945
 
+      result |= 32;
102946
 
+    if (!signbit (minus_inf))
102947
 
+      result |= 64;
102948
 
+  }
102949
 
+  return result;
102950
 
+}
102951
 
+
102952
 
+
102953
 
+_ACEOF
102954
 
+if ac_fn_c_try_run "$LINENO"; then :
102955
 
+  gl_cv_func_signbit=yes
102956
 
+else
102957
 
+  gl_cv_func_signbit=no
102958
 
+fi
102959
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
102960
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
102961
 
+fi
102962
 
+
102963
 
+    
102964
 
+fi
102965
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_signbit" >&5
102966
 
+$as_echo "$gl_cv_func_signbit" >&6; }
102967
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit compiler built-ins" >&5
102968
 
+$as_echo_n "checking for signbit compiler built-ins... " >&6; }
102969
 
+if ${gl_cv_func_signbit_gcc+:} false; then :
102970
 
+  $as_echo_n "(cached) " >&6
102971
 
+else
102972
 
+  
102973
 
+      if test "$cross_compiling" = yes; then :
102974
 
+  gl_cv_func_signbit_gcc="guessing no"
102975
 
+else
102976
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
102977
 
+/* end confdefs.h.  */
102978
 
+
102979
 
+#if __GNUC__ >= 4
102980
 
+# define signbit(x) \
102981
 
+   (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \
102982
 
+    sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \
102983
 
+    __builtin_signbitf (x))
102984
 
+#else
102985
 
+# error "signbit should be three compiler built-ins"
102986
 
+#endif
102987
 
+#include <string.h>
102988
 
+
102989
 
+/* Global variables.
102990
 
+   Needed because GCC 4 constant-folds __builtin_signbitl (literal)
102991
 
+   but cannot constant-fold            __builtin_signbitl (variable).  */
102992
 
+float vf;
102993
 
+double vd;
102994
 
+long double vl;
102995
 
+int main ()
102996
 
+{
102997
 
+/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
102998
 
+   So we use -p0f and -p0d instead.  */
102999
 
+float p0f = 0.0f;
103000
 
+float m0f = -p0f;
103001
 
+double p0d = 0.0;
103002
 
+double m0d = -p0d;
103003
 
+/* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
103004
 
+   So we use another constant expression instead.
103005
 
+   But that expression does not work on other platforms, such as when
103006
 
+   cross-compiling to PowerPC on MacOS X 10.5.  */
103007
 
+long double p0l = 0.0L;
103008
 
+#if defined __hpux || defined __sgi
103009
 
+long double m0l = -LDBL_MIN * LDBL_MIN;
103010
 
+#else
103011
 
+long double m0l = -p0l;
103012
 
+#endif
103013
 
+  int result = 0;
103014
 
+  if (signbit (vf)) /* link check */
103015
 
+    vf++;
103016
 
+  {
103017
 
+    float plus_inf = 1.0f / p0f;
103018
 
+    float minus_inf = -1.0f / p0f;
103019
 
+    if (!(!signbit (255.0f)
103020
 
+          && signbit (-255.0f)
103021
 
+          && !signbit (p0f)
103022
 
+          && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f))
103023
 
+          && !signbit (plus_inf)
103024
 
+          && signbit (minus_inf)))
103025
 
+      result |= 1;
103026
 
+  }
103027
 
+  if (signbit (vd)) /* link check */
103028
 
+    vd++;
103029
 
+  {
103030
 
+    double plus_inf = 1.0 / p0d;
103031
 
+    double minus_inf = -1.0 / p0d;
103032
 
+    if (!(!signbit (255.0)
103033
 
+          && signbit (-255.0)
103034
 
+          && !signbit (p0d)
103035
 
+          && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d))
103036
 
+          && !signbit (plus_inf)
103037
 
+          && signbit (minus_inf)))
103038
 
+      result |= 2;
103039
 
+  }
103040
 
+  if (signbit (vl)) /* link check */
103041
 
+    vl++;
103042
 
+  {
103043
 
+    long double plus_inf = 1.0L / p0l;
103044
 
+    long double minus_inf = -1.0L / p0l;
103045
 
+    if (signbit (255.0L))
103046
 
+      result |= 4;
103047
 
+    if (!signbit (-255.0L))
103048
 
+      result |= 4;
103049
 
+    if (signbit (p0l))
103050
 
+      result |= 8;
103051
 
+    if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l)))
103052
 
+      result |= 16;
103053
 
+    if (signbit (plus_inf))
103054
 
+      result |= 32;
103055
 
+    if (!signbit (minus_inf))
103056
 
+      result |= 64;
103057
 
+  }
103058
 
+  return result;
103059
 
+}
103060
 
+
103061
 
+
103062
 
+_ACEOF
103063
 
+if ac_fn_c_try_run "$LINENO"; then :
103064
 
+  gl_cv_func_signbit_gcc=yes
103065
 
+else
103066
 
+  gl_cv_func_signbit_gcc=no
103067
 
+fi
103068
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
103069
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
103070
 
+fi
103071
 
+
103072
 
+    
103073
 
+fi
103074
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_signbit_gcc" >&5
103075
 
+$as_echo "$gl_cv_func_signbit_gcc" >&6; }
103076
 
+      if test "$gl_cv_func_signbit_gcc" = yes; then
103077
 
+    REPLACE_SIGNBIT_USING_GCC=1
103078
 
+  else
103079
 
+    if test "$gl_cv_func_signbit" != yes; then
103080
 
+            REPLACE_SIGNBIT=1
103081
 
+      
103082
 
+  
103083
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'float'" >&5
103084
 
+$as_echo_n "checking where to find the sign bit in a 'float'... " >&6; }
103085
 
+if ${gl_cv_cc_float_signbit+:} false; then :
103086
 
+  $as_echo_n "(cached) " >&6
103087
 
+else
103088
 
+  
103089
 
+      if test "$cross_compiling" = yes; then :
103090
 
+  
103091
 
+                              gl_cv_cc_float_signbit="unknown"
103092
 
+        
103093
 
+else
103094
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103095
 
+/* end confdefs.h.  */
103096
 
+
103097
 
+#include <stddef.h>
103098
 
+#include <stdio.h>
103099
 
+#define NWORDS \
103100
 
+  ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
103101
 
+typedef union { float value; unsigned int word[NWORDS]; }
103102
 
+        memory_float;
103103
 
+static memory_float plus = { 1.0f };
103104
 
+static memory_float minus = { -1.0f };
103105
 
+int main ()
103106
 
+{
103107
 
+  size_t j, k, i;
103108
 
+  unsigned int m;
103109
 
+  FILE *fp = fopen ("conftest.out", "w");
103110
 
+  if (fp == NULL)
103111
 
+    return 1;
103112
 
+  /* Find the different bit.  */
103113
 
+  k = 0; m = 0;
103114
 
+  for (j = 0; j < NWORDS; j++)
103115
 
+    {
103116
 
+      unsigned int x = plus.word[j] ^ minus.word[j];
103117
 
+      if ((x & (x - 1)) || (x && m))
103118
 
+        {
103119
 
+          /* More than one bit difference.  */
103120
 
+          fprintf (fp, "unknown");
103121
 
+          return 2;
103122
 
+        }
103123
 
+      if (x)
103124
 
+        {
103125
 
+          k = j;
103126
 
+          m = x;
103127
 
+        }
103128
 
+    }
103129
 
+  if (m == 0)
103130
 
+    {
103131
 
+      /* No difference.  */
103132
 
+      fprintf (fp, "unknown");
103133
 
+      return 3;
103134
 
+    }
103135
 
+  /* Now m = plus.word[k] ^ ~minus.word[k].  */
103136
 
+  if (plus.word[k] & ~minus.word[k])
103137
 
+    {
103138
 
+      /* Oh? The sign bit is set in the positive and cleared in the negative
103139
 
+         numbers?  */
103140
 
+      fprintf (fp, "unknown");
103141
 
+      return 4;
103142
 
+    }
103143
 
+  for (i = 0; ; i++)
103144
 
+    if ((m >> i) & 1)
103145
 
+      break;
103146
 
+  fprintf (fp, "word %d bit %d", (int) k, (int) i);
103147
 
+  if (fclose (fp) != 0)
103148
 
+    return 5;
103149
 
+  return 0;
103150
 
+}
103151
 
+        
103152
 
+_ACEOF
103153
 
+if ac_fn_c_try_run "$LINENO"; then :
103154
 
+  gl_cv_cc_float_signbit=`cat conftest.out`
103155
 
+else
103156
 
+  gl_cv_cc_float_signbit="unknown"
103157
 
+fi
103158
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
103159
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
103160
 
+fi
103161
 
+
103162
 
+      rm -f conftest.out
103163
 
+    
103164
 
+fi
103165
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_signbit" >&5
103166
 
+$as_echo "$gl_cv_cc_float_signbit" >&6; }
103167
 
+  case "$gl_cv_cc_float_signbit" in
103168
 
+    word*bit*)
103169
 
+      word=`echo "$gl_cv_cc_float_signbit" | sed -e 's/word //' -e 's/ bit.*//'`
103170
 
+      bit=`echo "$gl_cv_cc_float_signbit" | sed -e 's/word.*bit //'`
103171
 
+      
103172
 
+cat >>confdefs.h <<_ACEOF
103173
 
+@%:@define FLT_SIGNBIT_WORD $word
103174
 
+_ACEOF
103175
 
+
103176
 
+      
103177
 
+cat >>confdefs.h <<_ACEOF
103178
 
+@%:@define FLT_SIGNBIT_BIT $bit
103179
 
+_ACEOF
103180
 
+
103181
 
+      ;;
103182
 
+  esac
103183
 
+
103184
 
+
103185
 
+      
103186
 
+  
103187
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'double'" >&5
103188
 
+$as_echo_n "checking where to find the sign bit in a 'double'... " >&6; }
103189
 
+if ${gl_cv_cc_double_signbit+:} false; then :
103190
 
+  $as_echo_n "(cached) " >&6
103191
 
+else
103192
 
+  
103193
 
+      if test "$cross_compiling" = yes; then :
103194
 
+  
103195
 
+                              gl_cv_cc_double_signbit="unknown"
103196
 
+        
103197
 
+else
103198
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103199
 
+/* end confdefs.h.  */
103200
 
+
103201
 
+#include <stddef.h>
103202
 
+#include <stdio.h>
103203
 
+#define NWORDS \
103204
 
+  ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
103205
 
+typedef union { double value; unsigned int word[NWORDS]; }
103206
 
+        memory_float;
103207
 
+static memory_float plus = { 1.0 };
103208
 
+static memory_float minus = { -1.0 };
103209
 
+int main ()
103210
 
+{
103211
 
+  size_t j, k, i;
103212
 
+  unsigned int m;
103213
 
+  FILE *fp = fopen ("conftest.out", "w");
103214
 
+  if (fp == NULL)
103215
 
+    return 1;
103216
 
+  /* Find the different bit.  */
103217
 
+  k = 0; m = 0;
103218
 
+  for (j = 0; j < NWORDS; j++)
103219
 
+    {
103220
 
+      unsigned int x = plus.word[j] ^ minus.word[j];
103221
 
+      if ((x & (x - 1)) || (x && m))
103222
 
+        {
103223
 
+          /* More than one bit difference.  */
103224
 
+          fprintf (fp, "unknown");
103225
 
+          return 2;
103226
 
+        }
103227
 
+      if (x)
103228
 
+        {
103229
 
+          k = j;
103230
 
+          m = x;
103231
 
+        }
103232
 
+    }
103233
 
+  if (m == 0)
103234
 
+    {
103235
 
+      /* No difference.  */
103236
 
+      fprintf (fp, "unknown");
103237
 
+      return 3;
103238
 
+    }
103239
 
+  /* Now m = plus.word[k] ^ ~minus.word[k].  */
103240
 
+  if (plus.word[k] & ~minus.word[k])
103241
 
+    {
103242
 
+      /* Oh? The sign bit is set in the positive and cleared in the negative
103243
 
+         numbers?  */
103244
 
+      fprintf (fp, "unknown");
103245
 
+      return 4;
103246
 
+    }
103247
 
+  for (i = 0; ; i++)
103248
 
+    if ((m >> i) & 1)
103249
 
+      break;
103250
 
+  fprintf (fp, "word %d bit %d", (int) k, (int) i);
103251
 
+  if (fclose (fp) != 0)
103252
 
+    return 5;
103253
 
+  return 0;
103254
 
+}
103255
 
+        
103256
 
+_ACEOF
103257
 
+if ac_fn_c_try_run "$LINENO"; then :
103258
 
+  gl_cv_cc_double_signbit=`cat conftest.out`
103259
 
+else
103260
 
+  gl_cv_cc_double_signbit="unknown"
103261
 
+fi
103262
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
103263
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
103264
 
+fi
103265
 
+
103266
 
+      rm -f conftest.out
103267
 
+    
103268
 
+fi
103269
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_signbit" >&5
103270
 
+$as_echo "$gl_cv_cc_double_signbit" >&6; }
103271
 
+  case "$gl_cv_cc_double_signbit" in
103272
 
+    word*bit*)
103273
 
+      word=`echo "$gl_cv_cc_double_signbit" | sed -e 's/word //' -e 's/ bit.*//'`
103274
 
+      bit=`echo "$gl_cv_cc_double_signbit" | sed -e 's/word.*bit //'`
103275
 
+      
103276
 
+cat >>confdefs.h <<_ACEOF
103277
 
+@%:@define DBL_SIGNBIT_WORD $word
103278
 
+_ACEOF
103279
 
+
103280
 
+      
103281
 
+cat >>confdefs.h <<_ACEOF
103282
 
+@%:@define DBL_SIGNBIT_BIT $bit
103283
 
+_ACEOF
103284
 
+
103285
 
+      ;;
103286
 
+  esac
103287
 
+
103288
 
+
103289
 
+      
103290
 
+  
103291
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'long double'" >&5
103292
 
+$as_echo_n "checking where to find the sign bit in a 'long double'... " >&6; }
103293
 
+if ${gl_cv_cc_long_double_signbit+:} false; then :
103294
 
+  $as_echo_n "(cached) " >&6
103295
 
+else
103296
 
+  
103297
 
+      if test "$cross_compiling" = yes; then :
103298
 
+  
103299
 
+                              gl_cv_cc_long_double_signbit="unknown"
103300
 
+        
103301
 
+else
103302
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103303
 
+/* end confdefs.h.  */
103304
 
+
103305
 
+#include <stddef.h>
103306
 
+#include <stdio.h>
103307
 
+#define NWORDS \
103308
 
+  ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
103309
 
+typedef union { long double value; unsigned int word[NWORDS]; }
103310
 
+        memory_float;
103311
 
+static memory_float plus = { 1.0L };
103312
 
+static memory_float minus = { -1.0L };
103313
 
+int main ()
103314
 
+{
103315
 
+  size_t j, k, i;
103316
 
+  unsigned int m;
103317
 
+  FILE *fp = fopen ("conftest.out", "w");
103318
 
+  if (fp == NULL)
103319
 
+    return 1;
103320
 
+  /* Find the different bit.  */
103321
 
+  k = 0; m = 0;
103322
 
+  for (j = 0; j < NWORDS; j++)
103323
 
+    {
103324
 
+      unsigned int x = plus.word[j] ^ minus.word[j];
103325
 
+      if ((x & (x - 1)) || (x && m))
103326
 
+        {
103327
 
+          /* More than one bit difference.  */
103328
 
+          fprintf (fp, "unknown");
103329
 
+          return 2;
103330
 
+        }
103331
 
+      if (x)
103332
 
+        {
103333
 
+          k = j;
103334
 
+          m = x;
103335
 
+        }
103336
 
+    }
103337
 
+  if (m == 0)
103338
 
+    {
103339
 
+      /* No difference.  */
103340
 
+      fprintf (fp, "unknown");
103341
 
+      return 3;
103342
 
+    }
103343
 
+  /* Now m = plus.word[k] ^ ~minus.word[k].  */
103344
 
+  if (plus.word[k] & ~minus.word[k])
103345
 
+    {
103346
 
+      /* Oh? The sign bit is set in the positive and cleared in the negative
103347
 
+         numbers?  */
103348
 
+      fprintf (fp, "unknown");
103349
 
+      return 4;
103350
 
+    }
103351
 
+  for (i = 0; ; i++)
103352
 
+    if ((m >> i) & 1)
103353
 
+      break;
103354
 
+  fprintf (fp, "word %d bit %d", (int) k, (int) i);
103355
 
+  if (fclose (fp) != 0)
103356
 
+    return 5;
103357
 
+  return 0;
103358
 
+}
103359
 
+        
103360
 
+_ACEOF
103361
 
+if ac_fn_c_try_run "$LINENO"; then :
103362
 
+  gl_cv_cc_long_double_signbit=`cat conftest.out`
103363
 
+else
103364
 
+  gl_cv_cc_long_double_signbit="unknown"
103365
 
+fi
103366
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
103367
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
103368
 
+fi
103369
 
+
103370
 
+      rm -f conftest.out
103371
 
+    
103372
 
+fi
103373
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_signbit" >&5
103374
 
+$as_echo "$gl_cv_cc_long_double_signbit" >&6; }
103375
 
+  case "$gl_cv_cc_long_double_signbit" in
103376
 
+    word*bit*)
103377
 
+      word=`echo "$gl_cv_cc_long_double_signbit" | sed -e 's/word //' -e 's/ bit.*//'`
103378
 
+      bit=`echo "$gl_cv_cc_long_double_signbit" | sed -e 's/word.*bit //'`
103379
 
+      
103380
 
+cat >>confdefs.h <<_ACEOF
103381
 
+@%:@define LDBL_SIGNBIT_WORD $word
103382
 
+_ACEOF
103383
 
+
103384
 
+      
103385
 
+cat >>confdefs.h <<_ACEOF
103386
 
+@%:@define LDBL_SIGNBIT_BIT $bit
103387
 
+_ACEOF
103388
 
+
103389
 
+      ;;
103390
 
+  esac
103391
 
+
103392
 
+
103393
 
+      if test "$gl_cv_cc_float_signbit" = unknown; then
103394
 
+                ac_fn_c_check_decl "$LINENO" "copysignf" "ac_cv_have_decl_copysignf" "#include <math.h>
103395
 
+"
103396
 
+if test "x$ac_cv_have_decl_copysignf" = xyes; then :
103397
 
+  ac_have_decl=1
103398
 
+else
103399
 
+  ac_have_decl=0
103400
 
+fi
103401
 
+
103402
 
+cat >>confdefs.h <<_ACEOF
103403
 
+@%:@define HAVE_DECL_COPYSIGNF $ac_have_decl
103404
 
+_ACEOF
103405
 
+
103406
 
+        if test "$ac_cv_have_decl_copysignf" = yes; then
103407
 
+                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignf can be used without linking with libm" >&5
103408
 
+$as_echo_n "checking whether copysignf can be used without linking with libm... " >&6; }
103409
 
+if ${gl_cv_func_copysignf_no_libm+:} false; then :
103410
 
+  $as_echo_n "(cached) " >&6
103411
 
+else
103412
 
+  
103413
 
+              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103414
 
+/* end confdefs.h.  */
103415
 
+#include <math.h>
103416
 
+                     float x, y;
103417
 
+int
103418
 
+main ()
103419
 
+{
103420
 
+return copysignf (x, y) < 0;
103421
 
+  ;
103422
 
+  return 0;
103423
 
+}
103424
 
+_ACEOF
103425
 
+if ac_fn_c_try_link "$LINENO"; then :
103426
 
+  gl_cv_func_copysignf_no_libm=yes
103427
 
+else
103428
 
+  gl_cv_func_copysignf_no_libm=no
103429
 
+fi
103430
 
+rm -f core conftest.err conftest.$ac_objext \
103431
 
+    conftest$ac_exeext conftest.$ac_ext
103432
 
+            
103433
 
+fi
103434
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysignf_no_libm" >&5
103435
 
+$as_echo "$gl_cv_func_copysignf_no_libm" >&6; }
103436
 
+          if test $gl_cv_func_copysignf_no_libm = yes; then
103437
 
+            
103438
 
+$as_echo "@%:@define HAVE_COPYSIGNF_IN_LIBC 1" >>confdefs.h
103439
 
+
103440
 
+          fi
103441
 
+        fi
103442
 
+      fi
103443
 
+      if test "$gl_cv_cc_double_signbit" = unknown; then
103444
 
+                ac_fn_c_check_decl "$LINENO" "copysign" "ac_cv_have_decl_copysign" "#include <math.h>
103445
 
+"
103446
 
+if test "x$ac_cv_have_decl_copysign" = xyes; then :
103447
 
+  ac_have_decl=1
103448
 
+else
103449
 
+  ac_have_decl=0
103450
 
+fi
103451
 
+
103452
 
+cat >>confdefs.h <<_ACEOF
103453
 
+@%:@define HAVE_DECL_COPYSIGN $ac_have_decl
103454
 
+_ACEOF
103455
 
+
103456
 
+        if test "$ac_cv_have_decl_copysign" = yes; then
103457
 
+                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysign can be used without linking with libm" >&5
103458
 
+$as_echo_n "checking whether copysign can be used without linking with libm... " >&6; }
103459
 
+if ${gl_cv_func_copysign_no_libm+:} false; then :
103460
 
+  $as_echo_n "(cached) " >&6
103461
 
+else
103462
 
+  
103463
 
+              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103464
 
+/* end confdefs.h.  */
103465
 
+#include <math.h>
103466
 
+                     double x, y;
103467
 
+int
103468
 
+main ()
103469
 
+{
103470
 
+return copysign (x, y) < 0;
103471
 
+  ;
103472
 
+  return 0;
103473
 
+}
103474
 
+_ACEOF
103475
 
+if ac_fn_c_try_link "$LINENO"; then :
103476
 
+  gl_cv_func_copysign_no_libm=yes
103477
 
+else
103478
 
+  gl_cv_func_copysign_no_libm=no
103479
 
+fi
103480
 
+rm -f core conftest.err conftest.$ac_objext \
103481
 
+    conftest$ac_exeext conftest.$ac_ext
103482
 
+            
103483
 
+fi
103484
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysign_no_libm" >&5
103485
 
+$as_echo "$gl_cv_func_copysign_no_libm" >&6; }
103486
 
+          if test $gl_cv_func_copysign_no_libm = yes; then
103487
 
+            
103488
 
+$as_echo "@%:@define HAVE_COPYSIGN_IN_LIBC 1" >>confdefs.h
103489
 
+
103490
 
+          fi
103491
 
+        fi
103492
 
+      fi
103493
 
+      if test "$gl_cv_cc_long_double_signbit" = unknown; then
103494
 
+                ac_fn_c_check_decl "$LINENO" "copysignl" "ac_cv_have_decl_copysignl" "#include <math.h>
103495
 
+"
103496
 
+if test "x$ac_cv_have_decl_copysignl" = xyes; then :
103497
 
+  ac_have_decl=1
103498
 
+else
103499
 
+  ac_have_decl=0
103500
 
+fi
103501
 
+
103502
 
+cat >>confdefs.h <<_ACEOF
103503
 
+@%:@define HAVE_DECL_COPYSIGNL $ac_have_decl
103504
 
+_ACEOF
103505
 
+
103506
 
+        if test "$ac_cv_have_decl_copysignl" = yes; then
103507
 
+                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignl can be used without linking with libm" >&5
103508
 
+$as_echo_n "checking whether copysignl can be used without linking with libm... " >&6; }
103509
 
+if ${gl_cv_func_copysignl_no_libm+:} false; then :
103510
 
+  $as_echo_n "(cached) " >&6
103511
 
+else
103512
 
+  
103513
 
+              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103514
 
+/* end confdefs.h.  */
103515
 
+#include <math.h>
103516
 
+                     long double x, y;
103517
 
+int
103518
 
+main ()
103519
 
+{
103520
 
+return copysignl (x, y) < 0;
103521
 
+  ;
103522
 
+  return 0;
103523
 
+}
103524
 
+_ACEOF
103525
 
+if ac_fn_c_try_link "$LINENO"; then :
103526
 
+  gl_cv_func_copysignl_no_libm=yes
103527
 
+else
103528
 
+  gl_cv_func_copysignl_no_libm=no
103529
 
+fi
103530
 
+rm -f core conftest.err conftest.$ac_objext \
103531
 
+    conftest$ac_exeext conftest.$ac_ext
103532
 
+            
103533
 
+fi
103534
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysignl_no_libm" >&5
103535
 
+$as_echo "$gl_cv_func_copysignl_no_libm" >&6; }
103536
 
+          if test $gl_cv_func_copysignl_no_libm = yes; then
103537
 
+            
103538
 
+$as_echo "@%:@define HAVE_COPYSIGNL_IN_LIBC 1" >>confdefs.h
103539
 
+
103540
 
+          fi
103541
 
+        fi
103542
 
+      fi
103543
 
+    fi
103544
 
+  fi
103545
 
+
103546
 
+if test $REPLACE_SIGNBIT = 1; then
103547
 
+  
103548
 
+  
103549
 
+  
103550
 
+    
103551
 
+      
103552
 
+      
103553
 
+    
103554
 
+  
103555
 
+  gl_LIBOBJS="$gl_LIBOBJS signbitf.$ac_objext"
103556
 
+
103557
 
+  
103558
 
+  
103559
 
+  
103560
 
+    
103561
 
+      
103562
 
+      
103563
 
+    
103564
 
+  
103565
 
+  gl_LIBOBJS="$gl_LIBOBJS signbitd.$ac_objext"
103566
 
+
103567
 
+  
103568
 
+  
103569
 
+  
103570
 
+    
103571
 
+      
103572
 
+      
103573
 
+    
103574
 
+  
103575
 
+  gl_LIBOBJS="$gl_LIBOBJS signbitl.$ac_objext"
103576
 
+
103577
 
+fi
103578
 
+
103579
 
+    
103580
 
+  
103581
 
+  
103582
 
+  
103583
 
+          GNULIB_SIGNBIT=1
103584
 
+    
103585
 
+
103586
 
+
103587
 
+    
103588
 
+  
103589
 
+$as_echo "@%:@define GNULIB_TEST_SIGNBIT 1" >>confdefs.h
103590
 
+
103591
 
+
103592
 
+
103593
 
+
103594
 
+  
103595
 
+  
103596
 
+  if test $gl_cv_type_sigset_t = yes; then
103597
 
+    ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
103598
 
+if test "x$ac_cv_func_sigprocmask" = xyes; then :
103599
 
+  gl_cv_func_sigprocmask=1
103600
 
+fi
103601
 
+
103602
 
+  fi
103603
 
+  if test -z "$gl_cv_func_sigprocmask"; then
103604
 
+    HAVE_POSIX_SIGNALBLOCKING=0
103605
 
+  fi
103606
 
+
103607
 
+if test $HAVE_POSIX_SIGNALBLOCKING = 0; then
103608
 
+  
103609
 
+  
103610
 
+  
103611
 
+    
103612
 
+      
103613
 
+      
103614
 
+    
103615
 
+  
103616
 
+  gl_LIBOBJS="$gl_LIBOBJS sigprocmask.$ac_objext"
103617
 
+
103618
 
+  :
103619
 
+fi
103620
 
+
103621
 
+    
103622
 
+  
103623
 
+  
103624
 
+  
103625
 
+          GNULIB_SIGPROCMASK=1
103626
 
+    
103627
 
+
103628
 
+
103629
 
+    
103630
 
+  
103631
 
+$as_echo "@%:@define GNULIB_TEST_SIGPROCMASK 1" >>confdefs.h
103632
 
+
103633
 
+
103634
 
+
103635
 
+
103636
 
+  for ac_header in stdint.h
103637
 
+do :
103638
 
+  ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
103639
 
+if test "x$ac_cv_header_stdint_h" = xyes; then :
103640
 
+  cat >>confdefs.h <<_ACEOF
103641
 
+@%:@define HAVE_STDINT_H 1
103642
 
+_ACEOF
103643
 
103644
 
+fi
103645
 
+
103646
 
+done
103647
 
+
103648
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
103649
 
+$as_echo_n "checking for SIZE_MAX... " >&6; }
103650
 
+if ${gl_cv_size_max+:} false; then :
103651
 
+  $as_echo_n "(cached) " >&6
103652
 
+else
103653
 
+  
103654
 
+    gl_cv_size_max=
103655
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103656
 
+/* end confdefs.h.  */
103657
 
+
103658
 
+#include <limits.h>
103659
 
+#if HAVE_STDINT_H
103660
 
+#include <stdint.h>
103661
 
+#endif
103662
 
+#ifdef SIZE_MAX
103663
 
+Found it
103664
 
+#endif
103665
 
+
103666
 
+_ACEOF
103667
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
103668
 
+  $EGREP "Found it" >/dev/null 2>&1; then :
103669
 
+  gl_cv_size_max=yes
103670
 
+fi
103671
 
+rm -f conftest*
103672
 
+
103673
 
+    if test -z "$gl_cv_size_max"; then
103674
 
+                        if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1"        "#include <stddef.h>
103675
 
+#include <limits.h>"; then :
103676
 
+  
103677
 
+else
103678
 
+  size_t_bits_minus_1=
103679
 
+fi
103680
 
+
103681
 
+      if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint"        "#include <stddef.h>"; then :
103682
 
+  
103683
 
+else
103684
 
+  fits_in_uint=
103685
 
+fi
103686
 
+
103687
 
+      if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
103688
 
+        if test $fits_in_uint = 1; then
103689
 
+                              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103690
 
+/* end confdefs.h.  */
103691
 
+#include <stddef.h>
103692
 
+                 extern size_t foo;
103693
 
+                 extern unsigned long foo;
103694
 
+               
103695
 
+int
103696
 
+main ()
103697
 
+{
103698
 
+
103699
 
+  ;
103700
 
+  return 0;
103701
 
+}
103702
 
+_ACEOF
103703
 
+if ac_fn_c_try_compile "$LINENO"; then :
103704
 
+  fits_in_uint=0
103705
 
+fi
103706
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
103707
 
+        fi
103708
 
+                                if test $fits_in_uint = 1; then
103709
 
+          gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
103710
 
+        else
103711
 
+          gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
103712
 
+        fi
103713
 
+      else
103714
 
+                gl_cv_size_max='((size_t)~(size_t)0)'
103715
 
+      fi
103716
 
+    fi
103717
 
+  
103718
 
+fi
103719
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5
103720
 
+$as_echo "$gl_cv_size_max" >&6; }
103721
 
+  if test "$gl_cv_size_max" != yes; then
103722
 
+    
103723
 
+cat >>confdefs.h <<_ACEOF
103724
 
+@%:@define SIZE_MAX $gl_cv_size_max
103725
 
+_ACEOF
103726
 
+
103727
 
+  fi
103728
 
+        
103729
 
+
103730
 
+
103731
 
+  
103732
 
+  gl_cv_func_snprintf_usable=no
103733
 
+  for ac_func in snprintf
103734
 
+do :
103735
 
+  ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
103736
 
+if test "x$ac_cv_func_snprintf" = xyes; then :
103737
 
+  cat >>confdefs.h <<_ACEOF
103738
 
+@%:@define HAVE_SNPRINTF 1
103739
 
+_ACEOF
103740
 
103741
 
+fi
103742
 
+done
103743
 
+
103744
 
+  if test $ac_cv_func_snprintf = yes; then
103745
 
+    
103746
 
+  
103747
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5
103748
 
+$as_echo_n "checking whether snprintf respects a size of 1... " >&6; }
103749
 
+if ${gl_cv_func_snprintf_size1+:} false; then :
103750
 
+  $as_echo_n "(cached) " >&6
103751
 
+else
103752
 
+  
103753
 
+      if test "$cross_compiling" = yes; then :
103754
 
+  gl_cv_func_snprintf_size1="guessing yes"
103755
 
+else
103756
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103757
 
+/* end confdefs.h.  */
103758
 
+
103759
 
+#include <stdio.h>
103760
 
+int main()
103761
 
+{
103762
 
+  static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' };
103763
 
+  snprintf (buf, 1, "%d", 12345);
103764
 
+  return buf[1] != 'E';
103765
 
+}
103766
 
+_ACEOF
103767
 
+if ac_fn_c_try_run "$LINENO"; then :
103768
 
+  gl_cv_func_snprintf_size1=yes
103769
 
+else
103770
 
+  gl_cv_func_snprintf_size1=no
103771
 
+fi
103772
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
103773
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
103774
 
+fi
103775
 
+
103776
 
+    
103777
 
+fi
103778
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_size1" >&5
103779
 
+$as_echo "$gl_cv_func_snprintf_size1" >&6; }
103780
 
+
103781
 
+    case "$gl_cv_func_snprintf_size1" in
103782
 
+      *yes)
103783
 
+        
103784
 
+        case "$gl_cv_func_snprintf_retval_c99" in
103785
 
+          *yes)
103786
 
+            
103787
 
+  
103788
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports POSIX/XSI format strings with positions" >&5
103789
 
+$as_echo_n "checking whether printf supports POSIX/XSI format strings with positions... " >&6; }
103790
 
+if ${gl_cv_func_printf_positions+:} false; then :
103791
 
+  $as_echo_n "(cached) " >&6
103792
 
+else
103793
 
+  
103794
 
+      if test "$cross_compiling" = yes; then :
103795
 
+  
103796
 
+         case "$host_os" in
103797
 
+           netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*)
103798
 
+                         gl_cv_func_printf_positions="guessing no";;
103799
 
+           beos*)        gl_cv_func_printf_positions="guessing no";;
103800
 
+           mingw* | pw*) gl_cv_func_printf_positions="guessing no";;
103801
 
+           *)            gl_cv_func_printf_positions="guessing yes";;
103802
 
+         esac
103803
 
+        
103804
 
+else
103805
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103806
 
+/* end confdefs.h.  */
103807
 
+
103808
 
+#include <stdio.h>
103809
 
+#include <string.h>
103810
 
+/* The string "%2$d %1$d", with dollar characters protected from the shell's
103811
 
+   dollar expansion (possibly an autoconf bug).  */
103812
 
+static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
103813
 
+static char buf[100];
103814
 
+int main ()
103815
 
+{
103816
 
+  sprintf (buf, format, 33, 55);
103817
 
+  return (strcmp (buf, "55 33") != 0);
103818
 
+}
103819
 
+_ACEOF
103820
 
+if ac_fn_c_try_run "$LINENO"; then :
103821
 
+  gl_cv_func_printf_positions=yes
103822
 
+else
103823
 
+  gl_cv_func_printf_positions=no
103824
 
+fi
103825
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
103826
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
103827
 
+fi
103828
 
+
103829
 
+    
103830
 
+fi
103831
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_positions" >&5
103832
 
+$as_echo "$gl_cv_func_printf_positions" >&6; }
103833
 
+
103834
 
+            case "$gl_cv_func_printf_positions" in
103835
 
+              *yes)
103836
 
+                gl_cv_func_snprintf_usable=yes
103837
 
+                ;;
103838
 
+            esac
103839
 
+            ;;
103840
 
+        esac
103841
 
+        ;;
103842
 
+    esac
103843
 
+  fi
103844
 
+  if test $gl_cv_func_snprintf_usable = no; then
103845
 
+    
103846
 
+  
103847
 
+  
103848
 
+  
103849
 
+  
103850
 
+    
103851
 
+      
103852
 
+      
103853
 
+    
103854
 
+  
103855
 
+  gl_LIBOBJS="$gl_LIBOBJS snprintf.$ac_objext"
103856
 
+
103857
 
+  if test $ac_cv_func_snprintf = yes; then
103858
 
+    REPLACE_SNPRINTF=1
103859
 
+  fi
103860
 
+  :
103861
 
+
103862
 
+  fi
103863
 
+  
103864
 
+  if test $ac_cv_have_decl_snprintf = no; then
103865
 
+    HAVE_DECL_SNPRINTF=0
103866
 
+  fi
103867
 
+
103868
 
+
103869
 
+    
103870
 
+  
103871
 
+  
103872
 
+  
103873
 
+          GNULIB_SNPRINTF=1
103874
 
+    
103875
 
+
103876
 
+
103877
 
+    
103878
 
+  
103879
 
+$as_echo "@%:@define GNULIB_TEST_SNPRINTF 1" >>confdefs.h
103880
 
+
103881
 
+
103882
 
+
103883
 
+
103884
 
+  
103885
 
+cat >>confdefs.h <<_ACEOF
103886
 
+@%:@define GNULIB_SNPRINTF 1
103887
 
+_ACEOF
103888
 
+
103889
 
+
103890
 
+
103891
 
+  
103892
 
+  
103893
 
+  
103894
 
+  
103895
 
+  if test $ac_cv_header_sys_socket_h != yes; then
103896
 
+                    for ac_header in winsock2.h
103897
 
+do :
103898
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
103899
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
103900
 
+  cat >>confdefs.h <<_ACEOF
103901
 
+@%:@define HAVE_WINSOCK2_H 1
103902
 
+_ACEOF
103903
 
103904
 
+fi
103905
 
+
103906
 
+done
103907
 
+
103908
 
+  fi
103909
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
103910
 
+    HAVE_WINSOCK2_H=1
103911
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
103912
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
103913
 
+  else
103914
 
+    HAVE_WINSOCK2_H=0
103915
 
+  fi
103916
 
+  
103917
 
+   LIBSOCKET=
103918
 
+  if test $HAVE_WINSOCK2_H = 1; then
103919
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to call WSAStartup in winsock2.h and -lws2_32" >&5
103920
 
+$as_echo_n "checking if we need to call WSAStartup in winsock2.h and -lws2_32... " >&6; }
103921
 
+if ${gl_cv_func_wsastartup+:} false; then :
103922
 
+  $as_echo_n "(cached) " >&6
103923
 
+else
103924
 
+  
103925
 
+      gl_save_LIBS="$LIBS"
103926
 
+      LIBS="$LIBS -lws2_32"
103927
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103928
 
+/* end confdefs.h.  */
103929
 
+
103930
 
+#ifdef HAVE_WINSOCK2_H
103931
 
+# include <winsock2.h>
103932
 
+#endif
103933
 
+int
103934
 
+main ()
103935
 
+{
103936
 
+
103937
 
+          WORD wVersionRequested = MAKEWORD(1, 1);
103938
 
+          WSADATA wsaData;
103939
 
+          int err = WSAStartup(wVersionRequested, &wsaData);
103940
 
+          WSACleanup ();
103941
 
+  ;
103942
 
+  return 0;
103943
 
+}
103944
 
+_ACEOF
103945
 
+if ac_fn_c_try_link "$LINENO"; then :
103946
 
+  gl_cv_func_wsastartup=yes
103947
 
+else
103948
 
+  gl_cv_func_wsastartup=no
103949
 
+fi
103950
 
+rm -f core conftest.err conftest.$ac_objext \
103951
 
+    conftest$ac_exeext conftest.$ac_ext
103952
 
+      LIBS="$gl_save_LIBS"
103953
 
+    
103954
 
+fi
103955
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wsastartup" >&5
103956
 
+$as_echo "$gl_cv_func_wsastartup" >&6; }
103957
 
+    if test "$gl_cv_func_wsastartup" = "yes"; then
103958
 
+      
103959
 
+$as_echo "@%:@define WINDOWS_SOCKETS 1" >>confdefs.h
103960
 
+
103961
 
+      LIBSOCKET='-lws2_32'
103962
 
+    fi
103963
 
+  else
103964
 
+                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
103965
 
+$as_echo_n "checking for library containing setsockopt... " >&6; }
103966
 
+if ${gl_cv_lib_socket+:} false; then :
103967
 
+  $as_echo_n "(cached) " >&6
103968
 
+else
103969
 
+  
103970
 
+      gl_cv_lib_socket=
103971
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103972
 
+/* end confdefs.h.  */
103973
 
+extern
103974
 
+#ifdef __cplusplus
103975
 
+"C"
103976
 
+#endif
103977
 
+char setsockopt();
103978
 
+int
103979
 
+main ()
103980
 
+{
103981
 
+setsockopt();
103982
 
+  ;
103983
 
+  return 0;
103984
 
+}
103985
 
+_ACEOF
103986
 
+if ac_fn_c_try_link "$LINENO"; then :
103987
 
+  
103988
 
+else
103989
 
+  gl_save_LIBS="$LIBS"
103990
 
+         LIBS="$gl_save_LIBS -lsocket"
103991
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103992
 
+/* end confdefs.h.  */
103993
 
+extern
103994
 
+#ifdef __cplusplus
103995
 
+"C"
103996
 
+#endif
103997
 
+char setsockopt();
103998
 
+int
103999
 
+main ()
104000
 
+{
104001
 
+setsockopt();
104002
 
+  ;
104003
 
+  return 0;
104004
 
+}
104005
 
+_ACEOF
104006
 
+if ac_fn_c_try_link "$LINENO"; then :
104007
 
+  gl_cv_lib_socket="-lsocket"
104008
 
+fi
104009
 
+rm -f core conftest.err conftest.$ac_objext \
104010
 
+    conftest$ac_exeext conftest.$ac_ext
104011
 
+         if test -z "$gl_cv_lib_socket"; then
104012
 
+           LIBS="$gl_save_LIBS -lnetwork"
104013
 
+           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104014
 
+/* end confdefs.h.  */
104015
 
+extern
104016
 
+#ifdef __cplusplus
104017
 
+"C"
104018
 
+#endif
104019
 
+char setsockopt();
104020
 
+int
104021
 
+main ()
104022
 
+{
104023
 
+setsockopt();
104024
 
+  ;
104025
 
+  return 0;
104026
 
+}
104027
 
+_ACEOF
104028
 
+if ac_fn_c_try_link "$LINENO"; then :
104029
 
+  gl_cv_lib_socket="-lnetwork"
104030
 
+fi
104031
 
+rm -f core conftest.err conftest.$ac_objext \
104032
 
+    conftest$ac_exeext conftest.$ac_ext
104033
 
+           if test -z "$gl_cv_lib_socket"; then
104034
 
+             LIBS="$gl_save_LIBS -lnet"
104035
 
+             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104036
 
+/* end confdefs.h.  */
104037
 
+extern
104038
 
+#ifdef __cplusplus
104039
 
+"C"
104040
 
+#endif
104041
 
+char setsockopt();
104042
 
+int
104043
 
+main ()
104044
 
+{
104045
 
+setsockopt();
104046
 
+  ;
104047
 
+  return 0;
104048
 
+}
104049
 
+_ACEOF
104050
 
+if ac_fn_c_try_link "$LINENO"; then :
104051
 
+  gl_cv_lib_socket="-lnet"
104052
 
+fi
104053
 
+rm -f core conftest.err conftest.$ac_objext \
104054
 
+    conftest$ac_exeext conftest.$ac_ext
104055
 
+           fi
104056
 
+         fi
104057
 
+         LIBS="$gl_save_LIBS"
104058
 
+        
104059
 
+fi
104060
 
+rm -f core conftest.err conftest.$ac_objext \
104061
 
+    conftest$ac_exeext conftest.$ac_ext
104062
 
+      if test -z "$gl_cv_lib_socket"; then
104063
 
+        gl_cv_lib_socket="none needed"
104064
 
+      fi
104065
 
+    
104066
 
+fi
104067
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_socket" >&5
104068
 
+$as_echo "$gl_cv_lib_socket" >&6; }
104069
 
+    if test "$gl_cv_lib_socket" != "none needed"; then
104070
 
+      LIBSOCKET="$gl_cv_lib_socket"
104071
 
+    fi
104072
 
+  fi
104073
 
+  
104074
 
+
104075
 
+
104076
 
+  
104077
 
+  
104078
 
+  
104079
 
+  :
104080
 
+
104081
 
+
104082
 
+   ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
104083
 
+/* <sys/types.h> is not needed according to POSIX, but the
104084
 
+   <sys/socket.h> in i386-unknown-freebsd4.10 and
104085
 
+   powerpc-apple-darwin5.5 required it. */
104086
 
+#include <sys/types.h>
104087
 
+#if HAVE_SYS_SOCKET_H
104088
 
+# include <sys/socket.h>
104089
 
+#elif HAVE_WS2TCPIP_H
104090
 
+# include <ws2tcpip.h>
104091
 
+#endif
104092
 
+
104093
 
+"
104094
 
+if test "x$ac_cv_type_socklen_t" = xyes; then :
104095
 
+  
104096
 
+else
104097
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
104098
 
+$as_echo_n "checking for socklen_t equivalent... " >&6; }
104099
 
+      if ${gl_cv_socklen_t_equiv+:} false; then :
104100
 
+  $as_echo_n "(cached) " >&6
104101
 
+else
104102
 
+  # Systems have either "struct sockaddr *" or
104103
 
+         # "void *" as the second argument to getpeername
104104
 
+         gl_cv_socklen_t_equiv=
104105
 
+         for arg2 in "struct sockaddr" void; do
104106
 
+           for t in int size_t "unsigned int" "long int" "unsigned long int"; do
104107
 
+             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104108
 
+/* end confdefs.h.  */
104109
 
+#include <sys/types.h>
104110
 
+                   #include <sys/socket.h>
104111
 
+
104112
 
+                   int getpeername (int, $arg2 *, $t *);
104113
 
+int
104114
 
+main ()
104115
 
+{
104116
 
+$t len;
104117
 
+                  getpeername (0, 0, &len);
104118
 
+  ;
104119
 
+  return 0;
104120
 
+}
104121
 
+_ACEOF
104122
 
+if ac_fn_c_try_compile "$LINENO"; then :
104123
 
+  gl_cv_socklen_t_equiv="$t"
104124
 
+fi
104125
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
104126
 
+             test "$gl_cv_socklen_t_equiv" != "" && break
104127
 
+           done
104128
 
+           test "$gl_cv_socklen_t_equiv" != "" && break
104129
 
+         done
104130
 
+      
104131
 
+fi
104132
 
+
104133
 
+      if test "$gl_cv_socklen_t_equiv" = ""; then
104134
 
+        as_fn_error $? "Cannot find a type to use in place of socklen_t" "$LINENO" 5
104135
 
+      fi
104136
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_socklen_t_equiv" >&5
104137
 
+$as_echo "$gl_cv_socklen_t_equiv" >&6; }
104138
 
+      
104139
 
+cat >>confdefs.h <<_ACEOF
104140
 
+@%:@define socklen_t $gl_cv_socklen_t_equiv
104141
 
+_ACEOF
104142
 
+
104143
 
+fi
104144
 
+
104145
 
+
104146
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
104147
 
+$as_echo_n "checking for ssize_t... " >&6; }
104148
 
+if ${gt_cv_ssize_t+:} false; then :
104149
 
+  $as_echo_n "(cached) " >&6
104150
 
+else
104151
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104152
 
+/* end confdefs.h.  */
104153
 
+#include <sys/types.h>
104154
 
+int
104155
 
+main ()
104156
 
+{
104157
 
+int x = sizeof (ssize_t *) + sizeof (ssize_t);
104158
 
+            return !x;
104159
 
+  ;
104160
 
+  return 0;
104161
 
+}
104162
 
+_ACEOF
104163
 
+if ac_fn_c_try_compile "$LINENO"; then :
104164
 
+  gt_cv_ssize_t=yes
104165
 
+else
104166
 
+  gt_cv_ssize_t=no
104167
 
+fi
104168
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
104169
 
+fi
104170
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5
104171
 
+$as_echo "$gt_cv_ssize_t" >&6; }
104172
 
+  if test $gt_cv_ssize_t = no; then
104173
 
+    
104174
 
+$as_echo "@%:@define ssize_t int" >>confdefs.h
104175
 
+
104176
 
+  fi
104177
 
+
104178
 
+
104179
 
+     
104180
 
+  
104181
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on directories" >&5
104182
 
+$as_echo_n "checking whether stat handles trailing slashes on directories... " >&6; }
104183
 
+if ${gl_cv_func_stat_dir_slash+:} false; then :
104184
 
+  $as_echo_n "(cached) " >&6
104185
 
+else
104186
 
+  if test "$cross_compiling" = yes; then :
104187
 
+  case $host_os in
104188
 
+            mingw*) gl_cv_func_stat_dir_slash="guessing no";;
104189
 
+            *) gl_cv_func_stat_dir_slash="guessing yes";;
104190
 
+          esac
104191
 
+else
104192
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104193
 
+/* end confdefs.h.  */
104194
 
+#include <sys/stat.h>
104195
 
+
104196
 
+int
104197
 
+main ()
104198
 
+{
104199
 
+struct stat st; return stat (".", &st) != stat ("./", &st);
104200
 
+  ;
104201
 
+  return 0;
104202
 
+}
104203
 
+_ACEOF
104204
 
+if ac_fn_c_try_run "$LINENO"; then :
104205
 
+  gl_cv_func_stat_dir_slash=yes
104206
 
+else
104207
 
+  gl_cv_func_stat_dir_slash=no
104208
 
+fi
104209
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
104210
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
104211
 
+fi
104212
 
+
104213
 
+fi
104214
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_dir_slash" >&5
104215
 
+$as_echo "$gl_cv_func_stat_dir_slash" >&6; }
104216
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5
104217
 
+$as_echo_n "checking whether stat handles trailing slashes on files... " >&6; }
104218
 
+if ${gl_cv_func_stat_file_slash+:} false; then :
104219
 
+  $as_echo_n "(cached) " >&6
104220
 
+else
104221
 
+  touch conftest.tmp
104222
 
+       # Assume that if we have lstat, we can also check symlinks.
104223
 
+       if test $ac_cv_func_lstat = yes; then
104224
 
+         ln -s conftest.tmp conftest.lnk
104225
 
+       fi
104226
 
+       if test "$cross_compiling" = yes; then :
104227
 
+  gl_cv_func_stat_file_slash="guessing no"
104228
 
+else
104229
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104230
 
+/* end confdefs.h.  */
104231
 
+#include <sys/stat.h>
104232
 
+
104233
 
+int
104234
 
+main ()
104235
 
+{
104236
 
+int result = 0;
104237
 
+      struct stat st;
104238
 
+      if (!stat ("conftest.tmp/", &st))
104239
 
+        result |= 1;
104240
 
+#if HAVE_LSTAT
104241
 
+      if (!stat ("conftest.lnk/", &st))
104242
 
+        result |= 2;
104243
 
+#endif
104244
 
+      return result;
104245
 
+           
104246
 
+  ;
104247
 
+  return 0;
104248
 
+}
104249
 
+_ACEOF
104250
 
+if ac_fn_c_try_run "$LINENO"; then :
104251
 
+  gl_cv_func_stat_file_slash=yes
104252
 
+else
104253
 
+  gl_cv_func_stat_file_slash=no
104254
 
+fi
104255
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
104256
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
104257
 
+fi
104258
 
+
104259
 
+       rm -f conftest.tmp conftest.lnk
104260
 
+fi
104261
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_file_slash" >&5
104262
 
+$as_echo "$gl_cv_func_stat_file_slash" >&6; }
104263
 
+  case $gl_cv_func_stat_dir_slash in
104264
 
+    *no) REPLACE_STAT=1
104265
 
+      
104266
 
+$as_echo "@%:@define REPLACE_FUNC_STAT_DIR 1" >>confdefs.h
104267
 
+;;
104268
 
+  esac
104269
 
+  case $gl_cv_func_stat_file_slash in
104270
 
+    *no) REPLACE_STAT=1
104271
 
+      
104272
 
+$as_echo "@%:@define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h
104273
 
+;;
104274
 
+  esac
104275
 
+
104276
 
+if test $REPLACE_STAT = 1; then
104277
 
+  
104278
 
+  
104279
 
+  
104280
 
+    
104281
 
+      
104282
 
+      
104283
 
+    
104284
 
+  
104285
 
+  gl_LIBOBJS="$gl_LIBOBJS stat.$ac_objext"
104286
 
+
104287
 
+  
104288
 
+  
104289
 
+  :
104290
 
+
104291
 
+fi
104292
 
+
104293
 
+    
104294
 
+  
104295
 
+  
104296
 
+  
104297
 
+          GNULIB_STAT=1
104298
 
+    
104299
 
+
104300
 
+
104301
 
+    
104302
 
+  
104303
 
+$as_echo "@%:@define GNULIB_TEST_STAT 1" >>confdefs.h
104304
 
+
104305
 
+
104306
 
+
104307
 
+
104308
 
+  # Don't call AC_STRUCT_ST_BLOCKS because it causes bugs.  Details at
104309
 
+  # http://lists.gnu.org/archive/html/bug-gnulib/2011-06/msg00051.html
104310
 
+  
104311
 
+
104312
 
+
104313
 
+  
104314
 
+  
104315
 
+  
104316
 
+
104317
 
+  ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.tv_nsec" "ac_cv_member_struct_stat_st_atim_tv_nsec" "#include <sys/types.h>
104318
 
+     #include <sys/stat.h>
104319
 
+"
104320
 
+if test "x$ac_cv_member_struct_stat_st_atim_tv_nsec" = xyes; then :
104321
 
+  
104322
 
+cat >>confdefs.h <<_ACEOF
104323
 
+@%:@define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
104324
 
+_ACEOF
104325
 
+
104326
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct stat.st_atim is of type struct timespec" >&5
104327
 
+$as_echo_n "checking whether struct stat.st_atim is of type struct timespec... " >&6; }
104328
 
+if ${ac_cv_typeof_struct_stat_st_atim_is_struct_timespec+:} false; then :
104329
 
+  $as_echo_n "(cached) " >&6
104330
 
+else
104331
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104332
 
+/* end confdefs.h.  */
104333
 
+
104334
 
+            #include <sys/types.h>
104335
 
+            #include <sys/stat.h>
104336
 
+            #if HAVE_SYS_TIME_H
104337
 
+            # include <sys/time.h>
104338
 
+            #endif
104339
 
+            #include <time.h>
104340
 
+            struct timespec ts;
104341
 
+            struct stat st;
104342
 
+          
104343
 
+int
104344
 
+main ()
104345
 
+{
104346
 
+
104347
 
+            st.st_atim = ts;
104348
 
+          
104349
 
+  ;
104350
 
+  return 0;
104351
 
+}
104352
 
+_ACEOF
104353
 
+if ac_fn_c_try_compile "$LINENO"; then :
104354
 
+  ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=yes
104355
 
+else
104356
 
+  ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=no
104357
 
+fi
104358
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
104359
 
+fi
104360
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&5
104361
 
+$as_echo "$ac_cv_typeof_struct_stat_st_atim_is_struct_timespec" >&6; }
104362
 
+     if test $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec = yes; then
104363
 
+       
104364
 
+$as_echo "@%:@define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1" >>confdefs.h
104365
 
+
104366
 
+     fi
104367
 
+else
104368
 
+  ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec.tv_nsec" "ac_cv_member_struct_stat_st_atimespec_tv_nsec" "#include <sys/types.h>
104369
 
+        #include <sys/stat.h>
104370
 
+"
104371
 
+if test "x$ac_cv_member_struct_stat_st_atimespec_tv_nsec" = xyes; then :
104372
 
+  
104373
 
+cat >>confdefs.h <<_ACEOF
104374
 
+@%:@define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1
104375
 
+_ACEOF
104376
 
+
104377
 
+
104378
 
+else
104379
 
+  ac_fn_c_check_member "$LINENO" "struct stat" "st_atimensec" "ac_cv_member_struct_stat_st_atimensec" "#include <sys/types.h>
104380
 
+           #include <sys/stat.h>
104381
 
+"
104382
 
+if test "x$ac_cv_member_struct_stat_st_atimensec" = xyes; then :
104383
 
+  
104384
 
+cat >>confdefs.h <<_ACEOF
104385
 
+@%:@define HAVE_STRUCT_STAT_ST_ATIMENSEC 1
104386
 
+_ACEOF
104387
 
+
104388
 
+
104389
 
+else
104390
 
+  ac_fn_c_check_member "$LINENO" "struct stat" "st_atim.st__tim.tv_nsec" "ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" "#include <sys/types.h>
104391
 
+              #include <sys/stat.h>
104392
 
+"
104393
 
+if test "x$ac_cv_member_struct_stat_st_atim_st__tim_tv_nsec" = xyes; then :
104394
 
+  
104395
 
+cat >>confdefs.h <<_ACEOF
104396
 
+@%:@define HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC 1
104397
 
+_ACEOF
104398
 
+
104399
 
+
104400
 
+fi
104401
 
+
104402
 
+fi
104403
 
+
104404
 
+fi
104405
 
+
104406
 
+fi
104407
 
+
104408
 
+
104409
 
+
104410
 
+  
104411
 
+  
104412
 
+  
104413
 
+  ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec.tv_nsec" "ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" "#include <sys/types.h>
104414
 
+     #include <sys/stat.h>
104415
 
+"
104416
 
+if test "x$ac_cv_member_struct_stat_st_birthtimespec_tv_nsec" = xyes; then :
104417
 
+  
104418
 
+cat >>confdefs.h <<_ACEOF
104419
 
+@%:@define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1
104420
 
+_ACEOF
104421
 
+
104422
 
+
104423
 
+else
104424
 
+  ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimensec" "ac_cv_member_struct_stat_st_birthtimensec" "#include <sys/types.h>
104425
 
+        #include <sys/stat.h>
104426
 
+"
104427
 
+if test "x$ac_cv_member_struct_stat_st_birthtimensec" = xyes; then :
104428
 
+  
104429
 
+cat >>confdefs.h <<_ACEOF
104430
 
+@%:@define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1
104431
 
+_ACEOF
104432
 
+
104433
 
+
104434
 
+else
104435
 
+  ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim.tv_nsec" "ac_cv_member_struct_stat_st_birthtim_tv_nsec" "#include <sys/types.h>
104436
 
+          #include <sys/stat.h>
104437
 
+"
104438
 
+if test "x$ac_cv_member_struct_stat_st_birthtim_tv_nsec" = xyes; then :
104439
 
+  
104440
 
+cat >>confdefs.h <<_ACEOF
104441
 
+@%:@define HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC 1
104442
 
+_ACEOF
104443
 
+
104444
 
+
104445
 
+fi
104446
 
+
104447
 
+fi
104448
 
+
104449
 
+fi
104450
 
+
104451
 
+
104452
 
+
104453
 
+  STDARG_H=''
104454
 
+  NEXT_STDARG_H='<stdarg.h>'
104455
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
104456
 
+$as_echo_n "checking for va_copy... " >&6; }
104457
 
+  if ${gl_cv_func_va_copy+:} false; then :
104458
 
+  $as_echo_n "(cached) " >&6
104459
 
+else
104460
 
+  
104461
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104462
 
+/* end confdefs.h.  */
104463
 
+#include <stdarg.h>
104464
 
+int
104465
 
+main ()
104466
 
+{
104467
 
+
104468
 
+#ifndef va_copy
104469
 
+void (*func) (va_list, va_list) = va_copy;
104470
 
+#endif
104471
 
+         
104472
 
+  ;
104473
 
+  return 0;
104474
 
+}
104475
 
+_ACEOF
104476
 
+if ac_fn_c_try_compile "$LINENO"; then :
104477
 
+  gl_cv_func_va_copy=yes
104478
 
+else
104479
 
+  gl_cv_func_va_copy=no
104480
 
+fi
104481
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
104482
 
+fi
104483
 
+
104484
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_va_copy" >&5
104485
 
+$as_echo "$gl_cv_func_va_copy" >&6; }
104486
 
+  if test $gl_cv_func_va_copy = no; then
104487
 
+                                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104488
 
+/* end confdefs.h.  */
104489
 
+#if defined _AIX && !defined __GNUC__
104490
 
+        AIX vaccine
104491
 
+       #endif
104492
 
+      
104493
 
+_ACEOF
104494
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
104495
 
+  $EGREP "vaccine" >/dev/null 2>&1; then :
104496
 
+  gl_aixcc=yes
104497
 
+else
104498
 
+  gl_aixcc=no
104499
 
+fi
104500
 
+rm -f conftest*
104501
 
+
104502
 
+    if test $gl_aixcc = yes; then
104503
 
+            STDARG_H=stdarg.h
104504
 
+      
104505
 
+  
104506
 
+  
104507
 
+  
104508
 
+
104509
 
+  
104510
 
+
104511
 
+  
104512
 
+     if test $gl_cv_have_include_next = yes; then
104513
 
+       gl_cv_next_stdarg_h='<'stdarg.h'>'
104514
 
+     else
104515
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdarg.h>" >&5
104516
 
+$as_echo_n "checking absolute name of <stdarg.h>... " >&6; }
104517
 
+if ${gl_cv_next_stdarg_h+:} false; then :
104518
 
+  $as_echo_n "(cached) " >&6
104519
 
+else
104520
 
+  
104521
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104522
 
+/* end confdefs.h.  */
104523
 
+#include <stdarg.h>
104524
 
+                  
104525
 
+_ACEOF
104526
 
+                                                                                                                        case "$host_os" in
104527
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
104528
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
104529
 
+               esac
104530
 
+                                                            gl_cv_next_stdarg_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
104531
 
+                  sed -n '\#/stdarg.h#{
104532
 
+                    s#.*"\(.*/stdarg.h\)".*#\1#
104533
 
+                    s#^/[^/]#//&#
104534
 
+                    p
104535
 
+                    q
104536
 
+                  }'`'"'
104537
 
+          
104538
 
+         
104539
 
+fi
104540
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdarg_h" >&5
104541
 
+$as_echo "$gl_cv_next_stdarg_h" >&6; }
104542
 
+     fi
104543
 
+     NEXT_STDARG_H=$gl_cv_next_stdarg_h
104544
 
+
104545
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
104546
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
104547
 
+       gl_next_as_first_directive='<'stdarg.h'>'
104548
 
+     else
104549
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
104550
 
+       gl_next_as_first_directive=$gl_cv_next_stdarg_h
104551
 
+     fi
104552
 
+     NEXT_AS_FIRST_DIRECTIVE_STDARG_H=$gl_next_as_first_directive
104553
 
+
104554
 
+     
104555
 
+
104556
 
+
104557
 
+            if test "$gl_cv_next_stdarg_h" = '""'; then
104558
 
+        gl_cv_next_stdarg_h='"///usr/include/stdarg.h"'
104559
 
+        NEXT_STDARG_H="$gl_cv_next_stdarg_h"
104560
 
+      fi
104561
 
+    else
104562
 
+                  
104563
 
+  saved_as_echo_n="$as_echo_n"
104564
 
+  as_echo_n=':'
104565
 
+  if ${gl_cv_func___va_copy+:} false; then :
104566
 
+  $as_echo_n "(cached) " >&6
104567
 
+else
104568
 
+  
104569
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104570
 
+/* end confdefs.h.  */
104571
 
+#include <stdarg.h>
104572
 
+int
104573
 
+main ()
104574
 
+{
104575
 
+
104576
 
+#ifndef __va_copy
104577
 
+error, bail out
104578
 
+#endif
104579
 
+             
104580
 
+  ;
104581
 
+  return 0;
104582
 
+}
104583
 
+_ACEOF
104584
 
+if ac_fn_c_try_compile "$LINENO"; then :
104585
 
+  gl_cv_func___va_copy=yes
104586
 
+else
104587
 
+  gl_cv_func___va_copy=no
104588
 
+fi
104589
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
104590
 
+fi
104591
 
+
104592
 
+  as_echo_n="$saved_as_echo_n"
104593
 
+
104594
 
+      if test $gl_cv_func___va_copy = yes; then
104595
 
+        
104596
 
+$as_echo "@%:@define va_copy __va_copy" >>confdefs.h
104597
 
+
104598
 
+      else
104599
 
+        
104600
 
+        
104601
 
+$as_echo "@%:@define va_copy gl_va_copy" >>confdefs.h
104602
 
+
104603
 
+      fi
104604
 
+    fi
104605
 
+  fi
104606
 
+  
104607
 
+   if test -n "$STDARG_H"; then
104608
 
+  GL_GENERATE_STDARG_H_TRUE=
104609
 
+  GL_GENERATE_STDARG_H_FALSE='#'
104610
 
+else
104611
 
+  GL_GENERATE_STDARG_H_TRUE='#'
104612
 
+  GL_GENERATE_STDARG_H_FALSE=
104613
 
+fi
104614
 
+
104615
 
+  
104616
 
+
104617
 
+
104618
 
+  
104619
 
+
104620
 
+  # Define two additional variables used in the Makefile substitution.
104621
 
+
104622
 
+  if test "$ac_cv_header_stdbool_h" = yes; then
104623
 
+    STDBOOL_H=''
104624
 
+  else
104625
 
+    STDBOOL_H='stdbool.h'
104626
 
+  fi
104627
 
+  
104628
 
+   if test -n "$STDBOOL_H"; then
104629
 
+  GL_GENERATE_STDBOOL_H_TRUE=
104630
 
+  GL_GENERATE_STDBOOL_H_FALSE='#'
104631
 
+else
104632
 
+  GL_GENERATE_STDBOOL_H_TRUE='#'
104633
 
+  GL_GENERATE_STDBOOL_H_FALSE=
104634
 
+fi
104635
 
+
104636
 
+
104637
 
+  if test "$ac_cv_type__Bool" = yes; then
104638
 
+    HAVE__BOOL=1
104639
 
+  else
104640
 
+    HAVE__BOOL=0
104641
 
+  fi
104642
 
+  
104643
 
+
104644
 
+
104645
 
+  
104646
 
+  
104647
 
+  STDDEF_H=
104648
 
+  if test $gt_cv_c_wchar_t = no; then
104649
 
+    HAVE_WCHAR_T=0
104650
 
+    STDDEF_H=stddef.h
104651
 
+  fi
104652
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
104653
 
+$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
104654
 
+if ${gl_cv_decl_null_works+:} false; then :
104655
 
+  $as_echo_n "(cached) " >&6
104656
 
+else
104657
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104658
 
+/* end confdefs.h.  */
104659
 
+#include <stddef.h>
104660
 
+      int test[2 * (sizeof NULL == sizeof (void *)) -1];
104661
 
+
104662
 
+int
104663
 
+main ()
104664
 
+{
104665
 
+
104666
 
+  ;
104667
 
+  return 0;
104668
 
+}
104669
 
+_ACEOF
104670
 
+if ac_fn_c_try_compile "$LINENO"; then :
104671
 
+  gl_cv_decl_null_works=yes
104672
 
+else
104673
 
+  gl_cv_decl_null_works=no
104674
 
+fi
104675
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
104676
 
+fi
104677
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5
104678
 
+$as_echo "$gl_cv_decl_null_works" >&6; }
104679
 
+  if test $gl_cv_decl_null_works = no; then
104680
 
+    REPLACE_NULL=1
104681
 
+    STDDEF_H=stddef.h
104682
 
+  fi
104683
 
+  
104684
 
+   if test -n "$STDDEF_H"; then
104685
 
+  GL_GENERATE_STDDEF_H_TRUE=
104686
 
+  GL_GENERATE_STDDEF_H_FALSE='#'
104687
 
+else
104688
 
+  GL_GENERATE_STDDEF_H_TRUE='#'
104689
 
+  GL_GENERATE_STDDEF_H_FALSE=
104690
 
+fi
104691
 
+
104692
 
+  if test -n "$STDDEF_H"; then
104693
 
+    
104694
 
+  
104695
 
+  
104696
 
+  
104697
 
+
104698
 
+  
104699
 
+
104700
 
+  
104701
 
+     if test $gl_cv_have_include_next = yes; then
104702
 
+       gl_cv_next_stddef_h='<'stddef.h'>'
104703
 
+     else
104704
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
104705
 
+$as_echo_n "checking absolute name of <stddef.h>... " >&6; }
104706
 
+if ${gl_cv_next_stddef_h+:} false; then :
104707
 
+  $as_echo_n "(cached) " >&6
104708
 
+else
104709
 
+  
104710
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104711
 
+/* end confdefs.h.  */
104712
 
+#include <stddef.h>
104713
 
+                  
104714
 
+_ACEOF
104715
 
+                                                                                                                        case "$host_os" in
104716
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
104717
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
104718
 
+               esac
104719
 
+                                                            gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
104720
 
+                  sed -n '\#/stddef.h#{
104721
 
+                    s#.*"\(.*/stddef.h\)".*#\1#
104722
 
+                    s#^/[^/]#//&#
104723
 
+                    p
104724
 
+                    q
104725
 
+                  }'`'"'
104726
 
+          
104727
 
+         
104728
 
+fi
104729
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
104730
 
+$as_echo "$gl_cv_next_stddef_h" >&6; }
104731
 
+     fi
104732
 
+     NEXT_STDDEF_H=$gl_cv_next_stddef_h
104733
 
+
104734
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
104735
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
104736
 
+       gl_next_as_first_directive='<'stddef.h'>'
104737
 
+     else
104738
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
104739
 
+       gl_next_as_first_directive=$gl_cv_next_stddef_h
104740
 
+     fi
104741
 
+     NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive
104742
 
+
104743
 
+     
104744
 
+
104745
 
+
104746
 
+  fi
104747
 
+
104748
 
+
104749
 
+
104750
 
+  
104751
 
+  
104752
 
+  
104753
 
+  
104754
 
+  
104755
 
+  
104756
 
+
104757
 
+  
104758
 
+
104759
 
+  
104760
 
+     if test $gl_cv_have_include_next = yes; then
104761
 
+       gl_cv_next_stdio_h='<'stdio.h'>'
104762
 
+     else
104763
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdio.h>" >&5
104764
 
+$as_echo_n "checking absolute name of <stdio.h>... " >&6; }
104765
 
+if ${gl_cv_next_stdio_h+:} false; then :
104766
 
+  $as_echo_n "(cached) " >&6
104767
 
+else
104768
 
+  
104769
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104770
 
+/* end confdefs.h.  */
104771
 
+#include <stdio.h>
104772
 
+                  
104773
 
+_ACEOF
104774
 
+                                                                                                                        case "$host_os" in
104775
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
104776
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
104777
 
+               esac
104778
 
+                                                            gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
104779
 
+                  sed -n '\#/stdio.h#{
104780
 
+                    s#.*"\(.*/stdio.h\)".*#\1#
104781
 
+                    s#^/[^/]#//&#
104782
 
+                    p
104783
 
+                    q
104784
 
+                  }'`'"'
104785
 
+          
104786
 
+         
104787
 
+fi
104788
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5
104789
 
+$as_echo "$gl_cv_next_stdio_h" >&6; }
104790
 
+     fi
104791
 
+     NEXT_STDIO_H=$gl_cv_next_stdio_h
104792
 
+
104793
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
104794
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
104795
 
+       gl_next_as_first_directive='<'stdio.h'>'
104796
 
+     else
104797
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
104798
 
+       gl_next_as_first_directive=$gl_cv_next_stdio_h
104799
 
+     fi
104800
 
+     NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive
104801
 
+
104802
 
+     
104803
 
+
104804
 
+
104805
 
+
104806
 
+      GNULIB_FSCANF=1
104807
 
+  GNULIB_SCANF=1
104808
 
+  GNULIB_FGETC=1
104809
 
+  GNULIB_GETC=1
104810
 
+  GNULIB_GETCHAR=1
104811
 
+  GNULIB_FGETS=1
104812
 
+  GNULIB_GETS=1
104813
 
+  GNULIB_FREAD=1
104814
 
+            
104815
 
+
104816
 
+      GNULIB_FPRINTF=1
104817
 
+  GNULIB_PRINTF=1
104818
 
+  GNULIB_VFPRINTF=1
104819
 
+  GNULIB_VPRINTF=1
104820
 
+  GNULIB_FPUTC=1
104821
 
+  GNULIB_PUTC=1
104822
 
+  GNULIB_PUTCHAR=1
104823
 
+  GNULIB_FPUTS=1
104824
 
+  GNULIB_PUTS=1
104825
 
+  GNULIB_FWRITE=1
104826
 
+            
104827
 
+            
104828
 
+
104829
 
+        
104830
 
+    for gl_func in dprintf fpurge fseeko ftello getdelim getline popen renameat     snprintf tmpfile vdprintf vsnprintf; do
104831
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
104832
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
104833
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
104834
 
+if eval \${$as_gl_Symbol+:} false; then :
104835
 
+  $as_echo_n "(cached) " >&6
104836
 
+else
104837
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104838
 
+/* end confdefs.h.  */
104839
 
+#include <stdio.h>
104840
 
+    
104841
 
+int
104842
 
+main ()
104843
 
+{
104844
 
+@%:@undef $gl_func
104845
 
+  (void) $gl_func;
104846
 
+  ;
104847
 
+  return 0;
104848
 
+}
104849
 
+_ACEOF
104850
 
+if ac_fn_c_try_compile "$LINENO"; then :
104851
 
+  eval "$as_gl_Symbol=yes"
104852
 
+else
104853
 
+  eval "$as_gl_Symbol=no"
104854
 
+fi
104855
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
104856
 
+fi
104857
 
+eval ac_res=\$$as_gl_Symbol
104858
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
104859
 
+$as_echo "$ac_res" >&6; }
104860
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
104861
 
+  cat >>confdefs.h <<_ACEOF
104862
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
104863
 
+_ACEOF
104864
 
+
104865
 
+                     eval ac_cv_have_decl_$gl_func=yes
104866
 
+fi
104867
 
+      done
104868
 
+
104869
 
+
104870
 
+
104871
 
+  
104872
 
+  
104873
 
+  
104874
 
+  
104875
 
+  
104876
 
+
104877
 
+  
104878
 
+
104879
 
+  
104880
 
+     if test $gl_cv_have_include_next = yes; then
104881
 
+       gl_cv_next_stdlib_h='<'stdlib.h'>'
104882
 
+     else
104883
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdlib.h>" >&5
104884
 
+$as_echo_n "checking absolute name of <stdlib.h>... " >&6; }
104885
 
+if ${gl_cv_next_stdlib_h+:} false; then :
104886
 
+  $as_echo_n "(cached) " >&6
104887
 
+else
104888
 
+  
104889
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104890
 
+/* end confdefs.h.  */
104891
 
+#include <stdlib.h>
104892
 
+                  
104893
 
+_ACEOF
104894
 
+                                                                                                                        case "$host_os" in
104895
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
104896
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
104897
 
+               esac
104898
 
+                                                            gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
104899
 
+                  sed -n '\#/stdlib.h#{
104900
 
+                    s#.*"\(.*/stdlib.h\)".*#\1#
104901
 
+                    s#^/[^/]#//&#
104902
 
+                    p
104903
 
+                    q
104904
 
+                  }'`'"'
104905
 
+          
104906
 
+         
104907
 
+fi
104908
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5
104909
 
+$as_echo "$gl_cv_next_stdlib_h" >&6; }
104910
 
+     fi
104911
 
+     NEXT_STDLIB_H=$gl_cv_next_stdlib_h
104912
 
+
104913
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
104914
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
104915
 
+       gl_next_as_first_directive='<'stdlib.h'>'
104916
 
+     else
104917
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
104918
 
+       gl_next_as_first_directive=$gl_cv_next_stdlib_h
104919
 
+     fi
104920
 
+     NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive
104921
 
+
104922
 
+     
104923
 
+
104924
 
+
104925
 
+
104926
 
+        
104927
 
+    for gl_func in _Exit atoll canonicalize_file_name getloadavg getsubopt grantpt mkdtemp     mkostemp mkostemps mkstemp mkstemps ptsname random_r initstat_r srandom_r     setstate_r realpath rpmatch setenv strtod strtoll strtoull unlockpt     unsetenv; do
104928
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
104929
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
104930
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
104931
 
+if eval \${$as_gl_Symbol+:} false; then :
104932
 
+  $as_echo_n "(cached) " >&6
104933
 
+else
104934
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
104935
 
+/* end confdefs.h.  */
104936
 
+#include <stdlib.h>
104937
 
+#if HAVE_SYS_LOADAVG_H
104938
 
+# include <sys/loadavg.h>
104939
 
+#endif
104940
 
+#if HAVE_RANDOM_H
104941
 
+# include <random.h>
104942
 
+#endif
104943
 
+    
104944
 
+int
104945
 
+main ()
104946
 
+{
104947
 
+@%:@undef $gl_func
104948
 
+  (void) $gl_func;
104949
 
+  ;
104950
 
+  return 0;
104951
 
+}
104952
 
+_ACEOF
104953
 
+if ac_fn_c_try_compile "$LINENO"; then :
104954
 
+  eval "$as_gl_Symbol=yes"
104955
 
+else
104956
 
+  eval "$as_gl_Symbol=no"
104957
 
+fi
104958
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
104959
 
+fi
104960
 
+eval ac_res=\$$as_gl_Symbol
104961
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
104962
 
+$as_echo "$ac_res" >&6; }
104963
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
104964
 
+  cat >>confdefs.h <<_ACEOF
104965
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
104966
 
+_ACEOF
104967
 
+
104968
 
+                     eval ac_cv_have_decl_$gl_func=yes
104969
 
+fi
104970
 
+      done
104971
 
+
104972
 
+
104973
 
+
104974
 
+    
104975
 
+
104976
 
+    
104977
 
+
104978
 
+  
104979
 
+  for ac_func in stpcpy
104980
 
+do :
104981
 
+  ac_fn_c_check_func "$LINENO" "stpcpy" "ac_cv_func_stpcpy"
104982
 
+if test "x$ac_cv_func_stpcpy" = xyes; then :
104983
 
+  cat >>confdefs.h <<_ACEOF
104984
 
+@%:@define HAVE_STPCPY 1
104985
 
+_ACEOF
104986
 
104987
 
+fi
104988
 
+done
104989
 
+
104990
 
+  if test $ac_cv_func_stpcpy = no; then
104991
 
+    HAVE_STPCPY=0
104992
 
+  fi
104993
 
+
104994
 
+if test $HAVE_STPCPY = 0; then
104995
 
+  
104996
 
+  
104997
 
+  
104998
 
+    
104999
 
+      
105000
 
+      
105001
 
+    
105002
 
+  
105003
 
+  gl_LIBOBJS="$gl_LIBOBJS stpcpy.$ac_objext"
105004
 
+
105005
 
+  
105006
 
+  :
105007
 
+
105008
 
+fi
105009
 
+
105010
 
+    
105011
 
+  
105012
 
+  
105013
 
+  
105014
 
+          GNULIB_STPCPY=1
105015
 
+    
105016
 
+
105017
 
+
105018
 
+    
105019
 
+  
105020
 
+$as_echo "@%:@define GNULIB_TEST_STPCPY 1" >>confdefs.h
105021
 
+
105022
 
+
105023
 
+
105024
 
+
105025
 
+    
105026
 
+
105027
 
+    
105028
 
+
105029
 
+  
105030
 
+
105031
 
+                  
105032
 
+  
105033
 
+  
105034
 
+  if test $ac_cv_func_stpncpy = yes; then
105035
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working stpncpy" >&5
105036
 
+$as_echo_n "checking for working stpncpy... " >&6; }
105037
 
+if ${gl_cv_func_stpncpy+:} false; then :
105038
 
+  $as_echo_n "(cached) " >&6
105039
 
+else
105040
 
+  
105041
 
+      if test "$cross_compiling" = yes; then :
105042
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
105043
 
+/* end confdefs.h.  */
105044
 
+
105045
 
+#include <features.h>
105046
 
+#ifdef __GNU_LIBRARY__
105047
 
+  Thanks for using GNU
105048
 
+#endif
105049
 
+
105050
 
+_ACEOF
105051
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
105052
 
+  $EGREP "Thanks for using GNU" >/dev/null 2>&1; then :
105053
 
+  gl_cv_func_stpncpy=yes
105054
 
+else
105055
 
+  gl_cv_func_stpncpy=no
105056
 
+fi
105057
 
+rm -f conftest*
105058
 
+
105059
 
+        
105060
 
+else
105061
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
105062
 
+/* end confdefs.h.  */
105063
 
+
105064
 
+#include <stdlib.h>
105065
 
+#include <string.h> /* for strcpy */
105066
 
+/* The stpncpy prototype is missing in <string.h> on AIX 4.  */
105067
 
+#if !HAVE_DECL_STPNCPY
105068
 
+extern
105069
 
+# ifdef __cplusplus
105070
 
+"C"
105071
 
+# endif
105072
 
+char *stpncpy (char *dest, const char *src, size_t n);
105073
 
+#endif
105074
 
+int main ()
105075
 
+{
105076
 
+  int result = 0;
105077
 
+  const char *src = "Hello";
105078
 
+  char dest[10];
105079
 
+  /* AIX 4.3.3 and AIX 5.1 stpncpy() returns dest+1 here.  */
105080
 
+  {
105081
 
+    strcpy (dest, "\377\377\377\377\377\377");
105082
 
+    if (stpncpy (dest, src, 2) != dest + 2)
105083
 
+      result |= 1;
105084
 
+  }
105085
 
+  /* AIX 4.3.3 and AIX 5.1 stpncpy() returns dest+4 here.  */
105086
 
+  {
105087
 
+    strcpy (dest, "\377\377\377\377\377\377");
105088
 
+    if (stpncpy (dest, src, 5) != dest + 5)
105089
 
+      result |= 2;
105090
 
+  }
105091
 
+  /* AIX 4.3.3 and AIX 5.1 stpncpy() returns dest+6 here.  */
105092
 
+  {
105093
 
+    strcpy (dest, "\377\377\377\377\377\377");
105094
 
+    if (stpncpy (dest, src, 7) != dest + 5)
105095
 
+      result |= 4;
105096
 
+  }
105097
 
+  return result;
105098
 
+}
105099
 
+
105100
 
+_ACEOF
105101
 
+if ac_fn_c_try_run "$LINENO"; then :
105102
 
+  gl_cv_func_stpncpy=yes
105103
 
+else
105104
 
+  gl_cv_func_stpncpy=no
105105
 
+fi
105106
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
105107
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
105108
 
+fi
105109
 
+
105110
 
+    
105111
 
+fi
105112
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stpncpy" >&5
105113
 
+$as_echo "$gl_cv_func_stpncpy" >&6; }
105114
 
+    if test $gl_cv_func_stpncpy = yes; then
105115
 
+      
105116
 
+$as_echo "@%:@define HAVE_STPNCPY 1" >>confdefs.h
105117
 
+
105118
 
+    else
105119
 
+      REPLACE_STPNCPY=1
105120
 
+    fi
105121
 
+  else
105122
 
+    HAVE_STPNCPY=0
105123
 
+  fi
105124
 
+
105125
 
+if test $HAVE_STPNCPY = 0 || test $REPLACE_STPNCPY = 1; then
105126
 
+  
105127
 
+  
105128
 
+  
105129
 
+    
105130
 
+      
105131
 
+      
105132
 
+    
105133
 
+  
105134
 
+  gl_LIBOBJS="$gl_LIBOBJS stpncpy.$ac_objext"
105135
 
+
105136
 
+  
105137
 
+  :
105138
 
+
105139
 
+fi
105140
 
+
105141
 
+    
105142
 
+  
105143
 
+  
105144
 
+  
105145
 
+          GNULIB_STPNCPY=1
105146
 
+    
105147
 
+
105148
 
+
105149
 
+    
105150
 
+  
105151
 
+$as_echo "@%:@define GNULIB_TEST_STPNCPY 1" >>confdefs.h
105152
 
+
105153
 
+
105154
 
+
105155
 
+
105156
 
+  
105157
 
+  
105158
 
+  
105159
 
+  if test $ac_cv_func_strdup = yes; then
105160
 
+    if test $gl_cv_func_malloc_posix != yes; then
105161
 
+      REPLACE_STRDUP=1
105162
 
+    fi
105163
 
+  fi
105164
 
+  
105165
 
+  if test $ac_cv_have_decl_strdup = no; then
105166
 
+    HAVE_DECL_STRDUP=0
105167
 
+  fi
105168
 
+
105169
 
+if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
105170
 
+  
105171
 
+  
105172
 
+  
105173
 
+    
105174
 
+      
105175
 
+      
105176
 
+    
105177
 
+  
105178
 
+  gl_LIBOBJS="$gl_LIBOBJS strdup.$ac_objext"
105179
 
+
105180
 
+  :
105181
 
+fi
105182
 
+
105183
 
+    
105184
 
+  
105185
 
+  
105186
 
+  
105187
 
+          GNULIB_STRDUP=1
105188
 
+    
105189
 
+
105190
 
+
105191
 
+    
105192
 
+  
105193
 
+$as_echo "@%:@define GNULIB_TEST_STRDUP 1" >>confdefs.h
105194
 
+
105195
 
+
105196
 
+
105197
 
+
105198
 
+  
105199
 
+  
105200
 
+  
105201
 
+  
105202
 
+    
105203
 
+  
105204
 
+  if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
105205
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5
105206
 
+$as_echo_n "checking for working strerror function... " >&6; }
105207
 
+if ${gl_cv_func_working_strerror+:} false; then :
105208
 
+  $as_echo_n "(cached) " >&6
105209
 
+else
105210
 
+  if test "$cross_compiling" = yes; then :
105211
 
+           gl_cv_func_working_strerror="guessing no"
105212
 
+else
105213
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
105214
 
+/* end confdefs.h.  */
105215
 
+#include <string.h>
105216
 
+           
105217
 
+int
105218
 
+main ()
105219
 
+{
105220
 
+if (!*strerror (-2)) return 1;
105221
 
+  ;
105222
 
+  return 0;
105223
 
+}
105224
 
+_ACEOF
105225
 
+if ac_fn_c_try_run "$LINENO"; then :
105226
 
+  gl_cv_func_working_strerror=yes
105227
 
+else
105228
 
+  gl_cv_func_working_strerror=no
105229
 
+fi
105230
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
105231
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
105232
 
+fi
105233
 
+
105234
 
+    
105235
 
+fi
105236
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5
105237
 
+$as_echo "$gl_cv_func_working_strerror" >&6; }
105238
 
+    if test "$gl_cv_func_working_strerror" != yes; then
105239
 
+                  REPLACE_STRERROR=1
105240
 
+    fi
105241
 
+    
105242
 
+                  case "$gl_cv_func_strerror_r_works" in
105243
 
+        *no) REPLACE_STRERROR=1 ;;
105244
 
+      esac
105245
 
+    
105246
 
+  else
105247
 
+            REPLACE_STRERROR=1
105248
 
+  fi
105249
 
+
105250
 
+if test $REPLACE_STRERROR = 1; then
105251
 
+  
105252
 
+  
105253
 
+  
105254
 
+    
105255
 
+      
105256
 
+      
105257
 
+    
105258
 
+  
105259
 
+  gl_LIBOBJS="$gl_LIBOBJS strerror.$ac_objext"
105260
 
+
105261
 
+fi
105262
 
+
105263
 
+  
105264
 
+cat >>confdefs.h <<_ACEOF
105265
 
+@%:@define GNULIB_STRERROR 1
105266
 
+_ACEOF
105267
 
+
105268
 
+
105269
 
+
105270
 
+    
105271
 
+  
105272
 
+  
105273
 
+  
105274
 
+          GNULIB_STRERROR=1
105275
 
+    
105276
 
+
105277
 
+
105278
 
+    
105279
 
+  
105280
 
+$as_echo "@%:@define GNULIB_TEST_STRERROR 1" >>confdefs.h
105281
 
+
105282
 
+
105283
 
+
105284
 
+
105285
 
+
105286
 
+if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
105287
 
+  
105288
 
+  
105289
 
+  
105290
 
+    
105291
 
+      
105292
 
+      
105293
 
+    
105294
 
+  
105295
 
+  gl_LIBOBJS="$gl_LIBOBJS strerror-override.$ac_objext"
105296
 
+
105297
 
+  
105298
 
+  
105299
 
+  
105300
 
+  
105301
 
+  if test $ac_cv_header_sys_socket_h != yes; then
105302
 
+                    for ac_header in winsock2.h
105303
 
+do :
105304
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
105305
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
105306
 
+  cat >>confdefs.h <<_ACEOF
105307
 
+@%:@define HAVE_WINSOCK2_H 1
105308
 
+_ACEOF
105309
 
105310
 
+fi
105311
 
+
105312
 
+done
105313
 
+
105314
 
+  fi
105315
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
105316
 
+    HAVE_WINSOCK2_H=1
105317
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
105318
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
105319
 
+  else
105320
 
+    HAVE_WINSOCK2_H=0
105321
 
+  fi
105322
 
+  
105323
 
+
105324
 
+fi
105325
 
+
105326
 
+  
105327
 
+ # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
105328
 
105329
 
+
105330
 
105331
 
+
105332
 
105333
 
+
105334
 
105335
 
+$as_echo "@%:@define my_strftime nstrftime" >>confdefs.h
105336
 
+
105337
 
+
105338
 
+
105339
 
+if test $gl_cond_libtool = false; then
105340
 
+  gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
105341
 
+  gl_libdeps="$gl_libdeps $LIBICONV"
105342
 
+fi
105343
 
+
105344
 
+      
105345
 
+
105346
 
+
105347
 
+    
105348
 
+
105349
 
+     
105350
 
+  
105351
 
+  
105352
 
+  if test $ac_cv_have_decl_strndup = no; then
105353
 
+    HAVE_DECL_STRNDUP=0
105354
 
+  fi
105355
 
+
105356
 
+  if test $ac_cv_func_strndup = yes; then
105357
 
+    HAVE_STRNDUP=1
105358
 
+    # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'.
105359
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5
105360
 
+$as_echo_n "checking for working strndup... " >&6; }
105361
 
+if ${gl_cv_func_strndup_works+:} false; then :
105362
 
+  $as_echo_n "(cached) " >&6
105363
 
+else
105364
 
+  if test "$cross_compiling" = yes; then :
105365
 
+  
105366
 
+          case $host_os in
105367
 
+            aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";;
105368
 
+            *)               gl_cv_func_strndup_works="guessing yes";;
105369
 
+          esac
105370
 
+         
105371
 
+else
105372
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
105373
 
+/* end confdefs.h.  */
105374
 
+
105375
 
+         #include <string.h>
105376
 
+                           #include <stdlib.h>
105377
 
+int
105378
 
+main ()
105379
 
+{
105380
 
+
105381
 
+#ifndef HAVE_DECL_STRNDUP
105382
 
+  extern
105383
 
+  #ifdef __cplusplus
105384
 
+  "C"
105385
 
+  #endif
105386
 
+  char *strndup (const char *, size_t);
105387
 
+#endif
105388
 
+  char *s;
105389
 
+  s = strndup ("some longer string", 15);
105390
 
+  free (s);
105391
 
+  s = strndup ("shorter string", 13);
105392
 
+  return s[13] != '\0';
105393
 
+  ;
105394
 
+  return 0;
105395
 
+}
105396
 
+_ACEOF
105397
 
+if ac_fn_c_try_run "$LINENO"; then :
105398
 
+  gl_cv_func_strndup_works=yes
105399
 
+else
105400
 
+  gl_cv_func_strndup_works=no
105401
 
+fi
105402
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
105403
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
105404
 
+fi
105405
 
+
105406
 
+fi
105407
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strndup_works" >&5
105408
 
+$as_echo "$gl_cv_func_strndup_works" >&6; }
105409
 
+    case $gl_cv_func_strndup_works in
105410
 
+      *no) REPLACE_STRNDUP=1 ;;
105411
 
+    esac
105412
 
+  else
105413
 
+    HAVE_STRNDUP=0
105414
 
+  fi
105415
 
+
105416
 
+if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then
105417
 
+  
105418
 
+  
105419
 
+  
105420
 
+    
105421
 
+      
105422
 
+      
105423
 
+    
105424
 
+  
105425
 
+  gl_LIBOBJS="$gl_LIBOBJS strndup.$ac_objext"
105426
 
+
105427
 
+fi
105428
 
+
105429
 
+    
105430
 
+  
105431
 
+  
105432
 
+  
105433
 
+          GNULIB_STRNDUP=1
105434
 
+    
105435
 
+
105436
 
+
105437
 
+    
105438
 
+  
105439
 
+$as_echo "@%:@define GNULIB_TEST_STRNDUP 1" >>confdefs.h
105440
 
+
105441
 
+
105442
 
+
105443
 
+
105444
 
+  
105445
 
+
105446
 
+    
105447
 
+
105448
 
+  
105449
 
+  if test $ac_cv_have_decl_strnlen = no; then
105450
 
+    HAVE_DECL_STRNLEN=0
105451
 
+  else
105452
 
+    
105453
 
+         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
105454
 
+$as_echo_n "checking for working strnlen... " >&6; }
105455
 
+if ${ac_cv_func_strnlen_working+:} false; then :
105456
 
+  $as_echo_n "(cached) " >&6
105457
 
+else
105458
 
+  if test "$cross_compiling" = yes; then :
105459
 
+  # Guess no on AIX systems, yes otherwise.
105460
 
+               case "$host_os" in
105461
 
+                 aix*) ac_cv_func_strnlen_working=no;;
105462
 
+                 *)    ac_cv_func_strnlen_working=yes;;
105463
 
+               esac
105464
 
+else
105465
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
105466
 
+/* end confdefs.h.  */
105467
 
+$ac_includes_default
105468
 
+int
105469
 
+main ()
105470
 
+{
105471
 
+
105472
 
+#define S "foobar"
105473
 
+#define S_LEN (sizeof S - 1)
105474
 
+
105475
 
+  /* At least one implementation is buggy: that of AIX 4.3 would
105476
 
+     give strnlen (S, 1) == 3.  */
105477
 
+
105478
 
+  int i;
105479
 
+  for (i = 0; i < S_LEN + 1; ++i)
105480
 
+    {
105481
 
+      int expected = i <= S_LEN ? i : S_LEN;
105482
 
+      if (strnlen (S, i) != expected)
105483
 
+       return 1;
105484
 
+    }
105485
 
+  return 0;
105486
 
+
105487
 
+  ;
105488
 
+  return 0;
105489
 
+}
105490
 
+_ACEOF
105491
 
+if ac_fn_c_try_run "$LINENO"; then :
105492
 
+  ac_cv_func_strnlen_working=yes
105493
 
+else
105494
 
+  ac_cv_func_strnlen_working=no
105495
 
+fi
105496
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
105497
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
105498
 
+fi
105499
 
+
105500
 
+fi
105501
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5
105502
 
+$as_echo "$ac_cv_func_strnlen_working" >&6; }
105503
 
+test $ac_cv_func_strnlen_working = no && :
105504
 
+
105505
 
+    
105506
 
+    if test $ac_cv_func_strnlen_working = no; then
105507
 
+      REPLACE_STRNLEN=1
105508
 
+    fi
105509
 
+  fi
105510
 
+
105511
 
+if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
105512
 
+  
105513
 
+  
105514
 
+  
105515
 
+    
105516
 
+      
105517
 
+      
105518
 
+    
105519
 
+  
105520
 
+  gl_LIBOBJS="$gl_LIBOBJS strnlen.$ac_objext"
105521
 
+
105522
 
+  :
105523
 
+fi
105524
 
+
105525
 
+    
105526
 
+  
105527
 
+  
105528
 
+  
105529
 
+          GNULIB_STRNLEN=1
105530
 
+    
105531
 
+
105532
 
+
105533
 
+    
105534
 
+  
105535
 
+$as_echo "@%:@define GNULIB_TEST_STRNLEN 1" >>confdefs.h
105536
 
+
105537
 
+
105538
 
+
105539
 
+
105540
 
+    
105541
 
+
105542
 
+  
105543
 
+   
105544
 
+  
105545
 
+  if test $ac_cv_have_decl_strsignal = no; then
105546
 
+    HAVE_DECL_STRSIGNAL=0
105547
 
+  fi
105548
 
+
105549
 
+  for ac_func in strsignal
105550
 
+do :
105551
 
+  ac_fn_c_check_func "$LINENO" "strsignal" "ac_cv_func_strsignal"
105552
 
+if test "x$ac_cv_func_strsignal" = xyes; then :
105553
 
+  cat >>confdefs.h <<_ACEOF
105554
 
+@%:@define HAVE_STRSIGNAL 1
105555
 
+_ACEOF
105556
 
105557
 
+fi
105558
 
+done
105559
 
+
105560
 
+  if test $ac_cv_func_strsignal = yes; then
105561
 
+    HAVE_STRSIGNAL=1
105562
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strsignal always returns a string" >&5
105563
 
+$as_echo_n "checking whether strsignal always returns a string... " >&6; }
105564
 
+if ${gl_cv_func_working_strsignal+:} false; then :
105565
 
+  $as_echo_n "(cached) " >&6
105566
 
+else
105567
 
+  if test "$cross_compiling" = yes; then :
105568
 
+  case "$host_os" in
105569
 
+            solaris* | aix*) gl_cv_func_working_strsignal=no;;
105570
 
+            *)               gl_cv_func_working_strsignal="guessing yes";;
105571
 
+          esac
105572
 
+else
105573
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
105574
 
+/* end confdefs.h.  */
105575
 
+#include <string.h>
105576
 
+#include <unistd.h> /* NetBSD 5.0 declares it in wrong header. */
105577
 
+            
105578
 
+int
105579
 
+main ()
105580
 
+{
105581
 
+int result = 0;
105582
 
+              char *s = strsignal (-1);
105583
 
+              if (s == (char *) 0)
105584
 
+                result |= 1;
105585
 
+              if (s == (char *) -1)
105586
 
+                result |= 2;
105587
 
+              return result;
105588
 
+            
105589
 
+  ;
105590
 
+  return 0;
105591
 
+}
105592
 
+_ACEOF
105593
 
+if ac_fn_c_try_run "$LINENO"; then :
105594
 
+  gl_cv_func_working_strsignal=yes
105595
 
+else
105596
 
+  gl_cv_func_working_strsignal=no
105597
 
+fi
105598
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
105599
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
105600
 
+fi
105601
 
+
105602
 
+fi
105603
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strsignal" >&5
105604
 
+$as_echo "$gl_cv_func_working_strsignal" >&6; }
105605
 
+    if test "$gl_cv_func_working_strsignal" = no; then
105606
 
+      REPLACE_STRSIGNAL=1
105607
 
+    fi
105608
 
+  else
105609
 
+    HAVE_STRSIGNAL=0
105610
 
+  fi
105611
 
+
105612
 
+if test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1; then
105613
 
+  
105614
 
+  
105615
 
+  
105616
 
+    
105617
 
+      
105618
 
+      
105619
 
+    
105620
 
+  
105621
 
+  gl_LIBOBJS="$gl_LIBOBJS strsignal.$ac_objext"
105622
 
+
105623
 
+  
105624
 
+  
105625
 
+  ac_fn_c_check_decl "$LINENO" "_sys_siglist" "ac_cv_have_decl__sys_siglist" "#include <signal.h>
105626
 
+"
105627
 
+if test "x$ac_cv_have_decl__sys_siglist" = xyes; then :
105628
 
+  ac_have_decl=1
105629
 
+else
105630
 
+  ac_have_decl=0
105631
 
+fi
105632
 
+
105633
 
+cat >>confdefs.h <<_ACEOF
105634
 
+@%:@define HAVE_DECL__SYS_SIGLIST $ac_have_decl
105635
 
+_ACEOF
105636
 
+
105637
 
+
105638
 
+fi
105639
 
+
105640
 
+    
105641
 
+  
105642
 
+  
105643
 
+  
105644
 
+          GNULIB_STRSIGNAL=1
105645
 
+    
105646
 
+
105647
 
+
105648
 
+    
105649
 
+  
105650
 
+$as_echo "@%:@define GNULIB_TEST_STRSIGNAL 1" >>confdefs.h
105651
 
+
105652
 
+
105653
 
+
105654
 
+
105655
 
+  
105656
 
+  
105657
 
+  if test "$gl_cv_func_memchr_works" != yes; then
105658
 
+    REPLACE_STRSTR=1
105659
 
+  else
105660
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5
105661
 
+$as_echo_n "checking whether strstr works... " >&6; }
105662
 
+if ${gl_cv_func_strstr_works_always+:} false; then :
105663
 
+  $as_echo_n "(cached) " >&6
105664
 
+else
105665
 
+  if test "$cross_compiling" = yes; then :
105666
 
+                                               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
105667
 
+/* end confdefs.h.  */
105668
 
+
105669
 
+#ifdef __GNU_LIBRARY__
105670
 
+ #include <features.h>
105671
 
+ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \
105672
 
+     || defined __UCLIBC__
105673
 
+  Lucky user
105674
 
+ #endif
105675
 
+#elif defined __CYGWIN__
105676
 
+ #include <cygwin/version.h>
105677
 
+ #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
105678
 
+  Lucky user
105679
 
+ #endif
105680
 
+#else
105681
 
+  Lucky user
105682
 
+#endif
105683
 
+           
105684
 
+_ACEOF
105685
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
105686
 
+  $EGREP "Lucky user" >/dev/null 2>&1; then :
105687
 
+  gl_cv_func_strstr_works_always=yes
105688
 
+else
105689
 
+  gl_cv_func_strstr_works_always="guessing no"
105690
 
+fi
105691
 
+rm -f conftest*
105692
 
+
105693
 
+        
105694
 
+else
105695
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
105696
 
+/* end confdefs.h.  */
105697
 
+
105698
 
+#include <string.h> /* for strstr */
105699
 
+#define P "_EF_BF_BD"
105700
 
+#define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P
105701
 
+#define NEEDLE P P P P P
105702
 
+
105703
 
+int
105704
 
+main ()
105705
 
+{
105706
 
+return !!strstr (HAYSTACK, NEEDLE);
105707
 
+    
105708
 
+  ;
105709
 
+  return 0;
105710
 
+}
105711
 
+_ACEOF
105712
 
+if ac_fn_c_try_run "$LINENO"; then :
105713
 
+  gl_cv_func_strstr_works_always=yes
105714
 
+else
105715
 
+  gl_cv_func_strstr_works_always=no
105716
 
+fi
105717
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
105718
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
105719
 
+fi
105720
 
+
105721
 
+      
105722
 
+fi
105723
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strstr_works_always" >&5
105724
 
+$as_echo "$gl_cv_func_strstr_works_always" >&6; }
105725
 
+    if test "$gl_cv_func_strstr_works_always" != yes; then
105726
 
+      REPLACE_STRSTR=1
105727
 
+    fi
105728
 
+  fi
105729
 
+
105730
 
+if test $REPLACE_STRSTR = 1; then
105731
 
+  
105732
 
+  
105733
 
+  
105734
 
+    
105735
 
+      
105736
 
+      
105737
 
+    
105738
 
+  
105739
 
+  gl_LIBOBJS="$gl_LIBOBJS strstr.$ac_objext"
105740
 
+
105741
 
+fi
105742
 
+
105743
 
+    
105744
 
+  
105745
 
+  
105746
 
+  
105747
 
+          GNULIB_STRSTR=1
105748
 
+    
105749
 
+
105750
 
+
105751
 
+    
105752
 
+  
105753
 
+$as_echo "@%:@define GNULIB_TEST_STRSTR 1" >>confdefs.h
105754
 
+
105755
 
+
105756
 
+
105757
 
+
105758
 
+  
105759
 
+  
105760
 
+  if test $HAVE_STRTOD = 1; then
105761
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtod obeys C99" >&5
105762
 
+$as_echo_n "checking whether strtod obeys C99... " >&6; }
105763
 
+if ${gl_cv_func_strtod_works+:} false; then :
105764
 
+  $as_echo_n "(cached) " >&6
105765
 
+else
105766
 
+  if test "$cross_compiling" = yes; then :
105767
 
+                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
105768
 
+/* end confdefs.h.  */
105769
 
+
105770
 
+#include <features.h>
105771
 
+#ifdef __GNU_LIBRARY__
105772
 
+ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8) || (__GLIBC__ > 2)) \
105773
 
+     && !defined __UCLIBC__
105774
 
+  Lucky user
105775
 
+ #endif
105776
 
+#endif
105777
 
+           
105778
 
+_ACEOF
105779
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
105780
 
+  $EGREP "Lucky user" >/dev/null 2>&1; then :
105781
 
+  gl_cv_func_strtod_works=yes
105782
 
+else
105783
 
+  gl_cv_func_strtod_works="guessing no"
105784
 
+fi
105785
 
+rm -f conftest*
105786
 
+
105787
 
+else
105788
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
105789
 
+/* end confdefs.h.  */
105790
 
+
105791
 
+#include <stdlib.h>
105792
 
+#include <math.h>
105793
 
+#include <errno.h>
105794
 
+/* Compare two numbers with ==.
105795
 
+   This is a separate function because IRIX 6.5 "cc -O" miscompiles an
105796
 
+   'x == x' test.  */
105797
 
+static int
105798
 
+numeric_equal (double x, double y)
105799
 
+{
105800
 
+  return x == y;
105801
 
+}
105802
 
+
105803
 
+int
105804
 
+main ()
105805
 
+{
105806
 
+
105807
 
+  int result = 0;
105808
 
+  {
105809
 
+    /* In some old versions of Linux (2000 or before), strtod mis-parses
105810
 
+       strings with leading '+'.  */
105811
 
+    const char *string = " +69";
105812
 
+    char *term;
105813
 
+    double value = strtod (string, &term);
105814
 
+    if (value != 69 || term != (string + 4))
105815
 
+      result |= 1;
105816
 
+  }
105817
 
+  {
105818
 
+    /* Under Solaris 2.4, strtod returns the wrong value for the
105819
 
+       terminating character under some conditions.  */
105820
 
+    const char *string = "NaN";
105821
 
+    char *term;
105822
 
+    strtod (string, &term);
105823
 
+    if (term != string && *(term - 1) == 0)
105824
 
+      result |= 2;
105825
 
+  }
105826
 
+  {
105827
 
+    /* Older glibc and Cygwin mis-parse "-0x".  */
105828
 
+    const char *string = "-0x";
105829
 
+    char *term;
105830
 
+    double value = strtod (string, &term);
105831
 
+    double zero = 0.0;
105832
 
+    if (1.0 / value != -1.0 / zero || term != (string + 2))
105833
 
+      result |= 4;
105834
 
+  }
105835
 
+  {
105836
 
+    /* Many platforms do not parse hex floats.  */
105837
 
+    const char *string = "0XaP+1";
105838
 
+    char *term;
105839
 
+    double value = strtod (string, &term);
105840
 
+    if (value != 20.0 || term != (string + 6))
105841
 
+      result |= 8;
105842
 
+  }
105843
 
+  {
105844
 
+    /* Many platforms do not parse infinities.  HP-UX 11.31 parses inf,
105845
 
+       but mistakenly sets errno.  */
105846
 
+    const char *string = "inf";
105847
 
+    char *term;
105848
 
+    double value;
105849
 
+    errno = 0;
105850
 
+    value = strtod (string, &term);
105851
 
+    if (value != HUGE_VAL || term != (string + 3) || errno)
105852
 
+      result |= 16;
105853
 
+  }
105854
 
+  {
105855
 
+    /* glibc 2.7 and cygwin 1.5.24 misparse "nan()".  */
105856
 
+    const char *string = "nan()";
105857
 
+    char *term;
105858
 
+    double value = strtod (string, &term);
105859
 
+    if (numeric_equal (value, value) || term != (string + 5))
105860
 
+      result |= 32;
105861
 
+  }
105862
 
+  {
105863
 
+    /* darwin 10.6.1 misparses "nan(".  */
105864
 
+    const char *string = "nan(";
105865
 
+    char *term;
105866
 
+    double value = strtod (string, &term);
105867
 
+    if (numeric_equal (value, value) || term != (string + 3))
105868
 
+      result |= 64;
105869
 
+  }
105870
 
+  return result;
105871
 
+
105872
 
+  ;
105873
 
+  return 0;
105874
 
+}
105875
 
+_ACEOF
105876
 
+if ac_fn_c_try_run "$LINENO"; then :
105877
 
+  gl_cv_func_strtod_works=yes
105878
 
+else
105879
 
+  gl_cv_func_strtod_works=no
105880
 
+fi
105881
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
105882
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
105883
 
+fi
105884
 
+
105885
 
+fi
105886
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strtod_works" >&5
105887
 
+$as_echo "$gl_cv_func_strtod_works" >&6; }
105888
 
+    if test "$gl_cv_func_strtod_works" != yes; then
105889
 
+      REPLACE_STRTOD=1
105890
 
+    fi
105891
 
+  fi
105892
 
+
105893
 
+if test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1; then
105894
 
+  
105895
 
+  
105896
 
+  
105897
 
+    
105898
 
+      
105899
 
+      
105900
 
+    
105901
 
+  
105902
 
+  gl_LIBOBJS="$gl_LIBOBJS strtod.$ac_objext"
105903
 
+
105904
 
+  
105905
 
+  
105906
 
+  if test $gl_cv_func_ldexp_no_libm = yes; then
105907
 
+    
105908
 
+$as_echo "@%:@define HAVE_LDEXP_IN_LIBC 1" >>confdefs.h
105909
 
+
105910
 
+  fi
105911
 
+
105912
 
+fi
105913
 
+
105914
 
+    
105915
 
+  
105916
 
+  
105917
 
+  
105918
 
+          GNULIB_STRTOD=1
105919
 
+    
105920
 
+
105921
 
+
105922
 
+    
105923
 
+  
105924
 
+$as_echo "@%:@define GNULIB_TEST_STRTOD 1" >>confdefs.h
105925
 
+
105926
 
+
105927
 
+
105928
 
+
105929
 
+  
105930
 
+
105931
 
+    
105932
 
+  
105933
 
+  if test "$ac_cv_have_decl_strtoimax" != yes; then
105934
 
+    HAVE_DECL_STRTOIMAX=0
105935
 
+  fi
105936
 
+
105937
 
+if test $ac_cv_func_strtoimax = no; then
105938
 
+  
105939
 
+  
105940
 
+  
105941
 
+    
105942
 
+      
105943
 
+      
105944
 
+    
105945
 
+  
105946
 
+  gl_LIBOBJS="$gl_LIBOBJS strtoimax.$ac_objext"
105947
 
+
105948
 
+  
105949
 
+  ac_fn_c_check_decl "$LINENO" "strtoll" "ac_cv_have_decl_strtoll" "$ac_includes_default"
105950
 
+if test "x$ac_cv_have_decl_strtoll" = xyes; then :
105951
 
+  ac_have_decl=1
105952
 
+else
105953
 
+  ac_have_decl=0
105954
 
+fi
105955
 
+
105956
 
+cat >>confdefs.h <<_ACEOF
105957
 
+@%:@define HAVE_DECL_STRTOLL $ac_have_decl
105958
 
+_ACEOF
105959
 
+
105960
 
+  
105961
 
+
105962
 
+fi
105963
 
+
105964
 
+    
105965
 
+  
105966
 
+  
105967
 
+  
105968
 
+          GNULIB_STRTOIMAX=1
105969
 
+    
105970
 
+
105971
 
+
105972
 
+
105973
 
+
105974
 
+  
105975
 
+      
105976
 
+  if test "$ac_cv_type_long_long_int" = yes; then
105977
 
+    for ac_func in strtoll
105978
 
+do :
105979
 
+  ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll"
105980
 
+if test "x$ac_cv_func_strtoll" = xyes; then :
105981
 
+  cat >>confdefs.h <<_ACEOF
105982
 
+@%:@define HAVE_STRTOLL 1
105983
 
+_ACEOF
105984
 
105985
 
+fi
105986
 
+done
105987
 
+
105988
 
+    if test $ac_cv_func_strtoll = no; then
105989
 
+      HAVE_STRTOLL=0
105990
 
+    fi
105991
 
+  fi
105992
 
+
105993
 
+if test $HAVE_STRTOLL = 0; then
105994
 
+  
105995
 
+  
105996
 
+  
105997
 
+    
105998
 
+      
105999
 
+      
106000
 
+    
106001
 
+  
106002
 
+  gl_LIBOBJS="$gl_LIBOBJS strtoll.$ac_objext"
106003
 
+
106004
 
+  
106005
 
+  :
106006
 
+
106007
 
+fi
106008
 
+
106009
 
+    
106010
 
+  
106011
 
+  
106012
 
+  
106013
 
+          GNULIB_STRTOLL=1
106014
 
+    
106015
 
+
106016
 
+
106017
 
+    
106018
 
+  
106019
 
+$as_echo "@%:@define GNULIB_TEST_STRTOLL 1" >>confdefs.h
106020
 
+
106021
 
+
106022
 
+
106023
 
+
106024
 
+  
106025
 
+      
106026
 
+  if test "$ac_cv_type_unsigned_long_long_int" = yes; then
106027
 
+    for ac_func in strtoull
106028
 
+do :
106029
 
+  ac_fn_c_check_func "$LINENO" "strtoull" "ac_cv_func_strtoull"
106030
 
+if test "x$ac_cv_func_strtoull" = xyes; then :
106031
 
+  cat >>confdefs.h <<_ACEOF
106032
 
+@%:@define HAVE_STRTOULL 1
106033
 
+_ACEOF
106034
 
106035
 
+fi
106036
 
+done
106037
 
+
106038
 
+    if test $ac_cv_func_strtoull = no; then
106039
 
+      HAVE_STRTOULL=0
106040
 
+    fi
106041
 
+  fi
106042
 
+
106043
 
+if test $HAVE_STRTOULL = 0; then
106044
 
+  
106045
 
+  
106046
 
+  
106047
 
+    
106048
 
+      
106049
 
+      
106050
 
+    
106051
 
+  
106052
 
+  gl_LIBOBJS="$gl_LIBOBJS strtoull.$ac_objext"
106053
 
+
106054
 
+  
106055
 
+  :
106056
 
+
106057
 
+fi
106058
 
+
106059
 
+    
106060
 
+  
106061
 
+  
106062
 
+  
106063
 
+          GNULIB_STRTOULL=1
106064
 
+    
106065
 
+
106066
 
+
106067
 
+    
106068
 
+  
106069
 
+$as_echo "@%:@define GNULIB_TEST_STRTOULL 1" >>confdefs.h
106070
 
+
106071
 
+
106072
 
+
106073
 
+
106074
 
+  
106075
 
+
106076
 
+    
106077
 
+  
106078
 
+  if test "$ac_cv_have_decl_strtoumax" != yes; then
106079
 
+    HAVE_DECL_STRTOUMAX=0
106080
 
+  fi
106081
 
+
106082
 
+if test $ac_cv_func_strtoumax = no; then
106083
 
+  
106084
 
+  
106085
 
+  
106086
 
+    
106087
 
+      
106088
 
+      
106089
 
+    
106090
 
+  
106091
 
+  gl_LIBOBJS="$gl_LIBOBJS strtoumax.$ac_objext"
106092
 
+
106093
 
+  
106094
 
+  ac_fn_c_check_decl "$LINENO" "strtoull" "ac_cv_have_decl_strtoull" "$ac_includes_default"
106095
 
+if test "x$ac_cv_have_decl_strtoull" = xyes; then :
106096
 
+  ac_have_decl=1
106097
 
+else
106098
 
+  ac_have_decl=0
106099
 
+fi
106100
 
+
106101
 
+cat >>confdefs.h <<_ACEOF
106102
 
+@%:@define HAVE_DECL_STRTOULL $ac_have_decl
106103
 
+_ACEOF
106104
 
+
106105
 
+  
106106
 
+
106107
 
+fi
106108
 
+
106109
 
+    
106110
 
+  
106111
 
+  
106112
 
+  
106113
 
+          GNULIB_STRTOUMAX=1
106114
 
+    
106115
 
+
106116
 
+
106117
 
+
106118
 
+
106119
 
+  
106120
 
+  
106121
 
+        if test $ac_cv_func_symlink = no; then
106122
 
+    HAVE_SYMLINK=0
106123
 
+  else
106124
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symlink handles trailing slash correctly" >&5
106125
 
+$as_echo_n "checking whether symlink handles trailing slash correctly... " >&6; }
106126
 
+if ${gl_cv_func_symlink_works+:} false; then :
106127
 
+  $as_echo_n "(cached) " >&6
106128
 
+else
106129
 
+  if test "$cross_compiling" = yes; then :
106130
 
+  gl_cv_func_symlink_works="guessing no"
106131
 
+else
106132
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106133
 
+/* end confdefs.h.  */
106134
 
+#include <unistd.h>
106135
 
+           
106136
 
+int
106137
 
+main ()
106138
 
+{
106139
 
+int result = 0;
106140
 
+             if (!symlink ("a", "conftest.link/"))
106141
 
+               result |= 1;
106142
 
+             if (symlink ("conftest.f", "conftest.lnk2"))
106143
 
+               result |= 2;
106144
 
+             else if (!symlink ("a", "conftest.lnk2/"))
106145
 
+               result |= 4;
106146
 
+             return result;
106147
 
+           
106148
 
+  ;
106149
 
+  return 0;
106150
 
+}
106151
 
+_ACEOF
106152
 
+if ac_fn_c_try_run "$LINENO"; then :
106153
 
+  gl_cv_func_symlink_works=yes
106154
 
+else
106155
 
+  gl_cv_func_symlink_works=no
106156
 
+fi
106157
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
106158
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
106159
 
+fi
106160
 
+
106161
 
+      rm -f conftest.f conftest.link conftest.lnk2
106162
 
+fi
106163
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_symlink_works" >&5
106164
 
+$as_echo "$gl_cv_func_symlink_works" >&6; }
106165
 
+    if test "$gl_cv_func_symlink_works" != yes; then
106166
 
+      REPLACE_SYMLINK=1
106167
 
+    fi
106168
 
+  fi
106169
 
+
106170
 
+if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then
106171
 
+  
106172
 
+  
106173
 
+  
106174
 
+    
106175
 
+      
106176
 
+      
106177
 
+    
106178
 
+  
106179
 
+  gl_LIBOBJS="$gl_LIBOBJS symlink.$ac_objext"
106180
 
+
106181
 
+fi
106182
 
+
106183
 
+    
106184
 
+  
106185
 
+  
106186
 
+  
106187
 
+          GNULIB_SYMLINK=1
106188
 
+    
106189
 
+
106190
 
+
106191
 
+    
106192
 
+  
106193
 
+$as_echo "@%:@define GNULIB_TEST_SYMLINK 1" >>confdefs.h
106194
 
+
106195
 
+
106196
 
+
106197
 
+
106198
 
+      
106199
 
+
106200
 
+  
106201
 
+  if test $ac_cv_header_sys_ioctl_h = yes; then
106202
 
+    HAVE_SYS_IOCTL_H=1
106203
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/ioctl.h> declares ioctl" >&5
106204
 
+$as_echo_n "checking whether <sys/ioctl.h> declares ioctl... " >&6; }
106205
 
+if ${gl_cv_decl_ioctl_in_sys_ioctl_h+:} false; then :
106206
 
+  $as_echo_n "(cached) " >&6
106207
 
+else
106208
 
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106209
 
+/* end confdefs.h.  */
106210
 
+#include <sys/ioctl.h>
106211
 
+
106212
 
+int
106213
 
+main ()
106214
 
+{
106215
 
+(void) ioctl;
106216
 
+  ;
106217
 
+  return 0;
106218
 
+}
106219
 
+_ACEOF
106220
 
+if ac_fn_c_try_compile "$LINENO"; then :
106221
 
+  gl_cv_decl_ioctl_in_sys_ioctl_h=yes
106222
 
+else
106223
 
+  gl_cv_decl_ioctl_in_sys_ioctl_h=no
106224
 
+fi
106225
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
106226
 
+      
106227
 
+fi
106228
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_ioctl_in_sys_ioctl_h" >&5
106229
 
+$as_echo "$gl_cv_decl_ioctl_in_sys_ioctl_h" >&6; }
106230
 
+  else
106231
 
+    HAVE_SYS_IOCTL_H=0
106232
 
+  fi
106233
 
+  
106234
 
+    
106235
 
+  
106236
 
+  
106237
 
+  
106238
 
+
106239
 
+  
106240
 
+    
106241
 
+
106242
 
+  
106243
 
+     if test $gl_cv_have_include_next = yes; then
106244
 
+       gl_cv_next_sys_ioctl_h='<'sys/ioctl.h'>'
106245
 
+     else
106246
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/ioctl.h>" >&5
106247
 
+$as_echo_n "checking absolute name of <sys/ioctl.h>... " >&6; }
106248
 
+if ${gl_cv_next_sys_ioctl_h+:} false; then :
106249
 
+  $as_echo_n "(cached) " >&6
106250
 
+else
106251
 
+  
106252
 
+             if test $ac_cv_header_sys_ioctl_h = yes; then
106253
 
+             
106254
 
+            
106255
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106256
 
+/* end confdefs.h.  */
106257
 
+#include <sys/ioctl.h>
106258
 
+                  
106259
 
+_ACEOF
106260
 
+                                                                                                                        case "$host_os" in
106261
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
106262
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
106263
 
+               esac
106264
 
+                                                            gl_cv_next_sys_ioctl_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
106265
 
+                  sed -n '\#/sys/ioctl.h#{
106266
 
+                    s#.*"\(.*/sys/ioctl.h\)".*#\1#
106267
 
+                    s#^/[^/]#//&#
106268
 
+                    p
106269
 
+                    q
106270
 
+                  }'`'"'
106271
 
+          else
106272
 
+               gl_cv_next_sys_ioctl_h='<'sys/ioctl.h'>'
106273
 
+             fi
106274
 
+            
106275
 
+         
106276
 
+fi
106277
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_ioctl_h" >&5
106278
 
+$as_echo "$gl_cv_next_sys_ioctl_h" >&6; }
106279
 
+     fi
106280
 
+     NEXT_SYS_IOCTL_H=$gl_cv_next_sys_ioctl_h
106281
 
+
106282
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
106283
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
106284
 
+       gl_next_as_first_directive='<'sys/ioctl.h'>'
106285
 
+     else
106286
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
106287
 
+       gl_next_as_first_directive=$gl_cv_next_sys_ioctl_h
106288
 
+     fi
106289
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H=$gl_next_as_first_directive
106290
 
+
106291
 
+     
106292
 
+
106293
 
+
106294
 
+
106295
 
+      
106296
 
+    for gl_func in ioctl; do
106297
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
106298
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
106299
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
106300
 
+if eval \${$as_gl_Symbol+:} false; then :
106301
 
+  $as_echo_n "(cached) " >&6
106302
 
+else
106303
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106304
 
+/* end confdefs.h.  */
106305
 
+#include <sys/ioctl.h>
106306
 
+/* Some platforms declare ioctl in the wrong header.  */
106307
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
106308
 
+# include <unistd.h>
106309
 
+#endif
106310
 
+    
106311
 
+int
106312
 
+main ()
106313
 
+{
106314
 
+@%:@undef $gl_func
106315
 
+  (void) $gl_func;
106316
 
+  ;
106317
 
+  return 0;
106318
 
+}
106319
 
+_ACEOF
106320
 
+if ac_fn_c_try_compile "$LINENO"; then :
106321
 
+  eval "$as_gl_Symbol=yes"
106322
 
+else
106323
 
+  eval "$as_gl_Symbol=no"
106324
 
+fi
106325
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
106326
 
+fi
106327
 
+eval ac_res=\$$as_gl_Symbol
106328
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
106329
 
+$as_echo "$ac_res" >&6; }
106330
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
106331
 
+  cat >>confdefs.h <<_ACEOF
106332
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
106333
 
+_ACEOF
106334
 
+
106335
 
+                     eval ac_cv_have_decl_$gl_func=yes
106336
 
+fi
106337
 
+      done
106338
 
+
106339
 
+
106340
 
+
106341
 
+
106342
 
+  
106343
 
+  
106344
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/select.h> is self-contained" >&5
106345
 
+$as_echo_n "checking whether <sys/select.h> is self-contained... " >&6; }
106346
 
+if ${gl_cv_header_sys_select_h_selfcontained+:} false; then :
106347
 
+  $as_echo_n "(cached) " >&6
106348
 
+else
106349
 
+  
106350
 
+                                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106351
 
+/* end confdefs.h.  */
106352
 
+#include <sys/select.h>
106353
 
+int
106354
 
+main ()
106355
 
+{
106356
 
+struct timeval b;
106357
 
+  ;
106358
 
+  return 0;
106359
 
+}
106360
 
+_ACEOF
106361
 
+if ac_fn_c_try_compile "$LINENO"; then :
106362
 
+  gl_cv_header_sys_select_h_selfcontained=yes
106363
 
+else
106364
 
+  gl_cv_header_sys_select_h_selfcontained=no
106365
 
+fi
106366
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
106367
 
+                        if test $gl_cv_header_sys_select_h_selfcontained = yes; then
106368
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106369
 
+/* end confdefs.h.  */
106370
 
+#include <sys/select.h>
106371
 
+int
106372
 
+main ()
106373
 
+{
106374
 
+int memset; int bzero;
106375
 
+  ;
106376
 
+  return 0;
106377
 
+}
106378
 
+          
106379
 
+_ACEOF
106380
 
+if ac_fn_c_try_compile "$LINENO"; then :
106381
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106382
 
+/* end confdefs.h.  */
106383
 
+#include <sys/select.h>
106384
 
+int
106385
 
+main ()
106386
 
+{
106387
 
+
106388
 
+                  #undef memset
106389
 
+                  #define memset nonexistent_memset
106390
 
+                  extern
106391
 
+                  #ifdef __cplusplus
106392
 
+                  "C"
106393
 
+                  #endif
106394
 
+                  void *memset (void *, int, unsigned long);
106395
 
+                  #undef bzero
106396
 
+                  #define bzero nonexistent_bzero
106397
 
+                  extern
106398
 
+                  #ifdef __cplusplus
106399
 
+                  "C"
106400
 
+                  #endif
106401
 
+                  void bzero (void *, unsigned long);
106402
 
+                  fd_set fds;
106403
 
+                  FD_ZERO (&fds);
106404
 
+                
106405
 
+  ;
106406
 
+  return 0;
106407
 
+}
106408
 
+             
106409
 
+_ACEOF
106410
 
+if ac_fn_c_try_link "$LINENO"; then :
106411
 
+  
106412
 
+else
106413
 
+  gl_cv_header_sys_select_h_selfcontained=no
106414
 
+fi
106415
 
+rm -f core conftest.err conftest.$ac_objext \
106416
 
+    conftest$ac_exeext conftest.$ac_ext
106417
 
+          
106418
 
+fi
106419
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
106420
 
+      fi
106421
 
+    
106422
 
+fi
106423
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_select_h_selfcontained" >&5
106424
 
+$as_echo "$gl_cv_header_sys_select_h_selfcontained" >&6; }
106425
 
+    
106426
 
+  
106427
 
+  
106428
 
+  
106429
 
+
106430
 
+  
106431
 
+    
106432
 
+
106433
 
+  
106434
 
+     if test $gl_cv_have_include_next = yes; then
106435
 
+       gl_cv_next_sys_select_h='<'sys/select.h'>'
106436
 
+     else
106437
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/select.h>" >&5
106438
 
+$as_echo_n "checking absolute name of <sys/select.h>... " >&6; }
106439
 
+if ${gl_cv_next_sys_select_h+:} false; then :
106440
 
+  $as_echo_n "(cached) " >&6
106441
 
+else
106442
 
+  
106443
 
+             if test $ac_cv_header_sys_select_h = yes; then
106444
 
+             
106445
 
+            
106446
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106447
 
+/* end confdefs.h.  */
106448
 
+#include <sys/select.h>
106449
 
+                  
106450
 
+_ACEOF
106451
 
+                                                                                                                        case "$host_os" in
106452
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
106453
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
106454
 
+               esac
106455
 
+                                                            gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
106456
 
+                  sed -n '\#/sys/select.h#{
106457
 
+                    s#.*"\(.*/sys/select.h\)".*#\1#
106458
 
+                    s#^/[^/]#//&#
106459
 
+                    p
106460
 
+                    q
106461
 
+                  }'`'"'
106462
 
+          else
106463
 
+               gl_cv_next_sys_select_h='<'sys/select.h'>'
106464
 
+             fi
106465
 
+            
106466
 
+         
106467
 
+fi
106468
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_select_h" >&5
106469
 
+$as_echo "$gl_cv_next_sys_select_h" >&6; }
106470
 
+     fi
106471
 
+     NEXT_SYS_SELECT_H=$gl_cv_next_sys_select_h
106472
 
+
106473
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
106474
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
106475
 
+       gl_next_as_first_directive='<'sys/select.h'>'
106476
 
+     else
106477
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
106478
 
+       gl_next_as_first_directive=$gl_cv_next_sys_select_h
106479
 
+     fi
106480
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H=$gl_next_as_first_directive
106481
 
+
106482
 
+     
106483
 
+
106484
 
+
106485
 
+  if test $ac_cv_header_sys_select_h = yes; then
106486
 
+    HAVE_SYS_SELECT_H=1
106487
 
+  else
106488
 
+    HAVE_SYS_SELECT_H=0
106489
 
+  fi
106490
 
+  
106491
 
+  
106492
 
+  
106493
 
+  
106494
 
+  
106495
 
+  if test $ac_cv_header_sys_socket_h != yes; then
106496
 
+                    for ac_header in winsock2.h
106497
 
+do :
106498
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
106499
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
106500
 
+  cat >>confdefs.h <<_ACEOF
106501
 
+@%:@define HAVE_WINSOCK2_H 1
106502
 
+_ACEOF
106503
 
106504
 
+fi
106505
 
+
106506
 
+done
106507
 
+
106508
 
+  fi
106509
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
106510
 
+    HAVE_WINSOCK2_H=1
106511
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
106512
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
106513
 
+  else
106514
 
+    HAVE_WINSOCK2_H=0
106515
 
+  fi
106516
 
+  
106517
 
+
106518
 
+
106519
 
+      
106520
 
+    for gl_func in pselect select; do
106521
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
106522
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
106523
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
106524
 
+if eval \${$as_gl_Symbol+:} false; then :
106525
 
+  $as_echo_n "(cached) " >&6
106526
 
+else
106527
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106528
 
+/* end confdefs.h.  */
106529
 
+
106530
 
+/* Some systems require prerequisite headers.  */
106531
 
+#include <sys/types.h>
106532
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__) && HAVE_SYS_TIME_H
106533
 
+# include <sys/time.h>
106534
 
+#endif
106535
 
+#include <sys/select.h>
106536
 
+    
106537
 
+int
106538
 
+main ()
106539
 
+{
106540
 
+@%:@undef $gl_func
106541
 
+  (void) $gl_func;
106542
 
+  ;
106543
 
+  return 0;
106544
 
+}
106545
 
+_ACEOF
106546
 
+if ac_fn_c_try_compile "$LINENO"; then :
106547
 
+  eval "$as_gl_Symbol=yes"
106548
 
+else
106549
 
+  eval "$as_gl_Symbol=no"
106550
 
+fi
106551
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
106552
 
+fi
106553
 
+eval ac_res=\$$as_gl_Symbol
106554
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
106555
 
+$as_echo "$ac_res" >&6; }
106556
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
106557
 
+  cat >>confdefs.h <<_ACEOF
106558
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
106559
 
+_ACEOF
106560
 
+
106561
 
+                     eval ac_cv_have_decl_$gl_func=yes
106562
 
+fi
106563
 
+      done
106564
 
+
106565
 
+
106566
 
+
106567
 
+
106568
 
+  
106569
 
+  
106570
 
+  
106571
 
+
106572
 
+        case "$host_os" in
106573
 
+    osf*)
106574
 
+      
106575
 
+$as_echo "@%:@define _POSIX_PII_SOCKET 1" >>confdefs.h
106576
 
+
106577
 
+      ;;
106578
 
+  esac
106579
 
+
106580
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/socket.h> is self-contained" >&5
106581
 
+$as_echo_n "checking whether <sys/socket.h> is self-contained... " >&6; }
106582
 
+if ${gl_cv_header_sys_socket_h_selfcontained+:} false; then :
106583
 
+  $as_echo_n "(cached) " >&6
106584
 
+else
106585
 
+  
106586
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106587
 
+/* end confdefs.h.  */
106588
 
+#include <sys/socket.h>
106589
 
+int
106590
 
+main ()
106591
 
+{
106592
 
+
106593
 
+  ;
106594
 
+  return 0;
106595
 
+}
106596
 
+_ACEOF
106597
 
+if ac_fn_c_try_compile "$LINENO"; then :
106598
 
+  gl_cv_header_sys_socket_h_selfcontained=yes
106599
 
+else
106600
 
+  gl_cv_header_sys_socket_h_selfcontained=no
106601
 
+fi
106602
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
106603
 
+    
106604
 
+fi
106605
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_selfcontained" >&5
106606
 
+$as_echo "$gl_cv_header_sys_socket_h_selfcontained" >&6; }
106607
 
+  if test $gl_cv_header_sys_socket_h_selfcontained = yes; then
106608
 
+            for ac_func in shutdown
106609
 
+do :
106610
 
+  ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown"
106611
 
+if test "x$ac_cv_func_shutdown" = xyes; then :
106612
 
+  cat >>confdefs.h <<_ACEOF
106613
 
+@%:@define HAVE_SHUTDOWN 1
106614
 
+_ACEOF
106615
 
106616
 
+fi
106617
 
+done
106618
 
+
106619
 
+    if test $ac_cv_func_shutdown = yes; then
106620
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/socket.h> defines the SHUT_* macros" >&5
106621
 
+$as_echo_n "checking whether <sys/socket.h> defines the SHUT_* macros... " >&6; }
106622
 
+if ${gl_cv_header_sys_socket_h_shut+:} false; then :
106623
 
+  $as_echo_n "(cached) " >&6
106624
 
+else
106625
 
+  
106626
 
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106627
 
+/* end confdefs.h.  */
106628
 
+#include <sys/socket.h>
106629
 
+int
106630
 
+main ()
106631
 
+{
106632
 
+int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR };
106633
 
+  ;
106634
 
+  return 0;
106635
 
+}
106636
 
+_ACEOF
106637
 
+if ac_fn_c_try_compile "$LINENO"; then :
106638
 
+  gl_cv_header_sys_socket_h_shut=yes
106639
 
+else
106640
 
+  gl_cv_header_sys_socket_h_shut=no
106641
 
+fi
106642
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
106643
 
+        
106644
 
+fi
106645
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_socket_h_shut" >&5
106646
 
+$as_echo "$gl_cv_header_sys_socket_h_shut" >&6; }
106647
 
+      if test $gl_cv_header_sys_socket_h_shut = no; then
106648
 
+        SYS_SOCKET_H='sys/socket.h'
106649
 
+      fi
106650
 
+    fi
106651
 
+  fi
106652
 
+  # We need to check for ws2tcpip.h now.
106653
 
+  
106654
 
+    
106655
 
+  
106656
 
+  
106657
 
+  
106658
 
+  
106659
 
+
106660
 
+  
106661
 
+    
106662
 
+
106663
 
+  
106664
 
+     if test $gl_cv_have_include_next = yes; then
106665
 
+       gl_cv_next_sys_socket_h='<'sys/socket.h'>'
106666
 
+     else
106667
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/socket.h>" >&5
106668
 
+$as_echo_n "checking absolute name of <sys/socket.h>... " >&6; }
106669
 
+if ${gl_cv_next_sys_socket_h+:} false; then :
106670
 
+  $as_echo_n "(cached) " >&6
106671
 
+else
106672
 
+  
106673
 
+             if test $ac_cv_header_sys_socket_h = yes; then
106674
 
+             
106675
 
+            
106676
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106677
 
+/* end confdefs.h.  */
106678
 
+#include <sys/socket.h>
106679
 
+                  
106680
 
+_ACEOF
106681
 
+                                                                                                                        case "$host_os" in
106682
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
106683
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
106684
 
+               esac
106685
 
+                                                            gl_cv_next_sys_socket_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
106686
 
+                  sed -n '\#/sys/socket.h#{
106687
 
+                    s#.*"\(.*/sys/socket.h\)".*#\1#
106688
 
+                    s#^/[^/]#//&#
106689
 
+                    p
106690
 
+                    q
106691
 
+                  }'`'"'
106692
 
+          else
106693
 
+               gl_cv_next_sys_socket_h='<'sys/socket.h'>'
106694
 
+             fi
106695
 
+            
106696
 
+         
106697
 
+fi
106698
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5
106699
 
+$as_echo "$gl_cv_next_sys_socket_h" >&6; }
106700
 
+     fi
106701
 
+     NEXT_SYS_SOCKET_H=$gl_cv_next_sys_socket_h
106702
 
+
106703
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
106704
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
106705
 
+       gl_next_as_first_directive='<'sys/socket.h'>'
106706
 
+     else
106707
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
106708
 
+       gl_next_as_first_directive=$gl_cv_next_sys_socket_h
106709
 
+     fi
106710
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H=$gl_next_as_first_directive
106711
 
+
106712
 
+     
106713
 
+
106714
 
+
106715
 
+  if test $ac_cv_header_sys_socket_h = yes; then
106716
 
+    HAVE_SYS_SOCKET_H=1
106717
 
+    HAVE_WS2TCPIP_H=0
106718
 
+  else
106719
 
+    HAVE_SYS_SOCKET_H=0
106720
 
+    if test $ac_cv_header_ws2tcpip_h = yes; then
106721
 
+      HAVE_WS2TCPIP_H=1
106722
 
+    else
106723
 
+      HAVE_WS2TCPIP_H=0
106724
 
+    fi
106725
 
+  fi
106726
 
+  
106727
 
+  
106728
 
+
106729
 
+  ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
106730
 
+  /* sys/types.h is not needed according to POSIX, but the
106731
 
+     sys/socket.h in i386-unknown-freebsd4.10 and
106732
 
+     powerpc-apple-darwin5.5 required it. */
106733
 
+#include <sys/types.h>
106734
 
+#ifdef HAVE_SYS_SOCKET_H
106735
 
+#include <sys/socket.h>
106736
 
+#endif
106737
 
+#ifdef HAVE_WS2TCPIP_H
106738
 
+#include <ws2tcpip.h>
106739
 
+#endif
106740
 
+
106741
 
+"
106742
 
+if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
106743
 
+  
106744
 
+cat >>confdefs.h <<_ACEOF
106745
 
+@%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1
106746
 
+_ACEOF
106747
 
+
106748
 
+
106749
 
+fi
106750
 
+ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" "
106751
 
+  /* sys/types.h is not needed according to POSIX, but the
106752
 
+     sys/socket.h in i386-unknown-freebsd4.10 and
106753
 
+     powerpc-apple-darwin5.5 required it. */
106754
 
+#include <sys/types.h>
106755
 
+#ifdef HAVE_SYS_SOCKET_H
106756
 
+#include <sys/socket.h>
106757
 
+#endif
106758
 
+#ifdef HAVE_WS2TCPIP_H
106759
 
+#include <ws2tcpip.h>
106760
 
+#endif
106761
 
+
106762
 
+"
106763
 
+if test "x$ac_cv_type_sa_family_t" = xyes; then :
106764
 
+  
106765
 
+cat >>confdefs.h <<_ACEOF
106766
 
+@%:@define HAVE_SA_FAMILY_T 1
106767
 
+_ACEOF
106768
 
+
106769
 
+
106770
 
+fi
106771
 
+
106772
 
+  if test $ac_cv_type_struct_sockaddr_storage = no; then
106773
 
+    HAVE_STRUCT_SOCKADDR_STORAGE=0
106774
 
+  fi
106775
 
+  if test $ac_cv_type_sa_family_t = no; then
106776
 
+    HAVE_SA_FAMILY_T=0
106777
 
+  fi
106778
 
+  if test $ac_cv_type_struct_sockaddr_storage != no; then
106779
 
+    ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "#include <sys/types.h>
106780
 
+       #ifdef HAVE_SYS_SOCKET_H
106781
 
+       #include <sys/socket.h>
106782
 
+       #endif
106783
 
+       #ifdef HAVE_WS2TCPIP_H
106784
 
+       #include <ws2tcpip.h>
106785
 
+       #endif
106786
 
+      
106787
 
+"
106788
 
+if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then :
106789
 
+  
106790
 
+cat >>confdefs.h <<_ACEOF
106791
 
+@%:@define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
106792
 
+_ACEOF
106793
 
+
106794
 
+
106795
 
+else
106796
 
+  HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=0
106797
 
+fi
106798
 
+
106799
 
+  fi
106800
 
+  if test $HAVE_STRUCT_SOCKADDR_STORAGE = 0 || test $HAVE_SA_FAMILY_T = 0 \
106801
 
+     || test $HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = 0; then
106802
 
+    SYS_SOCKET_H='sys/socket.h'
106803
 
+  fi
106804
 
+  
106805
 
+  
106806
 
+  
106807
 
+  
106808
 
+  if test $ac_cv_header_sys_socket_h != yes; then
106809
 
+                    for ac_header in winsock2.h
106810
 
+do :
106811
 
+  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
106812
 
+if test "x$ac_cv_header_winsock2_h" = xyes; then :
106813
 
+  cat >>confdefs.h <<_ACEOF
106814
 
+@%:@define HAVE_WINSOCK2_H 1
106815
 
+_ACEOF
106816
 
106817
 
+fi
106818
 
+
106819
 
+done
106820
 
+
106821
 
+  fi
106822
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
106823
 
+    HAVE_WINSOCK2_H=1
106824
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
106825
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
106826
 
+  else
106827
 
+    HAVE_WINSOCK2_H=0
106828
 
+  fi
106829
 
+  
106830
 
+
106831
 
+
106832
 
+      
106833
 
+    for gl_func in socket connect accept bind getpeername getsockname getsockopt     listen recv send recvfrom sendto setsockopt shutdown accept4; do
106834
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
106835
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
106836
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
106837
 
+if eval \${$as_gl_Symbol+:} false; then :
106838
 
+  $as_echo_n "(cached) " >&6
106839
 
+else
106840
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106841
 
+/* end confdefs.h.  */
106842
 
+
106843
 
+/* Some systems require prerequisite headers.  */
106844
 
+#include <sys/types.h>
106845
 
+#include <sys/socket.h>
106846
 
+    
106847
 
+int
106848
 
+main ()
106849
 
+{
106850
 
+@%:@undef $gl_func
106851
 
+  (void) $gl_func;
106852
 
+  ;
106853
 
+  return 0;
106854
 
+}
106855
 
+_ACEOF
106856
 
+if ac_fn_c_try_compile "$LINENO"; then :
106857
 
+  eval "$as_gl_Symbol=yes"
106858
 
+else
106859
 
+  eval "$as_gl_Symbol=no"
106860
 
+fi
106861
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
106862
 
+fi
106863
 
+eval ac_res=\$$as_gl_Symbol
106864
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
106865
 
+$as_echo "$ac_res" >&6; }
106866
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
106867
 
+  cat >>confdefs.h <<_ACEOF
106868
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
106869
 
+_ACEOF
106870
 
+
106871
 
+                     eval ac_cv_have_decl_$gl_func=yes
106872
 
+fi
106873
 
+      done
106874
 
+
106875
 
+
106876
 
+
106877
 
+
106878
 
+  
106879
 
+
106880
 
+    
106881
 
+
106882
 
+    
106883
 
+
106884
 
+  
106885
 
+  
106886
 
+  
106887
 
+  
106888
 
+
106889
 
+  
106890
 
+    
106891
 
+
106892
 
+  
106893
 
+     if test $gl_cv_have_include_next = yes; then
106894
 
+       gl_cv_next_sys_stat_h='<'sys/stat.h'>'
106895
 
+     else
106896
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5
106897
 
+$as_echo_n "checking absolute name of <sys/stat.h>... " >&6; }
106898
 
+if ${gl_cv_next_sys_stat_h+:} false; then :
106899
 
+  $as_echo_n "(cached) " >&6
106900
 
+else
106901
 
+  
106902
 
+             if test $ac_cv_header_sys_stat_h = yes; then
106903
 
+             
106904
 
+            
106905
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106906
 
+/* end confdefs.h.  */
106907
 
+#include <sys/stat.h>
106908
 
+                  
106909
 
+_ACEOF
106910
 
+                                                                                                                        case "$host_os" in
106911
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
106912
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
106913
 
+               esac
106914
 
+                                                            gl_cv_next_sys_stat_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
106915
 
+                  sed -n '\#/sys/stat.h#{
106916
 
+                    s#.*"\(.*/sys/stat.h\)".*#\1#
106917
 
+                    s#^/[^/]#//&#
106918
 
+                    p
106919
 
+                    q
106920
 
+                  }'`'"'
106921
 
+          else
106922
 
+               gl_cv_next_sys_stat_h='<'sys/stat.h'>'
106923
 
+             fi
106924
 
+            
106925
 
+         
106926
 
+fi
106927
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5
106928
 
+$as_echo "$gl_cv_next_sys_stat_h" >&6; }
106929
 
+     fi
106930
 
+     NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h
106931
 
+
106932
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
106933
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
106934
 
+       gl_next_as_first_directive='<'sys/stat.h'>'
106935
 
+     else
106936
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
106937
 
+       gl_next_as_first_directive=$gl_cv_next_sys_stat_h
106938
 
+     fi
106939
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive
106940
 
+
106941
 
+     
106942
 
+
106943
 
+
106944
 
+
106945
 
+      ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
106946
 
+     #include <sys/stat.h>
106947
 
+"
106948
 
+if test "x$ac_cv_type_nlink_t" = xyes; then :
106949
 
+  
106950
 
+else
106951
 
+  
106952
 
+$as_echo "@%:@define nlink_t int" >>confdefs.h
106953
 
+
106954
 
+fi
106955
 
+
106956
 
+
106957
 
+      
106958
 
+    for gl_func in fchmodat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat     mknod mknodat stat utimensat; do
106959
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
106960
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
106961
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
106962
 
+if eval \${$as_gl_Symbol+:} false; then :
106963
 
+  $as_echo_n "(cached) " >&6
106964
 
+else
106965
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106966
 
+/* end confdefs.h.  */
106967
 
+#include <sys/stat.h>
106968
 
+    
106969
 
+int
106970
 
+main ()
106971
 
+{
106972
 
+@%:@undef $gl_func
106973
 
+  (void) $gl_func;
106974
 
+  ;
106975
 
+  return 0;
106976
 
+}
106977
 
+_ACEOF
106978
 
+if ac_fn_c_try_compile "$LINENO"; then :
106979
 
+  eval "$as_gl_Symbol=yes"
106980
 
+else
106981
 
+  eval "$as_gl_Symbol=no"
106982
 
+fi
106983
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
106984
 
+fi
106985
 
+eval ac_res=\$$as_gl_Symbol
106986
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
106987
 
+$as_echo "$ac_res" >&6; }
106988
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
106989
 
+  cat >>confdefs.h <<_ACEOF
106990
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
106991
 
+_ACEOF
106992
 
+
106993
 
+                     eval ac_cv_have_decl_$gl_func=yes
106994
 
+fi
106995
 
+      done
106996
 
+
106997
 
+
106998
 
+
106999
 
+
107000
 
+        
107001
 
+
107002
 
+
107003
 
+
107004
 
+  
107005
 
+    
107006
 
+  
107007
 
+  
107008
 
+  
107009
 
+
107010
 
+  
107011
 
+    
107012
 
+
107013
 
+  
107014
 
+     if test $gl_cv_have_include_next = yes; then
107015
 
+       gl_cv_next_sys_uio_h='<'sys/uio.h'>'
107016
 
+     else
107017
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/uio.h>" >&5
107018
 
+$as_echo_n "checking absolute name of <sys/uio.h>... " >&6; }
107019
 
+if ${gl_cv_next_sys_uio_h+:} false; then :
107020
 
+  $as_echo_n "(cached) " >&6
107021
 
+else
107022
 
+  
107023
 
+             if test $ac_cv_header_sys_uio_h = yes; then
107024
 
+             
107025
 
+            
107026
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107027
 
+/* end confdefs.h.  */
107028
 
+#include <sys/uio.h>
107029
 
+                  
107030
 
+_ACEOF
107031
 
+                                                                                                                        case "$host_os" in
107032
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
107033
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
107034
 
+               esac
107035
 
+                                                            gl_cv_next_sys_uio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
107036
 
+                  sed -n '\#/sys/uio.h#{
107037
 
+                    s#.*"\(.*/sys/uio.h\)".*#\1#
107038
 
+                    s#^/[^/]#//&#
107039
 
+                    p
107040
 
+                    q
107041
 
+                  }'`'"'
107042
 
+          else
107043
 
+               gl_cv_next_sys_uio_h='<'sys/uio.h'>'
107044
 
+             fi
107045
 
+            
107046
 
+         
107047
 
+fi
107048
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_uio_h" >&5
107049
 
+$as_echo "$gl_cv_next_sys_uio_h" >&6; }
107050
 
+     fi
107051
 
+     NEXT_SYS_UIO_H=$gl_cv_next_sys_uio_h
107052
 
+
107053
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
107054
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
107055
 
+       gl_next_as_first_directive='<'sys/uio.h'>'
107056
 
+     else
107057
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
107058
 
+       gl_next_as_first_directive=$gl_cv_next_sys_uio_h
107059
 
+     fi
107060
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H=$gl_next_as_first_directive
107061
 
+
107062
 
+     
107063
 
+
107064
 
+
107065
 
+  if test $ac_cv_header_sys_uio_h = yes; then
107066
 
+    HAVE_SYS_UIO_H=1
107067
 
+  else
107068
 
+    HAVE_SYS_UIO_H=0
107069
 
+  fi
107070
 
+  
107071
 
+
107072
 
+
107073
 
+
107074
 
+      
107075
 
+
107076
 
+    
107077
 
+  
107078
 
+  
107079
 
+  
107080
 
+
107081
 
+  
107082
 
+    
107083
 
+
107084
 
+  
107085
 
+     if test $gl_cv_have_include_next = yes; then
107086
 
+       gl_cv_next_sys_utsname_h='<'sys/utsname.h'>'
107087
 
+     else
107088
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/utsname.h>" >&5
107089
 
+$as_echo_n "checking absolute name of <sys/utsname.h>... " >&6; }
107090
 
+if ${gl_cv_next_sys_utsname_h+:} false; then :
107091
 
+  $as_echo_n "(cached) " >&6
107092
 
+else
107093
 
+  
107094
 
+             if test $ac_cv_header_sys_utsname_h = yes; then
107095
 
+             
107096
 
+            
107097
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107098
 
+/* end confdefs.h.  */
107099
 
+#include <sys/utsname.h>
107100
 
+                  
107101
 
+_ACEOF
107102
 
+                                                                                                                        case "$host_os" in
107103
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
107104
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
107105
 
+               esac
107106
 
+                                                            gl_cv_next_sys_utsname_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
107107
 
+                  sed -n '\#/sys/utsname.h#{
107108
 
+                    s#.*"\(.*/sys/utsname.h\)".*#\1#
107109
 
+                    s#^/[^/]#//&#
107110
 
+                    p
107111
 
+                    q
107112
 
+                  }'`'"'
107113
 
+          else
107114
 
+               gl_cv_next_sys_utsname_h='<'sys/utsname.h'>'
107115
 
+             fi
107116
 
+            
107117
 
+         
107118
 
+fi
107119
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_utsname_h" >&5
107120
 
+$as_echo "$gl_cv_next_sys_utsname_h" >&6; }
107121
 
+     fi
107122
 
+     NEXT_SYS_UTSNAME_H=$gl_cv_next_sys_utsname_h
107123
 
+
107124
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
107125
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
107126
 
+       gl_next_as_first_directive='<'sys/utsname.h'>'
107127
 
+     else
107128
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
107129
 
+       gl_next_as_first_directive=$gl_cv_next_sys_utsname_h
107130
 
+     fi
107131
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_UTSNAME_H=$gl_next_as_first_directive
107132
 
+
107133
 
+     
107134
 
+
107135
 
+
107136
 
+  if test $ac_cv_header_sys_utsname_h != yes; then
107137
 
+    HAVE_SYS_UTSNAME_H=0
107138
 
+    HAVE_STRUCT_UTSNAME=0
107139
 
+  else
107140
 
+    HAVE_SYS_UTSNAME_H=1
107141
 
+    ac_fn_c_check_type "$LINENO" "struct utsname" "ac_cv_type_struct_utsname" "
107142
 
+/* Minix 3.1.8 has a bug: <stddef.h> must be included before
107143
 
+   <sys/utsname.h>.  */
107144
 
+#include <stddef.h>
107145
 
+#include <sys/utsname.h>
107146
 
+      
107147
 
+"
107148
 
+if test "x$ac_cv_type_struct_utsname" = xyes; then :
107149
 
+  
107150
 
+cat >>confdefs.h <<_ACEOF
107151
 
+@%:@define HAVE_STRUCT_UTSNAME 1
107152
 
+_ACEOF
107153
 
+
107154
 
+
107155
 
+else
107156
 
+  HAVE_STRUCT_UTSNAME=0
107157
 
+fi
107158
 
+
107159
 
+  fi
107160
 
+  
107161
 
+
107162
 
+      
107163
 
+    for gl_func in uname; do
107164
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
107165
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
107166
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
107167
 
+if eval \${$as_gl_Symbol+:} false; then :
107168
 
+  $as_echo_n "(cached) " >&6
107169
 
+else
107170
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107171
 
+/* end confdefs.h.  */
107172
 
+
107173
 
+    /* Minix 3.1.8 has a bug: <stddef.h> must be included before
107174
 
+       <sys/utsname.h>.  */
107175
 
+    #include <stddef.h>
107176
 
+    #include <sys/utsname.h>
107177
 
+    
107178
 
+int
107179
 
+main ()
107180
 
+{
107181
 
+@%:@undef $gl_func
107182
 
+  (void) $gl_func;
107183
 
+  ;
107184
 
+  return 0;
107185
 
+}
107186
 
+_ACEOF
107187
 
+if ac_fn_c_try_compile "$LINENO"; then :
107188
 
+  eval "$as_gl_Symbol=yes"
107189
 
+else
107190
 
+  eval "$as_gl_Symbol=no"
107191
 
+fi
107192
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
107193
 
+fi
107194
 
+eval ac_res=\$$as_gl_Symbol
107195
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
107196
 
+$as_echo "$ac_res" >&6; }
107197
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
107198
 
+  cat >>confdefs.h <<_ACEOF
107199
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
107200
 
+_ACEOF
107201
 
+
107202
 
+                     eval ac_cv_have_decl_$gl_func=yes
107203
 
+fi
107204
 
+      done
107205
 
+
107206
 
+
107207
 
+
107208
 
+
107209
 
+  
107210
 
+
107211
 
+    
107212
 
+  
107213
 
+  
107214
 
+  
107215
 
+
107216
 
+  
107217
 
+    
107218
 
+
107219
 
+  
107220
 
+     if test $gl_cv_have_include_next = yes; then
107221
 
+       gl_cv_next_sys_wait_h='<'sys/wait.h'>'
107222
 
+     else
107223
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/wait.h>" >&5
107224
 
+$as_echo_n "checking absolute name of <sys/wait.h>... " >&6; }
107225
 
+if ${gl_cv_next_sys_wait_h+:} false; then :
107226
 
+  $as_echo_n "(cached) " >&6
107227
 
+else
107228
 
+  
107229
 
+             if test $ac_cv_header_sys_wait_h = yes; then
107230
 
+             
107231
 
+            
107232
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107233
 
+/* end confdefs.h.  */
107234
 
+#include <sys/wait.h>
107235
 
+                  
107236
 
+_ACEOF
107237
 
+                                                                                                                        case "$host_os" in
107238
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
107239
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
107240
 
+               esac
107241
 
+                                                            gl_cv_next_sys_wait_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
107242
 
+                  sed -n '\#/sys/wait.h#{
107243
 
+                    s#.*"\(.*/sys/wait.h\)".*#\1#
107244
 
+                    s#^/[^/]#//&#
107245
 
+                    p
107246
 
+                    q
107247
 
+                  }'`'"'
107248
 
+          else
107249
 
+               gl_cv_next_sys_wait_h='<'sys/wait.h'>'
107250
 
+             fi
107251
 
+            
107252
 
+         
107253
 
+fi
107254
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_wait_h" >&5
107255
 
+$as_echo "$gl_cv_next_sys_wait_h" >&6; }
107256
 
+     fi
107257
 
+     NEXT_SYS_WAIT_H=$gl_cv_next_sys_wait_h
107258
 
+
107259
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
107260
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
107261
 
+       gl_next_as_first_directive='<'sys/wait.h'>'
107262
 
+     else
107263
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
107264
 
+       gl_next_as_first_directive=$gl_cv_next_sys_wait_h
107265
 
+     fi
107266
 
+     NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H=$gl_next_as_first_directive
107267
 
+
107268
 
+     
107269
 
+
107270
 
+
107271
 
+
107272
 
+      
107273
 
+    for gl_func in waitpid; do
107274
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
107275
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
107276
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
107277
 
+if eval \${$as_gl_Symbol+:} false; then :
107278
 
+  $as_echo_n "(cached) " >&6
107279
 
+else
107280
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107281
 
+/* end confdefs.h.  */
107282
 
+#include <sys/wait.h>
107283
 
+int
107284
 
+main ()
107285
 
+{
107286
 
+@%:@undef $gl_func
107287
 
+  (void) $gl_func;
107288
 
+  ;
107289
 
+  return 0;
107290
 
+}
107291
 
+_ACEOF
107292
 
+if ac_fn_c_try_compile "$LINENO"; then :
107293
 
+  eval "$as_gl_Symbol=yes"
107294
 
+else
107295
 
+  eval "$as_gl_Symbol=no"
107296
 
+fi
107297
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
107298
 
+fi
107299
 
+eval ac_res=\$$as_gl_Symbol
107300
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
107301
 
+$as_echo "$ac_res" >&6; }
107302
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
107303
 
+  cat >>confdefs.h <<_ACEOF
107304
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
107305
 
+_ACEOF
107306
 
+
107307
 
+                     eval ac_cv_have_decl_$gl_func=yes
107308
 
+fi
107309
 
+      done
107310
 
+
107311
 
+
107312
 
+
107313
 
+
107314
 
+  
107315
 
+  :
107316
 
+
107317
 
+
107318
 
+
107319
 
+      
107320
 
+
107321
 
+  
107322
 
+  
107323
 
+  
107324
 
+  
107325
 
+
107326
 
+  
107327
 
+    
107328
 
+
107329
 
+  
107330
 
+     if test $gl_cv_have_include_next = yes; then
107331
 
+       gl_cv_next_termios_h='<'termios.h'>'
107332
 
+     else
107333
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <termios.h>" >&5
107334
 
+$as_echo_n "checking absolute name of <termios.h>... " >&6; }
107335
 
+if ${gl_cv_next_termios_h+:} false; then :
107336
 
+  $as_echo_n "(cached) " >&6
107337
 
+else
107338
 
+  
107339
 
+             if test $ac_cv_header_termios_h = yes; then
107340
 
+             
107341
 
+            
107342
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107343
 
+/* end confdefs.h.  */
107344
 
+#include <termios.h>
107345
 
+                  
107346
 
+_ACEOF
107347
 
+                                                                                                                        case "$host_os" in
107348
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
107349
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
107350
 
+               esac
107351
 
+                                                            gl_cv_next_termios_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
107352
 
+                  sed -n '\#/termios.h#{
107353
 
+                    s#.*"\(.*/termios.h\)".*#\1#
107354
 
+                    s#^/[^/]#//&#
107355
 
+                    p
107356
 
+                    q
107357
 
+                  }'`'"'
107358
 
+          else
107359
 
+               gl_cv_next_termios_h='<'termios.h'>'
107360
 
+             fi
107361
 
+            
107362
 
+         
107363
 
+fi
107364
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_termios_h" >&5
107365
 
+$as_echo "$gl_cv_next_termios_h" >&6; }
107366
 
+     fi
107367
 
+     NEXT_TERMIOS_H=$gl_cv_next_termios_h
107368
 
+
107369
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
107370
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
107371
 
+       gl_next_as_first_directive='<'termios.h'>'
107372
 
+     else
107373
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
107374
 
+       gl_next_as_first_directive=$gl_cv_next_termios_h
107375
 
+     fi
107376
 
+     NEXT_AS_FIRST_DIRECTIVE_TERMIOS_H=$gl_next_as_first_directive
107377
 
+
107378
 
+     
107379
 
+
107380
 
+
107381
 
+  if test $ac_cv_header_termios_h != yes; then
107382
 
+    HAVE_TERMIOS_H=0
107383
 
+  fi
107384
 
+
107385
 
+        
107386
 
+    for gl_func in tcgetsid; do
107387
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
107388
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
107389
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
107390
 
+if eval \${$as_gl_Symbol+:} false; then :
107391
 
+  $as_echo_n "(cached) " >&6
107392
 
+else
107393
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107394
 
+/* end confdefs.h.  */
107395
 
+#include <termios.h>
107396
 
+int
107397
 
+main ()
107398
 
+{
107399
 
+@%:@undef $gl_func
107400
 
+  (void) $gl_func;
107401
 
+  ;
107402
 
+  return 0;
107403
 
+}
107404
 
+_ACEOF
107405
 
+if ac_fn_c_try_compile "$LINENO"; then :
107406
 
+  eval "$as_gl_Symbol=yes"
107407
 
+else
107408
 
+  eval "$as_gl_Symbol=no"
107409
 
+fi
107410
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
107411
 
+fi
107412
 
+eval ac_res=\$$as_gl_Symbol
107413
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
107414
 
+$as_echo "$ac_res" >&6; }
107415
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
107416
 
+  cat >>confdefs.h <<_ACEOF
107417
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
107418
 
+_ACEOF
107419
 
+
107420
 
+                     eval ac_cv_have_decl_$gl_func=yes
107421
 
+fi
107422
 
+      done
107423
 
+
107424
 
+
107425
 
+
107426
 
+  
107427
 
+  
107428
 
+
107429
 
+
107430
 
+      
107431
 
+
107432
 
+
107433
 
+    
107434
 
+
107435
 
+  
107436
 
+  
107437
 
+
107438
 
+      
107439
 
+  if test $ac_cv_have_decl_localtime_r = no; then
107440
 
+    HAVE_DECL_LOCALTIME_R=0
107441
 
+  fi
107442
 
+
107443
 
+  
107444
 
+  if test $ac_cv_func_localtime_r = yes; then
107445
 
+    HAVE_LOCALTIME_R=1
107446
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime_r is compatible with its POSIX signature" >&5
107447
 
+$as_echo_n "checking whether localtime_r is compatible with its POSIX signature... " >&6; }
107448
 
+if ${gl_cv_time_r_posix+:} false; then :
107449
 
+  $as_echo_n "(cached) " >&6
107450
 
+else
107451
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107452
 
+/* end confdefs.h.  */
107453
 
+#include <time.h>
107454
 
+int
107455
 
+main ()
107456
 
+{
107457
 
+/* We don't need to append 'restrict's to the argument types,
107458
 
+                 even though the POSIX signature has the 'restrict's,
107459
 
+                 since C99 says they can't affect type compatibility.  */
107460
 
+              struct tm * (*ptr) (time_t const *, struct tm *) = localtime_r;
107461
 
+              if (ptr) return 0;
107462
 
+              /* Check the return type is a pointer.
107463
 
+                 On HP-UX 10 it is 'int'.  */
107464
 
+              *localtime_r (0, 0);
107465
 
+  ;
107466
 
+  return 0;
107467
 
+}
107468
 
+         
107469
 
+_ACEOF
107470
 
+if ac_fn_c_try_compile "$LINENO"; then :
107471
 
+  gl_cv_time_r_posix=yes
107472
 
+else
107473
 
+  gl_cv_time_r_posix=no
107474
 
+fi
107475
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
107476
 
+      
107477
 
+fi
107478
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_time_r_posix" >&5
107479
 
+$as_echo "$gl_cv_time_r_posix" >&6; }
107480
 
+    if test $gl_cv_time_r_posix = yes; then
107481
 
+      REPLACE_LOCALTIME_R=0
107482
 
+    else
107483
 
+      REPLACE_LOCALTIME_R=1
107484
 
+    fi
107485
 
+  else
107486
 
+    HAVE_LOCALTIME_R=0
107487
 
+  fi
107488
 
+
107489
 
+if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
107490
 
+  
107491
 
+  
107492
 
+  
107493
 
+    
107494
 
+      
107495
 
+      
107496
 
+    
107497
 
+  
107498
 
+  gl_LIBOBJS="$gl_LIBOBJS time_r.$ac_objext"
107499
 
+
107500
 
+  
107501
 
+  :
107502
 
+
107503
 
+fi
107504
 
+
107505
 
+    
107506
 
+  
107507
 
+  
107508
 
+  
107509
 
+          GNULIB_TIME_R=1
107510
 
+    
107511
 
+
107512
 
+
107513
 
+    
107514
 
+  
107515
 
+$as_echo "@%:@define GNULIB_TEST_TIME_R 1" >>confdefs.h
107516
 
+
107517
 
+
107518
 
+
107519
 
+
107520
 
+  
107521
 
+  
107522
 
+
107523
 
+  LIB_TIMER_TIME=
107524
 
+  
107525
 
+  gl_saved_libs=$LIBS
107526
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing timer_settime" >&5
107527
 
+$as_echo_n "checking for library containing timer_settime... " >&6; }
107528
 
+if ${ac_cv_search_timer_settime+:} false; then :
107529
 
+  $as_echo_n "(cached) " >&6
107530
 
+else
107531
 
+  ac_func_search_save_LIBS=$LIBS
107532
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107533
 
+/* end confdefs.h.  */
107534
 
+
107535
 
+/* Override any GCC internal prototype to avoid an error.
107536
 
+   Use char because int might match the return type of a GCC
107537
 
+   builtin and then its argument prototype would still apply.  */
107538
 
+#ifdef __cplusplus
107539
 
+extern "C"
107540
 
+#endif
107541
 
+char timer_settime ();
107542
 
+int
107543
 
+main ()
107544
 
+{
107545
 
+return timer_settime ();
107546
 
+  ;
107547
 
+  return 0;
107548
 
+}
107549
 
+_ACEOF
107550
 
+for ac_lib in '' rt posix4; do
107551
 
+  if test -z "$ac_lib"; then
107552
 
+    ac_res="none required"
107553
 
+  else
107554
 
+    ac_res=-l$ac_lib
107555
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
107556
 
+  fi
107557
 
+  if ac_fn_c_try_link "$LINENO"; then :
107558
 
+  ac_cv_search_timer_settime=$ac_res
107559
 
+fi
107560
 
+rm -f core conftest.err conftest.$ac_objext \
107561
 
+    conftest$ac_exeext
107562
 
+  if ${ac_cv_search_timer_settime+:} false; then :
107563
 
+  break
107564
 
+fi
107565
 
+done
107566
 
+if ${ac_cv_search_timer_settime+:} false; then :
107567
 
+  
107568
 
+else
107569
 
+  ac_cv_search_timer_settime=no
107570
 
+fi
107571
 
+rm conftest.$ac_ext
107572
 
+LIBS=$ac_func_search_save_LIBS
107573
 
+fi
107574
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_timer_settime" >&5
107575
 
+$as_echo "$ac_cv_search_timer_settime" >&6; }
107576
 
+ac_res=$ac_cv_search_timer_settime
107577
 
+if test "$ac_res" != no; then :
107578
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
107579
 
+  test "$ac_cv_search_timer_settime" = "none required" ||
107580
 
+                    LIB_TIMER_TIME=$ac_cv_search_timer_settime
107581
 
+fi
107582
 
+
107583
 
+    for ac_func in timer_settime
107584
 
+do :
107585
 
+  ac_fn_c_check_func "$LINENO" "timer_settime" "ac_cv_func_timer_settime"
107586
 
+if test "x$ac_cv_func_timer_settime" = xyes; then :
107587
 
+  cat >>confdefs.h <<_ACEOF
107588
 
+@%:@define HAVE_TIMER_SETTIME 1
107589
 
+_ACEOF
107590
 
107591
 
+fi
107592
 
+done
107593
 
+
107594
 
+  LIBS=$gl_saved_libs
107595
 
+
107596
 
+
107597
 
+    
107598
 
+
107599
 
+
107600
 
+  
107601
 
+
107602
 
+
107603
 
+
107604
 
+
107605
 
+  
107606
 
+  for ac_func in uname
107607
 
+do :
107608
 
+  ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname"
107609
 
+if test "x$ac_cv_func_uname" = xyes; then :
107610
 
+  cat >>confdefs.h <<_ACEOF
107611
 
+@%:@define HAVE_UNAME 1
107612
 
+_ACEOF
107613
 
107614
 
+fi
107615
 
+done
107616
 
+
107617
 
+  if test $ac_cv_func_uname = no; then
107618
 
+    HAVE_UNAME=0
107619
 
+  fi
107620
 
+
107621
 
+if test $HAVE_UNAME = 0; then
107622
 
+  
107623
 
+  
107624
 
+  
107625
 
+    
107626
 
+      
107627
 
+      
107628
 
+    
107629
 
+  
107630
 
+  gl_LIBOBJS="$gl_LIBOBJS uname.$ac_objext"
107631
 
+
107632
 
+  
107633
 
+  :
107634
 
+
107635
 
+fi
107636
 
+
107637
 
+    
107638
 
+  
107639
 
+  
107640
 
+  
107641
 
+          GNULIB_UNAME=1
107642
 
+    
107643
 
+
107644
 
+
107645
 
+
107646
 
+
107647
 
+    :
107648
 
+
107649
 
+
107650
 
+      
107651
 
+  
107652
 
+
107653
 
+  
107654
 
+  
107655
 
+  
107656
 
+  
107657
 
+
107658
 
+  
107659
 
+    
107660
 
+
107661
 
+  
107662
 
+     if test $gl_cv_have_include_next = yes; then
107663
 
+       gl_cv_next_unistd_h='<'unistd.h'>'
107664
 
+     else
107665
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5
107666
 
+$as_echo_n "checking absolute name of <unistd.h>... " >&6; }
107667
 
+if ${gl_cv_next_unistd_h+:} false; then :
107668
 
+  $as_echo_n "(cached) " >&6
107669
 
+else
107670
 
+  
107671
 
+             if test $ac_cv_header_unistd_h = yes; then
107672
 
+             
107673
 
+            
107674
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107675
 
+/* end confdefs.h.  */
107676
 
+#include <unistd.h>
107677
 
+                  
107678
 
+_ACEOF
107679
 
+                                                                                                                        case "$host_os" in
107680
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
107681
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
107682
 
+               esac
107683
 
+                                                            gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
107684
 
+                  sed -n '\#/unistd.h#{
107685
 
+                    s#.*"\(.*/unistd.h\)".*#\1#
107686
 
+                    s#^/[^/]#//&#
107687
 
+                    p
107688
 
+                    q
107689
 
+                  }'`'"'
107690
 
+          else
107691
 
+               gl_cv_next_unistd_h='<'unistd.h'>'
107692
 
+             fi
107693
 
+            
107694
 
+         
107695
 
+fi
107696
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5
107697
 
+$as_echo "$gl_cv_next_unistd_h" >&6; }
107698
 
+     fi
107699
 
+     NEXT_UNISTD_H=$gl_cv_next_unistd_h
107700
 
+
107701
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
107702
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
107703
 
+       gl_next_as_first_directive='<'unistd.h'>'
107704
 
+     else
107705
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
107706
 
+       gl_next_as_first_directive=$gl_cv_next_unistd_h
107707
 
+     fi
107708
 
+     NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive
107709
 
+
107710
 
+     
107711
 
+
107712
 
+
107713
 
+  if test $ac_cv_header_unistd_h = yes; then
107714
 
+    HAVE_UNISTD_H=1
107715
 
+  else
107716
 
+    HAVE_UNISTD_H=0
107717
 
+  fi
107718
 
+  
107719
 
+
107720
 
+      
107721
 
+    for gl_func in chown dup2 dup3 environ euidaccess faccessat fchdir fchownat     fsync ftruncate getcwd getdomainname getdtablesize getgroups     gethostname getlogin getlogin_r getpagesize getusershell setusershell     endusershell group_member lchown link linkat lseek pipe pipe2 pread pwrite     readlink readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat     usleep; do
107722
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
107723
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
107724
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
107725
 
+if eval \${$as_gl_Symbol+:} false; then :
107726
 
+  $as_echo_n "(cached) " >&6
107727
 
+else
107728
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107729
 
+/* end confdefs.h.  */
107730
 
+#include <unistd.h>
107731
 
+/* Some systems declare various items in the wrong headers.  */
107732
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
107733
 
+# include <fcntl.h>
107734
 
+# include <stdio.h>
107735
 
+# include <stdlib.h>
107736
 
+# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
107737
 
+#  include <io.h>
107738
 
+# endif
107739
 
+#endif
107740
 
+    
107741
 
+int
107742
 
+main ()
107743
 
+{
107744
 
+@%:@undef $gl_func
107745
 
+  (void) $gl_func;
107746
 
+  ;
107747
 
+  return 0;
107748
 
+}
107749
 
+_ACEOF
107750
 
+if ac_fn_c_try_compile "$LINENO"; then :
107751
 
+  eval "$as_gl_Symbol=yes"
107752
 
+else
107753
 
+  eval "$as_gl_Symbol=no"
107754
 
+fi
107755
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
107756
 
+fi
107757
 
+eval ac_res=\$$as_gl_Symbol
107758
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
107759
 
+$as_echo "$ac_res" >&6; }
107760
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
107761
 
+  cat >>confdefs.h <<_ACEOF
107762
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
107763
 
+_ACEOF
107764
 
+
107765
 
+                     eval ac_cv_have_decl_$gl_func=yes
107766
 
+fi
107767
 
+      done
107768
 
+
107769
 
+
107770
 
+
107771
 
+  
107772
 
+
107773
 
+
107774
 
+  
107775
 
+      if  { test "$HAVE_LIBUNISTRING" != yes \
107776
 
+    || {
107777
 
+                              
107778
 
+            
107779
 
+            
107780
 
+            test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
107781
 
+            || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
107782
 
+                 && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
107783
 
+                      || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
107784
 
+                           && test $LIBUNISTRING_VERSION_SUBMINOR -lt 2
107785
 
+                         }
107786
 
+                    }
107787
 
+               }
107788
 
+            
107789
 
+            
107790
 
+            
107791
 
+           
107792
 
+       }
107793
 
+  }; then
107794
 
+    LIBUNISTRING_UNISTR_H='unistr.h'
107795
 
+  else
107796
 
+    LIBUNISTRING_UNISTR_H=
107797
 
+  fi
107798
 
+  
107799
 
+
107800
 
+
107801
 
+  
107802
 
+cat >>confdefs.h <<_ACEOF
107803
 
+@%:@define GNULIB_UNISTR_U8_MBTOUCR 1
107804
 
+_ACEOF
107805
 
+
107806
 
+
107807
 
+
107808
 
+  
107809
 
+       if  { test "$HAVE_LIBUNISTRING" != yes \
107810
 
+    || {
107811
 
+                              
107812
 
+            
107813
 
+            
107814
 
+            test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
107815
 
+            || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
107816
 
+                 && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
107817
 
+                      || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
107818
 
+                           && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
107819
 
+                         }
107820
 
+                    }
107821
 
+               }
107822
 
+            
107823
 
+            
107824
 
+            
107825
 
+           
107826
 
+       }
107827
 
+  }; then
107828
 
+  LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE=
107829
 
+  LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE='#'
107830
 
+else
107831
 
+  LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE='#'
107832
 
+  LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE=
107833
 
+fi
107834
 
+
107835
 
+
107836
 
+
107837
 
+  
107838
 
+cat >>confdefs.h <<_ACEOF
107839
 
+@%:@define GNULIB_UNISTR_U8_UCTOMB 1
107840
 
+_ACEOF
107841
 
+
107842
 
+
107843
 
+
107844
 
+  
107845
 
+       if  { test "$HAVE_LIBUNISTRING" != yes \
107846
 
+    || {
107847
 
+                              
107848
 
+            
107849
 
+            
107850
 
+            test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
107851
 
+            || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
107852
 
+                 && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
107853
 
+                      || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
107854
 
+                           && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
107855
 
+                         }
107856
 
+                    }
107857
 
+               }
107858
 
+            
107859
 
+            
107860
 
+            
107861
 
+           
107862
 
+       }
107863
 
+  }; then
107864
 
+  LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE=
107865
 
+  LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE='#'
107866
 
+else
107867
 
+  LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE='#'
107868
 
+  LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE=
107869
 
+fi
107870
 
+
107871
 
+
107872
 
+
107873
 
+  
107874
 
+      if  { test "$HAVE_LIBUNISTRING" != yes \
107875
 
+    || {
107876
 
+                              
107877
 
+            
107878
 
+            
107879
 
+            test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
107880
 
+            || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
107881
 
+                 && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
107882
 
+                      || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
107883
 
+                           && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
107884
 
+                         }
107885
 
+                    }
107886
 
+               }
107887
 
+            
107888
 
+            
107889
 
+            
107890
 
+           
107891
 
+       }
107892
 
+  }; then
107893
 
+    LIBUNISTRING_UNITYPES_H='unitypes.h'
107894
 
+  else
107895
 
+    LIBUNISTRING_UNITYPES_H=
107896
 
+  fi
107897
 
+  
107898
 
+
107899
 
+
107900
 
+  
107901
 
+      if  { test "$HAVE_LIBUNISTRING" != yes \
107902
 
+    || {
107903
 
+                              
107904
 
+            
107905
 
+            
107906
 
+            test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
107907
 
+            || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
107908
 
+                 && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
107909
 
+                      || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
107910
 
+                           && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
107911
 
+                         }
107912
 
+                    }
107913
 
+               }
107914
 
+            
107915
 
+            
107916
 
+            
107917
 
+           
107918
 
+       }
107919
 
+  }; then
107920
 
+    LIBUNISTRING_UNIWIDTH_H='uniwidth.h'
107921
 
+  else
107922
 
+    LIBUNISTRING_UNIWIDTH_H=
107923
 
+  fi
107924
 
+  
107925
 
+
107926
 
+
107927
 
+  
107928
 
+       if  { test "$HAVE_LIBUNISTRING" != yes \
107929
 
+    || {
107930
 
+                              
107931
 
+            
107932
 
+            
107933
 
+            test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
107934
 
+            || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
107935
 
+                 && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
107936
 
+                      || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \
107937
 
+                           && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
107938
 
+                         }
107939
 
+                    }
107940
 
+               }
107941
 
+            
107942
 
+            
107943
 
+            
107944
 
+           
107945
 
+       }
107946
 
+  }; then
107947
 
+  LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE=
107948
 
+  LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE='#'
107949
 
+else
107950
 
+  LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE='#'
107951
 
+  LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE=
107952
 
+fi
107953
 
+
107954
 
+
107955
 
+
107956
 
+  
107957
 
+  
107958
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unlink honors trailing slashes" >&5
107959
 
+$as_echo_n "checking whether unlink honors trailing slashes... " >&6; }
107960
 
+if ${gl_cv_func_unlink_honors_slashes+:} false; then :
107961
 
+  $as_echo_n "(cached) " >&6
107962
 
+else
107963
 
+  touch conftest.file
107964
 
+     # Assume that if we have lstat, we can also check symlinks.
107965
 
+     if test $ac_cv_func_lstat = yes; then
107966
 
+       ln -s conftest.file conftest.lnk
107967
 
+     fi
107968
 
+     if test "$cross_compiling" = yes; then :
107969
 
+  gl_cv_func_unlink_honors_slashes="guessing no"
107970
 
+else
107971
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107972
 
+/* end confdefs.h.  */
107973
 
+#include <unistd.h>
107974
 
+           #include <errno.h>
107975
 
+         
107976
 
+int
107977
 
+main ()
107978
 
+{
107979
 
+int result = 0;
107980
 
+           if (!unlink ("conftest.file/"))
107981
 
+             result |= 1;
107982
 
+           else if (errno != ENOTDIR)
107983
 
+             result |= 2;
107984
 
+#if HAVE_LSTAT
107985
 
+           if (!unlink ("conftest.lnk/"))
107986
 
+             result |= 4;
107987
 
+           else if (errno != ENOTDIR)
107988
 
+             result |= 8;
107989
 
+#endif
107990
 
+           return result;
107991
 
+         
107992
 
+  ;
107993
 
+  return 0;
107994
 
+}
107995
 
+_ACEOF
107996
 
+if ac_fn_c_try_run "$LINENO"; then :
107997
 
+  gl_cv_func_unlink_honors_slashes=yes
107998
 
+else
107999
 
+  gl_cv_func_unlink_honors_slashes=no
108000
 
+fi
108001
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
108002
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
108003
 
+fi
108004
 
+
108005
 
+     rm -f conftest.file conftest.lnk
108006
 
+fi
108007
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unlink_honors_slashes" >&5
108008
 
+$as_echo "$gl_cv_func_unlink_honors_slashes" >&6; }
108009
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unlink of a parent directory fails as it should" >&5
108010
 
+$as_echo_n "checking whether unlink of a parent directory fails as it should... " >&6; }
108011
 
+if ${gl_cv_func_unlink_parent_fails+:} false; then :
108012
 
+  $as_echo_n "(cached) " >&6
108013
 
+else
108014
 
+  case "$host_os" in
108015
 
+       darwin*)
108016
 
+                                                      if {
108017
 
+              # Use the mktemp program if available. If not available, hide the error
108018
 
+              # message.
108019
 
+              tmp=`(umask 077 && mktemp -d /tmp/gtXXXXXX) 2>/dev/null` &&
108020
 
+              test -n "$tmp" && test -d "$tmp"
108021
 
+            } ||
108022
 
+            {
108023
 
+              # Use a simple mkdir command. It is guaranteed to fail if the directory
108024
 
+              # already exists.  $RANDOM is bash specific and expands to empty in shells
108025
 
+              # other than bash, ksh and zsh.  Its use does not increase security;
108026
 
+              # rather, it minimizes the probability of failure in a very cluttered /tmp
108027
 
+              # directory.
108028
 
+              tmp=/tmp/gt$$-$RANDOM
108029
 
+              (umask 077 && mkdir "$tmp")
108030
 
+            }; then
108031
 
+           mkdir "$tmp/subdir"
108032
 
+           GL_SUBDIR_FOR_UNLINK="$tmp/subdir"
108033
 
+           export GL_SUBDIR_FOR_UNLINK
108034
 
+           if test "$cross_compiling" = yes; then :
108035
 
+  gl_cv_func_unlink_parent_fails="guessing no"
108036
 
+else
108037
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
108038
 
+/* end confdefs.h.  */
108039
 
+
108040
 
+                #include <stdlib.h>
108041
 
+                #include <unistd.h>
108042
 
+                int main ()
108043
 
+                {
108044
 
+                  int result = 0;
108045
 
+                  if (chdir (getenv ("GL_SUBDIR_FOR_UNLINK")) != 0)
108046
 
+                    result |= 1;
108047
 
+                  else if (unlink ("..") == 0)
108048
 
+                    result |= 2;
108049
 
+                  return result;
108050
 
+                }
108051
 
+              
108052
 
+_ACEOF
108053
 
+if ac_fn_c_try_run "$LINENO"; then :
108054
 
+  gl_cv_func_unlink_parent_fails=yes
108055
 
+else
108056
 
+  gl_cv_func_unlink_parent_fails=no
108057
 
+fi
108058
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
108059
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
108060
 
+fi
108061
 
+
108062
 
+           unset GL_SUBDIR_FOR_UNLINK
108063
 
+           rm -rf "$tmp"
108064
 
+         else
108065
 
+           gl_cv_func_unlink_parent_fails="guessing no"
108066
 
+         fi
108067
 
+         ;;
108068
 
+       *)
108069
 
+         gl_cv_func_unlink_parent_fails="guessing yes"
108070
 
+         ;;
108071
 
+     esac
108072
 
+    
108073
 
+fi
108074
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unlink_parent_fails" >&5
108075
 
+$as_echo "$gl_cv_func_unlink_parent_fails" >&6; }
108076
 
+  case "$gl_cv_func_unlink_parent_fails" in
108077
 
+    *no)
108078
 
+      
108079
 
+$as_echo "@%:@define UNLINK_PARENT_BUG 1" >>confdefs.h
108080
 
+
108081
 
+      ;;
108082
 
+  esac
108083
 
+  if test "$gl_cv_func_unlink_honors_slashes" != yes \
108084
 
+     || { case "$gl_cv_func_unlink_parent_fails" in
108085
 
+            *yes) false;;
108086
 
+            *no) true;;
108087
 
+          esac
108088
 
+        }; then
108089
 
+    REPLACE_UNLINK=1
108090
 
+  fi
108091
 
+
108092
 
+if test $REPLACE_UNLINK = 1; then
108093
 
+  
108094
 
+  
108095
 
+  
108096
 
+    
108097
 
+      
108098
 
+      
108099
 
+    
108100
 
+  
108101
 
+  gl_LIBOBJS="$gl_LIBOBJS unlink.$ac_objext"
108102
 
+
108103
 
+fi
108104
 
+
108105
 
+    
108106
 
+  
108107
 
+  
108108
 
+  
108109
 
+          GNULIB_UNLINK=1
108110
 
+    
108111
 
+
108112
 
+
108113
 
+    
108114
 
+  
108115
 
+$as_echo "@%:@define GNULIB_TEST_UNLINK 1" >>confdefs.h
108116
 
+
108117
 
+
108118
 
+
108119
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a running program can be unlinked" >&5
108120
 
+$as_echo_n "checking whether a running program can be unlinked... " >&6; }
108121
 
+if ${gl_cv_func_unlink_busy_text+:} false; then :
108122
 
+  $as_echo_n "(cached) " >&6
108123
 
+else
108124
 
+  
108125
 
+      if test "$cross_compiling" = yes; then :
108126
 
+  gl_cv_func_unlink_busy_text=no
108127
 
+      
108128
 
+else
108129
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
108130
 
+/* end confdefs.h.  */
108131
 
+$ac_includes_default
108132
 
+            int
108133
 
+            main (int argc, char **argv)
108134
 
+            {
108135
 
+              int result = 0;
108136
 
+              if (argc == 0)
108137
 
+                result |= 1;
108138
 
+              else if (unlink (argv[0]) != 0)
108139
 
+                result |= 2;
108140
 
+              return result;
108141
 
+            }
108142
 
+_ACEOF
108143
 
+if ac_fn_c_try_run "$LINENO"; then :
108144
 
+  gl_cv_func_unlink_busy_text=yes
108145
 
+else
108146
 
+  gl_cv_func_unlink_busy_text=no
108147
 
+fi
108148
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
108149
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
108150
 
+fi
108151
 
+
108152
 
+    
108153
 
+  
108154
 
+fi
108155
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unlink_busy_text" >&5
108156
 
+$as_echo "$gl_cv_func_unlink_busy_text" >&6; }
108157
 
+
108158
 
+  if test $gl_cv_func_unlink_busy_text = no; then
108159
 
+    INSTALL=$ac_install_sh
108160
 
+  fi
108161
 
+
108162
 
+
108163
 
+  
108164
 
+$as_echo "@%:@define USE_UNLOCKED_IO 1" >>confdefs.h
108165
 
+
108166
 
+
108167
 
+      
108168
 
+
108169
 
+  
108170
 
+  
108171
 
+  
108172
 
+  
108173
 
+  
108174
 
+  
108175
 
+  
108176
 
+  
108177
 
+  
108178
 
+  
108179
 
+  
108180
 
+  
108181
 
+  
108182
 
+
108183
 
+
108184
 
+  
108185
 
+  
108186
 
+  if test $ac_cv_have_decl_unsetenv = no; then
108187
 
+    HAVE_DECL_UNSETENV=0
108188
 
+  fi
108189
 
+  for ac_func in unsetenv
108190
 
+do :
108191
 
+  ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
108192
 
+if test "x$ac_cv_func_unsetenv" = xyes; then :
108193
 
+  cat >>confdefs.h <<_ACEOF
108194
 
+@%:@define HAVE_UNSETENV 1
108195
 
+_ACEOF
108196
 
108197
 
+fi
108198
 
+done
108199
 
+
108200
 
+  if test $ac_cv_func_unsetenv = no; then
108201
 
+    HAVE_UNSETENV=0
108202
 
+  else
108203
 
+    HAVE_UNSETENV=1
108204
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsetenv() return type" >&5
108205
 
+$as_echo_n "checking for unsetenv() return type... " >&6; }
108206
 
+if ${gt_cv_func_unsetenv_ret+:} false; then :
108207
 
+  $as_echo_n "(cached) " >&6
108208
 
+else
108209
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
108210
 
+/* end confdefs.h.  */
108211
 
+
108212
 
+#undef _BSD
108213
 
+#define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 <stdlib.h> */
108214
 
+#include <stdlib.h>
108215
 
+extern
108216
 
+#ifdef __cplusplus
108217
 
+"C"
108218
 
+#endif
108219
 
+#if defined(__STDC__) || defined(__cplusplus)
108220
 
+int unsetenv (const char *name);
108221
 
+#else
108222
 
+int unsetenv();
108223
 
+#endif
108224
 
+            
108225
 
+int
108226
 
+main ()
108227
 
+{
108228
 
+
108229
 
+  ;
108230
 
+  return 0;
108231
 
+}
108232
 
+_ACEOF
108233
 
+if ac_fn_c_try_compile "$LINENO"; then :
108234
 
+  gt_cv_func_unsetenv_ret='int'
108235
 
+else
108236
 
+  gt_cv_func_unsetenv_ret='void'
108237
 
+fi
108238
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
108239
 
+fi
108240
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_unsetenv_ret" >&5
108241
 
+$as_echo "$gt_cv_func_unsetenv_ret" >&6; }
108242
 
+    if test $gt_cv_func_unsetenv_ret = 'void'; then
108243
 
+      
108244
 
+$as_echo "@%:@define VOID_UNSETENV 1" >>confdefs.h
108245
 
+
108246
 
+      REPLACE_UNSETENV=1
108247
 
+    fi
108248
 
+
108249
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unsetenv obeys POSIX" >&5
108250
 
+$as_echo_n "checking whether unsetenv obeys POSIX... " >&6; }
108251
 
+if ${gl_cv_func_unsetenv_works+:} false; then :
108252
 
+  $as_echo_n "(cached) " >&6
108253
 
+else
108254
 
+  if test "$cross_compiling" = yes; then :
108255
 
+  gl_cv_func_unsetenv_works="guessing no"
108256
 
+else
108257
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
108258
 
+/* end confdefs.h.  */
108259
 
+
108260
 
+       #include <stdlib.h>
108261
 
+       #include <errno.h>
108262
 
+       extern char **environ;
108263
 
+      
108264
 
+int
108265
 
+main ()
108266
 
+{
108267
 
+
108268
 
+       char entry1[] = "a=1";
108269
 
+       char entry2[] = "b=2";
108270
 
+       char *env[] = { entry1, entry2, NULL };
108271
 
+       if (putenv ((char *) "a=1")) return 1;
108272
 
+       if (putenv (entry2)) return 2;
108273
 
+       entry2[0] = 'a';
108274
 
+       unsetenv ("a");
108275
 
+       if (getenv ("a")) return 3;
108276
 
+       if (!unsetenv ("") || errno != EINVAL) return 4;
108277
 
+       entry2[0] = 'b';
108278
 
+       environ = env;
108279
 
+       if (!getenv ("a")) return 5;
108280
 
+       entry2[0] = 'a';
108281
 
+       unsetenv ("a");
108282
 
+       if (getenv ("a")) return 6;
108283
 
+      
108284
 
+  ;
108285
 
+  return 0;
108286
 
+}
108287
 
+_ACEOF
108288
 
+if ac_fn_c_try_run "$LINENO"; then :
108289
 
+  gl_cv_func_unsetenv_works=yes
108290
 
+else
108291
 
+  gl_cv_func_unsetenv_works=no
108292
 
+fi
108293
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
108294
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
108295
 
+fi
108296
 
+
108297
 
+fi
108298
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unsetenv_works" >&5
108299
 
+$as_echo "$gl_cv_func_unsetenv_works" >&6; }
108300
 
+    if test "$gl_cv_func_unsetenv_works" != yes; then
108301
 
+      REPLACE_UNSETENV=1
108302
 
+    fi
108303
 
+  fi
108304
 
+
108305
 
+if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
108306
 
+  
108307
 
+  
108308
 
+  
108309
 
+    
108310
 
+      
108311
 
+      
108312
 
+    
108313
 
+  
108314
 
+  gl_LIBOBJS="$gl_LIBOBJS unsetenv.$ac_objext"
108315
 
+
108316
 
+  
108317
 
+  
108318
 
+  
108319
 
+
108320
 
+fi
108321
 
+
108322
 
+    
108323
 
+  
108324
 
+  
108325
 
+  
108326
 
+          GNULIB_UNSETENV=1
108327
 
+    
108328
 
+
108329
 
+
108330
 
+    
108331
 
+  
108332
 
+$as_echo "@%:@define GNULIB_TEST_UNSETENV 1" >>confdefs.h
108333
 
+
108334
 
+
108335
 
+
108336
 
+   
108337
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/uptime" >&5
108338
 
+$as_echo_n "checking for /proc/uptime... " >&6; }
108339
 
+if ${gl_cv_have_proc_uptime+:} false; then :
108340
 
+  $as_echo_n "(cached) " >&6
108341
 
+else
108342
 
+  gl_cv_have_proc_uptime=no
108343
 
+    test -f /proc/uptime \
108344
 
+      && test "$cross_compiling" = no \
108345
 
+      && cat < /proc/uptime >/dev/null 2>/dev/null \
108346
 
+      && gl_cv_have_proc_uptime=yes
108347
 
+fi
108348
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_proc_uptime" >&5
108349
 
+$as_echo "$gl_cv_have_proc_uptime" >&6; }
108350
 
+  if test $gl_cv_have_proc_uptime = yes; then
108351
 
+    
108352
 
+$as_echo "@%:@define HAVE_PROC_UPTIME 1" >>confdefs.h
108353
 
+
108354
 
+  fi
108355
 
+
108356
 
+
108357
 
+  
108358
 
+
108359
 
+
108360
 
+    
108361
 
+  :
108362
 
+
108363
 
+
108364
 
+    
108365
 
+  
108366
 
+  
108367
 
+  
108368
 
+
108369
 
+  if test $ac_cv_func_futimens = no && test $ac_cv_func_futimesat = yes; then
108370
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether futimesat handles NULL file" >&5
108371
 
+$as_echo_n "checking whether futimesat handles NULL file... " >&6; }
108372
 
+if ${gl_cv_func_futimesat_works+:} false; then :
108373
 
+  $as_echo_n "(cached) " >&6
108374
 
+else
108375
 
+  touch conftest.file
108376
 
+       if test "$cross_compiling" = yes; then :
108377
 
+  gl_cv_func_futimesat_works="guessing no"
108378
 
+else
108379
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
108380
 
+/* end confdefs.h.  */
108381
 
+
108382
 
+#include <stddef.h>
108383
 
+#include <sys/times.h>
108384
 
+#include <fcntl.h>
108385
 
+
108386
 
+int
108387
 
+main ()
108388
 
+{
108389
 
+    int fd = open ("conftest.file", O_RDWR);
108390
 
+          if (fd < 0) return 1;
108391
 
+          if (futimesat (fd, NULL, NULL)) return 2;
108392
 
+        
108393
 
+  ;
108394
 
+  return 0;
108395
 
+}
108396
 
+_ACEOF
108397
 
+if ac_fn_c_try_run "$LINENO"; then :
108398
 
+  gl_cv_func_futimesat_works=yes
108399
 
+else
108400
 
+  gl_cv_func_futimesat_works=no
108401
 
+fi
108402
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
108403
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
108404
 
+fi
108405
 
+
108406
 
+      rm -f conftest.file
108407
 
+fi
108408
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_futimesat_works" >&5
108409
 
+$as_echo "$gl_cv_func_futimesat_works" >&6; }
108410
 
+    if test "$gl_cv_func_futimesat_works" != yes; then
108411
 
+      
108412
 
+$as_echo "@%:@define FUTIMESAT_NULL_BUG 1" >>confdefs.h
108413
 
+
108414
 
+    fi
108415
 
+  fi
108416
 
+
108417
 
+
108418
 
+  
108419
 
+  
108420
 
+  
108421
 
+  if test $ac_cv_func_utimensat = no; then
108422
 
+    HAVE_UTIMENSAT=0
108423
 
+  else
108424
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether utimensat works" >&5
108425
 
+$as_echo_n "checking whether utimensat works... " >&6; }
108426
 
+if ${gl_cv_func_utimensat_works+:} false; then :
108427
 
+  $as_echo_n "(cached) " >&6
108428
 
+else
108429
 
+  if test "$cross_compiling" = yes; then :
108430
 
+  gl_cv_func_utimensat_works="guessing no"
108431
 
+else
108432
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
108433
 
+/* end confdefs.h.  */
108434
 
+
108435
 
+#include <fcntl.h>
108436
 
+#include <sys/stat.h>
108437
 
+#include <unistd.h>
108438
 
+
108439
 
+int
108440
 
+main ()
108441
 
+{
108442
 
+int result = 0;
108443
 
+              const char *f = "conftest.file";
108444
 
+              if (close (creat (f, 0600)))
108445
 
+                return 1;
108446
 
+              /* Test whether the AT_SYMLINK_NOFOLLOW flag is supported.  */
108447
 
+              {
108448
 
+                if (utimensat (AT_FDCWD, f, NULL, AT_SYMLINK_NOFOLLOW))
108449
 
+                  result |= 2;
108450
 
+              }
108451
 
+              /* Test whether UTIME_NOW and UTIME_OMIT work.  */
108452
 
+              {
108453
 
+                struct timespec ts[2] = { { 1, UTIME_OMIT }, { 1, UTIME_NOW } };
108454
 
+                if (utimensat (AT_FDCWD, f, ts, 0))
108455
 
+                  result |= 4;
108456
 
+              }
108457
 
+              sleep (1);
108458
 
+              {
108459
 
+                struct timespec ts[2] = { { 1, UTIME_NOW }, { 1, UTIME_OMIT } };
108460
 
+                struct stat st;
108461
 
+                if (utimensat (AT_FDCWD, f, ts, 0))
108462
 
+                  result |= 8;
108463
 
+                if (stat (f, &st))
108464
 
+                  result |= 16;
108465
 
+                else if (st.st_ctime < st.st_atime)
108466
 
+                  result |= 32;
108467
 
+              }
108468
 
+              return result;
108469
 
+            
108470
 
+  ;
108471
 
+  return 0;
108472
 
+}
108473
 
+_ACEOF
108474
 
+if ac_fn_c_try_run "$LINENO"; then :
108475
 
+           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
108476
 
+/* end confdefs.h.  */
108477
 
+
108478
 
+#ifdef __linux__
108479
 
+/* The Linux kernel added utimensat in 2.6.22, but has bugs with UTIME_OMIT
108480
 
+   in several file systems as recently as 2.6.32.  Always replace utimensat
108481
 
+   to support older kernels.  */
108482
 
+choke me
108483
 
+#endif
108484
 
+      
108485
 
+int
108486
 
+main ()
108487
 
+{
108488
 
+
108489
 
+  ;
108490
 
+  return 0;
108491
 
+}
108492
 
+_ACEOF
108493
 
+if ac_fn_c_try_compile "$LINENO"; then :
108494
 
+  gl_cv_func_utimensat_works=yes
108495
 
+else
108496
 
+  gl_cv_func_utimensat_works="needs runtime check"
108497
 
+fi
108498
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
108499
 
+else
108500
 
+  gl_cv_func_utimensat_works=no
108501
 
+fi
108502
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
108503
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
108504
 
+fi
108505
 
+
108506
 
+fi
108507
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_utimensat_works" >&5
108508
 
+$as_echo "$gl_cv_func_utimensat_works" >&6; }
108509
 
+    if test "$gl_cv_func_utimensat_works" != yes; then
108510
 
+      REPLACE_UTIMENSAT=1
108511
 
+    fi
108512
 
+  fi
108513
 
+
108514
 
+if test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1; then
108515
 
+  
108516
 
+  
108517
 
+  
108518
 
+    
108519
 
+      
108520
 
+      
108521
 
+    
108522
 
+  
108523
 
+  gl_LIBOBJS="$gl_LIBOBJS utimensat.$ac_objext"
108524
 
+
108525
 
+fi
108526
 
+
108527
 
+    
108528
 
+  
108529
 
+  
108530
 
+  
108531
 
+          GNULIB_UTIMENSAT=1
108532
 
+    
108533
 
+
108534
 
+
108535
 
+    
108536
 
+  
108537
 
+$as_echo "@%:@define GNULIB_TEST_UTIMENSAT 1" >>confdefs.h
108538
 
+
108539
 
+
108540
 
+
108541
 
+
108542
 
+  
108543
 
+  if test $ac_cv_func_vasnprintf = no; then
108544
 
+    
108545
 
+  
108546
 
+  
108547
 
+  
108548
 
+  
108549
 
+    
108550
 
+      
108551
 
+      
108552
 
+    
108553
 
+  
108554
 
+  gl_LIBOBJS="$gl_LIBOBJS vasnprintf.$ac_objext"
108555
 
+
108556
 
+  
108557
 
+  
108558
 
+  
108559
 
+    
108560
 
+      
108561
 
+      
108562
 
+    
108563
 
+  
108564
 
+  gl_LIBOBJS="$gl_LIBOBJS printf-args.$ac_objext"
108565
 
+
108566
 
+  
108567
 
+  
108568
 
+  
108569
 
+    
108570
 
+      
108571
 
+      
108572
 
+    
108573
 
+  
108574
 
+  gl_LIBOBJS="$gl_LIBOBJS printf-parse.$ac_objext"
108575
 
+
108576
 
+  
108577
 
+  
108578
 
+  
108579
 
+    
108580
 
+      
108581
 
+      
108582
 
+    
108583
 
+  
108584
 
+  gl_LIBOBJS="$gl_LIBOBJS asnprintf.$ac_objext"
108585
 
+
108586
 
+  if test $ac_cv_func_vasnprintf = yes; then
108587
 
+    
108588
 
+$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h
108589
 
+
108590
 
+  fi
108591
 
+  
108592
 
+  
108593
 
+  
108594
 
+  
108595
 
+
108596
 
+  
108597
 
+  
108598
 
+  
108599
 
+  
108600
 
+  
108601
 
+  
108602
 
+  ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
108603
 
+if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
108604
 
+  
108605
 
+else
108606
 
+  
108607
 
+$as_echo "@%:@define ptrdiff_t long" >>confdefs.h
108608
 
+
108609
 
+    
108610
 
+fi
108611
 
+
108612
 
+  
108613
 
+
108614
 
+  
108615
 
+  
108616
 
+
108617
 
+
108618
 
+  fi
108619
 
+
108620
 
+
108621
 
+  for ac_func in vasprintf
108622
 
+do :
108623
 
+  ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
108624
 
+if test "x$ac_cv_func_vasprintf" = xyes; then :
108625
 
+  cat >>confdefs.h <<_ACEOF
108626
 
+@%:@define HAVE_VASPRINTF 1
108627
 
+_ACEOF
108628
 
108629
 
+fi
108630
 
+done
108631
 
+
108632
 
+  if test $ac_cv_func_vasprintf = no; then
108633
 
+    
108634
 
+  
108635
 
+  
108636
 
+  
108637
 
+    
108638
 
+      
108639
 
+      
108640
 
+    
108641
 
+  
108642
 
+  gl_LIBOBJS="$gl_LIBOBJS vasprintf.$ac_objext"
108643
 
+
108644
 
+  
108645
 
+  
108646
 
+  
108647
 
+    
108648
 
+      
108649
 
+      
108650
 
+    
108651
 
+  
108652
 
+  gl_LIBOBJS="$gl_LIBOBJS asprintf.$ac_objext"
108653
 
+
108654
 
+  
108655
 
+  if test $ac_cv_func_vasprintf = yes; then
108656
 
+    REPLACE_VASPRINTF=1
108657
 
+  else
108658
 
+    HAVE_VASPRINTF=0
108659
 
+  fi
108660
 
+  
108661
 
+    
108662
 
+
108663
 
+  
108664
 
+
108665
 
+  
108666
 
+
108667
 
+
108668
 
+  fi
108669
 
+
108670
 
+
108671
 
+    
108672
 
+  
108673
 
+  
108674
 
+  
108675
 
+          GNULIB_VASPRINTF=1
108676
 
+    
108677
 
+
108678
 
+
108679
 
+    
108680
 
+  
108681
 
+$as_echo "@%:@define GNULIB_TEST_VASPRINTF 1" >>confdefs.h
108682
 
+
108683
 
+
108684
 
+
108685
 
+
108686
 
+  
108687
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=asprintf:2:c-format"
108688
 
+
108689
 
+   
108690
 
+  
108691
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=vasprintf:2:c-format"
108692
 
+
108693
 
+
108694
 
+  
108695
 
+  
108696
 
+  
108697
 
+  
108698
 
+  
108699
 
+  
108700
 
+  
108701
 
+  
108702
 
+  
108703
 
+  
108704
 
+  
108705
 
+  
108706
 
+  
108707
 
+  
108708
 
+  gl_cv_func_vasprintf_posix=no
108709
 
+  for ac_func in vasprintf
108710
 
+do :
108711
 
+  ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
108712
 
+if test "x$ac_cv_func_vasprintf" = xyes; then :
108713
 
+  cat >>confdefs.h <<_ACEOF
108714
 
+@%:@define HAVE_VASPRINTF 1
108715
 
+_ACEOF
108716
 
108717
 
+fi
108718
 
+done
108719
 
+
108720
 
+  case "$gl_cv_func_printf_sizes_c99" in
108721
 
+    *yes)
108722
 
+      case "$gl_cv_func_printf_long_double" in
108723
 
+        *yes)
108724
 
+          case "$gl_cv_func_printf_infinite" in
108725
 
+            *yes)
108726
 
+              case "$gl_cv_func_printf_infinite_long_double" in
108727
 
+                *yes)
108728
 
+                  case "$gl_cv_func_printf_directive_a" in
108729
 
+                    *yes)
108730
 
+                      case "$gl_cv_func_printf_directive_f" in
108731
 
+                        *yes)
108732
 
+                          case "$gl_cv_func_printf_directive_n" in
108733
 
+                            *yes)
108734
 
+                              case "$gl_cv_func_printf_directive_ls" in
108735
 
+                                *yes)
108736
 
+                                  case "$gl_cv_func_printf_positions" in
108737
 
+                                    *yes)
108738
 
+                                      case "$gl_cv_func_printf_flag_grouping" in
108739
 
+                                        *yes)
108740
 
+                                          case "$gl_cv_func_printf_flag_leftadjust" in
108741
 
+                                            *yes)
108742
 
+                                              case "$gl_cv_func_printf_flag_zero" in
108743
 
+                                                *yes)
108744
 
+                                                  case "$gl_cv_func_printf_precision" in
108745
 
+                                                    *yes)
108746
 
+                                                      case "$gl_cv_func_printf_enomem" in
108747
 
+                                                        *yes)
108748
 
+                                                          if test $ac_cv_func_vasprintf = yes; then
108749
 
+                                                            # vasprintf exists and is
108750
 
+                                                            # already POSIX compliant.
108751
 
+                                                            gl_cv_func_vasprintf_posix=yes
108752
 
+                                                          fi
108753
 
+                                                          ;;
108754
 
+                                                      esac
108755
 
+                                                      ;;
108756
 
+                                                  esac
108757
 
+                                                  ;;
108758
 
+                                              esac
108759
 
+                                              ;;
108760
 
+                                          esac
108761
 
+                                          ;;
108762
 
+                                      esac
108763
 
+                                      ;;
108764
 
+                                  esac
108765
 
+                                  ;;
108766
 
+                              esac
108767
 
+                              ;;
108768
 
+                          esac
108769
 
+                          ;;
108770
 
+                      esac
108771
 
+                      ;;
108772
 
+                  esac
108773
 
+                  ;;
108774
 
+              esac
108775
 
+              ;;
108776
 
+          esac
108777
 
+          ;;
108778
 
+      esac
108779
 
+      ;;
108780
 
+  esac
108781
 
+  if test $gl_cv_func_vasprintf_posix = no; then
108782
 
+    
108783
 
+    
108784
 
+  
108785
 
+  case "$gl_cv_func_printf_infinite" in
108786
 
+    *yes)
108787
 
+      ;;
108788
 
+    *)
108789
 
+      
108790
 
+$as_echo "@%:@define NEED_PRINTF_INFINITE_DOUBLE 1" >>confdefs.h
108791
 
+
108792
 
+      ;;
108793
 
+  esac
108794
 
+
108795
 
+    
108796
 
+  
108797
 
+      
108798
 
+  case "$gl_cv_func_printf_long_double" in
108799
 
+    *yes)
108800
 
+      case "$gl_cv_func_printf_infinite_long_double" in
108801
 
+        *yes)
108802
 
+          ;;
108803
 
+        *)
108804
 
+          
108805
 
+$as_echo "@%:@define NEED_PRINTF_INFINITE_LONG_DOUBLE 1" >>confdefs.h
108806
 
+
108807
 
+          ;;
108808
 
+      esac
108809
 
+      ;;
108810
 
+  esac
108811
 
+
108812
 
+    
108813
 
+  
108814
 
+  case "$gl_cv_func_printf_directive_a" in
108815
 
+    *yes)
108816
 
+      ;;
108817
 
+    *)
108818
 
+      
108819
 
+$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_A 1" >>confdefs.h
108820
 
+
108821
 
+      for ac_func in nl_langinfo
108822
 
+do :
108823
 
+  ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
108824
 
+if test "x$ac_cv_func_nl_langinfo" = xyes; then :
108825
 
+  cat >>confdefs.h <<_ACEOF
108826
 
+@%:@define HAVE_NL_LANGINFO 1
108827
 
+_ACEOF
108828
 
108829
 
+fi
108830
 
+done
108831
 
+
108832
 
+      ;;
108833
 
+  esac
108834
 
+
108835
 
+    
108836
 
+  
108837
 
+  case "$gl_cv_func_printf_directive_f" in
108838
 
+    *yes)
108839
 
+      ;;
108840
 
+    *)
108841
 
+      
108842
 
+$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_F 1" >>confdefs.h
108843
 
+
108844
 
+      ;;
108845
 
+  esac
108846
 
+
108847
 
+    
108848
 
+  
108849
 
+  case "$gl_cv_func_printf_directive_ls" in
108850
 
+    *yes)
108851
 
+      ;;
108852
 
+    *)
108853
 
+      
108854
 
+$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_LS 1" >>confdefs.h
108855
 
+
108856
 
+      ;;
108857
 
+  esac
108858
 
+
108859
 
+    
108860
 
+  
108861
 
+  case "$gl_cv_func_printf_flag_grouping" in
108862
 
+    *yes)
108863
 
+      ;;
108864
 
+    *)
108865
 
+      
108866
 
+$as_echo "@%:@define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h
108867
 
+
108868
 
+      ;;
108869
 
+  esac
108870
 
+
108871
 
+    
108872
 
+  
108873
 
+  case "$gl_cv_func_printf_flag_leftadjust" in
108874
 
+    *yes)
108875
 
+      ;;
108876
 
+    *)
108877
 
+      
108878
 
+$as_echo "@%:@define NEED_PRINTF_FLAG_LEFTADJUST 1" >>confdefs.h
108879
 
+
108880
 
+      ;;
108881
 
+  esac
108882
 
+
108883
 
+    
108884
 
+  
108885
 
+  case "$gl_cv_func_printf_flag_zero" in
108886
 
+    *yes)
108887
 
+      ;;
108888
 
+    *)
108889
 
+      
108890
 
+$as_echo "@%:@define NEED_PRINTF_FLAG_ZERO 1" >>confdefs.h
108891
 
+
108892
 
+      ;;
108893
 
+  esac
108894
 
+
108895
 
+    
108896
 
+  
108897
 
+  case "$gl_cv_func_printf_precision" in
108898
 
+    *yes)
108899
 
+      ;;
108900
 
+    *)
108901
 
+      
108902
 
+$as_echo "@%:@define NEED_PRINTF_UNBOUNDED_PRECISION 1" >>confdefs.h
108903
 
+
108904
 
+      
108905
 
+$as_echo "@%:@define NEED_PRINTF_DOUBLE 1" >>confdefs.h
108906
 
+
108907
 
+      
108908
 
+$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
108909
 
+
108910
 
+      ;;
108911
 
+  esac
108912
 
+
108913
 
+    
108914
 
+  
108915
 
+  case "$gl_cv_func_printf_enomem" in
108916
 
+    *yes)
108917
 
+      ;;
108918
 
+    *)
108919
 
+      
108920
 
+$as_echo "@%:@define NEED_PRINTF_ENOMEM 1" >>confdefs.h
108921
 
+
108922
 
+      
108923
 
+$as_echo "@%:@define NEED_PRINTF_DOUBLE 1" >>confdefs.h
108924
 
+
108925
 
+      
108926
 
+$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
108927
 
+
108928
 
+      ;;
108929
 
+  esac
108930
 
+
108931
 
+    
108932
 
+  
108933
 
+  
108934
 
+  
108935
 
+  
108936
 
+    
108937
 
+      
108938
 
+      
108939
 
+    
108940
 
+  
108941
 
+  gl_LIBOBJS="$gl_LIBOBJS vasnprintf.$ac_objext"
108942
 
+
108943
 
+  
108944
 
+  
108945
 
+  
108946
 
+    
108947
 
+      
108948
 
+      
108949
 
+    
108950
 
+  
108951
 
+  gl_LIBOBJS="$gl_LIBOBJS printf-args.$ac_objext"
108952
 
+
108953
 
+  
108954
 
+  
108955
 
+  
108956
 
+    
108957
 
+      
108958
 
+      
108959
 
+    
108960
 
+  
108961
 
+  gl_LIBOBJS="$gl_LIBOBJS printf-parse.$ac_objext"
108962
 
+
108963
 
+  
108964
 
+  
108965
 
+  
108966
 
+    
108967
 
+      
108968
 
+      
108969
 
+    
108970
 
+  
108971
 
+  gl_LIBOBJS="$gl_LIBOBJS asnprintf.$ac_objext"
108972
 
+
108973
 
+  if test $ac_cv_func_vasnprintf = yes; then
108974
 
+    
108975
 
+$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h
108976
 
+
108977
 
+  fi
108978
 
+  
108979
 
+  
108980
 
+  
108981
 
+  
108982
 
+
108983
 
+  
108984
 
+  
108985
 
+  
108986
 
+  
108987
 
+  
108988
 
+  
108989
 
+  ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
108990
 
+if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
108991
 
+  
108992
 
+else
108993
 
+  
108994
 
+$as_echo "@%:@define ptrdiff_t long" >>confdefs.h
108995
 
+
108996
 
+    
108997
 
+fi
108998
 
+
108999
 
+  
109000
 
+
109001
 
+  
109002
 
+  
109003
 
+
109004
 
+
109005
 
+    
109006
 
+  
109007
 
+  
109008
 
+  
109009
 
+    
109010
 
+      
109011
 
+      
109012
 
+    
109013
 
+  
109014
 
+  gl_LIBOBJS="$gl_LIBOBJS vasprintf.$ac_objext"
109015
 
+
109016
 
+  
109017
 
+  
109018
 
+  
109019
 
+    
109020
 
+      
109021
 
+      
109022
 
+    
109023
 
+  
109024
 
+  gl_LIBOBJS="$gl_LIBOBJS asprintf.$ac_objext"
109025
 
+
109026
 
+  
109027
 
+  if test $ac_cv_func_vasprintf = yes; then
109028
 
+    REPLACE_VASPRINTF=1
109029
 
+  else
109030
 
+    HAVE_VASPRINTF=0
109031
 
+  fi
109032
 
+  
109033
 
+    
109034
 
+
109035
 
+  
109036
 
+
109037
 
+  
109038
 
+
109039
 
+
109040
 
+  fi
109041
 
+
109042
 
+
109043
 
+  
109044
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=verror:3:c-format"
109045
 
+
109046
 
+   
109047
 
+  
109048
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=verror_at_line:5:c-format"
109049
 
+
109050
 
+    
109051
 
+@%:@ Check whether --with-packager was given.
109052
 
+if test "${with_packager+set}" = set; then :
109053
 
+  withval=$with_packager;       case $withval in
109054
 
+        yes|no) ;;
109055
 
+        *) 
109056
 
+cat >>confdefs.h <<_ACEOF
109057
 
+@%:@define PACKAGE_PACKAGER "$withval"
109058
 
+_ACEOF
109059
 
+ ;;
109060
 
+      esac
109061
 
+    
109062
 
+fi
109063
 
+
109064
 
+
109065
 
+    
109066
 
+@%:@ Check whether --with-packager-version was given.
109067
 
+if test "${with_packager_version+set}" = set; then :
109068
 
+  withval=$with_packager_version;       case $withval in
109069
 
+        yes|no) ;;
109070
 
+        *) 
109071
 
+cat >>confdefs.h <<_ACEOF
109072
 
+@%:@define PACKAGE_PACKAGER_VERSION "$withval"
109073
 
+_ACEOF
109074
 
+ ;;
109075
 
+      esac
109076
 
+    
109077
 
+fi
109078
 
+
109079
 
+
109080
 
+    
109081
 
+@%:@ Check whether --with-packager-bug-reports was given.
109082
 
+if test "${with_packager_bug_reports+set}" = set; then :
109083
 
+  withval=$with_packager_bug_reports;       case $withval in
109084
 
+        yes|no) ;;
109085
 
+        *) 
109086
 
+cat >>confdefs.h <<_ACEOF
109087
 
+@%:@define PACKAGE_PACKAGER_BUG_REPORTS "$withval"
109088
 
+_ACEOF
109089
 
+ ;;
109090
 
+      esac
109091
 
+    
109092
 
+fi
109093
 
+
109094
 
+
109095
 
+  if test "X$with_packager" = "X" && \
109096
 
+     test "X$with_packager_version$with_packager_bug_reports" != "X"
109097
 
+  then
109098
 
+    as_fn_error $? "The --with-packager-{bug-reports,version} options require --with-packager" "$LINENO" 5
109099
 
+  fi
109100
 
+
109101
 
+
109102
 
+  
109103
 
+  
109104
 
+  
109105
 
+  
109106
 
+  
109107
 
+  
109108
 
+  
109109
 
+  
109110
 
+  
109111
 
+  
109112
 
+  
109113
 
+  
109114
 
+  
109115
 
+  
109116
 
+  gl_cv_func_vfprintf_posix=no
109117
 
+  case "$gl_cv_func_printf_sizes_c99" in
109118
 
+    *yes)
109119
 
+      case "$gl_cv_func_printf_long_double" in
109120
 
+        *yes)
109121
 
+          case "$gl_cv_func_printf_infinite" in
109122
 
+            *yes)
109123
 
+              case "$gl_cv_func_printf_infinite_long_double" in
109124
 
+                *yes)
109125
 
+                  case "$gl_cv_func_printf_directive_a" in
109126
 
+                    *yes)
109127
 
+                      case "$gl_cv_func_printf_directive_f" in
109128
 
+                        *yes)
109129
 
+                          case "$gl_cv_func_printf_directive_n" in
109130
 
+                            *yes)
109131
 
+                              case "$gl_cv_func_printf_directive_ls" in
109132
 
+                                *yes)
109133
 
+                                  case "$gl_cv_func_printf_positions" in
109134
 
+                                    *yes)
109135
 
+                                      case "$gl_cv_func_printf_flag_grouping" in
109136
 
+                                        *yes)
109137
 
+                                          case "$gl_cv_func_printf_flag_leftadjust" in
109138
 
+                                            *yes)
109139
 
+                                              case "$gl_cv_func_printf_flag_zero" in
109140
 
+                                                *yes)
109141
 
+                                                  case "$gl_cv_func_printf_precision" in
109142
 
+                                                    *yes)
109143
 
+                                                      case "$gl_cv_func_printf_enomem" in
109144
 
+                                                        *yes)
109145
 
+                                                          # vfprintf exists and is
109146
 
+                                                          # already POSIX compliant.
109147
 
+                                                          gl_cv_func_vfprintf_posix=yes
109148
 
+                                                          ;;
109149
 
+                                                      esac
109150
 
+                                                      ;;
109151
 
+                                                  esac
109152
 
+                                                  ;;
109153
 
+                                              esac
109154
 
+                                              ;;
109155
 
+                                          esac
109156
 
+                                          ;;
109157
 
+                                      esac
109158
 
+                                      ;;
109159
 
+                                  esac
109160
 
+                                  ;;
109161
 
+                              esac
109162
 
+                              ;;
109163
 
+                          esac
109164
 
+                          ;;
109165
 
+                      esac
109166
 
+                      ;;
109167
 
+                  esac
109168
 
+                  ;;
109169
 
+              esac
109170
 
+              ;;
109171
 
+          esac
109172
 
+          ;;
109173
 
+      esac
109174
 
+      ;;
109175
 
+  esac
109176
 
+  if test $gl_cv_func_vfprintf_posix = no; then
109177
 
+    
109178
 
+    
109179
 
+  
109180
 
+  case "$gl_cv_func_printf_infinite" in
109181
 
+    *yes)
109182
 
+      ;;
109183
 
+    *)
109184
 
+      
109185
 
+$as_echo "@%:@define NEED_PRINTF_INFINITE_DOUBLE 1" >>confdefs.h
109186
 
+
109187
 
+      ;;
109188
 
+  esac
109189
 
+
109190
 
+    
109191
 
+  
109192
 
+      
109193
 
+  case "$gl_cv_func_printf_long_double" in
109194
 
+    *yes)
109195
 
+      case "$gl_cv_func_printf_infinite_long_double" in
109196
 
+        *yes)
109197
 
+          ;;
109198
 
+        *)
109199
 
+          
109200
 
+$as_echo "@%:@define NEED_PRINTF_INFINITE_LONG_DOUBLE 1" >>confdefs.h
109201
 
+
109202
 
+          ;;
109203
 
+      esac
109204
 
+      ;;
109205
 
+  esac
109206
 
+
109207
 
+    
109208
 
+  
109209
 
+  case "$gl_cv_func_printf_directive_a" in
109210
 
+    *yes)
109211
 
+      ;;
109212
 
+    *)
109213
 
+      
109214
 
+$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_A 1" >>confdefs.h
109215
 
+
109216
 
+      for ac_func in nl_langinfo
109217
 
+do :
109218
 
+  ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
109219
 
+if test "x$ac_cv_func_nl_langinfo" = xyes; then :
109220
 
+  cat >>confdefs.h <<_ACEOF
109221
 
+@%:@define HAVE_NL_LANGINFO 1
109222
 
+_ACEOF
109223
 
109224
 
+fi
109225
 
+done
109226
 
+
109227
 
+      ;;
109228
 
+  esac
109229
 
+
109230
 
+    
109231
 
+  
109232
 
+  case "$gl_cv_func_printf_directive_f" in
109233
 
+    *yes)
109234
 
+      ;;
109235
 
+    *)
109236
 
+      
109237
 
+$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_F 1" >>confdefs.h
109238
 
+
109239
 
+      ;;
109240
 
+  esac
109241
 
+
109242
 
+    
109243
 
+  
109244
 
+  case "$gl_cv_func_printf_directive_ls" in
109245
 
+    *yes)
109246
 
+      ;;
109247
 
+    *)
109248
 
+      
109249
 
+$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_LS 1" >>confdefs.h
109250
 
+
109251
 
+      ;;
109252
 
+  esac
109253
 
+
109254
 
+    
109255
 
+  
109256
 
+  case "$gl_cv_func_printf_flag_grouping" in
109257
 
+    *yes)
109258
 
+      ;;
109259
 
+    *)
109260
 
+      
109261
 
+$as_echo "@%:@define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h
109262
 
+
109263
 
+      ;;
109264
 
+  esac
109265
 
+
109266
 
+    
109267
 
+  
109268
 
+  case "$gl_cv_func_printf_flag_leftadjust" in
109269
 
+    *yes)
109270
 
+      ;;
109271
 
+    *)
109272
 
+      
109273
 
+$as_echo "@%:@define NEED_PRINTF_FLAG_LEFTADJUST 1" >>confdefs.h
109274
 
+
109275
 
+      ;;
109276
 
+  esac
109277
 
+
109278
 
+    
109279
 
+  
109280
 
+  case "$gl_cv_func_printf_flag_zero" in
109281
 
+    *yes)
109282
 
+      ;;
109283
 
+    *)
109284
 
+      
109285
 
+$as_echo "@%:@define NEED_PRINTF_FLAG_ZERO 1" >>confdefs.h
109286
 
+
109287
 
+      ;;
109288
 
+  esac
109289
 
+
109290
 
+    
109291
 
+  
109292
 
+  case "$gl_cv_func_printf_precision" in
109293
 
+    *yes)
109294
 
+      ;;
109295
 
+    *)
109296
 
+      
109297
 
+$as_echo "@%:@define NEED_PRINTF_UNBOUNDED_PRECISION 1" >>confdefs.h
109298
 
+
109299
 
+      
109300
 
+$as_echo "@%:@define NEED_PRINTF_DOUBLE 1" >>confdefs.h
109301
 
+
109302
 
+      
109303
 
+$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
109304
 
+
109305
 
+      ;;
109306
 
+  esac
109307
 
+
109308
 
+    
109309
 
+  
109310
 
+  case "$gl_cv_func_printf_enomem" in
109311
 
+    *yes)
109312
 
+      ;;
109313
 
+    *)
109314
 
+      
109315
 
+$as_echo "@%:@define NEED_PRINTF_ENOMEM 1" >>confdefs.h
109316
 
+
109317
 
+      
109318
 
+$as_echo "@%:@define NEED_PRINTF_DOUBLE 1" >>confdefs.h
109319
 
+
109320
 
+      
109321
 
+$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
109322
 
+
109323
 
+      ;;
109324
 
+  esac
109325
 
+
109326
 
+    
109327
 
+  
109328
 
+  
109329
 
+  
109330
 
+  
109331
 
+    
109332
 
+      
109333
 
+      
109334
 
+    
109335
 
+  
109336
 
+  gl_LIBOBJS="$gl_LIBOBJS vasnprintf.$ac_objext"
109337
 
+
109338
 
+  
109339
 
+  
109340
 
+  
109341
 
+    
109342
 
+      
109343
 
+      
109344
 
+    
109345
 
+  
109346
 
+  gl_LIBOBJS="$gl_LIBOBJS printf-args.$ac_objext"
109347
 
+
109348
 
+  
109349
 
+  
109350
 
+  
109351
 
+    
109352
 
+      
109353
 
+      
109354
 
+    
109355
 
+  
109356
 
+  gl_LIBOBJS="$gl_LIBOBJS printf-parse.$ac_objext"
109357
 
+
109358
 
+  
109359
 
+  
109360
 
+  
109361
 
+    
109362
 
+      
109363
 
+      
109364
 
+    
109365
 
+  
109366
 
+  gl_LIBOBJS="$gl_LIBOBJS asnprintf.$ac_objext"
109367
 
+
109368
 
+  if test $ac_cv_func_vasnprintf = yes; then
109369
 
+    
109370
 
+$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h
109371
 
+
109372
 
+  fi
109373
 
+  
109374
 
+  
109375
 
+  
109376
 
+  
109377
 
+
109378
 
+  
109379
 
+  
109380
 
+  
109381
 
+  
109382
 
+  
109383
 
+  
109384
 
+  ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
109385
 
+if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
109386
 
+  
109387
 
+else
109388
 
+  
109389
 
+$as_echo "@%:@define ptrdiff_t long" >>confdefs.h
109390
 
+
109391
 
+    
109392
 
+fi
109393
 
+
109394
 
+  
109395
 
+
109396
 
+  
109397
 
+  
109398
 
+
109399
 
+
109400
 
+    
109401
 
+  
109402
 
+  
109403
 
+  
109404
 
+  
109405
 
+    
109406
 
+      
109407
 
+      
109408
 
+    
109409
 
+  
109410
 
+  gl_LIBOBJS="$gl_LIBOBJS vfprintf.$ac_objext"
109411
 
+
109412
 
+  REPLACE_VFPRINTF=1
109413
 
+  
109414
 
+$as_echo "@%:@define REPLACE_VFPRINTF_POSIX 1" >>confdefs.h
109415
 
+
109416
 
+  :
109417
 
+
109418
 
+  fi
109419
 
+
109420
 
+
109421
 
+    
109422
 
+  
109423
 
+  
109424
 
+  
109425
 
+          GNULIB_VFPRINTF_POSIX=1
109426
 
+    
109427
 
+
109428
 
+
109429
 
+    
109430
 
+  
109431
 
+$as_echo "@%:@define GNULIB_TEST_VFPRINTF_POSIX 1" >>confdefs.h
109432
 
+
109433
 
+
109434
 
+
109435
 
+
109436
 
+  
109437
 
+  if test $gl_cv_func_vfprintf_posix = no; then
109438
 
+    
109439
 
+  
109440
 
+  
109441
 
+  
109442
 
+  
109443
 
+    
109444
 
+      
109445
 
+      
109446
 
+    
109447
 
+  
109448
 
+  gl_LIBOBJS="$gl_LIBOBJS vprintf.$ac_objext"
109449
 
+
109450
 
+  REPLACE_VPRINTF=1
109451
 
+  
109452
 
+$as_echo "@%:@define REPLACE_VPRINTF_POSIX 1" >>confdefs.h
109453
 
+
109454
 
+  :
109455
 
+
109456
 
+  fi
109457
 
+
109458
 
+
109459
 
+    
109460
 
+  
109461
 
+  
109462
 
+  
109463
 
+          GNULIB_VPRINTF_POSIX=1
109464
 
+    
109465
 
+
109466
 
+
109467
 
+    
109468
 
+  
109469
 
+$as_echo "@%:@define GNULIB_TEST_VPRINTF_POSIX 1" >>confdefs.h
109470
 
+
109471
 
+
109472
 
+
109473
 
+
109474
 
+
109475
 
+  
109476
 
+  
109477
 
+          
109478
 
+  
109479
 
+  
109480
 
+  
109481
 
+
109482
 
+  
109483
 
+    
109484
 
+
109485
 
+  
109486
 
+     if test $gl_cv_have_include_next = yes; then
109487
 
+       gl_cv_next_wchar_h='<'wchar.h'>'
109488
 
+     else
109489
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wchar.h>" >&5
109490
 
+$as_echo_n "checking absolute name of <wchar.h>... " >&6; }
109491
 
+if ${gl_cv_next_wchar_h+:} false; then :
109492
 
+  $as_echo_n "(cached) " >&6
109493
 
+else
109494
 
+  
109495
 
+             if test $ac_cv_header_wchar_h = yes; then
109496
 
+             
109497
 
+            
109498
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
109499
 
+/* end confdefs.h.  */
109500
 
+#include <wchar.h>
109501
 
+                  
109502
 
+_ACEOF
109503
 
+                                                                                                                        case "$host_os" in
109504
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
109505
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
109506
 
+               esac
109507
 
+                                                            gl_cv_next_wchar_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
109508
 
+                  sed -n '\#/wchar.h#{
109509
 
+                    s#.*"\(.*/wchar.h\)".*#\1#
109510
 
+                    s#^/[^/]#//&#
109511
 
+                    p
109512
 
+                    q
109513
 
+                  }'`'"'
109514
 
+          else
109515
 
+               gl_cv_next_wchar_h='<'wchar.h'>'
109516
 
+             fi
109517
 
+            
109518
 
+         
109519
 
+fi
109520
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5
109521
 
+$as_echo "$gl_cv_next_wchar_h" >&6; }
109522
 
+     fi
109523
 
+     NEXT_WCHAR_H=$gl_cv_next_wchar_h
109524
 
+
109525
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
109526
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
109527
 
+       gl_next_as_first_directive='<'wchar.h'>'
109528
 
+     else
109529
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
109530
 
+       gl_next_as_first_directive=$gl_cv_next_wchar_h
109531
 
+     fi
109532
 
+     NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive
109533
 
+
109534
 
+     
109535
 
+
109536
 
+
109537
 
+  if test $ac_cv_header_wchar_h = yes; then
109538
 
+    HAVE_WCHAR_H=1
109539
 
+  else
109540
 
+    HAVE_WCHAR_H=0
109541
 
+  fi
109542
 
+  
109543
 
+
109544
 
+  
109545
 
+
109546
 
+  
109547
 
+  if test $gt_cv_c_wint_t = yes; then
109548
 
+    HAVE_WINT_T=1
109549
 
+  else
109550
 
+    HAVE_WINT_T=0
109551
 
+  fi
109552
 
+  
109553
 
+
109554
 
+      
109555
 
+    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
109556
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
109557
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
109558
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
109559
 
+if eval \${$as_gl_Symbol+:} false; then :
109560
 
+  $as_echo_n "(cached) " >&6
109561
 
+else
109562
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
109563
 
+/* end confdefs.h.  */
109564
 
+
109565
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
109566
 
+   <wchar.h>.
109567
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
109568
 
+   included before <wchar.h>.  */
109569
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
109570
 
+# include <stddef.h>
109571
 
+# include <stdio.h>
109572
 
+# include <time.h>
109573
 
+#endif
109574
 
+#include <wchar.h>
109575
 
+    
109576
 
+int
109577
 
+main ()
109578
 
+{
109579
 
+@%:@undef $gl_func
109580
 
+  (void) $gl_func;
109581
 
+  ;
109582
 
+  return 0;
109583
 
+}
109584
 
+_ACEOF
109585
 
+if ac_fn_c_try_compile "$LINENO"; then :
109586
 
+  eval "$as_gl_Symbol=yes"
109587
 
+else
109588
 
+  eval "$as_gl_Symbol=no"
109589
 
+fi
109590
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
109591
 
+fi
109592
 
+eval ac_res=\$$as_gl_Symbol
109593
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
109594
 
+$as_echo "$ac_res" >&6; }
109595
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
109596
 
+  cat >>confdefs.h <<_ACEOF
109597
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
109598
 
+_ACEOF
109599
 
+
109600
 
+                     eval ac_cv_have_decl_$gl_func=yes
109601
 
+fi
109602
 
+      done
109603
 
+
109604
 
+
109605
 
+
109606
 
+  
109607
 
+
109608
 
+  
109609
 
+  
109610
 
+  
109611
 
+
109612
 
+  
109613
 
+  
109614
 
+  
109615
 
+  if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
109616
 
+    
109617
 
+  
109618
 
+  
109619
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
109620
 
+$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
109621
 
+if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
109622
 
+  $as_echo_n "(cached) " >&6
109623
 
+else
109624
 
+  
109625
 
+                  case "$host_os" in
109626
 
+                     # Guess no on AIX and OSF/1.
109627
 
+        aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
109628
 
+                     # Guess yes otherwise.
109629
 
+        *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
109630
 
+      esac
109631
 
+      if test $LOCALE_JA != none; then
109632
 
+        if test "$cross_compiling" = yes; then :
109633
 
+  :
109634
 
+else
109635
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
109636
 
+/* end confdefs.h.  */
109637
 
+
109638
 
+#include <locale.h>
109639
 
+#include <string.h>
109640
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
109641
 
+   <wchar.h>.
109642
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
109643
 
+   included before <wchar.h>.  */
109644
 
+#include <stddef.h>
109645
 
+#include <stdio.h>
109646
 
+#include <time.h>
109647
 
+#include <wchar.h>
109648
 
+int main ()
109649
 
+{
109650
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
109651
 
+    {
109652
 
+      const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
109653
 
+      mbstate_t state;
109654
 
+      wchar_t wc;
109655
 
+
109656
 
+      memset (&state, '\0', sizeof (mbstate_t));
109657
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
109658
 
+        if (mbsinit (&state))
109659
 
+          return 1;
109660
 
+    }
109661
 
+  return 0;
109662
 
+}
109663
 
+_ACEOF
109664
 
+if ac_fn_c_try_run "$LINENO"; then :
109665
 
+  gl_cv_func_mbrtowc_incomplete_state=yes
109666
 
+else
109667
 
+  gl_cv_func_mbrtowc_incomplete_state=no
109668
 
+fi
109669
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
109670
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
109671
 
+fi
109672
 
+
109673
 
+      fi
109674
 
+    
109675
 
+fi
109676
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
109677
 
+$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
109678
 
+
109679
 
+    
109680
 
+  
109681
 
+  
109682
 
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
109683
 
+$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
109684
 
+if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
109685
 
+  $as_echo_n "(cached) " >&6
109686
 
+else
109687
 
+  
109688
 
+                  case "$host_os" in
109689
 
+                    # Guess no on Solaris 8.
109690
 
+        solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
109691
 
+                    # Guess yes otherwise.
109692
 
+        *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
109693
 
+      esac
109694
 
+      if test $LOCALE_ZH_CN != none; then
109695
 
+        if test "$cross_compiling" = yes; then :
109696
 
+  :
109697
 
+else
109698
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
109699
 
+/* end confdefs.h.  */
109700
 
+
109701
 
+#include <locale.h>
109702
 
+#include <stdlib.h>
109703
 
+#include <string.h>
109704
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
109705
 
+   <wchar.h>.
109706
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
109707
 
+   included before <wchar.h>.  */
109708
 
+#include <stddef.h>
109709
 
+#include <stdio.h>
109710
 
+#include <time.h>
109711
 
+#include <wchar.h>
109712
 
+int main ()
109713
 
+{
109714
 
+  /* This fails on Solaris 8:
109715
 
+     mbrtowc returns 2, and sets wc to 0x00F0.
109716
 
+     mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
109717
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
109718
 
+    {
109719
 
+      char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
109720
 
+      mbstate_t state;
109721
 
+      wchar_t wc;
109722
 
+
109723
 
+      memset (&state, '\0', sizeof (mbstate_t));
109724
 
+      if (mbrtowc (&wc, input + 3, 6, &state) != 4
109725
 
+          && mbtowc (&wc, input + 3, 6) == 4)
109726
 
+        return 1;
109727
 
+    }
109728
 
+  return 0;
109729
 
+}
109730
 
+_ACEOF
109731
 
+if ac_fn_c_try_run "$LINENO"; then :
109732
 
+  gl_cv_func_mbrtowc_sanitycheck=yes
109733
 
+else
109734
 
+  gl_cv_func_mbrtowc_sanitycheck=no
109735
 
+fi
109736
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
109737
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
109738
 
+fi
109739
 
+
109740
 
+      fi
109741
 
+    
109742
 
+fi
109743
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
109744
 
+$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
109745
 
+
109746
 
+    REPLACE_MBSTATE_T=0
109747
 
+    case "$gl_cv_func_mbrtowc_incomplete_state" in
109748
 
+      *yes) ;;
109749
 
+      *) REPLACE_MBSTATE_T=1 ;;
109750
 
+    esac
109751
 
+    case "$gl_cv_func_mbrtowc_sanitycheck" in
109752
 
+      *yes) ;;
109753
 
+      *) REPLACE_MBSTATE_T=1 ;;
109754
 
+    esac
109755
 
+  else
109756
 
+    REPLACE_MBSTATE_T=1
109757
 
+  fi
109758
 
+
109759
 
+
109760
 
+  
109761
 
+  if test $ac_cv_func_wcrtomb = no; then
109762
 
+    HAVE_WCRTOMB=0
109763
 
+    ac_fn_c_check_decl "$LINENO" "wcrtomb" "ac_cv_have_decl_wcrtomb" "
109764
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
109765
 
+   <wchar.h>.
109766
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
109767
 
+   included before <wchar.h>.  */
109768
 
+#include <stddef.h>
109769
 
+#include <stdio.h>
109770
 
+#include <time.h>
109771
 
+#include <wchar.h>
109772
 
+
109773
 
+"
109774
 
+if test "x$ac_cv_have_decl_wcrtomb" = xyes; then :
109775
 
+  ac_have_decl=1
109776
 
+else
109777
 
+  ac_have_decl=0
109778
 
+fi
109779
 
+
109780
 
+cat >>confdefs.h <<_ACEOF
109781
 
+@%:@define HAVE_DECL_WCRTOMB $ac_have_decl
109782
 
+_ACEOF
109783
 
+
109784
 
+    if test $ac_cv_have_decl_wcrtomb = yes; then
109785
 
+                        REPLACE_WCRTOMB=1
109786
 
+    fi
109787
 
+  else
109788
 
+    if test $REPLACE_MBSTATE_T = 1; then
109789
 
+      REPLACE_WCRTOMB=1
109790
 
+    else
109791
 
+                  
109792
 
+      
109793
 
+      
109794
 
+      
109795
 
+      
109796
 
+             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb return value is correct" >&5
109797
 
+$as_echo_n "checking whether wcrtomb return value is correct... " >&6; }
109798
 
+if ${gl_cv_func_wcrtomb_retval+:} false; then :
109799
 
+  $as_echo_n "(cached) " >&6
109800
 
+else
109801
 
+  
109802
 
+                              case "$host_os" in
109803
 
+                                     # Guess no on AIX 4, OSF/1 and Solaris.
109804
 
+            aix4* | osf* | solaris*) gl_cv_func_wcrtomb_retval="guessing no" ;;
109805
 
+                                     # Guess yes otherwise.
109806
 
+            *)                       gl_cv_func_wcrtomb_retval="guessing yes" ;;
109807
 
+          esac
109808
 
+          if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
109809
 
+            if test "$cross_compiling" = yes; then :
109810
 
+  :
109811
 
+else
109812
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
109813
 
+/* end confdefs.h.  */
109814
 
+
109815
 
+#include <locale.h>
109816
 
+#include <string.h>
109817
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
109818
 
+   <wchar.h>.
109819
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
109820
 
+   included before <wchar.h>.  */
109821
 
+#include <stddef.h>
109822
 
+#include <stdio.h>
109823
 
+#include <time.h>
109824
 
+#include <wchar.h>
109825
 
+int main ()
109826
 
+{
109827
 
+  int result = 0;
109828
 
+  if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
109829
 
+    {
109830
 
+      if (wcrtomb (NULL, 0, NULL) != 1)
109831
 
+        result |= 1;
109832
 
+    }
109833
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
109834
 
+    {
109835
 
+      if (wcrtomb (NULL, 0, NULL) != 1)
109836
 
+        result |= 2;
109837
 
+    }
109838
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
109839
 
+    {
109840
 
+      if (wcrtomb (NULL, 0, NULL) != 1)
109841
 
+        result |= 4;
109842
 
+    }
109843
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
109844
 
+    {
109845
 
+      if (wcrtomb (NULL, 0, NULL) != 1)
109846
 
+        result |= 8;
109847
 
+    }
109848
 
+  return result;
109849
 
+}
109850
 
+_ACEOF
109851
 
+if ac_fn_c_try_run "$LINENO"; then :
109852
 
+  gl_cv_func_wcrtomb_retval=yes
109853
 
+else
109854
 
+  gl_cv_func_wcrtomb_retval=no
109855
 
+fi
109856
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
109857
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
109858
 
+fi
109859
 
+
109860
 
+          fi
109861
 
+        
109862
 
+fi
109863
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcrtomb_retval" >&5
109864
 
+$as_echo "$gl_cv_func_wcrtomb_retval" >&6; }
109865
 
+      case "$gl_cv_func_wcrtomb_retval" in
109866
 
+        *yes) ;;
109867
 
+        *) REPLACE_WCRTOMB=1 ;;
109868
 
+      esac
109869
 
+    fi
109870
 
+  fi
109871
 
+
109872
 
+if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
109873
 
+  
109874
 
+  
109875
 
+  
109876
 
+    
109877
 
+      
109878
 
+      
109879
 
+    
109880
 
+  
109881
 
+  gl_LIBOBJS="$gl_LIBOBJS wcrtomb.$ac_objext"
109882
 
+
109883
 
+  
109884
 
+  :
109885
 
+
109886
 
+fi
109887
 
+
109888
 
+    
109889
 
+  
109890
 
+  
109891
 
+  
109892
 
+          GNULIB_WCRTOMB=1
109893
 
+    
109894
 
+
109895
 
+
109896
 
+    
109897
 
+  
109898
 
+$as_echo "@%:@define GNULIB_TEST_WCRTOMB 1" >>confdefs.h
109899
 
+
109900
 
+
109901
 
+
109902
 
+
109903
 
+  
109904
 
+  
109905
 
+  
109906
 
+  if test $ac_cv_func_wcswidth = no; then
109907
 
+    HAVE_WCSWIDTH=0
109908
 
+  else
109909
 
+    if test $REPLACE_WCWIDTH = 1; then
109910
 
+                  REPLACE_WCSWIDTH=1
109911
 
+    fi
109912
 
+  fi
109913
 
+
109914
 
+if test $HAVE_WCSWIDTH = 0 || test $REPLACE_WCSWIDTH = 1; then
109915
 
+  
109916
 
+  
109917
 
+  
109918
 
+    
109919
 
+      
109920
 
+      
109921
 
+    
109922
 
+  
109923
 
+  gl_LIBOBJS="$gl_LIBOBJS wcswidth.$ac_objext"
109924
 
+
109925
 
+fi
109926
 
+
109927
 
+    
109928
 
+  
109929
 
+  
109930
 
+  
109931
 
+          GNULIB_WCSWIDTH=1
109932
 
+    
109933
 
+
109934
 
+
109935
 
+    
109936
 
+  
109937
 
+$as_echo "@%:@define GNULIB_TEST_WCSWIDTH 1" >>confdefs.h
109938
 
+
109939
 
+
109940
 
+
109941
 
+
109942
 
+  
109943
 
+  
109944
 
+  
109945
 
+  
109946
 
+  if test $ac_cv_func_iswcntrl = yes; then
109947
 
+    HAVE_ISWCNTRL=1
109948
 
+  else
109949
 
+    HAVE_ISWCNTRL=0
109950
 
+  fi
109951
 
+  
109952
 
+
109953
 
+  
109954
 
+
109955
 
+  
109956
 
+  if test $gt_cv_c_wint_t = yes; then
109957
 
+    HAVE_WINT_T=1
109958
 
+  else
109959
 
+    HAVE_WINT_T=0
109960
 
+  fi
109961
 
+  
109962
 
+
109963
 
+  
109964
 
+  
109965
 
+  
109966
 
+  
109967
 
+
109968
 
+  
109969
 
+    
109970
 
+
109971
 
+  
109972
 
+     if test $gl_cv_have_include_next = yes; then
109973
 
+       gl_cv_next_wctype_h='<'wctype.h'>'
109974
 
+     else
109975
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wctype.h>" >&5
109976
 
+$as_echo_n "checking absolute name of <wctype.h>... " >&6; }
109977
 
+if ${gl_cv_next_wctype_h+:} false; then :
109978
 
+  $as_echo_n "(cached) " >&6
109979
 
+else
109980
 
+  
109981
 
+             if test $ac_cv_header_wctype_h = yes; then
109982
 
+             
109983
 
+            
109984
 
+               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
109985
 
+/* end confdefs.h.  */
109986
 
+#include <wctype.h>
109987
 
+                  
109988
 
+_ACEOF
109989
 
+                                                                                                                        case "$host_os" in
109990
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
109991
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
109992
 
+               esac
109993
 
+                                                            gl_cv_next_wctype_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
109994
 
+                  sed -n '\#/wctype.h#{
109995
 
+                    s#.*"\(.*/wctype.h\)".*#\1#
109996
 
+                    s#^/[^/]#//&#
109997
 
+                    p
109998
 
+                    q
109999
 
+                  }'`'"'
110000
 
+          else
110001
 
+               gl_cv_next_wctype_h='<'wctype.h'>'
110002
 
+             fi
110003
 
+            
110004
 
+         
110005
 
+fi
110006
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5
110007
 
+$as_echo "$gl_cv_next_wctype_h" >&6; }
110008
 
+     fi
110009
 
+     NEXT_WCTYPE_H=$gl_cv_next_wctype_h
110010
 
+
110011
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
110012
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
110013
 
+       gl_next_as_first_directive='<'wctype.h'>'
110014
 
+     else
110015
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
110016
 
+       gl_next_as_first_directive=$gl_cv_next_wctype_h
110017
 
+     fi
110018
 
+     NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H=$gl_next_as_first_directive
110019
 
+
110020
 
+     
110021
 
+
110022
 
+
110023
 
+  if test $ac_cv_header_wctype_h = yes; then
110024
 
+    if test $ac_cv_func_iswcntrl = yes; then
110025
 
+                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5
110026
 
+$as_echo_n "checking whether iswcntrl works... " >&6; }
110027
 
+if ${gl_cv_func_iswcntrl_works+:} false; then :
110028
 
+  $as_echo_n "(cached) " >&6
110029
 
+else
110030
 
+  
110031
 
+          if test "$cross_compiling" = yes; then :
110032
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
110033
 
+/* end confdefs.h.  */
110034
 
+#include <stdlib.h>
110035
 
+                          #if __GNU_LIBRARY__ == 1
110036
 
+                          Linux libc5 i18n is broken.
110037
 
+                          #endif
110038
 
+int
110039
 
+main ()
110040
 
+{
110041
 
+
110042
 
+  ;
110043
 
+  return 0;
110044
 
+}
110045
 
+_ACEOF
110046
 
+if ac_fn_c_try_compile "$LINENO"; then :
110047
 
+  gl_cv_func_iswcntrl_works=yes
110048
 
+else
110049
 
+  gl_cv_func_iswcntrl_works=no
110050
 
+fi
110051
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110052
 
+            
110053
 
+else
110054
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
110055
 
+/* end confdefs.h.  */
110056
 
+
110057
 
+               /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
110058
 
+                  included before <wchar.h>.
110059
 
+                  BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
110060
 
+                  must be included before <wchar.h>.  */
110061
 
+               #include <stddef.h>
110062
 
+               #include <stdio.h>
110063
 
+               #include <time.h>
110064
 
+               #include <wchar.h>
110065
 
+               #include <wctype.h>
110066
 
+               int main () { return iswprint ('x') == 0; }
110067
 
+            
110068
 
+_ACEOF
110069
 
+if ac_fn_c_try_run "$LINENO"; then :
110070
 
+  gl_cv_func_iswcntrl_works=yes
110071
 
+else
110072
 
+  gl_cv_func_iswcntrl_works=no
110073
 
+fi
110074
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
110075
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
110076
 
+fi
110077
 
+
110078
 
+        
110079
 
+fi
110080
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswcntrl_works" >&5
110081
 
+$as_echo "$gl_cv_func_iswcntrl_works" >&6; }
110082
 
+    fi
110083
 
+    HAVE_WCTYPE_H=1
110084
 
+  else
110085
 
+    HAVE_WCTYPE_H=0
110086
 
+  fi
110087
 
+  
110088
 
+
110089
 
+  if test "$gl_cv_func_iswcntrl_works" = no; then
110090
 
+    REPLACE_ISWCNTRL=1
110091
 
+  else
110092
 
+    REPLACE_ISWCNTRL=0
110093
 
+  fi
110094
 
+  
110095
 
+
110096
 
+  if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
110097
 
+        :
110098
 
+  fi
110099
 
+
110100
 
+  if test $REPLACE_ISWCNTRL = 1; then
110101
 
+    REPLACE_TOWLOWER=1
110102
 
+  else
110103
 
+    for ac_func in towlower
110104
 
+do :
110105
 
+  ac_fn_c_check_func "$LINENO" "towlower" "ac_cv_func_towlower"
110106
 
+if test "x$ac_cv_func_towlower" = xyes; then :
110107
 
+  cat >>confdefs.h <<_ACEOF
110108
 
+@%:@define HAVE_TOWLOWER 1
110109
 
+_ACEOF
110110
 
110111
 
+fi
110112
 
+done
110113
 
+
110114
 
+    if test $ac_cv_func_towlower = yes; then
110115
 
+      REPLACE_TOWLOWER=0
110116
 
+    else
110117
 
+      ac_fn_c_check_decl "$LINENO" "towlower" "ac_cv_have_decl_towlower" "/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
110118
 
+             included before <wchar.h>.
110119
 
+             BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
110120
 
+             must be included before <wchar.h>.  */
110121
 
+          #include <stddef.h>
110122
 
+          #include <stdio.h>
110123
 
+          #include <time.h>
110124
 
+          #include <wchar.h>
110125
 
+          #if HAVE_WCTYPE_H
110126
 
+          # include <wctype.h>
110127
 
+          #endif
110128
 
+        
110129
 
+"
110130
 
+if test "x$ac_cv_have_decl_towlower" = xyes; then :
110131
 
+  ac_have_decl=1
110132
 
+else
110133
 
+  ac_have_decl=0
110134
 
+fi
110135
 
+
110136
 
+cat >>confdefs.h <<_ACEOF
110137
 
+@%:@define HAVE_DECL_TOWLOWER $ac_have_decl
110138
 
+_ACEOF
110139
 
+
110140
 
+      if test $ac_cv_have_decl_towlower = yes; then
110141
 
+                                REPLACE_TOWLOWER=1
110142
 
+      else
110143
 
+        REPLACE_TOWLOWER=0
110144
 
+      fi
110145
 
+    fi
110146
 
+  fi
110147
 
+  
110148
 
+
110149
 
+  if test $HAVE_ISWCNTRL = 0 || test $REPLACE_TOWLOWER = 1; then
110150
 
+        :
110151
 
+  fi
110152
 
+
110153
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5
110154
 
+$as_echo_n "checking for wctype_t... " >&6; }
110155
 
+if ${gl_cv_type_wctype_t+:} false; then :
110156
 
+  $as_echo_n "(cached) " >&6
110157
 
+else
110158
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
110159
 
+/* end confdefs.h.  */
110160
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
110161
 
+               included before <wchar.h>.
110162
 
+               BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
110163
 
+               must be included before <wchar.h>.  */
110164
 
+            #include <stddef.h>
110165
 
+            #include <stdio.h>
110166
 
+            #include <time.h>
110167
 
+            #include <wchar.h>
110168
 
+            #if HAVE_WCTYPE_H
110169
 
+            # include <wctype.h>
110170
 
+            #endif
110171
 
+            wctype_t a;
110172
 
+          
110173
 
+int
110174
 
+main ()
110175
 
+{
110176
 
+
110177
 
+  ;
110178
 
+  return 0;
110179
 
+}
110180
 
+_ACEOF
110181
 
+if ac_fn_c_try_compile "$LINENO"; then :
110182
 
+  gl_cv_type_wctype_t=yes
110183
 
+else
110184
 
+  gl_cv_type_wctype_t=no
110185
 
+fi
110186
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110187
 
+    
110188
 
+fi
110189
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctype_t" >&5
110190
 
+$as_echo "$gl_cv_type_wctype_t" >&6; }
110191
 
+  if test $gl_cv_type_wctype_t = no; then
110192
 
+    HAVE_WCTYPE_T=0
110193
 
+  fi
110194
 
+
110195
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5
110196
 
+$as_echo_n "checking for wctrans_t... " >&6; }
110197
 
+if ${gl_cv_type_wctrans_t+:} false; then :
110198
 
+  $as_echo_n "(cached) " >&6
110199
 
+else
110200
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
110201
 
+/* end confdefs.h.  */
110202
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
110203
 
+               included before <wchar.h>.
110204
 
+               BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
110205
 
+               must be included before <wchar.h>.  */
110206
 
+            #include <stddef.h>
110207
 
+            #include <stdio.h>
110208
 
+            #include <time.h>
110209
 
+            #include <wchar.h>
110210
 
+            #include <wctype.h>
110211
 
+            wctrans_t a;
110212
 
+          
110213
 
+int
110214
 
+main ()
110215
 
+{
110216
 
+
110217
 
+  ;
110218
 
+  return 0;
110219
 
+}
110220
 
+_ACEOF
110221
 
+if ac_fn_c_try_compile "$LINENO"; then :
110222
 
+  gl_cv_type_wctrans_t=yes
110223
 
+else
110224
 
+  gl_cv_type_wctrans_t=no
110225
 
+fi
110226
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110227
 
+    
110228
 
+fi
110229
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctrans_t" >&5
110230
 
+$as_echo "$gl_cv_type_wctrans_t" >&6; }
110231
 
+  if test $gl_cv_type_wctrans_t = no; then
110232
 
+    HAVE_WCTRANS_T=0
110233
 
+  fi
110234
 
+
110235
 
+      
110236
 
+    for gl_func in wctype iswctype wctrans towctrans     ; do
110237
 
+    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
110238
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
110239
 
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
110240
 
+if eval \${$as_gl_Symbol+:} false; then :
110241
 
+  $as_echo_n "(cached) " >&6
110242
 
+else
110243
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
110244
 
+/* end confdefs.h.  */
110245
 
+
110246
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
110247
 
+   <wchar.h>.
110248
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
110249
 
+   included before <wchar.h>.  */
110250
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
110251
 
+# include <stddef.h>
110252
 
+# include <stdio.h>
110253
 
+# include <time.h>
110254
 
+# include <wchar.h>
110255
 
+#endif
110256
 
+#include <wctype.h>
110257
 
+    
110258
 
+int
110259
 
+main ()
110260
 
+{
110261
 
+@%:@undef $gl_func
110262
 
+  (void) $gl_func;
110263
 
+  ;
110264
 
+  return 0;
110265
 
+}
110266
 
+_ACEOF
110267
 
+if ac_fn_c_try_compile "$LINENO"; then :
110268
 
+  eval "$as_gl_Symbol=yes"
110269
 
+else
110270
 
+  eval "$as_gl_Symbol=no"
110271
 
+fi
110272
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110273
 
+fi
110274
 
+eval ac_res=\$$as_gl_Symbol
110275
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
110276
 
+$as_echo "$ac_res" >&6; }
110277
 
+    if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
110278
 
+  cat >>confdefs.h <<_ACEOF
110279
 
+@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
110280
 
+_ACEOF
110281
 
+
110282
 
+                     eval ac_cv_have_decl_$gl_func=yes
110283
 
+fi
110284
 
+      done
110285
 
+
110286
 
+
110287
 
+
110288
 
+  
110289
 
+   
110290
 
+    
110291
 
+
110292
 
+  
110293
 
+  
110294
 
+
110295
 
+  
110296
 
+  
110297
 
+
110298
 
+  ac_fn_c_check_decl "$LINENO" "wcwidth" "ac_cv_have_decl_wcwidth" "
110299
 
+/* AIX 3.2.5 declares wcwidth in <string.h>. */
110300
 
+#include <string.h>
110301
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
110302
 
+   <wchar.h>.
110303
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
110304
 
+   before <wchar.h>.  */
110305
 
+#include <stddef.h>
110306
 
+#include <stdio.h>
110307
 
+#include <time.h>
110308
 
+#include <wchar.h>
110309
 
+
110310
 
+"
110311
 
+if test "x$ac_cv_have_decl_wcwidth" = xyes; then :
110312
 
+  ac_have_decl=1
110313
 
+else
110314
 
+  ac_have_decl=0
110315
 
+fi
110316
 
+
110317
 
+cat >>confdefs.h <<_ACEOF
110318
 
+@%:@define HAVE_DECL_WCWIDTH $ac_have_decl
110319
 
+_ACEOF
110320
 
+
110321
 
+  if test $ac_cv_have_decl_wcwidth != yes; then
110322
 
+    HAVE_DECL_WCWIDTH=0
110323
 
+  fi
110324
 
+
110325
 
+  if test $ac_cv_func_wcwidth = yes; then
110326
 
+    HAVE_WCWIDTH=1
110327
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcwidth works reasonably in UTF-8 locales" >&5
110328
 
+$as_echo_n "checking whether wcwidth works reasonably in UTF-8 locales... " >&6; }
110329
 
+if ${gl_cv_func_wcwidth_works+:} false; then :
110330
 
+  $as_echo_n "(cached) " >&6
110331
 
+else
110332
 
+  
110333
 
+        if test "$cross_compiling" = yes; then :
110334
 
+  
110335
 
+           case "$host_os" in
110336
 
+                     # Guess yes on glibc and AIX 7 systems.
110337
 
+             *-gnu* | aix[7-9]*) gl_cv_func_wcwidth_works="guessing yes";;
110338
 
+             *)                  gl_cv_func_wcwidth_works="guessing no";;
110339
 
+           esac
110340
 
+          
110341
 
+else
110342
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
110343
 
+/* end confdefs.h.  */
110344
 
+
110345
 
+#include <locale.h>
110346
 
+/* AIX 3.2.5 declares wcwidth in <string.h>. */
110347
 
+#include <string.h>
110348
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
110349
 
+   <wchar.h>.
110350
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
110351
 
+   before <wchar.h>.  */
110352
 
+#include <stddef.h>
110353
 
+#include <stdio.h>
110354
 
+#include <time.h>
110355
 
+#include <wchar.h>
110356
 
+#if !HAVE_DECL_WCWIDTH
110357
 
+extern
110358
 
+# ifdef __cplusplus
110359
 
+"C"
110360
 
+# endif
110361
 
+int wcwidth (int);
110362
 
+#endif
110363
 
+int main ()
110364
 
+{
110365
 
+  int result = 0;
110366
 
+  if (setlocale (LC_ALL, "fr_FR.UTF-8") != NULL)
110367
 
+    {
110368
 
+      if (wcwidth (0x0301) > 0)
110369
 
+        result |= 1;
110370
 
+      if (wcwidth (0x200B) > 0)
110371
 
+        result |= 2;
110372
 
+    }
110373
 
+  return result;
110374
 
+}
110375
 
+_ACEOF
110376
 
+if ac_fn_c_try_run "$LINENO"; then :
110377
 
+  gl_cv_func_wcwidth_works=yes
110378
 
+else
110379
 
+  gl_cv_func_wcwidth_works=no
110380
 
+fi
110381
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
110382
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
110383
 
+fi
110384
 
+
110385
 
+      
110386
 
+fi
110387
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcwidth_works" >&5
110388
 
+$as_echo "$gl_cv_func_wcwidth_works" >&6; }
110389
 
+    case "$gl_cv_func_wcwidth_works" in
110390
 
+      *yes) ;;
110391
 
+      *no) REPLACE_WCWIDTH=1 ;;
110392
 
+    esac
110393
 
+  else
110394
 
+    HAVE_WCWIDTH=0
110395
 
+  fi
110396
 
+    
110397
 
+if test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1; then
110398
 
+  
110399
 
+  
110400
 
+  
110401
 
+    
110402
 
+      
110403
 
+      
110404
 
+    
110405
 
+  
110406
 
+  gl_LIBOBJS="$gl_LIBOBJS wcwidth.$ac_objext"
110407
 
+
110408
 
+fi
110409
 
+
110410
 
+    
110411
 
+  
110412
 
+  
110413
 
+  
110414
 
+          GNULIB_WCWIDTH=1
110415
 
+    
110416
 
+
110417
 
+
110418
 
+    
110419
 
+  
110420
 
+$as_echo "@%:@define GNULIB_TEST_WCWIDTH 1" >>confdefs.h
110421
 
+
110422
 
+
110423
 
+
110424
 
+
110425
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use of TIOCGWINSZ requires sys/ioctl.h" >&5
110426
 
+$as_echo_n "checking whether use of TIOCGWINSZ requires sys/ioctl.h... " >&6; }
110427
 
+if ${gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h+:} false; then :
110428
 
+  $as_echo_n "(cached) " >&6
110429
 
+else
110430
 
+  gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h=no
110431
 
+
110432
 
+  if test $gl_cv_sys_tiocgwinsz_needs_termios_h = no; then
110433
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
110434
 
+/* end confdefs.h.  */
110435
 
+#include <sys/types.h>
110436
 
+#     include <sys/ioctl.h>
110437
 
+#     ifdef TIOCGWINSZ
110438
 
+        yes
110439
 
+#     endif
110440
 
+    
110441
 
+_ACEOF
110442
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
110443
 
+  $EGREP "yes" >/dev/null 2>&1; then :
110444
 
+  gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h=yes
110445
 
+fi
110446
 
+rm -f conftest*
110447
 
+
110448
 
+  fi
110449
 
+  
110450
 
+fi
110451
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h" >&5
110452
 
+$as_echo "$gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h" >&6; }
110453
 
+  if test $gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h = yes; then
110454
 
+    
110455
 
+$as_echo "@%:@define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
110456
 
+
110457
 
+  fi
110458
 
+
110459
 
+
110460
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use of TIOCGWINSZ requires termios.h" >&5
110461
 
+$as_echo_n "checking whether use of TIOCGWINSZ requires termios.h... " >&6; }
110462
 
+if ${gl_cv_sys_tiocgwinsz_needs_termios_h+:} false; then :
110463
 
+  $as_echo_n "(cached) " >&6
110464
 
+else
110465
 
+  gl_cv_sys_tiocgwinsz_needs_termios_h=no
110466
 
+
110467
 
+   if test $ac_cv_sys_posix_termios = yes; then
110468
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
110469
 
+/* end confdefs.h.  */
110470
 
+#include <sys/types.h>
110471
 
+#      include <termios.h>
110472
 
+#      ifdef TIOCGWINSZ
110473
 
+         yes
110474
 
+#      endif
110475
 
+     
110476
 
+_ACEOF
110477
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
110478
 
+  $EGREP "yes" >/dev/null 2>&1; then :
110479
 
+  gl_cv_sys_tiocgwinsz_needs_termios_h=yes
110480
 
+fi
110481
 
+rm -f conftest*
110482
 
+
110483
 
+   fi
110484
 
+  
110485
 
+fi
110486
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_tiocgwinsz_needs_termios_h" >&5
110487
 
+$as_echo "$gl_cv_sys_tiocgwinsz_needs_termios_h" >&6; }
110488
 
+
110489
 
+
110490
 
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use of struct winsize requires sys/ptem.h" >&5
110491
 
+$as_echo_n "checking whether use of struct winsize requires sys/ptem.h... " >&6; }
110492
 
+if ${gl_cv_sys_struct_winsize_needs_sys_ptem_h+:} false; then :
110493
 
+  $as_echo_n "(cached) " >&6
110494
 
+else
110495
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=yes
110496
 
+      if test $ac_cv_sys_posix_termios = yes; then
110497
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
110498
 
+/* end confdefs.h.  */
110499
 
+#include <termios.h>
110500
 
+int
110501
 
+main ()
110502
 
+{
110503
 
+struct winsize x;
110504
 
+            if (sizeof x > 0) return 0;
110505
 
+  ;
110506
 
+  return 0;
110507
 
+}
110508
 
+_ACEOF
110509
 
+if ac_fn_c_try_compile "$LINENO"; then :
110510
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=no
110511
 
+fi
110512
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110513
 
+      fi
110514
 
+      if test $gl_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
110515
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
110516
 
+/* end confdefs.h.  */
110517
 
+#include <sys/ptem.h>
110518
 
+int
110519
 
+main ()
110520
 
+{
110521
 
+struct winsize x;
110522
 
+            if (sizeof x > 0) return 0;
110523
 
+  ;
110524
 
+  return 0;
110525
 
+}
110526
 
+_ACEOF
110527
 
+if ac_fn_c_try_compile "$LINENO"; then :
110528
 
+  
110529
 
+else
110530
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=no
110531
 
+fi
110532
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
110533
 
+      fi
110534
 
+fi
110535
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_winsize_needs_sys_ptem_h" >&5
110536
 
+$as_echo "$gl_cv_sys_struct_winsize_needs_sys_ptem_h" >&6; }
110537
 
+   if test $gl_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
110538
 
+     
110539
 
+$as_echo "@%:@define WINSIZE_IN_PTEM 1" >>confdefs.h
110540
 
+
110541
 
+   fi
110542
 
+
110543
 
+  
110544
 
+        
110545
 
+  
110546
 
+
110547
 
+if test $REPLACE_WRITE = 1; then
110548
 
+  
110549
 
+  
110550
 
+  
110551
 
+    
110552
 
+      
110553
 
+      
110554
 
+    
110555
 
+  
110556
 
+  gl_LIBOBJS="$gl_LIBOBJS write.$ac_objext"
110557
 
+
110558
 
+fi
110559
 
+
110560
 
+    
110561
 
+  
110562
 
+  
110563
 
+  
110564
 
+          GNULIB_WRITE=1
110565
 
+    
110566
 
+
110567
 
+
110568
 
+    
110569
 
+  
110570
 
+$as_echo "@%:@define GNULIB_TEST_WRITE 1" >>confdefs.h
110571
 
+
110572
 
+
110573
 
+
110574
 
+
110575
 
+  
110576
 
+
110577
 
+
110578
 
+  
110579
 
+  
110580
 
+  :
110581
 
+
110582
 
+  
110583
 
+  :
110584
 
+
110585
 
+
110586
 
+
110587
 
+  :
110588
 
+
110589
 
+
110590
 
+  
110591
 
+cat >>confdefs.h <<_ACEOF
110592
 
+@%:@define GNULIB_XGETGROUPS 1
110593
 
+_ACEOF
110594
 
+
110595
 
+
110596
 
+
110597
 
+  :
110598
 
+
110599
 
+
110600
 
+  
110601
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xprintf:1:c-format"
110602
 
+
110603
 
+   
110604
 
+  
110605
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xvprintf:1:c-format"
110606
 
+
110607
 
+   
110608
 
+  
110609
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xfprintf:2:c-format"
110610
 
+
110611
 
+   
110612
 
+  
110613
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xvfprintf:2:c-format"
110614
 
+
110615
 
+
110616
 
+    
110617
 
+  
110618
 
+  for ac_header in stdint.h
110619
 
+do :
110620
 
+  ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
110621
 
+if test "x$ac_cv_header_stdint_h" = xyes; then :
110622
 
+  cat >>confdefs.h <<_ACEOF
110623
 
+@%:@define HAVE_STDINT_H 1
110624
 
+_ACEOF
110625
 
110626
 
+fi
110627
 
+
110628
 
+done
110629
 
+
110630
 
+
110631
 
+
110632
 
+  
110633
 
+  :
110634
 
+
110635
 
+
110636
 
+
110637
 
+  :
110638
 
+
110639
 
+
110640
 
+  :
110641
 
+
110642
 
+
110643
 
+  :
110644
 
+
110645
 
+
110646
 
+    
110647
 
+
110648
 
+
110649
 
+  
110650
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xasprintf:1:c-format"
110651
 
+
110652
 
+
110653
 
+    :
110654
 
+
110655
 
+  # End of code from modules
110656
 
+  
110657
 
+          
110658
 
+  
110659
 
+  
110660
 
+  
110661
 
+  
110662
 
+  
110663
 
+  
110664
 
+  
110665
 
+  gltests_libdeps=
110666
 
+  gltests_ltlibdeps=
110667
 
+  
110668
 
+  
110669
 
+  
110670
 
+  
110671
 
+  
110672
 
+  
110673
 
+    
110674
 
+  
110675
 
+
110676
 
+  gl_source_base='gnulib-tests'
110677
 
+  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
110678
 
+  
110679
 
+  gl_module_indicator_condition=$gltests_WITNESS
110680
 
+  
110681
 
+
110682
 
+if test "$ac_cv_header_winsock2_h" = yes; then
110683
 
+  
110684
 
+  
110685
 
+  
110686
 
+    
110687
 
+      
110688
 
+      
110689
 
+    
110690
 
+  
110691
 
+  gltests_LIBOBJS="$gltests_LIBOBJS accept.$ac_objext"
110692
 
+
110693
 
+fi
110694
 
+
110695
 
+    
110696
 
+  
110697
 
+  
110698
 
+  
110699
 
+    if test "$GNULIB_ACCEPT" != 1; then
110700
 
+        if test "$GNULIB_ACCEPT" = 0; then
110701
 
+      GNULIB_ACCEPT=$gl_module_indicator_condition
110702
 
+    else
110703
 
+      GNULIB_ACCEPT="($GNULIB_ACCEPT || $gl_module_indicator_condition)"
110704
 
+    fi
110705
 
+  fi
110706
 
+
110707
 
+
110708
 
+
110709
 
+    
110710
 
+  
110711
 
+$as_echo "@%:@define GNULIB_TEST_ACCEPT 1" >>confdefs.h
110712
 
+
110713
 
+
110714
 
+
110715
 
+
110716
 
+
110717
 
+if test "$ac_cv_header_winsock2_h" = yes; then
110718
 
+  
110719
 
+  
110720
 
+  
110721
 
+    
110722
 
+      
110723
 
+      
110724
 
+    
110725
 
+  
110726
 
+  gltests_LIBOBJS="$gltests_LIBOBJS bind.$ac_objext"
110727
 
+
110728
 
+fi
110729
 
+
110730
 
+    
110731
 
+  
110732
 
+  
110733
 
+  
110734
 
+    if test "$GNULIB_BIND" != 1; then
110735
 
+        if test "$GNULIB_BIND" = 0; then
110736
 
+      GNULIB_BIND=$gl_module_indicator_condition
110737
 
+    else
110738
 
+      GNULIB_BIND="($GNULIB_BIND || $gl_module_indicator_condition)"
110739
 
+    fi
110740
 
+  fi
110741
 
+
110742
 
+
110743
 
+
110744
 
+    
110745
 
+  
110746
 
+$as_echo "@%:@define GNULIB_TEST_BIND 1" >>confdefs.h
110747
 
+
110748
 
+
110749
 
+
110750
 
+
110751
 
+  
110752
 
+  
110753
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
110754
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
110755
 
+if ${gt_cv_locale_fr+:} false; then :
110756
 
+  $as_echo_n "(cached) " >&6
110757
 
+else
110758
 
+  
110759
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
110760
 
+/* end confdefs.h.  */
110761
 
+
110762
 
+#include <locale.h>
110763
 
+#include <time.h>
110764
 
+#if HAVE_LANGINFO_CODESET
110765
 
+# include <langinfo.h>
110766
 
+#endif
110767
 
+#include <stdlib.h>
110768
 
+#include <string.h>
110769
 
+struct tm t;
110770
 
+char buf[16];
110771
 
+int main () {
110772
 
+  /* Check whether the given locale name is recognized by the system.  */
110773
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
110774
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
110775
 
+     not at the environment variables.  Also, when an encoding suffix such
110776
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
110777
 
+     category of the locale to "C".  */
110778
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
110779
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
110780
 
+    return 1;
110781
 
+#else
110782
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
110783
 
+#endif
110784
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
110785
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
110786
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
110787
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
110788
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
110789
 
+     some unit tests fail.
110790
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
110791
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
110792
 
+#if HAVE_LANGINFO_CODESET
110793
 
+  {
110794
 
+    const char *cs = nl_langinfo (CODESET);
110795
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
110796
 
+        || strcmp (cs, "UTF-8") == 0)
110797
 
+      return 1;
110798
 
+  }
110799
 
+#endif
110800
 
+#ifdef __CYGWIN__
110801
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
110802
 
+     locale_charset() function relies on the encoding suffix.  Note that
110803
 
+     LC_ALL is set on the command line.  */
110804
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
110805
 
+#endif
110806
 
+  /* Check whether in the abbreviation of the second month, the second
110807
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
110808
 
+     one byte long. This excludes the UTF-8 encoding.  */
110809
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
110810
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
110811
 
+  /* Check whether the decimal separator is a comma.
110812
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
110813
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
110814
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
110815
 
+  return 0;
110816
 
+}
110817
 
+      
110818
 
+_ACEOF
110819
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
110820
 
+  (eval $ac_link) 2>&5
110821
 
+  ac_status=$?
110822
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
110823
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
110824
 
+      case "$host_os" in
110825
 
+        # Handle native Windows specially, because there setlocale() interprets
110826
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
110827
 
+        # "fr" or "fra" as "French" or "French_France.1252",
110828
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
110829
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
110830
 
+        # and similar.
110831
 
+        mingw*)
110832
 
+          # Test for the native Win32 locale name.
110833
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
110834
 
+            gt_cv_locale_fr=French_France.1252
110835
 
+          else
110836
 
+            # None found.
110837
 
+            gt_cv_locale_fr=none
110838
 
+          fi
110839
 
+          ;;
110840
 
+        *)
110841
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
110842
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
110843
 
+          # configure script would override the LC_ALL setting. Likewise for
110844
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
110845
 
+          # Test for the usual locale name.
110846
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
110847
 
+            gt_cv_locale_fr=fr_FR
110848
 
+          else
110849
 
+            # Test for the locale name with explicit encoding suffix.
110850
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
110851
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
110852
 
+            else
110853
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
110854
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
110855
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
110856
 
+              else
110857
 
+                # Test for the HP-UX locale name.
110858
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
110859
 
+                  gt_cv_locale_fr=fr_FR.iso88591
110860
 
+                else
110861
 
+                  # Test for the Solaris 7 locale name.
110862
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
110863
 
+                    gt_cv_locale_fr=fr
110864
 
+                  else
110865
 
+                    # None found.
110866
 
+                    gt_cv_locale_fr=none
110867
 
+                  fi
110868
 
+                fi
110869
 
+              fi
110870
 
+            fi
110871
 
+          fi
110872
 
+          ;;
110873
 
+      esac
110874
 
+    fi
110875
 
+    rm -fr conftest*
110876
 
+  
110877
 
+fi
110878
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
110879
 
+$as_echo "$gt_cv_locale_fr" >&6; }
110880
 
+  LOCALE_FR=$gt_cv_locale_fr
110881
 
+  
110882
 
+
110883
 
+
110884
 
+  
110885
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
110886
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
110887
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
110888
 
+  $as_echo_n "(cached) " >&6
110889
 
+else
110890
 
+  
110891
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
110892
 
+/* end confdefs.h.  */
110893
 
+
110894
 
+#include <locale.h>
110895
 
+#include <time.h>
110896
 
+#if HAVE_LANGINFO_CODESET
110897
 
+# include <langinfo.h>
110898
 
+#endif
110899
 
+#include <stdlib.h>
110900
 
+#include <string.h>
110901
 
+struct tm t;
110902
 
+char buf[16];
110903
 
+int main () {
110904
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
110905
 
+     imitates locale dependent behaviour by looking at the environment
110906
 
+     variables, and all locales use the UTF-8 encoding.  */
110907
 
+#if !(defined __BEOS__ || defined __HAIKU__)
110908
 
+  /* Check whether the given locale name is recognized by the system.  */
110909
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
110910
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
110911
 
+     not at the environment variables.  Also, when an encoding suffix such
110912
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
110913
 
+     category of the locale to "C".  */
110914
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
110915
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
110916
 
+    return 1;
110917
 
+# else
110918
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
110919
 
+# endif
110920
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
110921
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
110922
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
110923
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
110924
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
110925
 
+     some unit tests fail.  */
110926
 
+# if HAVE_LANGINFO_CODESET
110927
 
+  {
110928
 
+    const char *cs = nl_langinfo (CODESET);
110929
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
110930
 
+      return 1;
110931
 
+  }
110932
 
+# endif
110933
 
+# ifdef __CYGWIN__
110934
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
110935
 
+     locale_charset() function relies on the encoding suffix.  Note that
110936
 
+     LC_ALL is set on the command line.  */
110937
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
110938
 
+# endif
110939
 
+  /* Check whether in the abbreviation of the second month, the second
110940
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
110941
 
+     two bytes long, with UTF-8 encoding.  */
110942
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
110943
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
110944
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
110945
 
+    return 1;
110946
 
+#endif
110947
 
+  /* Check whether the decimal separator is a comma.
110948
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
110949
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
110950
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
110951
 
+  return 0;
110952
 
+}
110953
 
+      
110954
 
+_ACEOF
110955
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
110956
 
+  (eval $ac_link) 2>&5
110957
 
+  ac_status=$?
110958
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
110959
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
110960
 
+      case "$host_os" in
110961
 
+        # Handle native Windows specially, because there setlocale() interprets
110962
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
110963
 
+        # "fr" or "fra" as "French" or "French_France.1252",
110964
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
110965
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
110966
 
+        # and similar.
110967
 
+        mingw*)
110968
 
+          # Test for the hypothetical native Win32 locale name.
110969
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
110970
 
+            gt_cv_locale_fr_utf8=French_France.65001
110971
 
+          else
110972
 
+            # None found.
110973
 
+            gt_cv_locale_fr_utf8=none
110974
 
+          fi
110975
 
+          ;;
110976
 
+        *)
110977
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
110978
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
110979
 
+          # configure script would override the LC_ALL setting. Likewise for
110980
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
110981
 
+          # Test for the usual locale name.
110982
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
110983
 
+            gt_cv_locale_fr_utf8=fr_FR
110984
 
+          else
110985
 
+            # Test for the locale name with explicit encoding suffix.
110986
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
110987
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
110988
 
+            else
110989
 
+              # Test for the Solaris 7 locale name.
110990
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
110991
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
110992
 
+              else
110993
 
+                # None found.
110994
 
+                gt_cv_locale_fr_utf8=none
110995
 
+              fi
110996
 
+            fi
110997
 
+          fi
110998
 
+          ;;
110999
 
+      esac
111000
 
+    fi
111001
 
+    rm -fr conftest*
111002
 
+  
111003
 
+fi
111004
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
111005
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
111006
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
111007
 
+  
111008
 
+
111009
 
+
111010
 
+  
111011
 
+  
111012
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
111013
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
111014
 
+if ${gt_cv_locale_fr+:} false; then :
111015
 
+  $as_echo_n "(cached) " >&6
111016
 
+else
111017
 
+  
111018
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111019
 
+/* end confdefs.h.  */
111020
 
+
111021
 
+#include <locale.h>
111022
 
+#include <time.h>
111023
 
+#if HAVE_LANGINFO_CODESET
111024
 
+# include <langinfo.h>
111025
 
+#endif
111026
 
+#include <stdlib.h>
111027
 
+#include <string.h>
111028
 
+struct tm t;
111029
 
+char buf[16];
111030
 
+int main () {
111031
 
+  /* Check whether the given locale name is recognized by the system.  */
111032
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
111033
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
111034
 
+     not at the environment variables.  Also, when an encoding suffix such
111035
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
111036
 
+     category of the locale to "C".  */
111037
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
111038
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
111039
 
+    return 1;
111040
 
+#else
111041
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
111042
 
+#endif
111043
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
111044
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
111045
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
111046
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
111047
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
111048
 
+     some unit tests fail.
111049
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
111050
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
111051
 
+#if HAVE_LANGINFO_CODESET
111052
 
+  {
111053
 
+    const char *cs = nl_langinfo (CODESET);
111054
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
111055
 
+        || strcmp (cs, "UTF-8") == 0)
111056
 
+      return 1;
111057
 
+  }
111058
 
+#endif
111059
 
+#ifdef __CYGWIN__
111060
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
111061
 
+     locale_charset() function relies on the encoding suffix.  Note that
111062
 
+     LC_ALL is set on the command line.  */
111063
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
111064
 
+#endif
111065
 
+  /* Check whether in the abbreviation of the second month, the second
111066
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
111067
 
+     one byte long. This excludes the UTF-8 encoding.  */
111068
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
111069
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
111070
 
+  /* Check whether the decimal separator is a comma.
111071
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
111072
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
111073
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
111074
 
+  return 0;
111075
 
+}
111076
 
+      
111077
 
+_ACEOF
111078
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
111079
 
+  (eval $ac_link) 2>&5
111080
 
+  ac_status=$?
111081
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
111082
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
111083
 
+      case "$host_os" in
111084
 
+        # Handle native Windows specially, because there setlocale() interprets
111085
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
111086
 
+        # "fr" or "fra" as "French" or "French_France.1252",
111087
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
111088
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
111089
 
+        # and similar.
111090
 
+        mingw*)
111091
 
+          # Test for the native Win32 locale name.
111092
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
111093
 
+            gt_cv_locale_fr=French_France.1252
111094
 
+          else
111095
 
+            # None found.
111096
 
+            gt_cv_locale_fr=none
111097
 
+          fi
111098
 
+          ;;
111099
 
+        *)
111100
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
111101
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
111102
 
+          # configure script would override the LC_ALL setting. Likewise for
111103
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
111104
 
+          # Test for the usual locale name.
111105
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
111106
 
+            gt_cv_locale_fr=fr_FR
111107
 
+          else
111108
 
+            # Test for the locale name with explicit encoding suffix.
111109
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
111110
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
111111
 
+            else
111112
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
111113
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
111114
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
111115
 
+              else
111116
 
+                # Test for the HP-UX locale name.
111117
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
111118
 
+                  gt_cv_locale_fr=fr_FR.iso88591
111119
 
+                else
111120
 
+                  # Test for the Solaris 7 locale name.
111121
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
111122
 
+                    gt_cv_locale_fr=fr
111123
 
+                  else
111124
 
+                    # None found.
111125
 
+                    gt_cv_locale_fr=none
111126
 
+                  fi
111127
 
+                fi
111128
 
+              fi
111129
 
+            fi
111130
 
+          fi
111131
 
+          ;;
111132
 
+      esac
111133
 
+    fi
111134
 
+    rm -fr conftest*
111135
 
+  
111136
 
+fi
111137
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
111138
 
+$as_echo "$gt_cv_locale_fr" >&6; }
111139
 
+  LOCALE_FR=$gt_cv_locale_fr
111140
 
+  
111141
 
+
111142
 
+
111143
 
+  
111144
 
+  
111145
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a turkish Unicode locale" >&5
111146
 
+$as_echo_n "checking for a turkish Unicode locale... " >&6; }
111147
 
+if ${gt_cv_locale_tr_utf8+:} false; then :
111148
 
+  $as_echo_n "(cached) " >&6
111149
 
+else
111150
 
+  
111151
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111152
 
+/* end confdefs.h.  */
111153
 
+
111154
 
+#include <locale.h>
111155
 
+#include <time.h>
111156
 
+#if HAVE_LANGINFO_CODESET
111157
 
+# include <langinfo.h>
111158
 
+#endif
111159
 
+#include <stdlib.h>
111160
 
+#include <string.h>
111161
 
+struct tm t;
111162
 
+char buf[16];
111163
 
+int main () {
111164
 
+  /* On BeOS, locales are not implemented in libc.  Rather, libintl
111165
 
+     imitates locale dependent behaviour by looking at the environment
111166
 
+     variables, and all locales use the UTF-8 encoding.  But BeOS does not
111167
 
+     implement the Turkish upper-/lowercase mappings.  Therefore, let this
111168
 
+     program return 1 on BeOS.  */
111169
 
+  /* Check whether the given locale name is recognized by the system.  */
111170
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
111171
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
111172
 
+     not at the environment variables.  Also, when an encoding suffix such
111173
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
111174
 
+     category of the locale to "C".  */
111175
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
111176
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
111177
 
+    return 1;
111178
 
+#else
111179
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
111180
 
+#endif
111181
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
111182
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET)
111183
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
111184
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
111185
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
111186
 
+     some unit tests fail.  */
111187
 
+#if HAVE_LANGINFO_CODESET
111188
 
+  {
111189
 
+    const char *cs = nl_langinfo (CODESET);
111190
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
111191
 
+      return 1;
111192
 
+  }
111193
 
+#endif
111194
 
+#ifdef __CYGWIN__
111195
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
111196
 
+     locale_charset() function relies on the encoding suffix.  Note that
111197
 
+     LC_ALL is set on the command line.  */
111198
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
111199
 
+#endif
111200
 
+  /* Check whether in the abbreviation of the eighth month, the second
111201
 
+     character (should be U+011F: LATIN SMALL LETTER G WITH BREVE) is
111202
 
+     two bytes long, with UTF-8 encoding.  */
111203
 
+  t.tm_year = 1992 - 1900; t.tm_mon = 8 - 1; t.tm_mday = 19;
111204
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
111205
 
+      || buf[1] != (char) 0xc4 || buf[2] != (char) 0x9f)
111206
 
+    return 1;
111207
 
+  /* Check whether the upper-/lowercase mappings are as expected for
111208
 
+     Turkish.  */
111209
 
+  if (towupper ('i') != 0x0130 || towlower (0x0130) != 'i'
111210
 
+      || towupper(0x0131) != 'I' || towlower ('I') != 0x0131)
111211
 
+    return 1;
111212
 
+  return 0;
111213
 
+}
111214
 
+      
111215
 
+_ACEOF
111216
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
111217
 
+  (eval $ac_link) 2>&5
111218
 
+  ac_status=$?
111219
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
111220
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
111221
 
+      case "$host_os" in
111222
 
+        # Handle native Windows specially, because there setlocale() interprets
111223
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
111224
 
+        # "fr" or "fra" as "French" or "French_France.1252",
111225
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
111226
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
111227
 
+        # and similar.
111228
 
+        mingw*)
111229
 
+          # Test for the hypothetical native Win32 locale name.
111230
 
+          if (LC_ALL=Turkish_Turkey.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
111231
 
+            gt_cv_locale_tr_utf8=Turkish_Turkey.65001
111232
 
+          else
111233
 
+            # None found.
111234
 
+            gt_cv_locale_tr_utf8=none
111235
 
+          fi
111236
 
+          ;;
111237
 
+        *)
111238
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
111239
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
111240
 
+          # configure script would override the LC_ALL setting. Likewise for
111241
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
111242
 
+          # Test for the usual locale name.
111243
 
+          if (LC_ALL=tr_TR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
111244
 
+            gt_cv_locale_tr_utf8=tr_TR
111245
 
+          else
111246
 
+            # Test for the locale name with explicit encoding suffix.
111247
 
+            if (LC_ALL=tr_TR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
111248
 
+              gt_cv_locale_tr_utf8=tr_TR.UTF-8
111249
 
+            else
111250
 
+              # Test for the Solaris 7 locale name.
111251
 
+              if (LC_ALL=tr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
111252
 
+                gt_cv_locale_tr_utf8=tr.UTF-8
111253
 
+              else
111254
 
+                # None found.
111255
 
+                gt_cv_locale_tr_utf8=none
111256
 
+              fi
111257
 
+            fi
111258
 
+          fi
111259
 
+          ;;
111260
 
+      esac
111261
 
+    else
111262
 
+      gt_cv_locale_tr_utf8=none
111263
 
+    fi
111264
 
+    rm -fr conftest*
111265
 
+  
111266
 
+fi
111267
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_tr_utf8" >&5
111268
 
+$as_echo "$gt_cv_locale_tr_utf8" >&6; }
111269
 
+  LOCALE_TR_UTF8=$gt_cv_locale_tr_utf8
111270
 
+  
111271
 
+
111272
 
+
111273
 
+
111274
 
+if test "$ac_cv_header_winsock2_h" = yes; then
111275
 
+  
111276
 
+  
111277
 
+  
111278
 
+    
111279
 
+      
111280
 
+      
111281
 
+    
111282
 
+  
111283
 
+  gltests_LIBOBJS="$gltests_LIBOBJS connect.$ac_objext"
111284
 
+
111285
 
+fi
111286
 
+
111287
 
+    
111288
 
+  
111289
 
+  
111290
 
+  
111291
 
+    if test "$GNULIB_CONNECT" != 1; then
111292
 
+        if test "$GNULIB_CONNECT" = 0; then
111293
 
+      GNULIB_CONNECT=$gl_module_indicator_condition
111294
 
+    else
111295
 
+      GNULIB_CONNECT="($GNULIB_CONNECT || $gl_module_indicator_condition)"
111296
 
+    fi
111297
 
+  fi
111298
 
+
111299
 
+
111300
 
+
111301
 
+    
111302
 
+  
111303
 
+$as_echo "@%:@define GNULIB_TEST_CONNECT 1" >>confdefs.h
111304
 
+
111305
 
+
111306
 
+
111307
 
+
111308
 
+
111309
 
+
111310
 
+
111311
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
111312
 
+$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
111313
 
+if ${ac_cv_c_bigendian+:} false; then :
111314
 
+  $as_echo_n "(cached) " >&6
111315
 
+else
111316
 
+  ac_cv_c_bigendian=unknown
111317
 
+    # See if we're dealing with a universal compiler.
111318
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111319
 
+/* end confdefs.h.  */
111320
 
+#ifndef __APPLE_CC__
111321
 
+              not a universal capable compiler
111322
 
+            #endif
111323
 
+            typedef int dummy;
111324
 
+           
111325
 
+_ACEOF
111326
 
+if ac_fn_c_try_compile "$LINENO"; then :
111327
 
+  
111328
 
+       # Check for potential -arch flags.  It is not universal unless
111329
 
+       # there are at least two -arch flags with different values.
111330
 
+       ac_arch=
111331
 
+       ac_prev=
111332
 
+       for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
111333
 
+        if test -n "$ac_prev"; then
111334
 
+          case $ac_word in
111335
 
+            i?86 | x86_64 | ppc | ppc64)
111336
 
+              if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
111337
 
+                ac_arch=$ac_word
111338
 
+              else
111339
 
+                ac_cv_c_bigendian=universal
111340
 
+                break
111341
 
+              fi
111342
 
+              ;;
111343
 
+          esac
111344
 
+          ac_prev=
111345
 
+        elif test "x$ac_word" = "x-arch"; then
111346
 
+          ac_prev=arch
111347
 
+        fi
111348
 
+       done
111349
 
+fi
111350
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
111351
 
+    if test $ac_cv_c_bigendian = unknown; then
111352
 
+      # See if sys/param.h defines the BYTE_ORDER macro.
111353
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111354
 
+/* end confdefs.h.  */
111355
 
+#include <sys/types.h>
111356
 
+            #include <sys/param.h>
111357
 
+          
111358
 
+int
111359
 
+main ()
111360
 
+{
111361
 
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
111362
 
+                    && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
111363
 
+                    && LITTLE_ENDIAN)
111364
 
+             bogus endian macros
111365
 
+            #endif
111366
 
+          
111367
 
+  ;
111368
 
+  return 0;
111369
 
+}
111370
 
+_ACEOF
111371
 
+if ac_fn_c_try_compile "$LINENO"; then :
111372
 
+  # It does; now see whether it defined to BIG_ENDIAN or not.
111373
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111374
 
+/* end confdefs.h.  */
111375
 
+#include <sys/types.h>
111376
 
+               #include <sys/param.h>
111377
 
+             
111378
 
+int
111379
 
+main ()
111380
 
+{
111381
 
+#if BYTE_ORDER != BIG_ENDIAN
111382
 
+                not big endian
111383
 
+               #endif
111384
 
+             
111385
 
+  ;
111386
 
+  return 0;
111387
 
+}
111388
 
+_ACEOF
111389
 
+if ac_fn_c_try_compile "$LINENO"; then :
111390
 
+  ac_cv_c_bigendian=yes
111391
 
+else
111392
 
+  ac_cv_c_bigendian=no
111393
 
+fi
111394
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
111395
 
+fi
111396
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
111397
 
+    fi
111398
 
+    if test $ac_cv_c_bigendian = unknown; then
111399
 
+      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
111400
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111401
 
+/* end confdefs.h.  */
111402
 
+#include <limits.h>
111403
 
+          
111404
 
+int
111405
 
+main ()
111406
 
+{
111407
 
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
111408
 
+             bogus endian macros
111409
 
+            #endif
111410
 
+          
111411
 
+  ;
111412
 
+  return 0;
111413
 
+}
111414
 
+_ACEOF
111415
 
+if ac_fn_c_try_compile "$LINENO"; then :
111416
 
+  # It does; now see whether it defined to _BIG_ENDIAN or not.
111417
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111418
 
+/* end confdefs.h.  */
111419
 
+#include <limits.h>
111420
 
+             
111421
 
+int
111422
 
+main ()
111423
 
+{
111424
 
+#ifndef _BIG_ENDIAN
111425
 
+                not big endian
111426
 
+               #endif
111427
 
+             
111428
 
+  ;
111429
 
+  return 0;
111430
 
+}
111431
 
+_ACEOF
111432
 
+if ac_fn_c_try_compile "$LINENO"; then :
111433
 
+  ac_cv_c_bigendian=yes
111434
 
+else
111435
 
+  ac_cv_c_bigendian=no
111436
 
+fi
111437
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
111438
 
+fi
111439
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
111440
 
+    fi
111441
 
+    if test $ac_cv_c_bigendian = unknown; then
111442
 
+      # Compile a test program.
111443
 
+      if test "$cross_compiling" = yes; then :
111444
 
+  # Try to guess by grepping values from an object file.
111445
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111446
 
+/* end confdefs.h.  */
111447
 
+short int ascii_mm[] =
111448
 
+                 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
111449
 
+               short int ascii_ii[] =
111450
 
+                 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
111451
 
+               int use_ascii (int i) {
111452
 
+                 return ascii_mm[i] + ascii_ii[i];
111453
 
+               }
111454
 
+               short int ebcdic_ii[] =
111455
 
+                 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
111456
 
+               short int ebcdic_mm[] =
111457
 
+                 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
111458
 
+               int use_ebcdic (int i) {
111459
 
+                 return ebcdic_mm[i] + ebcdic_ii[i];
111460
 
+               }
111461
 
+               extern int foo;
111462
 
+             
111463
 
+int
111464
 
+main ()
111465
 
+{
111466
 
+return use_ascii (foo) == use_ebcdic (foo);
111467
 
+  ;
111468
 
+  return 0;
111469
 
+}
111470
 
+_ACEOF
111471
 
+if ac_fn_c_try_compile "$LINENO"; then :
111472
 
+  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
111473
 
+             ac_cv_c_bigendian=yes
111474
 
+           fi
111475
 
+           if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
111476
 
+             if test "$ac_cv_c_bigendian" = unknown; then
111477
 
+               ac_cv_c_bigendian=no
111478
 
+             else
111479
 
+               # finding both strings is unlikely to happen, but who knows?
111480
 
+               ac_cv_c_bigendian=unknown
111481
 
+             fi
111482
 
+           fi
111483
 
+fi
111484
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
111485
 
+else
111486
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111487
 
+/* end confdefs.h.  */
111488
 
+$ac_includes_default
111489
 
+int
111490
 
+main ()
111491
 
+{
111492
 
+
111493
 
+            /* Are we little or big endian?  From Harbison&Steele.  */
111494
 
+            union
111495
 
+            {
111496
 
+              long int l;
111497
 
+              char c[sizeof (long int)];
111498
 
+            } u;
111499
 
+            u.l = 1;
111500
 
+            return u.c[sizeof (long int) - 1] == 1;
111501
 
+          
111502
 
+  ;
111503
 
+  return 0;
111504
 
+}
111505
 
+_ACEOF
111506
 
+if ac_fn_c_try_run "$LINENO"; then :
111507
 
+  ac_cv_c_bigendian=no
111508
 
+else
111509
 
+  ac_cv_c_bigendian=yes
111510
 
+fi
111511
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
111512
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
111513
 
+fi
111514
 
+
111515
 
+    fi
111516
 
+fi
111517
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
111518
 
+$as_echo "$ac_cv_c_bigendian" >&6; }
111519
 
+ case $ac_cv_c_bigendian in #(
111520
 
+   yes)
111521
 
+     $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
111522
 
+;; #(
111523
 
+   no)
111524
 
+      ;; #(
111525
 
+   universal)
111526
 
+       
111527
 
+$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
111528
 
+
111529
 
+     ;; #(
111530
 
+   *)
111531
 
+     as_fn_error $? "unknown endianness
111532
 
+ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
111533
 
+ esac
111534
 
+
111535
 
+
111536
 
+    
111537
 
+
111538
 
+      HAVE_INET_PTON=1
111539
 
+  gl_save_LIBS=$LIBS
111540
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
111541
 
+$as_echo_n "checking for library containing inet_pton... " >&6; }
111542
 
+if ${ac_cv_search_inet_pton+:} false; then :
111543
 
+  $as_echo_n "(cached) " >&6
111544
 
+else
111545
 
+  ac_func_search_save_LIBS=$LIBS
111546
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111547
 
+/* end confdefs.h.  */
111548
 
+
111549
 
+/* Override any GCC internal prototype to avoid an error.
111550
 
+   Use char because int might match the return type of a GCC
111551
 
+   builtin and then its argument prototype would still apply.  */
111552
 
+#ifdef __cplusplus
111553
 
+extern "C"
111554
 
+#endif
111555
 
+char inet_pton ();
111556
 
+int
111557
 
+main ()
111558
 
+{
111559
 
+return inet_pton ();
111560
 
+  ;
111561
 
+  return 0;
111562
 
+}
111563
 
+_ACEOF
111564
 
+for ac_lib in '' nsl; do
111565
 
+  if test -z "$ac_lib"; then
111566
 
+    ac_res="none required"
111567
 
+  else
111568
 
+    ac_res=-l$ac_lib
111569
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
111570
 
+  fi
111571
 
+  if ac_fn_c_try_link "$LINENO"; then :
111572
 
+  ac_cv_search_inet_pton=$ac_res
111573
 
+fi
111574
 
+rm -f core conftest.err conftest.$ac_objext \
111575
 
+    conftest$ac_exeext
111576
 
+  if ${ac_cv_search_inet_pton+:} false; then :
111577
 
+  break
111578
 
+fi
111579
 
+done
111580
 
+if ${ac_cv_search_inet_pton+:} false; then :
111581
 
+  
111582
 
+else
111583
 
+  ac_cv_search_inet_pton=no
111584
 
+fi
111585
 
+rm conftest.$ac_ext
111586
 
+LIBS=$ac_func_search_save_LIBS
111587
 
+fi
111588
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
111589
 
+$as_echo "$ac_cv_search_inet_pton" >&6; }
111590
 
+ac_res=$ac_cv_search_inet_pton
111591
 
+if test "$ac_res" != no; then :
111592
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
111593
 
+  
111594
 
+else
111595
 
+  for ac_func in inet_pton
111596
 
+do :
111597
 
+  ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton"
111598
 
+if test "x$ac_cv_func_inet_pton" = xyes; then :
111599
 
+  cat >>confdefs.h <<_ACEOF
111600
 
+@%:@define HAVE_INET_PTON 1
111601
 
+_ACEOF
111602
 
111603
 
+fi
111604
 
+done
111605
 
+
111606
 
+     if test $ac_cv_func_inet_pton = no; then
111607
 
+       HAVE_INET_PTON=0
111608
 
+     fi
111609
 
+    
111610
 
+fi
111611
 
+
111612
 
+  LIBS=$gl_save_LIBS
111613
 
+
111614
 
+  INET_PTON_LIB=
111615
 
+  if test "$ac_cv_search_inet_pton" != "no" &&
111616
 
+     test "$ac_cv_search_inet_pton" != "none required"; then
111617
 
+    INET_PTON_LIB="$ac_cv_search_inet_pton"
111618
 
+  fi
111619
 
+  
111620
 
+
111621
 
+  
111622
 
+  ac_fn_c_check_decl "$LINENO" "inet_pton" "ac_cv_have_decl_inet_pton" "#include <arpa/inet.h>
111623
 
+     #if HAVE_NETDB_H
111624
 
+     # include <netdb.h>
111625
 
+     #endif
111626
 
+    
111627
 
+"
111628
 
+if test "x$ac_cv_have_decl_inet_pton" = xyes; then :
111629
 
+  ac_have_decl=1
111630
 
+else
111631
 
+  ac_have_decl=0
111632
 
+fi
111633
 
+
111634
 
+cat >>confdefs.h <<_ACEOF
111635
 
+@%:@define HAVE_DECL_INET_PTON $ac_have_decl
111636
 
+_ACEOF
111637
 
+
111638
 
+  if test $ac_cv_have_decl_inet_pton = no; then
111639
 
+    HAVE_DECL_INET_PTON=0
111640
 
+    
111641
 
+  fi
111642
 
+
111643
 
+if test $HAVE_INET_PTON = 0; then
111644
 
+  
111645
 
+  
111646
 
+  
111647
 
+    
111648
 
+      
111649
 
+      
111650
 
+    
111651
 
+  
111652
 
+  gltests_LIBOBJS="$gltests_LIBOBJS inet_pton.$ac_objext"
111653
 
+
111654
 
+  
111655
 
+  
111656
 
+
111657
 
+fi
111658
 
+
111659
 
+    
111660
 
+  
111661
 
+  
111662
 
+  
111663
 
+    if test "$GNULIB_INET_PTON" != 1; then
111664
 
+        if test "$GNULIB_INET_PTON" = 0; then
111665
 
+      GNULIB_INET_PTON=$gl_module_indicator_condition
111666
 
+    else
111667
 
+      GNULIB_INET_PTON="($GNULIB_INET_PTON || $gl_module_indicator_condition)"
111668
 
+    fi
111669
 
+  fi
111670
 
+
111671
 
+
111672
 
+
111673
 
+
111674
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
111675
 
+$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
111676
 
+if ${ac_cv_c_bigendian+:} false; then :
111677
 
+  $as_echo_n "(cached) " >&6
111678
 
+else
111679
 
+  ac_cv_c_bigendian=unknown
111680
 
+    # See if we're dealing with a universal compiler.
111681
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111682
 
+/* end confdefs.h.  */
111683
 
+#ifndef __APPLE_CC__
111684
 
+              not a universal capable compiler
111685
 
+            #endif
111686
 
+            typedef int dummy;
111687
 
+           
111688
 
+_ACEOF
111689
 
+if ac_fn_c_try_compile "$LINENO"; then :
111690
 
+  
111691
 
+       # Check for potential -arch flags.  It is not universal unless
111692
 
+       # there are at least two -arch flags with different values.
111693
 
+       ac_arch=
111694
 
+       ac_prev=
111695
 
+       for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
111696
 
+        if test -n "$ac_prev"; then
111697
 
+          case $ac_word in
111698
 
+            i?86 | x86_64 | ppc | ppc64)
111699
 
+              if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
111700
 
+                ac_arch=$ac_word
111701
 
+              else
111702
 
+                ac_cv_c_bigendian=universal
111703
 
+                break
111704
 
+              fi
111705
 
+              ;;
111706
 
+          esac
111707
 
+          ac_prev=
111708
 
+        elif test "x$ac_word" = "x-arch"; then
111709
 
+          ac_prev=arch
111710
 
+        fi
111711
 
+       done
111712
 
+fi
111713
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
111714
 
+    if test $ac_cv_c_bigendian = unknown; then
111715
 
+      # See if sys/param.h defines the BYTE_ORDER macro.
111716
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111717
 
+/* end confdefs.h.  */
111718
 
+#include <sys/types.h>
111719
 
+            #include <sys/param.h>
111720
 
+          
111721
 
+int
111722
 
+main ()
111723
 
+{
111724
 
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
111725
 
+                    && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
111726
 
+                    && LITTLE_ENDIAN)
111727
 
+             bogus endian macros
111728
 
+            #endif
111729
 
+          
111730
 
+  ;
111731
 
+  return 0;
111732
 
+}
111733
 
+_ACEOF
111734
 
+if ac_fn_c_try_compile "$LINENO"; then :
111735
 
+  # It does; now see whether it defined to BIG_ENDIAN or not.
111736
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111737
 
+/* end confdefs.h.  */
111738
 
+#include <sys/types.h>
111739
 
+               #include <sys/param.h>
111740
 
+             
111741
 
+int
111742
 
+main ()
111743
 
+{
111744
 
+#if BYTE_ORDER != BIG_ENDIAN
111745
 
+                not big endian
111746
 
+               #endif
111747
 
+             
111748
 
+  ;
111749
 
+  return 0;
111750
 
+}
111751
 
+_ACEOF
111752
 
+if ac_fn_c_try_compile "$LINENO"; then :
111753
 
+  ac_cv_c_bigendian=yes
111754
 
+else
111755
 
+  ac_cv_c_bigendian=no
111756
 
+fi
111757
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
111758
 
+fi
111759
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
111760
 
+    fi
111761
 
+    if test $ac_cv_c_bigendian = unknown; then
111762
 
+      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
111763
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111764
 
+/* end confdefs.h.  */
111765
 
+#include <limits.h>
111766
 
+          
111767
 
+int
111768
 
+main ()
111769
 
+{
111770
 
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
111771
 
+             bogus endian macros
111772
 
+            #endif
111773
 
+          
111774
 
+  ;
111775
 
+  return 0;
111776
 
+}
111777
 
+_ACEOF
111778
 
+if ac_fn_c_try_compile "$LINENO"; then :
111779
 
+  # It does; now see whether it defined to _BIG_ENDIAN or not.
111780
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111781
 
+/* end confdefs.h.  */
111782
 
+#include <limits.h>
111783
 
+             
111784
 
+int
111785
 
+main ()
111786
 
+{
111787
 
+#ifndef _BIG_ENDIAN
111788
 
+                not big endian
111789
 
+               #endif
111790
 
+             
111791
 
+  ;
111792
 
+  return 0;
111793
 
+}
111794
 
+_ACEOF
111795
 
+if ac_fn_c_try_compile "$LINENO"; then :
111796
 
+  ac_cv_c_bigendian=yes
111797
 
+else
111798
 
+  ac_cv_c_bigendian=no
111799
 
+fi
111800
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
111801
 
+fi
111802
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
111803
 
+    fi
111804
 
+    if test $ac_cv_c_bigendian = unknown; then
111805
 
+      # Compile a test program.
111806
 
+      if test "$cross_compiling" = yes; then :
111807
 
+  # Try to guess by grepping values from an object file.
111808
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111809
 
+/* end confdefs.h.  */
111810
 
+short int ascii_mm[] =
111811
 
+                 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
111812
 
+               short int ascii_ii[] =
111813
 
+                 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
111814
 
+               int use_ascii (int i) {
111815
 
+                 return ascii_mm[i] + ascii_ii[i];
111816
 
+               }
111817
 
+               short int ebcdic_ii[] =
111818
 
+                 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
111819
 
+               short int ebcdic_mm[] =
111820
 
+                 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
111821
 
+               int use_ebcdic (int i) {
111822
 
+                 return ebcdic_mm[i] + ebcdic_ii[i];
111823
 
+               }
111824
 
+               extern int foo;
111825
 
+             
111826
 
+int
111827
 
+main ()
111828
 
+{
111829
 
+return use_ascii (foo) == use_ebcdic (foo);
111830
 
+  ;
111831
 
+  return 0;
111832
 
+}
111833
 
+_ACEOF
111834
 
+if ac_fn_c_try_compile "$LINENO"; then :
111835
 
+  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
111836
 
+             ac_cv_c_bigendian=yes
111837
 
+           fi
111838
 
+           if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
111839
 
+             if test "$ac_cv_c_bigendian" = unknown; then
111840
 
+               ac_cv_c_bigendian=no
111841
 
+             else
111842
 
+               # finding both strings is unlikely to happen, but who knows?
111843
 
+               ac_cv_c_bigendian=unknown
111844
 
+             fi
111845
 
+           fi
111846
 
+fi
111847
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
111848
 
+else
111849
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111850
 
+/* end confdefs.h.  */
111851
 
+$ac_includes_default
111852
 
+int
111853
 
+main ()
111854
 
+{
111855
 
+
111856
 
+            /* Are we little or big endian?  From Harbison&Steele.  */
111857
 
+            union
111858
 
+            {
111859
 
+              long int l;
111860
 
+              char c[sizeof (long int)];
111861
 
+            } u;
111862
 
+            u.l = 1;
111863
 
+            return u.c[sizeof (long int) - 1] == 1;
111864
 
+          
111865
 
+  ;
111866
 
+  return 0;
111867
 
+}
111868
 
+_ACEOF
111869
 
+if ac_fn_c_try_run "$LINENO"; then :
111870
 
+  ac_cv_c_bigendian=no
111871
 
+else
111872
 
+  ac_cv_c_bigendian=yes
111873
 
+fi
111874
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
111875
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
111876
 
+fi
111877
 
+
111878
 
+    fi
111879
 
+fi
111880
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
111881
 
+$as_echo "$ac_cv_c_bigendian" >&6; }
111882
 
+ case $ac_cv_c_bigendian in #(
111883
 
+   yes)
111884
 
+     $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
111885
 
+;; #(
111886
 
+   no)
111887
 
+      ;; #(
111888
 
+   universal)
111889
 
+       
111890
 
+$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
111891
 
+
111892
 
+     ;; #(
111893
 
+   *)
111894
 
+     as_fn_error $? "unknown endianness
111895
 
+ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
111896
 
+ esac
111897
 
+
111898
 
+
111899
 
+  
111900
 
+  
111901
 
+  HAVE_IOCTL=1
111902
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
111903
 
+                HAVE_IOCTL=0
111904
 
+  else
111905
 
+    for ac_func in ioctl
111906
 
+do :
111907
 
+  ac_fn_c_check_func "$LINENO" "ioctl" "ac_cv_func_ioctl"
111908
 
+if test "x$ac_cv_func_ioctl" = xyes; then :
111909
 
+  cat >>confdefs.h <<_ACEOF
111910
 
+@%:@define HAVE_IOCTL 1
111911
 
+_ACEOF
111912
 
111913
 
+fi
111914
 
+done
111915
 
+
111916
 
+                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioctl with POSIX signature" >&5
111917
 
+$as_echo_n "checking for ioctl with POSIX signature... " >&6; }
111918
 
+if ${gl_cv_func_ioctl_posix_signature+:} false; then :
111919
 
+  $as_echo_n "(cached) " >&6
111920
 
+else
111921
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111922
 
+/* end confdefs.h.  */
111923
 
+#include <sys/ioctl.h>
111924
 
+int
111925
 
+main ()
111926
 
+{
111927
 
+extern
111928
 
+              #ifdef __cplusplus
111929
 
+              "C"
111930
 
+              #endif
111931
 
+              int ioctl (int, int, ...);
111932
 
+            
111933
 
+  ;
111934
 
+  return 0;
111935
 
+}
111936
 
+         
111937
 
+_ACEOF
111938
 
+if ac_fn_c_try_compile "$LINENO"; then :
111939
 
+  gl_cv_func_ioctl_posix_signature=yes
111940
 
+else
111941
 
+  gl_cv_func_ioctl_posix_signature=no
111942
 
+fi
111943
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
111944
 
+      
111945
 
+fi
111946
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ioctl_posix_signature" >&5
111947
 
+$as_echo "$gl_cv_func_ioctl_posix_signature" >&6; }
111948
 
+    if test $gl_cv_func_ioctl_posix_signature != yes; then
111949
 
+      REPLACE_IOCTL=1
111950
 
+    fi
111951
 
+  fi
111952
 
+
111953
 
+if test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1; then
111954
 
+  
111955
 
+  
111956
 
+  
111957
 
+    
111958
 
+      
111959
 
+      
111960
 
+    
111961
 
+  
111962
 
+  gltests_LIBOBJS="$gltests_LIBOBJS ioctl.$ac_objext"
111963
 
+
111964
 
+fi
111965
 
+
111966
 
+    
111967
 
+  
111968
 
+  
111969
 
+  
111970
 
+    if test "$GNULIB_IOCTL" != 1; then
111971
 
+        if test "$GNULIB_IOCTL" = 0; then
111972
 
+      GNULIB_IOCTL=$gl_module_indicator_condition
111973
 
+    else
111974
 
+      GNULIB_IOCTL="($GNULIB_IOCTL || $gl_module_indicator_condition)"
111975
 
+    fi
111976
 
+  fi
111977
 
+
111978
 
+
111979
 
+
111980
 
+    
111981
 
+  
111982
 
+$as_echo "@%:@define GNULIB_TEST_IOCTL 1" >>confdefs.h
111983
 
+
111984
 
+
111985
 
+
111986
 
+
111987
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5
111988
 
+$as_echo_n "checking where to find the exponent in a 'double'... " >&6; }
111989
 
+if ${gl_cv_cc_double_expbit0+:} false; then :
111990
 
+  $as_echo_n "(cached) " >&6
111991
 
+else
111992
 
+  
111993
 
+      if test "$cross_compiling" = yes; then :
111994
 
+  
111995
 
+                                                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
111996
 
+/* end confdefs.h.  */
111997
 
+
111998
 
+#if defined arm || defined __arm || defined __arm__
111999
 
+  mixed_endianness
112000
 
+#endif
112001
 
+            
112002
 
+_ACEOF
112003
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
112004
 
+  $EGREP "mixed_endianness" >/dev/null 2>&1; then :
112005
 
+  gl_cv_cc_double_expbit0="unknown"
112006
 
+else
112007
 
+  
112008
 
+                                                         :
112009
 
+if ${ac_cv_c_bigendian+:} false; then :
112010
 
+  $as_echo_n "(cached) " >&6
112011
 
+else
112012
 
+  ac_cv_c_bigendian=unknown
112013
 
+    # See if we're dealing with a universal compiler.
112014
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
112015
 
+/* end confdefs.h.  */
112016
 
+#ifndef __APPLE_CC__
112017
 
+              not a universal capable compiler
112018
 
+            #endif
112019
 
+            typedef int dummy;
112020
 
+           
112021
 
+_ACEOF
112022
 
+if ac_fn_c_try_compile "$LINENO"; then :
112023
 
+  
112024
 
+       # Check for potential -arch flags.  It is not universal unless
112025
 
+       # there are at least two -arch flags with different values.
112026
 
+       ac_arch=
112027
 
+       ac_prev=
112028
 
+       for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
112029
 
+        if test -n "$ac_prev"; then
112030
 
+          case $ac_word in
112031
 
+            i?86 | x86_64 | ppc | ppc64)
112032
 
+              if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
112033
 
+                ac_arch=$ac_word
112034
 
+              else
112035
 
+                ac_cv_c_bigendian=universal
112036
 
+                break
112037
 
+              fi
112038
 
+              ;;
112039
 
+          esac
112040
 
+          ac_prev=
112041
 
+        elif test "x$ac_word" = "x-arch"; then
112042
 
+          ac_prev=arch
112043
 
+        fi
112044
 
+       done
112045
 
+fi
112046
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
112047
 
+    if test $ac_cv_c_bigendian = unknown; then
112048
 
+      # See if sys/param.h defines the BYTE_ORDER macro.
112049
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
112050
 
+/* end confdefs.h.  */
112051
 
+#include <sys/types.h>
112052
 
+            #include <sys/param.h>
112053
 
+          
112054
 
+int
112055
 
+main ()
112056
 
+{
112057
 
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
112058
 
+                    && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
112059
 
+                    && LITTLE_ENDIAN)
112060
 
+             bogus endian macros
112061
 
+            #endif
112062
 
+          
112063
 
+  ;
112064
 
+  return 0;
112065
 
+}
112066
 
+_ACEOF
112067
 
+if ac_fn_c_try_compile "$LINENO"; then :
112068
 
+  # It does; now see whether it defined to BIG_ENDIAN or not.
112069
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
112070
 
+/* end confdefs.h.  */
112071
 
+#include <sys/types.h>
112072
 
+               #include <sys/param.h>
112073
 
+             
112074
 
+int
112075
 
+main ()
112076
 
+{
112077
 
+#if BYTE_ORDER != BIG_ENDIAN
112078
 
+                not big endian
112079
 
+               #endif
112080
 
+             
112081
 
+  ;
112082
 
+  return 0;
112083
 
+}
112084
 
+_ACEOF
112085
 
+if ac_fn_c_try_compile "$LINENO"; then :
112086
 
+  ac_cv_c_bigendian=yes
112087
 
+else
112088
 
+  ac_cv_c_bigendian=no
112089
 
+fi
112090
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
112091
 
+fi
112092
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
112093
 
+    fi
112094
 
+    if test $ac_cv_c_bigendian = unknown; then
112095
 
+      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
112096
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
112097
 
+/* end confdefs.h.  */
112098
 
+#include <limits.h>
112099
 
+          
112100
 
+int
112101
 
+main ()
112102
 
+{
112103
 
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
112104
 
+             bogus endian macros
112105
 
+            #endif
112106
 
+          
112107
 
+  ;
112108
 
+  return 0;
112109
 
+}
112110
 
+_ACEOF
112111
 
+if ac_fn_c_try_compile "$LINENO"; then :
112112
 
+  # It does; now see whether it defined to _BIG_ENDIAN or not.
112113
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
112114
 
+/* end confdefs.h.  */
112115
 
+#include <limits.h>
112116
 
+             
112117
 
+int
112118
 
+main ()
112119
 
+{
112120
 
+#ifndef _BIG_ENDIAN
112121
 
+                not big endian
112122
 
+               #endif
112123
 
+             
112124
 
+  ;
112125
 
+  return 0;
112126
 
+}
112127
 
+_ACEOF
112128
 
+if ac_fn_c_try_compile "$LINENO"; then :
112129
 
+  ac_cv_c_bigendian=yes
112130
 
+else
112131
 
+  ac_cv_c_bigendian=no
112132
 
+fi
112133
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
112134
 
+fi
112135
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
112136
 
+    fi
112137
 
+    if test $ac_cv_c_bigendian = unknown; then
112138
 
+      # Compile a test program.
112139
 
+      if test "$cross_compiling" = yes; then :
112140
 
+  # Try to guess by grepping values from an object file.
112141
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
112142
 
+/* end confdefs.h.  */
112143
 
+short int ascii_mm[] =
112144
 
+                 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
112145
 
+               short int ascii_ii[] =
112146
 
+                 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
112147
 
+               int use_ascii (int i) {
112148
 
+                 return ascii_mm[i] + ascii_ii[i];
112149
 
+               }
112150
 
+               short int ebcdic_ii[] =
112151
 
+                 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
112152
 
+               short int ebcdic_mm[] =
112153
 
+                 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
112154
 
+               int use_ebcdic (int i) {
112155
 
+                 return ebcdic_mm[i] + ebcdic_ii[i];
112156
 
+               }
112157
 
+               extern int foo;
112158
 
+             
112159
 
+int
112160
 
+main ()
112161
 
+{
112162
 
+return use_ascii (foo) == use_ebcdic (foo);
112163
 
+  ;
112164
 
+  return 0;
112165
 
+}
112166
 
+_ACEOF
112167
 
+if ac_fn_c_try_compile "$LINENO"; then :
112168
 
+  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
112169
 
+             ac_cv_c_bigendian=yes
112170
 
+           fi
112171
 
+           if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
112172
 
+             if test "$ac_cv_c_bigendian" = unknown; then
112173
 
+               ac_cv_c_bigendian=no
112174
 
+             else
112175
 
+               # finding both strings is unlikely to happen, but who knows?
112176
 
+               ac_cv_c_bigendian=unknown
112177
 
+             fi
112178
 
+           fi
112179
 
+fi
112180
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
112181
 
+else
112182
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
112183
 
+/* end confdefs.h.  */
112184
 
+$ac_includes_default
112185
 
+int
112186
 
+main ()
112187
 
+{
112188
 
+
112189
 
+            /* Are we little or big endian?  From Harbison&Steele.  */
112190
 
+            union
112191
 
+            {
112192
 
+              long int l;
112193
 
+              char c[sizeof (long int)];
112194
 
+            } u;
112195
 
+            u.l = 1;
112196
 
+            return u.c[sizeof (long int) - 1] == 1;
112197
 
+          
112198
 
+  ;
112199
 
+  return 0;
112200
 
+}
112201
 
+_ACEOF
112202
 
+if ac_fn_c_try_run "$LINENO"; then :
112203
 
+  ac_cv_c_bigendian=no
112204
 
+else
112205
 
+  ac_cv_c_bigendian=yes
112206
 
+fi
112207
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
112208
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
112209
 
+fi
112210
 
+
112211
 
+    fi
112212
 
+fi
112213
 
+:
112214
 
+ case $ac_cv_c_bigendian in #(
112215
 
+   yes)
112216
 
+     gl_cv_cc_double_expbit0="word 0 bit 20";; #(
112217
 
+   no)
112218
 
+     gl_cv_cc_double_expbit0="word 1 bit 20" ;; #(
112219
 
+   universal)
112220
 
+       
112221
 
+$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
112222
 
+
112223
 
+     ;; #(
112224
 
+   *)
112225
 
+     gl_cv_cc_double_expbit0="unknown" ;;
112226
 
+ esac
112227
 
+
112228
 
+                                                      
112229
 
+fi
112230
 
+rm -f conftest*
112231
 
+
112232
 
+        
112233
 
+else
112234
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
112235
 
+/* end confdefs.h.  */
112236
 
+
112237
 
+#include <float.h>
112238
 
+#include <stddef.h>
112239
 
+#include <stdio.h>
112240
 
+#include <string.h>
112241
 
+#define NWORDS \
112242
 
+  ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
112243
 
+typedef union { double value; unsigned int word[NWORDS]; } memory_double;
112244
 
+static unsigned int ored_words[NWORDS];
112245
 
+static unsigned int anded_words[NWORDS];
112246
 
+static void add_to_ored_words (double x)
112247
 
+{
112248
 
+  memory_double m;
112249
 
+  size_t i;
112250
 
+  /* Clear it first, in case sizeof (double) < sizeof (memory_double).  */
112251
 
+  memset (&m, 0, sizeof (memory_double));
112252
 
+  m.value = x;
112253
 
+  for (i = 0; i < NWORDS; i++)
112254
 
+    {
112255
 
+      ored_words[i] |= m.word[i];
112256
 
+      anded_words[i] &= m.word[i];
112257
 
+    }
112258
 
+}
112259
 
+int main ()
112260
 
+{
112261
 
+  size_t j;
112262
 
+  FILE *fp = fopen ("conftest.out", "w");
112263
 
+  if (fp == NULL)
112264
 
+    return 1;
112265
 
+  for (j = 0; j < NWORDS; j++)
112266
 
+    anded_words[j] = ~ (unsigned int) 0;
112267
 
+  add_to_ored_words (0.25);
112268
 
+  add_to_ored_words (0.5);
112269
 
+  add_to_ored_words (1.0);
112270
 
+  add_to_ored_words (2.0);
112271
 
+  add_to_ored_words (4.0);
112272
 
+  /* Remove bits that are common (e.g. if representation of the first mantissa
112273
 
+     bit is explicit).  */
112274
 
+  for (j = 0; j < NWORDS; j++)
112275
 
+    ored_words[j] &= ~anded_words[j];
112276
 
+  /* Now find the nonzero word.  */
112277
 
+  for (j = 0; j < NWORDS; j++)
112278
 
+    if (ored_words[j] != 0)
112279
 
+      break;
112280
 
+  if (j < NWORDS)
112281
 
+    {
112282
 
+      size_t i;
112283
 
+      for (i = j + 1; i < NWORDS; i++)
112284
 
+        if (ored_words[i] != 0)
112285
 
+          {
112286
 
+            fprintf (fp, "unknown");
112287
 
+            return (fclose (fp) != 0);
112288
 
+          }
112289
 
+      for (i = 0; ; i++)
112290
 
+        if ((ored_words[j] >> i) & 1)
112291
 
+          {
112292
 
+            fprintf (fp, "word %d bit %d", (int) j, (int) i);
112293
 
+            return (fclose (fp) != 0);
112294
 
+          }
112295
 
+    }
112296
 
+  fprintf (fp, "unknown");
112297
 
+  return (fclose (fp) != 0);
112298
 
+}
112299
 
+        
112300
 
+_ACEOF
112301
 
+if ac_fn_c_try_run "$LINENO"; then :
112302
 
+  gl_cv_cc_double_expbit0=`cat conftest.out`
112303
 
+else
112304
 
+  gl_cv_cc_double_expbit0="unknown"
112305
 
+fi
112306
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
112307
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
112308
 
+fi
112309
 
+
112310
 
+      rm -f conftest.out
112311
 
+    
112312
 
+fi
112313
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5
112314
 
+$as_echo "$gl_cv_cc_double_expbit0" >&6; }
112315
 
+  case "$gl_cv_cc_double_expbit0" in
112316
 
+    word*bit*)
112317
 
+      word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
112318
 
+      bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'`
112319
 
+      
112320
 
+cat >>confdefs.h <<_ACEOF
112321
 
+@%:@define DBL_EXPBIT0_WORD $word
112322
 
+_ACEOF
112323
 
+
112324
 
+      
112325
 
+cat >>confdefs.h <<_ACEOF
112326
 
+@%:@define DBL_EXPBIT0_BIT $bit
112327
 
+_ACEOF
112328
 
+
112329
 
+      ;;
112330
 
+  esac
112331
 
+
112332
 
+
112333
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
112334
 
+$as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
112335
 
+if ${gl_cv_cc_float_expbit0+:} false; then :
112336
 
+  $as_echo_n "(cached) " >&6
112337
 
+else
112338
 
+  
112339
 
+      if test "$cross_compiling" = yes; then :
112340
 
+  gl_cv_cc_float_expbit0="word 0 bit 23"
112341
 
+else
112342
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
112343
 
+/* end confdefs.h.  */
112344
 
+
112345
 
+#include <float.h>
112346
 
+#include <stddef.h>
112347
 
+#include <stdio.h>
112348
 
+#include <string.h>
112349
 
+#define NWORDS \
112350
 
+  ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
112351
 
+typedef union { float value; unsigned int word[NWORDS]; } memory_float;
112352
 
+static unsigned int ored_words[NWORDS];
112353
 
+static unsigned int anded_words[NWORDS];
112354
 
+static void add_to_ored_words (float x)
112355
 
+{
112356
 
+  memory_float m;
112357
 
+  size_t i;
112358
 
+  /* Clear it first, in case
112359
 
+     sizeof (float) < sizeof (memory_float).  */
112360
 
+  memset (&m, 0, sizeof (memory_float));
112361
 
+  m.value = x;
112362
 
+  for (i = 0; i < NWORDS; i++)
112363
 
+    {
112364
 
+      ored_words[i] |= m.word[i];
112365
 
+      anded_words[i] &= m.word[i];
112366
 
+    }
112367
 
+}
112368
 
+int main ()
112369
 
+{
112370
 
+  size_t j;
112371
 
+  FILE *fp = fopen ("conftest.out", "w");
112372
 
+  if (fp == NULL)
112373
 
+    return 1;
112374
 
+  for (j = 0; j < NWORDS; j++)
112375
 
+    anded_words[j] = ~ (unsigned int) 0;
112376
 
+  add_to_ored_words (0.25f);
112377
 
+  add_to_ored_words (0.5f);
112378
 
+  add_to_ored_words (1.0f);
112379
 
+  add_to_ored_words (2.0f);
112380
 
+  add_to_ored_words (4.0f);
112381
 
+  /* Remove bits that are common (e.g. if representation of the first mantissa
112382
 
+     bit is explicit).  */
112383
 
+  for (j = 0; j < NWORDS; j++)
112384
 
+    ored_words[j] &= ~anded_words[j];
112385
 
+  /* Now find the nonzero word.  */
112386
 
+  for (j = 0; j < NWORDS; j++)
112387
 
+    if (ored_words[j] != 0)
112388
 
+      break;
112389
 
+  if (j < NWORDS)
112390
 
+    {
112391
 
+      size_t i;
112392
 
+      for (i = j + 1; i < NWORDS; i++)
112393
 
+        if (ored_words[i] != 0)
112394
 
+          {
112395
 
+            fprintf (fp, "unknown");
112396
 
+            return (fclose (fp) != 0);
112397
 
+          }
112398
 
+      for (i = 0; ; i++)
112399
 
+        if ((ored_words[j] >> i) & 1)
112400
 
+          {
112401
 
+            fprintf (fp, "word %d bit %d", (int) j, (int) i);
112402
 
+            return (fclose (fp) != 0);
112403
 
+          }
112404
 
+    }
112405
 
+  fprintf (fp, "unknown");
112406
 
+  return (fclose (fp) != 0);
112407
 
+}
112408
 
+        
112409
 
+_ACEOF
112410
 
+if ac_fn_c_try_run "$LINENO"; then :
112411
 
+  gl_cv_cc_float_expbit0=`cat conftest.out`
112412
 
+else
112413
 
+  gl_cv_cc_float_expbit0="unknown"
112414
 
+fi
112415
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
112416
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
112417
 
+fi
112418
 
+
112419
 
+      rm -f conftest.out
112420
 
+    
112421
 
+fi
112422
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5
112423
 
+$as_echo "$gl_cv_cc_float_expbit0" >&6; }
112424
 
+  case "$gl_cv_cc_float_expbit0" in
112425
 
+    word*bit*)
112426
 
+      word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
112427
 
+      bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'`
112428
 
+      
112429
 
+cat >>confdefs.h <<_ACEOF
112430
 
+@%:@define FLT_EXPBIT0_WORD $word
112431
 
+_ACEOF
112432
 
+
112433
 
+      
112434
 
+cat >>confdefs.h <<_ACEOF
112435
 
+@%:@define FLT_EXPBIT0_BIT $bit
112436
 
+_ACEOF
112437
 
+
112438
 
+      ;;
112439
 
+  esac
112440
 
+
112441
 
+
112442
 
+  
112443
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5
112444
 
+$as_echo_n "checking where to find the exponent in a 'long double'... " >&6; }
112445
 
+if ${gl_cv_cc_long_double_expbit0+:} false; then :
112446
 
+  $as_echo_n "(cached) " >&6
112447
 
+else
112448
 
+  
112449
 
+      if test "$cross_compiling" = yes; then :
112450
 
+  
112451
 
+                              gl_cv_cc_long_double_expbit0="unknown"
112452
 
+        
112453
 
+else
112454
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
112455
 
+/* end confdefs.h.  */
112456
 
+
112457
 
+#include <float.h>
112458
 
+#include <stddef.h>
112459
 
+#include <stdio.h>
112460
 
+#include <string.h>
112461
 
+#define NWORDS \
112462
 
+  ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
112463
 
+typedef union { long double value; unsigned int word[NWORDS]; }
112464
 
+        memory_long_double;
112465
 
+static unsigned int ored_words[NWORDS];
112466
 
+static unsigned int anded_words[NWORDS];
112467
 
+static void add_to_ored_words (long double x)
112468
 
+{
112469
 
+  memory_long_double m;
112470
 
+  size_t i;
112471
 
+  /* Clear it first, in case
112472
 
+     sizeof (long double) < sizeof (memory_long_double).  */
112473
 
+  memset (&m, 0, sizeof (memory_long_double));
112474
 
+  m.value = x;
112475
 
+  for (i = 0; i < NWORDS; i++)
112476
 
+    {
112477
 
+      ored_words[i] |= m.word[i];
112478
 
+      anded_words[i] &= m.word[i];
112479
 
+    }
112480
 
+}
112481
 
+int main ()
112482
 
+{
112483
 
+  size_t j;
112484
 
+  FILE *fp = fopen ("conftest.out", "w");
112485
 
+  if (fp == NULL)
112486
 
+    return 1;
112487
 
+  for (j = 0; j < NWORDS; j++)
112488
 
+    anded_words[j] = ~ (unsigned int) 0;
112489
 
+  add_to_ored_words (0.25L);
112490
 
+  add_to_ored_words (0.5L);
112491
 
+  add_to_ored_words (1.0L);
112492
 
+  add_to_ored_words (2.0L);
112493
 
+  add_to_ored_words (4.0L);
112494
 
+  /* Remove bits that are common (e.g. if representation of the first mantissa
112495
 
+     bit is explicit).  */
112496
 
+  for (j = 0; j < NWORDS; j++)
112497
 
+    ored_words[j] &= ~anded_words[j];
112498
 
+  /* Now find the nonzero word.  */
112499
 
+  for (j = 0; j < NWORDS; j++)
112500
 
+    if (ored_words[j] != 0)
112501
 
+      break;
112502
 
+  if (j < NWORDS)
112503
 
+    {
112504
 
+      size_t i;
112505
 
+      for (i = j + 1; i < NWORDS; i++)
112506
 
+        if (ored_words[i] != 0)
112507
 
+          {
112508
 
+            fprintf (fp, "unknown");
112509
 
+            return (fclose (fp) != 0);
112510
 
+          }
112511
 
+      for (i = 0; ; i++)
112512
 
+        if ((ored_words[j] >> i) & 1)
112513
 
+          {
112514
 
+            fprintf (fp, "word %d bit %d", (int) j, (int) i);
112515
 
+            return (fclose (fp) != 0);
112516
 
+          }
112517
 
+    }
112518
 
+  fprintf (fp, "unknown");
112519
 
+  return (fclose (fp) != 0);
112520
 
+}
112521
 
+        
112522
 
+_ACEOF
112523
 
+if ac_fn_c_try_run "$LINENO"; then :
112524
 
+  gl_cv_cc_long_double_expbit0=`cat conftest.out`
112525
 
+else
112526
 
+  gl_cv_cc_long_double_expbit0="unknown"
112527
 
+fi
112528
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
112529
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
112530
 
+fi
112531
 
+
112532
 
+      rm -f conftest.out
112533
 
+    
112534
 
+fi
112535
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_expbit0" >&5
112536
 
+$as_echo "$gl_cv_cc_long_double_expbit0" >&6; }
112537
 
+  case "$gl_cv_cc_long_double_expbit0" in
112538
 
+    word*bit*)
112539
 
+      word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
112540
 
+      bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'`
112541
 
+      
112542
 
+cat >>confdefs.h <<_ACEOF
112543
 
+@%:@define LDBL_EXPBIT0_WORD $word
112544
 
+_ACEOF
112545
 
+
112546
 
+      
112547
 
+cat >>confdefs.h <<_ACEOF
112548
 
+@%:@define LDBL_EXPBIT0_BIT $bit
112549
 
+_ACEOF
112550
 
+
112551
 
+      ;;
112552
 
+  esac
112553
 
+
112554
 
+
112555
 
+
112556
 
+if test "$ac_cv_header_winsock2_h" = yes; then
112557
 
+  
112558
 
+  
112559
 
+  
112560
 
+    
112561
 
+      
112562
 
+      
112563
 
+    
112564
 
+  
112565
 
+  gltests_LIBOBJS="$gltests_LIBOBJS listen.$ac_objext"
112566
 
+
112567
 
+fi
112568
 
+
112569
 
+    
112570
 
+  
112571
 
+  
112572
 
+  
112573
 
+    if test "$GNULIB_LISTEN" != 1; then
112574
 
+        if test "$GNULIB_LISTEN" = 0; then
112575
 
+      GNULIB_LISTEN=$gl_module_indicator_condition
112576
 
+    else
112577
 
+      GNULIB_LISTEN="($GNULIB_LISTEN || $gl_module_indicator_condition)"
112578
 
+    fi
112579
 
+  fi
112580
 
+
112581
 
+
112582
 
+
112583
 
+    
112584
 
+  
112585
 
+$as_echo "@%:@define GNULIB_TEST_LISTEN 1" >>confdefs.h
112586
 
+
112587
 
+
112588
 
+
112589
 
+
112590
 
+
112591
 
+  
112592
 
+  
112593
 
+  for ac_func in setlocale uselocale
112594
 
+do :
112595
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
112596
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
112597
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
112598
 
+  cat >>confdefs.h <<_ACEOF
112599
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
112600
 
+_ACEOF
112601
 
112602
 
+fi
112603
 
+done
112604
 
+
112605
 
+
112606
 
+
112607
 
+
112608
 
+  
112609
 
+  
112610
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
112611
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
112612
 
+if ${gt_cv_locale_fr+:} false; then :
112613
 
+  $as_echo_n "(cached) " >&6
112614
 
+else
112615
 
+  
112616
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
112617
 
+/* end confdefs.h.  */
112618
 
+
112619
 
+#include <locale.h>
112620
 
+#include <time.h>
112621
 
+#if HAVE_LANGINFO_CODESET
112622
 
+# include <langinfo.h>
112623
 
+#endif
112624
 
+#include <stdlib.h>
112625
 
+#include <string.h>
112626
 
+struct tm t;
112627
 
+char buf[16];
112628
 
+int main () {
112629
 
+  /* Check whether the given locale name is recognized by the system.  */
112630
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
112631
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
112632
 
+     not at the environment variables.  Also, when an encoding suffix such
112633
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
112634
 
+     category of the locale to "C".  */
112635
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
112636
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
112637
 
+    return 1;
112638
 
+#else
112639
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
112640
 
+#endif
112641
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
112642
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
112643
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
112644
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
112645
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
112646
 
+     some unit tests fail.
112647
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
112648
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
112649
 
+#if HAVE_LANGINFO_CODESET
112650
 
+  {
112651
 
+    const char *cs = nl_langinfo (CODESET);
112652
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
112653
 
+        || strcmp (cs, "UTF-8") == 0)
112654
 
+      return 1;
112655
 
+  }
112656
 
+#endif
112657
 
+#ifdef __CYGWIN__
112658
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
112659
 
+     locale_charset() function relies on the encoding suffix.  Note that
112660
 
+     LC_ALL is set on the command line.  */
112661
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
112662
 
+#endif
112663
 
+  /* Check whether in the abbreviation of the second month, the second
112664
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
112665
 
+     one byte long. This excludes the UTF-8 encoding.  */
112666
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
112667
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
112668
 
+  /* Check whether the decimal separator is a comma.
112669
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
112670
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
112671
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
112672
 
+  return 0;
112673
 
+}
112674
 
+      
112675
 
+_ACEOF
112676
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
112677
 
+  (eval $ac_link) 2>&5
112678
 
+  ac_status=$?
112679
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
112680
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
112681
 
+      case "$host_os" in
112682
 
+        # Handle native Windows specially, because there setlocale() interprets
112683
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
112684
 
+        # "fr" or "fra" as "French" or "French_France.1252",
112685
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
112686
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
112687
 
+        # and similar.
112688
 
+        mingw*)
112689
 
+          # Test for the native Win32 locale name.
112690
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
112691
 
+            gt_cv_locale_fr=French_France.1252
112692
 
+          else
112693
 
+            # None found.
112694
 
+            gt_cv_locale_fr=none
112695
 
+          fi
112696
 
+          ;;
112697
 
+        *)
112698
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
112699
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
112700
 
+          # configure script would override the LC_ALL setting. Likewise for
112701
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
112702
 
+          # Test for the usual locale name.
112703
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
112704
 
+            gt_cv_locale_fr=fr_FR
112705
 
+          else
112706
 
+            # Test for the locale name with explicit encoding suffix.
112707
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
112708
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
112709
 
+            else
112710
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
112711
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
112712
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
112713
 
+              else
112714
 
+                # Test for the HP-UX locale name.
112715
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
112716
 
+                  gt_cv_locale_fr=fr_FR.iso88591
112717
 
+                else
112718
 
+                  # Test for the Solaris 7 locale name.
112719
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
112720
 
+                    gt_cv_locale_fr=fr
112721
 
+                  else
112722
 
+                    # None found.
112723
 
+                    gt_cv_locale_fr=none
112724
 
+                  fi
112725
 
+                fi
112726
 
+              fi
112727
 
+            fi
112728
 
+          fi
112729
 
+          ;;
112730
 
+      esac
112731
 
+    fi
112732
 
+    rm -fr conftest*
112733
 
+  
112734
 
+fi
112735
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
112736
 
+$as_echo "$gt_cv_locale_fr" >&6; }
112737
 
+  LOCALE_FR=$gt_cv_locale_fr
112738
 
+  
112739
 
+
112740
 
+
112741
 
+  
112742
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
112743
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
112744
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
112745
 
+  $as_echo_n "(cached) " >&6
112746
 
+else
112747
 
+  
112748
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
112749
 
+/* end confdefs.h.  */
112750
 
+
112751
 
+#include <locale.h>
112752
 
+#include <time.h>
112753
 
+#if HAVE_LANGINFO_CODESET
112754
 
+# include <langinfo.h>
112755
 
+#endif
112756
 
+#include <stdlib.h>
112757
 
+#include <string.h>
112758
 
+struct tm t;
112759
 
+char buf[16];
112760
 
+int main () {
112761
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
112762
 
+     imitates locale dependent behaviour by looking at the environment
112763
 
+     variables, and all locales use the UTF-8 encoding.  */
112764
 
+#if !(defined __BEOS__ || defined __HAIKU__)
112765
 
+  /* Check whether the given locale name is recognized by the system.  */
112766
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
112767
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
112768
 
+     not at the environment variables.  Also, when an encoding suffix such
112769
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
112770
 
+     category of the locale to "C".  */
112771
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
112772
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
112773
 
+    return 1;
112774
 
+# else
112775
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
112776
 
+# endif
112777
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
112778
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
112779
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
112780
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
112781
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
112782
 
+     some unit tests fail.  */
112783
 
+# if HAVE_LANGINFO_CODESET
112784
 
+  {
112785
 
+    const char *cs = nl_langinfo (CODESET);
112786
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
112787
 
+      return 1;
112788
 
+  }
112789
 
+# endif
112790
 
+# ifdef __CYGWIN__
112791
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
112792
 
+     locale_charset() function relies on the encoding suffix.  Note that
112793
 
+     LC_ALL is set on the command line.  */
112794
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
112795
 
+# endif
112796
 
+  /* Check whether in the abbreviation of the second month, the second
112797
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
112798
 
+     two bytes long, with UTF-8 encoding.  */
112799
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
112800
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
112801
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
112802
 
+    return 1;
112803
 
+#endif
112804
 
+  /* Check whether the decimal separator is a comma.
112805
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
112806
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
112807
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
112808
 
+  return 0;
112809
 
+}
112810
 
+      
112811
 
+_ACEOF
112812
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
112813
 
+  (eval $ac_link) 2>&5
112814
 
+  ac_status=$?
112815
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
112816
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
112817
 
+      case "$host_os" in
112818
 
+        # Handle native Windows specially, because there setlocale() interprets
112819
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
112820
 
+        # "fr" or "fra" as "French" or "French_France.1252",
112821
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
112822
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
112823
 
+        # and similar.
112824
 
+        mingw*)
112825
 
+          # Test for the hypothetical native Win32 locale name.
112826
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
112827
 
+            gt_cv_locale_fr_utf8=French_France.65001
112828
 
+          else
112829
 
+            # None found.
112830
 
+            gt_cv_locale_fr_utf8=none
112831
 
+          fi
112832
 
+          ;;
112833
 
+        *)
112834
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
112835
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
112836
 
+          # configure script would override the LC_ALL setting. Likewise for
112837
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
112838
 
+          # Test for the usual locale name.
112839
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
112840
 
+            gt_cv_locale_fr_utf8=fr_FR
112841
 
+          else
112842
 
+            # Test for the locale name with explicit encoding suffix.
112843
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
112844
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
112845
 
+            else
112846
 
+              # Test for the Solaris 7 locale name.
112847
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
112848
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
112849
 
+              else
112850
 
+                # None found.
112851
 
+                gt_cv_locale_fr_utf8=none
112852
 
+              fi
112853
 
+            fi
112854
 
+          fi
112855
 
+          ;;
112856
 
+      esac
112857
 
+    fi
112858
 
+    rm -fr conftest*
112859
 
+  
112860
 
+fi
112861
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
112862
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
112863
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
112864
 
+  
112865
 
+
112866
 
+
112867
 
+  
112868
 
+  
112869
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
112870
 
+$as_echo_n "checking for a traditional japanese locale... " >&6; }
112871
 
+if ${gt_cv_locale_ja+:} false; then :
112872
 
+  $as_echo_n "(cached) " >&6
112873
 
+else
112874
 
+  
112875
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
112876
 
+/* end confdefs.h.  */
112877
 
+
112878
 
+#include <locale.h>
112879
 
+#include <time.h>
112880
 
+#if HAVE_LANGINFO_CODESET
112881
 
+# include <langinfo.h>
112882
 
+#endif
112883
 
+#include <stdlib.h>
112884
 
+#include <string.h>
112885
 
+struct tm t;
112886
 
+char buf[16];
112887
 
+int main ()
112888
 
+{
112889
 
+  const char *p;
112890
 
+  /* Check whether the given locale name is recognized by the system.  */
112891
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
112892
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
112893
 
+     not at the environment variables.  Also, when an encoding suffix such
112894
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
112895
 
+     category of the locale to "C".  */
112896
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
112897
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
112898
 
+    return 1;
112899
 
+#else
112900
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
112901
 
+#endif
112902
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
112903
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
112904
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
112905
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
112906
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
112907
 
+     some unit tests fail.
112908
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
112909
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
112910
 
+#if HAVE_LANGINFO_CODESET
112911
 
+  {
112912
 
+    const char *cs = nl_langinfo (CODESET);
112913
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
112914
 
+        || strcmp (cs, "UTF-8") == 0)
112915
 
+      return 1;
112916
 
+  }
112917
 
+#endif
112918
 
+#ifdef __CYGWIN__
112919
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
112920
 
+     locale_charset() function relies on the encoding suffix.  Note that
112921
 
+     LC_ALL is set on the command line.  */
112922
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
112923
 
+#endif
112924
 
+  /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
112925
 
+     on Cygwin 1.5.x.  */
112926
 
+  if (MB_CUR_MAX == 1)
112927
 
+    return 1;
112928
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
112929
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
112930
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
112931
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
112932
 
+  for (p = buf; *p != '\0'; p++)
112933
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
112934
 
+      return 1;
112935
 
+  return 0;
112936
 
+}
112937
 
+      
112938
 
+_ACEOF
112939
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
112940
 
+  (eval $ac_link) 2>&5
112941
 
+  ac_status=$?
112942
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
112943
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
112944
 
+      case "$host_os" in
112945
 
+        # Handle native Windows specially, because there setlocale() interprets
112946
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
112947
 
+        # "fr" or "fra" as "French" or "French_France.1252",
112948
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
112949
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
112950
 
+        # and similar.
112951
 
+        mingw*)
112952
 
+          # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
112953
 
+          # and CP932 is very different from EUC-JP, so we cannot use it here.
112954
 
+          gt_cv_locale_ja=none
112955
 
+          ;;
112956
 
+        *)
112957
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
112958
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
112959
 
+          # configure script would override the LC_ALL setting. Likewise for
112960
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
112961
 
+          # Test for the AIX locale name.
112962
 
+          if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
112963
 
+            gt_cv_locale_ja=ja_JP
112964
 
+          else
112965
 
+            # Test for the locale name with explicit encoding suffix.
112966
 
+            if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
112967
 
+              gt_cv_locale_ja=ja_JP.EUC-JP
112968
 
+            else
112969
 
+              # Test for the HP-UX, OSF/1, NetBSD locale name.
112970
 
+              if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
112971
 
+                gt_cv_locale_ja=ja_JP.eucJP
112972
 
+              else
112973
 
+                # Test for the IRIX, FreeBSD locale name.
112974
 
+                if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
112975
 
+                  gt_cv_locale_ja=ja_JP.EUC
112976
 
+                else
112977
 
+                  # Test for the Solaris 7 locale name.
112978
 
+                  if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
112979
 
+                    gt_cv_locale_ja=ja
112980
 
+                  else
112981
 
+                    # Special test for NetBSD 1.6.
112982
 
+                    if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
112983
 
+                      gt_cv_locale_ja=ja_JP.eucJP
112984
 
+                    else
112985
 
+                      # None found.
112986
 
+                      gt_cv_locale_ja=none
112987
 
+                    fi
112988
 
+                  fi
112989
 
+                fi
112990
 
+              fi
112991
 
+            fi
112992
 
+          fi
112993
 
+          ;;
112994
 
+      esac
112995
 
+    fi
112996
 
+    rm -fr conftest*
112997
 
+  
112998
 
+fi
112999
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
113000
 
+$as_echo "$gt_cv_locale_ja" >&6; }
113001
 
+  LOCALE_JA=$gt_cv_locale_ja
113002
 
+  
113003
 
+
113004
 
+
113005
 
+  
113006
 
+  
113007
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
113008
 
+$as_echo_n "checking for a transitional chinese locale... " >&6; }
113009
 
+if ${gt_cv_locale_zh_CN+:} false; then :
113010
 
+  $as_echo_n "(cached) " >&6
113011
 
+else
113012
 
+  
113013
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
113014
 
+/* end confdefs.h.  */
113015
 
+
113016
 
+#include <locale.h>
113017
 
+#include <stdlib.h>
113018
 
+#include <time.h>
113019
 
+#if HAVE_LANGINFO_CODESET
113020
 
+# include <langinfo.h>
113021
 
+#endif
113022
 
+#include <stdlib.h>
113023
 
+#include <string.h>
113024
 
+struct tm t;
113025
 
+char buf[16];
113026
 
+int main ()
113027
 
+{
113028
 
+  const char *p;
113029
 
+  /* Check whether the given locale name is recognized by the system.  */
113030
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
113031
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
113032
 
+     not at the environment variables.  Also, when an encoding suffix such
113033
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
113034
 
+     category of the locale to "C".  */
113035
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
113036
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
113037
 
+    return 1;
113038
 
+#else
113039
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
113040
 
+#endif
113041
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
113042
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
113043
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
113044
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
113045
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
113046
 
+     some unit tests fail.
113047
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
113048
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
113049
 
+#if HAVE_LANGINFO_CODESET
113050
 
+  {
113051
 
+    const char *cs = nl_langinfo (CODESET);
113052
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
113053
 
+        || strcmp (cs, "UTF-8") == 0)
113054
 
+      return 1;
113055
 
+  }
113056
 
+#endif
113057
 
+#ifdef __CYGWIN__
113058
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
113059
 
+     locale_charset() function relies on the encoding suffix.  Note that
113060
 
+     LC_ALL is set on the command line.  */
113061
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
113062
 
+#endif
113063
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
113064
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
113065
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
113066
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
113067
 
+  for (p = buf; *p != '\0'; p++)
113068
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
113069
 
+      return 1;
113070
 
+  /* Check whether a typical GB18030 multibyte sequence is recognized as a
113071
 
+     single wide character.  This excludes the GB2312 and GBK encodings.  */
113072
 
+  if (mblen ("\203\062\332\066", 5) != 4)
113073
 
+    return 1;
113074
 
+  return 0;
113075
 
+}
113076
 
+      
113077
 
+_ACEOF
113078
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
113079
 
+  (eval $ac_link) 2>&5
113080
 
+  ac_status=$?
113081
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
113082
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
113083
 
+      case "$host_os" in
113084
 
+        # Handle native Windows specially, because there setlocale() interprets
113085
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
113086
 
+        # "fr" or "fra" as "French" or "French_France.1252",
113087
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
113088
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
113089
 
+        # and similar.
113090
 
+        mingw*)
113091
 
+          # Test for the hypothetical native Win32 locale name.
113092
 
+          if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113093
 
+            gt_cv_locale_zh_CN=Chinese_China.54936
113094
 
+          else
113095
 
+            # None found.
113096
 
+            gt_cv_locale_zh_CN=none
113097
 
+          fi
113098
 
+          ;;
113099
 
+        solaris2.8)
113100
 
+          # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
113101
 
+          # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
113102
 
+          # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
113103
 
+          gt_cv_locale_zh_CN=none
113104
 
+          ;;
113105
 
+        *)
113106
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
113107
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
113108
 
+          # configure script would override the LC_ALL setting. Likewise for
113109
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
113110
 
+          # Test for the locale name without encoding suffix.
113111
 
+          if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113112
 
+            gt_cv_locale_zh_CN=zh_CN
113113
 
+          else
113114
 
+            # Test for the locale name with explicit encoding suffix.
113115
 
+            if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113116
 
+              gt_cv_locale_zh_CN=zh_CN.GB18030
113117
 
+            else
113118
 
+              # None found.
113119
 
+              gt_cv_locale_zh_CN=none
113120
 
+            fi
113121
 
+          fi
113122
 
+          ;;
113123
 
+      esac
113124
 
+    else
113125
 
+      # If there was a link error, due to mblen(), the system is so old that
113126
 
+      # it certainly doesn't have a chinese locale.
113127
 
+      gt_cv_locale_zh_CN=none
113128
 
+    fi
113129
 
+    rm -fr conftest*
113130
 
+  
113131
 
+fi
113132
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
113133
 
+$as_echo "$gt_cv_locale_zh_CN" >&6; }
113134
 
+  LOCALE_ZH_CN=$gt_cv_locale_zh_CN
113135
 
+  
113136
 
+
113137
 
+
113138
 
+  
113139
 
+  
113140
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a turkish Unicode locale" >&5
113141
 
+$as_echo_n "checking for a turkish Unicode locale... " >&6; }
113142
 
+if ${gt_cv_locale_tr_utf8+:} false; then :
113143
 
+  $as_echo_n "(cached) " >&6
113144
 
+else
113145
 
+  
113146
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
113147
 
+/* end confdefs.h.  */
113148
 
+
113149
 
+#include <locale.h>
113150
 
+#include <time.h>
113151
 
+#if HAVE_LANGINFO_CODESET
113152
 
+# include <langinfo.h>
113153
 
+#endif
113154
 
+#include <stdlib.h>
113155
 
+#include <string.h>
113156
 
+struct tm t;
113157
 
+char buf[16];
113158
 
+int main () {
113159
 
+  /* On BeOS, locales are not implemented in libc.  Rather, libintl
113160
 
+     imitates locale dependent behaviour by looking at the environment
113161
 
+     variables, and all locales use the UTF-8 encoding.  But BeOS does not
113162
 
+     implement the Turkish upper-/lowercase mappings.  Therefore, let this
113163
 
+     program return 1 on BeOS.  */
113164
 
+  /* Check whether the given locale name is recognized by the system.  */
113165
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
113166
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
113167
 
+     not at the environment variables.  Also, when an encoding suffix such
113168
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
113169
 
+     category of the locale to "C".  */
113170
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
113171
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
113172
 
+    return 1;
113173
 
+#else
113174
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
113175
 
+#endif
113176
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
113177
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET)
113178
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
113179
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
113180
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
113181
 
+     some unit tests fail.  */
113182
 
+#if HAVE_LANGINFO_CODESET
113183
 
+  {
113184
 
+    const char *cs = nl_langinfo (CODESET);
113185
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
113186
 
+      return 1;
113187
 
+  }
113188
 
+#endif
113189
 
+#ifdef __CYGWIN__
113190
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
113191
 
+     locale_charset() function relies on the encoding suffix.  Note that
113192
 
+     LC_ALL is set on the command line.  */
113193
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
113194
 
+#endif
113195
 
+  /* Check whether in the abbreviation of the eighth month, the second
113196
 
+     character (should be U+011F: LATIN SMALL LETTER G WITH BREVE) is
113197
 
+     two bytes long, with UTF-8 encoding.  */
113198
 
+  t.tm_year = 1992 - 1900; t.tm_mon = 8 - 1; t.tm_mday = 19;
113199
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
113200
 
+      || buf[1] != (char) 0xc4 || buf[2] != (char) 0x9f)
113201
 
+    return 1;
113202
 
+  /* Check whether the upper-/lowercase mappings are as expected for
113203
 
+     Turkish.  */
113204
 
+  if (towupper ('i') != 0x0130 || towlower (0x0130) != 'i'
113205
 
+      || towupper(0x0131) != 'I' || towlower ('I') != 0x0131)
113206
 
+    return 1;
113207
 
+  return 0;
113208
 
+}
113209
 
+      
113210
 
+_ACEOF
113211
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
113212
 
+  (eval $ac_link) 2>&5
113213
 
+  ac_status=$?
113214
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
113215
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
113216
 
+      case "$host_os" in
113217
 
+        # Handle native Windows specially, because there setlocale() interprets
113218
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
113219
 
+        # "fr" or "fra" as "French" or "French_France.1252",
113220
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
113221
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
113222
 
+        # and similar.
113223
 
+        mingw*)
113224
 
+          # Test for the hypothetical native Win32 locale name.
113225
 
+          if (LC_ALL=Turkish_Turkey.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113226
 
+            gt_cv_locale_tr_utf8=Turkish_Turkey.65001
113227
 
+          else
113228
 
+            # None found.
113229
 
+            gt_cv_locale_tr_utf8=none
113230
 
+          fi
113231
 
+          ;;
113232
 
+        *)
113233
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
113234
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
113235
 
+          # configure script would override the LC_ALL setting. Likewise for
113236
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
113237
 
+          # Test for the usual locale name.
113238
 
+          if (LC_ALL=tr_TR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113239
 
+            gt_cv_locale_tr_utf8=tr_TR
113240
 
+          else
113241
 
+            # Test for the locale name with explicit encoding suffix.
113242
 
+            if (LC_ALL=tr_TR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113243
 
+              gt_cv_locale_tr_utf8=tr_TR.UTF-8
113244
 
+            else
113245
 
+              # Test for the Solaris 7 locale name.
113246
 
+              if (LC_ALL=tr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113247
 
+                gt_cv_locale_tr_utf8=tr.UTF-8
113248
 
+              else
113249
 
+                # None found.
113250
 
+                gt_cv_locale_tr_utf8=none
113251
 
+              fi
113252
 
+            fi
113253
 
+          fi
113254
 
+          ;;
113255
 
+      esac
113256
 
+    else
113257
 
+      gt_cv_locale_tr_utf8=none
113258
 
+    fi
113259
 
+    rm -fr conftest*
113260
 
+  
113261
 
+fi
113262
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_tr_utf8" >&5
113263
 
+$as_echo "$gt_cv_locale_tr_utf8" >&6; }
113264
 
+  LOCALE_TR_UTF8=$gt_cv_locale_tr_utf8
113265
 
+  
113266
 
+
113267
 
+
113268
 
+  
113269
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
113270
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
113271
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
113272
 
+  $as_echo_n "(cached) " >&6
113273
 
+else
113274
 
+  
113275
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
113276
 
+/* end confdefs.h.  */
113277
 
+
113278
 
+#include <locale.h>
113279
 
+#include <time.h>
113280
 
+#if HAVE_LANGINFO_CODESET
113281
 
+# include <langinfo.h>
113282
 
+#endif
113283
 
+#include <stdlib.h>
113284
 
+#include <string.h>
113285
 
+struct tm t;
113286
 
+char buf[16];
113287
 
+int main () {
113288
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
113289
 
+     imitates locale dependent behaviour by looking at the environment
113290
 
+     variables, and all locales use the UTF-8 encoding.  */
113291
 
+#if !(defined __BEOS__ || defined __HAIKU__)
113292
 
+  /* Check whether the given locale name is recognized by the system.  */
113293
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
113294
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
113295
 
+     not at the environment variables.  Also, when an encoding suffix such
113296
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
113297
 
+     category of the locale to "C".  */
113298
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
113299
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
113300
 
+    return 1;
113301
 
+# else
113302
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
113303
 
+# endif
113304
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
113305
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
113306
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
113307
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
113308
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
113309
 
+     some unit tests fail.  */
113310
 
+# if HAVE_LANGINFO_CODESET
113311
 
+  {
113312
 
+    const char *cs = nl_langinfo (CODESET);
113313
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
113314
 
+      return 1;
113315
 
+  }
113316
 
+# endif
113317
 
+# ifdef __CYGWIN__
113318
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
113319
 
+     locale_charset() function relies on the encoding suffix.  Note that
113320
 
+     LC_ALL is set on the command line.  */
113321
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
113322
 
+# endif
113323
 
+  /* Check whether in the abbreviation of the second month, the second
113324
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
113325
 
+     two bytes long, with UTF-8 encoding.  */
113326
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
113327
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
113328
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
113329
 
+    return 1;
113330
 
+#endif
113331
 
+  /* Check whether the decimal separator is a comma.
113332
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
113333
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
113334
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
113335
 
+  return 0;
113336
 
+}
113337
 
+      
113338
 
+_ACEOF
113339
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
113340
 
+  (eval $ac_link) 2>&5
113341
 
+  ac_status=$?
113342
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
113343
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
113344
 
+      case "$host_os" in
113345
 
+        # Handle native Windows specially, because there setlocale() interprets
113346
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
113347
 
+        # "fr" or "fra" as "French" or "French_France.1252",
113348
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
113349
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
113350
 
+        # and similar.
113351
 
+        mingw*)
113352
 
+          # Test for the hypothetical native Win32 locale name.
113353
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113354
 
+            gt_cv_locale_fr_utf8=French_France.65001
113355
 
+          else
113356
 
+            # None found.
113357
 
+            gt_cv_locale_fr_utf8=none
113358
 
+          fi
113359
 
+          ;;
113360
 
+        *)
113361
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
113362
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
113363
 
+          # configure script would override the LC_ALL setting. Likewise for
113364
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
113365
 
+          # Test for the usual locale name.
113366
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113367
 
+            gt_cv_locale_fr_utf8=fr_FR
113368
 
+          else
113369
 
+            # Test for the locale name with explicit encoding suffix.
113370
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113371
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
113372
 
+            else
113373
 
+              # Test for the Solaris 7 locale name.
113374
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113375
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
113376
 
+              else
113377
 
+                # None found.
113378
 
+                gt_cv_locale_fr_utf8=none
113379
 
+              fi
113380
 
+            fi
113381
 
+          fi
113382
 
+          ;;
113383
 
+      esac
113384
 
+    fi
113385
 
+    rm -fr conftest*
113386
 
+  
113387
 
+fi
113388
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
113389
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
113390
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
113391
 
+  
113392
 
+
113393
 
+
113394
 
+  
113395
 
+  
113396
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
113397
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
113398
 
+if ${gt_cv_locale_fr+:} false; then :
113399
 
+  $as_echo_n "(cached) " >&6
113400
 
+else
113401
 
+  
113402
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
113403
 
+/* end confdefs.h.  */
113404
 
+
113405
 
+#include <locale.h>
113406
 
+#include <time.h>
113407
 
+#if HAVE_LANGINFO_CODESET
113408
 
+# include <langinfo.h>
113409
 
+#endif
113410
 
+#include <stdlib.h>
113411
 
+#include <string.h>
113412
 
+struct tm t;
113413
 
+char buf[16];
113414
 
+int main () {
113415
 
+  /* Check whether the given locale name is recognized by the system.  */
113416
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
113417
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
113418
 
+     not at the environment variables.  Also, when an encoding suffix such
113419
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
113420
 
+     category of the locale to "C".  */
113421
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
113422
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
113423
 
+    return 1;
113424
 
+#else
113425
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
113426
 
+#endif
113427
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
113428
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
113429
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
113430
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
113431
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
113432
 
+     some unit tests fail.
113433
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
113434
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
113435
 
+#if HAVE_LANGINFO_CODESET
113436
 
+  {
113437
 
+    const char *cs = nl_langinfo (CODESET);
113438
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
113439
 
+        || strcmp (cs, "UTF-8") == 0)
113440
 
+      return 1;
113441
 
+  }
113442
 
+#endif
113443
 
+#ifdef __CYGWIN__
113444
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
113445
 
+     locale_charset() function relies on the encoding suffix.  Note that
113446
 
+     LC_ALL is set on the command line.  */
113447
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
113448
 
+#endif
113449
 
+  /* Check whether in the abbreviation of the second month, the second
113450
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
113451
 
+     one byte long. This excludes the UTF-8 encoding.  */
113452
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
113453
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
113454
 
+  /* Check whether the decimal separator is a comma.
113455
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
113456
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
113457
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
113458
 
+  return 0;
113459
 
+}
113460
 
+      
113461
 
+_ACEOF
113462
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
113463
 
+  (eval $ac_link) 2>&5
113464
 
+  ac_status=$?
113465
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
113466
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
113467
 
+      case "$host_os" in
113468
 
+        # Handle native Windows specially, because there setlocale() interprets
113469
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
113470
 
+        # "fr" or "fra" as "French" or "French_France.1252",
113471
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
113472
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
113473
 
+        # and similar.
113474
 
+        mingw*)
113475
 
+          # Test for the native Win32 locale name.
113476
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113477
 
+            gt_cv_locale_fr=French_France.1252
113478
 
+          else
113479
 
+            # None found.
113480
 
+            gt_cv_locale_fr=none
113481
 
+          fi
113482
 
+          ;;
113483
 
+        *)
113484
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
113485
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
113486
 
+          # configure script would override the LC_ALL setting. Likewise for
113487
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
113488
 
+          # Test for the usual locale name.
113489
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113490
 
+            gt_cv_locale_fr=fr_FR
113491
 
+          else
113492
 
+            # Test for the locale name with explicit encoding suffix.
113493
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113494
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
113495
 
+            else
113496
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
113497
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113498
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
113499
 
+              else
113500
 
+                # Test for the HP-UX locale name.
113501
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113502
 
+                  gt_cv_locale_fr=fr_FR.iso88591
113503
 
+                else
113504
 
+                  # Test for the Solaris 7 locale name.
113505
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113506
 
+                    gt_cv_locale_fr=fr
113507
 
+                  else
113508
 
+                    # None found.
113509
 
+                    gt_cv_locale_fr=none
113510
 
+                  fi
113511
 
+                fi
113512
 
+              fi
113513
 
+            fi
113514
 
+          fi
113515
 
+          ;;
113516
 
+      esac
113517
 
+    fi
113518
 
+    rm -fr conftest*
113519
 
+  
113520
 
+fi
113521
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
113522
 
+$as_echo "$gt_cv_locale_fr" >&6; }
113523
 
+  LOCALE_FR=$gt_cv_locale_fr
113524
 
+  
113525
 
+
113526
 
+
113527
 
+  
113528
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
113529
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
113530
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
113531
 
+  $as_echo_n "(cached) " >&6
113532
 
+else
113533
 
+  
113534
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
113535
 
+/* end confdefs.h.  */
113536
 
+
113537
 
+#include <locale.h>
113538
 
+#include <time.h>
113539
 
+#if HAVE_LANGINFO_CODESET
113540
 
+# include <langinfo.h>
113541
 
+#endif
113542
 
+#include <stdlib.h>
113543
 
+#include <string.h>
113544
 
+struct tm t;
113545
 
+char buf[16];
113546
 
+int main () {
113547
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
113548
 
+     imitates locale dependent behaviour by looking at the environment
113549
 
+     variables, and all locales use the UTF-8 encoding.  */
113550
 
+#if !(defined __BEOS__ || defined __HAIKU__)
113551
 
+  /* Check whether the given locale name is recognized by the system.  */
113552
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
113553
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
113554
 
+     not at the environment variables.  Also, when an encoding suffix such
113555
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
113556
 
+     category of the locale to "C".  */
113557
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
113558
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
113559
 
+    return 1;
113560
 
+# else
113561
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
113562
 
+# endif
113563
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
113564
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
113565
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
113566
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
113567
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
113568
 
+     some unit tests fail.  */
113569
 
+# if HAVE_LANGINFO_CODESET
113570
 
+  {
113571
 
+    const char *cs = nl_langinfo (CODESET);
113572
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
113573
 
+      return 1;
113574
 
+  }
113575
 
+# endif
113576
 
+# ifdef __CYGWIN__
113577
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
113578
 
+     locale_charset() function relies on the encoding suffix.  Note that
113579
 
+     LC_ALL is set on the command line.  */
113580
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
113581
 
+# endif
113582
 
+  /* Check whether in the abbreviation of the second month, the second
113583
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
113584
 
+     two bytes long, with UTF-8 encoding.  */
113585
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
113586
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
113587
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
113588
 
+    return 1;
113589
 
+#endif
113590
 
+  /* Check whether the decimal separator is a comma.
113591
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
113592
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
113593
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
113594
 
+  return 0;
113595
 
+}
113596
 
+      
113597
 
+_ACEOF
113598
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
113599
 
+  (eval $ac_link) 2>&5
113600
 
+  ac_status=$?
113601
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
113602
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
113603
 
+      case "$host_os" in
113604
 
+        # Handle native Windows specially, because there setlocale() interprets
113605
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
113606
 
+        # "fr" or "fra" as "French" or "French_France.1252",
113607
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
113608
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
113609
 
+        # and similar.
113610
 
+        mingw*)
113611
 
+          # Test for the hypothetical native Win32 locale name.
113612
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113613
 
+            gt_cv_locale_fr_utf8=French_France.65001
113614
 
+          else
113615
 
+            # None found.
113616
 
+            gt_cv_locale_fr_utf8=none
113617
 
+          fi
113618
 
+          ;;
113619
 
+        *)
113620
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
113621
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
113622
 
+          # configure script would override the LC_ALL setting. Likewise for
113623
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
113624
 
+          # Test for the usual locale name.
113625
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113626
 
+            gt_cv_locale_fr_utf8=fr_FR
113627
 
+          else
113628
 
+            # Test for the locale name with explicit encoding suffix.
113629
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113630
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
113631
 
+            else
113632
 
+              # Test for the Solaris 7 locale name.
113633
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113634
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
113635
 
+              else
113636
 
+                # None found.
113637
 
+                gt_cv_locale_fr_utf8=none
113638
 
+              fi
113639
 
+            fi
113640
 
+          fi
113641
 
+          ;;
113642
 
+      esac
113643
 
+    fi
113644
 
+    rm -fr conftest*
113645
 
+  
113646
 
+fi
113647
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
113648
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
113649
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
113650
 
+  
113651
 
+
113652
 
+
113653
 
+  
113654
 
+  
113655
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
113656
 
+$as_echo_n "checking for a traditional japanese locale... " >&6; }
113657
 
+if ${gt_cv_locale_ja+:} false; then :
113658
 
+  $as_echo_n "(cached) " >&6
113659
 
+else
113660
 
+  
113661
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
113662
 
+/* end confdefs.h.  */
113663
 
+
113664
 
+#include <locale.h>
113665
 
+#include <time.h>
113666
 
+#if HAVE_LANGINFO_CODESET
113667
 
+# include <langinfo.h>
113668
 
+#endif
113669
 
+#include <stdlib.h>
113670
 
+#include <string.h>
113671
 
+struct tm t;
113672
 
+char buf[16];
113673
 
+int main ()
113674
 
+{
113675
 
+  const char *p;
113676
 
+  /* Check whether the given locale name is recognized by the system.  */
113677
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
113678
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
113679
 
+     not at the environment variables.  Also, when an encoding suffix such
113680
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
113681
 
+     category of the locale to "C".  */
113682
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
113683
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
113684
 
+    return 1;
113685
 
+#else
113686
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
113687
 
+#endif
113688
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
113689
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
113690
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
113691
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
113692
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
113693
 
+     some unit tests fail.
113694
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
113695
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
113696
 
+#if HAVE_LANGINFO_CODESET
113697
 
+  {
113698
 
+    const char *cs = nl_langinfo (CODESET);
113699
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
113700
 
+        || strcmp (cs, "UTF-8") == 0)
113701
 
+      return 1;
113702
 
+  }
113703
 
+#endif
113704
 
+#ifdef __CYGWIN__
113705
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
113706
 
+     locale_charset() function relies on the encoding suffix.  Note that
113707
 
+     LC_ALL is set on the command line.  */
113708
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
113709
 
+#endif
113710
 
+  /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
113711
 
+     on Cygwin 1.5.x.  */
113712
 
+  if (MB_CUR_MAX == 1)
113713
 
+    return 1;
113714
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
113715
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
113716
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
113717
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
113718
 
+  for (p = buf; *p != '\0'; p++)
113719
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
113720
 
+      return 1;
113721
 
+  return 0;
113722
 
+}
113723
 
+      
113724
 
+_ACEOF
113725
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
113726
 
+  (eval $ac_link) 2>&5
113727
 
+  ac_status=$?
113728
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
113729
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
113730
 
+      case "$host_os" in
113731
 
+        # Handle native Windows specially, because there setlocale() interprets
113732
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
113733
 
+        # "fr" or "fra" as "French" or "French_France.1252",
113734
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
113735
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
113736
 
+        # and similar.
113737
 
+        mingw*)
113738
 
+          # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
113739
 
+          # and CP932 is very different from EUC-JP, so we cannot use it here.
113740
 
+          gt_cv_locale_ja=none
113741
 
+          ;;
113742
 
+        *)
113743
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
113744
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
113745
 
+          # configure script would override the LC_ALL setting. Likewise for
113746
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
113747
 
+          # Test for the AIX locale name.
113748
 
+          if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113749
 
+            gt_cv_locale_ja=ja_JP
113750
 
+          else
113751
 
+            # Test for the locale name with explicit encoding suffix.
113752
 
+            if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113753
 
+              gt_cv_locale_ja=ja_JP.EUC-JP
113754
 
+            else
113755
 
+              # Test for the HP-UX, OSF/1, NetBSD locale name.
113756
 
+              if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113757
 
+                gt_cv_locale_ja=ja_JP.eucJP
113758
 
+              else
113759
 
+                # Test for the IRIX, FreeBSD locale name.
113760
 
+                if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113761
 
+                  gt_cv_locale_ja=ja_JP.EUC
113762
 
+                else
113763
 
+                  # Test for the Solaris 7 locale name.
113764
 
+                  if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113765
 
+                    gt_cv_locale_ja=ja
113766
 
+                  else
113767
 
+                    # Special test for NetBSD 1.6.
113768
 
+                    if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
113769
 
+                      gt_cv_locale_ja=ja_JP.eucJP
113770
 
+                    else
113771
 
+                      # None found.
113772
 
+                      gt_cv_locale_ja=none
113773
 
+                    fi
113774
 
+                  fi
113775
 
+                fi
113776
 
+              fi
113777
 
+            fi
113778
 
+          fi
113779
 
+          ;;
113780
 
+      esac
113781
 
+    fi
113782
 
+    rm -fr conftest*
113783
 
+  
113784
 
+fi
113785
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
113786
 
+$as_echo "$gt_cv_locale_ja" >&6; }
113787
 
+  LOCALE_JA=$gt_cv_locale_ja
113788
 
+  
113789
 
+
113790
 
+
113791
 
+  
113792
 
+  
113793
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
113794
 
+$as_echo_n "checking for a transitional chinese locale... " >&6; }
113795
 
+if ${gt_cv_locale_zh_CN+:} false; then :
113796
 
+  $as_echo_n "(cached) " >&6
113797
 
+else
113798
 
+  
113799
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
113800
 
+/* end confdefs.h.  */
113801
 
+
113802
 
+#include <locale.h>
113803
 
+#include <stdlib.h>
113804
 
+#include <time.h>
113805
 
+#if HAVE_LANGINFO_CODESET
113806
 
+# include <langinfo.h>
113807
 
+#endif
113808
 
+#include <stdlib.h>
113809
 
+#include <string.h>
113810
 
+struct tm t;
113811
 
+char buf[16];
113812
 
+int main ()
113813
 
+{
113814
 
+  const char *p;
113815
 
+  /* Check whether the given locale name is recognized by the system.  */
113816
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
113817
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
113818
 
+     not at the environment variables.  Also, when an encoding suffix such
113819
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
113820
 
+     category of the locale to "C".  */
113821
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
113822
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
113823
 
+    return 1;
113824
 
+#else
113825
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
113826
 
+#endif
113827
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
113828
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
113829
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
113830
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
113831
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
113832
 
+     some unit tests fail.
113833
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
113834
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
113835
 
+#if HAVE_LANGINFO_CODESET
113836
 
+  {
113837
 
+    const char *cs = nl_langinfo (CODESET);
113838
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
113839
 
+        || strcmp (cs, "UTF-8") == 0)
113840
 
+      return 1;
113841
 
+  }
113842
 
+#endif
113843
 
+#ifdef __CYGWIN__
113844
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
113845
 
+     locale_charset() function relies on the encoding suffix.  Note that
113846
 
+     LC_ALL is set on the command line.  */
113847
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
113848
 
+#endif
113849
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
113850
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
113851
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
113852
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
113853
 
+  for (p = buf; *p != '\0'; p++)
113854
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
113855
 
+      return 1;
113856
 
+  /* Check whether a typical GB18030 multibyte sequence is recognized as a
113857
 
+     single wide character.  This excludes the GB2312 and GBK encodings.  */
113858
 
+  if (mblen ("\203\062\332\066", 5) != 4)
113859
 
+    return 1;
113860
 
+  return 0;
113861
 
+}
113862
 
+      
113863
 
+_ACEOF
113864
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
113865
 
+  (eval $ac_link) 2>&5
113866
 
+  ac_status=$?
113867
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
113868
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
113869
 
+      case "$host_os" in
113870
 
+        # Handle native Windows specially, because there setlocale() interprets
113871
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
113872
 
+        # "fr" or "fra" as "French" or "French_France.1252",
113873
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
113874
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
113875
 
+        # and similar.
113876
 
+        mingw*)
113877
 
+          # Test for the hypothetical native Win32 locale name.
113878
 
+          if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113879
 
+            gt_cv_locale_zh_CN=Chinese_China.54936
113880
 
+          else
113881
 
+            # None found.
113882
 
+            gt_cv_locale_zh_CN=none
113883
 
+          fi
113884
 
+          ;;
113885
 
+        solaris2.8)
113886
 
+          # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
113887
 
+          # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
113888
 
+          # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
113889
 
+          gt_cv_locale_zh_CN=none
113890
 
+          ;;
113891
 
+        *)
113892
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
113893
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
113894
 
+          # configure script would override the LC_ALL setting. Likewise for
113895
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
113896
 
+          # Test for the locale name without encoding suffix.
113897
 
+          if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113898
 
+            gt_cv_locale_zh_CN=zh_CN
113899
 
+          else
113900
 
+            # Test for the locale name with explicit encoding suffix.
113901
 
+            if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
113902
 
+              gt_cv_locale_zh_CN=zh_CN.GB18030
113903
 
+            else
113904
 
+              # None found.
113905
 
+              gt_cv_locale_zh_CN=none
113906
 
+            fi
113907
 
+          fi
113908
 
+          ;;
113909
 
+      esac
113910
 
+    else
113911
 
+      # If there was a link error, due to mblen(), the system is so old that
113912
 
+      # it certainly doesn't have a chinese locale.
113913
 
+      gt_cv_locale_zh_CN=none
113914
 
+    fi
113915
 
+    rm -fr conftest*
113916
 
+  
113917
 
+fi
113918
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
113919
 
+$as_echo "$gt_cv_locale_zh_CN" >&6; }
113920
 
+  LOCALE_ZH_CN=$gt_cv_locale_zh_CN
113921
 
+  
113922
 
+
113923
 
+
113924
 
+  
113925
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
113926
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
113927
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
113928
 
+  $as_echo_n "(cached) " >&6
113929
 
+else
113930
 
+  
113931
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
113932
 
+/* end confdefs.h.  */
113933
 
+
113934
 
+#include <locale.h>
113935
 
+#include <time.h>
113936
 
+#if HAVE_LANGINFO_CODESET
113937
 
+# include <langinfo.h>
113938
 
+#endif
113939
 
+#include <stdlib.h>
113940
 
+#include <string.h>
113941
 
+struct tm t;
113942
 
+char buf[16];
113943
 
+int main () {
113944
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
113945
 
+     imitates locale dependent behaviour by looking at the environment
113946
 
+     variables, and all locales use the UTF-8 encoding.  */
113947
 
+#if !(defined __BEOS__ || defined __HAIKU__)
113948
 
+  /* Check whether the given locale name is recognized by the system.  */
113949
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
113950
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
113951
 
+     not at the environment variables.  Also, when an encoding suffix such
113952
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
113953
 
+     category of the locale to "C".  */
113954
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
113955
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
113956
 
+    return 1;
113957
 
+# else
113958
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
113959
 
+# endif
113960
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
113961
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
113962
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
113963
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
113964
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
113965
 
+     some unit tests fail.  */
113966
 
+# if HAVE_LANGINFO_CODESET
113967
 
+  {
113968
 
+    const char *cs = nl_langinfo (CODESET);
113969
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
113970
 
+      return 1;
113971
 
+  }
113972
 
+# endif
113973
 
+# ifdef __CYGWIN__
113974
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
113975
 
+     locale_charset() function relies on the encoding suffix.  Note that
113976
 
+     LC_ALL is set on the command line.  */
113977
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
113978
 
+# endif
113979
 
+  /* Check whether in the abbreviation of the second month, the second
113980
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
113981
 
+     two bytes long, with UTF-8 encoding.  */
113982
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
113983
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
113984
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
113985
 
+    return 1;
113986
 
+#endif
113987
 
+  /* Check whether the decimal separator is a comma.
113988
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
113989
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
113990
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
113991
 
+  return 0;
113992
 
+}
113993
 
+      
113994
 
+_ACEOF
113995
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
113996
 
+  (eval $ac_link) 2>&5
113997
 
+  ac_status=$?
113998
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
113999
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
114000
 
+      case "$host_os" in
114001
 
+        # Handle native Windows specially, because there setlocale() interprets
114002
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
114003
 
+        # "fr" or "fra" as "French" or "French_France.1252",
114004
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
114005
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
114006
 
+        # and similar.
114007
 
+        mingw*)
114008
 
+          # Test for the hypothetical native Win32 locale name.
114009
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114010
 
+            gt_cv_locale_fr_utf8=French_France.65001
114011
 
+          else
114012
 
+            # None found.
114013
 
+            gt_cv_locale_fr_utf8=none
114014
 
+          fi
114015
 
+          ;;
114016
 
+        *)
114017
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
114018
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
114019
 
+          # configure script would override the LC_ALL setting. Likewise for
114020
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
114021
 
+          # Test for the usual locale name.
114022
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114023
 
+            gt_cv_locale_fr_utf8=fr_FR
114024
 
+          else
114025
 
+            # Test for the locale name with explicit encoding suffix.
114026
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114027
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
114028
 
+            else
114029
 
+              # Test for the Solaris 7 locale name.
114030
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114031
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
114032
 
+              else
114033
 
+                # None found.
114034
 
+                gt_cv_locale_fr_utf8=none
114035
 
+              fi
114036
 
+            fi
114037
 
+          fi
114038
 
+          ;;
114039
 
+      esac
114040
 
+    fi
114041
 
+    rm -fr conftest*
114042
 
+  
114043
 
+fi
114044
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
114045
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
114046
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
114047
 
+  
114048
 
+
114049
 
+
114050
 
+  
114051
 
+  
114052
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
114053
 
+$as_echo_n "checking for a transitional chinese locale... " >&6; }
114054
 
+if ${gt_cv_locale_zh_CN+:} false; then :
114055
 
+  $as_echo_n "(cached) " >&6
114056
 
+else
114057
 
+  
114058
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
114059
 
+/* end confdefs.h.  */
114060
 
+
114061
 
+#include <locale.h>
114062
 
+#include <stdlib.h>
114063
 
+#include <time.h>
114064
 
+#if HAVE_LANGINFO_CODESET
114065
 
+# include <langinfo.h>
114066
 
+#endif
114067
 
+#include <stdlib.h>
114068
 
+#include <string.h>
114069
 
+struct tm t;
114070
 
+char buf[16];
114071
 
+int main ()
114072
 
+{
114073
 
+  const char *p;
114074
 
+  /* Check whether the given locale name is recognized by the system.  */
114075
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
114076
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
114077
 
+     not at the environment variables.  Also, when an encoding suffix such
114078
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
114079
 
+     category of the locale to "C".  */
114080
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
114081
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
114082
 
+    return 1;
114083
 
+#else
114084
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
114085
 
+#endif
114086
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
114087
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
114088
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
114089
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
114090
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
114091
 
+     some unit tests fail.
114092
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
114093
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
114094
 
+#if HAVE_LANGINFO_CODESET
114095
 
+  {
114096
 
+    const char *cs = nl_langinfo (CODESET);
114097
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
114098
 
+        || strcmp (cs, "UTF-8") == 0)
114099
 
+      return 1;
114100
 
+  }
114101
 
+#endif
114102
 
+#ifdef __CYGWIN__
114103
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
114104
 
+     locale_charset() function relies on the encoding suffix.  Note that
114105
 
+     LC_ALL is set on the command line.  */
114106
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
114107
 
+#endif
114108
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
114109
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
114110
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
114111
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
114112
 
+  for (p = buf; *p != '\0'; p++)
114113
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
114114
 
+      return 1;
114115
 
+  /* Check whether a typical GB18030 multibyte sequence is recognized as a
114116
 
+     single wide character.  This excludes the GB2312 and GBK encodings.  */
114117
 
+  if (mblen ("\203\062\332\066", 5) != 4)
114118
 
+    return 1;
114119
 
+  return 0;
114120
 
+}
114121
 
+      
114122
 
+_ACEOF
114123
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
114124
 
+  (eval $ac_link) 2>&5
114125
 
+  ac_status=$?
114126
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
114127
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
114128
 
+      case "$host_os" in
114129
 
+        # Handle native Windows specially, because there setlocale() interprets
114130
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
114131
 
+        # "fr" or "fra" as "French" or "French_France.1252",
114132
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
114133
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
114134
 
+        # and similar.
114135
 
+        mingw*)
114136
 
+          # Test for the hypothetical native Win32 locale name.
114137
 
+          if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114138
 
+            gt_cv_locale_zh_CN=Chinese_China.54936
114139
 
+          else
114140
 
+            # None found.
114141
 
+            gt_cv_locale_zh_CN=none
114142
 
+          fi
114143
 
+          ;;
114144
 
+        solaris2.8)
114145
 
+          # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
114146
 
+          # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
114147
 
+          # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
114148
 
+          gt_cv_locale_zh_CN=none
114149
 
+          ;;
114150
 
+        *)
114151
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
114152
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
114153
 
+          # configure script would override the LC_ALL setting. Likewise for
114154
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
114155
 
+          # Test for the locale name without encoding suffix.
114156
 
+          if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114157
 
+            gt_cv_locale_zh_CN=zh_CN
114158
 
+          else
114159
 
+            # Test for the locale name with explicit encoding suffix.
114160
 
+            if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114161
 
+              gt_cv_locale_zh_CN=zh_CN.GB18030
114162
 
+            else
114163
 
+              # None found.
114164
 
+              gt_cv_locale_zh_CN=none
114165
 
+            fi
114166
 
+          fi
114167
 
+          ;;
114168
 
+      esac
114169
 
+    else
114170
 
+      # If there was a link error, due to mblen(), the system is so old that
114171
 
+      # it certainly doesn't have a chinese locale.
114172
 
+      gt_cv_locale_zh_CN=none
114173
 
+    fi
114174
 
+    rm -fr conftest*
114175
 
+  
114176
 
+fi
114177
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
114178
 
+$as_echo "$gt_cv_locale_zh_CN" >&6; }
114179
 
+  LOCALE_ZH_CN=$gt_cv_locale_zh_CN
114180
 
+  
114181
 
+
114182
 
+
114183
 
+    
114184
 
+
114185
 
+  # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
114186
 
+  # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
114187
 
+  # irrelevant for anonymous mappings.
114188
 
+  ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
114189
 
+if test "x$ac_cv_func_mmap" = xyes; then :
114190
 
+  gl_have_mmap=yes
114191
 
+else
114192
 
+  gl_have_mmap=no
114193
 
+fi
114194
 
+
114195
 
+
114196
 
+  # Try to allow MAP_ANONYMOUS.
114197
 
+  gl_have_mmap_anonymous=no
114198
 
+  if test $gl_have_mmap = yes; then
114199
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
114200
 
+$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
114201
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
114202
 
+/* end confdefs.h.  */
114203
 
+
114204
 
+#include <sys/mman.h>
114205
 
+#ifdef MAP_ANONYMOUS
114206
 
+    I cant identify this map
114207
 
+#endif
114208
 
+
114209
 
+_ACEOF
114210
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
114211
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
114212
 
+  gl_have_mmap_anonymous=yes
114213
 
+fi
114214
 
+rm -f conftest*
114215
 
+
114216
 
+    if test $gl_have_mmap_anonymous != yes; then
114217
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
114218
 
+/* end confdefs.h.  */
114219
 
+
114220
 
+#include <sys/mman.h>
114221
 
+#ifdef MAP_ANON
114222
 
+    I cant identify this map
114223
 
+#endif
114224
 
+
114225
 
+_ACEOF
114226
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
114227
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
114228
 
+  
114229
 
+$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
114230
 
+
114231
 
+         gl_have_mmap_anonymous=yes
114232
 
+fi
114233
 
+rm -f conftest*
114234
 
+
114235
 
+    fi
114236
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
114237
 
+$as_echo "$gl_have_mmap_anonymous" >&6; }
114238
 
+    if test $gl_have_mmap_anonymous = yes; then
114239
 
+      
114240
 
+$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
114241
 
+
114242
 
+    fi
114243
 
+  fi
114244
 
+
114245
 
+
114246
 
+
114247
 
+
114248
 
+    
114249
 
+
114250
 
+  # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
114251
 
+  # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
114252
 
+  # irrelevant for anonymous mappings.
114253
 
+  ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
114254
 
+if test "x$ac_cv_func_mmap" = xyes; then :
114255
 
+  gl_have_mmap=yes
114256
 
+else
114257
 
+  gl_have_mmap=no
114258
 
+fi
114259
 
+
114260
 
+
114261
 
+  # Try to allow MAP_ANONYMOUS.
114262
 
+  gl_have_mmap_anonymous=no
114263
 
+  if test $gl_have_mmap = yes; then
114264
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
114265
 
+$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
114266
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
114267
 
+/* end confdefs.h.  */
114268
 
+
114269
 
+#include <sys/mman.h>
114270
 
+#ifdef MAP_ANONYMOUS
114271
 
+    I cant identify this map
114272
 
+#endif
114273
 
+
114274
 
+_ACEOF
114275
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
114276
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
114277
 
+  gl_have_mmap_anonymous=yes
114278
 
+fi
114279
 
+rm -f conftest*
114280
 
+
114281
 
+    if test $gl_have_mmap_anonymous != yes; then
114282
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
114283
 
+/* end confdefs.h.  */
114284
 
+
114285
 
+#include <sys/mman.h>
114286
 
+#ifdef MAP_ANON
114287
 
+    I cant identify this map
114288
 
+#endif
114289
 
+
114290
 
+_ACEOF
114291
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
114292
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
114293
 
+  
114294
 
+$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
114295
 
+
114296
 
+         gl_have_mmap_anonymous=yes
114297
 
+fi
114298
 
+rm -f conftest*
114299
 
+
114300
 
+    fi
114301
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
114302
 
+$as_echo "$gl_have_mmap_anonymous" >&6; }
114303
 
+    if test $gl_have_mmap_anonymous = yes; then
114304
 
+      
114305
 
+$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
114306
 
+
114307
 
+    fi
114308
 
+  fi
114309
 
+
114310
 
+
114311
 
+
114312
 
+
114313
 
+    
114314
 
+
114315
 
+  # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
114316
 
+  # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
114317
 
+  # irrelevant for anonymous mappings.
114318
 
+  ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
114319
 
+if test "x$ac_cv_func_mmap" = xyes; then :
114320
 
+  gl_have_mmap=yes
114321
 
+else
114322
 
+  gl_have_mmap=no
114323
 
+fi
114324
 
+
114325
 
+
114326
 
+  # Try to allow MAP_ANONYMOUS.
114327
 
+  gl_have_mmap_anonymous=no
114328
 
+  if test $gl_have_mmap = yes; then
114329
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
114330
 
+$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
114331
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
114332
 
+/* end confdefs.h.  */
114333
 
+
114334
 
+#include <sys/mman.h>
114335
 
+#ifdef MAP_ANONYMOUS
114336
 
+    I cant identify this map
114337
 
+#endif
114338
 
+
114339
 
+_ACEOF
114340
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
114341
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
114342
 
+  gl_have_mmap_anonymous=yes
114343
 
+fi
114344
 
+rm -f conftest*
114345
 
+
114346
 
+    if test $gl_have_mmap_anonymous != yes; then
114347
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
114348
 
+/* end confdefs.h.  */
114349
 
+
114350
 
+#include <sys/mman.h>
114351
 
+#ifdef MAP_ANON
114352
 
+    I cant identify this map
114353
 
+#endif
114354
 
+
114355
 
+_ACEOF
114356
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
114357
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
114358
 
+  
114359
 
+$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
114360
 
+
114361
 
+         gl_have_mmap_anonymous=yes
114362
 
+fi
114363
 
+rm -f conftest*
114364
 
+
114365
 
+    fi
114366
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
114367
 
+$as_echo "$gl_have_mmap_anonymous" >&6; }
114368
 
+    if test $gl_have_mmap_anonymous = yes; then
114369
 
+      
114370
 
+$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
114371
 
+
114372
 
+    fi
114373
 
+  fi
114374
 
+
114375
 
+
114376
 
+
114377
 
+
114378
 
+    
114379
 
+
114380
 
+  # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
114381
 
+  # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
114382
 
+  # irrelevant for anonymous mappings.
114383
 
+  ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
114384
 
+if test "x$ac_cv_func_mmap" = xyes; then :
114385
 
+  gl_have_mmap=yes
114386
 
+else
114387
 
+  gl_have_mmap=no
114388
 
+fi
114389
 
+
114390
 
+
114391
 
+  # Try to allow MAP_ANONYMOUS.
114392
 
+  gl_have_mmap_anonymous=no
114393
 
+  if test $gl_have_mmap = yes; then
114394
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
114395
 
+$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
114396
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
114397
 
+/* end confdefs.h.  */
114398
 
+
114399
 
+#include <sys/mman.h>
114400
 
+#ifdef MAP_ANONYMOUS
114401
 
+    I cant identify this map
114402
 
+#endif
114403
 
+
114404
 
+_ACEOF
114405
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
114406
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
114407
 
+  gl_have_mmap_anonymous=yes
114408
 
+fi
114409
 
+rm -f conftest*
114410
 
+
114411
 
+    if test $gl_have_mmap_anonymous != yes; then
114412
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
114413
 
+/* end confdefs.h.  */
114414
 
+
114415
 
+#include <sys/mman.h>
114416
 
+#ifdef MAP_ANON
114417
 
+    I cant identify this map
114418
 
+#endif
114419
 
+
114420
 
+_ACEOF
114421
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
114422
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
114423
 
+  
114424
 
+$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
114425
 
+
114426
 
+         gl_have_mmap_anonymous=yes
114427
 
+fi
114428
 
+rm -f conftest*
114429
 
+
114430
 
+    fi
114431
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
114432
 
+$as_echo "$gl_have_mmap_anonymous" >&6; }
114433
 
+    if test $gl_have_mmap_anonymous = yes; then
114434
 
+      
114435
 
+$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
114436
 
+
114437
 
+    fi
114438
 
+  fi
114439
 
+
114440
 
+
114441
 
+
114442
 
+
114443
 
+
114444
 
+  
114445
 
+  
114446
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
114447
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
114448
 
+if ${gt_cv_locale_fr+:} false; then :
114449
 
+  $as_echo_n "(cached) " >&6
114450
 
+else
114451
 
+  
114452
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
114453
 
+/* end confdefs.h.  */
114454
 
+
114455
 
+#include <locale.h>
114456
 
+#include <time.h>
114457
 
+#if HAVE_LANGINFO_CODESET
114458
 
+# include <langinfo.h>
114459
 
+#endif
114460
 
+#include <stdlib.h>
114461
 
+#include <string.h>
114462
 
+struct tm t;
114463
 
+char buf[16];
114464
 
+int main () {
114465
 
+  /* Check whether the given locale name is recognized by the system.  */
114466
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
114467
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
114468
 
+     not at the environment variables.  Also, when an encoding suffix such
114469
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
114470
 
+     category of the locale to "C".  */
114471
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
114472
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
114473
 
+    return 1;
114474
 
+#else
114475
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
114476
 
+#endif
114477
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
114478
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
114479
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
114480
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
114481
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
114482
 
+     some unit tests fail.
114483
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
114484
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
114485
 
+#if HAVE_LANGINFO_CODESET
114486
 
+  {
114487
 
+    const char *cs = nl_langinfo (CODESET);
114488
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
114489
 
+        || strcmp (cs, "UTF-8") == 0)
114490
 
+      return 1;
114491
 
+  }
114492
 
+#endif
114493
 
+#ifdef __CYGWIN__
114494
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
114495
 
+     locale_charset() function relies on the encoding suffix.  Note that
114496
 
+     LC_ALL is set on the command line.  */
114497
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
114498
 
+#endif
114499
 
+  /* Check whether in the abbreviation of the second month, the second
114500
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
114501
 
+     one byte long. This excludes the UTF-8 encoding.  */
114502
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
114503
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
114504
 
+  /* Check whether the decimal separator is a comma.
114505
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
114506
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
114507
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
114508
 
+  return 0;
114509
 
+}
114510
 
+      
114511
 
+_ACEOF
114512
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
114513
 
+  (eval $ac_link) 2>&5
114514
 
+  ac_status=$?
114515
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
114516
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
114517
 
+      case "$host_os" in
114518
 
+        # Handle native Windows specially, because there setlocale() interprets
114519
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
114520
 
+        # "fr" or "fra" as "French" or "French_France.1252",
114521
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
114522
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
114523
 
+        # and similar.
114524
 
+        mingw*)
114525
 
+          # Test for the native Win32 locale name.
114526
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114527
 
+            gt_cv_locale_fr=French_France.1252
114528
 
+          else
114529
 
+            # None found.
114530
 
+            gt_cv_locale_fr=none
114531
 
+          fi
114532
 
+          ;;
114533
 
+        *)
114534
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
114535
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
114536
 
+          # configure script would override the LC_ALL setting. Likewise for
114537
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
114538
 
+          # Test for the usual locale name.
114539
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114540
 
+            gt_cv_locale_fr=fr_FR
114541
 
+          else
114542
 
+            # Test for the locale name with explicit encoding suffix.
114543
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114544
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
114545
 
+            else
114546
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
114547
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114548
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
114549
 
+              else
114550
 
+                # Test for the HP-UX locale name.
114551
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114552
 
+                  gt_cv_locale_fr=fr_FR.iso88591
114553
 
+                else
114554
 
+                  # Test for the Solaris 7 locale name.
114555
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114556
 
+                    gt_cv_locale_fr=fr
114557
 
+                  else
114558
 
+                    # None found.
114559
 
+                    gt_cv_locale_fr=none
114560
 
+                  fi
114561
 
+                fi
114562
 
+              fi
114563
 
+            fi
114564
 
+          fi
114565
 
+          ;;
114566
 
+      esac
114567
 
+    fi
114568
 
+    rm -fr conftest*
114569
 
+  
114570
 
+fi
114571
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
114572
 
+$as_echo "$gt_cv_locale_fr" >&6; }
114573
 
+  LOCALE_FR=$gt_cv_locale_fr
114574
 
+  
114575
 
+
114576
 
+
114577
 
+  
114578
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
114579
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
114580
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
114581
 
+  $as_echo_n "(cached) " >&6
114582
 
+else
114583
 
+  
114584
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
114585
 
+/* end confdefs.h.  */
114586
 
+
114587
 
+#include <locale.h>
114588
 
+#include <time.h>
114589
 
+#if HAVE_LANGINFO_CODESET
114590
 
+# include <langinfo.h>
114591
 
+#endif
114592
 
+#include <stdlib.h>
114593
 
+#include <string.h>
114594
 
+struct tm t;
114595
 
+char buf[16];
114596
 
+int main () {
114597
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
114598
 
+     imitates locale dependent behaviour by looking at the environment
114599
 
+     variables, and all locales use the UTF-8 encoding.  */
114600
 
+#if !(defined __BEOS__ || defined __HAIKU__)
114601
 
+  /* Check whether the given locale name is recognized by the system.  */
114602
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
114603
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
114604
 
+     not at the environment variables.  Also, when an encoding suffix such
114605
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
114606
 
+     category of the locale to "C".  */
114607
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
114608
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
114609
 
+    return 1;
114610
 
+# else
114611
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
114612
 
+# endif
114613
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
114614
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
114615
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
114616
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
114617
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
114618
 
+     some unit tests fail.  */
114619
 
+# if HAVE_LANGINFO_CODESET
114620
 
+  {
114621
 
+    const char *cs = nl_langinfo (CODESET);
114622
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
114623
 
+      return 1;
114624
 
+  }
114625
 
+# endif
114626
 
+# ifdef __CYGWIN__
114627
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
114628
 
+     locale_charset() function relies on the encoding suffix.  Note that
114629
 
+     LC_ALL is set on the command line.  */
114630
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
114631
 
+# endif
114632
 
+  /* Check whether in the abbreviation of the second month, the second
114633
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
114634
 
+     two bytes long, with UTF-8 encoding.  */
114635
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
114636
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
114637
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
114638
 
+    return 1;
114639
 
+#endif
114640
 
+  /* Check whether the decimal separator is a comma.
114641
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
114642
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
114643
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
114644
 
+  return 0;
114645
 
+}
114646
 
+      
114647
 
+_ACEOF
114648
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
114649
 
+  (eval $ac_link) 2>&5
114650
 
+  ac_status=$?
114651
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
114652
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
114653
 
+      case "$host_os" in
114654
 
+        # Handle native Windows specially, because there setlocale() interprets
114655
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
114656
 
+        # "fr" or "fra" as "French" or "French_France.1252",
114657
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
114658
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
114659
 
+        # and similar.
114660
 
+        mingw*)
114661
 
+          # Test for the hypothetical native Win32 locale name.
114662
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114663
 
+            gt_cv_locale_fr_utf8=French_France.65001
114664
 
+          else
114665
 
+            # None found.
114666
 
+            gt_cv_locale_fr_utf8=none
114667
 
+          fi
114668
 
+          ;;
114669
 
+        *)
114670
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
114671
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
114672
 
+          # configure script would override the LC_ALL setting. Likewise for
114673
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
114674
 
+          # Test for the usual locale name.
114675
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114676
 
+            gt_cv_locale_fr_utf8=fr_FR
114677
 
+          else
114678
 
+            # Test for the locale name with explicit encoding suffix.
114679
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114680
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
114681
 
+            else
114682
 
+              # Test for the Solaris 7 locale name.
114683
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114684
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
114685
 
+              else
114686
 
+                # None found.
114687
 
+                gt_cv_locale_fr_utf8=none
114688
 
+              fi
114689
 
+            fi
114690
 
+          fi
114691
 
+          ;;
114692
 
+      esac
114693
 
+    fi
114694
 
+    rm -fr conftest*
114695
 
+  
114696
 
+fi
114697
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
114698
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
114699
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
114700
 
+  
114701
 
+
114702
 
+
114703
 
+
114704
 
+  
114705
 
+  
114706
 
+  
114707
 
+  
114708
 
+          if test "$ERRNO_H:$REPLACE_STRERROR_0" != :0; then
114709
 
+            REPLACE_PERROR=1
114710
 
+  fi
114711
 
+  case ${gl_cv_func_strerror_r_works-unset} in
114712
 
+    unset|*yes)
114713
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether perror matches strerror" >&5
114714
 
+$as_echo_n "checking whether perror matches strerror... " >&6; }
114715
 
+if ${gl_cv_func_perror_works+:} false; then :
114716
 
+  $as_echo_n "(cached) " >&6
114717
 
+else
114718
 
+  if test "$cross_compiling" = yes; then :
114719
 
+              gl_cv_func_perror_works="guessing no"
114720
 
+else
114721
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
114722
 
+/* end confdefs.h.  */
114723
 
+#include <errno.h>
114724
 
+                #include <stdio.h>
114725
 
+              
114726
 
+int
114727
 
+main ()
114728
 
+{
114729
 
+char *str = strerror (-1);
114730
 
+                if (!getenv("CONFTEST_OUTPUT")) return 0;
114731
 
+                if (!str) str = "";
114732
 
+                puts (str);
114733
 
+                errno = -1;
114734
 
+                perror ("");
114735
 
+              
114736
 
+  ;
114737
 
+  return 0;
114738
 
+}
114739
 
+_ACEOF
114740
 
+if ac_fn_c_try_run "$LINENO"; then :
114741
 
+  CONFTEST_OUTPUT=1 ./conftest$EXEEXT >conftest.txt1 2>conftest.txt2
114742
 
+            if cmp conftest.txt1 conftest.txt2 >/dev/null; then
114743
 
+              gl_cv_func_perror_works=yes
114744
 
+            else
114745
 
+              gl_cv_func_perror_works=no
114746
 
+            fi
114747
 
+            rm -rf conftest.txt1 conftest.txt2
114748
 
+else
114749
 
+  gl_cv_func_perror_works=no
114750
 
+fi
114751
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
114752
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
114753
 
+fi
114754
 
+
114755
 
+fi
114756
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_perror_works" >&5
114757
 
+$as_echo "$gl_cv_func_perror_works" >&6; }
114758
 
+       if test "$gl_cv_func_perror_works" != yes; then
114759
 
+         REPLACE_PERROR=1
114760
 
+       fi ;;
114761
 
+    *)              REPLACE_PERROR=1 ;;
114762
 
+  esac
114763
 
+
114764
 
+if test $REPLACE_PERROR = 1; then
114765
 
+  
114766
 
+  
114767
 
+  
114768
 
+    
114769
 
+      
114770
 
+      
114771
 
+    
114772
 
+  
114773
 
+  gltests_LIBOBJS="$gltests_LIBOBJS perror.$ac_objext"
114774
 
+
114775
 
+fi
114776
 
+
114777
 
+    
114778
 
+  
114779
 
+  
114780
 
+  
114781
 
+    if test "$GNULIB_PERROR" != 1; then
114782
 
+        if test "$GNULIB_PERROR" = 0; then
114783
 
+      GNULIB_PERROR=$gl_module_indicator_condition
114784
 
+    else
114785
 
+      GNULIB_PERROR="($GNULIB_PERROR || $gl_module_indicator_condition)"
114786
 
+    fi
114787
 
+  fi
114788
 
+
114789
 
+
114790
 
+
114791
 
+    
114792
 
+  
114793
 
+$as_echo "@%:@define GNULIB_TEST_PERROR 1" >>confdefs.h
114794
 
+
114795
 
+
114796
 
+
114797
 
+
114798
 
+  
114799
 
+
114800
 
+  
114801
 
+  if test $ac_cv_func_pipe != yes; then
114802
 
+    HAVE_PIPE=0
114803
 
+  fi
114804
 
+
114805
 
+if test $HAVE_PIPE = 0; then
114806
 
+  
114807
 
+  
114808
 
+  
114809
 
+    
114810
 
+      
114811
 
+      
114812
 
+    
114813
 
+  
114814
 
+  gltests_LIBOBJS="$gltests_LIBOBJS pipe.$ac_objext"
114815
 
+
114816
 
+fi
114817
 
+
114818
 
+    
114819
 
+  
114820
 
+  
114821
 
+  
114822
 
+    if test "$GNULIB_PIPE" != 1; then
114823
 
+        if test "$GNULIB_PIPE" = 0; then
114824
 
+      GNULIB_PIPE=$gl_module_indicator_condition
114825
 
+    else
114826
 
+      GNULIB_PIPE="($GNULIB_PIPE || $gl_module_indicator_condition)"
114827
 
+    fi
114828
 
+  fi
114829
 
+
114830
 
+
114831
 
+
114832
 
+    
114833
 
+  
114834
 
+$as_echo "@%:@define GNULIB_TEST_PIPE 1" >>confdefs.h
114835
 
+
114836
 
+
114837
 
+
114838
 
+
114839
 
+
114840
 
+  
114841
 
+  
114842
 
+  case "$host_os" in
114843
 
+            mingw*) REPLACE_SETLOCALE=1 ;;
114844
 
+            cygwin*)
114845
 
+      case `uname -r` in
114846
 
+        1.5.*) REPLACE_SETLOCALE=1 ;;
114847
 
+      esac
114848
 
+      ;;
114849
 
+  esac
114850
 
+
114851
 
+if test $REPLACE_SETLOCALE = 1; then
114852
 
+  
114853
 
+  
114854
 
+  
114855
 
+    
114856
 
+      
114857
 
+      
114858
 
+    
114859
 
+  
114860
 
+  gltests_LIBOBJS="$gltests_LIBOBJS setlocale.$ac_objext"
114861
 
+
114862
 
+  
114863
 
+  :
114864
 
+
114865
 
+fi
114866
 
+
114867
 
+    
114868
 
+  
114869
 
+  
114870
 
+  
114871
 
+    if test "$GNULIB_SETLOCALE" != 1; then
114872
 
+        if test "$GNULIB_SETLOCALE" = 0; then
114873
 
+      GNULIB_SETLOCALE=$gl_module_indicator_condition
114874
 
+    else
114875
 
+      GNULIB_SETLOCALE="($GNULIB_SETLOCALE || $gl_module_indicator_condition)"
114876
 
+    fi
114877
 
+  fi
114878
 
+
114879
 
+
114880
 
+
114881
 
+    
114882
 
+  
114883
 
+$as_echo "@%:@define GNULIB_TEST_SETLOCALE 1" >>confdefs.h
114884
 
+
114885
 
+
114886
 
+
114887
 
+
114888
 
+  
114889
 
+  
114890
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
114891
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
114892
 
+if ${gt_cv_locale_fr+:} false; then :
114893
 
+  $as_echo_n "(cached) " >&6
114894
 
+else
114895
 
+  
114896
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
114897
 
+/* end confdefs.h.  */
114898
 
+
114899
 
+#include <locale.h>
114900
 
+#include <time.h>
114901
 
+#if HAVE_LANGINFO_CODESET
114902
 
+# include <langinfo.h>
114903
 
+#endif
114904
 
+#include <stdlib.h>
114905
 
+#include <string.h>
114906
 
+struct tm t;
114907
 
+char buf[16];
114908
 
+int main () {
114909
 
+  /* Check whether the given locale name is recognized by the system.  */
114910
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
114911
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
114912
 
+     not at the environment variables.  Also, when an encoding suffix such
114913
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
114914
 
+     category of the locale to "C".  */
114915
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
114916
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
114917
 
+    return 1;
114918
 
+#else
114919
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
114920
 
+#endif
114921
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
114922
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
114923
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
114924
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
114925
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
114926
 
+     some unit tests fail.
114927
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
114928
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
114929
 
+#if HAVE_LANGINFO_CODESET
114930
 
+  {
114931
 
+    const char *cs = nl_langinfo (CODESET);
114932
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
114933
 
+        || strcmp (cs, "UTF-8") == 0)
114934
 
+      return 1;
114935
 
+  }
114936
 
+#endif
114937
 
+#ifdef __CYGWIN__
114938
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
114939
 
+     locale_charset() function relies on the encoding suffix.  Note that
114940
 
+     LC_ALL is set on the command line.  */
114941
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
114942
 
+#endif
114943
 
+  /* Check whether in the abbreviation of the second month, the second
114944
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
114945
 
+     one byte long. This excludes the UTF-8 encoding.  */
114946
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
114947
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
114948
 
+  /* Check whether the decimal separator is a comma.
114949
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
114950
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
114951
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
114952
 
+  return 0;
114953
 
+}
114954
 
+      
114955
 
+_ACEOF
114956
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
114957
 
+  (eval $ac_link) 2>&5
114958
 
+  ac_status=$?
114959
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
114960
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
114961
 
+      case "$host_os" in
114962
 
+        # Handle native Windows specially, because there setlocale() interprets
114963
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
114964
 
+        # "fr" or "fra" as "French" or "French_France.1252",
114965
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
114966
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
114967
 
+        # and similar.
114968
 
+        mingw*)
114969
 
+          # Test for the native Win32 locale name.
114970
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114971
 
+            gt_cv_locale_fr=French_France.1252
114972
 
+          else
114973
 
+            # None found.
114974
 
+            gt_cv_locale_fr=none
114975
 
+          fi
114976
 
+          ;;
114977
 
+        *)
114978
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
114979
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
114980
 
+          # configure script would override the LC_ALL setting. Likewise for
114981
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
114982
 
+          # Test for the usual locale name.
114983
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114984
 
+            gt_cv_locale_fr=fr_FR
114985
 
+          else
114986
 
+            # Test for the locale name with explicit encoding suffix.
114987
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114988
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
114989
 
+            else
114990
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
114991
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114992
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
114993
 
+              else
114994
 
+                # Test for the HP-UX locale name.
114995
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
114996
 
+                  gt_cv_locale_fr=fr_FR.iso88591
114997
 
+                else
114998
 
+                  # Test for the Solaris 7 locale name.
114999
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
115000
 
+                    gt_cv_locale_fr=fr
115001
 
+                  else
115002
 
+                    # None found.
115003
 
+                    gt_cv_locale_fr=none
115004
 
+                  fi
115005
 
+                fi
115006
 
+              fi
115007
 
+            fi
115008
 
+          fi
115009
 
+          ;;
115010
 
+      esac
115011
 
+    fi
115012
 
+    rm -fr conftest*
115013
 
+  
115014
 
+fi
115015
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
115016
 
+$as_echo "$gt_cv_locale_fr" >&6; }
115017
 
+  LOCALE_FR=$gt_cv_locale_fr
115018
 
+  
115019
 
+
115020
 
+
115021
 
+  
115022
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
115023
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
115024
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
115025
 
+  $as_echo_n "(cached) " >&6
115026
 
+else
115027
 
+  
115028
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
115029
 
+/* end confdefs.h.  */
115030
 
+
115031
 
+#include <locale.h>
115032
 
+#include <time.h>
115033
 
+#if HAVE_LANGINFO_CODESET
115034
 
+# include <langinfo.h>
115035
 
+#endif
115036
 
+#include <stdlib.h>
115037
 
+#include <string.h>
115038
 
+struct tm t;
115039
 
+char buf[16];
115040
 
+int main () {
115041
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
115042
 
+     imitates locale dependent behaviour by looking at the environment
115043
 
+     variables, and all locales use the UTF-8 encoding.  */
115044
 
+#if !(defined __BEOS__ || defined __HAIKU__)
115045
 
+  /* Check whether the given locale name is recognized by the system.  */
115046
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
115047
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
115048
 
+     not at the environment variables.  Also, when an encoding suffix such
115049
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
115050
 
+     category of the locale to "C".  */
115051
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
115052
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
115053
 
+    return 1;
115054
 
+# else
115055
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
115056
 
+# endif
115057
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
115058
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
115059
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
115060
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
115061
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
115062
 
+     some unit tests fail.  */
115063
 
+# if HAVE_LANGINFO_CODESET
115064
 
+  {
115065
 
+    const char *cs = nl_langinfo (CODESET);
115066
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
115067
 
+      return 1;
115068
 
+  }
115069
 
+# endif
115070
 
+# ifdef __CYGWIN__
115071
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
115072
 
+     locale_charset() function relies on the encoding suffix.  Note that
115073
 
+     LC_ALL is set on the command line.  */
115074
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
115075
 
+# endif
115076
 
+  /* Check whether in the abbreviation of the second month, the second
115077
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
115078
 
+     two bytes long, with UTF-8 encoding.  */
115079
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
115080
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
115081
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
115082
 
+    return 1;
115083
 
+#endif
115084
 
+  /* Check whether the decimal separator is a comma.
115085
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
115086
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
115087
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
115088
 
+  return 0;
115089
 
+}
115090
 
+      
115091
 
+_ACEOF
115092
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
115093
 
+  (eval $ac_link) 2>&5
115094
 
+  ac_status=$?
115095
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
115096
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
115097
 
+      case "$host_os" in
115098
 
+        # Handle native Windows specially, because there setlocale() interprets
115099
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
115100
 
+        # "fr" or "fra" as "French" or "French_France.1252",
115101
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
115102
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
115103
 
+        # and similar.
115104
 
+        mingw*)
115105
 
+          # Test for the hypothetical native Win32 locale name.
115106
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
115107
 
+            gt_cv_locale_fr_utf8=French_France.65001
115108
 
+          else
115109
 
+            # None found.
115110
 
+            gt_cv_locale_fr_utf8=none
115111
 
+          fi
115112
 
+          ;;
115113
 
+        *)
115114
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
115115
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
115116
 
+          # configure script would override the LC_ALL setting. Likewise for
115117
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
115118
 
+          # Test for the usual locale name.
115119
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
115120
 
+            gt_cv_locale_fr_utf8=fr_FR
115121
 
+          else
115122
 
+            # Test for the locale name with explicit encoding suffix.
115123
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
115124
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
115125
 
+            else
115126
 
+              # Test for the Solaris 7 locale name.
115127
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
115128
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
115129
 
+              else
115130
 
+                # None found.
115131
 
+                gt_cv_locale_fr_utf8=none
115132
 
+              fi
115133
 
+            fi
115134
 
+          fi
115135
 
+          ;;
115136
 
+      esac
115137
 
+    fi
115138
 
+    rm -fr conftest*
115139
 
+  
115140
 
+fi
115141
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
115142
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
115143
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
115144
 
+  
115145
 
+
115146
 
+
115147
 
+  
115148
 
+  
115149
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
115150
 
+$as_echo_n "checking for a traditional japanese locale... " >&6; }
115151
 
+if ${gt_cv_locale_ja+:} false; then :
115152
 
+  $as_echo_n "(cached) " >&6
115153
 
+else
115154
 
+  
115155
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
115156
 
+/* end confdefs.h.  */
115157
 
+
115158
 
+#include <locale.h>
115159
 
+#include <time.h>
115160
 
+#if HAVE_LANGINFO_CODESET
115161
 
+# include <langinfo.h>
115162
 
+#endif
115163
 
+#include <stdlib.h>
115164
 
+#include <string.h>
115165
 
+struct tm t;
115166
 
+char buf[16];
115167
 
+int main ()
115168
 
+{
115169
 
+  const char *p;
115170
 
+  /* Check whether the given locale name is recognized by the system.  */
115171
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
115172
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
115173
 
+     not at the environment variables.  Also, when an encoding suffix such
115174
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
115175
 
+     category of the locale to "C".  */
115176
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
115177
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
115178
 
+    return 1;
115179
 
+#else
115180
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
115181
 
+#endif
115182
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
115183
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
115184
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
115185
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
115186
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
115187
 
+     some unit tests fail.
115188
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
115189
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
115190
 
+#if HAVE_LANGINFO_CODESET
115191
 
+  {
115192
 
+    const char *cs = nl_langinfo (CODESET);
115193
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
115194
 
+        || strcmp (cs, "UTF-8") == 0)
115195
 
+      return 1;
115196
 
+  }
115197
 
+#endif
115198
 
+#ifdef __CYGWIN__
115199
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
115200
 
+     locale_charset() function relies on the encoding suffix.  Note that
115201
 
+     LC_ALL is set on the command line.  */
115202
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
115203
 
+#endif
115204
 
+  /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
115205
 
+     on Cygwin 1.5.x.  */
115206
 
+  if (MB_CUR_MAX == 1)
115207
 
+    return 1;
115208
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
115209
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
115210
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
115211
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
115212
 
+  for (p = buf; *p != '\0'; p++)
115213
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
115214
 
+      return 1;
115215
 
+  return 0;
115216
 
+}
115217
 
+      
115218
 
+_ACEOF
115219
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
115220
 
+  (eval $ac_link) 2>&5
115221
 
+  ac_status=$?
115222
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
115223
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
115224
 
+      case "$host_os" in
115225
 
+        # Handle native Windows specially, because there setlocale() interprets
115226
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
115227
 
+        # "fr" or "fra" as "French" or "French_France.1252",
115228
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
115229
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
115230
 
+        # and similar.
115231
 
+        mingw*)
115232
 
+          # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
115233
 
+          # and CP932 is very different from EUC-JP, so we cannot use it here.
115234
 
+          gt_cv_locale_ja=none
115235
 
+          ;;
115236
 
+        *)
115237
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
115238
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
115239
 
+          # configure script would override the LC_ALL setting. Likewise for
115240
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
115241
 
+          # Test for the AIX locale name.
115242
 
+          if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
115243
 
+            gt_cv_locale_ja=ja_JP
115244
 
+          else
115245
 
+            # Test for the locale name with explicit encoding suffix.
115246
 
+            if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
115247
 
+              gt_cv_locale_ja=ja_JP.EUC-JP
115248
 
+            else
115249
 
+              # Test for the HP-UX, OSF/1, NetBSD locale name.
115250
 
+              if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
115251
 
+                gt_cv_locale_ja=ja_JP.eucJP
115252
 
+              else
115253
 
+                # Test for the IRIX, FreeBSD locale name.
115254
 
+                if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
115255
 
+                  gt_cv_locale_ja=ja_JP.EUC
115256
 
+                else
115257
 
+                  # Test for the Solaris 7 locale name.
115258
 
+                  if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
115259
 
+                    gt_cv_locale_ja=ja
115260
 
+                  else
115261
 
+                    # Special test for NetBSD 1.6.
115262
 
+                    if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
115263
 
+                      gt_cv_locale_ja=ja_JP.eucJP
115264
 
+                    else
115265
 
+                      # None found.
115266
 
+                      gt_cv_locale_ja=none
115267
 
+                    fi
115268
 
+                  fi
115269
 
+                fi
115270
 
+              fi
115271
 
+            fi
115272
 
+          fi
115273
 
+          ;;
115274
 
+      esac
115275
 
+    fi
115276
 
+    rm -fr conftest*
115277
 
+  
115278
 
+fi
115279
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
115280
 
+$as_echo "$gt_cv_locale_ja" >&6; }
115281
 
+  LOCALE_JA=$gt_cv_locale_ja
115282
 
+  
115283
 
+
115284
 
+
115285
 
+  
115286
 
+  
115287
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
115288
 
+$as_echo_n "checking for a transitional chinese locale... " >&6; }
115289
 
+if ${gt_cv_locale_zh_CN+:} false; then :
115290
 
+  $as_echo_n "(cached) " >&6
115291
 
+else
115292
 
+  
115293
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
115294
 
+/* end confdefs.h.  */
115295
 
+
115296
 
+#include <locale.h>
115297
 
+#include <stdlib.h>
115298
 
+#include <time.h>
115299
 
+#if HAVE_LANGINFO_CODESET
115300
 
+# include <langinfo.h>
115301
 
+#endif
115302
 
+#include <stdlib.h>
115303
 
+#include <string.h>
115304
 
+struct tm t;
115305
 
+char buf[16];
115306
 
+int main ()
115307
 
+{
115308
 
+  const char *p;
115309
 
+  /* Check whether the given locale name is recognized by the system.  */
115310
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
115311
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
115312
 
+     not at the environment variables.  Also, when an encoding suffix such
115313
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
115314
 
+     category of the locale to "C".  */
115315
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
115316
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
115317
 
+    return 1;
115318
 
+#else
115319
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
115320
 
+#endif
115321
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
115322
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
115323
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
115324
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
115325
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
115326
 
+     some unit tests fail.
115327
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
115328
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
115329
 
+#if HAVE_LANGINFO_CODESET
115330
 
+  {
115331
 
+    const char *cs = nl_langinfo (CODESET);
115332
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
115333
 
+        || strcmp (cs, "UTF-8") == 0)
115334
 
+      return 1;
115335
 
+  }
115336
 
+#endif
115337
 
+#ifdef __CYGWIN__
115338
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
115339
 
+     locale_charset() function relies on the encoding suffix.  Note that
115340
 
+     LC_ALL is set on the command line.  */
115341
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
115342
 
+#endif
115343
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
115344
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
115345
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
115346
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
115347
 
+  for (p = buf; *p != '\0'; p++)
115348
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
115349
 
+      return 1;
115350
 
+  /* Check whether a typical GB18030 multibyte sequence is recognized as a
115351
 
+     single wide character.  This excludes the GB2312 and GBK encodings.  */
115352
 
+  if (mblen ("\203\062\332\066", 5) != 4)
115353
 
+    return 1;
115354
 
+  return 0;
115355
 
+}
115356
 
+      
115357
 
+_ACEOF
115358
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
115359
 
+  (eval $ac_link) 2>&5
115360
 
+  ac_status=$?
115361
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
115362
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
115363
 
+      case "$host_os" in
115364
 
+        # Handle native Windows specially, because there setlocale() interprets
115365
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
115366
 
+        # "fr" or "fra" as "French" or "French_France.1252",
115367
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
115368
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
115369
 
+        # and similar.
115370
 
+        mingw*)
115371
 
+          # Test for the hypothetical native Win32 locale name.
115372
 
+          if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
115373
 
+            gt_cv_locale_zh_CN=Chinese_China.54936
115374
 
+          else
115375
 
+            # None found.
115376
 
+            gt_cv_locale_zh_CN=none
115377
 
+          fi
115378
 
+          ;;
115379
 
+        solaris2.8)
115380
 
+          # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
115381
 
+          # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
115382
 
+          # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
115383
 
+          gt_cv_locale_zh_CN=none
115384
 
+          ;;
115385
 
+        *)
115386
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
115387
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
115388
 
+          # configure script would override the LC_ALL setting. Likewise for
115389
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
115390
 
+          # Test for the locale name without encoding suffix.
115391
 
+          if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
115392
 
+            gt_cv_locale_zh_CN=zh_CN
115393
 
+          else
115394
 
+            # Test for the locale name with explicit encoding suffix.
115395
 
+            if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
115396
 
+              gt_cv_locale_zh_CN=zh_CN.GB18030
115397
 
+            else
115398
 
+              # None found.
115399
 
+              gt_cv_locale_zh_CN=none
115400
 
+            fi
115401
 
+          fi
115402
 
+          ;;
115403
 
+      esac
115404
 
+    else
115405
 
+      # If there was a link error, due to mblen(), the system is so old that
115406
 
+      # it certainly doesn't have a chinese locale.
115407
 
+      gt_cv_locale_zh_CN=none
115408
 
+    fi
115409
 
+    rm -fr conftest*
115410
 
+  
115411
 
+fi
115412
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
115413
 
+$as_echo "$gt_cv_locale_zh_CN" >&6; }
115414
 
+  LOCALE_ZH_CN=$gt_cv_locale_zh_CN
115415
 
+  
115416
 
+
115417
 
+
115418
 
+if test "$ac_cv_header_winsock2_h" = yes; then
115419
 
+  
115420
 
+  
115421
 
+  
115422
 
+    
115423
 
+      
115424
 
+      
115425
 
+    
115426
 
+  
115427
 
+  gltests_LIBOBJS="$gltests_LIBOBJS setsockopt.$ac_objext"
115428
 
+
115429
 
+fi
115430
 
+
115431
 
+    
115432
 
+  
115433
 
+  
115434
 
+  
115435
 
+    if test "$GNULIB_SETSOCKOPT" != 1; then
115436
 
+        if test "$GNULIB_SETSOCKOPT" = 0; then
115437
 
+      GNULIB_SETSOCKOPT=$gl_module_indicator_condition
115438
 
+    else
115439
 
+      GNULIB_SETSOCKOPT="($GNULIB_SETSOCKOPT || $gl_module_indicator_condition)"
115440
 
+    fi
115441
 
+  fi
115442
 
+
115443
 
+
115444
 
+
115445
 
+    
115446
 
+  
115447
 
+$as_echo "@%:@define GNULIB_TEST_SETSOCKOPT 1" >>confdefs.h
115448
 
+
115449
 
+
115450
 
+
115451
 
+
115452
 
+
115453
 
+
115454
 
+
115455
 
+  
115456
 
+            ac_fn_c_check_decl "$LINENO" "sleep" "ac_cv_have_decl_sleep" "#include <unistd.h>
115457
 
+"
115458
 
+if test "x$ac_cv_have_decl_sleep" = xyes; then :
115459
 
+  ac_have_decl=1
115460
 
+else
115461
 
+  ac_have_decl=0
115462
 
+fi
115463
 
+
115464
 
+cat >>confdefs.h <<_ACEOF
115465
 
+@%:@define HAVE_DECL_SLEEP $ac_have_decl
115466
 
+_ACEOF
115467
 
+
115468
 
+  
115469
 
+  if test $ac_cv_have_decl_sleep != yes; then
115470
 
+    HAVE_SLEEP=0
115471
 
+  else
115472
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working sleep" >&5
115473
 
+$as_echo_n "checking for working sleep... " >&6; }
115474
 
+if ${gl_cv_func_sleep_works+:} false; then :
115475
 
+  $as_echo_n "(cached) " >&6
115476
 
+else
115477
 
+  if test "$cross_compiling" = yes; then :
115478
 
+  gl_cv_func_sleep_works="guessing no"
115479
 
+else
115480
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
115481
 
+/* end confdefs.h.  */
115482
 
+
115483
 
+#include <errno.h>
115484
 
+#include <unistd.h>
115485
 
+#include <signal.h>
115486
 
+static void
115487
 
+handle_alarm (int sig)
115488
 
+{
115489
 
+  if (sig != SIGALRM)
115490
 
+    _exit (2);
115491
 
+}
115492
 
+
115493
 
+int
115494
 
+main ()
115495
 
+{
115496
 
+
115497
 
+    /* Failure to compile this test due to missing alarm is okay,
115498
 
+       since all such platforms (mingw) also lack sleep.  */
115499
 
+    unsigned int pentecost = 50 * 24 * 60 * 60; /* 50 days.  */
115500
 
+    unsigned int remaining;
115501
 
+    signal (SIGALRM, handle_alarm);
115502
 
+    alarm (1);
115503
 
+    remaining = sleep (pentecost);
115504
 
+    if (remaining > pentecost)
115505
 
+      return 3;
115506
 
+    if (remaining <= pentecost - 10)
115507
 
+      return 4;
115508
 
+    return 0;
115509
 
+    
115510
 
+  ;
115511
 
+  return 0;
115512
 
+}
115513
 
+_ACEOF
115514
 
+if ac_fn_c_try_run "$LINENO"; then :
115515
 
+  gl_cv_func_sleep_works=yes
115516
 
+else
115517
 
+  gl_cv_func_sleep_works=no
115518
 
+fi
115519
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
115520
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
115521
 
+fi
115522
 
+
115523
 
+fi
115524
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_sleep_works" >&5
115525
 
+$as_echo "$gl_cv_func_sleep_works" >&6; }
115526
 
+    if test "$gl_cv_func_sleep_works" != yes; then
115527
 
+      REPLACE_SLEEP=1
115528
 
+    fi
115529
 
+  fi
115530
 
+
115531
 
+if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then
115532
 
+  
115533
 
+  
115534
 
+  
115535
 
+    
115536
 
+      
115537
 
+      
115538
 
+    
115539
 
+  
115540
 
+  gltests_LIBOBJS="$gltests_LIBOBJS sleep.$ac_objext"
115541
 
+
115542
 
+fi
115543
 
+
115544
 
+    
115545
 
+  
115546
 
+  
115547
 
+  
115548
 
+    if test "$GNULIB_SLEEP" != 1; then
115549
 
+        if test "$GNULIB_SLEEP" = 0; then
115550
 
+      GNULIB_SLEEP=$gl_module_indicator_condition
115551
 
+    else
115552
 
+      GNULIB_SLEEP="($GNULIB_SLEEP || $gl_module_indicator_condition)"
115553
 
+    fi
115554
 
+  fi
115555
 
+
115556
 
+
115557
 
+
115558
 
+    
115559
 
+  
115560
 
+$as_echo "@%:@define GNULIB_TEST_SLEEP 1" >>confdefs.h
115561
 
+
115562
 
+
115563
 
+
115564
 
+
115565
 
+
115566
 
+if test "$ac_cv_header_winsock2_h" = yes; then
115567
 
+  
115568
 
+  
115569
 
+  
115570
 
+    
115571
 
+      
115572
 
+      
115573
 
+    
115574
 
+  
115575
 
+  gltests_LIBOBJS="$gltests_LIBOBJS socket.$ac_objext"
115576
 
+
115577
 
+fi
115578
 
+# When this module is used, sockets may actually occur as file descriptors,
115579
 
+# hence it is worth warning if the modules 'close' and 'ioctl' are not used.
115580
 
+
115581
 
+
115582
 
+
115583
 
+if test "$ac_cv_header_winsock2_h" = yes; then
115584
 
+  UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
115585
 
+  SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
115586
 
+fi
115587
 
+
115588
 
+    
115589
 
+  
115590
 
+  
115591
 
+  
115592
 
+    if test "$GNULIB_SOCKET" != 1; then
115593
 
+        if test "$GNULIB_SOCKET" = 0; then
115594
 
+      GNULIB_SOCKET=$gl_module_indicator_condition
115595
 
+    else
115596
 
+      GNULIB_SOCKET="($GNULIB_SOCKET || $gl_module_indicator_condition)"
115597
 
+    fi
115598
 
+  fi
115599
 
+
115600
 
+
115601
 
+
115602
 
+    
115603
 
+  
115604
 
+$as_echo "@%:@define GNULIB_TEST_SOCKET 1" >>confdefs.h
115605
 
+
115606
 
+
115607
 
+
115608
 
+
115609
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
115610
 
+$as_echo_n "checking for wchar_t... " >&6; }
115611
 
+if ${gt_cv_c_wchar_t+:} false; then :
115612
 
+  $as_echo_n "(cached) " >&6
115613
 
+else
115614
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
115615
 
+/* end confdefs.h.  */
115616
 
+#include <stddef.h>
115617
 
+            wchar_t foo = (wchar_t)'\0';
115618
 
+int
115619
 
+main ()
115620
 
+{
115621
 
+
115622
 
+  ;
115623
 
+  return 0;
115624
 
+}
115625
 
+_ACEOF
115626
 
+if ac_fn_c_try_compile "$LINENO"; then :
115627
 
+  gt_cv_c_wchar_t=yes
115628
 
+else
115629
 
+  gt_cv_c_wchar_t=no
115630
 
+fi
115631
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
115632
 
+fi
115633
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
115634
 
+$as_echo "$gt_cv_c_wchar_t" >&6; }
115635
 
+  if test $gt_cv_c_wchar_t = yes; then
115636
 
+    
115637
 
+$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h
115638
 
+
115639
 
+  fi
115640
 
+
115641
 
+
115642
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
115643
 
+$as_echo_n "checking for wint_t... " >&6; }
115644
 
+if ${gt_cv_c_wint_t+:} false; then :
115645
 
+  $as_echo_n "(cached) " >&6
115646
 
+else
115647
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
115648
 
+/* end confdefs.h.  */
115649
 
+
115650
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
115651
 
+   <wchar.h>.
115652
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
115653
 
+   before <wchar.h>.  */
115654
 
+#include <stddef.h>
115655
 
+#include <stdio.h>
115656
 
+#include <time.h>
115657
 
+#include <wchar.h>
115658
 
+            wint_t foo = (wchar_t)'\0';
115659
 
+int
115660
 
+main ()
115661
 
+{
115662
 
+
115663
 
+  ;
115664
 
+  return 0;
115665
 
+}
115666
 
+_ACEOF
115667
 
+if ac_fn_c_try_compile "$LINENO"; then :
115668
 
+  gt_cv_c_wint_t=yes
115669
 
+else
115670
 
+  gt_cv_c_wint_t=no
115671
 
+fi
115672
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
115673
 
+fi
115674
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
115675
 
+$as_echo "$gt_cv_c_wint_t" >&6; }
115676
 
+  if test $gt_cv_c_wint_t = yes; then
115677
 
+    
115678
 
+$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h
115679
 
+
115680
 
+  fi
115681
 
+
115682
 
+
115683
 
+  
115684
 
+  
115685
 
+
115686
 
+    
115687
 
+
115688
 
+      
115689
 
+  if test $ac_cv_have_decl_strerror_r = no; then
115690
 
+    HAVE_DECL_STRERROR_R=0
115691
 
+  fi
115692
 
+
115693
 
+  if test $ac_cv_func_strerror_r = yes; then
115694
 
+    if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
115695
 
+      if test $gl_cv_func_strerror_r_posix_signature = yes; then
115696
 
+        case "$gl_cv_func_strerror_r_works" in
115697
 
+                    *no) REPLACE_STRERROR_R=1 ;;
115698
 
+        esac
115699
 
+      else
115700
 
+                REPLACE_STRERROR_R=1
115701
 
+      fi
115702
 
+    else
115703
 
+                  REPLACE_STRERROR_R=1
115704
 
+    fi
115705
 
+  fi
115706
 
+
115707
 
+if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then
115708
 
+  
115709
 
+  
115710
 
+  
115711
 
+    
115712
 
+      
115713
 
+      
115714
 
+    
115715
 
+  
115716
 
+  gltests_LIBOBJS="$gltests_LIBOBJS strerror_r.$ac_objext"
115717
 
+
115718
 
+  
115719
 
+    
115720
 
+  
115721
 
+
115722
 
+fi
115723
 
+
115724
 
+    
115725
 
+  
115726
 
+  
115727
 
+  
115728
 
+    if test "$GNULIB_STRERROR_R" != 1; then
115729
 
+        if test "$GNULIB_STRERROR_R" = 0; then
115730
 
+      GNULIB_STRERROR_R=$gl_module_indicator_condition
115731
 
+    else
115732
 
+      GNULIB_STRERROR_R="($GNULIB_STRERROR_R || $gl_module_indicator_condition)"
115733
 
+    fi
115734
 
+  fi
115735
 
+
115736
 
+
115737
 
+
115738
 
+    
115739
 
+  
115740
 
+$as_echo "@%:@define GNULIB_TEST_STRERROR_R 1" >>confdefs.h
115741
 
+
115742
 
+
115743
 
+
115744
 
+
115745
 
+    
115746
 
+
115747
 
+  # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
115748
 
+  # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
115749
 
+  # irrelevant for anonymous mappings.
115750
 
+  ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
115751
 
+if test "x$ac_cv_func_mmap" = xyes; then :
115752
 
+  gl_have_mmap=yes
115753
 
+else
115754
 
+  gl_have_mmap=no
115755
 
+fi
115756
 
+
115757
 
+
115758
 
+  # Try to allow MAP_ANONYMOUS.
115759
 
+  gl_have_mmap_anonymous=no
115760
 
+  if test $gl_have_mmap = yes; then
115761
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
115762
 
+$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
115763
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
115764
 
+/* end confdefs.h.  */
115765
 
+
115766
 
+#include <sys/mman.h>
115767
 
+#ifdef MAP_ANONYMOUS
115768
 
+    I cant identify this map
115769
 
+#endif
115770
 
+
115771
 
+_ACEOF
115772
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
115773
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
115774
 
+  gl_have_mmap_anonymous=yes
115775
 
+fi
115776
 
+rm -f conftest*
115777
 
+
115778
 
+    if test $gl_have_mmap_anonymous != yes; then
115779
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
115780
 
+/* end confdefs.h.  */
115781
 
+
115782
 
+#include <sys/mman.h>
115783
 
+#ifdef MAP_ANON
115784
 
+    I cant identify this map
115785
 
+#endif
115786
 
+
115787
 
+_ACEOF
115788
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
115789
 
+  $EGREP "I cant identify this map" >/dev/null 2>&1; then :
115790
 
+  
115791
 
+$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
115792
 
+
115793
 
+         gl_have_mmap_anonymous=yes
115794
 
+fi
115795
 
+rm -f conftest*
115796
 
+
115797
 
+    fi
115798
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
115799
 
+$as_echo "$gl_have_mmap_anonymous" >&6; }
115800
 
+    if test $gl_have_mmap_anonymous = yes; then
115801
 
+      
115802
 
+$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
115803
 
+
115804
 
+    fi
115805
 
+  fi
115806
 
+
115807
 
+
115808
 
+
115809
 
+
115810
 
+  
115811
 
+  
115812
 
+  
115813
 
+  
115814
 
+  if test $ac_cv_func_symlinkat = no; then
115815
 
+    HAVE_SYMLINKAT=0
115816
 
+  fi
115817
 
+
115818
 
+if test $HAVE_SYMLINKAT = 0; then
115819
 
+  
115820
 
+  
115821
 
+  
115822
 
+    
115823
 
+      
115824
 
+      
115825
 
+    
115826
 
+  
115827
 
+  gltests_LIBOBJS="$gltests_LIBOBJS symlinkat.$ac_objext"
115828
 
+
115829
 
+fi
115830
 
+
115831
 
+    
115832
 
+  
115833
 
+  
115834
 
+  
115835
 
+    if test "$GNULIB_SYMLINKAT" != 1; then
115836
 
+        if test "$GNULIB_SYMLINKAT" = 0; then
115837
 
+      GNULIB_SYMLINKAT=$gl_module_indicator_condition
115838
 
+    else
115839
 
+      GNULIB_SYMLINKAT="($GNULIB_SYMLINKAT || $gl_module_indicator_condition)"
115840
 
+    fi
115841
 
+  fi
115842
 
+
115843
 
+
115844
 
+
115845
 
+    
115846
 
+  
115847
 
+$as_echo "@%:@define GNULIB_TEST_SYMLINKAT 1" >>confdefs.h
115848
 
+
115849
 
+
115850
 
+
115851
 
+
115852
 
+
115853
 
+  
115854
 
+  
115855
 
+
115856
 
+  if test $gl_threads_api = posix; then
115857
 
+    gl_save_LIBS="$LIBS"
115858
 
+    LIBS="$LIBS $LIBMULTITHREAD"
115859
 
+    for ac_func in pthread_atfork
115860
 
+do :
115861
 
+  ac_fn_c_check_func "$LINENO" "pthread_atfork" "ac_cv_func_pthread_atfork"
115862
 
+if test "x$ac_cv_func_pthread_atfork" = xyes; then :
115863
 
+  cat >>confdefs.h <<_ACEOF
115864
 
+@%:@define HAVE_PTHREAD_ATFORK 1
115865
 
+_ACEOF
115866
 
115867
 
+fi
115868
 
+done
115869
 
+
115870
 
+    LIBS="$gl_save_LIBS"
115871
 
+  fi
115872
 
+
115873
 
+
115874
 
+  
115875
 
+  
115876
 
+
115877
 
+  # The Hurd, the Linux kernel, the FreeBSD kernel version 2.2 and later,
115878
 
+  # Cygwin, and mingw never let anyone (even root) unlink directories.
115879
 
+  # If anyone knows of another system for which unlink can never
115880
 
+  # remove a directory, please report it to <bug-coreutils@gnu.org>.
115881
 
+  # Unfortunately this is difficult to test for, since it requires root access
115882
 
+  # and might create garbage in the file system,
115883
 
+  # so the code below simply relies on the kernel name and version number.
115884
 
+  case $host_os in
115885
 
+  gnu[0-9]* | \
115886
 
+  linux-* | linux | \
115887
 
+  freebsd2.2* | freebsd[3-9]* | freebsd[1-9][0-9]* | \
115888
 
+  cygwin | \
115889
 
+  mingw*)
115890
 
+    
115891
 
+$as_echo "@%:@define UNLINK_CANNOT_UNLINK_DIR 1" >>confdefs.h
115892
 
+;;
115893
 
+  esac
115894
 
+
115895
 
+abs_aux_dir=`cd "$ac_aux_dir"; pwd`
115896
 
+
115897
 
+
115898
 
+  
115899
 
+      
115900
 
+  
115901
 
+  ac_fn_c_check_type "$LINENO" "useconds_t" "ac_cv_type_useconds_t" "$ac_includes_default"
115902
 
+if test "x$ac_cv_type_useconds_t" = xyes; then :
115903
 
+  
115904
 
+else
115905
 
+  
115906
 
+$as_echo "@%:@define useconds_t unsigned int" >>confdefs.h
115907
 
+
115908
 
+fi
115909
 
+
115910
 
+  if test $ac_cv_func_usleep = no; then
115911
 
+    HAVE_USLEEP=0
115912
 
+  else
115913
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usleep allows large arguments" >&5
115914
 
+$as_echo_n "checking whether usleep allows large arguments... " >&6; }
115915
 
+if ${gl_cv_func_usleep_works+:} false; then :
115916
 
+  $as_echo_n "(cached) " >&6
115917
 
+else
115918
 
+  if test "$cross_compiling" = yes; then :
115919
 
+  gl_cv_func_usleep_works="guessing no"
115920
 
+else
115921
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
115922
 
+/* end confdefs.h.  */
115923
 
+
115924
 
+#include <unistd.h>
115925
 
+
115926
 
+int
115927
 
+main ()
115928
 
+{
115929
 
+return !!usleep (1000000);
115930
 
+  ;
115931
 
+  return 0;
115932
 
+}
115933
 
+_ACEOF
115934
 
+if ac_fn_c_try_run "$LINENO"; then :
115935
 
+  gl_cv_func_usleep_works=yes
115936
 
+else
115937
 
+  gl_cv_func_usleep_works=no
115938
 
+fi
115939
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
115940
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
115941
 
+fi
115942
 
+
115943
 
+fi
115944
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_usleep_works" >&5
115945
 
+$as_echo "$gl_cv_func_usleep_works" >&6; }
115946
 
+    if test "$gl_cv_func_usleep_works" != yes; then
115947
 
+      REPLACE_USLEEP=1
115948
 
+    fi
115949
 
+  fi
115950
 
+
115951
 
+if test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1; then
115952
 
+  
115953
 
+  
115954
 
+  
115955
 
+    
115956
 
+      
115957
 
+      
115958
 
+    
115959
 
+  
115960
 
+  gltests_LIBOBJS="$gltests_LIBOBJS usleep.$ac_objext"
115961
 
+
115962
 
+fi
115963
 
+
115964
 
+    
115965
 
+  
115966
 
+  
115967
 
+  
115968
 
+    if test "$GNULIB_USLEEP" != 1; then
115969
 
+        if test "$GNULIB_USLEEP" = 0; then
115970
 
+      GNULIB_USLEEP=$gl_module_indicator_condition
115971
 
+    else
115972
 
+      GNULIB_USLEEP="($GNULIB_USLEEP || $gl_module_indicator_condition)"
115973
 
+    fi
115974
 
+  fi
115975
 
+
115976
 
+
115977
 
+
115978
 
+    
115979
 
+  
115980
 
+$as_echo "@%:@define GNULIB_TEST_USLEEP 1" >>confdefs.h
115981
 
+
115982
 
+
115983
 
+
115984
 
+abs_aux_dir=`cd "$ac_aux_dir"; pwd`
115985
 
+
115986
 
+
115987
 
+  
115988
 
+  
115989
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
115990
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
115991
 
+if ${gt_cv_locale_fr+:} false; then :
115992
 
+  $as_echo_n "(cached) " >&6
115993
 
+else
115994
 
+  
115995
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
115996
 
+/* end confdefs.h.  */
115997
 
+
115998
 
+#include <locale.h>
115999
 
+#include <time.h>
116000
 
+#if HAVE_LANGINFO_CODESET
116001
 
+# include <langinfo.h>
116002
 
+#endif
116003
 
+#include <stdlib.h>
116004
 
+#include <string.h>
116005
 
+struct tm t;
116006
 
+char buf[16];
116007
 
+int main () {
116008
 
+  /* Check whether the given locale name is recognized by the system.  */
116009
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
116010
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
116011
 
+     not at the environment variables.  Also, when an encoding suffix such
116012
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
116013
 
+     category of the locale to "C".  */
116014
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
116015
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
116016
 
+    return 1;
116017
 
+#else
116018
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
116019
 
+#endif
116020
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
116021
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
116022
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
116023
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
116024
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
116025
 
+     some unit tests fail.
116026
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
116027
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
116028
 
+#if HAVE_LANGINFO_CODESET
116029
 
+  {
116030
 
+    const char *cs = nl_langinfo (CODESET);
116031
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
116032
 
+        || strcmp (cs, "UTF-8") == 0)
116033
 
+      return 1;
116034
 
+  }
116035
 
+#endif
116036
 
+#ifdef __CYGWIN__
116037
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
116038
 
+     locale_charset() function relies on the encoding suffix.  Note that
116039
 
+     LC_ALL is set on the command line.  */
116040
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
116041
 
+#endif
116042
 
+  /* Check whether in the abbreviation of the second month, the second
116043
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
116044
 
+     one byte long. This excludes the UTF-8 encoding.  */
116045
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
116046
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
116047
 
+  /* Check whether the decimal separator is a comma.
116048
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
116049
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
116050
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
116051
 
+  return 0;
116052
 
+}
116053
 
+      
116054
 
+_ACEOF
116055
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
116056
 
+  (eval $ac_link) 2>&5
116057
 
+  ac_status=$?
116058
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
116059
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
116060
 
+      case "$host_os" in
116061
 
+        # Handle native Windows specially, because there setlocale() interprets
116062
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
116063
 
+        # "fr" or "fra" as "French" or "French_France.1252",
116064
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
116065
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
116066
 
+        # and similar.
116067
 
+        mingw*)
116068
 
+          # Test for the native Win32 locale name.
116069
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116070
 
+            gt_cv_locale_fr=French_France.1252
116071
 
+          else
116072
 
+            # None found.
116073
 
+            gt_cv_locale_fr=none
116074
 
+          fi
116075
 
+          ;;
116076
 
+        *)
116077
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
116078
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
116079
 
+          # configure script would override the LC_ALL setting. Likewise for
116080
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
116081
 
+          # Test for the usual locale name.
116082
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116083
 
+            gt_cv_locale_fr=fr_FR
116084
 
+          else
116085
 
+            # Test for the locale name with explicit encoding suffix.
116086
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116087
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
116088
 
+            else
116089
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
116090
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116091
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
116092
 
+              else
116093
 
+                # Test for the HP-UX locale name.
116094
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116095
 
+                  gt_cv_locale_fr=fr_FR.iso88591
116096
 
+                else
116097
 
+                  # Test for the Solaris 7 locale name.
116098
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116099
 
+                    gt_cv_locale_fr=fr
116100
 
+                  else
116101
 
+                    # None found.
116102
 
+                    gt_cv_locale_fr=none
116103
 
+                  fi
116104
 
+                fi
116105
 
+              fi
116106
 
+            fi
116107
 
+          fi
116108
 
+          ;;
116109
 
+      esac
116110
 
+    fi
116111
 
+    rm -fr conftest*
116112
 
+  
116113
 
+fi
116114
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
116115
 
+$as_echo "$gt_cv_locale_fr" >&6; }
116116
 
+  LOCALE_FR=$gt_cv_locale_fr
116117
 
+  
116118
 
+
116119
 
+
116120
 
+  
116121
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
116122
 
+$as_echo_n "checking for a french Unicode locale... " >&6; }
116123
 
+if ${gt_cv_locale_fr_utf8+:} false; then :
116124
 
+  $as_echo_n "(cached) " >&6
116125
 
+else
116126
 
+  
116127
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
116128
 
+/* end confdefs.h.  */
116129
 
+
116130
 
+#include <locale.h>
116131
 
+#include <time.h>
116132
 
+#if HAVE_LANGINFO_CODESET
116133
 
+# include <langinfo.h>
116134
 
+#endif
116135
 
+#include <stdlib.h>
116136
 
+#include <string.h>
116137
 
+struct tm t;
116138
 
+char buf[16];
116139
 
+int main () {
116140
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
116141
 
+     imitates locale dependent behaviour by looking at the environment
116142
 
+     variables, and all locales use the UTF-8 encoding.  */
116143
 
+#if !(defined __BEOS__ || defined __HAIKU__)
116144
 
+  /* Check whether the given locale name is recognized by the system.  */
116145
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
116146
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
116147
 
+     not at the environment variables.  Also, when an encoding suffix such
116148
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
116149
 
+     category of the locale to "C".  */
116150
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
116151
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
116152
 
+    return 1;
116153
 
+# else
116154
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
116155
 
+# endif
116156
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
116157
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
116158
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
116159
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
116160
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
116161
 
+     some unit tests fail.  */
116162
 
+# if HAVE_LANGINFO_CODESET
116163
 
+  {
116164
 
+    const char *cs = nl_langinfo (CODESET);
116165
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
116166
 
+      return 1;
116167
 
+  }
116168
 
+# endif
116169
 
+# ifdef __CYGWIN__
116170
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
116171
 
+     locale_charset() function relies on the encoding suffix.  Note that
116172
 
+     LC_ALL is set on the command line.  */
116173
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
116174
 
+# endif
116175
 
+  /* Check whether in the abbreviation of the second month, the second
116176
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
116177
 
+     two bytes long, with UTF-8 encoding.  */
116178
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
116179
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
116180
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
116181
 
+    return 1;
116182
 
+#endif
116183
 
+  /* Check whether the decimal separator is a comma.
116184
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
116185
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
116186
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
116187
 
+  return 0;
116188
 
+}
116189
 
+      
116190
 
+_ACEOF
116191
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
116192
 
+  (eval $ac_link) 2>&5
116193
 
+  ac_status=$?
116194
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
116195
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
116196
 
+      case "$host_os" in
116197
 
+        # Handle native Windows specially, because there setlocale() interprets
116198
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
116199
 
+        # "fr" or "fra" as "French" or "French_France.1252",
116200
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
116201
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
116202
 
+        # and similar.
116203
 
+        mingw*)
116204
 
+          # Test for the hypothetical native Win32 locale name.
116205
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116206
 
+            gt_cv_locale_fr_utf8=French_France.65001
116207
 
+          else
116208
 
+            # None found.
116209
 
+            gt_cv_locale_fr_utf8=none
116210
 
+          fi
116211
 
+          ;;
116212
 
+        *)
116213
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
116214
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
116215
 
+          # configure script would override the LC_ALL setting. Likewise for
116216
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
116217
 
+          # Test for the usual locale name.
116218
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116219
 
+            gt_cv_locale_fr_utf8=fr_FR
116220
 
+          else
116221
 
+            # Test for the locale name with explicit encoding suffix.
116222
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116223
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
116224
 
+            else
116225
 
+              # Test for the Solaris 7 locale name.
116226
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116227
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
116228
 
+              else
116229
 
+                # None found.
116230
 
+                gt_cv_locale_fr_utf8=none
116231
 
+              fi
116232
 
+            fi
116233
 
+          fi
116234
 
+          ;;
116235
 
+      esac
116236
 
+    fi
116237
 
+    rm -fr conftest*
116238
 
+  
116239
 
+fi
116240
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
116241
 
+$as_echo "$gt_cv_locale_fr_utf8" >&6; }
116242
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
116243
 
+  
116244
 
+
116245
 
+
116246
 
+  
116247
 
+  
116248
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
116249
 
+$as_echo_n "checking for a traditional japanese locale... " >&6; }
116250
 
+if ${gt_cv_locale_ja+:} false; then :
116251
 
+  $as_echo_n "(cached) " >&6
116252
 
+else
116253
 
+  
116254
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
116255
 
+/* end confdefs.h.  */
116256
 
+
116257
 
+#include <locale.h>
116258
 
+#include <time.h>
116259
 
+#if HAVE_LANGINFO_CODESET
116260
 
+# include <langinfo.h>
116261
 
+#endif
116262
 
+#include <stdlib.h>
116263
 
+#include <string.h>
116264
 
+struct tm t;
116265
 
+char buf[16];
116266
 
+int main ()
116267
 
+{
116268
 
+  const char *p;
116269
 
+  /* Check whether the given locale name is recognized by the system.  */
116270
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
116271
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
116272
 
+     not at the environment variables.  Also, when an encoding suffix such
116273
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
116274
 
+     category of the locale to "C".  */
116275
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
116276
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
116277
 
+    return 1;
116278
 
+#else
116279
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
116280
 
+#endif
116281
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
116282
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
116283
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
116284
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
116285
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
116286
 
+     some unit tests fail.
116287
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
116288
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
116289
 
+#if HAVE_LANGINFO_CODESET
116290
 
+  {
116291
 
+    const char *cs = nl_langinfo (CODESET);
116292
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
116293
 
+        || strcmp (cs, "UTF-8") == 0)
116294
 
+      return 1;
116295
 
+  }
116296
 
+#endif
116297
 
+#ifdef __CYGWIN__
116298
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
116299
 
+     locale_charset() function relies on the encoding suffix.  Note that
116300
 
+     LC_ALL is set on the command line.  */
116301
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
116302
 
+#endif
116303
 
+  /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
116304
 
+     on Cygwin 1.5.x.  */
116305
 
+  if (MB_CUR_MAX == 1)
116306
 
+    return 1;
116307
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
116308
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
116309
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
116310
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
116311
 
+  for (p = buf; *p != '\0'; p++)
116312
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
116313
 
+      return 1;
116314
 
+  return 0;
116315
 
+}
116316
 
+      
116317
 
+_ACEOF
116318
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
116319
 
+  (eval $ac_link) 2>&5
116320
 
+  ac_status=$?
116321
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
116322
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
116323
 
+      case "$host_os" in
116324
 
+        # Handle native Windows specially, because there setlocale() interprets
116325
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
116326
 
+        # "fr" or "fra" as "French" or "French_France.1252",
116327
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
116328
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
116329
 
+        # and similar.
116330
 
+        mingw*)
116331
 
+          # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
116332
 
+          # and CP932 is very different from EUC-JP, so we cannot use it here.
116333
 
+          gt_cv_locale_ja=none
116334
 
+          ;;
116335
 
+        *)
116336
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
116337
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
116338
 
+          # configure script would override the LC_ALL setting. Likewise for
116339
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
116340
 
+          # Test for the AIX locale name.
116341
 
+          if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116342
 
+            gt_cv_locale_ja=ja_JP
116343
 
+          else
116344
 
+            # Test for the locale name with explicit encoding suffix.
116345
 
+            if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116346
 
+              gt_cv_locale_ja=ja_JP.EUC-JP
116347
 
+            else
116348
 
+              # Test for the HP-UX, OSF/1, NetBSD locale name.
116349
 
+              if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116350
 
+                gt_cv_locale_ja=ja_JP.eucJP
116351
 
+              else
116352
 
+                # Test for the IRIX, FreeBSD locale name.
116353
 
+                if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116354
 
+                  gt_cv_locale_ja=ja_JP.EUC
116355
 
+                else
116356
 
+                  # Test for the Solaris 7 locale name.
116357
 
+                  if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116358
 
+                    gt_cv_locale_ja=ja
116359
 
+                  else
116360
 
+                    # Special test for NetBSD 1.6.
116361
 
+                    if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
116362
 
+                      gt_cv_locale_ja=ja_JP.eucJP
116363
 
+                    else
116364
 
+                      # None found.
116365
 
+                      gt_cv_locale_ja=none
116366
 
+                    fi
116367
 
+                  fi
116368
 
+                fi
116369
 
+              fi
116370
 
+            fi
116371
 
+          fi
116372
 
+          ;;
116373
 
+      esac
116374
 
+    fi
116375
 
+    rm -fr conftest*
116376
 
+  
116377
 
+fi
116378
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
116379
 
+$as_echo "$gt_cv_locale_ja" >&6; }
116380
 
+  LOCALE_JA=$gt_cv_locale_ja
116381
 
+  
116382
 
+
116383
 
+
116384
 
+  
116385
 
+  
116386
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
116387
 
+$as_echo_n "checking for a transitional chinese locale... " >&6; }
116388
 
+if ${gt_cv_locale_zh_CN+:} false; then :
116389
 
+  $as_echo_n "(cached) " >&6
116390
 
+else
116391
 
+  
116392
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
116393
 
+/* end confdefs.h.  */
116394
 
+
116395
 
+#include <locale.h>
116396
 
+#include <stdlib.h>
116397
 
+#include <time.h>
116398
 
+#if HAVE_LANGINFO_CODESET
116399
 
+# include <langinfo.h>
116400
 
+#endif
116401
 
+#include <stdlib.h>
116402
 
+#include <string.h>
116403
 
+struct tm t;
116404
 
+char buf[16];
116405
 
+int main ()
116406
 
+{
116407
 
+  const char *p;
116408
 
+  /* Check whether the given locale name is recognized by the system.  */
116409
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
116410
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
116411
 
+     not at the environment variables.  Also, when an encoding suffix such
116412
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
116413
 
+     category of the locale to "C".  */
116414
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
116415
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
116416
 
+    return 1;
116417
 
+#else
116418
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
116419
 
+#endif
116420
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
116421
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
116422
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
116423
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
116424
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
116425
 
+     some unit tests fail.
116426
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
116427
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
116428
 
+#if HAVE_LANGINFO_CODESET
116429
 
+  {
116430
 
+    const char *cs = nl_langinfo (CODESET);
116431
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
116432
 
+        || strcmp (cs, "UTF-8") == 0)
116433
 
+      return 1;
116434
 
+  }
116435
 
+#endif
116436
 
+#ifdef __CYGWIN__
116437
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
116438
 
+     locale_charset() function relies on the encoding suffix.  Note that
116439
 
+     LC_ALL is set on the command line.  */
116440
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
116441
 
+#endif
116442
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
116443
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
116444
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
116445
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
116446
 
+  for (p = buf; *p != '\0'; p++)
116447
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
116448
 
+      return 1;
116449
 
+  /* Check whether a typical GB18030 multibyte sequence is recognized as a
116450
 
+     single wide character.  This excludes the GB2312 and GBK encodings.  */
116451
 
+  if (mblen ("\203\062\332\066", 5) != 4)
116452
 
+    return 1;
116453
 
+  return 0;
116454
 
+}
116455
 
+      
116456
 
+_ACEOF
116457
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
116458
 
+  (eval $ac_link) 2>&5
116459
 
+  ac_status=$?
116460
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
116461
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
116462
 
+      case "$host_os" in
116463
 
+        # Handle native Windows specially, because there setlocale() interprets
116464
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
116465
 
+        # "fr" or "fra" as "French" or "French_France.1252",
116466
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
116467
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
116468
 
+        # and similar.
116469
 
+        mingw*)
116470
 
+          # Test for the hypothetical native Win32 locale name.
116471
 
+          if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116472
 
+            gt_cv_locale_zh_CN=Chinese_China.54936
116473
 
+          else
116474
 
+            # None found.
116475
 
+            gt_cv_locale_zh_CN=none
116476
 
+          fi
116477
 
+          ;;
116478
 
+        solaris2.8)
116479
 
+          # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
116480
 
+          # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
116481
 
+          # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
116482
 
+          gt_cv_locale_zh_CN=none
116483
 
+          ;;
116484
 
+        *)
116485
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
116486
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
116487
 
+          # configure script would override the LC_ALL setting. Likewise for
116488
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
116489
 
+          # Test for the locale name without encoding suffix.
116490
 
+          if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116491
 
+            gt_cv_locale_zh_CN=zh_CN
116492
 
+          else
116493
 
+            # Test for the locale name with explicit encoding suffix.
116494
 
+            if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
116495
 
+              gt_cv_locale_zh_CN=zh_CN.GB18030
116496
 
+            else
116497
 
+              # None found.
116498
 
+              gt_cv_locale_zh_CN=none
116499
 
+            fi
116500
 
+          fi
116501
 
+          ;;
116502
 
+      esac
116503
 
+    else
116504
 
+      # If there was a link error, due to mblen(), the system is so old that
116505
 
+      # it certainly doesn't have a chinese locale.
116506
 
+      gt_cv_locale_zh_CN=none
116507
 
+    fi
116508
 
+    rm -fr conftest*
116509
 
+  
116510
 
+fi
116511
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
116512
 
+$as_echo "$gt_cv_locale_zh_CN" >&6; }
116513
 
+  LOCALE_ZH_CN=$gt_cv_locale_zh_CN
116514
 
+  
116515
 
+
116516
 
+
116517
 
+  
116518
 
+
116519
 
+  
116520
 
+  if test $ac_cv_func_wctob = no; then
116521
 
+    HAVE_WCTOB=0
116522
 
+    HAVE_DECL_WCTOB=0
116523
 
+  else
116524
 
+    HAVE_WCTOB=1
116525
 
+
116526
 
+                
116527
 
+    
116528
 
+         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wctob works" >&5
116529
 
+$as_echo_n "checking whether wctob works... " >&6; }
116530
 
+if ${gl_cv_func_wctob_works+:} false; then :
116531
 
+  $as_echo_n "(cached) " >&6
116532
 
+else
116533
 
+  
116534
 
+                        case "$host_os" in
116535
 
+            # Guess no on Solaris <= 9 and Cygwin.
116536
 
+          solaris2.[1-9] | solaris2.[1-9].* | cygwin*)
116537
 
+            gl_cv_func_wctob_works="guessing no" ;;
116538
 
+            # Guess yes otherwise.
116539
 
+          *) gl_cv_func_wctob_works="guessing yes" ;;
116540
 
+        esac
116541
 
+        case "$host_os" in
116542
 
+          cygwin*)
116543
 
+            if test "$cross_compiling" = yes; then :
116544
 
+  :
116545
 
+else
116546
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
116547
 
+/* end confdefs.h.  */
116548
 
+
116549
 
+#include <locale.h>
116550
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
116551
 
+   <wchar.h>.
116552
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
116553
 
+   included before <wchar.h>.  */
116554
 
+#include <stddef.h>
116555
 
+#include <stdio.h>
116556
 
+#include <time.h>
116557
 
+#include <wchar.h>
116558
 
+
116559
 
+register long global __asm__ ("%ebx");
116560
 
+
116561
 
+int main ()
116562
 
+{
116563
 
+  setlocale (LC_ALL, "en_US.UTF-8");
116564
 
+
116565
 
+  global = 0x12345678;
116566
 
+  if (wctob (0x00FC) != -1)
116567
 
+    return 1;
116568
 
+  if (global != 0x12345678)
116569
 
+    return 2;
116570
 
+  return 0;
116571
 
+}
116572
 
+_ACEOF
116573
 
+if ac_fn_c_try_run "$LINENO"; then :
116574
 
+  :
116575
 
+else
116576
 
+  gl_cv_func_wctob_works=no
116577
 
+fi
116578
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
116579
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
116580
 
+fi
116581
 
+
116582
 
+            ;;
116583
 
+        esac
116584
 
+        if test "$gl_cv_func_wctob_works" != no && test $LOCALE_FR != none; then
116585
 
+          if test "$cross_compiling" = yes; then :
116586
 
+  :
116587
 
+else
116588
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
116589
 
+/* end confdefs.h.  */
116590
 
+
116591
 
+#include <locale.h>
116592
 
+#include <string.h>
116593
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
116594
 
+   <wchar.h>.
116595
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
116596
 
+   included before <wchar.h>.  */
116597
 
+#include <stddef.h>
116598
 
+#include <stdio.h>
116599
 
+#include <time.h>
116600
 
+#include <wchar.h>
116601
 
+int main ()
116602
 
+{
116603
 
+  if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
116604
 
+    {
116605
 
+      wchar_t wc;
116606
 
+
116607
 
+      if (mbtowc (&wc, "\374", 1) == 1)
116608
 
+        if (wctob (wc) != (unsigned char) '\374')
116609
 
+          return 1;
116610
 
+    }
116611
 
+  return 0;
116612
 
+}
116613
 
+_ACEOF
116614
 
+if ac_fn_c_try_run "$LINENO"; then :
116615
 
+  gl_cv_func_wctob_works=yes
116616
 
+else
116617
 
+  gl_cv_func_wctob_works=no
116618
 
+fi
116619
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
116620
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
116621
 
+fi
116622
 
+
116623
 
+        fi
116624
 
+      
116625
 
+fi
116626
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wctob_works" >&5
116627
 
+$as_echo "$gl_cv_func_wctob_works" >&6; }
116628
 
+    case "$gl_cv_func_wctob_works" in
116629
 
+      *yes) ;;
116630
 
+      *) REPLACE_WCTOB=1 ;;
116631
 
+    esac
116632
 
+    if test $REPLACE_WCTOB = 0; then
116633
 
+
116634
 
+            ac_fn_c_check_decl "$LINENO" "wctob" "ac_cv_have_decl_wctob" "
116635
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
116636
 
+   <wchar.h>.
116637
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
116638
 
+   before <wchar.h>.  */
116639
 
+#include <stddef.h>
116640
 
+#include <stdio.h>
116641
 
+#include <time.h>
116642
 
+#include <wchar.h>
116643
 
+
116644
 
+"
116645
 
+if test "x$ac_cv_have_decl_wctob" = xyes; then :
116646
 
+  ac_have_decl=1
116647
 
+else
116648
 
+  ac_have_decl=0
116649
 
+fi
116650
 
+
116651
 
+cat >>confdefs.h <<_ACEOF
116652
 
+@%:@define HAVE_DECL_WCTOB $ac_have_decl
116653
 
+_ACEOF
116654
 
+
116655
 
+      if test $ac_cv_have_decl_wctob != yes; then
116656
 
+        HAVE_DECL_WCTOB=0
116657
 
+      fi
116658
 
+    fi
116659
 
+  fi
116660
 
+
116661
 
+if test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1; then
116662
 
+  
116663
 
+  
116664
 
+  
116665
 
+    
116666
 
+      
116667
 
+      
116668
 
+    
116669
 
+  
116670
 
+  gltests_LIBOBJS="$gltests_LIBOBJS wctob.$ac_objext"
116671
 
+
116672
 
+  
116673
 
+  :
116674
 
+
116675
 
+fi
116676
 
+
116677
 
+    
116678
 
+  
116679
 
+  
116680
 
+  
116681
 
+    if test "$GNULIB_WCTOB" != 1; then
116682
 
+        if test "$GNULIB_WCTOB" = 0; then
116683
 
+      GNULIB_WCTOB=$gl_module_indicator_condition
116684
 
+    else
116685
 
+      GNULIB_WCTOB="($GNULIB_WCTOB || $gl_module_indicator_condition)"
116686
 
+    fi
116687
 
+  fi
116688
 
+
116689
 
+
116690
 
+
116691
 
+    
116692
 
+  
116693
 
+$as_echo "@%:@define GNULIB_TEST_WCTOB 1" >>confdefs.h
116694
 
+
116695
 
+
116696
 
+
116697
 
+
116698
 
+  
116699
 
+
116700
 
+  if false; then
116701
 
+    REPLACE_WCTOMB=1
116702
 
+  fi
116703
 
+
116704
 
+if test $REPLACE_WCTOMB = 1; then
116705
 
+  
116706
 
+  
116707
 
+  
116708
 
+    
116709
 
+      
116710
 
+      
116711
 
+    
116712
 
+  
116713
 
+  gltests_LIBOBJS="$gltests_LIBOBJS wctomb.$ac_objext"
116714
 
+
116715
 
+  
116716
 
+  :
116717
 
+
116718
 
+fi
116719
 
+
116720
 
+    
116721
 
+  
116722
 
+  
116723
 
+  
116724
 
+    if test "$GNULIB_WCTOMB" != 1; then
116725
 
+        if test "$GNULIB_WCTOMB" = 0; then
116726
 
+      GNULIB_WCTOMB=$gl_module_indicator_condition
116727
 
+    else
116728
 
+      GNULIB_WCTOMB="($GNULIB_WCTOMB || $gl_module_indicator_condition)"
116729
 
+    fi
116730
 
+  fi
116731
 
+
116732
 
+
116733
 
+
116734
 
+    
116735
 
+  
116736
 
+$as_echo "@%:@define GNULIB_TEST_WCTOMB 1" >>confdefs.h
116737
 
+
116738
 
+
116739
 
+
116740
 
+
116741
 
+  
116742
 
+    YIELD_LIB=
116743
 
+  if test $gl_threads_api = posix; then
116744
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
116745
 
+$as_echo_n "checking for sched_yield in -lrt... " >&6; }
116746
 
+if ${ac_cv_lib_rt_sched_yield+:} false; then :
116747
 
+  $as_echo_n "(cached) " >&6
116748
 
+else
116749
 
+  ac_check_lib_save_LIBS=$LIBS
116750
 
+LIBS="-lrt  $LIBS"
116751
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
116752
 
+/* end confdefs.h.  */
116753
 
+
116754
 
+/* Override any GCC internal prototype to avoid an error.
116755
 
+   Use char because int might match the return type of a GCC
116756
 
+   builtin and then its argument prototype would still apply.  */
116757
 
+#ifdef __cplusplus
116758
 
+extern "C"
116759
 
+#endif
116760
 
+char sched_yield ();
116761
 
+int
116762
 
+main ()
116763
 
+{
116764
 
+return sched_yield ();
116765
 
+  ;
116766
 
+  return 0;
116767
 
+}
116768
 
+_ACEOF
116769
 
+if ac_fn_c_try_link "$LINENO"; then :
116770
 
+  ac_cv_lib_rt_sched_yield=yes
116771
 
+else
116772
 
+  ac_cv_lib_rt_sched_yield=no
116773
 
+fi
116774
 
+rm -f core conftest.err conftest.$ac_objext \
116775
 
+    conftest$ac_exeext conftest.$ac_ext
116776
 
+LIBS=$ac_check_lib_save_LIBS
116777
 
+fi
116778
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
116779
 
+$as_echo "$ac_cv_lib_rt_sched_yield" >&6; }
116780
 
+if test "x$ac_cv_lib_rt_sched_yield" = xyes; then :
116781
 
+  YIELD_LIB=-lrt
116782
 
+else
116783
 
+         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
116784
 
+$as_echo_n "checking for sched_yield in -lposix4... " >&6; }
116785
 
+if ${ac_cv_lib_posix4_sched_yield+:} false; then :
116786
 
+  $as_echo_n "(cached) " >&6
116787
 
+else
116788
 
+  ac_check_lib_save_LIBS=$LIBS
116789
 
+LIBS="-lposix4  $LIBS"
116790
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
116791
 
+/* end confdefs.h.  */
116792
 
+
116793
 
+/* Override any GCC internal prototype to avoid an error.
116794
 
+   Use char because int might match the return type of a GCC
116795
 
+   builtin and then its argument prototype would still apply.  */
116796
 
+#ifdef __cplusplus
116797
 
+extern "C"
116798
 
+#endif
116799
 
+char sched_yield ();
116800
 
+int
116801
 
+main ()
116802
 
+{
116803
 
+return sched_yield ();
116804
 
+  ;
116805
 
+  return 0;
116806
 
+}
116807
 
+_ACEOF
116808
 
+if ac_fn_c_try_link "$LINENO"; then :
116809
 
+  ac_cv_lib_posix4_sched_yield=yes
116810
 
+else
116811
 
+  ac_cv_lib_posix4_sched_yield=no
116812
 
+fi
116813
 
+rm -f core conftest.err conftest.$ac_objext \
116814
 
+    conftest$ac_exeext conftest.$ac_ext
116815
 
+LIBS=$ac_check_lib_save_LIBS
116816
 
+fi
116817
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
116818
 
+$as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
116819
 
+if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
116820
 
+  YIELD_LIB=-lposix4
116821
 
+fi
116822
 
+
116823
 
+fi
116824
 
+
116825
 
+  fi
116826
 
+  
116827
 
+
116828
 
+  
116829
 
+  
116830
 
+          
116831
 
+  
116832
 
+  
116833
 
+  
116834
 
+  
116835
 
+  
116836
 
+  
116837
 
+  
116838
 
+  LIBCOREUTILS_LIBDEPS="$gl_libdeps"
116839
 
+  
116840
 
+  LIBCOREUTILS_LTLIBDEPS="$gl_ltlibdeps"
116841
 
+  
116842
 
+  LIBTESTS_LIBDEPS="$gltests_libdeps"
116843
 
+  
116844
 
+
116845
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
116846
 
+$as_echo_n "checking for library containing strerror... " >&6; }
116847
 
+if ${ac_cv_search_strerror+:} false; then :
116848
 
+  $as_echo_n "(cached) " >&6
116849
 
+else
116850
 
+  ac_func_search_save_LIBS=$LIBS
116851
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
116852
 
+/* end confdefs.h.  */
116853
 
+
116854
 
+/* Override any GCC internal prototype to avoid an error.
116855
 
+   Use char because int might match the return type of a GCC
116856
 
+   builtin and then its argument prototype would still apply.  */
116857
 
+#ifdef __cplusplus
116858
 
+extern "C"
116859
 
+#endif
116860
 
+char strerror ();
116861
 
+int
116862
 
+main ()
116863
 
+{
116864
 
+return strerror ();
116865
 
+  ;
116866
 
+  return 0;
116867
 
+}
116868
 
+_ACEOF
116869
 
+for ac_lib in '' cposix; do
116870
 
+  if test -z "$ac_lib"; then
116871
 
+    ac_res="none required"
116872
 
+  else
116873
 
+    ac_res=-l$ac_lib
116874
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
116875
 
+  fi
116876
 
+  if ac_fn_c_try_link "$LINENO"; then :
116877
 
+  ac_cv_search_strerror=$ac_res
116878
 
+fi
116879
 
+rm -f core conftest.err conftest.$ac_objext \
116880
 
+    conftest$ac_exeext
116881
 
+  if ${ac_cv_search_strerror+:} false; then :
116882
 
+  break
116883
 
+fi
116884
 
+done
116885
 
+if ${ac_cv_search_strerror+:} false; then :
116886
 
+  
116887
 
+else
116888
 
+  ac_cv_search_strerror=no
116889
 
+fi
116890
 
+rm conftest.$ac_ext
116891
 
+LIBS=$ac_func_search_save_LIBS
116892
 
+fi
116893
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
116894
 
+$as_echo "$ac_cv_search_strerror" >&6; }
116895
 
+ac_res=$ac_cv_search_strerror
116896
 
+if test "$ac_res" != no; then :
116897
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
116898
 
+  
116899
 
+fi
116900
 
+
116901
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
116902
 
+$as_echo_n "checking for function prototypes... " >&6; }
116903
 
+if test "$ac_cv_prog_cc_c89" != no; then
116904
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
116905
 
+$as_echo "yes" >&6; }
116906
 
+  
116907
 
+$as_echo "@%:@define PROTOTYPES 1" >>confdefs.h
116908
 
+
116909
 
+  
116910
 
+$as_echo "@%:@define __PROTOTYPES 1" >>confdefs.h
116911
 
+
116912
 
+else
116913
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
116914
 
+$as_echo "no" >&6; }
116915
 
+fi
116916
 
+
116917
 
+
116918
 
+if test "$ac_cv_prog_cc_stdc" != no; then
116919
 
+  U= ANSI2KNR=
116920
 
+else
116921
 
+  U=_ ANSI2KNR=./ansi2knr
116922
 
+fi
116923
 
+# Ensure some checks needed by ansi2knr itself.
116924
 
+
116925
 
+for ac_header in string.h
116926
 
+do :
116927
 
+  ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
116928
 
+if test "x$ac_cv_header_string_h" = xyes; then :
116929
 
+  cat >>confdefs.h <<_ACEOF
116930
 
+@%:@define HAVE_STRING_H 1
116931
 
+_ACEOF
116932
 
116933
 
+fi
116934
 
+
116935
 
+done
116936
 
+
116937
 
+
116938
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
116939
 
+$as_echo_n "checking for working volatile... " >&6; }
116940
 
+if ${ac_cv_c_volatile+:} false; then :
116941
 
+  $as_echo_n "(cached) " >&6
116942
 
+else
116943
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
116944
 
+/* end confdefs.h.  */
116945
 
+
116946
 
+int
116947
 
+main ()
116948
 
+{
116949
 
+
116950
 
+volatile int x;
116951
 
+int * volatile y = (int *) 0;
116952
 
+return !x && !y;
116953
 
+  ;
116954
 
+  return 0;
116955
 
+}
116956
 
+_ACEOF
116957
 
+if ac_fn_c_try_compile "$LINENO"; then :
116958
 
+  ac_cv_c_volatile=yes
116959
 
+else
116960
 
+  ac_cv_c_volatile=no
116961
 
+fi
116962
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
116963
 
+fi
116964
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
116965
 
+$as_echo "$ac_cv_c_volatile" >&6; }
116966
 
+if test $ac_cv_c_volatile = no; then
116967
 
+  
116968
 
+$as_echo "@%:@define volatile /**/" >>confdefs.h
116969
 
+
116970
 
+fi
116971
 
+
116972
 
+
116973
 
+
116974
 
+
116975
 
+
116976
 
+
116977
 
+
116978
 
+
116979
 
+
116980
 
+
116981
 
+
116982
 
+
116983
 
+
116984
 
+
116985
 
+  
116986
 
+  for ac_header in sys/sysctl.h
116987
 
+do :
116988
 
+  ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "$ac_includes_default
116989
 
+     #if HAVE_SYS_PARAM_H
116990
 
+       #include <sys/param.h>
116991
 
+      #endif
116992
 
+"
116993
 
+if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
116994
 
+  cat >>confdefs.h <<_ACEOF
116995
 
+@%:@define HAVE_SYS_SYSCTL_H 1
116996
 
+_ACEOF
116997
 
116998
 
+fi
116999
 
+
117000
 
+done
117001
 
+
117002
 
+
117003
 
+ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
117004
 
+if test "x$ac_cv_type_pid_t" = xyes; then :
117005
 
+  
117006
 
+else
117007
 
+  
117008
 
+cat >>confdefs.h <<_ACEOF
117009
 
+@%:@define pid_t int
117010
 
+_ACEOF
117011
 
+
117012
 
+fi
117013
 
+
117014
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
117015
 
+$as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
117016
 
+if ${ac_cv_header_sys_types_h_makedev+:} false; then :
117017
 
+  $as_echo_n "(cached) " >&6
117018
 
+else
117019
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
117020
 
+/* end confdefs.h.  */
117021
 
+@%:@include <sys/types.h>
117022
 
+int
117023
 
+main ()
117024
 
+{
117025
 
+return makedev(0, 0);
117026
 
+  ;
117027
 
+  return 0;
117028
 
+}
117029
 
+_ACEOF
117030
 
+if ac_fn_c_try_link "$LINENO"; then :
117031
 
+  ac_cv_header_sys_types_h_makedev=yes
117032
 
+else
117033
 
+  ac_cv_header_sys_types_h_makedev=no
117034
 
+fi
117035
 
+rm -f core conftest.err conftest.$ac_objext \
117036
 
+    conftest$ac_exeext conftest.$ac_ext
117037
 
+
117038
 
+fi
117039
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
117040
 
+$as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
117041
 
+
117042
 
+if test $ac_cv_header_sys_types_h_makedev = no; then
117043
 
+ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
117044
 
+if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
117045
 
+  
117046
 
+$as_echo "@%:@define MAJOR_IN_MKDEV 1" >>confdefs.h
117047
 
+
117048
 
+fi
117049
 
+
117050
 
+
117051
 
+
117052
 
+  if test $ac_cv_header_sys_mkdev_h = no; then
117053
 
+    ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
117054
 
+if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
117055
 
+  
117056
 
+$as_echo "@%:@define MAJOR_IN_SYSMACROS 1" >>confdefs.h
117057
 
+
117058
 
+fi
117059
 
+
117060
 
+
117061
 
+  fi
117062
 
+fi
117063
 
+
117064
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
117065
 
+$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
117066
 
+if ${ac_cv_header_time+:} false; then :
117067
 
+  $as_echo_n "(cached) " >&6
117068
 
+else
117069
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
117070
 
+/* end confdefs.h.  */
117071
 
+#include <sys/types.h>
117072
 
+#include <sys/time.h>
117073
 
+#include <time.h>
117074
 
+
117075
 
+int
117076
 
+main ()
117077
 
+{
117078
 
+if ((struct tm *) 0)
117079
 
+return 0;
117080
 
+  ;
117081
 
+  return 0;
117082
 
+}
117083
 
+_ACEOF
117084
 
+if ac_fn_c_try_compile "$LINENO"; then :
117085
 
+  ac_cv_header_time=yes
117086
 
+else
117087
 
+  ac_cv_header_time=no
117088
 
+fi
117089
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
117090
 
+fi
117091
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
117092
 
+$as_echo "$ac_cv_header_time" >&6; }
117093
 
+if test $ac_cv_header_time = yes; then
117094
 
+  
117095
 
+$as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
117096
 
+
117097
 
+fi
117098
 
+
117099
 
+
117100
 
+
117101
 
+ac_fn_c_check_decl "$LINENO" "geteuid" "ac_cv_have_decl_geteuid" "$ac_includes_default"
117102
 
+if test "x$ac_cv_have_decl_geteuid" = xyes; then :
117103
 
+  ac_have_decl=1
117104
 
+else
117105
 
+  ac_have_decl=0
117106
 
+fi
117107
 
+
117108
 
+cat >>confdefs.h <<_ACEOF
117109
 
+@%:@define HAVE_DECL_GETEUID $ac_have_decl
117110
 
+_ACEOF
117111
 
+
117112
 
+ac_fn_c_check_decl "$LINENO" "getlogin" "ac_cv_have_decl_getlogin" "$ac_includes_default"
117113
 
+if test "x$ac_cv_have_decl_getlogin" = xyes; then :
117114
 
+  ac_have_decl=1
117115
 
+else
117116
 
+  ac_have_decl=0
117117
 
+fi
117118
 
+
117119
 
+cat >>confdefs.h <<_ACEOF
117120
 
+@%:@define HAVE_DECL_GETLOGIN $ac_have_decl
117121
 
+_ACEOF
117122
 
+
117123
 
+ac_fn_c_check_decl "$LINENO" "getuid" "ac_cv_have_decl_getuid" "$ac_includes_default"
117124
 
+if test "x$ac_cv_have_decl_getuid" = xyes; then :
117125
 
+  ac_have_decl=1
117126
 
+else
117127
 
+  ac_have_decl=0
117128
 
+fi
117129
 
+
117130
 
+cat >>confdefs.h <<_ACEOF
117131
 
+@%:@define HAVE_DECL_GETUID $ac_have_decl
117132
 
+_ACEOF
117133
 
+
117134
 
+
117135
 
+  
117136
 
+
117137
 
+  
117138
 
+  headers='
117139
 
+#include <sys/types.h>
117140
 
+
117141
 
+#include <unistd.h>
117142
 
+
117143
 
+#if HAVE_GRP_H
117144
 
+# include <grp.h>
117145
 
+#endif
117146
 
+
117147
 
+#if HAVE_PWD_H
117148
 
+# include <pwd.h>
117149
 
+#endif
117150
 
+'
117151
 
+  ac_fn_c_check_decl "$LINENO" "getgrgid" "ac_cv_have_decl_getgrgid" "$headers
117152
 
+"
117153
 
+if test "x$ac_cv_have_decl_getgrgid" = xyes; then :
117154
 
+  ac_have_decl=1
117155
 
+else
117156
 
+  ac_have_decl=0
117157
 
+fi
117158
 
+
117159
 
+cat >>confdefs.h <<_ACEOF
117160
 
+@%:@define HAVE_DECL_GETGRGID $ac_have_decl
117161
 
+_ACEOF
117162
 
+ac_fn_c_check_decl "$LINENO" "getpwuid" "ac_cv_have_decl_getpwuid" "$headers
117163
 
+"
117164
 
+if test "x$ac_cv_have_decl_getpwuid" = xyes; then :
117165
 
+  ac_have_decl=1
117166
 
+else
117167
 
+  ac_have_decl=0
117168
 
+fi
117169
 
+
117170
 
+cat >>confdefs.h <<_ACEOF
117171
 
+@%:@define HAVE_DECL_GETPWUID $ac_have_decl
117172
 
+_ACEOF
117173
 
+ac_fn_c_check_decl "$LINENO" "ttyname" "ac_cv_have_decl_ttyname" "$headers
117174
 
+"
117175
 
+if test "x$ac_cv_have_decl_ttyname" = xyes; then :
117176
 
+  ac_have_decl=1
117177
 
+else
117178
 
+  ac_have_decl=0
117179
 
+fi
117180
 
+
117181
 
+cat >>confdefs.h <<_ACEOF
117182
 
+@%:@define HAVE_DECL_TTYNAME $ac_have_decl
117183
 
+_ACEOF
117184
 
+
117185
 
+
117186
 
+  
117187
 
+  
117188
 
+  
117189
 
+
117190
 
+
117191
 
+  
117192
 
+  
117193
 
+$as_echo "@%:@define PREFER_NONREENTRANT_EUIDACCESS 1" >>confdefs.h
117194
 
+
117195
 
+
117196
 
+
117197
 
+  
117198
 
+  case " $LIB@&t@OBJS " in
117199
 
+  *" euidaccess-stat.$ac_objext "* ) ;;
117200
 
+  *) LIB@&t@OBJS="$LIB@&t@OBJS euidaccess-stat.$ac_objext"
117201
 
+ ;;
117202
 
+esac
117203
 
+
117204
 
+
117205
 
+
117206
 
+  
117207
 
+  case " $LIB@&t@OBJS " in
117208
 
+  *" fd-reopen.$ac_objext "* ) ;;
117209
 
+  *) LIB@&t@OBJS="$LIB@&t@OBJS fd-reopen.$ac_objext"
117210
 
+ ;;
117211
 
+esac
117212
 
+
117213
 
+
117214
 
+
117215
 
+  @%:@ Check whether --enable-xattr was given.
117216
 
+if test "${enable_xattr+set}" = set; then :
117217
 
+  enableval=$enable_xattr; use_xattr=$enableval
117218
 
+else
117219
 
+  use_xattr=yes
117220
 
+fi
117221
 
+
117222
 
+
117223
 
+  LIB_XATTR=
117224
 
+  
117225
 
+
117226
 
+  if test "$use_xattr" = "yes"; then
117227
 
+    for ac_header in attr/error_context.h attr/libattr.h
117228
 
+do :
117229
 
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
117230
 
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
117231
 
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
117232
 
+  cat >>confdefs.h <<_ACEOF
117233
 
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
117234
 
+_ACEOF
117235
 
117236
 
+fi
117237
 
+
117238
 
+done
117239
 
+
117240
 
+    use_xattr=no
117241
 
+    if test $ac_cv_header_attr_libattr_h = yes \
117242
 
+        && test $ac_cv_header_attr_error_context_h = yes; then
117243
 
+      xattr_saved_LIBS=$LIBS
117244
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing attr_copy_file" >&5
117245
 
+$as_echo_n "checking for library containing attr_copy_file... " >&6; }
117246
 
+if ${ac_cv_search_attr_copy_file+:} false; then :
117247
 
+  $as_echo_n "(cached) " >&6
117248
 
+else
117249
 
+  ac_func_search_save_LIBS=$LIBS
117250
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
117251
 
+/* end confdefs.h.  */
117252
 
+
117253
 
+/* Override any GCC internal prototype to avoid an error.
117254
 
+   Use char because int might match the return type of a GCC
117255
 
+   builtin and then its argument prototype would still apply.  */
117256
 
+#ifdef __cplusplus
117257
 
+extern "C"
117258
 
+#endif
117259
 
+char attr_copy_file ();
117260
 
+int
117261
 
+main ()
117262
 
+{
117263
 
+return attr_copy_file ();
117264
 
+  ;
117265
 
+  return 0;
117266
 
+}
117267
 
+_ACEOF
117268
 
+for ac_lib in '' attr; do
117269
 
+  if test -z "$ac_lib"; then
117270
 
+    ac_res="none required"
117271
 
+  else
117272
 
+    ac_res=-l$ac_lib
117273
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
117274
 
+  fi
117275
 
+  if ac_fn_c_try_link "$LINENO"; then :
117276
 
+  ac_cv_search_attr_copy_file=$ac_res
117277
 
+fi
117278
 
+rm -f core conftest.err conftest.$ac_objext \
117279
 
+    conftest$ac_exeext
117280
 
+  if ${ac_cv_search_attr_copy_file+:} false; then :
117281
 
+  break
117282
 
+fi
117283
 
+done
117284
 
+if ${ac_cv_search_attr_copy_file+:} false; then :
117285
 
+  
117286
 
+else
117287
 
+  ac_cv_search_attr_copy_file=no
117288
 
+fi
117289
 
+rm conftest.$ac_ext
117290
 
+LIBS=$ac_func_search_save_LIBS
117291
 
+fi
117292
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_attr_copy_file" >&5
117293
 
+$as_echo "$ac_cv_search_attr_copy_file" >&6; }
117294
 
+ac_res=$ac_cv_search_attr_copy_file
117295
 
+if test "$ac_res" != no; then :
117296
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
117297
 
+  test "$ac_cv_search_attr_copy_file" = "none required" ||
117298
 
+                        LIB_XATTR=$ac_cv_search_attr_copy_file
117299
 
+fi
117300
 
+
117301
 
+      for ac_func in attr_copy_file
117302
 
+do :
117303
 
+  ac_fn_c_check_func "$LINENO" "attr_copy_file" "ac_cv_func_attr_copy_file"
117304
 
+if test "x$ac_cv_func_attr_copy_file" = xyes; then :
117305
 
+  cat >>confdefs.h <<_ACEOF
117306
 
+@%:@define HAVE_ATTR_COPY_FILE 1
117307
 
+_ACEOF
117308
 
117309
 
+fi
117310
 
+done
117311
 
+
117312
 
+      LIBS=$xattr_saved_LIBS
117313
 
+      if test $ac_cv_func_attr_copy_file = yes; then
117314
 
+        use_xattr=yes
117315
 
+      fi
117316
 
+    fi
117317
 
+    if test $use_xattr = no; then
117318
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libattr development library was not found or not usable." >&5
117319
 
+$as_echo "$as_me: WARNING: libattr development library was not found or not usable." >&2;}
117320
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU coreutils will be built without xattr support." >&5
117321
 
+$as_echo "$as_me: WARNING: GNU coreutils will be built without xattr support." >&2;}
117322
 
+    fi
117323
 
+  fi
117324
 
+  
117325
 
+cat >>confdefs.h <<_ACEOF
117326
 
+@%:@define USE_XATTR `test $use_xattr != yes; echo $?`
117327
 
+_ACEOF
117328
 
+
117329
 
+
117330
 
+
117331
 
+  
117332
 
+  case " $LIB@&t@OBJS " in
117333
 
+  *" xfts.$ac_objext "* ) ;;
117334
 
+  *) LIB@&t@OBJS="$LIB@&t@OBJS xfts.$ac_objext"
117335
 
+ ;;
117336
 
+esac
117337
 
+
117338
 
+
117339
 
+    :
117340
 
+
117341
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
117342
 
+$as_echo_n "checking for inline... " >&6; }
117343
 
+if ${ac_cv_c_inline+:} false; then :
117344
 
+  $as_echo_n "(cached) " >&6
117345
 
+else
117346
 
+  ac_cv_c_inline=no
117347
 
+for ac_kw in inline __inline__ __inline; do
117348
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
117349
 
+/* end confdefs.h.  */
117350
 
+#ifndef __cplusplus
117351
 
+typedef int foo_t;
117352
 
+static $ac_kw foo_t static_foo () {return 0; }
117353
 
+$ac_kw foo_t foo () {return 0; }
117354
 
+#endif
117355
 
+
117356
 
+_ACEOF
117357
 
+if ac_fn_c_try_compile "$LINENO"; then :
117358
 
+  ac_cv_c_inline=$ac_kw
117359
 
+fi
117360
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
117361
 
+  test "$ac_cv_c_inline" != no && break
117362
 
+done
117363
 
+
117364
 
+fi
117365
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
117366
 
+$as_echo "$ac_cv_c_inline" >&6; }
117367
 
+
117368
 
+case $ac_cv_c_inline in
117369
 
+  inline | yes) ;;
117370
 
+  *)
117371
 
+    case $ac_cv_c_inline in
117372
 
+      no) ac_val=;;
117373
 
+      *) ac_val=$ac_cv_c_inline;;
117374
 
+    esac
117375
 
+    cat >>confdefs.h <<_ACEOF
117376
 
+#ifndef __cplusplus
117377
 
+#define inline $ac_val
117378
 
+#endif
117379
 
+_ACEOF
117380
 
+    ;;
117381
 
+esac
117382
 
+
117383
 
+
117384
 
+  
117385
 
+  case " $LIB@&t@OBJS " in
117386
 
+  *" strintcmp.$ac_objext "* ) ;;
117387
 
+  *) LIB@&t@OBJS="$LIB@&t@OBJS strintcmp.$ac_objext"
117388
 
+ ;;
117389
 
+esac
117390
 
+
117391
 
+
117392
 
+    
117393
 
+
117394
 
+
117395
 
+  
117396
 
+  case " $LIB@&t@OBJS " in
117397
 
+  *" strnumcmp.$ac_objext "* ) ;;
117398
 
+  *) LIB@&t@OBJS="$LIB@&t@OBJS strnumcmp.$ac_objext"
117399
 
+ ;;
117400
 
+esac
117401
 
+
117402
 
+
117403
 
+    
117404
 
+
117405
 
+
117406
 
+  # gnulib settings.
117407
 
+  
117408
 
+
117409
 
+  # We don't use c-stack.c.
117410
 
+  # AC_REQUIRE([gl_C_STACK])
117411
 
+
117412
 
+  # Invoke macros of modules that may migrate into gnulib.
117413
 
+  # There's no need to list gnulib modules here, since gnulib-tool
117414
 
+  # handles that; see ../bootstrap.conf.
117415
 
+  
117416
 
+  
117417
 
+  
117418
 
+  
117419
 
+  
117420
 
+  
117421
 
+
117422
 
+
117423
 
+
117424
 
+
117425
 
+
117426
 
+
117427
 
+
117428
 
+
117429
 
+
117430
 
+
117431
 
+
117432
 
+
117433
 
+
117434
 
+
117435
 
+
117436
 
+
117437
 
+
117438
 
+
117439
 
+
117440
 
+
117441
 
+
117442
 
+
117443
 
+
117444
 
+
117445
 
+
117446
 
+
117447
 
+
117448
 
+
117449
 
+
117450
 
+ac_fn_c_check_decl "$LINENO" "fdatasync" "ac_cv_have_decl_fdatasync" "$ac_includes_default"
117451
 
+if test "x$ac_cv_have_decl_fdatasync" = xyes; then :
117452
 
+  ac_have_decl=1
117453
 
+else
117454
 
+  ac_have_decl=0
117455
 
+fi
117456
 
+
117457
 
+cat >>confdefs.h <<_ACEOF
117458
 
+@%:@define HAVE_DECL_FDATASYNC $ac_have_decl
117459
 
+_ACEOF
117460
 
+
117461
 
+
117462
 
+  
117463
 
+HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
117464
 
+
117465
 
+  
117466
 
+
117467
 
+    
117468
 
+  
117469
 
+        
117470
 
+
117471
 
+    
117472
 
+  
117473
 
+  
117474
 
+  
117475
 
+
117476
 
+  
117477
 
+  ac_fn_c_check_member "$LINENO" "struct stat" "st_author" "ac_cv_member_struct_stat_st_author" "$ac_includes_default
117478
 
+#include <sys/stat.h>
117479
 
+  
117480
 
+"
117481
 
+if test "x$ac_cv_member_struct_stat_st_author" = xyes; then :
117482
 
+  
117483
 
+cat >>confdefs.h <<_ACEOF
117484
 
+@%:@define HAVE_STRUCT_STAT_ST_AUTHOR 1
117485
 
+_ACEOF
117486
 
+
117487
 
+
117488
 
+fi
117489
 
+
117490
 
+  
117491
 
+
117492
 
+  
117493
 
+  
117494
 
+  
117495
 
+  
117496
 
+  
117497
 
+  
117498
 
+  
117499
 
+  ac_fn_c_check_type "$LINENO" "ino_t" "ac_cv_type_ino_t" "$ac_includes_default"
117500
 
+if test "x$ac_cv_type_ino_t" = xyes; then :
117501
 
+  
117502
 
+else
117503
 
+  
117504
 
+cat >>confdefs.h <<_ACEOF
117505
 
+@%:@define ino_t unsigned long int
117506
 
+_ACEOF
117507
 
+
117508
 
+fi
117509
 
+
117510
 
+
117511
 
+      ac_fn_c_check_type "$LINENO" "major_t" "ac_cv_type_major_t" "$ac_includes_default"
117512
 
+if test "x$ac_cv_type_major_t" = xyes; then :
117513
 
+  
117514
 
+else
117515
 
+  
117516
 
+cat >>confdefs.h <<_ACEOF
117517
 
+@%:@define major_t unsigned int
117518
 
+_ACEOF
117519
 
+
117520
 
+fi
117521
 
+
117522
 
+  ac_fn_c_check_type "$LINENO" "minor_t" "ac_cv_type_minor_t" "$ac_includes_default"
117523
 
+if test "x$ac_cv_type_minor_t" = xyes; then :
117524
 
+  
117525
 
+else
117526
 
+  
117527
 
+cat >>confdefs.h <<_ACEOF
117528
 
+@%:@define minor_t unsigned int
117529
 
+_ACEOF
117530
 
+
117531
 
+fi
117532
 
+
117533
 
+
117534
 
+  
117535
 
+
117536
 
+
117537
 
+  
117538
 
+
117539
 
+  
117540
 
+
117541
 
+  
117542
 
+
117543
 
+  # By default, argmatch should fail calling usage (EXIT_FAILURE).
117544
 
+  
117545
 
+$as_echo "@%:@define ARGMATCH_DIE usage (EXIT_FAILURE)" >>confdefs.h
117546
 
+
117547
 
+  
117548
 
+$as_echo "@%:@define ARGMATCH_DIE_DECL void usage (int _e)" >>confdefs.h
117549
 
+
117550
 
+
117551
 
+  # used by shred
117552
 
+  
117553
 
+
117554
 
+  # Used by install.c.
117555
 
+  coreutils_saved_libs=$LIBS
117556
 
+    LIBS="$LIBS $LIB_SELINUX"
117557
 
+    for ac_func in matchpathcon_init_prefix
117558
 
+do :
117559
 
+  ac_fn_c_check_func "$LINENO" "matchpathcon_init_prefix" "ac_cv_func_matchpathcon_init_prefix"
117560
 
+if test "x$ac_cv_func_matchpathcon_init_prefix" = xyes; then :
117561
 
+  cat >>confdefs.h <<_ACEOF
117562
 
+@%:@define HAVE_MATCHPATHCON_INIT_PREFIX 1
117563
 
+_ACEOF
117564
 
117565
 
+else
117566
 
+  
117567
 
+      case "$ac_cv_search_setfilecon:$ac_cv_header_selinux_selinux_h" in
117568
 
+        no:*) # SELinux disabled
117569
 
+          ;;
117570
 
+        *:no) # SELinux disabled
117571
 
+          ;;
117572
 
+        *)
117573
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SELinux enabled, but matchpathcon_init_prefix not found" >&5
117574
 
+$as_echo "$as_me: WARNING: SELinux enabled, but matchpathcon_init_prefix not found" >&2;}
117575
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The install utility may run slowly" >&5
117576
 
+$as_echo "$as_me: WARNING: The install utility may run slowly" >&2;}
117577
 
+      esac
117578
 
+    
117579
 
+fi
117580
 
+done
117581
 
+
117582
 
+  LIBS=$coreutils_saved_libs
117583
 
+
117584
 
+  # Used by sort.c.
117585
 
+  
117586
 
+  # Used by timeout.c
117587
 
+  
117588
 
+
117589
 
+  # Used by tail.c.
117590
 
+  for ac_func in inotify_init
117591
 
+do :
117592
 
+  ac_fn_c_check_func "$LINENO" "inotify_init" "ac_cv_func_inotify_init"
117593
 
+if test "x$ac_cv_func_inotify_init" = xyes; then :
117594
 
+  cat >>confdefs.h <<_ACEOF
117595
 
+@%:@define HAVE_INOTIFY_INIT 1
117596
 
+_ACEOF
117597
 
117598
 
+$as_echo "@%:@define HAVE_INOTIFY 1" >>confdefs.h
117599
 
+
117600
 
+fi
117601
 
+done
117602
 
+
117603
 
+
117604
 
+  
117605
 
+
117606
 
+    
117607
 
+  
117608
 
+  
117609
 
+  
117610
 
+
117611
 
+      test $ac_cv_header_sys_param_h = yes &&
117612
 
+  test $ac_cv_header_sys_mount_h = yes &&
117613
 
+  for ac_header in nfs/vfs.h
117614
 
+do :
117615
 
+  ac_fn_c_check_header_mongrel "$LINENO" "nfs/vfs.h" "ac_cv_header_nfs_vfs_h" "$ac_includes_default"
117616
 
+if test "x$ac_cv_header_nfs_vfs_h" = xyes; then :
117617
 
+  cat >>confdefs.h <<_ACEOF
117618
 
+@%:@define HAVE_NFS_VFS_H 1
117619
 
+_ACEOF
117620
 
+ for ac_header in nfs/nfs_client.h
117621
 
+do :
117622
 
+  ac_fn_c_check_header_mongrel "$LINENO" "nfs/nfs_client.h" "ac_cv_header_nfs_nfs_client_h" "$ac_includes_default"
117623
 
+if test "x$ac_cv_header_nfs_nfs_client_h" = xyes; then :
117624
 
+  cat >>confdefs.h <<_ACEOF
117625
 
+@%:@define HAVE_NFS_NFS_CLIENT_H 1
117626
 
+_ACEOF
117627
 
117628
 
+fi
117629
 
+
117630
 
+done
117631
 
+
117632
 
+fi
117633
 
+
117634
 
+done
117635
 
+
117636
 
+
117637
 
+  statvfs_includes="\
117638
 
+$ac_includes_default
117639
 
+#include <sys/statvfs.h>
117640
 
+"
117641
 
+  statfs_includes="\
117642
 
+$ac_includes_default
117643
 
+#if HAVE_SYS_VFS_H
117644
 
+# include <sys/vfs.h>
117645
 
+#elif HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H
117646
 
+# include <sys/param.h>
117647
 
+# include <sys/mount.h>
117648
 
+# if HAVE_NETINET_IN_H && HAVE_NFS_NFS_CLNT_H && HAVE_NFS_VFS_H
117649
 
+#  include <netinet/in.h>
117650
 
+#  include <nfs/nfs_clnt.h>
117651
 
+#  include <nfs/vfs.h>
117652
 
+# endif
117653
 
+#elif HAVE_OS_H
117654
 
+# include <fs_info.h>
117655
 
+#endif
117656
 
+"
117657
 
+      if case "$fu_cv_sys_stat_statvfs$fu_cv_sys_stat_statvfs64" in
117658
 
+       *yes*) ;; *) false;; esac &&
117659
 
+     { ac_fn_c_check_member "$LINENO" "struct statvfs" "f_basetype" "ac_cv_member_struct_statvfs_f_basetype" "$statvfs_includes
117660
 
+"
117661
 
+if test "x$ac_cv_member_struct_statvfs_f_basetype" = xyes; then :
117662
 
+  
117663
 
+cat >>confdefs.h <<_ACEOF
117664
 
+@%:@define HAVE_STRUCT_STATVFS_F_BASETYPE 1
117665
 
+_ACEOF
117666
 
+
117667
 
+
117668
 
+fi
117669
 
+
117670
 
+       test $ac_cv_member_struct_statvfs_f_basetype = yes ||
117671
 
+       { ac_fn_c_check_member "$LINENO" "struct statvfs" "f_fstypename" "ac_cv_member_struct_statvfs_f_fstypename" "$statvfs_includes
117672
 
+"
117673
 
+if test "x$ac_cv_member_struct_statvfs_f_fstypename" = xyes; then :
117674
 
+  
117675
 
+cat >>confdefs.h <<_ACEOF
117676
 
+@%:@define HAVE_STRUCT_STATVFS_F_FSTYPENAME 1
117677
 
+_ACEOF
117678
 
+
117679
 
+
117680
 
+fi
117681
 
+
117682
 
+         test $ac_cv_member_struct_statvfs_f_fstypename = yes ||
117683
 
+         { test $ac_cv_member_struct_statfs_f_fstypename != yes &&
117684
 
+           { ac_fn_c_check_member "$LINENO" "struct statvfs" "f_type" "ac_cv_member_struct_statvfs_f_type" "$statvfs_includes
117685
 
+"
117686
 
+if test "x$ac_cv_member_struct_statvfs_f_type" = xyes; then :
117687
 
+  
117688
 
+cat >>confdefs.h <<_ACEOF
117689
 
+@%:@define HAVE_STRUCT_STATVFS_F_TYPE 1
117690
 
+_ACEOF
117691
 
+
117692
 
+
117693
 
+fi
117694
 
+
117695
 
+             test $ac_cv_member_struct_statvfs_f_type = yes; }; }; }; }
117696
 
+  then
117697
 
+    ac_fn_c_check_member "$LINENO" "struct statvfs" "f_namemax" "ac_cv_member_struct_statvfs_f_namemax" "$statvfs_includes
117698
 
+"
117699
 
+if test "x$ac_cv_member_struct_statvfs_f_namemax" = xyes; then :
117700
 
+  
117701
 
+cat >>confdefs.h <<_ACEOF
117702
 
+@%:@define HAVE_STRUCT_STATVFS_F_NAMEMAX 1
117703
 
+_ACEOF
117704
 
+
117705
 
+
117706
 
+fi
117707
 
+
117708
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
117709
 
+/* end confdefs.h.  */
117710
 
+$statvfs_includes
117711
 
+int
117712
 
+main ()
117713
 
+{
117714
 
+static statvfs s;
117715
 
+          return (s.s_fsid ^ 0) == 0;
117716
 
+  ;
117717
 
+  return 0;
117718
 
+}
117719
 
+_ACEOF
117720
 
+if ac_fn_c_try_compile "$LINENO"; then :
117721
 
+  
117722
 
+$as_echo "@%:@define STRUCT_STATVFS_F_FSID_IS_INTEGER 1" >>confdefs.h
117723
 
+
117724
 
+fi
117725
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
117726
 
+  else
117727
 
+    ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "$statfs_includes
117728
 
+"
117729
 
+if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
117730
 
+  
117731
 
+cat >>confdefs.h <<_ACEOF
117732
 
+@%:@define HAVE_STRUCT_STATFS_F_NAMELEN 1
117733
 
+_ACEOF
117734
 
+
117735
 
+
117736
 
+fi
117737
 
+ac_fn_c_check_member "$LINENO" "struct statfs" "f_type" "ac_cv_member_struct_statfs_f_type" "$statfs_includes
117738
 
+"
117739
 
+if test "x$ac_cv_member_struct_statfs_f_type" = xyes; then :
117740
 
+  
117741
 
+cat >>confdefs.h <<_ACEOF
117742
 
+@%:@define HAVE_STRUCT_STATFS_F_TYPE 1
117743
 
+_ACEOF
117744
 
+
117745
 
+
117746
 
+fi
117747
 
+
117748
 
+    if test $ac_cv_header_OS_h != yes; then
117749
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
117750
 
+/* end confdefs.h.  */
117751
 
+$statfs_includes
117752
 
+int
117753
 
+main ()
117754
 
+{
117755
 
+static statfs s;
117756
 
+            return (s.s_fsid ^ 0) == 0;
117757
 
+  ;
117758
 
+  return 0;
117759
 
+}
117760
 
+_ACEOF
117761
 
+if ac_fn_c_try_compile "$LINENO"; then :
117762
 
+  
117763
 
+$as_echo "@%:@define STRUCT_STATFS_F_FSID_IS_INTEGER 1" >>confdefs.h
117764
 
+
117765
 
+fi
117766
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
117767
 
+    fi
117768
 
+  fi
117769
 
+
117770
 
+
117771
 
+  # for dd.c and shred.c
117772
 
+  #
117773
 
+  # Use fdatasync only if declared.  On MacOS X 10.7, fdatasync exists but
117774
 
+  # is not declared, and is ineffective.
117775
 
+  LIB_FDATASYNC=
117776
 
+  
117777
 
+  
117778
 
+  if test $ac_cv_have_decl_fdatasync = yes; then
117779
 
+    coreutils_saved_libs=$LIBS
117780
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fdatasync" >&5
117781
 
+$as_echo_n "checking for library containing fdatasync... " >&6; }
117782
 
+if ${ac_cv_search_fdatasync+:} false; then :
117783
 
+  $as_echo_n "(cached) " >&6
117784
 
+else
117785
 
+  ac_func_search_save_LIBS=$LIBS
117786
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
117787
 
+/* end confdefs.h.  */
117788
 
+
117789
 
+/* Override any GCC internal prototype to avoid an error.
117790
 
+   Use char because int might match the return type of a GCC
117791
 
+   builtin and then its argument prototype would still apply.  */
117792
 
+#ifdef __cplusplus
117793
 
+extern "C"
117794
 
+#endif
117795
 
+char fdatasync ();
117796
 
+int
117797
 
+main ()
117798
 
+{
117799
 
+return fdatasync ();
117800
 
+  ;
117801
 
+  return 0;
117802
 
+}
117803
 
+_ACEOF
117804
 
+for ac_lib in '' rt posix4; do
117805
 
+  if test -z "$ac_lib"; then
117806
 
+    ac_res="none required"
117807
 
+  else
117808
 
+    ac_res=-l$ac_lib
117809
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
117810
 
+  fi
117811
 
+  if ac_fn_c_try_link "$LINENO"; then :
117812
 
+  ac_cv_search_fdatasync=$ac_res
117813
 
+fi
117814
 
+rm -f core conftest.err conftest.$ac_objext \
117815
 
+    conftest$ac_exeext
117816
 
+  if ${ac_cv_search_fdatasync+:} false; then :
117817
 
+  break
117818
 
+fi
117819
 
+done
117820
 
+if ${ac_cv_search_fdatasync+:} false; then :
117821
 
+  
117822
 
+else
117823
 
+  ac_cv_search_fdatasync=no
117824
 
+fi
117825
 
+rm conftest.$ac_ext
117826
 
+LIBS=$ac_func_search_save_LIBS
117827
 
+fi
117828
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fdatasync" >&5
117829
 
+$as_echo "$ac_cv_search_fdatasync" >&6; }
117830
 
+ac_res=$ac_cv_search_fdatasync
117831
 
+if test "$ac_res" != no; then :
117832
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
117833
 
+  test "$ac_cv_search_fdatasync" = "none required" ||
117834
 
+                    LIB_FDATASYNC=$ac_cv_search_fdatasync
117835
 
+fi
117836
 
+
117837
 
+    for ac_func in fdatasync
117838
 
+do :
117839
 
+  ac_fn_c_check_func "$LINENO" "fdatasync" "ac_cv_func_fdatasync"
117840
 
+if test "x$ac_cv_func_fdatasync" = xyes; then :
117841
 
+  cat >>confdefs.h <<_ACEOF
117842
 
+@%:@define HAVE_FDATASYNC 1
117843
 
+_ACEOF
117844
 
117845
 
+fi
117846
 
+done
117847
 
+
117848
 
+    LIBS=$coreutils_saved_libs
117849
 
+  fi
117850
 
+
117851
 
+  # Check whether libcap is usable -- for ls --color support
117852
 
+  LIB_CAP=
117853
 
+  @%:@ Check whether --enable-libcap was given.
117854
 
+if test "${enable_libcap+set}" = set; then :
117855
 
+  enableval=$enable_libcap; 
117856
 
+fi
117857
 
+
117858
 
+  if test "X$enable_libcap" != "Xno"; then
117859
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_get_file in -lcap" >&5
117860
 
+$as_echo_n "checking for cap_get_file in -lcap... " >&6; }
117861
 
+if ${ac_cv_lib_cap_cap_get_file+:} false; then :
117862
 
+  $as_echo_n "(cached) " >&6
117863
 
+else
117864
 
+  ac_check_lib_save_LIBS=$LIBS
117865
 
+LIBS="-lcap  $LIBS"
117866
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
117867
 
+/* end confdefs.h.  */
117868
 
+
117869
 
+/* Override any GCC internal prototype to avoid an error.
117870
 
+   Use char because int might match the return type of a GCC
117871
 
+   builtin and then its argument prototype would still apply.  */
117872
 
+#ifdef __cplusplus
117873
 
+extern "C"
117874
 
+#endif
117875
 
+char cap_get_file ();
117876
 
+int
117877
 
+main ()
117878
 
+{
117879
 
+return cap_get_file ();
117880
 
+  ;
117881
 
+  return 0;
117882
 
+}
117883
 
+_ACEOF
117884
 
+if ac_fn_c_try_link "$LINENO"; then :
117885
 
+  ac_cv_lib_cap_cap_get_file=yes
117886
 
+else
117887
 
+  ac_cv_lib_cap_cap_get_file=no
117888
 
+fi
117889
 
+rm -f core conftest.err conftest.$ac_objext \
117890
 
+    conftest$ac_exeext conftest.$ac_ext
117891
 
+LIBS=$ac_check_lib_save_LIBS
117892
 
+fi
117893
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_get_file" >&5
117894
 
+$as_echo "$ac_cv_lib_cap_cap_get_file" >&6; }
117895
 
+if test "x$ac_cv_lib_cap_cap_get_file" = xyes; then :
117896
 
+  ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
117897
 
+if test "x$ac_cv_header_sys_capability_h" = xyes; then :
117898
 
+  LIB_CAP=-lcap
117899
 
+         
117900
 
+$as_echo "@%:@define HAVE_CAP 1" >>confdefs.h
117901
 
+
117902
 
+      
117903
 
+fi
117904
 
+
117905
 
+
117906
 
+fi
117907
 
+
117908
 
+    if test "X$LIB_CAP" = "X"; then
117909
 
+      if test "X$enable_libcap" = "Xyes"; then
117910
 
+        as_fn_error $? "libcap library was not found or not usable" "$LINENO" 5
117911
 
+      else
117912
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libcap library was not found or not usable." >&5
117913
 
+$as_echo "$as_me: WARNING: libcap library was not found or not usable." >&2;}
117914
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU coreutils will be built without capability support." >&5
117915
 
+$as_echo "$as_me: WARNING: GNU coreutils will be built without capability support." >&2;}
117916
 
+      fi
117917
 
+    fi
117918
 
+  else
117919
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libcap support disabled by user" >&5
117920
 
+$as_echo "$as_me: WARNING: libcap support disabled by user" >&2;}
117921
 
+  fi
117922
 
+  
117923
 
+
117924
 
+  # See if linking `seq' requires -lm.
117925
 
+  # It does on nearly every system.  The single exception (so far) is
117926
 
+  # BeOS which has all the math functions in the normal runtime library
117927
 
+  # and doesn't have a separate math library.
117928
 
+
117929
 
+  
117930
 
+  ac_seq_body='
117931
 
+     static double x, y;
117932
 
+     x = floor (x);
117933
 
+     x = rint (x);
117934
 
+     x = modf (x, &y);'
117935
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
117936
 
+/* end confdefs.h.  */
117937
 
+#include <math.h>
117938
 
+int
117939
 
+main ()
117940
 
+{
117941
 
+$ac_seq_body
117942
 
+  ;
117943
 
+  return 0;
117944
 
+}
117945
 
+_ACEOF
117946
 
+if ac_fn_c_try_link "$LINENO"; then :
117947
 
+  
117948
 
+else
117949
 
+  ac_seq_save_LIBS="$LIBS"
117950
 
+     LIBS="$LIBS -lm"
117951
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
117952
 
+/* end confdefs.h.  */
117953
 
+#include <math.h>
117954
 
+int
117955
 
+main ()
117956
 
+{
117957
 
+$ac_seq_body
117958
 
+  ;
117959
 
+  return 0;
117960
 
+}
117961
 
+_ACEOF
117962
 
+if ac_fn_c_try_link "$LINENO"; then :
117963
 
+  SEQ_LIBM=-lm
117964
 
+fi
117965
 
+rm -f core conftest.err conftest.$ac_objext \
117966
 
+    conftest$ac_exeext conftest.$ac_ext
117967
 
+     LIBS="$ac_seq_save_LIBS"
117968
 
+    
117969
 
+fi
117970
 
+rm -f core conftest.err conftest.$ac_objext \
117971
 
+    conftest$ac_exeext conftest.$ac_ext
117972
 
+
117973
 
+  
117974
 
+
117975
 
+  # Accept configure options: --with-tty-group[=GROUP], --without-tty-group
117976
 
+  # You can determine the group of a TTY via 'stat --format %G /dev/tty'
117977
 
+  # Omitting this option is equivalent to using --without-tty-group.
117978
 
+  
117979
 
+@%:@ Check whether --with-tty-group was given.
117980
 
+if test "${with_tty_group+set}" = set; then :
117981
 
+  withval=$with_tty_group; tty_group_name=$withval
117982
 
+else
117983
 
+  tty_group_name=no
117984
 
+fi
117985
 
+
117986
 
+
117987
 
+  if test "x$tty_group_name" != xno; then
117988
 
+    if test "x$tty_group_name" = xyes; then
117989
 
+      tty_group_name=tty
117990
 
+    fi
117991
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: TTY group used by system set to \"$tty_group_name\"" >&5
117992
 
+$as_echo "$as_me: TTY group used by system set to \"$tty_group_name\"" >&6;}
117993
 
+    
117994
 
+cat >>confdefs.h <<_ACEOF
117995
 
+@%:@define TTY_GROUP_NAME "$tty_group_name"
117996
 
+_ACEOF
117997
 
+
117998
 
+  fi
117999
 
+
118000
 
+
118001
 
+@%:@ Check whether --enable-gcc-warnings was given.
118002
 
+if test "${enable_gcc_warnings+set}" = set; then :
118003
 
+  enableval=$enable_gcc_warnings; case $enableval in
118004
 
+     yes|no) ;;
118005
 
+     *)      as_fn_error $? "bad value $enableval for gcc-warnings option" "$LINENO" 5 ;;
118006
 
+   esac
118007
 
+   gl_gcc_warnings=$enableval
118008
 
+else
118009
 
+  gl_gcc_warnings=no
118010
 
+
118011
 
+fi
118012
 
+
118013
 
+
118014
 
+if test "$gl_gcc_warnings" = yes; then
118015
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Werror" >&5
118016
 
+$as_echo_n "checking whether compiler handles -Werror... " >&6; }
118017
 
+if ${gl_cv_warn__Werror+:} false; then :
118018
 
+  $as_echo_n "(cached) " >&6
118019
 
+else
118020
 
+  
118021
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
118022
 
+  CPPFLAGS="${CPPFLAGS} -Werror"
118023
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118024
 
+/* end confdefs.h.  */
118025
 
+
118026
 
+int
118027
 
+main ()
118028
 
+{
118029
 
+
118030
 
+  ;
118031
 
+  return 0;
118032
 
+}
118033
 
+_ACEOF
118034
 
+if ac_fn_c_try_cpp "$LINENO"; then :
118035
 
+  gl_cv_warn__Werror=yes
118036
 
+else
118037
 
+  gl_cv_warn__Werror=no
118038
 
+fi
118039
 
+rm -f conftest.err conftest.i conftest.$ac_ext
118040
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
118041
 
+
118042
 
+fi
118043
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Werror" >&5
118044
 
+$as_echo "$gl_cv_warn__Werror" >&6; }
118045
 
+if test "x$gl_cv_warn__Werror" = xyes; then :
118046
 
+  as_fn_append WERROR_CFLAGS " -Werror"
118047
 
+fi
118048
 
+
118049
 
+  
118050
 
+
118051
 
+  nw=
118052
 
+  # This, $nw, is the list of warnings we disable.
118053
 
+  nw="$nw -Wdeclaration-after-statement" # too useful to forbid
118054
 
+  nw="$nw -Waggregate-return"       # anachronistic
118055
 
+  nw="$nw -Wlong-long"              # C90 is anachronistic (lib/gethrxtime.h)
118056
 
+  nw="$nw -Wc++-compat"             # We don't care about C++ compilers
118057
 
+  nw="$nw -Wundef"                  # Warns on '#if GNULIB_FOO' etc in gnulib
118058
 
+  nw="$nw -Wtraditional"            # Warns on #elif which we use often
118059
 
+  nw="$nw -Wcast-qual"              # Too many warnings for now
118060
 
+  nw="$nw -Wconversion"             # Too many warnings for now
118061
 
+  nw="$nw -Wsystem-headers"         # Don't let system headers trigger warnings
118062
 
+  nw="$nw -Wsign-conversion"        # Too many warnings for now
118063
 
+  nw="$nw -Wtraditional-conversion" # Too many warnings for now
118064
 
+  nw="$nw -Wunreachable-code"       # Too many warnings for now
118065
 
+  nw="$nw -Wpadded"                 # Our structs are not padded
118066
 
+  nw="$nw -Wredundant-decls"        # openat.h declares e.g., mkdirat
118067
 
+  nw="$nw -Wlogical-op"             # any use of fwrite provokes this
118068
 
+  nw="$nw -Wformat-nonliteral"      # who.c and pinky.c strftime uses
118069
 
+  nw="$nw -Wvla"                    # warnings in gettext.h
118070
 
+  nw="$nw -Wnested-externs"         # use of XARGMATCH/verify_function__
118071
 
+  nw="$nw -Wswitch-enum"            # Too many warnings for now
118072
 
+  nw="$nw -Wswitch-default"         # Too many warnings for now
118073
 
+  nw="$nw -Wstack-protector"        # not worth working around
118074
 
+  # things I might fix soon:
118075
 
+  nw="$nw -Wfloat-equal"            # sort.c, seq.c
118076
 
+  nw="$nw -Wmissing-format-attribute" # copy.c
118077
 
+  nw="$nw -Wunsafe-loop-optimizations" # a few src/*.c
118078
 
+  nw="$nw -Winline"                 # system.h's readdir_ignoring_dot_and_dotdot
118079
 
+
118080
 
+  # Using -Wstrict-overflow is a pain, but the alternative is worse.
118081
 
+  # For an example, see the code that provoked this report:
118082
 
+  # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33498
118083
 
+  # Code like that still infloops with gcc-4.6.0 and -O2.  Scary indeed.
118084
 
+
118085
 
+  
118086
 
+          
118087
 
+  if test -n "$GCC"; then
118088
 
+
118089
 
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is supported" >&5
118090
 
+$as_echo_n "checking whether -Wno-missing-field-initializers is supported... " >&6; }
118091
 
+    if ${gl_cv_cc_nomfi_supported+:} false; then :
118092
 
+  $as_echo_n "(cached) " >&6
118093
 
+else
118094
 
+  
118095
 
+      gl_save_CFLAGS="$CFLAGS"
118096
 
+      CFLAGS="$CFLAGS -W -Werror -Wno-missing-field-initializers"
118097
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118098
 
+/* end confdefs.h.  */
118099
 
+
118100
 
+int
118101
 
+main ()
118102
 
+{
118103
 
+
118104
 
+  ;
118105
 
+  return 0;
118106
 
+}
118107
 
+_ACEOF
118108
 
+if ac_fn_c_try_compile "$LINENO"; then :
118109
 
+  gl_cv_cc_nomfi_supported=yes
118110
 
+else
118111
 
+  gl_cv_cc_nomfi_supported=no
118112
 
+fi
118113
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
118114
 
+      CFLAGS="$gl_save_CFLAGS"
118115
 
+fi
118116
 
+
118117
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_supported" >&5
118118
 
+$as_echo "$gl_cv_cc_nomfi_supported" >&6; }
118119
 
+
118120
 
+    if test "$gl_cv_cc_nomfi_supported" = yes; then
118121
 
+                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is needed" >&5
118122
 
+$as_echo_n "checking whether -Wno-missing-field-initializers is needed... " >&6; }
118123
 
+      if ${gl_cv_cc_nomfi_needed+:} false; then :
118124
 
+  $as_echo_n "(cached) " >&6
118125
 
+else
118126
 
+  
118127
 
+        gl_save_CFLAGS="$CFLAGS"
118128
 
+        CFLAGS="$CFLAGS -W -Werror"
118129
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118130
 
+/* end confdefs.h.  */
118131
 
+void f (void)
118132
 
+               {
118133
 
+                 typedef struct { int a; int b; } s_t;
118134
 
+                 s_t s1 = { 0, };
118135
 
+               }
118136
 
+             
118137
 
+int
118138
 
+main ()
118139
 
+{
118140
 
+
118141
 
+  ;
118142
 
+  return 0;
118143
 
+}
118144
 
+_ACEOF
118145
 
+if ac_fn_c_try_compile "$LINENO"; then :
118146
 
+  gl_cv_cc_nomfi_needed=no
118147
 
+else
118148
 
+  gl_cv_cc_nomfi_needed=yes
118149
 
+fi
118150
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
118151
 
+        CFLAGS="$gl_save_CFLAGS"
118152
 
+      
118153
 
+fi
118154
 
+
118155
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_needed" >&5
118156
 
+$as_echo "$gl_cv_cc_nomfi_needed" >&6; }
118157
 
+    fi
118158
 
+  fi
118159
 
+
118160
 
+  gl_manywarn_set=
118161
 
+  for gl_manywarn_item in \
118162
 
+    -Wall \
118163
 
+    -W \
118164
 
+    -Wformat-y2k \
118165
 
+    -Wformat-nonliteral \
118166
 
+    -Wformat-security \
118167
 
+    -Winit-self \
118168
 
+    -Wmissing-include-dirs \
118169
 
+    -Wswitch-default \
118170
 
+    -Wswitch-enum \
118171
 
+    -Wunused \
118172
 
+    -Wunknown-pragmas \
118173
 
+    -Wstrict-aliasing \
118174
 
+    -Wstrict-overflow \
118175
 
+    -Wsystem-headers \
118176
 
+    -Wfloat-equal \
118177
 
+    -Wtraditional \
118178
 
+    -Wtraditional-conversion \
118179
 
+    -Wdeclaration-after-statement \
118180
 
+    -Wundef \
118181
 
+    -Wshadow \
118182
 
+    -Wunsafe-loop-optimizations \
118183
 
+    -Wpointer-arith \
118184
 
+    -Wbad-function-cast \
118185
 
+    -Wc++-compat \
118186
 
+    -Wcast-qual \
118187
 
+    -Wcast-align \
118188
 
+    -Wwrite-strings \
118189
 
+    -Wconversion \
118190
 
+    -Wsign-conversion \
118191
 
+    -Wlogical-op \
118192
 
+    -Waggregate-return \
118193
 
+    -Wstrict-prototypes \
118194
 
+    -Wold-style-definition \
118195
 
+    -Wmissing-prototypes \
118196
 
+    -Wmissing-declarations \
118197
 
+    -Wmissing-noreturn \
118198
 
+    -Wmissing-format-attribute \
118199
 
+    -Wpacked \
118200
 
+    -Wpadded \
118201
 
+    -Wredundant-decls \
118202
 
+    -Wnested-externs \
118203
 
+    -Wunreachable-code \
118204
 
+    -Winline \
118205
 
+    -Winvalid-pch \
118206
 
+    -Wlong-long \
118207
 
+    -Wvla \
118208
 
+    -Wvolatile-register-var \
118209
 
+    -Wdisabled-optimization \
118210
 
+    -Wstack-protector \
118211
 
+    -Woverlength-strings \
118212
 
+    -Wbuiltin-macro-redefined \
118213
 
+    -Wmudflap \
118214
 
+    -Wpacked-bitfield-compat \
118215
 
+    -Wsync-nand \
118216
 
+    ; do
118217
 
+    gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
118218
 
+  done
118219
 
+  # The following are not documented in the manual but are included in
118220
 
+  # output from gcc --help=warnings.
118221
 
+  for gl_manywarn_item in \
118222
 
+    -Wattributes \
118223
 
+    -Wcoverage-mismatch \
118224
 
+    -Wmultichar \
118225
 
+    -Wunused-macros \
118226
 
+    ; do
118227
 
+    gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
118228
 
+  done
118229
 
+
118230
 
+  # Disable the missing-field-initializers warning if needed
118231
 
+  if test "$gl_cv_cc_nomfi_needed" = yes; then
118232
 
+    gl_manywarn_set="$gl_manywarn_set -Wno-missing-field-initializers"
118233
 
+  fi
118234
 
+
118235
 
+  ws=$gl_manywarn_set
118236
 
+
118237
 
+  
118238
 
+  gl_warn_set=
118239
 
+  set x $ws; shift
118240
 
+  for gl_warn_item
118241
 
+  do
118242
 
+    case " $nw " in
118243
 
+      *" $gl_warn_item "*)
118244
 
+        ;;
118245
 
+      *)
118246
 
+        gl_warn_set="$gl_warn_set $gl_warn_item"
118247
 
+        ;;
118248
 
+    esac
118249
 
+  done
118250
 
+  ws=$gl_warn_set
118251
 
+
118252
 
+  for w in $ws; do
118253
 
+    as_gl_Warn=`$as_echo "gl_cv_warn_$w" | $as_tr_sh`
118254
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles $w" >&5
118255
 
+$as_echo_n "checking whether compiler handles $w... " >&6; }
118256
 
+if eval \${$as_gl_Warn+:} false; then :
118257
 
+  $as_echo_n "(cached) " >&6
118258
 
+else
118259
 
+  
118260
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
118261
 
+  CPPFLAGS="${CPPFLAGS} $w"
118262
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118263
 
+/* end confdefs.h.  */
118264
 
+
118265
 
+int
118266
 
+main ()
118267
 
+{
118268
 
+
118269
 
+  ;
118270
 
+  return 0;
118271
 
+}
118272
 
+_ACEOF
118273
 
+if ac_fn_c_try_cpp "$LINENO"; then :
118274
 
+  eval "$as_gl_Warn=yes"
118275
 
+else
118276
 
+  eval "$as_gl_Warn=no"
118277
 
+fi
118278
 
+rm -f conftest.err conftest.i conftest.$ac_ext
118279
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
118280
 
+
118281
 
+fi
118282
 
+eval ac_res=\$$as_gl_Warn
118283
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
118284
 
+$as_echo "$ac_res" >&6; }
118285
 
+if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then :
118286
 
+  as_fn_append WARN_CFLAGS " $w"
118287
 
+fi
118288
 
+
118289
 
+  done
118290
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-sign-compare" >&5
118291
 
+$as_echo_n "checking whether compiler handles -Wno-sign-compare... " >&6; }
118292
 
+if ${gl_cv_warn__Wno_sign_compare+:} false; then :
118293
 
+  $as_echo_n "(cached) " >&6
118294
 
+else
118295
 
+  
118296
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
118297
 
+  CPPFLAGS="${CPPFLAGS} -Wno-sign-compare"
118298
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118299
 
+/* end confdefs.h.  */
118300
 
+
118301
 
+int
118302
 
+main ()
118303
 
+{
118304
 
+
118305
 
+  ;
118306
 
+  return 0;
118307
 
+}
118308
 
+_ACEOF
118309
 
+if ac_fn_c_try_cpp "$LINENO"; then :
118310
 
+  gl_cv_warn__Wno_sign_compare=yes
118311
 
+else
118312
 
+  gl_cv_warn__Wno_sign_compare=no
118313
 
+fi
118314
 
+rm -f conftest.err conftest.i conftest.$ac_ext
118315
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
118316
 
+
118317
 
+fi
118318
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_sign_compare" >&5
118319
 
+$as_echo "$gl_cv_warn__Wno_sign_compare" >&6; }
118320
 
+if test "x$gl_cv_warn__Wno_sign_compare" = xyes; then :
118321
 
+  as_fn_append WARN_CFLAGS " -Wno-sign-compare"
118322
 
+fi
118323
 
+     # Too many warnings for now
118324
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-unused-parameter" >&5
118325
 
+$as_echo_n "checking whether compiler handles -Wno-unused-parameter... " >&6; }
118326
 
+if ${gl_cv_warn__Wno_unused_parameter+:} false; then :
118327
 
+  $as_echo_n "(cached) " >&6
118328
 
+else
118329
 
+  
118330
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
118331
 
+  CPPFLAGS="${CPPFLAGS} -Wno-unused-parameter"
118332
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118333
 
+/* end confdefs.h.  */
118334
 
+
118335
 
+int
118336
 
+main ()
118337
 
+{
118338
 
+
118339
 
+  ;
118340
 
+  return 0;
118341
 
+}
118342
 
+_ACEOF
118343
 
+if ac_fn_c_try_cpp "$LINENO"; then :
118344
 
+  gl_cv_warn__Wno_unused_parameter=yes
118345
 
+else
118346
 
+  gl_cv_warn__Wno_unused_parameter=no
118347
 
+fi
118348
 
+rm -f conftest.err conftest.i conftest.$ac_ext
118349
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
118350
 
+
118351
 
+fi
118352
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_unused_parameter" >&5
118353
 
+$as_echo "$gl_cv_warn__Wno_unused_parameter" >&6; }
118354
 
+if test "x$gl_cv_warn__Wno_unused_parameter" = xyes; then :
118355
 
+  as_fn_append WARN_CFLAGS " -Wno-unused-parameter"
118356
 
+fi
118357
 
+ # Too many warnings for now
118358
 
+  as_gl_Warn=`$as_echo "gl_cv_warn_-Wsuggest-attribute=const" | $as_tr_sh`
118359
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wsuggest-attribute=const" >&5
118360
 
+$as_echo_n "checking whether compiler handles -Wsuggest-attribute=const... " >&6; }
118361
 
+if eval \${$as_gl_Warn+:} false; then :
118362
 
+  $as_echo_n "(cached) " >&6
118363
 
+else
118364
 
+  
118365
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
118366
 
+  CPPFLAGS="${CPPFLAGS} -Wsuggest-attribute=const"
118367
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118368
 
+/* end confdefs.h.  */
118369
 
+
118370
 
+int
118371
 
+main ()
118372
 
+{
118373
 
+
118374
 
+  ;
118375
 
+  return 0;
118376
 
+}
118377
 
+_ACEOF
118378
 
+if ac_fn_c_try_cpp "$LINENO"; then :
118379
 
+  eval "$as_gl_Warn=yes"
118380
 
+else
118381
 
+  eval "$as_gl_Warn=no"
118382
 
+fi
118383
 
+rm -f conftest.err conftest.i conftest.$ac_ext
118384
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
118385
 
+
118386
 
+fi
118387
 
+eval ac_res=\$$as_gl_Warn
118388
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
118389
 
+$as_echo "$ac_res" >&6; }
118390
 
+if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then :
118391
 
+  as_fn_append WARN_CFLAGS " -Wsuggest-attribute=const"
118392
 
+fi
118393
 
+
118394
 
+  as_gl_Warn=`$as_echo "gl_cv_warn_-Wsuggest-attribute=pure" | $as_tr_sh`
118395
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wsuggest-attribute=pure" >&5
118396
 
+$as_echo_n "checking whether compiler handles -Wsuggest-attribute=pure... " >&6; }
118397
 
+if eval \${$as_gl_Warn+:} false; then :
118398
 
+  $as_echo_n "(cached) " >&6
118399
 
+else
118400
 
+  
118401
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
118402
 
+  CPPFLAGS="${CPPFLAGS} -Wsuggest-attribute=pure"
118403
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118404
 
+/* end confdefs.h.  */
118405
 
+
118406
 
+int
118407
 
+main ()
118408
 
+{
118409
 
+
118410
 
+  ;
118411
 
+  return 0;
118412
 
+}
118413
 
+_ACEOF
118414
 
+if ac_fn_c_try_cpp "$LINENO"; then :
118415
 
+  eval "$as_gl_Warn=yes"
118416
 
+else
118417
 
+  eval "$as_gl_Warn=no"
118418
 
+fi
118419
 
+rm -f conftest.err conftest.i conftest.$ac_ext
118420
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
118421
 
+
118422
 
+fi
118423
 
+eval ac_res=\$$as_gl_Warn
118424
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
118425
 
+$as_echo "$ac_res" >&6; }
118426
 
+if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then :
118427
 
+  as_fn_append WARN_CFLAGS " -Wsuggest-attribute=pure"
118428
 
+fi
118429
 
+
118430
 
+  as_gl_Warn=`$as_echo "gl_cv_warn_-Wsuggest-attribute=noreturn" | $as_tr_sh`
118431
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wsuggest-attribute=noreturn" >&5
118432
 
+$as_echo_n "checking whether compiler handles -Wsuggest-attribute=noreturn... " >&6; }
118433
 
+if eval \${$as_gl_Warn+:} false; then :
118434
 
+  $as_echo_n "(cached) " >&6
118435
 
+else
118436
 
+  
118437
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
118438
 
+  CPPFLAGS="${CPPFLAGS} -Wsuggest-attribute=noreturn"
118439
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118440
 
+/* end confdefs.h.  */
118441
 
+
118442
 
+int
118443
 
+main ()
118444
 
+{
118445
 
+
118446
 
+  ;
118447
 
+  return 0;
118448
 
+}
118449
 
+_ACEOF
118450
 
+if ac_fn_c_try_cpp "$LINENO"; then :
118451
 
+  eval "$as_gl_Warn=yes"
118452
 
+else
118453
 
+  eval "$as_gl_Warn=no"
118454
 
+fi
118455
 
+rm -f conftest.err conftest.i conftest.$ac_ext
118456
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
118457
 
+
118458
 
+fi
118459
 
+eval ac_res=\$$as_gl_Warn
118460
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
118461
 
+$as_echo "$ac_res" >&6; }
118462
 
+if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then :
118463
 
+  as_fn_append WARN_CFLAGS " -Wsuggest-attribute=noreturn"
118464
 
+fi
118465
 
+
118466
 
+
118467
 
+  # In spite of excluding -Wlogical-op above, it is enabled, as of
118468
 
+  # gcc 4.5.0 20090517, and it provokes warnings in cat.c, dd.c, truncate.c
118469
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-logical-op" >&5
118470
 
+$as_echo_n "checking whether compiler handles -Wno-logical-op... " >&6; }
118471
 
+if ${gl_cv_warn__Wno_logical_op+:} false; then :
118472
 
+  $as_echo_n "(cached) " >&6
118473
 
+else
118474
 
+  
118475
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
118476
 
+  CPPFLAGS="${CPPFLAGS} -Wno-logical-op"
118477
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118478
 
+/* end confdefs.h.  */
118479
 
+
118480
 
+int
118481
 
+main ()
118482
 
+{
118483
 
+
118484
 
+  ;
118485
 
+  return 0;
118486
 
+}
118487
 
+_ACEOF
118488
 
+if ac_fn_c_try_cpp "$LINENO"; then :
118489
 
+  gl_cv_warn__Wno_logical_op=yes
118490
 
+else
118491
 
+  gl_cv_warn__Wno_logical_op=no
118492
 
+fi
118493
 
+rm -f conftest.err conftest.i conftest.$ac_ext
118494
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
118495
 
+
118496
 
+fi
118497
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_logical_op" >&5
118498
 
+$as_echo "$gl_cv_warn__Wno_logical_op" >&6; }
118499
 
+if test "x$gl_cv_warn__Wno_logical_op" = xyes; then :
118500
 
+  as_fn_append WARN_CFLAGS " -Wno-logical-op"
118501
 
+fi
118502
 
+
118503
 
+
118504
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fdiagnostics-show-option" >&5
118505
 
+$as_echo_n "checking whether compiler handles -fdiagnostics-show-option... " >&6; }
118506
 
+if ${gl_cv_warn__fdiagnostics_show_option+:} false; then :
118507
 
+  $as_echo_n "(cached) " >&6
118508
 
+else
118509
 
+  
118510
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
118511
 
+  CPPFLAGS="${CPPFLAGS} -fdiagnostics-show-option"
118512
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118513
 
+/* end confdefs.h.  */
118514
 
+
118515
 
+int
118516
 
+main ()
118517
 
+{
118518
 
+
118519
 
+  ;
118520
 
+  return 0;
118521
 
+}
118522
 
+_ACEOF
118523
 
+if ac_fn_c_try_cpp "$LINENO"; then :
118524
 
+  gl_cv_warn__fdiagnostics_show_option=yes
118525
 
+else
118526
 
+  gl_cv_warn__fdiagnostics_show_option=no
118527
 
+fi
118528
 
+rm -f conftest.err conftest.i conftest.$ac_ext
118529
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
118530
 
+
118531
 
+fi
118532
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fdiagnostics_show_option" >&5
118533
 
+$as_echo "$gl_cv_warn__fdiagnostics_show_option" >&6; }
118534
 
+if test "x$gl_cv_warn__fdiagnostics_show_option" = xyes; then :
118535
 
+  as_fn_append WARN_CFLAGS " -fdiagnostics-show-option"
118536
 
+fi
118537
 
+
118538
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -funit-at-a-time" >&5
118539
 
+$as_echo_n "checking whether compiler handles -funit-at-a-time... " >&6; }
118540
 
+if ${gl_cv_warn__funit_at_a_time+:} false; then :
118541
 
+  $as_echo_n "(cached) " >&6
118542
 
+else
118543
 
+  
118544
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
118545
 
+  CPPFLAGS="${CPPFLAGS} -funit-at-a-time"
118546
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118547
 
+/* end confdefs.h.  */
118548
 
+
118549
 
+int
118550
 
+main ()
118551
 
+{
118552
 
+
118553
 
+  ;
118554
 
+  return 0;
118555
 
+}
118556
 
+_ACEOF
118557
 
+if ac_fn_c_try_cpp "$LINENO"; then :
118558
 
+  gl_cv_warn__funit_at_a_time=yes
118559
 
+else
118560
 
+  gl_cv_warn__funit_at_a_time=no
118561
 
+fi
118562
 
+rm -f conftest.err conftest.i conftest.$ac_ext
118563
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
118564
 
+
118565
 
+fi
118566
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__funit_at_a_time" >&5
118567
 
+$as_echo "$gl_cv_warn__funit_at_a_time" >&6; }
118568
 
+if test "x$gl_cv_warn__funit_at_a_time" = xyes; then :
118569
 
+  as_fn_append WARN_CFLAGS " -funit-at-a-time"
118570
 
+fi
118571
 
+
118572
 
+
118573
 
+  
118574
 
+
118575
 
+  
118576
 
+$as_echo "@%:@define lint 1" >>confdefs.h
118577
 
+
118578
 
+  
118579
 
+$as_echo "@%:@define _FORTIFY_SOURCE 2" >>confdefs.h
118580
 
+
118581
 
+  
118582
 
+$as_echo "@%:@define GNULIB_PORTCHECK 1" >>confdefs.h
118583
 
+
118584
 
+
118585
 
+  # We use a slightly smaller set of warning options for lib/.
118586
 
+  # Remove the following and save the result in GNULIB_WARN_CFLAGS.
118587
 
+  nw=
118588
 
+  nw="$nw -Wstrict-overflow"
118589
 
+  nw="$nw -Wuninitialized"
118590
 
+  nw="$nw -Wunused-macros"
118591
 
+  nw="$nw -Wmissing-prototypes"
118592
 
+  nw="$nw -Wold-style-definition"
118593
 
+  # FIXME: remove/reenable the following two, once gnulib is adjusted.
118594
 
+  nw="$nw -Wsuggest-attribute=const"
118595
 
+  nw="$nw -Wsuggest-attribute=pure"
118596
 
+  
118597
 
+  gl_warn_set=
118598
 
+  set x $WARN_CFLAGS; shift
118599
 
+  for gl_warn_item
118600
 
+  do
118601
 
+    case " $nw " in
118602
 
+      *" $gl_warn_item "*)
118603
 
+        ;;
118604
 
+      *)
118605
 
+        gl_warn_set="$gl_warn_set $gl_warn_item"
118606
 
+        ;;
118607
 
+    esac
118608
 
+  done
118609
 
+  GNULIB_WARN_CFLAGS=$gl_warn_set
118610
 
+
118611
 
+  
118612
 
+
118613
 
+  # For gnulib-tests, the set is slightly smaller still.
118614
 
+  nw=
118615
 
+  nw="$nw -Wstrict-prototypes"
118616
 
+  
118617
 
+  gl_warn_set=
118618
 
+  set x $GNULIB_WARN_CFLAGS; shift
118619
 
+  for gl_warn_item
118620
 
+  do
118621
 
+    case " $nw " in
118622
 
+      *" $gl_warn_item "*)
118623
 
+        ;;
118624
 
+      *)
118625
 
+        gl_warn_set="$gl_warn_set $gl_warn_item"
118626
 
+        ;;
118627
 
+    esac
118628
 
+  done
118629
 
+  GNULIB_TEST_WARN_CFLAGS=$gl_warn_set
118630
 
+
118631
 
+  
118632
 
+fi
118633
 
+
118634
 
+for ac_header in vfork.h
118635
 
+do :
118636
 
+  ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
118637
 
+if test "x$ac_cv_header_vfork_h" = xyes; then :
118638
 
+  cat >>confdefs.h <<_ACEOF
118639
 
+@%:@define HAVE_VFORK_H 1
118640
 
+_ACEOF
118641
 
118642
 
+fi
118643
 
+
118644
 
+done
118645
 
+
118646
 
+for ac_func in fork vfork
118647
 
+do :
118648
 
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
118649
 
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
118650
 
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
118651
 
+  cat >>confdefs.h <<_ACEOF
118652
 
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
118653
 
+_ACEOF
118654
 
118655
 
+fi
118656
 
+done
118657
 
+
118658
 
+if test "x$ac_cv_func_fork" = xyes; then
118659
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
118660
 
+$as_echo_n "checking for working fork... " >&6; }
118661
 
+if ${ac_cv_func_fork_works+:} false; then :
118662
 
+  $as_echo_n "(cached) " >&6
118663
 
+else
118664
 
+  if test "$cross_compiling" = yes; then :
118665
 
+  ac_cv_func_fork_works=cross
118666
 
+else
118667
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118668
 
+/* end confdefs.h.  */
118669
 
+$ac_includes_default
118670
 
+int
118671
 
+main ()
118672
 
+{
118673
 
+
118674
 
+         /* By Ruediger Kuhlmann. */
118675
 
+         return fork () < 0;
118676
 
+       
118677
 
+  ;
118678
 
+  return 0;
118679
 
+}
118680
 
+_ACEOF
118681
 
+if ac_fn_c_try_run "$LINENO"; then :
118682
 
+  ac_cv_func_fork_works=yes
118683
 
+else
118684
 
+  ac_cv_func_fork_works=no
118685
 
+fi
118686
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
118687
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
118688
 
+fi
118689
 
+
118690
 
+fi
118691
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
118692
 
+$as_echo "$ac_cv_func_fork_works" >&6; }
118693
 
+
118694
 
+else
118695
 
+  ac_cv_func_fork_works=$ac_cv_func_fork
118696
 
+fi
118697
 
+if test "x$ac_cv_func_fork_works" = xcross; then
118698
 
+  case $host in
118699
 
+    *-*-amigaos* | *-*-msdosdjgpp*)
118700
 
+      # Override, as these systems have only a dummy fork() stub
118701
 
+      ac_cv_func_fork_works=no
118702
 
+      ;;
118703
 
+    *)
118704
 
+      ac_cv_func_fork_works=yes
118705
 
+      ;;
118706
 
+  esac
118707
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
118708
 
+$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
118709
 
+fi
118710
 
+ac_cv_func_vfork_works=$ac_cv_func_vfork
118711
 
+if test "x$ac_cv_func_vfork" = xyes; then
118712
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
118713
 
+$as_echo_n "checking for working vfork... " >&6; }
118714
 
+if ${ac_cv_func_vfork_works+:} false; then :
118715
 
+  $as_echo_n "(cached) " >&6
118716
 
+else
118717
 
+  if test "$cross_compiling" = yes; then :
118718
 
+  ac_cv_func_vfork_works=cross
118719
 
+else
118720
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118721
 
+/* end confdefs.h.  */
118722
 
+/* Thanks to Paul Eggert for this test.  */
118723
 
+$ac_includes_default
118724
 
+#include <sys/wait.h>
118725
 
+#ifdef HAVE_VFORK_H
118726
 
+# include <vfork.h>
118727
 
+#endif
118728
 
+/* On some sparc systems, changes by the child to local and incoming
118729
 
+   argument registers are propagated back to the parent.  The compiler
118730
 
+   is told about this with #include <vfork.h>, but some compilers
118731
 
+   (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
118732
 
+   static variable whose address is put into a register that is
118733
 
+   clobbered by the vfork.  */
118734
 
+static void
118735
 
+#ifdef __cplusplus
118736
 
+sparc_address_test (int arg)
118737
 
+# else
118738
 
+sparc_address_test (arg) int arg;
118739
 
+#endif
118740
 
+{
118741
 
+  static pid_t child;
118742
 
+  if (!child) {
118743
 
+    child = vfork ();
118744
 
+    if (child < 0) {
118745
 
+      perror ("vfork");
118746
 
+      _exit(2);
118747
 
+    }
118748
 
+    if (!child) {
118749
 
+      arg = getpid();
118750
 
+      write(-1, "", 0);
118751
 
+      _exit (arg);
118752
 
+    }
118753
 
+  }
118754
 
+}
118755
 
+
118756
 
+int
118757
 
+main ()
118758
 
+{
118759
 
+  pid_t parent = getpid ();
118760
 
+  pid_t child;
118761
 
+
118762
 
+  sparc_address_test (0);
118763
 
+
118764
 
+  child = vfork ();
118765
 
+
118766
 
+  if (child == 0) {
118767
 
+    /* Here is another test for sparc vfork register problems.  This
118768
 
+       test uses lots of local variables, at least as many local
118769
 
+       variables as main has allocated so far including compiler
118770
 
+       temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
118771
 
+       4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
118772
 
+       reuse the register of parent for one of the local variables,
118773
 
+       since it will think that parent can't possibly be used any more
118774
 
+       in this routine.  Assigning to the local variable will thus
118775
 
+       munge parent in the parent process.  */
118776
 
+    pid_t
118777
 
+      p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
118778
 
+      p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
118779
 
+    /* Convince the compiler that p..p7 are live; otherwise, it might
118780
 
+       use the same hardware register for all 8 local variables.  */
118781
 
+    if (p != p1 || p != p2 || p != p3 || p != p4
118782
 
+       || p != p5 || p != p6 || p != p7)
118783
 
+      _exit(1);
118784
 
+
118785
 
+    /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
118786
 
+       from child file descriptors.  If the child closes a descriptor
118787
 
+       before it execs or exits, this munges the parent's descriptor
118788
 
+       as well.  Test for this by closing stdout in the child.  */
118789
 
+    _exit(close(fileno(stdout)) != 0);
118790
 
+  } else {
118791
 
+    int status;
118792
 
+    struct stat st;
118793
 
+
118794
 
+    while (wait(&status) != child)
118795
 
+      ;
118796
 
+    return (
118797
 
+        /* Was there some problem with vforking?  */
118798
 
+        child < 0
118799
 
+
118800
 
+        /* Did the child fail?  (This shouldn't happen.)  */
118801
 
+        || status
118802
 
+
118803
 
+        /* Did the vfork/compiler bug occur?  */
118804
 
+        || parent != getpid()
118805
 
+
118806
 
+        /* Did the file descriptor bug occur?  */
118807
 
+        || fstat(fileno(stdout), &st) != 0
118808
 
+        );
118809
 
+  }
118810
 
+}
118811
 
+_ACEOF
118812
 
+if ac_fn_c_try_run "$LINENO"; then :
118813
 
+  ac_cv_func_vfork_works=yes
118814
 
+else
118815
 
+  ac_cv_func_vfork_works=no
118816
 
+fi
118817
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
118818
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
118819
 
+fi
118820
 
+
118821
 
+fi
118822
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
118823
 
+$as_echo "$ac_cv_func_vfork_works" >&6; }
118824
 
+
118825
 
+fi;
118826
 
+if test "x$ac_cv_func_fork_works" = xcross; then
118827
 
+  ac_cv_func_vfork_works=$ac_cv_func_vfork
118828
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
118829
 
+$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
118830
 
+fi
118831
 
+
118832
 
+if test "x$ac_cv_func_vfork_works" = xyes; then
118833
 
+  
118834
 
+$as_echo "@%:@define HAVE_WORKING_VFORK 1" >>confdefs.h
118835
 
+
118836
 
+else
118837
 
+  
118838
 
+$as_echo "@%:@define vfork fork" >>confdefs.h
118839
 
+
118840
 
+fi
118841
 
+if test "x$ac_cv_func_fork_works" = xyes; then
118842
 
+  
118843
 
+$as_echo "@%:@define HAVE_WORKING_FORK 1" >>confdefs.h
118844
 
+
118845
 
+fi
118846
 
+
118847
 
+
118848
 
+optional_bin_progs=
118849
 
+for ac_func in chroot
118850
 
+do :
118851
 
+  ac_fn_c_check_func "$LINENO" "chroot" "ac_cv_func_chroot"
118852
 
+if test "x$ac_cv_func_chroot" = xyes; then :
118853
 
+  cat >>confdefs.h <<_ACEOF
118854
 
+@%:@define HAVE_CHROOT 1
118855
 
+_ACEOF
118856
 
+ {
118857
 
+  if test -z "$optional_bin_progs"; then
118858
 
+    optional_bin_progs=chroot
118859
 
+  else
118860
 
+    optional_bin_progs="$optional_bin_progs chroot"
118861
 
+  fi
118862
 
+}
118863
 
+fi
118864
 
+done
118865
 
+
118866
 
+for ac_func in gethostid
118867
 
+do :
118868
 
+  ac_fn_c_check_func "$LINENO" "gethostid" "ac_cv_func_gethostid"
118869
 
+if test "x$ac_cv_func_gethostid" = xyes; then :
118870
 
+  cat >>confdefs.h <<_ACEOF
118871
 
+@%:@define HAVE_GETHOSTID 1
118872
 
+_ACEOF
118873
 
+ {
118874
 
+  if test -z "$optional_bin_progs"; then
118875
 
+    optional_bin_progs=hostid
118876
 
+  else
118877
 
+    optional_bin_progs="$optional_bin_progs hostid"
118878
 
+  fi
118879
 
+}
118880
 
+fi
118881
 
+done
118882
 
+
118883
 
+
118884
 
+
118885
 
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use of struct winsize requires sys/ptem.h" >&5
118886
 
+$as_echo_n "checking whether use of struct winsize requires sys/ptem.h... " >&6; }
118887
 
+if ${gl_cv_sys_struct_winsize_needs_sys_ptem_h+:} false; then :
118888
 
+  $as_echo_n "(cached) " >&6
118889
 
+else
118890
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=yes
118891
 
+      if test $ac_cv_sys_posix_termios = yes; then
118892
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118893
 
+/* end confdefs.h.  */
118894
 
+#include <termios.h>
118895
 
+int
118896
 
+main ()
118897
 
+{
118898
 
+struct winsize x;
118899
 
+            if (sizeof x > 0) return 0;
118900
 
+  ;
118901
 
+  return 0;
118902
 
+}
118903
 
+_ACEOF
118904
 
+if ac_fn_c_try_compile "$LINENO"; then :
118905
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=no
118906
 
+fi
118907
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
118908
 
+      fi
118909
 
+      if test $gl_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
118910
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118911
 
+/* end confdefs.h.  */
118912
 
+#include <sys/ptem.h>
118913
 
+int
118914
 
+main ()
118915
 
+{
118916
 
+struct winsize x;
118917
 
+            if (sizeof x > 0) return 0;
118918
 
+  ;
118919
 
+  return 0;
118920
 
+}
118921
 
+_ACEOF
118922
 
+if ac_fn_c_try_compile "$LINENO"; then :
118923
 
+  
118924
 
+else
118925
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=no
118926
 
+fi
118927
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
118928
 
+      fi
118929
 
+fi
118930
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_winsize_needs_sys_ptem_h" >&5
118931
 
+$as_echo "$gl_cv_sys_struct_winsize_needs_sys_ptem_h" >&6; }
118932
 
+   if test $gl_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
118933
 
+     
118934
 
+$as_echo "@%:@define WINSIZE_IN_PTEM 1" >>confdefs.h
118935
 
+
118936
 
+   fi
118937
 
+
118938
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5
118939
 
+$as_echo_n "checking whether localtime caches TZ... " >&6; }
118940
 
+if ${utils_cv_localtime_cache+:} false; then :
118941
 
+  $as_echo_n "(cached) " >&6
118942
 
+else
118943
 
+  if test x$ac_cv_func_tzset = xyes; then
118944
 
+if test "$cross_compiling" = yes; then :
118945
 
+  # If we have tzset, assume the worst when cross-compiling.
118946
 
+utils_cv_localtime_cache=yes
118947
 
+else
118948
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
118949
 
+/* end confdefs.h.  */
118950
 
+#include <time.h>
118951
 
+#if STDC_HEADERS
118952
 
+# include <stdlib.h>
118953
 
+#endif
118954
 
+extern char **environ;
118955
 
+void unset_TZ (void)
118956
 
+{
118957
 
+  char **from, **to;
118958
 
+  for (to = from = environ; (*to = *from); from++)
118959
 
+    if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '='))
118960
 
+      to++;
118961
 
+}
118962
 
+int main()
118963
 
+{
118964
 
+  time_t now = time ((time_t *) 0);
118965
 
+  int hour_GMT0, hour_unset;
118966
 
+  if (putenv ("TZ=GMT0") != 0)
118967
 
+    return 1;
118968
 
+  hour_GMT0 = localtime (&now)->tm_hour;
118969
 
+  unset_TZ ();
118970
 
+  hour_unset = localtime (&now)->tm_hour;
118971
 
+  if (putenv ("TZ=PST8") != 0)
118972
 
+    return 1;
118973
 
+  if (localtime (&now)->tm_hour == hour_GMT0)
118974
 
+    return 1;
118975
 
+  unset_TZ ();
118976
 
+  if (localtime (&now)->tm_hour != hour_unset)
118977
 
+    return 1;
118978
 
+  return 0;
118979
 
+}
118980
 
+_ACEOF
118981
 
+if ac_fn_c_try_run "$LINENO"; then :
118982
 
+  utils_cv_localtime_cache=no
118983
 
+else
118984
 
+  utils_cv_localtime_cache=yes
118985
 
+fi
118986
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
118987
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
118988
 
+fi
118989
 
+
118990
 
+else
118991
 
+        # If we lack tzset, report that localtime does not cache TZ,
118992
 
+        # since we can't invalidate the cache if we don't have tzset.
118993
 
+        utils_cv_localtime_cache=no
118994
 
+fi
118995
 
+fi
118996
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $utils_cv_localtime_cache" >&5
118997
 
+$as_echo "$utils_cv_localtime_cache" >&6; }
118998
 
+if test $utils_cv_localtime_cache = yes; then
118999
 
+  
119000
 
+$as_echo "@%:@define LOCALTIME_CACHE 1" >>confdefs.h
119001
 
+
119002
 
+fi
119003
 
+
119004
 
+# SCO-ODT-3.0 is reported to need -los to link programs using initgroups
119005
 
+for ac_func in initgroups
119006
 
+do :
119007
 
+  ac_fn_c_check_func "$LINENO" "initgroups" "ac_cv_func_initgroups"
119008
 
+if test "x$ac_cv_func_initgroups" = xyes; then :
119009
 
+  cat >>confdefs.h <<_ACEOF
119010
 
+@%:@define HAVE_INITGROUPS 1
119011
 
+_ACEOF
119012
 
119013
 
+fi
119014
 
+done
119015
 
+
119016
 
+if test $ac_cv_func_initgroups = no; then
119017
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initgroups in -los" >&5
119018
 
+$as_echo_n "checking for initgroups in -los... " >&6; }
119019
 
+if ${ac_cv_lib_os_initgroups+:} false; then :
119020
 
+  $as_echo_n "(cached) " >&6
119021
 
+else
119022
 
+  ac_check_lib_save_LIBS=$LIBS
119023
 
+LIBS="-los  $LIBS"
119024
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119025
 
+/* end confdefs.h.  */
119026
 
+
119027
 
+/* Override any GCC internal prototype to avoid an error.
119028
 
+   Use char because int might match the return type of a GCC
119029
 
+   builtin and then its argument prototype would still apply.  */
119030
 
+#ifdef __cplusplus
119031
 
+extern "C"
119032
 
+#endif
119033
 
+char initgroups ();
119034
 
+int
119035
 
+main ()
119036
 
+{
119037
 
+return initgroups ();
119038
 
+  ;
119039
 
+  return 0;
119040
 
+}
119041
 
+_ACEOF
119042
 
+if ac_fn_c_try_link "$LINENO"; then :
119043
 
+  ac_cv_lib_os_initgroups=yes
119044
 
+else
119045
 
+  ac_cv_lib_os_initgroups=no
119046
 
+fi
119047
 
+rm -f core conftest.err conftest.$ac_objext \
119048
 
+    conftest$ac_exeext conftest.$ac_ext
119049
 
+LIBS=$ac_check_lib_save_LIBS
119050
 
+fi
119051
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_os_initgroups" >&5
119052
 
+$as_echo "$ac_cv_lib_os_initgroups" >&6; }
119053
 
+if test "x$ac_cv_lib_os_initgroups" = xyes; then :
119054
 
+  cat >>confdefs.h <<_ACEOF
119055
 
+@%:@define HAVE_LIBOS 1
119056
 
+_ACEOF
119057
 
+
119058
 
+  LIBS="-los $LIBS"
119059
 
+
119060
 
+fi
119061
 
+
119062
 
+fi
119063
 
+
119064
 
+for ac_func in syslog
119065
 
+do :
119066
 
+  ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog"
119067
 
+if test "x$ac_cv_func_syslog" = xyes; then :
119068
 
+  cat >>confdefs.h <<_ACEOF
119069
 
+@%:@define HAVE_SYSLOG 1
119070
 
+_ACEOF
119071
 
119072
 
+fi
119073
 
+done
119074
 
+
119075
 
+if test $ac_cv_func_syslog = no; then
119076
 
+  # syslog is not in the default libraries.  See if it's in some other.
119077
 
+  for lib in bsd socket inet; do
119078
 
+    as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_syslog" | $as_tr_sh`
119079
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for syslog in -l$lib" >&5
119080
 
+$as_echo_n "checking for syslog in -l$lib... " >&6; }
119081
 
+if eval \${$as_ac_Lib+:} false; then :
119082
 
+  $as_echo_n "(cached) " >&6
119083
 
+else
119084
 
+  ac_check_lib_save_LIBS=$LIBS
119085
 
+LIBS="-l$lib  $LIBS"
119086
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119087
 
+/* end confdefs.h.  */
119088
 
+
119089
 
+/* Override any GCC internal prototype to avoid an error.
119090
 
+   Use char because int might match the return type of a GCC
119091
 
+   builtin and then its argument prototype would still apply.  */
119092
 
+#ifdef __cplusplus
119093
 
+extern "C"
119094
 
+#endif
119095
 
+char syslog ();
119096
 
+int
119097
 
+main ()
119098
 
+{
119099
 
+return syslog ();
119100
 
+  ;
119101
 
+  return 0;
119102
 
+}
119103
 
+_ACEOF
119104
 
+if ac_fn_c_try_link "$LINENO"; then :
119105
 
+  eval "$as_ac_Lib=yes"
119106
 
+else
119107
 
+  eval "$as_ac_Lib=no"
119108
 
+fi
119109
 
+rm -f core conftest.err conftest.$ac_objext \
119110
 
+    conftest$ac_exeext conftest.$ac_ext
119111
 
+LIBS=$ac_check_lib_save_LIBS
119112
 
+fi
119113
 
+eval ac_res=\$$as_ac_Lib
119114
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
119115
 
+$as_echo "$ac_res" >&6; }
119116
 
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
119117
 
+  
119118
 
+$as_echo "@%:@define HAVE_SYSLOG 1" >>confdefs.h
119119
 
+
119120
 
+      LIBS="$LIBS -l$lib"; break
119121
 
+fi
119122
 
+
119123
 
+  done
119124
 
+fi
119125
 
+
119126
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for 3-argument setpriority function" >&5
119127
 
+$as_echo_n "checking for 3-argument setpriority function... " >&6; }
119128
 
+if ${utils_cv_func_setpriority+:} false; then :
119129
 
+  $as_echo_n "(cached) " >&6
119130
 
+else
119131
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119132
 
+/* end confdefs.h.  */
119133
 
+#include <sys/time.h>
119134
 
+         #include <sys/resource.h>
119135
 
+       
119136
 
+int
119137
 
+main ()
119138
 
+{
119139
 
+setpriority (0, 0, 0);
119140
 
+  ;
119141
 
+  return 0;
119142
 
+}
119143
 
+_ACEOF
119144
 
+if ac_fn_c_try_link "$LINENO"; then :
119145
 
+  utils_cv_func_setpriority=yes
119146
 
+else
119147
 
+  utils_cv_func_setpriority=no
119148
 
+fi
119149
 
+rm -f core conftest.err conftest.$ac_objext \
119150
 
+    conftest$ac_exeext conftest.$ac_ext
119151
 
+fi
119152
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $utils_cv_func_setpriority" >&5
119153
 
+$as_echo "$utils_cv_func_setpriority" >&6; }
119154
 
+if test $utils_cv_func_setpriority = no; then
119155
 
+  for ac_func in nice
119156
 
+do :
119157
 
+  ac_fn_c_check_func "$LINENO" "nice" "ac_cv_func_nice"
119158
 
+if test "x$ac_cv_func_nice" = xyes; then :
119159
 
+  cat >>confdefs.h <<_ACEOF
119160
 
+@%:@define HAVE_NICE 1
119161
 
+_ACEOF
119162
 
119163
 
+fi
119164
 
+done
119165
 
+
119166
 
+fi
119167
 
+case $utils_cv_func_setpriority,$ac_cv_func_nice in
119168
 
+*yes*)
119169
 
+  {
119170
 
+  if test -z "$optional_bin_progs"; then
119171
 
+    optional_bin_progs=nice
119172
 
+  else
119173
 
+    optional_bin_progs="$optional_bin_progs nice"
119174
 
+  fi
119175
 
+}
119176
 
+esac
119177
 
+
119178
 
+
119179
 
+
119180
 
+  
119181
 
+  if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then
119182
 
+    {
119183
 
+  if test -z "$optional_bin_progs"; then
119184
 
+    optional_bin_progs=who
119185
 
+  else
119186
 
+    optional_bin_progs="$optional_bin_progs who"
119187
 
+  fi
119188
 
+}
119189
 
+    {
119190
 
+  if test -z "$optional_bin_progs"; then
119191
 
+    optional_bin_progs=users
119192
 
+  else
119193
 
+    optional_bin_progs="$optional_bin_progs users"
119194
 
+  fi
119195
 
+}
119196
 
+    {
119197
 
+  if test -z "$optional_bin_progs"; then
119198
 
+    optional_bin_progs=pinky
119199
 
+  else
119200
 
+    optional_bin_progs="$optional_bin_progs pinky"
119201
 
+  fi
119202
 
+}
119203
 
+  fi
119204
 
+
119205
 
+
119206
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ut_host in struct utmp" >&5
119207
 
+$as_echo_n "checking ut_host in struct utmp... " >&6; }
119208
 
+if ${su_cv_func_ut_host_in_utmp+:} false; then :
119209
 
+  $as_echo_n "(cached) " >&6
119210
 
+else
119211
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119212
 
+/* end confdefs.h.  */
119213
 
+#include <sys/types.h>
119214
 
+#include <utmp.h>
119215
 
+int
119216
 
+main ()
119217
 
+{
119218
 
+struct utmp ut; return !sizeof ut.ut_host;
119219
 
+  ;
119220
 
+  return 0;
119221
 
+}
119222
 
+_ACEOF
119223
 
+if ac_fn_c_try_link "$LINENO"; then :
119224
 
+  su_cv_func_ut_host_in_utmp=yes
119225
 
+else
119226
 
+  su_cv_func_ut_host_in_utmp=no
119227
 
+fi
119228
 
+rm -f core conftest.err conftest.$ac_objext \
119229
 
+    conftest$ac_exeext conftest.$ac_ext
119230
 
+fi
119231
 
+
119232
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $su_cv_func_ut_host_in_utmp" >&5
119233
 
+$as_echo "$su_cv_func_ut_host_in_utmp" >&6; }
119234
 
+if test $su_cv_func_ut_host_in_utmp = yes; then
119235
 
+  have_ut_host=1
119236
 
+  
119237
 
+$as_echo "@%:@define HAVE_UT_HOST 1" >>confdefs.h
119238
 
+
119239
 
+fi
119240
 
+
119241
 
+if test -z "$have_ut_host"; then
119242
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking ut_host in struct utmpx" >&5
119243
 
+$as_echo_n "checking ut_host in struct utmpx... " >&6; }
119244
 
+  if ${su_cv_func_ut_host_in_utmpx+:} false; then :
119245
 
+  $as_echo_n "(cached) " >&6
119246
 
+else
119247
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119248
 
+/* end confdefs.h.  */
119249
 
+#include <sys/types.h>
119250
 
+#include <utmpx.h>
119251
 
+int
119252
 
+main ()
119253
 
+{
119254
 
+struct utmpx ut; return !sizeof ut.ut_host;
119255
 
+  ;
119256
 
+  return 0;
119257
 
+}
119258
 
+_ACEOF
119259
 
+if ac_fn_c_try_link "$LINENO"; then :
119260
 
+  su_cv_func_ut_host_in_utmpx=yes
119261
 
+else
119262
 
+  su_cv_func_ut_host_in_utmpx=no
119263
 
+fi
119264
 
+rm -f core conftest.err conftest.$ac_objext \
119265
 
+    conftest$ac_exeext conftest.$ac_ext
119266
 
+fi
119267
 
+
119268
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $su_cv_func_ut_host_in_utmpx" >&5
119269
 
+$as_echo "$su_cv_func_ut_host_in_utmpx" >&6; }
119270
 
+  if test $su_cv_func_ut_host_in_utmpx = yes; then
119271
 
+    
119272
 
+$as_echo "@%:@define HAVE_UTMPX_H 1" >>confdefs.h
119273
 
+
119274
 
+    
119275
 
+$as_echo "@%:@define HAVE_UT_HOST 1" >>confdefs.h
119276
 
+
119277
 
+  fi
119278
 
+fi
119279
 
+
119280
 
+
119281
 
+  for ac_func in sysctl
119282
 
+do :
119283
 
+  ac_fn_c_check_func "$LINENO" "sysctl" "ac_cv_func_sysctl"
119284
 
+if test "x$ac_cv_func_sysctl" = xyes; then :
119285
 
+  cat >>confdefs.h <<_ACEOF
119286
 
+@%:@define HAVE_SYSCTL 1
119287
 
+_ACEOF
119288
 
119289
 
+fi
119290
 
+done
119291
 
+
119292
 
+  
119293
 
+  for ac_header in sys/sysctl.h
119294
 
+do :
119295
 
+  ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "$ac_includes_default
119296
 
+     #if HAVE_SYS_PARAM_H
119297
 
+       #include <sys/param.h>
119298
 
+      #endif
119299
 
+"
119300
 
+if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
119301
 
+  cat >>confdefs.h <<_ACEOF
119302
 
+@%:@define HAVE_SYS_SYSCTL_H 1
119303
 
+_ACEOF
119304
 
119305
 
+fi
119306
 
+
119307
 
+done
119308
 
+
119309
 
+  
119310
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can get the system boot time" >&5
119311
 
+$as_echo_n "checking whether we can get the system boot time... " >&6; }
119312
 
+if ${gnulib_cv_have_boot_time+:} false; then :
119313
 
+  $as_echo_n "(cached) " >&6
119314
 
+else
119315
 
+  
119316
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119317
 
+/* end confdefs.h.  */
119318
 
+$ac_includes_default
119319
 
+#if HAVE_SYSCTL && HAVE_SYS_SYSCTL_H
119320
 
+# if HAVE_SYS_PARAM_H
119321
 
+#  include <sys/param.h> /* needed for OpenBSD 3.0 */
119322
 
+# endif
119323
 
+# include <sys/sysctl.h>
119324
 
+#endif
119325
 
+#if HAVE_UTMPX_H
119326
 
+# include <utmpx.h>
119327
 
+#elif HAVE_UTMP_H
119328
 
+# include <utmp.h>
119329
 
+#endif
119330
 
+#if HAVE_OS_H
119331
 
+# include <OS.h>
119332
 
+#endif
119333
 
+
119334
 
+int
119335
 
+main ()
119336
 
+{
119337
 
+
119338
 
+#if (defined BOOT_TIME                              \
119339
 
+     || (defined CTL_KERN && defined KERN_BOOTTIME) \
119340
 
+     || HAVE_OS_H)
119341
 
+/* your system *does* have the infrastructure to determine boot time */
119342
 
+#else
119343
 
+please_tell_us_how_to_determine_boot_time_on_your_system
119344
 
+#endif
119345
 
+
119346
 
+  ;
119347
 
+  return 0;
119348
 
+}
119349
 
+_ACEOF
119350
 
+if ac_fn_c_try_compile "$LINENO"; then :
119351
 
+  gnulib_cv_have_boot_time=yes
119352
 
+else
119353
 
+  gnulib_cv_have_boot_time=no
119354
 
+fi
119355
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
119356
 
+    
119357
 
+fi
119358
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnulib_cv_have_boot_time" >&5
119359
 
+$as_echo "$gnulib_cv_have_boot_time" >&6; }
119360
 
+  if test $gnulib_cv_have_boot_time = yes; then :
119361
 
+  {
119362
 
+  if test -z "$optional_bin_progs"; then
119363
 
+    optional_bin_progs=uptime
119364
 
+  else
119365
 
+    optional_bin_progs="$optional_bin_progs uptime"
119366
 
+  fi
119367
 
+}
119368
 
+fi
119369
 
+
119370
 
+
119371
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX termios" >&5
119372
 
+$as_echo_n "checking POSIX termios... " >&6; }
119373
 
+if ${ac_cv_sys_posix_termios+:} false; then :
119374
 
+  $as_echo_n "(cached) " >&6
119375
 
+else
119376
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119377
 
+/* end confdefs.h.  */
119378
 
+#include <sys/types.h>
119379
 
+#include <unistd.h>
119380
 
+#include <termios.h>
119381
 
+
119382
 
+int
119383
 
+main ()
119384
 
+{
119385
 
+/* SunOS 4.0.3 has termios.h but not the library calls.  */
119386
 
+   tcgetattr(0, 0);
119387
 
+  ;
119388
 
+  return 0;
119389
 
+}
119390
 
+_ACEOF
119391
 
+if ac_fn_c_try_link "$LINENO"; then :
119392
 
+  ac_cv_sys_posix_termios=yes
119393
 
+else
119394
 
+  ac_cv_sys_posix_termios=no
119395
 
+fi
119396
 
+rm -f core conftest.err conftest.$ac_objext \
119397
 
+    conftest$ac_exeext conftest.$ac_ext
119398
 
+fi
119399
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_posix_termios" >&5
119400
 
+$as_echo "$ac_cv_sys_posix_termios" >&6; }
119401
 
+
119402
 
+
119403
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use of TIOCGWINSZ requires sys/ioctl.h" >&5
119404
 
+$as_echo_n "checking whether use of TIOCGWINSZ requires sys/ioctl.h... " >&6; }
119405
 
+if ${gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h+:} false; then :
119406
 
+  $as_echo_n "(cached) " >&6
119407
 
+else
119408
 
+  gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h=no
119409
 
+
119410
 
+  if test $gl_cv_sys_tiocgwinsz_needs_termios_h = no; then
119411
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119412
 
+/* end confdefs.h.  */
119413
 
+#include <sys/types.h>
119414
 
+#     include <sys/ioctl.h>
119415
 
+#     ifdef TIOCGWINSZ
119416
 
+        yes
119417
 
+#     endif
119418
 
+    
119419
 
+_ACEOF
119420
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
119421
 
+  $EGREP "yes" >/dev/null 2>&1; then :
119422
 
+  gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h=yes
119423
 
+fi
119424
 
+rm -f conftest*
119425
 
+
119426
 
+  fi
119427
 
+  
119428
 
+fi
119429
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h" >&5
119430
 
+$as_echo "$gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h" >&6; }
119431
 
+  if test $gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h = yes; then
119432
 
+    
119433
 
+$as_echo "@%:@define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
119434
 
+
119435
 
+  fi
119436
 
+
119437
 
+
119438
 
+if test $ac_cv_sys_posix_termios = yes; then
119439
 
+  {
119440
 
+  if test -z "$optional_bin_progs"; then
119441
 
+    optional_bin_progs=stty
119442
 
+  else
119443
 
+    optional_bin_progs="$optional_bin_progs stty"
119444
 
+  fi
119445
 
+}
119446
 
+
119447
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h needs _XOPEN_SOURCE" >&5
119448
 
+$as_echo_n "checking whether termios.h needs _XOPEN_SOURCE... " >&6; }
119449
 
+  if ${su_cv_sys_termios_needs_xopen_source+:} false; then :
119450
 
+  $as_echo_n "(cached) " >&6
119451
 
+else
119452
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119453
 
+/* end confdefs.h.  */
119454
 
+#include <termios.h>
119455
 
+#ifdef IUCLC
119456
 
+yes
119457
 
+#endif
119458
 
+_ACEOF
119459
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
119460
 
+  $EGREP "yes" >/dev/null 2>&1; then :
119461
 
+  su_cv_sys_termios_needs_xopen_source=no
119462
 
+else
119463
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119464
 
+/* end confdefs.h.  */
119465
 
+#define _XOPEN_SOURCE
119466
 
+#include <termios.h>
119467
 
+#ifdef IUCLC
119468
 
+yes
119469
 
+#endif
119470
 
+_ACEOF
119471
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
119472
 
+  $EGREP "yes" >/dev/null 2>&1; then :
119473
 
+  su_cv_sys_termios_needs_xopen_source=yes
119474
 
+else
119475
 
+  su_cv_sys_termios_needs_xopen_source=no
119476
 
+fi
119477
 
+rm -f conftest*
119478
 
+
119479
 
+fi
119480
 
+rm -f conftest*
119481
 
+
119482
 
+fi
119483
 
+
119484
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $su_cv_sys_termios_needs_xopen_source" >&5
119485
 
+$as_echo "$su_cv_sys_termios_needs_xopen_source" >&6; }
119486
 
+  test $su_cv_sys_termios_needs_xopen_source = yes &&
119487
 
+    
119488
 
+$as_echo "@%:@define TERMIOS_NEEDS_XOPEN_SOURCE 1" >>confdefs.h
119489
 
+
119490
 
+
119491
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking c_line in struct termios" >&5
119492
 
+$as_echo_n "checking c_line in struct termios... " >&6; }
119493
 
+  if ${su_cv_sys_c_line_in_termios+:} false; then :
119494
 
+  $as_echo_n "(cached) " >&6
119495
 
+else
119496
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119497
 
+/* end confdefs.h.  */
119498
 
+#if TERMIOS_NEEDS_XOPEN_SOURCE
119499
 
+#define _XOPEN_SOURCE
119500
 
+#endif
119501
 
+#include <sys/types.h>
119502
 
+#include <termios.h>
119503
 
+int
119504
 
+main ()
119505
 
+{
119506
 
+struct termios t; return !sizeof t.c_line;
119507
 
+  ;
119508
 
+  return 0;
119509
 
+}
119510
 
+_ACEOF
119511
 
+if ac_fn_c_try_link "$LINENO"; then :
119512
 
+  su_cv_sys_c_line_in_termios=yes
119513
 
+else
119514
 
+  su_cv_sys_c_line_in_termios=no
119515
 
+fi
119516
 
+rm -f core conftest.err conftest.$ac_objext \
119517
 
+    conftest$ac_exeext conftest.$ac_ext
119518
 
+fi
119519
 
+
119520
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $su_cv_sys_c_line_in_termios" >&5
119521
 
+$as_echo "$su_cv_sys_c_line_in_termios" >&6; }
119522
 
+  test $su_cv_sys_c_line_in_termios = yes \
119523
 
+    && 
119524
 
+$as_echo "@%:@define HAVE_C_LINE 1" >>confdefs.h
119525
 
+
119526
 
+fi
119527
 
+
119528
 
+# FIXME: note that this macro appears above, too.
119529
 
+# I'm leaving it here for now.  This whole thing needs to be modernized...
119530
 
+
119531
 
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use of struct winsize requires sys/ptem.h" >&5
119532
 
+$as_echo_n "checking whether use of struct winsize requires sys/ptem.h... " >&6; }
119533
 
+if ${gl_cv_sys_struct_winsize_needs_sys_ptem_h+:} false; then :
119534
 
+  $as_echo_n "(cached) " >&6
119535
 
+else
119536
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=yes
119537
 
+      if test $ac_cv_sys_posix_termios = yes; then
119538
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119539
 
+/* end confdefs.h.  */
119540
 
+#include <termios.h>
119541
 
+int
119542
 
+main ()
119543
 
+{
119544
 
+struct winsize x;
119545
 
+            if (sizeof x > 0) return 0;
119546
 
+  ;
119547
 
+  return 0;
119548
 
+}
119549
 
+_ACEOF
119550
 
+if ac_fn_c_try_compile "$LINENO"; then :
119551
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=no
119552
 
+fi
119553
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
119554
 
+      fi
119555
 
+      if test $gl_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
119556
 
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119557
 
+/* end confdefs.h.  */
119558
 
+#include <sys/ptem.h>
119559
 
+int
119560
 
+main ()
119561
 
+{
119562
 
+struct winsize x;
119563
 
+            if (sizeof x > 0) return 0;
119564
 
+  ;
119565
 
+  return 0;
119566
 
+}
119567
 
+_ACEOF
119568
 
+if ac_fn_c_try_compile "$LINENO"; then :
119569
 
+  
119570
 
+else
119571
 
+  gl_cv_sys_struct_winsize_needs_sys_ptem_h=no
119572
 
+fi
119573
 
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
119574
 
+      fi
119575
 
+fi
119576
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_winsize_needs_sys_ptem_h" >&5
119577
 
+$as_echo "$gl_cv_sys_struct_winsize_needs_sys_ptem_h" >&6; }
119578
 
+   if test $gl_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
119579
 
+     
119580
 
+$as_echo "@%:@define WINSIZE_IN_PTEM 1" >>confdefs.h
119581
 
+
119582
 
+   fi
119583
 
+
119584
 
+
119585
 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use of TIOCGWINSZ requires termios.h" >&5
119586
 
+$as_echo_n "checking whether use of TIOCGWINSZ requires termios.h... " >&6; }
119587
 
+if ${gl_cv_sys_tiocgwinsz_needs_termios_h+:} false; then :
119588
 
+  $as_echo_n "(cached) " >&6
119589
 
+else
119590
 
+  gl_cv_sys_tiocgwinsz_needs_termios_h=no
119591
 
+
119592
 
+   if test $ac_cv_sys_posix_termios = yes; then
119593
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119594
 
+/* end confdefs.h.  */
119595
 
+#include <sys/types.h>
119596
 
+#      include <termios.h>
119597
 
+#      ifdef TIOCGWINSZ
119598
 
+         yes
119599
 
+#      endif
119600
 
+     
119601
 
+_ACEOF
119602
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
119603
 
+  $EGREP "yes" >/dev/null 2>&1; then :
119604
 
+  gl_cv_sys_tiocgwinsz_needs_termios_h=yes
119605
 
+fi
119606
 
+rm -f conftest*
119607
 
+
119608
 
+   fi
119609
 
+  
119610
 
+fi
119611
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_tiocgwinsz_needs_termios_h" >&5
119612
 
+$as_echo "$gl_cv_sys_tiocgwinsz_needs_termios_h" >&6; }
119613
 
+
119614
 
+
119615
 
+if test $gl_cv_sys_tiocgwinsz_needs_termios_h = no && \
119616
 
+   test $gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h = no; then
119617
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking TIOCGWINSZ in sys/pty.h" >&5
119618
 
+$as_echo_n "checking TIOCGWINSZ in sys/pty.h... " >&6; }
119619
 
+  if ${su_cv_sys_tiocgwinsz_in_sys_pty_h+:} false; then :
119620
 
+  $as_echo_n "(cached) " >&6
119621
 
+else
119622
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119623
 
+/* end confdefs.h.  */
119624
 
+#include <sys/types.h>
119625
 
+#ifdef WINSIZE_IN_PTEM
119626
 
+# include <sys/stream.h>
119627
 
+# include <sys/ptem.h>
119628
 
+#endif
119629
 
+#include <sys/ioctl.h>
119630
 
+#include <sys/tty.h>
119631
 
+#include <sys/pty.h>
119632
 
+int
119633
 
+main ()
119634
 
+{
119635
 
+int x = TIOCGWINSZ;
119636
 
+  ;
119637
 
+  return 0;
119638
 
+}
119639
 
+_ACEOF
119640
 
+if ac_fn_c_try_link "$LINENO"; then :
119641
 
+  su_cv_sys_tiocgwinsz_in_sys_pty_h=yes
119642
 
+else
119643
 
+  su_cv_sys_tiocgwinsz_in_sys_pty_h=no
119644
 
+fi
119645
 
+rm -f core conftest.err conftest.$ac_objext \
119646
 
+    conftest$ac_exeext conftest.$ac_ext
119647
 
+fi
119648
 
+
119649
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $su_cv_sys_tiocgwinsz_in_sys_pty_h" >&5
119650
 
+$as_echo "$su_cv_sys_tiocgwinsz_in_sys_pty_h" >&6; }
119651
 
+
119652
 
+  test $su_cv_sys_tiocgwinsz_in_sys_pty_h = yes \
119653
 
+      && 
119654
 
+$as_echo "@%:@define GWINSZ_IN_SYS_PTY 1" >>confdefs.h
119655
 
+
119656
 
+fi
119657
 
+
119658
 
+# For src/kill.c.
119659
 
+ac_fn_c_check_decl "$LINENO" "strsignal" "ac_cv_have_decl_strsignal" "$ac_includes_default
119660
 
+#include <signal.h>
119661
 
+"
119662
 
+if test "x$ac_cv_have_decl_strsignal" = xyes; then :
119663
 
+  ac_have_decl=1
119664
 
+else
119665
 
+  ac_have_decl=0
119666
 
+fi
119667
 
+
119668
 
+cat >>confdefs.h <<_ACEOF
119669
 
+@%:@define HAVE_DECL_STRSIGNAL $ac_have_decl
119670
 
+_ACEOF
119671
 
+ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default
119672
 
+#include <signal.h>
119673
 
+"
119674
 
+if test "x$ac_cv_have_decl_sys_siglist" = xyes; then :
119675
 
+  ac_have_decl=1
119676
 
+else
119677
 
+  ac_have_decl=0
119678
 
+fi
119679
 
+
119680
 
+cat >>confdefs.h <<_ACEOF
119681
 
+@%:@define HAVE_DECL_SYS_SIGLIST $ac_have_decl
119682
 
+_ACEOF
119683
 
+ac_fn_c_check_decl "$LINENO" "_sys_siglist" "ac_cv_have_decl__sys_siglist" "$ac_includes_default
119684
 
+#include <signal.h>
119685
 
+"
119686
 
+if test "x$ac_cv_have_decl__sys_siglist" = xyes; then :
119687
 
+  ac_have_decl=1
119688
 
+else
119689
 
+  ac_have_decl=0
119690
 
+fi
119691
 
+
119692
 
+cat >>confdefs.h <<_ACEOF
119693
 
+@%:@define HAVE_DECL__SYS_SIGLIST $ac_have_decl
119694
 
+_ACEOF
119695
 
+ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default
119696
 
+#include <signal.h>
119697
 
+"
119698
 
+if test "x$ac_cv_have_decl___sys_siglist" = xyes; then :
119699
 
+  ac_have_decl=1
119700
 
+else
119701
 
+  ac_have_decl=0
119702
 
+fi
119703
 
+
119704
 
+cat >>confdefs.h <<_ACEOF
119705
 
+@%:@define HAVE_DECL___SYS_SIGLIST $ac_have_decl
119706
 
+_ACEOF
119707
 
+
119708
 
+
119709
 
+
119710
 
+
119711
 
+  # Check for libypsec.a on Dolphin M88K machines.
119712
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lypsec" >&5
119713
 
+$as_echo_n "checking for main in -lypsec... " >&6; }
119714
 
+if ${ac_cv_lib_ypsec_main+:} false; then :
119715
 
+  $as_echo_n "(cached) " >&6
119716
 
+else
119717
 
+  ac_check_lib_save_LIBS=$LIBS
119718
 
+LIBS="-lypsec  $LIBS"
119719
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119720
 
+/* end confdefs.h.  */
119721
 
+
119722
 
+
119723
 
+int
119724
 
+main ()
119725
 
+{
119726
 
+return main ();
119727
 
+  ;
119728
 
+  return 0;
119729
 
+}
119730
 
+_ACEOF
119731
 
+if ac_fn_c_try_link "$LINENO"; then :
119732
 
+  ac_cv_lib_ypsec_main=yes
119733
 
+else
119734
 
+  ac_cv_lib_ypsec_main=no
119735
 
+fi
119736
 
+rm -f core conftest.err conftest.$ac_objext \
119737
 
+    conftest$ac_exeext conftest.$ac_ext
119738
 
+LIBS=$ac_check_lib_save_LIBS
119739
 
+fi
119740
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ypsec_main" >&5
119741
 
+$as_echo "$ac_cv_lib_ypsec_main" >&6; }
119742
 
+if test "x$ac_cv_lib_ypsec_main" = xyes; then :
119743
 
+  cat >>confdefs.h <<_ACEOF
119744
 
+@%:@define HAVE_LIBYPSEC 1
119745
 
+_ACEOF
119746
 
+
119747
 
+  LIBS="-lypsec $LIBS"
119748
 
+
119749
 
+fi
119750
 
+
119751
 
+
119752
 
+  # m88k running dgux 5.4 needs this
119753
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lldgc" >&5
119754
 
+$as_echo_n "checking for main in -lldgc... " >&6; }
119755
 
+if ${ac_cv_lib_ldgc_main+:} false; then :
119756
 
+  $as_echo_n "(cached) " >&6
119757
 
+else
119758
 
+  ac_check_lib_save_LIBS=$LIBS
119759
 
+LIBS="-lldgc  $LIBS"
119760
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119761
 
+/* end confdefs.h.  */
119762
 
+
119763
 
+
119764
 
+int
119765
 
+main ()
119766
 
+{
119767
 
+return main ();
119768
 
+  ;
119769
 
+  return 0;
119770
 
+}
119771
 
+_ACEOF
119772
 
+if ac_fn_c_try_link "$LINENO"; then :
119773
 
+  ac_cv_lib_ldgc_main=yes
119774
 
+else
119775
 
+  ac_cv_lib_ldgc_main=no
119776
 
+fi
119777
 
+rm -f core conftest.err conftest.$ac_objext \
119778
 
+    conftest$ac_exeext conftest.$ac_ext
119779
 
+LIBS=$ac_check_lib_save_LIBS
119780
 
+fi
119781
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldgc_main" >&5
119782
 
+$as_echo "$ac_cv_lib_ldgc_main" >&6; }
119783
 
+if test "x$ac_cv_lib_ldgc_main" = xyes; then :
119784
 
+  cat >>confdefs.h <<_ACEOF
119785
 
+@%:@define HAVE_LIBLDGC 1
119786
 
+_ACEOF
119787
 
+
119788
 
+  LIBS="-lldgc $LIBS"
119789
 
+
119790
 
+fi
119791
 
+
119792
 
+
119793
 
+  # The -lsun library is required for YP support on Irix-4.0.5 systems.
119794
 
+  # m88k/svr3 DolphinOS systems using YP need -lypsec for id.
119795
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing yp_match" >&5
119796
 
+$as_echo_n "checking for library containing yp_match... " >&6; }
119797
 
+if ${ac_cv_search_yp_match+:} false; then :
119798
 
+  $as_echo_n "(cached) " >&6
119799
 
+else
119800
 
+  ac_func_search_save_LIBS=$LIBS
119801
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119802
 
+/* end confdefs.h.  */
119803
 
+
119804
 
+/* Override any GCC internal prototype to avoid an error.
119805
 
+   Use char because int might match the return type of a GCC
119806
 
+   builtin and then its argument prototype would still apply.  */
119807
 
+#ifdef __cplusplus
119808
 
+extern "C"
119809
 
+#endif
119810
 
+char yp_match ();
119811
 
+int
119812
 
+main ()
119813
 
+{
119814
 
+return yp_match ();
119815
 
+  ;
119816
 
+  return 0;
119817
 
+}
119818
 
+_ACEOF
119819
 
+for ac_lib in '' sun ypsec; do
119820
 
+  if test -z "$ac_lib"; then
119821
 
+    ac_res="none required"
119822
 
+  else
119823
 
+    ac_res=-l$ac_lib
119824
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
119825
 
+  fi
119826
 
+  if ac_fn_c_try_link "$LINENO"; then :
119827
 
+  ac_cv_search_yp_match=$ac_res
119828
 
+fi
119829
 
+rm -f core conftest.err conftest.$ac_objext \
119830
 
+    conftest$ac_exeext
119831
 
+  if ${ac_cv_search_yp_match+:} false; then :
119832
 
+  break
119833
 
+fi
119834
 
+done
119835
 
+if ${ac_cv_search_yp_match+:} false; then :
119836
 
+  
119837
 
+else
119838
 
+  ac_cv_search_yp_match=no
119839
 
+fi
119840
 
+rm conftest.$ac_ext
119841
 
+LIBS=$ac_func_search_save_LIBS
119842
 
+fi
119843
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_yp_match" >&5
119844
 
+$as_echo "$ac_cv_search_yp_match" >&6; }
119845
 
+ac_res=$ac_cv_search_yp_match
119846
 
+if test "$ac_res" != no; then :
119847
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
119848
 
+  
119849
 
+fi
119850
 
+
119851
 
+
119852
 
+  # SysV needs -lsec, older versions of Linux need -lshadow for
119853
 
+  # shadow passwords.  UnixWare 7 needs -lgen.
119854
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getspnam" >&5
119855
 
+$as_echo_n "checking for library containing getspnam... " >&6; }
119856
 
+if ${ac_cv_search_getspnam+:} false; then :
119857
 
+  $as_echo_n "(cached) " >&6
119858
 
+else
119859
 
+  ac_func_search_save_LIBS=$LIBS
119860
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119861
 
+/* end confdefs.h.  */
119862
 
+
119863
 
+/* Override any GCC internal prototype to avoid an error.
119864
 
+   Use char because int might match the return type of a GCC
119865
 
+   builtin and then its argument prototype would still apply.  */
119866
 
+#ifdef __cplusplus
119867
 
+extern "C"
119868
 
+#endif
119869
 
+char getspnam ();
119870
 
+int
119871
 
+main ()
119872
 
+{
119873
 
+return getspnam ();
119874
 
+  ;
119875
 
+  return 0;
119876
 
+}
119877
 
+_ACEOF
119878
 
+for ac_lib in '' shadow sec gen; do
119879
 
+  if test -z "$ac_lib"; then
119880
 
+    ac_res="none required"
119881
 
+  else
119882
 
+    ac_res=-l$ac_lib
119883
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
119884
 
+  fi
119885
 
+  if ac_fn_c_try_link "$LINENO"; then :
119886
 
+  ac_cv_search_getspnam=$ac_res
119887
 
+fi
119888
 
+rm -f core conftest.err conftest.$ac_objext \
119889
 
+    conftest$ac_exeext
119890
 
+  if ${ac_cv_search_getspnam+:} false; then :
119891
 
+  break
119892
 
+fi
119893
 
+done
119894
 
+if ${ac_cv_search_getspnam+:} false; then :
119895
 
+  
119896
 
+else
119897
 
+  ac_cv_search_getspnam=no
119898
 
+fi
119899
 
+rm conftest.$ac_ext
119900
 
+LIBS=$ac_func_search_save_LIBS
119901
 
+fi
119902
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getspnam" >&5
119903
 
+$as_echo "$ac_cv_search_getspnam" >&6; }
119904
 
+ac_res=$ac_cv_search_getspnam
119905
 
+if test "$ac_res" != no; then :
119906
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
119907
 
+  
119908
 
+fi
119909
 
+
119910
 
+
119911
 
+  for ac_header in shadow.h
119912
 
+do :
119913
 
+  ac_fn_c_check_header_mongrel "$LINENO" "shadow.h" "ac_cv_header_shadow_h" "$ac_includes_default"
119914
 
+if test "x$ac_cv_header_shadow_h" = xyes; then :
119915
 
+  cat >>confdefs.h <<_ACEOF
119916
 
+@%:@define HAVE_SHADOW_H 1
119917
 
+_ACEOF
119918
 
119919
 
+fi
119920
 
+
119921
 
+done
119922
 
+
119923
 
+
119924
 
+  # Requirements for su.c.
119925
 
+  shadow_includes="\
119926
 
+$ac_includes_default
119927
 
+#if HAVE_SHADOW_H
119928
 
+# include <shadow.h>
119929
 
+#endif
119930
 
+"
119931
 
+  ac_fn_c_check_member "$LINENO" "struct spwd" "sp_pwdp" "ac_cv_member_struct_spwd_sp_pwdp" "$shadow_includes
119932
 
+"
119933
 
+if test "x$ac_cv_member_struct_spwd_sp_pwdp" = xyes; then :
119934
 
+  
119935
 
+cat >>confdefs.h <<_ACEOF
119936
 
+@%:@define HAVE_STRUCT_SPWD_SP_PWDP 1
119937
 
+_ACEOF
119938
 
+
119939
 
+
119940
 
+fi
119941
 
+
119942
 
+  for ac_func in getspnam
119943
 
+do :
119944
 
+  ac_fn_c_check_func "$LINENO" "getspnam" "ac_cv_func_getspnam"
119945
 
+if test "x$ac_cv_func_getspnam" = xyes; then :
119946
 
+  cat >>confdefs.h <<_ACEOF
119947
 
+@%:@define HAVE_GETSPNAM 1
119948
 
+_ACEOF
119949
 
119950
 
+fi
119951
 
+done
119952
 
+
119953
 
+
119954
 
+  # SCO-ODT-3.0 is reported to need -lufc for crypt.
119955
 
+  # NetBSD needs -lcrypt for crypt.
119956
 
+  LIB_CRYPT=
119957
 
+  cu_saved_libs="$LIBS"
119958
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
119959
 
+$as_echo_n "checking for library containing crypt... " >&6; }
119960
 
+if ${ac_cv_search_crypt+:} false; then :
119961
 
+  $as_echo_n "(cached) " >&6
119962
 
+else
119963
 
+  ac_func_search_save_LIBS=$LIBS
119964
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
119965
 
+/* end confdefs.h.  */
119966
 
+
119967
 
+/* Override any GCC internal prototype to avoid an error.
119968
 
+   Use char because int might match the return type of a GCC
119969
 
+   builtin and then its argument prototype would still apply.  */
119970
 
+#ifdef __cplusplus
119971
 
+extern "C"
119972
 
+#endif
119973
 
+char crypt ();
119974
 
+int
119975
 
+main ()
119976
 
+{
119977
 
+return crypt ();
119978
 
+  ;
119979
 
+  return 0;
119980
 
+}
119981
 
+_ACEOF
119982
 
+for ac_lib in '' ufc crypt; do
119983
 
+  if test -z "$ac_lib"; then
119984
 
+    ac_res="none required"
119985
 
+  else
119986
 
+    ac_res=-l$ac_lib
119987
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
119988
 
+  fi
119989
 
+  if ac_fn_c_try_link "$LINENO"; then :
119990
 
+  ac_cv_search_crypt=$ac_res
119991
 
+fi
119992
 
+rm -f core conftest.err conftest.$ac_objext \
119993
 
+    conftest$ac_exeext
119994
 
+  if ${ac_cv_search_crypt+:} false; then :
119995
 
+  break
119996
 
+fi
119997
 
+done
119998
 
+if ${ac_cv_search_crypt+:} false; then :
119999
 
+  
120000
 
+else
120001
 
+  ac_cv_search_crypt=no
120002
 
+fi
120003
 
+rm conftest.$ac_ext
120004
 
+LIBS=$ac_func_search_save_LIBS
120005
 
+fi
120006
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
120007
 
+$as_echo "$ac_cv_search_crypt" >&6; }
120008
 
+ac_res=$ac_cv_search_crypt
120009
 
+if test "$ac_res" != no; then :
120010
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
120011
 
+  test "$ac_cv_search_crypt" = "none required" ||
120012
 
+                  LIB_CRYPT="$ac_cv_search_crypt"
120013
 
+fi
120014
 
+
120015
 
+  LIBS="$cu_saved_libs"
120016
 
+  
120017
 
+
120018
 
+
120019
 
+  LIB_GMP=
120020
 
+  
120021
 
+
120022
 
+  
120023
 
+@%:@ Check whether --with-gmp was given.
120024
 
+if test "${with_gmp+set}" = set; then :
120025
 
+  withval=$with_gmp; cu_use_gmp=$withval
120026
 
+else
120027
 
+  cu_use_gmp=auto
120028
 
+fi
120029
 
+
120030
 
+
120031
 
+  if test $cu_use_gmp != no; then
120032
 
+    cu_saved_libs=$LIBS
120033
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __gmpz_init" >&5
120034
 
+$as_echo_n "checking for library containing __gmpz_init... " >&6; }
120035
 
+if ${ac_cv_search___gmpz_init+:} false; then :
120036
 
+  $as_echo_n "(cached) " >&6
120037
 
+else
120038
 
+  ac_func_search_save_LIBS=$LIBS
120039
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
120040
 
+/* end confdefs.h.  */
120041
 
+
120042
 
+/* Override any GCC internal prototype to avoid an error.
120043
 
+   Use char because int might match the return type of a GCC
120044
 
+   builtin and then its argument prototype would still apply.  */
120045
 
+#ifdef __cplusplus
120046
 
+extern "C"
120047
 
+#endif
120048
 
+char __gmpz_init ();
120049
 
+int
120050
 
+main ()
120051
 
+{
120052
 
+return __gmpz_init ();
120053
 
+  ;
120054
 
+  return 0;
120055
 
+}
120056
 
+_ACEOF
120057
 
+for ac_lib in '' gmp; do
120058
 
+  if test -z "$ac_lib"; then
120059
 
+    ac_res="none required"
120060
 
+  else
120061
 
+    ac_res=-l$ac_lib
120062
 
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
120063
 
+  fi
120064
 
+  if ac_fn_c_try_link "$LINENO"; then :
120065
 
+  ac_cv_search___gmpz_init=$ac_res
120066
 
+fi
120067
 
+rm -f core conftest.err conftest.$ac_objext \
120068
 
+    conftest$ac_exeext
120069
 
+  if ${ac_cv_search___gmpz_init+:} false; then :
120070
 
+  break
120071
 
+fi
120072
 
+done
120073
 
+if ${ac_cv_search___gmpz_init+:} false; then :
120074
 
+  
120075
 
+else
120076
 
+  ac_cv_search___gmpz_init=no
120077
 
+fi
120078
 
+rm conftest.$ac_ext
120079
 
+LIBS=$ac_func_search_save_LIBS
120080
 
+fi
120081
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___gmpz_init" >&5
120082
 
+$as_echo "$ac_cv_search___gmpz_init" >&6; }
120083
 
+ac_res=$ac_cv_search___gmpz_init
120084
 
+if test "$ac_res" != no; then :
120085
 
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
120086
 
+  test "$ac_cv_search___gmpz_init" = "none required" ||
120087
 
+       {
120088
 
+        LIB_GMP=$ac_cv_search___gmpz_init
120089
 
+        
120090
 
+$as_echo "@%:@define HAVE_GMP 1" >>confdefs.h
120091
 
+
120092
 
+       }
120093
 
+else
120094
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgmp development library was not found or not usable." >&5
120095
 
+$as_echo "$as_me: WARNING: libgmp development library was not found or not usable." >&2;}
120096
 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU coreutils will be built without GMP support." >&5
120097
 
+$as_echo "$as_me: WARNING: GNU coreutils will be built without GMP support." >&2;}
120098
 
+fi
120099
 
+
120100
 
+    LIBS=$cu_saved_libs
120101
 
+  fi
120102
 
+
120103
 
+
120104
 
+# Build df only if there's a point to it.
120105
 
+if test $gl_cv_list_mounted_fs = yes && test $gl_cv_fs_space = yes; then
120106
 
+  {
120107
 
+  if test -z "$optional_bin_progs"; then
120108
 
+    optional_bin_progs=df
120109
 
+  else
120110
 
+    optional_bin_progs="$optional_bin_progs df"
120111
 
+  fi
120112
 
+}
120113
 
+fi
120114
 
+
120115
 
+# Limit stdbuf to ELF systems with GCC
120116
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether this is an ELF system" >&5
120117
 
+$as_echo_n "checking whether this is an ELF system... " >&6; }
120118
 
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
120119
 
+/* end confdefs.h.  */
120120
 
+#if __ELF__
120121
 
+yes
120122
 
+#endif
120123
 
+_ACEOF
120124
 
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
120125
 
+  $EGREP "yes" >/dev/null 2>&1; then :
120126
 
+  elf_sys=yes
120127
 
+else
120128
 
+  elf_sys=no
120129
 
+fi
120130
 
+rm -f conftest*
120131
 
+
120132
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_sys" >&5
120133
 
+$as_echo "$elf_sys" >&6; }
120134
 
+if test "$elf_sys" = "yes" && \
120135
 
+   test "$GCC" = "yes"; then
120136
 
+  {
120137
 
+  if test -z "$optional_bin_progs"; then
120138
 
+    optional_bin_progs=stdbuf
120139
 
+  else
120140
 
+    optional_bin_progs="$optional_bin_progs stdbuf"
120141
 
+  fi
120142
 
+}
120143
 
+fi
120144
 
+
120145
 
+############################################################################
120146
 
+mk="$srcdir/src/Makefile.am"
120147
 
+# Extract all literal names from the definition of $(EXTRA_PROGRAMS)
120148
 
+# in $mk but don't expand the variable references.
120149
 
+# Append each literal name to $optional_bin_progs.
120150
 
+v=EXTRA_PROGRAMS
120151
 
+for gl_i in `sed -n '/^'$v' =/,/[^\]$/p' $mk \
120152
 
+    | sed 's/^  *//;/^\$.*/d;/^'$v' =/d' \
120153
 
+    | tr -s '\\015\\012\\\\' '   '`; do
120154
 
+  {
120155
 
+  if test -z "$optional_bin_progs"; then
120156
 
+    optional_bin_progs=$gl_i
120157
 
+  else
120158
 
+    optional_bin_progs="$optional_bin_progs $gl_i"
120159
 
+  fi
120160
 
+}
120161
 
+done
120162
 
+
120163
 
+# As above, extract literal names from the definition of $(no_install__progs)
120164
 
+# in $mk but don't expand the variable references.
120165
 
+v=no_install__progs
120166
 
+t=`sed -n '/^'$v' =/,/[^\]$/p' $mk \
120167
 
+    | sed 's/^  *//;/^\$.*/d;/^'$v' =/d' \
120168
 
+    | tr -s '\\015\\012\\\\' '   '`
120169
 
+# Remove any trailing space.
120170
 
+no_install_progs_default=`echo "$t"|sed 's/ $//'`
120171
 
+
120172
 
+# Unfortunately, due to the way autoconf's AS_HELP_STRING works, the list
120173
 
+# of default-not-installed programs, "arch hostname su", must appear in two
120174
 
+# places: in this file below, and in $mk.  Using "$no_install_progs_default"
120175
 
+# below cannot work.  And we can't substitute the names into $mk because
120176
 
+# automake needs the literals, too.
120177
 
+# The compromise is to ensure that the space-separated list extracted
120178
 
+# above matches the literal 2nd argument below.
120179
 
+c="$srcdir/configure.ac"
120180
 
+re='^g''l_INCLUDE_EXCLUDE_PROG(.* \[\(.*\)\])'
120181
 
+t=`sed -n '/'"$re"'/{s/'"$re"'/\1/;s/,/ /gp
120182
 
+}' $c`
120183
 
+case $t in
120184
 
+  $no_install_progs_default) ;;
120185
 
+  *) as_fn_error 1 "internal error: g'l_INCLUDE_EXCLUDE_PROG's 2nd arg, $t,
120186
 
+                   does not match the list of default-not-installed programs
120187
 
+                   ($no_install_progs_default) also recorded in $mk" "$LINENO" 5 ;;
120188
 
+esac
120189
 
+
120190
 
+# Given the name of a variable containing a space-separated list of
120191
 
+# install-by-default programs and the actual list do-not-install-by-default
120192
 
+# programs, modify the former variable to reflect any "do-install" and
120193
 
+# "don't-install" requests.
120194
 
+# I.e., add any program name specified via --enable-install-program=..., and
120195
 
+# remove any program name specified via --enable-no-install-program=...
120196
 
+# Note how the second argument below is a literal, with "," separators.
120197
 
+# That is required due to the way the macro works, and since the
120198
 
+# corresponding ./configure option argument is comma-separated on input.
120199
 
+{
120200
 
+  gl_no_install_progs_default=`echo 'arch,hostname,su'|sed 's/,/ /g'`
120201
 
+  @%:@ Check whether --enable-install-program was given.
120202
 
+if test "${enable_install_program+set}" = set; then :
120203
 
+  enableval=$enable_install_program; gl_do_install_prog=$enableval
120204
 
+else
120205
 
+  gl_do_install_prog=
120206
 
+  
120207
 
+fi
120208
 
+
120209
 
+
120210
 
+  # If you want to refrain from installing programs A and B,
120211
 
+  # use --enable-no-install-program=A,B
120212
 
+  @%:@ Check whether --enable-no-install-program was given.
120213
 
+if test "${enable_no_install_program+set}" = set; then :
120214
 
+  enableval=$enable_no_install_program; gl_no_install_prog=$enableval
120215
 
+else
120216
 
+  gl_no_install_prog=
120217
 
+  
120218
 
+fi
120219
 
+
120220
 
+
120221
 
+  # Convert to space separated lists.
120222
 
+  gl_do_install_prog=`echo "$gl_do_install_prog"|tr -s , ' '`
120223
 
+  gl_no_install_prog=`echo "$gl_no_install_prog"|tr -s , ' '`
120224
 
+
120225
 
+  # For each not-to-be-installed program name, ensure that it's a
120226
 
+  # valid name, remove it from the list of programs to build/install,
120227
 
+  # as well as from the list of man pages to install.
120228
 
+  for gl_i in $gl_no_install_prog; do
120229
 
+
120230
 
+    # Fail upon a request to install and not-install the same program.
120231
 
+    case " $gl_do_install_prog " in
120232
 
+      *" $gl_i "*) as_fn_error $? "'$gl_i' is both included and excluded" "$LINENO" 5 ;;
120233
 
+    esac
120234
 
+
120235
 
+    gl_msg=
120236
 
+    # Warn about a request not to install a program that is not being
120237
 
+    # built (which may be because the systems lacks a required interface).
120238
 
+    case " $optional_bin_progs " in
120239
 
+      *" $gl_i "*) {
120240
 
+  optional_bin_progs=`for gl_rem_i in $optional_bin_progs; do
120241
 
+        test "$gl_rem_i" = "$gl_i" || echo "$gl_rem_i"
120242
 
+      done | tr '\012' ' ' | sed 's/ $//'; echo`
120243
 
+} ;;
120244
 
+      *) gl_msg="'$gl_i' is already not being installed" ;;
120245
 
+    esac
120246
 
+
120247
 
+    if test "$gl_msg" = ''; then
120248
 
+      # Warn about a request not to install a program that is
120249
 
+      # already on the default-no-install list.
120250
 
+      case " $gl_no_install_progs_default " in
120251
 
+        *" $gl_i "*) gl_msg="by default, '$gl_i' is not installed" ;;
120252
 
+      esac
120253
 
+    fi
120254
 
+
120255
 
+    test "$gl_msg" != '' && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $gl_msg" >&5
120256
 
+$as_echo "$as_me: WARNING: $gl_msg" >&2;}
120257
 
+  done
120258
 
+
120259
 
+  for gl_i in $gl_do_install_prog; do
120260
 
+    case " $gl_no_install_progs_default " in
120261
 
+      *" $gl_i "*) {
120262
 
+  if test -z "$optional_bin_progs"; then
120263
 
+    optional_bin_progs=$gl_i
120264
 
+  else
120265
 
+    optional_bin_progs="$optional_bin_progs $gl_i"
120266
 
+  fi
120267
 
+} ;;
120268
 
+      *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$gl_i' is not an optionally-installable program" >&5
120269
 
+$as_echo "$as_me: WARNING: '$gl_i' is not an optionally-installable program" >&2;} ;;
120270
 
+    esac
120271
 
+  done
120272
 
+}
120273
 
+
120274
 
+# Now that we know which programs will actually be built up, figure out
120275
 
+# which optional helper progs should be compiled.
120276
 
+optional_pkglib_progs=
120277
 
+case " $optional_bin_progs " in
120278
 
+  *' stdbuf '*) {
120279
 
+  if test -z "$optional_pkglib_progs"; then
120280
 
+    optional_pkglib_progs=libstdbuf.so
120281
 
+  else
120282
 
+    optional_pkglib_progs="$optional_pkglib_progs libstdbuf.so"
120283
 
+  fi
120284
 
+} ;;
120285
 
+esac
120286
 
+
120287
 
+# Set INSTALL_SU if su installation has been requested via
120288
 
+# --enable-install-program=su.
120289
 
+
120290
 
+case " $optional_bin_progs " in
120291
 
+  *' su '*) INSTALL_SU=yes ;;
120292
 
+  *)        INSTALL_SU=no ;;
120293
 
+esac
120294
 
+
120295
 
+MAN=`echo "$optional_bin_progs "|sed 's/ /.1 /g;s/ $//'|tr -d '\\015\\012'`
120296
 
+
120297
 
+# Change "ginstall.1" to "install.1" in $MAN.
120298
 
+MAN=`for m in $MAN; do test $m = ginstall.1 && m=install.1; echo $m; done \
120299
 
+  | tr '\015\012' '  '; echo`
120300
 
+
120301
 
+# Remove [.1, since writing a portable rule for it in man/Makefile.am
120302
 
+# is not practical.  The sed LHS below uses the autoconf quadrigraph
120303
 
+# representing '['.
120304
 
+MAN=`echo "$MAN"|sed 's/\@<:@\.1//'`
120305
 
+
120306
 
+OPTIONAL_BIN_PROGS=`echo "$optional_bin_progs "|sed 's/ /\$(EXEEXT) /g;s/ $//'`
120307
 
+
120308
 
+OPTIONAL_PKGLIB_PROGS=`echo "$optional_pkglib_progs " | sed 's/ $//'`
120309
 
+
120310
 
+NO_INSTALL_PROGS_DEFAULT=$no_install_progs_default
120311
 
+
120312
 
+
120313
 
+ if test "$cross_compiling" = yes; then
120314
 
+  CROSS_COMPILING_TRUE=
120315
 
+  CROSS_COMPILING_FALSE='#'
120316
 
+else
120317
 
+  CROSS_COMPILING_TRUE='#'
120318
 
+  CROSS_COMPILING_FALSE=
120319
 
+fi
120320
 
+
120321
 
+
120322
 
+# Arrange to rerun configure whenever the file, src/Makefile.am,
120323
 
+# containing the list of program names changes.
120324
 
+CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/src/Makefile.am'
120325
 
+
120326
 
+############################################################################
120327
 
+
120328
 
+# As long as "grep 'PRI[diouxX]' po/*.pot" reports matches in
120329
 
+# translatable strings, we must use need-formatstring-macros here.
120330
 
+
120331
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
120332
 
+$as_echo_n "checking whether NLS is requested... " >&6; }
120333
 
+    @%:@ Check whether --enable-nls was given.
120334
 
+if test "${enable_nls+set}" = set; then :
120335
 
+  enableval=$enable_nls; USE_NLS=$enableval
120336
 
+else
120337
 
+  USE_NLS=yes
120338
 
+fi
120339
 
+
120340
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
120341
 
+$as_echo "$USE_NLS" >&6; }
120342
 
+  
120343
 
+
120344
 
+
120345
 
+        
120346
 
+      GETTEXT_MACRO_VERSION=0.18
120347
 
+
120348
 
+
120349
 
+    
120350
 
+        
120351
 
+# Prepare PATH_SEPARATOR.
120352
 
+# The user is always right.
120353
 
+if test "${PATH_SEPARATOR+set}" != set; then
120354
 
+  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
120355
 
+  # contains only /bin. Note that ksh looks also at the FPATH variable,
120356
 
+  # so we have to set that as well for the test.
120357
 
+  PATH_SEPARATOR=:
120358
 
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
120359
 
+    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
120360
 
+           || PATH_SEPARATOR=';'
120361
 
+       }
120362
 
+fi
120363
 
+
120364
 
+# Find out how to test for executable files. Don't use a zero-byte file,
120365
 
+# as systems may use methods other than mode bits to determine executability.
120366
 
+cat >conf$$.file <<_ASEOF
120367
 
+#! /bin/sh
120368
 
+exit 0
120369
 
+_ASEOF
120370
 
+chmod +x conf$$.file
120371
 
+if test -x conf$$.file >/dev/null 2>&1; then
120372
 
+  ac_executable_p="test -x"
120373
 
+else
120374
 
+  ac_executable_p="test -f"
120375
 
+fi
120376
 
+rm -f conf$$.file
120377
 
+
120378
 
+# Extract the first word of "msgfmt", so it can be a program name with args.
120379
 
+set dummy msgfmt; ac_word=$2
120380
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
120381
 
+$as_echo_n "checking for $ac_word... " >&6; }
120382
 
+if ${ac_cv_path_MSGFMT+:} false; then :
120383
 
+  $as_echo_n "(cached) " >&6
120384
 
+else
120385
 
+  case "$MSGFMT" in
120386
 
+  [\\/]* | ?:[\\/]*)
120387
 
+    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
120388
 
+    ;;
120389
 
+  *)
120390
 
+    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
120391
 
+    for ac_dir in $PATH; do
120392
 
+      IFS="$ac_save_IFS"
120393
 
+      test -z "$ac_dir" && ac_dir=.
120394
 
+      for ac_exec_ext in '' $ac_executable_extensions; do
120395
 
+        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
120396
 
+          echo "$as_me: trying $ac_dir/$ac_word..." >&5
120397
 
+          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
120398
 
+     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
120399
 
+            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
120400
 
+            break 2
120401
 
+          fi
120402
 
+        fi
120403
 
+      done
120404
 
+    done
120405
 
+    IFS="$ac_save_IFS"
120406
 
+  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
120407
 
+    ;;
120408
 
+esac
120409
 
+fi
120410
 
+MSGFMT="$ac_cv_path_MSGFMT"
120411
 
+if test "$MSGFMT" != ":"; then
120412
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
120413
 
+$as_echo "$MSGFMT" >&6; }
120414
 
+else
120415
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
120416
 
+$as_echo "no" >&6; }
120417
 
+fi
120418
 
+
120419
 
+  # Extract the first word of "gmsgfmt", so it can be a program name with args.
120420
 
+set dummy gmsgfmt; ac_word=$2
120421
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
120422
 
+$as_echo_n "checking for $ac_word... " >&6; }
120423
 
+if ${ac_cv_path_GMSGFMT+:} false; then :
120424
 
+  $as_echo_n "(cached) " >&6
120425
 
+else
120426
 
+  case $GMSGFMT in
120427
 
+  [\\/]* | ?:[\\/]*)
120428
 
+  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
120429
 
+  ;;
120430
 
+  *)
120431
 
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
120432
 
+for as_dir in $PATH
120433
 
+do
120434
 
+  IFS=$as_save_IFS
120435
 
+  test -z "$as_dir" && as_dir=.
120436
 
+    for ac_exec_ext in '' $ac_executable_extensions; do
120437
 
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
120438
 
+    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
120439
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
120440
 
+    break 2
120441
 
+  fi
120442
 
+done
120443
 
+  done
120444
 
+IFS=$as_save_IFS
120445
 
+
120446
 
+  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
120447
 
+  ;;
120448
 
+esac
120449
 
+fi
120450
 
+GMSGFMT=$ac_cv_path_GMSGFMT
120451
 
+if test -n "$GMSGFMT"; then
120452
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
120453
 
+$as_echo "$GMSGFMT" >&6; }
120454
 
+else
120455
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
120456
 
+$as_echo "no" >&6; }
120457
 
+fi
120458
 
+
120459
 
+
120460
 
+
120461
 
+    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
120462
 
+    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
120463
 
+    *) MSGFMT_015=$MSGFMT ;;
120464
 
+  esac
120465
 
+  
120466
 
+  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
120467
 
+    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
120468
 
+    *) GMSGFMT_015=$GMSGFMT ;;
120469
 
+  esac
120470
 
+  
120471
 
+
120472
 
+        
120473
 
+# Prepare PATH_SEPARATOR.
120474
 
+# The user is always right.
120475
 
+if test "${PATH_SEPARATOR+set}" != set; then
120476
 
+  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
120477
 
+  # contains only /bin. Note that ksh looks also at the FPATH variable,
120478
 
+  # so we have to set that as well for the test.
120479
 
+  PATH_SEPARATOR=:
120480
 
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
120481
 
+    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
120482
 
+           || PATH_SEPARATOR=';'
120483
 
+       }
120484
 
+fi
120485
 
+
120486
 
+# Find out how to test for executable files. Don't use a zero-byte file,
120487
 
+# as systems may use methods other than mode bits to determine executability.
120488
 
+cat >conf$$.file <<_ASEOF
120489
 
+#! /bin/sh
120490
 
+exit 0
120491
 
+_ASEOF
120492
 
+chmod +x conf$$.file
120493
 
+if test -x conf$$.file >/dev/null 2>&1; then
120494
 
+  ac_executable_p="test -x"
120495
 
+else
120496
 
+  ac_executable_p="test -f"
120497
 
+fi
120498
 
+rm -f conf$$.file
120499
 
+
120500
 
+# Extract the first word of "xgettext", so it can be a program name with args.
120501
 
+set dummy xgettext; ac_word=$2
120502
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
120503
 
+$as_echo_n "checking for $ac_word... " >&6; }
120504
 
+if ${ac_cv_path_XGETTEXT+:} false; then :
120505
 
+  $as_echo_n "(cached) " >&6
120506
 
+else
120507
 
+  case "$XGETTEXT" in
120508
 
+  [\\/]* | ?:[\\/]*)
120509
 
+    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
120510
 
+    ;;
120511
 
+  *)
120512
 
+    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
120513
 
+    for ac_dir in $PATH; do
120514
 
+      IFS="$ac_save_IFS"
120515
 
+      test -z "$ac_dir" && ac_dir=.
120516
 
+      for ac_exec_ext in '' $ac_executable_extensions; do
120517
 
+        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
120518
 
+          echo "$as_me: trying $ac_dir/$ac_word..." >&5
120519
 
+          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
120520
 
+     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
120521
 
+            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
120522
 
+            break 2
120523
 
+          fi
120524
 
+        fi
120525
 
+      done
120526
 
+    done
120527
 
+    IFS="$ac_save_IFS"
120528
 
+  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
120529
 
+    ;;
120530
 
+esac
120531
 
+fi
120532
 
+XGETTEXT="$ac_cv_path_XGETTEXT"
120533
 
+if test "$XGETTEXT" != ":"; then
120534
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
120535
 
+$as_echo "$XGETTEXT" >&6; }
120536
 
+else
120537
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
120538
 
+$as_echo "no" >&6; }
120539
 
+fi
120540
 
+
120541
 
+    rm -f messages.po
120542
 
+
120543
 
+    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
120544
 
+    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
120545
 
+    *) XGETTEXT_015=$XGETTEXT ;;
120546
 
+  esac
120547
 
+  
120548
 
+
120549
 
+    
120550
 
+# Prepare PATH_SEPARATOR.
120551
 
+# The user is always right.
120552
 
+if test "${PATH_SEPARATOR+set}" != set; then
120553
 
+  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
120554
 
+  # contains only /bin. Note that ksh looks also at the FPATH variable,
120555
 
+  # so we have to set that as well for the test.
120556
 
+  PATH_SEPARATOR=:
120557
 
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
120558
 
+    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
120559
 
+           || PATH_SEPARATOR=';'
120560
 
+       }
120561
 
+fi
120562
 
+
120563
 
+# Find out how to test for executable files. Don't use a zero-byte file,
120564
 
+# as systems may use methods other than mode bits to determine executability.
120565
 
+cat >conf$$.file <<_ASEOF
120566
 
+#! /bin/sh
120567
 
+exit 0
120568
 
+_ASEOF
120569
 
+chmod +x conf$$.file
120570
 
+if test -x conf$$.file >/dev/null 2>&1; then
120571
 
+  ac_executable_p="test -x"
120572
 
+else
120573
 
+  ac_executable_p="test -f"
120574
 
+fi
120575
 
+rm -f conf$$.file
120576
 
+
120577
 
+# Extract the first word of "msgmerge", so it can be a program name with args.
120578
 
+set dummy msgmerge; ac_word=$2
120579
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
120580
 
+$as_echo_n "checking for $ac_word... " >&6; }
120581
 
+if ${ac_cv_path_MSGMERGE+:} false; then :
120582
 
+  $as_echo_n "(cached) " >&6
120583
 
+else
120584
 
+  case "$MSGMERGE" in
120585
 
+  [\\/]* | ?:[\\/]*)
120586
 
+    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
120587
 
+    ;;
120588
 
+  *)
120589
 
+    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
120590
 
+    for ac_dir in $PATH; do
120591
 
+      IFS="$ac_save_IFS"
120592
 
+      test -z "$ac_dir" && ac_dir=.
120593
 
+      for ac_exec_ext in '' $ac_executable_extensions; do
120594
 
+        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
120595
 
+          echo "$as_me: trying $ac_dir/$ac_word..." >&5
120596
 
+          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
120597
 
+            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
120598
 
+            break 2
120599
 
+          fi
120600
 
+        fi
120601
 
+      done
120602
 
+    done
120603
 
+    IFS="$ac_save_IFS"
120604
 
+  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
120605
 
+    ;;
120606
 
+esac
120607
 
+fi
120608
 
+MSGMERGE="$ac_cv_path_MSGMERGE"
120609
 
+if test "$MSGMERGE" != ":"; then
120610
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
120611
 
+$as_echo "$MSGMERGE" >&6; }
120612
 
+else
120613
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
120614
 
+$as_echo "no" >&6; }
120615
 
+fi
120616
 
+
120617
 
+
120618
 
+        test -n "$localedir" || localedir='${datadir}/locale'
120619
 
+  
120620
 
+
120621
 
+    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
120622
 
+  
120623
 
+
120624
 
+  ac_config_commands="$ac_config_commands po-directories"
120625
 
+
120626
 
+
120627
 
+
120628
 
+    
120629
 
+  
120630
 
+  
120631
 
+  
120632
 
+  
120633
 
+  
120634
 
+  
120635
 
+  
120636
 
+
120637
 
+  
120638
 
+  
120639
 
+
120640
 
+
120641
 
+    
120642
 
+
120643
 
+    
120644
 
+  
120645
 
+
120646
 
+                        
120647
 
+    
120648
 
+  
120649
 
+
120650
 
+    
120651
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
120652
 
+$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
120653
 
+if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
120654
 
+  $as_echo_n "(cached) " >&6
120655
 
+else
120656
 
+  gt_save_LIBS="$LIBS"
120657
 
+     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
120658
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
120659
 
+/* end confdefs.h.  */
120660
 
+#include <CoreFoundation/CFPreferences.h>
120661
 
+int
120662
 
+main ()
120663
 
+{
120664
 
+CFPreferencesCopyAppValue(NULL, NULL)
120665
 
+  ;
120666
 
+  return 0;
120667
 
+}
120668
 
+_ACEOF
120669
 
+if ac_fn_c_try_link "$LINENO"; then :
120670
 
+  gt_cv_func_CFPreferencesCopyAppValue=yes
120671
 
+else
120672
 
+  gt_cv_func_CFPreferencesCopyAppValue=no
120673
 
+fi
120674
 
+rm -f core conftest.err conftest.$ac_objext \
120675
 
+    conftest$ac_exeext conftest.$ac_ext
120676
 
+     LIBS="$gt_save_LIBS"
120677
 
+fi
120678
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
120679
 
+$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
120680
 
+  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
120681
 
+    
120682
 
+$as_echo "@%:@define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
120683
 
+
120684
 
+  fi
120685
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
120686
 
+$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
120687
 
+if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
120688
 
+  $as_echo_n "(cached) " >&6
120689
 
+else
120690
 
+  gt_save_LIBS="$LIBS"
120691
 
+     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
120692
 
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
120693
 
+/* end confdefs.h.  */
120694
 
+#include <CoreFoundation/CFLocale.h>
120695
 
+int
120696
 
+main ()
120697
 
+{
120698
 
+CFLocaleCopyCurrent();
120699
 
+  ;
120700
 
+  return 0;
120701
 
+}
120702
 
+_ACEOF
120703
 
+if ac_fn_c_try_link "$LINENO"; then :
120704
 
+  gt_cv_func_CFLocaleCopyCurrent=yes
120705
 
+else
120706
 
+  gt_cv_func_CFLocaleCopyCurrent=no
120707
 
+fi
120708
 
+rm -f core conftest.err conftest.$ac_objext \
120709
 
+    conftest$ac_exeext conftest.$ac_ext
120710
 
+     LIBS="$gt_save_LIBS"
120711
 
+fi
120712
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
120713
 
+$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
120714
 
+  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
120715
 
+    
120716
 
+$as_echo "@%:@define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
120717
 
+
120718
 
+  fi
120719
 
+  INTL_MACOSX_LIBS=
120720
 
+  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
120721
 
+    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
120722
 
+  fi
120723
 
+  
120724
 
+
120725
 
+
120726
 
+    
120727
 
+
120728
 
+  
120729
 
+  LIBINTL=
120730
 
+  LTLIBINTL=
120731
 
+  POSUB=
120732
 
+
120733
 
+    case " $gt_needs " in
120734
 
+    *" need-formatstring-macros "*) gt_api_version=3 ;;
120735
 
+    *" need-ngettext "*) gt_api_version=2 ;;
120736
 
+    *) gt_api_version=1 ;;
120737
 
+  esac
120738
 
+  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
120739
 
+  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
120740
 
+
120741
 
+    if test "$USE_NLS" = "yes"; then
120742
 
+    gt_use_preinstalled_gnugettext=no
120743
 
+    
120744
 
+                        
120745
 
+        if test $gt_api_version -ge 3; then
120746
 
+          gt_revision_test_code='
120747
 
+#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
120748
 
+#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
120749
 
+#endif
120750
 
+typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
120751
 
+'
120752
 
+        else
120753
 
+          gt_revision_test_code=
120754
 
+        fi
120755
 
+        if test $gt_api_version -ge 2; then
120756
 
+          gt_expression_test_code=' + * ngettext ("", "", 0)'
120757
 
+        else
120758
 
+          gt_expression_test_code=
120759
 
+        fi
120760
 
+
120761
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
120762
 
+$as_echo_n "checking for GNU gettext in libc... " >&6; }
120763
 
+if eval \${$gt_func_gnugettext_libc+:} false; then :
120764
 
+  $as_echo_n "(cached) " >&6
120765
 
+else
120766
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
120767
 
+/* end confdefs.h.  */
120768
 
+
120769
 
+#include <libintl.h>
120770
 
+$gt_revision_test_code
120771
 
+extern int _nl_msg_cat_cntr;
120772
 
+extern int *_nl_domain_bindings;
120773
 
+               
120774
 
+int
120775
 
+main ()
120776
 
+{
120777
 
+
120778
 
+bindtextdomain ("", "");
120779
 
+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
120780
 
+               
120781
 
+  ;
120782
 
+  return 0;
120783
 
+}
120784
 
+_ACEOF
120785
 
+if ac_fn_c_try_link "$LINENO"; then :
120786
 
+  eval "$gt_func_gnugettext_libc=yes"
120787
 
+else
120788
 
+  eval "$gt_func_gnugettext_libc=no"
120789
 
+fi
120790
 
+rm -f core conftest.err conftest.$ac_objext \
120791
 
+    conftest$ac_exeext conftest.$ac_ext
120792
 
+fi
120793
 
+eval ac_res=\$$gt_func_gnugettext_libc
120794
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
120795
 
+$as_echo "$ac_res" >&6; }
120796
 
+
120797
 
+        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
120798
 
+                    
120799
 
+            
120800
 
+       
120801
 
+      
120802
 
+
120803
 
+          am_save_CPPFLAGS="$CPPFLAGS"
120804
 
+  
120805
 
+  for element in $INCICONV; do
120806
 
+    haveit=
120807
 
+    for x in $CPPFLAGS; do
120808
 
+      
120809
 
+  acl_save_prefix="$prefix"
120810
 
+  prefix="$acl_final_prefix"
120811
 
+  acl_save_exec_prefix="$exec_prefix"
120812
 
+  exec_prefix="$acl_final_exec_prefix"
120813
 
+  eval x=\"$x\"
120814
 
+  exec_prefix="$acl_save_exec_prefix"
120815
 
+  prefix="$acl_save_prefix"
120816
 
+
120817
 
+      if test "X$x" = "X$element"; then
120818
 
+        haveit=yes
120819
 
+        break
120820
 
+      fi
120821
 
+    done
120822
 
+    if test -z "$haveit"; then
120823
 
+      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
120824
 
+    fi
120825
 
+  done
120826
 
+
120827
 
+
120828
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
120829
 
+$as_echo_n "checking for iconv... " >&6; }
120830
 
+if ${am_cv_func_iconv+:} false; then :
120831
 
+  $as_echo_n "(cached) " >&6
120832
 
+else
120833
 
+  
120834
 
+    am_cv_func_iconv="no, consider installing GNU libiconv"
120835
 
+    am_cv_lib_iconv=no
120836
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
120837
 
+/* end confdefs.h.  */
120838
 
+
120839
 
+#include <stdlib.h>
120840
 
+#include <iconv.h>
120841
 
+         
120842
 
+int
120843
 
+main ()
120844
 
+{
120845
 
+iconv_t cd = iconv_open("","");
120846
 
+           iconv(cd,NULL,NULL,NULL,NULL);
120847
 
+           iconv_close(cd);
120848
 
+  ;
120849
 
+  return 0;
120850
 
+}
120851
 
+_ACEOF
120852
 
+if ac_fn_c_try_link "$LINENO"; then :
120853
 
+  am_cv_func_iconv=yes
120854
 
+fi
120855
 
+rm -f core conftest.err conftest.$ac_objext \
120856
 
+    conftest$ac_exeext conftest.$ac_ext
120857
 
+    if test "$am_cv_func_iconv" != yes; then
120858
 
+      am_save_LIBS="$LIBS"
120859
 
+      LIBS="$LIBS $LIBICONV"
120860
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
120861
 
+/* end confdefs.h.  */
120862
 
+
120863
 
+#include <stdlib.h>
120864
 
+#include <iconv.h>
120865
 
+           
120866
 
+int
120867
 
+main ()
120868
 
+{
120869
 
+iconv_t cd = iconv_open("","");
120870
 
+             iconv(cd,NULL,NULL,NULL,NULL);
120871
 
+             iconv_close(cd);
120872
 
+  ;
120873
 
+  return 0;
120874
 
+}
120875
 
+_ACEOF
120876
 
+if ac_fn_c_try_link "$LINENO"; then :
120877
 
+  am_cv_lib_iconv=yes
120878
 
+        am_cv_func_iconv=yes
120879
 
+fi
120880
 
+rm -f core conftest.err conftest.$ac_objext \
120881
 
+    conftest$ac_exeext conftest.$ac_ext
120882
 
+      LIBS="$am_save_LIBS"
120883
 
+    fi
120884
 
+  
120885
 
+fi
120886
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
120887
 
+$as_echo "$am_cv_func_iconv" >&6; }
120888
 
+  if test "$am_cv_func_iconv" = yes; then
120889
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
120890
 
+$as_echo_n "checking for working iconv... " >&6; }
120891
 
+if ${am_cv_func_iconv_works+:} false; then :
120892
 
+  $as_echo_n "(cached) " >&6
120893
 
+else
120894
 
+  
120895
 
+                  am_save_LIBS="$LIBS"
120896
 
+      if test $am_cv_lib_iconv = yes; then
120897
 
+        LIBS="$LIBS $LIBICONV"
120898
 
+      fi
120899
 
+      if test "$cross_compiling" = yes; then :
120900
 
+  
120901
 
+         case "$host_os" in
120902
 
+           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
120903
 
+           *)            am_cv_func_iconv_works="guessing yes" ;;
120904
 
+         esac
120905
 
+        
120906
 
+else
120907
 
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
120908
 
+/* end confdefs.h.  */
120909
 
+
120910
 
+#include <iconv.h>
120911
 
+#include <string.h>
120912
 
+int main ()
120913
 
+{
120914
 
+  int result = 0;
120915
 
+  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
120916
 
+     returns.  */
120917
 
+  {
120918
 
+    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
120919
 
+    if (cd_utf8_to_88591 != (iconv_t)(-1))
120920
 
+      {
120921
 
+        static const char input[] = "\342\202\254"; /* EURO SIGN */
120922
 
+        char buf[10];
120923
 
+        const char *inptr = input;
120924
 
+        size_t inbytesleft = strlen (input);
120925
 
+        char *outptr = buf;
120926
 
+        size_t outbytesleft = sizeof (buf);
120927
 
+        size_t res = iconv (cd_utf8_to_88591,
120928
 
+                            (char **) &inptr, &inbytesleft,
120929
 
+                            &outptr, &outbytesleft);
120930
 
+        if (res == 0)
120931
 
+          result |= 1;
120932
 
+        iconv_close (cd_utf8_to_88591);
120933
 
+      }
120934
 
+  }
120935
 
+  /* Test against Solaris 10 bug: Failures are not distinguishable from
120936
 
+     successful returns.  */
120937
 
+  {
120938
 
+    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
120939
 
+    if (cd_ascii_to_88591 != (iconv_t)(-1))
120940
 
+      {
120941
 
+        static const char input[] = "\263";
120942
 
+        char buf[10];
120943
 
+        const char *inptr = input;
120944
 
+        size_t inbytesleft = strlen (input);
120945
 
+        char *outptr = buf;
120946
 
+        size_t outbytesleft = sizeof (buf);
120947
 
+        size_t res = iconv (cd_ascii_to_88591,
120948
 
+                            (char **) &inptr, &inbytesleft,
120949
 
+                            &outptr, &outbytesleft);
120950
 
+        if (res == 0)
120951
 
+          result |= 2;
120952
 
+        iconv_close (cd_ascii_to_88591);
120953
 
+      }
120954
 
+  }
120955
 
+  /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
120956
 
+  {
120957
 
+    iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
120958
 
+    if (cd_88591_to_utf8 != (iconv_t)(-1))
120959
 
+      {
120960
 
+        static const char input[] = "\304";
120961
 
+        static char buf[2] = { (char)0xDE, (char)0xAD };
120962
 
+        const char *inptr = input;
120963
 
+        size_t inbytesleft = 1;
120964
 
+        char *outptr = buf;
120965
 
+        size_t outbytesleft = 1;
120966
 
+        size_t res = iconv (cd_88591_to_utf8,
120967
 
+                            (char **) &inptr, &inbytesleft,
120968
 
+                            &outptr, &outbytesleft);
120969
 
+        if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
120970
 
+          result |= 4;
120971
 
+        iconv_close (cd_88591_to_utf8);
120972
 
+      }
120973
 
+  }
120974
 
+#if 0 /* This bug could be worked around by the caller.  */
120975
 
+  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
120976
 
+  {
120977
 
+    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
120978
 
+    if (cd_88591_to_utf8 != (iconv_t)(-1))
120979
 
+      {
120980
 
+        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
120981
 
+        char buf[50];
120982
 
+        const char *inptr = input;
120983
 
+        size_t inbytesleft = strlen (input);
120984
 
+        char *outptr = buf;
120985
 
+        size_t outbytesleft = sizeof (buf);
120986
 
+        size_t res = iconv (cd_88591_to_utf8,
120987
 
+                            (char **) &inptr, &inbytesleft,
120988
 
+                            &outptr, &outbytesleft);
120989
 
+        if ((int)res > 0)
120990
 
+          result |= 8;
120991
 
+        iconv_close (cd_88591_to_utf8);
120992
 
+      }
120993
 
+  }
120994
 
+#endif
120995
 
+  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
120996
 
+     provided.  */
120997
 
+  if (/* Try standardized names.  */
120998
 
+      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
120999
 
+      /* Try IRIX, OSF/1 names.  */
121000
 
+      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
121001
 
+      /* Try AIX names.  */
121002
 
+      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
121003
 
+      /* Try HP-UX names.  */
121004
 
+      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
121005
 
+    result |= 16;
121006
 
+  return result;
121007
 
+}
121008
 
+_ACEOF
121009
 
+if ac_fn_c_try_run "$LINENO"; then :
121010
 
+  am_cv_func_iconv_works=yes
121011
 
+else
121012
 
+  am_cv_func_iconv_works=no
121013
 
+fi
121014
 
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
121015
 
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
121016
 
+fi
121017
 
+
121018
 
+      LIBS="$am_save_LIBS"
121019
 
+    
121020
 
+fi
121021
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
121022
 
+$as_echo "$am_cv_func_iconv_works" >&6; }
121023
 
+    case "$am_cv_func_iconv_works" in
121024
 
+      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
121025
 
+      *)   am_func_iconv=yes ;;
121026
 
+    esac
121027
 
+  else
121028
 
+    am_func_iconv=no am_cv_lib_iconv=no
121029
 
+  fi
121030
 
+  if test "$am_func_iconv" = yes; then
121031
 
+    
121032
 
+$as_echo "@%:@define HAVE_ICONV 1" >>confdefs.h
121033
 
+
121034
 
+  fi
121035
 
+  if test "$am_cv_lib_iconv" = yes; then
121036
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
121037
 
+$as_echo_n "checking how to link with libiconv... " >&6; }
121038
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
121039
 
+$as_echo "$LIBICONV" >&6; }
121040
 
+  else
121041
 
+            CPPFLAGS="$am_save_CPPFLAGS"
121042
 
+    LIBICONV=
121043
 
+    LTLIBICONV=
121044
 
+  fi
121045
 
+  
121046
 
+  
121047
 
+
121048
 
+          
121049
 
+                                                  
121050
 
+  
121051
 
+  
121052
 
+  
121053
 
+  
121054
 
+  
121055
 
+    
121056
 
+    use_additional=yes
121057
 
+  
121058
 
+  acl_save_prefix="$prefix"
121059
 
+  prefix="$acl_final_prefix"
121060
 
+  acl_save_exec_prefix="$exec_prefix"
121061
 
+  exec_prefix="$acl_final_exec_prefix"
121062
 
+  
121063
 
+    eval additional_includedir=\"$includedir\"
121064
 
+    eval additional_libdir=\"$libdir\"
121065
 
+  
121066
 
+  exec_prefix="$acl_save_exec_prefix"
121067
 
+  prefix="$acl_save_prefix"
121068
 
+
121069
 
+  
121070
 
+@%:@ Check whether --with-libintl-prefix was given.
121071
 
+if test "${with_libintl_prefix+set}" = set; then :
121072
 
+  withval=$with_libintl_prefix; 
121073
 
+    if test "X$withval" = "Xno"; then
121074
 
+      use_additional=no
121075
 
+    else
121076
 
+      if test "X$withval" = "X"; then
121077
 
+        
121078
 
+  acl_save_prefix="$prefix"
121079
 
+  prefix="$acl_final_prefix"
121080
 
+  acl_save_exec_prefix="$exec_prefix"
121081
 
+  exec_prefix="$acl_final_exec_prefix"
121082
 
+  
121083
 
+          eval additional_includedir=\"$includedir\"
121084
 
+          eval additional_libdir=\"$libdir\"
121085
 
+        
121086
 
+  exec_prefix="$acl_save_exec_prefix"
121087
 
+  prefix="$acl_save_prefix"
121088
 
+
121089
 
+      else
121090
 
+        additional_includedir="$withval/include"
121091
 
+        additional_libdir="$withval/$acl_libdirstem"
121092
 
+        if test "$acl_libdirstem2" != "$acl_libdirstem" \
121093
 
+           && ! test -d "$withval/$acl_libdirstem"; then
121094
 
+          additional_libdir="$withval/$acl_libdirstem2"
121095
 
+        fi
121096
 
+      fi
121097
 
+    fi
121098
 
+
121099
 
+fi
121100
 
+
121101
 
+      LIBINTL=
121102
 
+  LTLIBINTL=
121103
 
+  INCINTL=
121104
 
+  LIBINTL_PREFIX=
121105
 
+      HAVE_LIBINTL=
121106
 
+  rpathdirs=
121107
 
+  ltrpathdirs=
121108
 
+  names_already_handled=
121109
 
+  names_next_round='intl '
121110
 
+  while test -n "$names_next_round"; do
121111
 
+    names_this_round="$names_next_round"
121112
 
+    names_next_round=
121113
 
+    for name in $names_this_round; do
121114
 
+      already_handled=
121115
 
+      for n in $names_already_handled; do
121116
 
+        if test "$n" = "$name"; then
121117
 
+          already_handled=yes
121118
 
+          break
121119
 
+        fi
121120
 
+      done
121121
 
+      if test -z "$already_handled"; then
121122
 
+        names_already_handled="$names_already_handled $name"
121123
 
+                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
121124
 
+        eval value=\"\$HAVE_LIB$uppername\"
121125
 
+        if test -n "$value"; then
121126
 
+          if test "$value" = yes; then
121127
 
+            eval value=\"\$LIB$uppername\"
121128
 
+            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
121129
 
+            eval value=\"\$LTLIB$uppername\"
121130
 
+            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
121131
 
+          else
121132
 
+                                    :
121133
 
+          fi
121134
 
+        else
121135
 
+                              found_dir=
121136
 
+          found_la=
121137
 
+          found_so=
121138
 
+          found_a=
121139
 
+          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
121140
 
+          if test -n "$acl_shlibext"; then
121141
 
+            shrext=".$acl_shlibext"             # typically: shrext=.so
121142
 
+          else
121143
 
+            shrext=
121144
 
+          fi
121145
 
+          if test $use_additional = yes; then
121146
 
+            dir="$additional_libdir"
121147
 
+                                    if test -n "$acl_shlibext"; then
121148
 
+              if test -f "$dir/$libname$shrext"; then
121149
 
+                found_dir="$dir"
121150
 
+                found_so="$dir/$libname$shrext"
121151
 
+              else
121152
 
+                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
121153
 
+                  ver=`(cd "$dir" && \
121154
 
+                        for f in "$libname$shrext".*; do echo "$f"; done \
121155
 
+                        | sed -e "s,^$libname$shrext\\\\.,," \
121156
 
+                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
121157
 
+                        | sed 1q ) 2>/dev/null`
121158
 
+                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
121159
 
+                    found_dir="$dir"
121160
 
+                    found_so="$dir/$libname$shrext.$ver"
121161
 
+                  fi
121162
 
+                else
121163
 
+                  eval library_names=\"$acl_library_names_spec\"
121164
 
+                  for f in $library_names; do
121165
 
+                    if test -f "$dir/$f"; then
121166
 
+                      found_dir="$dir"
121167
 
+                      found_so="$dir/$f"
121168
 
+                      break
121169
 
+                    fi
121170
 
+                  done
121171
 
+                fi
121172
 
+              fi
121173
 
+            fi
121174
 
+                        if test "X$found_dir" = "X"; then
121175
 
+              if test -f "$dir/$libname.$acl_libext"; then
121176
 
+                found_dir="$dir"
121177
 
+                found_a="$dir/$libname.$acl_libext"
121178
 
+              fi
121179
 
+            fi
121180
 
+            if test "X$found_dir" != "X"; then
121181
 
+              if test -f "$dir/$libname.la"; then
121182
 
+                found_la="$dir/$libname.la"
121183
 
+              fi
121184
 
+            fi
121185
 
+          fi
121186
 
+          if test "X$found_dir" = "X"; then
121187
 
+            for x in $LDFLAGS $LTLIBINTL; do
121188
 
+              
121189
 
+  acl_save_prefix="$prefix"
121190
 
+  prefix="$acl_final_prefix"
121191
 
+  acl_save_exec_prefix="$exec_prefix"
121192
 
+  exec_prefix="$acl_final_exec_prefix"
121193
 
+  eval x=\"$x\"
121194
 
+  exec_prefix="$acl_save_exec_prefix"
121195
 
+  prefix="$acl_save_prefix"
121196
 
+
121197
 
+              case "$x" in
121198
 
+                -L*)
121199
 
+                  dir=`echo "X$x" | sed -e 's/^X-L//'`
121200
 
+                                    if test -n "$acl_shlibext"; then
121201
 
+                    if test -f "$dir/$libname$shrext"; then
121202
 
+                      found_dir="$dir"
121203
 
+                      found_so="$dir/$libname$shrext"
121204
 
+                    else
121205
 
+                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
121206
 
+                        ver=`(cd "$dir" && \
121207
 
+                              for f in "$libname$shrext".*; do echo "$f"; done \
121208
 
+                              | sed -e "s,^$libname$shrext\\\\.,," \
121209
 
+                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
121210
 
+                              | sed 1q ) 2>/dev/null`
121211
 
+                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
121212
 
+                          found_dir="$dir"
121213
 
+                          found_so="$dir/$libname$shrext.$ver"
121214
 
+                        fi
121215
 
+                      else
121216
 
+                        eval library_names=\"$acl_library_names_spec\"
121217
 
+                        for f in $library_names; do
121218
 
+                          if test -f "$dir/$f"; then
121219
 
+                            found_dir="$dir"
121220
 
+                            found_so="$dir/$f"
121221
 
+                            break
121222
 
+                          fi
121223
 
+                        done
121224
 
+                      fi
121225
 
+                    fi
121226
 
+                  fi
121227
 
+                                    if test "X$found_dir" = "X"; then
121228
 
+                    if test -f "$dir/$libname.$acl_libext"; then
121229
 
+                      found_dir="$dir"
121230
 
+                      found_a="$dir/$libname.$acl_libext"
121231
 
+                    fi
121232
 
+                  fi
121233
 
+                  if test "X$found_dir" != "X"; then
121234
 
+                    if test -f "$dir/$libname.la"; then
121235
 
+                      found_la="$dir/$libname.la"
121236
 
+                    fi
121237
 
+                  fi
121238
 
+                  ;;
121239
 
+              esac
121240
 
+              if test "X$found_dir" != "X"; then
121241
 
+                break
121242
 
+              fi
121243
 
+            done
121244
 
+          fi
121245
 
+          if test "X$found_dir" != "X"; then
121246
 
+                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
121247
 
+            if test "X$found_so" != "X"; then
121248
 
+                                                        if test "$enable_rpath" = no \
121249
 
+                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
121250
 
+                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
121251
 
+                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
121252
 
+              else
121253
 
+                                                                                haveit=
121254
 
+                for x in $ltrpathdirs; do
121255
 
+                  if test "X$x" = "X$found_dir"; then
121256
 
+                    haveit=yes
121257
 
+                    break
121258
 
+                  fi
121259
 
+                done
121260
 
+                if test -z "$haveit"; then
121261
 
+                  ltrpathdirs="$ltrpathdirs $found_dir"
121262
 
+                fi
121263
 
+                                if test "$acl_hardcode_direct" = yes; then
121264
 
+                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
121265
 
+                else
121266
 
+                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
121267
 
+                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
121268
 
+                                                            haveit=
121269
 
+                    for x in $rpathdirs; do
121270
 
+                      if test "X$x" = "X$found_dir"; then
121271
 
+                        haveit=yes
121272
 
+                        break
121273
 
+                      fi
121274
 
+                    done
121275
 
+                    if test -z "$haveit"; then
121276
 
+                      rpathdirs="$rpathdirs $found_dir"
121277
 
+                    fi
121278
 
+                  else
121279
 
+                                                                                haveit=
121280
 
+                    for x in $LDFLAGS $LIBINTL; do
121281
 
+                      
121282
 
+  acl_save_prefix="$prefix"
121283
 
+  prefix="$acl_final_prefix"
121284
 
+  acl_save_exec_prefix="$exec_prefix"
121285
 
+  exec_prefix="$acl_final_exec_prefix"
121286
 
+  eval x=\"$x\"
121287
 
+  exec_prefix="$acl_save_exec_prefix"
121288
 
+  prefix="$acl_save_prefix"
121289
 
+
121290
 
+                      if test "X$x" = "X-L$found_dir"; then
121291
 
+                        haveit=yes
121292
 
+                        break
121293
 
+                      fi
121294
 
+                    done
121295
 
+                    if test -z "$haveit"; then
121296
 
+                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
121297
 
+                    fi
121298
 
+                    if test "$acl_hardcode_minus_L" != no; then
121299
 
+                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
121300
 
+                    else
121301
 
+                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
121302
 
+                    fi
121303
 
+                  fi
121304
 
+                fi
121305
 
+              fi
121306
 
+            else
121307
 
+              if test "X$found_a" != "X"; then
121308
 
+                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
121309
 
+              else
121310
 
+                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
121311
 
+              fi
121312
 
+            fi
121313
 
+                        additional_includedir=
121314
 
+            case "$found_dir" in
121315
 
+              */$acl_libdirstem | */$acl_libdirstem/)
121316
 
+                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
121317
 
+                if test "$name" = 'intl'; then
121318
 
+                  LIBINTL_PREFIX="$basedir"
121319
 
+                fi
121320
 
+                additional_includedir="$basedir/include"
121321
 
+                ;;
121322
 
+              */$acl_libdirstem2 | */$acl_libdirstem2/)
121323
 
+                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
121324
 
+                if test "$name" = 'intl'; then
121325
 
+                  LIBINTL_PREFIX="$basedir"
121326
 
+                fi
121327
 
+                additional_includedir="$basedir/include"
121328
 
+                ;;
121329
 
+            esac
121330
 
+            if test "X$additional_includedir" != "X"; then
121331
 
+                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
121332
 
+                haveit=
121333
 
+                if test "X$additional_includedir" = "X/usr/local/include"; then
121334
 
+                  if test -n "$GCC"; then
121335
 
+                    case $host_os in
121336
 
+                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
121337
 
+                    esac
121338
 
+                  fi
121339
 
+                fi
121340
 
+                if test -z "$haveit"; then
121341
 
+                  for x in $CPPFLAGS $INCINTL; do
121342
 
+                    
121343
 
+  acl_save_prefix="$prefix"
121344
 
+  prefix="$acl_final_prefix"
121345
 
+  acl_save_exec_prefix="$exec_prefix"
121346
 
+  exec_prefix="$acl_final_exec_prefix"
121347
 
+  eval x=\"$x\"
121348
 
+  exec_prefix="$acl_save_exec_prefix"
121349
 
+  prefix="$acl_save_prefix"
121350
 
+
121351
 
+                    if test "X$x" = "X-I$additional_includedir"; then
121352
 
+                      haveit=yes
121353
 
+                      break
121354
 
+                    fi
121355
 
+                  done
121356
 
+                  if test -z "$haveit"; then
121357
 
+                    if test -d "$additional_includedir"; then
121358
 
+                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
121359
 
+                    fi
121360
 
+                  fi
121361
 
+                fi
121362
 
+              fi
121363
 
+            fi
121364
 
+                        if test -n "$found_la"; then
121365
 
+                                                        save_libdir="$libdir"
121366
 
+              case "$found_la" in
121367
 
+                */* | *\\*) . "$found_la" ;;
121368
 
+                *) . "./$found_la" ;;
121369
 
+              esac
121370
 
+              libdir="$save_libdir"
121371
 
+                            for dep in $dependency_libs; do
121372
 
+                case "$dep" in
121373
 
+                  -L*)
121374
 
+                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
121375
 
+                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
121376
 
+                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
121377
 
+                      haveit=
121378
 
+                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
121379
 
+                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
121380
 
+                        if test -n "$GCC"; then
121381
 
+                          case $host_os in
121382
 
+                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
121383
 
+                          esac
121384
 
+                        fi
121385
 
+                      fi
121386
 
+                      if test -z "$haveit"; then
121387
 
+                        haveit=
121388
 
+                        for x in $LDFLAGS $LIBINTL; do
121389
 
+                          
121390
 
+  acl_save_prefix="$prefix"
121391
 
+  prefix="$acl_final_prefix"
121392
 
+  acl_save_exec_prefix="$exec_prefix"
121393
 
+  exec_prefix="$acl_final_exec_prefix"
121394
 
+  eval x=\"$x\"
121395
 
+  exec_prefix="$acl_save_exec_prefix"
121396
 
+  prefix="$acl_save_prefix"
121397
 
+
121398
 
+                          if test "X$x" = "X-L$additional_libdir"; then
121399
 
+                            haveit=yes
121400
 
+                            break
121401
 
+                          fi
121402
 
+                        done
121403
 
+                        if test -z "$haveit"; then
121404
 
+                          if test -d "$additional_libdir"; then
121405
 
+                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
121406
 
+                          fi
121407
 
+                        fi
121408
 
+                        haveit=
121409
 
+                        for x in $LDFLAGS $LTLIBINTL; do
121410
 
+                          
121411
 
+  acl_save_prefix="$prefix"
121412
 
+  prefix="$acl_final_prefix"
121413
 
+  acl_save_exec_prefix="$exec_prefix"
121414
 
+  exec_prefix="$acl_final_exec_prefix"
121415
 
+  eval x=\"$x\"
121416
 
+  exec_prefix="$acl_save_exec_prefix"
121417
 
+  prefix="$acl_save_prefix"
121418
 
+
121419
 
+                          if test "X$x" = "X-L$additional_libdir"; then
121420
 
+                            haveit=yes
121421
 
+                            break
121422
 
+                          fi
121423
 
+                        done
121424
 
+                        if test -z "$haveit"; then
121425
 
+                          if test -d "$additional_libdir"; then
121426
 
+                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
121427
 
+                          fi
121428
 
+                        fi
121429
 
+                      fi
121430
 
+                    fi
121431
 
+                    ;;
121432
 
+                  -R*)
121433
 
+                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
121434
 
+                    if test "$enable_rpath" != no; then
121435
 
+                                                                  haveit=
121436
 
+                      for x in $rpathdirs; do
121437
 
+                        if test "X$x" = "X$dir"; then
121438
 
+                          haveit=yes
121439
 
+                          break
121440
 
+                        fi
121441
 
+                      done
121442
 
+                      if test -z "$haveit"; then
121443
 
+                        rpathdirs="$rpathdirs $dir"
121444
 
+                      fi
121445
 
+                                                                  haveit=
121446
 
+                      for x in $ltrpathdirs; do
121447
 
+                        if test "X$x" = "X$dir"; then
121448
 
+                          haveit=yes
121449
 
+                          break
121450
 
+                        fi
121451
 
+                      done
121452
 
+                      if test -z "$haveit"; then
121453
 
+                        ltrpathdirs="$ltrpathdirs $dir"
121454
 
+                      fi
121455
 
+                    fi
121456
 
+                    ;;
121457
 
+                  -l*)
121458
 
+                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
121459
 
+                    ;;
121460
 
+                  *.la)
121461
 
+                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
121462
 
+                    ;;
121463
 
+                  *)
121464
 
+                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
121465
 
+                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
121466
 
+                    ;;
121467
 
+                esac
121468
 
+              done
121469
 
+            fi
121470
 
+          else
121471
 
+                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
121472
 
+            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
121473
 
+          fi
121474
 
+        fi
121475
 
+      fi
121476
 
+    done
121477
 
+  done
121478
 
+  if test "X$rpathdirs" != "X"; then
121479
 
+    if test -n "$acl_hardcode_libdir_separator"; then
121480
 
+                        alldirs=
121481
 
+      for found_dir in $rpathdirs; do
121482
 
+        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
121483
 
+      done
121484
 
+            acl_save_libdir="$libdir"
121485
 
+      libdir="$alldirs"
121486
 
+      eval flag=\"$acl_hardcode_libdir_flag_spec\"
121487
 
+      libdir="$acl_save_libdir"
121488
 
+      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
121489
 
+    else
121490
 
+            for found_dir in $rpathdirs; do
121491
 
+        acl_save_libdir="$libdir"
121492
 
+        libdir="$found_dir"
121493
 
+        eval flag=\"$acl_hardcode_libdir_flag_spec\"
121494
 
+        libdir="$acl_save_libdir"
121495
 
+        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
121496
 
+      done
121497
 
+    fi
121498
 
+  fi
121499
 
+  if test "X$ltrpathdirs" != "X"; then
121500
 
+            for found_dir in $ltrpathdirs; do
121501
 
+      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
121502
 
+    done
121503
 
+  fi
121504
 
+  
121505
 
+  
121506
 
+  
121507
 
+  
121508
 
+  
121509
 
+
121510
 
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
121511
 
+$as_echo_n "checking for GNU gettext in libintl... " >&6; }
121512
 
+if eval \${$gt_func_gnugettext_libintl+:} false; then :
121513
 
+  $as_echo_n "(cached) " >&6
121514
 
+else
121515
 
+  gt_save_CPPFLAGS="$CPPFLAGS"
121516
 
+            CPPFLAGS="$CPPFLAGS $INCINTL"
121517
 
+            gt_save_LIBS="$LIBS"
121518
 
+            LIBS="$LIBS $LIBINTL"
121519
 
+                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
121520
 
+/* end confdefs.h.  */
121521
 
+
121522
 
+#include <libintl.h>
121523
 
+$gt_revision_test_code
121524
 
+extern int _nl_msg_cat_cntr;
121525
 
+extern
121526
 
+#ifdef __cplusplus
121527
 
+"C"
121528
 
+#endif
121529
 
+const char *_nl_expand_alias (const char *);
121530
 
+                 
121531
 
+int
121532
 
+main ()
121533
 
+{
121534
 
+
121535
 
+bindtextdomain ("", "");
121536
 
+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
121537
 
+                 
121538
 
+  ;
121539
 
+  return 0;
121540
 
+}
121541
 
+_ACEOF
121542
 
+if ac_fn_c_try_link "$LINENO"; then :
121543
 
+  eval "$gt_func_gnugettext_libintl=yes"
121544
 
+else
121545
 
+  eval "$gt_func_gnugettext_libintl=no"
121546
 
+fi
121547
 
+rm -f core conftest.err conftest.$ac_objext \
121548
 
+    conftest$ac_exeext conftest.$ac_ext
121549
 
+                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
121550
 
+              LIBS="$LIBS $LIBICONV"
121551
 
+              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
121552
 
+/* end confdefs.h.  */
121553
 
+
121554
 
+#include <libintl.h>
121555
 
+$gt_revision_test_code
121556
 
+extern int _nl_msg_cat_cntr;
121557
 
+extern
121558
 
+#ifdef __cplusplus
121559
 
+"C"
121560
 
+#endif
121561
 
+const char *_nl_expand_alias (const char *);
121562
 
+                   
121563
 
+int
121564
 
+main ()
121565
 
+{
121566
 
+
121567
 
+bindtextdomain ("", "");
121568
 
+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
121569
 
+                   
121570
 
+  ;
121571
 
+  return 0;
121572
 
+}
121573
 
+_ACEOF
121574
 
+if ac_fn_c_try_link "$LINENO"; then :
121575
 
+  LIBINTL="$LIBINTL $LIBICONV"
121576
 
+                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
121577
 
+                 eval "$gt_func_gnugettext_libintl=yes"
121578
 
+                
121579
 
+fi
121580
 
+rm -f core conftest.err conftest.$ac_objext \
121581
 
+    conftest$ac_exeext conftest.$ac_ext
121582
 
+            fi
121583
 
+            CPPFLAGS="$gt_save_CPPFLAGS"
121584
 
+            LIBS="$gt_save_LIBS"
121585
 
+fi
121586
 
+eval ac_res=\$$gt_func_gnugettext_libintl
121587
 
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
121588
 
+$as_echo "$ac_res" >&6; }
121589
 
+        fi
121590
 
+
121591
 
+                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
121592
 
+           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
121593
 
+                && test "$PACKAGE" != gettext-runtime \
121594
 
+                && test "$PACKAGE" != gettext-tools; }; then
121595
 
+          gt_use_preinstalled_gnugettext=yes
121596
 
+        else
121597
 
+                    LIBINTL=
121598
 
+          LTLIBINTL=
121599
 
+          INCINTL=
121600
 
+        fi
121601
 
+
121602
 
+    
121603
 
+
121604
 
+    if test -n "$INTL_MACOSX_LIBS"; then
121605
 
+      if test "$gt_use_preinstalled_gnugettext" = "yes" \
121606
 
+         || test "$nls_cv_use_gnu_gettext" = "yes"; then
121607
 
+                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
121608
 
+        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
121609
 
+      fi
121610
 
+    fi
121611
 
+
121612
 
+    if test "$gt_use_preinstalled_gnugettext" = "yes" \
121613
 
+       || test "$nls_cv_use_gnu_gettext" = "yes"; then
121614
 
+      
121615
 
+$as_echo "@%:@define ENABLE_NLS 1" >>confdefs.h
121616
 
+
121617
 
+    else
121618
 
+      USE_NLS=no
121619
 
+    fi
121620
 
+  fi
121621
 
+
121622
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
121623
 
+$as_echo_n "checking whether to use NLS... " >&6; }
121624
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
121625
 
+$as_echo "$USE_NLS" >&6; }
121626
 
+  if test "$USE_NLS" = "yes"; then
121627
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
121628
 
+$as_echo_n "checking where the gettext function comes from... " >&6; }
121629
 
+    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
121630
 
+      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
121631
 
+        gt_source="external libintl"
121632
 
+      else
121633
 
+        gt_source="libc"
121634
 
+      fi
121635
 
+    else
121636
 
+      gt_source="included intl directory"
121637
 
+    fi
121638
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
121639
 
+$as_echo "$gt_source" >&6; }
121640
 
+  fi
121641
 
+
121642
 
+  if test "$USE_NLS" = "yes"; then
121643
 
+
121644
 
+    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
121645
 
+      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
121646
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
121647
 
+$as_echo_n "checking how to link with libintl... " >&6; }
121648
 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
121649
 
+$as_echo "$LIBINTL" >&6; }
121650
 
+        
121651
 
+  for element in $INCINTL; do
121652
 
+    haveit=
121653
 
+    for x in $CPPFLAGS; do
121654
 
+      
121655
 
+  acl_save_prefix="$prefix"
121656
 
+  prefix="$acl_final_prefix"
121657
 
+  acl_save_exec_prefix="$exec_prefix"
121658
 
+  exec_prefix="$acl_final_exec_prefix"
121659
 
+  eval x=\"$x\"
121660
 
+  exec_prefix="$acl_save_exec_prefix"
121661
 
+  prefix="$acl_save_prefix"
121662
 
+
121663
 
+      if test "X$x" = "X$element"; then
121664
 
+        haveit=yes
121665
 
+        break
121666
 
+      fi
121667
 
+    done
121668
 
+    if test -z "$haveit"; then
121669
 
+      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
121670
 
+    fi
121671
 
+  done
121672
 
+
121673
 
+      fi
121674
 
+
121675
 
+            
121676
 
+$as_echo "@%:@define HAVE_GETTEXT 1" >>confdefs.h
121677
 
+
121678
 
+      
121679
 
+$as_echo "@%:@define HAVE_DCGETTEXT 1" >>confdefs.h
121680
 
+
121681
 
+    fi
121682
 
+
121683
 
+        POSUB=po
121684
 
+  fi
121685
 
+
121686
 
+  
121687
 
+
121688
 
+    INTLLIBS="$LIBINTL"
121689
 
+  
121690
 
+
121691
 
+    
121692
 
+  
121693
 
+  
121694
 
+
121695
 
+
121696
 
+
121697
 
+# For a test of uniq: it uses the $LOCALE_FR envvar.
121698
 
+
121699
 
+  
121700
 
+  
121701
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
121702
 
+$as_echo_n "checking for a traditional french locale... " >&6; }
121703
 
+if ${gt_cv_locale_fr+:} false; then :
121704
 
+  $as_echo_n "(cached) " >&6
121705
 
+else
121706
 
+  
121707
 
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
121708
 
+/* end confdefs.h.  */
121709
 
+
121710
 
+#include <locale.h>
121711
 
+#include <time.h>
121712
 
+#if HAVE_LANGINFO_CODESET
121713
 
+# include <langinfo.h>
121714
 
+#endif
121715
 
+#include <stdlib.h>
121716
 
+#include <string.h>
121717
 
+struct tm t;
121718
 
+char buf[16];
121719
 
+int main () {
121720
 
+  /* Check whether the given locale name is recognized by the system.  */
121721
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
121722
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
121723
 
+     not at the environment variables.  Also, when an encoding suffix such
121724
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
121725
 
+     category of the locale to "C".  */
121726
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
121727
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
121728
 
+    return 1;
121729
 
+#else
121730
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
121731
 
+#endif
121732
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
121733
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
121734
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
121735
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
121736
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
121737
 
+     some unit tests fail.
121738
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
121739
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
121740
 
+#if HAVE_LANGINFO_CODESET
121741
 
+  {
121742
 
+    const char *cs = nl_langinfo (CODESET);
121743
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
121744
 
+        || strcmp (cs, "UTF-8") == 0)
121745
 
+      return 1;
121746
 
+  }
121747
 
+#endif
121748
 
+#ifdef __CYGWIN__
121749
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
121750
 
+     locale_charset() function relies on the encoding suffix.  Note that
121751
 
+     LC_ALL is set on the command line.  */
121752
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
121753
 
+#endif
121754
 
+  /* Check whether in the abbreviation of the second month, the second
121755
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
121756
 
+     one byte long. This excludes the UTF-8 encoding.  */
121757
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
121758
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
121759
 
+  /* Check whether the decimal separator is a comma.
121760
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
121761
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
121762
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
121763
 
+  return 0;
121764
 
+}
121765
 
+      
121766
 
+_ACEOF
121767
 
+    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
121768
 
+  (eval $ac_link) 2>&5
121769
 
+  ac_status=$?
121770
 
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
121771
 
+  test $ac_status = 0; } && test -s conftest$ac_exeext; then
121772
 
+      case "$host_os" in
121773
 
+        # Handle native Windows specially, because there setlocale() interprets
121774
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
121775
 
+        # "fr" or "fra" as "French" or "French_France.1252",
121776
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
121777
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
121778
 
+        # and similar.
121779
 
+        mingw*)
121780
 
+          # Test for the native Win32 locale name.
121781
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
121782
 
+            gt_cv_locale_fr=French_France.1252
121783
 
+          else
121784
 
+            # None found.
121785
 
+            gt_cv_locale_fr=none
121786
 
+          fi
121787
 
+          ;;
121788
 
+        *)
121789
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
121790
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
121791
 
+          # configure script would override the LC_ALL setting. Likewise for
121792
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
121793
 
+          # Test for the usual locale name.
121794
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
121795
 
+            gt_cv_locale_fr=fr_FR
121796
 
+          else
121797
 
+            # Test for the locale name with explicit encoding suffix.
121798
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
121799
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
121800
 
+            else
121801
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
121802
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
121803
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
121804
 
+              else
121805
 
+                # Test for the HP-UX locale name.
121806
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
121807
 
+                  gt_cv_locale_fr=fr_FR.iso88591
121808
 
+                else
121809
 
+                  # Test for the Solaris 7 locale name.
121810
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
121811
 
+                    gt_cv_locale_fr=fr
121812
 
+                  else
121813
 
+                    # None found.
121814
 
+                    gt_cv_locale_fr=none
121815
 
+                  fi
121816
 
+                fi
121817
 
+              fi
121818
 
+            fi
121819
 
+          fi
121820
 
+          ;;
121821
 
+      esac
121822
 
+    fi
121823
 
+    rm -fr conftest*
121824
 
+  
121825
 
+fi
121826
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
121827
 
+$as_echo "$gt_cv_locale_fr" >&6; }
121828
 
+  LOCALE_FR=$gt_cv_locale_fr
121829
 
+  
121830
 
+
121831
 
+
121832
 
+ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile man/Makefile po/Makefile.in src/Makefile tests/Makefile gnulib-tests/Makefile"
121833
 
+
121834
 
+cat >confcache <<\_ACEOF
121835
 
+# This file is a shell script that caches the results of configure
121836
 
+# tests run on this system so they can be shared between configure
121837
 
+# scripts and configure runs, see configure's option --config-cache.
121838
 
+# It is not useful on other systems.  If it contains results you don't
121839
 
+# want to keep, you may remove or edit it.
121840
 
+#
121841
 
+# config.status only pays attention to the cache file if you give it
121842
 
+# the --recheck option to rerun configure.
121843
 
+#
121844
 
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
121845
 
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
121846
 
+# following values.
121847
 
+
121848
 
+_ACEOF
121849
 
+
121850
 
+# The following way of writing the cache mishandles newlines in values,
121851
 
+# but we know of no workaround that is simple, portable, and efficient.
121852
 
+# So, we kill variables containing newlines.
121853
 
+# Ultrix sh set writes to stderr and can't be redirected directly,
121854
 
+# and sets the high bit in the cache file unless we assign to the vars.
121855
 
+(
121856
 
+  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
121857
 
+    eval ac_val=\$$ac_var
121858
 
+    case $ac_val in #(
121859
 
+    *${as_nl}*)
121860
 
+      case $ac_var in #(
121861
 
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
121862
 
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
121863
 
+      esac
121864
 
+      case $ac_var in #(
121865
 
+      _ | IFS | as_nl) ;; #(
121866
 
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
121867
 
+      *) { eval $ac_var=; unset $ac_var;} ;;
121868
 
+      esac ;;
121869
 
+    esac
121870
 
+  done
121871
 
+
121872
 
+  (set) 2>&1 |
121873
 
+    case $as_nl`(ac_space=' '; set) 2>&1` in #(
121874
 
+    *${as_nl}ac_space=\ *)
121875
 
+      # `set' does not quote correctly, so add quotes: double-quote
121876
 
+      # substitution turns \\\\ into \\, and sed turns \\ into \.
121877
 
+      sed -n \
121878
 
+       "s/'/'\\\\''/g;
121879
 
+         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
121880
 
+      ;; #(
121881
 
+    *)
121882
 
+      # `set' quotes correctly as required by POSIX, so do not add quotes.
121883
 
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
121884
 
+      ;;
121885
 
+    esac |
121886
 
+    sort
121887
 
+) |
121888
 
+  sed '
121889
 
+     /^ac_cv_env_/b end
121890
 
+     t clear
121891
 
+     :clear
121892
 
+     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
121893
 
+     t end
121894
 
+     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
121895
 
+     :end' >>confcache
121896
 
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
121897
 
+  if test -w "$cache_file"; then
121898
 
+    if test "x$cache_file" != "x/dev/null"; then
121899
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
121900
 
+$as_echo "$as_me: updating cache $cache_file" >&6;}
121901
 
+      if test ! -f "$cache_file" || test -h "$cache_file"; then
121902
 
+       cat confcache >"$cache_file"
121903
 
+      else
121904
 
+        case $cache_file in #(
121905
 
+        */* | ?:*)
121906
 
+         mv -f confcache "$cache_file"$$ &&
121907
 
+         mv -f "$cache_file"$$ "$cache_file" ;; #(
121908
 
+        *)
121909
 
+         mv -f confcache "$cache_file" ;;
121910
 
+       esac
121911
 
+      fi
121912
 
+    fi
121913
 
+  else
121914
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
121915
 
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
121916
 
+  fi
121917
 
+fi
121918
 
+rm -f confcache
121919
 
+
121920
 
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
121921
 
+# Let make expand exec_prefix.
121922
 
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
121923
 
+
121924
 
+DEFS=-DHAVE_CONFIG_H
121925
 
+
121926
 
+ac_libobjs=
121927
 
+ac_ltlibobjs=
121928
 
+for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
121929
 
+  # 1. Remove the extension, and $U if already installed.
121930
 
+  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
121931
 
+  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
121932
 
+  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
121933
 
+  #    will be set to the directory where LIBOBJS objects are built.
121934
 
+  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
121935
 
+  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
121936
 
+done
121937
 
+LIB@&t@OBJS=$ac_libobjs
121938
 
+
121939
 
+LTLIBOBJS=$ac_ltlibobjs
121940
 
+
121941
 
+
121942
 
+ if test -n "$EXEEXT"; then
121943
 
+  am__EXEEXT_TRUE=
121944
 
+  am__EXEEXT_FALSE='#'
121945
 
+else
121946
 
+  am__EXEEXT_TRUE='#'
121947
 
+  am__EXEEXT_FALSE=
121948
 
+fi
121949
 
+
121950
 
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
121951
 
+  as_fn_error $? "conditional \"AMDEP\" was never defined.
121952
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
121953
 
+fi
121954
 
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
121955
 
+  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
121956
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
121957
 
+fi
121958
 
+if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
121959
 
+  as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined.
121960
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
121961
 
+fi
121962
 
+if test -z "${GL_GENERATE_ALLOCA_H_TRUE}" && test -z "${GL_GENERATE_ALLOCA_H_FALSE}"; then
121963
 
+  as_fn_error $? "conditional \"GL_GENERATE_ALLOCA_H\" was never defined.
121964
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
121965
 
+fi
121966
 
+test "X$DEFS" = X-DHAVE_CONFIG_H && DEFS=
121967
 
+
121968
 
+if test -z "${GL_GENERATE_ERRNO_H_TRUE}" && test -z "${GL_GENERATE_ERRNO_H_FALSE}"; then
121969
 
+  as_fn_error $? "conditional \"GL_GENERATE_ERRNO_H\" was never defined.
121970
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
121971
 
+fi
121972
 
+if test -z "${GL_GENERATE_FLOAT_H_TRUE}" && test -z "${GL_GENERATE_FLOAT_H_FALSE}"; then
121973
 
+  as_fn_error $? "conditional \"GL_GENERATE_FLOAT_H\" was never defined.
121974
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
121975
 
+fi
121976
 
+if test -z "${GL_GENERATE_FNMATCH_H_TRUE}" && test -z "${GL_GENERATE_FNMATCH_H_FALSE}"; then
121977
 
+  as_fn_error $? "conditional \"GL_GENERATE_FNMATCH_H\" was never defined.
121978
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
121979
 
+fi
121980
 
+if test -z "${GNU_MAKE_TRUE}" && test -z "${GNU_MAKE_FALSE}"; then
121981
 
+  as_fn_error $? "conditional \"GNU_MAKE\" was never defined.
121982
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
121983
 
+fi
121984
 
+if test -z "${GL_GENERATE_ICONV_H_TRUE}" && test -z "${GL_GENERATE_ICONV_H_FALSE}"; then
121985
 
+  as_fn_error $? "conditional \"GL_GENERATE_ICONV_H\" was never defined.
121986
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
121987
 
+fi
121988
 
+if test -z "${GL_GENERATE_ICONV_H_TRUE}" && test -z "${GL_GENERATE_ICONV_H_FALSE}"; then
121989
 
+  as_fn_error $? "conditional \"GL_GENERATE_ICONV_H\" was never defined.
121990
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
121991
 
+fi
121992
 
+if test -z "${GL_GENERATE_ICONV_H_TRUE}" && test -z "${GL_GENERATE_ICONV_H_FALSE}"; then
121993
 
+  as_fn_error $? "conditional \"GL_GENERATE_ICONV_H\" was never defined.
121994
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
121995
 
+fi
121996
 
+if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then
121997
 
+  as_fn_error $? "conditional \"GL_GENERATE_STDINT_H\" was never defined.
121998
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
121999
 
+fi
122000
 
+
122001
 
+if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then
122002
 
+  as_fn_error $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined.
122003
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
122004
 
+fi
122005
 
+CONFIG_INCLUDE=lib/config.h
122006
 
+
122007
 
+if test -z "${GL_GENERATE_NETINET_IN_H_TRUE}" && test -z "${GL_GENERATE_NETINET_IN_H_FALSE}"; then
122008
 
+  as_fn_error $? "conditional \"GL_GENERATE_NETINET_IN_H\" was never defined.
122009
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
122010
 
+fi
122011
 
+if test -z "${GL_GENERATE_STDBOOL_H_TRUE}" && test -z "${GL_GENERATE_STDBOOL_H_FALSE}"; then
122012
 
+  as_fn_error $? "conditional \"GL_GENERATE_STDBOOL_H\" was never defined.
122013
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
122014
 
+fi
122015
 
+if test -z "${GL_GENERATE_PTHREAD_H_TRUE}" && test -z "${GL_GENERATE_PTHREAD_H_FALSE}"; then
122016
 
+  as_fn_error $? "conditional \"GL_GENERATE_PTHREAD_H\" was never defined.
122017
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
122018
 
+fi
122019
 
+if test -z "${GL_GENERATE_SCHED_H_TRUE}" && test -z "${GL_GENERATE_SCHED_H_FALSE}"; then
122020
 
+  as_fn_error $? "conditional \"GL_GENERATE_SCHED_H\" was never defined.
122021
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
122022
 
+fi
122023
 
+if test -z "${GL_GENERATE_SELINUX_CONTEXT_H_TRUE}" && test -z "${GL_GENERATE_SELINUX_CONTEXT_H_FALSE}"; then
122024
 
+  as_fn_error $? "conditional \"GL_GENERATE_SELINUX_CONTEXT_H\" was never defined.
122025
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
122026
 
+fi
122027
 
+if test -z "${GL_GENERATE_STDARG_H_TRUE}" && test -z "${GL_GENERATE_STDARG_H_FALSE}"; then
122028
 
+  as_fn_error $? "conditional \"GL_GENERATE_STDARG_H\" was never defined.
122029
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
122030
 
+fi
122031
 
+if test -z "${GL_GENERATE_STDBOOL_H_TRUE}" && test -z "${GL_GENERATE_STDBOOL_H_FALSE}"; then
122032
 
+  as_fn_error $? "conditional \"GL_GENERATE_STDBOOL_H\" was never defined.
122033
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
122034
 
+fi
122035
 
+if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then
122036
 
+  as_fn_error $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined.
122037
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
122038
 
+fi
122039
 
+if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE}"; then
122040
 
+  as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR\" was never defined.
122041
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
122042
 
+fi
122043
 
+if test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE}"; then
122044
 
+  as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB\" was never defined.
122045
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
122046
 
+fi
122047
 
+if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE}"; then
122048
 
+  as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH\" was never defined.
122049
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
122050
 
+fi
122051
 
+
122052
 
+    gl_libobjs=
122053
 
+    gl_ltlibobjs=
122054
 
+    if test -n "$gl_LIBOBJS"; then
122055
 
+      # Remove the extension.
122056
 
+      sed_drop_objext='s/\.o$//;s/\.obj$//'
122057
 
+      for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
122058
 
+        gl_libobjs="$gl_libobjs $i.$ac_objext"
122059
 
+        gl_ltlibobjs="$gl_ltlibobjs $i.lo"
122060
 
+      done
122061
 
+    fi
122062
 
+    gl_LIBOBJS=$gl_libobjs
122063
 
+
122064
 
+    gl_LTLIBOBJS=$gl_ltlibobjs
122065
 
+
122066
 
+  
122067
 
+
122068
 
+
122069
 
+
122070
 
+
122071
 
+    gltests_libobjs=
122072
 
+    gltests_ltlibobjs=
122073
 
+    if test -n "$gltests_LIBOBJS"; then
122074
 
+      # Remove the extension.
122075
 
+      sed_drop_objext='s/\.o$//;s/\.obj$//'
122076
 
+      for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
122077
 
+        gltests_libobjs="$gltests_libobjs $i.$ac_objext"
122078
 
+        gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
122079
 
+      done
122080
 
+    fi
122081
 
+    gltests_LIBOBJS=$gltests_libobjs
122082
 
+
122083
 
+    gltests_LTLIBOBJS=$gltests_ltlibobjs
122084
 
+
122085
 
+  
122086
 
+if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
122087
 
+  as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
122088
 
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
122089
 
+fi
122090
 
+
122091
 
+: "${CONFIG_STATUS=./config.status}"
122092
 
+ac_write_fail=0
122093
 
+ac_clean_files_save=$ac_clean_files
122094
 
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
122095
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
122096
 
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
122097
 
+as_write_fail=0
122098
 
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
122099
 
+#! $SHELL
122100
 
+# Generated by $as_me.
122101
 
+# Run this file to recreate the current configuration.
122102
 
+# Compiler output produced by configure, useful for debugging
122103
 
+# configure, is in config.log if it exists.
122104
 
+
122105
 
+debug=false
122106
 
+ac_cs_recheck=false
122107
 
+ac_cs_silent=false
122108
 
+
122109
 
+SHELL=\${CONFIG_SHELL-$SHELL}
122110
 
+export SHELL
122111
 
+_ASEOF
122112
 
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
122113
 
+## -------------------- ##
122114
 
+## M4sh Initialization. ##
122115
 
+## -------------------- ##
122116
 
+
122117
 
+# Be more Bourne compatible
122118
 
+DUALCASE=1; export DUALCASE # for MKS sh
122119
 
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
122120
 
+  emulate sh
122121
 
+  NULLCMD=:
122122
 
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
122123
 
+  # is contrary to our usage.  Disable this feature.
122124
 
+  alias -g '${1+"$@"}'='"$@"'
122125
 
+  setopt NO_GLOB_SUBST
122126
 
+else
122127
 
+  case `(set -o) 2>/dev/null` in @%:@(
122128
 
+  *posix*) :
122129
 
+    set -o posix ;; @%:@(
122130
 
+  *) :
122131
 
+     ;;
122132
 
+esac
122133
 
+fi
122134
 
+
122135
 
+
122136
 
+as_nl='
122137
 
+'
122138
 
+export as_nl
122139
 
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
122140
 
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
122141
 
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
122142
 
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
122143
 
+# Prefer a ksh shell builtin over an external printf program on Solaris,
122144
 
+# but without wasting forks for bash or zsh.
122145
 
+if test -z "$BASH_VERSION$ZSH_VERSION" \
122146
 
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
122147
 
+  as_echo='print -r --'
122148
 
+  as_echo_n='print -rn --'
122149
 
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
122150
 
+  as_echo='printf %s\n'
122151
 
+  as_echo_n='printf %s'
122152
 
+else
122153
 
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
122154
 
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
122155
 
+    as_echo_n='/usr/ucb/echo -n'
122156
 
+  else
122157
 
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
122158
 
+    as_echo_n_body='eval
122159
 
+      arg=$1;
122160
 
+      case $arg in @%:@(
122161
 
+      *"$as_nl"*)
122162
 
+       expr "X$arg" : "X\\(.*\\)$as_nl";
122163
 
+       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
122164
 
+      esac;
122165
 
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
122166
 
+    '
122167
 
+    export as_echo_n_body
122168
 
+    as_echo_n='sh -c $as_echo_n_body as_echo'
122169
 
+  fi
122170
 
+  export as_echo_body
122171
 
+  as_echo='sh -c $as_echo_body as_echo'
122172
 
+fi
122173
 
+
122174
 
+# The user is always right.
122175
 
+if test "${PATH_SEPARATOR+set}" != set; then
122176
 
+  PATH_SEPARATOR=:
122177
 
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
122178
 
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
122179
 
+      PATH_SEPARATOR=';'
122180
 
+  }
122181
 
+fi
122182
 
+
122183
 
+
122184
 
+# IFS
122185
 
+# We need space, tab and new line, in precisely that order.  Quoting is
122186
 
+# there to prevent editors from complaining about space-tab.
122187
 
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
122188
 
+# splitting by setting IFS to empty value.)
122189
 
+IFS=" ""       $as_nl"
122190
 
+
122191
 
+# Find who we are.  Look in the path if we contain no directory separator.
122192
 
+as_myself=
122193
 
+case $0 in @%:@((
122194
 
+  *[\\/]* ) as_myself=$0 ;;
122195
 
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
122196
 
+for as_dir in $PATH
122197
 
+do
122198
 
+  IFS=$as_save_IFS
122199
 
+  test -z "$as_dir" && as_dir=.
122200
 
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
122201
 
+  done
122202
 
+IFS=$as_save_IFS
122203
 
+
122204
 
+     ;;
122205
 
+esac
122206
 
+# We did not find ourselves, most probably we were run as `sh COMMAND'
122207
 
+# in which case we are not to be found in the path.
122208
 
+if test "x$as_myself" = x; then
122209
 
+  as_myself=$0
122210
 
+fi
122211
 
+if test ! -f "$as_myself"; then
122212
 
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
122213
 
+  exit 1
122214
 
+fi
122215
 
+
122216
 
+# Unset variables that we do not need and which cause bugs (e.g. in
122217
 
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
122218
 
+# suppresses any "Segmentation fault" message there.  '((' could
122219
 
+# trigger a bug in pdksh 5.2.14.
122220
 
+for as_var in BASH_ENV ENV MAIL MAILPATH
122221
 
+do eval test x\${$as_var+set} = xset \
122222
 
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122223
 
+done
122224
 
+PS1='$ '
122225
 
+PS2='> '
122226
 
+PS4='+ '
122227
 
+
122228
 
+# NLS nuisances.
122229
 
+LC_ALL=C
122230
 
+export LC_ALL
122231
 
+LANGUAGE=C
122232
 
+export LANGUAGE
122233
 
+
122234
 
+# CDPATH.
122235
 
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
122236
 
+
122237
 
+
122238
 
+@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
122239
 
+@%:@ ----------------------------------------
122240
 
+@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
122241
 
+@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
122242
 
+@%:@ script with STATUS, using 1 if that was 0.
122243
 
+as_fn_error ()
122244
 
+{
122245
 
+  as_status=$1; test $as_status -eq 0 && as_status=1
122246
 
+  if test "$4"; then
122247
 
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
122248
 
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
122249
 
+  fi
122250
 
+  $as_echo "$as_me: error: $2" >&2
122251
 
+  as_fn_exit $as_status
122252
 
+} @%:@ as_fn_error
122253
 
+
122254
 
+
122255
 
+@%:@ as_fn_set_status STATUS
122256
 
+@%:@ -----------------------
122257
 
+@%:@ Set @S|@? to STATUS, without forking.
122258
 
+as_fn_set_status ()
122259
 
+{
122260
 
+  return $1
122261
 
+} @%:@ as_fn_set_status
122262
 
+
122263
 
+@%:@ as_fn_exit STATUS
122264
 
+@%:@ -----------------
122265
 
+@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
122266
 
+as_fn_exit ()
122267
 
+{
122268
 
+  set +e
122269
 
+  as_fn_set_status $1
122270
 
+  exit $1
122271
 
+} @%:@ as_fn_exit
122272
 
+
122273
 
+@%:@ as_fn_unset VAR
122274
 
+@%:@ ---------------
122275
 
+@%:@ Portably unset VAR.
122276
 
+as_fn_unset ()
122277
 
+{
122278
 
+  { eval $1=; unset $1;}
122279
 
+}
122280
 
+as_unset=as_fn_unset
122281
 
+@%:@ as_fn_append VAR VALUE
122282
 
+@%:@ ----------------------
122283
 
+@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
122284
 
+@%:@ advantage of any shell optimizations that allow amortized linear growth over
122285
 
+@%:@ repeated appends, instead of the typical quadratic growth present in naive
122286
 
+@%:@ implementations.
122287
 
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
122288
 
+  eval 'as_fn_append ()
122289
 
+  {
122290
 
+    eval $1+=\$2
122291
 
+  }'
122292
 
+else
122293
 
+  as_fn_append ()
122294
 
+  {
122295
 
+    eval $1=\$$1\$2
122296
 
+  }
122297
 
+fi # as_fn_append
122298
 
+
122299
 
+@%:@ as_fn_arith ARG...
122300
 
+@%:@ ------------------
122301
 
+@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
122302
 
+@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
122303
 
+@%:@ must be portable across @S|@(()) and expr.
122304
 
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
122305
 
+  eval 'as_fn_arith ()
122306
 
+  {
122307
 
+    as_val=$(( $* ))
122308
 
+  }'
122309
 
+else
122310
 
+  as_fn_arith ()
122311
 
+  {
122312
 
+    as_val=`expr "$@" || test $? -eq 1`
122313
 
+  }
122314
 
+fi # as_fn_arith
122315
 
+
122316
 
+
122317
 
+if expr a : '\(a\)' >/dev/null 2>&1 &&
122318
 
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
122319
 
+  as_expr=expr
122320
 
+else
122321
 
+  as_expr=false
122322
 
+fi
122323
 
+
122324
 
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
122325
 
+  as_basename=basename
122326
 
+else
122327
 
+  as_basename=false
122328
 
+fi
122329
 
+
122330
 
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
122331
 
+  as_dirname=dirname
122332
 
+else
122333
 
+  as_dirname=false
122334
 
+fi
122335
 
+
122336
 
+as_me=`$as_basename -- "$0" ||
122337
 
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
122338
 
+        X"$0" : 'X\(//\)$' \| \
122339
 
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
122340
 
+$as_echo X/"$0" |
122341
 
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
122342
 
+           s//\1/
122343
 
+           q
122344
 
+         }
122345
 
+         /^X\/\(\/\/\)$/{
122346
 
+           s//\1/
122347
 
+           q
122348
 
+         }
122349
 
+         /^X\/\(\/\).*/{
122350
 
+           s//\1/
122351
 
+           q
122352
 
+         }
122353
 
+         s/.*/./; q'`
122354
 
+
122355
 
+# Avoid depending upon Character Ranges.
122356
 
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
122357
 
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
122358
 
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
122359
 
+as_cr_digits='0123456789'
122360
 
+as_cr_alnum=$as_cr_Letters$as_cr_digits
122361
 
+
122362
 
+ECHO_C= ECHO_N= ECHO_T=
122363
 
+case `echo -n x` in @%:@(((((
122364
 
+-n*)
122365
 
+  case `echo 'xy\c'` in
122366
 
+  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
122367
 
+  xy)  ECHO_C='\c';;
122368
 
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
122369
 
+       ECHO_T='        ';;
122370
 
+  esac;;
122371
 
+*)
122372
 
+  ECHO_N='-n';;
122373
 
+esac
122374
 
+
122375
 
+rm -f conf$$ conf$$.exe conf$$.file
122376
 
+if test -d conf$$.dir; then
122377
 
+  rm -f conf$$.dir/conf$$.file
122378
 
+else
122379
 
+  rm -f conf$$.dir
122380
 
+  mkdir conf$$.dir 2>/dev/null
122381
 
+fi
122382
 
+if (echo >conf$$.file) 2>/dev/null; then
122383
 
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
122384
 
+    as_ln_s='ln -s'
122385
 
+    # ... but there are two gotchas:
122386
 
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
122387
 
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
122388
 
+    # In both cases, we have to default to `cp -p'.
122389
 
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
122390
 
+      as_ln_s='cp -p'
122391
 
+  elif ln conf$$.file conf$$ 2>/dev/null; then
122392
 
+    as_ln_s=ln
122393
 
+  else
122394
 
+    as_ln_s='cp -p'
122395
 
+  fi
122396
 
+else
122397
 
+  as_ln_s='cp -p'
122398
 
+fi
122399
 
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
122400
 
+rmdir conf$$.dir 2>/dev/null
122401
 
+
122402
 
+
122403
 
+@%:@ as_fn_mkdir_p
122404
 
+@%:@ -------------
122405
 
+@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
122406
 
+as_fn_mkdir_p ()
122407
 
+{
122408
 
+
122409
 
+  case $as_dir in #(
122410
 
+  -*) as_dir=./$as_dir;;
122411
 
+  esac
122412
 
+  test -d "$as_dir" || eval $as_mkdir_p || {
122413
 
+    as_dirs=
122414
 
+    while :; do
122415
 
+      case $as_dir in #(
122416
 
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
122417
 
+      *) as_qdir=$as_dir;;
122418
 
+      esac
122419
 
+      as_dirs="'$as_qdir' $as_dirs"
122420
 
+      as_dir=`$as_dirname -- "$as_dir" ||
122421
 
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122422
 
+        X"$as_dir" : 'X\(//\)[^/]' \| \
122423
 
+        X"$as_dir" : 'X\(//\)$' \| \
122424
 
+        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
122425
 
+$as_echo X"$as_dir" |
122426
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
122427
 
+           s//\1/
122428
 
+           q
122429
 
+         }
122430
 
+         /^X\(\/\/\)[^/].*/{
122431
 
+           s//\1/
122432
 
+           q
122433
 
+         }
122434
 
+         /^X\(\/\/\)$/{
122435
 
+           s//\1/
122436
 
+           q
122437
 
+         }
122438
 
+         /^X\(\/\).*/{
122439
 
+           s//\1/
122440
 
+           q
122441
 
+         }
122442
 
+         s/.*/./; q'`
122443
 
+      test -d "$as_dir" && break
122444
 
+    done
122445
 
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
122446
 
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
122447
 
+
122448
 
+
122449
 
+} @%:@ as_fn_mkdir_p
122450
 
+if mkdir -p . 2>/dev/null; then
122451
 
+  as_mkdir_p='mkdir -p "$as_dir"'
122452
 
+else
122453
 
+  test -d ./-p && rmdir ./-p
122454
 
+  as_mkdir_p=false
122455
 
+fi
122456
 
+
122457
 
+if test -x / >/dev/null 2>&1; then
122458
 
+  as_test_x='test -x'
122459
 
+else
122460
 
+  if ls -dL / >/dev/null 2>&1; then
122461
 
+    as_ls_L_option=L
122462
 
+  else
122463
 
+    as_ls_L_option=
122464
 
+  fi
122465
 
+  as_test_x='
122466
 
+    eval sh -c '\''
122467
 
+      if test -d "$1"; then
122468
 
+       test -d "$1/.";
122469
 
+      else
122470
 
+       case $1 in @%:@(
122471
 
+       -*)set "./$1";;
122472
 
+       esac;
122473
 
+       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
122474
 
+       ???[sx]*):;;*)false;;esac;fi
122475
 
+    '\'' sh
122476
 
+  '
122477
 
+fi
122478
 
+as_executable_p=$as_test_x
122479
 
+
122480
 
+# Sed expression to map a string onto a valid CPP name.
122481
 
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
122482
 
+
122483
 
+# Sed expression to map a string onto a valid variable name.
122484
 
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
122485
 
+
122486
 
+
122487
 
+exec 6>&1
122488
 
+## ----------------------------------- ##
122489
 
+## Main body of $CONFIG_STATUS script. ##
122490
 
+## ----------------------------------- ##
122491
 
+_ASEOF
122492
 
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
122493
 
+
122494
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
122495
 
+# Save the log message, to keep $0 and so on meaningful, and to
122496
 
+# report actual input values of CONFIG_FILES etc. instead of their
122497
 
+# values after options handling.
122498
 
+ac_log="
122499
 
+This file was extended by GNU coreutils $as_me 8.13, which was
122500
 
+generated by GNU Autoconf 2.68.  Invocation command line was
122501
 
+
122502
 
+  CONFIG_FILES    = $CONFIG_FILES
122503
 
+  CONFIG_HEADERS  = $CONFIG_HEADERS
122504
 
+  CONFIG_LINKS    = $CONFIG_LINKS
122505
 
+  CONFIG_COMMANDS = $CONFIG_COMMANDS
122506
 
+  $ $0 $@
122507
 
+
122508
 
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
122509
 
+"
122510
 
+
122511
 
+_ACEOF
122512
 
+
122513
 
+case $ac_config_files in *"
122514
 
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
122515
 
+esac
122516
 
+
122517
 
+case $ac_config_headers in *"
122518
 
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
122519
 
+esac
122520
 
+
122521
 
+
122522
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
122523
 
+# Files that config.status was made for.
122524
 
+config_files="$ac_config_files"
122525
 
+config_headers="$ac_config_headers"
122526
 
+config_links="$ac_config_links"
122527
 
+config_commands="$ac_config_commands"
122528
 
+
122529
 
+_ACEOF
122530
 
+
122531
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
122532
 
+ac_cs_usage="\
122533
 
+\`$as_me' instantiates files and other configuration actions
122534
 
+from templates according to the current configuration.  Unless the files
122535
 
+and actions are specified as TAGs, all are instantiated by default.
122536
 
+
122537
 
+Usage: $0 [OPTION]... [TAG]...
122538
 
+
122539
 
+  -h, --help       print this help, then exit
122540
 
+  -V, --version    print version number and configuration settings, then exit
122541
 
+      --config     print configuration, then exit
122542
 
+  -q, --quiet, --silent
122543
 
+                   do not print progress messages
122544
 
+  -d, --debug      don't remove temporary files
122545
 
+      --recheck    update $as_me by reconfiguring in the same conditions
122546
 
+      --file=FILE[:TEMPLATE] 
122547
 
+                   instantiate the configuration file FILE
122548
 
+      --header=FILE[:TEMPLATE] 
122549
 
+                   instantiate the configuration header FILE
122550
 
+
122551
 
+Configuration files:
122552
 
+$config_files
122553
 
+
122554
 
+Configuration headers:
122555
 
+$config_headers
122556
 
+
122557
 
+Configuration links:
122558
 
+$config_links
122559
 
+
122560
 
+Configuration commands:
122561
 
+$config_commands
122562
 
+
122563
 
+Report bugs to <bug-coreutils@gnu.org>.
122564
 
+GNU coreutils home page: <http://www.gnu.org/software/coreutils/>.
122565
 
+General help using GNU software: <http://www.gnu.org/gethelp/>."
122566
 
+
122567
 
+_ACEOF
122568
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
122569
 
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
122570
 
+ac_cs_version="\\
122571
 
+GNU coreutils config.status 8.13
122572
 
+configured by $0, generated by GNU Autoconf 2.68,
122573
 
+  with options \\"\$ac_cs_config\\"
122574
 
+
122575
 
+Copyright (C) 2010 Free Software Foundation, Inc.
122576
 
+This config.status script is free software; the Free Software Foundation
122577
 
+gives unlimited permission to copy, distribute and modify it."
122578
 
+
122579
 
+ac_pwd='$ac_pwd'
122580
 
+srcdir='$srcdir'
122581
 
+INSTALL='$INSTALL'
122582
 
+MKDIR_P='$MKDIR_P'
122583
 
+AWK='$AWK'
122584
 
+test -n "\$AWK" || AWK=awk
122585
 
+_ACEOF
122586
 
+
122587
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
122588
 
+# The default lists apply if the user does not specify any file.
122589
 
+ac_need_defaults=:
122590
 
+while test $# != 0
122591
 
+do
122592
 
+  case $1 in
122593
 
+  --*=?*)
122594
 
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
122595
 
+    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
122596
 
+    ac_shift=:
122597
 
+    ;;
122598
 
+  --*=)
122599
 
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
122600
 
+    ac_optarg=
122601
 
+    ac_shift=:
122602
 
+    ;;
122603
 
+  *)
122604
 
+    ac_option=$1
122605
 
+    ac_optarg=$2
122606
 
+    ac_shift=shift
122607
 
+    ;;
122608
 
+  esac
122609
 
+
122610
 
+  case $ac_option in
122611
 
+  # Handling of the options.
122612
 
+  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
122613
 
+    ac_cs_recheck=: ;;
122614
 
+  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
122615
 
+    $as_echo "$ac_cs_version"; exit ;;
122616
 
+  --config | --confi | --conf | --con | --co | --c )
122617
 
+    $as_echo "$ac_cs_config"; exit ;;
122618
 
+  --debug | --debu | --deb | --de | --d | -d )
122619
 
+    debug=: ;;
122620
 
+  --file | --fil | --fi | --f )
122621
 
+    $ac_shift
122622
 
+    case $ac_optarg in
122623
 
+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
122624
 
+    '') as_fn_error $? "missing file argument" ;;
122625
 
+    esac
122626
 
+    as_fn_append CONFIG_FILES " '$ac_optarg'"
122627
 
+    ac_need_defaults=false;;
122628
 
+  --header | --heade | --head | --hea )
122629
 
+    $ac_shift
122630
 
+    case $ac_optarg in
122631
 
+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
122632
 
+    esac
122633
 
+    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
122634
 
+    ac_need_defaults=false;;
122635
 
+  --he | --h)
122636
 
+    # Conflict between --help and --header
122637
 
+    as_fn_error $? "ambiguous option: \`$1'
122638
 
+Try \`$0 --help' for more information.";;
122639
 
+  --help | --hel | -h )
122640
 
+    $as_echo "$ac_cs_usage"; exit ;;
122641
 
+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
122642
 
+  | -silent | --silent | --silen | --sile | --sil | --si | --s)
122643
 
+    ac_cs_silent=: ;;
122644
 
+
122645
 
+  # This is an error.
122646
 
+  -*) as_fn_error $? "unrecognized option: \`$1'
122647
 
+Try \`$0 --help' for more information." ;;
122648
 
+
122649
 
+  *) as_fn_append ac_config_targets " $1"
122650
 
+     ac_need_defaults=false ;;
122651
 
+
122652
 
+  esac
122653
 
+  shift
122654
 
+done
122655
 
+
122656
 
+ac_configure_extra_args=
122657
 
+
122658
 
+if $ac_cs_silent; then
122659
 
+  exec 6>/dev/null
122660
 
+  ac_configure_extra_args="$ac_configure_extra_args --silent"
122661
 
+fi
122662
 
+
122663
 
+_ACEOF
122664
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
122665
 
+if \$ac_cs_recheck; then
122666
 
+  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
122667
 
+  shift
122668
 
+  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
122669
 
+  CONFIG_SHELL='$SHELL'
122670
 
+  export CONFIG_SHELL
122671
 
+  exec "\$@"
122672
 
+fi
122673
 
+
122674
 
+_ACEOF
122675
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
122676
 
+exec 5>>config.log
122677
 
+{
122678
 
+  echo
122679
 
+  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
122680
 
+@%:@@%:@ Running $as_me. @%:@@%:@
122681
 
+_ASBOX
122682
 
+  $as_echo "$ac_log"
122683
 
+} >&5
122684
 
+
122685
 
+_ACEOF
122686
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
122687
 
+#
122688
 
+# INIT-COMMANDS
122689
 
+#
122690
 
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
122691
 
+GNUmakefile=$GNUmakefile
122692
 
+# Capture the value of obsolete ALL_LINGUAS because we need it to compute
122693
 
+    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
122694
 
+    # from automake < 1.5.
122695
 
+    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
122696
 
+    # Capture the value of LINGUAS because we need it to compute CATALOGS.
122697
 
+    LINGUAS="${LINGUAS-%UNSET%}"
122698
 
+   
122699
 
+
122700
 
+_ACEOF
122701
 
+
122702
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
122703
 
+
122704
 
+# Handling of arguments.
122705
 
+for ac_config_target in $ac_config_targets
122706
 
+do
122707
 
+  case $ac_config_target in
122708
 
+    "lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/config.h:lib/config.hin" ;;
122709
 
+    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
122710
 
+    "$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;;
122711
 
+    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
122712
 
+    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
122713
 
+    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
122714
 
+    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
122715
 
+    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
122716
 
+    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
122717
 
+    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
122718
 
+    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
122719
 
+    "gnulib-tests/Makefile") CONFIG_FILES="$CONFIG_FILES gnulib-tests/Makefile" ;;
122720
 
+
122721
 
+  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
122722
 
+  esac
122723
 
+done
122724
 
+
122725
 
+
122726
 
+# If the user did not use the arguments to specify the items to instantiate,
122727
 
+# then the envvar interface is used.  Set only those that are not.
122728
 
+# We use the long form for the default assignment because of an extremely
122729
 
+# bizarre bug on SunOS 4.1.3.
122730
 
+if $ac_need_defaults; then
122731
 
+  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
122732
 
+  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
122733
 
+  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
122734
 
+  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
122735
 
+fi
122736
 
+
122737
 
+# Have a temporary directory for convenience.  Make it in the build tree
122738
 
+# simply because there is no reason against having it here, and in addition,
122739
 
+# creating and moving files from /tmp can sometimes cause problems.
122740
 
+# Hook for its removal unless debugging.
122741
 
+# Note that there is a small window in which the directory will not be cleaned:
122742
 
+# after its creation but before its name has been assigned to `$tmp'.
122743
 
+$debug ||
122744
 
+{
122745
 
+  tmp= ac_tmp=
122746
 
+  trap 'exit_status=$?
122747
 
+  : "${ac_tmp:=$tmp}"
122748
 
+  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
122749
 
+' 0
122750
 
+  trap 'as_fn_exit 1' 1 2 13 15
122751
 
+}
122752
 
+# Create a (secure) tmp directory for tmp files.
122753
 
+
122754
 
+{
122755
 
+  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
122756
 
+  test -d "$tmp"
122757
 
+}  ||
122758
 
+{
122759
 
+  tmp=./conf$$-$RANDOM
122760
 
+  (umask 077 && mkdir "$tmp")
122761
 
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
122762
 
+ac_tmp=$tmp
122763
 
+
122764
 
+# Set up the scripts for CONFIG_FILES section.
122765
 
+# No need to generate them if there are no CONFIG_FILES.
122766
 
+# This happens for instance with `./config.status config.h'.
122767
 
+if test -n "$CONFIG_FILES"; then
122768
 
+
122769
 
+
122770
 
+ac_cr=`echo X | tr X '\015'`
122771
 
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
122772
 
+# But we know of no other shell where ac_cr would be empty at this
122773
 
+# point, so we can use a bashism as a fallback.
122774
 
+if test "x$ac_cr" = x; then
122775
 
+  eval ac_cr=\$\'\\r\'
122776
 
+fi
122777
 
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
122778
 
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
122779
 
+  ac_cs_awk_cr='\\r'
122780
 
+else
122781
 
+  ac_cs_awk_cr=$ac_cr
122782
 
+fi
122783
 
+
122784
 
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
122785
 
+_ACEOF
122786
 
+
122787
 
+
122788
 
+{
122789
 
+  echo "cat >conf$$subs.awk <<_ACEOF" &&
122790
 
+  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
122791
 
+  echo "_ACEOF"
122792
 
+} >conf$$subs.sh ||
122793
 
+  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
122794
 
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
122795
 
+ac_delim='%!_!# '
122796
 
+for ac_last_try in false false false false false :; do
122797
 
+  . ./conf$$subs.sh ||
122798
 
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
122799
 
+
122800
 
+  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
122801
 
+  if test $ac_delim_n = $ac_delim_num; then
122802
 
+    break
122803
 
+  elif $ac_last_try; then
122804
 
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
122805
 
+  else
122806
 
+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
122807
 
+  fi
122808
 
+done
122809
 
+rm -f conf$$subs.sh
122810
 
+
122811
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
122812
 
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
122813
 
+_ACEOF
122814
 
+sed -n '
122815
 
+h
122816
 
+s/^/S["/; s/!.*/"]=/
122817
 
+p
122818
 
+g
122819
 
+s/^[^!]*!//
122820
 
+:repl
122821
 
+t repl
122822
 
+s/'"$ac_delim"'$//
122823
 
+t delim
122824
 
+:nl
122825
 
+h
122826
 
+s/\(.\{148\}\)..*/\1/
122827
 
+t more1
122828
 
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
122829
 
+p
122830
 
+n
122831
 
+b repl
122832
 
+:more1
122833
 
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
122834
 
+p
122835
 
+g
122836
 
+s/.\{148\}//
122837
 
+t nl
122838
 
+:delim
122839
 
+h
122840
 
+s/\(.\{148\}\)..*/\1/
122841
 
+t more2
122842
 
+s/["\\]/\\&/g; s/^/"/; s/$/"/
122843
 
+p
122844
 
+b
122845
 
+:more2
122846
 
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
122847
 
+p
122848
 
+g
122849
 
+s/.\{148\}//
122850
 
+t delim
122851
 
+' <conf$$subs.awk | sed '
122852
 
+/^[^""]/{
122853
 
+  N
122854
 
+  s/\n//
122855
 
+}
122856
 
+' >>$CONFIG_STATUS || ac_write_fail=1
122857
 
+rm -f conf$$subs.awk
122858
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
122859
 
+_ACAWK
122860
 
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
122861
 
+  for (key in S) S_is_set[key] = 1
122862
 
+  FS = ""
122863
 
+
122864
 
+}
122865
 
+{
122866
 
+  line = $ 0
122867
 
+  nfields = split(line, field, "@")
122868
 
+  substed = 0
122869
 
+  len = length(field[1])
122870
 
+  for (i = 2; i < nfields; i++) {
122871
 
+    key = field[i]
122872
 
+    keylen = length(key)
122873
 
+    if (S_is_set[key]) {
122874
 
+      value = S[key]
122875
 
+      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
122876
 
+      len += length(value) + length(field[++i])
122877
 
+      substed = 1
122878
 
+    } else
122879
 
+      len += 1 + keylen
122880
 
+  }
122881
 
+
122882
 
+  print line
122883
 
+}
122884
 
+
122885
 
+_ACAWK
122886
 
+_ACEOF
122887
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
122888
 
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
122889
 
+  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
122890
 
+else
122891
 
+  cat
122892
 
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
122893
 
+  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
122894
 
+_ACEOF
122895
 
+
122896
 
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
122897
 
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
122898
 
+# trailing colons and then remove the whole line if VPATH becomes empty
122899
 
+# (actually we leave an empty line to preserve line numbers).
122900
 
+if test "x$srcdir" = x.; then
122901
 
+  ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
122902
 
+h
122903
 
+s///
122904
 
+s/^/:/
122905
 
+s/[     ]*$/:/
122906
 
+s/:\$(srcdir):/:/g
122907
 
+s/:\${srcdir}:/:/g
122908
 
+s/:@srcdir@:/:/g
122909
 
+s/^:*//
122910
 
+s/:*$//
122911
 
+x
122912
 
+s/\(=[  ]*\).*/\1/
122913
 
+G
122914
 
+s/\n//
122915
 
+s/^[^=]*=[      ]*$//
122916
 
+}'
122917
 
+fi
122918
 
+
122919
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
122920
 
+fi # test -n "$CONFIG_FILES"
122921
 
+
122922
 
+# Set up the scripts for CONFIG_HEADERS section.
122923
 
+# No need to generate them if there are no CONFIG_HEADERS.
122924
 
+# This happens for instance with `./config.status Makefile'.
122925
 
+if test -n "$CONFIG_HEADERS"; then
122926
 
+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
122927
 
+BEGIN {
122928
 
+_ACEOF
122929
 
+
122930
 
+# Transform confdefs.h into an awk script `defines.awk', embedded as
122931
 
+# here-document in config.status, that substitutes the proper values into
122932
 
+# config.h.in to produce config.h.
122933
 
+
122934
 
+# Create a delimiter string that does not exist in confdefs.h, to ease
122935
 
+# handling of long lines.
122936
 
+ac_delim='%!_!# '
122937
 
+for ac_last_try in false false :; do
122938
 
+  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
122939
 
+  if test -z "$ac_tt"; then
122940
 
+    break
122941
 
+  elif $ac_last_try; then
122942
 
+    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
122943
 
+  else
122944
 
+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
122945
 
+  fi
122946
 
+done
122947
 
+
122948
 
+# For the awk script, D is an array of macro values keyed by name,
122949
 
+# likewise P contains macro parameters if any.  Preserve backslash
122950
 
+# newline sequences.
122951
 
+
122952
 
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
122953
 
+sed -n '
122954
 
+s/.\{148\}/&'"$ac_delim"'/g
122955
 
+t rset
122956
 
+:rset
122957
 
+s/^[    ]*#[    ]*define[       ][      ]*/ /
122958
 
+t def
122959
 
+d
122960
 
+:def
122961
 
+s/\\$//
122962
 
+t bsnl
122963
 
+s/["\\]/\\&/g
122964
 
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
122965
 
+D["\1"]=" \3"/p
122966
 
+s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
122967
 
+d
122968
 
+:bsnl
122969
 
+s/["\\]/\\&/g
122970
 
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
122971
 
+D["\1"]=" \3\\\\\\n"\\/p
122972
 
+t cont
122973
 
+s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
122974
 
+t cont
122975
 
+d
122976
 
+:cont
122977
 
+n
122978
 
+s/.\{148\}/&'"$ac_delim"'/g
122979
 
+t clear
122980
 
+:clear
122981
 
+s/\\$//
122982
 
+t bsnlc
122983
 
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
122984
 
+d
122985
 
+:bsnlc
122986
 
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
122987
 
+b cont
122988
 
+' <confdefs.h | sed '
122989
 
+s/'"$ac_delim"'/"\\\
122990
 
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
122991
 
+
122992
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
122993
 
+  for (key in D) D_is_set[key] = 1
122994
 
+  FS = ""
122995
 
+}
122996
 
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
122997
 
+  line = \$ 0
122998
 
+  split(line, arg, " ")
122999
 
+  if (arg[1] == "#") {
123000
 
+    defundef = arg[2]
123001
 
+    mac1 = arg[3]
123002
 
+  } else {
123003
 
+    defundef = substr(arg[1], 2)
123004
 
+    mac1 = arg[2]
123005
 
+  }
123006
 
+  split(mac1, mac2, "(") #)
123007
 
+  macro = mac2[1]
123008
 
+  prefix = substr(line, 1, index(line, defundef) - 1)
123009
 
+  if (D_is_set[macro]) {
123010
 
+    # Preserve the white space surrounding the "#".
123011
 
+    print prefix "define", macro P[macro] D[macro]
123012
 
+    next
123013
 
+  } else {
123014
 
+    # Replace #undef with comments.  This is necessary, for example,
123015
 
+    # in the case of _POSIX_SOURCE, which is predefined and required
123016
 
+    # on some systems where configure will not decide to define it.
123017
 
+    if (defundef == "undef") {
123018
 
+      print "/*", prefix defundef, macro, "*/"
123019
 
+      next
123020
 
+    }
123021
 
+  }
123022
 
+}
123023
 
+{ print }
123024
 
+_ACAWK
123025
 
+_ACEOF
123026
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
123027
 
+  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
123028
 
+fi # test -n "$CONFIG_HEADERS"
123029
 
+
123030
 
+
123031
 
+eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS  :C $CONFIG_COMMANDS"
123032
 
+shift
123033
 
+for ac_tag
123034
 
+do
123035
 
+  case $ac_tag in
123036
 
+  :[FHLC]) ac_mode=$ac_tag; continue;;
123037
 
+  esac
123038
 
+  case $ac_mode$ac_tag in
123039
 
+  :[FHL]*:*);;
123040
 
+  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
123041
 
+  :[FH]-) ac_tag=-:-;;
123042
 
+  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
123043
 
+  esac
123044
 
+  ac_save_IFS=$IFS
123045
 
+  IFS=:
123046
 
+  set x $ac_tag
123047
 
+  IFS=$ac_save_IFS
123048
 
+  shift
123049
 
+  ac_file=$1
123050
 
+  shift
123051
 
+
123052
 
+  case $ac_mode in
123053
 
+  :L) ac_source=$1;;
123054
 
+  :[FH])
123055
 
+    ac_file_inputs=
123056
 
+    for ac_f
123057
 
+    do
123058
 
+      case $ac_f in
123059
 
+      -) ac_f="$ac_tmp/stdin";;
123060
 
+      *) # Look for the file first in the build tree, then in the source tree
123061
 
+        # (if the path is not absolute).  The absolute path cannot be DOS-style,
123062
 
+        # because $ac_f cannot contain `:'.
123063
 
+        test -f "$ac_f" ||
123064
 
+          case $ac_f in
123065
 
+          [\\/$]*) false;;
123066
 
+          *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
123067
 
+          esac ||
123068
 
+          as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
123069
 
+      esac
123070
 
+      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
123071
 
+      as_fn_append ac_file_inputs " '$ac_f'"
123072
 
+    done
123073
 
+
123074
 
+    # Let's still pretend it is `configure' which instantiates (i.e., don't
123075
 
+    # use $as_me), people would be surprised to read:
123076
 
+    #    /* config.h.  Generated by config.status.  */
123077
 
+    configure_input='Generated from '`
123078
 
+         $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
123079
 
+       `' by configure.'
123080
 
+    if test x"$ac_file" != x-; then
123081
 
+      configure_input="$ac_file.  $configure_input"
123082
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
123083
 
+$as_echo "$as_me: creating $ac_file" >&6;}
123084
 
+    fi
123085
 
+    # Neutralize special characters interpreted by sed in replacement strings.
123086
 
+    case $configure_input in #(
123087
 
+    *\&* | *\|* | *\\* )
123088
 
+       ac_sed_conf_input=`$as_echo "$configure_input" |
123089
 
+       sed 's/[\\\\&|]/\\\\&/g'`;; #(
123090
 
+    *) ac_sed_conf_input=$configure_input;;
123091
 
+    esac
123092
 
+
123093
 
+    case $ac_tag in
123094
 
+    *:-:* | *:-) cat >"$ac_tmp/stdin" \
123095
 
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
123096
 
+    esac
123097
 
+    ;;
123098
 
+  esac
123099
 
+
123100
 
+  ac_dir=`$as_dirname -- "$ac_file" ||
123101
 
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123102
 
+        X"$ac_file" : 'X\(//\)[^/]' \| \
123103
 
+        X"$ac_file" : 'X\(//\)$' \| \
123104
 
+        X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
123105
 
+$as_echo X"$ac_file" |
123106
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
123107
 
+           s//\1/
123108
 
+           q
123109
 
+         }
123110
 
+         /^X\(\/\/\)[^/].*/{
123111
 
+           s//\1/
123112
 
+           q
123113
 
+         }
123114
 
+         /^X\(\/\/\)$/{
123115
 
+           s//\1/
123116
 
+           q
123117
 
+         }
123118
 
+         /^X\(\/\).*/{
123119
 
+           s//\1/
123120
 
+           q
123121
 
+         }
123122
 
+         s/.*/./; q'`
123123
 
+  as_dir="$ac_dir"; as_fn_mkdir_p
123124
 
+  ac_builddir=.
123125
 
+
123126
 
+case "$ac_dir" in
123127
 
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
123128
 
+*)
123129
 
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
123130
 
+  # A ".." for each directory in $ac_dir_suffix.
123131
 
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
123132
 
+  case $ac_top_builddir_sub in
123133
 
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
123134
 
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
123135
 
+  esac ;;
123136
 
+esac
123137
 
+ac_abs_top_builddir=$ac_pwd
123138
 
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
123139
 
+# for backward compatibility:
123140
 
+ac_top_builddir=$ac_top_build_prefix
123141
 
+
123142
 
+case $srcdir in
123143
 
+  .)  # We are building in place.
123144
 
+    ac_srcdir=.
123145
 
+    ac_top_srcdir=$ac_top_builddir_sub
123146
 
+    ac_abs_top_srcdir=$ac_pwd ;;
123147
 
+  [\\/]* | ?:[\\/]* )  # Absolute name.
123148
 
+    ac_srcdir=$srcdir$ac_dir_suffix;
123149
 
+    ac_top_srcdir=$srcdir
123150
 
+    ac_abs_top_srcdir=$srcdir ;;
123151
 
+  *) # Relative name.
123152
 
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
123153
 
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
123154
 
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
123155
 
+esac
123156
 
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
123157
 
+
123158
 
+
123159
 
+  case $ac_mode in
123160
 
+  :F)
123161
 
+  #
123162
 
+  # CONFIG_FILE
123163
 
+  #
123164
 
+
123165
 
+  case $INSTALL in
123166
 
+  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
123167
 
+  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
123168
 
+  esac
123169
 
+  ac_MKDIR_P=$MKDIR_P
123170
 
+  case $MKDIR_P in
123171
 
+  [\\/$]* | ?:[\\/]* ) ;;
123172
 
+  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
123173
 
+  esac
123174
 
+_ACEOF
123175
 
+
123176
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
123177
 
+# If the template does not know about datarootdir, expand it.
123178
 
+# FIXME: This hack should be removed a few years after 2.60.
123179
 
+ac_datarootdir_hack=; ac_datarootdir_seen=
123180
 
+ac_sed_dataroot='
123181
 
+/datarootdir/ {
123182
 
+  p
123183
 
+  q
123184
 
+}
123185
 
+/@datadir@/p
123186
 
+/@docdir@/p
123187
 
+/@infodir@/p
123188
 
+/@localedir@/p
123189
 
+/@mandir@/p'
123190
 
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
123191
 
+*datarootdir*) ac_datarootdir_seen=yes;;
123192
 
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
123193
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
123194
 
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
123195
 
+_ACEOF
123196
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
123197
 
+  ac_datarootdir_hack='
123198
 
+  s&@datadir@&$datadir&g
123199
 
+  s&@docdir@&$docdir&g
123200
 
+  s&@infodir@&$infodir&g
123201
 
+  s&@localedir@&$localedir&g
123202
 
+  s&@mandir@&$mandir&g
123203
 
+  s&\\\${datarootdir}&$datarootdir&g' ;;
123204
 
+esac
123205
 
+_ACEOF
123206
 
+
123207
 
+# Neutralize VPATH when `$srcdir' = `.'.
123208
 
+# Shell code in configure.ac might set extrasub.
123209
 
+# FIXME: do we really want to maintain this feature?
123210
 
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
123211
 
+ac_sed_extra="$ac_vpsub
123212
 
+$extrasub
123213
 
+_ACEOF
123214
 
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
123215
 
+:t
123216
 
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
123217
 
+s|@configure_input@|$ac_sed_conf_input|;t t
123218
 
+s&@top_builddir@&$ac_top_builddir_sub&;t t
123219
 
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
123220
 
+s&@srcdir@&$ac_srcdir&;t t
123221
 
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
123222
 
+s&@top_srcdir@&$ac_top_srcdir&;t t
123223
 
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
123224
 
+s&@builddir@&$ac_builddir&;t t
123225
 
+s&@abs_builddir@&$ac_abs_builddir&;t t
123226
 
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
123227
 
+s&@INSTALL@&$ac_INSTALL&;t t
123228
 
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
123229
 
+$ac_datarootdir_hack
123230
 
+"
123231
 
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
123232
 
+  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
123233
 
+
123234
 
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
123235
 
+  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
123236
 
+  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
123237
 
+      "$ac_tmp/out"`; test -z "$ac_out"; } &&
123238
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
123239
 
+which seems to be undefined.  Please make sure it is defined" >&5
123240
 
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
123241
 
+which seems to be undefined.  Please make sure it is defined" >&2;}
123242
 
+
123243
 
+  rm -f "$ac_tmp/stdin"
123244
 
+  case $ac_file in
123245
 
+  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
123246
 
+  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
123247
 
+  esac \
123248
 
+  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
123249
 
+ ;;
123250
 
+  :H)
123251
 
+  #
123252
 
+  # CONFIG_HEADER
123253
 
+  #
123254
 
+  if test x"$ac_file" != x-; then
123255
 
+    {
123256
 
+      $as_echo "/* $configure_input  */" \
123257
 
+      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
123258
 
+    } >"$ac_tmp/config.h" \
123259
 
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
123260
 
+    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
123261
 
+      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
123262
 
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
123263
 
+    else
123264
 
+      rm -f "$ac_file"
123265
 
+      mv "$ac_tmp/config.h" "$ac_file" \
123266
 
+       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
123267
 
+    fi
123268
 
+  else
123269
 
+    $as_echo "/* $configure_input  */" \
123270
 
+      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
123271
 
+      || as_fn_error $? "could not create -" "$LINENO" 5
123272
 
+  fi
123273
 
+# Compute "$ac_file"'s index in $config_headers.
123274
 
+_am_arg="$ac_file"
123275
 
+_am_stamp_count=1
123276
 
+for _am_header in $config_headers :; do
123277
 
+  case $_am_header in
123278
 
+    $_am_arg | $_am_arg:* )
123279
 
+      break ;;
123280
 
+    * )
123281
 
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
123282
 
+  esac
123283
 
+done
123284
 
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
123285
 
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123286
 
+        X"$_am_arg" : 'X\(//\)[^/]' \| \
123287
 
+        X"$_am_arg" : 'X\(//\)$' \| \
123288
 
+        X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
123289
 
+$as_echo X"$_am_arg" |
123290
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
123291
 
+           s//\1/
123292
 
+           q
123293
 
+         }
123294
 
+         /^X\(\/\/\)[^/].*/{
123295
 
+           s//\1/
123296
 
+           q
123297
 
+         }
123298
 
+         /^X\(\/\/\)$/{
123299
 
+           s//\1/
123300
 
+           q
123301
 
+         }
123302
 
+         /^X\(\/\).*/{
123303
 
+           s//\1/
123304
 
+           q
123305
 
+         }
123306
 
+         s/.*/./; q'`/stamp-h$_am_stamp_count
123307
 
+ ;;
123308
 
+  :L)
123309
 
+  #
123310
 
+  # CONFIG_LINK
123311
 
+  #
123312
 
+
123313
 
+  if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
123314
 
+    :
123315
 
+  else
123316
 
+    # Prefer the file from the source tree if names are identical.
123317
 
+    if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
123318
 
+      ac_source=$srcdir/$ac_source
123319
 
+    fi
123320
 
+
123321
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
123322
 
+$as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
123323
 
+
123324
 
+    if test ! -r "$ac_source"; then
123325
 
+      as_fn_error $? "$ac_source: file not found" "$LINENO" 5
123326
 
+    fi
123327
 
+    rm -f "$ac_file"
123328
 
+
123329
 
+    # Try a relative symlink, then a hard link, then a copy.
123330
 
+    case $ac_source in
123331
 
+    [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
123332
 
+       *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
123333
 
+    esac
123334
 
+    ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
123335
 
+      ln "$ac_source" "$ac_file" 2>/dev/null ||
123336
 
+      cp -p "$ac_source" "$ac_file" ||
123337
 
+      as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
123338
 
+  fi
123339
 
+ ;;
123340
 
+  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
123341
 
+$as_echo "$as_me: executing $ac_file commands" >&6;}
123342
 
+ ;;
123343
 
+  esac
123344
 
+
123345
 
+
123346
 
+  case $ac_file$ac_mode in
123347
 
+    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
123348
 
+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
123349
 
+  # are listed without --file.  Let's play safe and only enable the eval
123350
 
+  # if we detect the quoting.
123351
 
+  case $CONFIG_FILES in
123352
 
+  *\'*) eval set x "$CONFIG_FILES" ;;
123353
 
+  *)   set x $CONFIG_FILES ;;
123354
 
+  esac
123355
 
+  shift
123356
 
+  for mf
123357
 
+  do
123358
 
+    # Strip MF so we end up with the name of the file.
123359
 
+    mf=`echo "$mf" | sed -e 's/:.*$//'`
123360
 
+    # Check whether this is an Automake generated Makefile or not.
123361
 
+    # We used to match only the files named `Makefile.in', but
123362
 
+    # some people rename them; so instead we look at the file content.
123363
 
+    # Grep'ing the first line is not enough: some people post-process
123364
 
+    # each Makefile.in and add a new line on top of each file to say so.
123365
 
+    # Grep'ing the whole file is not good either: AIX grep has a line
123366
 
+    # limit of 2048, but all sed's we know have understand at least 4000.
123367
 
+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
123368
 
+      dirpart=`$as_dirname -- "$mf" ||
123369
 
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123370
 
+        X"$mf" : 'X\(//\)[^/]' \| \
123371
 
+        X"$mf" : 'X\(//\)$' \| \
123372
 
+        X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
123373
 
+$as_echo X"$mf" |
123374
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
123375
 
+           s//\1/
123376
 
+           q
123377
 
+         }
123378
 
+         /^X\(\/\/\)[^/].*/{
123379
 
+           s//\1/
123380
 
+           q
123381
 
+         }
123382
 
+         /^X\(\/\/\)$/{
123383
 
+           s//\1/
123384
 
+           q
123385
 
+         }
123386
 
+         /^X\(\/\).*/{
123387
 
+           s//\1/
123388
 
+           q
123389
 
+         }
123390
 
+         s/.*/./; q'`
123391
 
+    else
123392
 
+      continue
123393
 
+    fi
123394
 
+    # Extract the definition of DEPDIR, am__include, and am__quote
123395
 
+    # from the Makefile without running `make'.
123396
 
+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
123397
 
+    test -z "$DEPDIR" && continue
123398
 
+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
123399
 
+    test -z "am__include" && continue
123400
 
+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
123401
 
+    # When using ansi2knr, U may be empty or an underscore; expand it
123402
 
+    U=`sed -n 's/^U = //p' < "$mf"`
123403
 
+    # Find all dependency output files, they are included files with
123404
 
+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
123405
 
+    # simplest approach to changing $(DEPDIR) to its actual value in the
123406
 
+    # expansion.
123407
 
+    for file in `sed -n "
123408
 
+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
123409
 
+        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
123410
 
+      # Make sure the directory exists.
123411
 
+      test -f "$dirpart/$file" && continue
123412
 
+      fdir=`$as_dirname -- "$file" ||
123413
 
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123414
 
+        X"$file" : 'X\(//\)[^/]' \| \
123415
 
+        X"$file" : 'X\(//\)$' \| \
123416
 
+        X"$file" : 'X\(/\)' \| . 2>/dev/null ||
123417
 
+$as_echo X"$file" |
123418
 
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
123419
 
+           s//\1/
123420
 
+           q
123421
 
+         }
123422
 
+         /^X\(\/\/\)[^/].*/{
123423
 
+           s//\1/
123424
 
+           q
123425
 
+         }
123426
 
+         /^X\(\/\/\)$/{
123427
 
+           s//\1/
123428
 
+           q
123429
 
+         }
123430
 
+         /^X\(\/\).*/{
123431
 
+           s//\1/
123432
 
+           q
123433
 
+         }
123434
 
+         s/.*/./; q'`
123435
 
+      as_dir=$dirpart/$fdir; as_fn_mkdir_p
123436
 
+      # echo "creating $dirpart/$file"
123437
 
+      echo '# dummy' > "$dirpart/$file"
123438
 
+    done
123439
 
+  done
123440
 
+}
123441
 
+ ;;
123442
 
+    "po-directories":C) 
123443
 
+    for ac_file in $CONFIG_FILES; do
123444
 
+      # Support "outfile[:infile[:infile...]]"
123445
 
+      case "$ac_file" in
123446
 
+        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
123447
 
+      esac
123448
 
+      # PO directories have a Makefile.in generated from Makefile.in.in.
123449
 
+      case "$ac_file" in */Makefile.in)
123450
 
+        # Adjust a relative srcdir.
123451
 
+        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
123452
 
+        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
123453
 
+        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
123454
 
+        # In autoconf-2.13 it is called $ac_given_srcdir.
123455
 
+        # In autoconf-2.50 it is called $srcdir.
123456
 
+        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
123457
 
+        case "$ac_given_srcdir" in
123458
 
+          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
123459
 
+          /*) top_srcdir="$ac_given_srcdir" ;;
123460
 
+          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
123461
 
+        esac
123462
 
+        # Treat a directory as a PO directory if and only if it has a
123463
 
+        # POTFILES.in file. This allows packages to have multiple PO
123464
 
+        # directories under different names or in different locations.
123465
 
+        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
123466
 
+          rm -f "$ac_dir/POTFILES"
123467
 
+          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
123468
 
+          gt_tab=`printf '\t'`
123469
 
+          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
123470
 
+          POMAKEFILEDEPS="POTFILES.in"
123471
 
+          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
123472
 
+          # on $ac_dir but don't depend on user-specified configuration
123473
 
+          # parameters.
123474
 
+          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
123475
 
+            # The LINGUAS file contains the set of available languages.
123476
 
+            if test -n "$OBSOLETE_ALL_LINGUAS"; then
123477
 
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
123478
 
+            fi
123479
 
+            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
123480
 
+            # Hide the ALL_LINGUAS assigment from automake < 1.5.
123481
 
+            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
123482
 
+            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
123483
 
+          else
123484
 
+            # The set of available languages was given in configure.in.
123485
 
+            # Hide the ALL_LINGUAS assigment from automake < 1.5.
123486
 
+            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
123487
 
+          fi
123488
 
+          # Compute POFILES
123489
 
+          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
123490
 
+          # Compute UPDATEPOFILES
123491
 
+          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
123492
 
+          # Compute DUMMYPOFILES
123493
 
+          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
123494
 
+          # Compute GMOFILES
123495
 
+          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
123496
 
+          case "$ac_given_srcdir" in
123497
 
+            .) srcdirpre= ;;
123498
 
+            *) srcdirpre='$(srcdir)/' ;;
123499
 
+          esac
123500
 
+          POFILES=
123501
 
+          UPDATEPOFILES=
123502
 
+          DUMMYPOFILES=
123503
 
+          GMOFILES=
123504
 
+          for lang in $ALL_LINGUAS; do
123505
 
+            POFILES="$POFILES $srcdirpre$lang.po"
123506
 
+            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
123507
 
+            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
123508
 
+            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
123509
 
+          done
123510
 
+          # CATALOGS depends on both $ac_dir and the user's LINGUAS
123511
 
+          # environment variable.
123512
 
+          INST_LINGUAS=
123513
 
+          if test -n "$ALL_LINGUAS"; then
123514
 
+            for presentlang in $ALL_LINGUAS; do
123515
 
+              useit=no
123516
 
+              if test "%UNSET%" != "$LINGUAS"; then
123517
 
+                desiredlanguages="$LINGUAS"
123518
 
+              else
123519
 
+                desiredlanguages="$ALL_LINGUAS"
123520
 
+              fi
123521
 
+              for desiredlang in $desiredlanguages; do
123522
 
+                # Use the presentlang catalog if desiredlang is
123523
 
+                #   a. equal to presentlang, or
123524
 
+                #   b. a variant of presentlang (because in this case,
123525
 
+                #      presentlang can be used as a fallback for messages
123526
 
+                #      which are not translated in the desiredlang catalog).
123527
 
+                case "$desiredlang" in
123528
 
+                  "$presentlang"*) useit=yes;;
123529
 
+                esac
123530
 
+              done
123531
 
+              if test $useit = yes; then
123532
 
+                INST_LINGUAS="$INST_LINGUAS $presentlang"
123533
 
+              fi
123534
 
+            done
123535
 
+          fi
123536
 
+          CATALOGS=
123537
 
+          if test -n "$INST_LINGUAS"; then
123538
 
+            for lang in $INST_LINGUAS; do
123539
 
+              CATALOGS="$CATALOGS $lang.gmo"
123540
 
+            done
123541
 
+          fi
123542
 
+          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
123543
 
+          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
123544
 
+          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
123545
 
+            if test -f "$f"; then
123546
 
+              case "$f" in
123547
 
+                *.orig | *.bak | *~) ;;
123548
 
+                *) cat "$f" >> "$ac_dir/Makefile" ;;
123549
 
+              esac
123550
 
+            fi
123551
 
+          done
123552
 
+        fi
123553
 
+        ;;
123554
 
+      esac
123555
 
+    done ;;
123556
 
+
123557
 
+  esac
123558
 
+done # for ac_tag
123559
 
+
123560
 
+
123561
 
+as_fn_exit 0
123562
 
+_ACEOF
123563
 
+ac_clean_files=$ac_clean_files_save
123564
 
+
123565
 
+test $ac_write_fail = 0 ||
123566
 
+  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
123567
 
+
123568
 
+
123569
 
+# configure is writing to config.log, and then calls config.status.
123570
 
+# config.status does its own redirection, appending to config.log.
123571
 
+# Unfortunately, on DOS this fails, as config.log is still kept open
123572
 
+# by configure, so config.status won't be able to write to it; its
123573
 
+# output is simply discarded.  So we exec the FD to /dev/null,
123574
 
+# effectively closing config.log, so it can be properly (re)opened and
123575
 
+# appended to by config.status.  When coming back to configure, we
123576
 
+# need to make the FD available again.
123577
 
+if test "$no_create" != yes; then
123578
 
+  ac_cs_success=:
123579
 
+  ac_config_status_args=
123580
 
+  test "$silent" = yes &&
123581
 
+    ac_config_status_args="$ac_config_status_args --quiet"
123582
 
+  exec 5>/dev/null
123583
 
+  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
123584
 
+  exec 5>>config.log
123585
 
+  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
123586
 
+  # would make configure fail if this is the last instruction.
123587
 
+  $ac_cs_success || as_fn_exit 1
123588
 
+fi
123589
 
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
123590
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
123591
 
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
123592
 
+fi
123593
 
+
123594
 
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' coreutils-8.13~/autom4te.cache/requests coreutils-8.13/autom4te.cache/requests
123595
 
--- coreutils-8.13~/autom4te.cache/requests     1969-12-31 19:00:00.000000000 -0500
123596
 
+++ coreutils-8.13/autom4te.cache/requests      2011-10-01 12:40:43.456989337 -0400
123597
 
@@ -0,0 +1,1279 @@
123598
 
+# This file was generated by Autom4te Sat Apr  9 10:01:39 PDT 2011.
123599
 
+# It contains the lists of macros which have been traced.
123600
 
+# It can be safely removed.
123601
 
+
123602
 
+@request = (
123603
 
+             bless( [
123604
 
+                      '0',
123605
 
+                      1,
123606
 
+                      [
123607
 
+                        '/usr/share/autoconf'
123608
 
+                      ],
123609
 
+                      [
123610
 
+                        '/usr/share/autoconf/autoconf/autoconf.m4f',
123611
 
+                        '/usr/share/aclocal/glibc2.m4',
123612
 
+                        '/usr/share/aclocal/intdiv0.m4',
123613
 
+                        '/usr/share/aclocal/intl.m4',
123614
 
+                        '/usr/share/aclocal/intmax.m4',
123615
 
+                        '/usr/share/aclocal/printf-posix.m4',
123616
 
+                        '/usr/share/aclocal/uintmax_t.m4',
123617
 
+                        '/usr/share/aclocal/visibility.m4',
123618
 
+                        '/usr/share/aclocal-1.11/amversion.m4',
123619
 
+                        '/usr/share/aclocal-1.11/auxdir.m4',
123620
 
+                        '/usr/share/aclocal-1.11/cond.m4',
123621
 
+                        '/usr/share/aclocal-1.11/depend.m4',
123622
 
+                        '/usr/share/aclocal-1.11/depout.m4',
123623
 
+                        '/usr/share/aclocal-1.11/init.m4',
123624
 
+                        '/usr/share/aclocal-1.11/install-sh.m4',
123625
 
+                        '/usr/share/aclocal-1.11/lead-dot.m4',
123626
 
+                        '/usr/share/aclocal-1.11/make.m4',
123627
 
+                        '/usr/share/aclocal-1.11/minuso.m4',
123628
 
+                        '/usr/share/aclocal-1.11/missing.m4',
123629
 
+                        '/usr/share/aclocal-1.11/mkdirp.m4',
123630
 
+                        '/usr/share/aclocal-1.11/options.m4',
123631
 
+                        '/usr/share/aclocal-1.11/protos.m4',
123632
 
+                        '/usr/share/aclocal-1.11/runlog.m4',
123633
 
+                        '/usr/share/aclocal-1.11/sanity.m4',
123634
 
+                        '/usr/share/aclocal-1.11/silent.m4',
123635
 
+                        '/usr/share/aclocal-1.11/strip.m4',
123636
 
+                        '/usr/share/aclocal-1.11/substnot.m4',
123637
 
+                        '/usr/share/aclocal-1.11/tar.m4',
123638
 
+                        'm4/00gnulib.m4',
123639
 
+                        'm4/acl.m4',
123640
 
+                        'm4/alloca.m4',
123641
 
+                        'm4/arpa_inet_h.m4',
123642
 
+                        'm4/assert.m4',
123643
 
+                        'm4/autobuild.m4',
123644
 
+                        'm4/backupfile.m4',
123645
 
+                        'm4/base64.m4',
123646
 
+                        'm4/bison.m4',
123647
 
+                        'm4/boottime.m4',
123648
 
+                        'm4/btowc.m4',
123649
 
+                        'm4/c-strtod.m4',
123650
 
+                        'm4/calloc.m4',
123651
 
+                        'm4/canon-host.m4',
123652
 
+                        'm4/canonicalize.m4',
123653
 
+                        'm4/chdir-long.m4',
123654
 
+                        'm4/check-decl.m4',
123655
 
+                        'm4/chown.m4',
123656
 
+                        'm4/clock_time.m4',
123657
 
+                        'm4/close-stream.m4',
123658
 
+                        'm4/close.m4',
123659
 
+                        'm4/closein.m4',
123660
 
+                        'm4/closeout.m4',
123661
 
+                        'm4/codeset.m4',
123662
 
+                        'm4/config-h.m4',
123663
 
+                        'm4/configmake.m4',
123664
 
+                        'm4/ctype.m4',
123665
 
+                        'm4/cycle-check.m4',
123666
 
+                        'm4/d-ino.m4',
123667
 
+                        'm4/d-type.m4',
123668
 
+                        'm4/dirent-safer.m4',
123669
 
+                        'm4/dirent_h.m4',
123670
 
+                        'm4/dirfd.m4',
123671
 
+                        'm4/dirname.m4',
123672
 
+                        'm4/double-slash-root.m4',
123673
 
+                        'm4/dup2.m4',
123674
 
+                        'm4/eealloc.m4',
123675
 
+                        'm4/environ.m4',
123676
 
+                        'm4/errno_h.m4',
123677
 
+                        'm4/error.m4',
123678
 
+                        'm4/euidaccess-stat.m4',
123679
 
+                        'm4/euidaccess.m4',
123680
 
+                        'm4/exponentd.m4',
123681
 
+                        'm4/exponentf.m4',
123682
 
+                        'm4/exponentl.m4',
123683
 
+                        'm4/extensions.m4',
123684
 
+                        'm4/faccessat.m4',
123685
 
+                        'm4/fchdir.m4',
123686
 
+                        'm4/fclose.m4',
123687
 
+                        'm4/fcntl-o.m4',
123688
 
+                        'm4/fcntl-safer.m4',
123689
 
+                        'm4/fcntl.m4',
123690
 
+                        'm4/fcntl_h.m4',
123691
 
+                        'm4/fd-reopen.m4',
123692
 
+                        'm4/fdopendir.m4',
123693
 
+                        'm4/fflush.m4',
123694
 
+                        'm4/fileblocks.m4',
123695
 
+                        'm4/filemode.m4',
123696
 
+                        'm4/filenamecat.m4',
123697
 
+                        'm4/flexmember.m4',
123698
 
+                        'm4/float_h.m4',
123699
 
+                        'm4/fnmatch.m4',
123700
 
+                        'm4/fopen.m4',
123701
 
+                        'm4/fpending.m4',
123702
 
+                        'm4/fpieee.m4',
123703
 
+                        'm4/fpurge.m4',
123704
 
+                        'm4/freading.m4',
123705
 
+                        'm4/freopen.m4',
123706
 
+                        'm4/frexp.m4',
123707
 
+                        'm4/frexpl.m4',
123708
 
+                        'm4/fseek.m4',
123709
 
+                        'm4/fseeko.m4',
123710
 
+                        'm4/fstypename.m4',
123711
 
+                        'm4/fsusage.m4',
123712
 
+                        'm4/fsync.m4',
123713
 
+                        'm4/ftell.m4',
123714
 
+                        'm4/ftello.m4',
123715
 
+                        'm4/fts.m4',
123716
 
+                        'm4/futimens.m4',
123717
 
+                        'm4/getaddrinfo.m4',
123718
 
+                        'm4/getcwd-abort-bug.m4',
123719
 
+                        'm4/getcwd-path-max.m4',
123720
 
+                        'm4/getcwd.m4',
123721
 
+                        'm4/getdelim.m4',
123722
 
+                        'm4/getdtablesize.m4',
123723
 
+                        'm4/getgroups.m4',
123724
 
+                        'm4/gethostname.m4',
123725
 
+                        'm4/gethrxtime.m4',
123726
 
+                        'm4/getline.m4',
123727
 
+                        'm4/getloadavg.m4',
123728
 
+                        'm4/getndelim2.m4',
123729
 
+                        'm4/getopt.m4',
123730
 
+                        'm4/getpagesize.m4',
123731
 
+                        'm4/getpass.m4',
123732
 
+                        'm4/gettext.m4',
123733
 
+                        'm4/gettime.m4',
123734
 
+                        'm4/gettimeofday.m4',
123735
 
+                        'm4/getugroups.m4',
123736
 
+                        'm4/getusershell.m4',
123737
 
+                        'm4/glibc21.m4',
123738
 
+                        'm4/gmp.m4',
123739
 
+                        'm4/gnu-make.m4',
123740
 
+                        'm4/gnulib-common.m4',
123741
 
+                        'm4/gnulib-comp.m4',
123742
 
+                        'm4/group-member.m4',
123743
 
+                        'm4/hard-locale.m4',
123744
 
+                        'm4/host-os.m4',
123745
 
+                        'm4/hostent.m4',
123746
 
+                        'm4/human.m4',
123747
 
+                        'm4/i-ring.m4',
123748
 
+                        'm4/iconv.m4',
123749
 
+                        'm4/iconv_h.m4',
123750
 
+                        'm4/iconv_open.m4',
123751
 
+                        'm4/idcache.m4',
123752
 
+                        'm4/include-exclude-prog.m4',
123753
 
+                        'm4/include_next.m4',
123754
 
+                        'm4/inet_ntop.m4',
123755
 
+                        'm4/inet_pton.m4',
123756
 
+                        'm4/inline.m4',
123757
 
+                        'm4/intlmacosx.m4',
123758
 
+                        'm4/intmax_t.m4',
123759
 
+                        'm4/inttostr.m4',
123760
 
+                        'm4/inttypes-pri.m4',
123761
 
+                        'm4/inttypes.m4',
123762
 
+                        'm4/inttypes_h.m4',
123763
 
+                        'm4/ioctl.m4',
123764
 
+                        'm4/isapipe.m4',
123765
 
+                        'm4/isblank.m4',
123766
 
+                        'm4/isnand.m4',
123767
 
+                        'm4/isnanf.m4',
123768
 
+                        'm4/isnanl.m4',
123769
 
+                        'm4/iswblank.m4',
123770
 
+                        'm4/jm-macros.m4',
123771
 
+                        'm4/jm-winsz1.m4',
123772
 
+                        'm4/jm-winsz2.m4',
123773
 
+                        'm4/langinfo_h.m4',
123774
 
+                        'm4/largefile.m4',
123775
 
+                        'm4/lchmod.m4',
123776
 
+                        'm4/lchown.m4',
123777
 
+                        'm4/lcmessage.m4',
123778
 
+                        'm4/ldexp.m4',
123779
 
+                        'm4/ldexpl.m4',
123780
 
+                        'm4/lib-check.m4',
123781
 
+                        'm4/lib-ignore.m4',
123782
 
+                        'm4/lib-ld.m4',
123783
 
+                        'm4/lib-link.m4',
123784
 
+                        'm4/lib-prefix.m4',
123785
 
+                        'm4/libunistring-base.m4',
123786
 
+                        'm4/link-follow.m4',
123787
 
+                        'm4/link.m4',
123788
 
+                        'm4/linkat.m4',
123789
 
+                        'm4/localcharset.m4',
123790
 
+                        'm4/locale-fr.m4',
123791
 
+                        'm4/locale-ja.m4',
123792
 
+                        'm4/locale-tr.m4',
123793
 
+                        'm4/locale-zh.m4',
123794
 
+                        'm4/locale_h.m4',
123795
 
+                        'm4/localename.m4',
123796
 
+                        'm4/lock.m4',
123797
 
+                        'm4/longlong.m4',
123798
 
+                        'm4/ls-mntd-fs.m4',
123799
 
+                        'm4/lseek.m4',
123800
 
+                        'm4/lstat.m4',
123801
 
+                        'm4/malloc.m4',
123802
 
+                        'm4/malloca.m4',
123803
 
+                        'm4/manywarnings.m4',
123804
 
+                        'm4/math_h.m4',
123805
 
+                        'm4/mbchar.m4',
123806
 
+                        'm4/mbiter.m4',
123807
 
+                        'm4/mbrlen.m4',
123808
 
+                        'm4/mbrtowc.m4',
123809
 
+                        'm4/mbsinit.m4',
123810
 
+                        'm4/mbslen.m4',
123811
 
+                        'm4/mbsrtowcs.m4',
123812
 
+                        'm4/mbstate_t.m4',
123813
 
+                        'm4/mbswidth.m4',
123814
 
+                        'm4/mbtowc.m4',
123815
 
+                        'm4/md5.m4',
123816
 
+                        'm4/memcasecmp.m4',
123817
 
+                        'm4/memchr.m4',
123818
 
+                        'm4/memcoll.m4',
123819
 
+                        'm4/mempcpy.m4',
123820
 
+                        'm4/memrchr.m4',
123821
 
+                        'm4/mgetgroups.m4',
123822
 
+                        'm4/mkancesdirs.m4',
123823
 
+                        'm4/mkdir-p.m4',
123824
 
+                        'm4/mkdir.m4',
123825
 
+                        'm4/mkstemp.m4',
123826
 
+                        'm4/mktime.m4',
123827
 
+                        'm4/mmap-anon.m4',
123828
 
+                        'm4/mode_t.m4',
123829
 
+                        'm4/modechange.m4',
123830
 
+                        'm4/mountlist.m4',
123831
 
+                        'm4/mpsort.m4',
123832
 
+                        'm4/multiarch.m4',
123833
 
+                        'm4/nanosleep.m4',
123834
 
+                        'm4/netdb_h.m4',
123835
 
+                        'm4/netinet_in_h.m4',
123836
 
+                        'm4/nl_langinfo.m4',
123837
 
+                        'm4/nls.m4',
123838
 
+                        'm4/nocrash.m4',
123839
 
+                        'm4/nproc.m4',
123840
 
+                        'm4/open.m4',
123841
 
+                        'm4/openat.m4',
123842
 
+                        'm4/parse-datetime.m4',
123843
 
+                        'm4/pathmax.m4',
123844
 
+                        'm4/perl.m4',
123845
 
+                        'm4/perror.m4',
123846
 
+                        'm4/physmem.m4',
123847
 
+                        'm4/pipe.m4',
123848
 
+                        'm4/po.m4',
123849
 
+                        'm4/posix-shell.m4',
123850
 
+                        'm4/posixtm.m4',
123851
 
+                        'm4/posixver.m4',
123852
 
+                        'm4/prereq.m4',
123853
 
+                        'm4/printf-frexp.m4',
123854
 
+                        'm4/printf-frexpl.m4',
123855
 
+                        'm4/printf.m4',
123856
 
+                        'm4/priv-set.m4',
123857
 
+                        'm4/progtest.m4',
123858
 
+                        'm4/pthread.m4',
123859
 
+                        'm4/putenv.m4',
123860
 
+                        'm4/quote.m4',
123861
 
+                        'm4/quotearg.m4',
123862
 
+                        'm4/read-file.m4',
123863
 
+                        'm4/read.m4',
123864
 
+                        'm4/readlink.m4',
123865
 
+                        'm4/readlinkat.m4',
123866
 
+                        'm4/readtokens.m4',
123867
 
+                        'm4/readutmp.m4',
123868
 
+                        'm4/realloc.m4',
123869
 
+                        'm4/regex.m4',
123870
 
+                        'm4/remove.m4',
123871
 
+                        'm4/rename.m4',
123872
 
+                        'm4/rmdir.m4',
123873
 
+                        'm4/root-dev-ino.m4',
123874
 
+                        'm4/rpmatch.m4',
123875
 
+                        'm4/safe-read.m4',
123876
 
+                        'm4/safe-write.m4',
123877
 
+                        'm4/same.m4',
123878
 
+                        'm4/save-cwd.m4',
123879
 
+                        'm4/savedir.m4',
123880
 
+                        'm4/savewd.m4',
123881
 
+                        'm4/sched_h.m4',
123882
 
+                        'm4/select.m4',
123883
 
+                        'm4/selinux-context-h.m4',
123884
 
+                        'm4/selinux-selinux-h.m4',
123885
 
+                        'm4/servent.m4',
123886
 
+                        'm4/setenv.m4',
123887
 
+                        'm4/setlocale.m4',
123888
 
+                        'm4/settime.m4',
123889
 
+                        'm4/sha1.m4',
123890
 
+                        'm4/sha256.m4',
123891
 
+                        'm4/sha512.m4',
123892
 
+                        'm4/sig2str.m4',
123893
 
+                        'm4/sigaction.m4',
123894
 
+                        'm4/signal_h.m4',
123895
 
+                        'm4/signalblocking.m4',
123896
 
+                        'm4/signbit.m4',
123897
 
+                        'm4/size_max.m4',
123898
 
+                        'm4/sleep.m4',
123899
 
+                        'm4/snprintf.m4',
123900
 
+                        'm4/socketlib.m4',
123901
 
+                        'm4/sockets.m4',
123902
 
+                        'm4/socklen.m4',
123903
 
+                        'm4/sockpfaf.m4',
123904
 
+                        'm4/ssize_t.m4',
123905
 
+                        'm4/st_dm_mode.m4',
123906
 
+                        'm4/stat-prog.m4',
123907
 
+                        'm4/stat-size.m4',
123908
 
+                        'm4/stat-time.m4',
123909
 
+                        'm4/stat.m4',
123910
 
+                        'm4/stdarg.m4',
123911
 
+                        'm4/stdbool.m4',
123912
 
+                        'm4/stddef_h.m4',
123913
 
+                        'm4/stdint.m4',
123914
 
+                        'm4/stdint_h.m4',
123915
 
+                        'm4/stdio_h.m4',
123916
 
+                        'm4/stdlib_h.m4',
123917
 
+                        'm4/stpcpy.m4',
123918
 
+                        'm4/stpncpy.m4',
123919
 
+                        'm4/strdup.m4',
123920
 
+                        'm4/strerror.m4',
123921
 
+                        'm4/strerror_r.m4',
123922
 
+                        'm4/strftime.m4',
123923
 
+                        'm4/string_h.m4',
123924
 
+                        'm4/strndup.m4',
123925
 
+                        'm4/strnlen.m4',
123926
 
+                        'm4/strnumcmp.m4',
123927
 
+                        'm4/strsignal.m4',
123928
 
+                        'm4/strstr.m4',
123929
 
+                        'm4/strtod.m4',
123930
 
+                        'm4/strtoimax.m4',
123931
 
+                        'm4/strtoll.m4',
123932
 
+                        'm4/strtoull.m4',
123933
 
+                        'm4/strtoumax.m4',
123934
 
+                        'm4/symlink.m4',
123935
 
+                        'm4/symlinkat.m4',
123936
 
+                        'm4/sys_ioctl_h.m4',
123937
 
+                        'm4/sys_select_h.m4',
123938
 
+                        'm4/sys_socket_h.m4',
123939
 
+                        'm4/sys_stat_h.m4',
123940
 
+                        'm4/sys_time_h.m4',
123941
 
+                        'm4/sys_uio_h.m4',
123942
 
+                        'm4/sys_utsname_h.m4',
123943
 
+                        'm4/sys_wait_h.m4',
123944
 
+                        'm4/tempname.m4',
123945
 
+                        'm4/termios_h.m4',
123946
 
+                        'm4/thread.m4',
123947
 
+                        'm4/threadlib.m4',
123948
 
+                        'm4/time_h.m4',
123949
 
+                        'm4/time_r.m4',
123950
 
+                        'm4/timer_time.m4',
123951
 
+                        'm4/timespec.m4',
123952
 
+                        'm4/tls.m4',
123953
 
+                        'm4/tm_gmtoff.m4',
123954
 
+                        'm4/tzset.m4',
123955
 
+                        'm4/uname.m4',
123956
 
+                        'm4/ungetc.m4',
123957
 
+                        'm4/unicodeio.m4',
123958
 
+                        'm4/unistd-safer.m4',
123959
 
+                        'm4/unistd_h.m4',
123960
 
+                        'm4/unlink-busy.m4',
123961
 
+                        'm4/unlink.m4',
123962
 
+                        'm4/unlinkdir.m4',
123963
 
+                        'm4/unlocked-io.m4',
123964
 
+                        'm4/uptime.m4',
123965
 
+                        'm4/userspec.m4',
123966
 
+                        'm4/usleep.m4',
123967
 
+                        'm4/utimbuf.m4',
123968
 
+                        'm4/utimecmp.m4',
123969
 
+                        'm4/utimens.m4',
123970
 
+                        'm4/utimensat.m4',
123971
 
+                        'm4/utimes.m4',
123972
 
+                        'm4/vasnprintf.m4',
123973
 
+                        'm4/vasprintf-posix.m4',
123974
 
+                        'm4/vasprintf.m4',
123975
 
+                        'm4/version-etc.m4',
123976
 
+                        'm4/vfprintf-posix.m4',
123977
 
+                        'm4/vprintf-posix.m4',
123978
 
+                        'm4/warn-on-use.m4',
123979
 
+                        'm4/warnings.m4',
123980
 
+                        'm4/wchar_h.m4',
123981
 
+                        'm4/wchar_t.m4',
123982
 
+                        'm4/wcrtomb.m4',
123983
 
+                        'm4/wcswidth.m4',
123984
 
+                        'm4/wctob.m4',
123985
 
+                        'm4/wctomb.m4',
123986
 
+                        'm4/wctype_h.m4',
123987
 
+                        'm4/wcwidth.m4',
123988
 
+                        'm4/wint_t.m4',
123989
 
+                        'm4/write-any-file.m4',
123990
 
+                        'm4/write.m4',
123991
 
+                        'm4/xalloc.m4',
123992
 
+                        'm4/xattr.m4',
123993
 
+                        'm4/xfts.m4',
123994
 
+                        'm4/xgetcwd.m4',
123995
 
+                        'm4/xnanosleep.m4',
123996
 
+                        'm4/xsize.m4',
123997
 
+                        'm4/xstrndup.m4',
123998
 
+                        'm4/xstrtod.m4',
123999
 
+                        'm4/xstrtol.m4',
124000
 
+                        'm4/xvasprintf.m4',
124001
 
+                        'm4/yesno.m4',
124002
 
+                        'm4/yield.m4',
124003
 
+                        'configure.ac'
124004
 
+                      ],
124005
 
+                      {
124006
 
+                        'gl_PREREQ_UNAME' => 1,
124007
 
+                        'gl_POSIXVER' => 1,
124008
 
+                        'AM_XGETTEXT_OPTION_INIT' => 1,
124009
 
+                        'gt_TYPE_SSIZE_T' => 1,
124010
 
+                        'gl_PREREQ_TEMPNAME' => 1,
124011
 
+                        'gl_AC_HEADER_STDINT_H' => 1,
124012
 
+                        'gl_CHECK_ALL_TYPES' => 1,
124013
 
+                        'gl_MBRLEN_INCOMPLETE_STATE' => 1,
124014
 
+                        'gl_HEADERS_SELINUX_SELINUX_H' => 1,
124015
 
+                        'gl_PREREQ_XALLOC' => 1,
124016
 
+                        'gl_W' => 1,
124017
 
+                        'gl_VERSION_ETC' => 1,
124018
 
+                        'gl_FUNC_MKTIME' => 1,
124019
 
+                        'gl_INTTYPES_PRI_SCN' => 1,
124020
 
+                        'gl_FUNC_UNLINK_BUSY_TEXT' => 1,
124021
 
+                        'gl_PREREQ_TIME_R' => 1,
124022
 
+                        'gl_FLOAT_SIGNBIT_CODE' => 1,
124023
 
+                        'gl_FUNC_STPNCPY' => 1,
124024
 
+                        'gl_PREREQ_SETLOCALE' => 1,
124025
 
+                        'gl_GETOPT_SUBSTITUTE_HEADER' => 1,
124026
 
+                        '_m4_warn' => 1,
124027
 
+                        'gl_FUNC_MBRLEN' => 1,
124028
 
+                        'gl_TM_GMTOFF' => 1,
124029
 
+                        'gl_REPLACE_VPRINTF' => 1,
124030
 
+                        'gl_SYS_PROC_UPTIME' => 1,
124031
 
+                        'gl_PROMOTED_TYPE_MODE_T' => 1,
124032
 
+                        'gl_XGETCWD' => 1,
124033
 
+                        'coreutils_MACROS' => 1,
124034
 
+                        'AC_LIB_ARG_WITH' => 1,
124035
 
+                        'gl_FUNC_BTOWC' => 1,
124036
 
+                        'gl_FUNC_FNMATCH_GNU' => 1,
124037
 
+                        'gl_PREREQ_ASNPRINTF' => 1,
124038
 
+                        'gl_PREREQ_MBTOWC' => 1,
124039
 
+                        'gl_FUNC_CALLOC_GNU' => 1,
124040
 
+                        '_AM_AUTOCONF_VERSION' => 1,
124041
 
+                        'gl_FUNC_REMOVE' => 1,
124042
 
+                        'gl_GETHRXTIME' => 1,
124043
 
+                        'gl_THREADLIB_EARLY_BODY' => 1,
124044
 
+                        'gl_TYPE_SOCKLEN_T' => 1,
124045
 
+                        'gl_REPLACE_FCNTL' => 1,
124046
 
+                        'gl_FCNTL_H' => 1,
124047
 
+                        'gl_ACL_GET_FILE' => 1,
124048
 
+                        'AC_LIB_PREPARE_MULTILIB' => 1,
124049
 
+                        'gl_CTYPE_MODULE_INDICATOR' => 1,
124050
 
+                        'gl_XSTRTOD' => 1,
124051
 
+                        'gltests_LIBSOURCES' => 1,
124052
 
+                        'gl_GETNDELIM2' => 1,
124053
 
+                        'gt_AC_TYPE_INTMAX_T' => 1,
124054
 
+                        'gl_HEADER_STRING_H_DEFAULTS' => 1,
124055
 
+                        'gl_FUNC_FREOPEN' => 1,
124056
 
+                        'gl_SYS_SOCKET_H_DEFAULTS' => 1,
124057
 
+                        'gl_STAT_TIME' => 1,
124058
 
+                        'gl_POSIXTM' => 1,
124059
 
+                        'gl_DOUBLE_EXPONENT_LOCATION' => 1,
124060
 
+                        'gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
124061
 
+                        'gl_FILE_NAME_CONCAT' => 1,
124062
 
+                        'gl_FUNC_GETPAGESIZE' => 1,
124063
 
+                        'gl_SOCKET_HEADERS' => 1,
124064
 
+                        'gl_PREREQ_GETTIMEOFDAY' => 1,
124065
 
+                        'gl_STDBOOL_H' => 1,
124066
 
+                        'gl_CHECK_FREXP_NO_LIBM' => 1,
124067
 
+                        'gl_CLOSE_STREAM' => 1,
124068
 
+                        'gl_FUNC_GETCWD_LGPL' => 1,
124069
 
+                        'gl_PREREQ_VASNPRINTF_DIRECTIVE_LS' => 1,
124070
 
+                        'gl_PROG_AR_RANLIB' => 1,
124071
 
+                        'gl_PREREQ_FSUSAGE_EXTRA' => 1,
124072
 
+                        'gl_UNICODEIO' => 1,
124073
 
+                        'gl_SYS_WAIT_H_DEFAULTS' => 1,
124074
 
+                        'AC_C_RESTRICT' => 1,
124075
 
+                        'gl_LOCALE_H' => 1,
124076
 
+                        'gl_PREREQ_IMAXTOSTR' => 1,
124077
 
+                        'gl_SHA1' => 1,
124078
 
+                        'gl_EARLY' => 1,
124079
 
+                        'gl_FUNC_MKTIME_INTERNAL' => 1,
124080
 
+                        'AC_' => 1,
124081
 
+                        'gl_REPLACE_FUNCS' => 1,
124082
 
+                        'gl_FUNC_FFLUSH_STDIN' => 1,
124083
 
+                        'gl_FUNC_MBSLEN' => 1,
124084
 
+                        'AM_ICONV' => 1,
124085
 
+                        'gl_HEADER_NETDB' => 1,
124086
 
+                        'gl_STDIO_H_DEFAULTS' => 1,
124087
 
+                        'gl_SYS__SYSTEM_CONFIGURATION' => 1,
124088
 
+                        'gl_MOUNTLIST' => 1,
124089
 
+                        'gl_POSIX_SHELL' => 1,
124090
 
+                        'gl_FEATURES_H' => 1,
124091
 
+                        'gl_ARITHMETIC_HRTIME_T' => 1,
124092
 
+                        'gl_NETDB_MODULE_INDICATOR' => 1,
124093
 
+                        'AM_GNU_GETTEXT' => 1,
124094
 
+                        'gl_PREREQ_SAFE_READ' => 1,
124095
 
+                        'gl_FUNC_FREXP_WORKS' => 1,
124096
 
+                        'gl_PREREQ_MEMPCPY' => 1,
124097
 
+                        'gl_GETUGROUPS' => 1,
124098
 
+                        'gl_PREREQ_GETNDELIM2' => 1,
124099
 
+                        'gl_PREREQ_BTOWC' => 1,
124100
 
+                        '_AC_AM_CONFIG_HEADER_HOOK' => 1,
124101
 
+                        'gl_PREREQ_LOCK' => 1,
124102
 
+                        'gl_MBITER' => 1,
124103
 
+                        'gl_SIGNAL_MODULE_INDICATOR' => 1,
124104
 
+                        'gl_INTTOSTR' => 1,
124105
 
+                        'AM_MAKE_INCLUDE' => 1,
124106
 
+                        'gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE' => 1,
124107
 
+                        'gl_CYCLE_CHECK' => 1,
124108
 
+                        'gl_FUNC_ISWBLANK' => 1,
124109
 
+                        'gl_INTEGER_TYPE_SUFFIX' => 1,
124110
 
+                        'gt_INTTYPES_PRI' => 1,
124111
 
+                        'gl_WRITE_ANY_FILE' => 1,
124112
 
+                        'AC_C_FLEXIBLE_ARRAY_MEMBER' => 1,
124113
 
+                        'gl_PREREQ_MKSTEMP' => 1,
124114
 
+                        'gl_FUNC_FUTIMENS' => 1,
124115
 
+                        'gl_PREREQ_STRSIGNAL' => 1,
124116
 
+                        'cu_GMP' => 1,
124117
 
+                        'gl_FUNC_LINK' => 1,
124118
 
+                        'gl_MODECHANGE' => 1,
124119
 
+                        'gl_PREREQ_MEMCHR' => 1,
124120
 
+                        'gl_PREREQ_GETOPT' => 1,
124121
 
+                        'gl_FUNC_SYMLINKAT' => 1,
124122
 
+                        'gl_FUNC_GETDTABLESIZE' => 1,
124123
 
+                        'gl_FUNC_WCRTOMB' => 1,
124124
 
+                        'gl_UNLINKDIR' => 1,
124125
 
+                        'gl_FUNC_UTIMENSAT' => 1,
124126
 
+                        'gl_PREREQ_NPROC' => 1,
124127
 
+                        'gl_INTTYPES_H' => 1,
124128
 
+                        'gl_FUNC_FTS_CORE' => 1,
124129
 
+                        'gl_FUNC_STAT' => 1,
124130
 
+                        'gl_PREREQ_CHDIR_LONG' => 1,
124131
 
+                        'gl_FUNC_FTELL' => 1,
124132
 
+                        'gl_FUNC_FDOPENDIR' => 1,
124133
 
+                        'gl_PREREQ_XMALLOC' => 1,
124134
 
+                        'gl_MODULE_INDICATOR_FOR_TESTS' => 1,
124135
 
+                        'AC_FUNC_MBRTOWC' => 1,
124136
 
+                        'gl_FUNC_CHOWN' => 1,
124137
 
+                        'gl_TLS' => 1,
124138
 
+                        'gl_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL' => 1,
124139
 
+                        'gl_DIRENT_H' => 1,
124140
 
+                        'gl_FUNC_FCNTL' => 1,
124141
 
+                        'gl_FSUSAGE' => 1,
124142
 
+                        'm4_pattern_allow' => 1,
124143
 
+                        'gl_PREREQ_FNMATCH' => 1,
124144
 
+                        'gl_HEADER_STRING_H_BODY' => 1,
124145
 
+                        'gl_WARN_ON_USE_PREPARE' => 1,
124146
 
+                        'gl_PREREQ_GROUP_MEMBER' => 1,
124147
 
+                        'gl_PREREQ_GETHOSTNAME' => 1,
124148
 
+                        'gl_GNU_MAKE' => 1,
124149
 
+                        'gl_PREREQ_STRNLEN' => 1,
124150
 
+                        'gl_FUNC_SETENV' => 1,
124151
 
+                        'gl_STDLIB_H' => 1,
124152
 
+                        'gl_SYS_IOCTL_H_DEFAULTS' => 1,
124153
 
+                        'gl_PREREQ_MBRTOWC' => 1,
124154
 
+                        'gl_ISAPIPE' => 1,
124155
 
+                        'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
124156
 
+                        'gl_CHECK_TYPE_SIGSET_T' => 1,
124157
 
+                        'gl_PREREQ_VPRINTF' => 1,
124158
 
+                        'gl_XVASPRINTF' => 1,
124159
 
+                        'gl_PREREQ_FOPEN' => 1,
124160
 
+                        'AM_INIT_AUTOMAKE' => 1,
124161
 
+                        'gl_AC_TYPE_UINTMAX_T' => 1,
124162
 
+                        'gl_HEADER_SYS_SELECT' => 1,
124163
 
+                        'gl_SNPRINTF_RETVAL_C99' => 1,
124164
 
+                        'gl_STAT_BIRTHTIME' => 1,
124165
 
+                        'gl_LOCALE_H_DEFAULTS' => 1,
124166
 
+                        'gl_TIMER_TIME' => 1,
124167
 
+                        'gl_FUNC_STRERROR_0' => 1,
124168
 
+                        'gl_FUNC_SLEEP' => 1,
124169
 
+                        'gl_PHYSMEM' => 1,
124170
 
+                        'gl_COMMON' => 1,
124171
 
+                        'gl_FUNC_LDEXP' => 1,
124172
 
+                        'gl_PREREQ_OFFTOSTR' => 1,
124173
 
+                        'gl_FUNC_GETOPT_GNU' => 1,
124174
 
+                        'gl_PREREQ_STRDUP' => 1,
124175
 
+                        'gl_LIBSOURCES' => 1,
124176
 
+                        'gl_PTHREAD_DEFAULTS' => 1,
124177
 
+                        'gl_FUNC_FTS' => 1,
124178
 
+                        'gl_FUNC_SETENV_SEPARATE' => 1,
124179
 
+                        'gl_GLIBC21' => 1,
124180
 
+                        'gl_WCHAR_MODULE_INDICATOR' => 1,
124181
 
+                        'gl_C_STRTOD' => 1,
124182
 
+                        'gl_PREREQ_VASPRINTF_H' => 1,
124183
 
+                        '_AM_SET_OPTIONS' => 1,
124184
 
+                        'gl_FUNC_MBTOWC' => 1,
124185
 
+                        '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
124186
 
+                        'gl_FUNC_LINKAT' => 1,
124187
 
+                        'gl_STDINT_INCLUDES' => 1,
124188
 
+                        'AM_SET_DEPDIR' => 1,
124189
 
+                        'gl_FUNC_FOPEN' => 1,
124190
 
+                        'gl_FILEMODE' => 1,
124191
 
+                        'AC_CHECK_HEADER_STDBOOL' => 1,
124192
 
+                        'gl_FUNC_INET_PTON' => 1,
124193
 
+                        'gl_USERSPEC' => 1,
124194
 
+                        'gl_SYS_UTSNAME_H' => 1,
124195
 
+                        'gl_CANONICALIZE_LGPL_SEPARATE' => 1,
124196
 
+                        'gl_PREREQ_VASNPRINTF_PRECISION' => 1,
124197
 
+                        'gl_INCLUDE_EXCLUDE_PROG' => 1,
124198
 
+                        'AC_DEFUN' => 1,
124199
 
+                        'gl_I_RING' => 1,
124200
 
+                        'gl_ADD_PROG' => 1,
124201
 
+                        'gl_PREREQ_GETHRXTIME' => 1,
124202
 
+                        'AM_PROG_MKDIR_P' => 1,
124203
 
+                        'gl_WARN_ADD' => 1,
124204
 
+                        'AM_AUTOMAKE_VERSION' => 1,
124205
 
+                        'gl_FUNC_GLIBC_UNLOCKED_IO' => 1,
124206
 
+                        'gl_FUNC_GEN_TEMPNAME' => 1,
124207
 
+                        'gt_PRINTF_POSIX' => 1,
124208
 
+                        'AM_MISSING_PROG' => 1,
124209
 
+                        'gl_FUNC_OPEN' => 1,
124210
 
+                        'gl_INCLUDE_NEXT' => 1,
124211
 
+                        'gl_YESNO' => 1,
124212
 
+                        'gl_SYS_IOCTL_H' => 1,
124213
 
+                        'gl_LONG_DOUBLE_SIGN_LOCATION' => 1,
124214
 
+                        'gl_DOUBLE_SIGN_LOCATION' => 1,
124215
 
+                        'gl_PREREQ_FSYNC' => 1,
124216
 
+                        'gl_NPROC' => 1,
124217
 
+                        'gl_PREREQ' => 1,
124218
 
+                        'gl_MANYWARN_COMPLEMENT' => 1,
124219
 
+                        'gl_SYS_SELECT_MODULE_INDICATOR' => 1,
124220
 
+                        'gl_FUNC_REALLOC_POSIX' => 1,
124221
 
+                        'gl_FUNC_PRINTF_FREXPL' => 1,
124222
 
+                        'gl_HOSTENT' => 1,
124223
 
+                        'gl_FUNC_MKSTEMP' => 1,
124224
 
+                        'gl_PREREQ_SYS_H_WINSOCK2' => 1,
124225
 
+                        'gl_ERROR' => 1,
124226
 
+                        'gl_FLOATTYPE_SIGN_LOCATION' => 1,
124227
 
+                        'gl_ASSERT_NO_GNULIB_TESTS' => 1,
124228
 
+                        'gl_STATFS_TRUNCATES' => 1,
124229
 
+                        'gl_TERMIOS_H' => 1,
124230
 
+                        'gl_C99_STRTOLD' => 1,
124231
 
+                        'gl_UNISTD_SAFER' => 1,
124232
 
+                        'gl_FUNC_FTELLO' => 1,
124233
 
+                        'gl_GETTIME' => 1,
124234
 
+                        'AM_ICONV_LINK' => 1,
124235
 
+                        'AC_USE_SYSTEM_EXTENSIONS' => 1,
124236
 
+                        'gl_MATH_MODULE_INDICATOR' => 1,
124237
 
+                        'gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE' => 1,
124238
 
+                        'gl_PREREQ_MBRLEN' => 1,
124239
 
+                        'AC_LIB_HAVE_LINKFLAGS' => 1,
124240
 
+                        'gl_LONG_DOUBLE_EXPONENT_LOCATION' => 1,
124241
 
+                        'gl_FUNC_STRDUP_POSIX' => 1,
124242
 
+                        '_AM_SET_OPTION' => 1,
124243
 
+                        'gl_LOCALENAME' => 1,
124244
 
+                        'gl_FUNC_READ' => 1,
124245
 
+                        'gl_SYS_SELECT_H_DEFAULTS' => 1,
124246
 
+                        'gl_PREREQ_OPEN' => 1,
124247
 
+                        'gl_FUNC_GETPASS' => 1,
124248
 
+                        'gl_SAVE_CWD' => 1,
124249
 
+                        'AM_STDBOOL_H' => 1,
124250
 
+                        'gl_HEADER_STRING_H' => 1,
124251
 
+                        'gl_BACKUPFILE' => 1,
124252
 
+                        'gl_CHECK_SOCKET_HEADERS' => 1,
124253
 
+                        'gl_PREREQ_OPENAT' => 1,
124254
 
+                        'gl_FUNC_FSTATAT' => 1,
124255
 
+                        'gl_PREREQ_INET_PTON' => 1,
124256
 
+                        'gl_FUNC_IOCTL' => 1,
124257
 
+                        'gl_EEALLOC' => 1,
124258
 
+                        'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
124259
 
+                        'gl_COMMON_BODY' => 1,
124260
 
+                        'gl_PREREQ_ERROR' => 1,
124261
 
+                        'gl_PREREQ_PRINTF_PARSE' => 1,
124262
 
+                        'gl_STDIN_LARGE_OFFSET' => 1,
124263
 
+                        'gl_FUNC_ISNANL_WORKS' => 1,
124264
 
+                        'gl_HEADER_NETINET_IN' => 1,
124265
 
+                        'gl_MBRTOWC_NULL_ARG1' => 1,
124266
 
+                        'gl_FUNC_FREXP' => 1,
124267
 
+                        'gl_FILE_NAME_CONCAT_LGPL' => 1,
124268
 
+                        'gl_FUNC_LCHMOD' => 1,
124269
 
+                        'gt_INTDIV0' => 1,
124270
 
+                        'include' => 1,
124271
 
+                        'gl_STDIO_H' => 1,
124272
 
+                        'gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE' => 1,
124273
 
+                        'gl_ICONV_H' => 1,
124274
 
+                        'gl_OPENAT_SAFER' => 1,
124275
 
+                        'gl_FUNC_ISNANF_NO_LIBM' => 1,
124276
 
+                        'gl_PREREQ_ISNAND' => 1,
124277
 
+                        'gl_FUNC_STRTOIMAX' => 1,
124278
 
+                        'AM_POSTPROCESS_PO_MAKEFILE' => 1,
124279
 
+                        'gl_ROOT_DEV_INO' => 1,
124280
 
+                        'gl_PREREQ_SOCKETS' => 1,
124281
 
+                        'gl_FUNC_NONREENTRANT_EUIDACCESS' => 1,
124282
 
+                        'AM_C_PROTOTYPES' => 1,
124283
 
+                        'gl_EUIDACCESS_STAT' => 1,
124284
 
+                        'gl_PREREQ_UMAXTOSTR' => 1,
124285
 
+                        'gl_AC_HEADER_INTTYPES_H' => 1,
124286
 
+                        'gl_FUNC_STRERROR_R' => 1,
124287
 
+                        'gl_HAVE_ISNAND_IN_LIBM' => 1,
124288
 
+                        'gl_SETTIME' => 1,
124289
 
+                        'gl_EEMALLOC' => 1,
124290
 
+                        'AC_LIB_PREPARE_PREFIX' => 1,
124291
 
+                        'gl_PREREQ_SIGPROCMASK' => 1,
124292
 
+                        'gl_FUNC_ISNANL' => 1,
124293
 
+                        'gl_PREREQ_GETLOADAVG' => 1,
124294
 
+                        'gl_FUNC_READLINK_SEPARATE' => 1,
124295
 
+                        'gl_FSTYPENAME' => 1,
124296
 
+                        'gl_FUNC_CHOWN_FOLLOWS_SYMLINK' => 1,
124297
 
+                        'gl_FUNC_FACCESSAT' => 1,
124298
 
+                        'gl_FUNC_GETHOSTNAME' => 1,
124299
 
+                        'gl_SNPRINTF_PRESENCE' => 1,
124300
 
+                        'gl_FUNC_WCTOMB' => 1,
124301
 
+                        'gl_FUNC_WCSWIDTH' => 1,
124302
 
+                        'gl_PREREQ_GETPASS' => 1,
124303
 
+                        'gl_FUNC_VASNPRINTF' => 1,
124304
 
+                        'gl_CONFIGMAKE_PREP' => 1,
124305
 
+                        'gl_PREREQ_WCTOMB' => 1,
124306
 
+                        'gl_SYS_WAIT_MODULE_INDICATOR' => 1,
124307
 
+                        'gl_PREREQ_STRTOULL' => 1,
124308
 
+                        'gl_PREREQ_SAFE_WRITE' => 1,
124309
 
+                        'AM_GNU_GETTEXT_VERSION' => 1,
124310
 
+                        'gl_FUNC_MEMPCPY' => 1,
124311
 
+                        'gl_PREREQ_ASPRINTF' => 1,
124312
 
+                        'gl_THREADLIB' => 1,
124313
 
+                        'gl_FUNC_GROUP_MEMBER' => 1,
124314
 
+                        'gl_ASSERT' => 1,
124315
 
+                        'gl_PRINTF_INFINITE_LONG_DOUBLE' => 1,
124316
 
+                        'gl_FUNC_MALLOC_GNU' => 1,
124317
 
+                        'gt_CHECK_VAR_DECL' => 1,
124318
 
+                        'gl_FUNC_ICONV_OPEN' => 1,
124319
 
+                        'gl_PREREQ_VASNPRINTF_DIRECTIVE_F' => 1,
124320
 
+                        'gl_MODULE_INDICATOR_SET_VARIABLE' => 1,
124321
 
+                        'gl_HEADERS_SELINUX_CONTEXT_H' => 1,
124322
 
+                        'gl_FUNC_FSEEKO' => 1,
124323
 
+                        'gl_FUNC_LDEXPL' => 1,
124324
 
+                        'gl_PREREQ_RPMATCH' => 1,
124325
 
+                        'gl_THREADLIB_EARLY' => 1,
124326
 
+                        'gl_MODULE_INDICATOR_SET_VARIABLE_AUX' => 1,
124327
 
+                        'gl_SHA256' => 1,
124328
 
+                        'gl_FUNC_GNU_STRFTIME' => 1,
124329
 
+                        'gl_PREREQ_XSTRNDUP' => 1,
124330
 
+                        'gl_FUNC_FPENDING' => 1,
124331
 
+                        'gl_FUNC_GETGROUPS' => 1,
124332
 
+                        'gl_FUNC_ISNAND' => 1,
124333
 
+                        'AM_PATH_PROG_WITH_TEST' => 1,
124334
 
+                        'gl_PREREQ_WCRTOMB' => 1,
124335
 
+                        'gl_UNISTD_H_DEFAULTS' => 1,
124336
 
+                        'gl_GETTIMEOFDAY_REPLACE_LOCALTIME' => 1,
124337
 
+                        'gl_LANGINFO_H_DEFAULTS' => 1,
124338
 
+                        'gl_REPLACE_VASNPRINTF' => 1,
124339
 
+                        'gl_PREREQ_VASPRINTF' => 1,
124340
 
+                        'gl_SIGNAL_H_DEFAULTS' => 1,
124341
 
+                        'AM_GNU_GETTEXT_NEED' => 1,
124342
 
+                        'gl_NETDB_H_DEFAULTS' => 1,
124343
 
+                        'gl_HEADER_TIME_H' => 1,
124344
 
+                        'gl_FUNC_VFPRINTF_POSIX' => 1,
124345
 
+                        'gl_FUNC_MEMCHR' => 1,
124346
 
+                        'gl_FUNC_STRFTIME' => 1,
124347
 
+                        'gl_PREREQ_REGEX' => 1,
124348
 
+                        'gl_FUNC_RPMATCH' => 1,
124349
 
+                        'gl_XTIME' => 1,
124350
 
+                        'gl_PREREQ_SIG2STR' => 1,
124351
 
+                        'gl_PREREQ_ISNANL' => 1,
124352
 
+                        'gl_CONFIG_H' => 1,
124353
 
+                        'AC_PROG_MKDIR_P' => 1,
124354
 
+                        'gl_PRINTF_DIRECTIVE_F' => 1,
124355
 
+                        'gl_VISIBILITY' => 1,
124356
 
+                        'gl_REPLACE_ERRNO_VALUE' => 1,
124357
 
+                        'gt_LOCALE_FR' => 1,
124358
 
+                        'gl_FUNC_GETCWD_NULL' => 1,
124359
 
+                        'gl_GETADDRINFO' => 1,
124360
 
+                        'gl_PREREQ_READLINK' => 1,
124361
 
+                        'gl_LIBUNISTRING_VERSION_CMP' => 1,
124362
 
+                        'gl_FUNC_MBSRTOWCS' => 1,
124363
 
+                        'gl_MBRTOWC_INCOMPLETE_STATE' => 1,
124364
 
+                        'gl_INTTYPES_INCOMPLETE' => 1,
124365
 
+                        'gl_DISABLE_THREADS' => 1,
124366
 
+                        'gl_MODULE_INDICATOR' => 1,
124367
 
+                        'gl_FUNC_SYMLINK' => 1,
124368
 
+                        'gl_FUNC_FCHOWNAT_EMPTY_FILENAME_BUG' => 1,
124369
 
+                        'gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H' => 1,
124370
 
+                        'gl_CHECK_MALLOC_POSIX' => 1,
124371
 
+                        'gl_FUNC_FFLUSH' => 1,
124372
 
+                        'gl_STRINTCMP' => 1,
124373
 
+                        'gl_MBRLEN_RETVAL' => 1,
124374
 
+                        'gl_STDLIB_H_DEFAULTS' => 1,
124375
 
+                        'gl_PREREQ_SETENV' => 1,
124376
 
+                        'gl_PREREQ_GETLINE' => 1,
124377
 
+                        'gl_PREREQ_LSTAT' => 1,
124378
 
+                        'gl_PTHREAD_CHECK' => 1,
124379
 
+                        'gl_MEMCASECMP' => 1,
124380
 
+                        'AM_RUN_LOG' => 1,
124381
 
+                        'gl_FUNC_FREADING' => 1,
124382
 
+                        'gt_LOCALE_FR_UTF8' => 1,
124383
 
+                        'AC_SYS_LARGEFILE' => 1,
124384
 
+                        'gl_CLOSEOUT' => 1,
124385
 
+                        'gl_PREREQ_DIRFD' => 1,
124386
 
+                        'gl_SOCKETS' => 1,
124387
 
+                        'gl_PREREQ_UNSETENV' => 1,
124388
 
+                        'gl_PRIV_SET' => 1,
124389
 
+                        'gl_HEADER_TIME_H_BODY' => 1,
124390
 
+                        'gl_LOCALCHARSET' => 1,
124391
 
+                        'gl_WCTYPE_MODULE_INDICATOR' => 1,
124392
 
+                        'AC_LIB_PROG_LD' => 1,
124393
 
+                        'gl_DIRENT_MODULE_INDICATOR' => 1,
124394
 
+                        'gl_SNPRINTF_DIRECTIVE_N' => 1,
124395
 
+                        'gl_FUNC_SIG2STR' => 1,
124396
 
+                        'gl_HEADER_SYS_UIO' => 1,
124397
 
+                        'gl_FUNC_STRTOLL' => 1,
124398
 
+                        'gl_DIRENT_SAFER' => 1,
124399
 
+                        'gl_PREREQ_ISNANF' => 1,
124400
 
+                        'gl_SYS_UTSNAME_H_DEFAULTS' => 1,
124401
 
+                        'gl_FUNC_TZSET' => 1,
124402
 
+                        'gl_FUNC_SNPRINTF' => 1,
124403
 
+                        'gl_TIME_R' => 1,
124404
 
+                        'gl_STDDEF_H_DEFAULTS' => 1,
124405
 
+                        'gl_PREREQ_PRINTF_ARGS' => 1,
124406
 
+                        'gl_CHECK_LDEXP_NO_LIBM' => 1,
124407
 
+                        'gl_DOUBLE_SLASH_ROOT' => 1,
124408
 
+                        'gl_DEFAULT_POSIX2_VERSION' => 1,
124409
 
+                        'gl_UNISTD_MODULE_INDICATOR' => 1,
124410
 
+                        'gl_CHECK_TYPE_STRUCT_DIRENT_D_INO' => 1,
124411
 
+                        'gt_LOCALE_TR_UTF8' => 1,
124412
 
+                        'gl_SYS_STAT_MODULE_INDICATOR' => 1,
124413
 
+                        'GNULIB_BOOT_TIME' => 1,
124414
 
+                        'AM_SUBST_NOTMAKE' => 1,
124415
 
+                        'gl_CTYPE_H' => 1,
124416
 
+                        'gl_REMOVE_PROG' => 1,
124417
 
+                        'gl_FUNC_MBSINIT' => 1,
124418
 
+                        'gl_FUNC_STRNDUP' => 1,
124419
 
+                        'AM_SANITY_CHECK' => 1,
124420
 
+                        'gl_DIRNAME' => 1,
124421
 
+                        'gl_READTOKENS' => 1,
124422
 
+                        'gl_CANONICALIZE_LGPL' => 1,
124423
 
+                        'gl_FUNC_NANOSLEEP' => 1,
124424
 
+                        'gl_FUNC_STRSTR_SIMPLE' => 1,
124425
 
+                        'gl_DOUBLE_SIGNBIT_CODE' => 1,
124426
 
+                        'gl_CACHE_VAL_SILENT' => 1,
124427
 
+                        'gl_HOST_OS' => 1,
124428
 
+                        'gl_SERVENT' => 1,
124429
 
+                        'gl_C_STRTOLD' => 1,
124430
 
+                        'gl_FUNC_CHDIR_LONG' => 1,
124431
 
+                        'gl_SIGNALBLOCKING' => 1,
124432
 
+                        'gl_LIBOBJ' => 1,
124433
 
+                        'gl_HEADER_SYS_TIME_H_DEFAULTS' => 1,
124434
 
+                        'gl_PREREQ_MEMRCHR' => 1,
124435
 
+                        'gl_PREREQ_NANOSLEEP' => 1,
124436
 
+                        'gl_SAME' => 1,
124437
 
+                        'gl_WINSIZE_IN_PTEM' => 1,
124438
 
+                        'gl_WCHAR_H_DEFAULTS' => 1,
124439
 
+                        'gl_UTIMENS' => 1,
124440
 
+                        'gl_XALLOC' => 1,
124441
 
+                        'gl_HEADER_SYS_SOCKET' => 1,
124442
 
+                        'gt_INTL_MACOSX' => 1,
124443
 
+                        'gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION' => 1,
124444
 
+                        'gl_MBRLEN_NUL_RETVAL' => 1,
124445
 
+                        'fp_C_PROTOTYPES' => 1,
124446
 
+                        'gl_LIBUNISTRING_LIB_PREPARE' => 1,
124447
 
+                        'gl_PREREQ_FILEBLOCKS' => 1,
124448
 
+                        '_AC_TYPE_LONG_LONG_SNIPPET' => 1,
124449
 
+                        'gl_LIBSELINUX' => 1,
124450
 
+                        'gl_REGEX' => 1,
124451
 
+                        'gl_INLINE' => 1,
124452
 
+                        'gl_FUNC_STRNLEN' => 1,
124453
 
+                        'gl_FUNC_LINK_FOLLOWS_SYMLINK' => 1,
124454
 
+                        'gl_QUOTE' => 1,
124455
 
+                        'gl_NEXT_HEADERS' => 1,
124456
 
+                        'gl_FUNC_FREXPL_WORKS' => 1,
124457
 
+                        'gl_REPLACE_VASPRINTF' => 1,
124458
 
+                        'gl_PREREQ_STRTOIMAX' => 1,
124459
 
+                        'gl_FLOAT_H' => 1,
124460
 
+                        'AC_LIB_PREFIX' => 1,
124461
 
+                        'AB_INIT' => 1,
124462
 
+                        'gl_STDLIB_MODULE_INDICATOR' => 1,
124463
 
+                        'gl_PREREQ_VASNPRINTF_FLAG_GROUPING' => 1,
124464
 
+                        'AC_DEFUN_ONCE' => 1,
124465
 
+                        'gl_FUNC_ACL' => 1,
124466
 
+                        'gl_FUNC_UTIMES' => 1,
124467
 
+                        'gl_PATHMAX' => 1,
124468
 
+                        'gl_PREREQ_READ_FILE' => 1,
124469
 
+                        'gl_PRINTF_PRECISION' => 1,
124470
 
+                        'gl_FUNC_STRTOD' => 1,
124471
 
+                        'gl_FUNC_LSEEK' => 1,
124472
 
+                        'gl_SYS_TIME_MODULE_INDICATOR' => 1,
124473
 
+                        'gl_FUNC_PUTENV' => 1,
124474
 
+                        'gl_PREREQ_GETCWD' => 1,
124475
 
+                        'gl_SYS_UIO_H_DEFAULTS' => 1,
124476
 
+                        'gl_MBRTOWC_SANITYCHECK' => 1,
124477
 
+                        'gl_READUTMP' => 1,
124478
 
+                        'gl_FUNC_VASPRINTF_POSIX' => 1,
124479
 
+                        'AC_LIB_WITH_FINAL_PREFIX' => 1,
124480
 
+                        'gl_CLOSEIN' => 1,
124481
 
+                        'gt_TYPE_WINT_T' => 1,
124482
 
+                        'gl_PREREQ_VASNPRINTF' => 1,
124483
 
+                        'AM_PROG_CC_C_O' => 1,
124484
 
+                        'gl_MBCHAR' => 1,
124485
 
+                        'gl_SOCKET_FAMILY_UNIX' => 1,
124486
 
+                        'gl_STRNUMCMP' => 1,
124487
 
+                        'gl_HEADER_SYS_STAT_H' => 1,
124488
 
+                        'gl_INIT' => 1,
124489
 
+                        'gl_MEMCOLL' => 1,
124490
 
+                        'gl_MBRTOWC_NUL_RETVAL' => 1,
124491
 
+                        'gl_PREREQ_GETADDRINFO' => 1,
124492
 
+                        'm4_include' => 1,
124493
 
+                        'gl_SYS_UTSNAME_MODULE_INDICATOR' => 1,
124494
 
+                        'gl_FUNC_READLINK' => 1,
124495
 
+                        'gl_PREREQ_STPCPY' => 1,
124496
 
+                        'gl_PRINTF_LONG_DOUBLE' => 1,
124497
 
+                        'gl_INTTYPES_H_DEFAULTS' => 1,
124498
 
+                        'gl_FUNC_NL_LANGINFO' => 1,
124499
 
+                        'gl_FUNC_WCWIDTH' => 1,
124500
 
+                        'gl_NEXT_HEADERS_INTERNAL' => 1,
124501
 
+                        'gl_FUNC_ISBLANK' => 1,
124502
 
+                        'gl_FUNC_INET_NTOP' => 1,
124503
 
+                        'gl_MKDIR_PARENTS' => 1,
124504
 
+                        'gl_HAVE_ISNANF_IN_LIBM' => 1,
124505
 
+                        'gl_PREREQ_VASNPRINTF_WITH_EXTRAS' => 1,
124506
 
+                        'AM_MISSING_HAS_RUN' => 1,
124507
 
+                        'gl_SIGNBIT_TEST_PROGRAM' => 1,
124508
 
+                        'AC_TYPE_LONG_LONG_INT' => 1,
124509
 
+                        'gl_INTTYPES_MODULE_INDICATOR' => 1,
124510
 
+                        'gl_FUNC_PERROR' => 1,
124511
 
+                        'gl_CHECK_NEXT_HEADERS' => 1,
124512
 
+                        'AC_LIB_PROG_LD_GNU' => 1,
124513
 
+                        'gl_FUNC_FPURGE' => 1,
124514
 
+                        'gl_STDIO_MODULE_INDICATOR' => 1,
124515
 
+                        'gl_STDINT_H' => 1,
124516
 
+                        'gl_FUNC_XFTS' => 1,
124517
 
+                        'gl_FUNC_LCHOWN' => 1,
124518
 
+                        'gl_SYS_STAT_H_DEFAULTS' => 1,
124519
 
+                        'gl_PREREQ_ALLOCA' => 1,
124520
 
+                        'gl_PREREQ_VFPRINTF' => 1,
124521
 
+                        'gl_IGNORE_UNUSED_LIBRARIES' => 1,
124522
 
+                        'AC_COMPUTE_INT' => 1,
124523
 
+                        'gl_SOCKET_FAMILIES' => 1,
124524
 
+                        'gl_PRINTF_SIZES_C99' => 1,
124525
 
+                        '_AM_IF_OPTION' => 1,
124526
 
+                        'gl_FUNC_VPRINTF_POSIX' => 1,
124527
 
+                        'gl_CHECK_TYPES_SIGNED' => 1,
124528
 
+                        'AM_SET_LEADING_DOT' => 1,
124529
 
+                        'gl_CHECK_DECLS' => 1,
124530
 
+                        'gl_UTIMECMP' => 1,
124531
 
+                        'gl_VSNPRINTF_ZEROSIZE_C99' => 1,
124532
 
+                        'gl_SYS_SOCKET_MODULE_INDICATOR' => 1,
124533
 
+                        'gl_GETLOADAVG' => 1,
124534
 
+                        'gl_MKANCESDIRS' => 1,
124535
 
+                        'gt_CHECK_DECL' => 1,
124536
 
+                        'gl_FD_REOPEN' => 1,
124537
 
+                        'AC_LIB_LINKFLAGS' => 1,
124538
 
+                        'gl_FUNC_FCLOSE' => 1,
124539
 
+                        'gl_SCHED_H' => 1,
124540
 
+                        'gl_MBSTATE_T_BROKEN' => 1,
124541
 
+                        'gl_EEREALLOC' => 1,
124542
 
+                        'gl_FUNC_CLOSE' => 1,
124543
 
+                        'gl_PRINTF_ENOMEM' => 1,
124544
 
+                        'gl_SAVEDIR' => 1,
124545
 
+                        'gl_PREREQ_FCHDIR' => 1,
124546
 
+                        'gl_STDDEF_MODULE_INDICATOR' => 1,
124547
 
+                        'gl_TERMIOS_MODULE_INDICATOR' => 1,
124548
 
+                        'gl_WCHAR_H_INLINE_OK' => 1,
124549
 
+                        'gl_FUNC_SETLOCALE' => 1,
124550
 
+                        'gl_FUNC_LSTAT' => 1,
124551
 
+                        'gl_HARD_LOCALE' => 1,
124552
 
+                        'gl_STRING_MODULE_INDICATOR' => 1,
124553
 
+                        'gl_FUNC_STRSIGNAL' => 1,
124554
 
+                        'gt_GLIBC2' => 1,
124555
 
+                        'gl_LOCK' => 1,
124556
 
+                        'gl_FUNC_XATTR' => 1,
124557
 
+                        'gl_FUNC_STRERROR_R_WORKS' => 1,
124558
 
+                        'AC_STRUCT_ST_DM_MODE' => 1,
124559
 
+                        'gt_TYPE_WCHAR_T' => 1,
124560
 
+                        'gl_CHECK_ALL_HEADERS' => 1,
124561
 
+                        'gl_FUNC_FCHOWNAT' => 1,
124562
 
+                        'gl_PREREQ_GETDELIM' => 1,
124563
 
+                        'gl_DIRENT_H_DEFAULTS' => 1,
124564
 
+                        'gl_PREREQ_MBSRTOWCS' => 1,
124565
 
+                        'gl_WCHAR_H' => 1,
124566
 
+                        'gl_FUNC_ALLOCA' => 1,
124567
 
+                        'gl_WCTYPE_H' => 1,
124568
 
+                        'gl_FUNC_WCTOB' => 1,
124569
 
+                        'gl_FUNC_UNLINK' => 1,
124570
 
+                        'gl_FUNC_UNAME' => 1,
124571
 
+                        'gltests_LIBOBJ' => 1,
124572
 
+                        'gl_FUNC_DIRFD' => 1,
124573
 
+                        'gl_FILEBLOCKS' => 1,
124574
 
+                        'AM_AUX_DIR_EXPAND' => 1,
124575
 
+                        'gl_CHECK_FREXPL_NO_LIBM' => 1,
124576
 
+                        'gl_HEADER_SYS_TIME_H_BODY' => 1,
124577
 
+                        'AC_LIB_LINKFLAGS_FROM_LIBS' => 1,
124578
 
+                        'gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR' => 1,
124579
 
+                        'gl_HAVE_ISNANL_IN_LIBM' => 1,
124580
 
+                        'gl_FUNC_READLINKAT' => 1,
124581
 
+                        'AC_LIB_LINKFLAGS_BODY' => 1,
124582
 
+                        'gl_THREAD' => 1,
124583
 
+                        'gl_GETOPT_CHECK_HEADERS' => 1,
124584
 
+                        'gl_PRINTF_DIRECTIVE_LS' => 1,
124585
 
+                        'gl_FUNC_FNMATCH_POSIX' => 1,
124586
 
+                        '_AM_MANGLE_OPTION' => 1,
124587
 
+                        'AC_TYPE_UNSIGNED_LONG_LONG_INT' => 1,
124588
 
+                        'gl_PRINTF_FLAG_GROUPING' => 1,
124589
 
+                        'gl_FUNC_FREXPL_NO_LIBM' => 1,
124590
 
+                        '_gl_IGNORE_UNUSED_LIBRARIES_OPTIONS' => 1,
124591
 
+                        'gl_TERMIOS_H_DEFAULTS' => 1,
124592
 
+                        'gl_PREREQ_STRTOUMAX' => 1,
124593
 
+                        'gl_FUNC_ISNANF' => 1,
124594
 
+                        'gl_HAVE_ISNAND_NO_LIBM' => 1,
124595
 
+                        'gl_ICONV_MODULE_INDICATOR' => 1,
124596
 
+                        'gl_XSTRTOLD' => 1,
124597
 
+                        'gl_FUNC_GETTIMEOFDAY' => 1,
124598
 
+                        'gl_PREREQ_SIGACTION' => 1,
124599
 
+                        'gl_FUNC_FSEEK' => 1,
124600
 
+                        'gl_FLOATTYPE_SIGNBIT_CODE' => 1,
124601
 
+                        'gl_FUNC_STRTOULL' => 1,
124602
 
+                        'gl_SIZE_MAX' => 1,
124603
 
+                        'AC_LIB_RPATH' => 1,
124604
 
+                        'gl_LOCALE_MODULE_INDICATOR' => 1,
124605
 
+                        'gl_FUNC_USLEEP' => 1,
124606
 
+                        'gl_PREREQ_EUIDACCESS' => 1,
124607
 
+                        'gl_PREREQ_STRERROR_R' => 1,
124608
 
+                        'gl_PREREQ_SIG_HANDLER_H' => 1,
124609
 
+                        'gl_PRINTF_DIRECTIVE_A' => 1,
124610
 
+                        'gl_REPLACE_SNPRINTF' => 1,
124611
 
+                        'AM_PROG_INSTALL_STRIP' => 1,
124612
 
+                        'gl_HEADER_SYS_TIME_H' => 1,
124613
 
+                        'gl_MGETGROUPS' => 1,
124614
 
+                        'gl_PREREQ_STRTOD' => 1,
124615
 
+                        'gl_MULTIARCH' => 1,
124616
 
+                        'gl_MD5' => 1,
124617
 
+                        'gl_MANYWARN_ALL_GCC' => 1,
124618
 
+                        'gl_PREREQ_STAT' => 1,
124619
 
+                        '_AM_PROG_TAR' => 1,
124620
 
+                        'gl_HEADER_ERRNO_H' => 1,
124621
 
+                        'gl_PREREQ_FREOPEN' => 1,
124622
 
+                        'gl_FUNC_ISNANL_NO_LIBM' => 1,
124623
 
+                        'gl_PERL' => 1,
124624
 
+                        'gl_SYS_WAIT_H' => 1,
124625
 
+                        'gl_SNPRINTF_TRUNCATION_C99' => 1,
124626
 
+                        'gl_XSTRNDUP' => 1,
124627
 
+                        'gl_SYS_UIO_MODULE_INDICATOR' => 1,
124628
 
+                        'gl_PREREQ_STPNCPY' => 1,
124629
 
+                        'gl_FUNC_FCHDIR' => 1,
124630
 
+                        'gl_PREREQ_FFLUSH' => 1,
124631
 
+                        '_AC_FUNC_CALLOC_IF' => 1,
124632
 
+                        '_AM_SUBST_NOTMAKE' => 1,
124633
 
+                        'gl_00GNULIB' => 1,
124634
 
+                        'gl_FUNC_FCHOWNAT_DEREF_BUG' => 1,
124635
 
+                        'gl_SAVEWD' => 1,
124636
 
+                        'gl_FUNC_RMDIR' => 1,
124637
 
+                        'gl_ENVIRON' => 1,
124638
 
+                        'gl_ICONV_H_DEFAULTS' => 1,
124639
 
+                        'gl_FUNC_MEMRCHR' => 1,
124640
 
+                        'AU_DEFUN' => 1,
124641
 
+                        'gl_PREREQ_BASE64' => 1,
124642
 
+                        'gl_THREADLIB_BODY' => 1,
124643
 
+                        'gl_MBRTOWC_RETVAL' => 1,
124644
 
+                        'gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST' => 1,
124645
 
+                        'gt_TYPE_INTMAX_T' => 1,
124646
 
+                        'gl_FCNTL_MODULE_INDICATOR' => 1,
124647
 
+                        'AM_ICONV_LINKFLAGS_BODY' => 1,
124648
 
+                        'gltests_REPLACE_FUNCS' => 1,
124649
 
+                        'gl_FUNC_GETOPT_POSIX' => 1,
124650
 
+                        'gl_C_COMPOUND_LITERALS' => 1,
124651
 
+                        'gl_PREREQ_VASNPRINTF_FLAG_ZERO' => 1,
124652
 
+                        'gl_PREREQ_ISAPIPE' => 1,
124653
 
+                        'gl_TIMESPEC' => 1,
124654
 
+                        'gl_FUNC_OPENAT' => 1,
124655
 
+                        'gl_FCNTL_SAFER' => 1,
124656
 
+                        'gl_FLOAT_EXPONENT_LOCATION' => 1,
124657
 
+                        'gl_FUNC_VASPRINTF' => 1,
124658
 
+                        'gl_MBRTOWC_NULL_ARG2' => 1,
124659
 
+                        'gl_PARSE_DATETIME' => 1,
124660
 
+                        'gl_FUNC_GETCWD' => 1,
124661
 
+                        'gl_FUNC_PRINTF_FREXP' => 1,
124662
 
+                        'gl_FUNC_GETTIMEOFDAY_CLOBBER' => 1,
124663
 
+                        'gl_PREREQ_INTTOSTR' => 1,
124664
 
+                        'coreutils_DUMMY_1' => 1,
124665
 
+                        'gl_FUNC_GETCWD_PATH_MAX' => 1,
124666
 
+                        'gl_FUNC_ISNAND_NO_LIBM' => 1,
124667
 
+                        'gl_PRINTF_FLAG_ZERO' => 1,
124668
 
+                        'gl_FUNC_MBRTOWC' => 1,
124669
 
+                        'gl_STAT_SIZE' => 1,
124670
 
+                        'gl_FUNC_UNSETENV' => 1,
124671
 
+                        'gl_STDINT_BITSIZEOF' => 1,
124672
 
+                        'gl_FUNC_GETDELIM' => 1,
124673
 
+                        'gl_FUNC_MKDIR' => 1,
124674
 
+                        'gl_PREREQ_STRTOLL' => 1,
124675
 
+                        'gl_FUNC_CALLOC_POSIX' => 1,
124676
 
+                        'gl_BIGENDIAN' => 1,
124677
 
+                        'gl_LIBUNISTRING_MODULE' => 1,
124678
 
+                        'AM_SILENT_RULES' => 1,
124679
 
+                        'gt_LOCALE_JA' => 1,
124680
 
+                        'cu_PREREQ_STAT_PROG' => 1,
124681
 
+                        'gl_FUNC_RENAME' => 1,
124682
 
+                        'AC_LIB_APPENDTOVAR' => 1,
124683
 
+                        'gl_CHECK_TYPE_STRUCT_TIMESPEC' => 1,
124684
 
+                        'gl_PREREQ_VASNPRINTF_LONG_DOUBLE' => 1,
124685
 
+                        'gl_LONG_DOUBLE_SIGNBIT_CODE' => 1,
124686
 
+                        'gl_FUNC_DUP2' => 1,
124687
 
+                        'gl_SHA512' => 1,
124688
 
+                        'gl_FP_IEEE' => 1,
124689
 
+                        'gl_AC_TYPE_INTMAX_T' => 1,
124690
 
+                        'AC_TYPE_MBSTATE_T' => 1,
124691
 
+                        'AM_CONDITIONAL' => 1,
124692
 
+                        'gl_FUNC_WRITE' => 1,
124693
 
+                        'AM_LANGINFO_CODESET' => 1,
124694
 
+                        'gl_PREREQ_MKTIME' => 1,
124695
 
+                        'gl_WCTYPE_H_DEFAULTS' => 1,
124696
 
+                        'AM_PROG_INSTALL_SH' => 1,
124697
 
+                        'gl_FUNC_REALPATH_WORKS' => 1,
124698
 
+                        'gl_STDDEF_H' => 1,
124699
 
+                        'gl_YIELD' => 1,
124700
 
+                        'gl_SYS_IOCTL_MODULE_INDICATOR' => 1,
124701
 
+                        'gl_FUNC_MMAP_ANON' => 1,
124702
 
+                        'gl_LIBUNISTRING_LIBHEADER' => 1,
124703
 
+                        'GL_NOCRASH' => 1,
124704
 
+                        'm4_pattern_forbid' => 1,
124705
 
+                        'AM_PO_SUBDIRS' => 1,
124706
 
+                        'gl_FUNC_GETCWD_SIGNATURE' => 1,
124707
 
+                        'gl_TIME_MODULE_INDICATOR' => 1,
124708
 
+                        'gl_CHECK_LDEXPL_NO_LIBM' => 1,
124709
 
+                        'gl_DIRNAME_LGPL' => 1,
124710
 
+                        'gl_FUNC_REALLOC_GNU' => 1,
124711
 
+                        'gl_FUNC_BASE64' => 1,
124712
 
+                        'gl_FUNC_GETLINE' => 1,
124713
 
+                        'gl_FCNTL_H_DEFAULTS' => 1,
124714
 
+                        'gl_FUNC_UNGETC_WORKS' => 1,
124715
 
+                        'gl_IDCACHE' => 1,
124716
 
+                        'gl_FUNC_EUIDACCESS' => 1,
124717
 
+                        'gl_FUNC_MALLOC_POSIX' => 1,
124718
 
+                        'gl_PREREQ_SNPRINTF' => 1,
124719
 
+                        'gl_HAVE_ISNANL_NO_LIBM' => 1,
124720
 
+                        'AC_FUNC_GETMNTENT' => 1,
124721
 
+                        'gl_XNANOSLEEP' => 1,
124722
 
+                        'gl_SOCKETLIB' => 1,
124723
 
+                        'gl_BISON' => 1,
124724
 
+                        'gl_FUNC_FSYNC' => 1,
124725
 
+                        'gl_SIGACTION' => 1,
124726
 
+                        'gl_FUNC_FREXP_NO_LIBM' => 1,
124727
 
+                        'gl_MPSORT' => 1,
124728
 
+                        'AM_NLS' => 1,
124729
 
+                        'gl_FUNC_STRERROR' => 1,
124730
 
+                        'gl_FUNC_SELECT' => 1,
124731
 
+                        'gl_HAVE_ISNANF_NO_LIBM' => 1,
124732
 
+                        'gl_LANGINFO_MODULE_INDICATOR' => 1,
124733
 
+                        'gl_ARPA_INET_MODULE_INDICATOR' => 1,
124734
 
+                        'gl_PREREQ_FPENDING' => 1,
124735
 
+                        'gt_INTL_SUBDIR_CORE' => 1,
124736
 
+                        'gl_FILE_LIST' => 1,
124737
 
+                        'gl_FUNC_GETPASS_GNU' => 1,
124738
 
+                        'gl_REPLACE_ICONV_H' => 1,
124739
 
+                        'gl_MATH_H_DEFAULTS' => 1,
124740
 
+                        'gl_CHECK_TYPE_STRUCT_UTIMBUF' => 1,
124741
 
+                        'gl_USE_SYSTEM_EXTENSIONS' => 1,
124742
 
+                        'gl_FUNC_GETCWD_ABORT_BUG' => 1,
124743
 
+                        'AM_DEP_TRACK' => 1,
124744
 
+                        'gl_XSTRTOL' => 1,
124745
 
+                        'gl_FUNC_STPCPY' => 1,
124746
 
+                        'cu_LIB_CHECK' => 1,
124747
 
+                        'gl_SIGNBIT' => 1,
124748
 
+                        'gl_PRINTF_POSITIONS' => 1,
124749
 
+                        'gl_REPLACE_ICONV_OPEN' => 1,
124750
 
+                        'gl_FUNC_STRDUP' => 1,
124751
 
+                        'gl_STDINT_TYPE_PROPERTIES' => 1,
124752
 
+                        'gl_PREREQ_VASNPRINTF_DIRECTIVE_A' => 1,
124753
 
+                        'gl_FUNC_STRSTR' => 1,
124754
 
+                        'gl_FCNTL_O_FLAGS' => 1,
124755
 
+                        'gl_MBSRTOWCS_WORKS' => 1,
124756
 
+                        'gl_PRINTF_DIRECTIVE_N' => 1,
124757
 
+                        'gl_PREREQ_UINTTOSTR' => 1,
124758
 
+                        'gl_REPLACE_VFPRINTF' => 1,
124759
 
+                        '_AM_DEPENDENCIES' => 1,
124760
 
+                        'gl_FLOAT_SIGN_LOCATION' => 1,
124761
 
+                        'gl_PREREQ_MBSINIT' => 1,
124762
 
+                        'gl_PREREQ_MOUNTLIST_EXTRA' => 1,
124763
 
+                        'gl_XSIZE' => 1,
124764
 
+                        'gl_FUNC_GETUSERSHELL' => 1,
124765
 
+                        'gl_ARPA_INET_H_DEFAULTS' => 1,
124766
 
+                        'gl_MALLOCA' => 1,
124767
 
+                        'gl_FUNC_FREXPL' => 1,
124768
 
+                        'AM_INTL_SUBDIR' => 1,
124769
 
+                        'gl_CTYPE_H_DEFAULTS' => 1,
124770
 
+                        'gl_SIGNAL_H' => 1,
124771
 
+                        'gl_PRINTF_FLAG_LEFTADJUST' => 1,
124772
 
+                        'gl_FUNC_TZSET_CLOBBER' => 1,
124773
 
+                        'gl_HEADER_TIME_H_DEFAULTS' => 1,
124774
 
+                        'gl_GETOPT_IFELSE' => 1,
124775
 
+                        'gl_QUOTEARG' => 1,
124776
 
+                        'gl_FUNC_CANONICALIZE_FILENAME_MODE' => 1,
124777
 
+                        'gl_PREREQ_SYS_H_SOCKET' => 1,
124778
 
+                        'gl_UNISTD_H' => 1,
124779
 
+                        'gl_PREREQ_WCTOB' => 1,
124780
 
+                        'gl_SNPRINTF_SIZE1' => 1,
124781
 
+                        'gl_LIST_MOUNTED_FILE_SYSTEMS' => 1,
124782
 
+                        'gl_FUNC_PIPE' => 1,
124783
 
+                        'gl_PREREQ_CANON_HOST' => 1,
124784
 
+                        'gl_MATH_H' => 1,
124785
 
+                        'gl_MBSWIDTH' => 1,
124786
 
+                        'gl_FUNC_LDEXPL_WORKS' => 1,
124787
 
+                        'gl_CLOCK_TIME' => 1,
124788
 
+                        'gt_LOCALE_ZH_CN' => 1,
124789
 
+                        'gl_PREREQ_VASNPRINTF_ENOMEM' => 1,
124790
 
+                        'gl_TEST_FCHDIR' => 1,
124791
 
+                        'AC_LIB_FROMPACKAGE' => 1,
124792
 
+                        'gt_LC_MESSAGES' => 1,
124793
 
+                        'AM_XGETTEXT_OPTION' => 1,
124794
 
+                        'gl_LANGINFO_H' => 1,
124795
 
+                        'gl_ASSERT_NO_GNULIB_POSIXCHECK' => 1,
124796
 
+                        'gl_HEADER_ARPA_INET' => 1,
124797
 
+                        'gl_ISNANF_WORKS' => 1,
124798
 
+                        'gl_FUNC_STRTOUMAX' => 1,
124799
 
+                        'gl_HUMAN' => 1,
124800
 
+                        'gl_FILE_SYSTEM_USAGE' => 1,
124801
 
+                        'gl_PRINTF_INFINITE' => 1,
124802
 
+                        'gl_PREREQ_INET_NTOP' => 1,
124803
 
+                        'gl_STDARG_H' => 1
124804
 
+                      }
124805
 
+                    ], 'Autom4te::Request' ),
124806
 
+             bless( [
124807
 
+                      '1',
124808
 
+                      1,
124809
 
+                      [
124810
 
+                        '/usr/share/autoconf'
124811
 
+                      ],
124812
 
+                      [
124813
 
+                        '/usr/share/autoconf/autoconf/autoconf.m4f',
124814
 
+                        'aclocal.m4',
124815
 
+                        'configure.ac'
124816
 
+                      ],
124817
 
+                      {
124818
 
+                        'AM_PROG_F77_C_O' => 1,
124819
 
+                        '_LT_AC_TAGCONFIG' => 1,
124820
 
+                        'AC_INIT' => 1,
124821
 
+                        'm4_pattern_forbid' => 1,
124822
 
+                        'AC_CANONICAL_TARGET' => 1,
124823
 
+                        '_AM_COND_IF' => 1,
124824
 
+                        'AC_CONFIG_LIBOBJ_DIR' => 1,
124825
 
+                        'AC_SUBST' => 1,
124826
 
+                        'AC_CANONICAL_HOST' => 1,
124827
 
+                        'AC_FC_SRCEXT' => 1,
124828
 
+                        'AC_PROG_LIBTOOL' => 1,
124829
 
+                        'AM_INIT_AUTOMAKE' => 1,
124830
 
+                        'AC_CONFIG_SUBDIRS' => 1,
124831
 
+                        'AM_PATH_GUILE' => 1,
124832
 
+                        'AM_AUTOMAKE_VERSION' => 1,
124833
 
+                        'LT_CONFIG_LTDL_DIR' => 1,
124834
 
+                        'AC_CONFIG_LINKS' => 1,
124835
 
+                        'AC_REQUIRE_AUX_FILE' => 1,
124836
 
+                        'LT_SUPPORTED_TAG' => 1,
124837
 
+                        'm4_sinclude' => 1,
124838
 
+                        'AM_MAINTAINER_MODE' => 1,
124839
 
+                        'AM_NLS' => 1,
124840
 
+                        'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
124841
 
+                        '_m4_warn' => 1,
124842
 
+                        'AM_MAKEFILE_INCLUDE' => 1,
124843
 
+                        'AM_PROG_CXX_C_O' => 1,
124844
 
+                        '_AM_MAKEFILE_INCLUDE' => 1,
124845
 
+                        '_AM_COND_ENDIF' => 1,
124846
 
+                        'AM_ENABLE_MULTILIB' => 1,
124847
 
+                        'AM_SILENT_RULES' => 1,
124848
 
+                        'AM_PROG_MOC' => 1,
124849
 
+                        'AC_CONFIG_FILES' => 1,
124850
 
+                        'include' => 1,
124851
 
+                        'LT_INIT' => 1,
124852
 
+                        'AM_GNU_GETTEXT' => 1,
124853
 
+                        'AM_PROG_AR' => 1,
124854
 
+                        'AC_LIBSOURCE' => 1,
124855
 
+                        'AC_CANONICAL_BUILD' => 1,
124856
 
+                        'AM_PROG_FC_C_O' => 1,
124857
 
+                        'AC_FC_FREEFORM' => 1,
124858
 
+                        'AH_OUTPUT' => 1,
124859
 
+                        'AC_CONFIG_AUX_DIR' => 1,
124860
 
+                        '_AM_SUBST_NOTMAKE' => 1,
124861
 
+                        'm4_pattern_allow' => 1,
124862
 
+                        'AM_PROG_CC_C_O' => 1,
124863
 
+                        'sinclude' => 1,
124864
 
+                        'AM_CONDITIONAL' => 1,
124865
 
+                        'AC_CANONICAL_SYSTEM' => 1,
124866
 
+                        'AM_XGETTEXT_OPTION' => 1,
124867
 
+                        'AC_CONFIG_HEADERS' => 1,
124868
 
+                        'AC_DEFINE_TRACE_LITERAL' => 1,
124869
 
+                        'AM_POT_TOOLS' => 1,
124870
 
+                        'm4_include' => 1,
124871
 
+                        '_AM_COND_ELSE' => 1,
124872
 
+                        'AC_SUBST_TRACE' => 1
124873
 
+                      }
124874
 
+                    ], 'Autom4te::Request' )
124875
 
+           );
124876
 
+
124877
 
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' coreutils-8.13~/autom4te.cache/traces.0 coreutils-8.13/autom4te.cache/traces.0
124878
 
--- coreutils-8.13~/autom4te.cache/traces.0     1969-12-31 19:00:00.000000000 -0500
124879
 
+++ coreutils-8.13/autom4te.cache/traces.0      2011-10-01 12:40:37.008925289 -0400
124880
 
@@ -0,0 +1,31561 @@
124881
 
+m4trace:/usr/share/aclocal/glibc2.m4:10: -1- AC_DEFUN([gt_GLIBC2], [
124882
 
+    AC_CACHE_CHECK([whether we are using the GNU C Library 2 or newer],
124883
 
+      [ac_cv_gnu_library_2],
124884
 
+      [AC_EGREP_CPP([Lucky GNU user],
124885
 
+        [
124886
 
+#include <features.h>
124887
 
+#ifdef __GNU_LIBRARY__
124888
 
+ #if (__GLIBC__ >= 2)
124889
 
+  Lucky GNU user
124890
 
+ #endif
124891
 
+#endif
124892
 
+        ],
124893
 
+        [ac_cv_gnu_library_2=yes],
124894
 
+        [ac_cv_gnu_library_2=no])
124895
 
+      ]
124896
 
+    )
124897
 
+    AC_SUBST([GLIBC2])
124898
 
+    GLIBC2="$ac_cv_gnu_library_2"
124899
 
+  
124900
 
+])
124901
 
+m4trace:/usr/share/aclocal/intdiv0.m4:9: -1- AC_DEFUN([gt_INTDIV0], [
124902
 
+  AC_REQUIRE([AC_PROG_CC])dnl
124903
 
+  AC_REQUIRE([AC_CANONICAL_HOST])dnl
124904
 
+
124905
 
+  AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
124906
 
+    gt_cv_int_divbyzero_sigfpe,
124907
 
+    [
124908
 
+      gt_cv_int_divbyzero_sigfpe=
124909
 
+changequote(,)dnl
124910
 
+      case "$host_os" in
124911
 
+        macos* | darwin[6-9]* | darwin[1-9][0-9]*)
124912
 
+          # On MacOS X 10.2 or newer, just assume the same as when cross-
124913
 
+          # compiling. If we were to perform the real test, 1 Crash Report
124914
 
+          # dialog window would pop up.
124915
 
+          case "$host_cpu" in
124916
 
+            i[34567]86 | x86_64)
124917
 
+              gt_cv_int_divbyzero_sigfpe="guessing yes" ;;
124918
 
+          esac
124919
 
+          ;;
124920
 
+      esac
124921
 
+changequote([,])dnl
124922
 
+      if test -z "$gt_cv_int_divbyzero_sigfpe"; then
124923
 
+        AC_TRY_RUN([
124924
 
+#include <stdlib.h>
124925
 
+#include <signal.h>
124926
 
+
124927
 
+static void
124928
 
+sigfpe_handler (int sig)
124929
 
+{
124930
 
+  /* Exit with code 0 if SIGFPE, with code 1 if any other signal.  */
124931
 
+  exit (sig != SIGFPE);
124932
 
+}
124933
 
+
124934
 
+int x = 1;
124935
 
+int y = 0;
124936
 
+int z;
124937
 
+int nan;
124938
 
+
124939
 
+int main ()
124940
 
+{
124941
 
+  signal (SIGFPE, sigfpe_handler);
124942
 
+/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP.  */
124943
 
+#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
124944
 
+  signal (SIGTRAP, sigfpe_handler);
124945
 
+#endif
124946
 
+/* Linux/SPARC yields signal SIGILL.  */
124947
 
+#if defined (__sparc__) && defined (__linux__)
124948
 
+  signal (SIGILL, sigfpe_handler);
124949
 
+#endif
124950
 
+
124951
 
+  z = x / y;
124952
 
+  nan = y / y;
124953
 
+  exit (1);
124954
 
+}
124955
 
+], [gt_cv_int_divbyzero_sigfpe=yes], [gt_cv_int_divbyzero_sigfpe=no],
124956
 
+          [
124957
 
+            # Guess based on the CPU.
124958
 
+changequote(,)dnl
124959
 
+            case "$host_cpu" in
124960
 
+              alpha* | i[34567]86 | x86_64 | m68k | s390*)
124961
 
+                gt_cv_int_divbyzero_sigfpe="guessing yes";;
124962
 
+              *)
124963
 
+                gt_cv_int_divbyzero_sigfpe="guessing no";;
124964
 
+            esac
124965
 
+changequote([,])dnl
124966
 
+          ])
124967
 
+      fi
124968
 
+    ])
124969
 
+  case "$gt_cv_int_divbyzero_sigfpe" in
124970
 
+    *yes) value=1;;
124971
 
+    *) value=0;;
124972
 
+  esac
124973
 
+  AC_DEFINE_UNQUOTED([INTDIV0_RAISES_SIGFPE], [$value],
124974
 
+    [Define if integer division by zero raises signal SIGFPE.])
124975
 
+])
124976
 
+m4trace:/usr/share/aclocal/intl.m4:25: -1- AC_DEFUN([AM_INTL_SUBDIR], [
124977
 
+  AC_REQUIRE([AC_PROG_INSTALL])dnl
124978
 
+  AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
124979
 
+  AC_REQUIRE([AC_PROG_CC])dnl
124980
 
+  AC_REQUIRE([AC_CANONICAL_HOST])dnl
124981
 
+  AC_REQUIRE([gt_GLIBC2])dnl
124982
 
+  AC_REQUIRE([AC_PROG_RANLIB])dnl
124983
 
+  AC_REQUIRE([gl_VISIBILITY])dnl
124984
 
+  AC_REQUIRE([gt_INTL_SUBDIR_CORE])dnl
124985
 
+  AC_REQUIRE([AC_TYPE_LONG_LONG_INT])dnl
124986
 
+  AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
124987
 
+  AC_REQUIRE([gt_TYPE_WINT_T])dnl
124988
 
+  AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
124989
 
+  AC_REQUIRE([gt_TYPE_INTMAX_T])
124990
 
+  AC_REQUIRE([gt_PRINTF_POSIX])
124991
 
+  AC_REQUIRE([gl_GLIBC21])dnl
124992
 
+  AC_REQUIRE([gl_XSIZE])dnl
124993
 
+  AC_REQUIRE([gl_FCNTL_O_FLAGS])dnl
124994
 
+  AC_REQUIRE([gt_INTL_MACOSX])dnl
124995
 
+
124996
 
+  dnl Support for automake's --enable-silent-rules.
124997
 
+  case "$enable_silent_rules" in
124998
 
+    yes) INTL_DEFAULT_VERBOSITY=0;;
124999
 
+    no)  INTL_DEFAULT_VERBOSITY=1;;
125000
 
+    *)   INTL_DEFAULT_VERBOSITY=1;;
125001
 
+  esac
125002
 
+  AC_SUBST([INTL_DEFAULT_VERBOSITY])
125003
 
+
125004
 
+  AC_CHECK_TYPE([ptrdiff_t], ,
125005
 
+    [AC_DEFINE([ptrdiff_t], [long],
125006
 
+       [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
125007
 
+    ])
125008
 
+  AC_CHECK_HEADERS([stddef.h stdlib.h string.h])
125009
 
+  AC_CHECK_FUNCS([asprintf fwprintf newlocale putenv setenv setlocale \
125010
 
+    snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb])
125011
 
+
125012
 
+  dnl Use the _snprintf function only if it is declared (because on NetBSD it
125013
 
+  dnl is defined as a weak alias of snprintf; we prefer to use the latter).
125014
 
+  gt_CHECK_DECL(_snprintf, [#include <stdio.h>])
125015
 
+  gt_CHECK_DECL(_snwprintf, [#include <stdio.h>])
125016
 
+
125017
 
+  dnl Use the *_unlocked functions only if they are declared.
125018
 
+  dnl (because some of them were defined without being declared in Solaris
125019
 
+  dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
125020
 
+  dnl on Solaris 2.5.1 to run on Solaris 2.6).
125021
 
+  dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
125022
 
+  gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>])
125023
 
+
125024
 
+  case $gt_cv_func_printf_posix in
125025
 
+    *yes) HAVE_POSIX_PRINTF=1 ;;
125026
 
+    *) HAVE_POSIX_PRINTF=0 ;;
125027
 
+  esac
125028
 
+  AC_SUBST([HAVE_POSIX_PRINTF])
125029
 
+  if test "$ac_cv_func_asprintf" = yes; then
125030
 
+    HAVE_ASPRINTF=1
125031
 
+  else
125032
 
+    HAVE_ASPRINTF=0
125033
 
+  fi
125034
 
+  AC_SUBST([HAVE_ASPRINTF])
125035
 
+  if test "$ac_cv_func_snprintf" = yes; then
125036
 
+    HAVE_SNPRINTF=1
125037
 
+  else
125038
 
+    HAVE_SNPRINTF=0
125039
 
+  fi
125040
 
+  AC_SUBST([HAVE_SNPRINTF])
125041
 
+  if test "$ac_cv_func_newlocale" = yes; then
125042
 
+    HAVE_NEWLOCALE=1
125043
 
+  else
125044
 
+    HAVE_NEWLOCALE=0
125045
 
+  fi
125046
 
+  AC_SUBST([HAVE_NEWLOCALE])
125047
 
+  if test "$ac_cv_func_wprintf" = yes; then
125048
 
+    HAVE_WPRINTF=1
125049
 
+  else
125050
 
+    HAVE_WPRINTF=0
125051
 
+  fi
125052
 
+  AC_SUBST([HAVE_WPRINTF])
125053
 
+
125054
 
+  AM_LANGINFO_CODESET
125055
 
+  gt_LC_MESSAGES
125056
 
+
125057
 
+  dnl Compilation on mingw and Cygwin needs special Makefile rules, because
125058
 
+  dnl 1. when we install a shared library, we must arrange to export
125059
 
+  dnl    auxiliary pointer variables for every exported variable,
125060
 
+  dnl 2. when we install a shared library and a static library simultaneously,
125061
 
+  dnl    the include file specifies __declspec(dllimport) and therefore we
125062
 
+  dnl    must arrange to define the auxiliary pointer variables for the
125063
 
+  dnl    exported variables _also_ in the static library.
125064
 
+  if test "$enable_shared" = yes; then
125065
 
+    case "$host_os" in
125066
 
+      mingw* | cygwin*) is_woe32dll=yes ;;
125067
 
+      *) is_woe32dll=no ;;
125068
 
+    esac
125069
 
+  else
125070
 
+    is_woe32dll=no
125071
 
+  fi
125072
 
+  WOE32DLL=$is_woe32dll
125073
 
+  AC_SUBST([WOE32DLL])
125074
 
+
125075
 
+  dnl On mingw and Cygwin, we can activate special Makefile rules which add
125076
 
+  dnl version information to the shared libraries and executables.
125077
 
+  case "$host_os" in
125078
 
+    mingw* | cygwin*) is_woe32=yes ;;
125079
 
+    *) is_woe32=no ;;
125080
 
+  esac
125081
 
+  WOE32=$is_woe32
125082
 
+  AC_SUBST([WOE32])
125083
 
+  if test $WOE32 = yes; then
125084
 
+    dnl Check for a program that compiles Windows resource files.
125085
 
+    AC_CHECK_TOOL([WINDRES], [windres])
125086
 
+  fi
125087
 
+
125088
 
+  dnl Determine whether when creating a library, "-lc" should be passed to
125089
 
+  dnl libtool or not. On many platforms, it is required for the libtool option
125090
 
+  dnl -no-undefined to work. On HP-UX, however, the -lc - stored by libtool
125091
 
+  dnl in the *.la files - makes it impossible to create multithreaded programs,
125092
 
+  dnl because libtool also reorders the -lc to come before the -pthread, and
125093
 
+  dnl this disables pthread_create() <http://docs.hp.com/en/1896/pthreads.html>.
125094
 
+  case "$host_os" in
125095
 
+    hpux*) LTLIBC="" ;;
125096
 
+    *)     LTLIBC="-lc" ;;
125097
 
+  esac
125098
 
+  AC_SUBST([LTLIBC])
125099
 
+
125100
 
+  dnl Rename some macros and functions used for locking.
125101
 
+  AH_BOTTOM([
125102
 
+#define __libc_lock_t                   gl_lock_t
125103
 
+#define __libc_lock_define              gl_lock_define
125104
 
+#define __libc_lock_define_initialized  gl_lock_define_initialized
125105
 
+#define __libc_lock_init                gl_lock_init
125106
 
+#define __libc_lock_lock                gl_lock_lock
125107
 
+#define __libc_lock_unlock              gl_lock_unlock
125108
 
+#define __libc_lock_recursive_t                   gl_recursive_lock_t
125109
 
+#define __libc_lock_define_recursive              gl_recursive_lock_define
125110
 
+#define __libc_lock_define_initialized_recursive  gl_recursive_lock_define_initialized
125111
 
+#define __libc_lock_init_recursive                gl_recursive_lock_init
125112
 
+#define __libc_lock_lock_recursive                gl_recursive_lock_lock
125113
 
+#define __libc_lock_unlock_recursive              gl_recursive_lock_unlock
125114
 
+#define glthread_in_use  libintl_thread_in_use
125115
 
+#define glthread_lock_init_func     libintl_lock_init_func
125116
 
+#define glthread_lock_lock_func     libintl_lock_lock_func
125117
 
+#define glthread_lock_unlock_func   libintl_lock_unlock_func
125118
 
+#define glthread_lock_destroy_func  libintl_lock_destroy_func
125119
 
+#define glthread_rwlock_init_multithreaded     libintl_rwlock_init_multithreaded
125120
 
+#define glthread_rwlock_init_func              libintl_rwlock_init_func
125121
 
+#define glthread_rwlock_rdlock_multithreaded   libintl_rwlock_rdlock_multithreaded
125122
 
+#define glthread_rwlock_rdlock_func            libintl_rwlock_rdlock_func
125123
 
+#define glthread_rwlock_wrlock_multithreaded   libintl_rwlock_wrlock_multithreaded
125124
 
+#define glthread_rwlock_wrlock_func            libintl_rwlock_wrlock_func
125125
 
+#define glthread_rwlock_unlock_multithreaded   libintl_rwlock_unlock_multithreaded
125126
 
+#define glthread_rwlock_unlock_func            libintl_rwlock_unlock_func
125127
 
+#define glthread_rwlock_destroy_multithreaded  libintl_rwlock_destroy_multithreaded
125128
 
+#define glthread_rwlock_destroy_func           libintl_rwlock_destroy_func
125129
 
+#define glthread_recursive_lock_init_multithreaded     libintl_recursive_lock_init_multithreaded
125130
 
+#define glthread_recursive_lock_init_func              libintl_recursive_lock_init_func
125131
 
+#define glthread_recursive_lock_lock_multithreaded     libintl_recursive_lock_lock_multithreaded
125132
 
+#define glthread_recursive_lock_lock_func              libintl_recursive_lock_lock_func
125133
 
+#define glthread_recursive_lock_unlock_multithreaded   libintl_recursive_lock_unlock_multithreaded
125134
 
+#define glthread_recursive_lock_unlock_func            libintl_recursive_lock_unlock_func
125135
 
+#define glthread_recursive_lock_destroy_multithreaded  libintl_recursive_lock_destroy_multithreaded
125136
 
+#define glthread_recursive_lock_destroy_func           libintl_recursive_lock_destroy_func
125137
 
+#define glthread_once_func            libintl_once_func
125138
 
+#define glthread_once_singlethreaded  libintl_once_singlethreaded
125139
 
+#define glthread_once_multithreaded   libintl_once_multithreaded
125140
 
+])
125141
 
+])
125142
 
+m4trace:/usr/share/aclocal/intl.m4:211: -1- AC_DEFUN([gt_INTL_SUBDIR_CORE], [
125143
 
+  AC_REQUIRE([AC_C_INLINE])dnl
125144
 
+  AC_REQUIRE([AC_TYPE_SIZE_T])dnl
125145
 
+  AC_REQUIRE([gl_AC_HEADER_STDINT_H])
125146
 
+  AC_REQUIRE([AC_FUNC_ALLOCA])dnl
125147
 
+  AC_REQUIRE([AC_FUNC_MMAP])dnl
125148
 
+  AC_REQUIRE([gt_INTDIV0])dnl
125149
 
+  AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl
125150
 
+  AC_REQUIRE([gt_INTTYPES_PRI])dnl
125151
 
+  AC_REQUIRE([gl_LOCK])dnl
125152
 
+
125153
 
+  AC_TRY_LINK(
125154
 
+    [int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }],
125155
 
+    [],
125156
 
+    [AC_DEFINE([HAVE_BUILTIN_EXPECT], [1],
125157
 
+       [Define to 1 if the compiler understands __builtin_expect.])])
125158
 
+
125159
 
+  AC_CHECK_HEADERS([argz.h inttypes.h limits.h unistd.h sys/param.h])
125160
 
+  AC_CHECK_FUNCS([getcwd getegid geteuid getgid getuid mempcpy munmap \
125161
 
+    stpcpy strcasecmp strdup strtoul tsearch uselocale argz_count \
125162
 
+    argz_stringify argz_next __fsetlocking])
125163
 
+
125164
 
+  dnl Use the *_unlocked functions only if they are declared.
125165
 
+  dnl (because some of them were defined without being declared in Solaris
125166
 
+  dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
125167
 
+  dnl on Solaris 2.5.1 to run on Solaris 2.6).
125168
 
+  dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
125169
 
+  gt_CHECK_DECL([feof_unlocked], [#include <stdio.h>])
125170
 
+  gt_CHECK_DECL([fgets_unlocked], [#include <stdio.h>])
125171
 
+
125172
 
+  AM_ICONV
125173
 
+
125174
 
+  dnl intl/plural.c is generated from intl/plural.y. It requires bison,
125175
 
+  dnl because plural.y uses bison specific features. It requires at least
125176
 
+  dnl bison-1.26 because earlier versions generate a plural.c that doesn't
125177
 
+  dnl compile.
125178
 
+  dnl bison is only needed for the maintainer (who touches plural.y). But in
125179
 
+  dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
125180
 
+  dnl the rule in general Makefile. Now, some people carelessly touch the
125181
 
+  dnl files or have a broken "make" program, hence the plural.c rule will
125182
 
+  dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
125183
 
+  dnl present or too old.
125184
 
+  AC_CHECK_PROGS([INTLBISON], [bison])
125185
 
+  if test -z "$INTLBISON"; then
125186
 
+    ac_verc_fail=yes
125187
 
+  else
125188
 
+    dnl Found it, now check the version.
125189
 
+    AC_MSG_CHECKING([version of bison])
125190
 
+changequote(<<,>>)dnl
125191
 
+    ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
125192
 
+    case $ac_prog_version in
125193
 
+      '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
125194
 
+      1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
125195
 
+changequote([,])dnl
125196
 
+         ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
125197
 
+      *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
125198
 
+    esac
125199
 
+    AC_MSG_RESULT([$ac_prog_version])
125200
 
+  fi
125201
 
+  if test $ac_verc_fail = yes; then
125202
 
+    INTLBISON=:
125203
 
+  fi
125204
 
+])
125205
 
+m4trace:/usr/share/aclocal/intl.m4:279: -1- AC_DEFUN([gt_CHECK_DECL], [
125206
 
+  AC_CACHE_CHECK([whether $1 is declared], [ac_cv_have_decl_$1],
125207
 
+    [AC_TRY_COMPILE([$2], [
125208
 
+#ifndef $1
125209
 
+  char *p = (char *) $1;
125210
 
+#endif
125211
 
+], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)])
125212
 
+  if test $ac_cv_have_decl_$1 = yes; then
125213
 
+    gt_value=1
125214
 
+  else
125215
 
+    gt_value=0
125216
 
+  fi
125217
 
+  AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value],
125218
 
+    [Define to 1 if you have the declaration of `$1', and to 0 if you don't.])
125219
 
+])
125220
 
+m4trace:/usr/share/aclocal/intmax.m4:11: -1- AC_DEFUN([gt_TYPE_INTMAX_T], [
125221
 
+  AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
125222
 
+  AC_REQUIRE([gl_AC_HEADER_STDINT_H])
125223
 
+  AC_CACHE_CHECK([for intmax_t], [gt_cv_c_intmax_t],
125224
 
+    [AC_TRY_COMPILE([
125225
 
+#include <stddef.h>
125226
 
+#include <stdlib.h>
125227
 
+#if HAVE_STDINT_H_WITH_UINTMAX
125228
 
+#include <stdint.h>
125229
 
+#endif
125230
 
+#if HAVE_INTTYPES_H_WITH_UINTMAX
125231
 
+#include <inttypes.h>
125232
 
+#endif
125233
 
+],     [intmax_t x = -1;
125234
 
+        return !x;],
125235
 
+       [gt_cv_c_intmax_t=yes],
125236
 
+       [gt_cv_c_intmax_t=no])])
125237
 
+  if test $gt_cv_c_intmax_t = yes; then
125238
 
+    AC_DEFINE([HAVE_INTMAX_T], [1],
125239
 
+      [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
125240
 
+  fi
125241
 
+])
125242
 
+m4trace:/usr/share/aclocal/printf-posix.m4:11: -1- AC_DEFUN([gt_PRINTF_POSIX], [
125243
 
+  AC_REQUIRE([AC_PROG_CC])
125244
 
+  AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings],
125245
 
+    gt_cv_func_printf_posix,
125246
 
+    [
125247
 
+      AC_TRY_RUN([
125248
 
+#include <stdio.h>
125249
 
+#include <string.h>
125250
 
+/* The string "%2$d %1$d", with dollar characters protected from the shell's
125251
 
+   dollar expansion (possibly an autoconf bug).  */
125252
 
+static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
125253
 
+static char buf[100];
125254
 
+int main ()
125255
 
+{
125256
 
+  sprintf (buf, format, 33, 55);
125257
 
+  return (strcmp (buf, "55 33") != 0);
125258
 
+}], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no,
125259
 
+      [
125260
 
+        AC_EGREP_CPP([notposix], [
125261
 
+#if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
125262
 
+  notposix
125263
 
+#endif
125264
 
+          ],
125265
 
+          [gt_cv_func_printf_posix="guessing no"],
125266
 
+          [gt_cv_func_printf_posix="guessing yes"])
125267
 
+      ])
125268
 
+    ])
125269
 
+  case $gt_cv_func_printf_posix in
125270
 
+    *yes)
125271
 
+      AC_DEFINE([HAVE_POSIX_PRINTF], [1],
125272
 
+        [Define if your printf() function supports format strings with positions.])
125273
 
+      ;;
125274
 
+  esac
125275
 
+])
125276
 
+m4trace:/usr/share/aclocal/uintmax_t.m4:14: -1- AC_DEFUN([gl_AC_TYPE_UINTMAX_T], [
125277
 
+  AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
125278
 
+  AC_REQUIRE([gl_AC_HEADER_STDINT_H])
125279
 
+  if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then
125280
 
+    AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
125281
 
+    test $ac_cv_type_unsigned_long_long_int = yes \
125282
 
+      && ac_type='unsigned long long' \
125283
 
+      || ac_type='unsigned long'
125284
 
+    AC_DEFINE_UNQUOTED([uintmax_t], [$ac_type],
125285
 
+      [Define to unsigned long or unsigned long long
125286
 
+       if <stdint.h> and <inttypes.h> don't define.])
125287
 
+  else
125288
 
+    AC_DEFINE([HAVE_UINTMAX_T], [1],
125289
 
+      [Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.])
125290
 
+  fi
125291
 
+])
125292
 
+m4trace:/usr/share/aclocal/visibility.m4:23: -1- AC_DEFUN([gl_VISIBILITY], [
125293
 
+  AC_REQUIRE([AC_PROG_CC])
125294
 
+  CFLAG_VISIBILITY=
125295
 
+  HAVE_VISIBILITY=0
125296
 
+  if test -n "$GCC"; then
125297
 
+    dnl First, check whether -Werror can be added to the command line, or
125298
 
+    dnl whether it leads to an error because of some other option that the
125299
 
+    dnl user has put into $CC $CFLAGS $CPPFLAGS.
125300
 
+    AC_MSG_CHECKING([whether the -Werror option is usable])
125301
 
+    AC_CACHE_VAL([gl_cv_cc_vis_werror], [
125302
 
+      gl_save_CFLAGS="$CFLAGS"
125303
 
+      CFLAGS="$CFLAGS -Werror"
125304
 
+      AC_TRY_COMPILE([], [],
125305
 
+        [gl_cv_cc_vis_werror=yes],
125306
 
+        [gl_cv_cc_vis_werror=no])
125307
 
+      CFLAGS="$gl_save_CFLAGS"])
125308
 
+    AC_MSG_RESULT([$gl_cv_cc_vis_werror])
125309
 
+    dnl Now check whether visibility declarations are supported.
125310
 
+    AC_MSG_CHECKING([for simple visibility declarations])
125311
 
+    AC_CACHE_VAL([gl_cv_cc_visibility], [
125312
 
+      gl_save_CFLAGS="$CFLAGS"
125313
 
+      CFLAGS="$CFLAGS -fvisibility=hidden"
125314
 
+      dnl We use the option -Werror and a function dummyfunc, because on some
125315
 
+      dnl platforms (Cygwin 1.7) the use of -fvisibility triggers a warning
125316
 
+      dnl "visibility attribute not supported in this configuration; ignored"
125317
 
+      dnl at the first function definition in every compilation unit, and we
125318
 
+      dnl don't want to use the option in this case.
125319
 
+      if test $gl_cv_cc_vis_werror = yes; then
125320
 
+        CFLAGS="$CFLAGS -Werror"
125321
 
+      fi
125322
 
+      AC_TRY_COMPILE(
125323
 
+        [extern __attribute__((__visibility__("hidden"))) int hiddenvar;
125324
 
+         extern __attribute__((__visibility__("default"))) int exportedvar;
125325
 
+         extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
125326
 
+         extern __attribute__((__visibility__("default"))) int exportedfunc (void);
125327
 
+         void dummyfunc (void) {}],
125328
 
+        [],
125329
 
+        [gl_cv_cc_visibility=yes],
125330
 
+        [gl_cv_cc_visibility=no])
125331
 
+      CFLAGS="$gl_save_CFLAGS"])
125332
 
+    AC_MSG_RESULT([$gl_cv_cc_visibility])
125333
 
+    if test $gl_cv_cc_visibility = yes; then
125334
 
+      CFLAG_VISIBILITY="-fvisibility=hidden"
125335
 
+      HAVE_VISIBILITY=1
125336
 
+    fi
125337
 
+  fi
125338
 
+  AC_SUBST([CFLAG_VISIBILITY])
125339
 
+  AC_SUBST([HAVE_VISIBILITY])
125340
 
+  AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY],
125341
 
+    [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.])
125342
 
+])
125343
 
+m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
125344
 
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
125345
 
+dnl require some minimum version.  Point them to the right macro.
125346
 
+m4_if([$1], [1.11.1], [],
125347
 
+      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
125348
 
+])
125349
 
+m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl
125350
 
+m4_ifndef([AC_AUTOCONF_VERSION],
125351
 
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
125352
 
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
125353
 
+m4trace:/usr/share/aclocal-1.11/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
125354
 
+AC_PREREQ([2.50])dnl
125355
 
+# expand $ac_aux_dir to an absolute path
125356
 
+am_aux_dir=`cd $ac_aux_dir && pwd`
125357
 
+])
125358
 
+m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
125359
 
+ ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
125360
 
+       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
125361
 
+AC_SUBST([$1_TRUE])dnl
125362
 
+AC_SUBST([$1_FALSE])dnl
125363
 
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
125364
 
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
125365
 
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
125366
 
+if $2; then
125367
 
+  $1_TRUE=
125368
 
+  $1_FALSE='#'
125369
 
+else
125370
 
+  $1_TRUE='#'
125371
 
+  $1_FALSE=
125372
 
+fi
125373
 
+AC_CONFIG_COMMANDS_PRE(
125374
 
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
125375
 
+  AC_MSG_ERROR([[conditional "$1" was never defined.
125376
 
+Usually this means the macro was only invoked conditionally.]])
125377
 
+fi])])
125378
 
+m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
125379
 
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
125380
 
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
125381
 
+AC_REQUIRE([AM_DEP_TRACK])dnl
125382
 
+
125383
 
+ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
125384
 
+       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
125385
 
+       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
125386
 
+       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
125387
 
+       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
125388
 
+                   [depcc="$$1"   am_compiler_list=])
125389
 
+
125390
 
+AC_CACHE_CHECK([dependency style of $depcc],
125391
 
+               [am_cv_$1_dependencies_compiler_type],
125392
 
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
125393
 
+  # We make a subdir and do the tests there.  Otherwise we can end up
125394
 
+  # making bogus files that we don't know about and never remove.  For
125395
 
+  # instance it was reported that on HP-UX the gcc test will end up
125396
 
+  # making a dummy file named `D' -- because `-MD' means `put the output
125397
 
+  # in D'.
125398
 
+  mkdir conftest.dir
125399
 
+  # Copy depcomp to subdir because otherwise we won't find it if we're
125400
 
+  # using a relative directory.
125401
 
+  cp "$am_depcomp" conftest.dir
125402
 
+  cd conftest.dir
125403
 
+  # We will build objects and dependencies in a subdirectory because
125404
 
+  # it helps to detect inapplicable dependency modes.  For instance
125405
 
+  # both Tru64's cc and ICC support -MD to output dependencies as a
125406
 
+  # side effect of compilation, but ICC will put the dependencies in
125407
 
+  # the current directory while Tru64 will put them in the object
125408
 
+  # directory.
125409
 
+  mkdir sub
125410
 
+
125411
 
+  am_cv_$1_dependencies_compiler_type=none
125412
 
+  if test "$am_compiler_list" = ""; then
125413
 
+     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
125414
 
+  fi
125415
 
+  am__universal=false
125416
 
+  m4_case([$1], [CC],
125417
 
+    [case " $depcc " in #(
125418
 
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
125419
 
+     esac],
125420
 
+    [CXX],
125421
 
+    [case " $depcc " in #(
125422
 
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
125423
 
+     esac])
125424
 
+
125425
 
+  for depmode in $am_compiler_list; do
125426
 
+    # Setup a source with many dependencies, because some compilers
125427
 
+    # like to wrap large dependency lists on column 80 (with \), and
125428
 
+    # we should not choose a depcomp mode which is confused by this.
125429
 
+    #
125430
 
+    # We need to recreate these files for each test, as the compiler may
125431
 
+    # overwrite some of them when testing with obscure command lines.
125432
 
+    # This happens at least with the AIX C compiler.
125433
 
+    : > sub/conftest.c
125434
 
+    for i in 1 2 3 4 5 6; do
125435
 
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
125436
 
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
125437
 
+      # Solaris 8's {/usr,}/bin/sh.
125438
 
+      touch sub/conftst$i.h
125439
 
+    done
125440
 
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
125441
 
+
125442
 
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
125443
 
+    # mode.  It turns out that the SunPro C++ compiler does not properly
125444
 
+    # handle `-M -o', and we need to detect this.  Also, some Intel
125445
 
+    # versions had trouble with output in subdirs
125446
 
+    am__obj=sub/conftest.${OBJEXT-o}
125447
 
+    am__minus_obj="-o $am__obj"
125448
 
+    case $depmode in
125449
 
+    gcc)
125450
 
+      # This depmode causes a compiler race in universal mode.
125451
 
+      test "$am__universal" = false || continue
125452
 
+      ;;
125453
 
+    nosideeffect)
125454
 
+      # after this tag, mechanisms are not by side-effect, so they'll
125455
 
+      # only be used when explicitly requested
125456
 
+      if test "x$enable_dependency_tracking" = xyes; then
125457
 
+       continue
125458
 
+      else
125459
 
+       break
125460
 
+      fi
125461
 
+      ;;
125462
 
+    msvisualcpp | msvcmsys)
125463
 
+      # This compiler won't grok `-c -o', but also, the minuso test has
125464
 
+      # not run yet.  These depmodes are late enough in the game, and
125465
 
+      # so weak that their functioning should not be impacted.
125466
 
+      am__obj=conftest.${OBJEXT-o}
125467
 
+      am__minus_obj=
125468
 
+      ;;
125469
 
+    none) break ;;
125470
 
+    esac
125471
 
+    if depmode=$depmode \
125472
 
+       source=sub/conftest.c object=$am__obj \
125473
 
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
125474
 
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
125475
 
+         >/dev/null 2>conftest.err &&
125476
 
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
125477
 
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
125478
 
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
125479
 
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
125480
 
+      # icc doesn't choke on unknown options, it will just issue warnings
125481
 
+      # or remarks (even with -Werror).  So we grep stderr for any message
125482
 
+      # that says an option was ignored or not supported.
125483
 
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
125484
 
+      #   icc: Command line warning: ignoring option '-M'; no argument required
125485
 
+      # The diagnosis changed in icc 8.0:
125486
 
+      #   icc: Command line remark: option '-MP' not supported
125487
 
+      if (grep 'ignoring option' conftest.err ||
125488
 
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
125489
 
+        am_cv_$1_dependencies_compiler_type=$depmode
125490
 
+        break
125491
 
+      fi
125492
 
+    fi
125493
 
+  done
125494
 
+
125495
 
+  cd ..
125496
 
+  rm -rf conftest.dir
125497
 
+else
125498
 
+  am_cv_$1_dependencies_compiler_type=none
125499
 
+fi
125500
 
+])
125501
 
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
125502
 
+AM_CONDITIONAL([am__fastdep$1], [
125503
 
+  test "x$enable_dependency_tracking" != xno \
125504
 
+  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
125505
 
+])
125506
 
+m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
125507
 
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
125508
 
+])
125509
 
+m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
125510
 
+[  --disable-dependency-tracking  speeds up one-time build
125511
 
+  --enable-dependency-tracking   do not reject slow dependency extractors])
125512
 
+if test "x$enable_dependency_tracking" != xno; then
125513
 
+  am_depcomp="$ac_aux_dir/depcomp"
125514
 
+  AMDEPBACKSLASH='\'
125515
 
+fi
125516
 
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
125517
 
+AC_SUBST([AMDEPBACKSLASH])dnl
125518
 
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
125519
 
+])
125520
 
+m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
125521
 
+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
125522
 
+  # are listed without --file.  Let's play safe and only enable the eval
125523
 
+  # if we detect the quoting.
125524
 
+  case $CONFIG_FILES in
125525
 
+  *\'*) eval set x "$CONFIG_FILES" ;;
125526
 
+  *)   set x $CONFIG_FILES ;;
125527
 
+  esac
125528
 
+  shift
125529
 
+  for mf
125530
 
+  do
125531
 
+    # Strip MF so we end up with the name of the file.
125532
 
+    mf=`echo "$mf" | sed -e 's/:.*$//'`
125533
 
+    # Check whether this is an Automake generated Makefile or not.
125534
 
+    # We used to match only the files named `Makefile.in', but
125535
 
+    # some people rename them; so instead we look at the file content.
125536
 
+    # Grep'ing the first line is not enough: some people post-process
125537
 
+    # each Makefile.in and add a new line on top of each file to say so.
125538
 
+    # Grep'ing the whole file is not good either: AIX grep has a line
125539
 
+    # limit of 2048, but all sed's we know have understand at least 4000.
125540
 
+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
125541
 
+      dirpart=`AS_DIRNAME("$mf")`
125542
 
+    else
125543
 
+      continue
125544
 
+    fi
125545
 
+    # Extract the definition of DEPDIR, am__include, and am__quote
125546
 
+    # from the Makefile without running `make'.
125547
 
+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
125548
 
+    test -z "$DEPDIR" && continue
125549
 
+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
125550
 
+    test -z "am__include" && continue
125551
 
+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
125552
 
+    # When using ansi2knr, U may be empty or an underscore; expand it
125553
 
+    U=`sed -n 's/^U = //p' < "$mf"`
125554
 
+    # Find all dependency output files, they are included files with
125555
 
+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
125556
 
+    # simplest approach to changing $(DEPDIR) to its actual value in the
125557
 
+    # expansion.
125558
 
+    for file in `sed -n "
125559
 
+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
125560
 
+        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
125561
 
+      # Make sure the directory exists.
125562
 
+      test -f "$dirpart/$file" && continue
125563
 
+      fdir=`AS_DIRNAME(["$file"])`
125564
 
+      AS_MKDIR_P([$dirpart/$fdir])
125565
 
+      # echo "creating $dirpart/$file"
125566
 
+      echo '# dummy' > "$dirpart/$file"
125567
 
+    done
125568
 
+  done
125569
 
+}
125570
 
+])
125571
 
+m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
125572
 
+     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
125573
 
+     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
125574
 
+])
125575
 
+m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
125576
 
+dnl Autoconf wants to disallow AM_ names.  We explicitly allow
125577
 
+dnl the ones we care about.
125578
 
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
125579
 
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
125580
 
+AC_REQUIRE([AC_PROG_INSTALL])dnl
125581
 
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
125582
 
+  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
125583
 
+  # is not polluted with repeated "-I."
125584
 
+  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
125585
 
+  # test to see if srcdir already configured
125586
 
+  if test -f $srcdir/config.status; then
125587
 
+    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
125588
 
+  fi
125589
 
+fi
125590
 
+
125591
 
+# test whether we have cygpath
125592
 
+if test -z "$CYGPATH_W"; then
125593
 
+  if (cygpath --version) >/dev/null 2>/dev/null; then
125594
 
+    CYGPATH_W='cygpath -w'
125595
 
+  else
125596
 
+    CYGPATH_W=echo
125597
 
+  fi
125598
 
+fi
125599
 
+AC_SUBST([CYGPATH_W])
125600
 
+
125601
 
+# Define the identity of the package.
125602
 
+dnl Distinguish between old-style and new-style calls.
125603
 
+m4_ifval([$2],
125604
 
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
125605
 
+ AC_SUBST([PACKAGE], [$1])dnl
125606
 
+ AC_SUBST([VERSION], [$2])],
125607
 
+[_AM_SET_OPTIONS([$1])dnl
125608
 
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
125609
 
+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
125610
 
+  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
125611
 
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
125612
 
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
125613
 
+
125614
 
+_AM_IF_OPTION([no-define],,
125615
 
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
125616
 
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
125617
 
+
125618
 
+# Some tools Automake needs.
125619
 
+AC_REQUIRE([AM_SANITY_CHECK])dnl
125620
 
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
125621
 
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
125622
 
+AM_MISSING_PROG(AUTOCONF, autoconf)
125623
 
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
125624
 
+AM_MISSING_PROG(AUTOHEADER, autoheader)
125625
 
+AM_MISSING_PROG(MAKEINFO, makeinfo)
125626
 
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
125627
 
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
125628
 
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
125629
 
+# We need awk for the "check" target.  The system "awk" is bad on
125630
 
+# some platforms.
125631
 
+AC_REQUIRE([AC_PROG_AWK])dnl
125632
 
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
125633
 
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
125634
 
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
125635
 
+             [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
125636
 
+                            [_AM_PROG_TAR([v7])])])
125637
 
+_AM_IF_OPTION([no-dependencies],,
125638
 
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
125639
 
+                 [_AM_DEPENDENCIES(CC)],
125640
 
+                 [define([AC_PROG_CC],
125641
 
+                         defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
125642
 
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
125643
 
+                 [_AM_DEPENDENCIES(CXX)],
125644
 
+                 [define([AC_PROG_CXX],
125645
 
+                         defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
125646
 
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
125647
 
+                 [_AM_DEPENDENCIES(OBJC)],
125648
 
+                 [define([AC_PROG_OBJC],
125649
 
+                         defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
125650
 
+])
125651
 
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
125652
 
+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
125653
 
+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
125654
 
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
125655
 
+AC_CONFIG_COMMANDS_PRE(dnl
125656
 
+[m4_provide_if([_AM_COMPILER_EXEEXT],
125657
 
+  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
125658
 
+])
125659
 
+m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
125660
 
+_am_arg=$1
125661
 
+_am_stamp_count=1
125662
 
+for _am_header in $config_headers :; do
125663
 
+  case $_am_header in
125664
 
+    $_am_arg | $_am_arg:* )
125665
 
+      break ;;
125666
 
+    * )
125667
 
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
125668
 
+  esac
125669
 
+done
125670
 
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
125671
 
+m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
125672
 
+if test x"${install_sh}" != xset; then
125673
 
+  case $am_aux_dir in
125674
 
+  *\ * | *\    *)
125675
 
+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
125676
 
+  *)
125677
 
+    install_sh="\${SHELL} $am_aux_dir/install-sh"
125678
 
+  esac
125679
 
+fi
125680
 
+AC_SUBST(install_sh)])
125681
 
+m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
125682
 
+mkdir .tst 2>/dev/null
125683
 
+if test -d .tst; then
125684
 
+  am__leading_dot=.
125685
 
+else
125686
 
+  am__leading_dot=_
125687
 
+fi
125688
 
+rmdir .tst 2>/dev/null
125689
 
+AC_SUBST([am__leading_dot])])
125690
 
+m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
125691
 
+cat > confinc << 'END'
125692
 
+am__doit:
125693
 
+       @echo this is the am__doit target
125694
 
+.PHONY: am__doit
125695
 
+END
125696
 
+# If we don't find an include directive, just comment out the code.
125697
 
+AC_MSG_CHECKING([for style of include used by $am_make])
125698
 
+am__include="#"
125699
 
+am__quote=
125700
 
+_am_result=none
125701
 
+# First try GNU make style include.
125702
 
+echo "include confinc" > confmf
125703
 
+# Ignore all kinds of additional output from `make'.
125704
 
+case `$am_make -s -f confmf 2> /dev/null` in #(
125705
 
+*the\ am__doit\ target*)
125706
 
+  am__include=include
125707
 
+  am__quote=
125708
 
+  _am_result=GNU
125709
 
+  ;;
125710
 
+esac
125711
 
+# Now try BSD make style include.
125712
 
+if test "$am__include" = "#"; then
125713
 
+   echo '.include "confinc"' > confmf
125714
 
+   case `$am_make -s -f confmf 2> /dev/null` in #(
125715
 
+   *the\ am__doit\ target*)
125716
 
+     am__include=.include
125717
 
+     am__quote="\""
125718
 
+     _am_result=BSD
125719
 
+     ;;
125720
 
+   esac
125721
 
+fi
125722
 
+AC_SUBST([am__include])
125723
 
+AC_SUBST([am__quote])
125724
 
+AC_MSG_RESULT([$_am_result])
125725
 
+rm -f confinc confmf
125726
 
+])
125727
 
+m4trace:/usr/share/aclocal-1.11/minuso.m4:14: -1- AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl
125728
 
+AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
125729
 
+AC_REQUIRE_AUX_FILE([compile])dnl
125730
 
+# FIXME: we rely on the cache variable name because
125731
 
+# there is no other way.
125732
 
+set dummy $CC
125733
 
+am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
125734
 
+eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
125735
 
+if test "$am_t" != yes; then
125736
 
+   # Losing compiler, so override with the script.
125737
 
+   # FIXME: It is wrong to rewrite CC.
125738
 
+   # But if we don't then we get into trouble of one sort or another.
125739
 
+   # A longer-term fix would be to have automake use am__CC in this case,
125740
 
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
125741
 
+   CC="$am_aux_dir/compile $CC"
125742
 
+fi
125743
 
+dnl Make sure AC_PROG_CC is never called again, or it will override our
125744
 
+dnl setting of CC.
125745
 
+m4_define([AC_PROG_CC],
125746
 
+          [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
125747
 
+])
125748
 
+m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
125749
 
+$1=${$1-"${am_missing_run}$2"}
125750
 
+AC_SUBST($1)])
125751
 
+m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
125752
 
+AC_REQUIRE_AUX_FILE([missing])dnl
125753
 
+if test x"${MISSING+set}" != xset; then
125754
 
+  case $am_aux_dir in
125755
 
+  *\ * | *\    *)
125756
 
+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
125757
 
+  *)
125758
 
+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
125759
 
+  esac
125760
 
+fi
125761
 
+# Use eval to expand $SHELL
125762
 
+if eval "$MISSING --run true"; then
125763
 
+  am_missing_run="$MISSING --run "
125764
 
+else
125765
 
+  am_missing_run=
125766
 
+  AC_MSG_WARN([`missing' script is too old or missing])
125767
 
+fi
125768
 
+])
125769
 
+m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
125770
 
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
125771
 
+dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
125772
 
+dnl while keeping a definition of mkdir_p for backward compatibility.
125773
 
+dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
125774
 
+dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
125775
 
+dnl Makefile.ins that do not define MKDIR_P, so we do our own
125776
 
+dnl adjustment using top_builddir (which is defined more often than
125777
 
+dnl MKDIR_P).
125778
 
+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
125779
 
+case $mkdir_p in
125780
 
+  [[\\/$]]* | ?:[[\\/]]*) ;;
125781
 
+  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
125782
 
+esac
125783
 
+])
125784
 
+m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
125785
 
+m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
125786
 
+m4trace:/usr/share/aclocal-1.11/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
125787
 
+m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
125788
 
+m4trace:/usr/share/aclocal-1.11/protos.m4:14: -1- AC_DEFUN([AM_C_PROTOTYPES], [AC_REQUIRE([AC_C_PROTOTYPES])
125789
 
+if test "$ac_cv_prog_cc_stdc" != no; then
125790
 
+  U= ANSI2KNR=
125791
 
+else
125792
 
+  U=_ ANSI2KNR=./ansi2knr
125793
 
+fi
125794
 
+# Ensure some checks needed by ansi2knr itself.
125795
 
+AC_REQUIRE([AC_HEADER_STDC])
125796
 
+AC_CHECK_HEADERS([string.h])
125797
 
+AC_SUBST([U])dnl
125798
 
+AC_SUBST([ANSI2KNR])dnl
125799
 
+_AM_SUBST_NOTMAKE([ANSI2KNR])dnl
125800
 
+])
125801
 
+m4trace:/usr/share/aclocal-1.11/protos.m4:29: -1- AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
125802
 
+m4trace:/usr/share/aclocal-1.11/protos.m4:29: -1- AC_DEFUN([fp_C_PROTOTYPES], [AC_DIAGNOSE([obsolete], [The macro `fp_C_PROTOTYPES' is obsolete.
125803
 
+You should run autoupdate.])dnl
125804
 
+AM_C_PROTOTYPES])
125805
 
+m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
125806
 
+   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
125807
 
+   ac_status=$?
125808
 
+   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
125809
 
+   (exit $ac_status); }])
125810
 
+m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
125811
 
+# Just in case
125812
 
+sleep 1
125813
 
+echo timestamp > conftest.file
125814
 
+# Reject unsafe characters in $srcdir or the absolute working directory
125815
 
+# name.  Accept space and tab only in the latter.
125816
 
+am_lf='
125817
 
+'
125818
 
+case `pwd` in
125819
 
+  *[[\\\"\#\$\&\'\`$am_lf]]*)
125820
 
+    AC_MSG_ERROR([unsafe absolute working directory name]);;
125821
 
+esac
125822
 
+case $srcdir in
125823
 
+  *[[\\\"\#\$\&\'\`$am_lf\ \   ]]*)
125824
 
+    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
125825
 
+esac
125826
 
+
125827
 
+# Do `set' in a subshell so we don't clobber the current shell's
125828
 
+# arguments.  Must try -L first in case configure is actually a
125829
 
+# symlink; some systems play weird games with the mod time of symlinks
125830
 
+# (eg FreeBSD returns the mod time of the symlink's containing
125831
 
+# directory).
125832
 
+if (
125833
 
+   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
125834
 
+   if test "$[*]" = "X"; then
125835
 
+      # -L didn't work.
125836
 
+      set X `ls -t "$srcdir/configure" conftest.file`
125837
 
+   fi
125838
 
+   rm -f conftest.file
125839
 
+   if test "$[*]" != "X $srcdir/configure conftest.file" \
125840
 
+      && test "$[*]" != "X conftest.file $srcdir/configure"; then
125841
 
+
125842
 
+      # If neither matched, then we have a broken ls.  This can happen
125843
 
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
125844
 
+      # broken ls alias from the environment.  This has actually
125845
 
+      # happened.  Such a system could not be considered "sane".
125846
 
+      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
125847
 
+alias in your environment])
125848
 
+   fi
125849
 
+
125850
 
+   test "$[2]" = conftest.file
125851
 
+   )
125852
 
+then
125853
 
+   # Ok.
125854
 
+   :
125855
 
+else
125856
 
+   AC_MSG_ERROR([newly created file is older than distributed files!
125857
 
+Check your system clock])
125858
 
+fi
125859
 
+AC_MSG_RESULT(yes)])
125860
 
+m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
125861
 
+[  --enable-silent-rules          less verbose build output (undo: `make V=1')
125862
 
+  --disable-silent-rules         verbose build output (undo: `make V=0')])
125863
 
+case $enable_silent_rules in
125864
 
+yes) AM_DEFAULT_VERBOSITY=0;;
125865
 
+no)  AM_DEFAULT_VERBOSITY=1;;
125866
 
+*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
125867
 
+esac
125868
 
+AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
125869
 
+AM_BACKSLASH='\'
125870
 
+AC_SUBST([AM_BACKSLASH])dnl
125871
 
+_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
125872
 
+])
125873
 
+m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
125874
 
+# Installed binaries are usually stripped using `strip' when the user
125875
 
+# run `make install-strip'.  However `strip' might not be the right
125876
 
+# tool to use in cross-compilation environments, therefore Automake
125877
 
+# will honor the `STRIP' environment variable to overrule this program.
125878
 
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
125879
 
+if test "$cross_compiling" != no; then
125880
 
+  AC_CHECK_TOOL([STRIP], [strip], :)
125881
 
+fi
125882
 
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
125883
 
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
125884
 
+m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
125885
 
+m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
125886
 
+m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
125887
 
+AM_MISSING_PROG([AMTAR], [tar])
125888
 
+m4_if([$1], [v7],
125889
 
+     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
125890
 
+     [m4_case([$1], [ustar],, [pax],,
125891
 
+              [m4_fatal([Unknown tar format])])
125892
 
+AC_MSG_CHECKING([how to create a $1 tar archive])
125893
 
+# Loop over all known methods to create a tar archive until one works.
125894
 
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
125895
 
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
125896
 
+# Do not fold the above two line into one, because Tru64 sh and
125897
 
+# Solaris sh will not grok spaces in the rhs of `-'.
125898
 
+for _am_tool in $_am_tools
125899
 
+do
125900
 
+  case $_am_tool in
125901
 
+  gnutar)
125902
 
+    for _am_tar in tar gnutar gtar;
125903
 
+    do
125904
 
+      AM_RUN_LOG([$_am_tar --version]) && break
125905
 
+    done
125906
 
+    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
125907
 
+    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
125908
 
+    am__untar="$_am_tar -xf -"
125909
 
+    ;;
125910
 
+  plaintar)
125911
 
+    # Must skip GNU tar: if it does not support --format= it doesn't create
125912
 
+    # ustar tarball either.
125913
 
+    (tar --version) >/dev/null 2>&1 && continue
125914
 
+    am__tar='tar chf - "$$tardir"'
125915
 
+    am__tar_='tar chf - "$tardir"'
125916
 
+    am__untar='tar xf -'
125917
 
+    ;;
125918
 
+  pax)
125919
 
+    am__tar='pax -L -x $1 -w "$$tardir"'
125920
 
+    am__tar_='pax -L -x $1 -w "$tardir"'
125921
 
+    am__untar='pax -r'
125922
 
+    ;;
125923
 
+  cpio)
125924
 
+    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
125925
 
+    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
125926
 
+    am__untar='cpio -i -H $1 -d'
125927
 
+    ;;
125928
 
+  none)
125929
 
+    am__tar=false
125930
 
+    am__tar_=false
125931
 
+    am__untar=false
125932
 
+    ;;
125933
 
+  esac
125934
 
+
125935
 
+  # If the value was cached, stop now.  We just wanted to have am__tar
125936
 
+  # and am__untar set.
125937
 
+  test -n "${am_cv_prog_tar_$1}" && break
125938
 
+
125939
 
+  # tar/untar a dummy directory, and stop if the command works
125940
 
+  rm -rf conftest.dir
125941
 
+  mkdir conftest.dir
125942
 
+  echo GrepMe > conftest.dir/file
125943
 
+  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
125944
 
+  rm -rf conftest.dir
125945
 
+  if test -s conftest.tar; then
125946
 
+    AM_RUN_LOG([$am__untar <conftest.tar])
125947
 
+    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
125948
 
+  fi
125949
 
+done
125950
 
+rm -rf conftest.dir
125951
 
+
125952
 
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
125953
 
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
125954
 
+AC_SUBST([am__tar])
125955
 
+AC_SUBST([am__untar])
125956
 
+])
125957
 
+m4trace:m4/00gnulib.m4:30: -1- AC_DEFUN([gl_00GNULIB])
125958
 
+m4trace:m4/acl.m4:11: -1- AC_DEFUN([gl_FUNC_ACL], [
125959
 
+  AC_ARG_ENABLE([acl],
125960
 
+    AS_HELP_STRING([--disable-acl], [do not support ACLs]),
125961
 
+    , [enable_acl=auto])
125962
 
+
125963
 
+  LIB_ACL=
125964
 
+  use_acl=0
125965
 
+  AC_REQUIRE([AC_C_INLINE])
125966
 
+  if test "x$enable_acl" != "xno"; then
125967
 
+    dnl On all platforms, the ACL related API is declared in <sys/acl.h>.
125968
 
+    AC_CHECK_HEADERS([sys/acl.h])
125969
 
+    if test $ac_cv_header_sys_acl_h = yes; then
125970
 
+      ac_save_LIBS=$LIBS
125971
 
+
125972
 
+      dnl Test for POSIX-draft-like API (Linux, FreeBSD, MacOS X, IRIX, Tru64).
125973
 
+      dnl -lacl is needed on Linux, -lpacl is needed on OSF/1.
125974
 
+      if test $use_acl = 0; then
125975
 
+        AC_SEARCH_LIBS([acl_get_file], [acl pacl],
125976
 
+          [if test "$ac_cv_search_acl_get_file" != "none required"; then
125977
 
+             LIB_ACL=$ac_cv_search_acl_get_file
125978
 
+           fi
125979
 
+           AC_CHECK_FUNCS(
125980
 
+             [acl_get_file acl_get_fd acl_set_file acl_set_fd \
125981
 
+              acl_free acl_from_mode acl_from_text \
125982
 
+              acl_delete_def_file acl_extended_file acl_extended_file_nofollow \
125983
 
+              acl_delete_fd_np acl_delete_file_np \
125984
 
+              acl_copy_ext_native acl_create_entry_np \
125985
 
+              acl_to_short_text acl_free_text])
125986
 
+           # If the acl_get_file bug is detected, don't enable the ACL support.
125987
 
+           gl_ACL_GET_FILE([use_acl=1], [])
125988
 
+           if test $use_acl = 1; then
125989
 
+             dnl On Linux, additional API is declared in <acl/libacl.h>.
125990
 
+             AC_CHECK_HEADERS([acl/libacl.h])
125991
 
+             AC_REPLACE_FUNCS([acl_entries])
125992
 
+             AC_CACHE_CHECK([for ACL_FIRST_ENTRY],
125993
 
+               [gl_cv_acl_ACL_FIRST_ENTRY],
125994
 
+               [AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
125995
 
+[[#include <sys/types.h>
125996
 
+#include <sys/acl.h>
125997
 
+int type = ACL_FIRST_ENTRY;]])],
125998
 
+                  [gl_cv_acl_ACL_FIRST_ENTRY=yes],
125999
 
+                  [gl_cv_acl_ACL_FIRST_ENTRY=no])])
126000
 
+             if test $gl_cv_acl_ACL_FIRST_ENTRY = yes; then
126001
 
+               AC_DEFINE([HAVE_ACL_FIRST_ENTRY], [1],
126002
 
+                 [Define to 1 if the constant ACL_FIRST_ENTRY exists.])
126003
 
+             fi
126004
 
+             dnl On MacOS X, other types of ACLs are supported.
126005
 
+             AC_CACHE_CHECK([for ACL_TYPE_EXTENDED],
126006
 
+               [gl_cv_acl_ACL_TYPE_EXTENDED],
126007
 
+               [AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
126008
 
+[[#include <sys/types.h>
126009
 
+#include <sys/acl.h>
126010
 
+int type = ACL_TYPE_EXTENDED;]])],
126011
 
+                  [gl_cv_acl_ACL_TYPE_EXTENDED=yes],
126012
 
+                  [gl_cv_acl_ACL_TYPE_EXTENDED=no])])
126013
 
+             if test $gl_cv_acl_ACL_TYPE_EXTENDED = yes; then
126014
 
+               AC_DEFINE([HAVE_ACL_TYPE_EXTENDED], [1],
126015
 
+                 [Define to 1 if the ACL type ACL_TYPE_EXTENDED exists.])
126016
 
+             fi
126017
 
+           else
126018
 
+             LIB_ACL=
126019
 
+           fi
126020
 
+          ])
126021
 
+      fi
126022
 
+
126023
 
+      dnl Test for Solaris API (Solaris, Cygwin).
126024
 
+      if test $use_acl = 0; then
126025
 
+        AC_CHECK_FUNCS([facl])
126026
 
+        if test $ac_cv_func_facl = yes; then
126027
 
+          AC_SEARCH_LIBS([acl_trivial], [sec],
126028
 
+            [if test "$ac_cv_search_acl_trivial" != "none required"; then
126029
 
+               LIB_ACL=$ac_cv_search_acl_trivial
126030
 
+             fi
126031
 
+            ])
126032
 
+          AC_CHECK_FUNCS([acl_trivial])
126033
 
+          use_acl=1
126034
 
+        fi
126035
 
+      fi
126036
 
+
126037
 
+      dnl Test for HP-UX API.
126038
 
+      if test $use_acl = 0; then
126039
 
+        AC_CHECK_FUNCS([getacl])
126040
 
+        if test $ac_cv_func_getacl = yes; then
126041
 
+          use_acl=1
126042
 
+        fi
126043
 
+        dnl Test for HP-UX 11.11 API.
126044
 
+        AC_CHECK_HEADERS([aclv.h], [], [], [#include <sys/types.h>])
126045
 
+      fi
126046
 
+
126047
 
+      dnl Test for AIX API (AIX 5.3 or newer).
126048
 
+      if test $use_acl = 0; then
126049
 
+        AC_CHECK_FUNCS([aclx_get])
126050
 
+        if test $ac_cv_func_aclx_get = yes; then
126051
 
+          use_acl=1
126052
 
+        fi
126053
 
+      fi
126054
 
+
126055
 
+      dnl Test for older AIX API.
126056
 
+      if test $use_acl = 0 || test "$ac_cv_func_aclx_get" = yes; then
126057
 
+        AC_CHECK_FUNCS([statacl])
126058
 
+        if test $ac_cv_func_statacl = yes; then
126059
 
+          use_acl=1
126060
 
+        fi
126061
 
+      fi
126062
 
+
126063
 
+      dnl Test for NonStop Kernel API.
126064
 
+      if test $use_acl = 0; then
126065
 
+        AC_CHECK_FUNCS([aclsort])
126066
 
+        if test $ac_cv_func_aclsort = yes; then
126067
 
+          use_acl=1
126068
 
+        fi
126069
 
+      fi
126070
 
+
126071
 
+      LIBS=$ac_save_LIBS
126072
 
+    fi
126073
 
+    if test "x$enable_acl$use_acl" = "xyes0"; then
126074
 
+      AC_MSG_ERROR([ACLs enabled but support not detected])
126075
 
+    elif test "x$enable_acl$use_acl" = "xauto0"; then
126076
 
+      AC_MSG_WARN([libacl development library was not found or not usable.])
126077
 
+      AC_MSG_WARN([AC_PACKAGE_NAME will be built without ACL support.])
126078
 
+    fi
126079
 
+  fi
126080
 
+  AC_SUBST([LIB_ACL])
126081
 
+  AC_DEFINE_UNQUOTED([USE_ACL], [$use_acl],
126082
 
+    [Define to nonzero if you want access control list support.])
126083
 
+  USE_ACL=$use_acl
126084
 
+  AC_SUBST([USE_ACL])
126085
 
+])
126086
 
+m4trace:m4/acl.m4:147: -1- AC_DEFUN([gl_ACL_GET_FILE], [
126087
 
+  AC_CACHE_CHECK([for working acl_get_file], [gl_cv_func_working_acl_get_file],
126088
 
+    [AC_RUN_IFELSE(
126089
 
+       [AC_LANG_PROGRAM(
126090
 
+          [[#include <sys/types.h>
126091
 
+           #include <sys/acl.h>
126092
 
+           #include <errno.h>
126093
 
+          ]],
126094
 
+          [[if (!acl_get_file (".", ACL_TYPE_ACCESS) && errno == ENOENT)
126095
 
+              return 1;
126096
 
+            return 0;
126097
 
+          ]])],
126098
 
+       [gl_cv_func_working_acl_get_file=yes],
126099
 
+       [gl_cv_func_working_acl_get_file=no],
126100
 
+       [gl_cv_func_working_acl_get_file=cross-compiling])])
126101
 
+
126102
 
+  AS_IF([test $gl_cv_func_working_acl_get_file = yes], [$1], [$2])
126103
 
+])
126104
 
+m4trace:m4/alloca.m4:8: -1- AC_DEFUN([gl_FUNC_ALLOCA], [
126105
 
+  AC_REQUIRE([AC_FUNC_ALLOCA])
126106
 
+  if test $ac_cv_func_alloca_works = no; then
126107
 
+    gl_PREREQ_ALLOCA
126108
 
+  fi
126109
 
+
126110
 
+  # Define an additional variable used in the Makefile substitution.
126111
 
+  if test $ac_cv_working_alloca_h = yes; then
126112
 
+    AC_CACHE_CHECK([for alloca as a compiler built-in], [gl_cv_rpl_alloca], [
126113
 
+      AC_EGREP_CPP([Need own alloca], [
126114
 
+#if defined __GNUC__ || defined _AIX || defined _MSC_VER
126115
 
+        Need own alloca
126116
 
+#endif
126117
 
+        ], [gl_cv_rpl_alloca=yes], [gl_cv_rpl_alloca=no])
126118
 
+    ])
126119
 
+    if test $gl_cv_rpl_alloca = yes; then
126120
 
+      dnl OK, alloca can be implemented through a compiler built-in.
126121
 
+      AC_DEFINE([HAVE_ALLOCA], [1],
126122
 
+        [Define to 1 if you have 'alloca' after including <alloca.h>,
126123
 
+         a header that may be supplied by this distribution.])
126124
 
+      ALLOCA_H=alloca.h
126125
 
+    else
126126
 
+      dnl alloca exists as a library function, i.e. it is slow and probably
126127
 
+      dnl a memory leak. Don't define HAVE_ALLOCA in this case.
126128
 
+      ALLOCA_H=
126129
 
+    fi
126130
 
+  else
126131
 
+    ALLOCA_H=alloca.h
126132
 
+  fi
126133
 
+  AC_SUBST([ALLOCA_H])
126134
 
+  AM_CONDITIONAL([GL_GENERATE_ALLOCA_H], [test -n "$ALLOCA_H"])
126135
 
+])
126136
 
+m4trace:m4/alloca.m4:44: -1- AC_DEFUN([gl_PREREQ_ALLOCA], [:])
126137
 
+m4trace:m4/arpa_inet_h.m4:9: -1- AC_DEFUN([gl_HEADER_ARPA_INET], [
126138
 
+  dnl Use AC_REQUIRE here, so that the default behavior below is expanded
126139
 
+  dnl once only, before all statements that occur in other macros.
126140
 
+  AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS])
126141
 
+
126142
 
+  AC_CHECK_HEADERS_ONCE([arpa/inet.h])
126143
 
+  if test $ac_cv_header_arpa_inet_h = yes; then
126144
 
+    HAVE_ARPA_INET_H=1
126145
 
+  else
126146
 
+    HAVE_ARPA_INET_H=0
126147
 
+  fi
126148
 
+  AC_SUBST([HAVE_ARPA_INET_H])
126149
 
+  dnl <arpa/inet.h> is always overridden, because of GNULIB_POSIXCHECK.
126150
 
+  gl_CHECK_NEXT_HEADERS([arpa/inet.h])
126151
 
+
126152
 
+  AC_REQUIRE([gl_FEATURES_H])
126153
 
+
126154
 
+  dnl Check for declarations of anything we want to poison if the
126155
 
+  dnl corresponding gnulib module is not in use.
126156
 
+  gl_WARN_ON_USE_PREPARE([[
126157
 
+/* On some systems, this header is not self-consistent.  */
126158
 
+#if !(defined __GLIBC__ || defined __UCLIBC__)
126159
 
+# include <sys/socket.h>
126160
 
+#endif
126161
 
+#ifdef __TANDEM
126162
 
+# include <netdb.h>
126163
 
+#endif
126164
 
+#include <arpa/inet.h>
126165
 
+    ]], [inet_ntop inet_pton])
126166
 
+])
126167
 
+m4trace:m4/arpa_inet_h.m4:41: -1- AC_DEFUN([gl_ARPA_INET_MODULE_INDICATOR], [
126168
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
126169
 
+  AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS])
126170
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
126171
 
+])
126172
 
+m4trace:m4/arpa_inet_h.m4:48: -1- AC_DEFUN([gl_ARPA_INET_H_DEFAULTS], [
126173
 
+  GNULIB_INET_NTOP=0;     AC_SUBST([GNULIB_INET_NTOP])
126174
 
+  GNULIB_INET_PTON=0;     AC_SUBST([GNULIB_INET_PTON])
126175
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
126176
 
+  HAVE_DECL_INET_NTOP=1;  AC_SUBST([HAVE_DECL_INET_NTOP])
126177
 
+  HAVE_DECL_INET_PTON=1;  AC_SUBST([HAVE_DECL_INET_PTON])
126178
 
+])
126179
 
+m4trace:m4/assert.m4:11: -1- AC_DEFUN([gl_ASSERT], [
126180
 
+  AC_MSG_CHECKING([whether to enable assertions])
126181
 
+  AC_ARG_ENABLE([assert],
126182
 
+    [AS_HELP_STRING([--disable-assert], [turn off assertions])],
126183
 
+    [AS_IF([test "x$enableval" = xno],
126184
 
+      [AC_DEFINE([NDEBUG], [1],
126185
 
+        [Define to 1 if assertions should be disabled.])],
126186
 
+      [test "x$enableval" != xyes],
126187
 
+      [AC_MSG_WARN([invalid argument supplied to --enable-assert])
126188
 
+      enable_assert=yes])],
126189
 
+    [enable_assert=yes])
126190
 
+  AC_MSG_RESULT([$enable_assert])
126191
 
+])
126192
 
+m4trace:m4/autobuild.m4:10: -1- AC_DEFUN([AB_INIT], [
126193
 
+  AC_REQUIRE([AC_CANONICAL_BUILD])
126194
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
126195
 
+
126196
 
+  if test -z "$AB_PACKAGE"; then
126197
 
+    AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE}
126198
 
+  fi
126199
 
+  AC_MSG_NOTICE([autobuild project... $AB_PACKAGE])
126200
 
+
126201
 
+  if test -z "$AB_VERSION"; then
126202
 
+    AB_VERSION=${PACKAGE_VERSION:-$VERSION}
126203
 
+  fi
126204
 
+  AC_MSG_NOTICE([autobuild revision... $AB_VERSION])
126205
 
+
126206
 
+  hostname=`hostname`
126207
 
+  if test "$hostname"; then
126208
 
+    AC_MSG_NOTICE([autobuild hostname... $hostname])
126209
 
+  fi
126210
 
+
126211
 
+  ifelse([$1],[],,[AC_MSG_NOTICE([autobuild mode... $1])])
126212
 
+
126213
 
+  date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ`
126214
 
+  if test "$?" != 0; then
126215
 
+    date=`date`
126216
 
+  fi
126217
 
+  if test "$date"; then
126218
 
+    AC_MSG_NOTICE([autobuild timestamp... $date])
126219
 
+  fi
126220
 
+])
126221
 
+m4trace:m4/backupfile.m4:8: -1- AC_DEFUN([gl_BACKUPFILE], [
126222
 
+  AC_REQUIRE([gl_CHECK_TYPE_STRUCT_DIRENT_D_INO])
126223
 
+  AC_REQUIRE([AC_SYS_LONG_FILE_NAMES])
126224
 
+  AC_CHECK_FUNCS_ONCE([pathconf])
126225
 
+])
126226
 
+m4trace:m4/base64.m4:7: -1- AC_DEFUN([gl_FUNC_BASE64], [
126227
 
+  gl_PREREQ_BASE64
126228
 
+])
126229
 
+m4trace:m4/base64.m4:13: -1- AC_DEFUN([gl_PREREQ_BASE64], [
126230
 
+  AC_REQUIRE([AC_C_INLINE])
126231
 
+  AC_REQUIRE([AC_C_RESTRICT])
126232
 
+])
126233
 
+m4trace:m4/bison.m4:8: -1- AC_DEFUN([gl_BISON], [
126234
 
+  # parse-datetime.y works with bison only.
126235
 
+  : ${YACC='bison -y'}
126236
 
+dnl
126237
 
+dnl Declaring YACC & YFLAGS precious will not be necessary after GNULIB
126238
 
+dnl requires an Autoconf greater than 2.59c, but it will probably still be
126239
 
+dnl useful to override the description of YACC in the --help output, re
126240
 
+dnl parse-datetime.y assuming `bison -y'.
126241
 
+  AC_ARG_VAR([YACC],
126242
 
+[The `Yet Another C Compiler' implementation to use.  Defaults to `bison -y'.
126243
 
+Values other than `bison -y' will most likely break on most systems.])dnl
126244
 
+  AC_ARG_VAR([YFLAGS],
126245
 
+[YFLAGS contains the list arguments that will be passed by default to Bison.
126246
 
+This script will default YFLAGS to the empty string to avoid a default value of
126247
 
+`-d' given by some make applications.])dnl
126248
 
+])
126249
 
+m4trace:m4/boottime.m4:22: -1- AC_DEFUN([GNULIB_BOOT_TIME], [
126250
 
+  AC_CHECK_FUNCS([sysctl])
126251
 
+  AC_CHECK_HEADERS_ONCE([sys/param.h])
126252
 
+  AC_CHECK_HEADERS([sys/sysctl.h], [], [],
126253
 
+    [AC_INCLUDES_DEFAULT
126254
 
+     [#if HAVE_SYS_PARAM_H
126255
 
+       #include <sys/param.h>
126256
 
+      #endif]])
126257
 
+  AC_CHECK_HEADERS_ONCE([utmp.h utmpx.h OS.h])
126258
 
+  AC_CACHE_CHECK(
126259
 
+    [whether we can get the system boot time],
126260
 
+    [gnulib_cv_have_boot_time],
126261
 
+    [
126262
 
+      AC_COMPILE_IFELSE(
126263
 
+       [AC_LANG_PROGRAM(
126264
 
+[AC_INCLUDES_DEFAULT
126265
 
+#if HAVE_SYSCTL && HAVE_SYS_SYSCTL_H
126266
 
+# if HAVE_SYS_PARAM_H
126267
 
+#  include <sys/param.h> /* needed for OpenBSD 3.0 */
126268
 
+# endif
126269
 
+# include <sys/sysctl.h>
126270
 
+#endif
126271
 
+#if HAVE_UTMPX_H
126272
 
+# include <utmpx.h>
126273
 
+#elif HAVE_UTMP_H
126274
 
+# include <utmp.h>
126275
 
+#endif
126276
 
+#if HAVE_OS_H
126277
 
+# include <OS.h>
126278
 
+#endif
126279
 
+],
126280
 
+[[
126281
 
+#if (defined BOOT_TIME                              \
126282
 
+     || (defined CTL_KERN && defined KERN_BOOTTIME) \
126283
 
+     || HAVE_OS_H)
126284
 
+/* your system *does* have the infrastructure to determine boot time */
126285
 
+#else
126286
 
+please_tell_us_how_to_determine_boot_time_on_your_system
126287
 
+#endif
126288
 
+]])],
126289
 
+       [gnulib_cv_have_boot_time=yes],
126290
 
+       [gnulib_cv_have_boot_time=no])
126291
 
+    ])
126292
 
+  AS_IF([test $gnulib_cv_have_boot_time = yes], [$1], [$2])
126293
 
+])
126294
 
+m4trace:m4/btowc.m4:7: -1- AC_DEFUN([gl_FUNC_BTOWC], [
126295
 
+  AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
126296
 
+
126297
 
+  dnl Check whether <wchar.h> is usable at all, first. Otherwise the test
126298
 
+  dnl program below may lead to an endless loop. See
126299
 
+  dnl <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42440>.
126300
 
+  AC_REQUIRE([gl_WCHAR_H_INLINE_OK])
126301
 
+
126302
 
+  AC_CHECK_FUNCS_ONCE([btowc])
126303
 
+  if test $ac_cv_func_btowc = no; then
126304
 
+    HAVE_BTOWC=0
126305
 
+  else
126306
 
+
126307
 
+    AC_REQUIRE([AC_PROG_CC])
126308
 
+    AC_REQUIRE([gt_LOCALE_FR])
126309
 
+    AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
126310
 
+
126311
 
+    dnl Cygwin 1.7.2 btowc('\0') is WEOF, not 0.
126312
 
+    AC_CACHE_CHECK([whether btowc(0) is correct],
126313
 
+      [gl_cv_func_btowc_nul],
126314
 
+      [
126315
 
+        AC_RUN_IFELSE(
126316
 
+          [AC_LANG_SOURCE([[
126317
 
+#include <string.h>
126318
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
126319
 
+   <wchar.h>.
126320
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
126321
 
+   included before <wchar.h>.  */
126322
 
+#include <stddef.h>
126323
 
+#include <stdio.h>
126324
 
+#include <time.h>
126325
 
+#include <wchar.h>
126326
 
+int main ()
126327
 
+{
126328
 
+  if (btowc ('\0') != 0)
126329
 
+    return 1;
126330
 
+  return 0;
126331
 
+}]])],
126332
 
+          [gl_cv_func_btowc_nul=yes],
126333
 
+          [gl_cv_func_btowc_nul=no],
126334
 
+          [
126335
 
+changequote(,)dnl
126336
 
+           case "$host_os" in
126337
 
+                      # Guess no on Cygwin.
126338
 
+             cygwin*) gl_cv_func_btowc_nul="guessing no" ;;
126339
 
+                      # Guess yes otherwise.
126340
 
+             *)       gl_cv_func_btowc_nul="guessing yes" ;;
126341
 
+           esac
126342
 
+changequote([,])dnl
126343
 
+          ])
126344
 
+      ])
126345
 
+
126346
 
+    dnl IRIX 6.5 btowc(EOF) is 0xFF, not WEOF.
126347
 
+    AC_CACHE_CHECK([whether btowc(EOF) is correct],
126348
 
+      [gl_cv_func_btowc_eof],
126349
 
+      [
126350
 
+        dnl Initial guess, used when cross-compiling or when no suitable locale
126351
 
+        dnl is present.
126352
 
+changequote(,)dnl
126353
 
+        case "$host_os" in
126354
 
+                 # Guess no on IRIX.
126355
 
+          irix*) gl_cv_func_btowc_eof="guessing no" ;;
126356
 
+                 # Guess yes otherwise.
126357
 
+          *)     gl_cv_func_btowc_eof="guessing yes" ;;
126358
 
+        esac
126359
 
+changequote([,])dnl
126360
 
+        if test $LOCALE_FR != none; then
126361
 
+          AC_RUN_IFELSE(
126362
 
+            [AC_LANG_SOURCE([[
126363
 
+#include <locale.h>
126364
 
+#include <string.h>
126365
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
126366
 
+   <wchar.h>.
126367
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
126368
 
+   included before <wchar.h>.  */
126369
 
+#include <stddef.h>
126370
 
+#include <stdio.h>
126371
 
+#include <time.h>
126372
 
+#include <wchar.h>
126373
 
+int main ()
126374
 
+{
126375
 
+  if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
126376
 
+    {
126377
 
+      if (btowc (EOF) != WEOF)
126378
 
+        return 1;
126379
 
+    }
126380
 
+  return 0;
126381
 
+}]])],
126382
 
+            [gl_cv_func_btowc_eof=yes],
126383
 
+            [gl_cv_func_btowc_eof=no],
126384
 
+            [:])
126385
 
+        fi
126386
 
+      ])
126387
 
+
126388
 
+    case "$gl_cv_func_btowc_nul" in
126389
 
+      *yes) ;;
126390
 
+      *) REPLACE_BTOWC=1 ;;
126391
 
+    esac
126392
 
+    case "$gl_cv_func_btowc_eof" in
126393
 
+      *yes) ;;
126394
 
+      *) REPLACE_BTOWC=1 ;;
126395
 
+    esac
126396
 
+  fi
126397
 
+])
126398
 
+m4trace:m4/btowc.m4:114: -1- AC_DEFUN([gl_PREREQ_BTOWC], [
126399
 
+  :
126400
 
+])
126401
 
+m4trace:m4/c-strtod.m4:10: -1- AC_DEFUN([gl_C99_STRTOLD], [
126402
 
+  AC_CACHE_CHECK([whether strtold conforms to C99],
126403
 
+    [gl_cv_func_c99_strtold],
126404
 
+    [AC_LINK_IFELSE(
126405
 
+       [AC_LANG_PROGRAM(
126406
 
+          [[/* On HP-UX before 11.23, strtold returns a struct instead of
126407
 
+                long double.  Reject implementations like that, by requiring
126408
 
+                compatibility with the C99 prototype.  */
126409
 
+             #include <stdlib.h>
126410
 
+             static long double (*p) (char const *, char **) = strtold;
126411
 
+             static long double
126412
 
+             test (char const *nptr, char **endptr)
126413
 
+             {
126414
 
+               long double r;
126415
 
+               r = strtold (nptr, endptr);
126416
 
+               return r;
126417
 
+             }]],
126418
 
+           [[return test ("1.0", NULL) != 1 || p ("1.0", NULL) != 1;]])],
126419
 
+       [gl_cv_func_c99_strtold=yes],
126420
 
+       [gl_cv_func_c99_strtold=no])])
126421
 
+  if test $gl_cv_func_c99_strtold = yes; then
126422
 
+    AC_DEFINE([HAVE_C99_STRTOLD], [1], [Define to 1 if strtold conforms to C99.])
126423
 
+  fi
126424
 
+])
126425
 
+m4trace:m4/c-strtod.m4:37: -1- AC_DEFUN([gl_C_STRTOD], [
126426
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
126427
 
+  AC_CHECK_FUNCS([strtod_l])
126428
 
+
126429
 
+  AC_REQUIRE([AC_C_INLINE])
126430
 
+  :
126431
 
+])
126432
 
+m4trace:m4/c-strtod.m4:47: -1- AC_DEFUN([gl_C_STRTOLD], [
126433
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
126434
 
+  AC_REQUIRE([gl_C99_STRTOLD])
126435
 
+  AC_CHECK_FUNCS([strtold_l])
126436
 
+
126437
 
+  AC_REQUIRE([AC_C_INLINE])
126438
 
+  :
126439
 
+])
126440
 
+m4trace:m4/calloc.m4:18: -1- AC_DEFUN([_AC_FUNC_CALLOC_IF], [
126441
 
+  AC_REQUIRE([AC_TYPE_SIZE_T])dnl
126442
 
+  AC_CACHE_CHECK([for GNU libc compatible calloc],
126443
 
+    [ac_cv_func_calloc_0_nonnull],
126444
 
+    [AC_RUN_IFELSE(
126445
 
+       [AC_LANG_PROGRAM(
126446
 
+          [AC_INCLUDES_DEFAULT],
126447
 
+          [[int result = 0;
126448
 
+            if (!calloc (0, 0))
126449
 
+              result |= 1;
126450
 
+            if (calloc ((size_t) -1 / 8 + 1, 8))
126451
 
+              result |= 2;
126452
 
+            return result;
126453
 
+          ]])],
126454
 
+       [ac_cv_func_calloc_0_nonnull=yes],
126455
 
+       [ac_cv_func_calloc_0_nonnull=no],
126456
 
+       [ac_cv_func_calloc_0_nonnull=no])])
126457
 
+  AS_IF([test $ac_cv_func_calloc_0_nonnull = yes], [$1], [$2])
126458
 
+])
126459
 
+m4trace:m4/calloc.m4:44: -1- AC_DEFUN([gl_FUNC_CALLOC_GNU], [
126460
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
126461
 
+  _AC_FUNC_CALLOC_IF(
126462
 
+    [AC_DEFINE([HAVE_CALLOC_GNU], [1],
126463
 
+               [Define to 1 if your system has a GNU libc compatible `calloc'
126464
 
+                function, and to 0 otherwise.])],
126465
 
+    [AC_DEFINE([HAVE_CALLOC_GNU], [0])
126466
 
+     REPLACE_CALLOC=1
126467
 
+    ])
126468
 
+])
126469
 
+m4trace:m4/calloc.m4:61: -1- AC_DEFUN([gl_FUNC_CALLOC_POSIX], [
126470
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
126471
 
+  AC_REQUIRE([gl_CHECK_MALLOC_POSIX])
126472
 
+  if test $gl_cv_func_malloc_posix = yes; then
126473
 
+    AC_DEFINE([HAVE_CALLOC_POSIX], [1],
126474
 
+      [Define if the 'calloc' function is POSIX compliant.])
126475
 
+  else
126476
 
+    REPLACE_CALLOC=1
126477
 
+  fi
126478
 
+])
126479
 
+m4trace:m4/canon-host.m4:7: -1- AC_DEFUN([gl_PREREQ_CANON_HOST], [
126480
 
+  :
126481
 
+])
126482
 
+m4trace:m4/canonicalize.m4:11: -1- AC_DEFUN([gl_FUNC_CANONICALIZE_FILENAME_MODE], [
126483
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
126484
 
+  AC_CHECK_FUNCS_ONCE([canonicalize_file_name])
126485
 
+  AC_REQUIRE([gl_DOUBLE_SLASH_ROOT])
126486
 
+  AC_REQUIRE([gl_FUNC_REALPATH_WORKS])
126487
 
+  if test $ac_cv_func_canonicalize_file_name = no; then
126488
 
+    HAVE_CANONICALIZE_FILE_NAME=0
126489
 
+  elif test "$gl_cv_func_realpath_works" != yes; then
126490
 
+    REPLACE_CANONICALIZE_FILE_NAME=1
126491
 
+  fi
126492
 
+])
126493
 
+m4trace:m4/canonicalize.m4:25: -1- AC_DEFUN([gl_CANONICALIZE_LGPL], [
126494
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
126495
 
+  AC_REQUIRE([gl_CANONICALIZE_LGPL_SEPARATE])
126496
 
+  if test $ac_cv_func_canonicalize_file_name = no; then
126497
 
+    HAVE_CANONICALIZE_FILE_NAME=0
126498
 
+    if test $ac_cv_func_realpath = no; then
126499
 
+      HAVE_REALPATH=0
126500
 
+    elif test "$gl_cv_func_realpath_works" != yes; then
126501
 
+      REPLACE_REALPATH=1
126502
 
+    fi
126503
 
+  elif test "$gl_cv_func_realpath_works" != yes; then
126504
 
+    REPLACE_CANONICALIZE_FILE_NAME=1
126505
 
+    REPLACE_REALPATH=1
126506
 
+  fi
126507
 
+])
126508
 
+m4trace:m4/canonicalize.m4:44: -1- AC_DEFUN([gl_CANONICALIZE_LGPL_SEPARATE], [
126509
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
126510
 
+  AC_CHECK_FUNCS_ONCE([canonicalize_file_name getcwd readlink])
126511
 
+  AC_REQUIRE([gl_DOUBLE_SLASH_ROOT])
126512
 
+  AC_REQUIRE([gl_FUNC_REALPATH_WORKS])
126513
 
+  AC_CHECK_HEADERS_ONCE([sys/param.h])
126514
 
+])
126515
 
+m4trace:m4/canonicalize.m4:56: -1- AC_DEFUN([gl_FUNC_REALPATH_WORKS], [
126516
 
+  AC_CHECK_FUNCS_ONCE([realpath])
126517
 
+  AC_CACHE_CHECK([whether realpath works], [gl_cv_func_realpath_works], [
126518
 
+    touch conftest.a
126519
 
+    mkdir conftest.d
126520
 
+    AC_RUN_IFELSE([
126521
 
+      AC_LANG_PROGRAM([[
126522
 
+        ]GL_NOCRASH[
126523
 
+        #include <stdlib.h>
126524
 
+        #include <string.h>
126525
 
+      ]], [[
126526
 
+        int result = 0;
126527
 
+        {
126528
 
+          char *name = realpath ("conftest.a", NULL);
126529
 
+          if (!(name && *name == '/'))
126530
 
+            result |= 1;
126531
 
+        }
126532
 
+        {
126533
 
+          char *name = realpath ("conftest.b/../conftest.a", NULL);
126534
 
+          if (name != NULL)
126535
 
+            result |= 2;
126536
 
+        }
126537
 
+        {
126538
 
+          char *name = realpath ("conftest.a/", NULL);
126539
 
+          if (name != NULL)
126540
 
+            result |= 4;
126541
 
+        }
126542
 
+        {
126543
 
+          char *name1 = realpath (".", NULL);
126544
 
+          char *name2 = realpath ("conftest.d//./..", NULL);
126545
 
+          if (strcmp (name1, name2) != 0)
126546
 
+            result |= 8;
126547
 
+        }
126548
 
+        return result;
126549
 
+      ]])
126550
 
+    ], [gl_cv_func_realpath_works=yes], [gl_cv_func_realpath_works=no],
126551
 
+       [gl_cv_func_realpath_works="guessing no"])
126552
 
+    rm -rf conftest.a conftest.d
126553
 
+  ])
126554
 
+  if test "$gl_cv_func_realpath_works" = yes; then
126555
 
+    AC_DEFINE([FUNC_REALPATH_WORKS], [1], [Define to 1 if realpath()
126556
 
+      can malloc memory, always gives an absolute path, and handles
126557
 
+      trailing slash correctly.])
126558
 
+  fi
126559
 
+])
126560
 
+m4trace:m4/chdir-long.m4:16: -1- AC_DEFUN([gl_FUNC_CHDIR_LONG], [
126561
 
+  AC_CACHE_CHECK([whether this system has an arbitrary file name length limit],
126562
 
+    gl_cv_have_arbitrary_file_name_length_limit,
126563
 
+    [AC_EGREP_CPP([have_arbitrary_file_name_length_limit],
126564
 
+                  [#include <unistd.h>
126565
 
+#include <limits.h>
126566
 
+#if defined PATH_MAX || defined MAXPATHLEN
126567
 
+have_arbitrary_file_name_length_limit
126568
 
+#endif],
126569
 
+    gl_cv_have_arbitrary_file_name_length_limit=yes,
126570
 
+    gl_cv_have_arbitrary_file_name_length_limit=no)])
126571
 
+])
126572
 
+m4trace:m4/chdir-long.m4:30: -1- AC_DEFUN([gl_PREREQ_CHDIR_LONG], [
126573
 
+  AC_REQUIRE([AC_C_INLINE])
126574
 
+  :
126575
 
+])
126576
 
+m4trace:m4/check-decl.m4:15: -1- AC_DEFUN([gl_CHECK_DECLS], [
126577
 
+  AC_REQUIRE([AC_HEADER_TIME])
126578
 
+
126579
 
+  AC_CHECK_HEADERS_ONCE([grp.h pwd.h])
126580
 
+  headers='
126581
 
+#include <sys/types.h>
126582
 
+
126583
 
+#include <unistd.h>
126584
 
+
126585
 
+#if HAVE_GRP_H
126586
 
+# include <grp.h>
126587
 
+#endif
126588
 
+
126589
 
+#if HAVE_PWD_H
126590
 
+# include <pwd.h>
126591
 
+#endif
126592
 
+'
126593
 
+  AC_CHECK_DECLS([
126594
 
+    getgrgid,
126595
 
+    getpwuid,
126596
 
+    ttyname], , , $headers)
126597
 
+
126598
 
+  AC_CHECK_DECLS_ONCE([geteuid])
126599
 
+  AC_CHECK_DECLS_ONCE([getlogin])
126600
 
+  AC_CHECK_DECLS_ONCE([getuid])
126601
 
+])
126602
 
+m4trace:m4/chown.m4:17: -1- AC_DEFUN_ONCE([gl_FUNC_CHOWN], [
126603
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
126604
 
+  AC_REQUIRE([AC_TYPE_UID_T])
126605
 
+  AC_REQUIRE([AC_FUNC_CHOWN])
126606
 
+  AC_REQUIRE([gl_FUNC_CHOWN_FOLLOWS_SYMLINK])
126607
 
+  AC_CHECK_FUNCS_ONCE([chown fchown])
126608
 
+
126609
 
+  dnl mingw lacks chown altogether.
126610
 
+  if test $ac_cv_func_chown = no; then
126611
 
+    HAVE_CHOWN=0
126612
 
+  else
126613
 
+    dnl Some old systems treated chown like lchown.
126614
 
+    if test $gl_cv_func_chown_follows_symlink = no; then
126615
 
+      REPLACE_CHOWN=1
126616
 
+    fi
126617
 
+
126618
 
+    dnl Some old systems tried to use uid/gid -1 literally.
126619
 
+    if test $ac_cv_func_chown_works = no; then
126620
 
+      AC_DEFINE([CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE], [1],
126621
 
+        [Define if chown is not POSIX compliant regarding IDs of -1.])
126622
 
+      REPLACE_CHOWN=1
126623
 
+    fi
126624
 
+
126625
 
+    dnl Solaris 9 ignores trailing slash.
126626
 
+    dnl FreeBSD 7.2 mishandles trailing slash on symlinks.
126627
 
+    dnl Likewise for AIX 7.1.
126628
 
+    AC_CACHE_CHECK([whether chown honors trailing slash],
126629
 
+      [gl_cv_func_chown_slash_works],
126630
 
+      [touch conftest.file && rm -f conftest.link
126631
 
+       AC_RUN_IFELSE([AC_LANG_PROGRAM([[
126632
 
+#include <unistd.h>
126633
 
+#include <stdlib.h>
126634
 
+#include <errno.h>
126635
 
+]], [[    if (symlink ("conftest.file", "conftest.link")) return 1;
126636
 
+          if (chown ("conftest.link/", getuid (), getgid ()) == 0) return 2;
126637
 
+        ]])],
126638
 
+        [gl_cv_func_chown_slash_works=yes],
126639
 
+        [gl_cv_func_chown_slash_works=no],
126640
 
+        [gl_cv_func_chown_slash_works="guessing no"])
126641
 
+      rm -f conftest.link conftest.file])
126642
 
+    if test "$gl_cv_func_chown_slash_works" != yes; then
126643
 
+      AC_DEFINE([CHOWN_TRAILING_SLASH_BUG], [1],
126644
 
+        [Define to 1 if chown mishandles trailing slash.])
126645
 
+      REPLACE_CHOWN=1
126646
 
+    fi
126647
 
+
126648
 
+    dnl OpenBSD fails to update ctime if ownership does not change.
126649
 
+    AC_CACHE_CHECK([whether chown always updates ctime],
126650
 
+      [gl_cv_func_chown_ctime_works],
126651
 
+      [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
126652
 
+#include <unistd.h>
126653
 
+#include <stdlib.h>
126654
 
+#include <errno.h>
126655
 
+#include <fcntl.h>
126656
 
+#include <sys/stat.h>
126657
 
+]], [[    struct stat st1, st2;
126658
 
+          if (close (creat ("conftest.file", 0600))) return 1;
126659
 
+          if (stat ("conftest.file", &st1)) return 2;
126660
 
+          sleep (1);
126661
 
+          if (chown ("conftest.file", st1.st_uid, st1.st_gid)) return 3;
126662
 
+          if (stat ("conftest.file", &st2)) return 4;
126663
 
+          if (st2.st_ctime <= st1.st_ctime) return 5;
126664
 
+        ]])],
126665
 
+        [gl_cv_func_chown_ctime_works=yes],
126666
 
+        [gl_cv_func_chown_ctime_works=no],
126667
 
+        [gl_cv_func_chown_ctime_works="guessing no"])
126668
 
+      rm -f conftest.file])
126669
 
+    if test "$gl_cv_func_chown_ctime_works" != yes; then
126670
 
+      AC_DEFINE([CHOWN_CHANGE_TIME_BUG], [1], [Define to 1 if chown fails
126671
 
+        to change ctime when at least one argument was not -1.])
126672
 
+      REPLACE_CHOWN=1
126673
 
+    fi
126674
 
+  fi
126675
 
+])
126676
 
+m4trace:m4/chown.m4:94: -1- AC_DEFUN_ONCE([gl_FUNC_CHOWN_FOLLOWS_SYMLINK], [
126677
 
+  AC_CACHE_CHECK(
126678
 
+    [whether chown dereferences symlinks],
126679
 
+    [gl_cv_func_chown_follows_symlink],
126680
 
+    [
126681
 
+      AC_RUN_IFELSE([AC_LANG_SOURCE([[
126682
 
+#include <unistd.h>
126683
 
+#include <stdlib.h>
126684
 
+#include <errno.h>
126685
 
+
126686
 
+        int
126687
 
+        main ()
126688
 
+        {
126689
 
+          int result = 0;
126690
 
+          char const *dangling_symlink = "conftest.dangle";
126691
 
+
126692
 
+          unlink (dangling_symlink);
126693
 
+          if (symlink ("conftest.no-such", dangling_symlink))
126694
 
+            abort ();
126695
 
+
126696
 
+          /* Exit successfully on a conforming system,
126697
 
+             i.e., where chown must fail with ENOENT.  */
126698
 
+          if (chown (dangling_symlink, getuid (), getgid ()) == 0)
126699
 
+            result |= 1;
126700
 
+          if (errno != ENOENT)
126701
 
+            result |= 2;
126702
 
+          return result;
126703
 
+        }
126704
 
+        ]])],
126705
 
+        [gl_cv_func_chown_follows_symlink=yes],
126706
 
+        [gl_cv_func_chown_follows_symlink=no],
126707
 
+        [gl_cv_func_chown_follows_symlink=yes]
126708
 
+      )
126709
 
+    ]
126710
 
+  )
126711
 
+
126712
 
+  if test $gl_cv_func_chown_follows_symlink = no; then
126713
 
+    AC_DEFINE([CHOWN_MODIFIES_SYMLINK], [1],
126714
 
+      [Define if chown modifies symlinks.])
126715
 
+  fi
126716
 
+])
126717
 
+m4trace:m4/clock_time.m4:12: -1- AC_DEFUN([gl_CLOCK_TIME], [
126718
 
+  dnl Persuade glibc and Solaris <time.h> to declare these functions.
126719
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
126720
 
+
126721
 
+  # Solaris 2.5.1 needs -lposix4 to get the clock_gettime function.
126722
 
+  # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4.
126723
 
+
126724
 
+  # Save and restore LIBS so e.g., -lrt, isn't added to it.  Otherwise, *all*
126725
 
+  # programs in the package would end up linked with that potentially-shared
126726
 
+  # library, inducing unnecessary run-time overhead.
126727
 
+  LIB_CLOCK_GETTIME=
126728
 
+  AC_SUBST([LIB_CLOCK_GETTIME])
126729
 
+  gl_saved_libs=$LIBS
126730
 
+    AC_SEARCH_LIBS([clock_gettime], [rt posix4],
126731
 
+                   [test "$ac_cv_search_clock_gettime" = "none required" ||
126732
 
+                    LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
126733
 
+    AC_CHECK_FUNCS([clock_gettime clock_settime])
126734
 
+  LIBS=$gl_saved_libs
126735
 
+])
126736
 
+m4trace:m4/close-stream.m4:8: -1- AC_DEFUN([gl_CLOSE_STREAM], [
126737
 
+  :
126738
 
+])
126739
 
+m4trace:m4/close.m4:7: -1- AC_DEFUN([gl_FUNC_CLOSE], [
126740
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
126741
 
+  m4_ifdef([gl_PREREQ_SYS_H_WINSOCK2], [
126742
 
+    gl_PREREQ_SYS_H_WINSOCK2
126743
 
+    if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then
126744
 
+      dnl Even if the 'socket' module is not used here, another part of the
126745
 
+      dnl application may use it and pass file descriptors that refer to
126746
 
+      dnl sockets to the close() function. So enable the support for sockets.
126747
 
+      REPLACE_CLOSE=1
126748
 
+    fi
126749
 
+  ])
126750
 
+  dnl Replace close() for supporting the gnulib-defined fchdir() function,
126751
 
+  dnl to keep fchdir's bookkeeping up-to-date.
126752
 
+  m4_ifdef([gl_FUNC_FCHDIR], [
126753
 
+    if test $REPLACE_CLOSE = 0; then
126754
 
+      gl_TEST_FCHDIR
126755
 
+      if test $HAVE_FCHDIR = 0; then
126756
 
+        REPLACE_CLOSE=1
126757
 
+      fi
126758
 
+    fi
126759
 
+  ])
126760
 
+])
126761
 
+m4trace:m4/closein.m4:8: -1- AC_DEFUN([gl_CLOSEIN], [
126762
 
+  :
126763
 
+])
126764
 
+m4trace:m4/closeout.m4:9: -1- AC_DEFUN([gl_CLOSEOUT], [
126765
 
+  :
126766
 
+])
126767
 
+m4trace:m4/codeset.m4:9: -1- AC_DEFUN([AM_LANGINFO_CODESET], [
126768
 
+  AC_CACHE_CHECK([for nl_langinfo and CODESET], [am_cv_langinfo_codeset],
126769
 
+    [AC_LINK_IFELSE(
126770
 
+       [AC_LANG_PROGRAM(
126771
 
+          [[#include <langinfo.h>]],
126772
 
+          [[char* cs = nl_langinfo(CODESET); return !cs;]])],
126773
 
+       [am_cv_langinfo_codeset=yes],
126774
 
+       [am_cv_langinfo_codeset=no])
126775
 
+    ])
126776
 
+  if test $am_cv_langinfo_codeset = yes; then
126777
 
+    AC_DEFINE([HAVE_LANGINFO_CODESET], [1],
126778
 
+      [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
126779
 
+  fi
126780
 
+])
126781
 
+m4trace:m4/config-h.m4:12: -1- AC_DEFUN([gl_CONFIG_H], [AC_CONFIG_COMMANDS_PRE([test "X$DEFS" = X-DHAVE_CONFIG_H && DEFS=])])
126782
 
+m4trace:m4/configmake.m4:12: -1- AC_DEFUN([gl_CONFIGMAKE_PREP], [
126783
 
+  dnl Technically, datadir should default to datarootdir.  But if
126784
 
+  dnl autoconf is too old to provide datarootdir, then reversing the
126785
 
+  dnl definition is a reasonable compromise.  Only AC_SUBST a variable
126786
 
+  dnl if it was not already defined earlier by autoconf.
126787
 
+  if test "x$datarootdir" = x; then
126788
 
+    AC_SUBST([datarootdir], ['${datadir}'])
126789
 
+  fi
126790
 
+  dnl Copy the approach used in autoconf 2.60.
126791
 
+  if test "x$docdir" = x; then
126792
 
+    AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
126793
 
+      ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
126794
 
+      ['${datarootdir}/doc/${PACKAGE}'])])
126795
 
+  fi
126796
 
+  dnl The remaining variables missing from autoconf 2.59 are easier.
126797
 
+  if test "x$htmldir" = x; then
126798
 
+    AC_SUBST([htmldir], ['${docdir}'])
126799
 
+  fi
126800
 
+  if test "x$dvidir" = x; then
126801
 
+    AC_SUBST([dvidir], ['${docdir}'])
126802
 
+  fi
126803
 
+  if test "x$pdfdir" = x; then
126804
 
+    AC_SUBST([pdfdir], ['${docdir}'])
126805
 
+  fi
126806
 
+  if test "x$psdir" = x; then
126807
 
+    AC_SUBST([psdir], ['${docdir}'])
126808
 
+  fi
126809
 
+  if test "x$lispdir" = x; then
126810
 
+    AC_SUBST([lispdir], ['${datarootdir}/emacs/site-lisp'])
126811
 
+  fi
126812
 
+  if test "x$localedir" = x; then
126813
 
+    AC_SUBST([localedir], ['${datarootdir}/locale'])
126814
 
+  fi
126815
 
+
126816
 
+  dnl Automake 1.9.6 only lacks pkglibexecdir; and since 1.11 merely
126817
 
+  dnl provides it without AC_SUBST, this blind use of AC_SUBST is safe.
126818
 
+  AC_SUBST([pkglibexecdir], ['${libexecdir}/${PACKAGE}'])
126819
 
+])
126820
 
+m4trace:m4/ctype.m4:7: -1- AC_DEFUN([gl_CTYPE_H], [
126821
 
+  AC_REQUIRE([gl_CTYPE_H_DEFAULTS])
126822
 
+
126823
 
+  dnl <ctype.h> is always overridden, because of GNULIB_POSIXCHECK.
126824
 
+  gl_NEXT_HEADERS([ctype.h])
126825
 
+
126826
 
+  dnl Check for declarations of anything we want to poison if the
126827
 
+  dnl corresponding gnulib module is not in use.
126828
 
+  gl_WARN_ON_USE_PREPARE([[#include <ctype.h>
126829
 
+    ]], [isblank])
126830
 
+])
126831
 
+m4trace:m4/ctype.m4:20: -1- AC_DEFUN([gl_CTYPE_MODULE_INDICATOR], [
126832
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
126833
 
+  AC_REQUIRE([gl_CTYPE_H_DEFAULTS])
126834
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
126835
 
+])
126836
 
+m4trace:m4/ctype.m4:27: -1- AC_DEFUN([gl_CTYPE_H_DEFAULTS], [
126837
 
+  GNULIB_ISBLANK=0; AC_SUBST([GNULIB_ISBLANK])
126838
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
126839
 
+  HAVE_ISBLANK=1;   AC_SUBST([HAVE_ISBLANK])
126840
 
+])
126841
 
+m4trace:m4/cycle-check.m4:7: -1- AC_DEFUN([gl_CYCLE_CHECK], [
126842
 
+  AC_REQUIRE([AC_C_INLINE])
126843
 
+])
126844
 
+m4trace:m4/d-ino.m4:15: -1- AC_DEFUN([gl_CHECK_TYPE_STRUCT_DIRENT_D_INO], [AC_CACHE_CHECK([for d_ino member in directory struct],
126845
 
+                  gl_cv_struct_dirent_d_ino,
126846
 
+     [AC_RUN_IFELSE(
126847
 
+        [AC_LANG_PROGRAM(
126848
 
+           [[#include <sys/types.h>
126849
 
+             #include <sys/stat.h>
126850
 
+             #include <dirent.h>
126851
 
+           ]],
126852
 
+           [[DIR *dp = opendir (".");
126853
 
+             struct dirent *e;
126854
 
+             struct stat st;
126855
 
+             if (! dp)
126856
 
+               return 1;
126857
 
+             e = readdir (dp);
126858
 
+             if (! e)
126859
 
+               return 2;
126860
 
+             if (stat (e->d_name, &st) != 0)
126861
 
+               return 3;
126862
 
+             if (e->d_ino != st.st_ino)
126863
 
+               return 4;
126864
 
+             return 0;
126865
 
+           ]])],
126866
 
+           [gl_cv_struct_dirent_d_ino=yes],
126867
 
+           [gl_cv_struct_dirent_d_ino=no],
126868
 
+           [gl_cv_struct_dirent_d_ino=no])])
126869
 
+   if test $gl_cv_struct_dirent_d_ino = yes; then
126870
 
+     AC_DEFINE([D_INO_IN_DIRENT], [1],
126871
 
+       [Define if struct dirent has a member d_ino that actually works.])
126872
 
+   fi
126873
 
+  
126874
 
+])
126875
 
+m4trace:m4/d-type.m4:14: -1- AC_DEFUN([gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE], [AC_CACHE_CHECK([for d_type member in directory struct],
126876
 
+                  gl_cv_struct_dirent_d_type,
126877
 
+     [AC_LINK_IFELSE([AC_LANG_PROGRAM([[
126878
 
+#include <sys/types.h>
126879
 
+#include <dirent.h>
126880
 
+         ]],
126881
 
+         [[struct dirent dp; dp.d_type = 0;]])],
126882
 
+       [gl_cv_struct_dirent_d_type=yes],
126883
 
+       [gl_cv_struct_dirent_d_type=no])
126884
 
+     ]
126885
 
+   )
126886
 
+   if test $gl_cv_struct_dirent_d_type = yes; then
126887
 
+     AC_DEFINE([HAVE_STRUCT_DIRENT_D_TYPE], [1],
126888
 
+       [Define if there is a member named d_type in the struct describing
126889
 
+        directory headers.])
126890
 
+   fi
126891
 
+  
126892
 
+])
126893
 
+m4trace:m4/dirent-safer.m4:7: -1- AC_DEFUN([gl_DIRENT_SAFER], [
126894
 
+  AC_CHECK_FUNCS_ONCE([fdopendir])
126895
 
+])
126896
 
+m4trace:m4/dirent_h.m4:9: -1- AC_DEFUN([gl_DIRENT_H], [
126897
 
+  dnl Use AC_REQUIRE here, so that the default behavior below is expanded
126898
 
+  dnl once only, before all statements that occur in other macros.
126899
 
+  AC_REQUIRE([gl_DIRENT_H_DEFAULTS])
126900
 
+
126901
 
+  dnl <dirent.h> is always overridden, because of GNULIB_POSIXCHECK.
126902
 
+  gl_CHECK_NEXT_HEADERS([dirent.h])
126903
 
+
126904
 
+  dnl Check for declarations of anything we want to poison if the
126905
 
+  dnl corresponding gnulib module is not in use.
126906
 
+  gl_WARN_ON_USE_PREPARE([[#include <dirent.h>
126907
 
+    ]], [alphasort dirfd fdopendir scandir])
126908
 
+])
126909
 
+m4trace:m4/dirent_h.m4:24: -1- AC_DEFUN([gl_DIRENT_MODULE_INDICATOR], [
126910
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
126911
 
+  AC_REQUIRE([gl_DIRENT_H_DEFAULTS])
126912
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
126913
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
126914
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
126915
 
+])
126916
 
+m4trace:m4/dirent_h.m4:33: -1- AC_DEFUN([gl_DIRENT_H_DEFAULTS], [
126917
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) dnl for REPLACE_FCHDIR
126918
 
+  GNULIB_DIRFD=0;       AC_SUBST([GNULIB_DIRFD])
126919
 
+  GNULIB_FDOPENDIR=0;   AC_SUBST([GNULIB_FDOPENDIR])
126920
 
+  GNULIB_SCANDIR=0;     AC_SUBST([GNULIB_SCANDIR])
126921
 
+  GNULIB_ALPHASORT=0;   AC_SUBST([GNULIB_ALPHASORT])
126922
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
126923
 
+  HAVE_DECL_DIRFD=1;    AC_SUBST([HAVE_DECL_DIRFD])
126924
 
+  HAVE_DECL_FDOPENDIR=1;AC_SUBST([HAVE_DECL_FDOPENDIR])
126925
 
+  HAVE_FDOPENDIR=1;     AC_SUBST([HAVE_FDOPENDIR])
126926
 
+  HAVE_SCANDIR=1;       AC_SUBST([HAVE_SCANDIR])
126927
 
+  HAVE_ALPHASORT=1;     AC_SUBST([HAVE_ALPHASORT])
126928
 
+  REPLACE_CLOSEDIR=0;   AC_SUBST([REPLACE_CLOSEDIR])
126929
 
+  REPLACE_DIRFD=0;      AC_SUBST([REPLACE_DIRFD])
126930
 
+  REPLACE_FDOPENDIR=0;  AC_SUBST([REPLACE_FDOPENDIR])
126931
 
+  REPLACE_OPENDIR=0;    AC_SUBST([REPLACE_OPENDIR])
126932
 
+])
126933
 
+m4trace:m4/dirfd.m4:12: -1- AC_DEFUN([gl_FUNC_DIRFD], [
126934
 
+  AC_REQUIRE([gl_DIRENT_H_DEFAULTS])
126935
 
+
126936
 
+  dnl Persuade glibc <dirent.h> to declare dirfd().
126937
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
126938
 
+
126939
 
+  AC_CHECK_FUNCS([dirfd])
126940
 
+  AC_CHECK_DECLS([dirfd], , ,
126941
 
+    [#include <sys/types.h>
126942
 
+     #include <dirent.h>])
126943
 
+  if test $ac_cv_have_decl_dirfd = no; then
126944
 
+    HAVE_DECL_DIRFD=0
126945
 
+  fi
126946
 
+
126947
 
+  AC_CACHE_CHECK([whether dirfd is a macro],
126948
 
+    gl_cv_func_dirfd_macro,
126949
 
+    [AC_EGREP_CPP([dirent_header_defines_dirfd], [
126950
 
+#include <sys/types.h>
126951
 
+#include <dirent.h>
126952
 
+#ifdef dirfd
126953
 
+ dirent_header_defines_dirfd
126954
 
+#endif],
126955
 
+       gl_cv_func_dirfd_macro=yes,
126956
 
+       gl_cv_func_dirfd_macro=no)])
126957
 
+
126958
 
+  # Use the replacement only if we have no function or macro with that name.
126959
 
+  if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then
126960
 
+    if test $ac_cv_have_decl_dirfd = yes; then
126961
 
+      # If the system declares dirfd already, let's declare rpl_dirfd instead.
126962
 
+      REPLACE_DIRFD=1
126963
 
+    fi
126964
 
+  fi
126965
 
+])
126966
 
+m4trace:m4/dirfd.m4:48: -1- AC_DEFUN([gl_PREREQ_DIRFD], [
126967
 
+  AC_CACHE_CHECK([how to get the file descriptor associated with an open DIR*],
126968
 
+                 [gl_cv_sys_dir_fd_member_name],
126969
 
+    [
126970
 
+      dirfd_save_CFLAGS=$CFLAGS
126971
 
+      for ac_expr in d_fd dd_fd; do
126972
 
+
126973
 
+        CFLAGS="$CFLAGS -DDIR_FD_MEMBER_NAME=$ac_expr"
126974
 
+        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
126975
 
+           #include <sys/types.h>
126976
 
+           #include <dirent.h>]],
126977
 
+          [[DIR *dir_p = opendir("."); (void) dir_p->DIR_FD_MEMBER_NAME;]])],
126978
 
+          [dir_fd_found=yes]
126979
 
+        )
126980
 
+        CFLAGS=$dirfd_save_CFLAGS
126981
 
+        test "$dir_fd_found" = yes && break
126982
 
+      done
126983
 
+      test "$dir_fd_found" = yes || ac_expr=no_such_member
126984
 
+
126985
 
+      gl_cv_sys_dir_fd_member_name=$ac_expr
126986
 
+    ]
126987
 
+  )
126988
 
+  if test $gl_cv_sys_dir_fd_member_name != no_such_member; then
126989
 
+    AC_DEFINE_UNQUOTED([DIR_FD_MEMBER_NAME],
126990
 
+      [$gl_cv_sys_dir_fd_member_name],
126991
 
+      [the name of the file descriptor member of DIR])
126992
 
+  fi
126993
 
+  AH_VERBATIM([DIR_TO_FD],
126994
 
+              [#ifdef DIR_FD_MEMBER_NAME
126995
 
+# define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME)
126996
 
+#else
126997
 
+# define DIR_TO_FD(Dir_p) -1
126998
 
+#endif
126999
 
+])
127000
 
+])
127001
 
+m4trace:m4/dirname.m4:7: -1- AC_DEFUN([gl_DIRNAME], [
127002
 
+  AC_REQUIRE([gl_DIRNAME_LGPL])
127003
 
+])
127004
 
+m4trace:m4/dirname.m4:12: -1- AC_DEFUN([gl_DIRNAME_LGPL], [
127005
 
+  dnl Prerequisites of lib/dirname.h.
127006
 
+  AC_REQUIRE([gl_DOUBLE_SLASH_ROOT])
127007
 
+
127008
 
+  dnl No prerequisites of lib/basename-lgpl.c, lib/dirname-lgpl.c,
127009
 
+  dnl lib/stripslash.c.
127010
 
+])
127011
 
+m4trace:m4/double-slash-root.m4:7: -1- AC_DEFUN([gl_DOUBLE_SLASH_ROOT], [
127012
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
127013
 
+  AC_CACHE_CHECK([whether // is distinct from /], [gl_cv_double_slash_root],
127014
 
+    [ if test x"$cross_compiling" = xyes ; then
127015
 
+        # When cross-compiling, there is no way to tell whether // is special
127016
 
+        # short of a list of hosts.  However, the only known hosts to date
127017
 
+        # that have a distinct // are Apollo DomainOS (too old to port to),
127018
 
+        # Cygwin, and z/OS.  If anyone knows of another system for which // has
127019
 
+        # special semantics and is distinct from /, please report it to
127020
 
+        # <bug-gnulib@gnu.org>.
127021
 
+        case $host in
127022
 
+          *-cygwin | i370-ibm-openedition)
127023
 
+            gl_cv_double_slash_root=yes ;;
127024
 
+          *)
127025
 
+            # Be optimistic and assume that / and // are the same when we
127026
 
+            # don't know.
127027
 
+            gl_cv_double_slash_root='unknown, assuming no' ;;
127028
 
+        esac
127029
 
+      else
127030
 
+        set x `ls -di / // 2>/dev/null`
127031
 
+        if test "$[2]" = "$[4]" && wc //dev/null >/dev/null 2>&1; then
127032
 
+          gl_cv_double_slash_root=no
127033
 
+        else
127034
 
+          gl_cv_double_slash_root=yes
127035
 
+        fi
127036
 
+      fi])
127037
 
+  if test "$gl_cv_double_slash_root" = yes; then
127038
 
+    AC_DEFINE([DOUBLE_SLASH_IS_DISTINCT_ROOT], [1],
127039
 
+      [Define to 1 if // is a file system root distinct from /.])
127040
 
+  fi
127041
 
+])
127042
 
+m4trace:m4/dup2.m4:7: -1- AC_DEFUN([gl_FUNC_DUP2], [
127043
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
127044
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
127045
 
+  m4_ifdef([gl_FUNC_DUP2_OBSOLETE], [
127046
 
+    AC_CHECK_FUNCS_ONCE([dup2])
127047
 
+    if test $ac_cv_func_dup2 = no; then
127048
 
+      HAVE_DUP2=0
127049
 
+    fi
127050
 
+  ], [
127051
 
+    AC_DEFINE([HAVE_DUP2], [1], [Define to 1 if you have the 'dup2' function.])
127052
 
+  ])
127053
 
+  if test $HAVE_DUP2 = 1; then
127054
 
+    AC_CACHE_CHECK([whether dup2 works], [gl_cv_func_dup2_works],
127055
 
+      [AC_RUN_IFELSE([
127056
 
+         AC_LANG_PROGRAM([[#include <unistd.h>
127057
 
+#include <fcntl.h>
127058
 
+#include <errno.h>]],
127059
 
+           [int result = 0;
127060
 
+#ifdef FD_CLOEXEC
127061
 
+            if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1)
127062
 
+              result |= 1;
127063
 
+#endif
127064
 
+            if (dup2 (1, 1) == 0)
127065
 
+              result |= 2;
127066
 
+#ifdef FD_CLOEXEC
127067
 
+            if (fcntl (1, F_GETFD) != FD_CLOEXEC)
127068
 
+              result |= 4;
127069
 
+#endif
127070
 
+            close (0);
127071
 
+            if (dup2 (0, 0) != -1)
127072
 
+              result |= 8;
127073
 
+            /* Many gnulib modules require POSIX conformance of EBADF.  */
127074
 
+            if (dup2 (2, 1000000) == -1 && errno != EBADF)
127075
 
+              result |= 16;
127076
 
+            return result;
127077
 
+           ])
127078
 
+        ],
127079
 
+        [gl_cv_func_dup2_works=yes], [gl_cv_func_dup2_works=no],
127080
 
+        [case "$host_os" in
127081
 
+           mingw*) # on this platform, dup2 always returns 0 for success
127082
 
+             gl_cv_func_dup2_works=no;;
127083
 
+           cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0
127084
 
+             gl_cv_func_dup2_works=no;;
127085
 
+           linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a
127086
 
+                   # closed fd may yield -EBADF instead of -1 / errno=EBADF.
127087
 
+             gl_cv_func_dup2_works=no;;
127088
 
+           freebsd*) # on FreeBSD 6.1, dup2(1,1000000) gives EMFILE, not EBADF.
127089
 
+             gl_cv_func_dup2_works=no;;
127090
 
+           haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC.
127091
 
+             gl_cv_func_dup2_works=no;;
127092
 
+           *) gl_cv_func_dup2_works=yes;;
127093
 
+         esac])
127094
 
+      ])
127095
 
+    if test "$gl_cv_func_dup2_works" = no; then
127096
 
+      REPLACE_DUP2=1
127097
 
+    fi
127098
 
+  fi
127099
 
+  dnl Replace dup2() for supporting the gnulib-defined fchdir() function,
127100
 
+  dnl to keep fchdir's bookkeeping up-to-date.
127101
 
+  m4_ifdef([gl_FUNC_FCHDIR], [
127102
 
+    gl_TEST_FCHDIR
127103
 
+    if test $HAVE_FCHDIR = 0; then
127104
 
+      REPLACE_DUP2=1
127105
 
+    fi
127106
 
+  ])
127107
 
+])
127108
 
+m4trace:m4/eealloc.m4:7: -1- AC_DEFUN([gl_EEALLOC], [
127109
 
+  AC_REQUIRE([gl_EEMALLOC])
127110
 
+  AC_REQUIRE([gl_EEREALLOC])
127111
 
+  AC_REQUIRE([AC_C_INLINE])
127112
 
+])
127113
 
+m4trace:m4/eealloc.m4:14: -1- AC_DEFUN([gl_EEMALLOC], [
127114
 
+  _AC_FUNC_MALLOC_IF(
127115
 
+    [gl_cv_func_malloc_0_nonnull=1],
127116
 
+    [gl_cv_func_malloc_0_nonnull=0])
127117
 
+  AC_DEFINE_UNQUOTED([MALLOC_0_IS_NONNULL], [$gl_cv_func_malloc_0_nonnull],
127118
 
+    [If malloc(0) is != NULL, define this to 1.  Otherwise define this
127119
 
+     to 0.])
127120
 
+])
127121
 
+m4trace:m4/eealloc.m4:24: -1- AC_DEFUN([gl_EEREALLOC], [
127122
 
+  _AC_FUNC_REALLOC_IF(
127123
 
+    [gl_cv_func_realloc_0_nonnull=1],
127124
 
+    [gl_cv_func_realloc_0_nonnull=0])
127125
 
+  AC_DEFINE_UNQUOTED([REALLOC_0_IS_NONNULL], [$gl_cv_func_realloc_0_nonnull],
127126
 
+    [If realloc(NULL,0) is != NULL, define this to 1.  Otherwise define this
127127
 
+     to 0.])
127128
 
+])
127129
 
+m4trace:m4/environ.m4:7: -1- AC_DEFUN_ONCE([gl_ENVIRON], [
127130
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
127131
 
+  dnl Persuade glibc <unistd.h> to declare environ.
127132
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
127133
 
+  gt_CHECK_VAR_DECL([#include <unistd.h>], environ)
127134
 
+  if test $gt_cv_var_environ_declaration != yes; then
127135
 
+    HAVE_DECL_ENVIRON=0
127136
 
+  fi
127137
 
+])
127138
 
+m4trace:m4/environ.m4:20: -1- AC_DEFUN([gt_CHECK_VAR_DECL], [
127139
 
+  define([gt_cv_var], [gt_cv_var_]$2[_declaration])
127140
 
+  AC_MSG_CHECKING([if $2 is properly declared])
127141
 
+  AC_CACHE_VAL([gt_cv_var], [
127142
 
+    AC_COMPILE_IFELSE(
127143
 
+      [AC_LANG_PROGRAM(
127144
 
+         [[$1
127145
 
+           extern struct { int foo; } $2;]],
127146
 
+         [[$2.foo = 1;]])],
127147
 
+      [gt_cv_var=no],
127148
 
+      [gt_cv_var=yes])])
127149
 
+  AC_MSG_RESULT([$gt_cv_var])
127150
 
+  if test $gt_cv_var = yes; then
127151
 
+    AC_DEFINE([HAVE_]m4_translit($2, [a-z], [A-Z])[_DECL], 1,
127152
 
+              [Define if you have the declaration of $2.])
127153
 
+  fi
127154
 
+  undefine([gt_cv_var])
127155
 
+])
127156
 
+m4trace:m4/errno_h.m4:7: -1- AC_DEFUN_ONCE([gl_HEADER_ERRNO_H], [
127157
 
+  AC_REQUIRE([AC_PROG_CC])
127158
 
+  AC_CACHE_CHECK([for complete errno.h], [gl_cv_header_errno_h_complete], [
127159
 
+    AC_EGREP_CPP([booboo],[
127160
 
+#include <errno.h>
127161
 
+#if !defined ENOMSG
127162
 
+booboo
127163
 
+#endif
127164
 
+#if !defined EIDRM
127165
 
+booboo
127166
 
+#endif
127167
 
+#if !defined ENOLINK
127168
 
+booboo
127169
 
+#endif
127170
 
+#if !defined EPROTO
127171
 
+booboo
127172
 
+#endif
127173
 
+#if !defined EMULTIHOP
127174
 
+booboo
127175
 
+#endif
127176
 
+#if !defined EBADMSG
127177
 
+booboo
127178
 
+#endif
127179
 
+#if !defined EOVERFLOW
127180
 
+booboo
127181
 
+#endif
127182
 
+#if !defined ENOTSUP
127183
 
+booboo
127184
 
+#endif
127185
 
+#if !defined ENETRESET
127186
 
+booboo
127187
 
+#endif
127188
 
+#if !defined ECONNABORTED
127189
 
+booboo
127190
 
+#endif
127191
 
+#if !defined ESTALE
127192
 
+booboo
127193
 
+#endif
127194
 
+#if !defined EDQUOT
127195
 
+booboo
127196
 
+#endif
127197
 
+#if !defined ECANCELED
127198
 
+booboo
127199
 
+#endif
127200
 
+      ],
127201
 
+      [gl_cv_header_errno_h_complete=no],
127202
 
+      [gl_cv_header_errno_h_complete=yes])
127203
 
+  ])
127204
 
+  if test $gl_cv_header_errno_h_complete = yes; then
127205
 
+    ERRNO_H=''
127206
 
+  else
127207
 
+    gl_NEXT_HEADERS([errno.h])
127208
 
+    ERRNO_H='errno.h'
127209
 
+  fi
127210
 
+  AC_SUBST([ERRNO_H])
127211
 
+  AM_CONDITIONAL([GL_GENERATE_ERRNO_H], [test -n "$ERRNO_H"])
127212
 
+  gl_REPLACE_ERRNO_VALUE([EMULTIHOP])
127213
 
+  gl_REPLACE_ERRNO_VALUE([ENOLINK])
127214
 
+  gl_REPLACE_ERRNO_VALUE([EOVERFLOW])
127215
 
+])
127216
 
+m4trace:m4/errno_h.m4:75: -1- AC_DEFUN([gl_REPLACE_ERRNO_VALUE], [
127217
 
+  if test -n "$ERRNO_H"; then
127218
 
+    AC_CACHE_CHECK([for ]$1[ value], [gl_cv_header_errno_h_]$1, [
127219
 
+      AC_EGREP_CPP([yes],[
127220
 
+#include <errno.h>
127221
 
+#ifdef ]$1[
127222
 
+yes
127223
 
+#endif
127224
 
+      ],
127225
 
+      [gl_cv_header_errno_h_]$1[=yes],
127226
 
+      [gl_cv_header_errno_h_]$1[=no])
127227
 
+      if test $gl_cv_header_errno_h_]$1[ = no; then
127228
 
+        AC_EGREP_CPP([yes],[
127229
 
+#define _XOPEN_SOURCE_EXTENDED 1
127230
 
+#include <errno.h>
127231
 
+#ifdef ]$1[
127232
 
+yes
127233
 
+#endif
127234
 
+          ], [gl_cv_header_errno_h_]$1[=hidden])
127235
 
+        if test $gl_cv_header_errno_h_]$1[ = hidden; then
127236
 
+          dnl The macro exists but is hidden.
127237
 
+          dnl Define it to the same value.
127238
 
+          AC_COMPUTE_INT([gl_cv_header_errno_h_]$1, $1, [
127239
 
+#define _XOPEN_SOURCE_EXTENDED 1
127240
 
+#include <errno.h>
127241
 
+/* The following two lines are a workaround against an autoconf-2.52 bug.  */
127242
 
+#include <stdio.h>
127243
 
+#include <stdlib.h>
127244
 
+])
127245
 
+        fi
127246
 
+      fi
127247
 
+    ])
127248
 
+    case $gl_cv_header_errno_h_$1 in
127249
 
+      yes | no)
127250
 
+        $1_HIDDEN=0; $1_VALUE=
127251
 
+        ;;
127252
 
+      *)
127253
 
+        $1_HIDDEN=1; $1_VALUE="$gl_cv_header_errno_h_$1"
127254
 
+        ;;
127255
 
+    esac
127256
 
+    AC_SUBST($1[_HIDDEN])
127257
 
+    AC_SUBST($1[_VALUE])
127258
 
+  fi
127259
 
+])
127260
 
+m4trace:m4/error.m4:9: -1- AC_DEFUN([gl_ERROR], [
127261
 
+  dnl We don't use AC_FUNC_ERROR_AT_LINE any more, because it is no longer
127262
 
+  dnl maintained in Autoconf and because it invokes AC_LIBOBJ.
127263
 
+  AC_CACHE_CHECK([for error_at_line], [ac_cv_lib_error_at_line],
127264
 
+    [AC_LINK_IFELSE(
127265
 
+       [AC_LANG_PROGRAM(
127266
 
+          [[#include <error.h>]],
127267
 
+          [[error_at_line (0, 0, "", 0, "an error occurred");]])],
127268
 
+       [ac_cv_lib_error_at_line=yes],
127269
 
+       [ac_cv_lib_error_at_line=no])])
127270
 
+])
127271
 
+m4trace:m4/error.m4:23: -1- AC_DEFUN([gl_PREREQ_ERROR], [
127272
 
+  AC_REQUIRE([AC_FUNC_STRERROR_R])
127273
 
+  AC_REQUIRE([AC_C_INLINE])
127274
 
+  :
127275
 
+])
127276
 
+m4trace:m4/euidaccess-stat.m4:7: -1- AC_DEFUN([gl_EUIDACCESS_STAT], [
127277
 
+  AC_LIBSOURCES([euidaccess-stat.c, euidaccess-stat.h])
127278
 
+  AC_LIBOBJ([euidaccess-stat])
127279
 
+])
127280
 
+m4trace:m4/euidaccess.m4:7: -1- AC_DEFUN([gl_FUNC_NONREENTRANT_EUIDACCESS], [
127281
 
+  AC_REQUIRE([gl_FUNC_EUIDACCESS])
127282
 
+  AC_DEFINE([PREFER_NONREENTRANT_EUIDACCESS], [1],
127283
 
+    [Define this if you prefer euidaccess to return the correct result
127284
 
+     even if this would make it nonreentrant.  Define this only if your
127285
 
+     entire application is safe even if the uid or gid might temporarily
127286
 
+     change.  If your application uses signal handlers or threads it
127287
 
+     is probably not safe.])
127288
 
+])
127289
 
+m4trace:m4/euidaccess.m4:18: -1- AC_DEFUN([gl_FUNC_EUIDACCESS], [
127290
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
127291
 
+
127292
 
+  dnl Persuade glibc <unistd.h> to declare euidaccess().
127293
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
127294
 
+
127295
 
+  AC_CHECK_FUNCS([euidaccess])
127296
 
+  if test $ac_cv_func_euidaccess = no; then
127297
 
+    HAVE_EUIDACCESS=0
127298
 
+  fi
127299
 
+])
127300
 
+m4trace:m4/euidaccess.m4:32: -1- AC_DEFUN([gl_PREREQ_EUIDACCESS], [
127301
 
+  dnl Prefer POSIX faccessat over non-standard euidaccess.
127302
 
+  AC_CHECK_FUNCS_ONCE([faccessat])
127303
 
+  dnl Try various other non-standard fallbacks.
127304
 
+  AC_CHECK_HEADERS_ONCE([libgen.h])
127305
 
+  AC_CHECK_DECLS_ONCE([setregid])
127306
 
+  AC_REQUIRE([AC_FUNC_GETGROUPS])
127307
 
+
127308
 
+  # Solaris 9 needs -lgen to get the eaccess function.
127309
 
+  # Save and restore LIBS so -lgen isn't added to it.  Otherwise, *all*
127310
 
+  # programs in the package would end up linked with that potentially-shared
127311
 
+  # library, inducing unnecessary run-time overhead.
127312
 
+  LIB_EACCESS=
127313
 
+  AC_SUBST([LIB_EACCESS])
127314
 
+  gl_saved_libs=$LIBS
127315
 
+    AC_SEARCH_LIBS([eaccess], [gen],
127316
 
+                   [test "$ac_cv_search_eaccess" = "none required" ||
127317
 
+                    LIB_EACCESS=$ac_cv_search_eaccess])
127318
 
+    AC_CHECK_FUNCS([eaccess])
127319
 
+  LIBS=$gl_saved_libs
127320
 
+])
127321
 
+m4trace:m4/exponentd.m4:6: -1- AC_DEFUN([gl_DOUBLE_EXPONENT_LOCATION], [
127322
 
+  AC_CACHE_CHECK([where to find the exponent in a 'double'],
127323
 
+    [gl_cv_cc_double_expbit0],
127324
 
+    [
127325
 
+      AC_RUN_IFELSE(
127326
 
+        [AC_LANG_SOURCE([[
127327
 
+#include <float.h>
127328
 
+#include <stddef.h>
127329
 
+#include <stdio.h>
127330
 
+#include <string.h>
127331
 
+#define NWORDS \
127332
 
+  ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
127333
 
+typedef union { double value; unsigned int word[NWORDS]; } memory_double;
127334
 
+static unsigned int ored_words[NWORDS];
127335
 
+static unsigned int anded_words[NWORDS];
127336
 
+static void add_to_ored_words (double x)
127337
 
+{
127338
 
+  memory_double m;
127339
 
+  size_t i;
127340
 
+  /* Clear it first, in case sizeof (double) < sizeof (memory_double).  */
127341
 
+  memset (&m, 0, sizeof (memory_double));
127342
 
+  m.value = x;
127343
 
+  for (i = 0; i < NWORDS; i++)
127344
 
+    {
127345
 
+      ored_words[i] |= m.word[i];
127346
 
+      anded_words[i] &= m.word[i];
127347
 
+    }
127348
 
+}
127349
 
+int main ()
127350
 
+{
127351
 
+  size_t j;
127352
 
+  FILE *fp = fopen ("conftest.out", "w");
127353
 
+  if (fp == NULL)
127354
 
+    return 1;
127355
 
+  for (j = 0; j < NWORDS; j++)
127356
 
+    anded_words[j] = ~ (unsigned int) 0;
127357
 
+  add_to_ored_words (0.25);
127358
 
+  add_to_ored_words (0.5);
127359
 
+  add_to_ored_words (1.0);
127360
 
+  add_to_ored_words (2.0);
127361
 
+  add_to_ored_words (4.0);
127362
 
+  /* Remove bits that are common (e.g. if representation of the first mantissa
127363
 
+     bit is explicit).  */
127364
 
+  for (j = 0; j < NWORDS; j++)
127365
 
+    ored_words[j] &= ~anded_words[j];
127366
 
+  /* Now find the nonzero word.  */
127367
 
+  for (j = 0; j < NWORDS; j++)
127368
 
+    if (ored_words[j] != 0)
127369
 
+      break;
127370
 
+  if (j < NWORDS)
127371
 
+    {
127372
 
+      size_t i;
127373
 
+      for (i = j + 1; i < NWORDS; i++)
127374
 
+        if (ored_words[i] != 0)
127375
 
+          {
127376
 
+            fprintf (fp, "unknown");
127377
 
+            return (fclose (fp) != 0);
127378
 
+          }
127379
 
+      for (i = 0; ; i++)
127380
 
+        if ((ored_words[j] >> i) & 1)
127381
 
+          {
127382
 
+            fprintf (fp, "word %d bit %d", (int) j, (int) i);
127383
 
+            return (fclose (fp) != 0);
127384
 
+          }
127385
 
+    }
127386
 
+  fprintf (fp, "unknown");
127387
 
+  return (fclose (fp) != 0);
127388
 
+}
127389
 
+        ]])],
127390
 
+        [gl_cv_cc_double_expbit0=`cat conftest.out`],
127391
 
+        [gl_cv_cc_double_expbit0="unknown"],
127392
 
+        [
127393
 
+          dnl On ARM, there are two 'double' floating-point formats, used by
127394
 
+          dnl different sets of instructions: The older FPA instructions assume
127395
 
+          dnl that they are stored in big-endian word order, while the words
127396
 
+          dnl (like integer types) are stored in little-endian byte order.
127397
 
+          dnl The newer VFP instructions assume little-endian order consistenly.
127398
 
+          AC_EGREP_CPP([mixed_endianness], [
127399
 
+#if defined arm || defined __arm || defined __arm__
127400
 
+  mixed_endianness
127401
 
+#endif
127402
 
+            ],
127403
 
+            [gl_cv_cc_double_expbit0="unknown"],
127404
 
+            [
127405
 
+              pushdef([AC_MSG_CHECKING],[:])dnl
127406
 
+              pushdef([AC_MSG_RESULT],[:])dnl
127407
 
+              pushdef([AC_MSG_RESULT_UNQUOTED],[:])dnl
127408
 
+              AC_C_BIGENDIAN(
127409
 
+                [gl_cv_cc_double_expbit0="word 0 bit 20"],
127410
 
+                [gl_cv_cc_double_expbit0="word 1 bit 20"],
127411
 
+                [gl_cv_cc_double_expbit0="unknown"])
127412
 
+              popdef([AC_MSG_RESULT_UNQUOTED])dnl
127413
 
+              popdef([AC_MSG_RESULT])dnl
127414
 
+              popdef([AC_MSG_CHECKING])dnl
127415
 
+            ])
127416
 
+        ])
127417
 
+      rm -f conftest.out
127418
 
+    ])
127419
 
+  case "$gl_cv_cc_double_expbit0" in
127420
 
+    word*bit*)
127421
 
+      word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
127422
 
+      bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'`
127423
 
+      AC_DEFINE_UNQUOTED([DBL_EXPBIT0_WORD], [$word],
127424
 
+        [Define as the word index where to find the exponent of 'double'.])
127425
 
+      AC_DEFINE_UNQUOTED([DBL_EXPBIT0_BIT], [$bit],
127426
 
+        [Define as the bit index in the word where to find bit 0 of the exponent of 'double'.])
127427
 
+      ;;
127428
 
+  esac
127429
 
+])
127430
 
+m4trace:m4/exponentf.m4:6: -1- AC_DEFUN([gl_FLOAT_EXPONENT_LOCATION], [
127431
 
+  AC_CACHE_CHECK([where to find the exponent in a 'float'],
127432
 
+    [gl_cv_cc_float_expbit0],
127433
 
+    [
127434
 
+      AC_RUN_IFELSE(
127435
 
+        [AC_LANG_SOURCE([[
127436
 
+#include <float.h>
127437
 
+#include <stddef.h>
127438
 
+#include <stdio.h>
127439
 
+#include <string.h>
127440
 
+#define NWORDS \
127441
 
+  ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
127442
 
+typedef union { float value; unsigned int word[NWORDS]; } memory_float;
127443
 
+static unsigned int ored_words[NWORDS];
127444
 
+static unsigned int anded_words[NWORDS];
127445
 
+static void add_to_ored_words (float x)
127446
 
+{
127447
 
+  memory_float m;
127448
 
+  size_t i;
127449
 
+  /* Clear it first, in case
127450
 
+     sizeof (float) < sizeof (memory_float).  */
127451
 
+  memset (&m, 0, sizeof (memory_float));
127452
 
+  m.value = x;
127453
 
+  for (i = 0; i < NWORDS; i++)
127454
 
+    {
127455
 
+      ored_words[i] |= m.word[i];
127456
 
+      anded_words[i] &= m.word[i];
127457
 
+    }
127458
 
+}
127459
 
+int main ()
127460
 
+{
127461
 
+  size_t j;
127462
 
+  FILE *fp = fopen ("conftest.out", "w");
127463
 
+  if (fp == NULL)
127464
 
+    return 1;
127465
 
+  for (j = 0; j < NWORDS; j++)
127466
 
+    anded_words[j] = ~ (unsigned int) 0;
127467
 
+  add_to_ored_words (0.25f);
127468
 
+  add_to_ored_words (0.5f);
127469
 
+  add_to_ored_words (1.0f);
127470
 
+  add_to_ored_words (2.0f);
127471
 
+  add_to_ored_words (4.0f);
127472
 
+  /* Remove bits that are common (e.g. if representation of the first mantissa
127473
 
+     bit is explicit).  */
127474
 
+  for (j = 0; j < NWORDS; j++)
127475
 
+    ored_words[j] &= ~anded_words[j];
127476
 
+  /* Now find the nonzero word.  */
127477
 
+  for (j = 0; j < NWORDS; j++)
127478
 
+    if (ored_words[j] != 0)
127479
 
+      break;
127480
 
+  if (j < NWORDS)
127481
 
+    {
127482
 
+      size_t i;
127483
 
+      for (i = j + 1; i < NWORDS; i++)
127484
 
+        if (ored_words[i] != 0)
127485
 
+          {
127486
 
+            fprintf (fp, "unknown");
127487
 
+            return (fclose (fp) != 0);
127488
 
+          }
127489
 
+      for (i = 0; ; i++)
127490
 
+        if ((ored_words[j] >> i) & 1)
127491
 
+          {
127492
 
+            fprintf (fp, "word %d bit %d", (int) j, (int) i);
127493
 
+            return (fclose (fp) != 0);
127494
 
+          }
127495
 
+    }
127496
 
+  fprintf (fp, "unknown");
127497
 
+  return (fclose (fp) != 0);
127498
 
+}
127499
 
+        ]])],
127500
 
+        [gl_cv_cc_float_expbit0=`cat conftest.out`],
127501
 
+        [gl_cv_cc_float_expbit0="unknown"],
127502
 
+        [gl_cv_cc_float_expbit0="word 0 bit 23"])
127503
 
+      rm -f conftest.out
127504
 
+    ])
127505
 
+  case "$gl_cv_cc_float_expbit0" in
127506
 
+    word*bit*)
127507
 
+      word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
127508
 
+      bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'`
127509
 
+      AC_DEFINE_UNQUOTED([FLT_EXPBIT0_WORD], [$word],
127510
 
+        [Define as the word index where to find the exponent of 'float'.])
127511
 
+      AC_DEFINE_UNQUOTED([FLT_EXPBIT0_BIT], [$bit],
127512
 
+        [Define as the bit index in the word where to find bit 0 of the exponent of 'float'.])
127513
 
+      ;;
127514
 
+  esac
127515
 
+])
127516
 
+m4trace:m4/exponentl.m4:6: -1- AC_DEFUN([gl_LONG_DOUBLE_EXPONENT_LOCATION], [
127517
 
+  AC_REQUIRE([gl_BIGENDIAN])
127518
 
+  AC_CACHE_CHECK([where to find the exponent in a 'long double'],
127519
 
+    [gl_cv_cc_long_double_expbit0],
127520
 
+    [
127521
 
+      AC_RUN_IFELSE(
127522
 
+        [AC_LANG_SOURCE([[
127523
 
+#include <float.h>
127524
 
+#include <stddef.h>
127525
 
+#include <stdio.h>
127526
 
+#include <string.h>
127527
 
+#define NWORDS \
127528
 
+  ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
127529
 
+typedef union { long double value; unsigned int word[NWORDS]; }
127530
 
+        memory_long_double;
127531
 
+static unsigned int ored_words[NWORDS];
127532
 
+static unsigned int anded_words[NWORDS];
127533
 
+static void add_to_ored_words (long double x)
127534
 
+{
127535
 
+  memory_long_double m;
127536
 
+  size_t i;
127537
 
+  /* Clear it first, in case
127538
 
+     sizeof (long double) < sizeof (memory_long_double).  */
127539
 
+  memset (&m, 0, sizeof (memory_long_double));
127540
 
+  m.value = x;
127541
 
+  for (i = 0; i < NWORDS; i++)
127542
 
+    {
127543
 
+      ored_words[i] |= m.word[i];
127544
 
+      anded_words[i] &= m.word[i];
127545
 
+    }
127546
 
+}
127547
 
+int main ()
127548
 
+{
127549
 
+  size_t j;
127550
 
+  FILE *fp = fopen ("conftest.out", "w");
127551
 
+  if (fp == NULL)
127552
 
+    return 1;
127553
 
+  for (j = 0; j < NWORDS; j++)
127554
 
+    anded_words[j] = ~ (unsigned int) 0;
127555
 
+  add_to_ored_words (0.25L);
127556
 
+  add_to_ored_words (0.5L);
127557
 
+  add_to_ored_words (1.0L);
127558
 
+  add_to_ored_words (2.0L);
127559
 
+  add_to_ored_words (4.0L);
127560
 
+  /* Remove bits that are common (e.g. if representation of the first mantissa
127561
 
+     bit is explicit).  */
127562
 
+  for (j = 0; j < NWORDS; j++)
127563
 
+    ored_words[j] &= ~anded_words[j];
127564
 
+  /* Now find the nonzero word.  */
127565
 
+  for (j = 0; j < NWORDS; j++)
127566
 
+    if (ored_words[j] != 0)
127567
 
+      break;
127568
 
+  if (j < NWORDS)
127569
 
+    {
127570
 
+      size_t i;
127571
 
+      for (i = j + 1; i < NWORDS; i++)
127572
 
+        if (ored_words[i] != 0)
127573
 
+          {
127574
 
+            fprintf (fp, "unknown");
127575
 
+            return (fclose (fp) != 0);
127576
 
+          }
127577
 
+      for (i = 0; ; i++)
127578
 
+        if ((ored_words[j] >> i) & 1)
127579
 
+          {
127580
 
+            fprintf (fp, "word %d bit %d", (int) j, (int) i);
127581
 
+            return (fclose (fp) != 0);
127582
 
+          }
127583
 
+    }
127584
 
+  fprintf (fp, "unknown");
127585
 
+  return (fclose (fp) != 0);
127586
 
+}
127587
 
+        ]])],
127588
 
+        [gl_cv_cc_long_double_expbit0=`cat conftest.out`],
127589
 
+        [gl_cv_cc_long_double_expbit0="unknown"],
127590
 
+        [
127591
 
+          dnl When cross-compiling, we don't know. It depends on the
127592
 
+          dnl ABI and compiler version. There are too many cases.
127593
 
+          gl_cv_cc_long_double_expbit0="unknown"
127594
 
+        ])
127595
 
+      rm -f conftest.out
127596
 
+    ])
127597
 
+  case "$gl_cv_cc_long_double_expbit0" in
127598
 
+    word*bit*)
127599
 
+      word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
127600
 
+      bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'`
127601
 
+      AC_DEFINE_UNQUOTED([LDBL_EXPBIT0_WORD], [$word],
127602
 
+        [Define as the word index where to find the exponent of 'long double'.])
127603
 
+      AC_DEFINE_UNQUOTED([LDBL_EXPBIT0_BIT], [$bit],
127604
 
+        [Define as the bit index in the word where to find bit 0 of the exponent of 'long double'.])
127605
 
+      ;;
127606
 
+  esac
127607
 
+])
127608
 
+m4trace:m4/extensions.m4:37: -1- AC_DEFUN_ONCE([AC_USE_SYSTEM_EXTENSIONS], [AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
127609
 
+AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
127610
 
+
127611
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
127612
 
+
127613
 
+  AC_CHECK_HEADER([minix/config.h], [MINIX=yes], [MINIX=])
127614
 
+  if test "$MINIX" = yes; then
127615
 
+    AC_DEFINE([_POSIX_SOURCE], [1],
127616
 
+      [Define to 1 if you need to in order for `stat' and other
127617
 
+       things to work.])
127618
 
+    AC_DEFINE([_POSIX_1_SOURCE], [2],
127619
 
+      [Define to 2 if the system does not provide POSIX.1 features
127620
 
+       except with this defined.])
127621
 
+    AC_DEFINE([_MINIX], [1],
127622
 
+      [Define to 1 if on MINIX.])
127623
 
+  fi
127624
 
+
127625
 
+  dnl HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to 500,
127626
 
+  dnl regardless of whether the flags -Ae or _D_HPUX_SOURCE=1 are already
127627
 
+  dnl provided.
127628
 
+  case "$host_os" in
127629
 
+    hpux*)
127630
 
+      AC_DEFINE([_XOPEN_SOURCE], [500],
127631
 
+        [Define to 500 only on HP-UX.])
127632
 
+      ;;
127633
 
+  esac
127634
 
+
127635
 
+  AH_VERBATIM([__EXTENSIONS__],
127636
 
+[/* Enable extensions on AIX 3, Interix.  */
127637
 
+#ifndef _ALL_SOURCE
127638
 
+# undef _ALL_SOURCE
127639
 
+#endif
127640
 
+/* Enable general extensions on MacOS X.  */
127641
 
+#ifndef _DARWIN_C_SOURCE
127642
 
+# undef _DARWIN_C_SOURCE
127643
 
+#endif
127644
 
+/* Enable GNU extensions on systems that have them.  */
127645
 
+#ifndef _GNU_SOURCE
127646
 
+# undef _GNU_SOURCE
127647
 
+#endif
127648
 
+/* Enable threading extensions on Solaris.  */
127649
 
+#ifndef _POSIX_PTHREAD_SEMANTICS
127650
 
+# undef _POSIX_PTHREAD_SEMANTICS
127651
 
+#endif
127652
 
+/* Enable extensions on HP NonStop.  */
127653
 
+#ifndef _TANDEM_SOURCE
127654
 
+# undef _TANDEM_SOURCE
127655
 
+#endif
127656
 
+/* Enable general extensions on Solaris.  */
127657
 
+#ifndef __EXTENSIONS__
127658
 
+# undef __EXTENSIONS__
127659
 
+#endif
127660
 
+])
127661
 
+  AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__],
127662
 
+    [ac_cv_safe_to_define___extensions__],
127663
 
+    [AC_COMPILE_IFELSE(
127664
 
+       [AC_LANG_PROGRAM([[
127665
 
+#         define __EXTENSIONS__ 1
127666
 
+          ]AC_INCLUDES_DEFAULT])],
127667
 
+       [ac_cv_safe_to_define___extensions__=yes],
127668
 
+       [ac_cv_safe_to_define___extensions__=no])])
127669
 
+  test $ac_cv_safe_to_define___extensions__ = yes &&
127670
 
+    AC_DEFINE([__EXTENSIONS__])
127671
 
+  AC_DEFINE([_ALL_SOURCE])
127672
 
+  AC_DEFINE([_DARWIN_C_SOURCE])
127673
 
+  AC_DEFINE([_GNU_SOURCE])
127674
 
+  AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
127675
 
+  AC_DEFINE([_TANDEM_SOURCE])
127676
 
+])
127677
 
+m4trace:m4/extensions.m4:112: -1- AC_DEFUN_ONCE([gl_USE_SYSTEM_EXTENSIONS], [
127678
 
+  dnl Require this macro before AC_USE_SYSTEM_EXTENSIONS.
127679
 
+  dnl gnulib does not need it. But if it gets required by third-party macros
127680
 
+  dnl after AC_USE_SYSTEM_EXTENSIONS is required, autoconf 2.62..2.63 emit a
127681
 
+  dnl warning: "AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS".
127682
 
+  dnl Note: We can do this only for one of the macros AC_AIX, AC_GNU_SOURCE,
127683
 
+  dnl AC_MINIX. If people still use AC_AIX or AC_MINIX, they are out of luck.
127684
 
+  AC_REQUIRE([AC_GNU_SOURCE])
127685
 
+
127686
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
127687
 
+])
127688
 
+m4trace:m4/faccessat.m4:11: -1- AC_DEFUN([gl_FUNC_FACCESSAT], [
127689
 
+  AC_REQUIRE([gl_FUNC_OPENAT])
127690
 
+  AC_REQUIRE([gl_FUNC_EUIDACCESS])
127691
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
127692
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
127693
 
+  AC_CHECK_FUNCS_ONCE([access])
127694
 
+  AC_CHECK_FUNCS_ONCE([faccessat])
127695
 
+  if test $ac_cv_func_faccessat = no; then
127696
 
+    HAVE_FACCESSAT=0
127697
 
+    AC_LIBOBJ([faccessat])
127698
 
+  fi
127699
 
+])
127700
 
+m4trace:m4/fchdir.m4:7: -1- AC_DEFUN([gl_FUNC_FCHDIR], [
127701
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
127702
 
+  AC_REQUIRE([gl_DIRENT_H_DEFAULTS])
127703
 
+  AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
127704
 
+
127705
 
+  AC_CHECK_DECLS_ONCE([fchdir])
127706
 
+  if test $ac_cv_have_decl_fchdir = no; then
127707
 
+    HAVE_DECL_FCHDIR=0
127708
 
+  fi
127709
 
+
127710
 
+  AC_REQUIRE([gl_TEST_FCHDIR])
127711
 
+  if test $HAVE_FCHDIR = 0; then
127712
 
+    AC_LIBOBJ([fchdir])
127713
 
+    gl_PREREQ_FCHDIR
127714
 
+    AC_DEFINE([REPLACE_FCHDIR], [1],
127715
 
+      [Define to 1 if gnulib's fchdir() replacement is used.])
127716
 
+    dnl We must also replace anything that can manipulate a directory fd,
127717
 
+    dnl to keep our bookkeeping up-to-date.  We don't have to replace
127718
 
+    dnl fstatat, since no platform has fstatat but lacks fchdir.
127719
 
+    REPLACE_OPENDIR=1
127720
 
+    REPLACE_CLOSEDIR=1
127721
 
+    REPLACE_DUP=1
127722
 
+    AC_CACHE_CHECK([whether open can visit directories],
127723
 
+      [gl_cv_func_open_directory_works],
127724
 
+      [AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <fcntl.h>
127725
 
+]], [return open(".", O_RDONLY) < 0;])],
127726
 
+        [gl_cv_func_open_directory_works=yes],
127727
 
+        [gl_cv_func_open_directory_works=no],
127728
 
+        [gl_cv_func_open_directory_works="guessing no"])])
127729
 
+    if test "$gl_cv_func_open_directory_works" != yes; then
127730
 
+      AC_DEFINE([REPLACE_OPEN_DIRECTORY], [1], [Define to 1 if open() should
127731
 
+work around the inability to open a directory.])
127732
 
+      REPLACE_FSTAT=1
127733
 
+    fi
127734
 
+  fi
127735
 
+])
127736
 
+m4trace:m4/fchdir.m4:46: -1- AC_DEFUN([gl_TEST_FCHDIR], [
127737
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
127738
 
+  AC_CHECK_FUNCS_ONCE([fchdir])
127739
 
+  if test $ac_cv_func_fchdir = no; then
127740
 
+    HAVE_FCHDIR=0
127741
 
+  fi
127742
 
+])
127743
 
+m4trace:m4/fchdir.m4:56: -1- AC_DEFUN([gl_PREREQ_FCHDIR], [:])
127744
 
+m4trace:m4/fclose.m4:7: -1- AC_DEFUN([gl_FUNC_FCLOSE], [
127745
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
127746
 
+
127747
 
+  gl_FUNC_FFLUSH_STDIN
127748
 
+  if test $gl_cv_func_fflush_stdin = no; then
127749
 
+    REPLACE_FCLOSE=1
127750
 
+  fi
127751
 
+
127752
 
+  AC_REQUIRE([gl_FUNC_CLOSE])
127753
 
+  if test $REPLACE_CLOSE = 1; then
127754
 
+    REPLACE_FCLOSE=1
127755
 
+  fi
127756
 
+])
127757
 
+m4trace:m4/fcntl-o.m4:12: -1- AC_DEFUN([gl_FCNTL_O_FLAGS], [
127758
 
+  dnl Persuade glibc <fcntl.h> to define O_NOATIME and O_NOFOLLOW.
127759
 
+  dnl AC_USE_SYSTEM_EXTENSIONS was introduced in autoconf 2.60 and obsoletes
127760
 
+  dnl AC_GNU_SOURCE.
127761
 
+  m4_ifdef([AC_USE_SYSTEM_EXTENSIONS],
127762
 
+    [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])],
127763
 
+    [AC_REQUIRE([AC_GNU_SOURCE])])
127764
 
+  AC_CACHE_CHECK([for working fcntl.h], [gl_cv_header_working_fcntl_h],
127765
 
+    [AC_RUN_IFELSE(
127766
 
+       [AC_LANG_PROGRAM(
127767
 
+          [[#include <sys/types.h>
127768
 
+           #include <sys/stat.h>
127769
 
+           #include <unistd.h>
127770
 
+           #include <fcntl.h>
127771
 
+           #ifndef O_NOATIME
127772
 
+            #define O_NOATIME 0
127773
 
+           #endif
127774
 
+           #ifndef O_NOFOLLOW
127775
 
+            #define O_NOFOLLOW 0
127776
 
+           #endif
127777
 
+           static int const constants[] =
127778
 
+            {
127779
 
+              O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
127780
 
+              O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
127781
 
+            };
127782
 
+          ]],
127783
 
+          [[
127784
 
+            int result = !constants;
127785
 
+            {
127786
 
+              static char const sym[] = "conftest.sym";
127787
 
+              if (symlink (".", sym) != 0)
127788
 
+                result |= 2;
127789
 
+              else
127790
 
+                {
127791
 
+                  int fd = open (sym, O_RDONLY | O_NOFOLLOW);
127792
 
+                  if (fd >= 0)
127793
 
+                    {
127794
 
+                      close (fd);
127795
 
+                      result |= 4;
127796
 
+                    }
127797
 
+                }
127798
 
+              unlink (sym);
127799
 
+            }
127800
 
+            {
127801
 
+              static char const file[] = "confdefs.h";
127802
 
+              int fd = open (file, O_RDONLY | O_NOATIME);
127803
 
+              if (fd < 0)
127804
 
+                result |= 8;
127805
 
+              else
127806
 
+                {
127807
 
+                  struct stat st0;
127808
 
+                  if (fstat (fd, &st0) != 0)
127809
 
+                    result |= 16;
127810
 
+                  else
127811
 
+                    {
127812
 
+                      char c;
127813
 
+                      sleep (1);
127814
 
+                      if (read (fd, &c, 1) != 1)
127815
 
+                        result |= 24;
127816
 
+                      else
127817
 
+                        {
127818
 
+                          if (close (fd) != 0)
127819
 
+                            result |= 32;
127820
 
+                          else
127821
 
+                            {
127822
 
+                              struct stat st1;
127823
 
+                              if (stat (file, &st1) != 0)
127824
 
+                                result |= 40;
127825
 
+                              else
127826
 
+                                if (st0.st_atime != st1.st_atime)
127827
 
+                                  result |= 64;
127828
 
+                            }
127829
 
+                        }
127830
 
+                    }
127831
 
+                }
127832
 
+            }
127833
 
+            return result;]])],
127834
 
+       [gl_cv_header_working_fcntl_h=yes],
127835
 
+       [case $? in #(
127836
 
+        4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #(
127837
 
+        64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #(
127838
 
+        68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #(
127839
 
+         *) gl_cv_header_working_fcntl_h='no';;
127840
 
+        esac],
127841
 
+       [gl_cv_header_working_fcntl_h=cross-compiling])])
127842
 
+
127843
 
+  case $gl_cv_header_working_fcntl_h in #(
127844
 
+  *O_NOATIME* | no | cross-compiling) ac_val=0;; #(
127845
 
+  *) ac_val=1;;
127846
 
+  esac
127847
 
+  AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOATIME], [$ac_val],
127848
 
+    [Define to 1 if O_NOATIME works.])
127849
 
+
127850
 
+  case $gl_cv_header_working_fcntl_h in #(
127851
 
+  *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #(
127852
 
+  *) ac_val=1;;
127853
 
+  esac
127854
 
+  AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOFOLLOW], [$ac_val],
127855
 
+    [Define to 1 if O_NOFOLLOW works.])
127856
 
+])
127857
 
+m4trace:m4/fcntl-safer.m4:7: -1- AC_DEFUN([gl_FCNTL_SAFER], [
127858
 
+  dnl Prerequisites of lib/open-safer.c.
127859
 
+  AC_REQUIRE([gl_PROMOTED_TYPE_MODE_T])
127860
 
+])
127861
 
+m4trace:m4/fcntl-safer.m4:13: -1- AC_DEFUN([gl_OPENAT_SAFER], [
127862
 
+  AC_REQUIRE([gl_FCNTL_SAFER])
127863
 
+])
127864
 
+m4trace:m4/fcntl.m4:16: -1- AC_DEFUN([gl_FUNC_FCNTL], [
127865
 
+  dnl Persuade glibc to expose F_DUPFD_CLOEXEC.
127866
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
127867
 
+  AC_REQUIRE([gl_FCNTL_H_DEFAULTS])
127868
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
127869
 
+  AC_CHECK_FUNCS_ONCE([fcntl])
127870
 
+  if test $ac_cv_func_fcntl = no; then
127871
 
+    gl_REPLACE_FCNTL
127872
 
+  else
127873
 
+    dnl cygwin 1.5.x F_DUPFD has wrong errno, and allows negative target
127874
 
+    dnl haiku alpha 2 F_DUPFD has wrong errno
127875
 
+    AC_CACHE_CHECK([whether fcntl handles F_DUPFD correctly],
127876
 
+      [gl_cv_func_fcntl_f_dupfd_works],
127877
 
+      [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
127878
 
+#include <fcntl.h>
127879
 
+#include <errno.h>
127880
 
+]], [[int result = 0;
127881
 
+      if (fcntl (0, F_DUPFD, -1) != -1) result |= 1;
127882
 
+      if (errno != EINVAL) result |= 2;
127883
 
+      return result;
127884
 
+         ]])],
127885
 
+         [gl_cv_func_fcntl_f_dupfd_works=yes],
127886
 
+         [gl_cv_func_fcntl_f_dupfd_works=no],
127887
 
+         [# Guess that it works on glibc systems
127888
 
+          case $host_os in #((
127889
 
+            *-gnu*) gl_cv_func_fcntl_f_dupfd_works="guessing yes";;
127890
 
+            *)      gl_cv_func_fcntl_f_dupfd_works="guessing no";;
127891
 
+          esac])])
127892
 
+    case $gl_cv_func_fcntl_f_dupfd_works in
127893
 
+      *yes) ;;
127894
 
+      *) gl_REPLACE_FCNTL
127895
 
+        AC_DEFINE([FCNTL_DUPFD_BUGGY], [1], [Define this to 1 if F_DUPFD
127896
 
+          behavior does not match POSIX]) ;;
127897
 
+    esac
127898
 
+
127899
 
+    dnl Many systems lack F_DUPFD_CLOEXEC
127900
 
+    AC_CACHE_CHECK([whether fcntl understands F_DUPFD_CLOEXEC],
127901
 
+      [gl_cv_func_fcntl_f_dupfd_cloexec],
127902
 
+      [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
127903
 
+#include <fcntl.h>
127904
 
+#ifndef F_DUPFD_CLOEXEC
127905
 
+choke me
127906
 
+#endif
127907
 
+         ]])],
127908
 
+         [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
127909
 
+#ifdef __linux__
127910
 
+/* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace
127911
 
+   it to support the semantics on older kernels that failed with EINVAL.  */
127912
 
+choke me
127913
 
+#endif
127914
 
+           ]])],
127915
 
+           [gl_cv_func_fcntl_f_dupfd_cloexec=yes],
127916
 
+           [gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check"])],
127917
 
+         [gl_cv_func_fcntl_f_dupfd_cloexec=no])])
127918
 
+    if test "$gl_cv_func_fcntl_f_dupfd_cloexec" != yes; then
127919
 
+      gl_REPLACE_FCNTL
127920
 
+      dnl No witness macro needed for this bug.
127921
 
+    fi
127922
 
+  fi
127923
 
+  dnl Replace fcntl() for supporting the gnulib-defined fchdir() function,
127924
 
+  dnl to keep fchdir's bookkeeping up-to-date.
127925
 
+  m4_ifdef([gl_FUNC_FCHDIR], [
127926
 
+    gl_TEST_FCHDIR
127927
 
+    if test $HAVE_FCHDIR = 0; then
127928
 
+      gl_REPLACE_FCNTL
127929
 
+    fi
127930
 
+  ])
127931
 
+])
127932
 
+m4trace:m4/fcntl.m4:86: -1- AC_DEFUN([gl_REPLACE_FCNTL], [
127933
 
+  AC_REQUIRE([gl_FCNTL_H_DEFAULTS])
127934
 
+  AC_CHECK_FUNCS_ONCE([fcntl])
127935
 
+  if test $ac_cv_func_fcntl = no; then
127936
 
+    HAVE_FCNTL=0
127937
 
+  else
127938
 
+    REPLACE_FCNTL=1
127939
 
+  fi
127940
 
+])
127941
 
+m4trace:m4/fcntl_h.m4:10: -1- AC_DEFUN([gl_FCNTL_H], [
127942
 
+  AC_REQUIRE([gl_FCNTL_H_DEFAULTS])
127943
 
+  AC_REQUIRE([gl_FCNTL_O_FLAGS])
127944
 
+  gl_NEXT_HEADERS([fcntl.h])
127945
 
+
127946
 
+  dnl Check for declarations of anything we want to poison if the
127947
 
+  dnl corresponding gnulib module is not in use, if it is not common
127948
 
+  dnl enough to be declared everywhere.
127949
 
+  gl_WARN_ON_USE_PREPARE([[#include <fcntl.h>
127950
 
+    ]], [fcntl openat])
127951
 
+])
127952
 
+m4trace:m4/fcntl_h.m4:23: -1- AC_DEFUN([gl_FCNTL_MODULE_INDICATOR], [
127953
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
127954
 
+  AC_REQUIRE([gl_FCNTL_H_DEFAULTS])
127955
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
127956
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
127957
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
127958
 
+])
127959
 
+m4trace:m4/fcntl_h.m4:32: -1- AC_DEFUN([gl_FCNTL_H_DEFAULTS], [
127960
 
+  GNULIB_FCNTL=0;        AC_SUBST([GNULIB_FCNTL])
127961
 
+  GNULIB_NONBLOCKING=0;  AC_SUBST([GNULIB_NONBLOCKING])
127962
 
+  GNULIB_OPEN=0;         AC_SUBST([GNULIB_OPEN])
127963
 
+  GNULIB_OPENAT=0;       AC_SUBST([GNULIB_OPENAT])
127964
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
127965
 
+  HAVE_FCNTL=1;          AC_SUBST([HAVE_FCNTL])
127966
 
+  HAVE_OPENAT=1;         AC_SUBST([HAVE_OPENAT])
127967
 
+  REPLACE_FCNTL=0;       AC_SUBST([REPLACE_FCNTL])
127968
 
+  REPLACE_OPEN=0;        AC_SUBST([REPLACE_OPEN])
127969
 
+  REPLACE_OPENAT=0;      AC_SUBST([REPLACE_OPENAT])
127970
 
+])
127971
 
+m4trace:m4/fd-reopen.m4:11: -1- AC_DEFUN([gl_FD_REOPEN], [
127972
 
+  AC_LIBSOURCES([fd-reopen.c, fd-reopen.h])
127973
 
+  AC_LIBOBJ([fd-reopen])
127974
 
+])
127975
 
+m4trace:m4/fdopendir.m4:11: -1- AC_DEFUN([gl_FUNC_FDOPENDIR], [
127976
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
127977
 
+  dnl FreeBSD 7.3 has the function, but failed to declare it.
127978
 
+  AC_CHECK_DECLS([fdopendir], [], [HAVE_DECL_FDOPENDIR=0], [[
127979
 
+#include <dirent.h>
127980
 
+    ]])
127981
 
+  AC_CHECK_FUNCS_ONCE([fdopendir])
127982
 
+  if test $ac_cv_func_fdopendir = no; then
127983
 
+    HAVE_FDOPENDIR=0
127984
 
+  else
127985
 
+    AC_CACHE_CHECK([whether fdopendir works],
127986
 
+      [gl_cv_func_fdopendir_works],
127987
 
+      [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
127988
 
+#include <dirent.h>
127989
 
+#include <fcntl.h>
127990
 
+#include <unistd.h>
127991
 
+#if !HAVE_DECL_FDOPENDIR
127992
 
+extern
127993
 
+# ifdef __cplusplus
127994
 
+"C"
127995
 
+# endif
127996
 
+DIR *fdopendir (int);
127997
 
+#endif
127998
 
+]], [int result = 0;
127999
 
+     int fd = open ("conftest.c", O_RDONLY);
128000
 
+     if (fd < 0) result |= 1;
128001
 
+     if (fdopendir (fd)) result |= 2;
128002
 
+     if (close (fd)) result |= 4;
128003
 
+     return result;])],
128004
 
+         [gl_cv_func_fdopendir_works=yes],
128005
 
+         [gl_cv_func_fdopendir_works=no],
128006
 
+         [gl_cv_func_fdopendir_works="guessing no"])])
128007
 
+    if test "$gl_cv_func_fdopendir_works" != yes; then
128008
 
+      REPLACE_FDOPENDIR=1
128009
 
+    fi
128010
 
+  fi
128011
 
+])
128012
 
+m4trace:m4/fflush.m4:13: -1- AC_DEFUN([gl_FUNC_FFLUSH], [
128013
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
128014
 
+  gl_FUNC_FFLUSH_STDIN
128015
 
+  if test $gl_cv_func_fflush_stdin = no; then
128016
 
+    REPLACE_FFLUSH=1
128017
 
+  fi
128018
 
+])
128019
 
+m4trace:m4/fflush.m4:25: -1- AC_DEFUN([gl_FUNC_FFLUSH_STDIN], [
128020
 
+  AC_CACHE_CHECK([whether fflush works on input streams],
128021
 
+    [gl_cv_func_fflush_stdin],
128022
 
+    [echo hello world > conftest.txt
128023
 
+     AC_RUN_IFELSE([AC_LANG_PROGRAM(
128024
 
+       [[
128025
 
+#include <stdio.h>
128026
 
+#include <unistd.h>
128027
 
+       ]], [[FILE *f = fopen ("conftest.txt", "r");
128028
 
+         char buffer[10];
128029
 
+         int fd;
128030
 
+         int c;
128031
 
+         if (f == NULL)
128032
 
+           return 1;
128033
 
+         fd = fileno (f);
128034
 
+         if (fd < 0 || fread (buffer, 1, 5, f) != 5)
128035
 
+           return 2;
128036
 
+         /* For deterministic results, ensure f read a bigger buffer.  */
128037
 
+         if (lseek (fd, 0, SEEK_CUR) == 5)
128038
 
+           return 3;
128039
 
+         /* POSIX requires fflush-fseek to set file offset of fd.  This fails
128040
 
+            on BSD systems and on mingw.  */
128041
 
+         if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0)
128042
 
+           return 4;
128043
 
+         if (lseek (fd, 0, SEEK_CUR) != 5)
128044
 
+           return 5;
128045
 
+         /* Verify behaviour of fflush after ungetc. See
128046
 
+            <http://www.opengroup.org/austin/aardvark/latest/xshbug3.txt>  */
128047
 
+         /* Verify behaviour of fflush after a backup ungetc.  This fails on
128048
 
+            mingw.  */
128049
 
+         c = fgetc (f);
128050
 
+         ungetc (c, f);
128051
 
+         fflush (f);
128052
 
+         if (fgetc (f) != c)
128053
 
+           return 6;
128054
 
+         /* Verify behaviour of fflush after a non-backup ungetc.  This fails
128055
 
+            on glibc 2.8 and on BSD systems.  */
128056
 
+         c = fgetc (f);
128057
 
+         ungetc ('@', f);
128058
 
+         fflush (f);
128059
 
+         if (fgetc (f) != c)
128060
 
+           return 7;
128061
 
+         return 0;
128062
 
+       ]])], [gl_cv_func_fflush_stdin=yes], [gl_cv_func_fflush_stdin=no],
128063
 
+     [dnl Pessimistically assume fflush is broken.
128064
 
+      gl_cv_func_fflush_stdin=no])
128065
 
+     rm conftest.txt
128066
 
+    ])
128067
 
+])
128068
 
+m4trace:m4/fflush.m4:77: -1- AC_DEFUN([gl_PREREQ_FFLUSH], [
128069
 
+  AC_REQUIRE([AC_C_INLINE])
128070
 
+  :
128071
 
+])
128072
 
+m4trace:m4/fileblocks.m4:7: -1- AC_DEFUN([gl_FILEBLOCKS], [
128073
 
+  m4_pushdef([AC_LIBOBJ], [:])
128074
 
+  dnl Note: AC_STRUCT_ST_BLOCKS does AC_LIBOBJ([fileblocks]).
128075
 
+  AC_STRUCT_ST_BLOCKS
128076
 
+  m4_popdef([AC_LIBOBJ])
128077
 
+  dnl The stat-size module depends on this one and also assumes that
128078
 
+  dnl HAVE_STRUCT_STAT_ST_BLOCKS is correctly defined.  So if you
128079
 
+  dnl remove the call above, please make sure that this does not
128080
 
+  dnl introduce a bug into lib/stat-size.h.
128081
 
+])
128082
 
+m4trace:m4/fileblocks.m4:20: -1- AC_DEFUN([gl_PREREQ_FILEBLOCKS], [
128083
 
+  AC_CHECK_HEADERS_ONCE([sys/param.h])
128084
 
+  :
128085
 
+])
128086
 
+m4trace:m4/filemode.m4:7: -1- AC_DEFUN([gl_FILEMODE], [
128087
 
+  AC_REQUIRE([AC_STRUCT_ST_DM_MODE])
128088
 
+  AC_CHECK_DECLS_ONCE([strmode])
128089
 
+])
128090
 
+m4trace:m4/filenamecat.m4:7: -1- AC_DEFUN([gl_FILE_NAME_CONCAT], [
128091
 
+  AC_REQUIRE([gl_FILE_NAME_CONCAT_LGPL])
128092
 
+])
128093
 
+m4trace:m4/filenamecat.m4:12: -1- AC_DEFUN([gl_FILE_NAME_CONCAT_LGPL], [
128094
 
+  dnl Prerequisites of lib/filenamecat-lgpl.c.
128095
 
+  AC_CHECK_FUNCS_ONCE([mempcpy])
128096
 
+])
128097
 
+m4trace:m4/flexmember.m4:11: -1- AC_DEFUN([AC_C_FLEXIBLE_ARRAY_MEMBER], [
128098
 
+  AC_CACHE_CHECK([for flexible array member],
128099
 
+    ac_cv_c_flexmember,
128100
 
+    [AC_COMPILE_IFELSE(
128101
 
+       [AC_LANG_PROGRAM(
128102
 
+          [[#include <stdlib.h>
128103
 
+            #include <stdio.h>
128104
 
+            #include <stddef.h>
128105
 
+            struct s { int n; double d[]; };]],
128106
 
+          [[int m = getchar ();
128107
 
+            struct s *p = malloc (offsetof (struct s, d)
128108
 
+                                  + m * sizeof (double));
128109
 
+            p->d[0] = 0.0;
128110
 
+            return p->d != (double *) NULL;]])],
128111
 
+       [ac_cv_c_flexmember=yes],
128112
 
+       [ac_cv_c_flexmember=no])])
128113
 
+  if test $ac_cv_c_flexmember = yes; then
128114
 
+    AC_DEFINE([FLEXIBLE_ARRAY_MEMBER], [],
128115
 
+      [Define to nothing if C supports flexible array members, and to
128116
 
+       1 if it does not.  That way, with a declaration like `struct s
128117
 
+       { int n; double d@<:@FLEXIBLE_ARRAY_MEMBER@:>@; };', the struct hack
128118
 
+       can be used with pre-C99 compilers.
128119
 
+       When computing the size of such an object, don't use 'sizeof (struct s)'
128120
 
+       as it overestimates the size.  Use 'offsetof (struct s, d)' instead.
128121
 
+       Don't use 'offsetof (struct s, d@<:@0@:>@)', as this doesn't work with
128122
 
+       MSVC and with C++ compilers.])
128123
 
+  else
128124
 
+    AC_DEFINE([FLEXIBLE_ARRAY_MEMBER], [1])
128125
 
+  fi
128126
 
+])
128127
 
+m4trace:m4/float_h.m4:7: -1- AC_DEFUN([gl_FLOAT_H], [
128128
 
+  AC_REQUIRE([AC_PROG_CC])
128129
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
128130
 
+  FLOAT_H=
128131
 
+  REPLACE_FLOAT_LDBL=0
128132
 
+  case "$host_os" in
128133
 
+    aix* | beos* | openbsd* | mirbsd* | irix*)
128134
 
+      FLOAT_H=float.h
128135
 
+      ;;
128136
 
+    freebsd*)
128137
 
+      case "$host_cpu" in
128138
 
+changequote(,)dnl
128139
 
+        i[34567]86 )
128140
 
+changequote([,])dnl
128141
 
+          FLOAT_H=float.h
128142
 
+          ;;
128143
 
+        x86_64 )
128144
 
+          # On x86_64 systems, the C compiler may still be generating
128145
 
+          # 32-bit code.
128146
 
+          AC_EGREP_CPP([yes],
128147
 
+            [#if defined __LP64__ || defined __x86_64__ || defined __amd64__
128148
 
+             yes
128149
 
+             #endif],
128150
 
+            [],
128151
 
+            [FLOAT_H=float.h])
128152
 
+          ;;
128153
 
+      esac
128154
 
+      ;;
128155
 
+    linux*)
128156
 
+      case "$host_cpu" in
128157
 
+        powerpc*)
128158
 
+          FLOAT_H=float.h
128159
 
+          ;;
128160
 
+      esac
128161
 
+      ;;
128162
 
+  esac
128163
 
+  case "$host_os" in
128164
 
+    aix* | freebsd* | linux*)
128165
 
+      if test -n "$FLOAT_H"; then
128166
 
+        REPLACE_FLOAT_LDBL=1
128167
 
+      fi
128168
 
+      ;;
128169
 
+  esac
128170
 
+  if test -n "$FLOAT_H"; then
128171
 
+    gl_NEXT_HEADERS([float.h])
128172
 
+  fi
128173
 
+  AC_SUBST([FLOAT_H])
128174
 
+  AM_CONDITIONAL([GL_GENERATE_FLOAT_H], [test -n "$FLOAT_H"])
128175
 
+])
128176
 
+m4trace:m4/fnmatch.m4:12: -1- AC_DEFUN([gl_FUNC_FNMATCH_POSIX], [
128177
 
+  m4_divert_text([DEFAULTS], [gl_fnmatch_required=POSIX])
128178
 
+
128179
 
+  dnl Persuade glibc <fnmatch.h> to declare FNM_CASEFOLD etc.
128180
 
+  dnl This is only needed if gl_fnmatch_required = GNU. It would be possible
128181
 
+  dnl to avoid this dependency for gl_FUNC_FNMATCH_POSIX by putting
128182
 
+  dnl gl_FUNC_FNMATCH_GNU into a separate .m4 file.
128183
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
128184
 
+
128185
 
+  FNMATCH_H=
128186
 
+  gl_fnmatch_required_lowercase=`
128187
 
+    echo $gl_fnmatch_required | tr '[[A-Z]]' '[[a-z]]'
128188
 
+  `
128189
 
+  gl_fnmatch_cache_var="gl_cv_func_fnmatch_${gl_fnmatch_required_lowercase}"
128190
 
+  AC_CACHE_CHECK([for working $gl_fnmatch_required fnmatch],
128191
 
+    [$gl_fnmatch_cache_var],
128192
 
+    [dnl Some versions of Solaris, SCO, and the GNU C Library
128193
 
+     dnl have a broken or incompatible fnmatch.
128194
 
+     dnl So we run a test program.  If we are cross-compiling, take no chance.
128195
 
+     dnl Thanks to John Oleynick, François Pinard, and Paul Eggert for this
128196
 
+     dnl test.
128197
 
+     if test $gl_fnmatch_required = GNU; then
128198
 
+       gl_fnmatch_gnu_start=
128199
 
+       gl_fnmatch_gnu_end=
128200
 
+     else
128201
 
+       gl_fnmatch_gnu_start='#if 0'
128202
 
+       gl_fnmatch_gnu_end='#endif'
128203
 
+     fi
128204
 
+     AC_RUN_IFELSE(
128205
 
+       [AC_LANG_PROGRAM(
128206
 
+          [[#include <fnmatch.h>
128207
 
+            static int
128208
 
+            y (char const *pattern, char const *string, int flags)
128209
 
+            {
128210
 
+              return fnmatch (pattern, string, flags) == 0;
128211
 
+            }
128212
 
+            static int
128213
 
+            n (char const *pattern, char const *string, int flags)
128214
 
+            {
128215
 
+              return fnmatch (pattern, string, flags) == FNM_NOMATCH;
128216
 
+            }
128217
 
+          ]],
128218
 
+          [[char const *Apat = 'A' < '\\\\' ? "[A-\\\\\\\\]" : "[\\\\\\\\-A]";
128219
 
+            char const *apat = 'a' < '\\\\' ? "[a-\\\\\\\\]" : "[\\\\\\\\-a]";
128220
 
+            static char const A_1[] = { 'A' - 1, 0 };
128221
 
+            static char const A01[] = { 'A' + 1, 0 };
128222
 
+            static char const a_1[] = { 'a' - 1, 0 };
128223
 
+            static char const a01[] = { 'a' + 1, 0 };
128224
 
+            static char const bs_1[] = { '\\\\' - 1, 0 };
128225
 
+            static char const bs01[] = { '\\\\' + 1, 0 };
128226
 
+            int result = 0;
128227
 
+            if (!n ("a*", "", 0))
128228
 
+              return 1;
128229
 
+            if (!y ("a*", "abc", 0))
128230
 
+              return 1;
128231
 
+            if (!y ("[/b", "[/b", 0)) /*"]]"*/ /* glibc Bugzilla bug 12378 */
128232
 
+              return 1;
128233
 
+            if (!n ("d*/*1", "d/s/1", FNM_PATHNAME))
128234
 
+              return 2;
128235
 
+            if (!y ("a\\\\bc", "abc", 0))
128236
 
+              return 3;
128237
 
+            if (!n ("a\\\\bc", "abc", FNM_NOESCAPE))
128238
 
+              return 3;
128239
 
+            if (!y ("*x", ".x", 0))
128240
 
+              return 4;
128241
 
+            if (!n ("*x", ".x", FNM_PERIOD))
128242
 
+              return 4;
128243
 
+            if (!y (Apat, "\\\\", 0))
128244
 
+              return 5;
128245
 
+            if (!y (Apat, "A", 0))
128246
 
+              return 5;
128247
 
+            if (!y (apat, "\\\\", 0))
128248
 
+              return 5;
128249
 
+            if (!y (apat, "a", 0))
128250
 
+              return 5;
128251
 
+            if (!(n (Apat, A_1, 0) == ('A' < '\\\\')))
128252
 
+              return 5;
128253
 
+            if (!(n (apat, a_1, 0) == ('a' < '\\\\')))
128254
 
+              return 5;
128255
 
+            if (!(y (Apat, A01, 0) == ('A' < '\\\\')))
128256
 
+              return 5;
128257
 
+            if (!(y (apat, a01, 0) == ('a' < '\\\\')))
128258
 
+              return 5;
128259
 
+            if (!(y (Apat, bs_1, 0) == ('A' < '\\\\')))
128260
 
+              return 5;
128261
 
+            if (!(y (apat, bs_1, 0) == ('a' < '\\\\')))
128262
 
+              return 5;
128263
 
+            if (!(n (Apat, bs01, 0) == ('A' < '\\\\')))
128264
 
+              return 5;
128265
 
+            if (!(n (apat, bs01, 0) == ('a' < '\\\\')))
128266
 
+              return 5;
128267
 
+            $gl_fnmatch_gnu_start
128268
 
+            if (!y ("xxXX", "xXxX", FNM_CASEFOLD))
128269
 
+              result |= 8;
128270
 
+            if (!y ("a++(x|yy)b", "a+xyyyyxb", FNM_EXTMATCH))
128271
 
+              result |= 16;
128272
 
+            if (!n ("d*/*1", "d/s/1", FNM_FILE_NAME))
128273
 
+              result |= 32;
128274
 
+            if (!y ("*", "x", FNM_FILE_NAME | FNM_LEADING_DIR))
128275
 
+              result |= 64;
128276
 
+            if (!y ("x*", "x/y/z", FNM_FILE_NAME | FNM_LEADING_DIR))
128277
 
+              result |= 64;
128278
 
+            if (!y ("*c*", "c/x", FNM_FILE_NAME | FNM_LEADING_DIR))
128279
 
+              result |= 64;
128280
 
+            $gl_fnmatch_gnu_end
128281
 
+            return result;
128282
 
+          ]])],
128283
 
+       [eval "$gl_fnmatch_cache_var=yes"],
128284
 
+       [eval "$gl_fnmatch_cache_var=no"],
128285
 
+       [eval "$gl_fnmatch_cache_var=\"guessing no\""])
128286
 
+    ])
128287
 
+  eval "gl_fnmatch_result=\"\$$gl_fnmatch_cache_var\""
128288
 
+  if test "$gl_fnmatch_result" = yes; then
128289
 
+    dnl Not strictly necessary. Only to avoid spurious leftover files if people
128290
 
+    dnl don't do "make distclean".
128291
 
+    rm -f "$gl_source_base/fnmatch.h"
128292
 
+  else
128293
 
+    FNMATCH_H=fnmatch.h
128294
 
+  fi
128295
 
+  AC_SUBST([FNMATCH_H])
128296
 
+  AM_CONDITIONAL([GL_GENERATE_FNMATCH_H], [test -n "$FNMATCH_H"])
128297
 
+])
128298
 
+m4trace:m4/fnmatch.m4:137: -1- AC_DEFUN([gl_FUNC_FNMATCH_GNU], [
128299
 
+  m4_divert_text([INIT_PREPARE], [gl_fnmatch_required=GNU])
128300
 
+
128301
 
+  AC_REQUIRE([gl_FUNC_FNMATCH_POSIX])
128302
 
+])
128303
 
+m4trace:m4/fnmatch.m4:144: -1- AC_DEFUN([gl_PREREQ_FNMATCH], [
128304
 
+  dnl We must choose a different name for our function, since on ELF systems
128305
 
+  dnl a broken fnmatch() in libc.so would override our fnmatch() if it is
128306
 
+  dnl compiled into a shared library.
128307
 
+  AC_DEFINE_UNQUOTED([fnmatch], [${gl_fnmatch_required_lowercase}_fnmatch],
128308
 
+    [Define to a replacement function name for fnmatch().])
128309
 
+  dnl Prerequisites of lib/fnmatch.c.
128310
 
+  AC_REQUIRE([AC_TYPE_MBSTATE_T])
128311
 
+  AC_CHECK_DECLS([isblank], [], [], [#include <ctype.h>])
128312
 
+  AC_CHECK_FUNCS_ONCE([btowc isblank iswctype mbsrtowcs mempcpy wmemchr wmemcpy wmempcpy])
128313
 
+  AC_CHECK_HEADERS_ONCE([wctype.h])
128314
 
+])
128315
 
+m4trace:m4/fopen.m4:7: -1- AC_DEFUN([gl_FUNC_FOPEN], [
128316
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
128317
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
128318
 
+  case "$host_os" in
128319
 
+    mingw* | pw*)
128320
 
+      dnl Replace fopen, for handling of "/dev/null".
128321
 
+      REPLACE_FOPEN=1
128322
 
+      dnl fopen on mingw also has the trailing slash bug.
128323
 
+      gl_cv_func_fopen_slash="guessing no"
128324
 
+      ;;
128325
 
+    *)
128326
 
+      dnl fopen("foo/", "w") should not create a file when the file name has a
128327
 
+      dnl trailing slash.
128328
 
+      AC_CACHE_CHECK([whether fopen recognizes a trailing slash],
128329
 
+        [gl_cv_func_fopen_slash],
128330
 
+        [
128331
 
+          AC_RUN_IFELSE(
128332
 
+            [AC_LANG_SOURCE([[
128333
 
+#include <stddef.h>
128334
 
+#include <stdio.h>
128335
 
+int main ()
128336
 
+{
128337
 
+  return fopen ("conftest.sl/", "w") != NULL;
128338
 
+}]])],
128339
 
+            [gl_cv_func_fopen_slash=yes],
128340
 
+            [gl_cv_func_fopen_slash=no],
128341
 
+            [
128342
 
+changequote(,)dnl
128343
 
+             case "$host_os" in
128344
 
+               aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*)
128345
 
+                 gl_cv_func_fopen_slash="guessing no" ;;
128346
 
+               *)
128347
 
+                 gl_cv_func_fopen_slash="guessing yes" ;;
128348
 
+             esac
128349
 
+changequote([,])dnl
128350
 
+            ])
128351
 
+          rm -f conftest.sl
128352
 
+        ])
128353
 
+      ;;
128354
 
+  esac
128355
 
+  case "$gl_cv_func_fopen_slash" in
128356
 
+    *no)
128357
 
+      AC_DEFINE([FOPEN_TRAILING_SLASH_BUG], [1],
128358
 
+        [Define to 1 if fopen() fails to recognize a trailing slash.])
128359
 
+      REPLACE_FOPEN=1
128360
 
+      ;;
128361
 
+  esac
128362
 
+])
128363
 
+m4trace:m4/fopen.m4:58: -1- AC_DEFUN([gl_PREREQ_FOPEN], [
128364
 
+  AC_REQUIRE([AC_C_INLINE])
128365
 
+])
128366
 
+m4trace:m4/fpending.m4:16: -1- AC_DEFUN([gl_FUNC_FPENDING], [
128367
 
+  AC_CHECK_HEADERS_ONCE([stdio_ext.h])
128368
 
+  AC_CHECK_FUNCS_ONCE([__fpending])
128369
 
+  fp_headers='
128370
 
+#     include <stdio.h>
128371
 
+#     if HAVE_STDIO_EXT_H
128372
 
+#      include <stdio_ext.h>
128373
 
+#     endif
128374
 
+'
128375
 
+  AC_CHECK_DECLS([__fpending], , , $fp_headers)
128376
 
+])
128377
 
+m4trace:m4/fpending.m4:29: -1- AC_DEFUN([gl_PREREQ_FPENDING], [
128378
 
+  AC_CACHE_CHECK(
128379
 
+              [how to determine the number of pending output bytes on a stream],
128380
 
+                 ac_cv_sys_pending_output_n_bytes,
128381
 
+    [
128382
 
+      for ac_expr in                                                    \
128383
 
+                                                                        \
128384
 
+          '# glibc2'                                                    \
128385
 
+          'fp->_IO_write_ptr - fp->_IO_write_base'                      \
128386
 
+                                                                        \
128387
 
+          '# traditional Unix'                                          \
128388
 
+          'fp->_ptr - fp->_base'                                        \
128389
 
+                                                                        \
128390
 
+          '# BSD'                                                       \
128391
 
+          'fp->_p - fp->_bf._base'                                      \
128392
 
+                                                                        \
128393
 
+          '# SCO, Unixware'                                             \
128394
 
+          '(fp->__ptr ? fp->__ptr - fp->__base : 0)'                    \
128395
 
+                                                                        \
128396
 
+          '# QNX'                                                       \
128397
 
+          '(fp->_Mode & 0x2000 /*_MWRITE*/ ? fp->_Next - fp->_Buf : 0)' \
128398
 
+                                                                        \
128399
 
+          '# old glibc?'                                                \
128400
 
+          'fp->__bufp - fp->__buffer'                                   \
128401
 
+                                                                        \
128402
 
+          '# old glibc iostream?'                                       \
128403
 
+          'fp->_pptr - fp->_pbase'                                      \
128404
 
+                                                                        \
128405
 
+          '# emx+gcc'                                                   \
128406
 
+          'fp->_ptr - fp->_buffer'                                      \
128407
 
+                                                                        \
128408
 
+          '# Minix'                                                     \
128409
 
+          'fp->_ptr - fp->_buf'                                         \
128410
 
+                                                                        \
128411
 
+          '# VMS'                                                       \
128412
 
+          '(*fp)->_ptr - (*fp)->_base'                                  \
128413
 
+                                                                        \
128414
 
+          '# e.g., DGUX R4.11; the info is not available'               \
128415
 
+          1                                                             \
128416
 
+          ; do
128417
 
+
128418
 
+        # Skip each embedded comment.
128419
 
+        case "$ac_expr" in '#'*) continue;; esac
128420
 
+
128421
 
+        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>]],
128422
 
+          [[FILE *fp = stdin; (void) ($ac_expr);]])],
128423
 
+          [fp_done=yes]
128424
 
+        )
128425
 
+        test "$fp_done" = yes && break
128426
 
+      done
128427
 
+
128428
 
+      ac_cv_sys_pending_output_n_bytes=$ac_expr
128429
 
+    ]
128430
 
+  )
128431
 
+  AC_DEFINE_UNQUOTED([PENDING_OUTPUT_N_BYTES],
128432
 
+    $ac_cv_sys_pending_output_n_bytes,
128433
 
+    [the number of pending output bytes on stream `fp'])
128434
 
+])
128435
 
+m4trace:m4/fpieee.m4:25: -1- AC_DEFUN([gl_FP_IEEE], [
128436
 
+  AC_REQUIRE([AC_PROG_CC])
128437
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
128438
 
+  # IEEE behaviour is the default on all CPUs except Alpha and SH
128439
 
+  # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4
128440
 
+  # and the GCC 4.1.2 manual).
128441
 
+  case "$host_cpu" in
128442
 
+    alpha*)
128443
 
+      # On Alpha systems, a compiler option provides the behaviour.
128444
 
+      # See the ieee(3) manual page, also available at
128445
 
+      # <http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN3/0600____.HTM>
128446
 
+      if test -n "$GCC"; then
128447
 
+        # GCC has the option -mieee.
128448
 
+        CPPFLAGS="$CPPFLAGS -mieee"
128449
 
+      else
128450
 
+        # Compaq (ex-DEC) C has the option -ieee.
128451
 
+        CPPFLAGS="$CPPFLAGS -ieee"
128452
 
+      fi
128453
 
+      ;;
128454
 
+    sh*)
128455
 
+      if test -n "$GCC"; then
128456
 
+        # GCC has the option -mieee.
128457
 
+        CPPFLAGS="$CPPFLAGS -mieee"
128458
 
+      fi
128459
 
+      ;;
128460
 
+  esac
128461
 
+])
128462
 
+m4trace:m4/fpurge.m4:7: -1- AC_DEFUN([gl_FUNC_FPURGE], [
128463
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
128464
 
+  AC_CHECK_FUNCS_ONCE([fpurge])
128465
 
+  AC_CHECK_FUNCS_ONCE([__fpurge])
128466
 
+  AC_CHECK_DECLS([fpurge], , , [[#include <stdio.h>]])
128467
 
+  if test "x$ac_cv_func_fpurge" = xyes; then
128468
 
+    HAVE_FPURGE=1
128469
 
+    # Detect BSD bug.  Only cygwin 1.7 is known to be immune.
128470
 
+    AC_CACHE_CHECK([whether fpurge works], [gl_cv_func_fpurge_works],
128471
 
+      [AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>
128472
 
+]], [FILE *f = fopen ("conftest.txt", "w+");
128473
 
+        if (!f) return 1;
128474
 
+        if (fputc ('a', f) != 'a') return 2;
128475
 
+        rewind (f);
128476
 
+        if (fgetc (f) != 'a') return 3;
128477
 
+        if (fgetc (f) != EOF) return 4;
128478
 
+        if (fpurge (f) != 0) return 5;
128479
 
+        if (putc ('b', f) != 'b') return 6;
128480
 
+        if (fclose (f) != 0) return 7;
128481
 
+        if ((f = fopen ("conftest.txt", "r")) == NULL) return 8;
128482
 
+        if (fgetc (f) != 'a') return 9;
128483
 
+        if (fgetc (f) != 'b') return 10;
128484
 
+        if (fgetc (f) != EOF) return 11;
128485
 
+        if (fclose (f) != 0) return 12;
128486
 
+        if (remove ("conftest.txt") != 0) return 13;
128487
 
+        return 0;])],
128488
 
+      [gl_cv_func_fpurge_works=yes], [gl_cv_func_fpurge_works=no],
128489
 
+      [gl_cv_func_fpurge_works='guessing no'])])
128490
 
+    if test "x$gl_cv_func_fpurge_works" != xyes; then
128491
 
+      REPLACE_FPURGE=1
128492
 
+    fi
128493
 
+  else
128494
 
+    HAVE_FPURGE=0
128495
 
+  fi
128496
 
+  if test "x$ac_cv_have_decl_fpurge" = xno; then
128497
 
+    HAVE_DECL_FPURGE=0
128498
 
+  fi
128499
 
+])
128500
 
+m4trace:m4/freading.m4:7: -1- AC_DEFUN([gl_FUNC_FREADING], [
128501
 
+  AC_CHECK_FUNCS_ONCE([__freading])
128502
 
+])
128503
 
+m4trace:m4/freopen.m4:7: -1- AC_DEFUN([gl_FUNC_FREOPEN], [
128504
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
128505
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
128506
 
+  case "$host_os" in
128507
 
+    mingw* | pw*)
128508
 
+      REPLACE_FREOPEN=1
128509
 
+      ;;
128510
 
+  esac
128511
 
+])
128512
 
+m4trace:m4/freopen.m4:19: -1- AC_DEFUN([gl_PREREQ_FREOPEN], [
128513
 
+  AC_REQUIRE([AC_C_INLINE])
128514
 
+])
128515
 
+m4trace:m4/frexp.m4:7: -1- AC_DEFUN([gl_FUNC_FREXP], [
128516
 
+  AC_REQUIRE([gl_MATH_H_DEFAULTS])
128517
 
+  AC_REQUIRE([gl_CHECK_FREXP_NO_LIBM])
128518
 
+  FREXP_LIBM=
128519
 
+  if test $gl_cv_func_frexp_no_libm = no; then
128520
 
+    AC_CACHE_CHECK([whether frexp() can be used with libm],
128521
 
+      [gl_cv_func_frexp_in_libm],
128522
 
+      [
128523
 
+        save_LIBS="$LIBS"
128524
 
+        LIBS="$LIBS -lm"
128525
 
+        AC_LINK_IFELSE(
128526
 
+          [AC_LANG_PROGRAM(
128527
 
+             [[#include <math.h>
128528
 
+               double x;]],
128529
 
+             [[int e; return frexp (x, &e) > 0;]])],
128530
 
+          [gl_cv_func_frexp_in_libm=yes],
128531
 
+          [gl_cv_func_frexp_in_libm=no])
128532
 
+        LIBS="$save_LIBS"
128533
 
+      ])
128534
 
+    if test $gl_cv_func_frexp_in_libm = yes; then
128535
 
+      FREXP_LIBM=-lm
128536
 
+    fi
128537
 
+  fi
128538
 
+  if test $gl_cv_func_frexp_no_libm = yes \
128539
 
+     || test $gl_cv_func_frexp_in_libm = yes; then
128540
 
+    save_LIBS="$LIBS"
128541
 
+    LIBS="$LIBS $FREXP_LIBM"
128542
 
+    gl_FUNC_FREXP_WORKS
128543
 
+    LIBS="$save_LIBS"
128544
 
+    case "$gl_cv_func_frexp_works" in
128545
 
+      *yes) gl_func_frexp=yes ;;
128546
 
+      *)    gl_func_frexp=no; REPLACE_FREXP=1; FREXP_LIBM= ;;
128547
 
+    esac
128548
 
+  else
128549
 
+    gl_func_frexp=no
128550
 
+  fi
128551
 
+  if test $gl_func_frexp = yes; then
128552
 
+    AC_DEFINE([HAVE_FREXP], [1],
128553
 
+      [Define if the frexp() function is available and works.])
128554
 
+  fi
128555
 
+  AC_SUBST([FREXP_LIBM])
128556
 
+])
128557
 
+m4trace:m4/frexp.m4:51: -1- AC_DEFUN([gl_FUNC_FREXP_NO_LIBM], [
128558
 
+  AC_REQUIRE([gl_MATH_H_DEFAULTS])
128559
 
+  AC_REQUIRE([gl_CHECK_FREXP_NO_LIBM])
128560
 
+  if test $gl_cv_func_frexp_no_libm = yes; then
128561
 
+    gl_FUNC_FREXP_WORKS
128562
 
+    case "$gl_cv_func_frexp_works" in
128563
 
+      *yes) gl_func_frexp_no_libm=yes ;;
128564
 
+      *)    gl_func_frexp_no_libm=no; REPLACE_FREXP=1 ;;
128565
 
+    esac
128566
 
+  else
128567
 
+    gl_func_frexp_no_libm=no
128568
 
+    dnl Set REPLACE_FREXP here because the system may have frexp in libm.
128569
 
+    REPLACE_FREXP=1
128570
 
+  fi
128571
 
+  if test $gl_func_frexp_no_libm = yes; then
128572
 
+    AC_DEFINE([HAVE_FREXP_IN_LIBC], [1],
128573
 
+      [Define if the frexp() function is available in libc.])
128574
 
+  fi
128575
 
+])
128576
 
+m4trace:m4/frexp.m4:74: -1- AC_DEFUN([gl_CHECK_FREXP_NO_LIBM], [
128577
 
+  AC_CACHE_CHECK([whether frexp() can be used without linking with libm],
128578
 
+    [gl_cv_func_frexp_no_libm],
128579
 
+    [
128580
 
+      AC_LINK_IFELSE(
128581
 
+        [AC_LANG_PROGRAM(
128582
 
+           [[#include <math.h>
128583
 
+             double x;]],
128584
 
+           [[int e; return frexp (x, &e) > 0;]])],
128585
 
+        [gl_cv_func_frexp_no_libm=yes],
128586
 
+        [gl_cv_func_frexp_no_libm=no])
128587
 
+    ])
128588
 
+])
128589
 
+m4trace:m4/frexp.m4:92: -1- AC_DEFUN([gl_FUNC_FREXP_WORKS], [
128590
 
+  AC_REQUIRE([AC_PROG_CC])
128591
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
128592
 
+  AC_CACHE_CHECK([whether frexp works], [gl_cv_func_frexp_works],
128593
 
+    [
128594
 
+      AC_RUN_IFELSE(
128595
 
+        [AC_LANG_SOURCE([[
128596
 
+#include <float.h>
128597
 
+#include <math.h>
128598
 
+#include <string.h>
128599
 
+/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
128600
 
+   ICC 10.0 has a bug when optimizing the expression -zero.
128601
 
+   The expression -DBL_MIN * DBL_MIN does not work when cross-compiling
128602
 
+   to PowerPC on MacOS X 10.5.  */
128603
 
+#if defined __hpux || defined __sgi || defined __ICC
128604
 
+static double
128605
 
+compute_minus_zero (void)
128606
 
+{
128607
 
+  return -DBL_MIN * DBL_MIN;
128608
 
+}
128609
 
+# define minus_zero compute_minus_zero ()
128610
 
+#else
128611
 
+double minus_zero = -0.0;
128612
 
+#endif
128613
 
+int main()
128614
 
+{
128615
 
+  int result = 0;
128616
 
+  int i;
128617
 
+  volatile double x;
128618
 
+  double zero = 0.0;
128619
 
+  /* Test on denormalized numbers.  */
128620
 
+  for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5)
128621
 
+    ;
128622
 
+  if (x > 0.0)
128623
 
+    {
128624
 
+      int exp;
128625
 
+      double y = frexp (x, &exp);
128626
 
+      /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022.
128627
 
+         On NetBSD: y = 0.75. Correct: y = 0.5.  */
128628
 
+      if (y != 0.5)
128629
 
+        result |= 1;
128630
 
+    }
128631
 
+  /* Test on infinite numbers.  */
128632
 
+  x = 1.0 / 0.0;
128633
 
+  {
128634
 
+    int exp;
128635
 
+    double y = frexp (x, &exp);
128636
 
+    if (y != x)
128637
 
+      result |= 2;
128638
 
+  }
128639
 
+  /* Test on negative zero.  */
128640
 
+  x = minus_zero;
128641
 
+  {
128642
 
+    int exp;
128643
 
+    double y = frexp (x, &exp);
128644
 
+    if (memcmp (&y, &x, sizeof x))
128645
 
+      result |= 4;
128646
 
+  }
128647
 
+  return result;
128648
 
+}]])],
128649
 
+        [gl_cv_func_frexp_works=yes],
128650
 
+        [gl_cv_func_frexp_works=no],
128651
 
+        [case "$host_os" in
128652
 
+           netbsd* | irix* | mingw*) gl_cv_func_frexp_works="guessing no";;
128653
 
+           *)                        gl_cv_func_frexp_works="guessing yes";;
128654
 
+         esac
128655
 
+        ])
128656
 
+    ])
128657
 
+])
128658
 
+m4trace:m4/frexpl.m4:7: -1- AC_DEFUN([gl_FUNC_FREXPL], [
128659
 
+  AC_REQUIRE([gl_MATH_H_DEFAULTS])
128660
 
+  dnl Check whether it's declared.
128661
 
+  dnl MacOS X 10.3 has frexpl() in libc but doesn't declare it in <math.h>.
128662
 
+  AC_CHECK_DECL([frexpl], , [HAVE_DECL_FREXPL=0], [#include <math.h>])
128663
 
+  FREXPL_LIBM=
128664
 
+  if test $HAVE_DECL_FREXPL = 1; then
128665
 
+    gl_CHECK_FREXPL_NO_LIBM
128666
 
+    if test $gl_cv_func_frexpl_no_libm = no; then
128667
 
+      AC_CACHE_CHECK([whether frexpl() can be used with libm],
128668
 
+        [gl_cv_func_frexpl_in_libm],
128669
 
+        [
128670
 
+          save_LIBS="$LIBS"
128671
 
+          LIBS="$LIBS -lm"
128672
 
+          AC_LINK_IFELSE(
128673
 
+            [AC_LANG_PROGRAM(
128674
 
+               [[#include <math.h>
128675
 
+                 long double x;]],
128676
 
+               [[int e; return frexpl (x, &e) > 0;]])],
128677
 
+            [gl_cv_func_frexpl_in_libm=yes],
128678
 
+            [gl_cv_func_frexpl_in_libm=no])
128679
 
+          LIBS="$save_LIBS"
128680
 
+        ])
128681
 
+      if test $gl_cv_func_frexpl_in_libm = yes; then
128682
 
+        FREXPL_LIBM=-lm
128683
 
+      fi
128684
 
+    fi
128685
 
+    if test $gl_cv_func_frexpl_no_libm = yes \
128686
 
+       || test $gl_cv_func_frexpl_in_libm = yes; then
128687
 
+      save_LIBS="$LIBS"
128688
 
+      LIBS="$LIBS $FREXPL_LIBM"
128689
 
+      gl_FUNC_FREXPL_WORKS
128690
 
+      LIBS="$save_LIBS"
128691
 
+      case "$gl_cv_func_frexpl_works" in
128692
 
+        *yes) gl_func_frexpl=yes ;;
128693
 
+        *)    gl_func_frexpl=no; REPLACE_FREXPL=1; FREXPL_LIBM= ;;
128694
 
+      esac
128695
 
+    else
128696
 
+      gl_func_frexpl=no
128697
 
+    fi
128698
 
+    if test $gl_func_frexpl = yes; then
128699
 
+      AC_DEFINE([HAVE_FREXPL], [1],
128700
 
+        [Define if the frexpl() function is available.])
128701
 
+    fi
128702
 
+  fi
128703
 
+  AC_SUBST([FREXPL_LIBM])
128704
 
+])
128705
 
+m4trace:m4/frexpl.m4:56: -1- AC_DEFUN([gl_FUNC_FREXPL_NO_LIBM], [
128706
 
+  AC_REQUIRE([gl_MATH_H_DEFAULTS])
128707
 
+  dnl Check whether it's declared.
128708
 
+  dnl MacOS X 10.3 has frexpl() in libc but doesn't declare it in <math.h>.
128709
 
+  AC_CHECK_DECL([frexpl], , [HAVE_DECL_FREXPL=0], [#include <math.h>])
128710
 
+  if test $HAVE_DECL_FREXPL = 1; then
128711
 
+    gl_CHECK_FREXPL_NO_LIBM
128712
 
+    if test $gl_cv_func_frexpl_no_libm = yes; then
128713
 
+      gl_FUNC_FREXPL_WORKS
128714
 
+      case "$gl_cv_func_frexpl_works" in
128715
 
+        *yes) gl_func_frexpl_no_libm=yes ;;
128716
 
+        *)    gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;;
128717
 
+      esac
128718
 
+    else
128719
 
+      gl_func_frexpl_no_libm=no
128720
 
+      dnl Set REPLACE_FREXPL here because the system may have frexpl in libm.
128721
 
+      REPLACE_FREXPL=1
128722
 
+    fi
128723
 
+    if test $gl_func_frexpl_no_libm = yes; then
128724
 
+      AC_DEFINE([HAVE_FREXPL_IN_LIBC], [1],
128725
 
+        [Define if the frexpl() function is available in libc.])
128726
 
+    fi
128727
 
+  fi
128728
 
+])
128729
 
+m4trace:m4/frexpl.m4:84: -1- AC_DEFUN([gl_CHECK_FREXPL_NO_LIBM], [
128730
 
+  AC_CACHE_CHECK([whether frexpl() can be used without linking with libm],
128731
 
+    [gl_cv_func_frexpl_no_libm],
128732
 
+    [
128733
 
+      AC_LINK_IFELSE(
128734
 
+        [AC_LANG_PROGRAM(
128735
 
+           [[#include <math.h>
128736
 
+             long double x;]],
128737
 
+           [[int e; return frexpl (x, &e) > 0;]])],
128738
 
+        [gl_cv_func_frexpl_no_libm=yes],
128739
 
+        [gl_cv_func_frexpl_no_libm=no])
128740
 
+    ])
128741
 
+])
128742
 
+m4trace:m4/frexpl.m4:103: -1- AC_DEFUN([gl_FUNC_FREXPL_WORKS], [
128743
 
+  AC_REQUIRE([AC_PROG_CC])
128744
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
128745
 
+  AC_CACHE_CHECK([whether frexpl works], [gl_cv_func_frexpl_works],
128746
 
+    [
128747
 
+      AC_RUN_IFELSE(
128748
 
+        [AC_LANG_SOURCE([[
128749
 
+#include <float.h>
128750
 
+#include <math.h>
128751
 
+/* Override the values of <float.h>, like done in float.in.h.  */
128752
 
+#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__)
128753
 
+# undef LDBL_MIN_EXP
128754
 
+# define LDBL_MIN_EXP    (-16381)
128755
 
+#endif
128756
 
+#if defined __i386__ && defined __FreeBSD__
128757
 
+# undef LDBL_MIN_EXP
128758
 
+# define LDBL_MIN_EXP    (-16381)
128759
 
+#endif
128760
 
+#if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__
128761
 
+# undef LDBL_MIN_EXP
128762
 
+# define LDBL_MIN_EXP DBL_MIN_EXP
128763
 
+#endif
128764
 
+#if defined __sgi && (LDBL_MANT_DIG >= 106)
128765
 
+# if defined __GNUC__
128766
 
+#  undef LDBL_MIN_EXP
128767
 
+#  define LDBL_MIN_EXP DBL_MIN_EXP
128768
 
+# endif
128769
 
+#endif
128770
 
+extern
128771
 
+#ifdef __cplusplus
128772
 
+"C"
128773
 
+#endif
128774
 
+long double frexpl (long double, int *);
128775
 
+int main()
128776
 
+{
128777
 
+  int result = 0;
128778
 
+  volatile long double x;
128779
 
+  /* Test on finite numbers that fails on AIX 5.1.  */
128780
 
+  x = 16.0L;
128781
 
+  {
128782
 
+    int exp = -9999;
128783
 
+    frexpl (x, &exp);
128784
 
+    if (exp != 5)
128785
 
+      result |= 1;
128786
 
+  }
128787
 
+  /* Test on finite numbers that fails on MacOS X 10.4, because its frexpl
128788
 
+     function returns an invalid (incorrectly normalized) value: it returns
128789
 
+               y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 }
128790
 
+     but the correct result is
128791
 
+          0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 }  */
128792
 
+  x = 1.01L;
128793
 
+  {
128794
 
+    int exp = -9999;
128795
 
+    long double y = frexpl (x, &exp);
128796
 
+    if (!(exp == 1 && y == 0.505L))
128797
 
+      result |= 2;
128798
 
+  }
128799
 
+  /* Test on large finite numbers.  This fails on BeOS at i = 16322, while
128800
 
+     LDBL_MAX_EXP = 16384.
128801
 
+     In the loop end test, we test x against Infinity, rather than comparing
128802
 
+     i with LDBL_MAX_EXP, because BeOS <float.h> has a wrong LDBL_MAX_EXP.  */
128803
 
+  {
128804
 
+    int i;
128805
 
+    for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L)
128806
 
+      {
128807
 
+        int exp = -9999;
128808
 
+        frexpl (x, &exp);
128809
 
+        if (exp != i)
128810
 
+          {
128811
 
+            result |= 4;
128812
 
+            break;
128813
 
+          }
128814
 
+      }
128815
 
+  }
128816
 
+  /* Test on denormalized numbers.  */
128817
 
+  {
128818
 
+    int i;
128819
 
+    for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L)
128820
 
+      ;
128821
 
+    if (x > 0.0L)
128822
 
+      {
128823
 
+        int exp;
128824
 
+        long double y = frexpl (x, &exp);
128825
 
+        /* On machines with IEEE854 arithmetic: x = 1.68105e-4932,
128826
 
+           exp = -16382, y = 0.5.  On MacOS X 10.5: exp = -16384, y = 0.5.  */
128827
 
+        if (exp != LDBL_MIN_EXP - 1)
128828
 
+          result |= 8;
128829
 
+      }
128830
 
+  }
128831
 
+  /* Test on infinite numbers.  */
128832
 
+  x = 1.0L / 0.0L;
128833
 
+  {
128834
 
+    int exp;
128835
 
+    long double y = frexpl (x, &exp);
128836
 
+    if (y != x)
128837
 
+      result |= 16;
128838
 
+  }
128839
 
+  return result;
128840
 
+}]])],
128841
 
+        [gl_cv_func_frexpl_works=yes],
128842
 
+        [gl_cv_func_frexpl_works=no],
128843
 
+        [
128844
 
+changequote(,)dnl
128845
 
+         case "$host_os" in
128846
 
+           aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*)
128847
 
+              gl_cv_func_frexpl_works="guessing no";;
128848
 
+           *) gl_cv_func_frexpl_works="guessing yes";;
128849
 
+         esac
128850
 
+changequote([,])dnl
128851
 
+        ])
128852
 
+    ])
128853
 
+])
128854
 
+m4trace:m4/fseek.m4:7: -1- AC_DEFUN([gl_FUNC_FSEEK], [
128855
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
128856
 
+  AC_REQUIRE([gl_FUNC_FSEEKO])
128857
 
+  dnl When fseeko needs fixes, fseek needs them too.
128858
 
+  if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then
128859
 
+    REPLACE_FSEEK=1
128860
 
+  fi
128861
 
+])
128862
 
+m4trace:m4/fseeko.m4:7: -1- AC_DEFUN([gl_FUNC_FSEEKO], [
128863
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
128864
 
+  AC_REQUIRE([gl_STDIN_LARGE_OFFSET])
128865
 
+  AC_REQUIRE([AC_PROG_CC])
128866
 
+
128867
 
+  dnl Persuade glibc <stdio.h> to declare fseeko().
128868
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
128869
 
+
128870
 
+  AC_CACHE_CHECK([for fseeko], [gl_cv_func_fseeko],
128871
 
+    [
128872
 
+      AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>
128873
 
+]], [fseeko (stdin, 0, 0);])],
128874
 
+        [gl_cv_func_fseeko=yes], [gl_cv_func_fseeko=no])
128875
 
+    ])
128876
 
+
128877
 
+  AC_CHECK_DECLS_ONCE([fseeko])
128878
 
+  if test $ac_cv_have_decl_fseeko = no; then
128879
 
+    HAVE_DECL_FSEEKO=0
128880
 
+  fi
128881
 
+
128882
 
+  if test $gl_cv_func_fseeko = no; then
128883
 
+    HAVE_FSEEKO=0
128884
 
+  else
128885
 
+    if test $gl_cv_var_stdin_large_offset = no; then
128886
 
+      REPLACE_FSEEKO=1
128887
 
+    fi
128888
 
+    m4_ifdef([gl_FUNC_FFLUSH_STDIN], [
128889
 
+      gl_FUNC_FFLUSH_STDIN
128890
 
+      if test $gl_cv_func_fflush_stdin = no; then
128891
 
+        REPLACE_FSEEKO=1
128892
 
+      fi
128893
 
+    ])
128894
 
+  fi
128895
 
+])
128896
 
+m4trace:m4/fseeko.m4:45: -1- AC_DEFUN([gl_STDIN_LARGE_OFFSET], [
128897
 
+    AC_CACHE_CHECK([whether stdin defaults to large file offsets],
128898
 
+      [gl_cv_var_stdin_large_offset],
128899
 
+      [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>]],
128900
 
+[[#if defined __SL64 && defined __SCLE /* cygwin */
128901
 
+  /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making
128902
 
+     fseeko/ftello needlessly fail.  This bug was fixed in 1.5.25, and
128903
 
+     it is easier to do a version check than building a runtime test.  */
128904
 
+# include <cygwin/version.h>
128905
 
+# if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25)
128906
 
+  choke me
128907
 
+# endif
128908
 
+#endif]])],
128909
 
+        [gl_cv_var_stdin_large_offset=yes],
128910
 
+        [gl_cv_var_stdin_large_offset=no])])
128911
 
+])
128912
 
+m4trace:m4/fstypename.m4:15: -1- AC_DEFUN([gl_FSTYPENAME], [
128913
 
+  AC_CHECK_MEMBERS([struct statfs.f_fstypename],,,
128914
 
+    [
128915
 
+      #include <sys/types.h>
128916
 
+      #include <sys/param.h>
128917
 
+      #include <sys/mount.h>
128918
 
+    ])
128919
 
+])
128920
 
+m4trace:m4/fsusage.m4:12: -1- AC_DEFUN([gl_FSUSAGE], [
128921
 
+  AC_CHECK_HEADERS_ONCE([sys/param.h])
128922
 
+  AC_CHECK_HEADERS_ONCE([sys/vfs.h sys/fs_types.h])
128923
 
+  AC_CHECK_HEADERS([sys/mount.h], [], [],
128924
 
+    [AC_INCLUDES_DEFAULT
128925
 
+     [#if HAVE_SYS_PARAM_H
128926
 
+       #include <sys/param.h>
128927
 
+      #endif]])
128928
 
+  gl_FILE_SYSTEM_USAGE([gl_cv_fs_space=yes], [gl_cv_fs_space=no])
128929
 
+])
128930
 
+m4trace:m4/fsusage.m4:30: -1- AC_DEFUN([gl_FILE_SYSTEM_USAGE], [
128931
 
+dnl Enable large-file support. This has the effect of changing the size
128932
 
+dnl of field f_blocks in 'struct statvfs' from 32 bit to 64 bit on
128933
 
+dnl glibc/Hurd, HP-UX 11, Solaris (32-bit mode). It also changes the size
128934
 
+dnl of field f_blocks in 'struct statfs' from 32 bit to 64 bit on
128935
 
+dnl MacOS X >= 10.5 (32-bit mode).
128936
 
+AC_REQUIRE([AC_SYS_LARGEFILE])
128937
 
+
128938
 
+AC_MSG_NOTICE([checking how to get file system space usage])
128939
 
+ac_fsusage_space=no
128940
 
+
128941
 
+# Perform only the link test since it seems there are no variants of the
128942
 
+# statvfs function.  This check is more than just AC_CHECK_FUNCS([statvfs])
128943
 
+# because that got a false positive on SCO OSR5.  Adding the declaration
128944
 
+# of a `struct statvfs' causes this test to fail (as it should) on such
128945
 
+# systems.  That system is reported to work fine with STAT_STATFS4 which
128946
 
+# is what it gets when this test fails.
128947
 
+if test $ac_fsusage_space = no; then
128948
 
+  # glibc/{Hurd,kFreeBSD}, FreeBSD >= 5.0, NetBSD >= 3.0,
128949
 
+  # OpenBSD >= 4.4, AIX, HP-UX, IRIX, Solaris, Cygwin, Interix, BeOS.
128950
 
+  AC_CACHE_CHECK([for statvfs function (SVR4)], [fu_cv_sys_stat_statvfs],
128951
 
+                 [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
128952
 
+#if (defined __GLIBC__ || defined __UCLIBC__) && defined __linux__
128953
 
+Do not use statvfs on systems with GNU libc on Linux, because that function
128954
 
+stats all preceding entries in /proc/mounts, and that makes df hang if even
128955
 
+one of the corresponding file systems is hard-mounted, but not available.
128956
 
+statvfs in GNU libc on Hurd, BeOS, Haiku operates differently: it only makes
128957
 
+a system call.
128958
 
+#endif
128959
 
+
128960
 
+#ifdef __osf__
128961
 
+"Do not use Tru64's statvfs implementation"
128962
 
+#endif
128963
 
+
128964
 
+#include <sys/statvfs.h>
128965
 
+
128966
 
+struct statvfs fsd;
128967
 
+
128968
 
+#if defined __APPLE__ && defined __MACH__
128969
 
+#include <limits.h>
128970
 
+/* On MacOS X >= 10.5, f_blocks in 'struct statvfs' is a 32-bit quantity;
128971
 
+   that commonly limits file systems to 4 TiB.  Whereas f_blocks in
128972
 
+   'struct statfs' is a 64-bit type, thanks to the large-file support
128973
 
+   that was enabled above.  In this case, don't use statvfs(); use statfs()
128974
 
+   instead.  */
128975
 
+int check_f_blocks_size[sizeof fsd.f_blocks * CHAR_BIT <= 32 ? -1 : 1];
128976
 
+#endif
128977
 
+]],
128978
 
+                                    [[statvfs (0, &fsd);]])],
128979
 
+                                 [fu_cv_sys_stat_statvfs=yes],
128980
 
+                                 [fu_cv_sys_stat_statvfs=no])])
128981
 
+  if test $fu_cv_sys_stat_statvfs = yes; then
128982
 
+    ac_fsusage_space=yes
128983
 
+    # AIX >= 5.2 has statvfs64 that has a wider f_blocks field than statvfs.
128984
 
+    # glibc, HP-UX, IRIX, Solaris have statvfs64 as well, but on these systems
128985
 
+    # statvfs with large-file support is already equivalent to statvfs64.
128986
 
+    AC_CACHE_CHECK([whether to use statvfs64],
128987
 
+      [fu_cv_sys_stat_statvfs64],
128988
 
+      [AC_LINK_IFELSE(
128989
 
+         [AC_LANG_PROGRAM(
128990
 
+            [[#include <sys/types.h>
128991
 
+              #include <sys/statvfs.h>
128992
 
+              struct statvfs64 fsd;
128993
 
+              int check_f_blocks_larger_in_statvfs64
128994
 
+                [sizeof (((struct statvfs64 *) 0)->f_blocks)
128995
 
+                 > sizeof (((struct statvfs *) 0)->f_blocks)
128996
 
+                 ? 1 : -1];
128997
 
+            ]],
128998
 
+            [[statvfs64 (0, &fsd);]])],
128999
 
+         [fu_cv_sys_stat_statvfs64=yes],
129000
 
+         [fu_cv_sys_stat_statvfs64=no])
129001
 
+      ])
129002
 
+    if test $fu_cv_sys_stat_statvfs64 = yes; then
129003
 
+      AC_DEFINE([STAT_STATVFS64], [1],
129004
 
+                [  Define if statvfs64 should be preferred over statvfs.])
129005
 
+    else
129006
 
+      AC_DEFINE([STAT_STATVFS], [1],
129007
 
+                [  Define if there is a function named statvfs.  (SVR4)])
129008
 
+    fi
129009
 
+  fi
129010
 
+fi
129011
 
+
129012
 
+if test $ac_fsusage_space = no; then
129013
 
+  # DEC Alpha running OSF/1
129014
 
+  AC_MSG_CHECKING([for 3-argument statfs function (DEC OSF/1)])
129015
 
+  AC_CACHE_VAL([fu_cv_sys_stat_statfs3_osf1],
129016
 
+  [AC_RUN_IFELSE([AC_LANG_SOURCE([[
129017
 
+#include <sys/param.h>
129018
 
+#include <sys/types.h>
129019
 
+#include <sys/mount.h>
129020
 
+  int
129021
 
+  main ()
129022
 
+  {
129023
 
+    struct statfs fsd;
129024
 
+    fsd.f_fsize = 0;
129025
 
+    return statfs (".", &fsd, sizeof (struct statfs)) != 0;
129026
 
+  }]])],
129027
 
+    [fu_cv_sys_stat_statfs3_osf1=yes],
129028
 
+    [fu_cv_sys_stat_statfs3_osf1=no],
129029
 
+    [fu_cv_sys_stat_statfs3_osf1=no])])
129030
 
+  AC_MSG_RESULT([$fu_cv_sys_stat_statfs3_osf1])
129031
 
+  if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
129032
 
+    ac_fsusage_space=yes
129033
 
+    AC_DEFINE([STAT_STATFS3_OSF1], [1],
129034
 
+              [   Define if  statfs takes 3 args.  (DEC Alpha running OSF/1)])
129035
 
+  fi
129036
 
+fi
129037
 
+
129038
 
+if test $ac_fsusage_space = no; then
129039
 
+  # glibc/Linux, MacOS X, FreeBSD < 5.0, NetBSD < 3.0, OpenBSD < 4.4.
129040
 
+  # (glibc/{Hurd,kFreeBSD}, FreeBSD >= 5.0, NetBSD >= 3.0,
129041
 
+  # OpenBSD >= 4.4, AIX, HP-UX, OSF/1, Cygwin already handled above.)
129042
 
+  # (On IRIX you need to include <sys/statfs.h>, not only <sys/mount.h> and
129043
 
+  # <sys/vfs.h>.)
129044
 
+  # (On Solaris, statfs has 4 arguments.)
129045
 
+  AC_MSG_CHECKING([for two-argument statfs with statfs.f_bsize dnl
129046
 
+member (AIX, 4.3BSD)])
129047
 
+  AC_CACHE_VAL([fu_cv_sys_stat_statfs2_bsize],
129048
 
+  [AC_RUN_IFELSE([AC_LANG_SOURCE([[
129049
 
+#ifdef HAVE_SYS_PARAM_H
129050
 
+#include <sys/param.h>
129051
 
+#endif
129052
 
+#ifdef HAVE_SYS_MOUNT_H
129053
 
+#include <sys/mount.h>
129054
 
+#endif
129055
 
+#ifdef HAVE_SYS_VFS_H
129056
 
+#include <sys/vfs.h>
129057
 
+#endif
129058
 
+  int
129059
 
+  main ()
129060
 
+  {
129061
 
+  struct statfs fsd;
129062
 
+  fsd.f_bsize = 0;
129063
 
+  return statfs (".", &fsd) != 0;
129064
 
+  }]])],
129065
 
+    [fu_cv_sys_stat_statfs2_bsize=yes],
129066
 
+    [fu_cv_sys_stat_statfs2_bsize=no],
129067
 
+    [fu_cv_sys_stat_statfs2_bsize=no])])
129068
 
+  AC_MSG_RESULT([$fu_cv_sys_stat_statfs2_bsize])
129069
 
+  if test $fu_cv_sys_stat_statfs2_bsize = yes; then
129070
 
+    ac_fsusage_space=yes
129071
 
+    AC_DEFINE([STAT_STATFS2_BSIZE], [1],
129072
 
+[  Define if statfs takes 2 args and struct statfs has a field named f_bsize.
129073
 
+   (4.3BSD, SunOS 4, HP-UX, AIX PS/2)])
129074
 
+  fi
129075
 
+fi
129076
 
+
129077
 
+if test $ac_fsusage_space = no; then
129078
 
+  # SVR3
129079
 
+  # (Solaris already handled above.)
129080
 
+  AC_MSG_CHECKING([for four-argument statfs (AIX-3.2.5, SVR3)])
129081
 
+  AC_CACHE_VAL([fu_cv_sys_stat_statfs4],
129082
 
+  [AC_RUN_IFELSE([AC_LANG_SOURCE([[
129083
 
+#include <sys/types.h>
129084
 
+#include <sys/statfs.h>
129085
 
+  int
129086
 
+  main ()
129087
 
+  {
129088
 
+  struct statfs fsd;
129089
 
+  return statfs (".", &fsd, sizeof fsd, 0) != 0;
129090
 
+  }]])],
129091
 
+    [fu_cv_sys_stat_statfs4=yes],
129092
 
+    [fu_cv_sys_stat_statfs4=no],
129093
 
+    [fu_cv_sys_stat_statfs4=no])])
129094
 
+  AC_MSG_RESULT([$fu_cv_sys_stat_statfs4])
129095
 
+  if test $fu_cv_sys_stat_statfs4 = yes; then
129096
 
+    ac_fsusage_space=yes
129097
 
+    AC_DEFINE([STAT_STATFS4], [1],
129098
 
+      [  Define if statfs takes 4 args.  (SVR3, Dynix, old Irix, old AIX, Dolphin)])
129099
 
+  fi
129100
 
+fi
129101
 
+
129102
 
+if test $ac_fsusage_space = no; then
129103
 
+  # 4.4BSD and older NetBSD
129104
 
+  # (OSF/1 already handled above.)
129105
 
+  # (On AIX, you need to include <sys/statfs.h>, not only <sys/mount.h>.)
129106
 
+  # (On Solaris, statfs has 4 arguments and 'struct statfs' is not declared in
129107
 
+  # <sys/mount.h>.)
129108
 
+  AC_MSG_CHECKING([for two-argument statfs with statfs.f_fsize dnl
129109
 
+member (4.4BSD and NetBSD)])
129110
 
+  AC_CACHE_VAL([fu_cv_sys_stat_statfs2_fsize],
129111
 
+  [AC_RUN_IFELSE([AC_LANG_SOURCE([[
129112
 
+#include <sys/types.h>
129113
 
+#ifdef HAVE_SYS_PARAM_H
129114
 
+#include <sys/param.h>
129115
 
+#endif
129116
 
+#ifdef HAVE_SYS_MOUNT_H
129117
 
+#include <sys/mount.h>
129118
 
+#endif
129119
 
+  int
129120
 
+  main ()
129121
 
+  {
129122
 
+  struct statfs fsd;
129123
 
+  fsd.f_fsize = 0;
129124
 
+  return statfs (".", &fsd) != 0;
129125
 
+  }]])],
129126
 
+    [fu_cv_sys_stat_statfs2_fsize=yes],
129127
 
+    [fu_cv_sys_stat_statfs2_fsize=no],
129128
 
+    [fu_cv_sys_stat_statfs2_fsize=no])])
129129
 
+  AC_MSG_RESULT([$fu_cv_sys_stat_statfs2_fsize])
129130
 
+  if test $fu_cv_sys_stat_statfs2_fsize = yes; then
129131
 
+    ac_fsusage_space=yes
129132
 
+    AC_DEFINE([STAT_STATFS2_FSIZE], [1],
129133
 
+[  Define if statfs takes 2 args and struct statfs has a field named f_fsize.
129134
 
+   (4.4BSD, NetBSD)])
129135
 
+  fi
129136
 
+fi
129137
 
+
129138
 
+if test $ac_fsusage_space = no; then
129139
 
+  # Ultrix
129140
 
+  AC_MSG_CHECKING([for two-argument statfs with struct fs_data (Ultrix)])
129141
 
+  AC_CACHE_VAL([fu_cv_sys_stat_fs_data],
129142
 
+  [AC_RUN_IFELSE([AC_LANG_SOURCE([[
129143
 
+#include <sys/types.h>
129144
 
+#ifdef HAVE_SYS_PARAM_H
129145
 
+#include <sys/param.h>
129146
 
+#endif
129147
 
+#ifdef HAVE_SYS_MOUNT_H
129148
 
+#include <sys/mount.h>
129149
 
+#endif
129150
 
+#ifdef HAVE_SYS_FS_TYPES_H
129151
 
+#include <sys/fs_types.h>
129152
 
+#endif
129153
 
+  int
129154
 
+  main ()
129155
 
+  {
129156
 
+  struct fs_data fsd;
129157
 
+  /* Ultrix's statfs returns 1 for success,
129158
 
+     0 for not mounted, -1 for failure.  */
129159
 
+  return statfs (".", &fsd) != 1;
129160
 
+  }]])],
129161
 
+    [fu_cv_sys_stat_fs_data=yes],
129162
 
+    [fu_cv_sys_stat_fs_data=no],
129163
 
+    [fu_cv_sys_stat_fs_data=no])])
129164
 
+  AC_MSG_RESULT([$fu_cv_sys_stat_fs_data])
129165
 
+  if test $fu_cv_sys_stat_fs_data = yes; then
129166
 
+    ac_fsusage_space=yes
129167
 
+    AC_DEFINE([STAT_STATFS2_FS_DATA], [1],
129168
 
+[  Define if statfs takes 2 args and the second argument has
129169
 
+   type struct fs_data.  (Ultrix)])
129170
 
+  fi
129171
 
+fi
129172
 
+
129173
 
+if test $ac_fsusage_space = no; then
129174
 
+  # SVR2
129175
 
+  # (AIX, HP-UX, OSF/1 already handled above.)
129176
 
+  AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <sys/filsys.h>
129177
 
+        ]])],
129178
 
+    [AC_DEFINE([STAT_READ_FILSYS], [1],
129179
 
+      [Define if there is no specific function for reading file systems usage
129180
 
+       information and you have the <sys/filsys.h> header file.  (SVR2)])
129181
 
+     ac_fsusage_space=yes])
129182
 
+fi
129183
 
+
129184
 
+AS_IF([test $ac_fsusage_space = yes], [$1], [$2])
129185
 
+
129186
 
+])
129187
 
+m4trace:m4/fsusage.m4:293: -1- AC_DEFUN([gl_STATFS_TRUNCATES], [
129188
 
+  AC_MSG_CHECKING([for statfs that truncates block counts])
129189
 
+  AC_CACHE_VAL([fu_cv_sys_truncating_statfs],
129190
 
+  [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
129191
 
+#if !defined(sun) && !defined(__sun)
129192
 
+choke -- this is a workaround for a Sun-specific problem
129193
 
+#endif
129194
 
+#include <sys/types.h>
129195
 
+#include <sys/vfs.h>]],
129196
 
+      [[struct statfs t; long c = *(t.f_spare);
129197
 
+        if (c) return 0;]])],
129198
 
+    [fu_cv_sys_truncating_statfs=yes],
129199
 
+    [fu_cv_sys_truncating_statfs=no])])
129200
 
+  if test $fu_cv_sys_truncating_statfs = yes; then
129201
 
+    AC_DEFINE([STATFS_TRUNCATES_BLOCK_COUNTS], [1],
129202
 
+      [Define if the block counts reported by statfs may be truncated to 2GB
129203
 
+       and the correct values may be stored in the f_spare array.
129204
 
+       (SunOS 4.1.2, 4.1.3, and 4.1.3_U1 are reported to have this problem.
129205
 
+       SunOS 4.1.1 seems not to be affected.)])
129206
 
+  fi
129207
 
+  AC_MSG_RESULT([$fu_cv_sys_truncating_statfs])
129208
 
+])
129209
 
+m4trace:m4/fsusage.m4:319: -1- AC_DEFUN([gl_PREREQ_FSUSAGE_EXTRA], [
129210
 
+  AC_CHECK_HEADERS([dustat.h sys/fs/s5param.h sys/filsys.h sys/statfs.h])
129211
 
+  gl_STATFS_TRUNCATES
129212
 
+])
129213
 
+m4trace:m4/fsync.m4:7: -1- AC_DEFUN([gl_FUNC_FSYNC], [
129214
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
129215
 
+  AC_CHECK_FUNCS_ONCE([fsync])
129216
 
+  if test $ac_cv_func_fsync = no; then
129217
 
+    HAVE_FSYNC=0
129218
 
+  fi
129219
 
+])
129220
 
+m4trace:m4/fsync.m4:17: -1- AC_DEFUN([gl_PREREQ_FSYNC], [:])
129221
 
+m4trace:m4/ftell.m4:7: -1- AC_DEFUN([gl_FUNC_FTELL], [
129222
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
129223
 
+  AC_REQUIRE([gl_FUNC_FTELLO])
129224
 
+  dnl When ftello needs fixes, ftell needs them too.
129225
 
+  if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
129226
 
+    REPLACE_FTELL=1
129227
 
+  fi
129228
 
+])
129229
 
+m4trace:m4/ftello.m4:7: -1- AC_DEFUN([gl_FUNC_FTELLO], [
129230
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
129231
 
+  AC_REQUIRE([AC_PROG_CC])
129232
 
+  AC_REQUIRE([gl_STDIN_LARGE_OFFSET])
129233
 
+
129234
 
+  dnl Persuade glibc <stdio.h> to declare ftello().
129235
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
129236
 
+
129237
 
+  AC_CHECK_DECLS_ONCE([ftello])
129238
 
+  if test $ac_cv_have_decl_ftello = no; then
129239
 
+    HAVE_DECL_FTELLO=0
129240
 
+  fi
129241
 
+
129242
 
+  AC_CACHE_CHECK([for ftello], [gl_cv_func_ftello],
129243
 
+    [
129244
 
+      AC_LINK_IFELSE(
129245
 
+        [AC_LANG_PROGRAM(
129246
 
+           [[#include <stdio.h>]],
129247
 
+           [[ftello (stdin);]])],
129248
 
+        [gl_cv_func_ftello=yes],
129249
 
+        [gl_cv_func_ftello=no])
129250
 
+    ])
129251
 
+  if test $gl_cv_func_ftello = no; then
129252
 
+    HAVE_FTELLO=0
129253
 
+  else
129254
 
+    if test $gl_cv_var_stdin_large_offset = no; then
129255
 
+      REPLACE_FTELLO=1
129256
 
+    else
129257
 
+      dnl Detect bug on Solaris.
129258
 
+      dnl ftell and ftello produce incorrect results after putc that followed a
129259
 
+      dnl getc call that reached EOF on Solaris. This is because the _IOREAD
129260
 
+      dnl flag does not get cleared in this case, even though _IOWRT gets set,
129261
 
+      dnl and ftell and ftello look whether the _IOREAD flag is set.
129262
 
+      AC_REQUIRE([AC_CANONICAL_HOST])
129263
 
+      AC_CACHE_CHECK([whether ftello works],
129264
 
+        [gl_cv_func_ftello_works],
129265
 
+        [
129266
 
+          dnl Initial guess, used when cross-compiling or when /dev/tty cannot
129267
 
+          dnl be opened.
129268
 
+changequote(,)dnl
129269
 
+          case "$host_os" in
129270
 
+                      # Guess no on Solaris.
129271
 
+            solaris*) gl_cv_func_ftello_works="guessing no" ;;
129272
 
+                      # Guess yes otherwise.
129273
 
+            *)        gl_cv_func_ftello_works="guessing yes" ;;
129274
 
+          esac
129275
 
+changequote([,])dnl
129276
 
+          AC_RUN_IFELSE(
129277
 
+            [AC_LANG_SOURCE([[
129278
 
+#include <stdio.h>
129279
 
+#include <stdlib.h>
129280
 
+#include <string.h>
129281
 
+#define TESTFILE "conftest.tmp"
129282
 
+int
129283
 
+main (void)
129284
 
+{
129285
 
+  FILE *fp;
129286
 
+
129287
 
+  /* Create a file with some contents.  */
129288
 
+  fp = fopen (TESTFILE, "w");
129289
 
+  if (fp == NULL)
129290
 
+    return 70;
129291
 
+  if (fwrite ("foogarsh", 1, 8, fp) < 8)
129292
 
+    return 71;
129293
 
+  if (fclose (fp))
129294
 
+    return 72;
129295
 
+
129296
 
+  /* The file's contents is now "foogarsh".  */
129297
 
+
129298
 
+  /* Try writing after reading to EOF.  */
129299
 
+  fp = fopen (TESTFILE, "r+");
129300
 
+  if (fp == NULL)
129301
 
+    return 73;
129302
 
+  if (fseek (fp, -1, SEEK_END))
129303
 
+    return 74;
129304
 
+  if (!(getc (fp) == 'h'))
129305
 
+    return 1;
129306
 
+  if (!(getc (fp) == EOF))
129307
 
+    return 2;
129308
 
+  if (!(ftell (fp) == 8))
129309
 
+    return 3;
129310
 
+  if (!(ftell (fp) == 8))
129311
 
+    return 4;
129312
 
+  if (!(putc ('!', fp) == '!'))
129313
 
+    return 5;
129314
 
+  if (!(ftell (fp) == 9))
129315
 
+    return 6;
129316
 
+  if (!(fclose (fp) == 0))
129317
 
+    return 7;
129318
 
+  fp = fopen (TESTFILE, "r");
129319
 
+  if (fp == NULL)
129320
 
+    return 75;
129321
 
+  {
129322
 
+    char buf[10];
129323
 
+    if (!(fread (buf, 1, 10, fp) == 9))
129324
 
+      return 10;
129325
 
+    if (!(memcmp (buf, "foogarsh!", 9) == 0))
129326
 
+      return 11;
129327
 
+  }
129328
 
+  if (!(fclose (fp) == 0))
129329
 
+    return 12;
129330
 
+
129331
 
+  /* The file's contents is now "foogarsh!".  */
129332
 
+
129333
 
+  return 0;
129334
 
+}]])],
129335
 
+            [gl_cv_func_ftello_works=yes],
129336
 
+            [gl_cv_func_ftello_works=no], [:])
129337
 
+        ])
129338
 
+      case "$gl_cv_func_ftello_works" in
129339
 
+        *yes) ;;
129340
 
+        *)
129341
 
+          REPLACE_FTELLO=1
129342
 
+          AC_DEFINE([FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE], [1],
129343
 
+            [Define to 1 if the system's ftello function has the Solaris bug.])
129344
 
+          ;;
129345
 
+      esac
129346
 
+    fi
129347
 
+  fi
129348
 
+])
129349
 
+m4trace:m4/fts.m4:7: -1- AC_DEFUN([gl_FUNC_FTS], [
129350
 
+  gl_FUNC_FTS_CORE
129351
 
+])
129352
 
+m4trace:m4/fts.m4:12: -1- AC_DEFUN([gl_FUNC_FTS_CORE], [
129353
 
+  dnl Prerequisites of lib/fts.c.
129354
 
+  AC_REQUIRE([AC_C_INLINE])
129355
 
+  gl_FUNC_OPENAT
129356
 
+
129357
 
+  AC_CHECK_FUNCS_ONCE([fstatfs])
129358
 
+  AC_CHECK_HEADERS_ONCE([sys/param.h sys/vfs.h])dnl
129359
 
+  AC_CHECK_MEMBERS([struct statfs.f_type],,,
129360
 
+    [$ac_includes_default
129361
 
+     #include <sys/vfs.h>])
129362
 
+])
129363
 
+m4trace:m4/futimens.m4:11: -1- AC_DEFUN([gl_FUNC_FUTIMENS], [
129364
 
+  AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
129365
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
129366
 
+  AC_CHECK_FUNCS_ONCE([futimens])
129367
 
+  if test $ac_cv_func_futimens = no; then
129368
 
+    HAVE_FUTIMENS=0
129369
 
+  else
129370
 
+    AC_CACHE_CHECK([whether futimens works],
129371
 
+      [gl_cv_func_futimens_works],
129372
 
+      [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
129373
 
+#include <fcntl.h>
129374
 
+#include <sys/stat.h>
129375
 
+#include <unistd.h>
129376
 
+#include <errno.h>
129377
 
+]], [[struct timespec ts[2] = { { 1, UTIME_OMIT }, { 1, UTIME_NOW } };
129378
 
+      int fd = creat ("conftest.file", 0600);
129379
 
+      struct stat st;
129380
 
+      if (fd < 0) return 1;
129381
 
+      errno = 0;
129382
 
+      if (futimens (AT_FDCWD, NULL) == 0) return 2;
129383
 
+      if (errno != EBADF) return 3;
129384
 
+      if (futimens (fd, ts)) return 4;
129385
 
+      sleep (1);
129386
 
+      ts[0].tv_nsec = UTIME_NOW;
129387
 
+      ts[1].tv_nsec = UTIME_OMIT;
129388
 
+      if (futimens (fd, ts)) return 5;
129389
 
+      if (fstat (fd, &st)) return 6;
129390
 
+      if (st.st_ctime < st.st_atime) return 7;
129391
 
+      ]])],
129392
 
+dnl FIXME: simplify this in 2012, when file system bugs are no longer common
129393
 
+         [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
129394
 
+#ifdef __linux__
129395
 
+/* The Linux kernel added futimens in 2.6.22, but has bugs with UTIME_OMIT
129396
 
+   in several file systems as recently as 2.6.32.  Always replace futimens
129397
 
+   to support older kernels.  */
129398
 
+choke me
129399
 
+#endif
129400
 
+      ]])],
129401
 
+           [gl_cv_func_futimens_works=yes],
129402
 
+           [gl_cv_func_futimens_works="needs runtime check"])],
129403
 
+         [gl_cv_func_futimens_works=no],
129404
 
+         [gl_cv_func_futimens_works="guessing no"])
129405
 
+      rm -f conftest.file])
129406
 
+    if test "$gl_cv_func_futimens_works" != yes; then
129407
 
+      REPLACE_FUTIMENS=1
129408
 
+    fi
129409
 
+  fi
129410
 
+])
129411
 
+m4trace:m4/getaddrinfo.m4:7: -1- AC_DEFUN([gl_GETADDRINFO], [
129412
 
+  AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H
129413
 
+  AC_REQUIRE([gl_HEADER_NETDB])dnl for HAVE_NETDB_H
129414
 
+  AC_MSG_NOTICE([checking how to do getaddrinfo, freeaddrinfo and getnameinfo])
129415
 
+  GETADDRINFO_LIB=
129416
 
+  gai_saved_LIBS="$LIBS"
129417
 
+
129418
 
+  dnl Where is getaddrinfo()?
129419
 
+  dnl - On Solaris, it is in libsocket.
129420
 
+  dnl - On Haiku, it is in libnetwork.
129421
 
+  dnl - On BeOS, it is in libnet.
129422
 
+  dnl - On native Windows, it is in ws2_32.dll.
129423
 
+  dnl - Otherwise it is in libc.
129424
 
+  AC_SEARCH_LIBS([getaddrinfo], [socket network net],
129425
 
+    [if test "$ac_cv_search_getaddrinfo" != "none required"; then
129426
 
+       GETADDRINFO_LIB="$ac_cv_search_getaddrinfo"
129427
 
+     fi])
129428
 
+  LIBS="$gai_saved_LIBS $GETADDRINFO_LIB"
129429
 
+
129430
 
+  HAVE_GETADDRINFO=1
129431
 
+  AC_CACHE_CHECK([for getaddrinfo], [gl_cv_func_getaddrinfo], [
129432
 
+    AC_LINK_IFELSE([AC_LANG_PROGRAM([[
129433
 
+#include <sys/types.h>
129434
 
+#ifdef HAVE_SYS_SOCKET_H
129435
 
+#include <sys/socket.h>
129436
 
+#endif
129437
 
+#ifdef HAVE_NETDB_H
129438
 
+#include <netdb.h>
129439
 
+#endif
129440
 
+#include <stddef.h>
129441
 
+]], [[getaddrinfo("", "", NULL, NULL);]])],
129442
 
+      [gl_cv_func_getaddrinfo=yes],
129443
 
+      [gl_cv_func_getaddrinfo=no])])
129444
 
+  if test $gl_cv_func_getaddrinfo = no; then
129445
 
+    AC_CACHE_CHECK([for getaddrinfo in ws2tcpip.h and -lws2_32],
129446
 
+                   gl_cv_w32_getaddrinfo, [
129447
 
+      gl_cv_w32_getaddrinfo=no
129448
 
+      am_save_LIBS="$LIBS"
129449
 
+      LIBS="$LIBS -lws2_32"
129450
 
+      AC_LINK_IFELSE([AC_LANG_PROGRAM([[
129451
 
+#ifdef HAVE_WS2TCPIP_H
129452
 
+#include <ws2tcpip.h>
129453
 
+#endif
129454
 
+#include <stddef.h>
129455
 
+]], [[getaddrinfo(NULL, NULL, NULL, NULL);]])], [gl_cv_w32_getaddrinfo=yes])
129456
 
+      LIBS="$am_save_LIBS"
129457
 
+    ])
129458
 
+    if test "$gl_cv_w32_getaddrinfo" = "yes"; then
129459
 
+      GETADDRINFO_LIB="-lws2_32"
129460
 
+      LIBS="$gai_saved_LIBS $GETADDRINFO_LIB"
129461
 
+    else
129462
 
+      HAVE_GETADDRINFO=0
129463
 
+    fi
129464
 
+  fi
129465
 
+
129466
 
+  # We can't use AC_REPLACE_FUNCS here because gai_strerror may be an
129467
 
+  # inline function declared in ws2tcpip.h, so we need to get that
129468
 
+  # header included somehow.
129469
 
+  AC_CHECK_DECLS([gai_strerror], [], [], [[
129470
 
+#include <sys/types.h>
129471
 
+#ifdef HAVE_SYS_SOCKET_H
129472
 
+#include <sys/socket.h>
129473
 
+#endif
129474
 
+#ifdef HAVE_NETDB_H
129475
 
+#include <netdb.h>
129476
 
+#endif
129477
 
+#ifdef HAVE_WS2TCPIP_H
129478
 
+#include <ws2tcpip.h>
129479
 
+#endif
129480
 
+#include <stddef.h>
129481
 
+]])
129482
 
+  if test $ac_cv_have_decl_gai_strerror = yes; then
129483
 
+    AC_CHECK_DECLS([gai_strerrorA], [], [], [[
129484
 
+#include <sys/types.h>
129485
 
+#ifdef HAVE_SYS_SOCKET_H
129486
 
+#include <sys/socket.h>
129487
 
+#endif
129488
 
+#ifdef HAVE_NETDB_H
129489
 
+#include <netdb.h>
129490
 
+#endif
129491
 
+#ifdef HAVE_WS2TCPIP_H
129492
 
+#include <ws2tcpip.h>
129493
 
+#endif
129494
 
+#include <stddef.h>
129495
 
+]])
129496
 
+    dnl check for correct signature
129497
 
+    AC_CACHE_CHECK([for gai_strerror with POSIX signature],
129498
 
+     [gl_cv_func_gai_strerror_posix_signature], [
129499
 
+      AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
129500
 
+#include <sys/types.h>
129501
 
+#ifdef HAVE_SYS_SOCKET_H
129502
 
+#include <sys/socket.h>
129503
 
+#endif
129504
 
+#ifdef HAVE_NETDB_H
129505
 
+#include <netdb.h>
129506
 
+#endif
129507
 
+#ifdef HAVE_WS2TCPIP_H
129508
 
+#include <ws2tcpip.h>
129509
 
+#endif
129510
 
+#include <stddef.h>
129511
 
+extern
129512
 
+#ifdef __cplusplus
129513
 
+"C"
129514
 
+#endif
129515
 
+const char *gai_strerror(int);]])],
129516
 
+        [gl_cv_func_gai_strerror_posix_signature=yes],
129517
 
+        [gl_cv_func_gai_strerror_posix_signature=no])])
129518
 
+    if test $gl_cv_func_gai_strerror_posix_signature = no; then
129519
 
+      REPLACE_GAI_STRERROR=1
129520
 
+    fi
129521
 
+  fi
129522
 
+
129523
 
+  LIBS="$gai_saved_LIBS"
129524
 
+
129525
 
+  gl_PREREQ_GETADDRINFO
129526
 
+
129527
 
+  AC_SUBST([GETADDRINFO_LIB])
129528
 
+])
129529
 
+m4trace:m4/getaddrinfo.m4:128: -1- AC_DEFUN([gl_PREREQ_GETADDRINFO], [
129530
 
+  AC_REQUIRE([gl_NETDB_H_DEFAULTS])
129531
 
+  AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H
129532
 
+  AC_REQUIRE([gl_HOSTENT]) dnl for HOSTENT_LIB
129533
 
+  AC_REQUIRE([gl_SERVENT]) dnl for SERVENT_LIB
129534
 
+  AC_REQUIRE([gl_FUNC_INET_NTOP]) dnl for INET_NTOP_LIB
129535
 
+  AC_REQUIRE([AC_C_RESTRICT])
129536
 
+  AC_REQUIRE([gl_SOCKET_FAMILIES])
129537
 
+  AC_REQUIRE([gl_HEADER_SYS_SOCKET])
129538
 
+  AC_REQUIRE([AC_C_INLINE])
129539
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
129540
 
+
129541
 
+  dnl Including sys/socket.h is wrong for Windows, but Windows does not
129542
 
+  dnl have sa_len so the result is correct anyway.
129543
 
+  AC_CHECK_MEMBERS([struct sockaddr.sa_len], , , [
129544
 
+#include <sys/types.h>
129545
 
+#include <sys/socket.h>
129546
 
+])
129547
 
+
129548
 
+  AC_CHECK_HEADERS_ONCE([netinet/in.h])
129549
 
+
129550
 
+  AC_CHECK_DECLS([getaddrinfo, freeaddrinfo, getnameinfo],,,[
129551
 
+  /* sys/types.h is not needed according to POSIX, but the
129552
 
+     sys/socket.h in i386-unknown-freebsd4.10 and
129553
 
+     powerpc-apple-darwin5.5 required it. */
129554
 
+#include <sys/types.h>
129555
 
+#ifdef HAVE_SYS_SOCKET_H
129556
 
+#include <sys/socket.h>
129557
 
+#endif
129558
 
+#ifdef HAVE_NETDB_H
129559
 
+#include <netdb.h>
129560
 
+#endif
129561
 
+#ifdef HAVE_WS2TCPIP_H
129562
 
+#include <ws2tcpip.h>
129563
 
+#endif
129564
 
+])
129565
 
+  if test $ac_cv_have_decl_getaddrinfo = no; then
129566
 
+    HAVE_DECL_GETADDRINFO=0
129567
 
+  fi
129568
 
+  if test $ac_cv_have_decl_freeaddrinfo = no; then
129569
 
+    HAVE_DECL_FREEADDRINFO=0
129570
 
+  fi
129571
 
+  if test $ac_cv_have_decl_gai_strerror = no; then
129572
 
+    HAVE_DECL_GAI_STRERROR=0
129573
 
+  fi
129574
 
+  if test $ac_cv_have_decl_getnameinfo = no; then
129575
 
+    HAVE_DECL_GETNAMEINFO=0
129576
 
+  fi
129577
 
+
129578
 
+  AC_CHECK_TYPES([struct addrinfo],,,[
129579
 
+#include <sys/types.h>
129580
 
+#ifdef HAVE_SYS_SOCKET_H
129581
 
+#include <sys/socket.h>
129582
 
+#endif
129583
 
+#ifdef HAVE_NETDB_H
129584
 
+#include <netdb.h>
129585
 
+#endif
129586
 
+#ifdef HAVE_WS2TCPIP_H
129587
 
+#include <ws2tcpip.h>
129588
 
+#endif
129589
 
+])
129590
 
+  if test $ac_cv_type_struct_addrinfo = no; then
129591
 
+    HAVE_STRUCT_ADDRINFO=0
129592
 
+  fi
129593
 
+
129594
 
+  dnl Append $HOSTENT_LIB to GETADDRINFO_LIB, avoiding gratuitous duplicates.
129595
 
+  case " $GETADDRINFO_LIB " in
129596
 
+    *" $HOSTENT_LIB "*) ;;
129597
 
+    *) GETADDRINFO_LIB="$GETADDRINFO_LIB $HOSTENT_LIB" ;;
129598
 
+  esac
129599
 
+
129600
 
+  dnl Append $SERVENT_LIB to GETADDRINFO_LIB, avoiding gratuitous duplicates.
129601
 
+  case " $GETADDRINFO_LIB " in
129602
 
+    *" $SERVENT_LIB "*) ;;
129603
 
+    *) GETADDRINFO_LIB="$GETADDRINFO_LIB $SERVENT_LIB" ;;
129604
 
+  esac
129605
 
+
129606
 
+  dnl Append $INET_NTOP_LIB to GETADDRINFO_LIB, avoiding gratuitous duplicates.
129607
 
+  case " $GETADDRINFO_LIB " in
129608
 
+    *" $INET_NTOP_LIB "*) ;;
129609
 
+    *) GETADDRINFO_LIB="$GETADDRINFO_LIB $INET_NTOP_LIB" ;;
129610
 
+  esac
129611
 
+])
129612
 
+m4trace:m4/getcwd-abort-bug.m4:14: -1- AC_DEFUN([gl_FUNC_GETCWD_ABORT_BUG], [
129613
 
+  AC_CHECK_DECLS_ONCE([getcwd])
129614
 
+  AC_CHECK_FUNCS([getpagesize])
129615
 
+  AC_CACHE_CHECK([whether getcwd aborts when 4k < cwd_length < 16k],
129616
 
+    gl_cv_func_getcwd_abort_bug,
129617
 
+    [# Remove any remnants of a previous test.
129618
 
+     rm -rf confdir-14B---
129619
 
+     # Arrange for deletion of the temporary directory this test creates.
129620
 
+     ac_clean_files="$ac_clean_files confdir-14B---"
129621
 
+     dnl Please keep this in sync with tests/test-getcwd.c.
129622
 
+     AC_RUN_IFELSE(
129623
 
+       [AC_LANG_SOURCE(
129624
 
+          [[
129625
 
+#include <stdlib.h>
129626
 
+#include <unistd.h>
129627
 
+#include <limits.h>
129628
 
+#include <string.h>
129629
 
+#include <sys/stat.h>
129630
 
+
129631
 
+/* Don't get link errors because mkdir is redefined to rpl_mkdir.  */
129632
 
+#undef mkdir
129633
 
+
129634
 
+#ifndef S_IRWXU
129635
 
+# define S_IRWXU 0700
129636
 
+#endif
129637
 
+
129638
 
+/* FIXME: skip the run-test altogether on systems without getpagesize.  */
129639
 
+#if ! HAVE_GETPAGESIZE
129640
 
+# define getpagesize() 0
129641
 
+#endif
129642
 
+
129643
 
+/* This size is chosen to be larger than PATH_MAX (4k), yet smaller than
129644
 
+   the 16kB pagesize on ia64 linux.  Those conditions make the code below
129645
 
+   trigger a bug in glibc's getcwd implementation before 2.4.90-10.  */
129646
 
+#define TARGET_LEN (5 * 1024)
129647
 
+
129648
 
+int
129649
 
+main ()
129650
 
+{
129651
 
+  char const *dir_name = "confdir-14B---";
129652
 
+  char *cwd;
129653
 
+  size_t initial_cwd_len;
129654
 
+  int fail = 0;
129655
 
+  size_t desired_depth;
129656
 
+  size_t d;
129657
 
+
129658
 
+  /* The bug is triggered when PATH_MAX < getpagesize (), so skip
129659
 
+     this relatively expensive and invasive test if that's not true.  */
129660
 
+  if (getpagesize () <= PATH_MAX)
129661
 
+    return 0;
129662
 
+
129663
 
+  cwd = getcwd (NULL, 0);
129664
 
+  if (cwd == NULL)
129665
 
+    return 2;
129666
 
+
129667
 
+  initial_cwd_len = strlen (cwd);
129668
 
+  free (cwd);
129669
 
+  desired_depth = ((TARGET_LEN - 1 - initial_cwd_len)
129670
 
+                   / (1 + strlen (dir_name)));
129671
 
+  for (d = 0; d < desired_depth; d++)
129672
 
+    {
129673
 
+      if (mkdir (dir_name, S_IRWXU) < 0 || chdir (dir_name) < 0)
129674
 
+        {
129675
 
+          fail = 3; /* Unable to construct deep hierarchy.  */
129676
 
+          break;
129677
 
+        }
129678
 
+    }
129679
 
+
129680
 
+  /* If libc has the bug in question, this invocation of getcwd
129681
 
+     results in a failed assertion.  */
129682
 
+  cwd = getcwd (NULL, 0);
129683
 
+  if (cwd == NULL)
129684
 
+    fail = 4; /* getcwd failed.  This is ok, and expected.  */
129685
 
+  free (cwd);
129686
 
+
129687
 
+  /* Call rmdir first, in case the above chdir failed.  */
129688
 
+  rmdir (dir_name);
129689
 
+  while (0 < d--)
129690
 
+    {
129691
 
+      if (chdir ("..") < 0)
129692
 
+        {
129693
 
+          fail = 5;
129694
 
+          break;
129695
 
+        }
129696
 
+      rmdir (dir_name);
129697
 
+    }
129698
 
+
129699
 
+  return fail;
129700
 
+}
129701
 
+          ]])],
129702
 
+    [gl_cv_func_getcwd_abort_bug=no],
129703
 
+    dnl A "regular" nonzero return does not indicate this bug.
129704
 
+    dnl An abort will provoke an exit code of something like 134 (128 + 6).
129705
 
+    [test $? -gt 128 \
129706
 
+      && gl_cv_func_getcwd_abort_bug=yes \
129707
 
+      || gl_cv_func_getcwd_abort_bug=no],
129708
 
+    [gl_cv_func_getcwd_abort_bug=yes])
129709
 
+  ])
129710
 
+  AS_IF([test $gl_cv_func_getcwd_abort_bug = yes], [$1], [$2])
129711
 
+])
129712
 
+m4trace:m4/getcwd-path-max.m4:16: -1- AC_DEFUN([gl_FUNC_GETCWD_PATH_MAX], [
129713
 
+  AC_CHECK_DECLS_ONCE([getcwd])
129714
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
129715
 
+  AC_CACHE_CHECK([whether getcwd handles long file names properly],
129716
 
+    gl_cv_func_getcwd_path_max,
129717
 
+    [# Arrange for deletion of the temporary directory this test creates.
129718
 
+     ac_clean_files="$ac_clean_files confdir3"
129719
 
+     dnl Please keep this in sync with tests/test-getcwd.c.
129720
 
+     AC_RUN_IFELSE(
129721
 
+       [AC_LANG_SOURCE(
129722
 
+          [[
129723
 
+#include <errno.h>
129724
 
+#include <stdlib.h>
129725
 
+#include <unistd.h>
129726
 
+#include <string.h>
129727
 
+#include <limits.h>
129728
 
+#include <sys/stat.h>
129729
 
+#include <sys/types.h>
129730
 
+#include <fcntl.h>
129731
 
+
129732
 
+#ifndef AT_FDCWD
129733
 
+# define AT_FDCWD 0
129734
 
+#endif
129735
 
+#ifdef ENAMETOOLONG
129736
 
+# define is_ENAMETOOLONG(x) ((x) == ENAMETOOLONG)
129737
 
+#else
129738
 
+# define is_ENAMETOOLONG(x) 0
129739
 
+#endif
129740
 
+
129741
 
+/* Don't get link errors because mkdir is redefined to rpl_mkdir.  */
129742
 
+#undef mkdir
129743
 
+
129744
 
+#ifndef S_IRWXU
129745
 
+# define S_IRWXU 0700
129746
 
+#endif
129747
 
+
129748
 
+/* The length of this name must be 8.  */
129749
 
+#define DIR_NAME "confdir3"
129750
 
+#define DIR_NAME_LEN 8
129751
 
+#define DIR_NAME_SIZE (DIR_NAME_LEN + 1)
129752
 
+
129753
 
+/* The length of "../".  */
129754
 
+#define DOTDOTSLASH_LEN 3
129755
 
+
129756
 
+/* Leftover bytes in the buffer, to work around library or OS bugs.  */
129757
 
+#define BUF_SLOP 20
129758
 
+
129759
 
+int
129760
 
+main ()
129761
 
+{
129762
 
+#ifndef PATH_MAX
129763
 
+  /* The Hurd doesn't define this, so getcwd can't exhibit the bug --
129764
 
+     at least not on a local file system.  And if we were to start worrying
129765
 
+     about remote file systems, we'd have to enable the wrapper function
129766
 
+     all of the time, just to be safe.  That's not worth the cost.  */
129767
 
+  exit (0);
129768
 
+#elif ((INT_MAX / (DIR_NAME_SIZE / DOTDOTSLASH_LEN + 1) \
129769
 
+        - DIR_NAME_SIZE - BUF_SLOP) \
129770
 
+       <= PATH_MAX)
129771
 
+  /* FIXME: Assuming there's a system for which this is true,
129772
 
+     this should be done in a compile test.  */
129773
 
+  exit (0);
129774
 
+#else
129775
 
+  char buf[PATH_MAX * (DIR_NAME_SIZE / DOTDOTSLASH_LEN + 1)
129776
 
+           + DIR_NAME_SIZE + BUF_SLOP];
129777
 
+  char *cwd = getcwd (buf, PATH_MAX);
129778
 
+  size_t initial_cwd_len;
129779
 
+  size_t cwd_len;
129780
 
+  int fail = 0;
129781
 
+  size_t n_chdirs = 0;
129782
 
+
129783
 
+  if (cwd == NULL)
129784
 
+    exit (10);
129785
 
+
129786
 
+  cwd_len = initial_cwd_len = strlen (cwd);
129787
 
+
129788
 
+  while (1)
129789
 
+    {
129790
 
+      size_t dotdot_max = PATH_MAX * (DIR_NAME_SIZE / DOTDOTSLASH_LEN);
129791
 
+      char *c = NULL;
129792
 
+
129793
 
+      cwd_len += DIR_NAME_SIZE;
129794
 
+      /* If mkdir or chdir fails, it could be that this system cannot create
129795
 
+         any file with an absolute name longer than PATH_MAX, such as cygwin.
129796
 
+         If so, leave fail as 0, because the current working directory can't
129797
 
+         be too long for getcwd if it can't even be created.  For other
129798
 
+         errors, be pessimistic and consider that as a failure, too.  */
129799
 
+      if (mkdir (DIR_NAME, S_IRWXU) < 0 || chdir (DIR_NAME) < 0)
129800
 
+        {
129801
 
+          if (! (errno == ERANGE || is_ENAMETOOLONG (errno)))
129802
 
+            fail = 20;
129803
 
+          break;
129804
 
+        }
129805
 
+
129806
 
+      if (PATH_MAX <= cwd_len && cwd_len < PATH_MAX + DIR_NAME_SIZE)
129807
 
+        {
129808
 
+          c = getcwd (buf, PATH_MAX);
129809
 
+          if (!c && errno == ENOENT)
129810
 
+            {
129811
 
+              fail = 11;
129812
 
+              break;
129813
 
+            }
129814
 
+          if (c || ! (errno == ERANGE || is_ENAMETOOLONG (errno)))
129815
 
+            {
129816
 
+              fail = 21;
129817
 
+              break;
129818
 
+            }
129819
 
+        }
129820
 
+
129821
 
+      if (dotdot_max <= cwd_len - initial_cwd_len)
129822
 
+        {
129823
 
+          if (dotdot_max + DIR_NAME_SIZE < cwd_len - initial_cwd_len)
129824
 
+            break;
129825
 
+          c = getcwd (buf, cwd_len + 1);
129826
 
+          if (!c)
129827
 
+            {
129828
 
+              if (! (errno == ERANGE || errno == ENOENT
129829
 
+                     || is_ENAMETOOLONG (errno)))
129830
 
+                {
129831
 
+                  fail = 22;
129832
 
+                  break;
129833
 
+                }
129834
 
+              if (AT_FDCWD || errno == ERANGE || errno == ENOENT)
129835
 
+                {
129836
 
+                  fail = 12;
129837
 
+                  break;
129838
 
+                }
129839
 
+            }
129840
 
+        }
129841
 
+
129842
 
+      if (c && strlen (c) != cwd_len)
129843
 
+        {
129844
 
+          fail = 23;
129845
 
+          break;
129846
 
+        }
129847
 
+      ++n_chdirs;
129848
 
+    }
129849
 
+
129850
 
+  /* Leaving behind such a deep directory is not polite.
129851
 
+     So clean up here, right away, even though the driving
129852
 
+     shell script would also clean up.  */
129853
 
+  {
129854
 
+    size_t i;
129855
 
+
129856
 
+    /* Try rmdir first, in case the chdir failed.  */
129857
 
+    rmdir (DIR_NAME);
129858
 
+    for (i = 0; i <= n_chdirs; i++)
129859
 
+      {
129860
 
+        if (chdir ("..") < 0)
129861
 
+          break;
129862
 
+        if (rmdir (DIR_NAME) != 0)
129863
 
+          break;
129864
 
+      }
129865
 
+  }
129866
 
+
129867
 
+  exit (fail);
129868
 
+#endif
129869
 
+}
129870
 
+          ]])],
129871
 
+    [gl_cv_func_getcwd_path_max=yes],
129872
 
+    [case $? in
129873
 
+     10|11|12) gl_cv_func_getcwd_path_max='no, but it is partly working';;
129874
 
+     *) gl_cv_func_getcwd_path_max=no;;
129875
 
+     esac],
129876
 
+    [gl_cv_func_getcwd_path_max=no])
129877
 
+  ])
129878
 
+  case $gl_cv_func_getcwd_path_max in
129879
 
+  no,*)
129880
 
+    AC_DEFINE([HAVE_PARTLY_WORKING_GETCWD], [1],
129881
 
+      [Define to 1 if getcwd works, except it sometimes fails when it shouldn't,
129882
 
+       setting errno to ERANGE, ENAMETOOLONG, or ENOENT.]);;
129883
 
+  esac
129884
 
+])
129885
 
+m4trace:m4/getcwd.m4:11: -1- AC_DEFUN([gl_FUNC_GETCWD_NULL], [
129886
 
+   AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
129887
 
+   AC_CACHE_CHECK([whether getcwd (NULL, 0) allocates memory for result],
129888
 
+     [gl_cv_func_getcwd_null],
129889
 
+     [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
129890
 
+#        include <unistd.h>
129891
 
+#        ifndef getcwd
129892
 
+         char *getcwd ();
129893
 
+#        endif
129894
 
+]], [[
129895
 
+#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
129896
 
+/* mingw cwd does not start with '/', but getcwd does allocate.
129897
 
+   However, mingw fails to honor non-zero size.  */
129898
 
+#else
129899
 
+           if (chdir ("/") != 0)
129900
 
+             return 1;
129901
 
+           else
129902
 
+             {
129903
 
+               char *f = getcwd (NULL, 0);
129904
 
+               if (! f)
129905
 
+                 return 2;
129906
 
+               if (f[0] != '/')
129907
 
+                 return 3;
129908
 
+               if (f[1] != '\0')
129909
 
+                 return 4;
129910
 
+               return 0;
129911
 
+             }
129912
 
+#endif
129913
 
+         ]])],
129914
 
+        [gl_cv_func_getcwd_null=yes],
129915
 
+        [gl_cv_func_getcwd_null=no],
129916
 
+        [[
129917
 
+       case "$host_os" in
129918
 
+                               # Guess yes on glibc systems.
129919
 
+         *-gnu*)               gl_cv_func_getcwd_null="guessing yes";;
129920
 
+                               # Guess yes on Cygwin.
129921
 
+         cygwin*)              gl_cv_func_getcwd_null="guessing yes";;
129922
 
+                               # If we don't know, assume the worst.
129923
 
+         *)                    gl_cv_func_getcwd_null="guessing no";;
129924
 
+       esac
129925
 
+        ]])])
129926
 
+])
129927
 
+m4trace:m4/getcwd.m4:55: -1- AC_DEFUN([gl_FUNC_GETCWD_SIGNATURE], [
129928
 
+  AC_CACHE_CHECK([for getcwd with POSIX signature],
129929
 
+    [gl_cv_func_getcwd_posix_signature],
129930
 
+    [AC_COMPILE_IFELSE(
129931
 
+      [AC_LANG_PROGRAM(
129932
 
+         [[#include <unistd.h>]],
129933
 
+         [[extern
129934
 
+           #ifdef __cplusplus
129935
 
+           "C"
129936
 
+           #endif
129937
 
+           char *getcwd (char *, size_t);
129938
 
+         ]])
129939
 
+      ],
129940
 
+      [gl_cv_func_getcwd_posix_signature=yes],
129941
 
+      [gl_cv_func_getcwd_posix_signature=no])
129942
 
+   ])
129943
 
+])
129944
 
+m4trace:m4/getcwd.m4:81: -1- AC_DEFUN([gl_FUNC_GETCWD_LGPL], [
129945
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
129946
 
+  AC_REQUIRE([gl_FUNC_GETCWD_NULL])
129947
 
+  AC_REQUIRE([gl_FUNC_GETCWD_SIGNATURE])
129948
 
+
129949
 
+  case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_posix_signature in
129950
 
+  *yes,yes) ;;
129951
 
+  *)
129952
 
+    dnl Minimal replacement lib/getcwd-lgpl.c.
129953
 
+    REPLACE_GETCWD=1
129954
 
+    ;;
129955
 
+  esac
129956
 
+])
129957
 
+m4trace:m4/getcwd.m4:98: -1- AC_DEFUN([gl_FUNC_GETCWD], [
129958
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
129959
 
+  AC_REQUIRE([gl_FUNC_GETCWD_NULL])
129960
 
+  AC_REQUIRE([gl_FUNC_GETCWD_SIGNATURE])
129961
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
129962
 
+
129963
 
+  gl_abort_bug=no
129964
 
+  case $gl_cv_func_getcwd_null,$host_os in
129965
 
+  *,mingw*)
129966
 
+    gl_cv_func_getcwd_path_max=yes;;
129967
 
+  yes,*)
129968
 
+    gl_FUNC_GETCWD_PATH_MAX
129969
 
+    gl_FUNC_GETCWD_ABORT_BUG([gl_abort_bug=yes]);;
129970
 
+  esac
129971
 
+
129972
 
+  case $gl_cv_func_getcwd_null,$gl_cv_func_getcwd_posix_signature$gl_cv_func_getcwd_path_max,$gl_abort_bug in
129973
 
+  *yes,yes,yes,no) ;;
129974
 
+  *)
129975
 
+    dnl Full replacement lib/getcwd.c, overrides LGPL replacement.
129976
 
+    REPLACE_GETCWD=1;;
129977
 
+  esac
129978
 
+])
129979
 
+m4trace:m4/getcwd.m4:123: -1- AC_DEFUN([gl_PREREQ_GETCWD], [
129980
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
129981
 
+  AC_REQUIRE([gl_CHECK_TYPE_STRUCT_DIRENT_D_INO])
129982
 
+  :
129983
 
+])
129984
 
+m4trace:m4/getdelim.m4:11: -1- AC_DEFUN([gl_FUNC_GETDELIM], [
129985
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
129986
 
+
129987
 
+  dnl Persuade glibc <stdio.h> to declare getdelim().
129988
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
129989
 
+
129990
 
+  AC_CHECK_DECLS_ONCE([getdelim])
129991
 
+
129992
 
+  AC_CHECK_FUNCS_ONCE([getdelim])
129993
 
+  if test $ac_cv_func_getdelim = yes; then
129994
 
+    HAVE_GETDELIM=1
129995
 
+    dnl Found it in some library.  Verify that it works.
129996
 
+    AC_CACHE_CHECK([for working getdelim function], [gl_cv_func_working_getdelim],
129997
 
+    [echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data
129998
 
+    AC_RUN_IFELSE([AC_LANG_SOURCE([[
129999
 
+#    include <stdio.h>
130000
 
+#    include <stdlib.h>
130001
 
+#    include <string.h>
130002
 
+    int main ()
130003
 
+    {
130004
 
+      FILE *in = fopen ("./conftest.data", "r");
130005
 
+      if (!in)
130006
 
+        return 1;
130007
 
+      {
130008
 
+        /* Test result for a NULL buffer and a zero size.
130009
 
+           Based on a test program from Karl Heuer.  */
130010
 
+        char *line = NULL;
130011
 
+        size_t siz = 0;
130012
 
+        int len = getdelim (&line, &siz, '\n', in);
130013
 
+        if (!(len == 4 && line && strcmp (line, "foo\n") == 0))
130014
 
+          return 2;
130015
 
+      }
130016
 
+      {
130017
 
+        /* Test result for a NULL buffer and a non-zero size.
130018
 
+           This crashes on FreeBSD 8.0.  */
130019
 
+        char *line = NULL;
130020
 
+        size_t siz = (size_t)(~0) / 4;
130021
 
+        if (getdelim (&line, &siz, '\n', in) == -1)
130022
 
+          return 3;
130023
 
+      }
130024
 
+      return 0;
130025
 
+    }
130026
 
+    ]])], [gl_cv_func_working_getdelim=yes] dnl The library version works.
130027
 
+    , [gl_cv_func_working_getdelim=no] dnl The library version does NOT work.
130028
 
+    , dnl We're cross compiling. Assume it works on glibc2 systems.
130029
 
+      [AC_EGREP_CPP([Lucky GNU user],
130030
 
+         [
130031
 
+#include <features.h>
130032
 
+#ifdef __GNU_LIBRARY__
130033
 
+ #if (__GLIBC__ >= 2) && !defined __UCLIBC__
130034
 
+  Lucky GNU user
130035
 
+ #endif
130036
 
+#endif
130037
 
+         ],
130038
 
+         [gl_cv_func_working_getdelim=yes],
130039
 
+         [gl_cv_func_working_getdelim=no])]
130040
 
+    )])
130041
 
+    if test $gl_cv_func_working_getdelim = no; then
130042
 
+      REPLACE_GETDELIM=1
130043
 
+    fi
130044
 
+  else
130045
 
+    HAVE_GETDELIM=0
130046
 
+  fi
130047
 
+
130048
 
+  if test $ac_cv_have_decl_getdelim = no; then
130049
 
+    HAVE_DECL_GETDELIM=0
130050
 
+  fi
130051
 
+])
130052
 
+m4trace:m4/getdelim.m4:82: -1- AC_DEFUN([gl_PREREQ_GETDELIM], [
130053
 
+  AC_CHECK_FUNCS([flockfile funlockfile])
130054
 
+  AC_CHECK_DECLS([getc_unlocked])
130055
 
+])
130056
 
+m4trace:m4/getdtablesize.m4:7: -1- AC_DEFUN([gl_FUNC_GETDTABLESIZE], [
130057
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
130058
 
+  AC_CHECK_FUNCS_ONCE([getdtablesize])
130059
 
+  if test $ac_cv_func_getdtablesize != yes; then
130060
 
+    HAVE_GETDTABLESIZE=0
130061
 
+  fi
130062
 
+])
130063
 
+m4trace:m4/getgroups.m4:12: -1- AC_DEFUN([gl_FUNC_GETGROUPS], [
130064
 
+  AC_REQUIRE([AC_FUNC_GETGROUPS])
130065
 
+  AC_REQUIRE([AC_TYPE_GETGROUPS])
130066
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
130067
 
+  if test "$ac_cv_func_getgroups" != yes; then
130068
 
+    HAVE_GETGROUPS=0
130069
 
+  elif test "$ac_cv_func_getgroups_works.$ac_cv_type_getgroups" != yes.gid_t
130070
 
+  then
130071
 
+    REPLACE_GETGROUPS=1
130072
 
+    AC_DEFINE([GETGROUPS_ZERO_BUG], [1], [Define this to 1 if
130073
 
+      getgroups(0,NULL) does not return the number of groups.])
130074
 
+  else
130075
 
+    dnl Detect FreeBSD bug; POSIX requires getgroups(-1,ptr) to fail.
130076
 
+    AC_CACHE_CHECK([whether getgroups handles negative values],
130077
 
+      [gl_cv_func_getgroups_works],
130078
 
+      [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
130079
 
+        [[int size = getgroups (0, 0);
130080
 
+          gid_t *list = malloc (size * sizeof *list);
130081
 
+          return getgroups (-1, list) != -1;]])],
130082
 
+        [gl_cv_func_getgroups_works=yes],
130083
 
+        [gl_cv_func_getgroups_works=no],
130084
 
+        [gl_cv_func_getgroups_works="guessing no"])])
130085
 
+    if test "$gl_cv_func_getgroups_works" != yes; then
130086
 
+      REPLACE_GETGROUPS=1
130087
 
+    fi
130088
 
+  fi
130089
 
+  test -n "$GETGROUPS_LIB" && LIBS="$GETGROUPS_LIB $LIBS"
130090
 
+])
130091
 
+m4trace:m4/gethostname.m4:10: -1- AC_DEFUN([gl_FUNC_GETHOSTNAME], [
130092
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
130093
 
+  gl_PREREQ_SYS_H_WINSOCK2
130094
 
+
130095
 
+  dnl Where is gethostname() defined?
130096
 
+  dnl - On native Windows, it is in ws2_32.dll.
130097
 
+  dnl - Otherwise it is in libc.
130098
 
+  GETHOSTNAME_LIB=
130099
 
+  AC_CHECK_FUNCS([gethostname], , [
130100
 
+    AC_CACHE_CHECK([for gethostname in winsock2.h and -lws2_32],
130101
 
+      [gl_cv_w32_gethostname],
130102
 
+      [gl_cv_w32_gethostname=no
130103
 
+       gl_save_LIBS="$LIBS"
130104
 
+       LIBS="$LIBS -lws2_32"
130105
 
+       AC_LINK_IFELSE([AC_LANG_PROGRAM([[
130106
 
+#ifdef HAVE_WINSOCK2_H
130107
 
+#include <winsock2.h>
130108
 
+#endif
130109
 
+#include <stddef.h>
130110
 
+]], [[gethostname(NULL, 0);]])], [gl_cv_w32_gethostname=yes])
130111
 
+       LIBS="$gl_save_LIBS"
130112
 
+      ])
130113
 
+    if test "$gl_cv_w32_gethostname" = "yes"; then
130114
 
+      GETHOSTNAME_LIB="-lws2_32"
130115
 
+    fi
130116
 
+  ])
130117
 
+  AC_SUBST([GETHOSTNAME_LIB])
130118
 
+
130119
 
+  if test "$ac_cv_func_gethostname" = no; then
130120
 
+    HAVE_GETHOSTNAME=0
130121
 
+  fi
130122
 
+
130123
 
+  dnl Also provide HOST_NAME_MAX when <limits.h> lacks it.
130124
 
+  dnl - On most Unix systems, use MAXHOSTNAMELEN from <sys/param.h> instead.
130125
 
+  dnl - On Solaris, Cygwin, BeOS, use MAXHOSTNAMELEN from <netdb.h> instead.
130126
 
+  dnl - On mingw, use 256, because
130127
 
+  dnl   <http://msdn.microsoft.com/en-us/library/ms738527.aspx> says:
130128
 
+  dnl   "if a buffer of 256 bytes is passed in the name parameter and
130129
 
+  dnl    the namelen parameter is set to 256, the buffer size will always
130130
 
+  dnl    be adequate."
130131
 
+  dnl With this, there is no need to use sysconf (_SC_HOST_NAME_MAX), which
130132
 
+  dnl is not a compile-time constant.
130133
 
+  dnl We cannot override <limits.h> using the usual technique, because
130134
 
+  dnl gl_CHECK_NEXT_HEADERS does not work for <limits.h>. Therefore retrieve
130135
 
+  dnl the value of HOST_NAME_MAX at configure time.
130136
 
+  AC_CHECK_HEADERS_ONCE([sys/param.h])
130137
 
+  AC_CHECK_HEADERS_ONCE([sys/socket.h])
130138
 
+  AC_CHECK_HEADERS_ONCE([netdb.h])
130139
 
+  AC_CACHE_CHECK([for HOST_NAME_MAX], [gl_cv_decl_HOST_NAME_MAX], [
130140
 
+    gl_cv_decl_HOST_NAME_MAX=
130141
 
+    AC_EGREP_CPP([lucky], [
130142
 
+#include <limits.h>
130143
 
+#ifdef HOST_NAME_MAX
130144
 
+lucky
130145
 
+#endif
130146
 
+      ], [gl_cv_decl_HOST_NAME_MAX=yes])
130147
 
+    if test -z "$gl_cv_decl_HOST_NAME_MAX"; then
130148
 
+      dnl It's not defined in <limits.h>. Substitute it.
130149
 
+      if test "$gl_cv_w32_gethostname" = yes; then
130150
 
+        dnl mingw.
130151
 
+        gl_cv_decl_HOST_NAME_MAX=256
130152
 
+      else
130153
 
+        _AC_COMPUTE_INT([MAXHOSTNAMELEN], [gl_cv_decl_HOST_NAME_MAX], [
130154
 
+#include <sys/types.h>
130155
 
+#if HAVE_SYS_PARAM_H
130156
 
+# include <sys/param.h>
130157
 
+#endif
130158
 
+#if HAVE_SYS_SOCKET_H
130159
 
+# include <sys/socket.h>
130160
 
+#endif
130161
 
+#if HAVE_NETDB_H
130162
 
+# include <netdb.h>
130163
 
+#endif
130164
 
+],
130165
 
+          [dnl The system does not define MAXHOSTNAMELEN in any of the common
130166
 
+           dnl headers. Use a safe fallback.
130167
 
+           gl_cv_decl_HOST_NAME_MAX=256
130168
 
+          ])
130169
 
+      fi
130170
 
+    fi
130171
 
+  ])
130172
 
+  if test "$gl_cv_decl_HOST_NAME_MAX" != yes; then
130173
 
+    AC_DEFINE_UNQUOTED([HOST_NAME_MAX], [$gl_cv_decl_HOST_NAME_MAX],
130174
 
+      [Define HOST_NAME_MAX when <limits.h> does not define it.])
130175
 
+  fi
130176
 
+])
130177
 
+m4trace:m4/gethostname.m4:99: -1- AC_DEFUN([gl_PREREQ_GETHOSTNAME], [
130178
 
+  if test "$gl_cv_w32_gethostname" != "yes"; then
130179
 
+    AC_CHECK_FUNCS([uname])
130180
 
+  fi
130181
 
+])
130182
 
+m4trace:m4/gethrxtime.m4:9: -1- AC_DEFUN([gl_GETHRXTIME], [
130183
 
+  AC_REQUIRE([gl_ARITHMETIC_HRTIME_T])
130184
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
130185
 
+  AC_REQUIRE([gl_XTIME])
130186
 
+  AC_CHECK_DECLS([gethrtime], [], [], [#include <time.h>])
130187
 
+  LIB_GETHRXTIME=
130188
 
+  if test $ac_cv_have_decl_gethrtime = no \
130189
 
+     || test $gl_cv_arithmetic_hrtime_t = no; then
130190
 
+    dnl Find libraries needed to link lib/gethrxtime.c.
130191
 
+    AC_REQUIRE([gl_CLOCK_TIME])
130192
 
+    AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
130193
 
+    AC_CHECK_FUNCS_ONCE([nanouptime])
130194
 
+    if test $ac_cv_func_nanouptime != yes; then
130195
 
+      AC_CACHE_CHECK([whether CLOCK_MONOTONIC or CLOCK_REALTIME is defined],
130196
 
+        [gl_cv_have_clock_gettime_macro],
130197
 
+        [AC_EGREP_CPP([have_clock_gettime_macro],
130198
 
+          [
130199
 
+#          include <time.h>
130200
 
+#          if defined CLOCK_MONOTONIC || defined CLOCK_REALTIME
130201
 
+            have_clock_gettime_macro
130202
 
+#          endif
130203
 
+          ],
130204
 
+          [gl_cv_have_clock_gettime_macro=yes],
130205
 
+          [gl_cv_have_clock_gettime_macro=no])])
130206
 
+      if test $gl_cv_have_clock_gettime_macro = yes; then
130207
 
+        LIB_GETHRXTIME=$LIB_CLOCK_GETTIME
130208
 
+      fi
130209
 
+    fi
130210
 
+  fi
130211
 
+  AC_SUBST([LIB_GETHRXTIME])
130212
 
+])
130213
 
+m4trace:m4/gethrxtime.m4:45: -1- AC_DEFUN([gl_ARITHMETIC_HRTIME_T], [
130214
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
130215
 
+  AC_CACHE_CHECK([for arithmetic hrtime_t], [gl_cv_arithmetic_hrtime_t],
130216
 
+    [AC_COMPILE_IFELSE(
130217
 
+       [AC_LANG_PROGRAM([[#include <time.h>]],
130218
 
+          [[hrtime_t x = 0; return x/x;]])],
130219
 
+       [gl_cv_arithmetic_hrtime_t=yes],
130220
 
+       [gl_cv_arithmetic_hrtime_t=no])])
130221
 
+  if test $gl_cv_arithmetic_hrtime_t = yes; then
130222
 
+    AC_DEFINE([HAVE_ARITHMETIC_HRTIME_T], [1],
130223
 
+      [Define if you have an arithmetic hrtime_t type.])
130224
 
+  fi
130225
 
+])
130226
 
+m4trace:m4/gethrxtime.m4:61: -1- AC_DEFUN([gl_XTIME], [
130227
 
+  AC_REQUIRE([AC_C_INLINE])
130228
 
+  AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
130229
 
+  :
130230
 
+])
130231
 
+m4trace:m4/gethrxtime.m4:69: -1- AC_DEFUN([gl_PREREQ_GETHRXTIME], [
130232
 
+  AC_CHECK_FUNCS_ONCE([microuptime])
130233
 
+  :
130234
 
+])
130235
 
+m4trace:m4/getline.m4:16: -1- AC_DEFUN([gl_FUNC_GETLINE], [
130236
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
130237
 
+
130238
 
+  dnl Persuade glibc <stdio.h> to declare getline().
130239
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
130240
 
+
130241
 
+  AC_CHECK_DECLS_ONCE([getline])
130242
 
+
130243
 
+  gl_getline_needs_run_time_check=no
130244
 
+  AC_CHECK_FUNC([getline],
130245
 
+                [dnl Found it in some library.  Verify that it works.
130246
 
+                 gl_getline_needs_run_time_check=yes],
130247
 
+                [am_cv_func_working_getline=no])
130248
 
+  if test $gl_getline_needs_run_time_check = yes; then
130249
 
+    AC_CACHE_CHECK([for working getline function], [am_cv_func_working_getline],
130250
 
+    [echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data
130251
 
+    AC_RUN_IFELSE([AC_LANG_SOURCE([[
130252
 
+#    include <stdio.h>
130253
 
+#    include <stdlib.h>
130254
 
+#    include <string.h>
130255
 
+    int main ()
130256
 
+    {
130257
 
+      FILE *in = fopen ("./conftest.data", "r");
130258
 
+      if (!in)
130259
 
+        return 1;
130260
 
+      {
130261
 
+        /* Test result for a NULL buffer and a zero size.
130262
 
+           Based on a test program from Karl Heuer.  */
130263
 
+        char *line = NULL;
130264
 
+        size_t siz = 0;
130265
 
+        int len = getline (&line, &siz, in);
130266
 
+        if (!(len == 4 && line && strcmp (line, "foo\n") == 0))
130267
 
+          return 2;
130268
 
+      }
130269
 
+      {
130270
 
+        /* Test result for a NULL buffer and a non-zero size.
130271
 
+           This crashes on FreeBSD 8.0.  */
130272
 
+        char *line = NULL;
130273
 
+        size_t siz = (size_t)(~0) / 4;
130274
 
+        if (getline (&line, &siz, in) == -1)
130275
 
+          return 3;
130276
 
+      }
130277
 
+      return 0;
130278
 
+    }
130279
 
+    ]])], [am_cv_func_working_getline=yes] dnl The library version works.
130280
 
+    , [am_cv_func_working_getline=no] dnl The library version does NOT work.
130281
 
+    , dnl We're cross compiling. Assume it works on glibc2 systems.
130282
 
+      [AC_EGREP_CPP([Lucky GNU user],
130283
 
+         [
130284
 
+#include <features.h>
130285
 
+#ifdef __GNU_LIBRARY__
130286
 
+ #if (__GLIBC__ >= 2) && !defined __UCLIBC__
130287
 
+  Lucky GNU user
130288
 
+ #endif
130289
 
+#endif
130290
 
+         ],
130291
 
+         [am_cv_func_working_getline=yes],
130292
 
+         [am_cv_func_working_getline=no])]
130293
 
+    )])
130294
 
+  fi
130295
 
+
130296
 
+  if test $ac_cv_have_decl_getline = no; then
130297
 
+    HAVE_DECL_GETLINE=0
130298
 
+  fi
130299
 
+
130300
 
+  if test $am_cv_func_working_getline = no; then
130301
 
+    dnl Set REPLACE_GETLINE always: Even if we have not found the broken
130302
 
+    dnl getline function among $LIBS, it may exist in libinet and the
130303
 
+    dnl executable may be linked with -linet.
130304
 
+    REPLACE_GETLINE=1
130305
 
+  fi
130306
 
+])
130307
 
+m4trace:m4/getline.m4:91: -1- AC_DEFUN([gl_PREREQ_GETLINE], [
130308
 
+  :
130309
 
+])
130310
 
+m4trace:m4/getloadavg.m4:17: -1- AC_DEFUN([gl_GETLOADAVG], [AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
130311
 
+
130312
 
+# Persuade glibc <stdlib.h> to declare getloadavg().
130313
 
+AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
130314
 
+
130315
 
+gl_save_LIBS=$LIBS
130316
 
+
130317
 
+# getloadvg is present in libc on glibc >= 2.2, MacOS X, FreeBSD >= 2.0,
130318
 
+# NetBSD >= 0.9, OpenBSD >= 2.0, Solaris >= 7.
130319
 
+HAVE_GETLOADAVG=1
130320
 
+AC_CHECK_FUNC([getloadavg], [],
130321
 
+  [gl_func_getloadavg_done=no
130322
 
+
130323
 
+   # Some systems with -lutil have (and need) -lkvm as well, some do not.
130324
 
+   # On Solaris, -lkvm requires nlist from -lelf, so check that first
130325
 
+   # to get the right answer into the cache.
130326
 
+   # For kstat on solaris, we need to test for libelf and libkvm to force the
130327
 
+   # definition of SVR4 below.
130328
 
+   if test $gl_func_getloadavg_done = no; then
130329
 
+     AC_CHECK_LIB([elf], [elf_begin], [LIBS="-lelf $LIBS"])
130330
 
+     AC_CHECK_LIB([kvm], [kvm_open], [LIBS="-lkvm $LIBS"])
130331
 
+     # Check for the 4.4BSD definition of getloadavg.
130332
 
+     AC_CHECK_LIB([util], [getloadavg],
130333
 
+       [LIBS="-lutil $LIBS" gl_func_getloadavg_done=yes])
130334
 
+   fi
130335
 
+
130336
 
+   if test $gl_func_getloadavg_done = no; then
130337
 
+     # There is a commonly available library for RS/6000 AIX.
130338
 
+     # Since it is not a standard part of AIX, it might be installed locally.
130339
 
+     gl_getloadavg_LIBS=$LIBS
130340
 
+     LIBS="-L/usr/local/lib $LIBS"
130341
 
+     AC_CHECK_LIB([getloadavg], [getloadavg],
130342
 
+                  [LIBS="-lgetloadavg $LIBS" gl_func_getloadavg_done=yes],
130343
 
+                  [LIBS=$gl_getloadavg_LIBS])
130344
 
+   fi
130345
 
+
130346
 
+   # Set up the replacement function if necessary.
130347
 
+   if test $gl_func_getloadavg_done = no; then
130348
 
+     HAVE_GETLOADAVG=0
130349
 
+
130350
 
+     # Solaris has libkstat which does not require root.
130351
 
+     AC_CHECK_LIB([kstat], [kstat_open])
130352
 
+     test $ac_cv_lib_kstat_kstat_open = yes && gl_func_getloadavg_done=yes
130353
 
+
130354
 
+     # AIX has libperfstat which does not require root
130355
 
+     if test $gl_func_getloadavg_done = no; then
130356
 
+       AC_CHECK_LIB([perfstat], [perfstat_cpu_total])
130357
 
+       test $ac_cv_lib_perfstat_perfstat_cpu_total = yes && gl_func_getloadavg_done=yes
130358
 
+     fi
130359
 
+
130360
 
+     if test $gl_func_getloadavg_done = no; then
130361
 
+       AC_CHECK_HEADER([sys/dg_sys_info.h],
130362
 
+         [gl_func_getloadavg_done=yes
130363
 
+          AC_DEFINE([DGUX], [1], [Define to 1 for DGUX with <sys/dg_sys_info.h>.])
130364
 
+          AC_CHECK_LIB([dgc], [dg_sys_info])])
130365
 
+     fi
130366
 
+   fi])
130367
 
+
130368
 
+if test "x$gl_save_LIBS" = x; then
130369
 
+  GETLOADAVG_LIBS=$LIBS
130370
 
+else
130371
 
+  GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$gl_save_LIBS!!"`
130372
 
+fi
130373
 
+LIBS=$gl_save_LIBS
130374
 
+
130375
 
+AC_SUBST([GETLOADAVG_LIBS])dnl
130376
 
+
130377
 
+# Test whether the system declares getloadavg. Solaris has the function
130378
 
+# but declares it in <sys/loadavg.h>, not <stdlib.h>.
130379
 
+AC_CHECK_HEADERS([sys/loadavg.h])
130380
 
+if test $ac_cv_header_sys_loadavg_h = yes; then
130381
 
+  HAVE_SYS_LOADAVG_H=1
130382
 
+else
130383
 
+  HAVE_SYS_LOADAVG_H=0
130384
 
+fi
130385
 
+AC_CHECK_DECL([getloadavg], [], [HAVE_DECL_GETLOADAVG=0],
130386
 
+  [#if HAVE_SYS_LOADAVG_H
130387
 
+   # include <sys/loadavg.h>
130388
 
+   #endif
130389
 
+   #include <stdlib.h>])
130390
 
+])
130391
 
+m4trace:m4/getloadavg.m4:104: -1- AC_DEFUN([gl_PREREQ_GETLOADAVG], [
130392
 
+# Figure out what our getloadavg.c needs.
130393
 
+
130394
 
+# On HPUX9, an unprivileged user can get load averages this way.
130395
 
+if test $gl_func_getloadavg_done = no; then
130396
 
+  AC_CHECK_FUNCS([pstat_getdynamic], [gl_func_getloadavg_done=yes])
130397
 
+fi
130398
 
+
130399
 
+# We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
130400
 
+# uses stabs), but it is still SVR4.  We cannot check for <elf.h> because
130401
 
+# Irix 4.0.5F has the header but not the library.
130402
 
+if test $gl_func_getloadavg_done = no && test "$ac_cv_lib_elf_elf_begin" = yes \
130403
 
+    && test "$ac_cv_lib_kvm_kvm_open" = yes; then
130404
 
+  gl_func_getloadavg_done=yes
130405
 
+  AC_DEFINE([SVR4], [1], [Define to 1 on System V Release 4.])
130406
 
+fi
130407
 
+
130408
 
+if test $gl_func_getloadavg_done = no; then
130409
 
+  AC_CHECK_HEADER([inq_stats/cpustats.h],
130410
 
+  [gl_func_getloadavg_done=yes
130411
 
+   AC_DEFINE([UMAX], [1], [Define to 1 for Encore UMAX.])
130412
 
+   AC_DEFINE([UMAX4_3], [1],
130413
 
+             [Define to 1 for Encore UMAX 4.3 that has <inq_status/cpustats.h>
130414
 
+              instead of <sys/cpustats.h>.])])
130415
 
+fi
130416
 
+
130417
 
+if test $gl_func_getloadavg_done = no; then
130418
 
+  AC_CHECK_HEADER([sys/cpustats.h],
130419
 
+  [gl_func_getloadavg_done=yes; AC_DEFINE([UMAX])])
130420
 
+fi
130421
 
+
130422
 
+if test $gl_func_getloadavg_done = no; then
130423
 
+  AC_CHECK_HEADERS([mach/mach.h])
130424
 
+fi
130425
 
+
130426
 
+AC_CHECK_HEADERS([nlist.h],
130427
 
+[AC_CHECK_MEMBERS([struct nlist.n_un.n_name],
130428
 
+                  [], [],
130429
 
+                  [@%:@include <nlist.h>])
130430
 
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <nlist.h>]],
130431
 
+                   [[struct nlist x;
130432
 
+                    #ifdef HAVE_STRUCT_NLIST_N_UN_N_NAME
130433
 
+                    x.n_un.n_name = "";
130434
 
+                    #else
130435
 
+                    x.n_name = "";
130436
 
+                    #endif]])],
130437
 
+                [AC_DEFINE([N_NAME_POINTER], [1],
130438
 
+                           [Define to 1 if the nlist n_name member is a pointer])])
130439
 
+])dnl
130440
 
+])
130441
 
+m4trace:m4/getndelim2.m4:7: -1- AC_DEFUN([gl_GETNDELIM2], [
130442
 
+  gl_PREREQ_GETNDELIM2
130443
 
+  AC_CHECK_FUNCS_ONCE([flockfile])
130444
 
+  AC_CHECK_FUNCS_ONCE([funlockfile])
130445
 
+])
130446
 
+m4trace:m4/getndelim2.m4:15: -1- AC_DEFUN([gl_PREREQ_GETNDELIM2], [
130447
 
+  dnl Prerequisites of lib/getndelim2.h.
130448
 
+  AC_REQUIRE([gt_TYPE_SSIZE_T])
130449
 
+  dnl No prerequisites of lib/getndelim2.c.
130450
 
+])
130451
 
+m4trace:m4/getopt.m4:8: -1- AC_DEFUN([gl_FUNC_GETOPT_POSIX], [
130452
 
+  m4_divert_text([DEFAULTS], [gl_getopt_required=POSIX])
130453
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
130454
 
+  dnl Other modules can request the gnulib implementation of the getopt
130455
 
+  dnl functions unconditionally, by defining gl_REPLACE_GETOPT_ALWAYS.
130456
 
+  dnl argp.m4 does this.
130457
 
+  m4_ifdef([gl_REPLACE_GETOPT_ALWAYS], [
130458
 
+    gl_GETOPT_IFELSE([], [])
130459
 
+    REPLACE_GETOPT=1
130460
 
+  ], [
130461
 
+    REPLACE_GETOPT=0
130462
 
+    gl_GETOPT_IFELSE([
130463
 
+      REPLACE_GETOPT=1
130464
 
+    ],
130465
 
+    [])
130466
 
+  ])
130467
 
+  if test $REPLACE_GETOPT = 1; then
130468
 
+    dnl Arrange for getopt.h to be created.
130469
 
+    gl_GETOPT_SUBSTITUTE_HEADER
130470
 
+    dnl Arrange for unistd.h to include getopt.h.
130471
 
+    GNULIB_UNISTD_H_GETOPT=1
130472
 
+  fi
130473
 
+])
130474
 
+m4trace:m4/getopt.m4:36: -1- AC_DEFUN([gl_FUNC_GETOPT_GNU], [
130475
 
+  m4_divert_text([INIT_PREPARE], [gl_getopt_required=GNU])
130476
 
+
130477
 
+  AC_REQUIRE([gl_FUNC_GETOPT_POSIX])
130478
 
+])
130479
 
+m4trace:m4/getopt.m4:44: -1- AC_DEFUN([gl_GETOPT_IFELSE], [
130480
 
+  AC_REQUIRE([gl_GETOPT_CHECK_HEADERS])
130481
 
+  AS_IF([test -n "$gl_replace_getopt"], [$1], [$2])
130482
 
+])
130483
 
+m4trace:m4/getopt.m4:51: -1- AC_DEFUN([gl_GETOPT_CHECK_HEADERS], [
130484
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
130485
 
+  AC_REQUIRE([AC_PROG_AWK]) dnl for awk that supports ENVIRON
130486
 
+
130487
 
+  dnl Persuade Solaris <unistd.h> to declare optarg, optind, opterr, optopt.
130488
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
130489
 
+
130490
 
+  gl_CHECK_NEXT_HEADERS([getopt.h])
130491
 
+  if test $ac_cv_header_getopt_h = yes; then
130492
 
+    HAVE_GETOPT_H=1
130493
 
+  else
130494
 
+    HAVE_GETOPT_H=0
130495
 
+  fi
130496
 
+  AC_SUBST([HAVE_GETOPT_H])
130497
 
+
130498
 
+  gl_replace_getopt=
130499
 
+
130500
 
+  dnl Test whether <getopt.h> is available.
130501
 
+  if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
130502
 
+    AC_CHECK_HEADERS([getopt.h], [], [gl_replace_getopt=yes])
130503
 
+  fi
130504
 
+
130505
 
+  dnl Test whether the function getopt_long is available.
130506
 
+  if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
130507
 
+    AC_CHECK_FUNCS([getopt_long_only], [], [gl_replace_getopt=yes])
130508
 
+  fi
130509
 
+
130510
 
+  dnl mingw's getopt (in libmingwex.a) does weird things when the options
130511
 
+  dnl strings starts with '+' and it's not the first call.  Some internal state
130512
 
+  dnl is left over from earlier calls, and neither setting optind = 0 nor
130513
 
+  dnl setting optreset = 1 get rid of this internal state.
130514
 
+  dnl POSIX is silent on optind vs. optreset, so we allow either behavior.
130515
 
+  dnl POSIX 2008 does not specify leading '+' behavior, but see
130516
 
+  dnl http://austingroupbugs.net/view.php?id=191 for a recommendation on
130517
 
+  dnl the next version of POSIX.  For now, we only guarantee leading '+'
130518
 
+  dnl behavior with getopt-gnu.
130519
 
+  if test -z "$gl_replace_getopt"; then
130520
 
+    AC_CACHE_CHECK([whether getopt is POSIX compatible],
130521
 
+      [gl_cv_func_getopt_posix],
130522
 
+      [
130523
 
+        dnl BSD getopt_long uses an incompatible method to reset option
130524
 
+        dnl processing.  Existence of the optreset variable, in and of
130525
 
+        dnl itself, is not a reason to replace getopt, but knowledge
130526
 
+        dnl of the variable is needed to determine how to reset and
130527
 
+        dnl whether a reset reparses the environment.  Solaris
130528
 
+        dnl supports neither optreset nor optind=0, but keeps no state
130529
 
+        dnl that needs a reset beyond setting optind=1; detect Solaris
130530
 
+        dnl by getopt_clip.
130531
 
+        AC_LINK_IFELSE(
130532
 
+          [AC_LANG_PROGRAM(
130533
 
+             [[#include <unistd.h>]],
130534
 
+             [[int *p = &optreset; return optreset;]])],
130535
 
+          [gl_optind_min=1],
130536
 
+          [AC_COMPILE_IFELSE(
130537
 
+             [AC_LANG_PROGRAM(
130538
 
+                [[#include <getopt.h>]],
130539
 
+                [[return !getopt_clip;]])],
130540
 
+             [gl_optind_min=1],
130541
 
+             [gl_optind_min=0])])
130542
 
+
130543
 
+        dnl This test fails on mingw and succeeds on many other platforms.
130544
 
+        gl_save_CPPFLAGS=$CPPFLAGS
130545
 
+        CPPFLAGS="$CPPFLAGS -DOPTIND_MIN=$gl_optind_min"
130546
 
+        AC_RUN_IFELSE([AC_LANG_SOURCE([[
130547
 
+#include <unistd.h>
130548
 
+#include <stdlib.h>
130549
 
+#include <string.h>
130550
 
+
130551
 
+int
130552
 
+main ()
130553
 
+{
130554
 
+  {
130555
 
+    static char program[] = "program";
130556
 
+    static char a[] = "-a";
130557
 
+    static char foo[] = "foo";
130558
 
+    static char bar[] = "bar";
130559
 
+    char *argv[] = { program, a, foo, bar, NULL };
130560
 
+    int c;
130561
 
+
130562
 
+    optind = OPTIND_MIN;
130563
 
+    opterr = 0;
130564
 
+
130565
 
+    c = getopt (4, argv, "ab");
130566
 
+    if (!(c == 'a'))
130567
 
+      return 1;
130568
 
+    c = getopt (4, argv, "ab");
130569
 
+    if (!(c == -1))
130570
 
+      return 2;
130571
 
+    if (!(optind == 2))
130572
 
+      return 3;
130573
 
+  }
130574
 
+  /* Some internal state exists at this point.  */
130575
 
+  {
130576
 
+    static char program[] = "program";
130577
 
+    static char donald[] = "donald";
130578
 
+    static char p[] = "-p";
130579
 
+    static char billy[] = "billy";
130580
 
+    static char duck[] = "duck";
130581
 
+    static char a[] = "-a";
130582
 
+    static char bar[] = "bar";
130583
 
+    char *argv[] = { program, donald, p, billy, duck, a, bar, NULL };
130584
 
+    int c;
130585
 
+
130586
 
+    optind = OPTIND_MIN;
130587
 
+    opterr = 0;
130588
 
+
130589
 
+    c = getopt (7, argv, "+abp:q:");
130590
 
+    if (!(c == -1))
130591
 
+      return 4;
130592
 
+    if (!(strcmp (argv[0], "program") == 0))
130593
 
+      return 5;
130594
 
+    if (!(strcmp (argv[1], "donald") == 0))
130595
 
+      return 6;
130596
 
+    if (!(strcmp (argv[2], "-p") == 0))
130597
 
+      return 7;
130598
 
+    if (!(strcmp (argv[3], "billy") == 0))
130599
 
+      return 8;
130600
 
+    if (!(strcmp (argv[4], "duck") == 0))
130601
 
+      return 9;
130602
 
+    if (!(strcmp (argv[5], "-a") == 0))
130603
 
+      return 10;
130604
 
+    if (!(strcmp (argv[6], "bar") == 0))
130605
 
+      return 11;
130606
 
+    if (!(optind == 1))
130607
 
+      return 12;
130608
 
+  }
130609
 
+  /* Detect MacOS 10.5, AIX 7.1 bug.  */
130610
 
+  {
130611
 
+    static char program[] = "program";
130612
 
+    static char ab[] = "-ab";
130613
 
+    char *argv[3] = { program, ab, NULL };
130614
 
+    optind = OPTIND_MIN;
130615
 
+    opterr = 0;
130616
 
+    if (getopt (2, argv, "ab:") != 'a')
130617
 
+      return 13;
130618
 
+    if (getopt (2, argv, "ab:") != '?')
130619
 
+      return 14;
130620
 
+    if (optopt != 'b')
130621
 
+      return 15;
130622
 
+    if (optind != 2)
130623
 
+      return 16;
130624
 
+  }
130625
 
+
130626
 
+  return 0;
130627
 
+}
130628
 
+]])],
130629
 
+          [gl_cv_func_getopt_posix=yes], [gl_cv_func_getopt_posix=no],
130630
 
+          [case "$host_os" in
130631
 
+             mingw*)         gl_cv_func_getopt_posix="guessing no";;
130632
 
+             darwin* | aix*) gl_cv_func_getopt_posix="guessing no";;
130633
 
+             *)              gl_cv_func_getopt_posix="guessing yes";;
130634
 
+           esac
130635
 
+          ])
130636
 
+        CPPFLAGS=$gl_save_CPPFLAGS
130637
 
+      ])
130638
 
+    case "$gl_cv_func_getopt_posix" in
130639
 
+      *no) gl_replace_getopt=yes ;;
130640
 
+    esac
130641
 
+  fi
130642
 
+
130643
 
+  if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
130644
 
+    AC_CACHE_CHECK([for working GNU getopt function], [gl_cv_func_getopt_gnu],
130645
 
+      [# Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the
130646
 
+       # optstring is necessary for programs like m4 that have POSIX-mandated
130647
 
+       # semantics for supporting options interspersed with files.
130648
 
+       # Also, since getopt_long is a GNU extension, we require optind=0.
130649
 
+       # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT;
130650
 
+       # so take care to revert to the correct (non-)export state.
130651
 
+dnl GNU Coding Standards currently allow awk but not env; besides, env
130652
 
+dnl is ambiguous with environment values that contain newlines.
130653
 
+       gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }'
130654
 
+       case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" </dev/null` in
130655
 
+         xx) gl_had_POSIXLY_CORRECT=exported ;;
130656
 
+         x)  gl_had_POSIXLY_CORRECT=yes      ;;
130657
 
+         *)  gl_had_POSIXLY_CORRECT=         ;;
130658
 
+       esac
130659
 
+       POSIXLY_CORRECT=1
130660
 
+       export POSIXLY_CORRECT
130661
 
+       AC_RUN_IFELSE(
130662
 
+        [AC_LANG_PROGRAM([[#include <getopt.h>
130663
 
+                           #include <stddef.h>
130664
 
+                           #include <string.h>
130665
 
+           ]GL_NOCRASH[
130666
 
+           ]], [[
130667
 
+             int result = 0;
130668
 
+
130669
 
+             nocrash_init();
130670
 
+
130671
 
+             /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw,
130672
 
+                and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5,
130673
 
+                OSF/1 5.1, Solaris 10.  */
130674
 
+             {
130675
 
+               static char conftest[] = "conftest";
130676
 
+               static char plus[] = "-+";
130677
 
+               char *argv[3] = { conftest, plus, NULL };
130678
 
+               opterr = 0;
130679
 
+               if (getopt (2, argv, "+a") != '?')
130680
 
+                 result |= 1;
130681
 
+             }
130682
 
+             /* This code succeeds on glibc 2.8, mingw,
130683
 
+                and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11,
130684
 
+                IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x.  */
130685
 
+             {
130686
 
+               static char program[] = "program";
130687
 
+               static char p[] = "-p";
130688
 
+               static char foo[] = "foo";
130689
 
+               static char bar[] = "bar";
130690
 
+               char *argv[] = { program, p, foo, bar, NULL };
130691
 
+
130692
 
+               optind = 1;
130693
 
+               if (getopt (4, argv, "p::") != 'p')
130694
 
+                 result |= 2;
130695
 
+               else if (optarg != NULL)
130696
 
+                 result |= 4;
130697
 
+               else if (getopt (4, argv, "p::") != -1)
130698
 
+                 result |= 6;
130699
 
+               else if (optind != 2)
130700
 
+                 result |= 8;
130701
 
+             }
130702
 
+             /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0.  */
130703
 
+             {
130704
 
+               static char program[] = "program";
130705
 
+               static char foo[] = "foo";
130706
 
+               static char p[] = "-p";
130707
 
+               char *argv[] = { program, foo, p, NULL };
130708
 
+               optind = 0;
130709
 
+               if (getopt (3, argv, "-p") != 1)
130710
 
+                 result |= 16;
130711
 
+               else if (getopt (3, argv, "-p") != 'p')
130712
 
+                 result |= 32;
130713
 
+             }
130714
 
+             /* This code fails on glibc 2.11.  */
130715
 
+             {
130716
 
+               static char program[] = "program";
130717
 
+               static char b[] = "-b";
130718
 
+               static char a[] = "-a";
130719
 
+               char *argv[] = { program, b, a, NULL };
130720
 
+               optind = opterr = 0;
130721
 
+               if (getopt (3, argv, "+:a:b") != 'b')
130722
 
+                 result |= 64;
130723
 
+               else if (getopt (3, argv, "+:a:b") != ':')
130724
 
+                 result |= 64;
130725
 
+             }
130726
 
+             /* This code dumps core on glibc 2.14.  */
130727
 
+             {
130728
 
+               static char program[] = "program";
130729
 
+               static char w[] = "-W";
130730
 
+               static char dummy[] = "dummy";
130731
 
+               char *argv[] = { program, w, dummy, NULL };
130732
 
+               optind = opterr = 1;
130733
 
+               if (getopt (3, argv, "W;") != 'W')
130734
 
+                 result |= 128;
130735
 
+             }
130736
 
+             return result;
130737
 
+           ]])],
130738
 
+        [gl_cv_func_getopt_gnu=yes],
130739
 
+        [gl_cv_func_getopt_gnu=no],
130740
 
+        [dnl Cross compiling. Guess based on host and declarations.
130741
 
+         case $host_os:$ac_cv_have_decl_optreset in
130742
 
+           *-gnu*:* | mingw*:*) gl_cv_func_getopt_gnu=no;;
130743
 
+           *:yes)               gl_cv_func_getopt_gnu=no;;
130744
 
+           *)                   gl_cv_func_getopt_gnu=yes;;
130745
 
+         esac
130746
 
+        ])
130747
 
+       case $gl_had_POSIXLY_CORRECT in
130748
 
+         exported) ;;
130749
 
+         yes) AS_UNSET([POSIXLY_CORRECT]); POSIXLY_CORRECT=1 ;;
130750
 
+         *) AS_UNSET([POSIXLY_CORRECT]) ;;
130751
 
+       esac
130752
 
+      ])
130753
 
+    if test "$gl_cv_func_getopt_gnu" = "no"; then
130754
 
+      gl_replace_getopt=yes
130755
 
+    fi
130756
 
+  fi
130757
 
+])
130758
 
+m4trace:m4/getopt.m4:329: -1- AC_DEFUN([gl_GETOPT_SUBSTITUTE_HEADER], [
130759
 
+  GETOPT_H=getopt.h
130760
 
+  AC_DEFINE([__GETOPT_PREFIX], [[rpl_]],
130761
 
+    [Define to rpl_ if the getopt replacement functions and variables
130762
 
+     should be used.])
130763
 
+  AC_SUBST([GETOPT_H])
130764
 
+])
130765
 
+m4trace:m4/getopt.m4:340: -1- AC_DEFUN([gl_PREREQ_GETOPT], [
130766
 
+  AC_CHECK_DECLS_ONCE([getenv])
130767
 
+])
130768
 
+m4trace:m4/getpagesize.m4:8: -1- AC_DEFUN([gl_FUNC_GETPAGESIZE], [
130769
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
130770
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
130771
 
+  AC_CHECK_FUNCS([getpagesize])
130772
 
+  if test $ac_cv_func_getpagesize = no; then
130773
 
+    HAVE_GETPAGESIZE=0
130774
 
+    AC_CHECK_HEADERS([OS.h])
130775
 
+    if test $ac_cv_header_OS_h = yes; then
130776
 
+      HAVE_OS_H=1
130777
 
+    fi
130778
 
+    AC_CHECK_HEADERS([sys/param.h])
130779
 
+    if test $ac_cv_header_sys_param_h = yes; then
130780
 
+      HAVE_SYS_PARAM_H=1
130781
 
+    fi
130782
 
+  fi
130783
 
+  case "$host_os" in
130784
 
+    mingw*)
130785
 
+      REPLACE_GETPAGESIZE=1
130786
 
+      ;;
130787
 
+  esac
130788
 
+  dnl Also check whether it's declared.
130789
 
+  dnl mingw has getpagesize() in libgcc.a but doesn't declare it.
130790
 
+  AC_CHECK_DECL([getpagesize], , [HAVE_DECL_GETPAGESIZE=0])
130791
 
+])
130792
 
+m4trace:m4/getpass.m4:9: -1- AC_DEFUN([gl_FUNC_GETPASS], [
130793
 
+  dnl Persuade Solaris <unistd.h> and <stdlib.h> to declare getpass().
130794
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
130795
 
+
130796
 
+  AC_CHECK_FUNCS([getpass])
130797
 
+  AC_CHECK_DECLS_ONCE([getpass])
130798
 
+  if test $ac_cv_func_getpass = yes; then
130799
 
+    HAVE_GETPASS=1
130800
 
+  else
130801
 
+    HAVE_GETPASS=0
130802
 
+  fi
130803
 
+])
130804
 
+m4trace:m4/getpass.m4:25: -1- AC_DEFUN([gl_FUNC_GETPASS_GNU], [
130805
 
+  dnl Persuade Solaris <unistd.h> and <stdlib.h> to declare getpass().
130806
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
130807
 
+
130808
 
+  AC_CHECK_DECLS_ONCE([getpass])
130809
 
+  dnl TODO: Detect when GNU getpass() is already found in glibc.
130810
 
+  REPLACE_GETPASS=1
130811
 
+
130812
 
+  if test $REPLACE_GETPASS = 1; then
130813
 
+    dnl We must choose a different name for our function, since on ELF systems
130814
 
+    dnl an unusable getpass() in libc.so would override our getpass() if it is
130815
 
+    dnl compiled into a shared library.
130816
 
+    AC_DEFINE([getpass], [gnu_getpass],
130817
 
+      [Define to a replacement function name for getpass().])
130818
 
+  fi
130819
 
+])
130820
 
+m4trace:m4/getpass.m4:44: -1- AC_DEFUN([gl_PREREQ_GETPASS], [
130821
 
+  AC_CHECK_HEADERS_ONCE([stdio_ext.h termios.h])
130822
 
+  AC_CHECK_FUNCS_ONCE([__fsetlocking tcgetattr tcsetattr])
130823
 
+  AC_CHECK_DECLS([__fsetlocking],,,
130824
 
+    [#include <stdio.h>
130825
 
+     #if HAVE_STDIO_EXT_H
130826
 
+      #include <stdio_ext.h>
130827
 
+     #endif])
130828
 
+  AC_CHECK_DECLS_ONCE([fflush_unlocked])
130829
 
+  AC_CHECK_DECLS_ONCE([flockfile])
130830
 
+  AC_CHECK_DECLS_ONCE([fputs_unlocked])
130831
 
+  AC_CHECK_DECLS_ONCE([funlockfile])
130832
 
+  AC_CHECK_DECLS_ONCE([putc_unlocked])
130833
 
+  :
130834
 
+])
130835
 
+m4trace:m4/gettext.m4:57: -1- AC_DEFUN([AM_GNU_GETTEXT], [
130836
 
+  dnl Argument checking.
130837
 
+  ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
130838
 
+    [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
130839
 
+])])])])])
130840
 
+  ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old],
130841
 
+    [AC_DIAGNOSE([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.])])
130842
 
+  ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
130843
 
+    [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
130844
 
+])])])])
130845
 
+  define([gt_included_intl],
130846
 
+    ifelse([$1], [external],
130847
 
+      ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]),
130848
 
+      [yes]))
130849
 
+  define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], []))
130850
 
+  gt_NEEDS_INIT
130851
 
+  AM_GNU_GETTEXT_NEED([$2])
130852
 
+
130853
 
+  AC_REQUIRE([AM_PO_SUBDIRS])dnl
130854
 
+  ifelse(gt_included_intl, yes, [
130855
 
+    AC_REQUIRE([AM_INTL_SUBDIR])dnl
130856
 
+  ])
130857
 
+
130858
 
+  dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
130859
 
+  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
130860
 
+  AC_REQUIRE([AC_LIB_RPATH])
130861
 
+
130862
 
+  dnl Sometimes libintl requires libiconv, so first search for libiconv.
130863
 
+  dnl Ideally we would do this search only after the
130864
 
+  dnl      if test "$USE_NLS" = "yes"; then
130865
 
+  dnl        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
130866
 
+  dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
130867
 
+  dnl the configure script would need to contain the same shell code
130868
 
+  dnl again, outside any 'if'. There are two solutions:
130869
 
+  dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
130870
 
+  dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
130871
 
+  dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
130872
 
+  dnl documented, we avoid it.
130873
 
+  ifelse(gt_included_intl, yes, , [
130874
 
+    AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
130875
 
+  ])
130876
 
+
130877
 
+  dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation.
130878
 
+  gt_INTL_MACOSX
130879
 
+
130880
 
+  dnl Set USE_NLS.
130881
 
+  AC_REQUIRE([AM_NLS])
130882
 
+
130883
 
+  ifelse(gt_included_intl, yes, [
130884
 
+    BUILD_INCLUDED_LIBINTL=no
130885
 
+    USE_INCLUDED_LIBINTL=no
130886
 
+  ])
130887
 
+  LIBINTL=
130888
 
+  LTLIBINTL=
130889
 
+  POSUB=
130890
 
+
130891
 
+  dnl Add a version number to the cache macros.
130892
 
+  case " $gt_needs " in
130893
 
+    *" need-formatstring-macros "*) gt_api_version=3 ;;
130894
 
+    *" need-ngettext "*) gt_api_version=2 ;;
130895
 
+    *) gt_api_version=1 ;;
130896
 
+  esac
130897
 
+  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
130898
 
+  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
130899
 
+
130900
 
+  dnl If we use NLS figure out what method
130901
 
+  if test "$USE_NLS" = "yes"; then
130902
 
+    gt_use_preinstalled_gnugettext=no
130903
 
+    ifelse(gt_included_intl, yes, [
130904
 
+      AC_MSG_CHECKING([whether included gettext is requested])
130905
 
+      AC_ARG_WITH([included-gettext],
130906
 
+        [  --with-included-gettext use the GNU gettext library included here],
130907
 
+        nls_cv_force_use_gnu_gettext=$withval,
130908
 
+        nls_cv_force_use_gnu_gettext=no)
130909
 
+      AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext])
130910
 
+
130911
 
+      nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
130912
 
+      if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
130913
 
+    ])
130914
 
+        dnl User does not insist on using GNU NLS library.  Figure out what
130915
 
+        dnl to use.  If GNU gettext is available we use this.  Else we have
130916
 
+        dnl to fall back to GNU NLS library.
130917
 
+
130918
 
+        if test $gt_api_version -ge 3; then
130919
 
+          gt_revision_test_code='
130920
 
+#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
130921
 
+#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
130922
 
+#endif
130923
 
+changequote(,)dnl
130924
 
+typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
130925
 
+changequote([,])dnl
130926
 
+'
130927
 
+        else
130928
 
+          gt_revision_test_code=
130929
 
+        fi
130930
 
+        if test $gt_api_version -ge 2; then
130931
 
+          gt_expression_test_code=' + * ngettext ("", "", 0)'
130932
 
+        else
130933
 
+          gt_expression_test_code=
130934
 
+        fi
130935
 
+
130936
 
+        AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc],
130937
 
+         [AC_LINK_IFELSE(
130938
 
+            [AC_LANG_PROGRAM(
130939
 
+               [[
130940
 
+#include <libintl.h>
130941
 
+$gt_revision_test_code
130942
 
+extern int _nl_msg_cat_cntr;
130943
 
+extern int *_nl_domain_bindings;
130944
 
+               ]],
130945
 
+               [[
130946
 
+bindtextdomain ("", "");
130947
 
+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
130948
 
+               ]])],
130949
 
+            [eval "$gt_func_gnugettext_libc=yes"],
130950
 
+            [eval "$gt_func_gnugettext_libc=no"])])
130951
 
+
130952
 
+        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
130953
 
+          dnl Sometimes libintl requires libiconv, so first search for libiconv.
130954
 
+          ifelse(gt_included_intl, yes, , [
130955
 
+            AM_ICONV_LINK
130956
 
+          ])
130957
 
+          dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
130958
 
+          dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
130959
 
+          dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
130960
 
+          dnl even if libiconv doesn't exist.
130961
 
+          AC_LIB_LINKFLAGS_BODY([intl])
130962
 
+          AC_CACHE_CHECK([for GNU gettext in libintl],
130963
 
+            [$gt_func_gnugettext_libintl],
130964
 
+           [gt_save_CPPFLAGS="$CPPFLAGS"
130965
 
+            CPPFLAGS="$CPPFLAGS $INCINTL"
130966
 
+            gt_save_LIBS="$LIBS"
130967
 
+            LIBS="$LIBS $LIBINTL"
130968
 
+            dnl Now see whether libintl exists and does not depend on libiconv.
130969
 
+            AC_LINK_IFELSE(
130970
 
+              [AC_LANG_PROGRAM(
130971
 
+                 [[
130972
 
+#include <libintl.h>
130973
 
+$gt_revision_test_code
130974
 
+extern int _nl_msg_cat_cntr;
130975
 
+extern
130976
 
+#ifdef __cplusplus
130977
 
+"C"
130978
 
+#endif
130979
 
+const char *_nl_expand_alias (const char *);
130980
 
+                 ]],
130981
 
+                 [[
130982
 
+bindtextdomain ("", "");
130983
 
+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
130984
 
+                 ]])],
130985
 
+              [eval "$gt_func_gnugettext_libintl=yes"],
130986
 
+              [eval "$gt_func_gnugettext_libintl=no"])
130987
 
+            dnl Now see whether libintl exists and depends on libiconv.
130988
 
+            if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
130989
 
+              LIBS="$LIBS $LIBICONV"
130990
 
+              AC_LINK_IFELSE(
130991
 
+                [AC_LANG_PROGRAM(
130992
 
+                   [[
130993
 
+#include <libintl.h>
130994
 
+$gt_revision_test_code
130995
 
+extern int _nl_msg_cat_cntr;
130996
 
+extern
130997
 
+#ifdef __cplusplus
130998
 
+"C"
130999
 
+#endif
131000
 
+const char *_nl_expand_alias (const char *);
131001
 
+                   ]],
131002
 
+                   [[
131003
 
+bindtextdomain ("", "");
131004
 
+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
131005
 
+                   ]])],
131006
 
+                [LIBINTL="$LIBINTL $LIBICONV"
131007
 
+                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
131008
 
+                 eval "$gt_func_gnugettext_libintl=yes"
131009
 
+                ])
131010
 
+            fi
131011
 
+            CPPFLAGS="$gt_save_CPPFLAGS"
131012
 
+            LIBS="$gt_save_LIBS"])
131013
 
+        fi
131014
 
+
131015
 
+        dnl If an already present or preinstalled GNU gettext() is found,
131016
 
+        dnl use it.  But if this macro is used in GNU gettext, and GNU
131017
 
+        dnl gettext is already preinstalled in libintl, we update this
131018
 
+        dnl libintl.  (Cf. the install rule in intl/Makefile.in.)
131019
 
+        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
131020
 
+           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
131021
 
+                && test "$PACKAGE" != gettext-runtime \
131022
 
+                && test "$PACKAGE" != gettext-tools; }; then
131023
 
+          gt_use_preinstalled_gnugettext=yes
131024
 
+        else
131025
 
+          dnl Reset the values set by searching for libintl.
131026
 
+          LIBINTL=
131027
 
+          LTLIBINTL=
131028
 
+          INCINTL=
131029
 
+        fi
131030
 
+
131031
 
+    ifelse(gt_included_intl, yes, [
131032
 
+        if test "$gt_use_preinstalled_gnugettext" != "yes"; then
131033
 
+          dnl GNU gettext is not found in the C library.
131034
 
+          dnl Fall back on included GNU gettext library.
131035
 
+          nls_cv_use_gnu_gettext=yes
131036
 
+        fi
131037
 
+      fi
131038
 
+
131039
 
+      if test "$nls_cv_use_gnu_gettext" = "yes"; then
131040
 
+        dnl Mark actions used to generate GNU NLS library.
131041
 
+        BUILD_INCLUDED_LIBINTL=yes
131042
 
+        USE_INCLUDED_LIBINTL=yes
131043
 
+        LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD"
131044
 
+        LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD"
131045
 
+        LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
131046
 
+      fi
131047
 
+
131048
 
+      CATOBJEXT=
131049
 
+      if test "$gt_use_preinstalled_gnugettext" = "yes" \
131050
 
+         || test "$nls_cv_use_gnu_gettext" = "yes"; then
131051
 
+        dnl Mark actions to use GNU gettext tools.
131052
 
+        CATOBJEXT=.gmo
131053
 
+      fi
131054
 
+    ])
131055
 
+
131056
 
+    if test -n "$INTL_MACOSX_LIBS"; then
131057
 
+      if test "$gt_use_preinstalled_gnugettext" = "yes" \
131058
 
+         || test "$nls_cv_use_gnu_gettext" = "yes"; then
131059
 
+        dnl Some extra flags are needed during linking.
131060
 
+        LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
131061
 
+        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
131062
 
+      fi
131063
 
+    fi
131064
 
+
131065
 
+    if test "$gt_use_preinstalled_gnugettext" = "yes" \
131066
 
+       || test "$nls_cv_use_gnu_gettext" = "yes"; then
131067
 
+      AC_DEFINE([ENABLE_NLS], [1],
131068
 
+        [Define to 1 if translation of program messages to the user's native language
131069
 
+   is requested.])
131070
 
+    else
131071
 
+      USE_NLS=no
131072
 
+    fi
131073
 
+  fi
131074
 
+
131075
 
+  AC_MSG_CHECKING([whether to use NLS])
131076
 
+  AC_MSG_RESULT([$USE_NLS])
131077
 
+  if test "$USE_NLS" = "yes"; then
131078
 
+    AC_MSG_CHECKING([where the gettext function comes from])
131079
 
+    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
131080
 
+      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
131081
 
+        gt_source="external libintl"
131082
 
+      else
131083
 
+        gt_source="libc"
131084
 
+      fi
131085
 
+    else
131086
 
+      gt_source="included intl directory"
131087
 
+    fi
131088
 
+    AC_MSG_RESULT([$gt_source])
131089
 
+  fi
131090
 
+
131091
 
+  if test "$USE_NLS" = "yes"; then
131092
 
+
131093
 
+    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
131094
 
+      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
131095
 
+        AC_MSG_CHECKING([how to link with libintl])
131096
 
+        AC_MSG_RESULT([$LIBINTL])
131097
 
+        AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
131098
 
+      fi
131099
 
+
131100
 
+      dnl For backward compatibility. Some packages may be using this.
131101
 
+      AC_DEFINE([HAVE_GETTEXT], [1],
131102
 
+       [Define if the GNU gettext() function is already present or preinstalled.])
131103
 
+      AC_DEFINE([HAVE_DCGETTEXT], [1],
131104
 
+       [Define if the GNU dcgettext() function is already present or preinstalled.])
131105
 
+    fi
131106
 
+
131107
 
+    dnl We need to process the po/ directory.
131108
 
+    POSUB=po
131109
 
+  fi
131110
 
+
131111
 
+  ifelse(gt_included_intl, yes, [
131112
 
+    dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
131113
 
+    dnl to 'yes' because some of the testsuite requires it.
131114
 
+    if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
131115
 
+      BUILD_INCLUDED_LIBINTL=yes
131116
 
+    fi
131117
 
+
131118
 
+    dnl Make all variables we use known to autoconf.
131119
 
+    AC_SUBST([BUILD_INCLUDED_LIBINTL])
131120
 
+    AC_SUBST([USE_INCLUDED_LIBINTL])
131121
 
+    AC_SUBST([CATOBJEXT])
131122
 
+
131123
 
+    dnl For backward compatibility. Some configure.ins may be using this.
131124
 
+    nls_cv_header_intl=
131125
 
+    nls_cv_header_libgt=
131126
 
+
131127
 
+    dnl For backward compatibility. Some Makefiles may be using this.
131128
 
+    DATADIRNAME=share
131129
 
+    AC_SUBST([DATADIRNAME])
131130
 
+
131131
 
+    dnl For backward compatibility. Some Makefiles may be using this.
131132
 
+    INSTOBJEXT=.mo
131133
 
+    AC_SUBST([INSTOBJEXT])
131134
 
+
131135
 
+    dnl For backward compatibility. Some Makefiles may be using this.
131136
 
+    GENCAT=gencat
131137
 
+    AC_SUBST([GENCAT])
131138
 
+
131139
 
+    dnl For backward compatibility. Some Makefiles may be using this.
131140
 
+    INTLOBJS=
131141
 
+    if test "$USE_INCLUDED_LIBINTL" = yes; then
131142
 
+      INTLOBJS="\$(GETTOBJS)"
131143
 
+    fi
131144
 
+    AC_SUBST([INTLOBJS])
131145
 
+
131146
 
+    dnl Enable libtool support if the surrounding package wishes it.
131147
 
+    INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
131148
 
+    AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX])
131149
 
+  ])
131150
 
+
131151
 
+  dnl For backward compatibility. Some Makefiles may be using this.
131152
 
+  INTLLIBS="$LIBINTL"
131153
 
+  AC_SUBST([INTLLIBS])
131154
 
+
131155
 
+  dnl Make all documented variables known to autoconf.
131156
 
+  AC_SUBST([LIBINTL])
131157
 
+  AC_SUBST([LTLIBINTL])
131158
 
+  AC_SUBST([POSUB])
131159
 
+])
131160
 
+m4trace:m4/gettext.m4:394: -1- AC_DEFUN([AM_GNU_GETTEXT_NEED], [
131161
 
+  m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"])
131162
 
+])
131163
 
+m4trace:m4/gettext.m4:401: -1- AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
131164
 
+m4trace:m4/gettime.m4:7: -1- AC_DEFUN([gl_GETTIME], [
131165
 
+  dnl Prerequisites of lib/gettime.c.
131166
 
+  AC_REQUIRE([gl_CLOCK_TIME])
131167
 
+  AC_REQUIRE([gl_TIMESPEC])
131168
 
+  AC_CHECK_FUNCS_ONCE([gettimeofday nanotime])
131169
 
+])
131170
 
+m4trace:m4/gettimeofday.m4:10: -1- AC_DEFUN([gl_FUNC_GETTIMEOFDAY], [
131171
 
+  AC_REQUIRE([AC_C_RESTRICT])
131172
 
+  AC_REQUIRE([gl_HEADER_SYS_TIME_H])
131173
 
+  AC_REQUIRE([gl_HEADER_SYS_TIME_H_DEFAULTS])
131174
 
+  AC_CHECK_FUNCS_ONCE([gettimeofday])
131175
 
+
131176
 
+  gl_gettimeofday_timezone=void
131177
 
+  if test $ac_cv_func_gettimeofday != yes; then
131178
 
+    HAVE_GETTIMEOFDAY=0
131179
 
+  else
131180
 
+    gl_FUNC_GETTIMEOFDAY_CLOBBER
131181
 
+    AC_CACHE_CHECK([for gettimeofday with POSIX signature],
131182
 
+      [gl_cv_func_gettimeofday_posix_signature],
131183
 
+      [AC_COMPILE_IFELSE(
131184
 
+         [AC_LANG_PROGRAM(
131185
 
+            [[#include <sys/time.h>
131186
 
+              struct timeval c;
131187
 
+              int gettimeofday (struct timeval *restrict, void *restrict);
131188
 
+            ]],
131189
 
+            [[/* glibc uses struct timezone * rather than the POSIX void *
131190
 
+                 if _GNU_SOURCE is defined.  However, since the only portable
131191
 
+                 use of gettimeofday uses NULL as the second parameter, and
131192
 
+                 since the glibc definition is actually more typesafe, it is
131193
 
+                 not worth wrapping this to get a compliant signature.  */
131194
 
+              int (*f) (struct timeval *restrict, void *restrict)
131195
 
+                = gettimeofday;
131196
 
+              int x = f (&c, 0);
131197
 
+              return !(x | c.tv_sec | c.tv_usec);
131198
 
+            ]])],
131199
 
+          [gl_cv_func_gettimeofday_posix_signature=yes],
131200
 
+          [AC_COMPILE_IFELSE(
131201
 
+            [AC_LANG_PROGRAM(
131202
 
+              [[#include <sys/time.h>
131203
 
+int gettimeofday (struct timeval *restrict, struct timezone *restrict);
131204
 
+              ]])],
131205
 
+            [gl_cv_func_gettimeofday_posix_signature=almost],
131206
 
+            [gl_cv_func_gettimeofday_posix_signature=no])])])
131207
 
+    if test $gl_cv_func_gettimeofday_posix_signature = almost; then
131208
 
+      gl_gettimeofday_timezone='struct timezone'
131209
 
+    elif test $gl_cv_func_gettimeofday_posix_signature != yes; then
131210
 
+      REPLACE_GETTIMEOFDAY=1
131211
 
+    fi
131212
 
+    m4_ifdef([gl_FUNC_TZSET_CLOBBER], [
131213
 
+      gl_FUNC_TZSET_CLOBBER
131214
 
+      if test $gl_cv_func_tzset_clobber = yes; then
131215
 
+        REPLACE_GETTIMEOFDAY=1
131216
 
+        gl_GETTIMEOFDAY_REPLACE_LOCALTIME
131217
 
+        AC_DEFINE([tzset], [rpl_tzset],
131218
 
+          [Define to rpl_tzset if the wrapper function should be used.])
131219
 
+        AC_DEFINE([TZSET_CLOBBERS_LOCALTIME], [1],
131220
 
+          [Define if tzset clobbers localtime's static buffer.])
131221
 
+      fi
131222
 
+    ])
131223
 
+  fi
131224
 
+  AC_DEFINE_UNQUOTED([GETTIMEOFDAY_TIMEZONE], [$gl_gettimeofday_timezone],
131225
 
+    [Define this to 'void' or 'struct timezone' to match the system's
131226
 
+     declaration of the second argument to gettimeofday.])
131227
 
+])
131228
 
+m4trace:m4/gettimeofday.m4:78: -1- AC_DEFUN([gl_FUNC_GETTIMEOFDAY_CLOBBER], [
131229
 
+ AC_REQUIRE([gl_HEADER_SYS_TIME_H])
131230
 
+
131231
 
+ AC_CACHE_CHECK([whether gettimeofday clobbers localtime buffer],
131232
 
+  [gl_cv_func_gettimeofday_clobber],
131233
 
+  [AC_RUN_IFELSE(
131234
 
+     [AC_LANG_PROGRAM(
131235
 
+        [[#include <string.h>
131236
 
+          #include <sys/time.h>
131237
 
+          #include <time.h>
131238
 
+          #include <stdlib.h>
131239
 
+        ]],
131240
 
+        [[
131241
 
+          time_t t = 0;
131242
 
+          struct tm *lt;
131243
 
+          struct tm saved_lt;
131244
 
+          struct timeval tv;
131245
 
+          lt = localtime (&t);
131246
 
+          saved_lt = *lt;
131247
 
+          gettimeofday (&tv, NULL);
131248
 
+          return memcmp (lt, &saved_lt, sizeof (struct tm)) != 0;
131249
 
+        ]])],
131250
 
+     [gl_cv_func_gettimeofday_clobber=no],
131251
 
+     [gl_cv_func_gettimeofday_clobber=yes],
131252
 
+     dnl When crosscompiling, assume it is broken.
131253
 
+     [gl_cv_func_gettimeofday_clobber=yes])])
131254
 
+
131255
 
+ if test $gl_cv_func_gettimeofday_clobber = yes; then
131256
 
+   REPLACE_GETTIMEOFDAY=1
131257
 
+   gl_GETTIMEOFDAY_REPLACE_LOCALTIME
131258
 
+   AC_DEFINE([GETTIMEOFDAY_CLOBBERS_LOCALTIME], [1],
131259
 
+     [Define if gettimeofday clobbers the localtime buffer.])
131260
 
+ fi
131261
 
+])
131262
 
+m4trace:m4/gettimeofday.m4:114: -1- AC_DEFUN([gl_GETTIMEOFDAY_REPLACE_LOCALTIME], [
131263
 
+  AC_DEFINE([gmtime], [rpl_gmtime],
131264
 
+    [Define to rpl_gmtime if the replacement function should be used.])
131265
 
+  AC_DEFINE([localtime], [rpl_localtime],
131266
 
+    [Define to rpl_localtime if the replacement function should be used.])
131267
 
+])
131268
 
+m4trace:m4/gettimeofday.m4:122: -1- AC_DEFUN([gl_PREREQ_GETTIMEOFDAY], [
131269
 
+  AC_CHECK_HEADERS([sys/timeb.h])
131270
 
+  AC_CHECK_FUNCS([_ftime])
131271
 
+])
131272
 
+m4trace:m4/getugroups.m4:8: -1- AC_DEFUN([gl_GETUGROUPS], [
131273
 
+  AC_CHECK_HEADERS_ONCE([grp.h])
131274
 
+])
131275
 
+m4trace:m4/getusershell.m4:7: -1- AC_DEFUN([gl_FUNC_GETUSERSHELL], [
131276
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
131277
 
+
131278
 
+  dnl Persuade glibc <unistd.h> to declare {get,set,end}usershell().
131279
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
131280
 
+
131281
 
+  dnl Check whether the getusershell function exists.
131282
 
+  AC_CHECK_FUNCS_ONCE([getusershell])
131283
 
+  if test $ac_cv_func_getusershell = yes; then
131284
 
+    HAVE_GETUSERSHELL=1
131285
 
+    dnl Check whether getusershell is declared.
131286
 
+    AC_CHECK_DECLS([getusershell])
131287
 
+    if test $ac_cv_have_decl_getusershell = no; then
131288
 
+      HAVE_DECL_GETUSERSHELL=0
131289
 
+    fi
131290
 
+  else
131291
 
+    HAVE_GETUSERSHELL=0
131292
 
+    dnl Assume that on platforms which declare it, the function exists.
131293
 
+    HAVE_DECL_GETUSERSHELL=0
131294
 
+  fi
131295
 
+])
131296
 
+m4trace:m4/glibc21.m4:11: -1- AC_DEFUN([gl_GLIBC21], [
131297
 
+    AC_CACHE_CHECK([whether we are using the GNU C Library >= 2.1 or uClibc],
131298
 
+      [ac_cv_gnu_library_2_1],
131299
 
+      [AC_EGREP_CPP([Lucky],
131300
 
+        [
131301
 
+#include <features.h>
131302
 
+#ifdef __GNU_LIBRARY__
131303
 
+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
131304
 
+  Lucky GNU user
131305
 
+ #endif
131306
 
+#endif
131307
 
+#ifdef __UCLIBC__
131308
 
+ Lucky user
131309
 
+#endif
131310
 
+        ],
131311
 
+        [ac_cv_gnu_library_2_1=yes],
131312
 
+        [ac_cv_gnu_library_2_1=no])
131313
 
+      ]
131314
 
+    )
131315
 
+    AC_SUBST([GLIBC21])
131316
 
+    GLIBC21="$ac_cv_gnu_library_2_1"
131317
 
+  
131318
 
+])
131319
 
+m4trace:m4/gmp.m4:13: -1- AC_DEFUN([cu_GMP], [
131320
 
+  LIB_GMP=
131321
 
+  AC_SUBST([LIB_GMP])
131322
 
+
131323
 
+  AC_ARG_WITH([gmp],
131324
 
+    AS_HELP_STRING([--without-gmp],
131325
 
+      [do not use the GNU MP library for arbitrary precision
131326
 
+       calculation (default: use it if available)]),
131327
 
+    [cu_use_gmp=$withval],
131328
 
+    [cu_use_gmp=auto])
131329
 
+
131330
 
+  if test $cu_use_gmp != no; then
131331
 
+    cu_saved_libs=$LIBS
131332
 
+    AC_SEARCH_LIBS([__gmpz_init], [gmp],
131333
 
+      [test "$ac_cv_search___gmpz_init" = "none required" ||
131334
 
+       {
131335
 
+        LIB_GMP=$ac_cv_search___gmpz_init
131336
 
+        AC_DEFINE([HAVE_GMP], [1],
131337
 
+          [Define if you have GNU libgmp (or replacement)])
131338
 
+       }],
131339
 
+      [AC_MSG_WARN([libgmp development library was not found or not usable.])
131340
 
+       AC_MSG_WARN([AC_PACKAGE_NAME will be built without GMP support.])])
131341
 
+    LIBS=$cu_saved_libs
131342
 
+  fi
131343
 
+])
131344
 
+m4trace:m4/gnu-make.m4:15: -1- AC_DEFUN([gl_GNU_MAKE], [
131345
 
+  AM_CONDITIONAL([GNU_MAKE],
131346
 
+    [${MAKE-make} --version /cannot/make/this >/dev/null 2>&1])
131347
 
+])
131348
 
+m4trace:m4/gnulib-common.m4:9: -1- AC_DEFUN([gl_COMMON], [
131349
 
+  dnl Use AC_REQUIRE here, so that the code is expanded once only.
131350
 
+  AC_REQUIRE([gl_00GNULIB])
131351
 
+  AC_REQUIRE([gl_COMMON_BODY])
131352
 
+])
131353
 
+m4trace:m4/gnulib-common.m4:14: -1- AC_DEFUN([gl_COMMON_BODY], [
131354
 
+  AH_VERBATIM([_Noreturn],
131355
 
+[/* The _Noreturn keyword of draft C1X.  */
131356
 
+#ifndef _Noreturn
131357
 
+# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \
131358
 
+      || 0x5110 <= __SUNPRO_C)
131359
 
+#  define _Noreturn __attribute__ ((__noreturn__))
131360
 
+# elif 1200 <= _MSC_VER
131361
 
+#  define _Noreturn __declspec (noreturn)
131362
 
+# else
131363
 
+#  define _Noreturn
131364
 
+# endif
131365
 
+#endif
131366
 
+])
131367
 
+  AH_VERBATIM([isoc99_inline],
131368
 
+[/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
131369
 
+   the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
131370
 
+   earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
131371
 
+   __APPLE__ && __MACH__ test for MacOS X.
131372
 
+   __APPLE_CC__ tests for the Apple compiler and its version.
131373
 
+   __STDC_VERSION__ tests for the C99 mode.  */
131374
 
+#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
131375
 
+# define __GNUC_STDC_INLINE__ 1
131376
 
+#endif])
131377
 
+  AH_VERBATIM([unused_parameter],
131378
 
+[/* Define as a marker that can be attached to declarations that might not
131379
 
+    be used.  This helps to reduce warnings, such as from
131380
 
+    GCC -Wunused-parameter.  */
131381
 
+#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
131382
 
+# define _GL_UNUSED __attribute__ ((__unused__))
131383
 
+#else
131384
 
+# define _GL_UNUSED
131385
 
+#endif
131386
 
+/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
131387
 
+   is a misnomer outside of parameter lists.  */
131388
 
+#define _UNUSED_PARAMETER_ _GL_UNUSED
131389
 
+
131390
 
+/* The __pure__ attribute was added in gcc 2.96.  */
131391
 
+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
131392
 
+# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
131393
 
+#else
131394
 
+# define _GL_ATTRIBUTE_PURE /* empty */
131395
 
+#endif
131396
 
+
131397
 
+/* The __const__ attribute was added in gcc 2.95.  */
131398
 
+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
131399
 
+# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
131400
 
+#else
131401
 
+# define _GL_ATTRIBUTE_CONST /* empty */
131402
 
+#endif
131403
 
+])
131404
 
+  dnl Preparation for running test programs:
131405
 
+  dnl Tell glibc to write diagnostics from -D_FORTIFY_SOURCE=2 to stderr, not
131406
 
+  dnl to /dev/tty, so they can be redirected to log files.  Such diagnostics
131407
 
+  dnl arise e.g., in the macros gl_PRINTF_DIRECTIVE_N, gl_SNPRINTF_DIRECTIVE_N.
131408
 
+  LIBC_FATAL_STDERR_=1
131409
 
+  export LIBC_FATAL_STDERR_
131410
 
+])
131411
 
+m4trace:m4/gnulib-common.m4:82: -1- AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE], [
131412
 
+  gl_MODULE_INDICATOR_SET_VARIABLE_AUX(
131413
 
+    [GNULIB_[]m4_translit([[$1]],
131414
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
131415
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])],
131416
 
+    [gl_MODULE_INDICATOR_CONDITION])
131417
 
+])
131418
 
+m4trace:m4/gnulib-common.m4:95: -1- AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE_AUX], [
131419
 
+  m4_if(m4_defn([gl_MODULE_INDICATOR_CONDITION]), [1],
131420
 
+    [
131421
 
+     dnl Simplify the expression VALUE || 1 to 1.
131422
 
+     $1=1
131423
 
+    ],
131424
 
+    [gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([$1],
131425
 
+                                             [gl_MODULE_INDICATOR_CONDITION])])
131426
 
+])
131427
 
+m4trace:m4/gnulib-common.m4:109: -1- AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR], [
131428
 
+  dnl Simplify the expression 1 || CONDITION to 1.
131429
 
+  if test "$[]$1" != 1; then
131430
 
+    dnl Simplify the expression 0 || CONDITION to CONDITION.
131431
 
+    if test "$[]$1" = 0; then
131432
 
+      $1=$2
131433
 
+    else
131434
 
+      $1="($[]$1 || $2)"
131435
 
+    fi
131436
 
+  fi
131437
 
+])
131438
 
+m4trace:m4/gnulib-common.m4:134: -1- AC_DEFUN([gl_MODULE_INDICATOR], [
131439
 
+  AC_DEFINE_UNQUOTED([GNULIB_]m4_translit([[$1]],
131440
 
+      [abcdefghijklmnopqrstuvwxyz./-],
131441
 
+      [ABCDEFGHIJKLMNOPQRSTUVWXYZ___]),
131442
 
+    [gl_MODULE_INDICATOR_CONDITION],
131443
 
+    [Define to a C preprocessor expression that evaluates to 1 or 0,
131444
 
+     depending whether the gnulib module $1 shall be considered present.])
131445
 
+])
131446
 
+m4trace:m4/gnulib-common.m4:157: -1- AC_DEFUN([gl_MODULE_INDICATOR_FOR_TESTS], [
131447
 
+  AC_DEFINE([GNULIB_TEST_]m4_translit([[$1]],
131448
 
+      [abcdefghijklmnopqrstuvwxyz./-],
131449
 
+      [ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), [1],
131450
 
+    [Define to 1 when the gnulib module $1 should be tested.])
131451
 
+])
131452
 
+m4trace:m4/gnulib-common.m4:169: -1- AC_DEFUN([gl_ASSERT_NO_GNULIB_POSIXCHECK], [
131453
 
+  dnl Override gl_WARN_ON_USE_PREPARE.
131454
 
+  dnl But hide this definition from 'aclocal'.
131455
 
+  AC_DEFUN([gl_W][ARN_ON_USE_PREPARE], [])
131456
 
+])
131457
 
+m4trace:m4/gnulib-common.m4:180: -1- AC_DEFUN([gl_ASSERT_NO_GNULIB_TESTS], [
131458
 
+  dnl Override gl_MODULE_INDICATOR_FOR_TESTS.
131459
 
+  AC_DEFUN([gl_MODULE_INDICATOR_FOR_TESTS], [])
131460
 
+])
131461
 
+m4trace:m4/gnulib-common.m4:188: -1- AC_DEFUN([gl_FEATURES_H], [
131462
 
+  AC_CHECK_HEADERS_ONCE([features.h])
131463
 
+  if test $ac_cv_header_features_h = yes; then
131464
 
+    HAVE_FEATURES_H=1
131465
 
+  else
131466
 
+    HAVE_FEATURES_H=0
131467
 
+  fi
131468
 
+  AC_SUBST([HAVE_FEATURES_H])
131469
 
+])
131470
 
+m4trace:m4/gnulib-common.m4:218: -1- AC_DEFUN([gl_PROG_AR_RANLIB], [
131471
 
+  dnl Minix 3 comes with two toolchains: The Amsterdam Compiler Kit compiler
131472
 
+  dnl as "cc", and GCC as "gcc". They have different object file formats and
131473
 
+  dnl library formats. In particular, the GNU binutils programs ar, ranlib
131474
 
+  dnl produce libraries that work only with gcc, not with cc.
131475
 
+  AC_REQUIRE([AC_PROG_CC])
131476
 
+  AC_CACHE_CHECK([for Minix Amsterdam compiler], [gl_cv_c_amsterdam_compiler],
131477
 
+    [
131478
 
+      AC_EGREP_CPP([Amsterdam],
131479
 
+        [
131480
 
+#ifdef __ACK__
131481
 
+Amsterdam
131482
 
+#endif
131483
 
+        ],
131484
 
+        [gl_cv_c_amsterdam_compiler=yes],
131485
 
+        [gl_cv_c_amsterdam_compiler=no])
131486
 
+    ])
131487
 
+  if test -z "$AR"; then
131488
 
+    if test $gl_cv_c_amsterdam_compiler = yes; then
131489
 
+      AR='cc -c.a'
131490
 
+      if test -z "$ARFLAGS"; then
131491
 
+        ARFLAGS='-o'
131492
 
+      fi
131493
 
+    else
131494
 
+      dnl Use the Automake-documented default values for AR and ARFLAGS,
131495
 
+      dnl but prefer ${host}-ar over ar (useful for cross-compiling).
131496
 
+      AC_CHECK_TOOL([AR], [ar], [ar])
131497
 
+      if test -z "$ARFLAGS"; then
131498
 
+        ARFLAGS='cru'
131499
 
+      fi
131500
 
+    fi
131501
 
+  else
131502
 
+    if test -z "$ARFLAGS"; then
131503
 
+      ARFLAGS='cru'
131504
 
+    fi
131505
 
+  fi
131506
 
+  AC_SUBST([AR])
131507
 
+  AC_SUBST([ARFLAGS])
131508
 
+  if test -z "$RANLIB"; then
131509
 
+    if test $gl_cv_c_amsterdam_compiler = yes; then
131510
 
+      RANLIB=':'
131511
 
+    else
131512
 
+      dnl Use the ranlib program if it is available.
131513
 
+      AC_PROG_RANLIB
131514
 
+    fi
131515
 
+  fi
131516
 
+  AC_SUBST([RANLIB])
131517
 
+])
131518
 
+m4trace:m4/gnulib-common.m4:333: -1- AC_DEFUN([gl_BIGENDIAN], [
131519
 
+  AC_C_BIGENDIAN
131520
 
+])
131521
 
+m4trace:m4/gnulib-common.m4:343: -1- AC_DEFUN([gl_CACHE_VAL_SILENT], [
131522
 
+  saved_as_echo_n="$as_echo_n"
131523
 
+  as_echo_n=':'
131524
 
+  AC_CACHE_VAL([$1], [$2])
131525
 
+  as_echo_n="$saved_as_echo_n"
131526
 
+])
131527
 
+m4trace:m4/gnulib-comp.m4:24: -1- AC_DEFUN([gl_EARLY], [
131528
 
+  m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
131529
 
+  m4_pattern_allow([^gl_ES$])dnl a valid locale name
131530
 
+  m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
131531
 
+  m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
131532
 
+  AC_REQUIRE([gl_PROG_AR_RANLIB])
131533
 
+  AC_REQUIRE([AM_PROG_CC_C_O])
131534
 
+  # Code from module accept:
131535
 
+  # Code from module acl:
131536
 
+  # Code from module acl-tests:
131537
 
+  # Code from module alignof:
131538
 
+  # Code from module alignof-tests:
131539
 
+  # Code from module alloca:
131540
 
+  # Code from module alloca-opt:
131541
 
+  # Code from module alloca-opt-tests:
131542
 
+  # Code from module allocator:
131543
 
+  # Code from module announce-gen:
131544
 
+  # Code from module areadlink:
131545
 
+  # Code from module areadlink-tests:
131546
 
+  # Code from module areadlink-with-size:
131547
 
+  # Code from module areadlink-with-size-tests:
131548
 
+  # Code from module areadlinkat:
131549
 
+  # Code from module areadlinkat-tests:
131550
 
+  # Code from module argmatch:
131551
 
+  # Code from module argmatch-tests:
131552
 
+  # Code from module argv-iter:
131553
 
+  # Code from module argv-iter-tests:
131554
 
+  # Code from module arpa_inet:
131555
 
+  # Code from module arpa_inet-tests:
131556
 
+  # Code from module assert:
131557
 
+  # Code from module autobuild:
131558
 
+  AB_INIT
131559
 
+  # Code from module backupfile:
131560
 
+  # Code from module base64:
131561
 
+  # Code from module base64-tests:
131562
 
+  # Code from module binary-io:
131563
 
+  # Code from module binary-io-tests:
131564
 
+  # Code from module bind:
131565
 
+  # Code from module bitrotate:
131566
 
+  # Code from module bitrotate-tests:
131567
 
+  # Code from module btowc:
131568
 
+  # Code from module btowc-tests:
131569
 
+  # Code from module c-ctype:
131570
 
+  # Code from module c-ctype-tests:
131571
 
+  # Code from module c-strcase:
131572
 
+  # Code from module c-strcase-tests:
131573
 
+  # Code from module c-strtod:
131574
 
+  # Code from module c-strtold:
131575
 
+  # Code from module calloc-gnu:
131576
 
+  # Code from module calloc-gnu-tests:
131577
 
+  # Code from module calloc-posix:
131578
 
+  # Code from module canon-host:
131579
 
+  # Code from module canonicalize:
131580
 
+  # Code from module canonicalize-tests:
131581
 
+  # Code from module careadlinkat:
131582
 
+  # Code from module chdir-long:
131583
 
+  # Code from module chown:
131584
 
+  # Code from module chown-tests:
131585
 
+  # Code from module clock-time:
131586
 
+  # Code from module cloexec:
131587
 
+  # Code from module cloexec-tests:
131588
 
+  # Code from module close:
131589
 
+  # Code from module close-stream:
131590
 
+  # Code from module closein:
131591
 
+  # Code from module closein-tests:
131592
 
+  # Code from module closeout:
131593
 
+  # Code from module config-h:
131594
 
+  # Code from module configmake:
131595
 
+  # Code from module connect:
131596
 
+  # Code from module crypto/md5:
131597
 
+  # Code from module crypto/md5-tests:
131598
 
+  # Code from module crypto/sha1:
131599
 
+  # Code from module crypto/sha1-tests:
131600
 
+  # Code from module crypto/sha256:
131601
 
+  # Code from module crypto/sha512:
131602
 
+  # Code from module ctype:
131603
 
+  # Code from module ctype-tests:
131604
 
+  # Code from module cycle-check:
131605
 
+  # Code from module d-ino:
131606
 
+  # Code from module d-type:
131607
 
+  # Code from module dev-ino:
131608
 
+  # Code from module di-set:
131609
 
+  # Code from module di-set-tests:
131610
 
+  # Code from module diacrit:
131611
 
+  # Code from module dirent:
131612
 
+  # Code from module dirent-safer:
131613
 
+  # Code from module dirent-safer-tests:
131614
 
+  # Code from module dirent-tests:
131615
 
+  # Code from module dirfd:
131616
 
+  # Code from module dirname:
131617
 
+  # Code from module dirname-lgpl:
131618
 
+  # Code from module dirname-tests:
131619
 
+  # Code from module do-release-commit-and-tag:
131620
 
+  # Code from module dosname:
131621
 
+  # Code from module double-slash-root:
131622
 
+  # Code from module dtoastr:
131623
 
+  # Code from module dtotimespec:
131624
 
+  # Code from module dup2:
131625
 
+  # Code from module dup2-tests:
131626
 
+  # Code from module environ:
131627
 
+  # Code from module environ-tests:
131628
 
+  # Code from module errno:
131629
 
+  # Code from module errno-tests:
131630
 
+  # Code from module error:
131631
 
+  # Code from module euidaccess:
131632
 
+  # Code from module exclude:
131633
 
+  # Code from module exclude-tests:
131634
 
+  # Code from module exitfail:
131635
 
+  # Code from module extensions:
131636
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
131637
 
+  # Code from module faccessat:
131638
 
+  # Code from module fadvise:
131639
 
+  # Code from module fadvise-tests:
131640
 
+  # Code from module fchdir:
131641
 
+  # Code from module fchdir-tests:
131642
 
+  # Code from module fclose:
131643
 
+  # Code from module fclose-tests:
131644
 
+  # Code from module fcntl:
131645
 
+  # Code from module fcntl-h:
131646
 
+  # Code from module fcntl-h-tests:
131647
 
+  # Code from module fcntl-safer:
131648
 
+  # Code from module fcntl-safer-tests:
131649
 
+  # Code from module fcntl-tests:
131650
 
+  # Code from module fd-hook:
131651
 
+  # Code from module fd-safer-flag:
131652
 
+  # Code from module fdl:
131653
 
+  # Code from module fdopendir:
131654
 
+  # Code from module fdopendir-tests:
131655
 
+  # Code from module fdutimensat:
131656
 
+  # Code from module fdutimensat-tests:
131657
 
+  # Code from module fflush:
131658
 
+  AC_REQUIRE([AC_FUNC_FSEEKO])
131659
 
+  # Code from module fflush-tests:
131660
 
+  # Code from module file-set:
131661
 
+  # Code from module file-type:
131662
 
+  # Code from module fileblocks:
131663
 
+  # Code from module filemode:
131664
 
+  # Code from module filenamecat:
131665
 
+  # Code from module filenamecat-lgpl:
131666
 
+  # Code from module filenamecat-tests:
131667
 
+  # Code from module filevercmp:
131668
 
+  # Code from module filevercmp-tests:
131669
 
+  # Code from module flexmember:
131670
 
+  # Code from module float:
131671
 
+  # Code from module float-tests:
131672
 
+  # Code from module fnmatch:
131673
 
+  # Code from module fnmatch-gnu:
131674
 
+  # Code from module fnmatch-tests:
131675
 
+  # Code from module fopen:
131676
 
+  # Code from module fopen-safer:
131677
 
+  # Code from module fopen-safer-tests:
131678
 
+  # Code from module fopen-tests:
131679
 
+  # Code from module fpending:
131680
 
+  # Code from module fpending-tests:
131681
 
+  # Code from module fpieee:
131682
 
+  AC_REQUIRE([gl_FP_IEEE])
131683
 
+  # Code from module fprintftime:
131684
 
+  # Code from module fpucw:
131685
 
+  # Code from module fpurge:
131686
 
+  # Code from module fpurge-tests:
131687
 
+  # Code from module freadahead:
131688
 
+  # Code from module freadahead-tests:
131689
 
+  # Code from module freading:
131690
 
+  # Code from module freading-tests:
131691
 
+  # Code from module freadptr:
131692
 
+  # Code from module freadptr-tests:
131693
 
+  # Code from module freadseek:
131694
 
+  # Code from module freadseek-tests:
131695
 
+  # Code from module freopen:
131696
 
+  # Code from module freopen-safer:
131697
 
+  # Code from module freopen-safer-tests:
131698
 
+  # Code from module freopen-tests:
131699
 
+  # Code from module frexp-nolibm:
131700
 
+  # Code from module frexp-nolibm-tests:
131701
 
+  # Code from module frexpl-nolibm:
131702
 
+  # Code from module frexpl-nolibm-tests:
131703
 
+  # Code from module fseek:
131704
 
+  # Code from module fseek-tests:
131705
 
+  # Code from module fseeko:
131706
 
+  AC_REQUIRE([AC_FUNC_FSEEKO])
131707
 
+  # Code from module fseeko-tests:
131708
 
+  # Code from module fseterr:
131709
 
+  # Code from module fseterr-tests:
131710
 
+  # Code from module fsusage:
131711
 
+  # Code from module fsync:
131712
 
+  # Code from module fsync-tests:
131713
 
+  # Code from module ftell:
131714
 
+  # Code from module ftell-tests:
131715
 
+  # Code from module ftello:
131716
 
+  AC_REQUIRE([AC_FUNC_FSEEKO])
131717
 
+  # Code from module ftello-tests:
131718
 
+  # Code from module ftoastr:
131719
 
+  # Code from module fts:
131720
 
+  # Code from module full-read:
131721
 
+  # Code from module full-write:
131722
 
+  # Code from module futimens:
131723
 
+  # Code from module futimens-tests:
131724
 
+  # Code from module gendocs:
131725
 
+  # Code from module getaddrinfo:
131726
 
+  # Code from module getaddrinfo-tests:
131727
 
+  # Code from module getcwd:
131728
 
+  # Code from module getcwd-lgpl:
131729
 
+  # Code from module getcwd-lgpl-tests:
131730
 
+  # Code from module getcwd-tests:
131731
 
+  # Code from module getdelim:
131732
 
+  # Code from module getdelim-tests:
131733
 
+  # Code from module getdtablesize:
131734
 
+  # Code from module getdtablesize-tests:
131735
 
+  # Code from module getgroups:
131736
 
+  # Code from module getgroups-tests:
131737
 
+  # Code from module gethostname:
131738
 
+  # Code from module gethostname-tests:
131739
 
+  # Code from module gethrxtime:
131740
 
+  # Code from module getline:
131741
 
+  # Code from module getline-tests:
131742
 
+  # Code from module getloadavg:
131743
 
+  # Code from module getloadavg-tests:
131744
 
+  # Code from module getndelim2:
131745
 
+  # Code from module getndelim2-tests:
131746
 
+  # Code from module getopt-gnu:
131747
 
+  # Code from module getopt-posix:
131748
 
+  # Code from module getopt-posix-tests:
131749
 
+  # Code from module getpagesize:
131750
 
+  # Code from module getpass-gnu:
131751
 
+  # Code from module gettext:
131752
 
+  # Code from module gettext-h:
131753
 
+  # Code from module gettime:
131754
 
+  # Code from module gettimeofday:
131755
 
+  # Code from module gettimeofday-tests:
131756
 
+  # Code from module getugroups:
131757
 
+  # Code from module getusershell:
131758
 
+  # Code from module git-version-gen:
131759
 
+  # Code from module gitlog-to-changelog:
131760
 
+  # Code from module gnu-make:
131761
 
+  # Code from module gnu-web-doc-update:
131762
 
+  # Code from module gnumakefile:
131763
 
+  # Code from module gnupload:
131764
 
+  # Code from module gperf:
131765
 
+  # Code from module group-member:
131766
 
+  # Code from module hard-locale:
131767
 
+  # Code from module hash:
131768
 
+  # Code from module hash-pjw:
131769
 
+  # Code from module hash-tests:
131770
 
+  # Code from module hash-triple:
131771
 
+  # Code from module havelib:
131772
 
+  # Code from module heap:
131773
 
+  # Code from module host-os:
131774
 
+  # Code from module hostent:
131775
 
+  # Code from module human:
131776
 
+  # Code from module i-ring:
131777
 
+  # Code from module i-ring-tests:
131778
 
+  # Code from module iconv:
131779
 
+  # Code from module iconv-h:
131780
 
+  # Code from module iconv-h-tests:
131781
 
+  # Code from module iconv-tests:
131782
 
+  # Code from module iconv_open:
131783
 
+  # Code from module idcache:
131784
 
+  # Code from module ignore-value:
131785
 
+  # Code from module ignore-value-tests:
131786
 
+  # Code from module include_next:
131787
 
+  # Code from module inet_ntop:
131788
 
+  # Code from module inet_ntop-tests:
131789
 
+  # Code from module inet_pton:
131790
 
+  # Code from module inet_pton-tests:
131791
 
+  # Code from module inline:
131792
 
+  # Code from module ino-map:
131793
 
+  # Code from module ino-map-tests:
131794
 
+  # Code from module intprops:
131795
 
+  # Code from module intprops-tests:
131796
 
+  # Code from module inttostr:
131797
 
+  # Code from module inttostr-tests:
131798
 
+  # Code from module inttypes:
131799
 
+  # Code from module inttypes-incomplete:
131800
 
+  # Code from module inttypes-tests:
131801
 
+  # Code from module ioctl:
131802
 
+  # Code from module isapipe:
131803
 
+  # Code from module isblank:
131804
 
+  # Code from module isblank-tests:
131805
 
+  # Code from module isnand-nolibm:
131806
 
+  # Code from module isnand-nolibm-tests:
131807
 
+  # Code from module isnanf-nolibm:
131808
 
+  # Code from module isnanf-nolibm-tests:
131809
 
+  # Code from module isnanl-nolibm:
131810
 
+  # Code from module isnanl-nolibm-tests:
131811
 
+  # Code from module iswblank:
131812
 
+  # Code from module iswblank-tests:
131813
 
+  # Code from module langinfo:
131814
 
+  # Code from module langinfo-tests:
131815
 
+  # Code from module largefile:
131816
 
+  AC_REQUIRE([AC_SYS_LARGEFILE])
131817
 
+  # Code from module lchmod:
131818
 
+  # Code from module lchown:
131819
 
+  # Code from module lchown-tests:
131820
 
+  # Code from module ldtoastr:
131821
 
+  # Code from module lib-ignore:
131822
 
+  # Code from module linebuffer:
131823
 
+  # Code from module link:
131824
 
+  # Code from module link-follow:
131825
 
+  # Code from module link-tests:
131826
 
+  # Code from module linkat:
131827
 
+  # Code from module linkat-tests:
131828
 
+  # Code from module listen:
131829
 
+  # Code from module localcharset:
131830
 
+  # Code from module locale:
131831
 
+  # Code from module locale-tests:
131832
 
+  # Code from module localename:
131833
 
+  # Code from module localename-tests:
131834
 
+  # Code from module lock:
131835
 
+  # Code from module lock-tests:
131836
 
+  # Code from module long-options:
131837
 
+  # Code from module lseek:
131838
 
+  # Code from module lseek-tests:
131839
 
+  # Code from module lstat:
131840
 
+  # Code from module lstat-tests:
131841
 
+  # Code from module maintainer-makefile:
131842
 
+  # Code from module malloc-gnu:
131843
 
+  # Code from module malloc-gnu-tests:
131844
 
+  # Code from module malloc-posix:
131845
 
+  # Code from module malloca:
131846
 
+  # Code from module malloca-tests:
131847
 
+  # Code from module manywarnings:
131848
 
+  # Code from module math:
131849
 
+  # Code from module math-tests:
131850
 
+  # Code from module mbchar:
131851
 
+  # Code from module mbiter:
131852
 
+  # Code from module mbrlen:
131853
 
+  # Code from module mbrtowc:
131854
 
+  # Code from module mbrtowc-tests:
131855
 
+  # Code from module mbsalign:
131856
 
+  # Code from module mbsalign-tests:
131857
 
+  # Code from module mbscasecmp:
131858
 
+  # Code from module mbscasecmp-tests:
131859
 
+  # Code from module mbsinit:
131860
 
+  # Code from module mbsinit-tests:
131861
 
+  # Code from module mbslen:
131862
 
+  # Code from module mbsrtowcs:
131863
 
+  # Code from module mbsrtowcs-tests:
131864
 
+  # Code from module mbsstr:
131865
 
+  # Code from module mbsstr-tests:
131866
 
+  # Code from module mbswidth:
131867
 
+  # Code from module mbtowc:
131868
 
+  # Code from module mbuiter:
131869
 
+  # Code from module memcasecmp:
131870
 
+  # Code from module memcasecmp-tests:
131871
 
+  # Code from module memchr:
131872
 
+  # Code from module memchr-tests:
131873
 
+  # Code from module memchr2:
131874
 
+  # Code from module memchr2-tests:
131875
 
+  # Code from module memcmp2:
131876
 
+  # Code from module memcoll:
131877
 
+  # Code from module memcoll-tests:
131878
 
+  # Code from module mempcpy:
131879
 
+  # Code from module memrchr:
131880
 
+  # Code from module memrchr-tests:
131881
 
+  # Code from module mgetgroups:
131882
 
+  # Code from module mkancesdirs:
131883
 
+  # Code from module mkdir:
131884
 
+  # Code from module mkdir-p:
131885
 
+  # Code from module mkdir-tests:
131886
 
+  # Code from module mkstemp:
131887
 
+  # Code from module mktime:
131888
 
+  # Code from module modechange:
131889
 
+  # Code from module mountlist:
131890
 
+  # Code from module mpsort:
131891
 
+  # Code from module multiarch:
131892
 
+  # Code from module nanosleep:
131893
 
+  # Code from module nanosleep-tests:
131894
 
+  # Code from module netdb:
131895
 
+  # Code from module netdb-tests:
131896
 
+  # Code from module netinet_in:
131897
 
+  # Code from module netinet_in-tests:
131898
 
+  # Code from module nl_langinfo:
131899
 
+  # Code from module nl_langinfo-tests:
131900
 
+  # Code from module nocrash:
131901
 
+  # Code from module nproc:
131902
 
+  # Code from module obstack:
131903
 
+  # Code from module open:
131904
 
+  # Code from module open-tests:
131905
 
+  # Code from module openat:
131906
 
+  # Code from module openat-die:
131907
 
+  # Code from module openat-safer:
131908
 
+  # Code from module openat-safer-tests:
131909
 
+  # Code from module openat-tests:
131910
 
+  # Code from module parse-datetime:
131911
 
+  # Code from module parse-datetime-tests:
131912
 
+  # Code from module pathmax:
131913
 
+  # Code from module pathmax-tests:
131914
 
+  # Code from module perl:
131915
 
+  # Code from module perror:
131916
 
+  # Code from module perror-tests:
131917
 
+  # Code from module physmem:
131918
 
+  # Code from module pipe-posix:
131919
 
+  # Code from module pipe-posix-tests:
131920
 
+  # Code from module posix-shell:
131921
 
+  # Code from module posixtm:
131922
 
+  # Code from module posixtm-tests:
131923
 
+  # Code from module posixver:
131924
 
+  # Code from module printf-frexp:
131925
 
+  # Code from module printf-frexp-tests:
131926
 
+  # Code from module printf-frexpl:
131927
 
+  # Code from module printf-frexpl-tests:
131928
 
+  # Code from module printf-safe:
131929
 
+  # Code from module priv-set:
131930
 
+  # Code from module priv-set-tests:
131931
 
+  # Code from module progname:
131932
 
+  # Code from module propername:
131933
 
+  # Code from module pthread:
131934
 
+  # Code from module putenv:
131935
 
+  # Code from module quote:
131936
 
+  # Code from module quotearg:
131937
 
+  # Code from module quotearg-simple:
131938
 
+  # Code from module quotearg-simple-tests:
131939
 
+  # Code from module randint:
131940
 
+  # Code from module randperm:
131941
 
+  # Code from module randread:
131942
 
+  # Code from module randread-tests:
131943
 
+  # Code from module read:
131944
 
+  # Code from module read-file:
131945
 
+  # Code from module read-file-tests:
131946
 
+  # Code from module readlink:
131947
 
+  # Code from module readlink-tests:
131948
 
+  # Code from module readlinkat:
131949
 
+  # Code from module readlinkat-tests:
131950
 
+  # Code from module readtokens:
131951
 
+  # Code from module readtokens0:
131952
 
+  # Code from module readutmp:
131953
 
+  # Code from module realloc-gnu:
131954
 
+  # Code from module realloc-gnu-tests:
131955
 
+  # Code from module realloc-posix:
131956
 
+  # Code from module regex:
131957
 
+  # Code from module remove:
131958
 
+  # Code from module remove-tests:
131959
 
+  # Code from module rename:
131960
 
+  # Code from module rename-tests:
131961
 
+  # Code from module rmdir:
131962
 
+  # Code from module rmdir-tests:
131963
 
+  # Code from module root-dev-ino:
131964
 
+  # Code from module rpmatch:
131965
 
+  # Code from module safe-read:
131966
 
+  # Code from module safe-write:
131967
 
+  # Code from module same:
131968
 
+  # Code from module same-inode:
131969
 
+  # Code from module save-cwd:
131970
 
+  # Code from module savedir:
131971
 
+  # Code from module savewd:
131972
 
+  # Code from module sched:
131973
 
+  # Code from module sched-tests:
131974
 
+  # Code from module select:
131975
 
+  # Code from module select-tests:
131976
 
+  # Code from module selinux-at:
131977
 
+  # Code from module selinux-h:
131978
 
+  # Code from module servent:
131979
 
+  # Code from module setenv:
131980
 
+  # Code from module setenv-tests:
131981
 
+  # Code from module setlocale:
131982
 
+  # Code from module setlocale-tests:
131983
 
+  # Code from module setsockopt:
131984
 
+  # Code from module settime:
131985
 
+  # Code from module sig2str:
131986
 
+  # Code from module sigaction:
131987
 
+  # Code from module sigaction-tests:
131988
 
+  # Code from module signal:
131989
 
+  # Code from module signal-tests:
131990
 
+  # Code from module signbit:
131991
 
+  # Code from module signbit-tests:
131992
 
+  # Code from module sigprocmask:
131993
 
+  # Code from module sigprocmask-tests:
131994
 
+  # Code from module size_max:
131995
 
+  # Code from module sleep:
131996
 
+  # Code from module sleep-tests:
131997
 
+  # Code from module snippet/_Noreturn:
131998
 
+  # Code from module snippet/arg-nonnull:
131999
 
+  # Code from module snippet/c++defs:
132000
 
+  # Code from module snippet/unused-parameter:
132001
 
+  # Code from module snippet/warn-on-use:
132002
 
+  # Code from module snprintf:
132003
 
+  # Code from module snprintf-tests:
132004
 
+  # Code from module socket:
132005
 
+  # Code from module socketlib:
132006
 
+  # Code from module sockets:
132007
 
+  # Code from module sockets-tests:
132008
 
+  # Code from module socklen:
132009
 
+  # Code from module ssize_t:
132010
 
+  # Code from module stat:
132011
 
+  # Code from module stat-macros:
132012
 
+  # Code from module stat-size:
132013
 
+  # Code from module stat-tests:
132014
 
+  # Code from module stat-time:
132015
 
+  # Code from module stat-time-tests:
132016
 
+  # Code from module stdarg:
132017
 
+  dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
132018
 
+  dnl for the builtin va_copy to work.  With Autoconf 2.60 or later,
132019
 
+  dnl AC_PROG_CC_STDC arranges for this.  With older Autoconf AC_PROG_CC_STDC
132020
 
+  dnl shouldn't hurt, though installers are on their own to set c99 mode.
132021
 
+  AC_REQUIRE([AC_PROG_CC_STDC])
132022
 
+  # Code from module stdbool:
132023
 
+  # Code from module stdbool-tests:
132024
 
+  # Code from module stddef:
132025
 
+  # Code from module stddef-tests:
132026
 
+  # Code from module stdint:
132027
 
+  # Code from module stdint-tests:
132028
 
+  # Code from module stdio:
132029
 
+  # Code from module stdio-tests:
132030
 
+  # Code from module stdlib:
132031
 
+  # Code from module stdlib-safer:
132032
 
+  # Code from module stdlib-tests:
132033
 
+  # Code from module stpcpy:
132034
 
+  # Code from module stpncpy:
132035
 
+  # Code from module strdup-posix:
132036
 
+  # Code from module streq:
132037
 
+  # Code from module strerror:
132038
 
+  # Code from module strerror-override:
132039
 
+  # Code from module strerror-tests:
132040
 
+  # Code from module strerror_r-posix:
132041
 
+  # Code from module strerror_r-posix-tests:
132042
 
+  # Code from module strftime:
132043
 
+  # Code from module strftime-tests:
132044
 
+  # Code from module striconv:
132045
 
+  # Code from module striconv-tests:
132046
 
+  # Code from module string:
132047
 
+  # Code from module string-tests:
132048
 
+  # Code from module strndup:
132049
 
+  # Code from module strnlen:
132050
 
+  # Code from module strnlen-tests:
132051
 
+  # Code from module strnlen1:
132052
 
+  # Code from module strsignal:
132053
 
+  # Code from module strsignal-tests:
132054
 
+  # Code from module strstr-simple:
132055
 
+  # Code from module strtod:
132056
 
+  # Code from module strtod-tests:
132057
 
+  # Code from module strtoimax:
132058
 
+  # Code from module strtoimax-tests:
132059
 
+  # Code from module strtoll:
132060
 
+  # Code from module strtoull:
132061
 
+  # Code from module strtoumax:
132062
 
+  # Code from module strtoumax-tests:
132063
 
+  # Code from module symlink:
132064
 
+  # Code from module symlink-tests:
132065
 
+  # Code from module symlinkat:
132066
 
+  # Code from module symlinkat-tests:
132067
 
+  # Code from module sys_ioctl:
132068
 
+  # Code from module sys_ioctl-tests:
132069
 
+  # Code from module sys_select:
132070
 
+  # Code from module sys_select-tests:
132071
 
+  # Code from module sys_socket:
132072
 
+  # Code from module sys_socket-tests:
132073
 
+  # Code from module sys_stat:
132074
 
+  # Code from module sys_stat-tests:
132075
 
+  # Code from module sys_time:
132076
 
+  # Code from module sys_time-tests:
132077
 
+  # Code from module sys_uio:
132078
 
+  # Code from module sys_uio-tests:
132079
 
+  # Code from module sys_utsname:
132080
 
+  # Code from module sys_utsname-tests:
132081
 
+  # Code from module sys_wait:
132082
 
+  # Code from module sys_wait-tests:
132083
 
+  # Code from module tempname:
132084
 
+  # Code from module termios:
132085
 
+  # Code from module termios-tests:
132086
 
+  # Code from module thread:
132087
 
+  # Code from module thread-tests:
132088
 
+  # Code from module threadlib:
132089
 
+  gl_THREADLIB_EARLY
132090
 
+  # Code from module time:
132091
 
+  # Code from module time-tests:
132092
 
+  # Code from module time_r:
132093
 
+  # Code from module timer-time:
132094
 
+  # Code from module timespec:
132095
 
+  # Code from module tls:
132096
 
+  # Code from module tls-tests:
132097
 
+  # Code from module trim:
132098
 
+  # Code from module tzset:
132099
 
+  # Code from module u64:
132100
 
+  # Code from module u64-tests:
132101
 
+  # Code from module uname:
132102
 
+  # Code from module uname-tests:
132103
 
+  # Code from module unicodeio:
132104
 
+  # Code from module unistd:
132105
 
+  # Code from module unistd-safer:
132106
 
+  # Code from module unistd-safer-tests:
132107
 
+  # Code from module unistd-tests:
132108
 
+  # Code from module unistr/base:
132109
 
+  # Code from module unistr/u8-mbtoucr:
132110
 
+  # Code from module unistr/u8-mbtoucr-tests:
132111
 
+  # Code from module unistr/u8-uctomb:
132112
 
+  # Code from module unistr/u8-uctomb-tests:
132113
 
+  # Code from module unitypes:
132114
 
+  # Code from module uniwidth/base:
132115
 
+  # Code from module uniwidth/width:
132116
 
+  # Code from module uniwidth/width-tests:
132117
 
+  # Code from module unlink:
132118
 
+  # Code from module unlink-busy:
132119
 
+  # Code from module unlink-tests:
132120
 
+  # Code from module unlinkdir:
132121
 
+  # Code from module unlocked-io:
132122
 
+  # Code from module unsetenv:
132123
 
+  # Code from module unsetenv-tests:
132124
 
+  # Code from module update-copyright:
132125
 
+  # Code from module update-copyright-tests:
132126
 
+  # Code from module uptime:
132127
 
+  # Code from module useless-if-before-free:
132128
 
+  # Code from module userspec:
132129
 
+  # Code from module userspec-tests:
132130
 
+  # Code from module usleep:
132131
 
+  # Code from module usleep-tests:
132132
 
+  # Code from module utimecmp:
132133
 
+  # Code from module utimens:
132134
 
+  # Code from module utimens-tests:
132135
 
+  # Code from module utimensat:
132136
 
+  # Code from module utimensat-tests:
132137
 
+  # Code from module vasnprintf:
132138
 
+  # Code from module vasnprintf-tests:
132139
 
+  # Code from module vasprintf:
132140
 
+  # Code from module vasprintf-posix:
132141
 
+  # Code from module vasprintf-posix-tests:
132142
 
+  # Code from module vasprintf-tests:
132143
 
+  # Code from module vc-list-files:
132144
 
+  # Code from module vc-list-files-tests:
132145
 
+  # Code from module verify:
132146
 
+  # Code from module verify-tests:
132147
 
+  # Code from module verror:
132148
 
+  # Code from module version-etc:
132149
 
+  # Code from module version-etc-fsf:
132150
 
+  # Code from module version-etc-tests:
132151
 
+  # Code from module vfprintf-posix:
132152
 
+  # Code from module vfprintf-posix-tests:
132153
 
+  # Code from module vprintf-posix:
132154
 
+  # Code from module vprintf-posix-tests:
132155
 
+  # Code from module warnings:
132156
 
+  # Code from module wchar:
132157
 
+  # Code from module wchar-tests:
132158
 
+  # Code from module wcrtomb:
132159
 
+  # Code from module wcrtomb-tests:
132160
 
+  # Code from module wcswidth:
132161
 
+  # Code from module wctob:
132162
 
+  # Code from module wctomb:
132163
 
+  # Code from module wctype-h:
132164
 
+  # Code from module wctype-h-tests:
132165
 
+  # Code from module wcwidth:
132166
 
+  # Code from module wcwidth-tests:
132167
 
+  # Code from module winsz-ioctl:
132168
 
+  # Code from module winsz-termios:
132169
 
+  # Code from module write:
132170
 
+  # Code from module write-any-file:
132171
 
+  # Code from module xalloc:
132172
 
+  # Code from module xalloc-die:
132173
 
+  # Code from module xalloc-die-tests:
132174
 
+  # Code from module xalloc-oversized:
132175
 
+  # Code from module xfreopen:
132176
 
+  # Code from module xgetcwd:
132177
 
+  # Code from module xgetgroups:
132178
 
+  # Code from module xgethostname:
132179
 
+  # Code from module xmemcoll:
132180
 
+  # Code from module xnanosleep:
132181
 
+  # Code from module xprintf:
132182
 
+  # Code from module xprintf-posix:
132183
 
+  # Code from module xprintf-posix-tests:
132184
 
+  # Code from module xreadlink:
132185
 
+  # Code from module xsize:
132186
 
+  # Code from module xstriconv:
132187
 
+  # Code from module xstrndup:
132188
 
+  # Code from module xstrtod:
132189
 
+  # Code from module xstrtoimax:
132190
 
+  # Code from module xstrtoimax-tests:
132191
 
+  # Code from module xstrtol:
132192
 
+  # Code from module xstrtol-tests:
132193
 
+  # Code from module xstrtold:
132194
 
+  # Code from module xstrtoumax:
132195
 
+  # Code from module xstrtoumax-tests:
132196
 
+  # Code from module xvasprintf:
132197
 
+  # Code from module xvasprintf-tests:
132198
 
+  # Code from module yesno:
132199
 
+  # Code from module yesno-tests:
132200
 
+  # Code from module yield:
132201
 
+])
132202
 
+m4trace:m4/gnulib-comp.m4:703: -1- AC_DEFUN([gl_INIT], [
132203
 
+  AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
132204
 
+  gl_cond_libtool=false
132205
 
+  gl_libdeps=
132206
 
+  gl_ltlibdeps=
132207
 
+  gl_m4_base='m4'
132208
 
+  m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
132209
 
+  m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
132210
 
+  m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
132211
 
+  m4_pushdef([gl_LIBSOURCES_LIST], [])
132212
 
+  m4_pushdef([gl_LIBSOURCES_DIR], [])
132213
 
+  gl_COMMON
132214
 
+  gl_source_base='lib'
132215
 
+gl_FUNC_ACL
132216
 
+gl_FUNC_ALLOCA
132217
 
+gl_MODULE_INDICATOR([areadlinkat])
132218
 
+gl_HEADER_ARPA_INET
132219
 
+AC_PROG_MKDIR_P
132220
 
+gl_ASSERT
132221
 
+gl_BACKUPFILE
132222
 
+gl_FUNC_BASE64
132223
 
+AC_REQUIRE([AC_C_INLINE])
132224
 
+gl_FUNC_BTOWC
132225
 
+if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
132226
 
+  AC_LIBOBJ([btowc])
132227
 
+  gl_PREREQ_BTOWC
132228
 
+fi
132229
 
+gl_WCHAR_MODULE_INDICATOR([btowc])
132230
 
+gl_C_STRTOD
132231
 
+gl_C_STRTOLD
132232
 
+gl_FUNC_CALLOC_GNU
132233
 
+if test $REPLACE_CALLOC = 1; then
132234
 
+  AC_LIBOBJ([calloc])
132235
 
+fi
132236
 
+gl_MODULE_INDICATOR([calloc-gnu])
132237
 
+gl_FUNC_CALLOC_POSIX
132238
 
+if test $REPLACE_CALLOC = 1; then
132239
 
+  AC_LIBOBJ([calloc])
132240
 
+fi
132241
 
+gl_STDLIB_MODULE_INDICATOR([calloc-posix])
132242
 
+gl_PREREQ_CANON_HOST
132243
 
+gl_FUNC_CANONICALIZE_FILENAME_MODE
132244
 
+gl_MODULE_INDICATOR([canonicalize])
132245
 
+gl_MODULE_INDICATOR_FOR_TESTS([canonicalize])
132246
 
+gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
132247
 
+AC_CHECK_FUNCS_ONCE([readlinkat])
132248
 
+gl_FUNC_CHDIR_LONG
132249
 
+if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
132250
 
+  AC_LIBOBJ([chdir-long])
132251
 
+  gl_PREREQ_CHDIR_LONG
132252
 
+fi
132253
 
+gl_FUNC_CHOWN
132254
 
+if test $HAVE_CHOWN = 0 || test $REPLACE_CHOWN = 1; then
132255
 
+  AC_LIBOBJ([chown])
132256
 
+fi
132257
 
+if test $REPLACE_CHOWN = 1 && test $ac_cv_func_fchown = no; then
132258
 
+  AC_LIBOBJ([fchown-stub])
132259
 
+fi
132260
 
+gl_UNISTD_MODULE_INDICATOR([chown])
132261
 
+gl_CLOCK_TIME
132262
 
+gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
132263
 
+gl_FUNC_CLOSE
132264
 
+if test $REPLACE_CLOSE = 1; then
132265
 
+  AC_LIBOBJ([close])
132266
 
+fi
132267
 
+gl_UNISTD_MODULE_INDICATOR([close])
132268
 
+gl_CLOSE_STREAM
132269
 
+gl_MODULE_INDICATOR([close-stream])
132270
 
+gl_CLOSEIN
132271
 
+gl_CLOSEOUT
132272
 
+gl_CONFIG_H
132273
 
+gl_CONFIGMAKE_PREP
132274
 
+gl_MD5
132275
 
+gl_SHA1
132276
 
+gl_SHA256
132277
 
+gl_SHA512
132278
 
+gl_CTYPE_H
132279
 
+gl_CYCLE_CHECK
132280
 
+gl_CHECK_TYPE_STRUCT_DIRENT_D_INO
132281
 
+gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE
132282
 
+gl_DIRENT_H
132283
 
+gl_DIRENT_SAFER
132284
 
+gl_MODULE_INDICATOR([dirent-safer])
132285
 
+gl_FUNC_DIRFD
132286
 
+if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no; then
132287
 
+  AC_LIBOBJ([dirfd])
132288
 
+  gl_PREREQ_DIRFD
132289
 
+fi
132290
 
+gl_DIRENT_MODULE_INDICATOR([dirfd])
132291
 
+gl_DIRNAME
132292
 
+gl_MODULE_INDICATOR([dirname])
132293
 
+gl_DIRNAME_LGPL
132294
 
+gl_DOUBLE_SLASH_ROOT
132295
 
+AC_REQUIRE([gl_C99_STRTOLD])
132296
 
+gl_FUNC_DUP2
132297
 
+if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
132298
 
+  AC_LIBOBJ([dup2])
132299
 
+fi
132300
 
+gl_UNISTD_MODULE_INDICATOR([dup2])
132301
 
+gl_ENVIRON
132302
 
+gl_UNISTD_MODULE_INDICATOR([environ])
132303
 
+gl_HEADER_ERRNO_H
132304
 
+gl_ERROR
132305
 
+if test $ac_cv_lib_error_at_line = no; then
132306
 
+  AC_LIBOBJ([error])
132307
 
+  gl_PREREQ_ERROR
132308
 
+fi
132309
 
+m4_ifdef([AM_XGETTEXT_OPTION],
132310
 
+  [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
132311
 
+   AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
132312
 
+gl_FUNC_EUIDACCESS
132313
 
+if test $HAVE_EUIDACCESS = 0; then
132314
 
+  AC_LIBOBJ([euidaccess])
132315
 
+  gl_PREREQ_EUIDACCESS
132316
 
+fi
132317
 
+gl_UNISTD_MODULE_INDICATOR([euidaccess])
132318
 
+gl_FUNC_FACCESSAT
132319
 
+gl_MODULE_INDICATOR([faccessat])
132320
 
+gl_UNISTD_MODULE_INDICATOR([faccessat])
132321
 
+AC_CHECK_FUNCS_ONCE([posix_fadvise])
132322
 
+gl_FUNC_FCHDIR
132323
 
+gl_UNISTD_MODULE_INDICATOR([fchdir])
132324
 
+gl_FUNC_FCLOSE
132325
 
+if test $REPLACE_FCLOSE = 1; then
132326
 
+  AC_LIBOBJ([fclose])
132327
 
+fi
132328
 
+gl_STDIO_MODULE_INDICATOR([fclose])
132329
 
+gl_FUNC_FCNTL
132330
 
+if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
132331
 
+  AC_LIBOBJ([fcntl])
132332
 
+fi
132333
 
+gl_FCNTL_MODULE_INDICATOR([fcntl])
132334
 
+gl_FCNTL_H
132335
 
+gl_FCNTL_SAFER
132336
 
+gl_MODULE_INDICATOR([fcntl-safer])
132337
 
+gl_MODULE_INDICATOR([fd-safer-flag])
132338
 
+gl_FUNC_FDOPENDIR
132339
 
+if test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then
132340
 
+  AC_LIBOBJ([fdopendir])
132341
 
+fi
132342
 
+if test $HAVE_FDOPENDIR = 0; then
132343
 
+  AC_LIBOBJ([openat-proc])
132344
 
+fi
132345
 
+gl_DIRENT_MODULE_INDICATOR([fdopendir])
132346
 
+gl_MODULE_INDICATOR([fdopendir])
132347
 
+AC_REQUIRE([AC_C_INLINE]) dnl because 'inline' is used in lib/utimens.h
132348
 
+gl_MODULE_INDICATOR([fdutimensat])
132349
 
+gl_FUNC_FFLUSH
132350
 
+if test $REPLACE_FFLUSH = 1; then
132351
 
+  AC_LIBOBJ([fflush])
132352
 
+  gl_PREREQ_FFLUSH
132353
 
+fi
132354
 
+gl_MODULE_INDICATOR([fflush])
132355
 
+gl_STDIO_MODULE_INDICATOR([fflush])
132356
 
+gl_FILEBLOCKS
132357
 
+if test $ac_cv_member_struct_stat_st_blocks = no; then
132358
 
+  AC_LIBOBJ([fileblocks])
132359
 
+  gl_PREREQ_FILEBLOCKS
132360
 
+fi
132361
 
+gl_FILEMODE
132362
 
+gl_FILE_NAME_CONCAT
132363
 
+gl_MODULE_INDICATOR([filenamecat])
132364
 
+gl_FILE_NAME_CONCAT_LGPL
132365
 
+AC_REQUIRE([AC_C_INLINE])
132366
 
+AC_C_FLEXIBLE_ARRAY_MEMBER
132367
 
+gl_FLOAT_H
132368
 
+if test $REPLACE_FLOAT_LDBL = 1; then
132369
 
+  AC_LIBOBJ([float])
132370
 
+fi
132371
 
+gl_FUNC_FNMATCH_POSIX
132372
 
+if test -n "$FNMATCH_H"; then
132373
 
+  AC_LIBOBJ([fnmatch])
132374
 
+  gl_PREREQ_FNMATCH
132375
 
+fi
132376
 
+gl_FUNC_FNMATCH_GNU
132377
 
+if test -n "$FNMATCH_H"; then
132378
 
+  AC_LIBOBJ([fnmatch])
132379
 
+  gl_PREREQ_FNMATCH
132380
 
+fi
132381
 
+gl_FUNC_FOPEN
132382
 
+if test $REPLACE_FOPEN = 1; then
132383
 
+  AC_LIBOBJ([fopen])
132384
 
+  gl_PREREQ_FOPEN
132385
 
+fi
132386
 
+gl_STDIO_MODULE_INDICATOR([fopen])
132387
 
+gl_MODULE_INDICATOR([fopen-safer])
132388
 
+gl_FUNC_FPENDING
132389
 
+if test $ac_cv_func___fpending = no; then
132390
 
+  AC_LIBOBJ([fpending])
132391
 
+  gl_PREREQ_FPENDING
132392
 
+fi
132393
 
+gl_FUNC_FPURGE
132394
 
+if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then
132395
 
+  AC_LIBOBJ([fpurge])
132396
 
+fi
132397
 
+gl_STDIO_MODULE_INDICATOR([fpurge])
132398
 
+gl_FUNC_FREADING
132399
 
+AC_REQUIRE([AC_C_INLINE])
132400
 
+gl_FUNC_FREOPEN
132401
 
+if test $REPLACE_FREOPEN = 1; then
132402
 
+  AC_LIBOBJ([freopen])
132403
 
+  gl_PREREQ_FREOPEN
132404
 
+fi
132405
 
+gl_STDIO_MODULE_INDICATOR([freopen])
132406
 
+gl_MODULE_INDICATOR([freopen-safer])
132407
 
+gl_FUNC_FREXP_NO_LIBM
132408
 
+if test $gl_func_frexp_no_libm != yes; then
132409
 
+  AC_LIBOBJ([frexp])
132410
 
+fi
132411
 
+gl_MATH_MODULE_INDICATOR([frexp])
132412
 
+gl_FUNC_FREXPL_NO_LIBM
132413
 
+if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then
132414
 
+  AC_LIBOBJ([frexpl])
132415
 
+fi
132416
 
+gl_MATH_MODULE_INDICATOR([frexpl])
132417
 
+gl_FUNC_FSEEK
132418
 
+if test $REPLACE_FSEEK = 1; then
132419
 
+  AC_LIBOBJ([fseek])
132420
 
+fi
132421
 
+gl_STDIO_MODULE_INDICATOR([fseek])
132422
 
+gl_FUNC_FSEEKO
132423
 
+if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then
132424
 
+  AC_LIBOBJ([fseeko])
132425
 
+fi
132426
 
+gl_STDIO_MODULE_INDICATOR([fseeko])
132427
 
+gl_FSUSAGE
132428
 
+if test $gl_cv_fs_space = yes; then
132429
 
+  AC_LIBOBJ([fsusage])
132430
 
+  gl_PREREQ_FSUSAGE_EXTRA
132431
 
+fi
132432
 
+gl_FUNC_FSYNC
132433
 
+if test $HAVE_FSYNC = 0; then
132434
 
+  AC_LIBOBJ([fsync])
132435
 
+  gl_PREREQ_FSYNC
132436
 
+fi
132437
 
+gl_UNISTD_MODULE_INDICATOR([fsync])
132438
 
+gl_FUNC_FTELL
132439
 
+if test $REPLACE_FTELL = 1; then
132440
 
+  AC_LIBOBJ([ftell])
132441
 
+fi
132442
 
+gl_STDIO_MODULE_INDICATOR([ftell])
132443
 
+gl_FUNC_FTELLO
132444
 
+if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
132445
 
+  AC_LIBOBJ([ftello])
132446
 
+fi
132447
 
+gl_STDIO_MODULE_INDICATOR([ftello])
132448
 
+AC_CHECK_FUNCS_ONCE([strtof])
132449
 
+AC_REQUIRE([gl_C99_STRTOLD])
132450
 
+gl_FUNC_FTS
132451
 
+dnl Use this version of fts unconditionally, since the GNU libc and
132452
 
+dnl NetBSD versions have bugs and/or unnecessary limitations.
132453
 
+AC_LIBOBJ([fts])
132454
 
+gl_FUNC_FUTIMENS
132455
 
+if test $HAVE_FUTIMENS = 0 || test $REPLACE_FUTIMENS = 1; then
132456
 
+  AC_LIBOBJ([futimens])
132457
 
+fi
132458
 
+gl_SYS_STAT_MODULE_INDICATOR([futimens])
132459
 
+gl_GETADDRINFO
132460
 
+if test $HAVE_GETADDRINFO = 0; then
132461
 
+  AC_LIBOBJ([getaddrinfo])
132462
 
+fi
132463
 
+if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then
132464
 
+  AC_LIBOBJ([gai_strerror])
132465
 
+fi
132466
 
+gl_NETDB_MODULE_INDICATOR([getaddrinfo])
132467
 
+gl_FUNC_GETCWD
132468
 
+if test $REPLACE_GETCWD = 1; then
132469
 
+  AC_LIBOBJ([getcwd])
132470
 
+  gl_PREREQ_GETCWD
132471
 
+fi
132472
 
+gl_MODULE_INDICATOR([getcwd])
132473
 
+gl_UNISTD_MODULE_INDICATOR([getcwd])
132474
 
+gl_FUNC_GETCWD_LGPL
132475
 
+if test $REPLACE_GETCWD = 1; then
132476
 
+  AC_LIBOBJ([getcwd-lgpl])
132477
 
+fi
132478
 
+gl_UNISTD_MODULE_INDICATOR([getcwd])
132479
 
+gl_FUNC_GETDELIM
132480
 
+if test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1; then
132481
 
+  AC_LIBOBJ([getdelim])
132482
 
+  gl_PREREQ_GETDELIM
132483
 
+fi
132484
 
+gl_STDIO_MODULE_INDICATOR([getdelim])
132485
 
+gl_FUNC_GETDTABLESIZE
132486
 
+if test $HAVE_GETDTABLESIZE = 0; then
132487
 
+  AC_LIBOBJ([getdtablesize])
132488
 
+fi
132489
 
+gl_UNISTD_MODULE_INDICATOR([getdtablesize])
132490
 
+gl_FUNC_GETGROUPS
132491
 
+if test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1; then
132492
 
+  AC_LIBOBJ([getgroups])
132493
 
+fi
132494
 
+gl_UNISTD_MODULE_INDICATOR([getgroups])
132495
 
+gl_FUNC_GETHOSTNAME
132496
 
+if test $HAVE_GETHOSTNAME = 0; then
132497
 
+  AC_LIBOBJ([gethostname])
132498
 
+  gl_PREREQ_GETHOSTNAME
132499
 
+fi
132500
 
+gl_UNISTD_MODULE_INDICATOR([gethostname])
132501
 
+gl_GETHRXTIME
132502
 
+if test $ac_cv_have_decl_gethrtime = no || test $gl_cv_arithmetic_hrtime_t = no; then
132503
 
+  AC_LIBOBJ([gethrxtime])
132504
 
+  gl_PREREQ_GETHRXTIME
132505
 
+fi
132506
 
+gl_FUNC_GETLINE
132507
 
+if test $REPLACE_GETLINE = 1; then
132508
 
+  AC_LIBOBJ([getline])
132509
 
+  gl_PREREQ_GETLINE
132510
 
+fi
132511
 
+gl_STDIO_MODULE_INDICATOR([getline])
132512
 
+gl_GETLOADAVG
132513
 
+if test $HAVE_GETLOADAVG = 0; then
132514
 
+  AC_LIBOBJ([getloadavg])
132515
 
+  gl_PREREQ_GETLOADAVG
132516
 
+fi
132517
 
+gl_STDLIB_MODULE_INDICATOR([getloadavg])
132518
 
+gl_GETNDELIM2
132519
 
+gl_FUNC_GETOPT_GNU
132520
 
+if test $REPLACE_GETOPT = 1; then
132521
 
+  AC_LIBOBJ([getopt])
132522
 
+  AC_LIBOBJ([getopt1])
132523
 
+  gl_PREREQ_GETOPT
132524
 
+fi
132525
 
+gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
132526
 
+gl_FUNC_GETOPT_POSIX
132527
 
+if test $REPLACE_GETOPT = 1; then
132528
 
+  AC_LIBOBJ([getopt])
132529
 
+  AC_LIBOBJ([getopt1])
132530
 
+  gl_PREREQ_GETOPT
132531
 
+fi
132532
 
+gl_FUNC_GETPAGESIZE
132533
 
+if test $REPLACE_GETPAGESIZE = 1; then
132534
 
+  AC_LIBOBJ([getpagesize])
132535
 
+fi
132536
 
+gl_UNISTD_MODULE_INDICATOR([getpagesize])
132537
 
+gl_FUNC_GETPASS_GNU
132538
 
+if test $REPLACE_GETPASS = 1; then
132539
 
+  AC_LIBOBJ([getpass])
132540
 
+  gl_PREREQ_GETPASS
132541
 
+fi
132542
 
+dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac.
132543
 
+AM_GNU_GETTEXT_VERSION([0.18.1])
132544
 
+AC_SUBST([LIBINTL])
132545
 
+AC_SUBST([LTLIBINTL])
132546
 
+gl_GETTIME
132547
 
+gl_FUNC_GETTIMEOFDAY
132548
 
+if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
132549
 
+  AC_LIBOBJ([gettimeofday])
132550
 
+  gl_PREREQ_GETTIMEOFDAY
132551
 
+fi
132552
 
+gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
132553
 
+gl_GETUGROUPS
132554
 
+gl_FUNC_GETUSERSHELL
132555
 
+if test $HAVE_GETUSERSHELL = 0; then
132556
 
+  AC_LIBOBJ([getusershell])
132557
 
+fi
132558
 
+gl_UNISTD_MODULE_INDICATOR([getusershell])
132559
 
+gl_GNU_MAKE
132560
 
+# Autoconf 2.61a.99 and earlier don't support linking a file only
132561
 
+# in VPATH builds.  But since GNUmakefile is for maintainer use
132562
 
+# only, it does not matter if we skip the link with older autoconf.
132563
 
+# Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
132564
 
+# builds, so use a shell variable to bypass this.
132565
 
+GNUmakefile=GNUmakefile
132566
 
+m4_if(m4_version_compare([2.61a.100],
132567
 
+        m4_defn([m4_PACKAGE_VERSION])), [1], [],
132568
 
+      [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
132569
 
+        [GNUmakefile=$GNUmakefile])])
132570
 
+gl_FUNC_GROUP_MEMBER
132571
 
+if test $HAVE_GROUP_MEMBER = 0; then
132572
 
+  AC_LIBOBJ([group-member])
132573
 
+  gl_PREREQ_GROUP_MEMBER
132574
 
+fi
132575
 
+gl_UNISTD_MODULE_INDICATOR([group-member])
132576
 
+gl_HARD_LOCALE
132577
 
+gl_HOST_OS
132578
 
+gl_HOSTENT
132579
 
+gl_HUMAN
132580
 
+gl_I_RING
132581
 
+AM_ICONV
132582
 
+m4_ifdef([gl_ICONV_MODULE_INDICATOR],
132583
 
+  [gl_ICONV_MODULE_INDICATOR([iconv])])
132584
 
+gl_ICONV_H
132585
 
+gl_FUNC_ICONV_OPEN
132586
 
+if test $REPLACE_ICONV_OPEN = 1; then
132587
 
+  AC_LIBOBJ([iconv_open])
132588
 
+fi
132589
 
+if test $REPLACE_ICONV = 1; then
132590
 
+  AC_LIBOBJ([iconv])
132591
 
+  AC_LIBOBJ([iconv_close])
132592
 
+fi
132593
 
+gl_IDCACHE
132594
 
+AC_REQUIRE([AC_C_INLINE])
132595
 
+gl_FUNC_INET_NTOP
132596
 
+if test $HAVE_INET_NTOP = 0; then
132597
 
+  AC_LIBOBJ([inet_ntop])
132598
 
+  gl_PREREQ_INET_NTOP
132599
 
+fi
132600
 
+gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
132601
 
+gl_INLINE
132602
 
+gl_INTTOSTR
132603
 
+gl_INTTYPES_H
132604
 
+gl_INTTYPES_INCOMPLETE
132605
 
+gl_ISAPIPE
132606
 
+if test $HAVE_ISAPIPE = 0; then
132607
 
+  AC_LIBOBJ([isapipe])
132608
 
+  gl_PREREQ_ISAPIPE
132609
 
+fi
132610
 
+gl_FUNC_ISBLANK
132611
 
+if test $HAVE_ISBLANK = 0; then
132612
 
+  AC_LIBOBJ([isblank])
132613
 
+fi
132614
 
+gl_CTYPE_MODULE_INDICATOR([isblank])
132615
 
+gl_FUNC_ISNAND_NO_LIBM
132616
 
+if test $gl_func_isnand_no_libm != yes; then
132617
 
+  AC_LIBOBJ([isnand])
132618
 
+  gl_PREREQ_ISNAND
132619
 
+fi
132620
 
+gl_FUNC_ISNANF_NO_LIBM
132621
 
+if test $gl_func_isnanf_no_libm != yes; then
132622
 
+  AC_LIBOBJ([isnanf])
132623
 
+  gl_PREREQ_ISNANF
132624
 
+fi
132625
 
+gl_FUNC_ISNANL_NO_LIBM
132626
 
+if test $gl_func_isnanl_no_libm != yes; then
132627
 
+  AC_LIBOBJ([isnanl])
132628
 
+  gl_PREREQ_ISNANL
132629
 
+fi
132630
 
+gl_FUNC_ISWBLANK
132631
 
+if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
132632
 
+  :
132633
 
+else
132634
 
+  if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then
132635
 
+    AC_LIBOBJ([iswblank])
132636
 
+  fi
132637
 
+fi
132638
 
+gl_WCTYPE_MODULE_INDICATOR([iswblank])
132639
 
+gl_LANGINFO_H
132640
 
+gl_FUNC_LCHMOD
132641
 
+gl_SYS_STAT_MODULE_INDICATOR([lchmod])
132642
 
+gl_FUNC_LCHOWN
132643
 
+if test $HAVE_LCHOWN = 0 || test $REPLACE_LCHOWN = 1; then
132644
 
+  AC_LIBOBJ([lchown])
132645
 
+fi
132646
 
+gl_UNISTD_MODULE_INDICATOR([lchown])
132647
 
+AC_REQUIRE([gl_C99_STRTOLD])
132648
 
+gl_IGNORE_UNUSED_LIBRARIES
132649
 
+gl_FUNC_LINK
132650
 
+if test $HAVE_LINK = 0 || test $REPLACE_LINK = 1; then
132651
 
+  AC_LIBOBJ([link])
132652
 
+fi
132653
 
+gl_UNISTD_MODULE_INDICATOR([link])
132654
 
+gl_FUNC_LINK_FOLLOWS_SYMLINK
132655
 
+gl_FUNC_LINKAT
132656
 
+if test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1; then
132657
 
+  AC_LIBOBJ([linkat])
132658
 
+fi
132659
 
+if test $HAVE_LINKAT = 0; then
132660
 
+  AC_LIBOBJ([at-func2])
132661
 
+fi
132662
 
+gl_UNISTD_MODULE_INDICATOR([linkat])
132663
 
+gl_LOCALCHARSET
132664
 
+LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
132665
 
+AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
132666
 
+gl_LOCALE_H
132667
 
+gl_LOCK
132668
 
+gl_FUNC_LSEEK
132669
 
+if test $REPLACE_LSEEK = 1; then
132670
 
+  AC_LIBOBJ([lseek])
132671
 
+fi
132672
 
+gl_UNISTD_MODULE_INDICATOR([lseek])
132673
 
+gl_FUNC_LSTAT
132674
 
+if test $REPLACE_LSTAT = 1; then
132675
 
+  AC_LIBOBJ([lstat])
132676
 
+  gl_PREREQ_LSTAT
132677
 
+fi
132678
 
+gl_SYS_STAT_MODULE_INDICATOR([lstat])
132679
 
+AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
132680
 
+  [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
132681
 
+gl_FUNC_MALLOC_GNU
132682
 
+if test $REPLACE_MALLOC = 1; then
132683
 
+  AC_LIBOBJ([malloc])
132684
 
+fi
132685
 
+gl_MODULE_INDICATOR([malloc-gnu])
132686
 
+gl_FUNC_MALLOC_POSIX
132687
 
+if test $REPLACE_MALLOC = 1; then
132688
 
+  AC_LIBOBJ([malloc])
132689
 
+fi
132690
 
+gl_STDLIB_MODULE_INDICATOR([malloc-posix])
132691
 
+gl_MALLOCA
132692
 
+gl_MATH_H
132693
 
+gl_MBCHAR
132694
 
+gl_MBITER
132695
 
+gl_FUNC_MBRLEN
132696
 
+if test $HAVE_MBRLEN = 0 || test $REPLACE_MBRLEN = 1; then
132697
 
+  AC_LIBOBJ([mbrlen])
132698
 
+  gl_PREREQ_MBRLEN
132699
 
+fi
132700
 
+gl_WCHAR_MODULE_INDICATOR([mbrlen])
132701
 
+gl_FUNC_MBRTOWC
132702
 
+if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
132703
 
+  AC_LIBOBJ([mbrtowc])
132704
 
+  gl_PREREQ_MBRTOWC
132705
 
+fi
132706
 
+gl_WCHAR_MODULE_INDICATOR([mbrtowc])
132707
 
+gl_STRING_MODULE_INDICATOR([mbscasecmp])
132708
 
+gl_FUNC_MBSINIT
132709
 
+if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
132710
 
+  AC_LIBOBJ([mbsinit])
132711
 
+  gl_PREREQ_MBSINIT
132712
 
+fi
132713
 
+gl_WCHAR_MODULE_INDICATOR([mbsinit])
132714
 
+gl_FUNC_MBSLEN
132715
 
+gl_STRING_MODULE_INDICATOR([mbslen])
132716
 
+gl_FUNC_MBSRTOWCS
132717
 
+if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then
132718
 
+  AC_LIBOBJ([mbsrtowcs])
132719
 
+  AC_LIBOBJ([mbsrtowcs-state])
132720
 
+  gl_PREREQ_MBSRTOWCS
132721
 
+fi
132722
 
+gl_WCHAR_MODULE_INDICATOR([mbsrtowcs])
132723
 
+gl_STRING_MODULE_INDICATOR([mbsstr])
132724
 
+gl_MBSWIDTH
132725
 
+gl_FUNC_MBTOWC
132726
 
+if test $REPLACE_MBTOWC = 1; then
132727
 
+  AC_LIBOBJ([mbtowc])
132728
 
+  gl_PREREQ_MBTOWC
132729
 
+fi
132730
 
+gl_STDLIB_MODULE_INDICATOR([mbtowc])
132731
 
+gl_MBITER
132732
 
+gl_MEMCASECMP
132733
 
+gl_FUNC_MEMCHR
132734
 
+if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
132735
 
+  AC_LIBOBJ([memchr])
132736
 
+  gl_PREREQ_MEMCHR
132737
 
+fi
132738
 
+gl_STRING_MODULE_INDICATOR([memchr])
132739
 
+gl_MEMCOLL
132740
 
+gl_FUNC_MEMPCPY
132741
 
+if test $HAVE_MEMPCPY = 0; then
132742
 
+  AC_LIBOBJ([mempcpy])
132743
 
+  gl_PREREQ_MEMPCPY
132744
 
+fi
132745
 
+gl_STRING_MODULE_INDICATOR([mempcpy])
132746
 
+gl_FUNC_MEMRCHR
132747
 
+if test $ac_cv_func_memrchr = no; then
132748
 
+  AC_LIBOBJ([memrchr])
132749
 
+  gl_PREREQ_MEMRCHR
132750
 
+fi
132751
 
+gl_STRING_MODULE_INDICATOR([memrchr])
132752
 
+gl_MGETGROUPS
132753
 
+gl_MKANCESDIRS
132754
 
+gl_FUNC_MKDIR
132755
 
+if test $REPLACE_MKDIR = 1; then
132756
 
+  AC_LIBOBJ([mkdir])
132757
 
+fi
132758
 
+gl_MKDIR_PARENTS
132759
 
+gl_FUNC_MKSTEMP
132760
 
+if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then
132761
 
+  AC_LIBOBJ([mkstemp])
132762
 
+  gl_PREREQ_MKSTEMP
132763
 
+fi
132764
 
+gl_STDLIB_MODULE_INDICATOR([mkstemp])
132765
 
+gl_FUNC_MKTIME
132766
 
+if test $REPLACE_MKTIME = 1; then
132767
 
+  AC_LIBOBJ([mktime])
132768
 
+  gl_PREREQ_MKTIME
132769
 
+fi
132770
 
+gl_TIME_MODULE_INDICATOR([mktime])
132771
 
+gl_MODECHANGE
132772
 
+gl_MOUNTLIST
132773
 
+if test $gl_cv_list_mounted_fs = yes; then
132774
 
+  AC_LIBOBJ([mountlist])
132775
 
+  gl_PREREQ_MOUNTLIST_EXTRA
132776
 
+fi
132777
 
+gl_MPSORT
132778
 
+gl_MULTIARCH
132779
 
+gl_FUNC_NANOSLEEP
132780
 
+if test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1; then
132781
 
+  AC_LIBOBJ([nanosleep])
132782
 
+  gl_PREREQ_NANOSLEEP
132783
 
+fi
132784
 
+gl_TIME_MODULE_INDICATOR([nanosleep])
132785
 
+gl_HEADER_NETDB
132786
 
+gl_HEADER_NETINET_IN
132787
 
+AC_PROG_MKDIR_P
132788
 
+gl_FUNC_NL_LANGINFO
132789
 
+if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then
132790
 
+  AC_LIBOBJ([nl_langinfo])
132791
 
+fi
132792
 
+gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
132793
 
+gl_NPROC
132794
 
+AC_FUNC_OBSTACK
132795
 
+dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]).
132796
 
+gl_FUNC_OPEN
132797
 
+if test $REPLACE_OPEN = 1; then
132798
 
+  AC_LIBOBJ([open])
132799
 
+  gl_PREREQ_OPEN
132800
 
+fi
132801
 
+gl_FCNTL_MODULE_INDICATOR([open])
132802
 
+gl_FUNC_OPENAT
132803
 
+AC_LIBOBJ([openat-proc])
132804
 
+if test $HAVE_FCHMODAT = 0; then
132805
 
+  AC_LIBOBJ([fchmodat])
132806
 
+fi
132807
 
+if test $ac_cv_func_fstatat = no || test $REPLACE_FSTATAT = 1; then
132808
 
+  AC_LIBOBJ([fstatat])
132809
 
+fi
132810
 
+if test $HAVE_MKDIRAT = 0; then
132811
 
+  AC_LIBOBJ([mkdirat])
132812
 
+fi
132813
 
+if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then
132814
 
+  AC_LIBOBJ([openat])
132815
 
+fi
132816
 
+if test $ac_cv_func_unlinkat = no || test $REPLACE_UNLINKAT = 1; then
132817
 
+  AC_LIBOBJ([unlinkat])
132818
 
+fi
132819
 
+if test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1; then
132820
 
+  AC_LIBOBJ([fchownat])
132821
 
+fi
132822
 
+gl_OPENAT_SAFER
132823
 
+gl_MODULE_INDICATOR([openat-safer])
132824
 
+gl_PARSE_DATETIME
132825
 
+gl_PATHMAX
132826
 
+gl_PERL
132827
 
+gl_PHYSMEM
132828
 
+gl_POSIX_SHELL
132829
 
+gl_POSIXTM
132830
 
+gl_POSIXVER
132831
 
+gl_FUNC_PRINTF_FREXP
132832
 
+gl_FUNC_PRINTF_FREXPL
132833
 
+m4_divert_text([INIT_PREPARE], [gl_printf_safe=yes])
132834
 
+gl_PRIV_SET
132835
 
+AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>])
132836
 
+AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include <errno.h>])
132837
 
+m4_ifdef([AM_XGETTEXT_OPTION],
132838
 
+  [AM_][XGETTEXT_OPTION([--keyword='proper_name:1,\"This is a proper name. See the gettext manual, section Names.\"'])
132839
 
+   AM_][XGETTEXT_OPTION([--keyword='proper_name_utf8:1,\"This is a proper name. See the gettext manual, section Names.\"'])])
132840
 
+gl_PTHREAD_CHECK
132841
 
+gl_FUNC_PUTENV
132842
 
+if test $REPLACE_PUTENV = 1; then
132843
 
+  AC_LIBOBJ([putenv])
132844
 
+fi
132845
 
+gl_STDLIB_MODULE_INDICATOR([putenv])
132846
 
+gl_QUOTE
132847
 
+gl_QUOTEARG
132848
 
+gl_FUNC_READ
132849
 
+if test $REPLACE_READ = 1; then
132850
 
+  AC_LIBOBJ([read])
132851
 
+fi
132852
 
+gl_UNISTD_MODULE_INDICATOR([read])
132853
 
+gl_PREREQ_READ_FILE
132854
 
+gl_FUNC_READLINK
132855
 
+if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
132856
 
+  AC_LIBOBJ([readlink])
132857
 
+  gl_PREREQ_READLINK
132858
 
+fi
132859
 
+gl_UNISTD_MODULE_INDICATOR([readlink])
132860
 
+gl_FUNC_READLINKAT
132861
 
+if test $HAVE_READLINKAT = 0; then
132862
 
+  AC_LIBOBJ([readlinkat])
132863
 
+fi
132864
 
+gl_UNISTD_MODULE_INDICATOR([readlinkat])
132865
 
+gl_READTOKENS
132866
 
+gl_READUTMP
132867
 
+if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then
132868
 
+  AC_LIBOBJ([readutmp])
132869
 
+fi
132870
 
+gl_FUNC_REALLOC_GNU
132871
 
+if test $REPLACE_REALLOC = 1; then
132872
 
+  AC_LIBOBJ([realloc])
132873
 
+fi
132874
 
+gl_MODULE_INDICATOR([realloc-gnu])
132875
 
+gl_FUNC_REALLOC_POSIX
132876
 
+if test $REPLACE_REALLOC = 1; then
132877
 
+  AC_LIBOBJ([realloc])
132878
 
+fi
132879
 
+gl_STDLIB_MODULE_INDICATOR([realloc-posix])
132880
 
+gl_REGEX
132881
 
+if test $ac_use_included_regex = yes; then
132882
 
+  AC_LIBOBJ([regex])
132883
 
+  gl_PREREQ_REGEX
132884
 
+fi
132885
 
+gl_FUNC_REMOVE
132886
 
+if test $REPLACE_REMOVE = 1; then
132887
 
+  AC_LIBOBJ([remove])
132888
 
+fi
132889
 
+gl_STDIO_MODULE_INDICATOR([remove])
132890
 
+gl_FUNC_RENAME
132891
 
+if test $REPLACE_RENAME = 1; then
132892
 
+  AC_LIBOBJ([rename])
132893
 
+fi
132894
 
+gl_STDIO_MODULE_INDICATOR([rename])
132895
 
+gl_FUNC_RMDIR
132896
 
+if test $REPLACE_RMDIR = 1; then
132897
 
+  AC_LIBOBJ([rmdir])
132898
 
+fi
132899
 
+gl_UNISTD_MODULE_INDICATOR([rmdir])
132900
 
+gl_ROOT_DEV_INO
132901
 
+gl_FUNC_RPMATCH
132902
 
+if test $HAVE_RPMATCH = 0; then
132903
 
+  AC_LIBOBJ([rpmatch])
132904
 
+  gl_PREREQ_RPMATCH
132905
 
+fi
132906
 
+gl_STDLIB_MODULE_INDICATOR([rpmatch])
132907
 
+gl_PREREQ_SAFE_READ
132908
 
+gl_PREREQ_SAFE_WRITE
132909
 
+gl_SAME
132910
 
+gl_SAVE_CWD
132911
 
+gl_SAVEDIR
132912
 
+gl_SAVEWD
132913
 
+gl_SCHED_H
132914
 
+gl_FUNC_SELECT
132915
 
+if test $REPLACE_SELECT = 1; then
132916
 
+  AC_LIBOBJ([select])
132917
 
+fi
132918
 
+gl_SYS_SELECT_MODULE_INDICATOR([select])
132919
 
+AC_CHECK_HEADERS([selinux/flask.h])
132920
 
+AC_LIBOBJ([selinux-at])
132921
 
+gl_HEADERS_SELINUX_SELINUX_H
132922
 
+gl_HEADERS_SELINUX_CONTEXT_H
132923
 
+AC_REQUIRE([AC_C_INLINE])
132924
 
+if test "$with_selinux" != no && test "$ac_cv_header_selinux_selinux_h" = yes; then
132925
 
+  AC_LIBOBJ([getfilecon])
132926
 
+fi
132927
 
+gl_SERVENT
132928
 
+gl_FUNC_SETENV
132929
 
+if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
132930
 
+  AC_LIBOBJ([setenv])
132931
 
+fi
132932
 
+gl_STDLIB_MODULE_INDICATOR([setenv])
132933
 
+gl_SETTIME
132934
 
+gl_FUNC_SIG2STR
132935
 
+if test $ac_cv_func_sig2str = no; then
132936
 
+  AC_LIBOBJ([sig2str])
132937
 
+  gl_PREREQ_SIG2STR
132938
 
+fi
132939
 
+gl_SIGACTION
132940
 
+if test $HAVE_SIGACTION = 0; then
132941
 
+  AC_LIBOBJ([sigaction])
132942
 
+  gl_PREREQ_SIGACTION
132943
 
+fi
132944
 
+gl_SIGNAL_MODULE_INDICATOR([sigaction])
132945
 
+gl_SIGNAL_H
132946
 
+gl_SIGNBIT
132947
 
+if test $REPLACE_SIGNBIT = 1; then
132948
 
+  AC_LIBOBJ([signbitf])
132949
 
+  AC_LIBOBJ([signbitd])
132950
 
+  AC_LIBOBJ([signbitl])
132951
 
+fi
132952
 
+gl_MATH_MODULE_INDICATOR([signbit])
132953
 
+gl_SIGNALBLOCKING
132954
 
+if test $HAVE_POSIX_SIGNALBLOCKING = 0; then
132955
 
+  AC_LIBOBJ([sigprocmask])
132956
 
+  gl_PREREQ_SIGPROCMASK
132957
 
+fi
132958
 
+gl_SIGNAL_MODULE_INDICATOR([sigprocmask])
132959
 
+gl_SIZE_MAX
132960
 
+gl_FUNC_SNPRINTF
132961
 
+gl_STDIO_MODULE_INDICATOR([snprintf])
132962
 
+gl_MODULE_INDICATOR([snprintf])
132963
 
+gl_SOCKETLIB
132964
 
+gl_SOCKETS
132965
 
+gl_TYPE_SOCKLEN_T
132966
 
+gt_TYPE_SSIZE_T
132967
 
+gl_FUNC_STAT
132968
 
+if test $REPLACE_STAT = 1; then
132969
 
+  AC_LIBOBJ([stat])
132970
 
+  gl_PREREQ_STAT
132971
 
+fi
132972
 
+gl_SYS_STAT_MODULE_INDICATOR([stat])
132973
 
+gl_STAT_SIZE
132974
 
+gl_STAT_TIME
132975
 
+gl_STAT_BIRTHTIME
132976
 
+gl_STDARG_H
132977
 
+AM_STDBOOL_H
132978
 
+gl_STDDEF_H
132979
 
+gl_STDINT_H
132980
 
+gl_STDIO_H
132981
 
+gl_STDLIB_H
132982
 
+gl_FUNC_STPCPY
132983
 
+if test $HAVE_STPCPY = 0; then
132984
 
+  AC_LIBOBJ([stpcpy])
132985
 
+  gl_PREREQ_STPCPY
132986
 
+fi
132987
 
+gl_STRING_MODULE_INDICATOR([stpcpy])
132988
 
+gl_FUNC_STPNCPY
132989
 
+if test $HAVE_STPNCPY = 0 || test $REPLACE_STPNCPY = 1; then
132990
 
+  AC_LIBOBJ([stpncpy])
132991
 
+  gl_PREREQ_STPNCPY
132992
 
+fi
132993
 
+gl_STRING_MODULE_INDICATOR([stpncpy])
132994
 
+gl_FUNC_STRDUP_POSIX
132995
 
+if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
132996
 
+  AC_LIBOBJ([strdup])
132997
 
+  gl_PREREQ_STRDUP
132998
 
+fi
132999
 
+gl_STRING_MODULE_INDICATOR([strdup])
133000
 
+gl_FUNC_STRERROR
133001
 
+if test $REPLACE_STRERROR = 1; then
133002
 
+  AC_LIBOBJ([strerror])
133003
 
+fi
133004
 
+gl_MODULE_INDICATOR([strerror])
133005
 
+gl_STRING_MODULE_INDICATOR([strerror])
133006
 
+AC_REQUIRE([gl_HEADER_ERRNO_H])
133007
 
+AC_REQUIRE([gl_FUNC_STRERROR_0])
133008
 
+if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
133009
 
+  AC_LIBOBJ([strerror-override])
133010
 
+  gl_PREREQ_SYS_H_WINSOCK2
133011
 
+fi
133012
 
+gl_FUNC_GNU_STRFTIME
133013
 
+if test $gl_cond_libtool = false; then
133014
 
+  gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
133015
 
+  gl_libdeps="$gl_libdeps $LIBICONV"
133016
 
+fi
133017
 
+gl_HEADER_STRING_H
133018
 
+gl_FUNC_STRNDUP
133019
 
+if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then
133020
 
+  AC_LIBOBJ([strndup])
133021
 
+fi
133022
 
+gl_STRING_MODULE_INDICATOR([strndup])
133023
 
+gl_FUNC_STRNLEN
133024
 
+if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
133025
 
+  AC_LIBOBJ([strnlen])
133026
 
+  gl_PREREQ_STRNLEN
133027
 
+fi
133028
 
+gl_STRING_MODULE_INDICATOR([strnlen])
133029
 
+gl_FUNC_STRSIGNAL
133030
 
+if test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1; then
133031
 
+  AC_LIBOBJ([strsignal])
133032
 
+  gl_PREREQ_STRSIGNAL
133033
 
+fi
133034
 
+gl_STRING_MODULE_INDICATOR([strsignal])
133035
 
+gl_FUNC_STRSTR_SIMPLE
133036
 
+if test $REPLACE_STRSTR = 1; then
133037
 
+  AC_LIBOBJ([strstr])
133038
 
+fi
133039
 
+gl_STRING_MODULE_INDICATOR([strstr])
133040
 
+gl_FUNC_STRTOD
133041
 
+if test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1; then
133042
 
+  AC_LIBOBJ([strtod])
133043
 
+  gl_PREREQ_STRTOD
133044
 
+fi
133045
 
+gl_STDLIB_MODULE_INDICATOR([strtod])
133046
 
+gl_FUNC_STRTOIMAX
133047
 
+if test $ac_cv_func_strtoimax = no; then
133048
 
+  AC_LIBOBJ([strtoimax])
133049
 
+  gl_PREREQ_STRTOIMAX
133050
 
+fi
133051
 
+gl_INTTYPES_MODULE_INDICATOR([strtoimax])
133052
 
+gl_FUNC_STRTOLL
133053
 
+if test $HAVE_STRTOLL = 0; then
133054
 
+  AC_LIBOBJ([strtoll])
133055
 
+  gl_PREREQ_STRTOLL
133056
 
+fi
133057
 
+gl_STDLIB_MODULE_INDICATOR([strtoll])
133058
 
+gl_FUNC_STRTOULL
133059
 
+if test $HAVE_STRTOULL = 0; then
133060
 
+  AC_LIBOBJ([strtoull])
133061
 
+  gl_PREREQ_STRTOULL
133062
 
+fi
133063
 
+gl_STDLIB_MODULE_INDICATOR([strtoull])
133064
 
+gl_FUNC_STRTOUMAX
133065
 
+if test $ac_cv_func_strtoumax = no; then
133066
 
+  AC_LIBOBJ([strtoumax])
133067
 
+  gl_PREREQ_STRTOUMAX
133068
 
+fi
133069
 
+gl_INTTYPES_MODULE_INDICATOR([strtoumax])
133070
 
+gl_FUNC_SYMLINK
133071
 
+if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then
133072
 
+  AC_LIBOBJ([symlink])
133073
 
+fi
133074
 
+gl_UNISTD_MODULE_INDICATOR([symlink])
133075
 
+gl_SYS_IOCTL_H
133076
 
+AC_PROG_MKDIR_P
133077
 
+gl_HEADER_SYS_SELECT
133078
 
+AC_PROG_MKDIR_P
133079
 
+gl_HEADER_SYS_SOCKET
133080
 
+AC_PROG_MKDIR_P
133081
 
+gl_HEADER_SYS_STAT_H
133082
 
+AC_PROG_MKDIR_P
133083
 
+gl_HEADER_SYS_TIME_H
133084
 
+AC_PROG_MKDIR_P
133085
 
+gl_HEADER_SYS_UIO
133086
 
+AC_PROG_MKDIR_P
133087
 
+gl_SYS_UTSNAME_H
133088
 
+AC_PROG_MKDIR_P
133089
 
+gl_SYS_WAIT_H
133090
 
+AC_PROG_MKDIR_P
133091
 
+gl_FUNC_GEN_TEMPNAME
133092
 
+gl_TERMIOS_H
133093
 
+gl_THREADLIB
133094
 
+gl_HEADER_TIME_H
133095
 
+gl_TIME_R
133096
 
+if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
133097
 
+  AC_LIBOBJ([time_r])
133098
 
+  gl_PREREQ_TIME_R
133099
 
+fi
133100
 
+gl_TIME_MODULE_INDICATOR([time_r])
133101
 
+gl_TIMER_TIME
133102
 
+gl_TIMESPEC
133103
 
+gl_TLS
133104
 
+gl_FUNC_TZSET
133105
 
+AC_REQUIRE([AC_C_INLINE])
133106
 
+gl_FUNC_UNAME
133107
 
+if test $HAVE_UNAME = 0; then
133108
 
+  AC_LIBOBJ([uname])
133109
 
+  gl_PREREQ_UNAME
133110
 
+fi
133111
 
+gl_SYS_UTSNAME_MODULE_INDICATOR([uname])
133112
 
+gl_UNICODEIO
133113
 
+gl_UNISTD_H
133114
 
+gl_UNISTD_SAFER
133115
 
+gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h])
133116
 
+gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
133117
 
+gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr])
133118
 
+gl_MODULE_INDICATOR([unistr/u8-uctomb])
133119
 
+gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb])
133120
 
+gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
133121
 
+gl_LIBUNISTRING_LIBHEADER([0.9], [uniwidth.h])
133122
 
+gl_LIBUNISTRING_MODULE([0.9.4], [uniwidth/width])
133123
 
+gl_FUNC_UNLINK
133124
 
+if test $REPLACE_UNLINK = 1; then
133125
 
+  AC_LIBOBJ([unlink])
133126
 
+fi
133127
 
+gl_UNISTD_MODULE_INDICATOR([unlink])
133128
 
+gl_FUNC_UNLINK_BUSY_TEXT
133129
 
+gl_FUNC_GLIBC_UNLOCKED_IO
133130
 
+gl_FUNC_UNSETENV
133131
 
+if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
133132
 
+  AC_LIBOBJ([unsetenv])
133133
 
+  gl_PREREQ_UNSETENV
133134
 
+fi
133135
 
+gl_STDLIB_MODULE_INDICATOR([unsetenv])
133136
 
+gl_SYS_PROC_UPTIME
133137
 
+gl_USERSPEC
133138
 
+gl_UTIMECMP
133139
 
+gl_UTIMENS
133140
 
+gl_FUNC_UTIMENSAT
133141
 
+if test $HAVE_UTIMENSAT = 0 || test $REPLACE_UTIMENSAT = 1; then
133142
 
+  AC_LIBOBJ([utimensat])
133143
 
+fi
133144
 
+gl_SYS_STAT_MODULE_INDICATOR([utimensat])
133145
 
+gl_FUNC_VASNPRINTF
133146
 
+gl_FUNC_VASPRINTF
133147
 
+gl_STDIO_MODULE_INDICATOR([vasprintf])
133148
 
+m4_ifdef([AM_XGETTEXT_OPTION],
133149
 
+  [AM_][XGETTEXT_OPTION([--flag=asprintf:2:c-format])
133150
 
+   AM_][XGETTEXT_OPTION([--flag=vasprintf:2:c-format])])
133151
 
+gl_FUNC_VASPRINTF_POSIX
133152
 
+m4_ifdef([AM_XGETTEXT_OPTION],
133153
 
+  [AM_][XGETTEXT_OPTION([--flag=verror:3:c-format])
133154
 
+   AM_][XGETTEXT_OPTION([--flag=verror_at_line:5:c-format])])
133155
 
+gl_VERSION_ETC
133156
 
+gl_FUNC_VFPRINTF_POSIX
133157
 
+gl_STDIO_MODULE_INDICATOR([vfprintf-posix])
133158
 
+gl_FUNC_VPRINTF_POSIX
133159
 
+gl_STDIO_MODULE_INDICATOR([vprintf-posix])
133160
 
+AC_SUBST([WARN_CFLAGS])
133161
 
+gl_WCHAR_H
133162
 
+gl_FUNC_WCRTOMB
133163
 
+if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
133164
 
+  AC_LIBOBJ([wcrtomb])
133165
 
+  gl_PREREQ_WCRTOMB
133166
 
+fi
133167
 
+gl_WCHAR_MODULE_INDICATOR([wcrtomb])
133168
 
+gl_FUNC_WCSWIDTH
133169
 
+if test $HAVE_WCSWIDTH = 0 || test $REPLACE_WCSWIDTH = 1; then
133170
 
+  AC_LIBOBJ([wcswidth])
133171
 
+fi
133172
 
+gl_WCHAR_MODULE_INDICATOR([wcswidth])
133173
 
+gl_WCTYPE_H
133174
 
+gl_FUNC_WCWIDTH
133175
 
+if test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1; then
133176
 
+  AC_LIBOBJ([wcwidth])
133177
 
+fi
133178
 
+gl_WCHAR_MODULE_INDICATOR([wcwidth])
133179
 
+gl_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL
133180
 
+gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H
133181
 
+gl_WINSIZE_IN_PTEM
133182
 
+gl_FUNC_WRITE
133183
 
+if test $REPLACE_WRITE = 1; then
133184
 
+  AC_LIBOBJ([write])
133185
 
+fi
133186
 
+gl_UNISTD_MODULE_INDICATOR([write])
133187
 
+gl_WRITE_ANY_FILE
133188
 
+gl_XALLOC
133189
 
+gl_XGETCWD
133190
 
+gl_MODULE_INDICATOR([xgetgroups])
133191
 
+gl_XNANOSLEEP
133192
 
+m4_ifdef([AM_XGETTEXT_OPTION],
133193
 
+  [AM_][XGETTEXT_OPTION([--flag=xprintf:1:c-format])
133194
 
+   AM_][XGETTEXT_OPTION([--flag=xvprintf:1:c-format])
133195
 
+   AM_][XGETTEXT_OPTION([--flag=xfprintf:2:c-format])
133196
 
+   AM_][XGETTEXT_OPTION([--flag=xvfprintf:2:c-format])])
133197
 
+gl_XSIZE
133198
 
+gl_XSTRNDUP
133199
 
+gl_XSTRTOD
133200
 
+gl_XSTRTOL
133201
 
+gl_XSTRTOLD
133202
 
+gl_XVASPRINTF
133203
 
+m4_ifdef([AM_XGETTEXT_OPTION],
133204
 
+  [AM_][XGETTEXT_OPTION([--flag=xasprintf:1:c-format])])
133205
 
+gl_YESNO
133206
 
+  # End of code from modules
133207
 
+  m4_ifval(gl_LIBSOURCES_LIST, [
133208
 
+    m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
133209
 
+      for gl_file in ]gl_LIBSOURCES_LIST[ ; do
133210
 
+        if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
133211
 
+          echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
133212
 
+          exit 1
133213
 
+        fi
133214
 
+      done])dnl
133215
 
+      m4_if(m4_sysval, [0], [],
133216
 
+        [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
133217
 
+  ])
133218
 
+  m4_popdef([gl_LIBSOURCES_DIR])
133219
 
+  m4_popdef([gl_LIBSOURCES_LIST])
133220
 
+  m4_popdef([AC_LIBSOURCES])
133221
 
+  m4_popdef([AC_REPLACE_FUNCS])
133222
 
+  m4_popdef([AC_LIBOBJ])
133223
 
+  AC_CONFIG_COMMANDS_PRE([
133224
 
+    gl_libobjs=
133225
 
+    gl_ltlibobjs=
133226
 
+    if test -n "$gl_LIBOBJS"; then
133227
 
+      # Remove the extension.
133228
 
+      sed_drop_objext='s/\.o$//;s/\.obj$//'
133229
 
+      for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
133230
 
+        gl_libobjs="$gl_libobjs $i.$ac_objext"
133231
 
+        gl_ltlibobjs="$gl_ltlibobjs $i.lo"
133232
 
+      done
133233
 
+    fi
133234
 
+    AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
133235
 
+    AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
133236
 
+  ])
133237
 
+  gltests_libdeps=
133238
 
+  gltests_ltlibdeps=
133239
 
+  m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
133240
 
+  m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
133241
 
+  m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
133242
 
+  m4_pushdef([gltests_LIBSOURCES_LIST], [])
133243
 
+  m4_pushdef([gltests_LIBSOURCES_DIR], [])
133244
 
+  gl_COMMON
133245
 
+  gl_source_base='gnulib-tests'
133246
 
+changequote(,)dnl
133247
 
+  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
133248
 
+changequote([, ])dnl
133249
 
+  AC_SUBST([gltests_WITNESS])
133250
 
+  gl_module_indicator_condition=$gltests_WITNESS
133251
 
+  m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
133252
 
+AC_REQUIRE([gl_HEADER_SYS_SOCKET])
133253
 
+if test "$ac_cv_header_winsock2_h" = yes; then
133254
 
+  AC_LIBOBJ([accept])
133255
 
+fi
133256
 
+gl_SYS_SOCKET_MODULE_INDICATOR([accept])
133257
 
+AC_CHECK_DECLS_ONCE([alarm])
133258
 
+AC_REQUIRE([gl_HEADER_SYS_SOCKET])
133259
 
+if test "$ac_cv_header_winsock2_h" = yes; then
133260
 
+  AC_LIBOBJ([bind])
133261
 
+fi
133262
 
+gl_SYS_SOCKET_MODULE_INDICATOR([bind])
133263
 
+gt_LOCALE_FR
133264
 
+gt_LOCALE_FR_UTF8
133265
 
+gt_LOCALE_FR
133266
 
+gt_LOCALE_TR_UTF8
133267
 
+AC_CHECK_FUNCS_ONCE([getegid])
133268
 
+AC_REQUIRE([gl_HEADER_SYS_SOCKET])
133269
 
+if test "$ac_cv_header_winsock2_h" = yes; then
133270
 
+  AC_LIBOBJ([connect])
133271
 
+fi
133272
 
+gl_SYS_SOCKET_MODULE_INDICATOR([connect])
133273
 
+gl_FUNC_UNGETC_WORKS
133274
 
+gl_FUNC_UNGETC_WORKS
133275
 
+gl_FUNC_UNGETC_WORKS
133276
 
+gl_FUNC_UNGETC_WORKS
133277
 
+AC_C_BIGENDIAN
133278
 
+gl_FUNC_INET_PTON
133279
 
+if test $HAVE_INET_PTON = 0; then
133280
 
+  AC_LIBOBJ([inet_pton])
133281
 
+  gl_PREREQ_INET_PTON
133282
 
+fi
133283
 
+gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
133284
 
+AC_C_BIGENDIAN
133285
 
+gl_FUNC_IOCTL
133286
 
+if test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1; then
133287
 
+  AC_LIBOBJ([ioctl])
133288
 
+fi
133289
 
+gl_SYS_IOCTL_MODULE_INDICATOR([ioctl])
133290
 
+gl_DOUBLE_EXPONENT_LOCATION
133291
 
+gl_FLOAT_EXPONENT_LOCATION
133292
 
+gl_LONG_DOUBLE_EXPONENT_LOCATION
133293
 
+AC_CHECK_FUNCS_ONCE([getegid])
133294
 
+AC_REQUIRE([gl_HEADER_SYS_SOCKET])
133295
 
+if test "$ac_cv_header_winsock2_h" = yes; then
133296
 
+  AC_LIBOBJ([listen])
133297
 
+fi
133298
 
+gl_SYS_SOCKET_MODULE_INDICATOR([listen])
133299
 
+AC_CHECK_FUNCS_ONCE([newlocale])
133300
 
+gl_LOCALENAME
133301
 
+AC_CHECK_FUNCS_ONCE([newlocale])
133302
 
+gt_LOCALE_FR
133303
 
+gt_LOCALE_FR_UTF8
133304
 
+gt_LOCALE_JA
133305
 
+gt_LOCALE_ZH_CN
133306
 
+gt_LOCALE_TR_UTF8
133307
 
+gt_LOCALE_FR_UTF8
133308
 
+gt_LOCALE_FR
133309
 
+gt_LOCALE_FR_UTF8
133310
 
+gt_LOCALE_JA
133311
 
+gt_LOCALE_ZH_CN
133312
 
+gt_LOCALE_FR_UTF8
133313
 
+gt_LOCALE_ZH_CN
133314
 
+gl_FUNC_MMAP_ANON
133315
 
+AC_CHECK_HEADERS_ONCE([sys/mman.h])
133316
 
+AC_CHECK_FUNCS_ONCE([mprotect])
133317
 
+dnl Check for prerequisites for memory fence checks.
133318
 
+gl_FUNC_MMAP_ANON
133319
 
+AC_CHECK_HEADERS_ONCE([sys/mman.h])
133320
 
+AC_CHECK_FUNCS_ONCE([mprotect])
133321
 
+gl_FUNC_MMAP_ANON
133322
 
+AC_CHECK_HEADERS_ONCE([sys/mman.h])
133323
 
+AC_CHECK_FUNCS_ONCE([mprotect])
133324
 
+gl_FUNC_MMAP_ANON
133325
 
+AC_CHECK_HEADERS_ONCE([sys/mman.h])
133326
 
+AC_CHECK_FUNCS_ONCE([mprotect])
133327
 
+AC_CHECK_DECLS_ONCE([alarm])
133328
 
+gt_LOCALE_FR
133329
 
+gt_LOCALE_FR_UTF8
133330
 
+AC_CHECK_FUNCS_ONCE([getegid])
133331
 
+gl_FUNC_PERROR
133332
 
+if test $REPLACE_PERROR = 1; then
133333
 
+  AC_LIBOBJ([perror])
133334
 
+fi
133335
 
+gl_STRING_MODULE_INDICATOR([perror])
133336
 
+gl_FUNC_PIPE
133337
 
+if test $HAVE_PIPE = 0; then
133338
 
+  AC_LIBOBJ([pipe])
133339
 
+fi
133340
 
+gl_UNISTD_MODULE_INDICATOR([pipe])
133341
 
+AC_CHECK_HEADERS_ONCE([sys/wait.h])
133342
 
+gl_FUNC_SETLOCALE
133343
 
+if test $REPLACE_SETLOCALE = 1; then
133344
 
+  AC_LIBOBJ([setlocale])
133345
 
+  gl_PREREQ_SETLOCALE
133346
 
+fi
133347
 
+gl_LOCALE_MODULE_INDICATOR([setlocale])
133348
 
+gt_LOCALE_FR
133349
 
+gt_LOCALE_FR_UTF8
133350
 
+gt_LOCALE_JA
133351
 
+gt_LOCALE_ZH_CN
133352
 
+AC_REQUIRE([gl_HEADER_SYS_SOCKET])
133353
 
+if test "$ac_cv_header_winsock2_h" = yes; then
133354
 
+  AC_LIBOBJ([setsockopt])
133355
 
+fi
133356
 
+gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt])
133357
 
+AC_REQUIRE([gl_FLOAT_EXPONENT_LOCATION])
133358
 
+AC_REQUIRE([gl_DOUBLE_EXPONENT_LOCATION])
133359
 
+AC_REQUIRE([gl_LONG_DOUBLE_EXPONENT_LOCATION])
133360
 
+gl_FUNC_SLEEP
133361
 
+if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then
133362
 
+  AC_LIBOBJ([sleep])
133363
 
+fi
133364
 
+gl_UNISTD_MODULE_INDICATOR([sleep])
133365
 
+AC_CHECK_DECLS_ONCE([alarm])
133366
 
+AC_REQUIRE([gl_HEADER_SYS_SOCKET])
133367
 
+if test "$ac_cv_header_winsock2_h" = yes; then
133368
 
+  AC_LIBOBJ([socket])
133369
 
+fi
133370
 
+# When this module is used, sockets may actually occur as file descriptors,
133371
 
+# hence it is worth warning if the modules 'close' and 'ioctl' are not used.
133372
 
+m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])])
133373
 
+m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])])
133374
 
+AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2])
133375
 
+if test "$ac_cv_header_winsock2_h" = yes; then
133376
 
+  UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
133377
 
+  SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
133378
 
+fi
133379
 
+gl_SYS_SOCKET_MODULE_INDICATOR([socket])
133380
 
+gt_TYPE_WCHAR_T
133381
 
+gt_TYPE_WINT_T
133382
 
+gl_FUNC_STRERROR_R
133383
 
+if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then
133384
 
+  AC_LIBOBJ([strerror_r])
133385
 
+  gl_PREREQ_STRERROR_R
133386
 
+fi
133387
 
+gl_STRING_MODULE_INDICATOR([strerror_r])
133388
 
+dnl Check for prerequisites for memory fence checks.
133389
 
+gl_FUNC_MMAP_ANON
133390
 
+AC_CHECK_HEADERS_ONCE([sys/mman.h])
133391
 
+AC_CHECK_FUNCS_ONCE([mprotect])
133392
 
+gl_FUNC_SYMLINKAT
133393
 
+if test $HAVE_SYMLINKAT = 0; then
133394
 
+  AC_LIBOBJ([symlinkat])
133395
 
+fi
133396
 
+gl_UNISTD_MODULE_INDICATOR([symlinkat])
133397
 
+AC_CHECK_FUNCS_ONCE([shutdown])
133398
 
+gl_THREAD
133399
 
+gl_UNLINKDIR
133400
 
+abs_aux_dir=`cd "$ac_aux_dir"; pwd`
133401
 
+AC_SUBST([abs_aux_dir])
133402
 
+gl_FUNC_USLEEP
133403
 
+if test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1; then
133404
 
+  AC_LIBOBJ([usleep])
133405
 
+fi
133406
 
+gl_UNISTD_MODULE_INDICATOR([usleep])
133407
 
+abs_aux_dir=`cd "$ac_aux_dir"; pwd`
133408
 
+AC_SUBST([abs_aux_dir])
133409
 
+gt_LOCALE_FR
133410
 
+gt_LOCALE_FR_UTF8
133411
 
+gt_LOCALE_JA
133412
 
+gt_LOCALE_ZH_CN
133413
 
+gl_FUNC_WCTOB
133414
 
+if test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1; then
133415
 
+  AC_LIBOBJ([wctob])
133416
 
+  gl_PREREQ_WCTOB
133417
 
+fi
133418
 
+gl_WCHAR_MODULE_INDICATOR([wctob])
133419
 
+gl_FUNC_WCTOMB
133420
 
+if test $REPLACE_WCTOMB = 1; then
133421
 
+  AC_LIBOBJ([wctomb])
133422
 
+  gl_PREREQ_WCTOMB
133423
 
+fi
133424
 
+gl_STDLIB_MODULE_INDICATOR([wctomb])
133425
 
+gl_YIELD
133426
 
+  m4_popdef([gl_MODULE_INDICATOR_CONDITION])
133427
 
+  m4_ifval(gltests_LIBSOURCES_LIST, [
133428
 
+    m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
133429
 
+      for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
133430
 
+        if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
133431
 
+          echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
133432
 
+          exit 1
133433
 
+        fi
133434
 
+      done])dnl
133435
 
+      m4_if(m4_sysval, [0], [],
133436
 
+        [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
133437
 
+  ])
133438
 
+  m4_popdef([gltests_LIBSOURCES_DIR])
133439
 
+  m4_popdef([gltests_LIBSOURCES_LIST])
133440
 
+  m4_popdef([AC_LIBSOURCES])
133441
 
+  m4_popdef([AC_REPLACE_FUNCS])
133442
 
+  m4_popdef([AC_LIBOBJ])
133443
 
+  AC_CONFIG_COMMANDS_PRE([
133444
 
+    gltests_libobjs=
133445
 
+    gltests_ltlibobjs=
133446
 
+    if test -n "$gltests_LIBOBJS"; then
133447
 
+      # Remove the extension.
133448
 
+      sed_drop_objext='s/\.o$//;s/\.obj$//'
133449
 
+      for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
133450
 
+        gltests_libobjs="$gltests_libobjs $i.$ac_objext"
133451
 
+        gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
133452
 
+      done
133453
 
+    fi
133454
 
+    AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
133455
 
+    AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
133456
 
+  ])
133457
 
+  LIBCOREUTILS_LIBDEPS="$gl_libdeps"
133458
 
+  AC_SUBST([LIBCOREUTILS_LIBDEPS])
133459
 
+  LIBCOREUTILS_LTLIBDEPS="$gl_ltlibdeps"
133460
 
+  AC_SUBST([LIBCOREUTILS_LTLIBDEPS])
133461
 
+  LIBTESTS_LIBDEPS="$gltests_libdeps"
133462
 
+  AC_SUBST([LIBTESTS_LIBDEPS])
133463
 
+])
133464
 
+m4trace:m4/gnulib-comp.m4:1969: -1- AC_DEFUN([gl_LIBOBJ], [
133465
 
+  AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
133466
 
+  gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
133467
 
+])
133468
 
+m4trace:m4/gnulib-comp.m4:1976: -1- AC_DEFUN([gl_REPLACE_FUNCS], [
133469
 
+  m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
133470
 
+  AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
133471
 
+])
133472
 
+m4trace:m4/gnulib-comp.m4:1985: -1- AC_DEFUN([gl_LIBSOURCES], [
133473
 
+  m4_foreach([_gl_NAME], [$1], [
133474
 
+    m4_if(_gl_NAME, [alloca.c], [], [
133475
 
+      m4_define([gl_LIBSOURCES_DIR], [lib])
133476
 
+      m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
133477
 
+    ])
133478
 
+  ])
133479
 
+])
133480
 
+m4trace:m4/gnulib-comp.m4:1996: -1- AC_DEFUN([gltests_LIBOBJ], [
133481
 
+  AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
133482
 
+  gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
133483
 
+])
133484
 
+m4trace:m4/gnulib-comp.m4:2003: -1- AC_DEFUN([gltests_REPLACE_FUNCS], [
133485
 
+  m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
133486
 
+  AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
133487
 
+])
133488
 
+m4trace:m4/gnulib-comp.m4:2012: -1- AC_DEFUN([gltests_LIBSOURCES], [
133489
 
+  m4_foreach([_gl_NAME], [$1], [
133490
 
+    m4_if(_gl_NAME, [alloca.c], [], [
133491
 
+      m4_define([gltests_LIBSOURCES_DIR], [gnulib-tests])
133492
 
+      m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
133493
 
+    ])
133494
 
+  ])
133495
 
+])
133496
 
+m4trace:m4/gnulib-comp.m4:2023: -1- AC_DEFUN([gl_FILE_LIST], [
133497
 
+  build-aux/announce-gen
133498
 
+  build-aux/config.rpath
133499
 
+  build-aux/do-release-commit-and-tag
133500
 
+  build-aux/gendocs.sh
133501
 
+  build-aux/git-version-gen
133502
 
+  build-aux/gitlog-to-changelog
133503
 
+  build-aux/gnu-web-doc-update
133504
 
+  build-aux/gnupload
133505
 
+  build-aux/snippet/_Noreturn.h
133506
 
+  build-aux/snippet/arg-nonnull.h
133507
 
+  build-aux/snippet/c++defs.h
133508
 
+  build-aux/snippet/unused-parameter.h
133509
 
+  build-aux/snippet/warn-on-use.h
133510
 
+  build-aux/update-copyright
133511
 
+  build-aux/useless-if-before-free
133512
 
+  build-aux/vc-list-files
133513
 
+  doc/fdl.texi
133514
 
+  doc/gendocs_template
133515
 
+  doc/parse-datetime.texi
133516
 
+  lib/acl-internal.h
133517
 
+  lib/acl.h
133518
 
+  lib/acl_entries.c
133519
 
+  lib/alignof.h
133520
 
+  lib/alloca.c
133521
 
+  lib/alloca.in.h
133522
 
+  lib/allocator.c
133523
 
+  lib/allocator.h
133524
 
+  lib/anytostr.c
133525
 
+  lib/areadlink-with-size.c
133526
 
+  lib/areadlink.c
133527
 
+  lib/areadlink.h
133528
 
+  lib/areadlinkat.c
133529
 
+  lib/argmatch.c
133530
 
+  lib/argmatch.h
133531
 
+  lib/argv-iter.c
133532
 
+  lib/argv-iter.h
133533
 
+  lib/arpa_inet.in.h
133534
 
+  lib/asnprintf.c
133535
 
+  lib/asprintf.c
133536
 
+  lib/at-func.c
133537
 
+  lib/at-func2.c
133538
 
+  lib/backupfile.c
133539
 
+  lib/backupfile.h
133540
 
+  lib/base64.c
133541
 
+  lib/base64.h
133542
 
+  lib/basename-lgpl.c
133543
 
+  lib/basename.c
133544
 
+  lib/bitrotate.h
133545
 
+  lib/btowc.c
133546
 
+  lib/c-ctype.c
133547
 
+  lib/c-ctype.h
133548
 
+  lib/c-strcase.h
133549
 
+  lib/c-strcasecmp.c
133550
 
+  lib/c-strncasecmp.c
133551
 
+  lib/c-strtod.c
133552
 
+  lib/c-strtod.h
133553
 
+  lib/c-strtold.c
133554
 
+  lib/calloc.c
133555
 
+  lib/canon-host.c
133556
 
+  lib/canon-host.h
133557
 
+  lib/canonicalize.c
133558
 
+  lib/canonicalize.h
133559
 
+  lib/careadlinkat.c
133560
 
+  lib/careadlinkat.h
133561
 
+  lib/chdir-long.c
133562
 
+  lib/chdir-long.h
133563
 
+  lib/chown.c
133564
 
+  lib/cloexec.c
133565
 
+  lib/cloexec.h
133566
 
+  lib/close-stream.c
133567
 
+  lib/close-stream.h
133568
 
+  lib/close.c
133569
 
+  lib/closein.c
133570
 
+  lib/closein.h
133571
 
+  lib/closeout.c
133572
 
+  lib/closeout.h
133573
 
+  lib/config.charset
133574
 
+  lib/copy-acl.c
133575
 
+  lib/creat-safer.c
133576
 
+  lib/ctype.in.h
133577
 
+  lib/cycle-check.c
133578
 
+  lib/cycle-check.h
133579
 
+  lib/dev-ino.h
133580
 
+  lib/di-set.c
133581
 
+  lib/di-set.h
133582
 
+  lib/diacrit.c
133583
 
+  lib/diacrit.h
133584
 
+  lib/dirchownmod.c
133585
 
+  lib/dirchownmod.h
133586
 
+  lib/dirent--.h
133587
 
+  lib/dirent-safer.h
133588
 
+  lib/dirent.in.h
133589
 
+  lib/dirfd.c
133590
 
+  lib/dirname-lgpl.c
133591
 
+  lib/dirname.c
133592
 
+  lib/dirname.h
133593
 
+  lib/dosname.h
133594
 
+  lib/dtoastr.c
133595
 
+  lib/dtotimespec.c
133596
 
+  lib/dup-safer-flag.c
133597
 
+  lib/dup-safer.c
133598
 
+  lib/dup2.c
133599
 
+  lib/errno.in.h
133600
 
+  lib/error.c
133601
 
+  lib/error.h
133602
 
+  lib/euidaccess.c
133603
 
+  lib/exclude.c
133604
 
+  lib/exclude.h
133605
 
+  lib/exitfail.c
133606
 
+  lib/exitfail.h
133607
 
+  lib/faccessat.c
133608
 
+  lib/fadvise.c
133609
 
+  lib/fadvise.h
133610
 
+  lib/fchdir.c
133611
 
+  lib/fchmodat.c
133612
 
+  lib/fchown-stub.c
133613
 
+  lib/fchownat.c
133614
 
+  lib/fclose.c
133615
 
+  lib/fcntl--.h
133616
 
+  lib/fcntl-safer.h
133617
 
+  lib/fcntl.c
133618
 
+  lib/fcntl.in.h
133619
 
+  lib/fd-hook.c
133620
 
+  lib/fd-hook.h
133621
 
+  lib/fd-safer-flag.c
133622
 
+  lib/fd-safer.c
133623
 
+  lib/fdopendir.c
133624
 
+  lib/fdutimensat.c
133625
 
+  lib/fflush.c
133626
 
+  lib/file-has-acl.c
133627
 
+  lib/file-set.c
133628
 
+  lib/file-set.h
133629
 
+  lib/file-type.c
133630
 
+  lib/file-type.h
133631
 
+  lib/fileblocks.c
133632
 
+  lib/filemode.c
133633
 
+  lib/filemode.h
133634
 
+  lib/filenamecat-lgpl.c
133635
 
+  lib/filenamecat.c
133636
 
+  lib/filenamecat.h
133637
 
+  lib/filevercmp.c
133638
 
+  lib/filevercmp.h
133639
 
+  lib/float+.h
133640
 
+  lib/float.c
133641
 
+  lib/float.in.h
133642
 
+  lib/fnmatch.c
133643
 
+  lib/fnmatch.in.h
133644
 
+  lib/fnmatch_loop.c
133645
 
+  lib/fopen-safer.c
133646
 
+  lib/fopen.c
133647
 
+  lib/fpending.c
133648
 
+  lib/fpending.h
133649
 
+  lib/fprintftime.c
133650
 
+  lib/fprintftime.h
133651
 
+  lib/fpucw.h
133652
 
+  lib/fpurge.c
133653
 
+  lib/freadahead.c
133654
 
+  lib/freadahead.h
133655
 
+  lib/freading.c
133656
 
+  lib/freading.h
133657
 
+  lib/freadptr.c
133658
 
+  lib/freadptr.h
133659
 
+  lib/freadseek.c
133660
 
+  lib/freadseek.h
133661
 
+  lib/freopen-safer.c
133662
 
+  lib/freopen.c
133663
 
+  lib/frexp.c
133664
 
+  lib/frexpl.c
133665
 
+  lib/fseek.c
133666
 
+  lib/fseeko.c
133667
 
+  lib/fseterr.c
133668
 
+  lib/fseterr.h
133669
 
+  lib/fstatat.c
133670
 
+  lib/fsusage.c
133671
 
+  lib/fsusage.h
133672
 
+  lib/fsync.c
133673
 
+  lib/ftell.c
133674
 
+  lib/ftello.c
133675
 
+  lib/ftoastr.c
133676
 
+  lib/ftoastr.h
133677
 
+  lib/fts-cycle.c
133678
 
+  lib/fts.c
133679
 
+  lib/fts_.h
133680
 
+  lib/full-read.c
133681
 
+  lib/full-read.h
133682
 
+  lib/full-write.c
133683
 
+  lib/full-write.h
133684
 
+  lib/futimens.c
133685
 
+  lib/gai_strerror.c
133686
 
+  lib/getaddrinfo.c
133687
 
+  lib/getcwd-lgpl.c
133688
 
+  lib/getcwd.c
133689
 
+  lib/getdelim.c
133690
 
+  lib/getdtablesize.c
133691
 
+  lib/getfilecon.c
133692
 
+  lib/getgroups.c
133693
 
+  lib/gethostname.c
133694
 
+  lib/gethrxtime.c
133695
 
+  lib/gethrxtime.h
133696
 
+  lib/getline.c
133697
 
+  lib/getloadavg.c
133698
 
+  lib/getndelim2.c
133699
 
+  lib/getndelim2.h
133700
 
+  lib/getopt.c
133701
 
+  lib/getopt.in.h
133702
 
+  lib/getopt1.c
133703
 
+  lib/getopt_int.h
133704
 
+  lib/getpagesize.c
133705
 
+  lib/getpass.c
133706
 
+  lib/getpass.h
133707
 
+  lib/gettext.h
133708
 
+  lib/gettime.c
133709
 
+  lib/gettimeofday.c
133710
 
+  lib/getugroups.c
133711
 
+  lib/getugroups.h
133712
 
+  lib/getusershell.c
133713
 
+  lib/glthread/lock.c
133714
 
+  lib/glthread/lock.h
133715
 
+  lib/glthread/threadlib.c
133716
 
+  lib/glthread/tls.c
133717
 
+  lib/glthread/tls.h
133718
 
+  lib/group-member.c
133719
 
+  lib/hard-locale.c
133720
 
+  lib/hard-locale.h
133721
 
+  lib/hash-pjw.c
133722
 
+  lib/hash-pjw.h
133723
 
+  lib/hash-triple.c
133724
 
+  lib/hash-triple.h
133725
 
+  lib/hash.c
133726
 
+  lib/hash.h
133727
 
+  lib/heap.c
133728
 
+  lib/heap.h
133729
 
+  lib/human.c
133730
 
+  lib/human.h
133731
 
+  lib/i-ring.c
133732
 
+  lib/i-ring.h
133733
 
+  lib/iconv.c
133734
 
+  lib/iconv.in.h
133735
 
+  lib/iconv_close.c
133736
 
+  lib/iconv_open-aix.gperf
133737
 
+  lib/iconv_open-hpux.gperf
133738
 
+  lib/iconv_open-irix.gperf
133739
 
+  lib/iconv_open-osf.gperf
133740
 
+  lib/iconv_open-solaris.gperf
133741
 
+  lib/iconv_open.c
133742
 
+  lib/idcache.c
133743
 
+  lib/idcache.h
133744
 
+  lib/ignore-value.h
133745
 
+  lib/imaxtostr.c
133746
 
+  lib/inet_ntop.c
133747
 
+  lib/ino-map.c
133748
 
+  lib/ino-map.h
133749
 
+  lib/intprops.h
133750
 
+  lib/inttostr.c
133751
 
+  lib/inttostr.h
133752
 
+  lib/inttypes.in.h
133753
 
+  lib/isapipe.c
133754
 
+  lib/isapipe.h
133755
 
+  lib/isblank.c
133756
 
+  lib/isnan.c
133757
 
+  lib/isnand-nolibm.h
133758
 
+  lib/isnand.c
133759
 
+  lib/isnanf-nolibm.h
133760
 
+  lib/isnanf.c
133761
 
+  lib/isnanl-nolibm.h
133762
 
+  lib/isnanl.c
133763
 
+  lib/iswblank.c
133764
 
+  lib/langinfo.in.h
133765
 
+  lib/lchown.c
133766
 
+  lib/ldtoastr.c
133767
 
+  lib/linebuffer.c
133768
 
+  lib/linebuffer.h
133769
 
+  lib/link.c
133770
 
+  lib/linkat.c
133771
 
+  lib/localcharset.c
133772
 
+  lib/localcharset.h
133773
 
+  lib/locale.in.h
133774
 
+  lib/long-options.c
133775
 
+  lib/long-options.h
133776
 
+  lib/lseek.c
133777
 
+  lib/lstat.c
133778
 
+  lib/malloc.c
133779
 
+  lib/malloca.c
133780
 
+  lib/malloca.h
133781
 
+  lib/malloca.valgrind
133782
 
+  lib/math.in.h
133783
 
+  lib/mbchar.c
133784
 
+  lib/mbchar.h
133785
 
+  lib/mbiter.h
133786
 
+  lib/mbrlen.c
133787
 
+  lib/mbrtowc.c
133788
 
+  lib/mbsalign.c
133789
 
+  lib/mbsalign.h
133790
 
+  lib/mbscasecmp.c
133791
 
+  lib/mbsinit.c
133792
 
+  lib/mbslen.c
133793
 
+  lib/mbsrtowcs-impl.h
133794
 
+  lib/mbsrtowcs-state.c
133795
 
+  lib/mbsrtowcs.c
133796
 
+  lib/mbsstr.c
133797
 
+  lib/mbswidth.c
133798
 
+  lib/mbswidth.h
133799
 
+  lib/mbtowc-impl.h
133800
 
+  lib/mbtowc.c
133801
 
+  lib/mbuiter.h
133802
 
+  lib/md5.c
133803
 
+  lib/md5.h
133804
 
+  lib/memcasecmp.c
133805
 
+  lib/memcasecmp.h
133806
 
+  lib/memchr.c
133807
 
+  lib/memchr.valgrind
133808
 
+  lib/memchr2.c
133809
 
+  lib/memchr2.h
133810
 
+  lib/memchr2.valgrind
133811
 
+  lib/memcmp2.c
133812
 
+  lib/memcmp2.h
133813
 
+  lib/memcoll.c
133814
 
+  lib/memcoll.h
133815
 
+  lib/mempcpy.c
133816
 
+  lib/memrchr.c
133817
 
+  lib/mgetgroups.c
133818
 
+  lib/mgetgroups.h
133819
 
+  lib/mkancesdirs.c
133820
 
+  lib/mkancesdirs.h
133821
 
+  lib/mkdir-p.c
133822
 
+  lib/mkdir-p.h
133823
 
+  lib/mkdir.c
133824
 
+  lib/mkdirat.c
133825
 
+  lib/mkstemp-safer.c
133826
 
+  lib/mkstemp.c
133827
 
+  lib/mktime-internal.h
133828
 
+  lib/mktime.c
133829
 
+  lib/modechange.c
133830
 
+  lib/modechange.h
133831
 
+  lib/mountlist.c
133832
 
+  lib/mountlist.h
133833
 
+  lib/mpsort.c
133834
 
+  lib/mpsort.h
133835
 
+  lib/nanosleep.c
133836
 
+  lib/netdb.in.h
133837
 
+  lib/netinet_in.in.h
133838
 
+  lib/nl_langinfo.c
133839
 
+  lib/nproc.c
133840
 
+  lib/nproc.h
133841
 
+  lib/obstack.c
133842
 
+  lib/obstack.h
133843
 
+  lib/offtostr.c
133844
 
+  lib/open-safer.c
133845
 
+  lib/open.c
133846
 
+  lib/openat-die.c
133847
 
+  lib/openat-priv.h
133848
 
+  lib/openat-proc.c
133849
 
+  lib/openat-safer.c
133850
 
+  lib/openat.c
133851
 
+  lib/openat.h
133852
 
+  lib/opendir-safer.c
133853
 
+  lib/parse-datetime.h
133854
 
+  lib/parse-datetime.y
133855
 
+  lib/pathmax.h
133856
 
+  lib/physmem.c
133857
 
+  lib/physmem.h
133858
 
+  lib/pipe-safer.c
133859
 
+  lib/posixtm.c
133860
 
+  lib/posixtm.h
133861
 
+  lib/posixver.c
133862
 
+  lib/posixver.h
133863
 
+  lib/printf-args.c
133864
 
+  lib/printf-args.h
133865
 
+  lib/printf-frexp.c
133866
 
+  lib/printf-frexp.h
133867
 
+  lib/printf-frexpl.c
133868
 
+  lib/printf-frexpl.h
133869
 
+  lib/printf-parse.c
133870
 
+  lib/printf-parse.h
133871
 
+  lib/priv-set.c
133872
 
+  lib/priv-set.h
133873
 
+  lib/progname.c
133874
 
+  lib/progname.h
133875
 
+  lib/propername.c
133876
 
+  lib/propername.h
133877
 
+  lib/pthread.in.h
133878
 
+  lib/putenv.c
133879
 
+  lib/quote.c
133880
 
+  lib/quote.h
133881
 
+  lib/quotearg.c
133882
 
+  lib/quotearg.h
133883
 
+  lib/rand-isaac.c
133884
 
+  lib/rand-isaac.h
133885
 
+  lib/randint.c
133886
 
+  lib/randint.h
133887
 
+  lib/randperm.c
133888
 
+  lib/randperm.h
133889
 
+  lib/randread.c
133890
 
+  lib/randread.h
133891
 
+  lib/read-file.c
133892
 
+  lib/read-file.h
133893
 
+  lib/read.c
133894
 
+  lib/readlink.c
133895
 
+  lib/readlinkat.c
133896
 
+  lib/readtokens.c
133897
 
+  lib/readtokens.h
133898
 
+  lib/readtokens0.c
133899
 
+  lib/readtokens0.h
133900
 
+  lib/readutmp.c
133901
 
+  lib/readutmp.h
133902
 
+  lib/realloc.c
133903
 
+  lib/ref-add.sin
133904
 
+  lib/ref-del.sin
133905
 
+  lib/regcomp.c
133906
 
+  lib/regex.c
133907
 
+  lib/regex.h
133908
 
+  lib/regex_internal.c
133909
 
+  lib/regex_internal.h
133910
 
+  lib/regexec.c
133911
 
+  lib/remove.c
133912
 
+  lib/rename.c
133913
 
+  lib/rmdir.c
133914
 
+  lib/root-dev-ino.c
133915
 
+  lib/root-dev-ino.h
133916
 
+  lib/rpmatch.c
133917
 
+  lib/safe-read.c
133918
 
+  lib/safe-read.h
133919
 
+  lib/safe-write.c
133920
 
+  lib/safe-write.h
133921
 
+  lib/same-inode.h
133922
 
+  lib/same.c
133923
 
+  lib/same.h
133924
 
+  lib/save-cwd.c
133925
 
+  lib/save-cwd.h
133926
 
+  lib/savedir.c
133927
 
+  lib/savedir.h
133928
 
+  lib/savewd.c
133929
 
+  lib/savewd.h
133930
 
+  lib/sched.in.h
133931
 
+  lib/se-context.in.h
133932
 
+  lib/se-selinux.in.h
133933
 
+  lib/select.c
133934
 
+  lib/selinux-at.c
133935
 
+  lib/selinux-at.h
133936
 
+  lib/set-mode-acl.c
133937
 
+  lib/setenv.c
133938
 
+  lib/settime.c
133939
 
+  lib/sha1.c
133940
 
+  lib/sha1.h
133941
 
+  lib/sha256.c
133942
 
+  lib/sha256.h
133943
 
+  lib/sha512.c
133944
 
+  lib/sha512.h
133945
 
+  lib/sig-handler.h
133946
 
+  lib/sig2str.c
133947
 
+  lib/sig2str.h
133948
 
+  lib/sigaction.c
133949
 
+  lib/siglist.h
133950
 
+  lib/signal.in.h
133951
 
+  lib/signbitd.c
133952
 
+  lib/signbitf.c
133953
 
+  lib/signbitl.c
133954
 
+  lib/sigprocmask.c
133955
 
+  lib/size_max.h
133956
 
+  lib/snprintf.c
133957
 
+  lib/sockets.c
133958
 
+  lib/sockets.h
133959
 
+  lib/stat-macros.h
133960
 
+  lib/stat-size.h
133961
 
+  lib/stat-time.h
133962
 
+  lib/stat.c
133963
 
+  lib/stdarg.in.h
133964
 
+  lib/stdbool.in.h
133965
 
+  lib/stddef.in.h
133966
 
+  lib/stdint.in.h
133967
 
+  lib/stdio--.h
133968
 
+  lib/stdio-impl.h
133969
 
+  lib/stdio-safer.h
133970
 
+  lib/stdio.in.h
133971
 
+  lib/stdlib--.h
133972
 
+  lib/stdlib-safer.h
133973
 
+  lib/stdlib.in.h
133974
 
+  lib/stpcpy.c
133975
 
+  lib/stpncpy.c
133976
 
+  lib/str-kmp.h
133977
 
+  lib/str-two-way.h
133978
 
+  lib/strdup.c
133979
 
+  lib/streq.h
133980
 
+  lib/strerror-override.c
133981
 
+  lib/strerror-override.h
133982
 
+  lib/strerror.c
133983
 
+  lib/strftime.c
133984
 
+  lib/strftime.h
133985
 
+  lib/striconv.c
133986
 
+  lib/striconv.h
133987
 
+  lib/string.in.h
133988
 
+  lib/stripslash.c
133989
 
+  lib/strndup.c
133990
 
+  lib/strnlen.c
133991
 
+  lib/strnlen1.c
133992
 
+  lib/strnlen1.h
133993
 
+  lib/strsignal.c
133994
 
+  lib/strstr.c
133995
 
+  lib/strtod.c
133996
 
+  lib/strtoimax.c
133997
 
+  lib/strtol.c
133998
 
+  lib/strtoll.c
133999
 
+  lib/strtoul.c
134000
 
+  lib/strtoull.c
134001
 
+  lib/strtoumax.c
134002
 
+  lib/symlink.c
134003
 
+  lib/sys_ioctl.in.h
134004
 
+  lib/sys_select.in.h
134005
 
+  lib/sys_socket.in.h
134006
 
+  lib/sys_stat.in.h
134007
 
+  lib/sys_time.in.h
134008
 
+  lib/sys_uio.in.h
134009
 
+  lib/sys_utsname.in.h
134010
 
+  lib/sys_wait.in.h
134011
 
+  lib/tempname.c
134012
 
+  lib/tempname.h
134013
 
+  lib/termios.in.h
134014
 
+  lib/time.in.h
134015
 
+  lib/time_r.c
134016
 
+  lib/timespec.h
134017
 
+  lib/trim.c
134018
 
+  lib/trim.h
134019
 
+  lib/u64.h
134020
 
+  lib/uinttostr.c
134021
 
+  lib/umaxtostr.c
134022
 
+  lib/uname.c
134023
 
+  lib/unicodeio.c
134024
 
+  lib/unicodeio.h
134025
 
+  lib/unistd--.h
134026
 
+  lib/unistd-safer.h
134027
 
+  lib/unistd.in.h
134028
 
+  lib/unistr.in.h
134029
 
+  lib/unistr/u8-mbtoucr.c
134030
 
+  lib/unistr/u8-uctomb-aux.c
134031
 
+  lib/unistr/u8-uctomb.c
134032
 
+  lib/unitypes.in.h
134033
 
+  lib/uniwidth.in.h
134034
 
+  lib/uniwidth/cjk.h
134035
 
+  lib/uniwidth/width.c
134036
 
+  lib/unlink.c
134037
 
+  lib/unlinkat.c
134038
 
+  lib/unlocked-io.h
134039
 
+  lib/unsetenv.c
134040
 
+  lib/userspec.c
134041
 
+  lib/userspec.h
134042
 
+  lib/utimecmp.c
134043
 
+  lib/utimecmp.h
134044
 
+  lib/utimens.c
134045
 
+  lib/utimens.h
134046
 
+  lib/utimensat.c
134047
 
+  lib/vasnprintf.c
134048
 
+  lib/vasnprintf.h
134049
 
+  lib/vasprintf.c
134050
 
+  lib/verify.h
134051
 
+  lib/verror.c
134052
 
+  lib/verror.h
134053
 
+  lib/version-etc-fsf.c
134054
 
+  lib/version-etc.c
134055
 
+  lib/version-etc.h
134056
 
+  lib/vfprintf.c
134057
 
+  lib/vprintf.c
134058
 
+  lib/w32sock.h
134059
 
+  lib/wchar.in.h
134060
 
+  lib/wcrtomb.c
134061
 
+  lib/wcswidth-impl.h
134062
 
+  lib/wcswidth.c
134063
 
+  lib/wctype.in.h
134064
 
+  lib/wcwidth.c
134065
 
+  lib/write-any-file.c
134066
 
+  lib/write-any-file.h
134067
 
+  lib/write.c
134068
 
+  lib/xalloc-die.c
134069
 
+  lib/xalloc-oversized.h
134070
 
+  lib/xalloc.h
134071
 
+  lib/xasprintf.c
134072
 
+  lib/xfreopen.c
134073
 
+  lib/xfreopen.h
134074
 
+  lib/xgetcwd.c
134075
 
+  lib/xgetcwd.h
134076
 
+  lib/xgetgroups.c
134077
 
+  lib/xgethostname.c
134078
 
+  lib/xgethostname.h
134079
 
+  lib/xmalloc.c
134080
 
+  lib/xmemcoll.c
134081
 
+  lib/xmemcoll.h
134082
 
+  lib/xnanosleep.c
134083
 
+  lib/xnanosleep.h
134084
 
+  lib/xprintf.c
134085
 
+  lib/xprintf.h
134086
 
+  lib/xreadlink.c
134087
 
+  lib/xreadlink.h
134088
 
+  lib/xsize.h
134089
 
+  lib/xstriconv.c
134090
 
+  lib/xstriconv.h
134091
 
+  lib/xstrndup.c
134092
 
+  lib/xstrndup.h
134093
 
+  lib/xstrtod.c
134094
 
+  lib/xstrtod.h
134095
 
+  lib/xstrtoimax.c
134096
 
+  lib/xstrtol-error.c
134097
 
+  lib/xstrtol.c
134098
 
+  lib/xstrtol.h
134099
 
+  lib/xstrtold.c
134100
 
+  lib/xstrtoul.c
134101
 
+  lib/xstrtoumax.c
134102
 
+  lib/xtime.h
134103
 
+  lib/xvasprintf.c
134104
 
+  lib/xvasprintf.h
134105
 
+  lib/yesno.c
134106
 
+  lib/yesno.h
134107
 
+  m4/00gnulib.m4
134108
 
+  m4/acl.m4
134109
 
+  m4/alloca.m4
134110
 
+  m4/arpa_inet_h.m4
134111
 
+  m4/assert.m4
134112
 
+  m4/autobuild.m4
134113
 
+  m4/backupfile.m4
134114
 
+  m4/base64.m4
134115
 
+  m4/bison.m4
134116
 
+  m4/btowc.m4
134117
 
+  m4/c-strtod.m4
134118
 
+  m4/calloc.m4
134119
 
+  m4/canon-host.m4
134120
 
+  m4/canonicalize.m4
134121
 
+  m4/chdir-long.m4
134122
 
+  m4/chown.m4
134123
 
+  m4/clock_time.m4
134124
 
+  m4/close-stream.m4
134125
 
+  m4/close.m4
134126
 
+  m4/closein.m4
134127
 
+  m4/closeout.m4
134128
 
+  m4/codeset.m4
134129
 
+  m4/config-h.m4
134130
 
+  m4/configmake.m4
134131
 
+  m4/ctype.m4
134132
 
+  m4/cycle-check.m4
134133
 
+  m4/d-ino.m4
134134
 
+  m4/d-type.m4
134135
 
+  m4/dirent-safer.m4
134136
 
+  m4/dirent_h.m4
134137
 
+  m4/dirfd.m4
134138
 
+  m4/dirname.m4
134139
 
+  m4/double-slash-root.m4
134140
 
+  m4/dup2.m4
134141
 
+  m4/eealloc.m4
134142
 
+  m4/environ.m4
134143
 
+  m4/errno_h.m4
134144
 
+  m4/error.m4
134145
 
+  m4/euidaccess.m4
134146
 
+  m4/exponentd.m4
134147
 
+  m4/exponentf.m4
134148
 
+  m4/exponentl.m4
134149
 
+  m4/extensions.m4
134150
 
+  m4/faccessat.m4
134151
 
+  m4/fchdir.m4
134152
 
+  m4/fclose.m4
134153
 
+  m4/fcntl-o.m4
134154
 
+  m4/fcntl-safer.m4
134155
 
+  m4/fcntl.m4
134156
 
+  m4/fcntl_h.m4
134157
 
+  m4/fdopendir.m4
134158
 
+  m4/fflush.m4
134159
 
+  m4/fileblocks.m4
134160
 
+  m4/filemode.m4
134161
 
+  m4/filenamecat.m4
134162
 
+  m4/flexmember.m4
134163
 
+  m4/float_h.m4
134164
 
+  m4/fnmatch.m4
134165
 
+  m4/fopen.m4
134166
 
+  m4/fpending.m4
134167
 
+  m4/fpieee.m4
134168
 
+  m4/fpurge.m4
134169
 
+  m4/freading.m4
134170
 
+  m4/freopen.m4
134171
 
+  m4/frexp.m4
134172
 
+  m4/frexpl.m4
134173
 
+  m4/fseek.m4
134174
 
+  m4/fseeko.m4
134175
 
+  m4/fstypename.m4
134176
 
+  m4/fsusage.m4
134177
 
+  m4/fsync.m4
134178
 
+  m4/ftell.m4
134179
 
+  m4/ftello.m4
134180
 
+  m4/fts.m4
134181
 
+  m4/futimens.m4
134182
 
+  m4/getaddrinfo.m4
134183
 
+  m4/getcwd-abort-bug.m4
134184
 
+  m4/getcwd-path-max.m4
134185
 
+  m4/getcwd.m4
134186
 
+  m4/getdelim.m4
134187
 
+  m4/getdtablesize.m4
134188
 
+  m4/getgroups.m4
134189
 
+  m4/gethostname.m4
134190
 
+  m4/gethrxtime.m4
134191
 
+  m4/getline.m4
134192
 
+  m4/getloadavg.m4
134193
 
+  m4/getndelim2.m4
134194
 
+  m4/getopt.m4
134195
 
+  m4/getpagesize.m4
134196
 
+  m4/getpass.m4
134197
 
+  m4/gettext.m4
134198
 
+  m4/gettime.m4
134199
 
+  m4/gettimeofday.m4
134200
 
+  m4/getugroups.m4
134201
 
+  m4/getusershell.m4
134202
 
+  m4/glibc2.m4
134203
 
+  m4/glibc21.m4
134204
 
+  m4/gnu-make.m4
134205
 
+  m4/gnulib-common.m4
134206
 
+  m4/group-member.m4
134207
 
+  m4/hard-locale.m4
134208
 
+  m4/host-os.m4
134209
 
+  m4/hostent.m4
134210
 
+  m4/human.m4
134211
 
+  m4/i-ring.m4
134212
 
+  m4/iconv.m4
134213
 
+  m4/iconv_h.m4
134214
 
+  m4/iconv_open.m4
134215
 
+  m4/idcache.m4
134216
 
+  m4/include_next.m4
134217
 
+  m4/inet_ntop.m4
134218
 
+  m4/inet_pton.m4
134219
 
+  m4/inline.m4
134220
 
+  m4/intdiv0.m4
134221
 
+  m4/intl.m4
134222
 
+  m4/intldir.m4
134223
 
+  m4/intlmacosx.m4
134224
 
+  m4/intmax.m4
134225
 
+  m4/intmax_t.m4
134226
 
+  m4/inttostr.m4
134227
 
+  m4/inttypes-pri.m4
134228
 
+  m4/inttypes.m4
134229
 
+  m4/inttypes_h.m4
134230
 
+  m4/ioctl.m4
134231
 
+  m4/isapipe.m4
134232
 
+  m4/isblank.m4
134233
 
+  m4/isnand.m4
134234
 
+  m4/isnanf.m4
134235
 
+  m4/isnanl.m4
134236
 
+  m4/iswblank.m4
134237
 
+  m4/jm-winsz1.m4
134238
 
+  m4/jm-winsz2.m4
134239
 
+  m4/langinfo_h.m4
134240
 
+  m4/largefile.m4
134241
 
+  m4/lchmod.m4
134242
 
+  m4/lchown.m4
134243
 
+  m4/lcmessage.m4
134244
 
+  m4/ldexp.m4
134245
 
+  m4/ldexpl.m4
134246
 
+  m4/lib-ignore.m4
134247
 
+  m4/lib-ld.m4
134248
 
+  m4/lib-link.m4
134249
 
+  m4/lib-prefix.m4
134250
 
+  m4/libunistring-base.m4
134251
 
+  m4/link-follow.m4
134252
 
+  m4/link.m4
134253
 
+  m4/linkat.m4
134254
 
+  m4/localcharset.m4
134255
 
+  m4/locale-fr.m4
134256
 
+  m4/locale-ja.m4
134257
 
+  m4/locale-tr.m4
134258
 
+  m4/locale-zh.m4
134259
 
+  m4/locale_h.m4
134260
 
+  m4/localename.m4
134261
 
+  m4/lock.m4
134262
 
+  m4/longlong.m4
134263
 
+  m4/ls-mntd-fs.m4
134264
 
+  m4/lseek.m4
134265
 
+  m4/lstat.m4
134266
 
+  m4/malloc.m4
134267
 
+  m4/malloca.m4
134268
 
+  m4/manywarnings.m4
134269
 
+  m4/math_h.m4
134270
 
+  m4/mbchar.m4
134271
 
+  m4/mbiter.m4
134272
 
+  m4/mbrlen.m4
134273
 
+  m4/mbrtowc.m4
134274
 
+  m4/mbsinit.m4
134275
 
+  m4/mbslen.m4
134276
 
+  m4/mbsrtowcs.m4
134277
 
+  m4/mbstate_t.m4
134278
 
+  m4/mbswidth.m4
134279
 
+  m4/mbtowc.m4
134280
 
+  m4/md5.m4
134281
 
+  m4/memcasecmp.m4
134282
 
+  m4/memchr.m4
134283
 
+  m4/memcoll.m4
134284
 
+  m4/mempcpy.m4
134285
 
+  m4/memrchr.m4
134286
 
+  m4/mgetgroups.m4
134287
 
+  m4/mkancesdirs.m4
134288
 
+  m4/mkdir-p.m4
134289
 
+  m4/mkdir.m4
134290
 
+  m4/mkstemp.m4
134291
 
+  m4/mktime.m4
134292
 
+  m4/mmap-anon.m4
134293
 
+  m4/mode_t.m4
134294
 
+  m4/modechange.m4
134295
 
+  m4/mountlist.m4
134296
 
+  m4/mpsort.m4
134297
 
+  m4/multiarch.m4
134298
 
+  m4/nanosleep.m4
134299
 
+  m4/netdb_h.m4
134300
 
+  m4/netinet_in_h.m4
134301
 
+  m4/nl_langinfo.m4
134302
 
+  m4/nls.m4
134303
 
+  m4/nocrash.m4
134304
 
+  m4/nproc.m4
134305
 
+  m4/open.m4
134306
 
+  m4/openat.m4
134307
 
+  m4/parse-datetime.m4
134308
 
+  m4/pathmax.m4
134309
 
+  m4/perl.m4
134310
 
+  m4/perror.m4
134311
 
+  m4/physmem.m4
134312
 
+  m4/pipe.m4
134313
 
+  m4/po.m4
134314
 
+  m4/posix-shell.m4
134315
 
+  m4/posixtm.m4
134316
 
+  m4/posixver.m4
134317
 
+  m4/printf-frexp.m4
134318
 
+  m4/printf-frexpl.m4
134319
 
+  m4/printf-posix.m4
134320
 
+  m4/printf.m4
134321
 
+  m4/priv-set.m4
134322
 
+  m4/progtest.m4
134323
 
+  m4/pthread.m4
134324
 
+  m4/putenv.m4
134325
 
+  m4/quote.m4
134326
 
+  m4/quotearg.m4
134327
 
+  m4/read-file.m4
134328
 
+  m4/read.m4
134329
 
+  m4/readlink.m4
134330
 
+  m4/readlinkat.m4
134331
 
+  m4/readtokens.m4
134332
 
+  m4/readutmp.m4
134333
 
+  m4/realloc.m4
134334
 
+  m4/regex.m4
134335
 
+  m4/remove.m4
134336
 
+  m4/rename.m4
134337
 
+  m4/rmdir.m4
134338
 
+  m4/root-dev-ino.m4
134339
 
+  m4/rpmatch.m4
134340
 
+  m4/safe-read.m4
134341
 
+  m4/safe-write.m4
134342
 
+  m4/same.m4
134343
 
+  m4/save-cwd.m4
134344
 
+  m4/savedir.m4
134345
 
+  m4/savewd.m4
134346
 
+  m4/sched_h.m4
134347
 
+  m4/select.m4
134348
 
+  m4/selinux-context-h.m4
134349
 
+  m4/selinux-selinux-h.m4
134350
 
+  m4/servent.m4
134351
 
+  m4/setenv.m4
134352
 
+  m4/setlocale.m4
134353
 
+  m4/settime.m4
134354
 
+  m4/sha1.m4
134355
 
+  m4/sha256.m4
134356
 
+  m4/sha512.m4
134357
 
+  m4/sig2str.m4
134358
 
+  m4/sigaction.m4
134359
 
+  m4/signal_h.m4
134360
 
+  m4/signalblocking.m4
134361
 
+  m4/signbit.m4
134362
 
+  m4/size_max.m4
134363
 
+  m4/sleep.m4
134364
 
+  m4/snprintf.m4
134365
 
+  m4/socketlib.m4
134366
 
+  m4/sockets.m4
134367
 
+  m4/socklen.m4
134368
 
+  m4/sockpfaf.m4
134369
 
+  m4/ssize_t.m4
134370
 
+  m4/st_dm_mode.m4
134371
 
+  m4/stat-size.m4
134372
 
+  m4/stat-time.m4
134373
 
+  m4/stat.m4
134374
 
+  m4/stdarg.m4
134375
 
+  m4/stdbool.m4
134376
 
+  m4/stddef_h.m4
134377
 
+  m4/stdint.m4
134378
 
+  m4/stdint_h.m4
134379
 
+  m4/stdio_h.m4
134380
 
+  m4/stdlib_h.m4
134381
 
+  m4/stpcpy.m4
134382
 
+  m4/stpncpy.m4
134383
 
+  m4/strdup.m4
134384
 
+  m4/strerror.m4
134385
 
+  m4/strerror_r.m4
134386
 
+  m4/strftime.m4
134387
 
+  m4/string_h.m4
134388
 
+  m4/strndup.m4
134389
 
+  m4/strnlen.m4
134390
 
+  m4/strsignal.m4
134391
 
+  m4/strstr.m4
134392
 
+  m4/strtod.m4
134393
 
+  m4/strtoimax.m4
134394
 
+  m4/strtoll.m4
134395
 
+  m4/strtoull.m4
134396
 
+  m4/strtoumax.m4
134397
 
+  m4/symlink.m4
134398
 
+  m4/symlinkat.m4
134399
 
+  m4/sys_ioctl_h.m4
134400
 
+  m4/sys_select_h.m4
134401
 
+  m4/sys_socket_h.m4
134402
 
+  m4/sys_stat_h.m4
134403
 
+  m4/sys_time_h.m4
134404
 
+  m4/sys_uio_h.m4
134405
 
+  m4/sys_utsname_h.m4
134406
 
+  m4/sys_wait_h.m4
134407
 
+  m4/tempname.m4
134408
 
+  m4/termios_h.m4
134409
 
+  m4/thread.m4
134410
 
+  m4/threadlib.m4
134411
 
+  m4/time_h.m4
134412
 
+  m4/time_r.m4
134413
 
+  m4/timer_time.m4
134414
 
+  m4/timespec.m4
134415
 
+  m4/tls.m4
134416
 
+  m4/tm_gmtoff.m4
134417
 
+  m4/tzset.m4
134418
 
+  m4/uintmax_t.m4
134419
 
+  m4/uname.m4
134420
 
+  m4/ungetc.m4
134421
 
+  m4/unicodeio.m4
134422
 
+  m4/unistd-safer.m4
134423
 
+  m4/unistd_h.m4
134424
 
+  m4/unlink-busy.m4
134425
 
+  m4/unlink.m4
134426
 
+  m4/unlinkdir.m4
134427
 
+  m4/unlocked-io.m4
134428
 
+  m4/uptime.m4
134429
 
+  m4/userspec.m4
134430
 
+  m4/usleep.m4
134431
 
+  m4/utimbuf.m4
134432
 
+  m4/utimecmp.m4
134433
 
+  m4/utimens.m4
134434
 
+  m4/utimensat.m4
134435
 
+  m4/utimes.m4
134436
 
+  m4/vasnprintf.m4
134437
 
+  m4/vasprintf-posix.m4
134438
 
+  m4/vasprintf.m4
134439
 
+  m4/version-etc.m4
134440
 
+  m4/vfprintf-posix.m4
134441
 
+  m4/visibility.m4
134442
 
+  m4/vprintf-posix.m4
134443
 
+  m4/warn-on-use.m4
134444
 
+  m4/warnings.m4
134445
 
+  m4/wchar_h.m4
134446
 
+  m4/wchar_t.m4
134447
 
+  m4/wcrtomb.m4
134448
 
+  m4/wcswidth.m4
134449
 
+  m4/wctob.m4
134450
 
+  m4/wctomb.m4
134451
 
+  m4/wctype_h.m4
134452
 
+  m4/wcwidth.m4
134453
 
+  m4/wint_t.m4
134454
 
+  m4/write-any-file.m4
134455
 
+  m4/write.m4
134456
 
+  m4/xalloc.m4
134457
 
+  m4/xgetcwd.m4
134458
 
+  m4/xnanosleep.m4
134459
 
+  m4/xsize.m4
134460
 
+  m4/xstrndup.m4
134461
 
+  m4/xstrtod.m4
134462
 
+  m4/xstrtol.m4
134463
 
+  m4/xvasprintf.m4
134464
 
+  m4/yesno.m4
134465
 
+  m4/yield.m4
134466
 
+  tests/init.sh
134467
 
+  tests/macros.h
134468
 
+  tests/minus-zero.h
134469
 
+  tests/nan.h
134470
 
+  tests/nap.h
134471
 
+  tests/signature.h
134472
 
+  tests/test-alignof.c
134473
 
+  tests/test-alloca-opt.c
134474
 
+  tests/test-areadlink-with-size.c
134475
 
+  tests/test-areadlink.c
134476
 
+  tests/test-areadlink.h
134477
 
+  tests/test-areadlinkat.c
134478
 
+  tests/test-argmatch.c
134479
 
+  tests/test-argv-iter.c
134480
 
+  tests/test-arpa_inet.c
134481
 
+  tests/test-base64.c
134482
 
+  tests/test-binary-io.c
134483
 
+  tests/test-binary-io.sh
134484
 
+  tests/test-bitrotate.c
134485
 
+  tests/test-btowc.c
134486
 
+  tests/test-btowc1.sh
134487
 
+  tests/test-btowc2.sh
134488
 
+  tests/test-c-ctype.c
134489
 
+  tests/test-c-strcase.sh
134490
 
+  tests/test-c-strcasecmp.c
134491
 
+  tests/test-c-strncasecmp.c
134492
 
+  tests/test-calloc-gnu.c
134493
 
+  tests/test-canonicalize.c
134494
 
+  tests/test-chown.c
134495
 
+  tests/test-chown.h
134496
 
+  tests/test-cloexec.c
134497
 
+  tests/test-closein.c
134498
 
+  tests/test-closein.sh
134499
 
+  tests/test-copy-acl-1.sh
134500
 
+  tests/test-copy-acl-2.sh
134501
 
+  tests/test-copy-acl.c
134502
 
+  tests/test-copy-acl.sh
134503
 
+  tests/test-ctype.c
134504
 
+  tests/test-di-set.c
134505
 
+  tests/test-dirent-safer.c
134506
 
+  tests/test-dirent.c
134507
 
+  tests/test-dirname.c
134508
 
+  tests/test-dup-safer.c
134509
 
+  tests/test-dup2.c
134510
 
+  tests/test-environ.c
134511
 
+  tests/test-errno.c
134512
 
+  tests/test-exclude.c
134513
 
+  tests/test-exclude1.sh
134514
 
+  tests/test-exclude2.sh
134515
 
+  tests/test-exclude3.sh
134516
 
+  tests/test-exclude4.sh
134517
 
+  tests/test-exclude5.sh
134518
 
+  tests/test-exclude6.sh
134519
 
+  tests/test-exclude7.sh
134520
 
+  tests/test-exclude8.sh
134521
 
+  tests/test-fadvise.c
134522
 
+  tests/test-fchdir.c
134523
 
+  tests/test-fchownat.c
134524
 
+  tests/test-fclose.c
134525
 
+  tests/test-fcntl-h.c
134526
 
+  tests/test-fcntl-safer.c
134527
 
+  tests/test-fcntl.c
134528
 
+  tests/test-fdopendir.c
134529
 
+  tests/test-fdutimensat.c
134530
 
+  tests/test-fflush.c
134531
 
+  tests/test-fflush2.c
134532
 
+  tests/test-fflush2.sh
134533
 
+  tests/test-file-has-acl-1.sh
134534
 
+  tests/test-file-has-acl-2.sh
134535
 
+  tests/test-file-has-acl.c
134536
 
+  tests/test-file-has-acl.sh
134537
 
+  tests/test-filenamecat.c
134538
 
+  tests/test-filevercmp.c
134539
 
+  tests/test-float.c
134540
 
+  tests/test-fnmatch.c
134541
 
+  tests/test-fopen-safer.c
134542
 
+  tests/test-fopen.c
134543
 
+  tests/test-fopen.h
134544
 
+  tests/test-fpending.c
134545
 
+  tests/test-fpending.sh
134546
 
+  tests/test-fprintf-posix.h
134547
 
+  tests/test-fpurge.c
134548
 
+  tests/test-freadahead.c
134549
 
+  tests/test-freadahead.sh
134550
 
+  tests/test-freading.c
134551
 
+  tests/test-freadptr.c
134552
 
+  tests/test-freadptr.sh
134553
 
+  tests/test-freadptr2.c
134554
 
+  tests/test-freadptr2.sh
134555
 
+  tests/test-freadseek.c
134556
 
+  tests/test-freadseek.sh
134557
 
+  tests/test-freopen-safer.c
134558
 
+  tests/test-freopen.c
134559
 
+  tests/test-frexp.c
134560
 
+  tests/test-frexpl.c
134561
 
+  tests/test-fseek.c
134562
 
+  tests/test-fseek.sh
134563
 
+  tests/test-fseek2.sh
134564
 
+  tests/test-fseeko.c
134565
 
+  tests/test-fseeko.sh
134566
 
+  tests/test-fseeko2.sh
134567
 
+  tests/test-fseeko3.c
134568
 
+  tests/test-fseeko3.sh
134569
 
+  tests/test-fseterr.c
134570
 
+  tests/test-fstatat.c
134571
 
+  tests/test-fsync.c
134572
 
+  tests/test-ftell.c
134573
 
+  tests/test-ftell.sh
134574
 
+  tests/test-ftell2.sh
134575
 
+  tests/test-ftell3.c
134576
 
+  tests/test-ftello.c
134577
 
+  tests/test-ftello.sh
134578
 
+  tests/test-ftello2.sh
134579
 
+  tests/test-ftello3.c
134580
 
+  tests/test-futimens.c
134581
 
+  tests/test-futimens.h
134582
 
+  tests/test-getaddrinfo.c
134583
 
+  tests/test-getcwd-lgpl.c
134584
 
+  tests/test-getcwd.c
134585
 
+  tests/test-getdelim.c
134586
 
+  tests/test-getdtablesize.c
134587
 
+  tests/test-getgroups.c
134588
 
+  tests/test-gethostname.c
134589
 
+  tests/test-getline.c
134590
 
+  tests/test-getloadavg.c
134591
 
+  tests/test-getndelim2.c
134592
 
+  tests/test-getopt.c
134593
 
+  tests/test-getopt.h
134594
 
+  tests/test-getopt_long.h
134595
 
+  tests/test-gettimeofday.c
134596
 
+  tests/test-hash.c
134597
 
+  tests/test-i-ring.c
134598
 
+  tests/test-iconv-h.c
134599
 
+  tests/test-iconv.c
134600
 
+  tests/test-ignore-value.c
134601
 
+  tests/test-inet_ntop.c
134602
 
+  tests/test-inet_pton.c
134603
 
+  tests/test-ino-map.c
134604
 
+  tests/test-intprops.c
134605
 
+  tests/test-inttostr.c
134606
 
+  tests/test-inttypes.c
134607
 
+  tests/test-isblank.c
134608
 
+  tests/test-isnand-nolibm.c
134609
 
+  tests/test-isnand.h
134610
 
+  tests/test-isnanf-nolibm.c
134611
 
+  tests/test-isnanf.h
134612
 
+  tests/test-isnanl-nolibm.c
134613
 
+  tests/test-isnanl.h
134614
 
+  tests/test-iswblank.c
134615
 
+  tests/test-langinfo.c
134616
 
+  tests/test-lchown.c
134617
 
+  tests/test-lchown.h
134618
 
+  tests/test-link.c
134619
 
+  tests/test-link.h
134620
 
+  tests/test-linkat.c
134621
 
+  tests/test-locale.c
134622
 
+  tests/test-localename.c
134623
 
+  tests/test-lock.c
134624
 
+  tests/test-lseek.c
134625
 
+  tests/test-lseek.sh
134626
 
+  tests/test-lstat.c
134627
 
+  tests/test-lstat.h
134628
 
+  tests/test-lutimens.h
134629
 
+  tests/test-malloc-gnu.c
134630
 
+  tests/test-malloca.c
134631
 
+  tests/test-math.c
134632
 
+  tests/test-mbrtowc-w32-1.sh
134633
 
+  tests/test-mbrtowc-w32-2.sh
134634
 
+  tests/test-mbrtowc-w32-3.sh
134635
 
+  tests/test-mbrtowc-w32-4.sh
134636
 
+  tests/test-mbrtowc-w32-5.sh
134637
 
+  tests/test-mbrtowc-w32.c
134638
 
+  tests/test-mbrtowc.c
134639
 
+  tests/test-mbrtowc1.sh
134640
 
+  tests/test-mbrtowc2.sh
134641
 
+  tests/test-mbrtowc3.sh
134642
 
+  tests/test-mbrtowc4.sh
134643
 
+  tests/test-mbsalign.c
134644
 
+  tests/test-mbscasecmp.c
134645
 
+  tests/test-mbscasecmp.sh
134646
 
+  tests/test-mbsinit.c
134647
 
+  tests/test-mbsinit.sh
134648
 
+  tests/test-mbsrtowcs.c
134649
 
+  tests/test-mbsrtowcs1.sh
134650
 
+  tests/test-mbsrtowcs2.sh
134651
 
+  tests/test-mbsrtowcs3.sh
134652
 
+  tests/test-mbsrtowcs4.sh
134653
 
+  tests/test-mbsstr1.c
134654
 
+  tests/test-mbsstr2.c
134655
 
+  tests/test-mbsstr2.sh
134656
 
+  tests/test-mbsstr3.c
134657
 
+  tests/test-mbsstr3.sh
134658
 
+  tests/test-md5.c
134659
 
+  tests/test-memcasecmp.c
134660
 
+  tests/test-memchr.c
134661
 
+  tests/test-memchr2.c
134662
 
+  tests/test-memcoll.c
134663
 
+  tests/test-memrchr.c
134664
 
+  tests/test-mkdir.c
134665
 
+  tests/test-mkdir.h
134666
 
+  tests/test-mkdirat.c
134667
 
+  tests/test-nanosleep.c
134668
 
+  tests/test-netdb.c
134669
 
+  tests/test-netinet_in.c
134670
 
+  tests/test-nl_langinfo.c
134671
 
+  tests/test-nl_langinfo.sh
134672
 
+  tests/test-open.c
134673
 
+  tests/test-open.h
134674
 
+  tests/test-openat-safer.c
134675
 
+  tests/test-openat.c
134676
 
+  tests/test-parse-datetime.c
134677
 
+  tests/test-pathmax.c
134678
 
+  tests/test-perror.c
134679
 
+  tests/test-perror.sh
134680
 
+  tests/test-perror2.c
134681
 
+  tests/test-pipe.c
134682
 
+  tests/test-posixtm.c
134683
 
+  tests/test-printf-frexp.c
134684
 
+  tests/test-printf-frexpl.c
134685
 
+  tests/test-printf-posix.h
134686
 
+  tests/test-printf-posix.output
134687
 
+  tests/test-priv-set.c
134688
 
+  tests/test-quotearg-simple.c
134689
 
+  tests/test-quotearg.h
134690
 
+  tests/test-rand-isaac.c
134691
 
+  tests/test-read-file.c
134692
 
+  tests/test-readlink.c
134693
 
+  tests/test-readlink.h
134694
 
+  tests/test-readlinkat.c
134695
 
+  tests/test-realloc-gnu.c
134696
 
+  tests/test-remove.c
134697
 
+  tests/test-rename.c
134698
 
+  tests/test-rename.h
134699
 
+  tests/test-rmdir.c
134700
 
+  tests/test-rmdir.h
134701
 
+  tests/test-sameacls.c
134702
 
+  tests/test-sched.c
134703
 
+  tests/test-select-fd.c
134704
 
+  tests/test-select-in.sh
134705
 
+  tests/test-select-out.sh
134706
 
+  tests/test-select-stdin.c
134707
 
+  tests/test-select.c
134708
 
+  tests/test-select.h
134709
 
+  tests/test-set-mode-acl-1.sh
134710
 
+  tests/test-set-mode-acl-2.sh
134711
 
+  tests/test-set-mode-acl.c
134712
 
+  tests/test-set-mode-acl.sh
134713
 
+  tests/test-setenv.c
134714
 
+  tests/test-setlocale1.c
134715
 
+  tests/test-setlocale1.sh
134716
 
+  tests/test-setlocale2.c
134717
 
+  tests/test-setlocale2.sh
134718
 
+  tests/test-sha1.c
134719
 
+  tests/test-sigaction.c
134720
 
+  tests/test-signal.c
134721
 
+  tests/test-signbit.c
134722
 
+  tests/test-sigprocmask.c
134723
 
+  tests/test-sleep.c
134724
 
+  tests/test-snprintf.c
134725
 
+  tests/test-sockets.c
134726
 
+  tests/test-stat-time.c
134727
 
+  tests/test-stat.c
134728
 
+  tests/test-stat.h
134729
 
+  tests/test-stdbool.c
134730
 
+  tests/test-stddef.c
134731
 
+  tests/test-stdint.c
134732
 
+  tests/test-stdio.c
134733
 
+  tests/test-stdlib.c
134734
 
+  tests/test-strerror.c
134735
 
+  tests/test-strerror_r.c
134736
 
+  tests/test-strftime.c
134737
 
+  tests/test-striconv.c
134738
 
+  tests/test-string.c
134739
 
+  tests/test-strnlen.c
134740
 
+  tests/test-strsignal.c
134741
 
+  tests/test-strtod.c
134742
 
+  tests/test-strtoimax.c
134743
 
+  tests/test-strtoumax.c
134744
 
+  tests/test-symlink.c
134745
 
+  tests/test-symlink.h
134746
 
+  tests/test-symlinkat.c
134747
 
+  tests/test-sys_ioctl.c
134748
 
+  tests/test-sys_select.c
134749
 
+  tests/test-sys_socket.c
134750
 
+  tests/test-sys_stat.c
134751
 
+  tests/test-sys_time.c
134752
 
+  tests/test-sys_uio.c
134753
 
+  tests/test-sys_utsname.c
134754
 
+  tests/test-sys_wait.c
134755
 
+  tests/test-sys_wait.h
134756
 
+  tests/test-termios.c
134757
 
+  tests/test-thread_create.c
134758
 
+  tests/test-thread_self.c
134759
 
+  tests/test-time.c
134760
 
+  tests/test-tls.c
134761
 
+  tests/test-u64.c
134762
 
+  tests/test-uname.c
134763
 
+  tests/test-unistd.c
134764
 
+  tests/test-unlink.c
134765
 
+  tests/test-unlink.h
134766
 
+  tests/test-unlinkat.c
134767
 
+  tests/test-unsetenv.c
134768
 
+  tests/test-update-copyright.sh
134769
 
+  tests/test-userspec.c
134770
 
+  tests/test-usleep.c
134771
 
+  tests/test-utimens-common.h
134772
 
+  tests/test-utimens.c
134773
 
+  tests/test-utimens.h
134774
 
+  tests/test-utimensat.c
134775
 
+  tests/test-vasnprintf.c
134776
 
+  tests/test-vasprintf-posix.c
134777
 
+  tests/test-vasprintf.c
134778
 
+  tests/test-vc-list-files-cvs.sh
134779
 
+  tests/test-vc-list-files-git.sh
134780
 
+  tests/test-verify.c
134781
 
+  tests/test-verify.sh
134782
 
+  tests/test-version-etc.c
134783
 
+  tests/test-version-etc.sh
134784
 
+  tests/test-vfprintf-posix.c
134785
 
+  tests/test-vfprintf-posix.sh
134786
 
+  tests/test-vprintf-posix.c
134787
 
+  tests/test-vprintf-posix.sh
134788
 
+  tests/test-wchar.c
134789
 
+  tests/test-wcrtomb-w32-1.sh
134790
 
+  tests/test-wcrtomb-w32-2.sh
134791
 
+  tests/test-wcrtomb-w32-3.sh
134792
 
+  tests/test-wcrtomb-w32-4.sh
134793
 
+  tests/test-wcrtomb-w32-5.sh
134794
 
+  tests/test-wcrtomb-w32.c
134795
 
+  tests/test-wcrtomb.c
134796
 
+  tests/test-wcrtomb.sh
134797
 
+  tests/test-wctype-h.c
134798
 
+  tests/test-wcwidth.c
134799
 
+  tests/test-xalloc-die.c
134800
 
+  tests/test-xalloc-die.sh
134801
 
+  tests/test-xfprintf-posix.c
134802
 
+  tests/test-xprintf-posix.c
134803
 
+  tests/test-xprintf-posix.sh
134804
 
+  tests/test-xstrtoimax.c
134805
 
+  tests/test-xstrtoimax.sh
134806
 
+  tests/test-xstrtol.c
134807
 
+  tests/test-xstrtol.sh
134808
 
+  tests/test-xstrtoul.c
134809
 
+  tests/test-xstrtoumax.c
134810
 
+  tests/test-xstrtoumax.sh
134811
 
+  tests/test-xvasprintf.c
134812
 
+  tests/test-yesno.c
134813
 
+  tests/test-yesno.sh
134814
 
+  tests/unistr/test-u8-mbtoucr.c
134815
 
+  tests/unistr/test-u8-uctomb.c
134816
 
+  tests/uniwidth/test-uc_width.c
134817
 
+  tests/uniwidth/test-uc_width2.c
134818
 
+  tests/uniwidth/test-uc_width2.sh
134819
 
+  tests/zerosize-ptr.h
134820
 
+  tests=lib/accept.c
134821
 
+  tests=lib/binary-io.h
134822
 
+  tests=lib/bind.c
134823
 
+  tests=lib/connect.c
134824
 
+  tests=lib/glthread/thread.c
134825
 
+  tests=lib/glthread/thread.h
134826
 
+  tests=lib/glthread/yield.h
134827
 
+  tests=lib/inet_pton.c
134828
 
+  tests=lib/ioctl.c
134829
 
+  tests=lib/listen.c
134830
 
+  tests=lib/localename.c
134831
 
+  tests=lib/localename.h
134832
 
+  tests=lib/perror.c
134833
 
+  tests=lib/pipe.c
134834
 
+  tests=lib/setlocale.c
134835
 
+  tests=lib/setsockopt.c
134836
 
+  tests=lib/sleep.c
134837
 
+  tests=lib/socket.c
134838
 
+  tests=lib/strerror_r.c
134839
 
+  tests=lib/symlinkat.c
134840
 
+  tests=lib/unlinkdir.c
134841
 
+  tests=lib/unlinkdir.h
134842
 
+  tests=lib/usleep.c
134843
 
+  tests=lib/w32sock.h
134844
 
+  tests=lib/wctob.c
134845
 
+  tests=lib/wctomb-impl.h
134846
 
+  tests=lib/wctomb.c
134847
 
+  top/GNUmakefile
134848
 
+  top/maint.mk
134849
 
+])
134850
 
+m4trace:m4/group-member.m4:11: -1- AC_DEFUN([gl_FUNC_GROUP_MEMBER], [
134851
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
134852
 
+
134853
 
+  dnl Persuade glibc <unistd.h> to declare group_member().
134854
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
134855
 
+
134856
 
+  dnl Do this replacement check manually because I want the hyphen
134857
 
+  dnl (not the underscore) in the filename.
134858
 
+  AC_CHECK_FUNC([group_member], , [
134859
 
+    HAVE_GROUP_MEMBER=0
134860
 
+  ])
134861
 
+])
134862
 
+m4trace:m4/group-member.m4:26: -1- AC_DEFUN([gl_PREREQ_GROUP_MEMBER], [
134863
 
+  AC_REQUIRE([AC_FUNC_GETGROUPS])
134864
 
+])
134865
 
+m4trace:m4/hard-locale.m4:8: -1- AC_DEFUN([gl_HARD_LOCALE], [
134866
 
+  :
134867
 
+])
134868
 
+m4trace:m4/host-os.m4:13: -1- AC_DEFUN([gl_HOST_OS], [
134869
 
+  AC_REQUIRE([AC_CANONICAL_HOST])dnl
134870
 
+  AC_CACHE_CHECK([host operating system],
134871
 
+    gl_cv_host_operating_system,
134872
 
+
134873
 
+    [[case $host_os in
134874
 
+
134875
 
+       # These operating system names do not use the default heuristic below.
134876
 
+       # They are in reverse order, so that more-specific prefixes come first.
134877
 
+       winnt*)          os='Windows NT';;
134878
 
+       vos*)            os='VOS';;
134879
 
+       sysv*)           os='Unix System V';;
134880
 
+       superux*)        os='SUPER-UX';;
134881
 
+       sunos*)          os='SunOS';;
134882
 
+       stop*)           os='STOP';;
134883
 
+       sco*)            os='SCO Unix';;
134884
 
+       riscos*)         os='RISC OS';;
134885
 
+       riscix*)         os='RISCiX';;
134886
 
+       qnx*)            os='QNX';;
134887
 
+       pw32*)           os='PW32';;
134888
 
+       ptx*)            os='ptx';;
134889
 
+       plan9*)          os='Plan 9';;
134890
 
+       osf*)            os='Tru64';;
134891
 
+       os2*)            os='OS/2';;
134892
 
+       openbsd*)        os='OpenBSD';;
134893
 
+       nsk*)            os='NonStop Kernel';;
134894
 
+       nonstopux*)      os='NonStop-UX';;
134895
 
+       netbsd*-gnu*)    os='GNU/NetBSD';; # NetBSD kernel+libc, GNU userland
134896
 
+       netbsd*)         os='NetBSD';;
134897
 
+       mirbsd*)         os='MirBSD';;
134898
 
+       knetbsd*-gnu)    os='GNU/kNetBSD';; # NetBSD kernel, GNU libc+userland
134899
 
+       kfreebsd*-gnu)   os='GNU/kFreeBSD';; # FreeBSD kernel, GNU libc+userland
134900
 
+       msdosdjgpp*)     os='DJGPP';;
134901
 
+       mpeix*)          os='MPE/iX';;
134902
 
+       mint*)           os='MiNT';;
134903
 
+       mingw*)          os='MinGW';;
134904
 
+       lynxos*)         os='LynxOS';;
134905
 
+       linux*)          os='GNU/Linux';;
134906
 
+       hpux*)           os='HP-UX';;
134907
 
+       hiux*)           os='HI-UX';;
134908
 
+       gnu*)            os='GNU';;
134909
 
+       freebsd*)        os='FreeBSD';;
134910
 
+       dgux*)           os='DG/UX';;
134911
 
+       bsdi*)           os='BSD/OS';;
134912
 
+       bsd*)            os='BSD';;
134913
 
+       beos*)           os='BeOS';;
134914
 
+       aux*)            os='A/UX';;
134915
 
+       atheos*)         os='AtheOS';;
134916
 
+       amigaos*)        os='Amiga OS';;
134917
 
+       aix*)            os='AIX';;
134918
 
+
134919
 
+       # The default heuristic takes the initial alphabetic string
134920
 
+       # from $host_os, but capitalizes its first letter.
134921
 
+       [A-Za-z]*)
134922
 
+         os=`
134923
 
+           expr "X$host_os" : 'X\([A-Za-z]\)' | tr '[a-z]' '[A-Z]'
134924
 
+         ``
134925
 
+           expr "X$host_os" : 'X.\([A-Za-z]*\)'
134926
 
+         `
134927
 
+         ;;
134928
 
+
134929
 
+       # If $host_os does not start with an alphabetic string, use it unchanged.
134930
 
+       *)
134931
 
+         os=$host_os;;
134932
 
+     esac
134933
 
+     gl_cv_host_operating_system=$os]])
134934
 
+  AC_DEFINE_UNQUOTED([HOST_OPERATING_SYSTEM],
134935
 
+    "$gl_cv_host_operating_system",
134936
 
+    [The host operating system.])
134937
 
+])
134938
 
+m4trace:m4/hostent.m4:7: -1- AC_DEFUN([gl_HOSTENT], [
134939
 
+  dnl Where are gethostent(), sethostent(), endhostent(), gethostbyname(),
134940
 
+  dnl gethostbyaddr() defined?
134941
 
+  dnl - On Solaris, they are in libnsl. Ignore libxnet.
134942
 
+  dnl - On Haiku, they are in libnetwork.
134943
 
+  dnl - On BeOS, they are in libnet.
134944
 
+  dnl - On native Windows, they are in ws2_32.dll.
134945
 
+  dnl - Otherwise they are in libc.
134946
 
+  AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H
134947
 
+  HOSTENT_LIB=
134948
 
+  gl_saved_libs="$LIBS"
134949
 
+  AC_SEARCH_LIBS([gethostbyname], [nsl network net],
134950
 
+    [if test "$ac_cv_search_gethostbyname" != "none required"; then
134951
 
+       HOSTENT_LIB="$ac_cv_search_gethostbyname"
134952
 
+     fi])
134953
 
+  LIBS="$gl_saved_libs"
134954
 
+  if test -z "$HOSTENT_LIB"; then
134955
 
+    AC_CHECK_FUNCS([gethostbyname], , [
134956
 
+      AC_CACHE_CHECK([for gethostbyname in winsock2.h and -lws2_32],
134957
 
+        [gl_cv_w32_gethostbyname],
134958
 
+        [gl_cv_w32_gethostbyname=no
134959
 
+         gl_save_LIBS="$LIBS"
134960
 
+         LIBS="$LIBS -lws2_32"
134961
 
+         AC_LINK_IFELSE(
134962
 
+           [AC_LANG_PROGRAM(
134963
 
+              [[
134964
 
+#ifdef HAVE_WINSOCK2_H
134965
 
+#include <winsock2.h>
134966
 
+#endif
134967
 
+#include <stddef.h>
134968
 
+              ]],
134969
 
+              [[gethostbyname(NULL);]])],
134970
 
+           [gl_cv_w32_gethostbyname=yes])
134971
 
+         LIBS="$gl_save_LIBS"
134972
 
+        ])
134973
 
+      if test "$gl_cv_w32_gethostbyname" = "yes"; then
134974
 
+        HOSTENT_LIB="-lws2_32"
134975
 
+      fi
134976
 
+    ])
134977
 
+  fi
134978
 
+  AC_SUBST([HOSTENT_LIB])
134979
 
+])
134980
 
+m4trace:m4/human.m4:8: -1- AC_DEFUN([gl_HUMAN], [
134981
 
+  :
134982
 
+])
134983
 
+m4trace:m4/i-ring.m4:7: -1- AC_DEFUN([gl_I_RING], [
134984
 
+  :
134985
 
+])
134986
 
+m4trace:m4/iconv.m4:9: -1- AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [
134987
 
+  dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
134988
 
+  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
134989
 
+  AC_REQUIRE([AC_LIB_RPATH])
134990
 
+
134991
 
+  dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
134992
 
+  dnl accordingly.
134993
 
+  AC_LIB_LINKFLAGS_BODY([iconv])
134994
 
+])
134995
 
+m4trace:m4/iconv.m4:20: -1- AC_DEFUN([AM_ICONV_LINK], [
134996
 
+  dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
134997
 
+  dnl those with the standalone portable GNU libiconv installed).
134998
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
134999
 
+
135000
 
+  dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
135001
 
+  dnl accordingly.
135002
 
+  AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
135003
 
+
135004
 
+  dnl Add $INCICONV to CPPFLAGS before performing the following checks,
135005
 
+  dnl because if the user has installed libiconv and not disabled its use
135006
 
+  dnl via --without-libiconv-prefix, he wants to use it. The first
135007
 
+  dnl AC_LINK_IFELSE will then fail, the second AC_LINK_IFELSE will succeed.
135008
 
+  am_save_CPPFLAGS="$CPPFLAGS"
135009
 
+  AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
135010
 
+
135011
 
+  AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [
135012
 
+    am_cv_func_iconv="no, consider installing GNU libiconv"
135013
 
+    am_cv_lib_iconv=no
135014
 
+    AC_LINK_IFELSE(
135015
 
+      [AC_LANG_PROGRAM(
135016
 
+         [[
135017
 
+#include <stdlib.h>
135018
 
+#include <iconv.h>
135019
 
+         ]],
135020
 
+         [[iconv_t cd = iconv_open("","");
135021
 
+           iconv(cd,NULL,NULL,NULL,NULL);
135022
 
+           iconv_close(cd);]])],
135023
 
+      [am_cv_func_iconv=yes])
135024
 
+    if test "$am_cv_func_iconv" != yes; then
135025
 
+      am_save_LIBS="$LIBS"
135026
 
+      LIBS="$LIBS $LIBICONV"
135027
 
+      AC_LINK_IFELSE(
135028
 
+        [AC_LANG_PROGRAM(
135029
 
+           [[
135030
 
+#include <stdlib.h>
135031
 
+#include <iconv.h>
135032
 
+           ]],
135033
 
+           [[iconv_t cd = iconv_open("","");
135034
 
+             iconv(cd,NULL,NULL,NULL,NULL);
135035
 
+             iconv_close(cd);]])],
135036
 
+        [am_cv_lib_iconv=yes]
135037
 
+        [am_cv_func_iconv=yes])
135038
 
+      LIBS="$am_save_LIBS"
135039
 
+    fi
135040
 
+  ])
135041
 
+  if test "$am_cv_func_iconv" = yes; then
135042
 
+    AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [
135043
 
+      dnl This tests against bugs in AIX 5.1, AIX 6.1..7.1, HP-UX 11.11,
135044
 
+      dnl Solaris 10.
135045
 
+      am_save_LIBS="$LIBS"
135046
 
+      if test $am_cv_lib_iconv = yes; then
135047
 
+        LIBS="$LIBS $LIBICONV"
135048
 
+      fi
135049
 
+      AC_RUN_IFELSE(
135050
 
+        [AC_LANG_SOURCE([[
135051
 
+#include <iconv.h>
135052
 
+#include <string.h>
135053
 
+int main ()
135054
 
+{
135055
 
+  int result = 0;
135056
 
+  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
135057
 
+     returns.  */
135058
 
+  {
135059
 
+    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
135060
 
+    if (cd_utf8_to_88591 != (iconv_t)(-1))
135061
 
+      {
135062
 
+        static const char input[] = "\342\202\254"; /* EURO SIGN */
135063
 
+        char buf[10];
135064
 
+        const char *inptr = input;
135065
 
+        size_t inbytesleft = strlen (input);
135066
 
+        char *outptr = buf;
135067
 
+        size_t outbytesleft = sizeof (buf);
135068
 
+        size_t res = iconv (cd_utf8_to_88591,
135069
 
+                            (char **) &inptr, &inbytesleft,
135070
 
+                            &outptr, &outbytesleft);
135071
 
+        if (res == 0)
135072
 
+          result |= 1;
135073
 
+        iconv_close (cd_utf8_to_88591);
135074
 
+      }
135075
 
+  }
135076
 
+  /* Test against Solaris 10 bug: Failures are not distinguishable from
135077
 
+     successful returns.  */
135078
 
+  {
135079
 
+    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
135080
 
+    if (cd_ascii_to_88591 != (iconv_t)(-1))
135081
 
+      {
135082
 
+        static const char input[] = "\263";
135083
 
+        char buf[10];
135084
 
+        const char *inptr = input;
135085
 
+        size_t inbytesleft = strlen (input);
135086
 
+        char *outptr = buf;
135087
 
+        size_t outbytesleft = sizeof (buf);
135088
 
+        size_t res = iconv (cd_ascii_to_88591,
135089
 
+                            (char **) &inptr, &inbytesleft,
135090
 
+                            &outptr, &outbytesleft);
135091
 
+        if (res == 0)
135092
 
+          result |= 2;
135093
 
+        iconv_close (cd_ascii_to_88591);
135094
 
+      }
135095
 
+  }
135096
 
+  /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
135097
 
+  {
135098
 
+    iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
135099
 
+    if (cd_88591_to_utf8 != (iconv_t)(-1))
135100
 
+      {
135101
 
+        static const char input[] = "\304";
135102
 
+        static char buf[2] = { (char)0xDE, (char)0xAD };
135103
 
+        const char *inptr = input;
135104
 
+        size_t inbytesleft = 1;
135105
 
+        char *outptr = buf;
135106
 
+        size_t outbytesleft = 1;
135107
 
+        size_t res = iconv (cd_88591_to_utf8,
135108
 
+                            (char **) &inptr, &inbytesleft,
135109
 
+                            &outptr, &outbytesleft);
135110
 
+        if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
135111
 
+          result |= 4;
135112
 
+        iconv_close (cd_88591_to_utf8);
135113
 
+      }
135114
 
+  }
135115
 
+#if 0 /* This bug could be worked around by the caller.  */
135116
 
+  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
135117
 
+  {
135118
 
+    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
135119
 
+    if (cd_88591_to_utf8 != (iconv_t)(-1))
135120
 
+      {
135121
 
+        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
135122
 
+        char buf[50];
135123
 
+        const char *inptr = input;
135124
 
+        size_t inbytesleft = strlen (input);
135125
 
+        char *outptr = buf;
135126
 
+        size_t outbytesleft = sizeof (buf);
135127
 
+        size_t res = iconv (cd_88591_to_utf8,
135128
 
+                            (char **) &inptr, &inbytesleft,
135129
 
+                            &outptr, &outbytesleft);
135130
 
+        if ((int)res > 0)
135131
 
+          result |= 8;
135132
 
+        iconv_close (cd_88591_to_utf8);
135133
 
+      }
135134
 
+  }
135135
 
+#endif
135136
 
+  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
135137
 
+     provided.  */
135138
 
+  if (/* Try standardized names.  */
135139
 
+      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
135140
 
+      /* Try IRIX, OSF/1 names.  */
135141
 
+      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
135142
 
+      /* Try AIX names.  */
135143
 
+      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
135144
 
+      /* Try HP-UX names.  */
135145
 
+      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
135146
 
+    result |= 16;
135147
 
+  return result;
135148
 
+}]])],
135149
 
+        [am_cv_func_iconv_works=yes],
135150
 
+        [am_cv_func_iconv_works=no],
135151
 
+        [
135152
 
+changequote(,)dnl
135153
 
+         case "$host_os" in
135154
 
+           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
135155
 
+           *)            am_cv_func_iconv_works="guessing yes" ;;
135156
 
+         esac
135157
 
+changequote([,])dnl
135158
 
+        ])
135159
 
+      LIBS="$am_save_LIBS"
135160
 
+    ])
135161
 
+    case "$am_cv_func_iconv_works" in
135162
 
+      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
135163
 
+      *)   am_func_iconv=yes ;;
135164
 
+    esac
135165
 
+  else
135166
 
+    am_func_iconv=no am_cv_lib_iconv=no
135167
 
+  fi
135168
 
+  if test "$am_func_iconv" = yes; then
135169
 
+    AC_DEFINE([HAVE_ICONV], [1],
135170
 
+      [Define if you have the iconv() function and it works.])
135171
 
+  fi
135172
 
+  if test "$am_cv_lib_iconv" = yes; then
135173
 
+    AC_MSG_CHECKING([how to link with libiconv])
135174
 
+    AC_MSG_RESULT([$LIBICONV])
135175
 
+  else
135176
 
+    dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
135177
 
+    dnl either.
135178
 
+    CPPFLAGS="$am_save_CPPFLAGS"
135179
 
+    LIBICONV=
135180
 
+    LTLIBICONV=
135181
 
+  fi
135182
 
+  AC_SUBST([LIBICONV])
135183
 
+  AC_SUBST([LTLIBICONV])
135184
 
+])
135185
 
+m4trace:m4/iconv.m4:230: -1- AC_DEFUN_ONCE([AM_ICONV], [
135186
 
+  AM_ICONV_LINK
135187
 
+  if test "$am_cv_func_iconv" = yes; then
135188
 
+    AC_MSG_CHECKING([for iconv declaration])
135189
 
+    AC_CACHE_VAL([am_cv_proto_iconv], [
135190
 
+      AC_COMPILE_IFELSE(
135191
 
+        [AC_LANG_PROGRAM(
135192
 
+           [[
135193
 
+#include <stdlib.h>
135194
 
+#include <iconv.h>
135195
 
+extern
135196
 
+#ifdef __cplusplus
135197
 
+"C"
135198
 
+#endif
135199
 
+#if defined(__STDC__) || defined(__cplusplus)
135200
 
+size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
135201
 
+#else
135202
 
+size_t iconv();
135203
 
+#endif
135204
 
+           ]],
135205
 
+           [[]])],
135206
 
+        [am_cv_proto_iconv_arg1=""],
135207
 
+        [am_cv_proto_iconv_arg1="const"])
135208
 
+      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);"])
135209
 
+    am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
135210
 
+    AC_MSG_RESULT([
135211
 
+         $am_cv_proto_iconv])
135212
 
+    AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1],
135213
 
+      [Define as const if the declaration of iconv() needs const.])
135214
 
+    dnl Also substitute ICONV_CONST in the gnulib generated <iconv.h>.
135215
 
+    m4_ifdef([gl_ICONV_H_DEFAULTS],
135216
 
+      [AC_REQUIRE([gl_ICONV_H_DEFAULTS])
135217
 
+       if test -n "$am_cv_proto_iconv_arg1"; then
135218
 
+         ICONV_CONST="const"
135219
 
+       fi
135220
 
+      ])
135221
 
+  fi
135222
 
+])
135223
 
+m4trace:m4/iconv_h.m4:7: -1- AC_DEFUN([gl_ICONV_H], [
135224
 
+  AC_REQUIRE([gl_ICONV_H_DEFAULTS])
135225
 
+
135226
 
+  dnl Execute this unconditionally, because ICONV_H may be set by other
135227
 
+  dnl modules, after this code is executed.
135228
 
+  gl_CHECK_NEXT_HEADERS([iconv.h])
135229
 
+])
135230
 
+m4trace:m4/iconv_h.m4:17: -1- AC_DEFUN([gl_REPLACE_ICONV_H], [
135231
 
+  AC_REQUIRE([gl_ICONV_H_DEFAULTS])
135232
 
+  ICONV_H='iconv.h'
135233
 
+  AM_CONDITIONAL([GL_GENERATE_ICONV_H], [test -n "$ICONV_H"])
135234
 
+])
135235
 
+m4trace:m4/iconv_h.m4:24: -1- AC_DEFUN([gl_ICONV_MODULE_INDICATOR], [
135236
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
135237
 
+  AC_REQUIRE([gl_ICONV_H_DEFAULTS])
135238
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
135239
 
+])
135240
 
+m4trace:m4/iconv_h.m4:31: -1- AC_DEFUN([gl_ICONV_H_DEFAULTS], [
135241
 
+  GNULIB_ICONV=0;       AC_SUBST([GNULIB_ICONV])
135242
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
135243
 
+  ICONV_CONST=;         AC_SUBST([ICONV_CONST])
135244
 
+  REPLACE_ICONV=0;      AC_SUBST([REPLACE_ICONV])
135245
 
+  REPLACE_ICONV_OPEN=0; AC_SUBST([REPLACE_ICONV_OPEN])
135246
 
+  REPLACE_ICONV_UTF=0;  AC_SUBST([REPLACE_ICONV_UTF])
135247
 
+  ICONV_H='';           AC_SUBST([ICONV_H])
135248
 
+  AM_CONDITIONAL([GL_GENERATE_ICONV_H], [test -n "$ICONV_H"])
135249
 
+])
135250
 
+m4trace:m4/iconv_open.m4:7: -1- AC_DEFUN([gl_FUNC_ICONV_OPEN], [
135251
 
+  AC_REQUIRE([AM_ICONV])
135252
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
135253
 
+  AC_REQUIRE([gl_ICONV_H_DEFAULTS])
135254
 
+  if test "$am_cv_func_iconv" = yes; then
135255
 
+    dnl Provide the <iconv.h> override, for the sake of the C++ aliases.
135256
 
+    gl_REPLACE_ICONV_H
135257
 
+    dnl Test whether iconv_open accepts standardized encoding names.
135258
 
+    dnl We know that GNU libiconv and GNU libc do.
135259
 
+    AC_EGREP_CPP([gnu_iconv], [
135260
 
+      #include <iconv.h>
135261
 
+      #if defined _LIBICONV_VERSION || (defined __GLIBC__ && !defined __UCLIBC__)
135262
 
+       gnu_iconv
135263
 
+      #endif
135264
 
+      ], [gl_func_iconv_gnu=yes], [gl_func_iconv_gnu=no])
135265
 
+    if test $gl_func_iconv_gnu = no; then
135266
 
+      iconv_flavor=
135267
 
+      case "$host_os" in
135268
 
+        aix*)     iconv_flavor=ICONV_FLAVOR_AIX ;;
135269
 
+        irix*)    iconv_flavor=ICONV_FLAVOR_IRIX ;;
135270
 
+        hpux*)    iconv_flavor=ICONV_FLAVOR_HPUX ;;
135271
 
+        osf*)     iconv_flavor=ICONV_FLAVOR_OSF ;;
135272
 
+        solaris*) iconv_flavor=ICONV_FLAVOR_SOLARIS ;;
135273
 
+      esac
135274
 
+      if test -n "$iconv_flavor"; then
135275
 
+        AC_DEFINE_UNQUOTED([ICONV_FLAVOR], [$iconv_flavor],
135276
 
+          [Define to a symbolic name denoting the flavor of iconv_open()
135277
 
+           implementation.])
135278
 
+        gl_REPLACE_ICONV_OPEN
135279
 
+      fi
135280
 
+    fi
135281
 
+    m4_ifdef([gl_FUNC_ICONV_OPEN_UTF_SUPPORT], [
135282
 
+      gl_FUNC_ICONV_OPEN_UTF_SUPPORT
135283
 
+      if test $gl_cv_func_iconv_supports_utf = no; then
135284
 
+        REPLACE_ICONV_UTF=1
135285
 
+        AC_DEFINE([REPLACE_ICONV_UTF], [1],
135286
 
+          [Define if the iconv() functions are enhanced to handle the UTF-{16,32}{BE,LE} encodings.])
135287
 
+        REPLACE_ICONV=1
135288
 
+        gl_REPLACE_ICONV_OPEN
135289
 
+      fi
135290
 
+    ])
135291
 
+  fi
135292
 
+])
135293
 
+m4trace:m4/iconv_open.m4:52: -1- AC_DEFUN([gl_REPLACE_ICONV_OPEN], [
135294
 
+  gl_REPLACE_ICONV_H
135295
 
+  REPLACE_ICONV_OPEN=1
135296
 
+])
135297
 
+m4trace:m4/idcache.m4:8: -1- AC_DEFUN([gl_IDCACHE], [
135298
 
+  :
135299
 
+])
135300
 
+m4trace:m4/include-exclude-prog.m4:10: -1- AC_DEFUN([gl_ADD_PROG], [{
135301
 
+  if test -z "$$1"; then
135302
 
+    $1=$2
135303
 
+  else
135304
 
+    $1="$$1 $2"
135305
 
+  fi
135306
 
+}])
135307
 
+m4trace:m4/include-exclude-prog.m4:20: -1- AC_DEFUN([gl_REMOVE_PROG], [{
135308
 
+  $1=`for gl_rem_i in $$1; do
135309
 
+        test "$gl_rem_i" = "$2" || echo "$gl_rem_i"
135310
 
+      done | tr '\012' ' ' | sed 's/ $//'; echo`
135311
 
+}])
135312
 
+m4trace:m4/include-exclude-prog.m4:34: -1- AC_DEFUN([gl_INCLUDE_EXCLUDE_PROG], [{
135313
 
+  gl_no_install_progs_default=`echo '$2'|sed 's/,/ /g'`
135314
 
+  AC_ARG_ENABLE([install-program],
135315
 
+    [AS_HELP_STRING([--enable-install-program=PROG_LIST],
135316
 
+                    [install the programs in PROG_LIST (comma-separated,
135317
 
+                    default: none)])],
135318
 
+    [gl_do_install_prog=$enableval],
135319
 
+    [gl_do_install_prog=]
135320
 
+  )
135321
 
+
135322
 
+  # If you want to refrain from installing programs A and B,
135323
 
+  # use --enable-no-install-program=A,B
135324
 
+  AC_ARG_ENABLE([no-install-program],
135325
 
+    [AS_HELP_STRING([--enable-no-install-program=PROG_LIST],
135326
 
+                    [do NOT install the programs in PROG_LIST
135327
 
+                    (comma-separated, default: $2)])],
135328
 
+    [gl_no_install_prog=$enableval],
135329
 
+    [gl_no_install_prog=]
135330
 
+  )
135331
 
+
135332
 
+  # Convert to space separated lists.
135333
 
+  gl_do_install_prog=`echo "$gl_do_install_prog"|tr -s , ' '`
135334
 
+  gl_no_install_prog=`echo "$gl_no_install_prog"|tr -s , ' '`
135335
 
+
135336
 
+  # For each not-to-be-installed program name, ensure that it's a
135337
 
+  # valid name, remove it from the list of programs to build/install,
135338
 
+  # as well as from the list of man pages to install.
135339
 
+  for gl_i in $gl_no_install_prog; do
135340
 
+
135341
 
+    # Fail upon a request to install and not-install the same program.
135342
 
+    case " $gl_do_install_prog " in
135343
 
+      *" $gl_i "*) AC_MSG_ERROR(['$gl_i' is both included and excluded]) ;;
135344
 
+    esac
135345
 
+
135346
 
+    gl_msg=
135347
 
+    # Warn about a request not to install a program that is not being
135348
 
+    # built (which may be because the systems lacks a required interface).
135349
 
+    case " $$1 " in
135350
 
+      *" $gl_i "*) gl_REMOVE_PROG([$1], $gl_i) ;;
135351
 
+      *) gl_msg="'$gl_i' is already not being installed" ;;
135352
 
+    esac
135353
 
+
135354
 
+    if test "$gl_msg" = ''; then
135355
 
+      # Warn about a request not to install a program that is
135356
 
+      # already on the default-no-install list.
135357
 
+      case " $gl_no_install_progs_default " in
135358
 
+        *" $gl_i "*) gl_msg="by default, '$gl_i' is not installed" ;;
135359
 
+      esac
135360
 
+    fi
135361
 
+
135362
 
+    test "$gl_msg" != '' && AC_MSG_WARN([$gl_msg])
135363
 
+  done
135364
 
+
135365
 
+  for gl_i in $gl_do_install_prog; do
135366
 
+    case " $gl_no_install_progs_default " in
135367
 
+      *" $gl_i "*) gl_ADD_PROG([$1], $gl_i) ;;
135368
 
+      *) AC_MSG_WARN(['$gl_i' is not an optionally-installable program]) ;;
135369
 
+    esac
135370
 
+  done
135371
 
+}])
135372
 
+m4trace:m4/include_next.m4:35: -1- AC_DEFUN([gl_INCLUDE_NEXT], [
135373
 
+  AC_LANG_PREPROC_REQUIRE()
135374
 
+  AC_CACHE_CHECK([whether the preprocessor supports include_next],
135375
 
+    [gl_cv_have_include_next],
135376
 
+    [rm -rf conftestd1a conftestd1b conftestd2
135377
 
+     mkdir conftestd1a conftestd1b conftestd2
135378
 
+     dnl IBM C 9.0, 10.1 (original versions, prior to the 2009-01 updates) on
135379
 
+     dnl AIX 6.1 support include_next when used as first preprocessor directive
135380
 
+     dnl in a file, but not when preceded by another include directive. Check
135381
 
+     dnl for this bug by including <stdio.h>.
135382
 
+     dnl Additionally, with this same compiler, include_next is a no-op when
135383
 
+     dnl used in a header file that was included by specifying its absolute
135384
 
+     dnl file name. Despite these two bugs, include_next is used in the
135385
 
+     dnl compiler's <math.h>. By virtue of the second bug, we need to use
135386
 
+     dnl include_next as well in this case.
135387
 
+     cat <<EOF > conftestd1a/conftest.h
135388
 
+#define DEFINED_IN_CONFTESTD1
135389
 
+#include_next <conftest.h>
135390
 
+#ifdef DEFINED_IN_CONFTESTD2
135391
 
+int foo;
135392
 
+#else
135393
 
+#error "include_next doesn't work"
135394
 
+#endif
135395
 
+EOF
135396
 
+     cat <<EOF > conftestd1b/conftest.h
135397
 
+#define DEFINED_IN_CONFTESTD1
135398
 
+#include <stdio.h>
135399
 
+#include_next <conftest.h>
135400
 
+#ifdef DEFINED_IN_CONFTESTD2
135401
 
+int foo;
135402
 
+#else
135403
 
+#error "include_next doesn't work"
135404
 
+#endif
135405
 
+EOF
135406
 
+     cat <<EOF > conftestd2/conftest.h
135407
 
+#ifndef DEFINED_IN_CONFTESTD1
135408
 
+#error "include_next test doesn't work"
135409
 
+#endif
135410
 
+#define DEFINED_IN_CONFTESTD2
135411
 
+EOF
135412
 
+     gl_save_CPPFLAGS="$CPPFLAGS"
135413
 
+     CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2"
135414
 
+dnl We intentionally avoid using AC_LANG_SOURCE here.
135415
 
+     AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[#include <conftest.h>]],
135416
 
+       [gl_cv_have_include_next=yes],
135417
 
+       [CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2"
135418
 
+        AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[#include <conftest.h>]],
135419
 
+          [gl_cv_have_include_next=buggy],
135420
 
+          [gl_cv_have_include_next=no])
135421
 
+       ])
135422
 
+     CPPFLAGS="$gl_save_CPPFLAGS"
135423
 
+     rm -rf conftestd1a conftestd1b conftestd2
135424
 
+    ])
135425
 
+  PRAGMA_SYSTEM_HEADER=
135426
 
+  if test $gl_cv_have_include_next = yes; then
135427
 
+    INCLUDE_NEXT=include_next
135428
 
+    INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
135429
 
+    if test -n "$GCC"; then
135430
 
+      PRAGMA_SYSTEM_HEADER='#pragma GCC system_header'
135431
 
+    fi
135432
 
+  else
135433
 
+    if test $gl_cv_have_include_next = buggy; then
135434
 
+      INCLUDE_NEXT=include
135435
 
+      INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
135436
 
+    else
135437
 
+      INCLUDE_NEXT=include
135438
 
+      INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include
135439
 
+    fi
135440
 
+  fi
135441
 
+  AC_SUBST([INCLUDE_NEXT])
135442
 
+  AC_SUBST([INCLUDE_NEXT_AS_FIRST_DIRECTIVE])
135443
 
+  AC_SUBST([PRAGMA_SYSTEM_HEADER])
135444
 
+  AC_CACHE_CHECK([whether system header files limit the line length],
135445
 
+    [gl_cv_pragma_columns],
135446
 
+    [dnl HP NonStop systems, which define __TANDEM, have this misfeature.
135447
 
+     AC_EGREP_CPP([choke me],
135448
 
+       [
135449
 
+#ifdef __TANDEM
135450
 
+choke me
135451
 
+#endif
135452
 
+       ],
135453
 
+       [gl_cv_pragma_columns=yes],
135454
 
+       [gl_cv_pragma_columns=no])
135455
 
+    ])
135456
 
+  if test $gl_cv_pragma_columns = yes; then
135457
 
+    PRAGMA_COLUMNS="#pragma COLUMNS 10000"
135458
 
+  else
135459
 
+    PRAGMA_COLUMNS=
135460
 
+  fi
135461
 
+  AC_SUBST([PRAGMA_COLUMNS])
135462
 
+])
135463
 
+m4trace:m4/include_next.m4:153: -1- AC_DEFUN([gl_CHECK_NEXT_HEADERS], [
135464
 
+  gl_NEXT_HEADERS_INTERNAL([$1], [check])
135465
 
+])
135466
 
+m4trace:m4/include_next.m4:163: -1- AC_DEFUN([gl_NEXT_HEADERS], [
135467
 
+  gl_NEXT_HEADERS_INTERNAL([$1], [assume])
135468
 
+])
135469
 
+m4trace:m4/include_next.m4:169: -1- AC_DEFUN([gl_NEXT_HEADERS_INTERNAL], [
135470
 
+  AC_REQUIRE([gl_INCLUDE_NEXT])
135471
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
135472
 
+
135473
 
+  m4_if([$2], [check],
135474
 
+    [AC_CHECK_HEADERS_ONCE([$1])
135475
 
+    ])
135476
 
+
135477
 
+dnl FIXME: gl_next_header and gl_header_exists must be used unquoted
135478
 
+dnl until we can assume autoconf 2.64 or newer.
135479
 
+  m4_foreach_w([gl_HEADER_NAME], [$1],
135480
 
+    [AS_VAR_PUSHDEF([gl_next_header],
135481
 
+                    [gl_cv_next_]m4_defn([gl_HEADER_NAME]))
135482
 
+     if test $gl_cv_have_include_next = yes; then
135483
 
+       AS_VAR_SET(gl_next_header, ['<'gl_HEADER_NAME'>'])
135484
 
+     else
135485
 
+       AC_CACHE_CHECK(
135486
 
+         [absolute name of <]m4_defn([gl_HEADER_NAME])[>],
135487
 
+         m4_defn([gl_next_header]),
135488
 
+         [m4_if([$2], [check],
135489
 
+            [AS_VAR_PUSHDEF([gl_header_exists],
135490
 
+                            [ac_cv_header_]m4_defn([gl_HEADER_NAME]))
135491
 
+             if test AS_VAR_GET(gl_header_exists) = yes; then
135492
 
+             AS_VAR_POPDEF([gl_header_exists])
135493
 
+            ])
135494
 
+               AC_LANG_CONFTEST(
135495
 
+                 [AC_LANG_SOURCE(
135496
 
+                    [[#include <]]m4_dquote(m4_defn([gl_HEADER_NAME]))[[>]]
135497
 
+                  )])
135498
 
+               dnl AIX "xlc -E" and "cc -E" omit #line directives for header
135499
 
+               dnl files that contain only a #include of other header files and
135500
 
+               dnl no non-comment tokens of their own. This leads to a failure
135501
 
+               dnl to detect the absolute name of <dirent.h>, <signal.h>,
135502
 
+               dnl <poll.h> and others. The workaround is to force preservation
135503
 
+               dnl of comments through option -C. This ensures all necessary
135504
 
+               dnl #line directives are present. GCC supports option -C as well.
135505
 
+               case "$host_os" in
135506
 
+                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
135507
 
+                 *)    gl_absname_cpp="$ac_cpp" ;;
135508
 
+               esac
135509
 
+               dnl eval is necessary to expand gl_absname_cpp.
135510
 
+               dnl Ultrix and Pyramid sh refuse to redirect output of eval,
135511
 
+               dnl so use subshell.
135512
 
+               AS_VAR_SET(gl_next_header,
135513
 
+                 ['"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
135514
 
+                  sed -n '\#/]m4_defn([gl_HEADER_NAME])[#{
135515
 
+                    s#.*"\(.*/]m4_defn([gl_HEADER_NAME])[\)".*#\1#
135516
 
+                    s#^/[^/]#//&#
135517
 
+                    p
135518
 
+                    q
135519
 
+                  }'`'"'])
135520
 
+          m4_if([$2], [check],
135521
 
+            [else
135522
 
+               AS_VAR_SET(gl_next_header, ['<'gl_HEADER_NAME'>'])
135523
 
+             fi
135524
 
+            ])
135525
 
+         ])
135526
 
+     fi
135527
 
+     AC_SUBST(
135528
 
+       AS_TR_CPP([NEXT_]m4_defn([gl_HEADER_NAME])),
135529
 
+       [AS_VAR_GET(gl_next_header)])
135530
 
+     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
135531
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
135532
 
+       gl_next_as_first_directive='<'gl_HEADER_NAME'>'
135533
 
+     else
135534
 
+       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
135535
 
+       gl_next_as_first_directive=AS_VAR_GET(gl_next_header)
135536
 
+     fi
135537
 
+     AC_SUBST(
135538
 
+       AS_TR_CPP([NEXT_AS_FIRST_DIRECTIVE_]m4_defn([gl_HEADER_NAME])),
135539
 
+       [$gl_next_as_first_directive])
135540
 
+     AS_VAR_POPDEF([gl_next_header])])
135541
 
+])
135542
 
+m4trace:m4/inet_ntop.m4:7: -1- AC_DEFUN([gl_FUNC_INET_NTOP], [
135543
 
+  dnl Persuade Solaris <arpa/inet.h> to declare inet_ntop.
135544
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
135545
 
+
135546
 
+  dnl Most platforms that provide inet_ntop define it in libc.
135547
 
+  dnl Solaris 8..10 provide inet_ntop in libnsl instead.
135548
 
+  HAVE_INET_NTOP=1
135549
 
+  gl_save_LIBS=$LIBS
135550
 
+  AC_SEARCH_LIBS([inet_ntop], [nsl], [],
135551
 
+    [AC_CHECK_FUNCS([inet_ntop])
135552
 
+     if test $ac_cv_func_inet_ntop = no; then
135553
 
+       HAVE_INET_NTOP=0
135554
 
+     fi
135555
 
+    ])
135556
 
+  LIBS=$gl_save_LIBS
135557
 
+
135558
 
+  INET_NTOP_LIB=
135559
 
+  if test "$ac_cv_search_inet_ntop" != "no" &&
135560
 
+     test "$ac_cv_search_inet_ntop" != "none required"; then
135561
 
+    INET_NTOP_LIB="$ac_cv_search_inet_ntop"
135562
 
+  fi
135563
 
+  AC_SUBST([INET_NTOP_LIB])
135564
 
+
135565
 
+  AC_CHECK_HEADERS_ONCE([netdb.h])
135566
 
+  AC_CHECK_DECLS([inet_ntop],,,
135567
 
+    [#include <arpa/inet.h>
135568
 
+     #if HAVE_NETDB_H
135569
 
+     # include <netdb.h>
135570
 
+     #endif
135571
 
+    ])
135572
 
+  if test $ac_cv_have_decl_inet_ntop = no; then
135573
 
+    HAVE_DECL_INET_NTOP=0
135574
 
+    AC_REQUIRE([AC_C_RESTRICT])
135575
 
+  fi
135576
 
+])
135577
 
+m4trace:m4/inet_ntop.m4:45: -1- AC_DEFUN([gl_PREREQ_INET_NTOP], [
135578
 
+  AC_REQUIRE([gl_SOCKET_FAMILIES])
135579
 
+])
135580
 
+m4trace:m4/inet_pton.m4:7: -1- AC_DEFUN([gl_FUNC_INET_PTON], [
135581
 
+  dnl Persuade Solaris <arpa/inet.h> to declare inet_pton.
135582
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
135583
 
+
135584
 
+  dnl Most platforms that provide inet_pton define it in libc.
135585
 
+  dnl Solaris 8..10 provide inet_pton in libnsl instead.
135586
 
+  HAVE_INET_PTON=1
135587
 
+  gl_save_LIBS=$LIBS
135588
 
+  AC_SEARCH_LIBS([inet_pton], [nsl], [],
135589
 
+    [AC_CHECK_FUNCS([inet_pton])
135590
 
+     if test $ac_cv_func_inet_pton = no; then
135591
 
+       HAVE_INET_PTON=0
135592
 
+     fi
135593
 
+    ])
135594
 
+  LIBS=$gl_save_LIBS
135595
 
+
135596
 
+  INET_PTON_LIB=
135597
 
+  if test "$ac_cv_search_inet_pton" != "no" &&
135598
 
+     test "$ac_cv_search_inet_pton" != "none required"; then
135599
 
+    INET_PTON_LIB="$ac_cv_search_inet_pton"
135600
 
+  fi
135601
 
+  AC_SUBST([INET_PTON_LIB])
135602
 
+
135603
 
+  AC_CHECK_HEADERS_ONCE([netdb.h])
135604
 
+  AC_CHECK_DECLS([inet_pton],,,
135605
 
+    [#include <arpa/inet.h>
135606
 
+     #if HAVE_NETDB_H
135607
 
+     # include <netdb.h>
135608
 
+     #endif
135609
 
+    ])
135610
 
+  if test $ac_cv_have_decl_inet_pton = no; then
135611
 
+    HAVE_DECL_INET_PTON=0
135612
 
+    AC_REQUIRE([AC_C_RESTRICT])
135613
 
+  fi
135614
 
+])
135615
 
+m4trace:m4/inet_pton.m4:45: -1- AC_DEFUN([gl_PREREQ_INET_PTON], [
135616
 
+  AC_REQUIRE([gl_SOCKET_FAMILIES])
135617
 
+])
135618
 
+m4trace:m4/inline.m4:12: -1- AC_DEFUN([gl_INLINE], [
135619
 
+  AC_REQUIRE([AC_C_INLINE])
135620
 
+  AC_CACHE_CHECK([whether the compiler generally respects inline],
135621
 
+    [gl_cv_c_inline_effective],
135622
 
+    [if test $ac_cv_c_inline = no; then
135623
 
+       gl_cv_c_inline_effective=no
135624
 
+     else
135625
 
+       dnl GCC defines __NO_INLINE__ if not optimizing or if -fno-inline is
135626
 
+       dnl specified.
135627
 
+       dnl Use AC_COMPILE_IFELSE here, not AC_EGREP_CPP, because the result
135628
 
+       dnl depends on optimization flags, which can be in CFLAGS.
135629
 
+       dnl (AC_EGREP_CPP looks only at the CPPFLAGS.)
135630
 
+       AC_COMPILE_IFELSE(
135631
 
+         [AC_LANG_PROGRAM([[]],
135632
 
+           [[#ifdef __NO_INLINE__
135633
 
+               #error "inline is not effective"
135634
 
+             #endif]])],
135635
 
+         [gl_cv_c_inline_effective=yes],
135636
 
+         [gl_cv_c_inline_effective=no])
135637
 
+     fi
135638
 
+    ])
135639
 
+  if test $gl_cv_c_inline_effective = yes; then
135640
 
+    AC_DEFINE([HAVE_INLINE], [1],
135641
 
+      [Define to 1 if the compiler supports one of the keywords
135642
 
+       'inline', '__inline__', '__inline' and effectively inlines
135643
 
+       functions marked as such.])
135644
 
+  fi
135645
 
+])
135646
 
+m4trace:m4/intlmacosx.m4:18: -1- AC_DEFUN([gt_INTL_MACOSX], [
135647
 
+  dnl Check for API introduced in MacOS X 10.2.
135648
 
+  AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
135649
 
+    [gt_cv_func_CFPreferencesCopyAppValue],
135650
 
+    [gt_save_LIBS="$LIBS"
135651
 
+     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
135652
 
+     AC_LINK_IFELSE(
135653
 
+       [AC_LANG_PROGRAM(
135654
 
+          [[#include <CoreFoundation/CFPreferences.h>]],
135655
 
+          [[CFPreferencesCopyAppValue(NULL, NULL)]])],
135656
 
+       [gt_cv_func_CFPreferencesCopyAppValue=yes],
135657
 
+       [gt_cv_func_CFPreferencesCopyAppValue=no])
135658
 
+     LIBS="$gt_save_LIBS"])
135659
 
+  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
135660
 
+    AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1],
135661
 
+      [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
135662
 
+  fi
135663
 
+  dnl Check for API introduced in MacOS X 10.3.
135664
 
+  AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent],
135665
 
+    [gt_save_LIBS="$LIBS"
135666
 
+     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
135667
 
+     AC_LINK_IFELSE(
135668
 
+       [AC_LANG_PROGRAM(
135669
 
+          [[#include <CoreFoundation/CFLocale.h>]],
135670
 
+          [[CFLocaleCopyCurrent();]])],
135671
 
+       [gt_cv_func_CFLocaleCopyCurrent=yes],
135672
 
+       [gt_cv_func_CFLocaleCopyCurrent=no])
135673
 
+     LIBS="$gt_save_LIBS"])
135674
 
+  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
135675
 
+    AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1],
135676
 
+      [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
135677
 
+  fi
135678
 
+  INTL_MACOSX_LIBS=
135679
 
+  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
135680
 
+    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
135681
 
+  fi
135682
 
+  AC_SUBST([INTL_MACOSX_LIBS])
135683
 
+])
135684
 
+m4trace:m4/intmax_t.m4:15: -1- AC_DEFUN([gl_AC_TYPE_INTMAX_T], [
135685
 
+  dnl For simplicity, we assume that a header file defines 'intmax_t' if and
135686
 
+  dnl only if it defines 'uintmax_t'.
135687
 
+  AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
135688
 
+  AC_REQUIRE([gl_AC_HEADER_STDINT_H])
135689
 
+  if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then
135690
 
+    AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
135691
 
+    test $ac_cv_type_long_long_int = yes \
135692
 
+      && ac_type='long long' \
135693
 
+      || ac_type='long'
135694
 
+    AC_DEFINE_UNQUOTED([intmax_t], [$ac_type],
135695
 
+     [Define to long or long long if <inttypes.h> and <stdint.h> don't define.])
135696
 
+  else
135697
 
+    AC_DEFINE([HAVE_INTMAX_T], [1],
135698
 
+      [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
135699
 
+  fi
135700
 
+])
135701
 
+m4trace:m4/intmax_t.m4:36: -1- AC_DEFUN([gt_AC_TYPE_INTMAX_T], [
135702
 
+  AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
135703
 
+  AC_REQUIRE([gl_AC_HEADER_STDINT_H])
135704
 
+  AC_CACHE_CHECK([for intmax_t], [gt_cv_c_intmax_t],
135705
 
+    [AC_COMPILE_IFELSE(
135706
 
+       [AC_LANG_PROGRAM(
135707
 
+          [[
135708
 
+#include <stddef.h>
135709
 
+#include <stdlib.h>
135710
 
+#if HAVE_STDINT_H_WITH_UINTMAX
135711
 
+#include <stdint.h>
135712
 
+#endif
135713
 
+#if HAVE_INTTYPES_H_WITH_UINTMAX
135714
 
+#include <inttypes.h>
135715
 
+#endif
135716
 
+          ]],
135717
 
+          [[intmax_t x = -1; return !x;]])],
135718
 
+       [gt_cv_c_intmax_t=yes],
135719
 
+       [gt_cv_c_intmax_t=no])])
135720
 
+  if test $gt_cv_c_intmax_t = yes; then
135721
 
+    AC_DEFINE([HAVE_INTMAX_T], [1],
135722
 
+      [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
135723
 
+  else
135724
 
+    AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
135725
 
+    test $ac_cv_type_long_long_int = yes \
135726
 
+      && ac_type='long long' \
135727
 
+      || ac_type='long'
135728
 
+    AC_DEFINE_UNQUOTED([intmax_t], [$ac_type],
135729
 
+     [Define to long or long long if <stdint.h> and <inttypes.h> don't define.])
135730
 
+  fi
135731
 
+])
135732
 
+m4trace:m4/inttostr.m4:7: -1- AC_DEFUN([gl_INTTOSTR], [
135733
 
+  gl_PREREQ_INTTOSTR
135734
 
+  gl_PREREQ_IMAXTOSTR
135735
 
+  gl_PREREQ_OFFTOSTR
135736
 
+  gl_PREREQ_UMAXTOSTR
135737
 
+  gl_PREREQ_UINTTOSTR
135738
 
+])
135739
 
+m4trace:m4/inttostr.m4:17: -1- AC_DEFUN([gl_PREREQ_INTTOSTR], [
135740
 
+  AC_REQUIRE([AC_TYPE_OFF_T])
135741
 
+  :
135742
 
+])
135743
 
+m4trace:m4/inttostr.m4:23: -1- AC_DEFUN([gl_PREREQ_IMAXTOSTR], [:])
135744
 
+m4trace:m4/inttostr.m4:26: -1- AC_DEFUN([gl_PREREQ_OFFTOSTR], [:])
135745
 
+m4trace:m4/inttostr.m4:29: -1- AC_DEFUN([gl_PREREQ_UMAXTOSTR], [:])
135746
 
+m4trace:m4/inttostr.m4:32: -1- AC_DEFUN([gl_PREREQ_UINTTOSTR], [:])
135747
 
+m4trace:m4/inttypes-pri.m4:14: -1- AC_DEFUN([gt_INTTYPES_PRI], [
135748
 
+  AC_CHECK_HEADERS([inttypes.h])
135749
 
+  if test $ac_cv_header_inttypes_h = yes; then
135750
 
+    AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
135751
 
+      [gt_cv_inttypes_pri_broken],
135752
 
+      [
135753
 
+        AC_COMPILE_IFELSE(
135754
 
+          [AC_LANG_PROGRAM(
135755
 
+             [[
135756
 
+#include <inttypes.h>
135757
 
+#ifdef PRId32
135758
 
+char *p = PRId32;
135759
 
+#endif
135760
 
+             ]],
135761
 
+             [[]])],
135762
 
+          [gt_cv_inttypes_pri_broken=no],
135763
 
+          [gt_cv_inttypes_pri_broken=yes])
135764
 
+      ])
135765
 
+  fi
135766
 
+  if test "$gt_cv_inttypes_pri_broken" = yes; then
135767
 
+    AC_DEFINE_UNQUOTED([PRI_MACROS_BROKEN], [1],
135768
 
+      [Define if <inttypes.h> exists and defines unusable PRI* macros.])
135769
 
+    PRI_MACROS_BROKEN=1
135770
 
+  else
135771
 
+    PRI_MACROS_BROKEN=0
135772
 
+  fi
135773
 
+  AC_SUBST([PRI_MACROS_BROKEN])
135774
 
+])
135775
 
+m4trace:m4/inttypes.m4:10: -1- AC_DEFUN([gl_INTTYPES_H], [
135776
 
+  AC_REQUIRE([gl_INTTYPES_INCOMPLETE])
135777
 
+  gl_INTTYPES_PRI_SCN
135778
 
+])
135779
 
+m4trace:m4/inttypes.m4:16: -1- AC_DEFUN_ONCE([gl_INTTYPES_INCOMPLETE], [
135780
 
+  AC_REQUIRE([gl_STDINT_H])
135781
 
+  AC_CHECK_HEADERS_ONCE([inttypes.h])
135782
 
+
135783
 
+  dnl Override <inttypes.h> always, so that the portability warnings work.
135784
 
+  AC_REQUIRE([gl_INTTYPES_H_DEFAULTS])
135785
 
+  gl_CHECK_NEXT_HEADERS([inttypes.h])
135786
 
+
135787
 
+  AC_REQUIRE([gl_MULTIARCH])
135788
 
+
135789
 
+  dnl Ensure that <stdint.h> defines the limit macros, since gnulib's
135790
 
+  dnl <inttypes.h> relies on them.  This macro is only needed when a
135791
 
+  dnl C++ compiler is in use; it has no effect for a C compiler.
135792
 
+  dnl Also be careful to define __STDC_LIMIT_MACROS only when gnulib's
135793
 
+  dnl <inttypes.h> is going to be created, and to avoid redefinition warnings
135794
 
+  dnl if the __STDC_LIMIT_MACROS is already defined through the CPPFLAGS.
135795
 
+  AC_DEFINE([GL_TRIGGER_STDC_LIMIT_MACROS], [1],
135796
 
+    [Define to make the limit macros in <stdint.h> visible.])
135797
 
+  AH_VERBATIM([__STDC_LIMIT_MACROS_ZZZ],
135798
 
+[/* Ensure that <stdint.h> defines the limit macros, since gnulib's
135799
 
+   <inttypes.h> relies on them.  */
135800
 
+#if defined __cplusplus && !defined __STDC_LIMIT_MACROS && GL_TRIGGER_STDC_LIMIT_MACROS
135801
 
+# define __STDC_LIMIT_MACROS 1
135802
 
+#endif
135803
 
+])
135804
 
+
135805
 
+  dnl Check for declarations of anything we want to poison if the
135806
 
+  dnl corresponding gnulib module is not in use.
135807
 
+  gl_WARN_ON_USE_PREPARE([[#include <inttypes.h>
135808
 
+    ]], [imaxabs imaxdiv strtoimax strtoumax])
135809
 
+])
135810
 
+m4trace:m4/inttypes.m4:50: -1- AC_DEFUN([gl_INTTYPES_PRI_SCN], [
135811
 
+  AC_REQUIRE([gt_INTTYPES_PRI])
135812
 
+
135813
 
+  PRIPTR_PREFIX=
135814
 
+  if test -n "$STDINT_H"; then
135815
 
+    dnl Using the gnulib <stdint.h>. It always defines intptr_t to 'long'.
135816
 
+    PRIPTR_PREFIX='"l"'
135817
 
+  else
135818
 
+    dnl Using the system's <stdint.h>.
135819
 
+    for glpfx in '' l ll I64; do
135820
 
+      case $glpfx in
135821
 
+        '')  gltype1='int';;
135822
 
+        l)   gltype1='long int';;
135823
 
+        ll)  gltype1='long long int';;
135824
 
+        I64) gltype1='__int64';;
135825
 
+      esac
135826
 
+      AC_COMPILE_IFELSE(
135827
 
+        [AC_LANG_PROGRAM([[#include <stdint.h>
135828
 
+           extern intptr_t foo;
135829
 
+           extern $gltype1 foo;]])],
135830
 
+        [PRIPTR_PREFIX='"'$glpfx'"'])
135831
 
+      test -n "$PRIPTR_PREFIX" && break
135832
 
+    done
135833
 
+  fi
135834
 
+  AC_SUBST([PRIPTR_PREFIX])
135835
 
+
135836
 
+  gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION(
135837
 
+    [INT32_MAX_LT_INTMAX_MAX],
135838
 
+    [defined INT32_MAX && defined INTMAX_MAX],
135839
 
+    [INT32_MAX < INTMAX_MAX],
135840
 
+    [sizeof (int) < sizeof (long long int)])
135841
 
+  if test $APPLE_UNIVERSAL_BUILD = 0; then
135842
 
+    gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION(
135843
 
+      [INT64_MAX_EQ_LONG_MAX],
135844
 
+      [defined INT64_MAX],
135845
 
+      [INT64_MAX == LONG_MAX],
135846
 
+      [sizeof (long long int) == sizeof (long int)])
135847
 
+  else
135848
 
+    INT64_MAX_EQ_LONG_MAX=-1
135849
 
+  fi
135850
 
+  gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION(
135851
 
+    [UINT32_MAX_LT_UINTMAX_MAX],
135852
 
+    [defined UINT32_MAX && defined UINTMAX_MAX],
135853
 
+    [UINT32_MAX < UINTMAX_MAX],
135854
 
+    [sizeof (unsigned int) < sizeof (unsigned long long int)])
135855
 
+  if test $APPLE_UNIVERSAL_BUILD = 0; then
135856
 
+    gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION(
135857
 
+      [UINT64_MAX_EQ_ULONG_MAX],
135858
 
+      [defined UINT64_MAX],
135859
 
+      [UINT64_MAX == ULONG_MAX],
135860
 
+      [sizeof (unsigned long long int) == sizeof (unsigned long int)])
135861
 
+  else
135862
 
+    UINT64_MAX_EQ_ULONG_MAX=-1
135863
 
+  fi
135864
 
+])
135865
 
+m4trace:m4/inttypes.m4:113: -1- AC_DEFUN([gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION], [
135866
 
+  AC_CACHE_CHECK([whether $3],
135867
 
+    [gl_cv_test_$1],
135868
 
+    [AC_COMPILE_IFELSE(
135869
 
+       [AC_LANG_PROGRAM(
135870
 
+          [[/* Work also in C++ mode.  */
135871
 
+            #define __STDC_LIMIT_MACROS 1
135872
 
+
135873
 
+            /* Work if build is not clean.  */
135874
 
+            #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H
135875
 
+
135876
 
+            #include <limits.h>
135877
 
+            #if HAVE_STDINT_H
135878
 
+             #include <stdint.h>
135879
 
+            #endif
135880
 
+
135881
 
+            #if $2
135882
 
+             #define CONDITION ($3)
135883
 
+            #elif HAVE_LONG_LONG_INT
135884
 
+             #define CONDITION ($4)
135885
 
+            #else
135886
 
+             #define CONDITION 0
135887
 
+            #endif
135888
 
+            int test[CONDITION ? 1 : -1];]])],
135889
 
+       [gl_cv_test_$1=yes],
135890
 
+       [gl_cv_test_$1=no])])
135891
 
+  if test $gl_cv_test_$1 = yes; then
135892
 
+    $1=1;
135893
 
+  else
135894
 
+    $1=0;
135895
 
+  fi
135896
 
+  AC_SUBST([$1])
135897
 
+])
135898
 
+m4trace:m4/inttypes.m4:148: -1- AC_DEFUN([gl_INTTYPES_MODULE_INDICATOR], [
135899
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
135900
 
+  AC_REQUIRE([gl_INTTYPES_H_DEFAULTS])
135901
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
135902
 
+])
135903
 
+m4trace:m4/inttypes.m4:155: -1- AC_DEFUN([gl_INTTYPES_H_DEFAULTS], [
135904
 
+  GNULIB_IMAXABS=0;      AC_SUBST([GNULIB_IMAXABS])
135905
 
+  GNULIB_IMAXDIV=0;      AC_SUBST([GNULIB_IMAXDIV])
135906
 
+  GNULIB_STRTOIMAX=0;    AC_SUBST([GNULIB_STRTOIMAX])
135907
 
+  GNULIB_STRTOUMAX=0;    AC_SUBST([GNULIB_STRTOUMAX])
135908
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
135909
 
+  HAVE_DECL_IMAXABS=1;   AC_SUBST([HAVE_DECL_IMAXABS])
135910
 
+  HAVE_DECL_IMAXDIV=1;   AC_SUBST([HAVE_DECL_IMAXDIV])
135911
 
+  HAVE_DECL_STRTOIMAX=1; AC_SUBST([HAVE_DECL_STRTOIMAX])
135912
 
+  HAVE_DECL_STRTOUMAX=1; AC_SUBST([HAVE_DECL_STRTOUMAX])
135913
 
+  INT32_MAX_LT_INTMAX_MAX=1;  AC_SUBST([INT32_MAX_LT_INTMAX_MAX])
135914
 
+  INT64_MAX_EQ_LONG_MAX='defined _LP64';  AC_SUBST([INT64_MAX_EQ_LONG_MAX])
135915
 
+  PRI_MACROS_BROKEN=0;   AC_SUBST([PRI_MACROS_BROKEN])
135916
 
+  PRIPTR_PREFIX=__PRIPTR_PREFIX;  AC_SUBST([PRIPTR_PREFIX])
135917
 
+  UINT32_MAX_LT_UINTMAX_MAX=1;  AC_SUBST([UINT32_MAX_LT_UINTMAX_MAX])
135918
 
+  UINT64_MAX_EQ_ULONG_MAX='defined _LP64';  AC_SUBST([UINT64_MAX_EQ_ULONG_MAX])
135919
 
+])
135920
 
+m4trace:m4/inttypes_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_INTTYPES_H], [
135921
 
+  AC_CACHE_CHECK([for inttypes.h], [gl_cv_header_inttypes_h],
135922
 
+    [AC_COMPILE_IFELSE(
135923
 
+       [AC_LANG_PROGRAM(
135924
 
+          [[
135925
 
+#include <sys/types.h>
135926
 
+#include <inttypes.h>
135927
 
+          ]],
135928
 
+          [[uintmax_t i = (uintmax_t) -1; return !i;]])],
135929
 
+       [gl_cv_header_inttypes_h=yes],
135930
 
+       [gl_cv_header_inttypes_h=no])])
135931
 
+  if test $gl_cv_header_inttypes_h = yes; then
135932
 
+    AC_DEFINE_UNQUOTED([HAVE_INTTYPES_H_WITH_UINTMAX], [1],
135933
 
+      [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
135934
 
+       and declares uintmax_t. ])
135935
 
+  fi
135936
 
+])
135937
 
+m4trace:m4/ioctl.m4:7: -1- AC_DEFUN([gl_FUNC_IOCTL], [
135938
 
+  AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])
135939
 
+  AC_REQUIRE([gl_HEADER_SYS_SOCKET])
135940
 
+  HAVE_IOCTL=1
135941
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
135942
 
+    dnl Even if the 'socket' module is not used here, another part of the
135943
 
+    dnl application may use it and pass file descriptors that refer to
135944
 
+    dnl sockets to the ioctl() function. So enable the support for sockets.
135945
 
+    HAVE_IOCTL=0
135946
 
+  else
135947
 
+    AC_CHECK_FUNCS([ioctl])
135948
 
+    dnl On glibc systems, the second parameter is 'unsigned long int request',
135949
 
+    dnl not 'int request'. We cannot simply cast the function pointer, but
135950
 
+    dnl instead need a wrapper.
135951
 
+    AC_CACHE_CHECK([for ioctl with POSIX signature],
135952
 
+      [gl_cv_func_ioctl_posix_signature],
135953
 
+      [AC_COMPILE_IFELSE(
135954
 
+         [AC_LANG_PROGRAM(
135955
 
+            [[#include <sys/ioctl.h>]],
135956
 
+            [[extern
135957
 
+              #ifdef __cplusplus
135958
 
+              "C"
135959
 
+              #endif
135960
 
+              int ioctl (int, int, ...);
135961
 
+            ]])
135962
 
+         ],
135963
 
+         [gl_cv_func_ioctl_posix_signature=yes],
135964
 
+         [gl_cv_func_ioctl_posix_signature=no])
135965
 
+      ])
135966
 
+    if test $gl_cv_func_ioctl_posix_signature != yes; then
135967
 
+      REPLACE_IOCTL=1
135968
 
+    fi
135969
 
+  fi
135970
 
+])
135971
 
+m4trace:m4/isapipe.m4:11: -1- AC_DEFUN([gl_ISAPIPE], [
135972
 
+  # OpenVMS has isapipe already, so check for it.
135973
 
+  AC_CHECK_FUNCS([isapipe])
135974
 
+  if test $ac_cv_func_isapipe = yes; then
135975
 
+    HAVE_ISAPIPE=1
135976
 
+  else
135977
 
+    HAVE_ISAPIPE=0
135978
 
+  fi
135979
 
+])
135980
 
+m4trace:m4/isapipe.m4:23: -1- AC_DEFUN([gl_PREREQ_ISAPIPE], [
135981
 
+  AC_CACHE_CHECK([whether pipes are FIFOs (and for their link count)],
135982
 
+    [gl_cv_pipes_are_fifos],
135983
 
+    [AC_RUN_IFELSE(
135984
 
+       [AC_LANG_SOURCE(
135985
 
+          [[#include <stdio.h>
135986
 
+            #include <sys/types.h>
135987
 
+            #include <sys/stat.h>
135988
 
+            #include <unistd.h>
135989
 
+            #ifndef S_ISFIFO
135990
 
+             #define S_ISFIFO(m) 0
135991
 
+            #endif
135992
 
+            #ifndef S_ISSOCK
135993
 
+             #define S_ISSOCK(m) 0
135994
 
+            #endif
135995
 
+            int
135996
 
+            main (int argc, char **argv)
135997
 
+            {
135998
 
+              int fd[2];
135999
 
+              struct stat st;
136000
 
+              if (pipe (fd) != 0)
136001
 
+                return 1;
136002
 
+              if (fstat (fd[0], &st) != 0)
136003
 
+                return 2;
136004
 
+              if (2 <= argc && argv[1][0] == '-')
136005
 
+                {
136006
 
+                  char const *yesno = (S_ISFIFO (st.st_mode) ? "yes" : "no");
136007
 
+                  if (st.st_nlink <= 1)
136008
 
+                    {
136009
 
+                      long int i = st.st_nlink;
136010
 
+                      if (i != st.st_nlink)
136011
 
+                        return 3;
136012
 
+                      printf ("%s (%ld)\n", yesno, i);
136013
 
+                    }
136014
 
+                  else
136015
 
+                    {
136016
 
+                      unsigned long int i = st.st_nlink;
136017
 
+                      if (i != st.st_nlink)
136018
 
+                        return 4;
136019
 
+                      printf ("%s (%lu)\n", yesno, i);
136020
 
+                    }
136021
 
+                }
136022
 
+              else
136023
 
+                {
136024
 
+                  if (! S_ISFIFO (st.st_mode) && ! S_ISSOCK (st.st_mode))
136025
 
+                    return 5;
136026
 
+                }
136027
 
+              return 0;
136028
 
+            }]])],
136029
 
+       [gl_cv_pipes_are_fifos=`./conftest$ac_exeext -`
136030
 
+        test -z "$gl_cv_pipes_are_fifos" && gl_cv_pipes_are_fifos=no],
136031
 
+       [gl_cv_pipes_are_fifos=unknown],
136032
 
+       [gl_cv_pipes_are_fifos=cross-compiling])])
136033
 
+
136034
 
+  case $gl_cv_pipes_are_fifos in #(
136035
 
+  'yes ('*')')
136036
 
+    AC_DEFINE([HAVE_FIFO_PIPES], [1],
136037
 
+      [Define to 1 if pipes are FIFOs, 0 if sockets.  Leave undefined
136038
 
+       if not known.]);; #(
136039
 
+  'no ('*')')
136040
 
+    AC_DEFINE([HAVE_FIFO_PIPES], [0]);;
136041
 
+  esac
136042
 
+
136043
 
+  case $gl_cv_pipes_are_fifos in #(
136044
 
+  *'('*')')
136045
 
+    AC_DEFINE_UNQUOTED([PIPE_LINK_COUNT_MAX],
136046
 
+      [`expr "$gl_cv_pipes_are_fifos" : '.*\((.*)\)'`],
136047
 
+      [Define to the maximum link count that a true pipe can have.]);;
136048
 
+  esac
136049
 
+])
136050
 
+m4trace:m4/isblank.m4:7: -1- AC_DEFUN([gl_FUNC_ISBLANK], [
136051
 
+  dnl Persuade glibc <ctype.h> to declare isblank().
136052
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
136053
 
+
136054
 
+  AC_REQUIRE([gl_CTYPE_H_DEFAULTS])
136055
 
+  AC_CHECK_FUNCS_ONCE([isblank])
136056
 
+  if test $ac_cv_func_isblank = no; then
136057
 
+    HAVE_ISBLANK=0
136058
 
+  fi
136059
 
+])
136060
 
+m4trace:m4/isnand.m4:9: -1- AC_DEFUN([gl_FUNC_ISNAND], [
136061
 
+  AC_REQUIRE([gl_MATH_H_DEFAULTS])
136062
 
+  ISNAND_LIBM=
136063
 
+  gl_HAVE_ISNAND_NO_LIBM
136064
 
+  if test $gl_cv_func_isnand_no_libm = no; then
136065
 
+    gl_HAVE_ISNAND_IN_LIBM
136066
 
+    if test $gl_cv_func_isnand_in_libm = yes; then
136067
 
+      ISNAND_LIBM=-lm
136068
 
+    fi
136069
 
+  fi
136070
 
+  dnl The variable gl_func_isnand set here is used by isnan.m4.
136071
 
+  if test $gl_cv_func_isnand_no_libm = yes \
136072
 
+     || test $gl_cv_func_isnand_in_libm = yes; then
136073
 
+    gl_func_isnand=yes
136074
 
+  else
136075
 
+    gl_func_isnand=no
136076
 
+    HAVE_ISNAND=0
136077
 
+  fi
136078
 
+  AC_SUBST([ISNAND_LIBM])
136079
 
+])
136080
 
+m4trace:m4/isnand.m4:33: -1- AC_DEFUN([gl_FUNC_ISNAND_NO_LIBM], [
136081
 
+  gl_HAVE_ISNAND_NO_LIBM
136082
 
+  gl_func_isnand_no_libm=$gl_cv_func_isnand_no_libm
136083
 
+  if test $gl_cv_func_isnand_no_libm = yes; then
136084
 
+    AC_DEFINE([HAVE_ISNAND_IN_LIBC], [1],
136085
 
+      [Define if the isnan(double) function is available in libc.])
136086
 
+  fi
136087
 
+])
136088
 
+m4trace:m4/isnand.m4:44: -1- AC_DEFUN([gl_PREREQ_ISNAND], [
136089
 
+  gl_DOUBLE_EXPONENT_LOCATION
136090
 
+])
136091
 
+m4trace:m4/isnand.m4:51: -1- AC_DEFUN([gl_HAVE_ISNAND_IN_LIBM], [
136092
 
+  AC_CACHE_CHECK([whether isnan(double) can be used with libm],
136093
 
+    [gl_cv_func_isnand_in_libm],
136094
 
+    [
136095
 
+      save_LIBS="$LIBS"
136096
 
+      LIBS="$LIBS -lm"
136097
 
+      AC_LINK_IFELSE(
136098
 
+        [AC_LANG_PROGRAM(
136099
 
+           [[#include <math.h>
136100
 
+             #if __GNUC__ >= 4
136101
 
+             # undef isnand
136102
 
+             # define isnand(x) __builtin_isnan ((double)(x))
136103
 
+             #elif defined isnan
136104
 
+             # undef isnand
136105
 
+             # define isnand(x) isnan ((double)(x))
136106
 
+             #endif
136107
 
+             double x;]],
136108
 
+           [[return isnand (x);]])],
136109
 
+        [gl_cv_func_isnand_in_libm=yes],
136110
 
+        [gl_cv_func_isnand_in_libm=no])
136111
 
+      LIBS="$save_LIBS"
136112
 
+    ])
136113
 
+])
136114
 
+m4trace:m4/isnand.m4:76: -1- AC_DEFUN([gl_HAVE_ISNAND_NO_LIBM], [
136115
 
+  AC_CACHE_CHECK([whether isnan(double) can be used without linking with libm],
136116
 
+    [gl_cv_func_isnand_no_libm],
136117
 
+    [
136118
 
+      AC_LINK_IFELSE(
136119
 
+        [AC_LANG_PROGRAM(
136120
 
+           [[#include <math.h>
136121
 
+             #if __GNUC__ >= 4
136122
 
+             # undef isnand
136123
 
+             # define isnand(x) __builtin_isnan ((double)(x))
136124
 
+             #else
136125
 
+             # undef isnand
136126
 
+             # define isnand(x) isnan ((double)(x))
136127
 
+             #endif
136128
 
+             double x;]],
136129
 
+           [[return isnand (x);]])],
136130
 
+        [gl_cv_func_isnand_no_libm=yes],
136131
 
+        [gl_cv_func_isnand_no_libm=no])
136132
 
+    ])
136133
 
+])
136134
 
+m4trace:m4/isnanf.m4:9: -1- AC_DEFUN([gl_FUNC_ISNANF], [
136135
 
+  AC_REQUIRE([gl_MATH_H_DEFAULTS])
136136
 
+  ISNANF_LIBM=
136137
 
+  gl_HAVE_ISNANF_NO_LIBM
136138
 
+  if test $gl_cv_func_isnanf_no_libm = no; then
136139
 
+    gl_HAVE_ISNANF_IN_LIBM
136140
 
+    if test $gl_cv_func_isnanf_in_libm = yes; then
136141
 
+      ISNANF_LIBM=-lm
136142
 
+    fi
136143
 
+  fi
136144
 
+  dnl The variable gl_func_isnanf set here is used by isnan.m4.
136145
 
+  if test $gl_cv_func_isnanf_no_libm = yes \
136146
 
+     || test $gl_cv_func_isnanf_in_libm = yes; then
136147
 
+    save_LIBS="$LIBS"
136148
 
+    LIBS="$LIBS $ISNANF_LIBM"
136149
 
+    gl_ISNANF_WORKS
136150
 
+    LIBS="$save_LIBS"
136151
 
+    case "$gl_cv_func_isnanf_works" in
136152
 
+      *yes) gl_func_isnanf=yes ;;
136153
 
+      *)    gl_func_isnanf=no; ISNANF_LIBM= ;;
136154
 
+    esac
136155
 
+  else
136156
 
+    gl_func_isnanf=no
136157
 
+  fi
136158
 
+  if test $gl_func_isnanf != yes; then
136159
 
+    HAVE_ISNANF=0
136160
 
+  fi
136161
 
+  AC_SUBST([ISNANF_LIBM])
136162
 
+])
136163
 
+m4trace:m4/isnanf.m4:42: -1- AC_DEFUN([gl_FUNC_ISNANF_NO_LIBM], [
136164
 
+  gl_HAVE_ISNANF_NO_LIBM
136165
 
+  if test $gl_cv_func_isnanf_no_libm = yes; then
136166
 
+    gl_ISNANF_WORKS
136167
 
+  fi
136168
 
+  if test $gl_cv_func_isnanf_no_libm = yes \
136169
 
+     && { case "$gl_cv_func_isnanf_works" in
136170
 
+            *yes) true;;
136171
 
+            *) false;;
136172
 
+          esac
136173
 
+        }; then
136174
 
+    gl_func_isnanf_no_libm=yes
136175
 
+    AC_DEFINE([HAVE_ISNANF_IN_LIBC], [1],
136176
 
+      [Define if the isnan(float) function is available in libc.])
136177
 
+  else
136178
 
+    gl_func_isnanf_no_libm=no
136179
 
+  fi
136180
 
+])
136181
 
+m4trace:m4/isnanf.m4:63: -1- AC_DEFUN([gl_PREREQ_ISNANF], [
136182
 
+  gl_FLOAT_EXPONENT_LOCATION
136183
 
+])
136184
 
+m4trace:m4/isnanf.m4:69: -1- AC_DEFUN([gl_HAVE_ISNANF_NO_LIBM], [
136185
 
+  AC_CACHE_CHECK([whether isnan(float) can be used without linking with libm],
136186
 
+    [gl_cv_func_isnanf_no_libm],
136187
 
+    [
136188
 
+      AC_LINK_IFELSE(
136189
 
+        [AC_LANG_PROGRAM(
136190
 
+           [[#include <math.h>
136191
 
+             #if __GNUC__ >= 4
136192
 
+             # undef isnanf
136193
 
+             # define isnanf(x) __builtin_isnanf ((float)(x))
136194
 
+             #elif defined isnan
136195
 
+             # undef isnanf
136196
 
+             # define isnanf(x) isnan ((float)(x))
136197
 
+             #endif
136198
 
+             float x;]],
136199
 
+           [[return isnanf (x);]])],
136200
 
+        [gl_cv_func_isnanf_no_libm=yes],
136201
 
+        [gl_cv_func_isnanf_no_libm=no])
136202
 
+    ])
136203
 
+])
136204
 
+m4trace:m4/isnanf.m4:92: -1- AC_DEFUN([gl_HAVE_ISNANF_IN_LIBM], [
136205
 
+  AC_CACHE_CHECK([whether isnan(float) can be used with libm],
136206
 
+    [gl_cv_func_isnanf_in_libm],
136207
 
+    [
136208
 
+      save_LIBS="$LIBS"
136209
 
+      LIBS="$LIBS -lm"
136210
 
+      AC_LINK_IFELSE(
136211
 
+        [AC_LANG_PROGRAM(
136212
 
+           [[#include <math.h>
136213
 
+             #if __GNUC__ >= 4
136214
 
+             # undef isnanf
136215
 
+             # define isnanf(x) __builtin_isnanf ((float)(x))
136216
 
+             #elif defined isnan
136217
 
+             # undef isnanf
136218
 
+             # define isnanf(x) isnan ((float)(x))
136219
 
+             #endif
136220
 
+             float x;]],
136221
 
+           [[return isnanf (x);]])],
136222
 
+        [gl_cv_func_isnanf_in_libm=yes],
136223
 
+        [gl_cv_func_isnanf_in_libm=no])
136224
 
+      LIBS="$save_LIBS"
136225
 
+    ])
136226
 
+])
136227
 
+m4trace:m4/isnanf.m4:120: -1- AC_DEFUN([gl_ISNANF_WORKS], [
136228
 
+  AC_REQUIRE([AC_PROG_CC])
136229
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
136230
 
+  AC_REQUIRE([gl_FLOAT_EXPONENT_LOCATION])
136231
 
+  AC_CACHE_CHECK([whether isnan(float) works], [gl_cv_func_isnanf_works],
136232
 
+    [
136233
 
+      AC_RUN_IFELSE(
136234
 
+        [AC_LANG_SOURCE([[
136235
 
+#include <math.h>
136236
 
+#if __GNUC__ >= 4
136237
 
+# undef isnanf
136238
 
+# define isnanf(x) __builtin_isnanf ((float)(x))
136239
 
+#elif defined isnan
136240
 
+# undef isnanf
136241
 
+# define isnanf(x) isnan ((float)(x))
136242
 
+#endif
136243
 
+/* The Compaq (ex-DEC) C 6.4 compiler chokes on the expression 0.0 / 0.0.  */
136244
 
+#ifdef __DECC
136245
 
+static float
136246
 
+NaN ()
136247
 
+{
136248
 
+  static float zero = 0.0f;
136249
 
+  return zero / zero;
136250
 
+}
136251
 
+#else
136252
 
+# define NaN() (0.0f / 0.0f)
136253
 
+#endif
136254
 
+#define NWORDS \
136255
 
+  ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
136256
 
+typedef union { unsigned int word[NWORDS]; float value; } memory_float;
136257
 
+int main()
136258
 
+{
136259
 
+  int result = 0;
136260
 
+
136261
 
+  if (isnanf (1.0f / 0.0f))
136262
 
+    result |= 1;
136263
 
+
136264
 
+  if (!isnanf (NaN ()))
136265
 
+    result |= 2;
136266
 
+
136267
 
+#if defined FLT_EXPBIT0_WORD && defined FLT_EXPBIT0_BIT
136268
 
+  /* The isnanf function should be immune against changes in the sign bit and
136269
 
+     in the mantissa bits.  The xor operation twiddles a bit that can only be
136270
 
+     a sign bit or a mantissa bit.  */
136271
 
+  if (FLT_EXPBIT0_WORD == 0 && FLT_EXPBIT0_BIT > 0)
136272
 
+    {
136273
 
+      memory_float m;
136274
 
+
136275
 
+      m.value = NaN ();
136276
 
+      /* Set the bits below the exponent to 01111...111.  */
136277
 
+      m.word[0] &= -1U << FLT_EXPBIT0_BIT;
136278
 
+      m.word[0] |= 1U << (FLT_EXPBIT0_BIT - 1) - 1;
136279
 
+      if (!isnanf (m.value))
136280
 
+        result |= 4;
136281
 
+    }
136282
 
+#endif
136283
 
+
136284
 
+  return result;
136285
 
+}]])],
136286
 
+        [gl_cv_func_isnanf_works=yes],
136287
 
+        [gl_cv_func_isnanf_works=no],
136288
 
+        [case "$host_os" in
136289
 
+           irix* | solaris*) gl_cv_func_isnanf_works="guessing no";;
136290
 
+           *)                gl_cv_func_isnanf_works="guessing yes";;
136291
 
+         esac
136292
 
+        ])
136293
 
+    ])
136294
 
+])
136295
 
+m4trace:m4/isnanl.m4:7: -1- AC_DEFUN([gl_FUNC_ISNANL], [
136296
 
+  AC_REQUIRE([gl_MATH_H_DEFAULTS])
136297
 
+  ISNANL_LIBM=
136298
 
+  gl_HAVE_ISNANL_NO_LIBM
136299
 
+  if test $gl_cv_func_isnanl_no_libm = no; then
136300
 
+    gl_HAVE_ISNANL_IN_LIBM
136301
 
+    if test $gl_cv_func_isnanl_in_libm = yes; then
136302
 
+      ISNANL_LIBM=-lm
136303
 
+    fi
136304
 
+  fi
136305
 
+  dnl The variable gl_func_isnanl set here is used by isnan.m4.
136306
 
+  if test $gl_cv_func_isnanl_no_libm = yes \
136307
 
+     || test $gl_cv_func_isnanl_in_libm = yes; then
136308
 
+    save_LIBS="$LIBS"
136309
 
+    LIBS="$LIBS $ISNANL_LIBM"
136310
 
+    gl_FUNC_ISNANL_WORKS
136311
 
+    LIBS="$save_LIBS"
136312
 
+    case "$gl_cv_func_isnanl_works" in
136313
 
+      *yes) gl_func_isnanl=yes ;;
136314
 
+      *)    gl_func_isnanl=no; ISNANL_LIBM= ;;
136315
 
+    esac
136316
 
+  else
136317
 
+    gl_func_isnanl=no
136318
 
+  fi
136319
 
+  if test $gl_func_isnanl != yes; then
136320
 
+    HAVE_ISNANL=0
136321
 
+  fi
136322
 
+  AC_SUBST([ISNANL_LIBM])
136323
 
+])
136324
 
+m4trace:m4/isnanl.m4:38: -1- AC_DEFUN([gl_FUNC_ISNANL_NO_LIBM], [
136325
 
+  gl_HAVE_ISNANL_NO_LIBM
136326
 
+  gl_func_isnanl_no_libm=$gl_cv_func_isnanl_no_libm
136327
 
+  if test $gl_func_isnanl_no_libm = yes; then
136328
 
+    gl_FUNC_ISNANL_WORKS
136329
 
+    case "$gl_cv_func_isnanl_works" in
136330
 
+      *yes) ;;
136331
 
+      *)    gl_func_isnanl_no_libm=no ;;
136332
 
+    esac
136333
 
+  fi
136334
 
+  if test $gl_func_isnanl_no_libm = yes; then
136335
 
+    AC_DEFINE([HAVE_ISNANL_IN_LIBC], [1],
136336
 
+      [Define if the isnan(long double) function is available in libc.])
136337
 
+  fi
136338
 
+])
136339
 
+m4trace:m4/isnanl.m4:56: -1- AC_DEFUN([gl_PREREQ_ISNANL], [
136340
 
+  gl_LONG_DOUBLE_EXPONENT_LOCATION
136341
 
+])
136342
 
+m4trace:m4/isnanl.m4:62: -1- AC_DEFUN([gl_HAVE_ISNANL_NO_LIBM], [
136343
 
+  AC_CACHE_CHECK([whether isnan(long double) can be used without linking with libm],
136344
 
+    [gl_cv_func_isnanl_no_libm],
136345
 
+    [
136346
 
+      AC_LINK_IFELSE(
136347
 
+        [AC_LANG_PROGRAM(
136348
 
+           [[#include <math.h>
136349
 
+             #if __GNUC__ >= 4
136350
 
+             # undef isnanl
136351
 
+             # define isnanl(x) __builtin_isnanl ((long double)(x))
136352
 
+             #elif defined isnan
136353
 
+             # undef isnanl
136354
 
+             # define isnanl(x) isnan ((long double)(x))
136355
 
+             #endif
136356
 
+             long double x;]],
136357
 
+           [[return isnanl (x);]])],
136358
 
+        [gl_cv_func_isnanl_no_libm=yes],
136359
 
+        [gl_cv_func_isnanl_no_libm=no])
136360
 
+    ])
136361
 
+])
136362
 
+m4trace:m4/isnanl.m4:85: -1- AC_DEFUN([gl_HAVE_ISNANL_IN_LIBM], [
136363
 
+  AC_CACHE_CHECK([whether isnan(long double) can be used with libm],
136364
 
+    [gl_cv_func_isnanl_in_libm],
136365
 
+    [
136366
 
+      save_LIBS="$LIBS"
136367
 
+      LIBS="$LIBS -lm"
136368
 
+      AC_LINK_IFELSE(
136369
 
+        [AC_LANG_PROGRAM(
136370
 
+           [[#include <math.h>
136371
 
+             #if __GNUC__ >= 4
136372
 
+             # undef isnanl
136373
 
+             # define isnanl(x) __builtin_isnanl ((long double)(x))
136374
 
+             #elif defined isnan
136375
 
+             # undef isnanl
136376
 
+             # define isnanl(x) isnan ((long double)(x))
136377
 
+             #endif
136378
 
+             long double x;]],
136379
 
+           [[return isnanl (x);]])],
136380
 
+        [gl_cv_func_isnanl_in_libm=yes],
136381
 
+        [gl_cv_func_isnanl_in_libm=no])
136382
 
+      LIBS="$save_LIBS"
136383
 
+    ])
136384
 
+])
136385
 
+m4trace:m4/isnanl.m4:115: -1- AC_DEFUN([gl_FUNC_ISNANL_WORKS], [
136386
 
+  AC_REQUIRE([AC_PROG_CC])
136387
 
+  AC_REQUIRE([gl_BIGENDIAN])
136388
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
136389
 
+  AC_CACHE_CHECK([whether isnanl works], [gl_cv_func_isnanl_works],
136390
 
+    [
136391
 
+      AC_RUN_IFELSE(
136392
 
+        [AC_LANG_SOURCE([[
136393
 
+#include <float.h>
136394
 
+#include <limits.h>
136395
 
+#include <math.h>
136396
 
+#if __GNUC__ >= 4
136397
 
+# undef isnanl
136398
 
+# define isnanl(x) __builtin_isnanl ((long double)(x))
136399
 
+#elif defined isnan
136400
 
+# undef isnanl
136401
 
+# define isnanl(x) isnan ((long double)(x))
136402
 
+#endif
136403
 
+#define NWORDS \
136404
 
+  ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
136405
 
+typedef union { unsigned int word[NWORDS]; long double value; }
136406
 
+        memory_long_double;
136407
 
+/* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the
136408
 
+   runtime type conversion.  */
136409
 
+#ifdef __sgi
136410
 
+static long double NaNl ()
136411
 
+{
136412
 
+  double zero = 0.0;
136413
 
+  return zero / zero;
136414
 
+}
136415
 
+#else
136416
 
+# define NaNl() (0.0L / 0.0L)
136417
 
+#endif
136418
 
+int main ()
136419
 
+{
136420
 
+  int result = 0;
136421
 
+
136422
 
+  if (!isnanl (NaNl ()))
136423
 
+    result |= 1;
136424
 
+
136425
 
+  {
136426
 
+    memory_long_double m;
136427
 
+    unsigned int i;
136428
 
+
136429
 
+    /* The isnanl function should be immune against changes in the sign bit and
136430
 
+       in the mantissa bits.  The xor operation twiddles a bit that can only be
136431
 
+       a sign bit or a mantissa bit (since the exponent never extends to
136432
 
+       bit 31).  */
136433
 
+    m.value = NaNl ();
136434
 
+    m.word[NWORDS / 2] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1);
136435
 
+    for (i = 0; i < NWORDS; i++)
136436
 
+      m.word[i] |= 1;
136437
 
+    if (!isnanl (m.value))
136438
 
+      result |= 1;
136439
 
+  }
136440
 
+
136441
 
+#if ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_))
136442
 
+/* Representation of an 80-bit 'long double' as an initializer for a sequence
136443
 
+   of 'unsigned int' words.  */
136444
 
+# ifdef WORDS_BIGENDIAN
136445
 
+#  define LDBL80_WORDS(exponent,manthi,mantlo) \
136446
 
+     { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \
136447
 
+       ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16),    \
136448
 
+       (unsigned int) (mantlo) << 16                                        \
136449
 
+     }
136450
 
+# else
136451
 
+#  define LDBL80_WORDS(exponent,manthi,mantlo) \
136452
 
+     { mantlo, manthi, exponent }
136453
 
+# endif
136454
 
+  { /* Quiet NaN.  */
136455
 
+    static memory_long_double x =
136456
 
+      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
136457
 
+    if (!isnanl (x.value))
136458
 
+      result |= 2;
136459
 
+  }
136460
 
+  {
136461
 
+    /* Signalling NaN.  */
136462
 
+    static memory_long_double x =
136463
 
+      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
136464
 
+    if (!isnanl (x.value))
136465
 
+      result |= 2;
136466
 
+  }
136467
 
+  /* The isnanl function should recognize Pseudo-NaNs, Pseudo-Infinities,
136468
 
+     Pseudo-Zeroes, Unnormalized Numbers, and Pseudo-Denormals, as defined in
136469
 
+       Intel IA-64 Architecture Software Developer's Manual, Volume 1:
136470
 
+       Application Architecture.
136471
 
+       Table 5-2 "Floating-Point Register Encodings"
136472
 
+       Figure 5-6 "Memory to Floating-Point Register Data Translation"
136473
 
+   */
136474
 
+  { /* Pseudo-NaN.  */
136475
 
+    static memory_long_double x =
136476
 
+      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
136477
 
+    if (!isnanl (x.value))
136478
 
+      result |= 4;
136479
 
+  }
136480
 
+  { /* Pseudo-Infinity.  */
136481
 
+    static memory_long_double x =
136482
 
+      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
136483
 
+    if (!isnanl (x.value))
136484
 
+      result |= 8;
136485
 
+  }
136486
 
+  { /* Pseudo-Zero.  */
136487
 
+    static memory_long_double x =
136488
 
+      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
136489
 
+    if (!isnanl (x.value))
136490
 
+      result |= 16;
136491
 
+  }
136492
 
+  { /* Unnormalized number.  */
136493
 
+    static memory_long_double x =
136494
 
+      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
136495
 
+    if (!isnanl (x.value))
136496
 
+      result |= 32;
136497
 
+  }
136498
 
+  { /* Pseudo-Denormal.  */
136499
 
+    static memory_long_double x =
136500
 
+      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
136501
 
+    if (!isnanl (x.value))
136502
 
+      result |= 64;
136503
 
+  }
136504
 
+#endif
136505
 
+
136506
 
+  return result;
136507
 
+}]])],
136508
 
+        [gl_cv_func_isnanl_works=yes],
136509
 
+        [gl_cv_func_isnanl_works=no],
136510
 
+        [case "$host_cpu" in
136511
 
+                                 # Guess no on ia64, x86_64, i386.
136512
 
+           ia64 | x86_64 | i*86) gl_cv_func_isnanl_works="guessing no";;
136513
 
+           *)
136514
 
+             case "$host_os" in
136515
 
+               netbsd*) gl_cv_func_isnanl_works="guessing no";;
136516
 
+               *)       gl_cv_func_isnanl_works="guessing yes";;
136517
 
+             esac
136518
 
+             ;;
136519
 
+         esac
136520
 
+        ])
136521
 
+    ])
136522
 
+])
136523
 
+m4trace:m4/iswblank.m4:7: -1- AC_DEFUN([gl_FUNC_ISWBLANK], [
136524
 
+  AC_REQUIRE([gl_WCTYPE_H_DEFAULTS])
136525
 
+  AC_REQUIRE([gl_WCTYPE_H])
136526
 
+  dnl Persuade glibc <wctype.h> to declare iswblank().
136527
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
136528
 
+  AC_CHECK_FUNCS_ONCE([iswblank])
136529
 
+  AC_CHECK_DECLS([iswblank], , , [[
136530
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
136531
 
+   <wchar.h>.
136532
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
136533
 
+   before <wchar.h>.  */
136534
 
+#include <stddef.h>
136535
 
+#include <stdio.h>
136536
 
+#include <time.h>
136537
 
+#include <wchar.h>
136538
 
+#include <wctype.h>
136539
 
+]])
136540
 
+  if test $ac_cv_func_iswblank = no; then
136541
 
+    HAVE_ISWBLANK=0
136542
 
+    if test $ac_cv_have_decl_iswblank = yes; then
136543
 
+      REPLACE_ISWBLANK=1
136544
 
+    fi
136545
 
+  fi
136546
 
+  if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
136547
 
+    dnl Redefine all of iswcntrl, ..., towupper in <wctype.h>.
136548
 
+    :
136549
 
+  else
136550
 
+    if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then
136551
 
+      dnl Redefine only iswblank.
136552
 
+      :
136553
 
+    fi
136554
 
+  fi
136555
 
+
136556
 
+])
136557
 
+m4trace:m4/jm-macros.m4:22: -1- AC_DEFUN([coreutils_MACROS], [
136558
 
+  AM_MISSING_PROG(HELP2MAN, help2man)
136559
 
+  AC_SUBST([MAN])
136560
 
+
136561
 
+  dnl This macro actually runs replacement code.  See isc-posix.m4.
136562
 
+  AC_REQUIRE([AC_ISC_POSIX])dnl
136563
 
+
136564
 
+  gl_CHECK_ALL_TYPES
136565
 
+
136566
 
+  AC_REQUIRE([gl_CHECK_DECLS])
136567
 
+
136568
 
+  AC_REQUIRE([gl_PREREQ])
136569
 
+
136570
 
+  AC_REQUIRE([AC_FUNC_FSEEKO])
136571
 
+
136572
 
+  # By default, argmatch should fail calling usage (EXIT_FAILURE).
136573
 
+  AC_DEFINE([ARGMATCH_DIE], [usage (EXIT_FAILURE)],
136574
 
+            [Define to the function xargmatch calls on failures.])
136575
 
+  AC_DEFINE([ARGMATCH_DIE_DECL], [void usage (int _e)],
136576
 
+            [Define to the declaration of the xargmatch failure function.])
136577
 
+
136578
 
+  # used by shred
136579
 
+  AC_CHECK_FUNCS_ONCE([directio])
136580
 
+
136581
 
+  # Used by install.c.
136582
 
+  coreutils_saved_libs=$LIBS
136583
 
+    LIBS="$LIBS $LIB_SELINUX"
136584
 
+    AC_CHECK_FUNCS([matchpathcon_init_prefix], [],
136585
 
+    [
136586
 
+      case "$ac_cv_search_setfilecon:$ac_cv_header_selinux_selinux_h" in
136587
 
+        no:*) # SELinux disabled
136588
 
+          ;;
136589
 
+        *:no) # SELinux disabled
136590
 
+          ;;
136591
 
+        *)
136592
 
+        AC_MSG_WARN([SELinux enabled, but matchpathcon_init_prefix not found])
136593
 
+        AC_MSG_WARN([The install utility may run slowly])
136594
 
+      esac
136595
 
+    ])
136596
 
+  LIBS=$coreutils_saved_libs
136597
 
+
136598
 
+  # Used by sort.c.
136599
 
+  AC_CHECK_FUNCS_ONCE([nl_langinfo])
136600
 
+  # Used by timeout.c
136601
 
+  AC_CHECK_FUNCS_ONCE([setrlimit])
136602
 
+
136603
 
+  # Used by tail.c.
136604
 
+  AC_CHECK_FUNCS([inotify_init],
136605
 
+    [AC_DEFINE([HAVE_INOTIFY], [1],
136606
 
+     [Define to 1 if you have usable inotify support.])])
136607
 
+
136608
 
+  AC_CHECK_FUNCS_ONCE( \
136609
 
+    endgrent \
136610
 
+    endpwent \
136611
 
+    fchown \
136612
 
+    fchmod \
136613
 
+    ftruncate \
136614
 
+    iswspace \
136615
 
+    mkfifo \
136616
 
+    mbrlen \
136617
 
+    setgroups \
136618
 
+    sethostname \
136619
 
+    siginterrupt \
136620
 
+    sync \
136621
 
+    sysctl \
136622
 
+    sysinfo \
136623
 
+    tcgetpgrp \
136624
 
+  )
136625
 
+
136626
 
+  dnl This can't use AC_REQUIRE; I'm not quite sure why.
136627
 
+  cu_PREREQ_STAT_PROG
136628
 
+
136629
 
+  # for dd.c and shred.c
136630
 
+  #
136631
 
+  # Use fdatasync only if declared.  On MacOS X 10.7, fdatasync exists but
136632
 
+  # is not declared, and is ineffective.
136633
 
+  LIB_FDATASYNC=
136634
 
+  AC_SUBST([LIB_FDATASYNC])
136635
 
+  AC_CHECK_DECLS_ONCE([fdatasync])
136636
 
+  if test $ac_cv_have_decl_fdatasync = yes; then
136637
 
+    coreutils_saved_libs=$LIBS
136638
 
+    AC_SEARCH_LIBS([fdatasync], [rt posix4],
136639
 
+                   [test "$ac_cv_search_fdatasync" = "none required" ||
136640
 
+                    LIB_FDATASYNC=$ac_cv_search_fdatasync])
136641
 
+    AC_CHECK_FUNCS([fdatasync])
136642
 
+    LIBS=$coreutils_saved_libs
136643
 
+  fi
136644
 
+
136645
 
+  # Check whether libcap is usable -- for ls --color support
136646
 
+  LIB_CAP=
136647
 
+  AC_ARG_ENABLE([libcap],
136648
 
+    AC_HELP_STRING([--disable-libcap], [disable libcap support]))
136649
 
+  if test "X$enable_libcap" != "Xno"; then
136650
 
+    AC_CHECK_LIB([cap], [cap_get_file],
136651
 
+      [AC_CHECK_HEADER([sys/capability.h],
136652
 
+        [LIB_CAP=-lcap
136653
 
+         AC_DEFINE([HAVE_CAP], [1], [libcap usability])]
136654
 
+      )])
136655
 
+    if test "X$LIB_CAP" = "X"; then
136656
 
+      if test "X$enable_libcap" = "Xyes"; then
136657
 
+        AC_MSG_ERROR([libcap library was not found or not usable])
136658
 
+      else
136659
 
+        AC_MSG_WARN([libcap library was not found or not usable.])
136660
 
+        AC_MSG_WARN([AC_PACKAGE_NAME will be built without capability support.])
136661
 
+      fi
136662
 
+    fi
136663
 
+  else
136664
 
+    AC_MSG_WARN([libcap support disabled by user])
136665
 
+  fi
136666
 
+  AC_SUBST([LIB_CAP])
136667
 
+
136668
 
+  # See if linking `seq' requires -lm.
136669
 
+  # It does on nearly every system.  The single exception (so far) is
136670
 
+  # BeOS which has all the math functions in the normal runtime library
136671
 
+  # and doesn't have a separate math library.
136672
 
+
136673
 
+  AC_SUBST([SEQ_LIBM])
136674
 
+  ac_seq_body='
136675
 
+     static double x, y;
136676
 
+     x = floor (x);
136677
 
+     x = rint (x);
136678
 
+     x = modf (x, &y);'
136679
 
+  AC_TRY_LINK([#include <math.h>], [$ac_seq_body], ,
136680
 
+    [ac_seq_save_LIBS="$LIBS"
136681
 
+     LIBS="$LIBS -lm"
136682
 
+     AC_TRY_LINK([#include <math.h>], [$ac_seq_body], [SEQ_LIBM=-lm])
136683
 
+     LIBS="$ac_seq_save_LIBS"
136684
 
+    ])
136685
 
+
136686
 
+  AC_REQUIRE([AM_LANGINFO_CODESET])
136687
 
+
136688
 
+  # Accept configure options: --with-tty-group[=GROUP], --without-tty-group
136689
 
+  # You can determine the group of a TTY via 'stat --format %G /dev/tty'
136690
 
+  # Omitting this option is equivalent to using --without-tty-group.
136691
 
+  AC_ARG_WITH([tty-group],
136692
 
+    AS_HELP_STRING([--with-tty-group[[[=NAME]]]],
136693
 
+      [group used by system for TTYs, "tty" when not specified]
136694
 
+      [ (default: do not rely on any group used for TTYs)]),
136695
 
+    [tty_group_name=$withval],
136696
 
+    [tty_group_name=no])
136697
 
+
136698
 
+  if test "x$tty_group_name" != xno; then
136699
 
+    if test "x$tty_group_name" = xyes; then
136700
 
+      tty_group_name=tty
136701
 
+    fi
136702
 
+    AC_MSG_NOTICE([TTY group used by system set to "$tty_group_name"])
136703
 
+    AC_DEFINE_UNQUOTED([TTY_GROUP_NAME], ["$tty_group_name"],
136704
 
+      [group used by system for TTYs])
136705
 
+  fi
136706
 
+])
136707
 
+m4trace:m4/jm-macros.m4:174: -1- AC_DEFUN([gl_CHECK_ALL_HEADERS], [
136708
 
+  AC_CHECK_HEADERS_ONCE( \
136709
 
+    hurd.h \
136710
 
+    paths.h \
136711
 
+    priv.h \
136712
 
+    stropts.h \
136713
 
+    sys/param.h \
136714
 
+    sys/resource.h \
136715
 
+    sys/systeminfo.h \
136716
 
+    syslog.h \
136717
 
+  )
136718
 
+  AC_CHECK_HEADERS([sys/sysctl.h], [], [],
136719
 
+    [AC_INCLUDES_DEFAULT
136720
 
+     [#if HAVE_SYS_PARAM_H
136721
 
+       #include <sys/param.h>
136722
 
+      #endif]])
136723
 
+])
136724
 
+m4trace:m4/jm-macros.m4:194: -1- AC_DEFUN([gl_CHECK_ALL_TYPES], [
136725
 
+  dnl This test must precede tests of compiler characteristics like
136726
 
+  dnl that for the inline keyword, since it may change the degree to
136727
 
+  dnl which the compiler supports such features.
136728
 
+  AC_REQUIRE([AM_C_PROTOTYPES])
136729
 
+
136730
 
+  dnl Checks for typedefs, structures, and compiler characteristics.
136731
 
+  AC_REQUIRE([gl_BIGENDIAN])
136732
 
+  AC_REQUIRE([AC_C_VOLATILE])
136733
 
+  AC_REQUIRE([AC_C_INLINE])
136734
 
+  AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
136735
 
+
136736
 
+  AC_REQUIRE([gl_CHECK_ALL_HEADERS])
136737
 
+  AC_CHECK_MEMBERS(
136738
 
+    [struct stat.st_author],,,
136739
 
+    [$ac_includes_default
136740
 
+#include <sys/stat.h>
136741
 
+  ])
136742
 
+  AC_REQUIRE([AC_STRUCT_ST_BLOCKS])
136743
 
+
136744
 
+  AC_REQUIRE([AC_TYPE_GETGROUPS])
136745
 
+  AC_REQUIRE([AC_TYPE_MBSTATE_T])
136746
 
+  AC_REQUIRE([AC_TYPE_MODE_T])
136747
 
+  AC_REQUIRE([AC_TYPE_OFF_T])
136748
 
+  AC_REQUIRE([AC_TYPE_PID_T])
136749
 
+  AC_REQUIRE([AC_TYPE_SIZE_T])
136750
 
+  AC_REQUIRE([AC_TYPE_UID_T])
136751
 
+  AC_CHECK_TYPE([ino_t], [unsigned long int])
136752
 
+
136753
 
+  dnl This relies on the fact that Autoconf's implementation of
136754
 
+  dnl AC_CHECK_TYPE checks includes unistd.h.
136755
 
+  AC_CHECK_TYPE([major_t], [unsigned int])
136756
 
+  AC_CHECK_TYPE([minor_t], [unsigned int])
136757
 
+
136758
 
+  AC_REQUIRE([AC_HEADER_MAJOR])
136759
 
+])
136760
 
+m4trace:m4/jm-winsz1.m4:10: -1- AC_DEFUN([gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H], [AC_REQUIRE([AC_SYS_POSIX_TERMIOS])
136761
 
+ AC_CACHE_CHECK([whether use of TIOCGWINSZ requires termios.h],
136762
 
+                gl_cv_sys_tiocgwinsz_needs_termios_h,
136763
 
+  [gl_cv_sys_tiocgwinsz_needs_termios_h=no
136764
 
+
136765
 
+   if test $ac_cv_sys_posix_termios = yes; then
136766
 
+     AC_EGREP_CPP([yes],
136767
 
+     [#include <sys/types.h>
136768
 
+#      include <termios.h>
136769
 
+#      ifdef TIOCGWINSZ
136770
 
+         yes
136771
 
+#      endif
136772
 
+     ], gl_cv_sys_tiocgwinsz_needs_termios_h=yes)
136773
 
+   fi
136774
 
+  ])
136775
 
+])
136776
 
+m4trace:m4/jm-winsz1.m4:28: -1- AC_DEFUN([gl_WINSIZE_IN_PTEM], [AC_REQUIRE([AC_SYS_POSIX_TERMIOS])
136777
 
+   AC_CACHE_CHECK([whether use of struct winsize requires sys/ptem.h],
136778
 
+     gl_cv_sys_struct_winsize_needs_sys_ptem_h,
136779
 
+     [gl_cv_sys_struct_winsize_needs_sys_ptem_h=yes
136780
 
+      if test $ac_cv_sys_posix_termios = yes; then
136781
 
+        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <termios.h>]],
136782
 
+          [[struct winsize x;
136783
 
+            if (sizeof x > 0) return 0;]])],
136784
 
+          [gl_cv_sys_struct_winsize_needs_sys_ptem_h=no])
136785
 
+      fi
136786
 
+      if test $gl_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
136787
 
+        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/ptem.h>]],
136788
 
+          [[struct winsize x;
136789
 
+            if (sizeof x > 0) return 0;]])],
136790
 
+          [], [gl_cv_sys_struct_winsize_needs_sys_ptem_h=no])
136791
 
+      fi])
136792
 
+   if test $gl_cv_sys_struct_winsize_needs_sys_ptem_h = yes; then
136793
 
+     AC_DEFINE([WINSIZE_IN_PTEM], [1],
136794
 
+       [Define if sys/ptem.h is required for struct winsize.])
136795
 
+   fi])
136796
 
+m4trace:m4/jm-winsz2.m4:9: -1- AC_DEFUN([gl_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL], [AC_REQUIRE([gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H])
136797
 
+ AC_CACHE_CHECK([whether use of TIOCGWINSZ requires sys/ioctl.h],
136798
 
+                gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h,
136799
 
+  [gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h=no
136800
 
+
136801
 
+  if test $gl_cv_sys_tiocgwinsz_needs_termios_h = no; then
136802
 
+    AC_EGREP_CPP([yes],
136803
 
+    [#include <sys/types.h>
136804
 
+#     include <sys/ioctl.h>
136805
 
+#     ifdef TIOCGWINSZ
136806
 
+        yes
136807
 
+#     endif
136808
 
+    ], gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h=yes)
136809
 
+  fi
136810
 
+  ])
136811
 
+  if test $gl_cv_sys_tiocgwinsz_needs_sys_ioctl_h = yes; then
136812
 
+    AC_DEFINE([GWINSZ_IN_SYS_IOCTL], [1],
136813
 
+      [Define if your system defines TIOCGWINSZ in sys/ioctl.h.])
136814
 
+  fi
136815
 
+])
136816
 
+m4trace:m4/langinfo_h.m4:7: -1- AC_DEFUN([gl_LANGINFO_H], [
136817
 
+  AC_REQUIRE([gl_LANGINFO_H_DEFAULTS])
136818
 
+
136819
 
+  dnl Persuade glibc-2.0.6 <langinfo.h> to define CODESET.
136820
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
136821
 
+
136822
 
+  dnl <langinfo.h> is always overridden, because of GNULIB_POSIXCHECK.
136823
 
+  gl_CHECK_NEXT_HEADERS([langinfo.h])
136824
 
+
136825
 
+  dnl Determine whether <langinfo.h> exists. It is missing on mingw and BeOS.
136826
 
+  HAVE_LANGINFO_CODESET=0
136827
 
+  HAVE_LANGINFO_T_FMT_AMPM=0
136828
 
+  HAVE_LANGINFO_ERA=0
136829
 
+  HAVE_LANGINFO_YESEXPR=0
136830
 
+  AC_CHECK_HEADERS_ONCE([langinfo.h])
136831
 
+  if test $ac_cv_header_langinfo_h = yes; then
136832
 
+    HAVE_LANGINFO_H=1
136833
 
+    dnl Determine what <langinfo.h> defines. CODESET and ERA etc. are missing
136834
 
+    dnl on OpenBSD 3.8. T_FMT_AMPM and YESEXPR, NOEXPR are missing on IRIX 5.3.
136835
 
+    AC_CACHE_CHECK([whether langinfo.h defines CODESET],
136836
 
+      [gl_cv_header_langinfo_codeset],
136837
 
+      [AC_COMPILE_IFELSE(
136838
 
+         [AC_LANG_PROGRAM([[#include <langinfo.h>
136839
 
+int a = CODESET;
136840
 
+]])],
136841
 
+         [gl_cv_header_langinfo_codeset=yes],
136842
 
+         [gl_cv_header_langinfo_codeset=no])
136843
 
+      ])
136844
 
+    if test $gl_cv_header_langinfo_codeset = yes; then
136845
 
+      HAVE_LANGINFO_CODESET=1
136846
 
+    fi
136847
 
+    AC_CACHE_CHECK([whether langinfo.h defines T_FMT_AMPM],
136848
 
+      [gl_cv_header_langinfo_t_fmt_ampm],
136849
 
+      [AC_COMPILE_IFELSE(
136850
 
+         [AC_LANG_PROGRAM([[#include <langinfo.h>
136851
 
+int a = T_FMT_AMPM;
136852
 
+]])],
136853
 
+         [gl_cv_header_langinfo_t_fmt_ampm=yes],
136854
 
+         [gl_cv_header_langinfo_t_fmt_ampm=no])
136855
 
+      ])
136856
 
+    if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then
136857
 
+      HAVE_LANGINFO_T_FMT_AMPM=1
136858
 
+    fi
136859
 
+    AC_CACHE_CHECK([whether langinfo.h defines ERA],
136860
 
+      [gl_cv_header_langinfo_era],
136861
 
+      [AC_COMPILE_IFELSE(
136862
 
+         [AC_LANG_PROGRAM([[#include <langinfo.h>
136863
 
+int a = ERA;
136864
 
+]])],
136865
 
+         [gl_cv_header_langinfo_era=yes],
136866
 
+         [gl_cv_header_langinfo_era=no])
136867
 
+      ])
136868
 
+    if test $gl_cv_header_langinfo_era = yes; then
136869
 
+      HAVE_LANGINFO_ERA=1
136870
 
+    fi
136871
 
+    AC_CACHE_CHECK([whether langinfo.h defines YESEXPR],
136872
 
+      [gl_cv_header_langinfo_yesexpr],
136873
 
+      [AC_COMPILE_IFELSE(
136874
 
+         [AC_LANG_PROGRAM([[#include <langinfo.h>
136875
 
+int a = YESEXPR;
136876
 
+]])],
136877
 
+         [gl_cv_header_langinfo_yesexpr=yes],
136878
 
+         [gl_cv_header_langinfo_yesexpr=no])
136879
 
+      ])
136880
 
+    if test $gl_cv_header_langinfo_yesexpr = yes; then
136881
 
+      HAVE_LANGINFO_YESEXPR=1
136882
 
+    fi
136883
 
+  else
136884
 
+    HAVE_LANGINFO_H=0
136885
 
+  fi
136886
 
+  AC_SUBST([HAVE_LANGINFO_H])
136887
 
+  AC_SUBST([HAVE_LANGINFO_CODESET])
136888
 
+  AC_SUBST([HAVE_LANGINFO_T_FMT_AMPM])
136889
 
+  AC_SUBST([HAVE_LANGINFO_ERA])
136890
 
+  AC_SUBST([HAVE_LANGINFO_YESEXPR])
136891
 
+
136892
 
+  dnl Check for declarations of anything we want to poison if the
136893
 
+  dnl corresponding gnulib module is not in use.
136894
 
+  gl_WARN_ON_USE_PREPARE([[#include <langinfo.h>
136895
 
+    ]], [nl_langinfo])
136896
 
+])
136897
 
+m4trace:m4/langinfo_h.m4:90: -1- AC_DEFUN([gl_LANGINFO_MODULE_INDICATOR], [
136898
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
136899
 
+  AC_REQUIRE([gl_LANGINFO_H_DEFAULTS])
136900
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
136901
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
136902
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
136903
 
+])
136904
 
+m4trace:m4/langinfo_h.m4:99: -1- AC_DEFUN([gl_LANGINFO_H_DEFAULTS], [
136905
 
+  GNULIB_NL_LANGINFO=0;  AC_SUBST([GNULIB_NL_LANGINFO])
136906
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
136907
 
+  HAVE_NL_LANGINFO=1;    AC_SUBST([HAVE_NL_LANGINFO])
136908
 
+  REPLACE_NL_LANGINFO=0; AC_SUBST([REPLACE_NL_LANGINFO])
136909
 
+])
136910
 
+m4trace:m4/largefile.m4:10: -1- AC_DEFUN([AC_SYS_LARGEFILE], [AC_ARG_ENABLE(largefile,
136911
 
+               [  --disable-largefile     omit support for large files])
136912
 
+if test "$enable_largefile" != no; then
136913
 
+
136914
 
+  AC_CACHE_CHECK([for special C compiler options needed for large files],
136915
 
+    ac_cv_sys_largefile_CC,
136916
 
+    [ac_cv_sys_largefile_CC=no
136917
 
+     if test "$GCC" != yes; then
136918
 
+       ac_save_CC=$CC
136919
 
+       while :; do
136920
 
+         # IRIX 6.2 and later do not support large files by default,
136921
 
+         # so use the C compiler's -n32 option if that helps.
136922
 
+         AC_LANG_CONFTEST([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_INCLUDES])])
136923
 
+         AC_COMPILE_IFELSE([], [break])
136924
 
+         CC="$CC -n32"
136925
 
+         AC_COMPILE_IFELSE([], [ac_cv_sys_largefile_CC=' -n32'; break])
136926
 
+         break
136927
 
+       done
136928
 
+       CC=$ac_save_CC
136929
 
+       rm -f conftest.$ac_ext
136930
 
+    fi])
136931
 
+  if test "$ac_cv_sys_largefile_CC" != no; then
136932
 
+    CC=$CC$ac_cv_sys_largefile_CC
136933
 
+  fi
136934
 
+
136935
 
+  _AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64,
136936
 
+    ac_cv_sys_file_offset_bits,
136937
 
+    [Number of bits in a file offset, on hosts where this is settable.],
136938
 
+    [_AC_SYS_LARGEFILE_TEST_INCLUDES])
136939
 
+  if test $ac_cv_sys_file_offset_bits = unknown; then
136940
 
+    _AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1,
136941
 
+      ac_cv_sys_large_files,
136942
 
+      [Define for large files, on AIX-style hosts.],
136943
 
+      [_AC_SYS_LARGEFILE_TEST_INCLUDES])
136944
 
+  fi
136945
 
+
136946
 
+  AH_VERBATIM([_DARWIN_USE_64_BIT_INODE],
136947
 
+[/* Enable large inode numbers on Mac OS X.  */
136948
 
+#ifndef _DARWIN_USE_64_BIT_INODE
136949
 
+# define _DARWIN_USE_64_BIT_INODE 1
136950
 
+#endif])
136951
 
+fi
136952
 
+])
136953
 
+m4trace:m4/lchmod.m4:11: -1- AC_DEFUN([gl_FUNC_LCHMOD], [
136954
 
+  AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
136955
 
+
136956
 
+  dnl Persuade glibc <sys/stat.h> to declare lchmod().
136957
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
136958
 
+
136959
 
+  AC_CHECK_FUNCS_ONCE([lchmod])
136960
 
+  if test $ac_cv_func_lchmod = no; then
136961
 
+    HAVE_LCHMOD=0
136962
 
+  fi
136963
 
+])
136964
 
+m4trace:m4/lchown.m4:15: -1- AC_DEFUN([gl_FUNC_LCHOWN], [
136965
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
136966
 
+  AC_REQUIRE([gl_FUNC_CHOWN])
136967
 
+  AC_CHECK_FUNCS_ONCE([lchmod])
136968
 
+  AC_CHECK_FUNCS([lchown])
136969
 
+  if test $ac_cv_func_lchown = no; then
136970
 
+    HAVE_LCHOWN=0
136971
 
+  elif test "$gl_cv_func_chown_slash_works" != yes \
136972
 
+      || test "$gl_cv_func_chown_ctime_works" != yes; then
136973
 
+    dnl Trailing slash and ctime bugs in chown also occur in lchown.
136974
 
+    REPLACE_LCHOWN=1
136975
 
+  fi
136976
 
+])
136977
 
+m4trace:m4/lcmessage.m4:22: -1- AC_DEFUN([gt_LC_MESSAGES], [
136978
 
+  AC_CACHE_CHECK([for LC_MESSAGES], [gt_cv_val_LC_MESSAGES],
136979
 
+    [AC_LINK_IFELSE(
136980
 
+       [AC_LANG_PROGRAM(
136981
 
+          [[#include <locale.h>]],
136982
 
+          [[return LC_MESSAGES]])],
136983
 
+       [gt_cv_val_LC_MESSAGES=yes],
136984
 
+       [gt_cv_val_LC_MESSAGES=no])])
136985
 
+  if test $gt_cv_val_LC_MESSAGES = yes; then
136986
 
+    AC_DEFINE([HAVE_LC_MESSAGES], [1],
136987
 
+      [Define if your <locale.h> file defines LC_MESSAGES.])
136988
 
+  fi
136989
 
+])
136990
 
+m4trace:m4/ldexp.m4:7: -1- AC_DEFUN([gl_FUNC_LDEXP], [
136991
 
+  AC_REQUIRE([gl_CHECK_LDEXP_NO_LIBM])
136992
 
+  LDEXP_LIBM=
136993
 
+  if test $gl_cv_func_ldexp_no_libm = no; then
136994
 
+    AC_CACHE_CHECK([whether ldexp() can be used with libm],
136995
 
+      [gl_cv_func_ldexp_in_libm],
136996
 
+      [
136997
 
+        save_LIBS="$LIBS"
136998
 
+        LIBS="$LIBS -lm"
136999
 
+        AC_LINK_IFELSE(
137000
 
+          [AC_LANG_PROGRAM([[#ifndef __NO_MATH_INLINES
137001
 
+                             # define __NO_MATH_INLINES 1 /* for glibc */
137002
 
+                             #endif
137003
 
+                             #include <math.h>
137004
 
+                             double (*funcptr) (double, int) = ldexp;
137005
 
+                             double x;]],
137006
 
+                           [[return ldexp (x, -1) > 0;]])],
137007
 
+          [gl_cv_func_ldexp_in_libm=yes],
137008
 
+          [gl_cv_func_ldexp_in_libm=no])
137009
 
+        LIBS="$save_LIBS"
137010
 
+      ])
137011
 
+    if test $gl_cv_func_ldexp_in_libm = yes; then
137012
 
+      LDEXP_LIBM=-lm
137013
 
+    fi
137014
 
+  fi
137015
 
+  AC_SUBST([LDEXP_LIBM])
137016
 
+])
137017
 
+m4trace:m4/ldexp.m4:38: -1- AC_DEFUN([gl_CHECK_LDEXP_NO_LIBM], [
137018
 
+  AC_CACHE_CHECK([whether ldexp() can be used without linking with libm],
137019
 
+    [gl_cv_func_ldexp_no_libm],
137020
 
+    [
137021
 
+      AC_LINK_IFELSE(
137022
 
+        [AC_LANG_PROGRAM([[#ifndef __NO_MATH_INLINES
137023
 
+                           # define __NO_MATH_INLINES 1 /* for glibc */
137024
 
+                           #endif
137025
 
+                           #include <math.h>
137026
 
+                           double (*funcptr) (double, int) = ldexp;
137027
 
+                           double x;]],
137028
 
+                         [[return ldexp (x, -1) > 0;]])],
137029
 
+        [gl_cv_func_ldexp_no_libm=yes],
137030
 
+        [gl_cv_func_ldexp_no_libm=no])
137031
 
+    ])
137032
 
+])
137033
 
+m4trace:m4/ldexpl.m4:7: -1- AC_DEFUN([gl_FUNC_LDEXPL], [
137034
 
+  AC_REQUIRE([gl_MATH_H_DEFAULTS])
137035
 
+  AC_REQUIRE([gl_FUNC_ISNANL]) dnl for ISNANL_LIBM
137036
 
+  dnl Check whether it's declared.
137037
 
+  dnl MacOS X 10.3 has ldexpl() in libc but doesn't declare it in <math.h>.
137038
 
+  AC_CHECK_DECL([ldexpl], , [HAVE_DECL_LDEXPL=0], [#include <math.h>])
137039
 
+  LDEXPL_LIBM=
137040
 
+  if test $HAVE_DECL_LDEXPL = 1; then
137041
 
+    gl_CHECK_LDEXPL_NO_LIBM
137042
 
+    if test $gl_cv_func_ldexpl_no_libm = no; then
137043
 
+      AC_CACHE_CHECK([whether ldexpl() can be used with libm],
137044
 
+        [gl_cv_func_ldexpl_in_libm],
137045
 
+        [
137046
 
+          save_LIBS="$LIBS"
137047
 
+          LIBS="$LIBS -lm"
137048
 
+          AC_LINK_IFELSE(
137049
 
+            [AC_LANG_PROGRAM(
137050
 
+               [[#include <math.h>
137051
 
+                 long double x;]],
137052
 
+               [[return ldexpl (x, -1) > 0;]])],
137053
 
+            [gl_cv_func_ldexpl_in_libm=yes],
137054
 
+            [gl_cv_func_ldexpl_in_libm=no])
137055
 
+          LIBS="$save_LIBS"
137056
 
+        ])
137057
 
+      if test $gl_cv_func_ldexpl_in_libm = yes; then
137058
 
+        LDEXPL_LIBM=-lm
137059
 
+      fi
137060
 
+    fi
137061
 
+    if test $gl_cv_func_ldexpl_no_libm = yes \
137062
 
+       || test $gl_cv_func_ldexpl_in_libm = yes; then
137063
 
+      save_LIBS="$LIBS"
137064
 
+      LIBS="$LIBS $LDEXPL_LIBM"
137065
 
+      gl_FUNC_LDEXPL_WORKS
137066
 
+      LIBS="$save_LIBS"
137067
 
+      case "$gl_cv_func_ldexpl_works" in
137068
 
+        *yes) gl_func_ldexpl=yes ;;
137069
 
+        *)    gl_func_ldexpl=no; REPLACE_LDEXPL=1 ;;
137070
 
+      esac
137071
 
+    else
137072
 
+      gl_func_ldexpl=no
137073
 
+    fi
137074
 
+    if test $gl_func_ldexpl = yes; then
137075
 
+      AC_DEFINE([HAVE_LDEXPL], [1],
137076
 
+        [Define if the ldexpl() function is available.])
137077
 
+    fi
137078
 
+  fi
137079
 
+  if test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; then
137080
 
+    dnl Find libraries needed to link lib/ldexpl.c.
137081
 
+    LDEXPL_LIBM="$ISNANL_LIBM"
137082
 
+  fi
137083
 
+  AC_SUBST([LDEXPL_LIBM])
137084
 
+])
137085
 
+m4trace:m4/ldexpl.m4:63: -1- AC_DEFUN([gl_CHECK_LDEXPL_NO_LIBM], [
137086
 
+  AC_CACHE_CHECK([whether ldexpl() can be used without linking with libm],
137087
 
+    [gl_cv_func_ldexpl_no_libm],
137088
 
+    [
137089
 
+      AC_LINK_IFELSE(
137090
 
+        [AC_LANG_PROGRAM(
137091
 
+           [[#include <math.h>
137092
 
+             long double x;]],
137093
 
+           [[return ldexpl (x, -1) > 0;]])],
137094
 
+        [gl_cv_func_ldexpl_no_libm=yes],
137095
 
+        [gl_cv_func_ldexpl_no_libm=no])
137096
 
+    ])
137097
 
+])
137098
 
+m4trace:m4/ldexpl.m4:80: -1- AC_DEFUN([gl_FUNC_LDEXPL_WORKS], [
137099
 
+  AC_REQUIRE([AC_PROG_CC])
137100
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
137101
 
+  AC_CACHE_CHECK([whether ldexpl works], [gl_cv_func_ldexpl_works],
137102
 
+    [
137103
 
+      AC_RUN_IFELSE(
137104
 
+        [AC_LANG_SOURCE([[
137105
 
+#include <math.h>
137106
 
+extern
137107
 
+#ifdef __cplusplus
137108
 
+"C"
137109
 
+#endif
137110
 
+long double ldexpl (long double, int);
137111
 
+int main()
137112
 
+{
137113
 
+  int result = 0;
137114
 
+  {
137115
 
+    volatile long double x = 1.0;
137116
 
+    volatile long double y = ldexpl (x, -1);
137117
 
+    if (y != 0.5L)
137118
 
+      result |= 1;
137119
 
+  }
137120
 
+  {
137121
 
+    volatile long double x = 1.73205L;
137122
 
+    volatile long double y = ldexpl (x, 0);
137123
 
+    if (y != x)
137124
 
+      result |= 2;
137125
 
+  }
137126
 
+  return result;
137127
 
+}]])],
137128
 
+        [gl_cv_func_ldexpl_works=yes],
137129
 
+        [gl_cv_func_ldexpl_works=no],
137130
 
+        [
137131
 
+changequote(,)dnl
137132
 
+         case "$host_os" in
137133
 
+           aix | aix[3-6]*) gl_cv_func_ldexpl_works="guessing no";;
137134
 
+           *)               gl_cv_func_ldexpl_works="guessing yes";;
137135
 
+         esac
137136
 
+changequote([,])dnl
137137
 
+        ])
137138
 
+    ])
137139
 
+])
137140
 
+m4trace:m4/lib-check.m4:23: -1- AC_DEFUN([cu_LIB_CHECK], [
137141
 
+
137142
 
+  # Check for libypsec.a on Dolphin M88K machines.
137143
 
+  AC_CHECK_LIB([ypsec], [main])
137144
 
+
137145
 
+  # m88k running dgux 5.4 needs this
137146
 
+  AC_CHECK_LIB([ldgc], [main])
137147
 
+
137148
 
+  # The -lsun library is required for YP support on Irix-4.0.5 systems.
137149
 
+  # m88k/svr3 DolphinOS systems using YP need -lypsec for id.
137150
 
+  AC_SEARCH_LIBS([yp_match], [sun ypsec])
137151
 
+
137152
 
+  # SysV needs -lsec, older versions of Linux need -lshadow for
137153
 
+  # shadow passwords.  UnixWare 7 needs -lgen.
137154
 
+  AC_SEARCH_LIBS([getspnam], [shadow sec gen])
137155
 
+
137156
 
+  AC_CHECK_HEADERS([shadow.h])
137157
 
+
137158
 
+  # Requirements for su.c.
137159
 
+  shadow_includes="\
137160
 
+$ac_includes_default
137161
 
+#if HAVE_SHADOW_H
137162
 
+# include <shadow.h>
137163
 
+#endif
137164
 
+"
137165
 
+  AC_CHECK_MEMBERS([struct spwd.sp_pwdp],,,[$shadow_includes])
137166
 
+  AC_CHECK_FUNCS([getspnam])
137167
 
+
137168
 
+  # SCO-ODT-3.0 is reported to need -lufc for crypt.
137169
 
+  # NetBSD needs -lcrypt for crypt.
137170
 
+  LIB_CRYPT=
137171
 
+  cu_saved_libs="$LIBS"
137172
 
+  AC_SEARCH_LIBS([crypt], [ufc crypt],
137173
 
+                 [test "$ac_cv_search_crypt" = "none required" ||
137174
 
+                  LIB_CRYPT="$ac_cv_search_crypt"])
137175
 
+  LIBS="$cu_saved_libs"
137176
 
+  AC_SUBST([LIB_CRYPT])
137177
 
+])
137178
 
+m4trace:m4/lib-ignore.m4:48: -1- AC_DEFUN([gl_IGNORE_UNUSED_LIBRARIES], [
137179
 
+  AC_CACHE_CHECK([for []_AC_LANG[] compiler flag to ignore unused libraries],
137180
 
+    [gl_cv_prog_[]_AC_LANG_ABBREV[]_ignore_unused_libraries],
137181
 
+    [gl_cv_prog_[]_AC_LANG_ABBREV[]_ignore_unused_libraries=none
137182
 
+     gl_saved_ldflags=$LDFLAGS
137183
 
+     gl_saved_libs=$LIBS
137184
 
+     # Link with -lm to detect binutils 2.16 bug with --as-needed; see
137185
 
+     # <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00131.html>.
137186
 
+     LIBS="$LIBS -lm"
137187
 
+     # Use long option sequences like '-z ignore' to test for the feature,
137188
 
+     # to forestall problems with linkers that have -z, -i, -g, -n, etc. flags.
137189
 
+     # GCC + binutils likes '-Wl,--as-needed'.
137190
 
+     # GCC + Solaris ld likes '-Wl,-z,ignore'.
137191
 
+     # Sun C likes '-Wl,-z,ignore'. '-z ignore' is accepted but has no effect.
137192
 
+     # Don't try bare '--as-needed'; nothing likes it and the HP-UX 11.11
137193
 
+     # native cc issues annoying warnings and then ignores it,
137194
 
+     # which would cause us to incorrectly conclude that it worked.
137195
 
+     for gl_flags in _gl_IGNORE_UNUSED_LIBRARIES_OPTIONS
137196
 
+     do
137197
 
+       LDFLAGS="$gl_flags $LDFLAGS"
137198
 
+       AC_LINK_IFELSE([AC_LANG_PROGRAM()],
137199
 
+         [gl_cv_prog_[]_AC_LANG_ABBREV[]_ignore_unused_libraries=$gl_flags])
137200
 
+       LDFLAGS=$gl_saved_ldflags
137201
 
+       test "$gl_cv_prog_[]_AC_LANG_ABBREV[]_ignore_unused_libraries" != none &&
137202
 
+         break
137203
 
+     done
137204
 
+     LIBS=$gl_saved_libs
137205
 
+    ])
137206
 
+  IGNORE_UNUSED_LIBRARIES_[]_AC_LANG_PREFIX[]FLAGS=
137207
 
+  if test "$gl_cv_prog_[]_AC_LANG_ABBREV[]_ignore_unused_libraries" != none; then
137208
 
+    IGNORE_UNUSED_LIBRARIES_[]_AC_LANG_PREFIX[]FLAGS="$gl_cv_prog_[]_AC_LANG_ABBREV[]_ignore_unused_libraries"
137209
 
+  fi
137210
 
+  AC_SUBST([IGNORE_UNUSED_LIBRARIES_]_AC_LANG_PREFIX[FLAGS])
137211
 
+])
137212
 
+m4trace:m4/lib-ignore.m4:87: -1- AC_DEFUN([_gl_IGNORE_UNUSED_LIBRARIES_OPTIONS], [_AC_LANG_DISPATCH([$0], _AC_LANG, $@)])
137213
 
+m4trace:m4/lib-ld.m4:12: -1- AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld],
137214
 
+[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
137215
 
+case `$LD -v 2>&1 </dev/null` in
137216
 
+*GNU* | *'with BFD'*)
137217
 
+  acl_cv_prog_gnu_ld=yes ;;
137218
 
+*)
137219
 
+  acl_cv_prog_gnu_ld=no ;;
137220
 
+esac])
137221
 
+with_gnu_ld=$acl_cv_prog_gnu_ld
137222
 
+])
137223
 
+m4trace:m4/lib-ld.m4:25: -1- AC_DEFUN([AC_LIB_PROG_LD], [AC_ARG_WITH([gnu-ld],
137224
 
+[  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]],
137225
 
+test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
137226
 
+AC_REQUIRE([AC_PROG_CC])dnl
137227
 
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
137228
 
+# Prepare PATH_SEPARATOR.
137229
 
+# The user is always right.
137230
 
+if test "${PATH_SEPARATOR+set}" != set; then
137231
 
+  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
137232
 
+  # contains only /bin. Note that ksh looks also at the FPATH variable,
137233
 
+  # so we have to set that as well for the test.
137234
 
+  PATH_SEPARATOR=:
137235
 
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
137236
 
+    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
137237
 
+           || PATH_SEPARATOR=';'
137238
 
+       }
137239
 
+fi
137240
 
+ac_prog=ld
137241
 
+if test "$GCC" = yes; then
137242
 
+  # Check if gcc -print-prog-name=ld gives a path.
137243
 
+  AC_MSG_CHECKING([for ld used by GCC])
137244
 
+  case $host in
137245
 
+  *-*-mingw*)
137246
 
+    # gcc leaves a trailing carriage return which upsets mingw
137247
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
137248
 
+  *)
137249
 
+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
137250
 
+  esac
137251
 
+  case $ac_prog in
137252
 
+    # Accept absolute paths.
137253
 
+    [[\\/]* | [A-Za-z]:[\\/]*)]
137254
 
+      [re_direlt='/[^/][^/]*/\.\./']
137255
 
+      # Canonicalize the path of ld
137256
 
+      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
137257
 
+      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
137258
 
+        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
137259
 
+      done
137260
 
+      test -z "$LD" && LD="$ac_prog"
137261
 
+      ;;
137262
 
+  "")
137263
 
+    # If it fails, then pretend we aren't using GCC.
137264
 
+    ac_prog=ld
137265
 
+    ;;
137266
 
+  *)
137267
 
+    # If it is relative, then search for the first ld in PATH.
137268
 
+    with_gnu_ld=unknown
137269
 
+    ;;
137270
 
+  esac
137271
 
+elif test "$with_gnu_ld" = yes; then
137272
 
+  AC_MSG_CHECKING([for GNU ld])
137273
 
+else
137274
 
+  AC_MSG_CHECKING([for non-GNU ld])
137275
 
+fi
137276
 
+AC_CACHE_VAL([acl_cv_path_LD],
137277
 
+[if test -z "$LD"; then
137278
 
+  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
137279
 
+  for ac_dir in $PATH; do
137280
 
+    test -z "$ac_dir" && ac_dir=.
137281
 
+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
137282
 
+      acl_cv_path_LD="$ac_dir/$ac_prog"
137283
 
+      # Check to see if the program is GNU ld.  I'd rather use --version,
137284
 
+      # but apparently some GNU ld's only accept -v.
137285
 
+      # Break only if it was the GNU/non-GNU ld that we prefer.
137286
 
+      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
137287
 
+      *GNU* | *'with BFD'*)
137288
 
+        test "$with_gnu_ld" != no && break ;;
137289
 
+      *)
137290
 
+        test "$with_gnu_ld" != yes && break ;;
137291
 
+      esac
137292
 
+    fi
137293
 
+  done
137294
 
+  IFS="$ac_save_ifs"
137295
 
+else
137296
 
+  acl_cv_path_LD="$LD" # Let the user override the test with a path.
137297
 
+fi])
137298
 
+LD="$acl_cv_path_LD"
137299
 
+if test -n "$LD"; then
137300
 
+  AC_MSG_RESULT([$LD])
137301
 
+else
137302
 
+  AC_MSG_RESULT([no])
137303
 
+fi
137304
 
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
137305
 
+AC_LIB_PROG_LD_GNU
137306
 
+])
137307
 
+m4trace:m4/lib-link.m4:17: -1- AC_DEFUN([AC_LIB_LINKFLAGS], [
137308
 
+  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
137309
 
+  AC_REQUIRE([AC_LIB_RPATH])
137310
 
+  pushdef([Name],[m4_translit([$1],[./+-], [____])])
137311
 
+  pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
137312
 
+                                   [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
137313
 
+  AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
137314
 
+    AC_LIB_LINKFLAGS_BODY([$1], [$2])
137315
 
+    ac_cv_lib[]Name[]_libs="$LIB[]NAME"
137316
 
+    ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
137317
 
+    ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
137318
 
+    ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX"
137319
 
+  ])
137320
 
+  LIB[]NAME="$ac_cv_lib[]Name[]_libs"
137321
 
+  LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
137322
 
+  INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
137323
 
+  LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix"
137324
 
+  AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
137325
 
+  AC_SUBST([LIB]NAME)
137326
 
+  AC_SUBST([LTLIB]NAME)
137327
 
+  AC_SUBST([LIB]NAME[_PREFIX])
137328
 
+  dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
137329
 
+  dnl results of this search when this library appears as a dependency.
137330
 
+  HAVE_LIB[]NAME=yes
137331
 
+  popdef([NAME])
137332
 
+  popdef([Name])
137333
 
+])
137334
 
+m4trace:m4/lib-link.m4:57: -1- AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [
137335
 
+  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
137336
 
+  AC_REQUIRE([AC_LIB_RPATH])
137337
 
+  pushdef([Name],[m4_translit([$1],[./+-], [____])])
137338
 
+  pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
137339
 
+                                   [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
137340
 
+
137341
 
+  dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
137342
 
+  dnl accordingly.
137343
 
+  AC_LIB_LINKFLAGS_BODY([$1], [$2])
137344
 
+
137345
 
+  dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
137346
 
+  dnl because if the user has installed lib[]Name and not disabled its use
137347
 
+  dnl via --without-lib[]Name-prefix, he wants to use it.
137348
 
+  ac_save_CPPFLAGS="$CPPFLAGS"
137349
 
+  AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
137350
 
+
137351
 
+  AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
137352
 
+    ac_save_LIBS="$LIBS"
137353
 
+    dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS,
137354
 
+    dnl because these -l options might require -L options that are present in
137355
 
+    dnl LIBS. -l options benefit only from the -L options listed before it.
137356
 
+    dnl Otherwise, add it to the front of LIBS, because it may be a static
137357
 
+    dnl library that depends on another static library that is present in LIBS.
137358
 
+    dnl Static libraries benefit only from the static libraries listed after
137359
 
+    dnl it.
137360
 
+    case " $LIB[]NAME" in
137361
 
+      *" -l"*) LIBS="$LIBS $LIB[]NAME" ;;
137362
 
+      *)       LIBS="$LIB[]NAME $LIBS" ;;
137363
 
+    esac
137364
 
+    AC_LINK_IFELSE(
137365
 
+      [AC_LANG_PROGRAM([[$3]], [[$4]])],
137366
 
+      [ac_cv_lib[]Name=yes],
137367
 
+      [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])'])
137368
 
+    LIBS="$ac_save_LIBS"
137369
 
+  ])
137370
 
+  if test "$ac_cv_lib[]Name" = yes; then
137371
 
+    HAVE_LIB[]NAME=yes
137372
 
+    AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.])
137373
 
+    AC_MSG_CHECKING([how to link with lib[]$1])
137374
 
+    AC_MSG_RESULT([$LIB[]NAME])
137375
 
+  else
137376
 
+    HAVE_LIB[]NAME=no
137377
 
+    dnl If $LIB[]NAME didn't lead to a usable library, we don't need
137378
 
+    dnl $INC[]NAME either.
137379
 
+    CPPFLAGS="$ac_save_CPPFLAGS"
137380
 
+    LIB[]NAME=
137381
 
+    LTLIB[]NAME=
137382
 
+    LIB[]NAME[]_PREFIX=
137383
 
+  fi
137384
 
+  AC_SUBST([HAVE_LIB]NAME)
137385
 
+  AC_SUBST([LIB]NAME)
137386
 
+  AC_SUBST([LTLIB]NAME)
137387
 
+  AC_SUBST([LIB]NAME[_PREFIX])
137388
 
+  popdef([NAME])
137389
 
+  popdef([Name])
137390
 
+])
137391
 
+m4trace:m4/lib-link.m4:125: -1- AC_DEFUN([AC_LIB_RPATH], [
137392
 
+  dnl Tell automake >= 1.10 to complain if config.rpath is missing.
137393
 
+  m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
137394
 
+  AC_REQUIRE([AC_PROG_CC])                dnl we use $CC, $GCC, $LDFLAGS
137395
 
+  AC_REQUIRE([AC_LIB_PROG_LD])            dnl we use $LD, $with_gnu_ld
137396
 
+  AC_REQUIRE([AC_CANONICAL_HOST])         dnl we use $host
137397
 
+  AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
137398
 
+  AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [
137399
 
+    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
137400
 
+    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
137401
 
+    . ./conftest.sh
137402
 
+    rm -f ./conftest.sh
137403
 
+    acl_cv_rpath=done
137404
 
+  ])
137405
 
+  wl="$acl_cv_wl"
137406
 
+  acl_libext="$acl_cv_libext"
137407
 
+  acl_shlibext="$acl_cv_shlibext"
137408
 
+  acl_libname_spec="$acl_cv_libname_spec"
137409
 
+  acl_library_names_spec="$acl_cv_library_names_spec"
137410
 
+  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
137411
 
+  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
137412
 
+  acl_hardcode_direct="$acl_cv_hardcode_direct"
137413
 
+  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
137414
 
+  dnl Determine whether the user wants rpath handling at all.
137415
 
+  AC_ARG_ENABLE([rpath],
137416
 
+    [  --disable-rpath         do not hardcode runtime library paths],
137417
 
+    :, enable_rpath=yes)
137418
 
+])
137419
 
+m4trace:m4/lib-link.m4:161: -1- AC_DEFUN([AC_LIB_FROMPACKAGE], [
137420
 
+  pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
137421
 
+                                   [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
137422
 
+  define([acl_frompackage_]NAME, [$2])
137423
 
+  popdef([NAME])
137424
 
+  pushdef([PACK],[$2])
137425
 
+  pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
137426
 
+                                     [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
137427
 
+  define([acl_libsinpackage_]PACKUP,
137428
 
+    m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1])
137429
 
+  popdef([PACKUP])
137430
 
+  popdef([PACK])
137431
 
+])
137432
 
+m4trace:m4/lib-link.m4:181: -1- AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [
137433
 
+  AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
137434
 
+  pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
137435
 
+                                   [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
137436
 
+  pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])])
137437
 
+  pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
137438
 
+                                     [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
137439
 
+  pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])])
137440
 
+  dnl Autoconf >= 2.61 supports dots in --with options.
137441
 
+  pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[m4_translit(PACK,[.],[_])],PACK)])
137442
 
+  dnl By default, look in $includedir and $libdir.
137443
 
+  use_additional=yes
137444
 
+  AC_LIB_WITH_FINAL_PREFIX([
137445
 
+    eval additional_includedir=\"$includedir\"
137446
 
+    eval additional_libdir=\"$libdir\"
137447
 
+  ])
137448
 
+  AC_ARG_WITH(P_A_C_K[-prefix],
137449
 
+[[  --with-]]P_A_C_K[[-prefix[=DIR]  search for ]PACKLIBS[ in DIR/include and DIR/lib
137450
 
+  --without-]]P_A_C_K[[-prefix     don't search for ]PACKLIBS[ in includedir and libdir]],
137451
 
+[
137452
 
+    if test "X$withval" = "Xno"; then
137453
 
+      use_additional=no
137454
 
+    else
137455
 
+      if test "X$withval" = "X"; then
137456
 
+        AC_LIB_WITH_FINAL_PREFIX([
137457
 
+          eval additional_includedir=\"$includedir\"
137458
 
+          eval additional_libdir=\"$libdir\"
137459
 
+        ])
137460
 
+      else
137461
 
+        additional_includedir="$withval/include"
137462
 
+        additional_libdir="$withval/$acl_libdirstem"
137463
 
+        if test "$acl_libdirstem2" != "$acl_libdirstem" \
137464
 
+           && ! test -d "$withval/$acl_libdirstem"; then
137465
 
+          additional_libdir="$withval/$acl_libdirstem2"
137466
 
+        fi
137467
 
+      fi
137468
 
+    fi
137469
 
+])
137470
 
+  dnl Search the library and its dependencies in $additional_libdir and
137471
 
+  dnl $LDFLAGS. Using breadth-first-seach.
137472
 
+  LIB[]NAME=
137473
 
+  LTLIB[]NAME=
137474
 
+  INC[]NAME=
137475
 
+  LIB[]NAME[]_PREFIX=
137476
 
+  dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been
137477
 
+  dnl computed. So it has to be reset here.
137478
 
+  HAVE_LIB[]NAME=
137479
 
+  rpathdirs=
137480
 
+  ltrpathdirs=
137481
 
+  names_already_handled=
137482
 
+  names_next_round='$1 $2'
137483
 
+  while test -n "$names_next_round"; do
137484
 
+    names_this_round="$names_next_round"
137485
 
+    names_next_round=
137486
 
+    for name in $names_this_round; do
137487
 
+      already_handled=
137488
 
+      for n in $names_already_handled; do
137489
 
+        if test "$n" = "$name"; then
137490
 
+          already_handled=yes
137491
 
+          break
137492
 
+        fi
137493
 
+      done
137494
 
+      if test -z "$already_handled"; then
137495
 
+        names_already_handled="$names_already_handled $name"
137496
 
+        dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
137497
 
+        dnl or AC_LIB_HAVE_LINKFLAGS call.
137498
 
+        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
137499
 
+        eval value=\"\$HAVE_LIB$uppername\"
137500
 
+        if test -n "$value"; then
137501
 
+          if test "$value" = yes; then
137502
 
+            eval value=\"\$LIB$uppername\"
137503
 
+            test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
137504
 
+            eval value=\"\$LTLIB$uppername\"
137505
 
+            test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
137506
 
+          else
137507
 
+            dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
137508
 
+            dnl that this library doesn't exist. So just drop it.
137509
 
+            :
137510
 
+          fi
137511
 
+        else
137512
 
+          dnl Search the library lib$name in $additional_libdir and $LDFLAGS
137513
 
+          dnl and the already constructed $LIBNAME/$LTLIBNAME.
137514
 
+          found_dir=
137515
 
+          found_la=
137516
 
+          found_so=
137517
 
+          found_a=
137518
 
+          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
137519
 
+          if test -n "$acl_shlibext"; then
137520
 
+            shrext=".$acl_shlibext"             # typically: shrext=.so
137521
 
+          else
137522
 
+            shrext=
137523
 
+          fi
137524
 
+          if test $use_additional = yes; then
137525
 
+            dir="$additional_libdir"
137526
 
+            dnl The same code as in the loop below:
137527
 
+            dnl First look for a shared library.
137528
 
+            if test -n "$acl_shlibext"; then
137529
 
+              if test -f "$dir/$libname$shrext"; then
137530
 
+                found_dir="$dir"
137531
 
+                found_so="$dir/$libname$shrext"
137532
 
+              else
137533
 
+                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
137534
 
+                  ver=`(cd "$dir" && \
137535
 
+                        for f in "$libname$shrext".*; do echo "$f"; done \
137536
 
+                        | sed -e "s,^$libname$shrext\\\\.,," \
137537
 
+                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
137538
 
+                        | sed 1q ) 2>/dev/null`
137539
 
+                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
137540
 
+                    found_dir="$dir"
137541
 
+                    found_so="$dir/$libname$shrext.$ver"
137542
 
+                  fi
137543
 
+                else
137544
 
+                  eval library_names=\"$acl_library_names_spec\"
137545
 
+                  for f in $library_names; do
137546
 
+                    if test -f "$dir/$f"; then
137547
 
+                      found_dir="$dir"
137548
 
+                      found_so="$dir/$f"
137549
 
+                      break
137550
 
+                    fi
137551
 
+                  done
137552
 
+                fi
137553
 
+              fi
137554
 
+            fi
137555
 
+            dnl Then look for a static library.
137556
 
+            if test "X$found_dir" = "X"; then
137557
 
+              if test -f "$dir/$libname.$acl_libext"; then
137558
 
+                found_dir="$dir"
137559
 
+                found_a="$dir/$libname.$acl_libext"
137560
 
+              fi
137561
 
+            fi
137562
 
+            if test "X$found_dir" != "X"; then
137563
 
+              if test -f "$dir/$libname.la"; then
137564
 
+                found_la="$dir/$libname.la"
137565
 
+              fi
137566
 
+            fi
137567
 
+          fi
137568
 
+          if test "X$found_dir" = "X"; then
137569
 
+            for x in $LDFLAGS $LTLIB[]NAME; do
137570
 
+              AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
137571
 
+              case "$x" in
137572
 
+                -L*)
137573
 
+                  dir=`echo "X$x" | sed -e 's/^X-L//'`
137574
 
+                  dnl First look for a shared library.
137575
 
+                  if test -n "$acl_shlibext"; then
137576
 
+                    if test -f "$dir/$libname$shrext"; then
137577
 
+                      found_dir="$dir"
137578
 
+                      found_so="$dir/$libname$shrext"
137579
 
+                    else
137580
 
+                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
137581
 
+                        ver=`(cd "$dir" && \
137582
 
+                              for f in "$libname$shrext".*; do echo "$f"; done \
137583
 
+                              | sed -e "s,^$libname$shrext\\\\.,," \
137584
 
+                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
137585
 
+                              | sed 1q ) 2>/dev/null`
137586
 
+                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
137587
 
+                          found_dir="$dir"
137588
 
+                          found_so="$dir/$libname$shrext.$ver"
137589
 
+                        fi
137590
 
+                      else
137591
 
+                        eval library_names=\"$acl_library_names_spec\"
137592
 
+                        for f in $library_names; do
137593
 
+                          if test -f "$dir/$f"; then
137594
 
+                            found_dir="$dir"
137595
 
+                            found_so="$dir/$f"
137596
 
+                            break
137597
 
+                          fi
137598
 
+                        done
137599
 
+                      fi
137600
 
+                    fi
137601
 
+                  fi
137602
 
+                  dnl Then look for a static library.
137603
 
+                  if test "X$found_dir" = "X"; then
137604
 
+                    if test -f "$dir/$libname.$acl_libext"; then
137605
 
+                      found_dir="$dir"
137606
 
+                      found_a="$dir/$libname.$acl_libext"
137607
 
+                    fi
137608
 
+                  fi
137609
 
+                  if test "X$found_dir" != "X"; then
137610
 
+                    if test -f "$dir/$libname.la"; then
137611
 
+                      found_la="$dir/$libname.la"
137612
 
+                    fi
137613
 
+                  fi
137614
 
+                  ;;
137615
 
+              esac
137616
 
+              if test "X$found_dir" != "X"; then
137617
 
+                break
137618
 
+              fi
137619
 
+            done
137620
 
+          fi
137621
 
+          if test "X$found_dir" != "X"; then
137622
 
+            dnl Found the library.
137623
 
+            LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
137624
 
+            if test "X$found_so" != "X"; then
137625
 
+              dnl Linking with a shared library. We attempt to hardcode its
137626
 
+              dnl directory into the executable's runpath, unless it's the
137627
 
+              dnl standard /usr/lib.
137628
 
+              if test "$enable_rpath" = no \
137629
 
+                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
137630
 
+                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
137631
 
+                dnl No hardcoding is needed.
137632
 
+                LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
137633
 
+              else
137634
 
+                dnl Use an explicit option to hardcode DIR into the resulting
137635
 
+                dnl binary.
137636
 
+                dnl Potentially add DIR to ltrpathdirs.
137637
 
+                dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
137638
 
+                haveit=
137639
 
+                for x in $ltrpathdirs; do
137640
 
+                  if test "X$x" = "X$found_dir"; then
137641
 
+                    haveit=yes
137642
 
+                    break
137643
 
+                  fi
137644
 
+                done
137645
 
+                if test -z "$haveit"; then
137646
 
+                  ltrpathdirs="$ltrpathdirs $found_dir"
137647
 
+                fi
137648
 
+                dnl The hardcoding into $LIBNAME is system dependent.
137649
 
+                if test "$acl_hardcode_direct" = yes; then
137650
 
+                  dnl Using DIR/libNAME.so during linking hardcodes DIR into the
137651
 
+                  dnl resulting binary.
137652
 
+                  LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
137653
 
+                else
137654
 
+                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
137655
 
+                    dnl Use an explicit option to hardcode DIR into the resulting
137656
 
+                    dnl binary.
137657
 
+                    LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
137658
 
+                    dnl Potentially add DIR to rpathdirs.
137659
 
+                    dnl The rpathdirs will be appended to $LIBNAME at the end.
137660
 
+                    haveit=
137661
 
+                    for x in $rpathdirs; do
137662
 
+                      if test "X$x" = "X$found_dir"; then
137663
 
+                        haveit=yes
137664
 
+                        break
137665
 
+                      fi
137666
 
+                    done
137667
 
+                    if test -z "$haveit"; then
137668
 
+                      rpathdirs="$rpathdirs $found_dir"
137669
 
+                    fi
137670
 
+                  else
137671
 
+                    dnl Rely on "-L$found_dir".
137672
 
+                    dnl But don't add it if it's already contained in the LDFLAGS
137673
 
+                    dnl or the already constructed $LIBNAME
137674
 
+                    haveit=
137675
 
+                    for x in $LDFLAGS $LIB[]NAME; do
137676
 
+                      AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
137677
 
+                      if test "X$x" = "X-L$found_dir"; then
137678
 
+                        haveit=yes
137679
 
+                        break
137680
 
+                      fi
137681
 
+                    done
137682
 
+                    if test -z "$haveit"; then
137683
 
+                      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
137684
 
+                    fi
137685
 
+                    if test "$acl_hardcode_minus_L" != no; then
137686
 
+                      dnl FIXME: Not sure whether we should use
137687
 
+                      dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
137688
 
+                      dnl here.
137689
 
+                      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
137690
 
+                    else
137691
 
+                      dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH
137692
 
+                      dnl here, because this doesn't fit in flags passed to the
137693
 
+                      dnl compiler. So give up. No hardcoding. This affects only
137694
 
+                      dnl very old systems.
137695
 
+                      dnl FIXME: Not sure whether we should use
137696
 
+                      dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
137697
 
+                      dnl here.
137698
 
+                      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
137699
 
+                    fi
137700
 
+                  fi
137701
 
+                fi
137702
 
+              fi
137703
 
+            else
137704
 
+              if test "X$found_a" != "X"; then
137705
 
+                dnl Linking with a static library.
137706
 
+                LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
137707
 
+              else
137708
 
+                dnl We shouldn't come here, but anyway it's good to have a
137709
 
+                dnl fallback.
137710
 
+                LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
137711
 
+              fi
137712
 
+            fi
137713
 
+            dnl Assume the include files are nearby.
137714
 
+            additional_includedir=
137715
 
+            case "$found_dir" in
137716
 
+              */$acl_libdirstem | */$acl_libdirstem/)
137717
 
+                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
137718
 
+                if test "$name" = '$1'; then
137719
 
+                  LIB[]NAME[]_PREFIX="$basedir"
137720
 
+                fi
137721
 
+                additional_includedir="$basedir/include"
137722
 
+                ;;
137723
 
+              */$acl_libdirstem2 | */$acl_libdirstem2/)
137724
 
+                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
137725
 
+                if test "$name" = '$1'; then
137726
 
+                  LIB[]NAME[]_PREFIX="$basedir"
137727
 
+                fi
137728
 
+                additional_includedir="$basedir/include"
137729
 
+                ;;
137730
 
+            esac
137731
 
+            if test "X$additional_includedir" != "X"; then
137732
 
+              dnl Potentially add $additional_includedir to $INCNAME.
137733
 
+              dnl But don't add it
137734
 
+              dnl   1. if it's the standard /usr/include,
137735
 
+              dnl   2. if it's /usr/local/include and we are using GCC on Linux,
137736
 
+              dnl   3. if it's already present in $CPPFLAGS or the already
137737
 
+              dnl      constructed $INCNAME,
137738
 
+              dnl   4. if it doesn't exist as a directory.
137739
 
+              if test "X$additional_includedir" != "X/usr/include"; then
137740
 
+                haveit=
137741
 
+                if test "X$additional_includedir" = "X/usr/local/include"; then
137742
 
+                  if test -n "$GCC"; then
137743
 
+                    case $host_os in
137744
 
+                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
137745
 
+                    esac
137746
 
+                  fi
137747
 
+                fi
137748
 
+                if test -z "$haveit"; then
137749
 
+                  for x in $CPPFLAGS $INC[]NAME; do
137750
 
+                    AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
137751
 
+                    if test "X$x" = "X-I$additional_includedir"; then
137752
 
+                      haveit=yes
137753
 
+                      break
137754
 
+                    fi
137755
 
+                  done
137756
 
+                  if test -z "$haveit"; then
137757
 
+                    if test -d "$additional_includedir"; then
137758
 
+                      dnl Really add $additional_includedir to $INCNAME.
137759
 
+                      INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
137760
 
+                    fi
137761
 
+                  fi
137762
 
+                fi
137763
 
+              fi
137764
 
+            fi
137765
 
+            dnl Look for dependencies.
137766
 
+            if test -n "$found_la"; then
137767
 
+              dnl Read the .la file. It defines the variables
137768
 
+              dnl dlname, library_names, old_library, dependency_libs, current,
137769
 
+              dnl age, revision, installed, dlopen, dlpreopen, libdir.
137770
 
+              save_libdir="$libdir"
137771
 
+              case "$found_la" in
137772
 
+                */* | *\\*) . "$found_la" ;;
137773
 
+                *) . "./$found_la" ;;
137774
 
+              esac
137775
 
+              libdir="$save_libdir"
137776
 
+              dnl We use only dependency_libs.
137777
 
+              for dep in $dependency_libs; do
137778
 
+                case "$dep" in
137779
 
+                  -L*)
137780
 
+                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
137781
 
+                    dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
137782
 
+                    dnl But don't add it
137783
 
+                    dnl   1. if it's the standard /usr/lib,
137784
 
+                    dnl   2. if it's /usr/local/lib and we are using GCC on Linux,
137785
 
+                    dnl   3. if it's already present in $LDFLAGS or the already
137786
 
+                    dnl      constructed $LIBNAME,
137787
 
+                    dnl   4. if it doesn't exist as a directory.
137788
 
+                    if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
137789
 
+                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
137790
 
+                      haveit=
137791
 
+                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
137792
 
+                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
137793
 
+                        if test -n "$GCC"; then
137794
 
+                          case $host_os in
137795
 
+                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
137796
 
+                          esac
137797
 
+                        fi
137798
 
+                      fi
137799
 
+                      if test -z "$haveit"; then
137800
 
+                        haveit=
137801
 
+                        for x in $LDFLAGS $LIB[]NAME; do
137802
 
+                          AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
137803
 
+                          if test "X$x" = "X-L$additional_libdir"; then
137804
 
+                            haveit=yes
137805
 
+                            break
137806
 
+                          fi
137807
 
+                        done
137808
 
+                        if test -z "$haveit"; then
137809
 
+                          if test -d "$additional_libdir"; then
137810
 
+                            dnl Really add $additional_libdir to $LIBNAME.
137811
 
+                            LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
137812
 
+                          fi
137813
 
+                        fi
137814
 
+                        haveit=
137815
 
+                        for x in $LDFLAGS $LTLIB[]NAME; do
137816
 
+                          AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
137817
 
+                          if test "X$x" = "X-L$additional_libdir"; then
137818
 
+                            haveit=yes
137819
 
+                            break
137820
 
+                          fi
137821
 
+                        done
137822
 
+                        if test -z "$haveit"; then
137823
 
+                          if test -d "$additional_libdir"; then
137824
 
+                            dnl Really add $additional_libdir to $LTLIBNAME.
137825
 
+                            LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
137826
 
+                          fi
137827
 
+                        fi
137828
 
+                      fi
137829
 
+                    fi
137830
 
+                    ;;
137831
 
+                  -R*)
137832
 
+                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
137833
 
+                    if test "$enable_rpath" != no; then
137834
 
+                      dnl Potentially add DIR to rpathdirs.
137835
 
+                      dnl The rpathdirs will be appended to $LIBNAME at the end.
137836
 
+                      haveit=
137837
 
+                      for x in $rpathdirs; do
137838
 
+                        if test "X$x" = "X$dir"; then
137839
 
+                          haveit=yes
137840
 
+                          break
137841
 
+                        fi
137842
 
+                      done
137843
 
+                      if test -z "$haveit"; then
137844
 
+                        rpathdirs="$rpathdirs $dir"
137845
 
+                      fi
137846
 
+                      dnl Potentially add DIR to ltrpathdirs.
137847
 
+                      dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
137848
 
+                      haveit=
137849
 
+                      for x in $ltrpathdirs; do
137850
 
+                        if test "X$x" = "X$dir"; then
137851
 
+                          haveit=yes
137852
 
+                          break
137853
 
+                        fi
137854
 
+                      done
137855
 
+                      if test -z "$haveit"; then
137856
 
+                        ltrpathdirs="$ltrpathdirs $dir"
137857
 
+                      fi
137858
 
+                    fi
137859
 
+                    ;;
137860
 
+                  -l*)
137861
 
+                    dnl Handle this in the next round.
137862
 
+                    names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
137863
 
+                    ;;
137864
 
+                  *.la)
137865
 
+                    dnl Handle this in the next round. Throw away the .la's
137866
 
+                    dnl directory; it is already contained in a preceding -L
137867
 
+                    dnl option.
137868
 
+                    names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
137869
 
+                    ;;
137870
 
+                  *)
137871
 
+                    dnl Most likely an immediate library name.
137872
 
+                    LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
137873
 
+                    LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
137874
 
+                    ;;
137875
 
+                esac
137876
 
+              done
137877
 
+            fi
137878
 
+          else
137879
 
+            dnl Didn't find the library; assume it is in the system directories
137880
 
+            dnl known to the linker and runtime loader. (All the system
137881
 
+            dnl directories known to the linker should also be known to the
137882
 
+            dnl runtime loader, otherwise the system is severely misconfigured.)
137883
 
+            LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
137884
 
+            LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
137885
 
+          fi
137886
 
+        fi
137887
 
+      fi
137888
 
+    done
137889
 
+  done
137890
 
+  if test "X$rpathdirs" != "X"; then
137891
 
+    if test -n "$acl_hardcode_libdir_separator"; then
137892
 
+      dnl Weird platform: only the last -rpath option counts, the user must
137893
 
+      dnl pass all path elements in one option. We can arrange that for a
137894
 
+      dnl single library, but not when more than one $LIBNAMEs are used.
137895
 
+      alldirs=
137896
 
+      for found_dir in $rpathdirs; do
137897
 
+        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
137898
 
+      done
137899
 
+      dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl.
137900
 
+      acl_save_libdir="$libdir"
137901
 
+      libdir="$alldirs"
137902
 
+      eval flag=\"$acl_hardcode_libdir_flag_spec\"
137903
 
+      libdir="$acl_save_libdir"
137904
 
+      LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
137905
 
+    else
137906
 
+      dnl The -rpath options are cumulative.
137907
 
+      for found_dir in $rpathdirs; do
137908
 
+        acl_save_libdir="$libdir"
137909
 
+        libdir="$found_dir"
137910
 
+        eval flag=\"$acl_hardcode_libdir_flag_spec\"
137911
 
+        libdir="$acl_save_libdir"
137912
 
+        LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
137913
 
+      done
137914
 
+    fi
137915
 
+  fi
137916
 
+  if test "X$ltrpathdirs" != "X"; then
137917
 
+    dnl When using libtool, the option that works for both libraries and
137918
 
+    dnl executables is -R. The -R options are cumulative.
137919
 
+    for found_dir in $ltrpathdirs; do
137920
 
+      LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
137921
 
+    done
137922
 
+  fi
137923
 
+  popdef([P_A_C_K])
137924
 
+  popdef([PACKLIBS])
137925
 
+  popdef([PACKUP])
137926
 
+  popdef([PACK])
137927
 
+  popdef([NAME])
137928
 
+])
137929
 
+m4trace:m4/lib-link.m4:684: -1- AC_DEFUN([AC_LIB_APPENDTOVAR], [
137930
 
+  for element in [$2]; do
137931
 
+    haveit=
137932
 
+    for x in $[$1]; do
137933
 
+      AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
137934
 
+      if test "X$x" = "X$element"; then
137935
 
+        haveit=yes
137936
 
+        break
137937
 
+      fi
137938
 
+    done
137939
 
+    if test -z "$haveit"; then
137940
 
+      [$1]="${[$1]}${[$1]:+ }$element"
137941
 
+    fi
137942
 
+  done
137943
 
+])
137944
 
+m4trace:m4/lib-link.m4:708: -1- AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [
137945
 
+  AC_REQUIRE([AC_LIB_RPATH])
137946
 
+  AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
137947
 
+  $1=
137948
 
+  if test "$enable_rpath" != no; then
137949
 
+    if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
137950
 
+      dnl Use an explicit option to hardcode directories into the resulting
137951
 
+      dnl binary.
137952
 
+      rpathdirs=
137953
 
+      next=
137954
 
+      for opt in $2; do
137955
 
+        if test -n "$next"; then
137956
 
+          dir="$next"
137957
 
+          dnl No need to hardcode the standard /usr/lib.
137958
 
+          if test "X$dir" != "X/usr/$acl_libdirstem" \
137959
 
+             && test "X$dir" != "X/usr/$acl_libdirstem2"; then
137960
 
+            rpathdirs="$rpathdirs $dir"
137961
 
+          fi
137962
 
+          next=
137963
 
+        else
137964
 
+          case $opt in
137965
 
+            -L) next=yes ;;
137966
 
+            -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
137967
 
+                 dnl No need to hardcode the standard /usr/lib.
137968
 
+                 if test "X$dir" != "X/usr/$acl_libdirstem" \
137969
 
+                    && test "X$dir" != "X/usr/$acl_libdirstem2"; then
137970
 
+                   rpathdirs="$rpathdirs $dir"
137971
 
+                 fi
137972
 
+                 next= ;;
137973
 
+            *) next= ;;
137974
 
+          esac
137975
 
+        fi
137976
 
+      done
137977
 
+      if test "X$rpathdirs" != "X"; then
137978
 
+        if test -n ""$3""; then
137979
 
+          dnl libtool is used for linking. Use -R options.
137980
 
+          for dir in $rpathdirs; do
137981
 
+            $1="${$1}${$1:+ }-R$dir"
137982
 
+          done
137983
 
+        else
137984
 
+          dnl The linker is used for linking directly.
137985
 
+          if test -n "$acl_hardcode_libdir_separator"; then
137986
 
+            dnl Weird platform: only the last -rpath option counts, the user
137987
 
+            dnl must pass all path elements in one option.
137988
 
+            alldirs=
137989
 
+            for dir in $rpathdirs; do
137990
 
+              alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir"
137991
 
+            done
137992
 
+            acl_save_libdir="$libdir"
137993
 
+            libdir="$alldirs"
137994
 
+            eval flag=\"$acl_hardcode_libdir_flag_spec\"
137995
 
+            libdir="$acl_save_libdir"
137996
 
+            $1="$flag"
137997
 
+          else
137998
 
+            dnl The -rpath options are cumulative.
137999
 
+            for dir in $rpathdirs; do
138000
 
+              acl_save_libdir="$libdir"
138001
 
+              libdir="$dir"
138002
 
+              eval flag=\"$acl_hardcode_libdir_flag_spec\"
138003
 
+              libdir="$acl_save_libdir"
138004
 
+              $1="${$1}${$1:+ }$flag"
138005
 
+            done
138006
 
+          fi
138007
 
+        fi
138008
 
+      fi
138009
 
+    fi
138010
 
+  fi
138011
 
+  AC_SUBST([$1])
138012
 
+])
138013
 
+m4trace:m4/lib-prefix.m4:12: -1- AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])
138014
 
+m4trace:m4/lib-prefix.m4:22: -1- AC_DEFUN([AC_LIB_PREFIX], [
138015
 
+  AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
138016
 
+  AC_REQUIRE([AC_PROG_CC])
138017
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
138018
 
+  AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
138019
 
+  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
138020
 
+  dnl By default, look in $includedir and $libdir.
138021
 
+  use_additional=yes
138022
 
+  AC_LIB_WITH_FINAL_PREFIX([
138023
 
+    eval additional_includedir=\"$includedir\"
138024
 
+    eval additional_libdir=\"$libdir\"
138025
 
+  ])
138026
 
+  AC_LIB_ARG_WITH([lib-prefix],
138027
 
+[  --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
138028
 
+  --without-lib-prefix    don't search for libraries in includedir and libdir],
138029
 
+[
138030
 
+    if test "X$withval" = "Xno"; then
138031
 
+      use_additional=no
138032
 
+    else
138033
 
+      if test "X$withval" = "X"; then
138034
 
+        AC_LIB_WITH_FINAL_PREFIX([
138035
 
+          eval additional_includedir=\"$includedir\"
138036
 
+          eval additional_libdir=\"$libdir\"
138037
 
+        ])
138038
 
+      else
138039
 
+        additional_includedir="$withval/include"
138040
 
+        additional_libdir="$withval/$acl_libdirstem"
138041
 
+      fi
138042
 
+    fi
138043
 
+])
138044
 
+  if test $use_additional = yes; then
138045
 
+    dnl Potentially add $additional_includedir to $CPPFLAGS.
138046
 
+    dnl But don't add it
138047
 
+    dnl   1. if it's the standard /usr/include,
138048
 
+    dnl   2. if it's already present in $CPPFLAGS,
138049
 
+    dnl   3. if it's /usr/local/include and we are using GCC on Linux,
138050
 
+    dnl   4. if it doesn't exist as a directory.
138051
 
+    if test "X$additional_includedir" != "X/usr/include"; then
138052
 
+      haveit=
138053
 
+      for x in $CPPFLAGS; do
138054
 
+        AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
138055
 
+        if test "X$x" = "X-I$additional_includedir"; then
138056
 
+          haveit=yes
138057
 
+          break
138058
 
+        fi
138059
 
+      done
138060
 
+      if test -z "$haveit"; then
138061
 
+        if test "X$additional_includedir" = "X/usr/local/include"; then
138062
 
+          if test -n "$GCC"; then
138063
 
+            case $host_os in
138064
 
+              linux* | gnu* | k*bsd*-gnu) haveit=yes;;
138065
 
+            esac
138066
 
+          fi
138067
 
+        fi
138068
 
+        if test -z "$haveit"; then
138069
 
+          if test -d "$additional_includedir"; then
138070
 
+            dnl Really add $additional_includedir to $CPPFLAGS.
138071
 
+            CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
138072
 
+          fi
138073
 
+        fi
138074
 
+      fi
138075
 
+    fi
138076
 
+    dnl Potentially add $additional_libdir to $LDFLAGS.
138077
 
+    dnl But don't add it
138078
 
+    dnl   1. if it's the standard /usr/lib,
138079
 
+    dnl   2. if it's already present in $LDFLAGS,
138080
 
+    dnl   3. if it's /usr/local/lib and we are using GCC on Linux,
138081
 
+    dnl   4. if it doesn't exist as a directory.
138082
 
+    if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
138083
 
+      haveit=
138084
 
+      for x in $LDFLAGS; do
138085
 
+        AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
138086
 
+        if test "X$x" = "X-L$additional_libdir"; then
138087
 
+          haveit=yes
138088
 
+          break
138089
 
+        fi
138090
 
+      done
138091
 
+      if test -z "$haveit"; then
138092
 
+        if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
138093
 
+          if test -n "$GCC"; then
138094
 
+            case $host_os in
138095
 
+              linux*) haveit=yes;;
138096
 
+            esac
138097
 
+          fi
138098
 
+        fi
138099
 
+        if test -z "$haveit"; then
138100
 
+          if test -d "$additional_libdir"; then
138101
 
+            dnl Really add $additional_libdir to $LDFLAGS.
138102
 
+            LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
138103
 
+          fi
138104
 
+        fi
138105
 
+      fi
138106
 
+    fi
138107
 
+  fi
138108
 
+])
138109
 
+m4trace:m4/lib-prefix.m4:122: -1- AC_DEFUN([AC_LIB_PREPARE_PREFIX], [
138110
 
+  dnl Unfortunately, prefix and exec_prefix get only finally determined
138111
 
+  dnl at the end of configure.
138112
 
+  if test "X$prefix" = "XNONE"; then
138113
 
+    acl_final_prefix="$ac_default_prefix"
138114
 
+  else
138115
 
+    acl_final_prefix="$prefix"
138116
 
+  fi
138117
 
+  if test "X$exec_prefix" = "XNONE"; then
138118
 
+    acl_final_exec_prefix='${prefix}'
138119
 
+  else
138120
 
+    acl_final_exec_prefix="$exec_prefix"
138121
 
+  fi
138122
 
+  acl_save_prefix="$prefix"
138123
 
+  prefix="$acl_final_prefix"
138124
 
+  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
138125
 
+  prefix="$acl_save_prefix"
138126
 
+])
138127
 
+m4trace:m4/lib-prefix.m4:145: -1- AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [
138128
 
+  acl_save_prefix="$prefix"
138129
 
+  prefix="$acl_final_prefix"
138130
 
+  acl_save_exec_prefix="$exec_prefix"
138131
 
+  exec_prefix="$acl_final_exec_prefix"
138132
 
+  $1
138133
 
+  exec_prefix="$acl_save_exec_prefix"
138134
 
+  prefix="$acl_save_prefix"
138135
 
+])
138136
 
+m4trace:m4/lib-prefix.m4:162: -1- AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [
138137
 
+  dnl There is no formal standard regarding lib and lib64.
138138
 
+  dnl On glibc systems, the current practice is that on a system supporting
138139
 
+  dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
138140
 
+  dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine
138141
 
+  dnl the compiler's default mode by looking at the compiler's library search
138142
 
+  dnl path. If at least one of its elements ends in /lib64 or points to a
138143
 
+  dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI.
138144
 
+  dnl Otherwise we use the default, namely "lib".
138145
 
+  dnl On Solaris systems, the current practice is that on a system supporting
138146
 
+  dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
138147
 
+  dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or
138148
 
+  dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib.
138149
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
138150
 
+  acl_libdirstem=lib
138151
 
+  acl_libdirstem2=
138152
 
+  case "$host_os" in
138153
 
+    solaris*)
138154
 
+      dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment
138155
 
+      dnl <http://docs.sun.com/app/docs/doc/816-5138/dev-env?l=en&a=view>.
138156
 
+      dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link."
138157
 
+      dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the
138158
 
+      dnl symlink is missing, so we set acl_libdirstem2 too.
138159
 
+      AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit],
138160
 
+        [AC_EGREP_CPP([sixtyfour bits], [
138161
 
+#ifdef _LP64
138162
 
+sixtyfour bits
138163
 
+#endif
138164
 
+           ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no])
138165
 
+        ])
138166
 
+      if test $gl_cv_solaris_64bit = yes; then
138167
 
+        acl_libdirstem=lib/64
138168
 
+        case "$host_cpu" in
138169
 
+          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
138170
 
+          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
138171
 
+        esac
138172
 
+      fi
138173
 
+      ;;
138174
 
+    *)
138175
 
+      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
138176
 
+      if test -n "$searchpath"; then
138177
 
+        acl_save_IFS="${IFS=   }"; IFS=":"
138178
 
+        for searchdir in $searchpath; do
138179
 
+          if test -d "$searchdir"; then
138180
 
+            case "$searchdir" in
138181
 
+              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
138182
 
+              */../ | */.. )
138183
 
+                # Better ignore directories of this form. They are misleading.
138184
 
+                ;;
138185
 
+              *) searchdir=`cd "$searchdir" && pwd`
138186
 
+                 case "$searchdir" in
138187
 
+                   */lib64 ) acl_libdirstem=lib64 ;;
138188
 
+                 esac ;;
138189
 
+            esac
138190
 
+          fi
138191
 
+        done
138192
 
+        IFS="$acl_save_IFS"
138193
 
+      fi
138194
 
+      ;;
138195
 
+  esac
138196
 
+  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
138197
 
+])
138198
 
+m4trace:m4/libunistring-base.m4:22: -1- AC_DEFUN([gl_LIBUNISTRING_MODULE], [
138199
 
+  AC_REQUIRE([gl_LIBUNISTRING_LIB_PREPARE])
138200
 
+  dnl Use the variables HAVE_LIBUNISTRING, LIBUNISTRING_VERSION from
138201
 
+  dnl gl_LIBUNISTRING_CORE if that macro has been run.
138202
 
+  AM_CONDITIONAL(AS_TR_CPP([LIBUNISTRING_COMPILE_$2]),
138203
 
+    [gl_LIBUNISTRING_VERSION_CMP([$1])])
138204
 
+])
138205
 
+m4trace:m4/libunistring-base.m4:48: -1- AC_DEFUN([gl_LIBUNISTRING_LIBHEADER], [
138206
 
+  AC_REQUIRE([gl_LIBUNISTRING_LIB_PREPARE])
138207
 
+  dnl Use the variables HAVE_LIBUNISTRING, LIBUNISTRING_VERSION from
138208
 
+  dnl gl_LIBUNISTRING_CORE if that macro has been run.
138209
 
+  if gl_LIBUNISTRING_VERSION_CMP([$1]); then
138210
 
+    LIBUNISTRING_[]AS_TR_CPP([$2])='$2'
138211
 
+  else
138212
 
+    LIBUNISTRING_[]AS_TR_CPP([$2])=
138213
 
+  fi
138214
 
+  AC_SUBST([LIBUNISTRING_]AS_TR_CPP([$2]))
138215
 
+])
138216
 
+m4trace:m4/libunistring-base.m4:63: -1- AC_DEFUN([gl_LIBUNISTRING_LIB_PREPARE], [
138217
 
+  dnl Ensure that HAVE_LIBUNISTRING is fully determined at this point.
138218
 
+  m4_ifdef([gl_LIBUNISTRING], [AC_REQUIRE([gl_LIBUNISTRING])])
138219
 
+
138220
 
+  AC_REQUIRE([AC_PROG_AWK])
138221
 
+
138222
 
+dnl Sed expressions to extract the parts of a version number.
138223
 
+changequote(,)
138224
 
+gl_libunistring_sed_extract_major='/^[0-9]/{s/^\([0-9]*\).*/\1/p;q;}
138225
 
+i\
138226
 
+0
138227
 
+q
138228
 
+'
138229
 
+gl_libunistring_sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{s/^[0-9]*[.]\([0-9]*\).*/\1/p;q;}
138230
 
+i\
138231
 
+0
138232
 
+q
138233
 
+'
138234
 
+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;}
138235
 
+i\
138236
 
+0
138237
 
+q
138238
 
+'
138239
 
+changequote([,])
138240
 
+
138241
 
+  if test "$HAVE_LIBUNISTRING" = yes; then
138242
 
+    LIBUNISTRING_VERSION_MAJOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_major"`
138243
 
+    LIBUNISTRING_VERSION_MINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_minor"`
138244
 
+    LIBUNISTRING_VERSION_SUBMINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_subminor"`
138245
 
+  fi
138246
 
+])
138247
 
+m4trace:m4/libunistring-base.m4:99: -1- AC_DEFUN([gl_LIBUNISTRING_VERSION_CMP], [ { test "$HAVE_LIBUNISTRING" != yes \
138248
 
+    || {
138249
 
+         dnl AS_LITERAL_IF exists and works fine since autoconf-2.59 at least.
138250
 
+         AS_LITERAL_IF([$1],
138251
 
+           [dnl This is the optimized variant, that assumes the argument is a literal:
138252
 
+            m4_pushdef([requested_version_major],
138253
 
+              [gl_LIBUNISTRING_ARG_OR_ZERO(m4_bpatsubst([$1], [^\([0-9]*\).*], [\1]), [])])
138254
 
+            m4_pushdef([requested_version_minor],
138255
 
+              [gl_LIBUNISTRING_ARG_OR_ZERO(m4_bpatsubst([$1], [^[0-9]*[.]\([0-9]*\).*], [\1]), [$1])])
138256
 
+            m4_pushdef([requested_version_subminor],
138257
 
+              [gl_LIBUNISTRING_ARG_OR_ZERO(m4_bpatsubst([$1], [^[0-9]*[.][0-9]*[.]\([0-9]*\).*], [\1]), [$1])])
138258
 
+            test $LIBUNISTRING_VERSION_MAJOR -lt requested_version_major \
138259
 
+            || { test $LIBUNISTRING_VERSION_MAJOR -eq requested_version_major \
138260
 
+                 && { test $LIBUNISTRING_VERSION_MINOR -lt requested_version_minor \
138261
 
+                      || { test $LIBUNISTRING_VERSION_MINOR -eq requested_version_minor \
138262
 
+                           && test $LIBUNISTRING_VERSION_SUBMINOR -lt requested_version_subminor
138263
 
+                         }
138264
 
+                    }
138265
 
+               }
138266
 
+            m4_popdef([requested_version_subminor])
138267
 
+            m4_popdef([requested_version_minor])
138268
 
+            m4_popdef([requested_version_major])
138269
 
+           ],
138270
 
+           [dnl This is the unoptimized variant:
138271
 
+            requested_version_major=`echo '$1' | sed -n -e "$gl_libunistring_sed_extract_major"`
138272
 
+            requested_version_minor=`echo '$1' | sed -n -e "$gl_libunistring_sed_extract_minor"`
138273
 
+            requested_version_subminor=`echo '$1' | sed -n -e "$gl_libunistring_sed_extract_subminor"`
138274
 
+            test $LIBUNISTRING_VERSION_MAJOR -lt $requested_version_major \
138275
 
+            || { test $LIBUNISTRING_VERSION_MAJOR -eq $requested_version_major \
138276
 
+                 && { test $LIBUNISTRING_VERSION_MINOR -lt $requested_version_minor \
138277
 
+                      || { test $LIBUNISTRING_VERSION_MINOR -eq $requested_version_minor \
138278
 
+                           && test $LIBUNISTRING_VERSION_SUBMINOR -lt $requested_version_subminor
138279
 
+                         }
138280
 
+                    }
138281
 
+               }
138282
 
+           ])
138283
 
+       }
138284
 
+  }])
138285
 
+m4trace:m4/link-follow.m4:17: -1- AC_DEFUN([gl_FUNC_LINK_FOLLOWS_SYMLINK], [dnl
138286
 
+  AC_CHECK_FUNCS_ONCE([readlink])
138287
 
+  dnl Mingw lacks link, although gnulib provides a good replacement.
138288
 
+  dnl However, it also lacks symlink, so there's nothing to test in
138289
 
+  dnl the first place, and no reason to need to distinguish between
138290
 
+  dnl linkat variants.  So, we set LINK_FOLLOWS_SYMLINKS to 0.
138291
 
+  gl_link_follows_symlinks=0 # assume GNU behavior
138292
 
+  if test $ac_cv_func_readlink = yes; then
138293
 
+    dnl Solaris has an __xpg4 variable in libc, and it determines the
138294
 
+    dnl behaviour of link(): It dereferences a symlink if and only if
138295
 
+    dnl __xpg4 != 0.
138296
 
+    AC_CACHE_CHECK([for __xpg4], [gl_cv_have___xpg4],
138297
 
+      [AC_LINK_IFELSE(
138298
 
+         [AC_LANG_PROGRAM(
138299
 
+            [[extern int __xpg4;]],
138300
 
+            [[return __xpg4;]])],
138301
 
+         [gl_cv_have___xpg4=yes],
138302
 
+         [gl_cv_have___xpg4=no])
138303
 
+      ])
138304
 
+    if test $gl_cv_have___xpg4 = yes; then
138305
 
+      gl_link_follows_symlinks=-1
138306
 
+    else
138307
 
+      AC_CACHE_CHECK([whether link(2) dereferences a symlink],
138308
 
+                     [gl_cv_func_link_follows_symlink],
138309
 
+        [
138310
 
+         # Create a regular file.
138311
 
+         echo > conftest.file
138312
 
+         AC_RUN_IFELSE(
138313
 
+           [AC_LANG_SOURCE([[
138314
 
+#       include <sys/types.h>
138315
 
+#       include <sys/stat.h>
138316
 
+#       include <unistd.h>
138317
 
+#       include <stdlib.h>
138318
 
+
138319
 
+#       define SAME_INODE(Stat_buf_1, Stat_buf_2) \
138320
 
+          ((Stat_buf_1).st_ino == (Stat_buf_2).st_ino \
138321
 
+           && (Stat_buf_1).st_dev == (Stat_buf_2).st_dev)
138322
 
+
138323
 
+        int
138324
 
+        main ()
138325
 
+        {
138326
 
+          const char *file = "conftest.file";
138327
 
+          const char *sym = "conftest.sym";
138328
 
+          const char *hard = "conftest.hard";
138329
 
+          struct stat sb_file, sb_hard;
138330
 
+
138331
 
+          /* Create a symlink to the regular file. */
138332
 
+          if (symlink (file, sym))
138333
 
+            return 2;
138334
 
+
138335
 
+          /* Create a hard link to that symlink.  */
138336
 
+          if (link (sym, hard))
138337
 
+            return 3;
138338
 
+
138339
 
+          if (lstat (hard, &sb_hard))
138340
 
+            return 4;
138341
 
+          if (lstat (file, &sb_file))
138342
 
+            return 5;
138343
 
+
138344
 
+          /* If the dev/inode of hard and file are the same, then
138345
 
+             the link call followed the symlink.  */
138346
 
+          return SAME_INODE (sb_hard, sb_file) ? 1 : 0;
138347
 
+        }
138348
 
+           ]])],
138349
 
+           [gl_cv_func_link_follows_symlink=no], dnl GNU behavior
138350
 
+           [gl_cv_func_link_follows_symlink=yes], dnl Followed link/compile failed
138351
 
+           [gl_cv_func_link_follows_symlink=unknown] dnl We're cross compiling.
138352
 
+         )
138353
 
+         rm -f conftest.file conftest.sym conftest.hard
138354
 
+        ])
138355
 
+      case $gl_cv_func_link_follows_symlink in
138356
 
+        yes) gl_link_follows_symlinks=1 ;;
138357
 
+        no) ;; # already defaulted to 0
138358
 
+        *) gl_link_follows_symlinks=-2 ;;
138359
 
+      esac
138360
 
+    fi
138361
 
+  fi
138362
 
+  AC_DEFINE_UNQUOTED([LINK_FOLLOWS_SYMLINKS], [$gl_link_follows_symlinks],
138363
 
+    [Define to 1 if `link(2)' dereferences symbolic links, 0 if it
138364
 
+     creates hard links to symlinks, -1 if it depends on the variable __xpg4,
138365
 
+     and -2 if unknown.])
138366
 
+])
138367
 
+m4trace:m4/link.m4:7: -1- AC_DEFUN([gl_FUNC_LINK], [
138368
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
138369
 
+  AC_CHECK_FUNCS_ONCE([link])
138370
 
+  if test $ac_cv_func_link = no; then
138371
 
+    HAVE_LINK=0
138372
 
+  else
138373
 
+    AC_CACHE_CHECK([whether link obeys POSIX],
138374
 
+      [gl_cv_func_link_works],
138375
 
+      [touch conftest.a
138376
 
+       # Assume that if we have lstat, we can also check symlinks.
138377
 
+       if test $ac_cv_func_lstat = yes; then
138378
 
+         ln -s conftest.a conftest.lnk
138379
 
+       fi
138380
 
+       AC_RUN_IFELSE(
138381
 
+         [AC_LANG_PROGRAM(
138382
 
+           [[#include <unistd.h>
138383
 
+           ]],
138384
 
+           [[int result = 0;
138385
 
+             if (!link ("conftest.a", "conftest.b/"))
138386
 
+               result |= 1;
138387
 
+#if HAVE_LSTAT
138388
 
+             if (!link ("conftest.lnk/", "conftest.b"))
138389
 
+               result |= 2;
138390
 
+             if (rename ("conftest.a", "conftest.b"))
138391
 
+               result |= 4;
138392
 
+             if (!link ("conftest.b", "conftest.lnk"))
138393
 
+               result |= 8;
138394
 
+#endif
138395
 
+             return result;
138396
 
+           ]])],
138397
 
+         [gl_cv_func_link_works=yes], [gl_cv_func_link_works=no],
138398
 
+         [gl_cv_func_link_works="guessing no"])
138399
 
+       rm -f conftest.a conftest.b conftest.lnk])
138400
 
+    if test "$gl_cv_func_link_works" != yes; then
138401
 
+      REPLACE_LINK=1
138402
 
+    fi
138403
 
+  fi
138404
 
+])
138405
 
+m4trace:m4/linkat.m4:11: -1- AC_DEFUN([gl_FUNC_LINKAT], [
138406
 
+  AC_REQUIRE([gl_FUNC_OPENAT])
138407
 
+  AC_REQUIRE([gl_FUNC_LINK_FOLLOWS_SYMLINK])
138408
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
138409
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
138410
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
138411
 
+  AC_CHECK_FUNCS_ONCE([linkat symlink])
138412
 
+  AC_CHECK_HEADERS_ONCE([sys/param.h])
138413
 
+  if test $ac_cv_func_linkat = no; then
138414
 
+    HAVE_LINKAT=0
138415
 
+  else
138416
 
+    AC_CACHE_CHECK([whether linkat(,AT_SYMLINK_FOLLOW) works],
138417
 
+      [gl_cv_func_linkat_follow],
138418
 
+      [rm -rf conftest.f1 conftest.f2
138419
 
+       touch conftest.f1
138420
 
+       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
138421
 
+#include <fcntl.h>
138422
 
+#include <unistd.h>
138423
 
+#ifdef __linux__
138424
 
+/* Linux added linkat in 2.6.16, but did not add AT_SYMLINK_FOLLOW
138425
 
+   until 2.6.18.  Always replace linkat to support older kernels.  */
138426
 
+choke me
138427
 
+#endif
138428
 
+]], [return linkat (AT_FDCWD, "conftest.f1", AT_FDCWD, "conftest.f2",
138429
 
+                    AT_SYMLINK_FOLLOW);])],
138430
 
+         [gl_cv_func_linkat_follow=yes],
138431
 
+         [gl_cv_func_linkat_follow="need runtime check"])
138432
 
+       rm -rf conftest.f1 conftest.f2])
138433
 
+    AC_CACHE_CHECK([whether linkat handles trailing slash correctly],
138434
 
+      [gl_cv_func_linkat_slash],
138435
 
+      [rm -rf conftest.a conftest.b conftest.c conftest.d
138436
 
+       AC_RUN_IFELSE(
138437
 
+         [AC_LANG_PROGRAM(
138438
 
+            [[#include <unistd.h>
138439
 
+              #include <fcntl.h>
138440
 
+              #include <errno.h>
138441
 
+              #include <stdio.h>
138442
 
+            ]],
138443
 
+            [[int result;
138444
 
+              int fd;
138445
 
+              /* Create a regular file.  */
138446
 
+              fd = open ("conftest.a", O_CREAT | O_EXCL | O_WRONLY, 0600);
138447
 
+              if (fd < 0)
138448
 
+                return 1;
138449
 
+              if (write (fd, "hello", 5) < 5)
138450
 
+                return 2;
138451
 
+              if (close (fd) < 0)
138452
 
+                return 3;
138453
 
+              /* Test whether hard links are supported on the current
138454
 
+                 device.  */
138455
 
+              if (linkat (AT_FDCWD, "conftest.a", AT_FDCWD, "conftest.b",
138456
 
+                          AT_SYMLINK_FOLLOW) < 0)
138457
 
+                return 0;
138458
 
+              result = 0;
138459
 
+              /* Test whether a trailing "/" is treated like "/.".  */
138460
 
+              if (linkat (AT_FDCWD, "conftest.a/", AT_FDCWD, "conftest.c",
138461
 
+                          AT_SYMLINK_FOLLOW) == 0)
138462
 
+                result |= 4;
138463
 
+              if (linkat (AT_FDCWD, "conftest.a", AT_FDCWD, "conftest.d/",
138464
 
+                          AT_SYMLINK_FOLLOW) == 0)
138465
 
+                result |= 8;
138466
 
+              return result;
138467
 
+            ]])],
138468
 
+         [gl_cv_func_linkat_slash=yes],
138469
 
+         [gl_cv_func_linkat_slash=no],
138470
 
+         [# Guess yes on glibc systems, no otherwise.
138471
 
+          case "$host_os" in
138472
 
+            *-gnu*) gl_cv_func_linkat_slash="guessing yes";;
138473
 
+            *)      gl_cv_func_linkat_slash="guessing no";;
138474
 
+          esac
138475
 
+         ])
138476
 
+       rm -rf conftest.a conftest.b conftest.c conftest.d])
138477
 
+    case "$gl_cv_func_linkat_slash" in
138478
 
+      *yes) gl_linkat_slash_bug=0 ;;
138479
 
+      *)    gl_linkat_slash_bug=1 ;;
138480
 
+    esac
138481
 
+    if test "$gl_cv_func_linkat_follow" != yes \
138482
 
+       || test $gl_linkat_slash_bug = 1; then
138483
 
+      REPLACE_LINKAT=1
138484
 
+      AC_DEFINE_UNQUOTED([LINKAT_TRAILING_SLASH_BUG], [$gl_linkat_slash_bug],
138485
 
+        [Define to 1 if linkat fails to recognize a trailing slash.])
138486
 
+    fi
138487
 
+  fi
138488
 
+])
138489
 
+m4trace:m4/localcharset.m4:7: -1- AC_DEFUN([gl_LOCALCHARSET], [
138490
 
+  dnl Prerequisites of lib/localcharset.c.
138491
 
+  AC_REQUIRE([AM_LANGINFO_CODESET])
138492
 
+  AC_REQUIRE([gl_FCNTL_O_FLAGS])
138493
 
+  AC_CHECK_DECLS_ONCE([getc_unlocked])
138494
 
+
138495
 
+  dnl Prerequisites of the lib/Makefile.am snippet.
138496
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
138497
 
+  AC_REQUIRE([gl_GLIBC21])
138498
 
+])
138499
 
+m4trace:m4/locale-fr.m4:10: -1- AC_DEFUN([gt_LOCALE_FR], [
138500
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
138501
 
+  AC_REQUIRE([AM_LANGINFO_CODESET])
138502
 
+  AC_CACHE_CHECK([for a traditional french locale], [gt_cv_locale_fr], [
138503
 
+    AC_LANG_CONFTEST([AC_LANG_SOURCE([
138504
 
+changequote(,)dnl
138505
 
+#include <locale.h>
138506
 
+#include <time.h>
138507
 
+#if HAVE_LANGINFO_CODESET
138508
 
+# include <langinfo.h>
138509
 
+#endif
138510
 
+#include <stdlib.h>
138511
 
+#include <string.h>
138512
 
+struct tm t;
138513
 
+char buf[16];
138514
 
+int main () {
138515
 
+  /* Check whether the given locale name is recognized by the system.  */
138516
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
138517
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
138518
 
+     not at the environment variables.  Also, when an encoding suffix such
138519
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
138520
 
+     category of the locale to "C".  */
138521
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
138522
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
138523
 
+    return 1;
138524
 
+#else
138525
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
138526
 
+#endif
138527
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
138528
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
138529
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
138530
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
138531
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
138532
 
+     some unit tests fail.
138533
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
138534
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
138535
 
+#if HAVE_LANGINFO_CODESET
138536
 
+  {
138537
 
+    const char *cs = nl_langinfo (CODESET);
138538
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
138539
 
+        || strcmp (cs, "UTF-8") == 0)
138540
 
+      return 1;
138541
 
+  }
138542
 
+#endif
138543
 
+#ifdef __CYGWIN__
138544
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
138545
 
+     locale_charset() function relies on the encoding suffix.  Note that
138546
 
+     LC_ALL is set on the command line.  */
138547
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
138548
 
+#endif
138549
 
+  /* Check whether in the abbreviation of the second month, the second
138550
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
138551
 
+     one byte long. This excludes the UTF-8 encoding.  */
138552
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
138553
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
138554
 
+  /* Check whether the decimal separator is a comma.
138555
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
138556
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
138557
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
138558
 
+  return 0;
138559
 
+}
138560
 
+changequote([,])dnl
138561
 
+      ])])
138562
 
+    if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then
138563
 
+      case "$host_os" in
138564
 
+        # Handle native Windows specially, because there setlocale() interprets
138565
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
138566
 
+        # "fr" or "fra" as "French" or "French_France.1252",
138567
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
138568
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
138569
 
+        # and similar.
138570
 
+        mingw*)
138571
 
+          # Test for the native Win32 locale name.
138572
 
+          if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138573
 
+            gt_cv_locale_fr=French_France.1252
138574
 
+          else
138575
 
+            # None found.
138576
 
+            gt_cv_locale_fr=none
138577
 
+          fi
138578
 
+          ;;
138579
 
+        *)
138580
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
138581
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
138582
 
+          # configure script would override the LC_ALL setting. Likewise for
138583
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
138584
 
+          # Test for the usual locale name.
138585
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138586
 
+            gt_cv_locale_fr=fr_FR
138587
 
+          else
138588
 
+            # Test for the locale name with explicit encoding suffix.
138589
 
+            if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138590
 
+              gt_cv_locale_fr=fr_FR.ISO-8859-1
138591
 
+            else
138592
 
+              # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
138593
 
+              if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138594
 
+                gt_cv_locale_fr=fr_FR.ISO8859-1
138595
 
+              else
138596
 
+                # Test for the HP-UX locale name.
138597
 
+                if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138598
 
+                  gt_cv_locale_fr=fr_FR.iso88591
138599
 
+                else
138600
 
+                  # Test for the Solaris 7 locale name.
138601
 
+                  if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138602
 
+                    gt_cv_locale_fr=fr
138603
 
+                  else
138604
 
+                    # None found.
138605
 
+                    gt_cv_locale_fr=none
138606
 
+                  fi
138607
 
+                fi
138608
 
+              fi
138609
 
+            fi
138610
 
+          fi
138611
 
+          ;;
138612
 
+      esac
138613
 
+    fi
138614
 
+    rm -fr conftest*
138615
 
+  ])
138616
 
+  LOCALE_FR=$gt_cv_locale_fr
138617
 
+  AC_SUBST([LOCALE_FR])
138618
 
+])
138619
 
+m4trace:m4/locale-fr.m4:133: -1- AC_DEFUN([gt_LOCALE_FR_UTF8], [
138620
 
+  AC_REQUIRE([AM_LANGINFO_CODESET])
138621
 
+  AC_CACHE_CHECK([for a french Unicode locale], [gt_cv_locale_fr_utf8], [
138622
 
+    AC_LANG_CONFTEST([AC_LANG_SOURCE([
138623
 
+changequote(,)dnl
138624
 
+#include <locale.h>
138625
 
+#include <time.h>
138626
 
+#if HAVE_LANGINFO_CODESET
138627
 
+# include <langinfo.h>
138628
 
+#endif
138629
 
+#include <stdlib.h>
138630
 
+#include <string.h>
138631
 
+struct tm t;
138632
 
+char buf[16];
138633
 
+int main () {
138634
 
+  /* On BeOS and Haiku, locales are not implemented in libc.  Rather, libintl
138635
 
+     imitates locale dependent behaviour by looking at the environment
138636
 
+     variables, and all locales use the UTF-8 encoding.  */
138637
 
+#if !(defined __BEOS__ || defined __HAIKU__)
138638
 
+  /* Check whether the given locale name is recognized by the system.  */
138639
 
+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
138640
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
138641
 
+     not at the environment variables.  Also, when an encoding suffix such
138642
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
138643
 
+     category of the locale to "C".  */
138644
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
138645
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
138646
 
+    return 1;
138647
 
+# else
138648
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
138649
 
+# endif
138650
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
138651
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
138652
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
138653
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
138654
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
138655
 
+     some unit tests fail.  */
138656
 
+# if HAVE_LANGINFO_CODESET
138657
 
+  {
138658
 
+    const char *cs = nl_langinfo (CODESET);
138659
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
138660
 
+      return 1;
138661
 
+  }
138662
 
+# endif
138663
 
+# ifdef __CYGWIN__
138664
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
138665
 
+     locale_charset() function relies on the encoding suffix.  Note that
138666
 
+     LC_ALL is set on the command line.  */
138667
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
138668
 
+# endif
138669
 
+  /* Check whether in the abbreviation of the second month, the second
138670
 
+     character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
138671
 
+     two bytes long, with UTF-8 encoding.  */
138672
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
138673
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
138674
 
+      || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
138675
 
+    return 1;
138676
 
+#endif
138677
 
+  /* Check whether the decimal separator is a comma.
138678
 
+     On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
138679
 
+     are nl_langinfo(RADIXCHAR) are both ".".  */
138680
 
+  if (localeconv () ->decimal_point[0] != ',') return 1;
138681
 
+  return 0;
138682
 
+}
138683
 
+changequote([,])dnl
138684
 
+      ])])
138685
 
+    if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then
138686
 
+      case "$host_os" in
138687
 
+        # Handle native Windows specially, because there setlocale() interprets
138688
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
138689
 
+        # "fr" or "fra" as "French" or "French_France.1252",
138690
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
138691
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
138692
 
+        # and similar.
138693
 
+        mingw*)
138694
 
+          # Test for the hypothetical native Win32 locale name.
138695
 
+          if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138696
 
+            gt_cv_locale_fr_utf8=French_France.65001
138697
 
+          else
138698
 
+            # None found.
138699
 
+            gt_cv_locale_fr_utf8=none
138700
 
+          fi
138701
 
+          ;;
138702
 
+        *)
138703
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
138704
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
138705
 
+          # configure script would override the LC_ALL setting. Likewise for
138706
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
138707
 
+          # Test for the usual locale name.
138708
 
+          if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138709
 
+            gt_cv_locale_fr_utf8=fr_FR
138710
 
+          else
138711
 
+            # Test for the locale name with explicit encoding suffix.
138712
 
+            if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138713
 
+              gt_cv_locale_fr_utf8=fr_FR.UTF-8
138714
 
+            else
138715
 
+              # Test for the Solaris 7 locale name.
138716
 
+              if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138717
 
+                gt_cv_locale_fr_utf8=fr.UTF-8
138718
 
+              else
138719
 
+                # None found.
138720
 
+                gt_cv_locale_fr_utf8=none
138721
 
+              fi
138722
 
+            fi
138723
 
+          fi
138724
 
+          ;;
138725
 
+      esac
138726
 
+    fi
138727
 
+    rm -fr conftest*
138728
 
+  ])
138729
 
+  LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
138730
 
+  AC_SUBST([LOCALE_FR_UTF8])
138731
 
+])
138732
 
+m4trace:m4/locale-ja.m4:10: -1- AC_DEFUN([gt_LOCALE_JA], [
138733
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
138734
 
+  AC_REQUIRE([AM_LANGINFO_CODESET])
138735
 
+  AC_CACHE_CHECK([for a traditional japanese locale], [gt_cv_locale_ja], [
138736
 
+    AC_LANG_CONFTEST([AC_LANG_SOURCE([
138737
 
+changequote(,)dnl
138738
 
+#include <locale.h>
138739
 
+#include <time.h>
138740
 
+#if HAVE_LANGINFO_CODESET
138741
 
+# include <langinfo.h>
138742
 
+#endif
138743
 
+#include <stdlib.h>
138744
 
+#include <string.h>
138745
 
+struct tm t;
138746
 
+char buf[16];
138747
 
+int main ()
138748
 
+{
138749
 
+  const char *p;
138750
 
+  /* Check whether the given locale name is recognized by the system.  */
138751
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
138752
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
138753
 
+     not at the environment variables.  Also, when an encoding suffix such
138754
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
138755
 
+     category of the locale to "C".  */
138756
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
138757
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
138758
 
+    return 1;
138759
 
+#else
138760
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
138761
 
+#endif
138762
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
138763
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
138764
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
138765
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
138766
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
138767
 
+     some unit tests fail.
138768
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
138769
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
138770
 
+#if HAVE_LANGINFO_CODESET
138771
 
+  {
138772
 
+    const char *cs = nl_langinfo (CODESET);
138773
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
138774
 
+        || strcmp (cs, "UTF-8") == 0)
138775
 
+      return 1;
138776
 
+  }
138777
 
+#endif
138778
 
+#ifdef __CYGWIN__
138779
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
138780
 
+     locale_charset() function relies on the encoding suffix.  Note that
138781
 
+     LC_ALL is set on the command line.  */
138782
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
138783
 
+#endif
138784
 
+  /* Check whether MB_CUR_MAX is > 1.  This excludes the dysfunctional locales
138785
 
+     on Cygwin 1.5.x.  */
138786
 
+  if (MB_CUR_MAX == 1)
138787
 
+    return 1;
138788
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
138789
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
138790
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
138791
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
138792
 
+  for (p = buf; *p != '\0'; p++)
138793
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
138794
 
+      return 1;
138795
 
+  return 0;
138796
 
+}
138797
 
+changequote([,])dnl
138798
 
+      ])])
138799
 
+    if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then
138800
 
+      case "$host_os" in
138801
 
+        # Handle native Windows specially, because there setlocale() interprets
138802
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
138803
 
+        # "fr" or "fra" as "French" or "French_France.1252",
138804
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
138805
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
138806
 
+        # and similar.
138807
 
+        mingw*)
138808
 
+          # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
138809
 
+          # and CP932 is very different from EUC-JP, so we cannot use it here.
138810
 
+          gt_cv_locale_ja=none
138811
 
+          ;;
138812
 
+        *)
138813
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
138814
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
138815
 
+          # configure script would override the LC_ALL setting. Likewise for
138816
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
138817
 
+          # Test for the AIX locale name.
138818
 
+          if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138819
 
+            gt_cv_locale_ja=ja_JP
138820
 
+          else
138821
 
+            # Test for the locale name with explicit encoding suffix.
138822
 
+            if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138823
 
+              gt_cv_locale_ja=ja_JP.EUC-JP
138824
 
+            else
138825
 
+              # Test for the HP-UX, OSF/1, NetBSD locale name.
138826
 
+              if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138827
 
+                gt_cv_locale_ja=ja_JP.eucJP
138828
 
+              else
138829
 
+                # Test for the IRIX, FreeBSD locale name.
138830
 
+                if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138831
 
+                  gt_cv_locale_ja=ja_JP.EUC
138832
 
+                else
138833
 
+                  # Test for the Solaris 7 locale name.
138834
 
+                  if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138835
 
+                    gt_cv_locale_ja=ja
138836
 
+                  else
138837
 
+                    # Special test for NetBSD 1.6.
138838
 
+                    if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
138839
 
+                      gt_cv_locale_ja=ja_JP.eucJP
138840
 
+                    else
138841
 
+                      # None found.
138842
 
+                      gt_cv_locale_ja=none
138843
 
+                    fi
138844
 
+                  fi
138845
 
+                fi
138846
 
+              fi
138847
 
+            fi
138848
 
+          fi
138849
 
+          ;;
138850
 
+      esac
138851
 
+    fi
138852
 
+    rm -fr conftest*
138853
 
+  ])
138854
 
+  LOCALE_JA=$gt_cv_locale_ja
138855
 
+  AC_SUBST([LOCALE_JA])
138856
 
+])
138857
 
+m4trace:m4/locale-tr.m4:10: -1- AC_DEFUN([gt_LOCALE_TR_UTF8], [
138858
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
138859
 
+  AC_REQUIRE([AM_LANGINFO_CODESET])
138860
 
+  AC_CACHE_CHECK([for a turkish Unicode locale], [gt_cv_locale_tr_utf8], [
138861
 
+    AC_LANG_CONFTEST([AC_LANG_SOURCE([
138862
 
+changequote(,)dnl
138863
 
+#include <locale.h>
138864
 
+#include <time.h>
138865
 
+#if HAVE_LANGINFO_CODESET
138866
 
+# include <langinfo.h>
138867
 
+#endif
138868
 
+#include <stdlib.h>
138869
 
+#include <string.h>
138870
 
+struct tm t;
138871
 
+char buf[16];
138872
 
+int main () {
138873
 
+  /* On BeOS, locales are not implemented in libc.  Rather, libintl
138874
 
+     imitates locale dependent behaviour by looking at the environment
138875
 
+     variables, and all locales use the UTF-8 encoding.  But BeOS does not
138876
 
+     implement the Turkish upper-/lowercase mappings.  Therefore, let this
138877
 
+     program return 1 on BeOS.  */
138878
 
+  /* Check whether the given locale name is recognized by the system.  */
138879
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
138880
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
138881
 
+     not at the environment variables.  Also, when an encoding suffix such
138882
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
138883
 
+     category of the locale to "C".  */
138884
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
138885
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
138886
 
+    return 1;
138887
 
+#else
138888
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
138889
 
+#endif
138890
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
138891
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET)
138892
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
138893
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
138894
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
138895
 
+     some unit tests fail.  */
138896
 
+#if HAVE_LANGINFO_CODESET
138897
 
+  {
138898
 
+    const char *cs = nl_langinfo (CODESET);
138899
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
138900
 
+      return 1;
138901
 
+  }
138902
 
+#endif
138903
 
+#ifdef __CYGWIN__
138904
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
138905
 
+     locale_charset() function relies on the encoding suffix.  Note that
138906
 
+     LC_ALL is set on the command line.  */
138907
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
138908
 
+#endif
138909
 
+  /* Check whether in the abbreviation of the eighth month, the second
138910
 
+     character (should be U+011F: LATIN SMALL LETTER G WITH BREVE) is
138911
 
+     two bytes long, with UTF-8 encoding.  */
138912
 
+  t.tm_year = 1992 - 1900; t.tm_mon = 8 - 1; t.tm_mday = 19;
138913
 
+  if (strftime (buf, sizeof (buf), "%b", &t) < 4
138914
 
+      || buf[1] != (char) 0xc4 || buf[2] != (char) 0x9f)
138915
 
+    return 1;
138916
 
+  /* Check whether the upper-/lowercase mappings are as expected for
138917
 
+     Turkish.  */
138918
 
+  if (towupper ('i') != 0x0130 || towlower (0x0130) != 'i'
138919
 
+      || towupper(0x0131) != 'I' || towlower ('I') != 0x0131)
138920
 
+    return 1;
138921
 
+  return 0;
138922
 
+}
138923
 
+changequote([,])dnl
138924
 
+      ])])
138925
 
+    if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then
138926
 
+      case "$host_os" in
138927
 
+        # Handle native Windows specially, because there setlocale() interprets
138928
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
138929
 
+        # "fr" or "fra" as "French" or "French_France.1252",
138930
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
138931
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
138932
 
+        # and similar.
138933
 
+        mingw*)
138934
 
+          # Test for the hypothetical native Win32 locale name.
138935
 
+          if (LC_ALL=Turkish_Turkey.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138936
 
+            gt_cv_locale_tr_utf8=Turkish_Turkey.65001
138937
 
+          else
138938
 
+            # None found.
138939
 
+            gt_cv_locale_tr_utf8=none
138940
 
+          fi
138941
 
+          ;;
138942
 
+        *)
138943
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
138944
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
138945
 
+          # configure script would override the LC_ALL setting. Likewise for
138946
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
138947
 
+          # Test for the usual locale name.
138948
 
+          if (LC_ALL=tr_TR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138949
 
+            gt_cv_locale_tr_utf8=tr_TR
138950
 
+          else
138951
 
+            # Test for the locale name with explicit encoding suffix.
138952
 
+            if (LC_ALL=tr_TR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138953
 
+              gt_cv_locale_tr_utf8=tr_TR.UTF-8
138954
 
+            else
138955
 
+              # Test for the Solaris 7 locale name.
138956
 
+              if (LC_ALL=tr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
138957
 
+                gt_cv_locale_tr_utf8=tr.UTF-8
138958
 
+              else
138959
 
+                # None found.
138960
 
+                gt_cv_locale_tr_utf8=none
138961
 
+              fi
138962
 
+            fi
138963
 
+          fi
138964
 
+          ;;
138965
 
+      esac
138966
 
+    else
138967
 
+      gt_cv_locale_tr_utf8=none
138968
 
+    fi
138969
 
+    rm -fr conftest*
138970
 
+  ])
138971
 
+  LOCALE_TR_UTF8=$gt_cv_locale_tr_utf8
138972
 
+  AC_SUBST([LOCALE_TR_UTF8])
138973
 
+])
138974
 
+m4trace:m4/locale-zh.m4:10: -1- AC_DEFUN([gt_LOCALE_ZH_CN], [
138975
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
138976
 
+  AC_REQUIRE([AM_LANGINFO_CODESET])
138977
 
+  AC_CACHE_CHECK([for a transitional chinese locale], [gt_cv_locale_zh_CN], [
138978
 
+    AC_LANG_CONFTEST([AC_LANG_SOURCE([
138979
 
+changequote(,)dnl
138980
 
+#include <locale.h>
138981
 
+#include <stdlib.h>
138982
 
+#include <time.h>
138983
 
+#if HAVE_LANGINFO_CODESET
138984
 
+# include <langinfo.h>
138985
 
+#endif
138986
 
+#include <stdlib.h>
138987
 
+#include <string.h>
138988
 
+struct tm t;
138989
 
+char buf[16];
138990
 
+int main ()
138991
 
+{
138992
 
+  const char *p;
138993
 
+  /* Check whether the given locale name is recognized by the system.  */
138994
 
+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
138995
 
+  /* On native Win32, setlocale(category, "") looks at the system settings,
138996
 
+     not at the environment variables.  Also, when an encoding suffix such
138997
 
+     as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
138998
 
+     category of the locale to "C".  */
138999
 
+  if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
139000
 
+      || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
139001
 
+    return 1;
139002
 
+#else
139003
 
+  if (setlocale (LC_ALL, "") == NULL) return 1;
139004
 
+#endif
139005
 
+  /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
139006
 
+     On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
139007
 
+     is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
139008
 
+     On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
139009
 
+     succeeds but then nl_langinfo(CODESET) is "646". In this situation,
139010
 
+     some unit tests fail.
139011
 
+     On MirBSD 10, when an unsupported locale is specified, setlocale()
139012
 
+     succeeds but then nl_langinfo(CODESET) is "UTF-8".  */
139013
 
+#if HAVE_LANGINFO_CODESET
139014
 
+  {
139015
 
+    const char *cs = nl_langinfo (CODESET);
139016
 
+    if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
139017
 
+        || strcmp (cs, "UTF-8") == 0)
139018
 
+      return 1;
139019
 
+  }
139020
 
+#endif
139021
 
+#ifdef __CYGWIN__
139022
 
+  /* On Cygwin, avoid locale names without encoding suffix, because the
139023
 
+     locale_charset() function relies on the encoding suffix.  Note that
139024
 
+     LC_ALL is set on the command line.  */
139025
 
+  if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
139026
 
+#endif
139027
 
+  /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
139028
 
+     This excludes the UTF-8 encoding (except on MirBSD).  */
139029
 
+  t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
139030
 
+  if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
139031
 
+  for (p = buf; *p != '\0'; p++)
139032
 
+    if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
139033
 
+      return 1;
139034
 
+  /* Check whether a typical GB18030 multibyte sequence is recognized as a
139035
 
+     single wide character.  This excludes the GB2312 and GBK encodings.  */
139036
 
+  if (mblen ("\203\062\332\066", 5) != 4)
139037
 
+    return 1;
139038
 
+  return 0;
139039
 
+}
139040
 
+changequote([,])dnl
139041
 
+      ])])
139042
 
+    if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then
139043
 
+      case "$host_os" in
139044
 
+        # Handle native Windows specially, because there setlocale() interprets
139045
 
+        # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
139046
 
+        # "fr" or "fra" as "French" or "French_France.1252",
139047
 
+        # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
139048
 
+        # "ja" as "Japanese" or "Japanese_Japan.932",
139049
 
+        # and similar.
139050
 
+        mingw*)
139051
 
+          # Test for the hypothetical native Win32 locale name.
139052
 
+          if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
139053
 
+            gt_cv_locale_zh_CN=Chinese_China.54936
139054
 
+          else
139055
 
+            # None found.
139056
 
+            gt_cv_locale_zh_CN=none
139057
 
+          fi
139058
 
+          ;;
139059
 
+        solaris2.8)
139060
 
+          # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are
139061
 
+          # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK.
139062
 
+          # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core.
139063
 
+          gt_cv_locale_zh_CN=none
139064
 
+          ;;
139065
 
+        *)
139066
 
+          # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
139067
 
+          # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
139068
 
+          # configure script would override the LC_ALL setting. Likewise for
139069
 
+          # LC_CTYPE, which is also set at the beginning of the configure script.
139070
 
+          # Test for the locale name without encoding suffix.
139071
 
+          if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
139072
 
+            gt_cv_locale_zh_CN=zh_CN
139073
 
+          else
139074
 
+            # Test for the locale name with explicit encoding suffix.
139075
 
+            if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
139076
 
+              gt_cv_locale_zh_CN=zh_CN.GB18030
139077
 
+            else
139078
 
+              # None found.
139079
 
+              gt_cv_locale_zh_CN=none
139080
 
+            fi
139081
 
+          fi
139082
 
+          ;;
139083
 
+      esac
139084
 
+    else
139085
 
+      # If there was a link error, due to mblen(), the system is so old that
139086
 
+      # it certainly doesn't have a chinese locale.
139087
 
+      gt_cv_locale_zh_CN=none
139088
 
+    fi
139089
 
+    rm -fr conftest*
139090
 
+  ])
139091
 
+  LOCALE_ZH_CN=$gt_cv_locale_zh_CN
139092
 
+  AC_SUBST([LOCALE_ZH_CN])
139093
 
+])
139094
 
+m4trace:m4/locale_h.m4:7: -1- AC_DEFUN([gl_LOCALE_H], [
139095
 
+  dnl Use AC_REQUIRE here, so that the default behavior below is expanded
139096
 
+  dnl once only, before all statements that occur in other macros.
139097
 
+  AC_REQUIRE([gl_LOCALE_H_DEFAULTS])
139098
 
+
139099
 
+  dnl Persuade glibc <locale.h> to define locale_t.
139100
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
139101
 
+
139102
 
+  dnl If <stddef.h> is replaced, then <locale.h> must also be replaced.
139103
 
+  AC_REQUIRE([gl_STDDEF_H])
139104
 
+
139105
 
+  AC_CACHE_CHECK([whether locale.h conforms to POSIX:2001],
139106
 
+    [gl_cv_header_locale_h_posix2001],
139107
 
+    [AC_COMPILE_IFELSE(
139108
 
+       [AC_LANG_PROGRAM(
139109
 
+          [[#include <locale.h>
139110
 
+            int x = LC_MESSAGES;]],
139111
 
+          [[]])],
139112
 
+       [gl_cv_header_locale_h_posix2001=yes],
139113
 
+       [gl_cv_header_locale_h_posix2001=no])])
139114
 
+
139115
 
+  dnl Check for <xlocale.h>.
139116
 
+  AC_CHECK_HEADERS_ONCE([xlocale.h])
139117
 
+  if test $ac_cv_header_xlocale_h = yes; then
139118
 
+    HAVE_XLOCALE_H=1
139119
 
+    dnl Check whether use of locale_t requires inclusion of <xlocale.h>,
139120
 
+    dnl e.g. on MacOS X 10.5. If <locale.h> does not define locale_t by
139121
 
+    dnl itself, we assume that <xlocale.h> will do so.
139122
 
+    AC_CACHE_CHECK([whether locale.h defines locale_t],
139123
 
+      [gl_cv_header_locale_has_locale_t],
139124
 
+      [AC_COMPILE_IFELSE(
139125
 
+         [AC_LANG_PROGRAM(
139126
 
+            [[#include <locale.h>
139127
 
+              locale_t x;]],
139128
 
+            [[]])],
139129
 
+         [gl_cv_header_locale_has_locale_t=yes],
139130
 
+         [gl_cv_header_locale_has_locale_t=no])
139131
 
+      ])
139132
 
+    if test $gl_cv_header_locale_has_locale_t = yes; then
139133
 
+      gl_cv_header_locale_h_needs_xlocale_h=no
139134
 
+    else
139135
 
+      gl_cv_header_locale_h_needs_xlocale_h=yes
139136
 
+    fi
139137
 
+  else
139138
 
+    HAVE_XLOCALE_H=0
139139
 
+    gl_cv_header_locale_h_needs_xlocale_h=no
139140
 
+  fi
139141
 
+  AC_SUBST([HAVE_XLOCALE_H])
139142
 
+
139143
 
+  dnl <locale.h> is always overridden, because of GNULIB_POSIXCHECK.
139144
 
+  gl_NEXT_HEADERS([locale.h])
139145
 
+
139146
 
+  dnl Check for declarations of anything we want to poison if the
139147
 
+  dnl corresponding gnulib module is not in use.
139148
 
+  gl_WARN_ON_USE_PREPARE([[#include <locale.h>
139149
 
+/* Some systems provide declarations in a non-standard header.  */
139150
 
+#if HAVE_XLOCALE_H
139151
 
+# include <xlocale.h>
139152
 
+#endif
139153
 
+    ]],
139154
 
+    [setlocale duplocale])
139155
 
+])
139156
 
+m4trace:m4/locale_h.m4:71: -1- AC_DEFUN([gl_LOCALE_MODULE_INDICATOR], [
139157
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
139158
 
+  AC_REQUIRE([gl_LOCALE_H_DEFAULTS])
139159
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
139160
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
139161
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
139162
 
+])
139163
 
+m4trace:m4/locale_h.m4:80: -1- AC_DEFUN([gl_LOCALE_H_DEFAULTS], [
139164
 
+  GNULIB_SETLOCALE=0;  AC_SUBST([GNULIB_SETLOCALE])
139165
 
+  GNULIB_DUPLOCALE=0;  AC_SUBST([GNULIB_DUPLOCALE])
139166
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
139167
 
+  HAVE_DUPLOCALE=1;    AC_SUBST([HAVE_DUPLOCALE])
139168
 
+  REPLACE_SETLOCALE=0; AC_SUBST([REPLACE_SETLOCALE])
139169
 
+  REPLACE_DUPLOCALE=0; AC_SUBST([REPLACE_DUPLOCALE])
139170
 
+])
139171
 
+m4trace:m4/localename.m4:7: -1- AC_DEFUN([gl_LOCALENAME], [
139172
 
+  AC_REQUIRE([gt_LC_MESSAGES])
139173
 
+  AC_REQUIRE([gt_INTL_MACOSX])
139174
 
+  AC_CHECK_FUNCS([setlocale uselocale])
139175
 
+])
139176
 
+m4trace:m4/lock.m4:9: -1- AC_DEFUN([gl_LOCK], [
139177
 
+  AC_REQUIRE([gl_THREADLIB])
139178
 
+  if test "$gl_threads_api" = posix; then
139179
 
+    # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
139180
 
+    # pthread_rwlock_* functions.
139181
 
+    AC_CHECK_TYPE([pthread_rwlock_t],
139182
 
+      [AC_DEFINE([HAVE_PTHREAD_RWLOCK], [1],
139183
 
+         [Define if the POSIX multithreading library has read/write locks.])],
139184
 
+      [],
139185
 
+      [#include <pthread.h>])
139186
 
+    # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
139187
 
+    AC_COMPILE_IFELSE([
139188
 
+      AC_LANG_PROGRAM(
139189
 
+        [[#include <pthread.h>]],
139190
 
+        [[
139191
 
+#if __FreeBSD__ == 4
139192
 
+error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
139193
 
+#else
139194
 
+int x = (int)PTHREAD_MUTEX_RECURSIVE;
139195
 
+return !x;
139196
 
+#endif
139197
 
+        ]])],
139198
 
+      [AC_DEFINE([HAVE_PTHREAD_MUTEX_RECURSIVE], [1],
139199
 
+         [Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE.])])
139200
 
+  fi
139201
 
+  gl_PREREQ_LOCK
139202
 
+])
139203
 
+m4trace:m4/lock.m4:39: -1- AC_DEFUN([gl_PREREQ_LOCK], [
139204
 
+  AC_REQUIRE([AC_C_INLINE])
139205
 
+])
139206
 
+m4trace:m4/longlong.m4:17: -1- AC_DEFUN([AC_TYPE_LONG_LONG_INT], [
139207
 
+  AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
139208
 
+  AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int],
139209
 
+     [ac_cv_type_long_long_int=yes
139210
 
+      if test "x${ac_cv_prog_cc_c99-no}" = xno; then
139211
 
+        ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
139212
 
+        if test $ac_cv_type_long_long_int = yes; then
139213
 
+          dnl Catch a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004.
139214
 
+          dnl If cross compiling, assume the bug is not important, since
139215
 
+          dnl nobody cross compiles for this platform as far as we know.
139216
 
+          AC_RUN_IFELSE(
139217
 
+            [AC_LANG_PROGRAM(
139218
 
+               [[@%:@include <limits.h>
139219
 
+                 @%:@ifndef LLONG_MAX
139220
 
+                 @%:@ define HALF \
139221
 
+                          (1LL << (sizeof (long long int) * CHAR_BIT - 2))
139222
 
+                 @%:@ define LLONG_MAX (HALF - 1 + HALF)
139223
 
+                 @%:@endif]],
139224
 
+               [[long long int n = 1;
139225
 
+                 int i;
139226
 
+                 for (i = 0; ; i++)
139227
 
+                   {
139228
 
+                     long long int m = n << i;
139229
 
+                     if (m >> i != n)
139230
 
+                       return 1;
139231
 
+                     if (LLONG_MAX / 2 < m)
139232
 
+                       break;
139233
 
+                   }
139234
 
+                 return 0;]])],
139235
 
+            [],
139236
 
+            [ac_cv_type_long_long_int=no],
139237
 
+            [:])
139238
 
+        fi
139239
 
+      fi])
139240
 
+  if test $ac_cv_type_long_long_int = yes; then
139241
 
+    AC_DEFINE([HAVE_LONG_LONG_INT], [1],
139242
 
+      [Define to 1 if the system has the type `long long int'.])
139243
 
+  fi
139244
 
+])
139245
 
+m4trace:m4/longlong.m4:67: -1- AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT], [
139246
 
+  AC_CACHE_CHECK([for unsigned long long int],
139247
 
+    [ac_cv_type_unsigned_long_long_int],
139248
 
+    [ac_cv_type_unsigned_long_long_int=yes
139249
 
+     if test "x${ac_cv_prog_cc_c99-no}" = xno; then
139250
 
+       AC_LINK_IFELSE(
139251
 
+         [_AC_TYPE_LONG_LONG_SNIPPET],
139252
 
+         [],
139253
 
+         [ac_cv_type_unsigned_long_long_int=no])
139254
 
+     fi])
139255
 
+  if test $ac_cv_type_unsigned_long_long_int = yes; then
139256
 
+    AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1],
139257
 
+      [Define to 1 if the system has the type `unsigned long long int'.])
139258
 
+  fi
139259
 
+])
139260
 
+m4trace:m4/longlong.m4:89: -1- AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET], [
139261
 
+  AC_LANG_PROGRAM(
139262
 
+    [[/* For now, do not test the preprocessor; as of 2007 there are too many
139263
 
+         implementations with broken preprocessors.  Perhaps this can
139264
 
+         be revisited in 2012.  In the meantime, code should not expect
139265
 
+         #if to work with literals wider than 32 bits.  */
139266
 
+      /* Test literals.  */
139267
 
+      long long int ll = 9223372036854775807ll;
139268
 
+      long long int nll = -9223372036854775807LL;
139269
 
+      unsigned long long int ull = 18446744073709551615ULL;
139270
 
+      /* Test constant expressions.   */
139271
 
+      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
139272
 
+                     ? 1 : -1)];
139273
 
+      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
139274
 
+                     ? 1 : -1)];
139275
 
+      int i = 63;]],
139276
 
+    [[/* Test availability of runtime routines for shift and division.  */
139277
 
+      long long int llmax = 9223372036854775807ll;
139278
 
+      unsigned long long int ullmax = 18446744073709551615ull;
139279
 
+      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
139280
 
+              | (llmax / ll) | (llmax % ll)
139281
 
+              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
139282
 
+              | (ullmax / ull) | (ullmax % ull));]])
139283
 
+])
139284
 
+m4trace:m4/ls-mntd-fs.m4:19: -1- AC_DEFUN([AC_FUNC_GETMNTENT], [# getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
139285
 
+# -lseq on Dynix/PTX, -lgen on Unixware.
139286
 
+AC_SEARCH_LIBS([getmntent], [sun seq gen])
139287
 
+AC_CHECK_FUNCS([getmntent])
139288
 
+])
139289
 
+m4trace:m4/ls-mntd-fs.m4:27: -1- AC_DEFUN([gl_LIST_MOUNTED_FILE_SYSTEMS], [
139290
 
+AC_CHECK_FUNCS([listmntent getmntinfo])
139291
 
+AC_CHECK_HEADERS_ONCE([sys/param.h sys/statvfs.h])
139292
 
+
139293
 
+# We must include grp.h before ucred.h on OSF V4.0, since ucred.h uses
139294
 
+# NGROUPS (as the array dimension for a struct member) without a definition.
139295
 
+AC_CHECK_HEADERS([sys/ucred.h], [], [], [#include <grp.h>])
139296
 
+
139297
 
+AC_CHECK_HEADERS([sys/mount.h], [], [],
139298
 
+  [AC_INCLUDES_DEFAULT
139299
 
+   [#if HAVE_SYS_PARAM_H
139300
 
+     #include <sys/param.h>
139301
 
+    #endif]])
139302
 
+
139303
 
+AC_CHECK_HEADERS([mntent.h sys/fs_types.h])
139304
 
+    getfsstat_includes="\
139305
 
+$ac_includes_default
139306
 
+#if HAVE_SYS_PARAM_H
139307
 
+# include <sys/param.h> /* needed by powerpc-apple-darwin1.3.7 */
139308
 
+#endif
139309
 
+#if HAVE_SYS_UCRED_H
139310
 
+# include <grp.h> /* needed for definition of NGROUPS */
139311
 
+# include <sys/ucred.h> /* needed by powerpc-apple-darwin1.3.7 */
139312
 
+#endif
139313
 
+#if HAVE_SYS_MOUNT_H
139314
 
+# include <sys/mount.h>
139315
 
+#endif
139316
 
+#if HAVE_SYS_FS_TYPES_H
139317
 
+# include <sys/fs_types.h> /* needed by powerpc-apple-darwin1.3.7 */
139318
 
+#endif
139319
 
+"
139320
 
+AC_CHECK_MEMBERS([struct fsstat.f_fstypename],,,[$getfsstat_includes])
139321
 
+
139322
 
+# Determine how to get the list of mounted file systems.
139323
 
+ac_list_mounted_fs=
139324
 
+
139325
 
+# If the getmntent function is available but not in the standard library,
139326
 
+# make sure LIBS contains the appropriate -l option.
139327
 
+AC_FUNC_GETMNTENT
139328
 
+
139329
 
+# This test must precede the ones for getmntent because Unicos-9 is
139330
 
+# reported to have the getmntent function, but its support is incompatible
139331
 
+# with other getmntent implementations.
139332
 
+
139333
 
+# NOTE: Normally, I wouldn't use a check for system type as I've done for
139334
 
+# `CRAY' below since that goes against the whole autoconf philosophy.  But
139335
 
+# I think there is too great a chance that some non-Cray system has a
139336
 
+# function named listmntent to risk the false positive.
139337
 
+
139338
 
+if test -z "$ac_list_mounted_fs"; then
139339
 
+  # Cray UNICOS 9
139340
 
+  AC_MSG_CHECKING([for listmntent of Cray/Unicos-9])
139341
 
+  AC_CACHE_VAL([fu_cv_sys_mounted_cray_listmntent],
139342
 
+    [fu_cv_sys_mounted_cray_listmntent=no
139343
 
+      AC_EGREP_CPP([yes],
139344
 
+        [#ifdef _CRAY
139345
 
+yes
139346
 
+#endif
139347
 
+        ], [test $ac_cv_func_listmntent = yes \
139348
 
+            && fu_cv_sys_mounted_cray_listmntent=yes]
139349
 
+      )
139350
 
+    ]
139351
 
+  )
139352
 
+  AC_MSG_RESULT([$fu_cv_sys_mounted_cray_listmntent])
139353
 
+  if test $fu_cv_sys_mounted_cray_listmntent = yes; then
139354
 
+    ac_list_mounted_fs=found
139355
 
+    AC_DEFINE([MOUNTED_LISTMNTENT], [1],
139356
 
+      [Define if there is a function named listmntent that can be used to
139357
 
+       list all mounted file systems.  (UNICOS)])
139358
 
+  fi
139359
 
+fi
139360
 
+
139361
 
+if test -z "$ac_list_mounted_fs"; then
139362
 
+  # AIX.
139363
 
+  AC_MSG_CHECKING([for mntctl function and struct vmount])
139364
 
+  AC_CACHE_VAL([fu_cv_sys_mounted_vmount],
139365
 
+  [AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <fshelp.h>]])],
139366
 
+    [fu_cv_sys_mounted_vmount=yes],
139367
 
+    [fu_cv_sys_mounted_vmount=no])])
139368
 
+  AC_MSG_RESULT([$fu_cv_sys_mounted_vmount])
139369
 
+  if test $fu_cv_sys_mounted_vmount = yes; then
139370
 
+    ac_list_mounted_fs=found
139371
 
+    AC_DEFINE([MOUNTED_VMOUNT], [1],
139372
 
+        [Define if there is a function named mntctl that can be used to read
139373
 
+         the list of mounted file systems, and there is a system header file
139374
 
+         that declares `struct vmount.'  (AIX)])
139375
 
+  fi
139376
 
+fi
139377
 
+
139378
 
+if test $ac_cv_func_getmntent = yes; then
139379
 
+
139380
 
+  # This system has the getmntent function.
139381
 
+  # Determine whether it's the one-argument variant or the two-argument one.
139382
 
+
139383
 
+  if test -z "$ac_list_mounted_fs"; then
139384
 
+    # 4.3BSD, SunOS, HP-UX, Dynix, Irix
139385
 
+    AC_MSG_CHECKING([for one-argument getmntent function])
139386
 
+    AC_CACHE_VAL([fu_cv_sys_mounted_getmntent1],
139387
 
+                 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
139388
 
+/* SunOS 4.1.x /usr/include/mntent.h needs this for FILE */
139389
 
+#include <stdio.h>
139390
 
+
139391
 
+#include <mntent.h>
139392
 
+#if !defined MOUNTED
139393
 
+# if defined _PATH_MOUNTED      /* GNU libc  */
139394
 
+#  define MOUNTED _PATH_MOUNTED
139395
 
+# endif
139396
 
+# if defined MNT_MNTTAB /* HP-UX.  */
139397
 
+#  define MOUNTED MNT_MNTTAB
139398
 
+# endif
139399
 
+# if defined MNTTABNAME /* Dynix.  */
139400
 
+#  define MOUNTED MNTTABNAME
139401
 
+# endif
139402
 
+#endif
139403
 
+]],
139404
 
+                      [[ struct mntent *mnt = 0; char *table = MOUNTED;
139405
 
+                         if (sizeof mnt && sizeof table) return 0;]])],
139406
 
+                    [fu_cv_sys_mounted_getmntent1=yes],
139407
 
+                    [fu_cv_sys_mounted_getmntent1=no])])
139408
 
+    AC_MSG_RESULT([$fu_cv_sys_mounted_getmntent1])
139409
 
+    if test $fu_cv_sys_mounted_getmntent1 = yes; then
139410
 
+      ac_list_mounted_fs=found
139411
 
+      AC_DEFINE([MOUNTED_GETMNTENT1], [1],
139412
 
+        [Define if there is a function named getmntent for reading the list
139413
 
+         of mounted file systems, and that function takes a single argument.
139414
 
+         (4.3BSD, SunOS, HP-UX, Dynix, Irix)])
139415
 
+    fi
139416
 
+  fi
139417
 
+
139418
 
+  if test -z "$ac_list_mounted_fs"; then
139419
 
+    # SVR4
139420
 
+    AC_MSG_CHECKING([for two-argument getmntent function])
139421
 
+    AC_CACHE_VAL([fu_cv_sys_mounted_getmntent2],
139422
 
+    [AC_EGREP_HEADER([getmntent], [sys/mnttab.h],
139423
 
+      fu_cv_sys_mounted_getmntent2=yes,
139424
 
+      fu_cv_sys_mounted_getmntent2=no)])
139425
 
+    AC_MSG_RESULT([$fu_cv_sys_mounted_getmntent2])
139426
 
+    if test $fu_cv_sys_mounted_getmntent2 = yes; then
139427
 
+      ac_list_mounted_fs=found
139428
 
+      AC_DEFINE([MOUNTED_GETMNTENT2], [1],
139429
 
+        [Define if there is a function named getmntent for reading the list of
139430
 
+         mounted file systems, and that function takes two arguments.  (SVR4)])
139431
 
+      AC_CHECK_FUNCS([hasmntopt])
139432
 
+    fi
139433
 
+  fi
139434
 
+
139435
 
+fi
139436
 
+
139437
 
+if test -z "$ac_list_mounted_fs"; then
139438
 
+  # DEC Alpha running OSF/1, and Apple Darwin 1.3.
139439
 
+  # powerpc-apple-darwin1.3.7 needs sys/param.h sys/ucred.h sys/fs_types.h
139440
 
+
139441
 
+  AC_MSG_CHECKING([for getfsstat function])
139442
 
+  AC_CACHE_VAL([fu_cv_sys_mounted_getfsstat],
139443
 
+  [AC_LINK_IFELSE([AC_LANG_PROGRAM([[
139444
 
+#include <sys/types.h>
139445
 
+#if HAVE_STRUCT_FSSTAT_F_FSTYPENAME
139446
 
+# define FS_TYPE(Ent) ((Ent).f_fstypename)
139447
 
+#else
139448
 
+# define FS_TYPE(Ent) mnt_names[(Ent).f_type]
139449
 
+#endif
139450
 
+$getfsstat_includes]]
139451
 
+,
139452
 
+      [[struct statfs *stats;
139453
 
+        int numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT);
139454
 
+        char *t = FS_TYPE (*stats); ]])],
139455
 
+    [fu_cv_sys_mounted_getfsstat=yes],
139456
 
+    [fu_cv_sys_mounted_getfsstat=no])])
139457
 
+  AC_MSG_RESULT([$fu_cv_sys_mounted_getfsstat])
139458
 
+  if test $fu_cv_sys_mounted_getfsstat = yes; then
139459
 
+    ac_list_mounted_fs=found
139460
 
+    AC_DEFINE([MOUNTED_GETFSSTAT], [1],
139461
 
+              [Define if there is a function named getfsstat for reading the
139462
 
+               list of mounted file systems.  (DEC Alpha running OSF/1)])
139463
 
+  fi
139464
 
+fi
139465
 
+
139466
 
+if test -z "$ac_list_mounted_fs"; then
139467
 
+  # SVR3
139468
 
+  AC_MSG_CHECKING([for FIXME existence of three headers])
139469
 
+  AC_CACHE_VAL([fu_cv_sys_mounted_fread_fstyp],
139470
 
+    [AC_PREPROC_IFELSE([AC_LANG_SOURCE([[
139471
 
+#include <sys/statfs.h>
139472
 
+#include <sys/fstyp.h>
139473
 
+#include <mnttab.h>]])],
139474
 
+                       [fu_cv_sys_mounted_fread_fstyp=yes],
139475
 
+                       [fu_cv_sys_mounted_fread_fstyp=no])])
139476
 
+  AC_MSG_RESULT([$fu_cv_sys_mounted_fread_fstyp])
139477
 
+  if test $fu_cv_sys_mounted_fread_fstyp = yes; then
139478
 
+    ac_list_mounted_fs=found
139479
 
+    AC_DEFINE([MOUNTED_FREAD_FSTYP], [1],
139480
 
+      [Define if (like SVR2) there is no specific function for reading the
139481
 
+       list of mounted file systems, and your system has these header files:
139482
 
+       <sys/fstyp.h> and <sys/statfs.h>.  (SVR3)])
139483
 
+  fi
139484
 
+fi
139485
 
+
139486
 
+if test -z "$ac_list_mounted_fs"; then
139487
 
+  # 4.4BSD and DEC OSF/1.
139488
 
+  AC_MSG_CHECKING([for getmntinfo function])
139489
 
+  AC_CACHE_VAL([fu_cv_sys_mounted_getmntinfo],
139490
 
+    [
139491
 
+      test "$ac_cv_func_getmntinfo" = yes \
139492
 
+          && fu_cv_sys_mounted_getmntinfo=yes \
139493
 
+          || fu_cv_sys_mounted_getmntinfo=no
139494
 
+    ])
139495
 
+  AC_MSG_RESULT([$fu_cv_sys_mounted_getmntinfo])
139496
 
+  if test $fu_cv_sys_mounted_getmntinfo = yes; then
139497
 
+    AC_MSG_CHECKING([whether getmntinfo returns statvfs structures])
139498
 
+    AC_CACHE_VAL([fu_cv_sys_mounted_getmntinfo2],
139499
 
+      [
139500
 
+        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
139501
 
+#if HAVE_SYS_PARAM_H
139502
 
+# include <sys/param.h>
139503
 
+#endif
139504
 
+#include <sys/types.h>
139505
 
+#if HAVE_SYS_MOUNT_H
139506
 
+# include <sys/mount.h>
139507
 
+#endif
139508
 
+#if HAVE_SYS_STATVFS_H
139509
 
+# include <sys/statvfs.h>
139510
 
+#endif
139511
 
+extern
139512
 
+#ifdef __cplusplus
139513
 
+"C"
139514
 
+#endif
139515
 
+int getmntinfo (struct statfs **, int);
139516
 
+            ]], [])],
139517
 
+          [fu_cv_sys_mounted_getmntinfo2=no],
139518
 
+          [fu_cv_sys_mounted_getmntinfo2=yes])
139519
 
+      ])
139520
 
+    AC_MSG_RESULT([$fu_cv_sys_mounted_getmntinfo2])
139521
 
+    if test $fu_cv_sys_mounted_getmntinfo2 = no; then
139522
 
+      ac_list_mounted_fs=found
139523
 
+      AC_DEFINE([MOUNTED_GETMNTINFO], [1],
139524
 
+                [Define if there is a function named getmntinfo for reading the
139525
 
+                 list of mounted file systems and it returns an array of
139526
 
+                 'struct statfs'.  (4.4BSD, Darwin)])
139527
 
+    else
139528
 
+      ac_list_mounted_fs=found
139529
 
+      AC_DEFINE([MOUNTED_GETMNTINFO2], [1],
139530
 
+                [Define if there is a function named getmntinfo for reading the
139531
 
+                 list of mounted file systems and it returns an array of
139532
 
+                 'struct statvfs'.  (NetBSD 3.0)])
139533
 
+    fi
139534
 
+  fi
139535
 
+fi
139536
 
+
139537
 
+if test -z "$ac_list_mounted_fs"; then
139538
 
+  # Ultrix
139539
 
+  AC_MSG_CHECKING([for getmnt function])
139540
 
+  AC_CACHE_VAL([fu_cv_sys_mounted_getmnt],
139541
 
+    [AC_PREPROC_IFELSE([AC_LANG_SOURCE([[
139542
 
+#include <sys/fs_types.h>
139543
 
+#include <sys/mount.h>]])],
139544
 
+                       [fu_cv_sys_mounted_getmnt=yes],
139545
 
+                       [fu_cv_sys_mounted_getmnt=no])])
139546
 
+  AC_MSG_RESULT([$fu_cv_sys_mounted_getmnt])
139547
 
+  if test $fu_cv_sys_mounted_getmnt = yes; then
139548
 
+    ac_list_mounted_fs=found
139549
 
+    AC_DEFINE([MOUNTED_GETMNT], [1],
139550
 
+      [Define if there is a function named getmnt for reading the list of
139551
 
+       mounted file systems.  (Ultrix)])
139552
 
+  fi
139553
 
+fi
139554
 
+
139555
 
+if test -z "$ac_list_mounted_fs"; then
139556
 
+  # BeOS
139557
 
+  AC_CHECK_FUNCS([next_dev fs_stat_dev])
139558
 
+  AC_CHECK_HEADERS([fs_info.h])
139559
 
+  AC_MSG_CHECKING([for BEOS mounted file system support functions])
139560
 
+  if test $ac_cv_header_fs_info_h = yes \
139561
 
+      && test $ac_cv_func_next_dev = yes \
139562
 
+        && test $ac_cv_func_fs_stat_dev = yes; then
139563
 
+    fu_result=yes
139564
 
+  else
139565
 
+    fu_result=no
139566
 
+  fi
139567
 
+  AC_MSG_RESULT([$fu_result])
139568
 
+  if test $fu_result = yes; then
139569
 
+    ac_list_mounted_fs=found
139570
 
+    AC_DEFINE([MOUNTED_FS_STAT_DEV], [1],
139571
 
+      [Define if there are functions named next_dev and fs_stat_dev for
139572
 
+       reading the list of mounted file systems.  (BeOS)])
139573
 
+  fi
139574
 
+fi
139575
 
+
139576
 
+if test -z "$ac_list_mounted_fs"; then
139577
 
+  # SVR2
139578
 
+  AC_MSG_CHECKING([whether it is possible to resort to fread on /etc/mnttab])
139579
 
+  AC_CACHE_VAL([fu_cv_sys_mounted_fread],
139580
 
+    [AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <mnttab.h>]])],
139581
 
+                       [fu_cv_sys_mounted_fread=yes],
139582
 
+                       [fu_cv_sys_mounted_fread=no])])
139583
 
+  AC_MSG_RESULT([$fu_cv_sys_mounted_fread])
139584
 
+  if test $fu_cv_sys_mounted_fread = yes; then
139585
 
+    ac_list_mounted_fs=found
139586
 
+    AC_DEFINE([MOUNTED_FREAD], [1],
139587
 
+              [Define if there is no specific function for reading the list of
139588
 
+               mounted file systems.  fread will be used to read /etc/mnttab.
139589
 
+               (SVR2) ])
139590
 
+  fi
139591
 
+fi
139592
 
+
139593
 
+if test -z "$ac_list_mounted_fs"; then
139594
 
+  # Interix / BSD alike statvfs
139595
 
+  # the code is really interix specific, so make sure, we're on it.
139596
 
+  case "$host" in
139597
 
+  *-interix*)
139598
 
+    AC_CHECK_FUNCS([statvfs])
139599
 
+    if test $ac_cv_func_statvfs = yes; then
139600
 
+      ac_list_mounted_fs=found
139601
 
+      AC_DEFINE([MOUNTED_INTERIX_STATVFS], [1],
139602
 
+                [Define if we are on interix, and ought to use statvfs plus
139603
 
+                 some special knowledge on where mounted filesystems can be
139604
 
+                 found. (Interix)])
139605
 
+    fi
139606
 
+    ;;
139607
 
+  esac
139608
 
+fi
139609
 
+
139610
 
+if test -z "$ac_list_mounted_fs"; then
139611
 
+  AC_MSG_ERROR([could not determine how to read list of mounted file systems])
139612
 
+  # FIXME -- no need to abort building the whole package
139613
 
+  # Can't build mountlist.c or anything that needs its functions
139614
 
+fi
139615
 
+
139616
 
+AS_IF([test $ac_list_mounted_fs = found], [$1], [$2])
139617
 
+
139618
 
+  ])
139619
 
+m4trace:m4/lseek.m4:7: -1- AC_DEFUN([gl_FUNC_LSEEK], [
139620
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
139621
 
+  AC_REQUIRE([AC_PROG_CC])
139622
 
+  AC_CACHE_CHECK([whether lseek detects pipes], [gl_cv_func_lseek_pipe],
139623
 
+    [if test $cross_compiling = no; then
139624
 
+       AC_LINK_IFELSE([AC_LANG_PROGRAM([[
139625
 
+#include <sys/types.h> /* for off_t */
139626
 
+#include <stdio.h> /* for SEEK_CUR */
139627
 
+#include <unistd.h>]], [[
139628
 
+  /* Exit with success only if stdin is seekable.  */
139629
 
+  return lseek (0, (off_t)0, SEEK_CUR) < 0;
139630
 
+]])],
139631
 
+         [if test -s conftest$ac_exeext \
139632
 
+             && ./conftest$ac_exeext < conftest.$ac_ext \
139633
 
+             && test 1 = "`echo hi \
139634
 
+               | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then
139635
 
+            gl_cv_func_lseek_pipe=yes
139636
 
+          else
139637
 
+            gl_cv_func_lseek_pipe=no
139638
 
+          fi],
139639
 
+         [gl_cv_func_lseek_pipe=no])
139640
 
+     else
139641
 
+       AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
139642
 
+#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined __BEOS__
139643
 
+/* mingw and BeOS mistakenly return 0 when trying to seek on pipes.  */
139644
 
+  Choke me.
139645
 
+#endif]])],
139646
 
+         [gl_cv_func_lseek_pipe=yes], [gl_cv_func_lseek_pipe=no])
139647
 
+     fi])
139648
 
+  if test $gl_cv_func_lseek_pipe = no; then
139649
 
+    REPLACE_LSEEK=1
139650
 
+    AC_DEFINE([LSEEK_PIPE_BROKEN], [1],
139651
 
+      [Define to 1 if lseek does not detect pipes.])
139652
 
+  fi
139653
 
+])
139654
 
+m4trace:m4/lstat.m4:11: -1- AC_DEFUN([gl_FUNC_LSTAT], [
139655
 
+  AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
139656
 
+  dnl If lstat does not exist, the replacement <sys/stat.h> does
139657
 
+  dnl "#define lstat stat", and lstat.c is a no-op.
139658
 
+  AC_CHECK_FUNCS_ONCE([lstat])
139659
 
+  if test $ac_cv_func_lstat = yes; then
139660
 
+    AC_REQUIRE([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
139661
 
+    if test $gl_cv_func_lstat_dereferences_slashed_symlink = no; then
139662
 
+      REPLACE_LSTAT=1
139663
 
+    fi
139664
 
+  else
139665
 
+    HAVE_LSTAT=0
139666
 
+  fi
139667
 
+])
139668
 
+m4trace:m4/lstat.m4:28: -1- AC_DEFUN([gl_PREREQ_LSTAT], [
139669
 
+  AC_REQUIRE([AC_C_INLINE])
139670
 
+  :
139671
 
+])
139672
 
+m4trace:m4/lstat.m4:34: -1- AC_DEFUN([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK], [
139673
 
+  dnl We don't use AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK any more, because it
139674
 
+  dnl is no longer maintained in Autoconf and because it invokes AC_LIBOBJ.
139675
 
+  AC_CACHE_CHECK([whether lstat correctly handles trailing slash],
139676
 
+    [gl_cv_func_lstat_dereferences_slashed_symlink],
139677
 
+    [rm -f conftest.sym conftest.file
139678
 
+     echo >conftest.file
139679
 
+     if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
139680
 
+       AC_RUN_IFELSE(
139681
 
+         [AC_LANG_PROGRAM(
139682
 
+            [AC_INCLUDES_DEFAULT],
139683
 
+            [[struct stat sbuf;
139684
 
+              /* Linux will dereference the symlink and fail, as required by
139685
 
+                 POSIX.  That is better in the sense that it means we will not
139686
 
+                 have to compile and use the lstat wrapper.  */
139687
 
+              return lstat ("conftest.sym/", &sbuf) == 0;
139688
 
+            ]])],
139689
 
+         [gl_cv_func_lstat_dereferences_slashed_symlink=yes],
139690
 
+         [gl_cv_func_lstat_dereferences_slashed_symlink=no],
139691
 
+         [# When cross-compiling, be pessimistic so we will end up using the
139692
 
+          # replacement version of lstat that checks for trailing slashes and
139693
 
+          # calls lstat a second time when necessary.
139694
 
+          gl_cv_func_lstat_dereferences_slashed_symlink=no
139695
 
+         ])
139696
 
+     else
139697
 
+       # If the 'ln -s' command failed, then we probably don't even
139698
 
+       # have an lstat function.
139699
 
+       gl_cv_func_lstat_dereferences_slashed_symlink=no
139700
 
+     fi
139701
 
+     rm -f conftest.sym conftest.file
139702
 
+    ])
139703
 
+  test $gl_cv_func_lstat_dereferences_slashed_symlink = yes &&
139704
 
+    AC_DEFINE_UNQUOTED([LSTAT_FOLLOWS_SLASHED_SYMLINK], [1],
139705
 
+      [Define to 1 if `lstat' dereferences a symlink specified
139706
 
+       with a trailing slash.])
139707
 
+])
139708
 
+m4trace:m4/malloc.m4:11: -1- AC_DEFUN([gl_FUNC_MALLOC_GNU], [
139709
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
139710
 
+  dnl _AC_FUNC_MALLOC_IF is defined in Autoconf.
139711
 
+  _AC_FUNC_MALLOC_IF(
139712
 
+    [AC_DEFINE([HAVE_MALLOC_GNU], [1],
139713
 
+               [Define to 1 if your system has a GNU libc compatible 'malloc'
139714
 
+                function, and to 0 otherwise.])],
139715
 
+    [AC_DEFINE([HAVE_MALLOC_GNU], [0])
139716
 
+     REPLACE_MALLOC=1
139717
 
+    ])
139718
 
+])
139719
 
+m4trace:m4/malloc.m4:28: -1- AC_DEFUN([gl_FUNC_MALLOC_POSIX], [
139720
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
139721
 
+  AC_REQUIRE([gl_CHECK_MALLOC_POSIX])
139722
 
+  if test $gl_cv_func_malloc_posix = yes; then
139723
 
+    AC_DEFINE([HAVE_MALLOC_POSIX], [1],
139724
 
+      [Define if the 'malloc' function is POSIX compliant.])
139725
 
+  else
139726
 
+    REPLACE_MALLOC=1
139727
 
+  fi
139728
 
+])
139729
 
+m4trace:m4/malloc.m4:42: -1- AC_DEFUN([gl_CHECK_MALLOC_POSIX], [
139730
 
+  AC_CACHE_CHECK([whether malloc, realloc, calloc are POSIX compliant],
139731
 
+    [gl_cv_func_malloc_posix],
139732
 
+    [
139733
 
+      dnl It is too dangerous to try to allocate a large amount of memory:
139734
 
+      dnl some systems go to their knees when you do that. So assume that
139735
 
+      dnl all Unix implementations of the function are POSIX compliant.
139736
 
+      AC_COMPILE_IFELSE(
139737
 
+        [AC_LANG_PROGRAM(
139738
 
+           [[]],
139739
 
+           [[#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
139740
 
+             choke me
139741
 
+             #endif
139742
 
+            ]])],
139743
 
+        [gl_cv_func_malloc_posix=yes],
139744
 
+        [gl_cv_func_malloc_posix=no])
139745
 
+    ])
139746
 
+])
139747
 
+m4trace:m4/malloca.m4:8: -1- AC_DEFUN([gl_MALLOCA], [
139748
 
+  dnl Use the autoconf tests for alloca(), but not the AC_SUBSTed variables
139749
 
+  dnl @ALLOCA@ and @LTALLOCA@.
139750
 
+  dnl gl_FUNC_ALLOCA   dnl Already brought in by the module dependencies.
139751
 
+  AC_REQUIRE([gl_EEMALLOC])
139752
 
+  AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
139753
 
+])
139754
 
+m4trace:m4/manywarnings.m4:14: -1- AC_DEFUN([gl_MANYWARN_COMPLEMENT], [
139755
 
+  gl_warn_set=
139756
 
+  set x $2; shift
139757
 
+  for gl_warn_item
139758
 
+  do
139759
 
+    case " $3 " in
139760
 
+      *" $gl_warn_item "*)
139761
 
+        ;;
139762
 
+      *)
139763
 
+        gl_warn_set="$gl_warn_set $gl_warn_item"
139764
 
+        ;;
139765
 
+    esac
139766
 
+  done
139767
 
+  $1=$gl_warn_set
139768
 
+])
139769
 
+m4trace:m4/manywarnings.m4:36: -1- AC_DEFUN([gl_MANYWARN_ALL_GCC], [
139770
 
+  dnl First, check if -Wno-missing-field-initializers is needed.
139771
 
+  dnl -Wmissing-field-initializers is implied by -W, but that issues
139772
 
+  dnl warnings with GCC version before 4.7, for the common idiom
139773
 
+  dnl of initializing types on the stack to zero, using { 0, }
139774
 
+  AC_REQUIRE([AC_PROG_CC])
139775
 
+  if test -n "$GCC"; then
139776
 
+
139777
 
+    dnl First, check -W -Werror -Wno-missing-field-initializers is supported
139778
 
+    dnl with the current $CC $CFLAGS $CPPFLAGS.
139779
 
+    AC_MSG_CHECKING([whether -Wno-missing-field-initializers is supported])
139780
 
+    AC_CACHE_VAL([gl_cv_cc_nomfi_supported], [
139781
 
+      gl_save_CFLAGS="$CFLAGS"
139782
 
+      CFLAGS="$CFLAGS -W -Werror -Wno-missing-field-initializers"
139783
 
+      AC_COMPILE_IFELSE(
139784
 
+        [AC_LANG_PROGRAM([[]], [[]])],
139785
 
+        [gl_cv_cc_nomfi_supported=yes],
139786
 
+        [gl_cv_cc_nomfi_supported=no])
139787
 
+      CFLAGS="$gl_save_CFLAGS"])
139788
 
+    AC_MSG_RESULT([$gl_cv_cc_nomfi_supported])
139789
 
+
139790
 
+    if test "$gl_cv_cc_nomfi_supported" = yes; then
139791
 
+      dnl Now check whether -Wno-missing-field-initializers is needed
139792
 
+      dnl for the { 0, } construct.
139793
 
+      AC_MSG_CHECKING([whether -Wno-missing-field-initializers is needed])
139794
 
+      AC_CACHE_VAL([gl_cv_cc_nomfi_needed], [
139795
 
+        gl_save_CFLAGS="$CFLAGS"
139796
 
+        CFLAGS="$CFLAGS -W -Werror"
139797
 
+        AC_COMPILE_IFELSE(
139798
 
+          [AC_LANG_PROGRAM(
139799
 
+             [[void f (void)
139800
 
+               {
139801
 
+                 typedef struct { int a; int b; } s_t;
139802
 
+                 s_t s1 = { 0, };
139803
 
+               }
139804
 
+             ]],
139805
 
+             [[]])],
139806
 
+          [gl_cv_cc_nomfi_needed=no],
139807
 
+          [gl_cv_cc_nomfi_needed=yes])
139808
 
+        CFLAGS="$gl_save_CFLAGS"
139809
 
+      ])
139810
 
+      AC_MSG_RESULT([$gl_cv_cc_nomfi_needed])
139811
 
+    fi
139812
 
+  fi
139813
 
+
139814
 
+  gl_manywarn_set=
139815
 
+  for gl_manywarn_item in \
139816
 
+    -Wall \
139817
 
+    -W \
139818
 
+    -Wformat-y2k \
139819
 
+    -Wformat-nonliteral \
139820
 
+    -Wformat-security \
139821
 
+    -Winit-self \
139822
 
+    -Wmissing-include-dirs \
139823
 
+    -Wswitch-default \
139824
 
+    -Wswitch-enum \
139825
 
+    -Wunused \
139826
 
+    -Wunknown-pragmas \
139827
 
+    -Wstrict-aliasing \
139828
 
+    -Wstrict-overflow \
139829
 
+    -Wsystem-headers \
139830
 
+    -Wfloat-equal \
139831
 
+    -Wtraditional \
139832
 
+    -Wtraditional-conversion \
139833
 
+    -Wdeclaration-after-statement \
139834
 
+    -Wundef \
139835
 
+    -Wshadow \
139836
 
+    -Wunsafe-loop-optimizations \
139837
 
+    -Wpointer-arith \
139838
 
+    -Wbad-function-cast \
139839
 
+    -Wc++-compat \
139840
 
+    -Wcast-qual \
139841
 
+    -Wcast-align \
139842
 
+    -Wwrite-strings \
139843
 
+    -Wconversion \
139844
 
+    -Wsign-conversion \
139845
 
+    -Wlogical-op \
139846
 
+    -Waggregate-return \
139847
 
+    -Wstrict-prototypes \
139848
 
+    -Wold-style-definition \
139849
 
+    -Wmissing-prototypes \
139850
 
+    -Wmissing-declarations \
139851
 
+    -Wmissing-noreturn \
139852
 
+    -Wmissing-format-attribute \
139853
 
+    -Wpacked \
139854
 
+    -Wpadded \
139855
 
+    -Wredundant-decls \
139856
 
+    -Wnested-externs \
139857
 
+    -Wunreachable-code \
139858
 
+    -Winline \
139859
 
+    -Winvalid-pch \
139860
 
+    -Wlong-long \
139861
 
+    -Wvla \
139862
 
+    -Wvolatile-register-var \
139863
 
+    -Wdisabled-optimization \
139864
 
+    -Wstack-protector \
139865
 
+    -Woverlength-strings \
139866
 
+    -Wbuiltin-macro-redefined \
139867
 
+    -Wmudflap \
139868
 
+    -Wpacked-bitfield-compat \
139869
 
+    -Wsync-nand \
139870
 
+    ; do
139871
 
+    gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
139872
 
+  done
139873
 
+  # The following are not documented in the manual but are included in
139874
 
+  # output from gcc --help=warnings.
139875
 
+  for gl_manywarn_item in \
139876
 
+    -Wattributes \
139877
 
+    -Wcoverage-mismatch \
139878
 
+    -Wmultichar \
139879
 
+    -Wunused-macros \
139880
 
+    ; do
139881
 
+    gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
139882
 
+  done
139883
 
+
139884
 
+  # Disable the missing-field-initializers warning if needed
139885
 
+  if test "$gl_cv_cc_nomfi_needed" = yes; then
139886
 
+    gl_manywarn_set="$gl_manywarn_set -Wno-missing-field-initializers"
139887
 
+  fi
139888
 
+
139889
 
+  $1=$gl_manywarn_set
139890
 
+])
139891
 
+m4trace:m4/math_h.m4:7: -1- AC_DEFUN([gl_MATH_H], [
139892
 
+  AC_REQUIRE([gl_MATH_H_DEFAULTS])
139893
 
+  gl_CHECK_NEXT_HEADERS([math.h])
139894
 
+  AC_REQUIRE([AC_C_INLINE])
139895
 
+
139896
 
+  AC_CACHE_CHECK([whether NAN macro works], [gl_cv_header_math_nan_works],
139897
 
+    [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <math.h>]],
139898
 
+      [[/* Solaris 10 has a broken definition of NAN.  Other platforms
139899
 
+        fail to provide NAN, or provide it only in C99 mode; this
139900
 
+        test only needs to fail when NAN is provided but wrong.  */
139901
 
+         float f = 1.0f;
139902
 
+#ifdef NAN
139903
 
+         f = NAN;
139904
 
+#endif
139905
 
+         return f == 0;]])],
139906
 
+      [gl_cv_header_math_nan_works=yes],
139907
 
+      [gl_cv_header_math_nan_works=no])])
139908
 
+  if test $gl_cv_header_math_nan_works = no; then
139909
 
+    REPLACE_NAN=1
139910
 
+  fi
139911
 
+  AC_CACHE_CHECK([whether HUGE_VAL works], [gl_cv_header_math_huge_val_works],
139912
 
+    [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <math.h>]],
139913
 
+      [[/* Solaris 10 has a broken definition of HUGE_VAL.  */
139914
 
+         double d = HUGE_VAL;
139915
 
+         return d == 0;]])],
139916
 
+      [gl_cv_header_math_huge_val_works=yes],
139917
 
+      [gl_cv_header_math_huge_val_works=no])])
139918
 
+  if test $gl_cv_header_math_huge_val_works = no; then
139919
 
+    REPLACE_HUGE_VAL=1
139920
 
+  fi
139921
 
+
139922
 
+  dnl Check for declarations of anything we want to poison if the
139923
 
+  dnl corresponding gnulib module is not in use.
139924
 
+  gl_WARN_ON_USE_PREPARE([[#include <math.h>
139925
 
+    ]], [acosl asinl atanl ceilf ceill cosl expl floorf floorl frexpl
139926
 
+    ldexpl logb logl round roundf roundl sinl sqrtl tanl trunc truncf truncl])
139927
 
+])
139928
 
+m4trace:m4/math_h.m4:46: -1- AC_DEFUN([gl_MATH_MODULE_INDICATOR], [
139929
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
139930
 
+  AC_REQUIRE([gl_MATH_H_DEFAULTS])
139931
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
139932
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
139933
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
139934
 
+])
139935
 
+m4trace:m4/math_h.m4:55: -1- AC_DEFUN([gl_MATH_H_DEFAULTS], [
139936
 
+  GNULIB_ACOSL=0;    AC_SUBST([GNULIB_ACOSL])
139937
 
+  GNULIB_ASINL=0;    AC_SUBST([GNULIB_ASINL])
139938
 
+  GNULIB_ATANL=0;    AC_SUBST([GNULIB_ATANL])
139939
 
+  GNULIB_CEIL=0;     AC_SUBST([GNULIB_CEIL])
139940
 
+  GNULIB_CEILF=0;    AC_SUBST([GNULIB_CEILF])
139941
 
+  GNULIB_CEILL=0;    AC_SUBST([GNULIB_CEILL])
139942
 
+  GNULIB_COSL=0;     AC_SUBST([GNULIB_COSL])
139943
 
+  GNULIB_EXPL=0;     AC_SUBST([GNULIB_EXPL])
139944
 
+  GNULIB_FLOOR=0;    AC_SUBST([GNULIB_FLOOR])
139945
 
+  GNULIB_FLOORF=0;   AC_SUBST([GNULIB_FLOORF])
139946
 
+  GNULIB_FLOORL=0;   AC_SUBST([GNULIB_FLOORL])
139947
 
+  GNULIB_FREXP=0;    AC_SUBST([GNULIB_FREXP])
139948
 
+  GNULIB_FREXPL=0;   AC_SUBST([GNULIB_FREXPL])
139949
 
+  GNULIB_ISFINITE=0; AC_SUBST([GNULIB_ISFINITE])
139950
 
+  GNULIB_ISINF=0;    AC_SUBST([GNULIB_ISINF])
139951
 
+  GNULIB_ISNAN=0;    AC_SUBST([GNULIB_ISNAN])
139952
 
+  GNULIB_ISNANF=0;   AC_SUBST([GNULIB_ISNANF])
139953
 
+  GNULIB_ISNAND=0;   AC_SUBST([GNULIB_ISNAND])
139954
 
+  GNULIB_ISNANL=0;   AC_SUBST([GNULIB_ISNANL])
139955
 
+  GNULIB_LDEXPL=0;   AC_SUBST([GNULIB_LDEXPL])
139956
 
+  GNULIB_LOGB=0;     AC_SUBST([GNULIB_LOGB])
139957
 
+  GNULIB_LOGL=0;     AC_SUBST([GNULIB_LOGL])
139958
 
+  GNULIB_ROUND=0;    AC_SUBST([GNULIB_ROUND])
139959
 
+  GNULIB_ROUNDF=0;   AC_SUBST([GNULIB_ROUNDF])
139960
 
+  GNULIB_ROUNDL=0;   AC_SUBST([GNULIB_ROUNDL])
139961
 
+  GNULIB_SIGNBIT=0;  AC_SUBST([GNULIB_SIGNBIT])
139962
 
+  GNULIB_SINL=0;     AC_SUBST([GNULIB_SINL])
139963
 
+  GNULIB_SQRTL=0;    AC_SUBST([GNULIB_SQRTL])
139964
 
+  GNULIB_TANL=0;     AC_SUBST([GNULIB_TANL])
139965
 
+  GNULIB_TRUNC=0;    AC_SUBST([GNULIB_TRUNC])
139966
 
+  GNULIB_TRUNCF=0;   AC_SUBST([GNULIB_TRUNCF])
139967
 
+  GNULIB_TRUNCL=0;   AC_SUBST([GNULIB_TRUNCL])
139968
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
139969
 
+  HAVE_ACOSL=1;                AC_SUBST([HAVE_ACOSL])
139970
 
+  HAVE_ASINL=1;                AC_SUBST([HAVE_ASINL])
139971
 
+  HAVE_ATANL=1;                AC_SUBST([HAVE_ATANL])
139972
 
+  HAVE_COSL=1;                 AC_SUBST([HAVE_COSL])
139973
 
+  HAVE_EXPL=1;                 AC_SUBST([HAVE_EXPL])
139974
 
+  HAVE_ISNANF=1;               AC_SUBST([HAVE_ISNANF])
139975
 
+  HAVE_ISNAND=1;               AC_SUBST([HAVE_ISNAND])
139976
 
+  HAVE_ISNANL=1;               AC_SUBST([HAVE_ISNANL])
139977
 
+  HAVE_LOGL=1;                 AC_SUBST([HAVE_LOGL])
139978
 
+  HAVE_SINL=1;                 AC_SUBST([HAVE_SINL])
139979
 
+  HAVE_SQRTL=1;                AC_SUBST([HAVE_SQRTL])
139980
 
+  HAVE_TANL=1;                 AC_SUBST([HAVE_TANL])
139981
 
+  HAVE_DECL_ACOSL=1;           AC_SUBST([HAVE_DECL_ACOSL])
139982
 
+  HAVE_DECL_ASINL=1;           AC_SUBST([HAVE_DECL_ASINL])
139983
 
+  HAVE_DECL_ATANL=1;           AC_SUBST([HAVE_DECL_ATANL])
139984
 
+  HAVE_DECL_CEILF=1;           AC_SUBST([HAVE_DECL_CEILF])
139985
 
+  HAVE_DECL_CEILL=1;           AC_SUBST([HAVE_DECL_CEILL])
139986
 
+  HAVE_DECL_COSL=1;            AC_SUBST([HAVE_DECL_COSL])
139987
 
+  HAVE_DECL_EXPL=1;            AC_SUBST([HAVE_DECL_EXPL])
139988
 
+  HAVE_DECL_FLOORF=1;          AC_SUBST([HAVE_DECL_FLOORF])
139989
 
+  HAVE_DECL_FLOORL=1;          AC_SUBST([HAVE_DECL_FLOORL])
139990
 
+  HAVE_DECL_FREXPL=1;          AC_SUBST([HAVE_DECL_FREXPL])
139991
 
+  HAVE_DECL_LDEXPL=1;          AC_SUBST([HAVE_DECL_LDEXPL])
139992
 
+  HAVE_DECL_LOGB=1;            AC_SUBST([HAVE_DECL_LOGB])
139993
 
+  HAVE_DECL_LOGL=1;            AC_SUBST([HAVE_DECL_LOGL])
139994
 
+  HAVE_DECL_ROUND=1;           AC_SUBST([HAVE_DECL_ROUND])
139995
 
+  HAVE_DECL_ROUNDF=1;          AC_SUBST([HAVE_DECL_ROUNDF])
139996
 
+  HAVE_DECL_ROUNDL=1;          AC_SUBST([HAVE_DECL_ROUNDL])
139997
 
+  HAVE_DECL_SINL=1;            AC_SUBST([HAVE_DECL_SINL])
139998
 
+  HAVE_DECL_SQRTL=1;           AC_SUBST([HAVE_DECL_SQRTL])
139999
 
+  HAVE_DECL_TANL=1;            AC_SUBST([HAVE_DECL_TANL])
140000
 
+  HAVE_DECL_TRUNC=1;           AC_SUBST([HAVE_DECL_TRUNC])
140001
 
+  HAVE_DECL_TRUNCF=1;          AC_SUBST([HAVE_DECL_TRUNCF])
140002
 
+  HAVE_DECL_TRUNCL=1;          AC_SUBST([HAVE_DECL_TRUNCL])
140003
 
+  REPLACE_CEIL=0;              AC_SUBST([REPLACE_CEIL])
140004
 
+  REPLACE_CEILF=0;             AC_SUBST([REPLACE_CEILF])
140005
 
+  REPLACE_CEILL=0;             AC_SUBST([REPLACE_CEILL])
140006
 
+  REPLACE_FLOOR=0;             AC_SUBST([REPLACE_FLOOR])
140007
 
+  REPLACE_FLOORF=0;            AC_SUBST([REPLACE_FLOORF])
140008
 
+  REPLACE_FLOORL=0;            AC_SUBST([REPLACE_FLOORL])
140009
 
+  REPLACE_FREXP=0;             AC_SUBST([REPLACE_FREXP])
140010
 
+  REPLACE_FREXPL=0;            AC_SUBST([REPLACE_FREXPL])
140011
 
+  REPLACE_HUGE_VAL=0;          AC_SUBST([REPLACE_HUGE_VAL])
140012
 
+  REPLACE_ISFINITE=0;          AC_SUBST([REPLACE_ISFINITE])
140013
 
+  REPLACE_ISINF=0;             AC_SUBST([REPLACE_ISINF])
140014
 
+  REPLACE_ISNAN=0;             AC_SUBST([REPLACE_ISNAN])
140015
 
+  REPLACE_LDEXPL=0;            AC_SUBST([REPLACE_LDEXPL])
140016
 
+  REPLACE_NAN=0;               AC_SUBST([REPLACE_NAN])
140017
 
+  REPLACE_ROUND=0;             AC_SUBST([REPLACE_ROUND])
140018
 
+  REPLACE_ROUNDF=0;            AC_SUBST([REPLACE_ROUNDF])
140019
 
+  REPLACE_ROUNDL=0;            AC_SUBST([REPLACE_ROUNDL])
140020
 
+  REPLACE_SIGNBIT=0;           AC_SUBST([REPLACE_SIGNBIT])
140021
 
+  REPLACE_SIGNBIT_USING_GCC=0; AC_SUBST([REPLACE_SIGNBIT_USING_GCC])
140022
 
+  REPLACE_TRUNC=0;             AC_SUBST([REPLACE_TRUNC])
140023
 
+  REPLACE_TRUNCF=0;            AC_SUBST([REPLACE_TRUNCF])
140024
 
+  REPLACE_TRUNCL=0;            AC_SUBST([REPLACE_TRUNCL])
140025
 
+])
140026
 
+m4trace:m4/mbchar.m4:10: -1- AC_DEFUN([gl_MBCHAR], [
140027
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
140028
 
+  AC_REQUIRE([AC_C_INLINE])
140029
 
+])
140030
 
+m4trace:m4/mbiter.m4:10: -1- AC_DEFUN([gl_MBITER], [
140031
 
+  AC_REQUIRE([AC_C_INLINE])
140032
 
+  AC_REQUIRE([AC_TYPE_MBSTATE_T])
140033
 
+  :
140034
 
+])
140035
 
+m4trace:m4/mbrlen.m4:7: -1- AC_DEFUN([gl_FUNC_MBRLEN], [
140036
 
+  AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
140037
 
+
140038
 
+  AC_REQUIRE([AC_TYPE_MBSTATE_T])
140039
 
+  AC_REQUIRE([gl_FUNC_MBRTOWC])
140040
 
+  AC_CHECK_FUNCS_ONCE([mbrlen])
140041
 
+  if test $ac_cv_func_mbrlen = no; then
140042
 
+    HAVE_MBRLEN=0
140043
 
+    AC_CHECK_DECLS([mbrlen],,, [[
140044
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
140045
 
+   <wchar.h>.
140046
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
140047
 
+   included before <wchar.h>.  */
140048
 
+#include <stddef.h>
140049
 
+#include <stdio.h>
140050
 
+#include <time.h>
140051
 
+#include <wchar.h>
140052
 
+]])
140053
 
+    if test $ac_cv_have_decl_mbrlen = yes; then
140054
 
+      dnl On Minix 3.1.8, the system's <wchar.h> declares mbrlen() although
140055
 
+      dnl it does not have the function. Avoid a collision with gnulib's
140056
 
+      dnl replacement.
140057
 
+      REPLACE_MBRLEN=1
140058
 
+    fi
140059
 
+  else
140060
 
+    dnl Most bugs affecting the system's mbrtowc function also affect the
140061
 
+    dnl mbrlen function. So override mbrlen whenever mbrtowc is overridden.
140062
 
+    dnl We could also run the individual tests below; the results would be
140063
 
+    dnl the same.
140064
 
+    if test $REPLACE_MBRTOWC = 1; then
140065
 
+      REPLACE_MBRLEN=1
140066
 
+    fi
140067
 
+  fi
140068
 
+])
140069
 
+m4trace:m4/mbrlen.m4:47: -1- AC_DEFUN([gl_MBRLEN_INCOMPLETE_STATE], [
140070
 
+  AC_REQUIRE([AC_PROG_CC])
140071
 
+  AC_REQUIRE([gt_LOCALE_JA])
140072
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
140073
 
+  AC_CACHE_CHECK([whether mbrlen handles incomplete characters],
140074
 
+    [gl_cv_func_mbrlen_incomplete_state],
140075
 
+    [
140076
 
+      dnl Initial guess, used when cross-compiling or when no suitable locale
140077
 
+      dnl is present.
140078
 
+changequote(,)dnl
140079
 
+      case "$host_os" in
140080
 
+                     # Guess no on AIX and OSF/1.
140081
 
+        aix* | osf*) gl_cv_func_mbrlen_incomplete_state="guessing no" ;;
140082
 
+                     # Guess yes otherwise.
140083
 
+        *)           gl_cv_func_mbrlen_incomplete_state="guessing yes" ;;
140084
 
+      esac
140085
 
+changequote([,])dnl
140086
 
+      if test $LOCALE_JA != none; then
140087
 
+        AC_RUN_IFELSE(
140088
 
+          [AC_LANG_SOURCE([[
140089
 
+#include <locale.h>
140090
 
+#include <string.h>
140091
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
140092
 
+   <wchar.h>.
140093
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
140094
 
+   included before <wchar.h>.  */
140095
 
+#include <stddef.h>
140096
 
+#include <stdio.h>
140097
 
+#include <time.h>
140098
 
+#include <wchar.h>
140099
 
+int main ()
140100
 
+{
140101
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
140102
 
+    {
140103
 
+      const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
140104
 
+      mbstate_t state;
140105
 
+
140106
 
+      memset (&state, '\0', sizeof (mbstate_t));
140107
 
+      if (mbrlen (input + 1, 1, &state) == (size_t)(-2))
140108
 
+        if (mbsinit (&state))
140109
 
+          return 1;
140110
 
+    }
140111
 
+  return 0;
140112
 
+}]])],
140113
 
+          [gl_cv_func_mbrlen_incomplete_state=yes],
140114
 
+          [gl_cv_func_mbrlen_incomplete_state=no],
140115
 
+          [])
140116
 
+      fi
140117
 
+    ])
140118
 
+])
140119
 
+m4trace:m4/mbrlen.m4:104: -1- AC_DEFUN([gl_MBRLEN_RETVAL], [
140120
 
+  AC_REQUIRE([AC_PROG_CC])
140121
 
+  AC_REQUIRE([gt_LOCALE_FR_UTF8])
140122
 
+  AC_REQUIRE([gt_LOCALE_JA])
140123
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
140124
 
+  AC_CACHE_CHECK([whether mbrlen has a correct return value],
140125
 
+    [gl_cv_func_mbrlen_retval],
140126
 
+    [
140127
 
+      dnl Initial guess, used when cross-compiling or when no suitable locale
140128
 
+      dnl is present.
140129
 
+changequote(,)dnl
140130
 
+      case "$host_os" in
140131
 
+                          # Guess no on HP-UX and Solaris.
140132
 
+        hpux* | solaris*) gl_cv_func_mbrlen_retval="guessing no" ;;
140133
 
+                          # Guess yes otherwise.
140134
 
+        *)                gl_cv_func_mbrlen_retval="guessing yes" ;;
140135
 
+      esac
140136
 
+changequote([,])dnl
140137
 
+      if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none; then
140138
 
+        AC_RUN_IFELSE(
140139
 
+          [AC_LANG_SOURCE([[
140140
 
+#include <locale.h>
140141
 
+#include <string.h>
140142
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
140143
 
+   <wchar.h>.
140144
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
140145
 
+   included before <wchar.h>.  */
140146
 
+#include <stddef.h>
140147
 
+#include <stdio.h>
140148
 
+#include <time.h>
140149
 
+#include <wchar.h>
140150
 
+int main ()
140151
 
+{
140152
 
+  int result = 0;
140153
 
+  /* This fails on Solaris.  */
140154
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
140155
 
+    {
140156
 
+      char input[] = "B\303\274\303\237er"; /* "Büßer" */
140157
 
+      mbstate_t state;
140158
 
+
140159
 
+      memset (&state, '\0', sizeof (mbstate_t));
140160
 
+      if (mbrlen (input + 1, 1, &state) == (size_t)(-2))
140161
 
+        {
140162
 
+          input[1] = '\0';
140163
 
+          if (mbrlen (input + 2, 5, &state) != 1)
140164
 
+            result |= 1;
140165
 
+        }
140166
 
+    }
140167
 
+  /* This fails on HP-UX 11.11.  */
140168
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
140169
 
+    {
140170
 
+      char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
140171
 
+      mbstate_t state;
140172
 
+
140173
 
+      memset (&state, '\0', sizeof (mbstate_t));
140174
 
+      if (mbrlen (input + 1, 1, &state) == (size_t)(-2))
140175
 
+        {
140176
 
+          input[1] = '\0';
140177
 
+          if (mbrlen (input + 2, 5, &state) != 2)
140178
 
+            result |= 2;
140179
 
+        }
140180
 
+    }
140181
 
+  return result;
140182
 
+}]])],
140183
 
+          [gl_cv_func_mbrlen_retval=yes],
140184
 
+          [gl_cv_func_mbrlen_retval=no],
140185
 
+          [])
140186
 
+      fi
140187
 
+    ])
140188
 
+])
140189
 
+m4trace:m4/mbrlen.m4:179: -1- AC_DEFUN([gl_MBRLEN_NUL_RETVAL], [
140190
 
+  AC_REQUIRE([AC_PROG_CC])
140191
 
+  AC_REQUIRE([gt_LOCALE_ZH_CN])
140192
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
140193
 
+  AC_CACHE_CHECK([whether mbrlen returns 0 when parsing a NUL character],
140194
 
+    [gl_cv_func_mbrlen_nul_retval],
140195
 
+    [
140196
 
+      dnl Initial guess, used when cross-compiling or when no suitable locale
140197
 
+      dnl is present.
140198
 
+changequote(,)dnl
140199
 
+      case "$host_os" in
140200
 
+                    # Guess no on Solaris 9.
140201
 
+        solaris2.9) gl_cv_func_mbrlen_nul_retval="guessing no" ;;
140202
 
+                    # Guess yes otherwise.
140203
 
+        *)          gl_cv_func_mbrlen_nul_retval="guessing yes" ;;
140204
 
+      esac
140205
 
+changequote([,])dnl
140206
 
+      if test $LOCALE_ZH_CN != none; then
140207
 
+        AC_RUN_IFELSE(
140208
 
+          [AC_LANG_SOURCE([[
140209
 
+#include <locale.h>
140210
 
+#include <string.h>
140211
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
140212
 
+   <wchar.h>.
140213
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
140214
 
+   included before <wchar.h>.  */
140215
 
+#include <stddef.h>
140216
 
+#include <stdio.h>
140217
 
+#include <time.h>
140218
 
+#include <wchar.h>
140219
 
+int main ()
140220
 
+{
140221
 
+  /* This crashes on Solaris 9 inside __mbrtowc_dense_gb18030.  */
140222
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
140223
 
+    {
140224
 
+      mbstate_t state;
140225
 
+
140226
 
+      memset (&state, '\0', sizeof (mbstate_t));
140227
 
+      if (mbrlen ("", 1, &state) != 0)
140228
 
+        return 1;
140229
 
+    }
140230
 
+  return 0;
140231
 
+}]])],
140232
 
+          [gl_cv_func_mbrlen_nul_retval=yes],
140233
 
+          [gl_cv_func_mbrlen_nul_retval=no],
140234
 
+          [])
140235
 
+      fi
140236
 
+    ])
140237
 
+])
140238
 
+m4trace:m4/mbrlen.m4:231: -1- AC_DEFUN([gl_PREREQ_MBRLEN], [
140239
 
+  :
140240
 
+])
140241
 
+m4trace:m4/mbrtowc.m4:8: -1- AC_DEFUN([gl_FUNC_MBRTOWC], [
140242
 
+  AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
140243
 
+
140244
 
+  AC_REQUIRE([AC_TYPE_MBSTATE_T])
140245
 
+  gl_MBSTATE_T_BROKEN
140246
 
+
140247
 
+  AC_CHECK_FUNCS_ONCE([mbrtowc])
140248
 
+  if test $ac_cv_func_mbrtowc = no; then
140249
 
+    HAVE_MBRTOWC=0
140250
 
+    AC_CHECK_DECLS([mbrtowc],,, [[
140251
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
140252
 
+   <wchar.h>.
140253
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
140254
 
+   included before <wchar.h>.  */
140255
 
+#include <stddef.h>
140256
 
+#include <stdio.h>
140257
 
+#include <time.h>
140258
 
+#include <wchar.h>
140259
 
+]])
140260
 
+    if test $ac_cv_have_decl_mbrtowc = yes; then
140261
 
+      dnl On Minix 3.1.8, the system's <wchar.h> declares mbrtowc() although
140262
 
+      dnl it does not have the function. Avoid a collision with gnulib's
140263
 
+      dnl replacement.
140264
 
+      REPLACE_MBRTOWC=1
140265
 
+    fi
140266
 
+  else
140267
 
+    if test $REPLACE_MBSTATE_T = 1; then
140268
 
+      REPLACE_MBRTOWC=1
140269
 
+    else
140270
 
+      gl_MBRTOWC_NULL_ARG1
140271
 
+      gl_MBRTOWC_NULL_ARG2
140272
 
+      gl_MBRTOWC_RETVAL
140273
 
+      gl_MBRTOWC_NUL_RETVAL
140274
 
+      case "$gl_cv_func_mbrtowc_null_arg1" in
140275
 
+        *yes) ;;
140276
 
+        *) AC_DEFINE([MBRTOWC_NULL_ARG1_BUG], [1],
140277
 
+             [Define if the mbrtowc function has the NULL pwc argument bug.])
140278
 
+           REPLACE_MBRTOWC=1
140279
 
+           ;;
140280
 
+      esac
140281
 
+      case "$gl_cv_func_mbrtowc_null_arg2" in
140282
 
+        *yes) ;;
140283
 
+        *) AC_DEFINE([MBRTOWC_NULL_ARG2_BUG], [1],
140284
 
+             [Define if the mbrtowc function has the NULL string argument bug.])
140285
 
+           REPLACE_MBRTOWC=1
140286
 
+           ;;
140287
 
+      esac
140288
 
+      case "$gl_cv_func_mbrtowc_retval" in
140289
 
+        *yes) ;;
140290
 
+        *) AC_DEFINE([MBRTOWC_RETVAL_BUG], [1],
140291
 
+             [Define if the mbrtowc function returns a wrong return value.])
140292
 
+           REPLACE_MBRTOWC=1
140293
 
+           ;;
140294
 
+      esac
140295
 
+      case "$gl_cv_func_mbrtowc_nul_retval" in
140296
 
+        *yes) ;;
140297
 
+        *) AC_DEFINE([MBRTOWC_NUL_RETVAL_BUG], [1],
140298
 
+             [Define if the mbrtowc function does not return 0 for a NUL character.])
140299
 
+           REPLACE_MBRTOWC=1
140300
 
+           ;;
140301
 
+      esac
140302
 
+    fi
140303
 
+  fi
140304
 
+])
140305
 
+m4trace:m4/mbrtowc.m4:80: -1- AC_DEFUN([gl_MBSTATE_T_BROKEN], [
140306
 
+  AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
140307
 
+
140308
 
+  AC_REQUIRE([AC_TYPE_MBSTATE_T])
140309
 
+  AC_CHECK_FUNCS_ONCE([mbsinit])
140310
 
+  AC_CHECK_FUNCS_ONCE([mbrtowc])
140311
 
+  if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
140312
 
+    gl_MBRTOWC_INCOMPLETE_STATE
140313
 
+    gl_MBRTOWC_SANITYCHECK
140314
 
+    REPLACE_MBSTATE_T=0
140315
 
+    case "$gl_cv_func_mbrtowc_incomplete_state" in
140316
 
+      *yes) ;;
140317
 
+      *) REPLACE_MBSTATE_T=1 ;;
140318
 
+    esac
140319
 
+    case "$gl_cv_func_mbrtowc_sanitycheck" in
140320
 
+      *yes) ;;
140321
 
+      *) REPLACE_MBSTATE_T=1 ;;
140322
 
+    esac
140323
 
+  else
140324
 
+    REPLACE_MBSTATE_T=1
140325
 
+  fi
140326
 
+])
140327
 
+m4trace:m4/mbrtowc.m4:108: -1- AC_DEFUN([gl_MBRTOWC_INCOMPLETE_STATE], [
140328
 
+  AC_REQUIRE([AC_PROG_CC])
140329
 
+  AC_REQUIRE([gt_LOCALE_JA])
140330
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
140331
 
+  AC_CACHE_CHECK([whether mbrtowc handles incomplete characters],
140332
 
+    [gl_cv_func_mbrtowc_incomplete_state],
140333
 
+    [
140334
 
+      dnl Initial guess, used when cross-compiling or when no suitable locale
140335
 
+      dnl is present.
140336
 
+changequote(,)dnl
140337
 
+      case "$host_os" in
140338
 
+                     # Guess no on AIX and OSF/1.
140339
 
+        aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
140340
 
+                     # Guess yes otherwise.
140341
 
+        *)           gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
140342
 
+      esac
140343
 
+changequote([,])dnl
140344
 
+      if test $LOCALE_JA != none; then
140345
 
+        AC_RUN_IFELSE(
140346
 
+          [AC_LANG_SOURCE([[
140347
 
+#include <locale.h>
140348
 
+#include <string.h>
140349
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
140350
 
+   <wchar.h>.
140351
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
140352
 
+   included before <wchar.h>.  */
140353
 
+#include <stddef.h>
140354
 
+#include <stdio.h>
140355
 
+#include <time.h>
140356
 
+#include <wchar.h>
140357
 
+int main ()
140358
 
+{
140359
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
140360
 
+    {
140361
 
+      const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
140362
 
+      mbstate_t state;
140363
 
+      wchar_t wc;
140364
 
+
140365
 
+      memset (&state, '\0', sizeof (mbstate_t));
140366
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
140367
 
+        if (mbsinit (&state))
140368
 
+          return 1;
140369
 
+    }
140370
 
+  return 0;
140371
 
+}]])],
140372
 
+          [gl_cv_func_mbrtowc_incomplete_state=yes],
140373
 
+          [gl_cv_func_mbrtowc_incomplete_state=no],
140374
 
+          [:])
140375
 
+      fi
140376
 
+    ])
140377
 
+])
140378
 
+m4trace:m4/mbrtowc.m4:164: -1- AC_DEFUN([gl_MBRTOWC_SANITYCHECK], [
140379
 
+  AC_REQUIRE([AC_PROG_CC])
140380
 
+  AC_REQUIRE([gt_LOCALE_ZH_CN])
140381
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
140382
 
+  AC_CACHE_CHECK([whether mbrtowc works as well as mbtowc],
140383
 
+    [gl_cv_func_mbrtowc_sanitycheck],
140384
 
+    [
140385
 
+      dnl Initial guess, used when cross-compiling or when no suitable locale
140386
 
+      dnl is present.
140387
 
+changequote(,)dnl
140388
 
+      case "$host_os" in
140389
 
+                    # Guess no on Solaris 8.
140390
 
+        solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
140391
 
+                    # Guess yes otherwise.
140392
 
+        *)          gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
140393
 
+      esac
140394
 
+changequote([,])dnl
140395
 
+      if test $LOCALE_ZH_CN != none; then
140396
 
+        AC_RUN_IFELSE(
140397
 
+          [AC_LANG_SOURCE([[
140398
 
+#include <locale.h>
140399
 
+#include <stdlib.h>
140400
 
+#include <string.h>
140401
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
140402
 
+   <wchar.h>.
140403
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
140404
 
+   included before <wchar.h>.  */
140405
 
+#include <stddef.h>
140406
 
+#include <stdio.h>
140407
 
+#include <time.h>
140408
 
+#include <wchar.h>
140409
 
+int main ()
140410
 
+{
140411
 
+  /* This fails on Solaris 8:
140412
 
+     mbrtowc returns 2, and sets wc to 0x00F0.
140413
 
+     mbtowc returns 4 (correct) and sets wc to 0x5EDC.  */
140414
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
140415
 
+    {
140416
 
+      char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
140417
 
+      mbstate_t state;
140418
 
+      wchar_t wc;
140419
 
+
140420
 
+      memset (&state, '\0', sizeof (mbstate_t));
140421
 
+      if (mbrtowc (&wc, input + 3, 6, &state) != 4
140422
 
+          && mbtowc (&wc, input + 3, 6) == 4)
140423
 
+        return 1;
140424
 
+    }
140425
 
+  return 0;
140426
 
+}]])],
140427
 
+          [gl_cv_func_mbrtowc_sanitycheck=yes],
140428
 
+          [gl_cv_func_mbrtowc_sanitycheck=no],
140429
 
+          [:])
140430
 
+      fi
140431
 
+    ])
140432
 
+])
140433
 
+m4trace:m4/mbrtowc.m4:224: -1- AC_DEFUN([gl_MBRTOWC_NULL_ARG1], [
140434
 
+  AC_REQUIRE([AC_PROG_CC])
140435
 
+  AC_REQUIRE([gt_LOCALE_FR_UTF8])
140436
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
140437
 
+  AC_CACHE_CHECK([whether mbrtowc handles a NULL pwc argument],
140438
 
+    [gl_cv_func_mbrtowc_null_arg1],
140439
 
+    [
140440
 
+      dnl Initial guess, used when cross-compiling or when no suitable locale
140441
 
+      dnl is present.
140442
 
+changequote(,)dnl
140443
 
+      case "$host_os" in
140444
 
+                  # Guess no on Solaris.
140445
 
+        solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;;
140446
 
+                  # Guess yes otherwise.
140447
 
+        *)        gl_cv_func_mbrtowc_null_arg1="guessing yes" ;;
140448
 
+      esac
140449
 
+changequote([,])dnl
140450
 
+      if test $LOCALE_FR_UTF8 != none; then
140451
 
+        AC_RUN_IFELSE(
140452
 
+          [AC_LANG_SOURCE([[
140453
 
+#include <locale.h>
140454
 
+#include <stdlib.h>
140455
 
+#include <string.h>
140456
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
140457
 
+   <wchar.h>.
140458
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
140459
 
+   included before <wchar.h>.  */
140460
 
+#include <stddef.h>
140461
 
+#include <stdio.h>
140462
 
+#include <time.h>
140463
 
+#include <wchar.h>
140464
 
+int main ()
140465
 
+{
140466
 
+  int result = 0;
140467
 
+
140468
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
140469
 
+    {
140470
 
+      char input[] = "\303\237er";
140471
 
+      mbstate_t state;
140472
 
+      wchar_t wc;
140473
 
+      size_t ret;
140474
 
+
140475
 
+      memset (&state, '\0', sizeof (mbstate_t));
140476
 
+      wc = (wchar_t) 0xBADFACE;
140477
 
+      ret = mbrtowc (&wc, input, 5, &state);
140478
 
+      if (ret != 2)
140479
 
+        result |= 1;
140480
 
+      if (!mbsinit (&state))
140481
 
+        result |= 2;
140482
 
+
140483
 
+      memset (&state, '\0', sizeof (mbstate_t));
140484
 
+      ret = mbrtowc (NULL, input, 5, &state);
140485
 
+      if (ret != 2) /* Solaris 7 fails here: ret is -1.  */
140486
 
+        result |= 4;
140487
 
+      if (!mbsinit (&state))
140488
 
+        result |= 8;
140489
 
+    }
140490
 
+  return result;
140491
 
+}]])],
140492
 
+          [gl_cv_func_mbrtowc_null_arg1=yes],
140493
 
+          [gl_cv_func_mbrtowc_null_arg1=no],
140494
 
+          [:])
140495
 
+      fi
140496
 
+    ])
140497
 
+])
140498
 
+m4trace:m4/mbrtowc.m4:294: -1- AC_DEFUN([gl_MBRTOWC_NULL_ARG2], [
140499
 
+  AC_REQUIRE([AC_PROG_CC])
140500
 
+  AC_REQUIRE([gt_LOCALE_FR_UTF8])
140501
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
140502
 
+  AC_CACHE_CHECK([whether mbrtowc handles a NULL string argument],
140503
 
+    [gl_cv_func_mbrtowc_null_arg2],
140504
 
+    [
140505
 
+      dnl Initial guess, used when cross-compiling or when no suitable locale
140506
 
+      dnl is present.
140507
 
+changequote(,)dnl
140508
 
+      case "$host_os" in
140509
 
+              # Guess no on OSF/1.
140510
 
+        osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;;
140511
 
+              # Guess yes otherwise.
140512
 
+        *)    gl_cv_func_mbrtowc_null_arg2="guessing yes" ;;
140513
 
+      esac
140514
 
+changequote([,])dnl
140515
 
+      if test $LOCALE_FR_UTF8 != none; then
140516
 
+        AC_RUN_IFELSE(
140517
 
+          [AC_LANG_SOURCE([[
140518
 
+#include <locale.h>
140519
 
+#include <string.h>
140520
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
140521
 
+   <wchar.h>.
140522
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
140523
 
+   included before <wchar.h>.  */
140524
 
+#include <stddef.h>
140525
 
+#include <stdio.h>
140526
 
+#include <time.h>
140527
 
+#include <wchar.h>
140528
 
+int main ()
140529
 
+{
140530
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
140531
 
+    {
140532
 
+      mbstate_t state;
140533
 
+      wchar_t wc;
140534
 
+      int ret;
140535
 
+
140536
 
+      memset (&state, '\0', sizeof (mbstate_t));
140537
 
+      wc = (wchar_t) 0xBADFACE;
140538
 
+      mbrtowc (&wc, NULL, 5, &state);
140539
 
+      /* Check that wc was not modified.  */
140540
 
+      if (wc != (wchar_t) 0xBADFACE)
140541
 
+        return 1;
140542
 
+    }
140543
 
+  return 0;
140544
 
+}]])],
140545
 
+          [gl_cv_func_mbrtowc_null_arg2=yes],
140546
 
+          [gl_cv_func_mbrtowc_null_arg2=no],
140547
 
+          [:])
140548
 
+      fi
140549
 
+    ])
140550
 
+])
140551
 
+m4trace:m4/mbrtowc.m4:354: -1- AC_DEFUN([gl_MBRTOWC_RETVAL], [
140552
 
+  AC_REQUIRE([AC_PROG_CC])
140553
 
+  AC_REQUIRE([gt_LOCALE_FR_UTF8])
140554
 
+  AC_REQUIRE([gt_LOCALE_JA])
140555
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
140556
 
+  AC_CACHE_CHECK([whether mbrtowc has a correct return value],
140557
 
+    [gl_cv_func_mbrtowc_retval],
140558
 
+    [
140559
 
+      dnl Initial guess, used when cross-compiling or when no suitable locale
140560
 
+      dnl is present.
140561
 
+changequote(,)dnl
140562
 
+      case "$host_os" in
140563
 
+                                   # Guess no on HP-UX, Solaris, native Windows.
140564
 
+        hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;;
140565
 
+                                   # Guess yes otherwise.
140566
 
+        *)                         gl_cv_func_mbrtowc_retval="guessing yes" ;;
140567
 
+      esac
140568
 
+changequote([,])dnl
140569
 
+      if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \
140570
 
+         || { case "$host_os" in mingw*) true;; *) false;; esac; }; then
140571
 
+        AC_RUN_IFELSE(
140572
 
+          [AC_LANG_SOURCE([[
140573
 
+#include <locale.h>
140574
 
+#include <string.h>
140575
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
140576
 
+   <wchar.h>.
140577
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
140578
 
+   included before <wchar.h>.  */
140579
 
+#include <stddef.h>
140580
 
+#include <stdio.h>
140581
 
+#include <time.h>
140582
 
+#include <wchar.h>
140583
 
+int main ()
140584
 
+{
140585
 
+  int result = 0;
140586
 
+  int found_some_locale = 0;
140587
 
+  /* This fails on Solaris.  */
140588
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
140589
 
+    {
140590
 
+      char input[] = "B\303\274\303\237er"; /* "Büßer" */
140591
 
+      mbstate_t state;
140592
 
+      wchar_t wc;
140593
 
+
140594
 
+      memset (&state, '\0', sizeof (mbstate_t));
140595
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
140596
 
+        {
140597
 
+          input[1] = '\0';
140598
 
+          if (mbrtowc (&wc, input + 2, 5, &state) != 1)
140599
 
+            result |= 1;
140600
 
+        }
140601
 
+      found_some_locale = 1;
140602
 
+    }
140603
 
+  /* This fails on HP-UX 11.11.  */
140604
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
140605
 
+    {
140606
 
+      char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
140607
 
+      mbstate_t state;
140608
 
+      wchar_t wc;
140609
 
+
140610
 
+      memset (&state, '\0', sizeof (mbstate_t));
140611
 
+      if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
140612
 
+        {
140613
 
+          input[1] = '\0';
140614
 
+          if (mbrtowc (&wc, input + 2, 5, &state) != 2)
140615
 
+            result |= 2;
140616
 
+        }
140617
 
+      found_some_locale = 1;
140618
 
+    }
140619
 
+  /* This fails on native Windows.  */
140620
 
+  if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL)
140621
 
+    {
140622
 
+      char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */
140623
 
+      mbstate_t state;
140624
 
+      wchar_t wc;
140625
 
+
140626
 
+      memset (&state, '\0', sizeof (mbstate_t));
140627
 
+      if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
140628
 
+        {
140629
 
+          input[3] = '\0';
140630
 
+          if (mbrtowc (&wc, input + 4, 4, &state) != 1)
140631
 
+            result |= 4;
140632
 
+        }
140633
 
+      found_some_locale = 1;
140634
 
+    }
140635
 
+  if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL)
140636
 
+    {
140637
 
+      char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */
140638
 
+      mbstate_t state;
140639
 
+      wchar_t wc;
140640
 
+
140641
 
+      memset (&state, '\0', sizeof (mbstate_t));
140642
 
+      if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
140643
 
+        {
140644
 
+          input[3] = '\0';
140645
 
+          if (mbrtowc (&wc, input + 4, 4, &state) != 1)
140646
 
+            result |= 8;
140647
 
+        }
140648
 
+      found_some_locale = 1;
140649
 
+    }
140650
 
+  if (setlocale (LC_ALL, "Chinese_China.936") != NULL)
140651
 
+    {
140652
 
+      char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */
140653
 
+      mbstate_t state;
140654
 
+      wchar_t wc;
140655
 
+
140656
 
+      memset (&state, '\0', sizeof (mbstate_t));
140657
 
+      if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
140658
 
+        {
140659
 
+          input[3] = '\0';
140660
 
+          if (mbrtowc (&wc, input + 4, 4, &state) != 1)
140661
 
+            result |= 16;
140662
 
+        }
140663
 
+      found_some_locale = 1;
140664
 
+    }
140665
 
+  return (found_some_locale ? result : 77);
140666
 
+}]])],
140667
 
+          [gl_cv_func_mbrtowc_retval=yes],
140668
 
+          [if test $? != 77; then
140669
 
+             gl_cv_func_mbrtowc_retval=no
140670
 
+           fi
140671
 
+          ],
140672
 
+          [:])
140673
 
+      fi
140674
 
+    ])
140675
 
+])
140676
 
+m4trace:m4/mbrtowc.m4:484: -1- AC_DEFUN([gl_MBRTOWC_NUL_RETVAL], [
140677
 
+  AC_REQUIRE([AC_PROG_CC])
140678
 
+  AC_REQUIRE([gt_LOCALE_ZH_CN])
140679
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
140680
 
+  AC_CACHE_CHECK([whether mbrtowc returns 0 when parsing a NUL character],
140681
 
+    [gl_cv_func_mbrtowc_nul_retval],
140682
 
+    [
140683
 
+      dnl Initial guess, used when cross-compiling or when no suitable locale
140684
 
+      dnl is present.
140685
 
+changequote(,)dnl
140686
 
+      case "$host_os" in
140687
 
+                       # Guess no on Solaris 8 and 9.
140688
 
+        solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;;
140689
 
+                       # Guess yes otherwise.
140690
 
+        *)             gl_cv_func_mbrtowc_nul_retval="guessing yes" ;;
140691
 
+      esac
140692
 
+changequote([,])dnl
140693
 
+      if test $LOCALE_ZH_CN != none; then
140694
 
+        AC_RUN_IFELSE(
140695
 
+          [AC_LANG_SOURCE([[
140696
 
+#include <locale.h>
140697
 
+#include <string.h>
140698
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
140699
 
+   <wchar.h>.
140700
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
140701
 
+   included before <wchar.h>.  */
140702
 
+#include <stddef.h>
140703
 
+#include <stdio.h>
140704
 
+#include <time.h>
140705
 
+#include <wchar.h>
140706
 
+int main ()
140707
 
+{
140708
 
+  /* This fails on Solaris 8 and 9.  */
140709
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
140710
 
+    {
140711
 
+      mbstate_t state;
140712
 
+      wchar_t wc;
140713
 
+
140714
 
+      memset (&state, '\0', sizeof (mbstate_t));
140715
 
+      if (mbrtowc (&wc, "", 1, &state) != 0)
140716
 
+        return 1;
140717
 
+    }
140718
 
+  return 0;
140719
 
+}]])],
140720
 
+          [gl_cv_func_mbrtowc_nul_retval=yes],
140721
 
+          [gl_cv_func_mbrtowc_nul_retval=no],
140722
 
+          [:])
140723
 
+      fi
140724
 
+    ])
140725
 
+])
140726
 
+m4trace:m4/mbrtowc.m4:537: -1- AC_DEFUN([gl_PREREQ_MBRTOWC], [
140727
 
+  :
140728
 
+])
140729
 
+m4trace:m4/mbrtowc.m4:546: -1- AC_DEFUN([AC_FUNC_MBRTOWC], [
140730
 
+  dnl Same as AC_FUNC_MBRTOWC in autoconf-2.60.
140731
 
+  AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared],
140732
 
+    gl_cv_func_mbrtowc,
140733
 
+    [AC_LINK_IFELSE(
140734
 
+       [AC_LANG_PROGRAM(
140735
 
+            [[/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
140736
 
+                 included before <wchar.h>.
140737
 
+                 BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
140738
 
+                 must be included before <wchar.h>.  */
140739
 
+              #include <stddef.h>
140740
 
+              #include <stdio.h>
140741
 
+              #include <time.h>
140742
 
+              #include <wchar.h>]],
140743
 
+            [[wchar_t wc;
140744
 
+              char const s[] = "";
140745
 
+              size_t n = 1;
140746
 
+              mbstate_t state;
140747
 
+              return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));]])],
140748
 
+       gl_cv_func_mbrtowc=yes,
140749
 
+       gl_cv_func_mbrtowc=no)])
140750
 
+  if test $gl_cv_func_mbrtowc = yes; then
140751
 
+    AC_DEFINE([HAVE_MBRTOWC], [1],
140752
 
+      [Define to 1 if mbrtowc and mbstate_t are properly declared.])
140753
 
+  fi
140754
 
+])
140755
 
+m4trace:m4/mbsinit.m4:7: -1- AC_DEFUN([gl_FUNC_MBSINIT], [
140756
 
+  AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
140757
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
140758
 
+
140759
 
+  AC_REQUIRE([AC_TYPE_MBSTATE_T])
140760
 
+  gl_MBSTATE_T_BROKEN
140761
 
+
140762
 
+  AC_CHECK_FUNCS_ONCE([mbsinit])
140763
 
+  if test $ac_cv_func_mbsinit = no; then
140764
 
+    HAVE_MBSINIT=0
140765
 
+    AC_CHECK_DECLS([mbsinit],,, [[
140766
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
140767
 
+   <wchar.h>.
140768
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
140769
 
+   included before <wchar.h>.  */
140770
 
+#include <stddef.h>
140771
 
+#include <stdio.h>
140772
 
+#include <time.h>
140773
 
+#include <wchar.h>
140774
 
+]])
140775
 
+    if test $ac_cv_have_decl_mbsinit = yes; then
140776
 
+      dnl On Minix 3.1.8, the system's <wchar.h> declares mbsinit() although
140777
 
+      dnl it does not have the function. Avoid a collision with gnulib's
140778
 
+      dnl replacement.
140779
 
+      REPLACE_MBSINIT=1
140780
 
+    fi
140781
 
+  else
140782
 
+    if test $REPLACE_MBSTATE_T = 1; then
140783
 
+      REPLACE_MBSINIT=1
140784
 
+    else
140785
 
+      dnl On mingw, mbsinit() always returns 1, which is inappropriate for
140786
 
+      dnl states produced by mbrtowc() for an incomplete multibyte character
140787
 
+      dnl in multibyte locales.
140788
 
+      case "$host_os" in
140789
 
+        mingw*) REPLACE_MBSINIT=1 ;;
140790
 
+      esac
140791
 
+    fi
140792
 
+  fi
140793
 
+])
140794
 
+m4trace:m4/mbsinit.m4:49: -1- AC_DEFUN([gl_PREREQ_MBSINIT], [
140795
 
+  :
140796
 
+])
140797
 
+m4trace:m4/mbslen.m4:7: -1- AC_DEFUN([gl_FUNC_MBSLEN], [
140798
 
+  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
140799
 
+  AC_CHECK_FUNCS_ONCE([mbslen])
140800
 
+  if test $ac_cv_func_mbslen = yes; then
140801
 
+    HAVE_MBSLEN=1
140802
 
+  else
140803
 
+    HAVE_MBSLEN=0
140804
 
+  fi
140805
 
+])
140806
 
+m4trace:m4/mbsrtowcs.m4:7: -1- AC_DEFUN([gl_FUNC_MBSRTOWCS], [
140807
 
+  AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
140808
 
+
140809
 
+  AC_REQUIRE([AC_TYPE_MBSTATE_T])
140810
 
+  gl_MBSTATE_T_BROKEN
140811
 
+
140812
 
+  AC_CHECK_FUNCS_ONCE([mbsrtowcs])
140813
 
+  if test $ac_cv_func_mbsrtowcs = no; then
140814
 
+    HAVE_MBSRTOWCS=0
140815
 
+    AC_CHECK_DECLS([mbsrtowcs],,, [[
140816
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
140817
 
+   <wchar.h>.
140818
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
140819
 
+   included before <wchar.h>.  */
140820
 
+#include <stddef.h>
140821
 
+#include <stdio.h>
140822
 
+#include <time.h>
140823
 
+#include <wchar.h>
140824
 
+]])
140825
 
+    if test $ac_cv_have_decl_mbsrtowcs = yes; then
140826
 
+      dnl On Minix 3.1.8, the system's <wchar.h> declares mbsrtowcs() although
140827
 
+      dnl it does not have the function. Avoid a collision with gnulib's
140828
 
+      dnl replacement.
140829
 
+      REPLACE_MBSRTOWCS=1
140830
 
+    fi
140831
 
+  else
140832
 
+    if test $REPLACE_MBSTATE_T = 1; then
140833
 
+      REPLACE_MBSRTOWCS=1
140834
 
+    else
140835
 
+      gl_MBSRTOWCS_WORKS
140836
 
+      case "$gl_cv_func_mbsrtowcs_works" in
140837
 
+        *yes) ;;
140838
 
+        *) REPLACE_MBSRTOWCS=1 ;;
140839
 
+      esac
140840
 
+    fi
140841
 
+  fi
140842
 
+])
140843
 
+m4trace:m4/mbsrtowcs.m4:49: -1- AC_DEFUN([gl_MBSRTOWCS_WORKS], [
140844
 
+  AC_REQUIRE([AC_PROG_CC])
140845
 
+  AC_REQUIRE([gt_LOCALE_FR])
140846
 
+  AC_REQUIRE([gt_LOCALE_FR_UTF8])
140847
 
+  AC_REQUIRE([gt_LOCALE_JA])
140848
 
+  AC_REQUIRE([gt_LOCALE_ZH_CN])
140849
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
140850
 
+  AC_CACHE_CHECK([whether mbsrtowcs works],
140851
 
+    [gl_cv_func_mbsrtowcs_works],
140852
 
+    [
140853
 
+      dnl Initial guess, used when cross-compiling or when no suitable locale
140854
 
+      dnl is present.
140855
 
+changequote(,)dnl
140856
 
+      case "$host_os" in
140857
 
+                                   # Guess no on HP-UX, Solaris, mingw.
140858
 
+        hpux* | solaris* | mingw*) gl_cv_func_mbsrtowcs_works="guessing no" ;;
140859
 
+                                   # Guess yes otherwise.
140860
 
+        *)                         gl_cv_func_mbsrtowcs_works="guessing yes" ;;
140861
 
+      esac
140862
 
+changequote([,])dnl
140863
 
+      if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
140864
 
+        AC_RUN_IFELSE(
140865
 
+          [AC_LANG_SOURCE([[
140866
 
+#include <locale.h>
140867
 
+#include <string.h>
140868
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
140869
 
+   <wchar.h>.
140870
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
140871
 
+   included before <wchar.h>.  */
140872
 
+#include <stddef.h>
140873
 
+#include <stdio.h>
140874
 
+#include <time.h>
140875
 
+#include <wchar.h>
140876
 
+int main ()
140877
 
+{
140878
 
+  int result = 0;
140879
 
+  /* Test whether the function supports a NULL destination argument.
140880
 
+     This fails on native Windows.  */
140881
 
+  if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
140882
 
+    {
140883
 
+      const char input[] = "\337er";
140884
 
+      const char *src = input;
140885
 
+      mbstate_t state;
140886
 
+
140887
 
+      memset (&state, '\0', sizeof (mbstate_t));
140888
 
+      if (mbsrtowcs (NULL, &src, 1, &state) != 3
140889
 
+          || src != input)
140890
 
+        result |= 1;
140891
 
+    }
140892
 
+  /* Test whether the function works when started with a conversion state
140893
 
+     in non-initial state.  This fails on HP-UX 11.11 and Solaris 10.  */
140894
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
140895
 
+    {
140896
 
+      const char input[] = "B\303\274\303\237er";
140897
 
+      mbstate_t state;
140898
 
+
140899
 
+      memset (&state, '\0', sizeof (mbstate_t));
140900
 
+      if (mbrtowc (NULL, input + 1, 1, &state) == (size_t)(-2))
140901
 
+        if (!mbsinit (&state))
140902
 
+          {
140903
 
+            const char *src = input + 2;
140904
 
+            if (mbsrtowcs (NULL, &src, 10, &state) != 4)
140905
 
+              result |= 2;
140906
 
+          }
140907
 
+    }
140908
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
140909
 
+    {
140910
 
+      const char input[] = "<\306\374\313\334\270\354>";
140911
 
+      mbstate_t state;
140912
 
+
140913
 
+      memset (&state, '\0', sizeof (mbstate_t));
140914
 
+      if (mbrtowc (NULL, input + 3, 1, &state) == (size_t)(-2))
140915
 
+        if (!mbsinit (&state))
140916
 
+          {
140917
 
+            const char *src = input + 4;
140918
 
+            if (mbsrtowcs (NULL, &src, 10, &state) != 3)
140919
 
+              result |= 4;
140920
 
+          }
140921
 
+    }
140922
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
140923
 
+    {
140924
 
+      const char input[] = "B\250\271\201\060\211\070er";
140925
 
+      mbstate_t state;
140926
 
+
140927
 
+      memset (&state, '\0', sizeof (mbstate_t));
140928
 
+      if (mbrtowc (NULL, input + 1, 1, &state) == (size_t)(-2))
140929
 
+        if (!mbsinit (&state))
140930
 
+          {
140931
 
+            const char *src = input + 2;
140932
 
+            if (mbsrtowcs (NULL, &src, 10, &state) != 4)
140933
 
+              result |= 8;
140934
 
+          }
140935
 
+    }
140936
 
+  return result;
140937
 
+}]])],
140938
 
+          [gl_cv_func_mbsrtowcs_works=yes],
140939
 
+          [gl_cv_func_mbsrtowcs_works=no],
140940
 
+          [:])
140941
 
+      fi
140942
 
+    ])
140943
 
+])
140944
 
+m4trace:m4/mbsrtowcs.m4:153: -1- AC_DEFUN([gl_PREREQ_MBSRTOWCS], [
140945
 
+  :
140946
 
+])
140947
 
+m4trace:m4/mbstate_t.m4:15: -1- AC_DEFUN([AC_TYPE_MBSTATE_T], [
140948
 
+   AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl for HP-UX 11.11
140949
 
+
140950
 
+   AC_CACHE_CHECK([for mbstate_t], [ac_cv_type_mbstate_t],
140951
 
+     [AC_COMPILE_IFELSE(
140952
 
+        [AC_LANG_PROGRAM(
140953
 
+           [AC_INCLUDES_DEFAULT[
140954
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
140955
 
+   <wchar.h>.
140956
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
140957
 
+   included before <wchar.h>.  */
140958
 
+#include <stddef.h>
140959
 
+#include <stdio.h>
140960
 
+#include <time.h>
140961
 
+#include <wchar.h>]],
140962
 
+           [[mbstate_t x; return sizeof x;]])],
140963
 
+        [ac_cv_type_mbstate_t=yes],
140964
 
+        [ac_cv_type_mbstate_t=no])])
140965
 
+   if test $ac_cv_type_mbstate_t = yes; then
140966
 
+     AC_DEFINE([HAVE_MBSTATE_T], [1],
140967
 
+               [Define to 1 if <wchar.h> declares mbstate_t.])
140968
 
+   else
140969
 
+     AC_DEFINE([mbstate_t], [int],
140970
 
+               [Define to a type if <wchar.h> does not define.])
140971
 
+   fi
140972
 
+])
140973
 
+m4trace:m4/mbswidth.m4:10: -1- AC_DEFUN([gl_MBSWIDTH], [
140974
 
+  AC_CHECK_HEADERS_ONCE([wchar.h])
140975
 
+  AC_CHECK_FUNCS_ONCE([isascii mbsinit])
140976
 
+
140977
 
+  dnl UnixWare 7.1.1 <wchar.h> has a declaration of a function mbswidth()
140978
 
+  dnl that clashes with ours.
140979
 
+  AC_CACHE_CHECK([whether mbswidth is declared in <wchar.h>],
140980
 
+    [ac_cv_have_decl_mbswidth],
140981
 
+    [AC_COMPILE_IFELSE(
140982
 
+       [AC_LANG_PROGRAM(
140983
 
+          [[
140984
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
140985
 
+   <wchar.h>.
140986
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
140987
 
+   before <wchar.h>.  */
140988
 
+#include <stddef.h>
140989
 
+#include <stdio.h>
140990
 
+#include <time.h>
140991
 
+#include <wchar.h>
140992
 
+          ]],
140993
 
+          [[
140994
 
+  char *p = (char *) mbswidth;
140995
 
+  return !p;
140996
 
+          ]])],
140997
 
+       [ac_cv_have_decl_mbswidth=yes],
140998
 
+       [ac_cv_have_decl_mbswidth=no])])
140999
 
+  if test $ac_cv_have_decl_mbswidth = yes; then
141000
 
+    ac_val=1
141001
 
+  else
141002
 
+    ac_val=0
141003
 
+  fi
141004
 
+  AC_DEFINE_UNQUOTED([HAVE_DECL_MBSWIDTH_IN_WCHAR_H], [$ac_val],
141005
 
+    [Define to 1 if you have a declaration of mbswidth() in <wchar.h>, and to 0 otherwise.])
141006
 
+
141007
 
+  AC_TYPE_MBSTATE_T
141008
 
+])
141009
 
+m4trace:m4/mbtowc.m4:7: -1- AC_DEFUN([gl_FUNC_MBTOWC], [
141010
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
141011
 
+
141012
 
+  if false; then
141013
 
+    REPLACE_MBTOWC=1
141014
 
+  fi
141015
 
+])
141016
 
+m4trace:m4/mbtowc.m4:17: -1- AC_DEFUN([gl_PREREQ_MBTOWC], [
141017
 
+  :
141018
 
+])
141019
 
+m4trace:m4/md5.m4:7: -1- AC_DEFUN([gl_MD5], [
141020
 
+  dnl Prerequisites of lib/md5.c.
141021
 
+  AC_REQUIRE([gl_BIGENDIAN])
141022
 
+  AC_REQUIRE([AC_C_INLINE])
141023
 
+  :
141024
 
+])
141025
 
+m4trace:m4/memcasecmp.m4:7: -1- AC_DEFUN([gl_MEMCASECMP], [
141026
 
+  :
141027
 
+])
141028
 
+m4trace:m4/memchr.m4:7: -1- AC_DEFUN_ONCE([gl_FUNC_MEMCHR], [
141029
 
+  dnl Check for prerequisites for memory fence checks.
141030
 
+  gl_FUNC_MMAP_ANON
141031
 
+  AC_CHECK_HEADERS_ONCE([sys/mman.h])
141032
 
+  AC_CHECK_FUNCS_ONCE([mprotect])
141033
 
+
141034
 
+  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
141035
 
+  m4_ifdef([gl_FUNC_MEMCHR_OBSOLETE], [
141036
 
+    dnl These days, we assume memchr is present.  But if support for old
141037
 
+    dnl platforms is desired:
141038
 
+    AC_CHECK_FUNCS_ONCE([memchr])
141039
 
+    if test $ac_cv_func_memchr = no; then
141040
 
+      HAVE_MEMCHR=0
141041
 
+    fi
141042
 
+  ])
141043
 
+  if test $HAVE_MEMCHR = 1; then
141044
 
+    # Detect platform-specific bugs in some versions of glibc:
141045
 
+    # memchr should not dereference anything with length 0
141046
 
+    #   http://bugzilla.redhat.com/499689
141047
 
+    # memchr should not dereference overestimated length after a match
141048
 
+    #   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737
141049
 
+    #   http://sourceware.org/bugzilla/show_bug.cgi?id=10162
141050
 
+    # Assume that memchr works on platforms that lack mprotect.
141051
 
+    AC_CACHE_CHECK([whether memchr works], [gl_cv_func_memchr_works],
141052
 
+      [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
141053
 
+#include <string.h>
141054
 
+#if HAVE_SYS_MMAN_H
141055
 
+# include <fcntl.h>
141056
 
+# include <unistd.h>
141057
 
+# include <sys/types.h>
141058
 
+# include <sys/mman.h>
141059
 
+# ifndef MAP_FILE
141060
 
+#  define MAP_FILE 0
141061
 
+# endif
141062
 
+#endif
141063
 
+]], [[
141064
 
+  int result = 0;
141065
 
+  char *fence = NULL;
141066
 
+#if HAVE_SYS_MMAN_H && HAVE_MPROTECT
141067
 
+# if HAVE_MAP_ANONYMOUS
141068
 
+  const int flags = MAP_ANONYMOUS | MAP_PRIVATE;
141069
 
+  const int fd = -1;
141070
 
+# else /* !HAVE_MAP_ANONYMOUS */
141071
 
+  const int flags = MAP_FILE | MAP_PRIVATE;
141072
 
+  int fd = open ("/dev/zero", O_RDONLY, 0666);
141073
 
+  if (fd >= 0)
141074
 
+# endif
141075
 
+    {
141076
 
+      int pagesize = getpagesize ();
141077
 
+      char *two_pages =
141078
 
+        (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
141079
 
+                       flags, fd, 0);
141080
 
+      if (two_pages != (char *)(-1)
141081
 
+          && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0)
141082
 
+        fence = two_pages + pagesize;
141083
 
+    }
141084
 
+#endif
141085
 
+  if (fence)
141086
 
+    {
141087
 
+      if (memchr (fence, 0, 0))
141088
 
+        result |= 1;
141089
 
+      strcpy (fence - 9, "12345678");
141090
 
+      if (memchr (fence - 9, 0, 79) != fence - 1)
141091
 
+        result |= 2;
141092
 
+      if (memchr (fence - 1, 0, 3) != fence - 1)
141093
 
+        result |= 4;
141094
 
+    }
141095
 
+  return result;
141096
 
+]])], [gl_cv_func_memchr_works=yes], [gl_cv_func_memchr_works=no],
141097
 
+      [dnl Be pessimistic for now.
141098
 
+       gl_cv_func_memchr_works="guessing no"])])
141099
 
+    if test "$gl_cv_func_memchr_works" != yes; then
141100
 
+      REPLACE_MEMCHR=1
141101
 
+    fi
141102
 
+  fi
141103
 
+])
141104
 
+m4trace:m4/memchr.m4:86: -1- AC_DEFUN([gl_PREREQ_MEMCHR], [
141105
 
+  AC_CHECK_HEADERS([bp-sym.h])
141106
 
+])
141107
 
+m4trace:m4/memcoll.m4:8: -1- AC_DEFUN([gl_MEMCOLL], [
141108
 
+  AC_REQUIRE([AC_C_INLINE])
141109
 
+])
141110
 
+m4trace:m4/mempcpy.m4:8: -1- AC_DEFUN([gl_FUNC_MEMPCPY], [
141111
 
+  dnl Persuade glibc <string.h> to declare mempcpy().
141112
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
141113
 
+
141114
 
+  dnl The mempcpy() declaration in lib/string.in.h uses 'restrict'.
141115
 
+  AC_REQUIRE([AC_C_RESTRICT])
141116
 
+
141117
 
+  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
141118
 
+  AC_CHECK_FUNCS([mempcpy])
141119
 
+  if test $ac_cv_func_mempcpy = no; then
141120
 
+    HAVE_MEMPCPY=0
141121
 
+  fi
141122
 
+])
141123
 
+m4trace:m4/mempcpy.m4:24: -1- AC_DEFUN([gl_PREREQ_MEMPCPY], [
141124
 
+  :
141125
 
+])
141126
 
+m4trace:m4/memrchr.m4:8: -1- AC_DEFUN([gl_FUNC_MEMRCHR], [
141127
 
+  dnl Persuade glibc <string.h> to declare memrchr().
141128
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
141129
 
+
141130
 
+  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
141131
 
+  AC_CHECK_DECLS_ONCE([memrchr])
141132
 
+  if test $ac_cv_have_decl_memrchr = no; then
141133
 
+    HAVE_DECL_MEMRCHR=0
141134
 
+  fi
141135
 
+
141136
 
+  AC_CHECK_FUNCS([memrchr])
141137
 
+])
141138
 
+m4trace:m4/memrchr.m4:23: -1- AC_DEFUN([gl_PREREQ_MEMRCHR], [:])
141139
 
+m4trace:m4/mgetgroups.m4:7: -1- AC_DEFUN([gl_MGETGROUPS], [
141140
 
+  AC_CHECK_FUNCS_ONCE([getgrouplist])
141141
 
+])
141142
 
+m4trace:m4/mkancesdirs.m4:7: -1- AC_DEFUN([gl_MKANCESDIRS], [
141143
 
+  :
141144
 
+])
141145
 
+m4trace:m4/mkdir-p.m4:7: -1- AC_DEFUN([gl_MKDIR_PARENTS], [
141146
 
+  dnl Prerequisites of lib/dirchownmod.c.
141147
 
+  AC_CHECK_FUNCS_ONCE([fchmod])
141148
 
+])
141149
 
+m4trace:m4/mkdir.m4:11: -1- AC_DEFUN([gl_FUNC_MKDIR], [dnl
141150
 
+  AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
141151
 
+  AC_CHECK_HEADERS_ONCE([unistd.h])
141152
 
+  AC_CACHE_CHECK([whether mkdir handles trailing slash],
141153
 
+    [gl_cv_func_mkdir_trailing_slash_works],
141154
 
+    [rm -rf conftest.dir
141155
 
+      AC_RUN_IFELSE([AC_LANG_PROGRAM([[
141156
 
+#       include <sys/types.h>
141157
 
+#       include <sys/stat.h>
141158
 
+]], [return mkdir ("conftest.dir/", 0700);])],
141159
 
+      [gl_cv_func_mkdir_trailing_slash_works=yes],
141160
 
+      [gl_cv_func_mkdir_trailing_slash_works=no],
141161
 
+      [gl_cv_func_mkdir_trailing_slash_works="guessing no"])
141162
 
+    rm -rf conftest.dir
141163
 
+    ]
141164
 
+  )
141165
 
+  if test "$gl_cv_func_mkdir_trailing_slash_works" != yes; then
141166
 
+    REPLACE_MKDIR=1
141167
 
+  fi
141168
 
+
141169
 
+  AC_CACHE_CHECK([whether mkdir handles trailing dot],
141170
 
+    [gl_cv_func_mkdir_trailing_dot_works],
141171
 
+    [rm -rf conftest.dir
141172
 
+      AC_RUN_IFELSE([AC_LANG_PROGRAM([[
141173
 
+#       include <sys/types.h>
141174
 
+#       include <sys/stat.h>
141175
 
+]], [return !mkdir ("conftest.dir/./", 0700);])],
141176
 
+      [gl_cv_func_mkdir_trailing_dot_works=yes],
141177
 
+      [gl_cv_func_mkdir_trailing_dot_works=no],
141178
 
+      [gl_cv_func_mkdir_trailing_dot_works="guessing no"])
141179
 
+    rm -rf conftest.dir
141180
 
+    ]
141181
 
+  )
141182
 
+  if test "$gl_cv_func_mkdir_trailing_dot_works" != yes; then
141183
 
+    REPLACE_MKDIR=1
141184
 
+    AC_DEFINE([FUNC_MKDIR_DOT_BUG], [1], [Define to 1 if mkdir mistakenly
141185
 
+      creates a directory given with a trailing dot component.])
141186
 
+  fi
141187
 
+])
141188
 
+m4trace:m4/mkstemp.m4:16: -1- AC_DEFUN([gl_FUNC_MKSTEMP], [
141189
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
141190
 
+
141191
 
+  AC_CHECK_FUNCS_ONCE([mkstemp])
141192
 
+  if test $ac_cv_func_mkstemp = yes; then
141193
 
+    AC_CACHE_CHECK([for working mkstemp],
141194
 
+      [gl_cv_func_working_mkstemp],
141195
 
+      [
141196
 
+        mkdir conftest.mkstemp
141197
 
+        AC_RUN_IFELSE(
141198
 
+          [AC_LANG_PROGRAM(
141199
 
+            [AC_INCLUDES_DEFAULT],
141200
 
+            [[int result = 0;
141201
 
+              int i;
141202
 
+              off_t large = (off_t) 4294967295u;
141203
 
+              if (large < 0)
141204
 
+                large = 2147483647;
141205
 
+              umask (0);
141206
 
+              for (i = 0; i < 70; i++)
141207
 
+                {
141208
 
+                  char templ[] = "conftest.mkstemp/coXXXXXX";
141209
 
+                  int (*mkstemp_function) (char *) = mkstemp;
141210
 
+                  int fd = mkstemp_function (templ);
141211
 
+                  if (fd < 0)
141212
 
+                    result |= 1;
141213
 
+                  else
141214
 
+                    {
141215
 
+                      struct stat st;
141216
 
+                      if (lseek (fd, large, SEEK_SET) != large)
141217
 
+                        result |= 2;
141218
 
+                      if (fstat (fd, &st) < 0)
141219
 
+                        result |= 4;
141220
 
+                      else if (st.st_mode & 0077)
141221
 
+                        result |= 8;
141222
 
+                      if (close (fd))
141223
 
+                        result |= 16;
141224
 
+                    }
141225
 
+                }
141226
 
+              return result;]])],
141227
 
+          [gl_cv_func_working_mkstemp=yes],
141228
 
+          [gl_cv_func_working_mkstemp=no],
141229
 
+          [gl_cv_func_working_mkstemp="guessing no"])
141230
 
+        rm -rf conftest.mkstemp
141231
 
+      ])
141232
 
+    if test "$gl_cv_func_working_mkstemp" != yes; then
141233
 
+      REPLACE_MKSTEMP=1
141234
 
+    fi
141235
 
+  else
141236
 
+    HAVE_MKSTEMP=0
141237
 
+  fi
141238
 
+])
141239
 
+m4trace:m4/mkstemp.m4:70: -1- AC_DEFUN([gl_PREREQ_MKSTEMP], [
141240
 
+])
141241
 
+m4trace:m4/mktime.m4:10: -1- AC_DEFUN([gl_FUNC_MKTIME], [
141242
 
+  AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS])
141243
 
+
141244
 
+  dnl We don't use AC_FUNC_MKTIME any more, because it is no longer maintained
141245
 
+  dnl in Autoconf and because it invokes AC_LIBOBJ.
141246
 
+  AC_CHECK_HEADERS_ONCE([unistd.h])
141247
 
+  AC_CHECK_FUNCS_ONCE([alarm])
141248
 
+  AC_REQUIRE([gl_MULTIARCH])
141249
 
+  if test $APPLE_UNIVERSAL_BUILD = 1; then
141250
 
+    # A universal build on Apple MacOS X platforms.
141251
 
+    # The test result would be 'yes' in 32-bit mode and 'no' in 64-bit mode.
141252
 
+    # But we need a configuration result that is valid in both modes.
141253
 
+    gl_cv_func_working_mktime=no
141254
 
+  fi
141255
 
+  AC_CACHE_CHECK([for working mktime], [gl_cv_func_working_mktime],
141256
 
+    [AC_RUN_IFELSE(
141257
 
+       [AC_LANG_SOURCE(
141258
 
+[[/* Test program from Paul Eggert and Tony Leneis.  */
141259
 
+#include <limits.h>
141260
 
+#include <stdlib.h>
141261
 
+#include <time.h>
141262
 
+
141263
 
+#ifdef HAVE_UNISTD_H
141264
 
+# include <unistd.h>
141265
 
+#endif
141266
 
+
141267
 
+#ifndef HAVE_ALARM
141268
 
+# define alarm(X) /* empty */
141269
 
+#endif
141270
 
+
141271
 
+/* Work around redefinition to rpl_putenv by other config tests.  */
141272
 
+#undef putenv
141273
 
+
141274
 
+static time_t time_t_max;
141275
 
+static time_t time_t_min;
141276
 
+
141277
 
+/* Values we'll use to set the TZ environment variable.  */
141278
 
+static char *tz_strings[] = {
141279
 
+  (char *) 0, "TZ=GMT0", "TZ=JST-9",
141280
 
+  "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
141281
 
+};
141282
 
+#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
141283
 
+
141284
 
+/* Return 0 if mktime fails to convert a date in the spring-forward gap.
141285
 
+   Based on a problem report from Andreas Jaeger.  */
141286
 
+static int
141287
 
+spring_forward_gap ()
141288
 
+{
141289
 
+  /* glibc (up to about 1998-10-07) failed this test. */
141290
 
+  struct tm tm;
141291
 
+
141292
 
+  /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
141293
 
+     instead of "TZ=America/Vancouver" in order to detect the bug even
141294
 
+     on systems that don't support the Olson extension, or don't have the
141295
 
+     full zoneinfo tables installed.  */
141296
 
+  putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
141297
 
+
141298
 
+  tm.tm_year = 98;
141299
 
+  tm.tm_mon = 3;
141300
 
+  tm.tm_mday = 5;
141301
 
+  tm.tm_hour = 2;
141302
 
+  tm.tm_min = 0;
141303
 
+  tm.tm_sec = 0;
141304
 
+  tm.tm_isdst = -1;
141305
 
+  return mktime (&tm) != (time_t) -1;
141306
 
+}
141307
 
+
141308
 
+static int
141309
 
+mktime_test1 (time_t now)
141310
 
+{
141311
 
+  struct tm *lt;
141312
 
+  return ! (lt = localtime (&now)) || mktime (lt) == now;
141313
 
+}
141314
 
+
141315
 
+static int
141316
 
+mktime_test (time_t now)
141317
 
+{
141318
 
+  return (mktime_test1 (now)
141319
 
+          && mktime_test1 ((time_t) (time_t_max - now))
141320
 
+          && mktime_test1 ((time_t) (time_t_min + now)));
141321
 
+}
141322
 
+
141323
 
+static int
141324
 
+irix_6_4_bug ()
141325
 
+{
141326
 
+  /* Based on code from Ariel Faigon.  */
141327
 
+  struct tm tm;
141328
 
+  tm.tm_year = 96;
141329
 
+  tm.tm_mon = 3;
141330
 
+  tm.tm_mday = 0;
141331
 
+  tm.tm_hour = 0;
141332
 
+  tm.tm_min = 0;
141333
 
+  tm.tm_sec = 0;
141334
 
+  tm.tm_isdst = -1;
141335
 
+  mktime (&tm);
141336
 
+  return tm.tm_mon == 2 && tm.tm_mday == 31;
141337
 
+}
141338
 
+
141339
 
+static int
141340
 
+bigtime_test (int j)
141341
 
+{
141342
 
+  struct tm tm;
141343
 
+  time_t now;
141344
 
+  tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
141345
 
+  now = mktime (&tm);
141346
 
+  if (now != (time_t) -1)
141347
 
+    {
141348
 
+      struct tm *lt = localtime (&now);
141349
 
+      if (! (lt
141350
 
+             && lt->tm_year == tm.tm_year
141351
 
+             && lt->tm_mon == tm.tm_mon
141352
 
+             && lt->tm_mday == tm.tm_mday
141353
 
+             && lt->tm_hour == tm.tm_hour
141354
 
+             && lt->tm_min == tm.tm_min
141355
 
+             && lt->tm_sec == tm.tm_sec
141356
 
+             && lt->tm_yday == tm.tm_yday
141357
 
+             && lt->tm_wday == tm.tm_wday
141358
 
+             && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
141359
 
+                  == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
141360
 
+        return 0;
141361
 
+    }
141362
 
+  return 1;
141363
 
+}
141364
 
+
141365
 
+static int
141366
 
+year_2050_test ()
141367
 
+{
141368
 
+  /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
141369
 
+     ignoring leap seconds.  */
141370
 
+  unsigned long int answer = 2527315200UL;
141371
 
+
141372
 
+  struct tm tm;
141373
 
+  time_t t;
141374
 
+  tm.tm_year = 2050 - 1900;
141375
 
+  tm.tm_mon = 2 - 1;
141376
 
+  tm.tm_mday = 1;
141377
 
+  tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
141378
 
+  tm.tm_isdst = -1;
141379
 
+
141380
 
+  /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
141381
 
+     instead of "TZ=America/Vancouver" in order to detect the bug even
141382
 
+     on systems that don't support the Olson extension, or don't have the
141383
 
+     full zoneinfo tables installed.  */
141384
 
+  putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
141385
 
+
141386
 
+  t = mktime (&tm);
141387
 
+
141388
 
+  /* Check that the result is either a failure, or close enough
141389
 
+     to the correct answer that we can assume the discrepancy is
141390
 
+     due to leap seconds.  */
141391
 
+  return (t == (time_t) -1
141392
 
+          || (0 < t && answer - 120 <= t && t <= answer + 120));
141393
 
+}
141394
 
+
141395
 
+int
141396
 
+main ()
141397
 
+{
141398
 
+  int result = 0;
141399
 
+  time_t t, delta;
141400
 
+  int i, j;
141401
 
+  int time_t_signed_magnitude = (time_t) ~ (time_t) 0 < (time_t) -1;
141402
 
+  int time_t_signed = ! ((time_t) 0 < (time_t) -1);
141403
 
+
141404
 
+  /* This test makes some buggy mktime implementations loop.
141405
 
+     Give up after 60 seconds; a mktime slower than that
141406
 
+     isn't worth using anyway.  */
141407
 
+  alarm (60);
141408
 
+
141409
 
+  time_t_max = (! time_t_signed
141410
 
+                ? (time_t) -1
141411
 
+                : ((((time_t) 1 << (sizeof (time_t) * CHAR_BIT - 2)) - 1)
141412
 
+                   * 2 + 1));
141413
 
+  time_t_min = (! time_t_signed
141414
 
+                ? (time_t) 0
141415
 
+                : time_t_signed_magnitude
141416
 
+                ? ~ (time_t) 0
141417
 
+                : ~ time_t_max);
141418
 
+
141419
 
+  delta = time_t_max / 997; /* a suitable prime number */
141420
 
+  for (i = 0; i < N_STRINGS; i++)
141421
 
+    {
141422
 
+      if (tz_strings[i])
141423
 
+        putenv (tz_strings[i]);
141424
 
+
141425
 
+      for (t = 0; t <= time_t_max - delta; t += delta)
141426
 
+        if (! mktime_test (t))
141427
 
+          result |= 1;
141428
 
+      if (! (mktime_test ((time_t) 1)
141429
 
+             && mktime_test ((time_t) (60 * 60))
141430
 
+             && mktime_test ((time_t) (60 * 60 * 24))))
141431
 
+        result |= 2;
141432
 
+
141433
 
+      for (j = 1; ; j <<= 1)
141434
 
+        if (! bigtime_test (j))
141435
 
+          result |= 4;
141436
 
+        else if (INT_MAX / 2 < j)
141437
 
+          break;
141438
 
+      if (! bigtime_test (INT_MAX))
141439
 
+        result |= 8;
141440
 
+    }
141441
 
+  if (! irix_6_4_bug ())
141442
 
+    result |= 16;
141443
 
+  if (! spring_forward_gap ())
141444
 
+    result |= 32;
141445
 
+  if (! year_2050_test ())
141446
 
+    result |= 64;
141447
 
+  return result;
141448
 
+}]])],
141449
 
+       [gl_cv_func_working_mktime=yes],
141450
 
+       [gl_cv_func_working_mktime=no],
141451
 
+       [gl_cv_func_working_mktime=no])
141452
 
+    ])
141453
 
+
141454
 
+  if test $gl_cv_func_working_mktime = no; then
141455
 
+    REPLACE_MKTIME=1
141456
 
+  else
141457
 
+    REPLACE_MKTIME=0
141458
 
+  fi
141459
 
+])
141460
 
+m4trace:m4/mktime.m4:231: -1- AC_DEFUN([gl_FUNC_MKTIME_INTERNAL], [
141461
 
+  AC_REQUIRE([gl_FUNC_MKTIME])
141462
 
+  if test $REPLACE_MKTIME = 0; then
141463
 
+    dnl BeOS has __mktime_internal in libc, but other platforms don't.
141464
 
+    AC_CHECK_FUNC([__mktime_internal],
141465
 
+      [AC_DEFINE([mktime_internal], [__mktime_internal],
141466
 
+         [Define to the real name of the mktime_internal function.])
141467
 
+      ],
141468
 
+      [dnl mktime works but it doesn't export __mktime_internal,
141469
 
+       dnl so we need to substitute our own mktime implementation.
141470
 
+       REPLACE_MKTIME=1
141471
 
+      ])
141472
 
+  fi
141473
 
+])
141474
 
+m4trace:m4/mktime.m4:247: -1- AC_DEFUN([gl_PREREQ_MKTIME], [
141475
 
+  AC_REQUIRE([AC_C_INLINE])
141476
 
+])
141477
 
+m4trace:m4/mmap-anon.m4:16: -1- AC_DEFUN([gl_FUNC_MMAP_ANON], [
141478
 
+  dnl Persuade glibc <sys/mman.h> to define MAP_ANONYMOUS.
141479
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
141480
 
+
141481
 
+  # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
141482
 
+  # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
141483
 
+  # irrelevant for anonymous mappings.
141484
 
+  AC_CHECK_FUNC([mmap], [gl_have_mmap=yes], [gl_have_mmap=no])
141485
 
+
141486
 
+  # Try to allow MAP_ANONYMOUS.
141487
 
+  gl_have_mmap_anonymous=no
141488
 
+  if test $gl_have_mmap = yes; then
141489
 
+    AC_MSG_CHECKING([for MAP_ANONYMOUS])
141490
 
+    AC_EGREP_CPP([I cant identify this map], [
141491
 
+#include <sys/mman.h>
141492
 
+#ifdef MAP_ANONYMOUS
141493
 
+    I cant identify this map
141494
 
+#endif
141495
 
+],
141496
 
+      [gl_have_mmap_anonymous=yes])
141497
 
+    if test $gl_have_mmap_anonymous != yes; then
141498
 
+      AC_EGREP_CPP([I cant identify this map], [
141499
 
+#include <sys/mman.h>
141500
 
+#ifdef MAP_ANON
141501
 
+    I cant identify this map
141502
 
+#endif
141503
 
+],
141504
 
+        [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON],
141505
 
+          [Define to a substitute value for mmap()'s MAP_ANONYMOUS flag.])
141506
 
+         gl_have_mmap_anonymous=yes])
141507
 
+    fi
141508
 
+    AC_MSG_RESULT([$gl_have_mmap_anonymous])
141509
 
+    if test $gl_have_mmap_anonymous = yes; then
141510
 
+      AC_DEFINE([HAVE_MAP_ANONYMOUS], [1],
141511
 
+        [Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
141512
 
+         config.h and <sys/mman.h>.])
141513
 
+    fi
141514
 
+  fi
141515
 
+])
141516
 
+m4trace:m4/mode_t.m4:12: -1- AC_DEFUN([gl_PROMOTED_TYPE_MODE_T], [
141517
 
+  AC_REQUIRE([AC_TYPE_MODE_T])
141518
 
+  AC_CACHE_CHECK([for promoted mode_t type], [gl_cv_promoted_mode_t], [
141519
 
+    dnl Assume mode_t promotes to 'int' if and only if it is smaller than 'int',
141520
 
+    dnl and to itself otherwise. This assumption is not guaranteed by the ISO C
141521
 
+    dnl standard, but we don't know of any real-world counterexamples.
141522
 
+    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>]],
141523
 
+      [[typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1];]])],
141524
 
+      [gl_cv_promoted_mode_t='int'],
141525
 
+      [gl_cv_promoted_mode_t='mode_t'])
141526
 
+  ])
141527
 
+  AC_DEFINE_UNQUOTED([PROMOTED_MODE_T], [$gl_cv_promoted_mode_t],
141528
 
+    [Define to the type that is the result of default argument promotions of type mode_t.])
141529
 
+])
141530
 
+m4trace:m4/modechange.m4:8: -1- AC_DEFUN([gl_MODECHANGE], [
141531
 
+  :
141532
 
+])
141533
 
+m4trace:m4/mountlist.m4:7: -1- AC_DEFUN([gl_MOUNTLIST], [
141534
 
+  gl_LIST_MOUNTED_FILE_SYSTEMS([gl_cv_list_mounted_fs=yes],
141535
 
+                               [gl_cv_list_mounted_fs=no])
141536
 
+])
141537
 
+m4trace:m4/mountlist.m4:14: -1- AC_DEFUN([gl_PREREQ_MOUNTLIST_EXTRA], [
141538
 
+  dnl Note gl_LIST_MOUNTED_FILE_SYSTEMS checks for mntent.h, not sys/mntent.h.
141539
 
+  AC_CHECK_HEADERS([sys/mntent.h])
141540
 
+  gl_FSTYPENAME
141541
 
+])
141542
 
+m4trace:m4/mpsort.m4:9: -1- AC_DEFUN([gl_MPSORT], [
141543
 
+  AC_REQUIRE([AC_C_RESTRICT])
141544
 
+])
141545
 
+m4trace:m4/multiarch.m4:21: -1- AC_DEFUN_ONCE([gl_MULTIARCH], [
141546
 
+  dnl Code similar to autoconf-2.63 AC_C_BIGENDIAN.
141547
 
+  gl_cv_c_multiarch=no
141548
 
+  AC_COMPILE_IFELSE(
141549
 
+    [AC_LANG_SOURCE(
141550
 
+      [[#ifndef __APPLE_CC__
141551
 
+         not a universal capable compiler
141552
 
+        #endif
141553
 
+        typedef int dummy;
141554
 
+      ]])],
141555
 
+    [
141556
 
+     dnl Check for potential -arch flags.  It is not universal unless
141557
 
+     dnl there are at least two -arch flags with different values.
141558
 
+     arch=
141559
 
+     prev=
141560
 
+     for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do
141561
 
+       if test -n "$prev"; then
141562
 
+         case $word in
141563
 
+           i?86 | x86_64 | ppc | ppc64)
141564
 
+             if test -z "$arch" || test "$arch" = "$word"; then
141565
 
+               arch="$word"
141566
 
+             else
141567
 
+               gl_cv_c_multiarch=yes
141568
 
+             fi
141569
 
+             ;;
141570
 
+         esac
141571
 
+         prev=
141572
 
+       else
141573
 
+         if test "x$word" = "x-arch"; then
141574
 
+           prev=arch
141575
 
+         fi
141576
 
+       fi
141577
 
+     done
141578
 
+    ])
141579
 
+  if test $gl_cv_c_multiarch = yes; then
141580
 
+    APPLE_UNIVERSAL_BUILD=1
141581
 
+  else
141582
 
+    APPLE_UNIVERSAL_BUILD=0
141583
 
+  fi
141584
 
+  AC_SUBST([APPLE_UNIVERSAL_BUILD])
141585
 
+])
141586
 
+m4trace:m4/nanosleep.m4:14: -1- AC_DEFUN([gl_FUNC_NANOSLEEP], [
141587
 
+ dnl Persuade glibc and Solaris <time.h> to declare nanosleep.
141588
 
+ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
141589
 
+
141590
 
+ AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS])
141591
 
+ AC_CHECK_HEADERS_ONCE([sys/time.h])
141592
 
+ AC_REQUIRE([gl_FUNC_SELECT])
141593
 
+
141594
 
+ nanosleep_save_libs=$LIBS
141595
 
+
141596
 
+ # Solaris 2.5.1 needs -lposix4 to get the nanosleep function.
141597
 
+ # Solaris 7 prefers the library name -lrt to the obsolescent name -lposix4.
141598
 
+ LIB_NANOSLEEP=
141599
 
+ AC_SUBST([LIB_NANOSLEEP])
141600
 
+ AC_SEARCH_LIBS([nanosleep], [rt posix4],
141601
 
+                [test "$ac_cv_search_nanosleep" = "none required" ||
141602
 
+                 LIB_NANOSLEEP=$ac_cv_search_nanosleep])
141603
 
+ if test "x$ac_cv_search_nanosleep" != xno; then
141604
 
+   dnl The system has a nanosleep function.
141605
 
+
141606
 
+   AC_REQUIRE([gl_MULTIARCH])
141607
 
+   if test $APPLE_UNIVERSAL_BUILD = 1; then
141608
 
+     # A universal build on Apple MacOS X platforms.
141609
 
+     # The test result would be 'no (mishandles large arguments)' in 64-bit
141610
 
+     # mode but 'yes' in 32-bit mode. But we need a configuration result that
141611
 
+     # is valid in both modes.
141612
 
+     gl_cv_func_nanosleep='no (mishandles large arguments)'
141613
 
+   fi
141614
 
+
141615
 
+   AC_CACHE_CHECK([for working nanosleep],
141616
 
+    [gl_cv_func_nanosleep],
141617
 
+    [
141618
 
+     AC_RUN_IFELSE(
141619
 
+       [AC_LANG_SOURCE([[
141620
 
+          #include <errno.h>
141621
 
+          #include <limits.h>
141622
 
+          #include <signal.h>
141623
 
+          #if HAVE_SYS_TIME_H
141624
 
+           #include <sys/time.h>
141625
 
+          #endif
141626
 
+          #include <time.h>
141627
 
+          #include <unistd.h>
141628
 
+          #define TYPE_SIGNED(t) (! ((t) 0 < (t) -1))
141629
 
+          #define TYPE_MAXIMUM(t) \
141630
 
+            ((t) (! TYPE_SIGNED (t) \
141631
 
+                  ? (t) -1 \
141632
 
+                  : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
141633
 
+
141634
 
+          static void
141635
 
+          check_for_SIGALRM (int sig)
141636
 
+          {
141637
 
+            if (sig != SIGALRM)
141638
 
+              _exit (1);
141639
 
+          }
141640
 
+
141641
 
+          int
141642
 
+          main ()
141643
 
+          {
141644
 
+            static struct timespec ts_sleep;
141645
 
+            static struct timespec ts_remaining;
141646
 
+            static struct sigaction act;
141647
 
+            if (! nanosleep)
141648
 
+              return 2;
141649
 
+            act.sa_handler = check_for_SIGALRM;
141650
 
+            sigemptyset (&act.sa_mask);
141651
 
+            sigaction (SIGALRM, &act, NULL);
141652
 
+            ts_sleep.tv_sec = 0;
141653
 
+            ts_sleep.tv_nsec = 1;
141654
 
+            alarm (1);
141655
 
+            if (nanosleep (&ts_sleep, NULL) != 0)
141656
 
+              return 3;
141657
 
+            ts_sleep.tv_sec = TYPE_MAXIMUM (time_t);
141658
 
+            ts_sleep.tv_nsec = 999999999;
141659
 
+            alarm (1);
141660
 
+            if (nanosleep (&ts_sleep, &ts_remaining) != -1)
141661
 
+              return 4;
141662
 
+            if (errno != EINTR)
141663
 
+              return 5;
141664
 
+            if (ts_remaining.tv_sec <= TYPE_MAXIMUM (time_t) - 10)
141665
 
+              return 6;
141666
 
+            return 0;
141667
 
+          }]])],
141668
 
+       [gl_cv_func_nanosleep=yes],
141669
 
+       [case $? in dnl (
141670
 
+        4|5|6) gl_cv_func_nanosleep='no (mishandles large arguments)';; dnl (
141671
 
+        *)   gl_cv_func_nanosleep=no;;
141672
 
+        esac],
141673
 
+       [gl_cv_func_nanosleep=cross-compiling])
141674
 
+    ])
141675
 
+   if test "$gl_cv_func_nanosleep" = yes; then
141676
 
+     REPLACE_NANOSLEEP=0
141677
 
+   else
141678
 
+     REPLACE_NANOSLEEP=1
141679
 
+     if test "$gl_cv_func_nanosleep" = 'no (mishandles large arguments)'; then
141680
 
+       AC_DEFINE([HAVE_BUG_BIG_NANOSLEEP], [1],
141681
 
+         [Define to 1 if nanosleep mishandles large arguments.])
141682
 
+     else
141683
 
+       for ac_lib in $LIBSOCKET; do
141684
 
+         case " $LIB_NANOSLEEP " in
141685
 
+         *" $ac_lib "*) ;;
141686
 
+         *) LIB_NANOSLEEP="$LIB_NANOSLEEP $ac_lib";;
141687
 
+         esac
141688
 
+       done
141689
 
+     fi
141690
 
+   fi
141691
 
+ else
141692
 
+   HAVE_NANOSLEEP=0
141693
 
+ fi
141694
 
+ LIBS=$nanosleep_save_libs
141695
 
+])
141696
 
+m4trace:m4/nanosleep.m4:127: -1- AC_DEFUN([gl_PREREQ_NANOSLEEP], [
141697
 
+  AC_CHECK_HEADERS_ONCE([sys/select.h])
141698
 
+  gl_PREREQ_SIG_HANDLER_H
141699
 
+])
141700
 
+m4trace:m4/netdb_h.m4:7: -1- AC_DEFUN([gl_HEADER_NETDB], [
141701
 
+  AC_REQUIRE([gl_NETDB_H_DEFAULTS])
141702
 
+  gl_CHECK_NEXT_HEADERS([netdb.h])
141703
 
+  if test $ac_cv_header_netdb_h = yes; then
141704
 
+    HAVE_NETDB_H=1
141705
 
+  else
141706
 
+    HAVE_NETDB_H=0
141707
 
+  fi
141708
 
+  AC_SUBST([HAVE_NETDB_H])
141709
 
+
141710
 
+  dnl Check for declarations of anything we want to poison if the
141711
 
+  dnl corresponding gnulib module is not in use.
141712
 
+  gl_WARN_ON_USE_PREPARE([[#include <netdb.h>]],
141713
 
+    [getaddrinfo freeaddrinfo gai_strerror getnameinfo])
141714
 
+])
141715
 
+m4trace:m4/netdb_h.m4:24: -1- AC_DEFUN([gl_NETDB_MODULE_INDICATOR], [
141716
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
141717
 
+  AC_REQUIRE([gl_NETDB_H_DEFAULTS])
141718
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
141719
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
141720
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
141721
 
+])
141722
 
+m4trace:m4/netdb_h.m4:33: -1- AC_DEFUN([gl_NETDB_H_DEFAULTS], [
141723
 
+  GNULIB_GETADDRINFO=0; AC_SUBST([GNULIB_GETADDRINFO])
141724
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
141725
 
+  HAVE_STRUCT_ADDRINFO=1;   AC_SUBST([HAVE_STRUCT_ADDRINFO])
141726
 
+  HAVE_DECL_FREEADDRINFO=1; AC_SUBST([HAVE_DECL_FREEADDRINFO])
141727
 
+  HAVE_DECL_GAI_STRERROR=1; AC_SUBST([HAVE_DECL_GAI_STRERROR])
141728
 
+  HAVE_DECL_GETADDRINFO=1;  AC_SUBST([HAVE_DECL_GETADDRINFO])
141729
 
+  HAVE_DECL_GETNAMEINFO=1;  AC_SUBST([HAVE_DECL_GETNAMEINFO])
141730
 
+  REPLACE_GAI_STRERROR=0;   AC_SUBST([REPLACE_GAI_STRERROR])
141731
 
+])
141732
 
+m4trace:m4/netinet_in_h.m4:7: -1- AC_DEFUN([gl_HEADER_NETINET_IN], [
141733
 
+  AC_CACHE_CHECK([whether <netinet/in.h> is self-contained],
141734
 
+    [gl_cv_header_netinet_in_h_selfcontained],
141735
 
+    [
141736
 
+      AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <netinet/in.h>]], [[]])],
141737
 
+        [gl_cv_header_netinet_in_h_selfcontained=yes],
141738
 
+        [gl_cv_header_netinet_in_h_selfcontained=no])
141739
 
+    ])
141740
 
+  if test $gl_cv_header_netinet_in_h_selfcontained = yes; then
141741
 
+    NETINET_IN_H=''
141742
 
+  else
141743
 
+    NETINET_IN_H='netinet/in.h'
141744
 
+    AC_CHECK_HEADERS([netinet/in.h])
141745
 
+    gl_CHECK_NEXT_HEADERS([netinet/in.h])
141746
 
+    if test $ac_cv_header_netinet_in_h = yes; then
141747
 
+      HAVE_NETINET_IN_H=1
141748
 
+    else
141749
 
+      HAVE_NETINET_IN_H=0
141750
 
+    fi
141751
 
+    AC_SUBST([HAVE_NETINET_IN_H])
141752
 
+  fi
141753
 
+  AC_SUBST([NETINET_IN_H])
141754
 
+  AM_CONDITIONAL([GL_GENERATE_NETINET_IN_H], [test -n "$NETINET_IN_H"])
141755
 
+])
141756
 
+m4trace:m4/nl_langinfo.m4:7: -1- AC_DEFUN([gl_FUNC_NL_LANGINFO], [
141757
 
+  AC_REQUIRE([gl_LANGINFO_H_DEFAULTS])
141758
 
+  AC_REQUIRE([gl_LANGINFO_H])
141759
 
+  AC_CHECK_FUNCS_ONCE([nl_langinfo])
141760
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
141761
 
+  if test $ac_cv_func_nl_langinfo = yes; then
141762
 
+    # On Irix 6.5, YESEXPR is defined, but nl_langinfo(YESEXPR) is broken.
141763
 
+    AC_CACHE_CHECK([whether YESEXPR works],
141764
 
+      [gl_cv_func_nl_langinfo_yesexpr_works],
141765
 
+      [AC_RUN_IFELSE(
141766
 
+         [AC_LANG_PROGRAM([[#include <langinfo.h>
141767
 
+]], [[return !*nl_langinfo(YESEXPR);
141768
 
+]])],
141769
 
+         [gl_cv_func_nl_langinfo_yesexpr_works=yes],
141770
 
+         [gl_cv_func_nl_langinfo_yesexpr_works=no],
141771
 
+         [
141772
 
+         case "$host_os" in
141773
 
+                   # Guess no on irix systems.
141774
 
+           irix*)  gl_cv_func_nl_langinfo_yesexpr_works="guessing no";;
141775
 
+                   # Guess yes elsewhere.
141776
 
+           *)      gl_cv_func_nl_langinfo_yesexpr_works="guessing yes";;
141777
 
+         esac
141778
 
+         ])
141779
 
+      ])
141780
 
+    case $gl_cv_func_nl_langinfo_yesexpr_works in
141781
 
+      *yes) FUNC_NL_LANGINFO_YESEXPR_WORKS=1 ;;
141782
 
+      *)    FUNC_NL_LANGINFO_YESEXPR_WORKS=0 ;;
141783
 
+    esac
141784
 
+    AC_DEFINE_UNQUOTED([FUNC_NL_LANGINFO_YESEXPR_WORKS],
141785
 
+      [$FUNC_NL_LANGINFO_YESEXPR_WORKS],
141786
 
+      [Define to 1 if nl_langinfo (YESEXPR) returns a non-empty string.])
141787
 
+    if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1 \
141788
 
+        && test $FUNC_NL_LANGINFO_YESEXPR_WORKS = 1; then
141789
 
+      :
141790
 
+    else
141791
 
+      REPLACE_NL_LANGINFO=1
141792
 
+      AC_DEFINE([REPLACE_NL_LANGINFO], [1],
141793
 
+        [Define if nl_langinfo exists but is overridden by gnulib.])
141794
 
+    fi
141795
 
+  else
141796
 
+    HAVE_NL_LANGINFO=0
141797
 
+  fi
141798
 
+])
141799
 
+m4trace:m4/nls.m4:23: -1- AC_DEFUN([AM_NLS], [
141800
 
+  AC_MSG_CHECKING([whether NLS is requested])
141801
 
+  dnl Default is enabled NLS
141802
 
+  AC_ARG_ENABLE([nls],
141803
 
+    [  --disable-nls           do not use Native Language Support],
141804
 
+    USE_NLS=$enableval, USE_NLS=yes)
141805
 
+  AC_MSG_RESULT([$USE_NLS])
141806
 
+  AC_SUBST([USE_NLS])
141807
 
+])
141808
 
+m4trace:m4/nocrash.m4:18: -1- AC_DEFUN([GL_NOCRASH], [[
141809
 
+#include <stdlib.h>
141810
 
+#if defined __MACH__ && defined __APPLE__
141811
 
+/* Avoid a crash on MacOS X.  */
141812
 
+#include <mach/mach.h>
141813
 
+#include <mach/mach_error.h>
141814
 
+#include <mach/thread_status.h>
141815
 
+#include <mach/exception.h>
141816
 
+#include <mach/task.h>
141817
 
+#include <pthread.h>
141818
 
+/* The exception port on which our thread listens.  */
141819
 
+static mach_port_t our_exception_port;
141820
 
+/* The main function of the thread listening for exceptions of type
141821
 
+   EXC_BAD_ACCESS.  */
141822
 
+static void *
141823
 
+mach_exception_thread (void *arg)
141824
 
+{
141825
 
+  /* Buffer for a message to be received.  */
141826
 
+  struct {
141827
 
+    mach_msg_header_t head;
141828
 
+    mach_msg_body_t msgh_body;
141829
 
+    char data[1024];
141830
 
+  } msg;
141831
 
+  mach_msg_return_t retval;
141832
 
+  /* Wait for a message on the exception port.  */
141833
 
+  retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
141834
 
+                     our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
141835
 
+  if (retval != MACH_MSG_SUCCESS)
141836
 
+    abort ();
141837
 
+  exit (1);
141838
 
+}
141839
 
+static void
141840
 
+nocrash_init (void)
141841
 
+{
141842
 
+  mach_port_t self = mach_task_self ();
141843
 
+  /* Allocate a port on which the thread shall listen for exceptions.  */
141844
 
+  if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
141845
 
+      == KERN_SUCCESS) {
141846
 
+    /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html.  */
141847
 
+    if (mach_port_insert_right (self, our_exception_port, our_exception_port,
141848
 
+                                MACH_MSG_TYPE_MAKE_SEND)
141849
 
+        == KERN_SUCCESS) {
141850
 
+      /* The exceptions we want to catch.  Only EXC_BAD_ACCESS is interesting
141851
 
+         for us.  */
141852
 
+      exception_mask_t mask = EXC_MASK_BAD_ACCESS;
141853
 
+      /* Create the thread listening on the exception port.  */
141854
 
+      pthread_attr_t attr;
141855
 
+      pthread_t thread;
141856
 
+      if (pthread_attr_init (&attr) == 0
141857
 
+          && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
141858
 
+          && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
141859
 
+        pthread_attr_destroy (&attr);
141860
 
+        /* Replace the exception port info for these exceptions with our own.
141861
 
+           Note that we replace the exception port for the entire task, not only
141862
 
+           for a particular thread.  This has the effect that when our exception
141863
 
+           port gets the message, the thread specific exception port has already
141864
 
+           been asked, and we don't need to bother about it.
141865
 
+           See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html.  */
141866
 
+        task_set_exception_ports (self, mask, our_exception_port,
141867
 
+                                  EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
141868
 
+      }
141869
 
+    }
141870
 
+  }
141871
 
+}
141872
 
+#else
141873
 
+/* Avoid a crash on POSIX systems.  */
141874
 
+#include <signal.h>
141875
 
+/* A POSIX signal handler.  */
141876
 
+static void
141877
 
+exception_handler (int sig)
141878
 
+{
141879
 
+  exit (1);
141880
 
+}
141881
 
+static void
141882
 
+nocrash_init (void)
141883
 
+{
141884
 
+#ifdef SIGSEGV
141885
 
+  signal (SIGSEGV, exception_handler);
141886
 
+#endif
141887
 
+#ifdef SIGBUS
141888
 
+  signal (SIGBUS, exception_handler);
141889
 
+#endif
141890
 
+}
141891
 
+#endif
141892
 
+]])
141893
 
+m4trace:m4/nproc.m4:7: -1- AC_DEFUN([gl_NPROC], [
141894
 
+  gl_PREREQ_NPROC
141895
 
+])
141896
 
+m4trace:m4/nproc.m4:13: -1- AC_DEFUN([gl_PREREQ_NPROC], [
141897
 
+  dnl Persuade glibc <sched.h> to declare CPU_SETSIZE, CPU_ISSET etc.
141898
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
141899
 
+
141900
 
+  AC_CHECK_HEADERS([sys/pstat.h sys/sysmp.h sys/param.h],,,
141901
 
+    [AC_INCLUDES_DEFAULT])
141902
 
+  dnl <sys/sysctl.h> requires <sys/param.h> on OpenBSD 4.0.
141903
 
+  AC_CHECK_HEADERS([sys/sysctl.h],,,
141904
 
+    [AC_INCLUDES_DEFAULT
141905
 
+     #if HAVE_SYS_PARAM_H
141906
 
+     # include <sys/param.h>
141907
 
+     #endif
141908
 
+    ])
141909
 
+
141910
 
+  AC_CHECK_FUNCS([sched_getaffinity sched_getaffinity_np \
141911
 
+                  pstat_getdynamic sysmp sysctl])
141912
 
+
141913
 
+  dnl Test whether sched_getaffinity has the expected declaration.
141914
 
+  dnl glibc 2.3.[0-2]:
141915
 
+  dnl   int sched_getaffinity (pid_t, unsigned int, unsigned long int *);
141916
 
+  dnl glibc 2.3.3:
141917
 
+  dnl   int sched_getaffinity (pid_t, cpu_set_t *);
141918
 
+  dnl glibc >= 2.3.4:
141919
 
+  dnl   int sched_getaffinity (pid_t, size_t, cpu_set_t *);
141920
 
+  if test $ac_cv_func_sched_getaffinity = yes; then
141921
 
+    AC_CACHE_CHECK([for glibc compatible sched_getaffinity],
141922
 
+      [gl_cv_func_sched_getaffinity3],
141923
 
+      [AC_COMPILE_IFELSE(
141924
 
+         [AC_LANG_PROGRAM(
141925
 
+            [[#include <sched.h>]],
141926
 
+            [[sched_getaffinity (0, 0, (cpu_set_t *) 0);]])],
141927
 
+         [gl_cv_func_sched_getaffinity3=yes],
141928
 
+         [gl_cv_func_sched_getaffinity3=no])
141929
 
+      ])
141930
 
+    if test $gl_cv_func_sched_getaffinity3 = yes; then
141931
 
+      AC_DEFINE([HAVE_SCHED_GETAFFINITY_LIKE_GLIBC], [1],
141932
 
+        [Define to 1 if sched_getaffinity has a glibc compatible declaration.])
141933
 
+    fi
141934
 
+  fi
141935
 
+])
141936
 
+m4trace:m4/open.m4:7: -1- AC_DEFUN([gl_FUNC_OPEN], [
141937
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
141938
 
+  case "$host_os" in
141939
 
+    mingw* | pw*)
141940
 
+      REPLACE_OPEN=1
141941
 
+      ;;
141942
 
+    *)
141943
 
+      dnl open("foo/") should not create a file when the file name has a
141944
 
+      dnl trailing slash.  FreeBSD only has the problem on symlinks.
141945
 
+      AC_CHECK_FUNCS_ONCE([lstat])
141946
 
+      AC_CACHE_CHECK([whether open recognizes a trailing slash],
141947
 
+        [gl_cv_func_open_slash],
141948
 
+        [# Assume that if we have lstat, we can also check symlinks.
141949
 
+          if test $ac_cv_func_lstat = yes; then
141950
 
+            touch conftest.tmp
141951
 
+            ln -s conftest.tmp conftest.lnk
141952
 
+          fi
141953
 
+          AC_RUN_IFELSE(
141954
 
+            [AC_LANG_SOURCE([[
141955
 
+#include <fcntl.h>
141956
 
+#if HAVE_UNISTD_H
141957
 
+# include <unistd.h>
141958
 
+#endif
141959
 
+int main ()
141960
 
+{
141961
 
+  int result = 0;
141962
 
+#if HAVE_LSTAT
141963
 
+  if (open ("conftest.lnk/", O_RDONLY) != -1)
141964
 
+    result |= 1;
141965
 
+#endif
141966
 
+  if (open ("conftest.sl/", O_CREAT, 0600) >= 0)
141967
 
+    result |= 2;
141968
 
+  return result;
141969
 
+}]])],
141970
 
+            [gl_cv_func_open_slash=yes],
141971
 
+            [gl_cv_func_open_slash=no],
141972
 
+            [
141973
 
+changequote(,)dnl
141974
 
+             case "$host_os" in
141975
 
+               freebsd* | aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*)
141976
 
+                 gl_cv_func_open_slash="guessing no" ;;
141977
 
+               *)
141978
 
+                 gl_cv_func_open_slash="guessing yes" ;;
141979
 
+             esac
141980
 
+changequote([,])dnl
141981
 
+            ])
141982
 
+          rm -f conftest.sl conftest.tmp conftest.lnk
141983
 
+        ])
141984
 
+      case "$gl_cv_func_open_slash" in
141985
 
+        *no)
141986
 
+          AC_DEFINE([OPEN_TRAILING_SLASH_BUG], [1],
141987
 
+            [Define to 1 if open() fails to recognize a trailing slash.])
141988
 
+          REPLACE_OPEN=1
141989
 
+          ;;
141990
 
+      esac
141991
 
+      ;;
141992
 
+  esac
141993
 
+  dnl Replace open() for supporting the gnulib-defined fchdir() function,
141994
 
+  dnl to keep fchdir's bookkeeping up-to-date.
141995
 
+  m4_ifdef([gl_FUNC_FCHDIR], [
141996
 
+    if test $REPLACE_OPEN = 0; then
141997
 
+      gl_TEST_FCHDIR
141998
 
+      if test $HAVE_FCHDIR = 0; then
141999
 
+        REPLACE_OPEN=1
142000
 
+      fi
142001
 
+    fi
142002
 
+  ])
142003
 
+  dnl Replace open() for supporting the gnulib-defined O_NONBLOCK flag.
142004
 
+  m4_ifdef([gl_NONBLOCKING_IO], [
142005
 
+    if test $REPLACE_OPEN = 0; then
142006
 
+      gl_NONBLOCKING_IO
142007
 
+      if test $gl_cv_have_open_O_NONBLOCK != yes; then
142008
 
+        REPLACE_OPEN=1
142009
 
+      fi
142010
 
+    fi
142011
 
+  ])
142012
 
+])
142013
 
+m4trace:m4/open.m4:87: -1- AC_DEFUN([gl_PREREQ_OPEN], [
142014
 
+  AC_REQUIRE([AC_C_INLINE])
142015
 
+  AC_REQUIRE([gl_PROMOTED_TYPE_MODE_T])
142016
 
+  :
142017
 
+])
142018
 
+m4trace:m4/openat.m4:11: -1- AC_DEFUN([gl_FUNC_OPENAT], [
142019
 
+  AC_REQUIRE([gl_FCNTL_H_DEFAULTS])
142020
 
+  GNULIB_OPENAT=1
142021
 
+
142022
 
+  AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
142023
 
+  GNULIB_FCHMODAT=1
142024
 
+  GNULIB_FSTATAT=1
142025
 
+  GNULIB_MKDIRAT=1
142026
 
+
142027
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
142028
 
+  GNULIB_FCHOWNAT=1
142029
 
+  GNULIB_UNLINKAT=1
142030
 
+
142031
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
142032
 
+  AC_CHECK_FUNCS_ONCE([fchmodat lchmod mkdirat openat unlinkat])
142033
 
+  AC_REQUIRE([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
142034
 
+  AC_REQUIRE([gl_FUNC_UNLINK])
142035
 
+  case $ac_cv_func_openat+$gl_cv_func_lstat_dereferences_slashed_symlink in
142036
 
+  yes+yes)
142037
 
+    # GNU/Hurd has unlinkat, but it has the same bug as unlink.
142038
 
+    if test $REPLACE_UNLINK = 1; then
142039
 
+      REPLACE_UNLINKAT=1
142040
 
+    fi ;;
142041
 
+  yes+*)
142042
 
+    # Solaris 9 has *at functions, but uniformly mishandles trailing
142043
 
+    # slash in all of them.
142044
 
+    REPLACE_OPENAT=1
142045
 
+    REPLACE_UNLINKAT=1
142046
 
+    ;;
142047
 
+  *)
142048
 
+    HAVE_OPENAT=0
142049
 
+    HAVE_UNLINKAT=0 # No known system with unlinkat but not openat
142050
 
+    gl_PREREQ_OPENAT;;
142051
 
+  esac
142052
 
+  if test $ac_cv_func_fchmodat != yes; then
142053
 
+    HAVE_FCHMODAT=0
142054
 
+  fi
142055
 
+  if test $ac_cv_func_mkdirat != yes; then
142056
 
+    HAVE_MKDIRAT=0
142057
 
+  fi
142058
 
+  gl_FUNC_FCHOWNAT
142059
 
+  gl_FUNC_FSTATAT
142060
 
+
142061
 
+  dnl This is tested at least via getcwd.c.
142062
 
+  gl_MODULE_INDICATOR([openat])
142063
 
+])
142064
 
+m4trace:m4/openat.m4:60: -1- AC_DEFUN([gl_FUNC_FCHOWNAT_DEREF_BUG], [
142065
 
+  dnl Persuade glibc's <unistd.h> to declare fchownat().
142066
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
142067
 
+
142068
 
+  AC_CACHE_CHECK([whether fchownat works with AT_SYMLINK_NOFOLLOW],
142069
 
+    gl_cv_func_fchownat_nofollow_works,
142070
 
+    [
142071
 
+     gl_dangle=conftest.dangle
142072
 
+     # Remove any remnants of a previous test.
142073
 
+     rm -f $gl_dangle
142074
 
+     # Arrange for deletion of the temporary file this test creates.
142075
 
+     ac_clean_files="$ac_clean_files $gl_dangle"
142076
 
+     ln -s conftest.no-such $gl_dangle
142077
 
+     AC_RUN_IFELSE(
142078
 
+       [AC_LANG_SOURCE(
142079
 
+          [[
142080
 
+#include <fcntl.h>
142081
 
+#include <unistd.h>
142082
 
+#include <stdlib.h>
142083
 
+#include <errno.h>
142084
 
+#include <sys/types.h>
142085
 
+int
142086
 
+main ()
142087
 
+{
142088
 
+  return (fchownat (AT_FDCWD, "$gl_dangle", -1, getgid (),
142089
 
+                    AT_SYMLINK_NOFOLLOW) != 0
142090
 
+          && errno == ENOENT);
142091
 
+}
142092
 
+          ]])],
142093
 
+    [gl_cv_func_fchownat_nofollow_works=yes],
142094
 
+    [gl_cv_func_fchownat_nofollow_works=no],
142095
 
+    [gl_cv_func_fchownat_nofollow_works=no],
142096
 
+    )
142097
 
+  ])
142098
 
+  AS_IF([test $gl_cv_func_fchownat_nofollow_works = no], [$1], [$2])
142099
 
+])
142100
 
+m4trace:m4/openat.m4:99: -1- AC_DEFUN([gl_FUNC_FCHOWNAT_EMPTY_FILENAME_BUG], [
142101
 
+  dnl Persuade glibc's <unistd.h> to declare fchownat().
142102
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
142103
 
+
142104
 
+  AC_CACHE_CHECK([whether fchownat works with an empty file name],
142105
 
+    [gl_cv_func_fchownat_empty_filename_works],
142106
 
+    [AC_RUN_IFELSE(
142107
 
+       [AC_LANG_PROGRAM(
142108
 
+          [[#include <unistd.h>
142109
 
+            #include <fcntl.h>
142110
 
+          ]],
142111
 
+          [[int fd;
142112
 
+            int ret;
142113
 
+            if (mkdir ("conftestdir", 0700) < 0)
142114
 
+              return 2;
142115
 
+            fd = open ("conftestdir", O_RDONLY);
142116
 
+            if (fd < 0)
142117
 
+              return 3;
142118
 
+            ret = fchownat (fd, "", -1, -1, 0);
142119
 
+            close (fd);
142120
 
+            rmdir ("conftestdir");
142121
 
+            return ret == 0;
142122
 
+          ]])],
142123
 
+       [gl_cv_func_fchownat_empty_filename_works=yes],
142124
 
+       [gl_cv_func_fchownat_empty_filename_works=no],
142125
 
+       [gl_cv_func_fchownat_empty_filename_works="guessing no"])
142126
 
+    ])
142127
 
+  AS_IF([test "$gl_cv_func_fchownat_empty_filename_works" != yes], [$1], [$2])
142128
 
+])
142129
 
+m4trace:m4/openat.m4:136: -1- AC_DEFUN([gl_FUNC_FCHOWNAT], [
142130
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
142131
 
+  AC_REQUIRE([gl_FUNC_CHOWN])
142132
 
+  AC_CHECK_FUNC([fchownat],
142133
 
+    [gl_FUNC_FCHOWNAT_DEREF_BUG(
142134
 
+       [REPLACE_FCHOWNAT=1
142135
 
+        AC_DEFINE([FCHOWNAT_NOFOLLOW_BUG], [1],
142136
 
+                  [Define to 1 if your platform has fchownat, but it cannot
142137
 
+                   perform lchown tasks.])
142138
 
+       ])
142139
 
+     gl_FUNC_FCHOWNAT_EMPTY_FILENAME_BUG(
142140
 
+       [REPLACE_FCHOWNAT=1
142141
 
+        AC_DEFINE([FCHOWNAT_EMPTY_FILENAME_BUG], [1],
142142
 
+                  [Define to 1 if your platform has fchownat, but it does
142143
 
+                   not reject an empty file name.])
142144
 
+       ])
142145
 
+     if test $REPLACE_CHOWN = 1; then
142146
 
+       REPLACE_FCHOWNAT=1
142147
 
+     fi],
142148
 
+    [HAVE_FCHOWNAT=0])
142149
 
+])
142150
 
+m4trace:m4/openat.m4:161: -1- AC_DEFUN([gl_FUNC_FSTATAT], [
142151
 
+  AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
142152
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
142153
 
+  AC_REQUIRE([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
142154
 
+  AC_CHECK_FUNCS_ONCE([fstatat])
142155
 
+
142156
 
+  if test $ac_cv_func_fstatat = no; then
142157
 
+    HAVE_FSTATAT=0
142158
 
+  else
142159
 
+    dnl Test for an AIX 7.1 bug; see
142160
 
+    dnl <http://lists.gnu.org/archive/html/bug-tar/2011-09/msg00015.html>.
142161
 
+    AC_CACHE_CHECK([whether fstatat (..., 0) works],
142162
 
+      [gl_cv_func_fstatat_zero_flag],
142163
 
+      [gl_cv_func_fstatat_zero_flag=no
142164
 
+       AC_RUN_IFELSE(
142165
 
+         [AC_LANG_SOURCE(
142166
 
+            [[
142167
 
+              #include <fcntl.h>
142168
 
+              #include <sys/stat.h>
142169
 
+              int
142170
 
+              main (void)
142171
 
+              {
142172
 
+                struct stat a;
142173
 
+                return fstatat (AT_FDCWD, ".", &a, 0) != 0;
142174
 
+              }
142175
 
+            ]])],
142176
 
+         [gl_cv_func_fstatat_zero_flag=yes])])
142177
 
+
142178
 
+    case $gl_cv_func_fstatat_zero_flag+$gl_cv_func_lstat_dereferences_slashed_symlink in
142179
 
+    yes+yes) ;;
142180
 
+    *) REPLACE_FSTATAT=1
142181
 
+       if test $gl_cv_func_fstatat_zero_flag != yes; then
142182
 
+         AC_DEFINE([FSTATAT_ZERO_FLAG_BROKEN], [1],
142183
 
+           [Define to 1 if fstatat (..., 0) does not work,
142184
 
+            as in AIX 7.1.])
142185
 
+       fi
142186
 
+       ;;
142187
 
+    esac
142188
 
+  fi
142189
 
+])
142190
 
+m4trace:m4/openat.m4:203: -1- AC_DEFUN([gl_PREREQ_OPENAT], [
142191
 
+  AC_REQUIRE([AC_C_INLINE])
142192
 
+  AC_REQUIRE([gl_PROMOTED_TYPE_MODE_T])
142193
 
+  :
142194
 
+])
142195
 
+m4trace:m4/parse-datetime.m4:13: -1- AC_DEFUN([gl_C_COMPOUND_LITERALS], [
142196
 
+  AC_CACHE_CHECK([for compound literals], [gl_cv_compound_literals],
142197
 
+  [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[struct s { int i, j; };]],
142198
 
+      [[struct s t = (struct s) { 3, 4 };
142199
 
+        if (t.i != 0) return 0;]])],
142200
 
+    gl_cv_compound_literals=yes,
142201
 
+    gl_cv_compound_literals=no)])
142202
 
+  if test $gl_cv_compound_literals = yes; then
142203
 
+    AC_DEFINE([HAVE_COMPOUND_LITERALS], [1],
142204
 
+      [Define if you have compound literals.])
142205
 
+  fi
142206
 
+])
142207
 
+m4trace:m4/parse-datetime.m4:27: -1- AC_DEFUN([gl_PARSE_DATETIME], [
142208
 
+  dnl Prerequisites of lib/parse-datetime.h.
142209
 
+  AC_REQUIRE([AM_STDBOOL_H])
142210
 
+  AC_REQUIRE([gl_TIMESPEC])
142211
 
+
142212
 
+  dnl Prerequisites of lib/parse-datetime.y.
142213
 
+  AC_REQUIRE([gl_BISON])
142214
 
+  AC_REQUIRE([gl_C_COMPOUND_LITERALS])
142215
 
+  AC_STRUCT_TIMEZONE
142216
 
+  AC_REQUIRE([gl_CLOCK_TIME])
142217
 
+  AC_REQUIRE([gl_TM_GMTOFF])
142218
 
+  AC_COMPILE_IFELSE(
142219
 
+    [AC_LANG_SOURCE([[
142220
 
+#include <time.h> /* for time_t */
142221
 
+#include <limits.h> /* for CHAR_BIT, LONG_MIN, LONG_MAX */
142222
 
+#define TYPE_MINIMUM(t) \
142223
 
+  ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t)))
142224
 
+#define TYPE_MAXIMUM(t) \
142225
 
+  ((t) ((t) 0 < (t) -1 \
142226
 
+        ? (t) -1 \
142227
 
+        : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
142228
 
+typedef int verify_min[2 * (LONG_MIN <= TYPE_MINIMUM (time_t)) - 1];
142229
 
+typedef int verify_max[2 * (TYPE_MAXIMUM (time_t) <= LONG_MAX) - 1];
142230
 
+       ]])],
142231
 
+    [AC_DEFINE([TIME_T_FITS_IN_LONG_INT], [1],
142232
 
+       [Define to 1 if all 'time_t' values fit in a 'long int'.])
142233
 
+    ])
142234
 
+])
142235
 
+m4trace:m4/pathmax.m4:8: -1- AC_DEFUN([gl_PATHMAX], [
142236
 
+  dnl Prerequisites of lib/pathmax.h.
142237
 
+  AC_CHECK_HEADERS_ONCE([sys/param.h])
142238
 
+])
142239
 
+m4trace:m4/perl.m4:13: -1- AC_DEFUN([gl_PERL], [
142240
 
+  dnl FIXME: don't hard-code 5.005
142241
 
+  AC_MSG_CHECKING([for perl5.005 or newer])
142242
 
+  if test "${PERL+set}" = set; then
142243
 
+    # `PERL' is set in the user's environment.
142244
 
+    candidate_perl_names="$PERL"
142245
 
+    perl_specified=yes
142246
 
+  else
142247
 
+    candidate_perl_names='perl perl5'
142248
 
+    perl_specified=no
142249
 
+  fi
142250
 
+
142251
 
+  found=no
142252
 
+  AC_SUBST([PERL])
142253
 
+  PERL="$am_missing_run perl"
142254
 
+  for perl in $candidate_perl_names; do
142255
 
+    # Run test in a subshell; some versions of sh will print an error if
142256
 
+    # an executable is not found, even if stderr is redirected.
142257
 
+    if ( $perl -e 'require 5.005; use File::Compare' ) > /dev/null 2>&1; then
142258
 
+      PERL=$perl
142259
 
+      found=yes
142260
 
+      break
142261
 
+    fi
142262
 
+  done
142263
 
+
142264
 
+  AC_MSG_RESULT([$found])
142265
 
+  test $found = no && AC_MSG_WARN([
142266
 
+WARNING: You don't seem to have perl5.005 or newer installed, or you lack
142267
 
+         a usable version of the Perl File::Compare module.  As a result,
142268
 
+         you may be unable to run a few tests or to regenerate certain
142269
 
+         files if you modify the sources from which they are derived.
142270
 
+] )
142271
 
+])
142272
 
+m4trace:m4/perror.m4:7: -1- AC_DEFUN([gl_FUNC_PERROR], [
142273
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
142274
 
+  AC_REQUIRE([gl_HEADER_ERRNO_H])
142275
 
+  AC_REQUIRE([gl_FUNC_STRERROR_R])
142276
 
+  AC_REQUIRE([gl_FUNC_STRERROR_0])
142277
 
+  dnl We intentionally do not check for the broader REPLACE_STRERROR_R,
142278
 
+  dnl since on glibc systems, strerror_r is replaced only for signature
142279
 
+  dnl issues, and perror is just fine.  Rather, we only want to
142280
 
+  dnl replace perror if strerror_r was replaced for a content fix.
142281
 
+  if test "$ERRNO_H:$REPLACE_STRERROR_0" != :0; then
142282
 
+    dnl The system's perror() cannot know about the new errno values we add
142283
 
+    dnl to <errno.h>, or any fix for strerror(0). Replace it.
142284
 
+    REPLACE_PERROR=1
142285
 
+  fi
142286
 
+  case ${gl_cv_func_strerror_r_works-unset} in
142287
 
+    unset|*yes)
142288
 
+      AC_CACHE_CHECK([whether perror matches strerror],
142289
 
+        [gl_cv_func_perror_works],
142290
 
+        [AC_RUN_IFELSE(
142291
 
+           [AC_LANG_PROGRAM(
142292
 
+              [[#include <errno.h>
142293
 
+                #include <stdio.h>
142294
 
+              ]],
142295
 
+              [[char *str = strerror (-1);
142296
 
+                if (!getenv("CONFTEST_OUTPUT")) return 0;
142297
 
+                if (!str) str = "";
142298
 
+                puts (str);
142299
 
+                errno = -1;
142300
 
+                perror ("");
142301
 
+              ]])],
142302
 
+           [CONFTEST_OUTPUT=1 ./conftest$EXEEXT >conftest.txt1 2>conftest.txt2
142303
 
+            if cmp conftest.txt1 conftest.txt2 >/dev/null; then
142304
 
+              gl_cv_func_perror_works=yes
142305
 
+            else
142306
 
+              gl_cv_func_perror_works=no
142307
 
+            fi
142308
 
+            rm -rf conftest.txt1 conftest.txt2],
142309
 
+           [gl_cv_func_perror_works=no],
142310
 
+           [dnl Guess no when cross-compiling.
142311
 
+            gl_cv_func_perror_works="guessing no"])])
142312
 
+       if test "$gl_cv_func_perror_works" != yes; then
142313
 
+         REPLACE_PERROR=1
142314
 
+       fi ;;
142315
 
+    *) dnl The system's perror() probably inherits the bugs in the
142316
 
+       dnl system's strerror_r(). Replace it.
142317
 
+      REPLACE_PERROR=1 ;;
142318
 
+  esac
142319
 
+])
142320
 
+m4trace:m4/physmem.m4:10: -1- AC_DEFUN([gl_SYS__SYSTEM_CONFIGURATION], [AC_CACHE_CHECK([for external symbol _system_configuration],
142321
 
+                  gl_cv_var__system_configuration,
142322
 
+    [AC_LINK_IFELSE([AC_LANG_PROGRAM(
142323
 
+                      [[#include <sys/systemcfg.h>
142324
 
+                      ]],
142325
 
+                      [[double x = _system_configuration.physmem;
142326
 
+                        if (x > 0.0) return 0;]])],
142327
 
+      [gl_cv_var__system_configuration=yes],
142328
 
+      [gl_cv_var__system_configuration=no])])
142329
 
+
142330
 
+    if test $gl_cv_var__system_configuration = yes; then
142331
 
+      AC_DEFINE([HAVE__SYSTEM_CONFIGURATION], [1],
142332
 
+                [Define to 1 if you have the external variable,
142333
 
+                _system_configuration with a member named physmem.])
142334
 
+    fi
142335
 
+  
142336
 
+])
142337
 
+m4trace:m4/physmem.m4:29: -1- AC_DEFUN([gl_PHYSMEM], [
142338
 
+  # Prerequisites of lib/physmem.c.
142339
 
+  AC_CHECK_HEADERS([sys/pstat.h sys/sysmp.h sys/sysinfo.h \
142340
 
+    machine/hal_sysinfo.h sys/table.h sys/param.h sys/systemcfg.h],,,
142341
 
+    [AC_INCLUDES_DEFAULT])
142342
 
+  dnl <sys/sysctl.h> requires <sys/param.h> on OpenBSD 4.0.
142343
 
+  AC_CHECK_HEADERS([sys/sysctl.h],,,
142344
 
+    [AC_INCLUDES_DEFAULT
142345
 
+     #if HAVE_SYS_PARAM_H
142346
 
+     # include <sys/param.h>
142347
 
+     #endif
142348
 
+    ])
142349
 
+
142350
 
+  AC_CHECK_FUNCS([pstat_getstatic pstat_getdynamic sysmp getsysinfo sysctl table])
142351
 
+  AC_REQUIRE([gl_SYS__SYSTEM_CONFIGURATION])
142352
 
+])
142353
 
+m4trace:m4/pipe.m4:7: -1- AC_DEFUN([gl_FUNC_PIPE], [
142354
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
142355
 
+
142356
 
+  AC_CHECK_FUNCS_ONCE([pipe])
142357
 
+  if test $ac_cv_func_pipe != yes; then
142358
 
+    HAVE_PIPE=0
142359
 
+  fi
142360
 
+])
142361
 
+m4trace:m4/po.m4:23: -1- AC_DEFUN([AM_PO_SUBDIRS], [
142362
 
+  AC_REQUIRE([AC_PROG_MAKE_SET])dnl
142363
 
+  AC_REQUIRE([AC_PROG_INSTALL])dnl
142364
 
+  AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
142365
 
+  AC_REQUIRE([AM_NLS])dnl
142366
 
+
142367
 
+  dnl Release version of the gettext macros. This is used to ensure that
142368
 
+  dnl the gettext macros and po/Makefile.in.in are in sync.
142369
 
+  AC_SUBST([GETTEXT_MACRO_VERSION], [0.18])
142370
 
+
142371
 
+  dnl Perform the following tests also if --disable-nls has been given,
142372
 
+  dnl because they are needed for "make dist" to work.
142373
 
+
142374
 
+  dnl Search for GNU msgfmt in the PATH.
142375
 
+  dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
142376
 
+  dnl The second test excludes FreeBSD msgfmt.
142377
 
+  AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
142378
 
+    [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
142379
 
+     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
142380
 
+    :)
142381
 
+  AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT])
142382
 
+
142383
 
+  dnl Test whether it is GNU msgfmt >= 0.15.
142384
 
+changequote(,)dnl
142385
 
+  case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
142386
 
+    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
142387
 
+    *) MSGFMT_015=$MSGFMT ;;
142388
 
+  esac
142389
 
+changequote([,])dnl
142390
 
+  AC_SUBST([MSGFMT_015])
142391
 
+changequote(,)dnl
142392
 
+  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
142393
 
+    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
142394
 
+    *) GMSGFMT_015=$GMSGFMT ;;
142395
 
+  esac
142396
 
+changequote([,])dnl
142397
 
+  AC_SUBST([GMSGFMT_015])
142398
 
+
142399
 
+  dnl Search for GNU xgettext 0.12 or newer in the PATH.
142400
 
+  dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
142401
 
+  dnl The second test excludes FreeBSD xgettext.
142402
 
+  AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
142403
 
+    [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
142404
 
+     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
142405
 
+    :)
142406
 
+  dnl Remove leftover from FreeBSD xgettext call.
142407
 
+  rm -f messages.po
142408
 
+
142409
 
+  dnl Test whether it is GNU xgettext >= 0.15.
142410
 
+changequote(,)dnl
142411
 
+  case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
142412
 
+    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
142413
 
+    *) XGETTEXT_015=$XGETTEXT ;;
142414
 
+  esac
142415
 
+changequote([,])dnl
142416
 
+  AC_SUBST([XGETTEXT_015])
142417
 
+
142418
 
+  dnl Search for GNU msgmerge 0.11 or newer in the PATH.
142419
 
+  AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
142420
 
+    [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
142421
 
+
142422
 
+  dnl Installation directories.
142423
 
+  dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we
142424
 
+  dnl have to define it here, so that it can be used in po/Makefile.
142425
 
+  test -n "$localedir" || localedir='${datadir}/locale'
142426
 
+  AC_SUBST([localedir])
142427
 
+
142428
 
+  dnl Support for AM_XGETTEXT_OPTION.
142429
 
+  test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
142430
 
+  AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
142431
 
+
142432
 
+  AC_CONFIG_COMMANDS([po-directories], [[
142433
 
+    for ac_file in $CONFIG_FILES; do
142434
 
+      # Support "outfile[:infile[:infile...]]"
142435
 
+      case "$ac_file" in
142436
 
+        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
142437
 
+      esac
142438
 
+      # PO directories have a Makefile.in generated from Makefile.in.in.
142439
 
+      case "$ac_file" in */Makefile.in)
142440
 
+        # Adjust a relative srcdir.
142441
 
+        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
142442
 
+        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
142443
 
+        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
142444
 
+        # In autoconf-2.13 it is called $ac_given_srcdir.
142445
 
+        # In autoconf-2.50 it is called $srcdir.
142446
 
+        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
142447
 
+        case "$ac_given_srcdir" in
142448
 
+          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
142449
 
+          /*) top_srcdir="$ac_given_srcdir" ;;
142450
 
+          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
142451
 
+        esac
142452
 
+        # Treat a directory as a PO directory if and only if it has a
142453
 
+        # POTFILES.in file. This allows packages to have multiple PO
142454
 
+        # directories under different names or in different locations.
142455
 
+        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
142456
 
+          rm -f "$ac_dir/POTFILES"
142457
 
+          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
142458
 
+          gt_tab=`printf '\t'`
142459
 
+          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
142460
 
+          POMAKEFILEDEPS="POTFILES.in"
142461
 
+          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
142462
 
+          # on $ac_dir but don't depend on user-specified configuration
142463
 
+          # parameters.
142464
 
+          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
142465
 
+            # The LINGUAS file contains the set of available languages.
142466
 
+            if test -n "$OBSOLETE_ALL_LINGUAS"; then
142467
 
+              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
142468
 
+            fi
142469
 
+            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
142470
 
+            # Hide the ALL_LINGUAS assigment from automake < 1.5.
142471
 
+            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
142472
 
+            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
142473
 
+          else
142474
 
+            # The set of available languages was given in configure.in.
142475
 
+            # Hide the ALL_LINGUAS assigment from automake < 1.5.
142476
 
+            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
142477
 
+          fi
142478
 
+          # Compute POFILES
142479
 
+          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
142480
 
+          # Compute UPDATEPOFILES
142481
 
+          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
142482
 
+          # Compute DUMMYPOFILES
142483
 
+          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
142484
 
+          # Compute GMOFILES
142485
 
+          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
142486
 
+          case "$ac_given_srcdir" in
142487
 
+            .) srcdirpre= ;;
142488
 
+            *) srcdirpre='$(srcdir)/' ;;
142489
 
+          esac
142490
 
+          POFILES=
142491
 
+          UPDATEPOFILES=
142492
 
+          DUMMYPOFILES=
142493
 
+          GMOFILES=
142494
 
+          for lang in $ALL_LINGUAS; do
142495
 
+            POFILES="$POFILES $srcdirpre$lang.po"
142496
 
+            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
142497
 
+            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
142498
 
+            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
142499
 
+          done
142500
 
+          # CATALOGS depends on both $ac_dir and the user's LINGUAS
142501
 
+          # environment variable.
142502
 
+          INST_LINGUAS=
142503
 
+          if test -n "$ALL_LINGUAS"; then
142504
 
+            for presentlang in $ALL_LINGUAS; do
142505
 
+              useit=no
142506
 
+              if test "%UNSET%" != "$LINGUAS"; then
142507
 
+                desiredlanguages="$LINGUAS"
142508
 
+              else
142509
 
+                desiredlanguages="$ALL_LINGUAS"
142510
 
+              fi
142511
 
+              for desiredlang in $desiredlanguages; do
142512
 
+                # Use the presentlang catalog if desiredlang is
142513
 
+                #   a. equal to presentlang, or
142514
 
+                #   b. a variant of presentlang (because in this case,
142515
 
+                #      presentlang can be used as a fallback for messages
142516
 
+                #      which are not translated in the desiredlang catalog).
142517
 
+                case "$desiredlang" in
142518
 
+                  "$presentlang"*) useit=yes;;
142519
 
+                esac
142520
 
+              done
142521
 
+              if test $useit = yes; then
142522
 
+                INST_LINGUAS="$INST_LINGUAS $presentlang"
142523
 
+              fi
142524
 
+            done
142525
 
+          fi
142526
 
+          CATALOGS=
142527
 
+          if test -n "$INST_LINGUAS"; then
142528
 
+            for lang in $INST_LINGUAS; do
142529
 
+              CATALOGS="$CATALOGS $lang.gmo"
142530
 
+            done
142531
 
+          fi
142532
 
+          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
142533
 
+          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
142534
 
+          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
142535
 
+            if test -f "$f"; then
142536
 
+              case "$f" in
142537
 
+                *.orig | *.bak | *~) ;;
142538
 
+                *) cat "$f" >> "$ac_dir/Makefile" ;;
142539
 
+              esac
142540
 
+            fi
142541
 
+          done
142542
 
+        fi
142543
 
+        ;;
142544
 
+      esac
142545
 
+    done]],
142546
 
+   [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
142547
 
+    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
142548
 
+    # from automake < 1.5.
142549
 
+    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
142550
 
+    # Capture the value of LINGUAS because we need it to compute CATALOGS.
142551
 
+    LINGUAS="${LINGUAS-%UNSET%}"
142552
 
+   ])
142553
 
+])
142554
 
+m4trace:m4/po.m4:219: -1- AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [
142555
 
+  # When this code is run, in config.status, two variables have already been
142556
 
+  # set:
142557
 
+  # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
142558
 
+  # - LINGUAS is the value of the environment variable LINGUAS at configure
142559
 
+  #   time.
142560
 
+
142561
 
+changequote(,)dnl
142562
 
+  # Adjust a relative srcdir.
142563
 
+  ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
142564
 
+  ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
142565
 
+  ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
142566
 
+  # In autoconf-2.13 it is called $ac_given_srcdir.
142567
 
+  # In autoconf-2.50 it is called $srcdir.
142568
 
+  test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
142569
 
+  case "$ac_given_srcdir" in
142570
 
+    .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
142571
 
+    /*) top_srcdir="$ac_given_srcdir" ;;
142572
 
+    *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
142573
 
+  esac
142574
 
+
142575
 
+  # Find a way to echo strings without interpreting backslash.
142576
 
+  if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
142577
 
+    gt_echo='echo'
142578
 
+  else
142579
 
+    if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
142580
 
+      gt_echo='printf %s\n'
142581
 
+    else
142582
 
+      echo_func () {
142583
 
+        cat <<EOT
142584
 
+$*
142585
 
+EOT
142586
 
+      }
142587
 
+      gt_echo='echo_func'
142588
 
+    fi
142589
 
+  fi
142590
 
+
142591
 
+  # A sed script that extracts the value of VARIABLE from a Makefile.
142592
 
+  tab=`printf '\t'`
142593
 
+  sed_x_variable='
142594
 
+# Test if the hold space is empty.
142595
 
+x
142596
 
+s/P/P/
142597
 
+x
142598
 
+ta
142599
 
+# Yes it was empty. Look if we have the expected variable definition.
142600
 
+/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=/{
142601
 
+  # Seen the first line of the variable definition.
142602
 
+  s/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=//
142603
 
+  ba
142604
 
+}
142605
 
+bd
142606
 
+:a
142607
 
+# Here we are processing a line from the variable definition.
142608
 
+# Remove comment, more precisely replace it with a space.
142609
 
+s/#.*$/ /
142610
 
+# See if the line ends in a backslash.
142611
 
+tb
142612
 
+:b
142613
 
+s/\\$//
142614
 
+# Print the line, without the trailing backslash.
142615
 
+p
142616
 
+tc
142617
 
+# There was no trailing backslash. The end of the variable definition is
142618
 
+# reached. Clear the hold space.
142619
 
+s/^.*$//
142620
 
+x
142621
 
+bd
142622
 
+:c
142623
 
+# A trailing backslash means that the variable definition continues in the
142624
 
+# next line. Put a nonempty string into the hold space to indicate this.
142625
 
+s/^.*$/P/
142626
 
+x
142627
 
+:d
142628
 
+'
142629
 
+changequote([,])dnl
142630
 
+
142631
 
+  # Set POTFILES to the value of the Makefile variable POTFILES.
142632
 
+  sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
142633
 
+  POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
142634
 
+  # Compute POTFILES_DEPS as
142635
 
+  #   $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
142636
 
+  POTFILES_DEPS=
142637
 
+  for file in $POTFILES; do
142638
 
+    POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
142639
 
+  done
142640
 
+  POMAKEFILEDEPS=""
142641
 
+
142642
 
+  if test -n "$OBSOLETE_ALL_LINGUAS"; then
142643
 
+    test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
142644
 
+  fi
142645
 
+  if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
142646
 
+    # The LINGUAS file contains the set of available languages.
142647
 
+    ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
142648
 
+    POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
142649
 
+  else
142650
 
+    # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
142651
 
+    sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
142652
 
+    ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
142653
 
+  fi
142654
 
+  # Hide the ALL_LINGUAS assigment from automake < 1.5.
142655
 
+  eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
142656
 
+  # Compute POFILES
142657
 
+  # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
142658
 
+  # Compute UPDATEPOFILES
142659
 
+  # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
142660
 
+  # Compute DUMMYPOFILES
142661
 
+  # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
142662
 
+  # Compute GMOFILES
142663
 
+  # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
142664
 
+  # Compute PROPERTIESFILES
142665
 
+  # as      $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
142666
 
+  # Compute CLASSFILES
142667
 
+  # as      $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
142668
 
+  # Compute QMFILES
142669
 
+  # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
142670
 
+  # Compute MSGFILES
142671
 
+  # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
142672
 
+  # Compute RESOURCESDLLFILES
142673
 
+  # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
142674
 
+  case "$ac_given_srcdir" in
142675
 
+    .) srcdirpre= ;;
142676
 
+    *) srcdirpre='$(srcdir)/' ;;
142677
 
+  esac
142678
 
+  POFILES=
142679
 
+  UPDATEPOFILES=
142680
 
+  DUMMYPOFILES=
142681
 
+  GMOFILES=
142682
 
+  PROPERTIESFILES=
142683
 
+  CLASSFILES=
142684
 
+  QMFILES=
142685
 
+  MSGFILES=
142686
 
+  RESOURCESDLLFILES=
142687
 
+  for lang in $ALL_LINGUAS; do
142688
 
+    POFILES="$POFILES $srcdirpre$lang.po"
142689
 
+    UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
142690
 
+    DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
142691
 
+    GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
142692
 
+    PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
142693
 
+    CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
142694
 
+    QMFILES="$QMFILES $srcdirpre$lang.qm"
142695
 
+    frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
142696
 
+    MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
142697
 
+    frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
142698
 
+    RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
142699
 
+  done
142700
 
+  # CATALOGS depends on both $ac_dir and the user's LINGUAS
142701
 
+  # environment variable.
142702
 
+  INST_LINGUAS=
142703
 
+  if test -n "$ALL_LINGUAS"; then
142704
 
+    for presentlang in $ALL_LINGUAS; do
142705
 
+      useit=no
142706
 
+      if test "%UNSET%" != "$LINGUAS"; then
142707
 
+        desiredlanguages="$LINGUAS"
142708
 
+      else
142709
 
+        desiredlanguages="$ALL_LINGUAS"
142710
 
+      fi
142711
 
+      for desiredlang in $desiredlanguages; do
142712
 
+        # Use the presentlang catalog if desiredlang is
142713
 
+        #   a. equal to presentlang, or
142714
 
+        #   b. a variant of presentlang (because in this case,
142715
 
+        #      presentlang can be used as a fallback for messages
142716
 
+        #      which are not translated in the desiredlang catalog).
142717
 
+        case "$desiredlang" in
142718
 
+          "$presentlang"*) useit=yes;;
142719
 
+        esac
142720
 
+      done
142721
 
+      if test $useit = yes; then
142722
 
+        INST_LINGUAS="$INST_LINGUAS $presentlang"
142723
 
+      fi
142724
 
+    done
142725
 
+  fi
142726
 
+  CATALOGS=
142727
 
+  JAVACATALOGS=
142728
 
+  QTCATALOGS=
142729
 
+  TCLCATALOGS=
142730
 
+  CSHARPCATALOGS=
142731
 
+  if test -n "$INST_LINGUAS"; then
142732
 
+    for lang in $INST_LINGUAS; do
142733
 
+      CATALOGS="$CATALOGS $lang.gmo"
142734
 
+      JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
142735
 
+      QTCATALOGS="$QTCATALOGS $lang.qm"
142736
 
+      frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
142737
 
+      TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
142738
 
+      frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
142739
 
+      CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
142740
 
+    done
142741
 
+  fi
142742
 
+
142743
 
+  sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
142744
 
+  tab=`printf '\t'`
142745
 
+  if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
142746
 
+    # Add dependencies that cannot be formulated as a simple suffix rule.
142747
 
+    for lang in $ALL_LINGUAS; do
142748
 
+      frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
142749
 
+      cat >> "$ac_file.tmp" <<EOF
142750
 
+$frobbedlang.msg: $lang.po
142751
 
+${tab}@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
142752
 
+${tab}\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
142753
 
+EOF
142754
 
+    done
142755
 
+  fi
142756
 
+  if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
142757
 
+    # Add dependencies that cannot be formulated as a simple suffix rule.
142758
 
+    for lang in $ALL_LINGUAS; do
142759
 
+      frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
142760
 
+      cat >> "$ac_file.tmp" <<EOF
142761
 
+$frobbedlang/\$(DOMAIN).resources.dll: $lang.po
142762
 
+${tab}@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
142763
 
+${tab}\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
142764
 
+EOF
142765
 
+    done
142766
 
+  fi
142767
 
+  if test -n "$POMAKEFILEDEPS"; then
142768
 
+    cat >> "$ac_file.tmp" <<EOF
142769
 
+Makefile: $POMAKEFILEDEPS
142770
 
+EOF
142771
 
+  fi
142772
 
+  mv "$ac_file.tmp" "$ac_file"
142773
 
+])
142774
 
+m4trace:m4/po.m4:442: -1- AC_DEFUN([AM_XGETTEXT_OPTION_INIT], [
142775
 
+  XGETTEXT_EXTRA_OPTIONS=
142776
 
+])
142777
 
+m4trace:m4/po.m4:448: -1- AC_DEFUN([AM_XGETTEXT_OPTION], [
142778
 
+  AC_REQUIRE([AM_XGETTEXT_OPTION_INIT])
142779
 
+  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
142780
 
+])
142781
 
+m4trace:m4/posix-shell.m4:15: -1- AC_DEFUN([gl_POSIX_SHELL], [
142782
 
+  AC_CACHE_CHECK([for a shell that conforms to POSIX], [gl_cv_posix_shell],
142783
 
+    [gl_test_posix_shell_script='
142784
 
+       func_return () {
142785
 
+         (exit [$]1)
142786
 
+       }
142787
 
+       func_success () {
142788
 
+         func_return 0
142789
 
+       }
142790
 
+       func_failure () {
142791
 
+         func_return 1
142792
 
+       }
142793
 
+       func_ret_success () {
142794
 
+         return 0
142795
 
+       }
142796
 
+       func_ret_failure () {
142797
 
+         return 1
142798
 
+       }
142799
 
+       subshell_umask_sanity () {
142800
 
+         (umask 22; (umask 0); test $(umask) -eq 22)
142801
 
+       }
142802
 
+       test "[$](echo foo)" = foo &&
142803
 
+       func_success &&
142804
 
+       ! func_failure &&
142805
 
+       func_ret_success &&
142806
 
+       ! func_ret_failure &&
142807
 
+       (set x && func_ret_success y && test x = "[$]1") &&
142808
 
+       subshell_umask_sanity
142809
 
+     '
142810
 
+     for gl_cv_posix_shell in \
142811
 
+         "$CONFIG_SHELL" "$SHELL" /bin/sh /bin/bash /bin/ksh /bin/sh5 no; do
142812
 
+       case $gl_cv_posix_shell in
142813
 
+         /*)
142814
 
+           "$gl_cv_posix_shell" -c "$gl_test_posix_shell_script" 2>/dev/null \
142815
 
+             && break;;
142816
 
+       esac
142817
 
+     done])
142818
 
+
142819
 
+  if test "$gl_cv_posix_shell" != no; then
142820
 
+    POSIX_SHELL=$gl_cv_posix_shell
142821
 
+    PREFERABLY_POSIX_SHELL=$POSIX_SHELL
142822
 
+  else
142823
 
+    POSIX_SHELL=
142824
 
+    PREFERABLY_POSIX_SHELL=/bin/sh
142825
 
+  fi
142826
 
+  AC_SUBST([POSIX_SHELL])
142827
 
+  AC_SUBST([PREFERABLY_POSIX_SHELL])
142828
 
+])
142829
 
+m4trace:m4/posixtm.m4:8: -1- AC_DEFUN([gl_POSIXTM], [
142830
 
+  dnl No prerequisites of lib/posixtm.c.
142831
 
+  :
142832
 
+])
142833
 
+m4trace:m4/posixver.m4:7: -1- AC_DEFUN([gl_POSIXVER], [
142834
 
+  AC_REQUIRE([gl_DEFAULT_POSIX2_VERSION])
142835
 
+])
142836
 
+m4trace:m4/posixver.m4:18: -1- AC_DEFUN([gl_DEFAULT_POSIX2_VERSION], [
142837
 
+  AC_MSG_CHECKING([for desired default level of POSIX conformance])
142838
 
+  gl_default_posix2_version=none-specified
142839
 
+  if test -n "$ac_cv_env_DEFAULT_POSIX2_VERSION_set"; then
142840
 
+    gl_default_posix2_version=$ac_cv_env_DEFAULT_POSIX2_VERSION_value
142841
 
+    AC_DEFINE_UNQUOTED([DEFAULT_POSIX2_VERSION],
142842
 
+      $gl_default_posix2_version,
142843
 
+      [Define the default level of POSIX conformance. The value is of
142844
 
+       the form YYYYMM, specifying the year and month the standard was
142845
 
+       adopted. If not defined here, it defaults to the value of
142846
 
+       _POSIX2_VERSION in <unistd.h>. Define to 199209 to default to
142847
 
+       POSIX 1003.2-1992, which makes standard programs like `head',
142848
 
+       `tail', and `sort' accept obsolete options like `+10' and
142849
 
+       `-10'. Define to 200112 to default to POSIX 1003.1-2001, which
142850
 
+       makes these standard programs treat leading-`+' operands as
142851
 
+       file names and require modern usages like `-n 10' instead of
142852
 
+       `-10'. Whether defined here or not, the default can be
142853
 
+       overridden at run time via the _POSIX2_VERSION environment
142854
 
+       variable.])
142855
 
+  fi
142856
 
+  AC_MSG_RESULT([$gl_default_posix2_version])
142857
 
+  AC_ARG_VAR(
142858
 
+    [DEFAULT_POSIX2_VERSION],
142859
 
+    [POSIX version to default to; see 'config.hin'.])
142860
 
+])
142861
 
+m4trace:m4/prereq.m4:4: -1- m4_pattern_forbid([^gl_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])
142862
 
+m4trace:m4/prereq.m4:28: -1- AC_DEFUN([gl_PREREQ], [
142863
 
+  # gnulib settings.
142864
 
+  AC_REQUIRE([gl_FUNC_NONREENTRANT_EUIDACCESS])
142865
 
+
142866
 
+  # We don't use c-stack.c.
142867
 
+  # AC_REQUIRE([gl_C_STACK])
142868
 
+
142869
 
+  # Invoke macros of modules that may migrate into gnulib.
142870
 
+  # There's no need to list gnulib modules here, since gnulib-tool
142871
 
+  # handles that; see ../bootstrap.conf.
142872
 
+  AC_REQUIRE([gl_EUIDACCESS_STAT])
142873
 
+  AC_REQUIRE([gl_FD_REOPEN])
142874
 
+  AC_REQUIRE([gl_FUNC_XATTR])
142875
 
+  AC_REQUIRE([gl_FUNC_XFTS])
142876
 
+  AC_REQUIRE([gl_STRINTCMP])
142877
 
+  AC_REQUIRE([gl_STRNUMCMP])
142878
 
+])
142879
 
+m4trace:m4/printf-frexp.m4:9: -1- AC_DEFUN([gl_FUNC_PRINTF_FREXP], [
142880
 
+  AC_REQUIRE([gl_CHECK_FREXP_NO_LIBM])
142881
 
+  if test $gl_cv_func_frexp_no_libm = yes; then
142882
 
+    gl_FUNC_FREXP_WORKS
142883
 
+    case "$gl_cv_func_frexp_works" in
142884
 
+      *yes)
142885
 
+        AC_DEFINE([HAVE_FREXP_IN_LIBC], [1],
142886
 
+          [Define if the frexp function is available in libc.])
142887
 
+        ;;
142888
 
+    esac
142889
 
+  fi
142890
 
+
142891
 
+  AC_CACHE_CHECK([whether ldexp can be used without linking with libm],
142892
 
+    [gl_cv_func_ldexp_no_libm],
142893
 
+    [
142894
 
+      AC_LINK_IFELSE(
142895
 
+        [AC_LANG_PROGRAM(
142896
 
+           [[#include <math.h>
142897
 
+             double x;
142898
 
+             int y;]],
142899
 
+           [[return ldexp (x, y) < 1;]])],
142900
 
+        [gl_cv_func_ldexp_no_libm=yes],
142901
 
+        [gl_cv_func_ldexp_no_libm=no])
142902
 
+    ])
142903
 
+  if test $gl_cv_func_ldexp_no_libm = yes; then
142904
 
+    AC_DEFINE([HAVE_LDEXP_IN_LIBC], [1],
142905
 
+      [Define if the ldexp function is available in libc.])
142906
 
+  fi
142907
 
+])
142908
 
+m4trace:m4/printf-frexpl.m4:9: -1- AC_DEFUN([gl_FUNC_PRINTF_FREXPL], [
142909
 
+  AC_REQUIRE([gl_MATH_H_DEFAULTS])
142910
 
+  dnl Subset of gl_FUNC_FREXPL_NO_LIBM.
142911
 
+  gl_CHECK_FREXPL_NO_LIBM
142912
 
+  if test $gl_cv_func_frexpl_no_libm = yes; then
142913
 
+    gl_FUNC_FREXPL_WORKS
142914
 
+    case "$gl_cv_func_frexpl_works" in
142915
 
+      *yes) gl_func_frexpl_no_libm=yes ;;
142916
 
+      *)    gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;;
142917
 
+    esac
142918
 
+  else
142919
 
+    gl_func_frexpl_no_libm=no
142920
 
+    dnl Set REPLACE_FREXPL here because the system may have frexpl in libm.
142921
 
+    REPLACE_FREXPL=1
142922
 
+  fi
142923
 
+  if test $gl_func_frexpl_no_libm = yes; then
142924
 
+    AC_DEFINE([HAVE_FREXPL_IN_LIBC], [1],
142925
 
+      [Define if the frexpl function is available in libc.])
142926
 
+    dnl Also check whether it's declared.
142927
 
+    dnl MacOS X 10.3 has frexpl() in libc but doesn't declare it in <math.h>.
142928
 
+    AC_CHECK_DECL([frexpl], , [HAVE_DECL_FREXPL=0], [#include <math.h>])
142929
 
+  fi
142930
 
+
142931
 
+  gl_CHECK_LDEXPL_NO_LIBM
142932
 
+  if test $gl_cv_func_ldexpl_no_libm = yes; then
142933
 
+    gl_FUNC_LDEXPL_WORKS
142934
 
+    case "$gl_cv_func_ldexpl_works" in
142935
 
+      *yes)
142936
 
+        AC_DEFINE([HAVE_LDEXPL_IN_LIBC], [1],
142937
 
+          [Define if the ldexpl function is available in libc.])
142938
 
+        dnl Also check whether it's declared.
142939
 
+        dnl MacOS X 10.3 has ldexpl() in libc but doesn't declare it in <math.h>.
142940
 
+        AC_CHECK_DECL([ldexpl], , [HAVE_DECL_LDEXPL=0], [#include <math.h>])
142941
 
+        ;;
142942
 
+    esac
142943
 
+  fi
142944
 
+])
142945
 
+m4trace:m4/printf.m4:11: -1- AC_DEFUN([gl_PRINTF_SIZES_C99], [
142946
 
+  AC_REQUIRE([AC_PROG_CC])
142947
 
+  AC_REQUIRE([gl_AC_HEADER_STDINT_H])
142948
 
+  AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
142949
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
142950
 
+  AC_CACHE_CHECK([whether printf supports size specifiers as in C99],
142951
 
+    [gl_cv_func_printf_sizes_c99],
142952
 
+    [
142953
 
+      AC_RUN_IFELSE(
142954
 
+        [AC_LANG_SOURCE([[
142955
 
+#include <stddef.h>
142956
 
+#include <stdio.h>
142957
 
+#include <string.h>
142958
 
+#include <sys/types.h>
142959
 
+#if HAVE_STDINT_H_WITH_UINTMAX
142960
 
+# include <stdint.h>
142961
 
+#endif
142962
 
+#if HAVE_INTTYPES_H_WITH_UINTMAX
142963
 
+# include <inttypes.h>
142964
 
+#endif
142965
 
+static char buf[100];
142966
 
+int main ()
142967
 
+{
142968
 
+  int result = 0;
142969
 
+#if HAVE_STDINT_H_WITH_UINTMAX || HAVE_INTTYPES_H_WITH_UINTMAX
142970
 
+  buf[0] = '\0';
142971
 
+  if (sprintf (buf, "%ju %d", (uintmax_t) 12345671, 33, 44, 55) < 0
142972
 
+      || strcmp (buf, "12345671 33") != 0)
142973
 
+    result |= 1;
142974
 
+#endif
142975
 
+  buf[0] = '\0';
142976
 
+  if (sprintf (buf, "%zu %d", (size_t) 12345672, 33, 44, 55) < 0
142977
 
+      || strcmp (buf, "12345672 33") != 0)
142978
 
+    result |= 2;
142979
 
+  buf[0] = '\0';
142980
 
+  if (sprintf (buf, "%tu %d", (ptrdiff_t) 12345673, 33, 44, 55) < 0
142981
 
+      || strcmp (buf, "12345673 33") != 0)
142982
 
+    result |= 4;
142983
 
+  buf[0] = '\0';
142984
 
+  if (sprintf (buf, "%Lg %d", (long double) 1.5, 33, 44, 55) < 0
142985
 
+      || strcmp (buf, "1.5 33") != 0)
142986
 
+    result |= 8;
142987
 
+  return result;
142988
 
+}]])],
142989
 
+        [gl_cv_func_printf_sizes_c99=yes],
142990
 
+        [gl_cv_func_printf_sizes_c99=no],
142991
 
+        [
142992
 
+changequote(,)dnl
142993
 
+         case "$host_os" in
142994
 
+                                 # Guess yes on glibc systems.
142995
 
+           *-gnu*)               gl_cv_func_printf_sizes_c99="guessing yes";;
142996
 
+                                 # Guess yes on FreeBSD >= 5.
142997
 
+           freebsd[1-4]*)        gl_cv_func_printf_sizes_c99="guessing no";;
142998
 
+           freebsd* | kfreebsd*) gl_cv_func_printf_sizes_c99="guessing yes";;
142999
 
+                                 # Guess yes on MacOS X >= 10.3.
143000
 
+           darwin[1-6].*)        gl_cv_func_printf_sizes_c99="guessing no";;
143001
 
+           darwin*)              gl_cv_func_printf_sizes_c99="guessing yes";;
143002
 
+                                 # Guess yes on OpenBSD >= 3.9.
143003
 
+           openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
143004
 
+                                 gl_cv_func_printf_sizes_c99="guessing no";;
143005
 
+           openbsd*)             gl_cv_func_printf_sizes_c99="guessing yes";;
143006
 
+                                 # Guess yes on Solaris >= 2.10.
143007
 
+           solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
143008
 
+           solaris*)             gl_cv_func_printf_sizes_c99="guessing no";;
143009
 
+                                 # Guess yes on NetBSD >= 3.
143010
 
+           netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
143011
 
+                                 gl_cv_func_printf_sizes_c99="guessing no";;
143012
 
+           netbsd*)              gl_cv_func_printf_sizes_c99="guessing yes";;
143013
 
+                                 # If we don't know, assume the worst.
143014
 
+           *)                    gl_cv_func_printf_sizes_c99="guessing no";;
143015
 
+         esac
143016
 
+changequote([,])dnl
143017
 
+        ])
143018
 
+    ])
143019
 
+])
143020
 
+m4trace:m4/printf.m4:92: -1- AC_DEFUN([gl_PRINTF_LONG_DOUBLE], [
143021
 
+  AC_REQUIRE([AC_PROG_CC])
143022
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
143023
 
+  AC_CACHE_CHECK([whether printf supports 'long double' arguments],
143024
 
+    [gl_cv_func_printf_long_double],
143025
 
+    [
143026
 
+      AC_RUN_IFELSE(
143027
 
+        [AC_LANG_SOURCE([[
143028
 
+#include <stdio.h>
143029
 
+#include <string.h>
143030
 
+static char buf[10000];
143031
 
+int main ()
143032
 
+{
143033
 
+  int result = 0;
143034
 
+  buf[0] = '\0';
143035
 
+  if (sprintf (buf, "%Lf %d", 1.75L, 33, 44, 55) < 0
143036
 
+      || strcmp (buf, "1.750000 33") != 0)
143037
 
+    result |= 1;
143038
 
+  buf[0] = '\0';
143039
 
+  if (sprintf (buf, "%Le %d", 1.75L, 33, 44, 55) < 0
143040
 
+      || strcmp (buf, "1.750000e+00 33") != 0)
143041
 
+    result |= 2;
143042
 
+  buf[0] = '\0';
143043
 
+  if (sprintf (buf, "%Lg %d", 1.75L, 33, 44, 55) < 0
143044
 
+      || strcmp (buf, "1.75 33") != 0)
143045
 
+    result |= 4;
143046
 
+  return result;
143047
 
+}]])],
143048
 
+        [gl_cv_func_printf_long_double=yes],
143049
 
+        [gl_cv_func_printf_long_double=no],
143050
 
+        [
143051
 
+changequote(,)dnl
143052
 
+         case "$host_os" in
143053
 
+           beos*)        gl_cv_func_printf_long_double="guessing no";;
143054
 
+           mingw* | pw*) gl_cv_func_printf_long_double="guessing no";;
143055
 
+           *)            gl_cv_func_printf_long_double="guessing yes";;
143056
 
+         esac
143057
 
+changequote([,])dnl
143058
 
+        ])
143059
 
+    ])
143060
 
+])
143061
 
+m4trace:m4/printf.m4:140: -1- AC_DEFUN([gl_PRINTF_INFINITE], [
143062
 
+  AC_REQUIRE([AC_PROG_CC])
143063
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
143064
 
+  AC_CACHE_CHECK([whether printf supports infinite 'double' arguments],
143065
 
+    [gl_cv_func_printf_infinite],
143066
 
+    [
143067
 
+      AC_RUN_IFELSE(
143068
 
+        [AC_LANG_SOURCE([[
143069
 
+#include <stdio.h>
143070
 
+#include <string.h>
143071
 
+static int
143072
 
+strisnan (const char *string, size_t start_index, size_t end_index)
143073
 
+{
143074
 
+  if (start_index < end_index)
143075
 
+    {
143076
 
+      if (string[start_index] == '-')
143077
 
+        start_index++;
143078
 
+      if (start_index + 3 <= end_index
143079
 
+          && memcmp (string + start_index, "nan", 3) == 0)
143080
 
+        {
143081
 
+          start_index += 3;
143082
 
+          if (start_index == end_index
143083
 
+              || (string[start_index] == '(' && string[end_index - 1] == ')'))
143084
 
+            return 1;
143085
 
+        }
143086
 
+    }
143087
 
+  return 0;
143088
 
+}
143089
 
+static int
143090
 
+have_minus_zero ()
143091
 
+{
143092
 
+  static double plus_zero = 0.0;
143093
 
+  double minus_zero = - plus_zero;
143094
 
+  return memcmp (&plus_zero, &minus_zero, sizeof (double)) != 0;
143095
 
+}
143096
 
+static char buf[10000];
143097
 
+static double zero = 0.0;
143098
 
+int main ()
143099
 
+{
143100
 
+  int result = 0;
143101
 
+  if (sprintf (buf, "%f", 1.0 / 0.0) < 0
143102
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
143103
 
+    result |= 1;
143104
 
+  if (sprintf (buf, "%f", -1.0 / 0.0) < 0
143105
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
143106
 
+    result |= 1;
143107
 
+  if (sprintf (buf, "%f", zero / zero) < 0
143108
 
+      || !strisnan (buf, 0, strlen (buf)))
143109
 
+    result |= 2;
143110
 
+  if (sprintf (buf, "%e", 1.0 / 0.0) < 0
143111
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
143112
 
+    result |= 4;
143113
 
+  if (sprintf (buf, "%e", -1.0 / 0.0) < 0
143114
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
143115
 
+    result |= 4;
143116
 
+  if (sprintf (buf, "%e", zero / zero) < 0
143117
 
+      || !strisnan (buf, 0, strlen (buf)))
143118
 
+    result |= 8;
143119
 
+  if (sprintf (buf, "%g", 1.0 / 0.0) < 0
143120
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
143121
 
+    result |= 16;
143122
 
+  if (sprintf (buf, "%g", -1.0 / 0.0) < 0
143123
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
143124
 
+    result |= 16;
143125
 
+  if (sprintf (buf, "%g", zero / zero) < 0
143126
 
+      || !strisnan (buf, 0, strlen (buf)))
143127
 
+    result |= 32;
143128
 
+  /* This test fails on HP-UX 10.20.  */
143129
 
+  if (have_minus_zero ())
143130
 
+    if (sprintf (buf, "%g", - zero) < 0
143131
 
+        || strcmp (buf, "-0") != 0)
143132
 
+    result |= 64;
143133
 
+  return result;
143134
 
+}]])],
143135
 
+        [gl_cv_func_printf_infinite=yes],
143136
 
+        [gl_cv_func_printf_infinite=no],
143137
 
+        [
143138
 
+changequote(,)dnl
143139
 
+         case "$host_os" in
143140
 
+                                 # Guess yes on glibc systems.
143141
 
+           *-gnu*)               gl_cv_func_printf_infinite="guessing yes";;
143142
 
+                                 # Guess yes on FreeBSD >= 6.
143143
 
+           freebsd[1-5]*)        gl_cv_func_printf_infinite="guessing no";;
143144
 
+           freebsd* | kfreebsd*) gl_cv_func_printf_infinite="guessing yes";;
143145
 
+                                 # Guess yes on MacOS X >= 10.3.
143146
 
+           darwin[1-6].*)        gl_cv_func_printf_infinite="guessing no";;
143147
 
+           darwin*)              gl_cv_func_printf_infinite="guessing yes";;
143148
 
+                                 # Guess yes on HP-UX >= 11.
143149
 
+           hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite="guessing no";;
143150
 
+           hpux*)                gl_cv_func_printf_infinite="guessing yes";;
143151
 
+                                 # Guess yes on NetBSD >= 3.
143152
 
+           netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
143153
 
+                                 gl_cv_func_printf_infinite="guessing no";;
143154
 
+           netbsd*)              gl_cv_func_printf_infinite="guessing yes";;
143155
 
+                                 # Guess yes on BeOS.
143156
 
+           beos*)                gl_cv_func_printf_infinite="guessing yes";;
143157
 
+                                 # If we don't know, assume the worst.
143158
 
+           *)                    gl_cv_func_printf_infinite="guessing no";;
143159
 
+         esac
143160
 
+changequote([,])dnl
143161
 
+        ])
143162
 
+    ])
143163
 
+])
143164
 
+m4trace:m4/printf.m4:249: -1- AC_DEFUN([gl_PRINTF_INFINITE_LONG_DOUBLE], [
143165
 
+  AC_REQUIRE([gl_PRINTF_LONG_DOUBLE])
143166
 
+  AC_REQUIRE([AC_PROG_CC])
143167
 
+  AC_REQUIRE([gl_BIGENDIAN])
143168
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
143169
 
+  dnl The user can set or unset the variable gl_printf_safe to indicate
143170
 
+  dnl that he wishes a safe handling of non-IEEE-754 'long double' values.
143171
 
+  if test -n "$gl_printf_safe"; then
143172
 
+    AC_DEFINE([CHECK_PRINTF_SAFE], [1],
143173
 
+      [Define if you wish *printf() functions that have a safe handling of
143174
 
+       non-IEEE-754 'long double' values.])
143175
 
+  fi
143176
 
+  case "$gl_cv_func_printf_long_double" in
143177
 
+    *yes)
143178
 
+      AC_CACHE_CHECK([whether printf supports infinite 'long double' arguments],
143179
 
+        [gl_cv_func_printf_infinite_long_double],
143180
 
+        [
143181
 
+          AC_RUN_IFELSE(
143182
 
+            [AC_LANG_SOURCE([[
143183
 
+]GL_NOCRASH[
143184
 
+#include <float.h>
143185
 
+#include <stdio.h>
143186
 
+#include <string.h>
143187
 
+static int
143188
 
+strisnan (const char *string, size_t start_index, size_t end_index)
143189
 
+{
143190
 
+  if (start_index < end_index)
143191
 
+    {
143192
 
+      if (string[start_index] == '-')
143193
 
+        start_index++;
143194
 
+      if (start_index + 3 <= end_index
143195
 
+          && memcmp (string + start_index, "nan", 3) == 0)
143196
 
+        {
143197
 
+          start_index += 3;
143198
 
+          if (start_index == end_index
143199
 
+              || (string[start_index] == '(' && string[end_index - 1] == ')'))
143200
 
+            return 1;
143201
 
+        }
143202
 
+    }
143203
 
+  return 0;
143204
 
+}
143205
 
+static char buf[10000];
143206
 
+static long double zeroL = 0.0L;
143207
 
+int main ()
143208
 
+{
143209
 
+  int result = 0;
143210
 
+  nocrash_init();
143211
 
+  if (sprintf (buf, "%Lf", 1.0L / 0.0L) < 0
143212
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
143213
 
+    result |= 1;
143214
 
+  if (sprintf (buf, "%Lf", -1.0L / 0.0L) < 0
143215
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
143216
 
+    result |= 1;
143217
 
+  if (sprintf (buf, "%Lf", zeroL / zeroL) < 0
143218
 
+      || !strisnan (buf, 0, strlen (buf)))
143219
 
+    result |= 1;
143220
 
+  if (sprintf (buf, "%Le", 1.0L / 0.0L) < 0
143221
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
143222
 
+    result |= 1;
143223
 
+  if (sprintf (buf, "%Le", -1.0L / 0.0L) < 0
143224
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
143225
 
+    result |= 1;
143226
 
+  if (sprintf (buf, "%Le", zeroL / zeroL) < 0
143227
 
+      || !strisnan (buf, 0, strlen (buf)))
143228
 
+    result |= 1;
143229
 
+  if (sprintf (buf, "%Lg", 1.0L / 0.0L) < 0
143230
 
+      || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
143231
 
+    result |= 1;
143232
 
+  if (sprintf (buf, "%Lg", -1.0L / 0.0L) < 0
143233
 
+      || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
143234
 
+    result |= 1;
143235
 
+  if (sprintf (buf, "%Lg", zeroL / zeroL) < 0
143236
 
+      || !strisnan (buf, 0, strlen (buf)))
143237
 
+    result |= 1;
143238
 
+#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_))
143239
 
+/* Representation of an 80-bit 'long double' as an initializer for a sequence
143240
 
+   of 'unsigned int' words.  */
143241
 
+# ifdef WORDS_BIGENDIAN
143242
 
+#  define LDBL80_WORDS(exponent,manthi,mantlo) \
143243
 
+     { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \
143244
 
+       ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16),    \
143245
 
+       (unsigned int) (mantlo) << 16                                        \
143246
 
+     }
143247
 
+# else
143248
 
+#  define LDBL80_WORDS(exponent,manthi,mantlo) \
143249
 
+     { mantlo, manthi, exponent }
143250
 
+# endif
143251
 
+  { /* Quiet NaN.  */
143252
 
+    static union { unsigned int word[4]; long double value; } x =
143253
 
+      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
143254
 
+    if (sprintf (buf, "%Lf", x.value) < 0
143255
 
+        || !strisnan (buf, 0, strlen (buf)))
143256
 
+      result |= 2;
143257
 
+    if (sprintf (buf, "%Le", x.value) < 0
143258
 
+        || !strisnan (buf, 0, strlen (buf)))
143259
 
+      result |= 2;
143260
 
+    if (sprintf (buf, "%Lg", x.value) < 0
143261
 
+        || !strisnan (buf, 0, strlen (buf)))
143262
 
+      result |= 2;
143263
 
+  }
143264
 
+  {
143265
 
+    /* Signalling NaN.  */
143266
 
+    static union { unsigned int word[4]; long double value; } x =
143267
 
+      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
143268
 
+    if (sprintf (buf, "%Lf", x.value) < 0
143269
 
+        || !strisnan (buf, 0, strlen (buf)))
143270
 
+      result |= 2;
143271
 
+    if (sprintf (buf, "%Le", x.value) < 0
143272
 
+        || !strisnan (buf, 0, strlen (buf)))
143273
 
+      result |= 2;
143274
 
+    if (sprintf (buf, "%Lg", x.value) < 0
143275
 
+        || !strisnan (buf, 0, strlen (buf)))
143276
 
+      result |= 2;
143277
 
+  }
143278
 
+  { /* Pseudo-NaN.  */
143279
 
+    static union { unsigned int word[4]; long double value; } x =
143280
 
+      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
143281
 
+    if (sprintf (buf, "%Lf", x.value) < 0
143282
 
+        || !strisnan (buf, 0, strlen (buf)))
143283
 
+      result |= 4;
143284
 
+    if (sprintf (buf, "%Le", x.value) < 0
143285
 
+        || !strisnan (buf, 0, strlen (buf)))
143286
 
+      result |= 4;
143287
 
+    if (sprintf (buf, "%Lg", x.value) < 0
143288
 
+        || !strisnan (buf, 0, strlen (buf)))
143289
 
+      result |= 4;
143290
 
+  }
143291
 
+  { /* Pseudo-Infinity.  */
143292
 
+    static union { unsigned int word[4]; long double value; } x =
143293
 
+      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
143294
 
+    if (sprintf (buf, "%Lf", x.value) < 0
143295
 
+        || !strisnan (buf, 0, strlen (buf)))
143296
 
+      result |= 8;
143297
 
+    if (sprintf (buf, "%Le", x.value) < 0
143298
 
+        || !strisnan (buf, 0, strlen (buf)))
143299
 
+      result |= 8;
143300
 
+    if (sprintf (buf, "%Lg", x.value) < 0
143301
 
+        || !strisnan (buf, 0, strlen (buf)))
143302
 
+      result |= 8;
143303
 
+  }
143304
 
+  { /* Pseudo-Zero.  */
143305
 
+    static union { unsigned int word[4]; long double value; } x =
143306
 
+      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
143307
 
+    if (sprintf (buf, "%Lf", x.value) < 0
143308
 
+        || !strisnan (buf, 0, strlen (buf)))
143309
 
+      result |= 16;
143310
 
+    if (sprintf (buf, "%Le", x.value) < 0
143311
 
+        || !strisnan (buf, 0, strlen (buf)))
143312
 
+      result |= 16;
143313
 
+    if (sprintf (buf, "%Lg", x.value) < 0
143314
 
+        || !strisnan (buf, 0, strlen (buf)))
143315
 
+      result |= 16;
143316
 
+  }
143317
 
+  { /* Unnormalized number.  */
143318
 
+    static union { unsigned int word[4]; long double value; } x =
143319
 
+      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
143320
 
+    if (sprintf (buf, "%Lf", x.value) < 0
143321
 
+        || !strisnan (buf, 0, strlen (buf)))
143322
 
+      result |= 32;
143323
 
+    if (sprintf (buf, "%Le", x.value) < 0
143324
 
+        || !strisnan (buf, 0, strlen (buf)))
143325
 
+      result |= 32;
143326
 
+    if (sprintf (buf, "%Lg", x.value) < 0
143327
 
+        || !strisnan (buf, 0, strlen (buf)))
143328
 
+      result |= 32;
143329
 
+  }
143330
 
+  { /* Pseudo-Denormal.  */
143331
 
+    static union { unsigned int word[4]; long double value; } x =
143332
 
+      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
143333
 
+    if (sprintf (buf, "%Lf", x.value) < 0
143334
 
+        || !strisnan (buf, 0, strlen (buf)))
143335
 
+      result |= 64;
143336
 
+    if (sprintf (buf, "%Le", x.value) < 0
143337
 
+        || !strisnan (buf, 0, strlen (buf)))
143338
 
+      result |= 64;
143339
 
+    if (sprintf (buf, "%Lg", x.value) < 0
143340
 
+        || !strisnan (buf, 0, strlen (buf)))
143341
 
+      result |= 64;
143342
 
+  }
143343
 
+#endif
143344
 
+  return result;
143345
 
+}]])],
143346
 
+            [gl_cv_func_printf_infinite_long_double=yes],
143347
 
+            [gl_cv_func_printf_infinite_long_double=no],
143348
 
+            [
143349
 
+changequote(,)dnl
143350
 
+             case "$host_cpu" in
143351
 
+                                     # Guess no on ia64, x86_64, i386.
143352
 
+               ia64 | x86_64 | i*86) gl_cv_func_printf_infinite_long_double="guessing no";;
143353
 
+               *)
143354
 
+                 case "$host_os" in
143355
 
+                                         # Guess yes on glibc systems.
143356
 
+                   *-gnu*)               gl_cv_func_printf_infinite_long_double="guessing yes";;
143357
 
+                                         # Guess yes on FreeBSD >= 6.
143358
 
+                   freebsd[1-5]*)        gl_cv_func_printf_infinite_long_double="guessing no";;
143359
 
+                   freebsd* | kfreebsd*) gl_cv_func_printf_infinite_long_double="guessing yes";;
143360
 
+                                         # Guess yes on HP-UX >= 11.
143361
 
+                   hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite_long_double="guessing no";;
143362
 
+                   hpux*)                gl_cv_func_printf_infinite_long_double="guessing yes";;
143363
 
+                                         # If we don't know, assume the worst.
143364
 
+                   *)                    gl_cv_func_printf_infinite_long_double="guessing no";;
143365
 
+                 esac
143366
 
+                 ;;
143367
 
+             esac
143368
 
+changequote([,])dnl
143369
 
+            ])
143370
 
+        ])
143371
 
+      ;;
143372
 
+    *)
143373
 
+      gl_cv_func_printf_infinite_long_double="irrelevant"
143374
 
+      ;;
143375
 
+  esac
143376
 
+])
143377
 
+m4trace:m4/printf.m4:469: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_A], [
143378
 
+  AC_REQUIRE([AC_PROG_CC])
143379
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
143380
 
+  AC_CACHE_CHECK([whether printf supports the 'a' and 'A' directives],
143381
 
+    [gl_cv_func_printf_directive_a],
143382
 
+    [
143383
 
+      AC_RUN_IFELSE(
143384
 
+        [AC_LANG_SOURCE([[
143385
 
+#include <stdio.h>
143386
 
+#include <string.h>
143387
 
+static char buf[100];
143388
 
+int main ()
143389
 
+{
143390
 
+  int result = 0;
143391
 
+  if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0
143392
 
+      || (strcmp (buf, "0x1.922p+1 33") != 0
143393
 
+          && strcmp (buf, "0x3.244p+0 33") != 0
143394
 
+          && strcmp (buf, "0x6.488p-1 33") != 0
143395
 
+          && strcmp (buf, "0xc.91p-2 33") != 0))
143396
 
+    result |= 1;
143397
 
+  if (sprintf (buf, "%A %d", -3.1416015625, 33, 44, 55) < 0
143398
 
+      || (strcmp (buf, "-0X1.922P+1 33") != 0
143399
 
+          && strcmp (buf, "-0X3.244P+0 33") != 0
143400
 
+          && strcmp (buf, "-0X6.488P-1 33") != 0
143401
 
+          && strcmp (buf, "-0XC.91P-2 33") != 0))
143402
 
+    result |= 2;
143403
 
+  /* This catches a FreeBSD 6.1 bug: it doesn't round.  */
143404
 
+  if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0
143405
 
+      || (strcmp (buf, "0x1.83p+0 33") != 0
143406
 
+          && strcmp (buf, "0x3.05p-1 33") != 0
143407
 
+          && strcmp (buf, "0x6.0ap-2 33") != 0
143408
 
+          && strcmp (buf, "0xc.14p-3 33") != 0))
143409
 
+    result |= 4;
143410
 
+  /* This catches a FreeBSD 6.1 bug.  See
143411
 
+     <http://lists.gnu.org/archive/html/bug-gnulib/2007-04/msg00107.html> */
143412
 
+  if (sprintf (buf, "%010a %d", 1.0 / 0.0, 33, 44, 55) < 0
143413
 
+      || buf[0] == '0')
143414
 
+    result |= 8;
143415
 
+  /* This catches a MacOS X 10.3.9 (Darwin 7.9) bug.  */
143416
 
+  if (sprintf (buf, "%.1a", 1.999) < 0
143417
 
+      || (strcmp (buf, "0x1.0p+1") != 0
143418
 
+          && strcmp (buf, "0x2.0p+0") != 0
143419
 
+          && strcmp (buf, "0x4.0p-1") != 0
143420
 
+          && strcmp (buf, "0x8.0p-2") != 0))
143421
 
+    result |= 16;
143422
 
+  /* This catches the same MacOS X 10.3.9 (Darwin 7.9) bug and also a
143423
 
+     glibc 2.4 bug <http://sourceware.org/bugzilla/show_bug.cgi?id=2908>.  */
143424
 
+  if (sprintf (buf, "%.1La", 1.999L) < 0
143425
 
+      || (strcmp (buf, "0x1.0p+1") != 0
143426
 
+          && strcmp (buf, "0x2.0p+0") != 0
143427
 
+          && strcmp (buf, "0x4.0p-1") != 0
143428
 
+          && strcmp (buf, "0x8.0p-2") != 0))
143429
 
+    result |= 32;
143430
 
+  return result;
143431
 
+}]])],
143432
 
+        [gl_cv_func_printf_directive_a=yes],
143433
 
+        [gl_cv_func_printf_directive_a=no],
143434
 
+        [
143435
 
+         case "$host_os" in
143436
 
+                                 # Guess yes on glibc >= 2.5 systems.
143437
 
+           *-gnu*)
143438
 
+             AC_EGREP_CPP([BZ2908], [
143439
 
+               #include <features.h>
143440
 
+               #ifdef __GNU_LIBRARY__
143441
 
+                #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 5) || (__GLIBC__ > 2)) && !defined __UCLIBC__
143442
 
+                 BZ2908
143443
 
+                #endif
143444
 
+               #endif
143445
 
+               ],
143446
 
+               [gl_cv_func_printf_directive_a="guessing yes"],
143447
 
+               [gl_cv_func_printf_directive_a="guessing no"])
143448
 
+             ;;
143449
 
+                                 # If we don't know, assume the worst.
143450
 
+           *)                    gl_cv_func_printf_directive_a="guessing no";;
143451
 
+         esac
143452
 
+        ])
143453
 
+    ])
143454
 
+])
143455
 
+m4trace:m4/printf.m4:553: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_F], [
143456
 
+  AC_REQUIRE([AC_PROG_CC])
143457
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
143458
 
+  AC_CACHE_CHECK([whether printf supports the 'F' directive],
143459
 
+    [gl_cv_func_printf_directive_f],
143460
 
+    [
143461
 
+      AC_RUN_IFELSE(
143462
 
+        [AC_LANG_SOURCE([[
143463
 
+#include <stdio.h>
143464
 
+#include <string.h>
143465
 
+static char buf[100];
143466
 
+int main ()
143467
 
+{
143468
 
+  int result = 0;
143469
 
+  if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0
143470
 
+      || strcmp (buf, "1234567.000000 33") != 0)
143471
 
+    result |= 1;
143472
 
+  if (sprintf (buf, "%F", 1.0 / 0.0) < 0
143473
 
+      || (strcmp (buf, "INF") != 0 && strcmp (buf, "INFINITY") != 0))
143474
 
+    result |= 2;
143475
 
+  /* This catches a Cygwin 1.5.x bug.  */
143476
 
+  if (sprintf (buf, "%.F", 1234.0) < 0
143477
 
+      || strcmp (buf, "1234") != 0)
143478
 
+    result |= 4;
143479
 
+  return result;
143480
 
+}]])],
143481
 
+        [gl_cv_func_printf_directive_f=yes],
143482
 
+        [gl_cv_func_printf_directive_f=no],
143483
 
+        [
143484
 
+changequote(,)dnl
143485
 
+         case "$host_os" in
143486
 
+                                 # Guess yes on glibc systems.
143487
 
+           *-gnu*)               gl_cv_func_printf_directive_f="guessing yes";;
143488
 
+                                 # Guess yes on FreeBSD >= 6.
143489
 
+           freebsd[1-5]*)        gl_cv_func_printf_directive_f="guessing no";;
143490
 
+           freebsd* | kfreebsd*) gl_cv_func_printf_directive_f="guessing yes";;
143491
 
+                                 # Guess yes on MacOS X >= 10.3.
143492
 
+           darwin[1-6].*)        gl_cv_func_printf_directive_f="guessing no";;
143493
 
+           darwin*)              gl_cv_func_printf_directive_f="guessing yes";;
143494
 
+                                 # Guess yes on Solaris >= 2.10.
143495
 
+           solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
143496
 
+           solaris*)             gl_cv_func_printf_sizes_c99="guessing no";;
143497
 
+                                 # If we don't know, assume the worst.
143498
 
+           *)                    gl_cv_func_printf_directive_f="guessing no";;
143499
 
+         esac
143500
 
+changequote([,])dnl
143501
 
+        ])
143502
 
+    ])
143503
 
+])
143504
 
+m4trace:m4/printf.m4:608: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_N], [
143505
 
+  AC_REQUIRE([AC_PROG_CC])
143506
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
143507
 
+  AC_CACHE_CHECK([whether printf supports the 'n' directive],
143508
 
+    [gl_cv_func_printf_directive_n],
143509
 
+    [
143510
 
+      AC_RUN_IFELSE(
143511
 
+        [AC_LANG_SOURCE([[
143512
 
+#include <stdio.h>
143513
 
+#include <string.h>
143514
 
+static char fmtstring[10];
143515
 
+static char buf[100];
143516
 
+int main ()
143517
 
+{
143518
 
+  int count = -1;
143519
 
+  /* Copy the format string.  Some systems (glibc with _FORTIFY_SOURCE=2)
143520
 
+     support %n in format strings in read-only memory but not in writable
143521
 
+     memory.  */
143522
 
+  strcpy (fmtstring, "%d %n");
143523
 
+  if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0
143524
 
+      || strcmp (buf, "123 ") != 0
143525
 
+      || count != 4)
143526
 
+    return 1;
143527
 
+  return 0;
143528
 
+}]])],
143529
 
+        [gl_cv_func_printf_directive_n=yes],
143530
 
+        [gl_cv_func_printf_directive_n=no],
143531
 
+        [
143532
 
+changequote(,)dnl
143533
 
+         case "$host_os" in
143534
 
+           *)     gl_cv_func_printf_directive_n="guessing yes";;
143535
 
+         esac
143536
 
+changequote([,])dnl
143537
 
+        ])
143538
 
+    ])
143539
 
+])
143540
 
+m4trace:m4/printf.m4:653: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_LS], [
143541
 
+  AC_REQUIRE([AC_PROG_CC])
143542
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
143543
 
+  AC_CACHE_CHECK([whether printf supports the 'ls' directive],
143544
 
+    [gl_cv_func_printf_directive_ls],
143545
 
+    [
143546
 
+      AC_RUN_IFELSE(
143547
 
+        [AC_LANG_SOURCE([[
143548
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
143549
 
+   <wchar.h>.
143550
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
143551
 
+   included before <wchar.h>.  */
143552
 
+#include <stddef.h>
143553
 
+#include <stdio.h>
143554
 
+#include <time.h>
143555
 
+#include <wchar.h>
143556
 
+#include <string.h>
143557
 
+int main ()
143558
 
+{
143559
 
+  int result = 0;
143560
 
+  char buf[100];
143561
 
+  /* Test whether %ls works at all.
143562
 
+     This test fails on OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Haiku, but not on
143563
 
+     Cygwin 1.5.  */
143564
 
+  {
143565
 
+    static const wchar_t wstring[] = { 'a', 'b', 'c', 0 };
143566
 
+    buf[0] = '\0';
143567
 
+    if (sprintf (buf, "%ls", wstring) < 0
143568
 
+        || strcmp (buf, "abc") != 0)
143569
 
+      result |= 1;
143570
 
+  }
143571
 
+  /* This test fails on IRIX 6.5, Solaris 2.6, Cygwin 1.5, Haiku (with an
143572
 
+     assertion failure inside libc), but not on OpenBSD 4.0.  */
143573
 
+  {
143574
 
+    static const wchar_t wstring[] = { 'a', 0 };
143575
 
+    buf[0] = '\0';
143576
 
+    if (sprintf (buf, "%ls", wstring) < 0
143577
 
+        || strcmp (buf, "a") != 0)
143578
 
+      result |= 2;
143579
 
+  }
143580
 
+  /* Test whether precisions in %ls are supported as specified in ISO C 99
143581
 
+     section 7.19.6.1:
143582
 
+       "If a precision is specified, no more than that many bytes are written
143583
 
+        (including shift sequences, if any), and the array shall contain a
143584
 
+        null wide character if, to equal the multibyte character sequence
143585
 
+        length given by the precision, the function would need to access a
143586
 
+        wide character one past the end of the array."
143587
 
+     This test fails on Solaris 10.  */
143588
 
+  {
143589
 
+    static const wchar_t wstring[] = { 'a', 'b', (wchar_t) 0xfdfdfdfd, 0 };
143590
 
+    buf[0] = '\0';
143591
 
+    if (sprintf (buf, "%.2ls", wstring) < 0
143592
 
+        || strcmp (buf, "ab") != 0)
143593
 
+      result |= 8;
143594
 
+  }
143595
 
+  return result;
143596
 
+}]])],
143597
 
+        [gl_cv_func_printf_directive_ls=yes],
143598
 
+        [gl_cv_func_printf_directive_ls=no],
143599
 
+        [
143600
 
+changequote(,)dnl
143601
 
+         case "$host_os" in
143602
 
+           openbsd*)        gl_cv_func_printf_directive_ls="guessing no";;
143603
 
+           irix*)           gl_cv_func_printf_directive_ls="guessing no";;
143604
 
+           solaris*)        gl_cv_func_printf_directive_ls="guessing no";;
143605
 
+           cygwin*)         gl_cv_func_printf_directive_ls="guessing no";;
143606
 
+           beos* | haiku*)  gl_cv_func_printf_directive_ls="guessing no";;
143607
 
+           *)               gl_cv_func_printf_directive_ls="guessing yes";;
143608
 
+         esac
143609
 
+changequote([,])dnl
143610
 
+        ])
143611
 
+    ])
143612
 
+])
143613
 
+m4trace:m4/printf.m4:732: -1- AC_DEFUN([gl_PRINTF_POSITIONS], [
143614
 
+  AC_REQUIRE([AC_PROG_CC])
143615
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
143616
 
+  AC_CACHE_CHECK([whether printf supports POSIX/XSI format strings with positions],
143617
 
+    [gl_cv_func_printf_positions],
143618
 
+    [
143619
 
+      AC_RUN_IFELSE(
143620
 
+        [AC_LANG_SOURCE([[
143621
 
+#include <stdio.h>
143622
 
+#include <string.h>
143623
 
+/* The string "%2$d %1$d", with dollar characters protected from the shell's
143624
 
+   dollar expansion (possibly an autoconf bug).  */
143625
 
+static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
143626
 
+static char buf[100];
143627
 
+int main ()
143628
 
+{
143629
 
+  sprintf (buf, format, 33, 55);
143630
 
+  return (strcmp (buf, "55 33") != 0);
143631
 
+}]])],
143632
 
+        [gl_cv_func_printf_positions=yes],
143633
 
+        [gl_cv_func_printf_positions=no],
143634
 
+        [
143635
 
+changequote(,)dnl
143636
 
+         case "$host_os" in
143637
 
+           netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*)
143638
 
+                         gl_cv_func_printf_positions="guessing no";;
143639
 
+           beos*)        gl_cv_func_printf_positions="guessing no";;
143640
 
+           mingw* | pw*) gl_cv_func_printf_positions="guessing no";;
143641
 
+           *)            gl_cv_func_printf_positions="guessing yes";;
143642
 
+         esac
143643
 
+changequote([,])dnl
143644
 
+        ])
143645
 
+    ])
143646
 
+])
143647
 
+m4trace:m4/printf.m4:772: -1- AC_DEFUN([gl_PRINTF_FLAG_GROUPING], [
143648
 
+  AC_REQUIRE([AC_PROG_CC])
143649
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
143650
 
+  AC_CACHE_CHECK([whether printf supports the grouping flag],
143651
 
+    [gl_cv_func_printf_flag_grouping],
143652
 
+    [
143653
 
+      AC_RUN_IFELSE(
143654
 
+        [AC_LANG_SOURCE([[
143655
 
+#include <stdio.h>
143656
 
+#include <string.h>
143657
 
+static char buf[100];
143658
 
+int main ()
143659
 
+{
143660
 
+  if (sprintf (buf, "%'d %d", 1234567, 99) < 0
143661
 
+      || buf[strlen (buf) - 1] != '9')
143662
 
+    return 1;
143663
 
+  return 0;
143664
 
+}]])],
143665
 
+        [gl_cv_func_printf_flag_grouping=yes],
143666
 
+        [gl_cv_func_printf_flag_grouping=no],
143667
 
+        [
143668
 
+changequote(,)dnl
143669
 
+         case "$host_os" in
143670
 
+           cygwin*)      gl_cv_func_printf_flag_grouping="guessing no";;
143671
 
+           netbsd*)      gl_cv_func_printf_flag_grouping="guessing no";;
143672
 
+           mingw* | pw*) gl_cv_func_printf_flag_grouping="guessing no";;
143673
 
+           *)            gl_cv_func_printf_flag_grouping="guessing yes";;
143674
 
+         esac
143675
 
+changequote([,])dnl
143676
 
+        ])
143677
 
+    ])
143678
 
+])
143679
 
+m4trace:m4/printf.m4:811: -1- AC_DEFUN([gl_PRINTF_FLAG_LEFTADJUST], [
143680
 
+  AC_REQUIRE([AC_PROG_CC])
143681
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
143682
 
+  AC_CACHE_CHECK([whether printf supports the left-adjust flag correctly],
143683
 
+    [gl_cv_func_printf_flag_leftadjust],
143684
 
+    [
143685
 
+      AC_RUN_IFELSE(
143686
 
+        [AC_LANG_SOURCE([[
143687
 
+#include <stdio.h>
143688
 
+#include <string.h>
143689
 
+static char buf[100];
143690
 
+int main ()
143691
 
+{
143692
 
+  /* Check that a '-' flag is not annihilated by a negative width.  */
143693
 
+  if (sprintf (buf, "a%-*sc", -3, "b") < 0
143694
 
+      || strcmp (buf, "ab  c") != 0)
143695
 
+    return 1;
143696
 
+  return 0;
143697
 
+}]])],
143698
 
+        [gl_cv_func_printf_flag_leftadjust=yes],
143699
 
+        [gl_cv_func_printf_flag_leftadjust=no],
143700
 
+        [
143701
 
+changequote(,)dnl
143702
 
+         case "$host_os" in
143703
 
+                    # Guess yes on HP-UX 11.
143704
 
+           hpux11*) gl_cv_func_printf_flag_leftadjust="guessing yes";;
143705
 
+                    # Guess no on HP-UX 10 and older.
143706
 
+           hpux*)   gl_cv_func_printf_flag_leftadjust="guessing no";;
143707
 
+                    # Guess yes otherwise.
143708
 
+           *)       gl_cv_func_printf_flag_leftadjust="guessing yes";;
143709
 
+         esac
143710
 
+changequote([,])dnl
143711
 
+        ])
143712
 
+    ])
143713
 
+])
143714
 
+m4trace:m4/printf.m4:853: -1- AC_DEFUN([gl_PRINTF_FLAG_ZERO], [
143715
 
+  AC_REQUIRE([AC_PROG_CC])
143716
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
143717
 
+  AC_CACHE_CHECK([whether printf supports the zero flag correctly],
143718
 
+    [gl_cv_func_printf_flag_zero],
143719
 
+    [
143720
 
+      AC_RUN_IFELSE(
143721
 
+        [AC_LANG_SOURCE([[
143722
 
+#include <stdio.h>
143723
 
+#include <string.h>
143724
 
+static char buf[100];
143725
 
+int main ()
143726
 
+{
143727
 
+  if (sprintf (buf, "%010f", 1.0 / 0.0, 33, 44, 55) < 0
143728
 
+      || (strcmp (buf, "       inf") != 0
143729
 
+          && strcmp (buf, "  infinity") != 0))
143730
 
+    return 1;
143731
 
+  return 0;
143732
 
+}]])],
143733
 
+        [gl_cv_func_printf_flag_zero=yes],
143734
 
+        [gl_cv_func_printf_flag_zero=no],
143735
 
+        [
143736
 
+changequote(,)dnl
143737
 
+         case "$host_os" in
143738
 
+                   # Guess yes on glibc systems.
143739
 
+           *-gnu*) gl_cv_func_printf_flag_zero="guessing yes";;
143740
 
+                   # Guess yes on BeOS.
143741
 
+           beos*)  gl_cv_func_printf_flag_zero="guessing yes";;
143742
 
+                   # If we don't know, assume the worst.
143743
 
+           *)      gl_cv_func_printf_flag_zero="guessing no";;
143744
 
+         esac
143745
 
+changequote([,])dnl
143746
 
+        ])
143747
 
+    ])
143748
 
+])
143749
 
+m4trace:m4/printf.m4:899: -1- AC_DEFUN([gl_PRINTF_PRECISION], [
143750
 
+  AC_REQUIRE([AC_PROG_CC])
143751
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
143752
 
+  AC_CACHE_CHECK([whether printf supports large precisions],
143753
 
+    [gl_cv_func_printf_precision],
143754
 
+    [
143755
 
+      AC_RUN_IFELSE(
143756
 
+        [AC_LANG_SOURCE([[
143757
 
+#include <stdio.h>
143758
 
+#include <string.h>
143759
 
+static char buf[5000];
143760
 
+int main ()
143761
 
+{
143762
 
+  int result = 0;
143763
 
+#ifdef __BEOS__
143764
 
+  /* On BeOS, this would crash and show a dialog box.  Avoid the crash.  */
143765
 
+  return 1;
143766
 
+#endif
143767
 
+  if (sprintf (buf, "%.4000d %d", 1, 33, 44) < 4000 + 3)
143768
 
+    result |= 1;
143769
 
+  if (sprintf (buf, "%.4000f %d", 1.0, 33, 44) < 4000 + 5)
143770
 
+    result |= 2;
143771
 
+  if (sprintf (buf, "%.511f %d", 1.0, 33, 44) < 511 + 5
143772
 
+      || buf[0] != '1')
143773
 
+    result |= 4;
143774
 
+  if (sprintf (buf, "%.999f %d", 1.0, 33, 44) < 999 + 5
143775
 
+      || buf[0] != '1')
143776
 
+    result |= 4;
143777
 
+  return result;
143778
 
+}]])],
143779
 
+        [gl_cv_func_printf_precision=yes],
143780
 
+        [gl_cv_func_printf_precision=no],
143781
 
+        [
143782
 
+changequote(,)dnl
143783
 
+         case "$host_os" in
143784
 
+           # Guess no only on Solaris, native Win32, and BeOS systems.
143785
 
+           solaris*)     gl_cv_func_printf_precision="guessing no" ;;
143786
 
+           mingw* | pw*) gl_cv_func_printf_precision="guessing no" ;;
143787
 
+           beos*)        gl_cv_func_printf_precision="guessing no" ;;
143788
 
+           *)            gl_cv_func_printf_precision="guessing yes" ;;
143789
 
+         esac
143790
 
+changequote([,])dnl
143791
 
+        ])
143792
 
+    ])
143793
 
+])
143794
 
+m4trace:m4/printf.m4:950: -1- AC_DEFUN([gl_PRINTF_ENOMEM], [
143795
 
+  AC_REQUIRE([AC_PROG_CC])
143796
 
+  AC_REQUIRE([gl_MULTIARCH])
143797
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
143798
 
+  AC_CACHE_CHECK([whether printf survives out-of-memory conditions],
143799
 
+    [gl_cv_func_printf_enomem],
143800
 
+    [
143801
 
+      gl_cv_func_printf_enomem="guessing no"
143802
 
+      if test "$cross_compiling" = no; then
143803
 
+        if test $APPLE_UNIVERSAL_BUILD = 0; then
143804
 
+          AC_LANG_CONFTEST([AC_LANG_SOURCE([
143805
 
+]GL_NOCRASH[
143806
 
+changequote(,)dnl
143807
 
+#include <stdio.h>
143808
 
+#include <sys/types.h>
143809
 
+#include <sys/time.h>
143810
 
+#include <sys/resource.h>
143811
 
+#include <errno.h>
143812
 
+int main()
143813
 
+{
143814
 
+  struct rlimit limit;
143815
 
+  int ret;
143816
 
+  nocrash_init ();
143817
 
+  /* Some printf implementations allocate temporary space with malloc.  */
143818
 
+  /* On BSD systems, malloc() is limited by RLIMIT_DATA.  */
143819
 
+#ifdef RLIMIT_DATA
143820
 
+  if (getrlimit (RLIMIT_DATA, &limit) < 0)
143821
 
+    return 77;
143822
 
+  if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
143823
 
+    limit.rlim_max = 5000000;
143824
 
+  limit.rlim_cur = limit.rlim_max;
143825
 
+  if (setrlimit (RLIMIT_DATA, &limit) < 0)
143826
 
+    return 77;
143827
 
+#endif
143828
 
+  /* On Linux systems, malloc() is limited by RLIMIT_AS.  */
143829
 
+#ifdef RLIMIT_AS
143830
 
+  if (getrlimit (RLIMIT_AS, &limit) < 0)
143831
 
+    return 77;
143832
 
+  if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
143833
 
+    limit.rlim_max = 5000000;
143834
 
+  limit.rlim_cur = limit.rlim_max;
143835
 
+  if (setrlimit (RLIMIT_AS, &limit) < 0)
143836
 
+    return 77;
143837
 
+#endif
143838
 
+  /* Some printf implementations allocate temporary space on the stack.  */
143839
 
+#ifdef RLIMIT_STACK
143840
 
+  if (getrlimit (RLIMIT_STACK, &limit) < 0)
143841
 
+    return 77;
143842
 
+  if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
143843
 
+    limit.rlim_max = 5000000;
143844
 
+  limit.rlim_cur = limit.rlim_max;
143845
 
+  if (setrlimit (RLIMIT_STACK, &limit) < 0)
143846
 
+    return 77;
143847
 
+#endif
143848
 
+  ret = printf ("%.5000000f", 1.0);
143849
 
+  return !(ret == 5000002 || (ret < 0 && errno == ENOMEM));
143850
 
+}
143851
 
+changequote([,])dnl
143852
 
+          ])])
143853
 
+          if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then
143854
 
+            (./conftest
143855
 
+             result=$?
143856
 
+             if test $result != 0 && test $result != 77; then result=1; fi
143857
 
+             exit $result
143858
 
+            ) >/dev/null 2>/dev/null
143859
 
+            case $? in
143860
 
+              0) gl_cv_func_printf_enomem="yes" ;;
143861
 
+              77) gl_cv_func_printf_enomem="guessing no" ;;
143862
 
+              *) gl_cv_func_printf_enomem="no" ;;
143863
 
+            esac
143864
 
+          else
143865
 
+            gl_cv_func_printf_enomem="guessing no"
143866
 
+          fi
143867
 
+          rm -fr conftest*
143868
 
+        else
143869
 
+          dnl A universal build on Apple MacOS X platforms.
143870
 
+          dnl The result would be 'no' in 32-bit mode and 'yes' in 64-bit mode.
143871
 
+          dnl But we need a configuration result that is valid in both modes.
143872
 
+          gl_cv_func_printf_enomem="guessing no"
143873
 
+        fi
143874
 
+      fi
143875
 
+      if test "$gl_cv_func_printf_enomem" = "guessing no"; then
143876
 
+changequote(,)dnl
143877
 
+        case "$host_os" in
143878
 
+                    # Guess yes on glibc systems.
143879
 
+          *-gnu*)   gl_cv_func_printf_enomem="guessing yes";;
143880
 
+                    # Guess yes on Solaris.
143881
 
+          solaris*) gl_cv_func_printf_enomem="guessing yes";;
143882
 
+                    # Guess yes on AIX.
143883
 
+          aix*)     gl_cv_func_printf_enomem="guessing yes";;
143884
 
+                    # Guess yes on HP-UX/hppa.
143885
 
+          hpux*)    case "$host_cpu" in
143886
 
+                      hppa*) gl_cv_func_printf_enomem="guessing yes";;
143887
 
+                      *)     gl_cv_func_printf_enomem="guessing no";;
143888
 
+                    esac
143889
 
+                    ;;
143890
 
+                    # Guess yes on IRIX.
143891
 
+          irix*)    gl_cv_func_printf_enomem="guessing yes";;
143892
 
+                    # Guess yes on OSF/1.
143893
 
+          osf*)     gl_cv_func_printf_enomem="guessing yes";;
143894
 
+                    # Guess yes on BeOS.
143895
 
+          beos*)    gl_cv_func_printf_enomem="guessing yes";;
143896
 
+                    # Guess yes on Haiku.
143897
 
+          haiku*)   gl_cv_func_printf_enomem="guessing yes";;
143898
 
+                    # If we don't know, assume the worst.
143899
 
+          *)        gl_cv_func_printf_enomem="guessing no";;
143900
 
+        esac
143901
 
+changequote([,])dnl
143902
 
+      fi
143903
 
+    ])
143904
 
+])
143905
 
+m4trace:m4/printf.m4:1066: -1- AC_DEFUN([gl_SNPRINTF_PRESENCE], [
143906
 
+  AC_CHECK_FUNCS_ONCE([snprintf])
143907
 
+])
143908
 
+m4trace:m4/printf.m4:1075: -1- AC_DEFUN([gl_SNPRINTF_TRUNCATION_C99], [
143909
 
+  AC_REQUIRE([AC_PROG_CC])
143910
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
143911
 
+  AC_CACHE_CHECK([whether snprintf truncates the result as in C99],
143912
 
+    [gl_cv_func_snprintf_truncation_c99],
143913
 
+    [
143914
 
+      AC_RUN_IFELSE(
143915
 
+        [AC_LANG_SOURCE([[
143916
 
+#include <stdio.h>
143917
 
+#include <string.h>
143918
 
+static char buf[100];
143919
 
+int main ()
143920
 
+{
143921
 
+  strcpy (buf, "ABCDEF");
143922
 
+  snprintf (buf, 3, "%d %d", 4567, 89);
143923
 
+  if (memcmp (buf, "45\0DEF", 6) != 0)
143924
 
+    return 1;
143925
 
+  return 0;
143926
 
+}]])],
143927
 
+        [gl_cv_func_snprintf_truncation_c99=yes],
143928
 
+        [gl_cv_func_snprintf_truncation_c99=no],
143929
 
+        [
143930
 
+changequote(,)dnl
143931
 
+         case "$host_os" in
143932
 
+                                 # Guess yes on glibc systems.
143933
 
+           *-gnu*)               gl_cv_func_snprintf_truncation_c99="guessing yes";;
143934
 
+                                 # Guess yes on FreeBSD >= 5.
143935
 
+           freebsd[1-4]*)        gl_cv_func_snprintf_truncation_c99="guessing no";;
143936
 
+           freebsd* | kfreebsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";;
143937
 
+                                 # Guess yes on MacOS X >= 10.3.
143938
 
+           darwin[1-6].*)        gl_cv_func_snprintf_truncation_c99="guessing no";;
143939
 
+           darwin*)              gl_cv_func_snprintf_truncation_c99="guessing yes";;
143940
 
+                                 # Guess yes on OpenBSD >= 3.9.
143941
 
+           openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
143942
 
+                                 gl_cv_func_snprintf_truncation_c99="guessing no";;
143943
 
+           openbsd*)             gl_cv_func_snprintf_truncation_c99="guessing yes";;
143944
 
+                                 # Guess yes on Solaris >= 2.6.
143945
 
+           solaris2.[0-5] | solaris2.[0-5].*)
143946
 
+                                 gl_cv_func_snprintf_truncation_c99="guessing no";;
143947
 
+           solaris*)             gl_cv_func_snprintf_truncation_c99="guessing yes";;
143948
 
+                                 # Guess yes on AIX >= 4.
143949
 
+           aix[1-3]*)            gl_cv_func_snprintf_truncation_c99="guessing no";;
143950
 
+           aix*)                 gl_cv_func_snprintf_truncation_c99="guessing yes";;
143951
 
+                                 # Guess yes on HP-UX >= 11.
143952
 
+           hpux[7-9]* | hpux10*) gl_cv_func_snprintf_truncation_c99="guessing no";;
143953
 
+           hpux*)                gl_cv_func_snprintf_truncation_c99="guessing yes";;
143954
 
+                                 # Guess yes on IRIX >= 6.5.
143955
 
+           irix6.5)              gl_cv_func_snprintf_truncation_c99="guessing yes";;
143956
 
+                                 # Guess yes on OSF/1 >= 5.
143957
 
+           osf[3-4]*)            gl_cv_func_snprintf_truncation_c99="guessing no";;
143958
 
+           osf*)                 gl_cv_func_snprintf_truncation_c99="guessing yes";;
143959
 
+                                 # Guess yes on NetBSD >= 3.
143960
 
+           netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
143961
 
+                                 gl_cv_func_snprintf_truncation_c99="guessing no";;
143962
 
+           netbsd*)              gl_cv_func_snprintf_truncation_c99="guessing yes";;
143963
 
+                                 # Guess yes on BeOS.
143964
 
+           beos*)                gl_cv_func_snprintf_truncation_c99="guessing yes";;
143965
 
+                                 # If we don't know, assume the worst.
143966
 
+           *)                    gl_cv_func_snprintf_truncation_c99="guessing no";;
143967
 
+         esac
143968
 
+changequote([,])dnl
143969
 
+        ])
143970
 
+    ])
143971
 
+])
143972
 
+m4trace:m4/printf.m4:1156: -1- AC_DEFUN_ONCE([gl_SNPRINTF_RETVAL_C99], [
143973
 
+  AC_REQUIRE([AC_PROG_CC])
143974
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
143975
 
+  AC_CACHE_CHECK([whether snprintf returns a byte count as in C99],
143976
 
+    [gl_cv_func_snprintf_retval_c99],
143977
 
+    [
143978
 
+      AC_RUN_IFELSE(
143979
 
+        [AC_LANG_SOURCE([[
143980
 
+#include <stdio.h>
143981
 
+#include <string.h>
143982
 
+static char buf[100];
143983
 
+int main ()
143984
 
+{
143985
 
+  strcpy (buf, "ABCDEF");
143986
 
+  if (snprintf (buf, 3, "%d %d", 4567, 89) != 7)
143987
 
+    return 1;
143988
 
+  if (snprintf (buf, 0, "%d %d", 4567, 89) != 7)
143989
 
+    return 2;
143990
 
+  if (snprintf (NULL, 0, "%d %d", 4567, 89) != 7)
143991
 
+    return 3;
143992
 
+  return 0;
143993
 
+}]])],
143994
 
+        [gl_cv_func_snprintf_retval_c99=yes],
143995
 
+        [gl_cv_func_snprintf_retval_c99=no],
143996
 
+        [
143997
 
+changequote(,)dnl
143998
 
+         case "$host_os" in
143999
 
+                                 # Guess yes on glibc systems.
144000
 
+           *-gnu*)               gl_cv_func_snprintf_retval_c99="guessing yes";;
144001
 
+                                 # Guess yes on FreeBSD >= 5.
144002
 
+           freebsd[1-4]*)        gl_cv_func_snprintf_retval_c99="guessing no";;
144003
 
+           freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";;
144004
 
+                                 # Guess yes on MacOS X >= 10.3.
144005
 
+           darwin[1-6].*)        gl_cv_func_snprintf_retval_c99="guessing no";;
144006
 
+           darwin*)              gl_cv_func_snprintf_retval_c99="guessing yes";;
144007
 
+                                 # Guess yes on OpenBSD >= 3.9.
144008
 
+           openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
144009
 
+                                 gl_cv_func_snprintf_retval_c99="guessing no";;
144010
 
+           openbsd*)             gl_cv_func_snprintf_retval_c99="guessing yes";;
144011
 
+                                 # Guess yes on Solaris >= 2.10.
144012
 
+           solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
144013
 
+           solaris*)             gl_cv_func_printf_sizes_c99="guessing no";;
144014
 
+                                 # Guess yes on AIX >= 4.
144015
 
+           aix[1-3]*)            gl_cv_func_snprintf_retval_c99="guessing no";;
144016
 
+           aix*)                 gl_cv_func_snprintf_retval_c99="guessing yes";;
144017
 
+                                 # Guess yes on NetBSD >= 3.
144018
 
+           netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
144019
 
+                                 gl_cv_func_snprintf_retval_c99="guessing no";;
144020
 
+           netbsd*)              gl_cv_func_snprintf_retval_c99="guessing yes";;
144021
 
+                                 # Guess yes on BeOS.
144022
 
+           beos*)                gl_cv_func_snprintf_retval_c99="guessing yes";;
144023
 
+                                 # If we don't know, assume the worst.
144024
 
+           *)                    gl_cv_func_snprintf_retval_c99="guessing no";;
144025
 
+         esac
144026
 
+changequote([,])dnl
144027
 
+        ])
144028
 
+    ])
144029
 
+])
144030
 
+m4trace:m4/printf.m4:1220: -1- AC_DEFUN([gl_SNPRINTF_DIRECTIVE_N], [
144031
 
+  AC_REQUIRE([AC_PROG_CC])
144032
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
144033
 
+  AC_CACHE_CHECK([whether snprintf fully supports the 'n' directive],
144034
 
+    [gl_cv_func_snprintf_directive_n],
144035
 
+    [
144036
 
+      AC_RUN_IFELSE(
144037
 
+        [AC_LANG_SOURCE([[
144038
 
+#include <stdio.h>
144039
 
+#include <string.h>
144040
 
+static char fmtstring[10];
144041
 
+static char buf[100];
144042
 
+int main ()
144043
 
+{
144044
 
+  int count = -1;
144045
 
+  /* Copy the format string.  Some systems (glibc with _FORTIFY_SOURCE=2)
144046
 
+     support %n in format strings in read-only memory but not in writable
144047
 
+     memory.  */
144048
 
+  strcpy (fmtstring, "%d %n");
144049
 
+  snprintf (buf, 4, fmtstring, 12345, &count, 33, 44, 55);
144050
 
+  if (count != 6)
144051
 
+    return 1;
144052
 
+  return 0;
144053
 
+}]])],
144054
 
+        [gl_cv_func_snprintf_directive_n=yes],
144055
 
+        [gl_cv_func_snprintf_directive_n=no],
144056
 
+        [
144057
 
+changequote(,)dnl
144058
 
+         case "$host_os" in
144059
 
+                                 # Guess yes on glibc systems.
144060
 
+           *-gnu*)               gl_cv_func_snprintf_directive_n="guessing yes";;
144061
 
+                                 # Guess yes on FreeBSD >= 5.
144062
 
+           freebsd[1-4]*)        gl_cv_func_snprintf_directive_n="guessing no";;
144063
 
+           freebsd* | kfreebsd*) gl_cv_func_snprintf_directive_n="guessing yes";;
144064
 
+                                 # Guess yes on MacOS X >= 10.3.
144065
 
+           darwin[1-6].*)        gl_cv_func_snprintf_directive_n="guessing no";;
144066
 
+           darwin*)              gl_cv_func_snprintf_directive_n="guessing yes";;
144067
 
+                                 # Guess yes on Solaris >= 2.6.
144068
 
+           solaris2.[0-5] | solaris2.[0-5].*)
144069
 
+                                 gl_cv_func_snprintf_directive_n="guessing no";;
144070
 
+           solaris*)             gl_cv_func_snprintf_directive_n="guessing yes";;
144071
 
+                                 # Guess yes on AIX >= 4.
144072
 
+           aix[1-3]*)            gl_cv_func_snprintf_directive_n="guessing no";;
144073
 
+           aix*)                 gl_cv_func_snprintf_directive_n="guessing yes";;
144074
 
+                                 # Guess yes on IRIX >= 6.5.
144075
 
+           irix6.5)              gl_cv_func_snprintf_directive_n="guessing yes";;
144076
 
+                                 # Guess yes on OSF/1 >= 5.
144077
 
+           osf[3-4]*)            gl_cv_func_snprintf_directive_n="guessing no";;
144078
 
+           osf*)                 gl_cv_func_snprintf_directive_n="guessing yes";;
144079
 
+                                 # Guess yes on NetBSD >= 3.
144080
 
+           netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
144081
 
+                                 gl_cv_func_snprintf_directive_n="guessing no";;
144082
 
+           netbsd*)              gl_cv_func_snprintf_directive_n="guessing yes";;
144083
 
+                                 # Guess yes on BeOS.
144084
 
+           beos*)                gl_cv_func_snprintf_directive_n="guessing yes";;
144085
 
+                                 # If we don't know, assume the worst.
144086
 
+           *)                    gl_cv_func_snprintf_directive_n="guessing no";;
144087
 
+         esac
144088
 
+changequote([,])dnl
144089
 
+        ])
144090
 
+    ])
144091
 
+])
144092
 
+m4trace:m4/printf.m4:1289: -1- AC_DEFUN([gl_SNPRINTF_SIZE1], [
144093
 
+  AC_REQUIRE([AC_PROG_CC])
144094
 
+  AC_CACHE_CHECK([whether snprintf respects a size of 1],
144095
 
+    [gl_cv_func_snprintf_size1],
144096
 
+    [
144097
 
+      AC_RUN_IFELSE(
144098
 
+        [AC_LANG_SOURCE([[
144099
 
+#include <stdio.h>
144100
 
+int main()
144101
 
+{
144102
 
+  static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' };
144103
 
+  snprintf (buf, 1, "%d", 12345);
144104
 
+  return buf[1] != 'E';
144105
 
+}]])],
144106
 
+        [gl_cv_func_snprintf_size1=yes],
144107
 
+        [gl_cv_func_snprintf_size1=no],
144108
 
+        [gl_cv_func_snprintf_size1="guessing yes"])
144109
 
+    ])
144110
 
+])
144111
 
+m4trace:m4/printf.m4:1346: -1- AC_DEFUN([gl_VSNPRINTF_ZEROSIZE_C99], [
144112
 
+  AC_REQUIRE([AC_PROG_CC])
144113
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
144114
 
+  AC_CACHE_CHECK([whether vsnprintf respects a zero size as in C99],
144115
 
+    [gl_cv_func_vsnprintf_zerosize_c99],
144116
 
+    [
144117
 
+      AC_RUN_IFELSE(
144118
 
+        [AC_LANG_SOURCE([[
144119
 
+#include <stdarg.h>
144120
 
+#include <stdio.h>
144121
 
+static int my_snprintf (char *buf, int size, const char *format, ...)
144122
 
+{
144123
 
+  va_list args;
144124
 
+  int ret;
144125
 
+  va_start (args, format);
144126
 
+  ret = vsnprintf (buf, size, format, args);
144127
 
+  va_end (args);
144128
 
+  return ret;
144129
 
+}
144130
 
+int main()
144131
 
+{
144132
 
+  static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' };
144133
 
+  my_snprintf (buf, 0, "%d", 12345);
144134
 
+  return buf[0] != 'D';
144135
 
+}]])],
144136
 
+        [gl_cv_func_vsnprintf_zerosize_c99=yes],
144137
 
+        [gl_cv_func_vsnprintf_zerosize_c99=no],
144138
 
+        [
144139
 
+changequote(,)dnl
144140
 
+         case "$host_os" in
144141
 
+                                 # Guess yes on glibc systems.
144142
 
+           *-gnu*)               gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
144143
 
+                                 # Guess yes on FreeBSD >= 5.
144144
 
+           freebsd[1-4]*)        gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
144145
 
+           freebsd* | kfreebsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
144146
 
+                                 # Guess yes on MacOS X >= 10.3.
144147
 
+           darwin[1-6].*)        gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
144148
 
+           darwin*)              gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
144149
 
+                                 # Guess yes on Cygwin.
144150
 
+           cygwin*)              gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
144151
 
+                                 # Guess yes on Solaris >= 2.6.
144152
 
+           solaris2.[0-5] | solaris2.[0-5].*)
144153
 
+                                 gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
144154
 
+           solaris*)             gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
144155
 
+                                 # Guess yes on AIX >= 4.
144156
 
+           aix[1-3]*)            gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
144157
 
+           aix*)                 gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
144158
 
+                                 # Guess yes on IRIX >= 6.5.
144159
 
+           irix6.5)              gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
144160
 
+                                 # Guess yes on NetBSD >= 3.
144161
 
+           netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
144162
 
+                                 gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
144163
 
+           netbsd*)              gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
144164
 
+                                 # Guess yes on BeOS.
144165
 
+           beos*)                gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
144166
 
+                                 # Guess yes on mingw.
144167
 
+           mingw* | pw*)         gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
144168
 
+                                 # If we don't know, assume the worst.
144169
 
+           *)                    gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
144170
 
+         esac
144171
 
+changequote([,])dnl
144172
 
+        ])
144173
 
+    ])
144174
 
+])
144175
 
+m4trace:m4/priv-set.m4:11: -1- AC_DEFUN([gl_PRIV_SET], [
144176
 
+  AC_REQUIRE([AC_C_INLINE])
144177
 
+  AC_CHECK_FUNCS([getppriv])
144178
 
+  AC_CHECK_HEADERS_ONCE([priv.h])
144179
 
+])
144180
 
+m4trace:m4/progtest.m4:25: -1- AC_DEFUN([AM_PATH_PROG_WITH_TEST], [
144181
 
+# Prepare PATH_SEPARATOR.
144182
 
+# The user is always right.
144183
 
+if test "${PATH_SEPARATOR+set}" != set; then
144184
 
+  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
144185
 
+  # contains only /bin. Note that ksh looks also at the FPATH variable,
144186
 
+  # so we have to set that as well for the test.
144187
 
+  PATH_SEPARATOR=:
144188
 
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
144189
 
+    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
144190
 
+           || PATH_SEPARATOR=';'
144191
 
+       }
144192
 
+fi
144193
 
+
144194
 
+# Find out how to test for executable files. Don't use a zero-byte file,
144195
 
+# as systems may use methods other than mode bits to determine executability.
144196
 
+cat >conf$$.file <<_ASEOF
144197
 
+#! /bin/sh
144198
 
+exit 0
144199
 
+_ASEOF
144200
 
+chmod +x conf$$.file
144201
 
+if test -x conf$$.file >/dev/null 2>&1; then
144202
 
+  ac_executable_p="test -x"
144203
 
+else
144204
 
+  ac_executable_p="test -f"
144205
 
+fi
144206
 
+rm -f conf$$.file
144207
 
+
144208
 
+# Extract the first word of "$2", so it can be a program name with args.
144209
 
+set dummy $2; ac_word=[$]2
144210
 
+AC_MSG_CHECKING([for $ac_word])
144211
 
+AC_CACHE_VAL([ac_cv_path_$1],
144212
 
+[case "[$]$1" in
144213
 
+  [[\\/]]* | ?:[[\\/]]*)
144214
 
+    ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
144215
 
+    ;;
144216
 
+  *)
144217
 
+    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
144218
 
+    for ac_dir in ifelse([$5], , $PATH, [$5]); do
144219
 
+      IFS="$ac_save_IFS"
144220
 
+      test -z "$ac_dir" && ac_dir=.
144221
 
+      for ac_exec_ext in '' $ac_executable_extensions; do
144222
 
+        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
144223
 
+          echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD
144224
 
+          if [$3]; then
144225
 
+            ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
144226
 
+            break 2
144227
 
+          fi
144228
 
+        fi
144229
 
+      done
144230
 
+    done
144231
 
+    IFS="$ac_save_IFS"
144232
 
+dnl If no 4th arg is given, leave the cache variable unset,
144233
 
+dnl so AC_PATH_PROGS will keep looking.
144234
 
+ifelse([$4], , , [  test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
144235
 
+])dnl
144236
 
+    ;;
144237
 
+esac])dnl
144238
 
+$1="$ac_cv_path_$1"
144239
 
+if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
144240
 
+  AC_MSG_RESULT([$][$1])
144241
 
+else
144242
 
+  AC_MSG_RESULT([no])
144243
 
+fi
144244
 
+AC_SUBST([$1])dnl
144245
 
+])
144246
 
+m4trace:m4/pthread.m4:7: -1- AC_DEFUN([gl_PTHREAD_CHECK], [
144247
 
+   AC_REQUIRE([gl_PTHREAD_DEFAULTS])
144248
 
+   gl_CHECK_NEXT_HEADERS([pthread.h])
144249
 
+   if test $ac_cv_header_pthread_h = yes; then
144250
 
+     HAVE_PTHREAD_H=1
144251
 
+   else
144252
 
+     HAVE_PTHREAD_H=0
144253
 
+   fi
144254
 
+
144255
 
+   AC_CHECK_TYPES([pthread_t, pthread_spinlock_t], [], [],
144256
 
+     [AC_INCLUDES_DEFAULT[
144257
 
+      #if HAVE_PTHREAD_H
144258
 
+       #include <pthread.h>
144259
 
+      #endif]])
144260
 
+   if test $ac_cv_type_pthread_t != yes; then
144261
 
+     HAVE_PTHREAD_T=0
144262
 
+   fi
144263
 
+   if test $ac_cv_type_pthread_spinlock_t != yes; then
144264
 
+     HAVE_PTHREAD_SPINLOCK_T=0
144265
 
+   fi
144266
 
+
144267
 
+   if test $ac_cv_header_pthread_h != yes ||
144268
 
+      test $ac_cv_type_pthread_t != yes ||
144269
 
+      test $ac_cv_type_pthread_spinlock_t != yes; then
144270
 
+     PTHREAD_H='pthread.h'
144271
 
+   else
144272
 
+     PTHREAD_H=
144273
 
+   fi
144274
 
+   AC_SUBST([PTHREAD_H])
144275
 
+   AM_CONDITIONAL([GL_GENERATE_PTHREAD_H], [test -n "$PTHREAD_H"])
144276
 
+
144277
 
+   LIB_PTHREAD=
144278
 
+   if test $ac_cv_header_pthread_h = yes; then
144279
 
+     dnl We cannot use AC_SEARCH_LIBS here, because on OSF/1 5.1 pthread_join
144280
 
+     dnl is defined as a macro which expands to __phread_join, and libpthread
144281
 
+     dnl contains a definition for __phread_join but none for pthread_join.
144282
 
+     AC_CACHE_CHECK([for library containing pthread_join],
144283
 
+       [gl_cv_search_pthread_join],
144284
 
+       [gl_saved_libs="$LIBS"
144285
 
+        gl_cv_search_pthread_join=
144286
 
+        AC_LINK_IFELSE(
144287
 
+          [AC_LANG_PROGRAM(
144288
 
+             [[#include <pthread.h>]],
144289
 
+             [[pthread_join (pthread_self (), (void **) 0);]])],
144290
 
+          [gl_cv_search_pthread_join="none required"])
144291
 
+        if test -z "$gl_cv_search_pthread_join"; then
144292
 
+          LIBS="-lpthread $gl_saved_libs"
144293
 
+          AC_LINK_IFELSE(
144294
 
+            [AC_LANG_PROGRAM(
144295
 
+               [[#include <pthread.h>]],
144296
 
+               [[pthread_join (pthread_self (), (void **) 0);]])],
144297
 
+            [gl_cv_search_pthread_join="-lpthread"])
144298
 
+        fi
144299
 
+        LIBS="$gl_saved_libs"
144300
 
+       ])
144301
 
+     if test "$gl_cv_search_pthread_join" != "none required"; then
144302
 
+       LIB_PTHREAD="$gl_cv_search_pthread_join"
144303
 
+     fi
144304
 
+   fi
144305
 
+   AC_SUBST([LIB_PTHREAD])
144306
 
+
144307
 
+   AC_REQUIRE([AC_C_INLINE])
144308
 
+   AC_REQUIRE([AC_C_RESTRICT])
144309
 
+])
144310
 
+m4trace:m4/pthread.m4:73: -1- AC_DEFUN([gl_PTHREAD_DEFAULTS], [
144311
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
144312
 
+  HAVE_PTHREAD_H=1;              AC_SUBST([HAVE_PTHREAD_H])
144313
 
+  HAVE_PTHREAD_T=1;              AC_SUBST([HAVE_PTHREAD_T])
144314
 
+  HAVE_PTHREAD_SPINLOCK_T=1;     AC_SUBST([HAVE_PTHREAD_SPINLOCK_T])
144315
 
+])
144316
 
+m4trace:m4/putenv.m4:12: -1- AC_DEFUN([gl_FUNC_PUTENV], [
144317
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
144318
 
+  AC_CACHE_CHECK([for putenv compatible with GNU and SVID],
144319
 
+   [gl_cv_func_svid_putenv],
144320
 
+   [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],[[
144321
 
+    /* Put it in env.  */
144322
 
+    if (putenv ("CONFTEST_putenv=val"))
144323
 
+      return 1;
144324
 
+
144325
 
+    /* Try to remove it.  */
144326
 
+    if (putenv ("CONFTEST_putenv"))
144327
 
+      return 2;
144328
 
+
144329
 
+    /* Make sure it was deleted.  */
144330
 
+    if (getenv ("CONFTEST_putenv") != 0)
144331
 
+      return 3;
144332
 
+
144333
 
+    return 0;
144334
 
+              ]])],
144335
 
+             gl_cv_func_svid_putenv=yes,
144336
 
+             gl_cv_func_svid_putenv=no,
144337
 
+             dnl When crosscompiling, assume putenv is broken.
144338
 
+             gl_cv_func_svid_putenv=no)
144339
 
+   ])
144340
 
+  if test $gl_cv_func_svid_putenv = no; then
144341
 
+    REPLACE_PUTENV=1
144342
 
+  fi
144343
 
+])
144344
 
+m4trace:m4/quote.m4:8: -1- AC_DEFUN([gl_QUOTE], [
144345
 
+  dnl Prerequisites of lib/quote.c.
144346
 
+  dnl (none)
144347
 
+  :
144348
 
+])
144349
 
+m4trace:m4/quotearg.m4:7: -1- AC_DEFUN([gl_QUOTEARG], [
144350
 
+  :
144351
 
+])
144352
 
+m4trace:m4/read-file.m4:8: -1- AC_DEFUN([gl_PREREQ_READ_FILE], [:])
144353
 
+m4trace:m4/read.m4:7: -1- AC_DEFUN([gl_FUNC_READ], [
144354
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
144355
 
+  dnl This ifdef is just an optimization, to avoid performing a configure
144356
 
+  dnl check whose result is not used. It does not make the test of
144357
 
+  dnl GNULIB_UNISTD_H_NONBLOCKING or GNULIB_NONBLOCKING redundant.
144358
 
+  m4_ifdef([gl_NONBLOCKING_IO], [
144359
 
+    gl_NONBLOCKING_IO
144360
 
+    if test $gl_cv_have_nonblocking != yes; then
144361
 
+      REPLACE_READ=1
144362
 
+    fi
144363
 
+  ])
144364
 
+])
144365
 
+m4trace:m4/readlink.m4:7: -1- AC_DEFUN([gl_FUNC_READLINK], [
144366
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
144367
 
+  AC_CHECK_FUNCS_ONCE([readlink])
144368
 
+  if test $ac_cv_func_readlink = no; then
144369
 
+    HAVE_READLINK=0
144370
 
+  else
144371
 
+    AC_CACHE_CHECK([whether readlink signature is correct],
144372
 
+      [gl_cv_decl_readlink_works],
144373
 
+      [AC_COMPILE_IFELSE(
144374
 
+         [AC_LANG_PROGRAM(
144375
 
+           [[#include <unistd.h>
144376
 
+      /* Cause compilation failure if original declaration has wrong type.  */
144377
 
+      ssize_t readlink (const char *, char *, size_t);]])],
144378
 
+         [gl_cv_decl_readlink_works=yes], [gl_cv_decl_readlink_works=no])])
144379
 
+    dnl Solaris 9 ignores trailing slash.
144380
 
+    dnl FreeBSD 7.2 dereferences only one level of links with trailing slash.
144381
 
+    AC_CACHE_CHECK([whether readlink handles trailing slash correctly],
144382
 
+      [gl_cv_func_readlink_works],
144383
 
+      [# We have readlink, so assume ln -s works.
144384
 
+       ln -s conftest.no-such conftest.link
144385
 
+       ln -s conftest.link conftest.lnk2
144386
 
+       AC_RUN_IFELSE(
144387
 
+         [AC_LANG_PROGRAM(
144388
 
+           [[#include <unistd.h>
144389
 
+]], [[char buf[20];
144390
 
+      return readlink ("conftest.lnk2/", buf, sizeof buf) != -1;]])],
144391
 
+         [gl_cv_func_readlink_works=yes], [gl_cv_func_readlink_works=no],
144392
 
+         [gl_cv_func_readlink_works="guessing no"])
144393
 
+      rm -f conftest.link conftest.lnk2])
144394
 
+    if test "$gl_cv_func_readlink_works" != yes; then
144395
 
+      AC_DEFINE([READLINK_TRAILING_SLASH_BUG], [1], [Define to 1 if readlink
144396
 
+        fails to recognize a trailing slash.])
144397
 
+      REPLACE_READLINK=1
144398
 
+    elif test "$gl_cv_decl_readlink_works" != yes; then
144399
 
+      REPLACE_READLINK=1
144400
 
+    fi
144401
 
+  fi
144402
 
+])
144403
 
+m4trace:m4/readlink.m4:49: -1- AC_DEFUN([gl_FUNC_READLINK_SEPARATE], [
144404
 
+  AC_CHECK_FUNCS_ONCE([readlink])
144405
 
+  gl_PREREQ_READLINK
144406
 
+])
144407
 
+m4trace:m4/readlink.m4:56: -1- AC_DEFUN([gl_PREREQ_READLINK], [
144408
 
+  :
144409
 
+])
144410
 
+m4trace:m4/readlinkat.m4:11: -1- AC_DEFUN([gl_FUNC_READLINKAT], [
144411
 
+  AC_REQUIRE([gl_FUNC_OPENAT])
144412
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
144413
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
144414
 
+  AC_CHECK_FUNCS_ONCE([readlinkat])
144415
 
+  if test $ac_cv_func_readlinkat = no; then
144416
 
+    HAVE_READLINKAT=0
144417
 
+  fi
144418
 
+])
144419
 
+m4trace:m4/readtokens.m4:9: -1- AC_DEFUN([gl_READTOKENS], [
144420
 
+  :
144421
 
+])
144422
 
+m4trace:m4/readutmp.m4:7: -1- AC_DEFUN([gl_READUTMP], [
144423
 
+  dnl Persuade utmpx.h to declare utmpxname
144424
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
144425
 
+
144426
 
+  AC_CHECK_HEADERS_ONCE([utmp.h utmpx.h])
144427
 
+  if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then
144428
 
+    dnl Prerequisites of lib/readutmp.h and lib/readutmp.c.
144429
 
+    AC_REQUIRE([AC_C_INLINE])
144430
 
+    AC_CHECK_FUNCS_ONCE([utmpname utmpxname])
144431
 
+    AC_CHECK_DECLS([getutent],,,[
144432
 
+/* <sys/types.h> is a prerequisite of <utmp.h> on FreeBSD 8.0, OpenBSD 4.6.  */
144433
 
+#include <sys/types.h>
144434
 
+#ifdef HAVE_UTMP_H
144435
 
+# include <utmp.h>
144436
 
+#endif
144437
 
+])
144438
 
+    utmp_includes="\
144439
 
+AC_INCLUDES_DEFAULT
144440
 
+#ifdef HAVE_UTMPX_H
144441
 
+# include <utmpx.h>
144442
 
+#endif
144443
 
+#ifdef HAVE_UTMP_H
144444
 
+# if defined _THREAD_SAFE && defined UTMP_DATA_INIT
144445
 
+   /* When including both utmp.h and utmpx.h on AIX 4.3, with _THREAD_SAFE
144446
 
+      defined, work around the duplicate struct utmp_data declaration.  */
144447
 
+#  define utmp_data gl_aix_4_3_workaround_utmp_data
144448
 
+# endif
144449
 
+# include <utmp.h>
144450
 
+#endif
144451
 
+"
144452
 
+    AC_CHECK_MEMBERS([struct utmpx.ut_user],,,[$utmp_includes])
144453
 
+    AC_CHECK_MEMBERS([struct utmp.ut_user],,,[$utmp_includes])
144454
 
+    AC_CHECK_MEMBERS([struct utmpx.ut_name],,,[$utmp_includes])
144455
 
+    AC_CHECK_MEMBERS([struct utmp.ut_name],,,[$utmp_includes])
144456
 
+    AC_CHECK_MEMBERS([struct utmpx.ut_type],,,[$utmp_includes])
144457
 
+    AC_CHECK_MEMBERS([struct utmp.ut_type],,,[$utmp_includes])
144458
 
+    AC_CHECK_MEMBERS([struct utmpx.ut_pid],,,[$utmp_includes])
144459
 
+    AC_CHECK_MEMBERS([struct utmp.ut_pid],,,[$utmp_includes])
144460
 
+    AC_CHECK_MEMBERS([struct utmpx.ut_id],,,[$utmp_includes])
144461
 
+    AC_CHECK_MEMBERS([struct utmp.ut_id],,,[$utmp_includes])
144462
 
+    AC_CHECK_MEMBERS([struct utmpx.ut_exit],,,[$utmp_includes])
144463
 
+    AC_CHECK_MEMBERS([struct utmp.ut_exit],,,[$utmp_includes])
144464
 
+
144465
 
+    AC_CHECK_MEMBERS([struct utmpx.ut_exit.ut_exit],,,[$utmp_includes])
144466
 
+    AC_CHECK_MEMBERS([struct utmp.ut_exit.ut_exit],,,[$utmp_includes])
144467
 
+    AC_CHECK_MEMBERS([struct utmpx.ut_exit.e_exit],,,[$utmp_includes])
144468
 
+    AC_CHECK_MEMBERS([struct utmp.ut_exit.e_exit],,,[$utmp_includes])
144469
 
+
144470
 
+    AC_CHECK_MEMBERS([struct utmpx.ut_exit.ut_termination],,,[$utmp_includes])
144471
 
+    AC_CHECK_MEMBERS([struct utmp.ut_exit.ut_termination],,,[$utmp_includes])
144472
 
+    AC_CHECK_MEMBERS([struct utmpx.ut_exit.e_termination],,,[$utmp_includes])
144473
 
+    AC_CHECK_MEMBERS([struct utmp.ut_exit.e_termination],,,[$utmp_includes])
144474
 
+  fi
144475
 
+])
144476
 
+m4trace:m4/realloc.m4:11: -1- AC_DEFUN([gl_FUNC_REALLOC_GNU], [
144477
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
144478
 
+  dnl _AC_FUNC_REALLOC_IF is defined in Autoconf.
144479
 
+  _AC_FUNC_REALLOC_IF(
144480
 
+    [AC_DEFINE([HAVE_REALLOC_GNU], [1],
144481
 
+               [Define to 1 if your system has a GNU libc compatible 'realloc'
144482
 
+                function, and to 0 otherwise.])],
144483
 
+    [AC_DEFINE([HAVE_REALLOC_GNU], [0])
144484
 
+     REPLACE_REALLOC=1
144485
 
+    ])
144486
 
+])
144487
 
+m4trace:m4/realloc.m4:28: -1- AC_DEFUN([gl_FUNC_REALLOC_POSIX], [
144488
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
144489
 
+  AC_REQUIRE([gl_CHECK_MALLOC_POSIX])
144490
 
+  if test $gl_cv_func_malloc_posix = yes; then
144491
 
+    AC_DEFINE([HAVE_REALLOC_POSIX], [1],
144492
 
+      [Define if the 'realloc' function is POSIX compliant.])
144493
 
+  else
144494
 
+    REPLACE_REALLOC=1
144495
 
+  fi
144496
 
+])
144497
 
+m4trace:m4/regex.m4:14: -1- AC_DEFUN([gl_REGEX], [
144498
 
+  AC_ARG_WITH([included-regex],
144499
 
+    [AS_HELP_STRING([--without-included-regex],
144500
 
+                    [don't compile regex; this is the default on systems
144501
 
+                     with recent-enough versions of the GNU C Library
144502
 
+                     (use with caution on other systems).])])
144503
 
+
144504
 
+  case $with_included_regex in #(
144505
 
+  yes|no) ac_use_included_regex=$with_included_regex
144506
 
+        ;;
144507
 
+  '')
144508
 
+    # If the system regex support is good enough that it passes the
144509
 
+    # following run test, then default to *not* using the included regex.c.
144510
 
+    # If cross compiling, assume the test would fail and use the included
144511
 
+    # regex.c.
144512
 
+    AC_CACHE_CHECK([for working re_compile_pattern],
144513
 
+                   [gl_cv_func_re_compile_pattern_working],
144514
 
+      [AC_RUN_IFELSE(
144515
 
+        [AC_LANG_PROGRAM(
144516
 
+          [AC_INCLUDES_DEFAULT[
144517
 
+           #include <locale.h>
144518
 
+           #include <limits.h>
144519
 
+           #include <regex.h>
144520
 
+           ]],
144521
 
+          [[int result = 0;
144522
 
+            static struct re_pattern_buffer regex;
144523
 
+            unsigned char folded_chars[UCHAR_MAX + 1];
144524
 
+            int i;
144525
 
+            const char *s;
144526
 
+            struct re_registers regs;
144527
 
+
144528
 
+            /* http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html
144529
 
+               This test needs valgrind to catch the bug on Debian
144530
 
+               GNU/Linux 3.1 x86, but it might catch the bug better
144531
 
+               on other platforms and it shouldn't hurt to try the
144532
 
+               test here.  */
144533
 
+            if (setlocale (LC_ALL, "en_US.UTF-8"))
144534
 
+              {
144535
 
+                static char const pat[] = "insert into";
144536
 
+                static char const data[] =
144537
 
+                  "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK";
144538
 
+                re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE
144539
 
+                               | RE_ICASE);
144540
 
+                memset (&regex, 0, sizeof regex);
144541
 
+                s = re_compile_pattern (pat, sizeof pat - 1, &regex);
144542
 
+                if (s)
144543
 
+                  result |= 1;
144544
 
+                else if (re_search (&regex, data, sizeof data - 1,
144545
 
+                                    0, sizeof data - 1, &regs)
144546
 
+                         != -1)
144547
 
+                  result |= 1;
144548
 
+                if (! setlocale (LC_ALL, "C"))
144549
 
+                  return 1;
144550
 
+              }
144551
 
+
144552
 
+            /* This test is from glibc bug 3957, reported by Andrew Mackey.  */
144553
 
+            re_set_syntax (RE_SYNTAX_EGREP | RE_HAT_LISTS_NOT_NEWLINE);
144554
 
+            memset (&regex, 0, sizeof regex);
144555
 
+            s = re_compile_pattern ("a[^x]b", 6, &regex);
144556
 
+            if (s)
144557
 
+              result |= 2;
144558
 
+            /* This should fail, but succeeds for glibc-2.5.  */
144559
 
+            else if (re_search (&regex, "a\nb", 3, 0, 3, &regs) != -1)
144560
 
+              result |= 2;
144561
 
+
144562
 
+            /* This regular expression is from Spencer ere test number 75
144563
 
+               in grep-2.3.  */
144564
 
+            re_set_syntax (RE_SYNTAX_POSIX_EGREP);
144565
 
+            memset (&regex, 0, sizeof regex);
144566
 
+            for (i = 0; i <= UCHAR_MAX; i++)
144567
 
+              folded_chars[i] = i;
144568
 
+            regex.translate = folded_chars;
144569
 
+            s = re_compile_pattern ("a[[:@:>@:]]b\n", 11, &regex);
144570
 
+            /* This should fail with _Invalid character class name_ error.  */
144571
 
+            if (!s)
144572
 
+              result |= 4;
144573
 
+
144574
 
+            /* Ensure that [b-a] is diagnosed as invalid, when
144575
 
+               using RE_NO_EMPTY_RANGES. */
144576
 
+            re_set_syntax (RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES);
144577
 
+            memset (&regex, 0, sizeof regex);
144578
 
+            s = re_compile_pattern ("a[b-a]", 6, &regex);
144579
 
+            if (s == 0)
144580
 
+              result |= 8;
144581
 
+
144582
 
+            /* This should succeed, but does not for glibc-2.1.3.  */
144583
 
+            memset (&regex, 0, sizeof regex);
144584
 
+            s = re_compile_pattern ("{1", 2, &regex);
144585
 
+            if (s)
144586
 
+              result |= 8;
144587
 
+
144588
 
+            /* The following example is derived from a problem report
144589
 
+               against gawk from Jorge Stolfi <stolfi@ic.unicamp.br>.  */
144590
 
+            memset (&regex, 0, sizeof regex);
144591
 
+            s = re_compile_pattern ("[an\371]*n", 7, &regex);
144592
 
+            if (s)
144593
 
+              result |= 8;
144594
 
+            /* This should match, but does not for glibc-2.2.1.  */
144595
 
+            else if (re_match (&regex, "an", 2, 0, &regs) != 2)
144596
 
+              result |= 8;
144597
 
+
144598
 
+            memset (&regex, 0, sizeof regex);
144599
 
+            s = re_compile_pattern ("x", 1, &regex);
144600
 
+            if (s)
144601
 
+              result |= 8;
144602
 
+            /* glibc-2.2.93 does not work with a negative RANGE argument.  */
144603
 
+            else if (re_search (&regex, "wxy", 3, 2, -2, &regs) != 1)
144604
 
+              result |= 8;
144605
 
+
144606
 
+            /* The version of regex.c in older versions of gnulib
144607
 
+               ignored RE_ICASE.  Detect that problem too.  */
144608
 
+            re_set_syntax (RE_SYNTAX_EMACS | RE_ICASE);
144609
 
+            memset (&regex, 0, sizeof regex);
144610
 
+            s = re_compile_pattern ("x", 1, &regex);
144611
 
+            if (s)
144612
 
+              result |= 16;
144613
 
+            else if (re_search (&regex, "WXY", 3, 0, 3, &regs) < 0)
144614
 
+              result |= 16;
144615
 
+
144616
 
+            /* Catch a bug reported by Vin Shelton in
144617
 
+               http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00089.html
144618
 
+               */
144619
 
+            re_set_syntax (RE_SYNTAX_POSIX_BASIC
144620
 
+                           & ~RE_CONTEXT_INVALID_DUP
144621
 
+                           & ~RE_NO_EMPTY_RANGES);
144622
 
+            memset (&regex, 0, sizeof regex);
144623
 
+            s = re_compile_pattern ("[[:alnum:]_-]\\\\+$", 16, &regex);
144624
 
+            if (s)
144625
 
+              result |= 32;
144626
 
+
144627
 
+            /* REG_STARTEND was added to glibc on 2004-01-15.
144628
 
+               Reject older versions.  */
144629
 
+            if (! REG_STARTEND)
144630
 
+              result |= 64;
144631
 
+
144632
 
+#if 0
144633
 
+            /* It would be nice to reject hosts whose regoff_t values are too
144634
 
+               narrow (including glibc on hosts with 64-bit ptrdiff_t and
144635
 
+               32-bit int), but we should wait until glibc implements this
144636
 
+               feature.  Otherwise, support for equivalence classes and
144637
 
+               multibyte collation symbols would always be broken except
144638
 
+               when compiling --without-included-regex.   */
144639
 
+            if (sizeof (regoff_t) < sizeof (ptrdiff_t)
144640
 
+                || sizeof (regoff_t) < sizeof (ssize_t))
144641
 
+              result |= 64;
144642
 
+#endif
144643
 
+
144644
 
+            return result;
144645
 
+          ]])],
144646
 
+       [gl_cv_func_re_compile_pattern_working=yes],
144647
 
+       [gl_cv_func_re_compile_pattern_working=no],
144648
 
+       dnl When crosscompiling, assume it is not working.
144649
 
+       [gl_cv_func_re_compile_pattern_working=no])])
144650
 
+    case $gl_cv_func_re_compile_pattern_working in #(
144651
 
+    yes) ac_use_included_regex=no;; #(
144652
 
+    no) ac_use_included_regex=yes;;
144653
 
+    esac
144654
 
+    ;;
144655
 
+  *) AC_MSG_ERROR([Invalid value for --with-included-regex: $with_included_regex])
144656
 
+    ;;
144657
 
+  esac
144658
 
+
144659
 
+  if test $ac_use_included_regex = yes; then
144660
 
+    AC_DEFINE([_REGEX_LARGE_OFFSETS], [1],
144661
 
+      [Define if you want regoff_t to be at least as wide POSIX requires.])
144662
 
+    AC_DEFINE([re_syntax_options], [rpl_re_syntax_options],
144663
 
+      [Define to rpl_re_syntax_options if the replacement should be used.])
144664
 
+    AC_DEFINE([re_set_syntax], [rpl_re_set_syntax],
144665
 
+      [Define to rpl_re_set_syntax if the replacement should be used.])
144666
 
+    AC_DEFINE([re_compile_pattern], [rpl_re_compile_pattern],
144667
 
+      [Define to rpl_re_compile_pattern if the replacement should be used.])
144668
 
+    AC_DEFINE([re_compile_fastmap], [rpl_re_compile_fastmap],
144669
 
+      [Define to rpl_re_compile_fastmap if the replacement should be used.])
144670
 
+    AC_DEFINE([re_search], [rpl_re_search],
144671
 
+      [Define to rpl_re_search if the replacement should be used.])
144672
 
+    AC_DEFINE([re_search_2], [rpl_re_search_2],
144673
 
+      [Define to rpl_re_search_2 if the replacement should be used.])
144674
 
+    AC_DEFINE([re_match], [rpl_re_match],
144675
 
+      [Define to rpl_re_match if the replacement should be used.])
144676
 
+    AC_DEFINE([re_match_2], [rpl_re_match_2],
144677
 
+      [Define to rpl_re_match_2 if the replacement should be used.])
144678
 
+    AC_DEFINE([re_set_registers], [rpl_re_set_registers],
144679
 
+      [Define to rpl_re_set_registers if the replacement should be used.])
144680
 
+    AC_DEFINE([re_comp], [rpl_re_comp],
144681
 
+      [Define to rpl_re_comp if the replacement should be used.])
144682
 
+    AC_DEFINE([re_exec], [rpl_re_exec],
144683
 
+      [Define to rpl_re_exec if the replacement should be used.])
144684
 
+    AC_DEFINE([regcomp], [rpl_regcomp],
144685
 
+      [Define to rpl_regcomp if the replacement should be used.])
144686
 
+    AC_DEFINE([regexec], [rpl_regexec],
144687
 
+      [Define to rpl_regexec if the replacement should be used.])
144688
 
+    AC_DEFINE([regerror], [rpl_regerror],
144689
 
+      [Define to rpl_regerror if the replacement should be used.])
144690
 
+    AC_DEFINE([regfree], [rpl_regfree],
144691
 
+      [Define to rpl_regfree if the replacement should be used.])
144692
 
+  fi
144693
 
+])
144694
 
+m4trace:m4/regex.m4:214: -1- AC_DEFUN([gl_PREREQ_REGEX], [
144695
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
144696
 
+  AC_REQUIRE([AC_C_INLINE])
144697
 
+  AC_REQUIRE([AC_C_RESTRICT])
144698
 
+  AC_REQUIRE([AC_TYPE_MBSTATE_T])
144699
 
+  AC_CHECK_HEADERS([libintl.h])
144700
 
+  AC_CHECK_FUNCS_ONCE([isblank iswctype wcscoll])
144701
 
+  AC_CHECK_DECLS([isblank], [], [], [#include <ctype.h>])
144702
 
+])
144703
 
+m4trace:m4/remove.m4:7: -1- AC_DEFUN([gl_FUNC_REMOVE], [
144704
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
144705
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
144706
 
+  AC_REQUIRE([gl_FUNC_RMDIR])
144707
 
+  AC_REQUIRE([gl_FUNC_UNLINK])
144708
 
+  if test "$gl_cv_func_rmdir_works:$gl_cv_func_unlink_works" != yes:yes; then
144709
 
+    dnl If either underlying syscall is broken, then remove likely has
144710
 
+    dnl the same bug; blindly use our replacement.
144711
 
+    REPLACE_REMOVE=1
144712
 
+  else
144713
 
+    dnl C89 requires remove(), but only POSIX requires it to handle
144714
 
+    dnl directories.  On mingw, directories fails with EPERM.
144715
 
+    AC_CACHE_CHECK([whether remove handles directories],
144716
 
+      [gl_cv_func_remove_dir_works],
144717
 
+      [mkdir conftest.dir
144718
 
+       AC_RUN_IFELSE(
144719
 
+         [AC_LANG_PROGRAM(
144720
 
+           [[#include <stdio.h>
144721
 
+]], [[return remove ("conftest.dir");]])],
144722
 
+         [gl_cv_func_remove_dir_works=yes], [gl_cv_func_remove_dir_works=no],
144723
 
+         [case $host_os in
144724
 
+            mingw*) gl_cv_func_remove_dir_works="guessing no";;
144725
 
+            *) gl_cv_func_remove_dir_works="guessing yes";;
144726
 
+          esac])
144727
 
+       rm -rf conftest.dir])
144728
 
+    case $gl_cv_func_remove_dir_works in
144729
 
+      *no*) REPLACE_REMOVE=1;;
144730
 
+    esac
144731
 
+  fi
144732
 
+])
144733
 
+m4trace:m4/rename.m4:16: -1- AC_DEFUN([gl_FUNC_RENAME], [
144734
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
144735
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
144736
 
+  AC_CHECK_FUNCS_ONCE([lstat])
144737
 
+
144738
 
+  dnl Solaris 10, AIX 7.1 mistakenly allow rename("file","name/").
144739
 
+  dnl NetBSD 1.6 mistakenly forbids rename("dir","name/").
144740
 
+  dnl FreeBSD 7.2 mistakenly allows rename("file","link-to-file/").
144741
 
+  dnl The Solaris bug can be worked around without stripping
144742
 
+  dnl trailing slash, while the NetBSD bug requires stripping;
144743
 
+  dnl the two conditions can be distinguished by whether hard
144744
 
+  dnl links are also broken.
144745
 
+  AC_CACHE_CHECK([whether rename honors trailing slash on destination],
144746
 
+    [gl_cv_func_rename_slash_dst_works],
144747
 
+    [rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk
144748
 
+    touch conftest.f && touch conftest.f1 && mkdir conftest.d1 ||
144749
 
+      AC_MSG_ERROR([cannot create temporary files])
144750
 
+    # Assume that if we have lstat, we can also check symlinks.
144751
 
+    if test $ac_cv_func_lstat = yes; then
144752
 
+      ln -s conftest.f conftest.lnk
144753
 
+    fi
144754
 
+    AC_RUN_IFELSE(
144755
 
+      [AC_LANG_PROGRAM([[
144756
 
+#        include <stdio.h>
144757
 
+#        include <stdlib.h>
144758
 
+         ]],
144759
 
+         [[int result = 0;
144760
 
+           if (rename ("conftest.f1", "conftest.f2/") == 0)
144761
 
+             result |= 1;
144762
 
+           if (rename ("conftest.d1", "conftest.d2/") != 0)
144763
 
+             result |= 2;
144764
 
+#if HAVE_LSTAT
144765
 
+           if (rename ("conftest.f", "conftest.lnk/") == 0)
144766
 
+             result |= 4;
144767
 
+#endif
144768
 
+           return result;
144769
 
+         ]])],
144770
 
+      [gl_cv_func_rename_slash_dst_works=yes],
144771
 
+      [gl_cv_func_rename_slash_dst_works=no],
144772
 
+      dnl When crosscompiling, assume rename is broken.
144773
 
+      [gl_cv_func_rename_slash_dst_works="guessing no"])
144774
 
+    rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk
144775
 
+  ])
144776
 
+  if test "x$gl_cv_func_rename_slash_dst_works" != xyes; then
144777
 
+    REPLACE_RENAME=1
144778
 
+    AC_DEFINE([RENAME_TRAILING_SLASH_DEST_BUG], [1],
144779
 
+      [Define if rename does not correctly handle slashes on the destination
144780
 
+       argument, such as on Solaris 10 or NetBSD 1.6.])
144781
 
+  fi
144782
 
+
144783
 
+  dnl SunOS 4.1.1_U1 mistakenly forbids rename("dir/","name").
144784
 
+  dnl Solaris 9 mistakenly allows rename("file/","name").
144785
 
+  dnl FreeBSD 7.2 mistakenly allows rename("link-to-file/","name").
144786
 
+  dnl These bugs require stripping trailing slash to avoid corrupting
144787
 
+  dnl symlinks with a trailing slash.
144788
 
+  AC_CACHE_CHECK([whether rename honors trailing slash on source],
144789
 
+    [gl_cv_func_rename_slash_src_works],
144790
 
+    [rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk
144791
 
+    touch conftest.f && touch conftest.f1 && mkdir conftest.d1 ||
144792
 
+      AC_MSG_ERROR([cannot create temporary files])
144793
 
+    # Assume that if we have lstat, we can also check symlinks.
144794
 
+    if test $ac_cv_func_lstat = yes; then
144795
 
+      ln -s conftest.f conftest.lnk
144796
 
+    fi
144797
 
+    AC_RUN_IFELSE(
144798
 
+      [AC_LANG_PROGRAM([[
144799
 
+#        include <stdio.h>
144800
 
+#        include <stdlib.h>
144801
 
+         ]],
144802
 
+         [[int result = 0;
144803
 
+           if (rename ("conftest.f1/", "conftest.d3") == 0)
144804
 
+             result |= 1;
144805
 
+           if (rename ("conftest.d1/", "conftest.d2") != 0)
144806
 
+             result |= 2;
144807
 
+#if HAVE_LSTAT
144808
 
+           if (rename ("conftest.lnk/", "conftest.f") == 0)
144809
 
+             result |= 4;
144810
 
+#endif
144811
 
+           return result;
144812
 
+         ]])],
144813
 
+      [gl_cv_func_rename_slash_src_works=yes],
144814
 
+      [gl_cv_func_rename_slash_src_works=no],
144815
 
+      dnl When crosscompiling, assume rename is broken.
144816
 
+      [gl_cv_func_rename_slash_src_works="guessing no"])
144817
 
+    rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk
144818
 
+  ])
144819
 
+  if test "x$gl_cv_func_rename_slash_src_works" != xyes; then
144820
 
+    REPLACE_RENAME=1
144821
 
+    AC_DEFINE([RENAME_TRAILING_SLASH_SOURCE_BUG], [1],
144822
 
+      [Define if rename does not correctly handle slashes on the source
144823
 
+       argument, such as on Solaris 9 or cygwin 1.5.])
144824
 
+  fi
144825
 
+
144826
 
+  dnl NetBSD 1.6 and cygwin 1.5.x mistakenly reduce hard link count
144827
 
+  dnl on rename("h1","h2").
144828
 
+  dnl This bug requires stat'ting targets prior to attempting rename.
144829
 
+  AC_CACHE_CHECK([whether rename manages hard links correctly],
144830
 
+    [gl_cv_func_rename_link_works],
144831
 
+    [rm -rf conftest.f conftest.f1
144832
 
+    if touch conftest.f && ln conftest.f conftest.f1 &&
144833
 
+        set x `ls -i conftest.f conftest.f1` && test "$2" = "$4"; then
144834
 
+      AC_RUN_IFELSE(
144835
 
+        [AC_LANG_PROGRAM([[
144836
 
+#          include <stdio.h>
144837
 
+#          include <stdlib.h>
144838
 
+#          include <unistd.h>
144839
 
+           ]],
144840
 
+           [[int result = 0;
144841
 
+             if (rename ("conftest.f", "conftest.f1"))
144842
 
+               result |= 1;
144843
 
+             if (unlink ("conftest.f1"))
144844
 
+               result |= 2;
144845
 
+             if (rename ("conftest.f", "conftest.f"))
144846
 
+               result |= 4;
144847
 
+             if (rename ("conftest.f1", "conftest.f1") == 0)
144848
 
+               result |= 8;
144849
 
+             return result;
144850
 
+           ]])],
144851
 
+        [gl_cv_func_rename_link_works=yes],
144852
 
+        [gl_cv_func_rename_link_works=no],
144853
 
+        dnl When crosscompiling, assume rename is broken.
144854
 
+        [gl_cv_func_rename_link_works="guessing no"])
144855
 
+    else
144856
 
+      gl_cv_func_rename_link_works="guessing no"
144857
 
+    fi
144858
 
+    rm -rf conftest.f conftest.f1
144859
 
+  ])
144860
 
+  if test "x$gl_cv_func_rename_link_works" != xyes; then
144861
 
+    REPLACE_RENAME=1
144862
 
+    AC_DEFINE([RENAME_HARD_LINK_BUG], [1],
144863
 
+      [Define if rename fails to leave hard links alone, as on NetBSD 1.6
144864
 
+       or Cygwin 1.5.])
144865
 
+  fi
144866
 
+
144867
 
+  dnl Cygwin 1.5.x mistakenly allows rename("dir","file").
144868
 
+  dnl mingw mistakenly forbids rename("dir1","dir2").
144869
 
+  dnl These bugs require stripping trailing slash to avoid corrupting
144870
 
+  dnl symlinks with a trailing slash.
144871
 
+  AC_CACHE_CHECK([whether rename manages existing destinations correctly],
144872
 
+    [gl_cv_func_rename_dest_works],
144873
 
+    [rm -rf conftest.f conftest.d1 conftest.d2
144874
 
+    touch conftest.f && mkdir conftest.d1 conftest.d2 ||
144875
 
+      AC_MSG_ERROR([cannot create temporary files])
144876
 
+    AC_RUN_IFELSE(
144877
 
+      [AC_LANG_PROGRAM([[
144878
 
+#        include <stdio.h>
144879
 
+#        include <stdlib.h>
144880
 
+         ]],
144881
 
+         [[int result = 0;
144882
 
+           if (rename ("conftest.d1", "conftest.d2") != 0)
144883
 
+             result |= 1;
144884
 
+           if (rename ("conftest.d2", "conftest.f") == 0)
144885
 
+             result |= 2;
144886
 
+           return result;
144887
 
+         ]])],
144888
 
+      [gl_cv_func_rename_dest_works=yes],
144889
 
+      [gl_cv_func_rename_dest_works=no],
144890
 
+      dnl When crosscompiling, assume rename is broken.
144891
 
+      [gl_cv_func_rename_dest_works="guessing no"])
144892
 
+    rm -rf conftest.f conftest.d1 conftest.d2
144893
 
+  ])
144894
 
+  if test "x$gl_cv_func_rename_dest_works" != xyes; then
144895
 
+    REPLACE_RENAME=1
144896
 
+    AC_DEFINE([RENAME_DEST_EXISTS_BUG], [1],
144897
 
+      [Define if rename does not work when the destination file exists,
144898
 
+       as on Cygwin 1.5 or Windows.])
144899
 
+  fi
144900
 
+])
144901
 
+m4trace:m4/rmdir.m4:7: -1- AC_DEFUN([gl_FUNC_RMDIR], [
144902
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
144903
 
+  dnl Detect cygwin 1.5.x bug.
144904
 
+  AC_CACHE_CHECK([whether rmdir works], [gl_cv_func_rmdir_works],
144905
 
+    [mkdir conftest.dir
144906
 
+     touch conftest.file
144907
 
+     AC_RUN_IFELSE(
144908
 
+       [AC_LANG_PROGRAM(
144909
 
+         [[#include <stdio.h>
144910
 
+           #include <errno.h>
144911
 
+           #include <unistd.h>
144912
 
+]], [[int result = 0;
144913
 
+      if (!rmdir ("conftest.file/"))
144914
 
+        result |= 1;
144915
 
+      else if (errno != ENOTDIR)
144916
 
+        result |= 2;
144917
 
+      if (!rmdir ("conftest.dir/./"))
144918
 
+        result |= 4;
144919
 
+      return result;
144920
 
+    ]])],
144921
 
+       [gl_cv_func_rmdir_works=yes], [gl_cv_func_rmdir_works=no],
144922
 
+       [gl_cv_func_rmdir_works="guessing no"])
144923
 
+     rm -rf conftest.dir conftest.file])
144924
 
+  if test x"$gl_cv_func_rmdir_works" != xyes; then
144925
 
+    REPLACE_RMDIR=1
144926
 
+  fi
144927
 
+])
144928
 
+m4trace:m4/root-dev-ino.m4:7: -1- AC_DEFUN([gl_ROOT_DEV_INO], [
144929
 
+  AC_LIBOBJ([root-dev-ino])
144930
 
+
144931
 
+  dnl Prerequisites
144932
 
+  AC_REQUIRE([AC_FUNC_LSTAT])
144933
 
+  :
144934
 
+])
144935
 
+m4trace:m4/rpmatch.m4:7: -1- AC_DEFUN([gl_FUNC_RPMATCH], [
144936
 
+  dnl Persuade glibc <stdlib.h> to declare rpmatch().
144937
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
144938
 
+
144939
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
144940
 
+  AC_CHECK_FUNCS([rpmatch])
144941
 
+  if test $ac_cv_func_rpmatch = no; then
144942
 
+    HAVE_RPMATCH=0
144943
 
+  fi
144944
 
+])
144945
 
+m4trace:m4/rpmatch.m4:20: -1- AC_DEFUN([gl_PREREQ_RPMATCH], [
144946
 
+  AC_CACHE_CHECK([for nl_langinfo and YESEXPR], [gl_cv_langinfo_yesexpr],
144947
 
+    [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <langinfo.h>]],
144948
 
+       [[char* cs = nl_langinfo(YESEXPR); return !cs;]])],
144949
 
+       [gl_cv_langinfo_yesexpr=yes],
144950
 
+       [gl_cv_langinfo_yesexpr=no])
144951
 
+    ])
144952
 
+  if test $gl_cv_langinfo_yesexpr = yes; then
144953
 
+    AC_DEFINE([HAVE_LANGINFO_YESEXPR], [1],
144954
 
+      [Define if you have <langinfo.h> and nl_langinfo(YESEXPR).])
144955
 
+  fi
144956
 
+])
144957
 
+m4trace:m4/safe-read.m4:9: -1- AC_DEFUN([gl_PREREQ_SAFE_READ], [
144958
 
+  AC_REQUIRE([gt_TYPE_SSIZE_T])
144959
 
+])
144960
 
+m4trace:m4/safe-write.m4:8: -1- AC_DEFUN([gl_PREREQ_SAFE_WRITE], [
144961
 
+  gl_PREREQ_SAFE_READ
144962
 
+])
144963
 
+m4trace:m4/same.m4:9: -1- AC_DEFUN([gl_SAME], [
144964
 
+  AC_REQUIRE([AC_SYS_LONG_FILE_NAMES])
144965
 
+  AC_CHECK_FUNCS_ONCE([pathconf])
144966
 
+])
144967
 
+m4trace:m4/save-cwd.m4:8: -1- AC_DEFUN([gl_SAVE_CWD], [
144968
 
+  AC_CHECK_FUNCS_ONCE([fchdir])
144969
 
+])
144970
 
+m4trace:m4/savedir.m4:8: -1- AC_DEFUN([gl_SAVEDIR], [
144971
 
+  :
144972
 
+])
144973
 
+m4trace:m4/savewd.m4:8: -1- AC_DEFUN([gl_SAVEWD], [AC_REQUIRE([AC_C_INLINE])])
144974
 
+m4trace:m4/sched_h.m4:9: -1- AC_DEFUN([gl_SCHED_H], [
144975
 
+  AC_COMPILE_IFELSE(
144976
 
+    [AC_LANG_PROGRAM([[
144977
 
+       #include <sched.h>
144978
 
+       struct sched_param a;
144979
 
+       int b[] = { SCHED_FIFO, SCHED_RR, SCHED_OTHER };
144980
 
+     ]])],
144981
 
+    [SCHED_H=''],
144982
 
+    [SCHED_H='sched.h'
144983
 
+
144984
 
+     gl_CHECK_NEXT_HEADERS([sched.h])
144985
 
+
144986
 
+     if test $ac_cv_header_sched_h = yes; then
144987
 
+       HAVE_SCHED_H=1
144988
 
+     else
144989
 
+       HAVE_SCHED_H=0
144990
 
+     fi
144991
 
+     AC_SUBST([HAVE_SCHED_H])
144992
 
+
144993
 
+     AC_CHECK_TYPE([struct sched_param],
144994
 
+       [HAVE_STRUCT_SCHED_PARAM=1], [HAVE_STRUCT_SCHED_PARAM=0],
144995
 
+       [#include <sched.h>])
144996
 
+     AC_SUBST([HAVE_STRUCT_SCHED_PARAM])
144997
 
+    ])
144998
 
+  AC_SUBST([SCHED_H])
144999
 
+  AM_CONDITIONAL([GL_GENERATE_SCHED_H], [test -n "$SCHED_H"])
145000
 
+])
145001
 
+m4trace:m4/select.m4:7: -1- AC_DEFUN([gl_FUNC_SELECT], [
145002
 
+  AC_REQUIRE([gl_HEADER_SYS_SELECT])
145003
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
145004
 
+  AC_REQUIRE([gl_SOCKETS])
145005
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
145006
 
+    REPLACE_SELECT=1
145007
 
+  else
145008
 
+    dnl On Interix 3.5, select(0, NULL, NULL, NULL, timeout) fails with error
145009
 
+    dnl EFAULT.
145010
 
+    AC_CHECK_HEADERS_ONCE([sys/select.h])
145011
 
+    AC_CACHE_CHECK([whether select supports a 0 argument],
145012
 
+      [gl_cv_func_select_supports0],
145013
 
+      [
145014
 
+        AC_RUN_IFELSE([AC_LANG_SOURCE([[
145015
 
+#include <sys/types.h>
145016
 
+#include <sys/time.h>
145017
 
+#if HAVE_SYS_SELECT_H
145018
 
+#include <sys/select.h>
145019
 
+#endif
145020
 
+int main ()
145021
 
+{
145022
 
+  struct timeval timeout;
145023
 
+  timeout.tv_sec = 0;
145024
 
+  timeout.tv_usec = 5;
145025
 
+  return select (0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &timeout) < 0;
145026
 
+}]])], [gl_cv_func_select_supports0=yes], [gl_cv_func_select_supports0=no],
145027
 
+          [
145028
 
+changequote(,)dnl
145029
 
+           case "$host_os" in
145030
 
+                       # Guess no on Interix.
145031
 
+             interix*) gl_cv_func_select_supports0="guessing no";;
145032
 
+                       # Guess yes otherwise.
145033
 
+             *)        gl_cv_func_select_supports0="guessing yes";;
145034
 
+           esac
145035
 
+changequote([,])dnl
145036
 
+          ])
145037
 
+      ])
145038
 
+    case "$gl_cv_func_select_supports0" in
145039
 
+      *yes) ;;
145040
 
+      *) REPLACE_SELECT=1 ;;
145041
 
+    esac
145042
 
+  fi
145043
 
+])
145044
 
+m4trace:m4/selinux-context-h.m4:10: -1- AC_DEFUN([gl_HEADERS_SELINUX_CONTEXT_H], [
145045
 
+  AC_REQUIRE([gl_LIBSELINUX])
145046
 
+  if test "$with_selinux" != no; then
145047
 
+    AC_CHECK_HEADERS([selinux/context.h],
145048
 
+                     [SELINUX_CONTEXT_H=],
145049
 
+                     [SELINUX_CONTEXT_H=selinux/context.h])
145050
 
+  else
145051
 
+    SELINUX_CONTEXT_H=selinux/context.h
145052
 
+  fi
145053
 
+  AC_SUBST([SELINUX_CONTEXT_H])
145054
 
+  AM_CONDITIONAL([GL_GENERATE_SELINUX_CONTEXT_H], [test -n "$SELINUX_CONTEXT_H"])
145055
 
+])
145056
 
+m4trace:m4/selinux-selinux-h.m4:12: -1- AC_DEFUN([gl_HEADERS_SELINUX_SELINUX_H], [
145057
 
+  AC_REQUIRE([gl_LIBSELINUX])
145058
 
+  if test "$with_selinux" != no; then
145059
 
+    AC_CHECK_HEADERS([selinux/selinux.h])
145060
 
+
145061
 
+    if test "$ac_cv_header_selinux_selinux_h" = yes; then
145062
 
+      # We do have <selinux/selinux.h>, so do compile getfilecon.c
145063
 
+      # and arrange to use its wrappers.
145064
 
+      gl_CHECK_NEXT_HEADERS([selinux/selinux.h])
145065
 
+      AC_DEFINE([getfilecon], [rpl_getfilecon],
145066
 
+                [Always use our getfilecon wrapper.])
145067
 
+      AC_DEFINE([lgetfilecon], [rpl_lgetfilecon],
145068
 
+                [Always use our lgetfilecon wrapper.])
145069
 
+      AC_DEFINE([fgetfilecon], [rpl_fgetfilecon],
145070
 
+                [Always use our fgetfilecon wrapper.])
145071
 
+    fi
145072
 
+
145073
 
+    case "$ac_cv_search_setfilecon:$ac_cv_header_selinux_selinux_h" in
145074
 
+      no:*) # already warned
145075
 
+        ;;
145076
 
+      *:no)
145077
 
+        AC_MSG_WARN([libselinux was found but selinux/selinux.h is missing.])
145078
 
+        AC_MSG_WARN([AC_PACKAGE_NAME will be compiled without SELinux support.])
145079
 
+    esac
145080
 
+  else
145081
 
+    # Do as if <selinux/selinux.h> does not exist, even if
145082
 
+    # AC_CHECK_HEADERS_ONCE has already determined that it exists.
145083
 
+    AC_DEFINE([HAVE_SELINUX_SELINUX_H], [0])
145084
 
+  fi
145085
 
+])
145086
 
+m4trace:m4/selinux-selinux-h.m4:44: -1- AC_DEFUN([gl_LIBSELINUX], [
145087
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
145088
 
+  AC_REQUIRE([AC_CANONICAL_BUILD])
145089
 
+
145090
 
+  AC_ARG_WITH([selinux],
145091
 
+    AS_HELP_STRING([--without-selinux], [do not use SELinux, even on systems with SELinux]),
145092
 
+    [], [with_selinux=maybe])
145093
 
+
145094
 
+  LIB_SELINUX=
145095
 
+  if test "$with_selinux" != no; then
145096
 
+    gl_save_LIBS=$LIBS
145097
 
+    AC_SEARCH_LIBS([setfilecon], [selinux],
145098
 
+                   [test "$ac_cv_search_setfilecon" = "none required" ||
145099
 
+                    LIB_SELINUX=$ac_cv_search_setfilecon])
145100
 
+    LIBS=$gl_save_LIBS
145101
 
+  fi
145102
 
+  AC_SUBST([LIB_SELINUX])
145103
 
+
145104
 
+  # Warn if SELinux is found but libselinux is absent;
145105
 
+  if test "$ac_cv_search_setfilecon" = no &&
145106
 
+     test "$host" = "$build" && test -d /selinux; then
145107
 
+    AC_MSG_WARN([This system supports SELinux but libselinux is missing.])
145108
 
+    AC_MSG_WARN([AC_PACKAGE_NAME will be compiled without SELinux support.])
145109
 
+  fi
145110
 
+])
145111
 
+m4trace:m4/servent.m4:7: -1- AC_DEFUN([gl_SERVENT], [
145112
 
+  dnl Where are getservent(), setservent(), endservent(), getservbyname(),
145113
 
+  dnl getservbyport() defined?
145114
 
+  dnl Where are getprotoent(), setprotoent(), endprotoent(), getprotobyname(),
145115
 
+  dnl getprotobynumber() defined?
145116
 
+  dnl - On Solaris, they are in libsocket. Ignore libxnet.
145117
 
+  dnl - On Haiku, they are in libnetwork.
145118
 
+  dnl - On BeOS, they are in libnet.
145119
 
+  dnl - On native Windows, they are in ws2_32.dll.
145120
 
+  dnl - Otherwise they are in libc.
145121
 
+  AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H
145122
 
+  SERVENT_LIB=
145123
 
+  gl_saved_libs="$LIBS"
145124
 
+  AC_SEARCH_LIBS([getservbyname], [socket network net],
145125
 
+    [if test "$ac_cv_search_getservbyname" != "none required"; then
145126
 
+       SERVENT_LIB="$ac_cv_search_getservbyname"
145127
 
+     fi])
145128
 
+  LIBS="$gl_saved_libs"
145129
 
+  if test -z "$SERVENT_LIB"; then
145130
 
+    AC_CHECK_FUNCS([getservbyname], , [
145131
 
+      AC_CACHE_CHECK([for getservbyname in winsock2.h and -lws2_32],
145132
 
+        [gl_cv_w32_getservbyname],
145133
 
+        [gl_cv_w32_getservbyname=no
145134
 
+         gl_save_LIBS="$LIBS"
145135
 
+         LIBS="$LIBS -lws2_32"
145136
 
+         AC_LINK_IFELSE(
145137
 
+           [AC_LANG_PROGRAM(
145138
 
+              [[
145139
 
+#ifdef HAVE_WINSOCK2_H
145140
 
+#include <winsock2.h>
145141
 
+#endif
145142
 
+#include <stddef.h>
145143
 
+              ]],
145144
 
+              [[getservbyname(NULL,NULL);]])],
145145
 
+           [gl_cv_w32_getservbyname=yes])
145146
 
+         LIBS="$gl_save_LIBS"
145147
 
+        ])
145148
 
+      if test "$gl_cv_w32_getservbyname" = "yes"; then
145149
 
+        SERVENT_LIB="-lws2_32"
145150
 
+      fi
145151
 
+    ])
145152
 
+  fi
145153
 
+  AC_SUBST([SERVENT_LIB])
145154
 
+])
145155
 
+m4trace:m4/setenv.m4:7: -1- AC_DEFUN([gl_FUNC_SETENV], [
145156
 
+  AC_REQUIRE([gl_FUNC_SETENV_SEPARATE])
145157
 
+  if test $ac_cv_func_setenv = no; then
145158
 
+    HAVE_SETENV=0
145159
 
+  else
145160
 
+    AC_CACHE_CHECK([whether setenv validates arguments],
145161
 
+      [gl_cv_func_setenv_works],
145162
 
+      [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
145163
 
+       #include <stdlib.h>
145164
 
+       #include <errno.h>
145165
 
+       #include <string.h>
145166
 
+      ]], [[
145167
 
+       int result = 0;
145168
 
+       {
145169
 
+         if (setenv ("", "", 0) != -1)
145170
 
+           result |= 1;
145171
 
+         else if (errno != EINVAL)
145172
 
+           result |= 2;
145173
 
+       }
145174
 
+       {
145175
 
+         if (setenv ("a", "=", 1) != 0)
145176
 
+           result |= 4;
145177
 
+         else if (strcmp (getenv ("a"), "=") != 0)
145178
 
+           result |= 8;
145179
 
+       }
145180
 
+       return result;
145181
 
+      ]])],
145182
 
+      [gl_cv_func_setenv_works=yes], [gl_cv_func_setenv_works=no],
145183
 
+      [gl_cv_func_setenv_works="guessing no"])])
145184
 
+    if test "$gl_cv_func_setenv_works" != yes; then
145185
 
+      REPLACE_SETENV=1
145186
 
+    fi
145187
 
+  fi
145188
 
+])
145189
 
+m4trace:m4/setenv.m4:45: -1- AC_DEFUN([gl_FUNC_SETENV_SEPARATE], [
145190
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
145191
 
+  AC_CHECK_DECLS_ONCE([setenv])
145192
 
+  if test $ac_cv_have_decl_setenv = no; then
145193
 
+    HAVE_DECL_SETENV=0
145194
 
+  fi
145195
 
+  AC_CHECK_FUNCS_ONCE([setenv])
145196
 
+  gl_PREREQ_SETENV
145197
 
+])
145198
 
+m4trace:m4/setenv.m4:56: -1- AC_DEFUN([gl_FUNC_UNSETENV], [
145199
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
145200
 
+  AC_CHECK_DECLS_ONCE([unsetenv])
145201
 
+  if test $ac_cv_have_decl_unsetenv = no; then
145202
 
+    HAVE_DECL_UNSETENV=0
145203
 
+  fi
145204
 
+  AC_CHECK_FUNCS([unsetenv])
145205
 
+  if test $ac_cv_func_unsetenv = no; then
145206
 
+    HAVE_UNSETENV=0
145207
 
+  else
145208
 
+    HAVE_UNSETENV=1
145209
 
+    dnl Some BSDs return void, failing to do error checking.
145210
 
+    AC_CACHE_CHECK([for unsetenv() return type], [gt_cv_func_unsetenv_ret],
145211
 
+      [AC_COMPILE_IFELSE(
145212
 
+         [AC_LANG_PROGRAM(
145213
 
+            [[
145214
 
+#undef _BSD
145215
 
+#define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 <stdlib.h> */
145216
 
+#include <stdlib.h>
145217
 
+extern
145218
 
+#ifdef __cplusplus
145219
 
+"C"
145220
 
+#endif
145221
 
+#if defined(__STDC__) || defined(__cplusplus)
145222
 
+int unsetenv (const char *name);
145223
 
+#else
145224
 
+int unsetenv();
145225
 
+#endif
145226
 
+            ]],
145227
 
+            [[]])],
145228
 
+         [gt_cv_func_unsetenv_ret='int'],
145229
 
+         [gt_cv_func_unsetenv_ret='void'])])
145230
 
+    if test $gt_cv_func_unsetenv_ret = 'void'; then
145231
 
+      AC_DEFINE([VOID_UNSETENV], [1], [Define to 1 if unsetenv returns void
145232
 
+       instead of int.])
145233
 
+      REPLACE_UNSETENV=1
145234
 
+    fi
145235
 
+
145236
 
+    dnl Solaris 10 unsetenv does not remove all copies of a name.
145237
 
+    dnl Haiku alpha 2 unsetenv gets confused by assignment to environ.
145238
 
+    dnl OpenBSD 4.7 unsetenv("") does not fail.
145239
 
+    AC_CACHE_CHECK([whether unsetenv obeys POSIX],
145240
 
+      [gl_cv_func_unsetenv_works],
145241
 
+      [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
145242
 
+       #include <stdlib.h>
145243
 
+       #include <errno.h>
145244
 
+       extern char **environ;
145245
 
+      ]], [[
145246
 
+       char entry1[] = "a=1";
145247
 
+       char entry2[] = "b=2";
145248
 
+       char *env[] = { entry1, entry2, NULL };
145249
 
+       if (putenv ((char *) "a=1")) return 1;
145250
 
+       if (putenv (entry2)) return 2;
145251
 
+       entry2[0] = 'a';
145252
 
+       unsetenv ("a");
145253
 
+       if (getenv ("a")) return 3;
145254
 
+       if (!unsetenv ("") || errno != EINVAL) return 4;
145255
 
+       entry2[0] = 'b';
145256
 
+       environ = env;
145257
 
+       if (!getenv ("a")) return 5;
145258
 
+       entry2[0] = 'a';
145259
 
+       unsetenv ("a");
145260
 
+       if (getenv ("a")) return 6;
145261
 
+      ]])],
145262
 
+      [gl_cv_func_unsetenv_works=yes], [gl_cv_func_unsetenv_works=no],
145263
 
+      [gl_cv_func_unsetenv_works="guessing no"])])
145264
 
+    if test "$gl_cv_func_unsetenv_works" != yes; then
145265
 
+      REPLACE_UNSETENV=1
145266
 
+    fi
145267
 
+  fi
145268
 
+])
145269
 
+m4trace:m4/setenv.m4:130: -1- AC_DEFUN([gl_PREREQ_SETENV], [
145270
 
+  AC_REQUIRE([AC_FUNC_ALLOCA])
145271
 
+  AC_REQUIRE([gl_ENVIRON])
145272
 
+  AC_CHECK_HEADERS_ONCE([unistd.h])
145273
 
+  AC_CHECK_HEADERS([search.h])
145274
 
+  AC_CHECK_FUNCS([tsearch])
145275
 
+])
145276
 
+m4trace:m4/setenv.m4:140: -1- AC_DEFUN([gl_PREREQ_UNSETENV], [
145277
 
+  AC_REQUIRE([gl_ENVIRON])
145278
 
+  AC_CHECK_HEADERS_ONCE([unistd.h])
145279
 
+])
145280
 
+m4trace:m4/setlocale.m4:7: -1- AC_DEFUN([gl_FUNC_SETLOCALE], [
145281
 
+  AC_REQUIRE([gl_LOCALE_H_DEFAULTS])
145282
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
145283
 
+  case "$host_os" in
145284
 
+    dnl On native Windows systems, setlocale(category,NULL) does not look at
145285
 
+    dnl the environment variables LC_ALL, category, and LANG.
145286
 
+    mingw*) REPLACE_SETLOCALE=1 ;;
145287
 
+    dnl On Cygwin 1.5.x, setlocale always succeeds but setlocale(LC_CTYPE,NULL)
145288
 
+    dnl is then still "C".
145289
 
+    cygwin*)
145290
 
+      case `uname -r` in
145291
 
+        1.5.*) REPLACE_SETLOCALE=1 ;;
145292
 
+      esac
145293
 
+      ;;
145294
 
+  esac
145295
 
+])
145296
 
+m4trace:m4/setlocale.m4:26: -1- AC_DEFUN([gl_PREREQ_SETLOCALE], [
145297
 
+  :
145298
 
+])
145299
 
+m4trace:m4/settime.m4:7: -1- AC_DEFUN([gl_SETTIME], [
145300
 
+  dnl Prerequisites of lib/settime.c.
145301
 
+  AC_REQUIRE([gl_CLOCK_TIME])
145302
 
+  AC_REQUIRE([gl_TIMESPEC])
145303
 
+  AC_CHECK_FUNCS_ONCE([settimeofday stime])
145304
 
+])
145305
 
+m4trace:m4/sha1.m4:7: -1- AC_DEFUN([gl_SHA1], [
145306
 
+  dnl Prerequisites of lib/sha1.c.
145307
 
+  AC_REQUIRE([gl_BIGENDIAN])
145308
 
+  AC_REQUIRE([AC_C_INLINE])
145309
 
+  :
145310
 
+])
145311
 
+m4trace:m4/sha256.m4:7: -1- AC_DEFUN([gl_SHA256], [
145312
 
+  dnl Prerequisites of lib/sha256.c.
145313
 
+  AC_REQUIRE([gl_BIGENDIAN])
145314
 
+  AC_REQUIRE([AC_C_INLINE])
145315
 
+])
145316
 
+m4trace:m4/sha512.m4:7: -1- AC_DEFUN([gl_SHA512], [
145317
 
+  dnl Prerequisites of lib/sha512.c.
145318
 
+  AC_REQUIRE([gl_BIGENDIAN])
145319
 
+  AC_REQUIRE([AC_C_INLINE])
145320
 
+])
145321
 
+m4trace:m4/sig2str.m4:7: -1- AC_DEFUN([gl_FUNC_SIG2STR], [
145322
 
+  AC_CHECK_FUNCS([sig2str])
145323
 
+])
145324
 
+m4trace:m4/sig2str.m4:13: -1- AC_DEFUN([gl_PREREQ_SIG2STR], [
145325
 
+  :
145326
 
+])
145327
 
+m4trace:m4/sigaction.m4:8: -1- AC_DEFUN([gl_SIGACTION], [
145328
 
+  AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
145329
 
+  AC_CHECK_FUNCS_ONCE([sigaction])
145330
 
+  if test $ac_cv_func_sigaction = yes; then
145331
 
+    AC_CHECK_MEMBERS([struct sigaction.sa_sigaction], , ,
145332
 
+                     [[#include <signal.h>]])
145333
 
+    if test $ac_cv_member_struct_sigaction_sa_sigaction = no; then
145334
 
+      HAVE_STRUCT_SIGACTION_SA_SIGACTION=0
145335
 
+    fi
145336
 
+  else
145337
 
+    HAVE_SIGACTION=0
145338
 
+  fi
145339
 
+])
145340
 
+m4trace:m4/sigaction.m4:24: -1- AC_DEFUN([gl_PREREQ_SIGACTION], [
145341
 
+  AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
145342
 
+  AC_REQUIRE([AC_C_RESTRICT])
145343
 
+  AC_REQUIRE([AC_TYPE_UID_T])
145344
 
+  AC_REQUIRE([gl_PREREQ_SIG_HANDLER_H])
145345
 
+  AC_CHECK_FUNCS_ONCE([sigaltstack siginterrupt])
145346
 
+  AC_CHECK_TYPES([siginfo_t], [], [], [[
145347
 
+#include <signal.h>
145348
 
+  ]])
145349
 
+  if test $ac_cv_type_siginfo_t = no; then
145350
 
+    HAVE_SIGINFO_T=0
145351
 
+  fi
145352
 
+])
145353
 
+m4trace:m4/sigaction.m4:40: -1- AC_DEFUN([gl_PREREQ_SIG_HANDLER_H], [
145354
 
+  AC_REQUIRE([AC_C_INLINE])
145355
 
+])
145356
 
+m4trace:m4/signal_h.m4:7: -1- AC_DEFUN([gl_SIGNAL_H], [
145357
 
+  AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
145358
 
+  AC_REQUIRE([gl_CHECK_TYPE_SIGSET_T])
145359
 
+  gl_NEXT_HEADERS([signal.h])
145360
 
+
145361
 
+# AIX declares sig_atomic_t to already include volatile, and C89 compilers
145362
 
+# then choke on 'volatile sig_atomic_t'.  C99 requires that it compile.
145363
 
+  AC_CHECK_TYPE([volatile sig_atomic_t], [],
145364
 
+    [HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0], [[
145365
 
+#include <signal.h>
145366
 
+    ]])
145367
 
+
145368
 
+  AC_REQUIRE([AC_TYPE_UID_T])
145369
 
+
145370
 
+  dnl Persuade glibc <signal.h> to define sighandler_t.
145371
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
145372
 
+  AC_CHECK_TYPE([sighandler_t], [], [HAVE_SIGHANDLER_T=0], [[
145373
 
+#include <signal.h>
145374
 
+    ]])
145375
 
+
145376
 
+  dnl Check for declarations of anything we want to poison if the
145377
 
+  dnl corresponding gnulib module is not in use.
145378
 
+  gl_WARN_ON_USE_PREPARE([[#include <signal.h>
145379
 
+    ]], [pthread_sigmask sigaction
145380
 
+    sigaddset sigdelset sigemptyset sigfillset sigismember
145381
 
+    sigpending sigprocmask])
145382
 
+])
145383
 
+m4trace:m4/signal_h.m4:36: -1- AC_DEFUN([gl_CHECK_TYPE_SIGSET_T], [
145384
 
+  AC_CHECK_TYPES([sigset_t],
145385
 
+    [gl_cv_type_sigset_t=yes], [gl_cv_type_sigset_t=no],
145386
 
+    [[
145387
 
+      #include <signal.h>
145388
 
+      /* Mingw defines sigset_t not in <signal.h>, but in <sys/types.h>.  */
145389
 
+      #include <sys/types.h>
145390
 
+    ]])
145391
 
+  if test $gl_cv_type_sigset_t != yes; then
145392
 
+    HAVE_SIGSET_T=0
145393
 
+  fi
145394
 
+])
145395
 
+m4trace:m4/signal_h.m4:50: -1- AC_DEFUN([gl_SIGNAL_MODULE_INDICATOR], [
145396
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
145397
 
+  AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
145398
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
145399
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
145400
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
145401
 
+])
145402
 
+m4trace:m4/signal_h.m4:59: -1- AC_DEFUN([gl_SIGNAL_H_DEFAULTS], [
145403
 
+  GNULIB_PTHREAD_SIGMASK=0;    AC_SUBST([GNULIB_PTHREAD_SIGMASK])
145404
 
+  GNULIB_SIGNAL_H_SIGPIPE=0;   AC_SUBST([GNULIB_SIGNAL_H_SIGPIPE])
145405
 
+  GNULIB_SIGPROCMASK=0;        AC_SUBST([GNULIB_SIGPROCMASK])
145406
 
+  GNULIB_SIGACTION=0;          AC_SUBST([GNULIB_SIGACTION])
145407
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
145408
 
+  HAVE_POSIX_SIGNALBLOCKING=1; AC_SUBST([HAVE_POSIX_SIGNALBLOCKING])
145409
 
+  HAVE_PTHREAD_SIGMASK=1;      AC_SUBST([HAVE_PTHREAD_SIGMASK])
145410
 
+  HAVE_SIGSET_T=1;             AC_SUBST([HAVE_SIGSET_T])
145411
 
+  HAVE_SIGINFO_T=1;            AC_SUBST([HAVE_SIGINFO_T])
145412
 
+  HAVE_SIGACTION=1;            AC_SUBST([HAVE_SIGACTION])
145413
 
+  HAVE_STRUCT_SIGACTION_SA_SIGACTION=1;
145414
 
+                               AC_SUBST([HAVE_STRUCT_SIGACTION_SA_SIGACTION])
145415
 
+  HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1;
145416
 
+                               AC_SUBST([HAVE_TYPE_VOLATILE_SIG_ATOMIC_T])
145417
 
+  HAVE_SIGHANDLER_T=1;         AC_SUBST([HAVE_SIGHANDLER_T])
145418
 
+  REPLACE_PTHREAD_SIGMASK=0;   AC_SUBST([REPLACE_PTHREAD_SIGMASK])
145419
 
+])
145420
 
+m4trace:m4/signalblocking.m4:12: -1- AC_DEFUN([gl_SIGNALBLOCKING], [
145421
 
+  AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
145422
 
+  AC_REQUIRE([gl_CHECK_TYPE_SIGSET_T])
145423
 
+  if test $gl_cv_type_sigset_t = yes; then
145424
 
+    AC_CHECK_FUNC([sigprocmask], [gl_cv_func_sigprocmask=1])
145425
 
+  fi
145426
 
+  if test -z "$gl_cv_func_sigprocmask"; then
145427
 
+    HAVE_POSIX_SIGNALBLOCKING=0
145428
 
+  fi
145429
 
+])
145430
 
+m4trace:m4/signalblocking.m4:25: -1- AC_DEFUN([gl_PREREQ_SIGPROCMASK], [:])
145431
 
+m4trace:m4/signbit.m4:7: -1- AC_DEFUN([gl_SIGNBIT], [
145432
 
+  AC_REQUIRE([gl_MATH_H_DEFAULTS])
145433
 
+  AC_CACHE_CHECK([for signbit macro], [gl_cv_func_signbit],
145434
 
+    [
145435
 
+      AC_RUN_IFELSE(
145436
 
+        [AC_LANG_SOURCE([[
145437
 
+#include <math.h>
145438
 
+/* If signbit is defined as a function, don't use it, since calling it for
145439
 
+   'float' or 'long double' arguments would involve conversions.
145440
 
+   If signbit is not declared at all but exists as a library function, don't
145441
 
+   use it, since the prototype may not match.
145442
 
+   If signbit is not declared at all but exists as a compiler built-in, don't
145443
 
+   use it, since it's preferable to use __builtin_signbit* (no warnings,
145444
 
+   no conversions).  */
145445
 
+#ifndef signbit
145446
 
+# error "signbit should be a macro"
145447
 
+#endif
145448
 
+#include <string.h>
145449
 
+]gl_SIGNBIT_TEST_PROGRAM
145450
 
+])],
145451
 
+        [gl_cv_func_signbit=yes],
145452
 
+        [gl_cv_func_signbit=no],
145453
 
+        [gl_cv_func_signbit="guessing no"])
145454
 
+    ])
145455
 
+  dnl GCC 4.0 and newer provides three built-ins for signbit.
145456
 
+  dnl They can be used without warnings, also in C++, regardless of <math.h>.
145457
 
+  dnl But they may expand to calls to functions, which may or may not be in
145458
 
+  dnl libc.
145459
 
+  AC_CACHE_CHECK([for signbit compiler built-ins], [gl_cv_func_signbit_gcc],
145460
 
+    [
145461
 
+      AC_RUN_IFELSE(
145462
 
+        [AC_LANG_SOURCE([[
145463
 
+#if __GNUC__ >= 4
145464
 
+# define signbit(x) \
145465
 
+   (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \
145466
 
+    sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \
145467
 
+    __builtin_signbitf (x))
145468
 
+#else
145469
 
+# error "signbit should be three compiler built-ins"
145470
 
+#endif
145471
 
+#include <string.h>
145472
 
+]gl_SIGNBIT_TEST_PROGRAM
145473
 
+])],
145474
 
+        [gl_cv_func_signbit_gcc=yes],
145475
 
+        [gl_cv_func_signbit_gcc=no],
145476
 
+        [gl_cv_func_signbit_gcc="guessing no"])
145477
 
+    ])
145478
 
+  dnl Use the compiler built-ins whenever possible, because they are more
145479
 
+  dnl efficient than the system library functions (if they exist).
145480
 
+  if test "$gl_cv_func_signbit_gcc" = yes; then
145481
 
+    REPLACE_SIGNBIT_USING_GCC=1
145482
 
+  else
145483
 
+    if test "$gl_cv_func_signbit" != yes; then
145484
 
+      dnl REPLACE_SIGNBIT=1 makes sure the signbit[fdl] functions get built.
145485
 
+      REPLACE_SIGNBIT=1
145486
 
+      gl_FLOAT_SIGN_LOCATION
145487
 
+      gl_DOUBLE_SIGN_LOCATION
145488
 
+      gl_LONG_DOUBLE_SIGN_LOCATION
145489
 
+      if test "$gl_cv_cc_float_signbit" = unknown; then
145490
 
+        dnl Test whether copysignf() is declared.
145491
 
+        AC_CHECK_DECLS([copysignf], , , [#include <math.h>])
145492
 
+        if test "$ac_cv_have_decl_copysignf" = yes; then
145493
 
+          dnl Test whether copysignf() can be used without libm.
145494
 
+          AC_CACHE_CHECK([whether copysignf can be used without linking with libm],
145495
 
+            [gl_cv_func_copysignf_no_libm],
145496
 
+            [
145497
 
+              AC_LINK_IFELSE(
145498
 
+                [AC_LANG_PROGRAM(
145499
 
+                   [[#include <math.h>
145500
 
+                     float x, y;]],
145501
 
+                   [[return copysignf (x, y) < 0;]])],
145502
 
+                [gl_cv_func_copysignf_no_libm=yes],
145503
 
+                [gl_cv_func_copysignf_no_libm=no])
145504
 
+            ])
145505
 
+          if test $gl_cv_func_copysignf_no_libm = yes; then
145506
 
+            AC_DEFINE([HAVE_COPYSIGNF_IN_LIBC], [1],
145507
 
+              [Define if the copysignf function is declared in <math.h> and available in libc.])
145508
 
+          fi
145509
 
+        fi
145510
 
+      fi
145511
 
+      if test "$gl_cv_cc_double_signbit" = unknown; then
145512
 
+        dnl Test whether copysign() is declared.
145513
 
+        AC_CHECK_DECLS([copysign], , , [#include <math.h>])
145514
 
+        if test "$ac_cv_have_decl_copysign" = yes; then
145515
 
+          dnl Test whether copysign() can be used without libm.
145516
 
+          AC_CACHE_CHECK([whether copysign can be used without linking with libm],
145517
 
+            [gl_cv_func_copysign_no_libm],
145518
 
+            [
145519
 
+              AC_LINK_IFELSE(
145520
 
+                [AC_LANG_PROGRAM(
145521
 
+                   [[#include <math.h>
145522
 
+                     double x, y;]],
145523
 
+                   [[return copysign (x, y) < 0;]])],
145524
 
+                [gl_cv_func_copysign_no_libm=yes],
145525
 
+                [gl_cv_func_copysign_no_libm=no])
145526
 
+            ])
145527
 
+          if test $gl_cv_func_copysign_no_libm = yes; then
145528
 
+            AC_DEFINE([HAVE_COPYSIGN_IN_LIBC], [1],
145529
 
+              [Define if the copysign function is declared in <math.h> and available in libc.])
145530
 
+          fi
145531
 
+        fi
145532
 
+      fi
145533
 
+      if test "$gl_cv_cc_long_double_signbit" = unknown; then
145534
 
+        dnl Test whether copysignl() is declared.
145535
 
+        AC_CHECK_DECLS([copysignl], , , [#include <math.h>])
145536
 
+        if test "$ac_cv_have_decl_copysignl" = yes; then
145537
 
+          dnl Test whether copysignl() can be used without libm.
145538
 
+          AC_CACHE_CHECK([whether copysignl can be used without linking with libm],
145539
 
+            [gl_cv_func_copysignl_no_libm],
145540
 
+            [
145541
 
+              AC_LINK_IFELSE(
145542
 
+                [AC_LANG_PROGRAM(
145543
 
+                   [[#include <math.h>
145544
 
+                     long double x, y;]],
145545
 
+                   [[return copysignl (x, y) < 0;]])],
145546
 
+                [gl_cv_func_copysignl_no_libm=yes],
145547
 
+                [gl_cv_func_copysignl_no_libm=no])
145548
 
+            ])
145549
 
+          if test $gl_cv_func_copysignl_no_libm = yes; then
145550
 
+            AC_DEFINE([HAVE_COPYSIGNL_IN_LIBC], [1],
145551
 
+              [Define if the copysignl function is declared in <math.h> and available in libc.])
145552
 
+          fi
145553
 
+        fi
145554
 
+      fi
145555
 
+    fi
145556
 
+  fi
145557
 
+])
145558
 
+m4trace:m4/signbit.m4:136: -1- AC_DEFUN([gl_SIGNBIT_TEST_PROGRAM], [[
145559
 
+/* Global variables.
145560
 
+   Needed because GCC 4 constant-folds __builtin_signbitl (literal)
145561
 
+   but cannot constant-fold            __builtin_signbitl (variable).  */
145562
 
+float vf;
145563
 
+double vd;
145564
 
+long double vl;
145565
 
+int main ()
145566
 
+{
145567
 
+/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
145568
 
+   So we use -p0f and -p0d instead.  */
145569
 
+float p0f = 0.0f;
145570
 
+float m0f = -p0f;
145571
 
+double p0d = 0.0;
145572
 
+double m0d = -p0d;
145573
 
+/* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
145574
 
+   So we use another constant expression instead.
145575
 
+   But that expression does not work on other platforms, such as when
145576
 
+   cross-compiling to PowerPC on MacOS X 10.5.  */
145577
 
+long double p0l = 0.0L;
145578
 
+#if defined __hpux || defined __sgi
145579
 
+long double m0l = -LDBL_MIN * LDBL_MIN;
145580
 
+#else
145581
 
+long double m0l = -p0l;
145582
 
+#endif
145583
 
+  int result = 0;
145584
 
+  if (signbit (vf)) /* link check */
145585
 
+    vf++;
145586
 
+  {
145587
 
+    float plus_inf = 1.0f / p0f;
145588
 
+    float minus_inf = -1.0f / p0f;
145589
 
+    if (!(!signbit (255.0f)
145590
 
+          && signbit (-255.0f)
145591
 
+          && !signbit (p0f)
145592
 
+          && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f))
145593
 
+          && !signbit (plus_inf)
145594
 
+          && signbit (minus_inf)))
145595
 
+      result |= 1;
145596
 
+  }
145597
 
+  if (signbit (vd)) /* link check */
145598
 
+    vd++;
145599
 
+  {
145600
 
+    double plus_inf = 1.0 / p0d;
145601
 
+    double minus_inf = -1.0 / p0d;
145602
 
+    if (!(!signbit (255.0)
145603
 
+          && signbit (-255.0)
145604
 
+          && !signbit (p0d)
145605
 
+          && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d))
145606
 
+          && !signbit (plus_inf)
145607
 
+          && signbit (minus_inf)))
145608
 
+      result |= 2;
145609
 
+  }
145610
 
+  if (signbit (vl)) /* link check */
145611
 
+    vl++;
145612
 
+  {
145613
 
+    long double plus_inf = 1.0L / p0l;
145614
 
+    long double minus_inf = -1.0L / p0l;
145615
 
+    if (signbit (255.0L))
145616
 
+      result |= 4;
145617
 
+    if (!signbit (-255.0L))
145618
 
+      result |= 4;
145619
 
+    if (signbit (p0l))
145620
 
+      result |= 8;
145621
 
+    if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l)))
145622
 
+      result |= 16;
145623
 
+    if (signbit (plus_inf))
145624
 
+      result |= 32;
145625
 
+    if (!signbit (minus_inf))
145626
 
+      result |= 64;
145627
 
+  }
145628
 
+  return result;
145629
 
+}
145630
 
+]])
145631
 
+m4trace:m4/signbit.m4:210: -1- AC_DEFUN([gl_FLOAT_SIGN_LOCATION], [
145632
 
+  gl_FLOATTYPE_SIGN_LOCATION([float], [gl_cv_cc_float_signbit], [f], [FLT])
145633
 
+])
145634
 
+m4trace:m4/signbit.m4:215: -1- AC_DEFUN([gl_DOUBLE_SIGN_LOCATION], [
145635
 
+  gl_FLOATTYPE_SIGN_LOCATION([double], [gl_cv_cc_double_signbit], [], [DBL])
145636
 
+])
145637
 
+m4trace:m4/signbit.m4:220: -1- AC_DEFUN([gl_LONG_DOUBLE_SIGN_LOCATION], [
145638
 
+  gl_FLOATTYPE_SIGN_LOCATION([long double], [gl_cv_cc_long_double_signbit], [L], [LDBL])
145639
 
+])
145640
 
+m4trace:m4/signbit.m4:225: -1- AC_DEFUN([gl_FLOATTYPE_SIGN_LOCATION], [
145641
 
+  AC_CACHE_CHECK([where to find the sign bit in a '$1'],
145642
 
+    [$2],
145643
 
+    [
145644
 
+      AC_RUN_IFELSE(
145645
 
+        [AC_LANG_SOURCE([[
145646
 
+#include <stddef.h>
145647
 
+#include <stdio.h>
145648
 
+#define NWORDS \
145649
 
+  ((sizeof ($1) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
145650
 
+typedef union { $1 value; unsigned int word[NWORDS]; }
145651
 
+        memory_float;
145652
 
+static memory_float plus = { 1.0$3 };
145653
 
+static memory_float minus = { -1.0$3 };
145654
 
+int main ()
145655
 
+{
145656
 
+  size_t j, k, i;
145657
 
+  unsigned int m;
145658
 
+  FILE *fp = fopen ("conftest.out", "w");
145659
 
+  if (fp == NULL)
145660
 
+    return 1;
145661
 
+  /* Find the different bit.  */
145662
 
+  k = 0; m = 0;
145663
 
+  for (j = 0; j < NWORDS; j++)
145664
 
+    {
145665
 
+      unsigned int x = plus.word[j] ^ minus.word[j];
145666
 
+      if ((x & (x - 1)) || (x && m))
145667
 
+        {
145668
 
+          /* More than one bit difference.  */
145669
 
+          fprintf (fp, "unknown");
145670
 
+          return 2;
145671
 
+        }
145672
 
+      if (x)
145673
 
+        {
145674
 
+          k = j;
145675
 
+          m = x;
145676
 
+        }
145677
 
+    }
145678
 
+  if (m == 0)
145679
 
+    {
145680
 
+      /* No difference.  */
145681
 
+      fprintf (fp, "unknown");
145682
 
+      return 3;
145683
 
+    }
145684
 
+  /* Now m = plus.word[k] ^ ~minus.word[k].  */
145685
 
+  if (plus.word[k] & ~minus.word[k])
145686
 
+    {
145687
 
+      /* Oh? The sign bit is set in the positive and cleared in the negative
145688
 
+         numbers?  */
145689
 
+      fprintf (fp, "unknown");
145690
 
+      return 4;
145691
 
+    }
145692
 
+  for (i = 0; ; i++)
145693
 
+    if ((m >> i) & 1)
145694
 
+      break;
145695
 
+  fprintf (fp, "word %d bit %d", (int) k, (int) i);
145696
 
+  if (fclose (fp) != 0)
145697
 
+    return 5;
145698
 
+  return 0;
145699
 
+}
145700
 
+        ]])],
145701
 
+        [$2=`cat conftest.out`],
145702
 
+        [$2="unknown"],
145703
 
+        [
145704
 
+          dnl When cross-compiling, we don't know. It depends on the
145705
 
+          dnl ABI and compiler version. There are too many cases.
145706
 
+          $2="unknown"
145707
 
+        ])
145708
 
+      rm -f conftest.out
145709
 
+    ])
145710
 
+  case "$$2" in
145711
 
+    word*bit*)
145712
 
+      word=`echo "$$2" | sed -e 's/word //' -e 's/ bit.*//'`
145713
 
+      bit=`echo "$$2" | sed -e 's/word.*bit //'`
145714
 
+      AC_DEFINE_UNQUOTED([$4][_SIGNBIT_WORD], [$word],
145715
 
+        [Define as the word index where to find the sign of '$1'.])
145716
 
+      AC_DEFINE_UNQUOTED([$4][_SIGNBIT_BIT], [$bit],
145717
 
+        [Define as the bit index in the word where to find the sign of '$1'.])
145718
 
+      ;;
145719
 
+  esac
145720
 
+])
145721
 
+m4trace:m4/signbit.m4:310: -1- AC_DEFUN([gl_FLOAT_SIGNBIT_CODE], [
145722
 
+  gl_FLOATTYPE_SIGNBIT_CODE([float], [f], [f])
145723
 
+])
145724
 
+m4trace:m4/signbit.m4:317: -1- AC_DEFUN([gl_DOUBLE_SIGNBIT_CODE], [
145725
 
+  gl_FLOATTYPE_SIGNBIT_CODE([double], [d], [])
145726
 
+])
145727
 
+m4trace:m4/signbit.m4:324: -1- AC_DEFUN([gl_LONG_DOUBLE_SIGNBIT_CODE], [
145728
 
+  gl_FLOATTYPE_SIGNBIT_CODE([long double], [l], [L])
145729
 
+])
145730
 
+m4trace:m4/signbit.m4:329: -1- AC_DEFUN([gl_FLOATTYPE_SIGNBIT_CODE], [[
145731
 
+static int
145732
 
+signbit$2 ($1 value)
145733
 
+{
145734
 
+  typedef union { $1 f; unsigned char b[sizeof ($1)]; } float_union;
145735
 
+  static float_union plus_one = { 1.0$3 };   /* unused bits are zero here */
145736
 
+  static float_union minus_one = { -1.0$3 }; /* unused bits are zero here */
145737
 
+  /* Compute the sign bit mask as the XOR of plus_one and minus_one.  */
145738
 
+  float_union u;
145739
 
+  unsigned int i;
145740
 
+  u.f = value;
145741
 
+  for (i = 0; i < sizeof ($1); i++)
145742
 
+    if (u.b[i] & (plus_one.b[i] ^ minus_one.b[i]))
145743
 
+      return 1;
145744
 
+  return 0;
145745
 
+}
145746
 
+]])
145747
 
+m4trace:m4/size_max.m4:9: -1- AC_DEFUN([gl_SIZE_MAX], [
145748
 
+  AC_CHECK_HEADERS([stdint.h])
145749
 
+  dnl First test whether the system already has SIZE_MAX.
145750
 
+  AC_CACHE_CHECK([for SIZE_MAX], [gl_cv_size_max], [
145751
 
+    gl_cv_size_max=
145752
 
+    AC_EGREP_CPP([Found it], [
145753
 
+#include <limits.h>
145754
 
+#if HAVE_STDINT_H
145755
 
+#include <stdint.h>
145756
 
+#endif
145757
 
+#ifdef SIZE_MAX
145758
 
+Found it
145759
 
+#endif
145760
 
+], [gl_cv_size_max=yes])
145761
 
+    if test -z "$gl_cv_size_max"; then
145762
 
+      dnl Define it ourselves. Here we assume that the type 'size_t' is not wider
145763
 
+      dnl than the type 'unsigned long'. Try hard to find a definition that can
145764
 
+      dnl be used in a preprocessor #if, i.e. doesn't contain a cast.
145765
 
+      AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1],
145766
 
+        [#include <stddef.h>
145767
 
+#include <limits.h>], [size_t_bits_minus_1=])
145768
 
+      AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)],
145769
 
+        [#include <stddef.h>], [fits_in_uint=])
145770
 
+      if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
145771
 
+        if test $fits_in_uint = 1; then
145772
 
+          dnl Even though SIZE_MAX fits in an unsigned int, it must be of type
145773
 
+          dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'.
145774
 
+          AC_COMPILE_IFELSE(
145775
 
+            [AC_LANG_PROGRAM(
145776
 
+               [[#include <stddef.h>
145777
 
+                 extern size_t foo;
145778
 
+                 extern unsigned long foo;
145779
 
+               ]],
145780
 
+               [[]])],
145781
 
+            [fits_in_uint=0])
145782
 
+        fi
145783
 
+        dnl We cannot use 'expr' to simplify this expression, because 'expr'
145784
 
+        dnl works only with 'long' integers in the host environment, while we
145785
 
+        dnl might be cross-compiling from a 32-bit platform to a 64-bit platform.
145786
 
+        if test $fits_in_uint = 1; then
145787
 
+          gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
145788
 
+        else
145789
 
+          gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
145790
 
+        fi
145791
 
+      else
145792
 
+        dnl Shouldn't happen, but who knows...
145793
 
+        gl_cv_size_max='((size_t)~(size_t)0)'
145794
 
+      fi
145795
 
+    fi
145796
 
+  ])
145797
 
+  if test "$gl_cv_size_max" != yes; then
145798
 
+    AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max],
145799
 
+      [Define as the maximum value of type 'size_t', if the system doesn't define it.])
145800
 
+  fi
145801
 
+  dnl Don't redefine SIZE_MAX in config.h if config.h is re-included after
145802
 
+  dnl <stdint.h>. Remember that the #undef in AH_VERBATIM gets replaced with
145803
 
+  dnl #define by AC_DEFINE_UNQUOTED.
145804
 
+  AH_VERBATIM([SIZE_MAX],
145805
 
+[/* Define as the maximum value of type 'size_t', if the system doesn't define
145806
 
+   it. */
145807
 
+#ifndef SIZE_MAX
145808
 
+# undef SIZE_MAX
145809
 
+#endif])
145810
 
+])
145811
 
+m4trace:m4/sleep.m4:7: -1- AC_DEFUN([gl_FUNC_SLEEP], [
145812
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
145813
 
+  dnl We expect to see the declaration of sleep() in a header file.
145814
 
+  dnl Older versions of mingw have a sleep() function that is an alias to
145815
 
+  dnl _sleep() in MSVCRT. It has a different signature than POSIX sleep():
145816
 
+  dnl it takes the number of milliseconds as argument and returns void.
145817
 
+  dnl mingw does not declare this function.
145818
 
+  AC_CHECK_DECLS([sleep], , , [#include <unistd.h>])
145819
 
+  AC_CHECK_FUNCS_ONCE([sleep])
145820
 
+  if test $ac_cv_have_decl_sleep != yes; then
145821
 
+    HAVE_SLEEP=0
145822
 
+  else
145823
 
+    dnl Cygwin 1.5.x has a bug where sleep can't exceed 49.7 days.
145824
 
+    AC_CACHE_CHECK([for working sleep], [gl_cv_func_sleep_works],
145825
 
+      [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
145826
 
+#include <errno.h>
145827
 
+#include <unistd.h>
145828
 
+#include <signal.h>
145829
 
+static void
145830
 
+handle_alarm (int sig)
145831
 
+{
145832
 
+  if (sig != SIGALRM)
145833
 
+    _exit (2);
145834
 
+}
145835
 
+]], [[
145836
 
+    /* Failure to compile this test due to missing alarm is okay,
145837
 
+       since all such platforms (mingw) also lack sleep.  */
145838
 
+    unsigned int pentecost = 50 * 24 * 60 * 60; /* 50 days.  */
145839
 
+    unsigned int remaining;
145840
 
+    signal (SIGALRM, handle_alarm);
145841
 
+    alarm (1);
145842
 
+    remaining = sleep (pentecost);
145843
 
+    if (remaining > pentecost)
145844
 
+      return 3;
145845
 
+    if (remaining <= pentecost - 10)
145846
 
+      return 4;
145847
 
+    return 0;
145848
 
+    ]])],
145849
 
+      [gl_cv_func_sleep_works=yes], [gl_cv_func_sleep_works=no],
145850
 
+      [gl_cv_func_sleep_works="guessing no"])])
145851
 
+    if test "$gl_cv_func_sleep_works" != yes; then
145852
 
+      REPLACE_SLEEP=1
145853
 
+    fi
145854
 
+  fi
145855
 
+])
145856
 
+m4trace:m4/snprintf.m4:11: -1- AC_DEFUN([gl_FUNC_SNPRINTF], [
145857
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
145858
 
+  gl_cv_func_snprintf_usable=no
145859
 
+  AC_CHECK_FUNCS([snprintf])
145860
 
+  if test $ac_cv_func_snprintf = yes; then
145861
 
+    gl_SNPRINTF_SIZE1
145862
 
+    case "$gl_cv_func_snprintf_size1" in
145863
 
+      *yes)
145864
 
+        gl_SNPRINTF_RETVAL_C99
145865
 
+        case "$gl_cv_func_snprintf_retval_c99" in
145866
 
+          *yes)
145867
 
+            gl_PRINTF_POSITIONS
145868
 
+            case "$gl_cv_func_printf_positions" in
145869
 
+              *yes)
145870
 
+                gl_cv_func_snprintf_usable=yes
145871
 
+                ;;
145872
 
+            esac
145873
 
+            ;;
145874
 
+        esac
145875
 
+        ;;
145876
 
+    esac
145877
 
+  fi
145878
 
+  if test $gl_cv_func_snprintf_usable = no; then
145879
 
+    gl_REPLACE_SNPRINTF
145880
 
+  fi
145881
 
+  AC_CHECK_DECLS_ONCE([snprintf])
145882
 
+  if test $ac_cv_have_decl_snprintf = no; then
145883
 
+    HAVE_DECL_SNPRINTF=0
145884
 
+  fi
145885
 
+])
145886
 
+m4trace:m4/snprintf.m4:43: -1- AC_DEFUN([gl_REPLACE_SNPRINTF], [
145887
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
145888
 
+  AC_LIBOBJ([snprintf])
145889
 
+  if test $ac_cv_func_snprintf = yes; then
145890
 
+    REPLACE_SNPRINTF=1
145891
 
+  fi
145892
 
+  gl_PREREQ_SNPRINTF
145893
 
+])
145894
 
+m4trace:m4/snprintf.m4:54: -1- AC_DEFUN([gl_PREREQ_SNPRINTF], [:])
145895
 
+m4trace:m4/socketlib.m4:11: -1- AC_DEFUN([gl_SOCKETLIB], [
145896
 
+  gl_PREREQ_SYS_H_WINSOCK2 dnl for HAVE_WINSOCK2_H
145897
 
+  LIBSOCKET=
145898
 
+  if test $HAVE_WINSOCK2_H = 1; then
145899
 
+    dnl Native Windows API (not Cygwin).
145900
 
+    AC_CACHE_CHECK([if we need to call WSAStartup in winsock2.h and -lws2_32],
145901
 
+                   [gl_cv_func_wsastartup], [
145902
 
+      gl_save_LIBS="$LIBS"
145903
 
+      LIBS="$LIBS -lws2_32"
145904
 
+      AC_LINK_IFELSE([AC_LANG_PROGRAM([[
145905
 
+#ifdef HAVE_WINSOCK2_H
145906
 
+# include <winsock2.h>
145907
 
+#endif]], [[
145908
 
+          WORD wVersionRequested = MAKEWORD(1, 1);
145909
 
+          WSADATA wsaData;
145910
 
+          int err = WSAStartup(wVersionRequested, &wsaData);
145911
 
+          WSACleanup ();]])],
145912
 
+        gl_cv_func_wsastartup=yes, gl_cv_func_wsastartup=no)
145913
 
+      LIBS="$gl_save_LIBS"
145914
 
+    ])
145915
 
+    if test "$gl_cv_func_wsastartup" = "yes"; then
145916
 
+      AC_DEFINE([WINDOWS_SOCKETS], [1], [Define if WSAStartup is needed.])
145917
 
+      LIBSOCKET='-lws2_32'
145918
 
+    fi
145919
 
+  else
145920
 
+    dnl Unix API.
145921
 
+    dnl Solaris has most socket functions in libsocket.
145922
 
+    dnl Haiku has most socket functions in libnetwork.
145923
 
+    dnl BeOS has most socket functions in libnet.
145924
 
+    AC_CACHE_CHECK([for library containing setsockopt], [gl_cv_lib_socket], [
145925
 
+      gl_cv_lib_socket=
145926
 
+      AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern
145927
 
+#ifdef __cplusplus
145928
 
+"C"
145929
 
+#endif
145930
 
+char setsockopt();]], [[setsockopt();]])],
145931
 
+        [],
145932
 
+        [gl_save_LIBS="$LIBS"
145933
 
+         LIBS="$gl_save_LIBS -lsocket"
145934
 
+         AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern
145935
 
+#ifdef __cplusplus
145936
 
+"C"
145937
 
+#endif
145938
 
+char setsockopt();]], [[setsockopt();]])],
145939
 
+           [gl_cv_lib_socket="-lsocket"])
145940
 
+         if test -z "$gl_cv_lib_socket"; then
145941
 
+           LIBS="$gl_save_LIBS -lnetwork"
145942
 
+           AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern
145943
 
+#ifdef __cplusplus
145944
 
+"C"
145945
 
+#endif
145946
 
+char setsockopt();]], [[setsockopt();]])],
145947
 
+             [gl_cv_lib_socket="-lnetwork"])
145948
 
+           if test -z "$gl_cv_lib_socket"; then
145949
 
+             LIBS="$gl_save_LIBS -lnet"
145950
 
+             AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern
145951
 
+#ifdef __cplusplus
145952
 
+"C"
145953
 
+#endif
145954
 
+char setsockopt();]], [[setsockopt();]])],
145955
 
+               [gl_cv_lib_socket="-lnet"])
145956
 
+           fi
145957
 
+         fi
145958
 
+         LIBS="$gl_save_LIBS"
145959
 
+        ])
145960
 
+      if test -z "$gl_cv_lib_socket"; then
145961
 
+        gl_cv_lib_socket="none needed"
145962
 
+      fi
145963
 
+    ])
145964
 
+    if test "$gl_cv_lib_socket" != "none needed"; then
145965
 
+      LIBSOCKET="$gl_cv_lib_socket"
145966
 
+    fi
145967
 
+  fi
145968
 
+  AC_SUBST([LIBSOCKET])
145969
 
+])
145970
 
+m4trace:m4/sockets.m4:7: -1- AC_DEFUN([gl_SOCKETS], [
145971
 
+  AC_REQUIRE([AC_C_INLINE])
145972
 
+  AC_REQUIRE([gl_SOCKETLIB])
145973
 
+  gl_PREREQ_SOCKETS
145974
 
+])
145975
 
+m4trace:m4/sockets.m4:15: -1- AC_DEFUN([gl_PREREQ_SOCKETS], [
145976
 
+  :
145977
 
+])
145978
 
+m4trace:m4/socklen.m4:15: -1- AC_DEFUN([gl_TYPE_SOCKLEN_T], [AC_REQUIRE([gl_CHECK_SOCKET_HEADERS])dnl
145979
 
+   AC_CHECK_TYPE([socklen_t], ,
145980
 
+     [AC_MSG_CHECKING([for socklen_t equivalent])
145981
 
+      AC_CACHE_VAL([gl_cv_socklen_t_equiv],
145982
 
+        [# Systems have either "struct sockaddr *" or
145983
 
+         # "void *" as the second argument to getpeername
145984
 
+         gl_cv_socklen_t_equiv=
145985
 
+         for arg2 in "struct sockaddr" void; do
145986
 
+           for t in int size_t "unsigned int" "long int" "unsigned long int"; do
145987
 
+             AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
145988
 
+                 [[#include <sys/types.h>
145989
 
+                   #include <sys/socket.h>
145990
 
+
145991
 
+                   int getpeername (int, $arg2 *, $t *);]],
145992
 
+                 [[$t len;
145993
 
+                  getpeername (0, 0, &len);]])],
145994
 
+               [gl_cv_socklen_t_equiv="$t"])
145995
 
+             test "$gl_cv_socklen_t_equiv" != "" && break
145996
 
+           done
145997
 
+           test "$gl_cv_socklen_t_equiv" != "" && break
145998
 
+         done
145999
 
+      ])
146000
 
+      if test "$gl_cv_socklen_t_equiv" = ""; then
146001
 
+        AC_MSG_ERROR([Cannot find a type to use in place of socklen_t])
146002
 
+      fi
146003
 
+      AC_MSG_RESULT([$gl_cv_socklen_t_equiv])
146004
 
+      AC_DEFINE_UNQUOTED([socklen_t], [$gl_cv_socklen_t_equiv],
146005
 
+        [type to use in place of socklen_t if not defined])],
146006
 
+     [gl_SOCKET_HEADERS])])
146007
 
+m4trace:m4/socklen.m4:52: -1- AC_DEFUN([gl_SOCKET_HEADERS], [
146008
 
+/* <sys/types.h> is not needed according to POSIX, but the
146009
 
+   <sys/socket.h> in i386-unknown-freebsd4.10 and
146010
 
+   powerpc-apple-darwin5.5 required it. */
146011
 
+#include <sys/types.h>
146012
 
+#if HAVE_SYS_SOCKET_H
146013
 
+# include <sys/socket.h>
146014
 
+#elif HAVE_WS2TCPIP_H
146015
 
+# include <ws2tcpip.h>
146016
 
+#endif
146017
 
+])
146018
 
+m4trace:m4/socklen.m4:68: -1- AC_DEFUN([gl_CHECK_SOCKET_HEADERS], [AC_CHECK_HEADERS_ONCE([sys/socket.h])
146019
 
+   if test $ac_cv_header_sys_socket_h = no; then
146020
 
+     dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make
146021
 
+     dnl the check for those headers unconditional; yet cygwin reports
146022
 
+     dnl that the headers are present but cannot be compiled (since on
146023
 
+     dnl cygwin, all socket information should come from sys/socket.h).
146024
 
+     AC_CHECK_HEADERS([ws2tcpip.h])
146025
 
+   fi
146026
 
+  ])
146027
 
+m4trace:m4/sockpfaf.m4:14: -1- AC_DEFUN([gl_SOCKET_FAMILIES], [
146028
 
+  AC_REQUIRE([gl_HEADER_SYS_SOCKET])
146029
 
+  AC_CHECK_HEADERS_ONCE([netinet/in.h])
146030
 
+
146031
 
+  AC_MSG_CHECKING([for IPv4 sockets])
146032
 
+  AC_CACHE_VAL([gl_cv_socket_ipv4],
146033
 
+    [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
146034
 
+#ifdef HAVE_SYS_SOCKET_H
146035
 
+#include <sys/socket.h>
146036
 
+#endif
146037
 
+#ifdef HAVE_NETINET_IN_H
146038
 
+#include <netinet/in.h>
146039
 
+#endif
146040
 
+#ifdef HAVE_WINSOCK2_H
146041
 
+#include <winsock2.h>
146042
 
+#endif]],
146043
 
+[[int x = AF_INET; struct in_addr y; struct sockaddr_in z;
146044
 
+ if (&x && &y && &z) return 0;]])],
146045
 
+       gl_cv_socket_ipv4=yes, gl_cv_socket_ipv4=no)])
146046
 
+  AC_MSG_RESULT([$gl_cv_socket_ipv4])
146047
 
+  if test $gl_cv_socket_ipv4 = yes; then
146048
 
+    AC_DEFINE([HAVE_IPV4], [1], [Define to 1 if <sys/socket.h> defines AF_INET.])
146049
 
+  fi
146050
 
+
146051
 
+  AC_MSG_CHECKING([for IPv6 sockets])
146052
 
+  AC_CACHE_VAL([gl_cv_socket_ipv6],
146053
 
+    [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
146054
 
+#ifdef HAVE_SYS_SOCKET_H
146055
 
+#include <sys/socket.h>
146056
 
+#endif
146057
 
+#ifdef HAVE_NETINET_IN_H
146058
 
+#include <netinet/in.h>
146059
 
+#endif
146060
 
+#ifdef HAVE_WINSOCK2_H
146061
 
+#include <winsock2.h>
146062
 
+#endif
146063
 
+#ifdef HAVE_WS2TCPIP_H
146064
 
+#include <ws2tcpip.h>
146065
 
+#endif]],
146066
 
+[[int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z;
146067
 
+ if (&x && &y && &z) return 0;]])],
146068
 
+       gl_cv_socket_ipv6=yes, gl_cv_socket_ipv6=no)])
146069
 
+  AC_MSG_RESULT([$gl_cv_socket_ipv6])
146070
 
+  if test $gl_cv_socket_ipv6 = yes; then
146071
 
+    AC_DEFINE([HAVE_IPV6], [1], [Define to 1 if <sys/socket.h> defines AF_INET6.])
146072
 
+  fi
146073
 
+])
146074
 
+m4trace:m4/sockpfaf.m4:63: -1- AC_DEFUN([gl_SOCKET_FAMILY_UNIX], [
146075
 
+  AC_REQUIRE([gl_HEADER_SYS_SOCKET])
146076
 
+  AC_CHECK_HEADERS_ONCE([sys/un.h])
146077
 
+
146078
 
+  AC_MSG_CHECKING([for UNIX domain sockets])
146079
 
+  AC_CACHE_VAL([gl_cv_socket_unix],
146080
 
+    [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
146081
 
+#ifdef HAVE_SYS_SOCKET_H
146082
 
+#include <sys/socket.h>
146083
 
+#endif
146084
 
+#ifdef HAVE_SYS_UN_H
146085
 
+#include <sys/un.h>
146086
 
+#endif
146087
 
+#ifdef HAVE_WINSOCK2_H
146088
 
+#include <winsock2.h>
146089
 
+#endif]],
146090
 
+[[int x = AF_UNIX; struct sockaddr_un y;
146091
 
+ if (&x && &y) return 0;]])],
146092
 
+       gl_cv_socket_unix=yes, gl_cv_socket_unix=no)])
146093
 
+  AC_MSG_RESULT([$gl_cv_socket_unix])
146094
 
+  if test $gl_cv_socket_unix = yes; then
146095
 
+    AC_DEFINE([HAVE_UNIXSOCKET], [1], [Define to 1 if <sys/socket.h> defines AF_UNIX.])
146096
 
+  fi
146097
 
+])
146098
 
+m4trace:m4/ssize_t.m4:10: -1- AC_DEFUN([gt_TYPE_SSIZE_T], [
146099
 
+  AC_CACHE_CHECK([for ssize_t], [gt_cv_ssize_t],
146100
 
+    [AC_COMPILE_IFELSE(
146101
 
+       [AC_LANG_PROGRAM(
146102
 
+          [[#include <sys/types.h>]],
146103
 
+          [[int x = sizeof (ssize_t *) + sizeof (ssize_t);
146104
 
+            return !x;]])],
146105
 
+       [gt_cv_ssize_t=yes], [gt_cv_ssize_t=no])])
146106
 
+  if test $gt_cv_ssize_t = no; then
146107
 
+    AC_DEFINE([ssize_t], [int],
146108
 
+              [Define as a signed type of the same size as size_t.])
146109
 
+  fi
146110
 
+])
146111
 
+m4trace:m4/st_dm_mode.m4:10: -1- AC_DEFUN([AC_STRUCT_ST_DM_MODE], [AC_CACHE_CHECK([for st_dm_mode in struct stat], [ac_cv_struct_st_dm_mode],
146112
 
+   [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
146113
 
+#include <sys/types.h>
146114
 
+#include <sys/stat.h>]], [[struct stat s; s.st_dm_mode;]])],
146115
 
+     [ac_cv_struct_st_dm_mode=yes],
146116
 
+     [ac_cv_struct_st_dm_mode=no])])
146117
 
+
146118
 
+  if test $ac_cv_struct_st_dm_mode = yes; then
146119
 
+    AC_DEFINE([HAVE_ST_DM_MODE], [1],
146120
 
+              [Define if struct stat has an st_dm_mode member. ])
146121
 
+  fi
146122
 
146123
 
+])
146124
 
+m4trace:m4/stat-prog.m4:21: -1- AC_DEFUN([cu_PREREQ_STAT_PROG], [
146125
 
+  AC_REQUIRE([gl_FSUSAGE])
146126
 
+  AC_REQUIRE([gl_FSTYPENAME])
146127
 
+  AC_CHECK_HEADERS_ONCE([OS.h netinet/in.h sys/param.h sys/vfs.h])
146128
 
+
146129
 
+  dnl Check for vfs.h first, since this avoids a warning with nfs_client.h
146130
 
+  dnl on Solaris 8.
146131
 
+  test $ac_cv_header_sys_param_h = yes &&
146132
 
+  test $ac_cv_header_sys_mount_h = yes &&
146133
 
+  AC_CHECK_HEADERS([nfs/vfs.h],
146134
 
+    [AC_CHECK_HEADERS([nfs/nfs_client.h])])
146135
 
+
146136
 
+  statvfs_includes="\
146137
 
+AC_INCLUDES_DEFAULT
146138
 
+#include <sys/statvfs.h>
146139
 
+"
146140
 
+  statfs_includes="\
146141
 
+AC_INCLUDES_DEFAULT
146142
 
+#if HAVE_SYS_VFS_H
146143
 
+# include <sys/vfs.h>
146144
 
+#elif HAVE_SYS_MOUNT_H && HAVE_SYS_PARAM_H
146145
 
+# include <sys/param.h>
146146
 
+# include <sys/mount.h>
146147
 
+# if HAVE_NETINET_IN_H && HAVE_NFS_NFS_CLNT_H && HAVE_NFS_VFS_H
146148
 
+#  include <netinet/in.h>
146149
 
+#  include <nfs/nfs_clnt.h>
146150
 
+#  include <nfs/vfs.h>
146151
 
+# endif
146152
 
+#elif HAVE_OS_H
146153
 
+# include <fs_info.h>
146154
 
+#endif
146155
 
+"
146156
 
+  dnl Keep this long conditional in sync with the USE_STATVFS conditional
146157
 
+  dnl in ../src/stat.c.
146158
 
+  if case "$fu_cv_sys_stat_statvfs$fu_cv_sys_stat_statvfs64" in
146159
 
+       *yes*) ;; *) false;; esac &&
146160
 
+     { AC_CHECK_MEMBERS([struct statvfs.f_basetype],,, [$statvfs_includes])
146161
 
+       test $ac_cv_member_struct_statvfs_f_basetype = yes ||
146162
 
+       { AC_CHECK_MEMBERS([struct statvfs.f_fstypename],,, [$statvfs_includes])
146163
 
+         test $ac_cv_member_struct_statvfs_f_fstypename = yes ||
146164
 
+         { test $ac_cv_member_struct_statfs_f_fstypename != yes &&
146165
 
+           { AC_CHECK_MEMBERS([struct statvfs.f_type],,, [$statvfs_includes])
146166
 
+             test $ac_cv_member_struct_statvfs_f_type = yes; }; }; }; }
146167
 
+  then
146168
 
+    AC_CHECK_MEMBERS([struct statvfs.f_namemax],,, [$statvfs_includes])
146169
 
+    AC_COMPILE_IFELSE(
146170
 
+      [AC_LANG_PROGRAM(
146171
 
+         [$statvfs_includes],
146172
 
+         [static statvfs s;
146173
 
+          return (s.s_fsid ^ 0) == 0;])],
146174
 
+      [AC_DEFINE([STRUCT_STATVFS_F_FSID_IS_INTEGER], [1],
146175
 
+         [Define to 1 if the f_fsid member of struct statvfs is an integer.])])
146176
 
+  else
146177
 
+    AC_CHECK_MEMBERS([struct statfs.f_namelen, struct statfs.f_type],,,
146178
 
+      [$statfs_includes])
146179
 
+    if test $ac_cv_header_OS_h != yes; then
146180
 
+      AC_COMPILE_IFELSE(
146181
 
+        [AC_LANG_PROGRAM(
146182
 
+           [$statfs_includes],
146183
 
+           [static statfs s;
146184
 
+            return (s.s_fsid ^ 0) == 0;])],
146185
 
+        [AC_DEFINE([STRUCT_STATFS_F_FSID_IS_INTEGER], [1],
146186
 
+           [Define to 1 if the f_fsid member of struct statfs is an integer.])])
146187
 
+    fi
146188
 
+  fi
146189
 
+])
146190
 
+m4trace:m4/stat-size.m4:9: -1- AC_DEFUN([gl_STAT_SIZE], [
146191
 
+  # Don't call AC_STRUCT_ST_BLOCKS because it causes bugs.  Details at
146192
 
+  # http://lists.gnu.org/archive/html/bug-gnulib/2011-06/msg00051.html
146193
 
+  AC_CHECK_HEADERS_ONCE([sys/param.h])
146194
 
+])
146195
 
+m4trace:m4/stat-time.m4:20: -1- AC_DEFUN([gl_STAT_TIME], [
146196
 
+  AC_REQUIRE([AC_C_INLINE])
146197
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
146198
 
+  AC_CHECK_HEADERS_ONCE([sys/time.h])
146199
 
+
146200
 
+  AC_CHECK_MEMBERS([struct stat.st_atim.tv_nsec],
146201
 
+    [AC_CACHE_CHECK([whether struct stat.st_atim is of type struct timespec],
146202
 
+       [ac_cv_typeof_struct_stat_st_atim_is_struct_timespec],
146203
 
+       [AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
146204
 
+          [[
146205
 
+            #include <sys/types.h>
146206
 
+            #include <sys/stat.h>
146207
 
+            #if HAVE_SYS_TIME_H
146208
 
+            # include <sys/time.h>
146209
 
+            #endif
146210
 
+            #include <time.h>
146211
 
+            struct timespec ts;
146212
 
+            struct stat st;
146213
 
+          ]],
146214
 
+          [[
146215
 
+            st.st_atim = ts;
146216
 
+          ]])],
146217
 
+          [ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=yes],
146218
 
+          [ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=no])])
146219
 
+     if test $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec = yes; then
146220
 
+       AC_DEFINE([TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC], [1],
146221
 
+         [Define to 1 if the type of the st_atim member of a struct stat is
146222
 
+          struct timespec.])
146223
 
+     fi],
146224
 
+    [AC_CHECK_MEMBERS([struct stat.st_atimespec.tv_nsec], [],
146225
 
+       [AC_CHECK_MEMBERS([struct stat.st_atimensec], [],
146226
 
+          [AC_CHECK_MEMBERS([struct stat.st_atim.st__tim.tv_nsec], [], [],
146227
 
+             [#include <sys/types.h>
146228
 
+              #include <sys/stat.h>])],
146229
 
+          [#include <sys/types.h>
146230
 
+           #include <sys/stat.h>])],
146231
 
+       [#include <sys/types.h>
146232
 
+        #include <sys/stat.h>])],
146233
 
+    [#include <sys/types.h>
146234
 
+     #include <sys/stat.h>])
146235
 
+])
146236
 
+m4trace:m4/stat-time.m4:71: -1- AC_DEFUN([gl_STAT_BIRTHTIME], [
146237
 
+  AC_REQUIRE([AC_C_INLINE])
146238
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
146239
 
+  AC_CHECK_HEADERS_ONCE([sys/time.h])
146240
 
+  AC_CHECK_MEMBERS([struct stat.st_birthtimespec.tv_nsec], [],
146241
 
+    [AC_CHECK_MEMBERS([struct stat.st_birthtimensec], [],
146242
 
+      [AC_CHECK_MEMBERS([struct stat.st_birthtim.tv_nsec], [], [],
146243
 
+         [#include <sys/types.h>
146244
 
+          #include <sys/stat.h>])],
146245
 
+       [#include <sys/types.h>
146246
 
+        #include <sys/stat.h>])],
146247
 
+    [#include <sys/types.h>
146248
 
+     #include <sys/stat.h>])
146249
 
+])
146250
 
+m4trace:m4/stat.m4:9: -1- AC_DEFUN([gl_FUNC_STAT], [
146251
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
146252
 
+  AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
146253
 
+  AC_CHECK_FUNCS_ONCE([lstat])
146254
 
+  dnl mingw is the only known platform where stat(".") and stat("./") differ
146255
 
+  AC_CACHE_CHECK([whether stat handles trailing slashes on directories],
146256
 
+      [gl_cv_func_stat_dir_slash],
146257
 
+      [AC_RUN_IFELSE(
146258
 
+         [AC_LANG_PROGRAM(
146259
 
+           [[#include <sys/stat.h>
146260
 
+]], [[struct stat st; return stat (".", &st) != stat ("./", &st);]])],
146261
 
+         [gl_cv_func_stat_dir_slash=yes], [gl_cv_func_stat_dir_slash=no],
146262
 
+         [case $host_os in
146263
 
+            mingw*) gl_cv_func_stat_dir_slash="guessing no";;
146264
 
+            *) gl_cv_func_stat_dir_slash="guessing yes";;
146265
 
+          esac])])
146266
 
+  dnl AIX 7.1, Solaris 9 mistakenly succeed on stat("file/")
146267
 
+  dnl FreeBSD 7.2 mistakenly succeeds on stat("link-to-file/")
146268
 
+  AC_CACHE_CHECK([whether stat handles trailing slashes on files],
146269
 
+      [gl_cv_func_stat_file_slash],
146270
 
+      [touch conftest.tmp
146271
 
+       # Assume that if we have lstat, we can also check symlinks.
146272
 
+       if test $ac_cv_func_lstat = yes; then
146273
 
+         ln -s conftest.tmp conftest.lnk
146274
 
+       fi
146275
 
+       AC_RUN_IFELSE(
146276
 
+         [AC_LANG_PROGRAM(
146277
 
+           [[#include <sys/stat.h>
146278
 
+]], [[int result = 0;
146279
 
+      struct stat st;
146280
 
+      if (!stat ("conftest.tmp/", &st))
146281
 
+        result |= 1;
146282
 
+#if HAVE_LSTAT
146283
 
+      if (!stat ("conftest.lnk/", &st))
146284
 
+        result |= 2;
146285
 
+#endif
146286
 
+      return result;
146287
 
+           ]])],
146288
 
+         [gl_cv_func_stat_file_slash=yes], [gl_cv_func_stat_file_slash=no],
146289
 
+         [gl_cv_func_stat_file_slash="guessing no"])
146290
 
+       rm -f conftest.tmp conftest.lnk])
146291
 
+  case $gl_cv_func_stat_dir_slash in
146292
 
+    *no) REPLACE_STAT=1
146293
 
+      AC_DEFINE([REPLACE_FUNC_STAT_DIR], [1], [Define to 1 if stat needs
146294
 
+        help when passed a directory name with a trailing slash]);;
146295
 
+  esac
146296
 
+  case $gl_cv_func_stat_file_slash in
146297
 
+    *no) REPLACE_STAT=1
146298
 
+      AC_DEFINE([REPLACE_FUNC_STAT_FILE], [1], [Define to 1 if stat needs
146299
 
+        help when passed a file name with a trailing slash]);;
146300
 
+  esac
146301
 
+])
146302
 
+m4trace:m4/stat.m4:64: -1- AC_DEFUN([gl_PREREQ_STAT], [
146303
 
+  AC_REQUIRE([AC_C_INLINE])
146304
 
+  :
146305
 
+])
146306
 
+m4trace:m4/stdarg.m4:10: -1- AC_DEFUN([gl_STDARG_H], [
146307
 
+  STDARG_H=''
146308
 
+  NEXT_STDARG_H='<stdarg.h>'
146309
 
+  AC_MSG_CHECKING([for va_copy])
146310
 
+  AC_CACHE_VAL([gl_cv_func_va_copy], [
146311
 
+    AC_COMPILE_IFELSE(
146312
 
+      [AC_LANG_PROGRAM(
146313
 
+         [[#include <stdarg.h>]],
146314
 
+         [[
146315
 
+#ifndef va_copy
146316
 
+void (*func) (va_list, va_list) = va_copy;
146317
 
+#endif
146318
 
+         ]])],
146319
 
+      [gl_cv_func_va_copy=yes],
146320
 
+      [gl_cv_func_va_copy=no])])
146321
 
+  AC_MSG_RESULT([$gl_cv_func_va_copy])
146322
 
+  if test $gl_cv_func_va_copy = no; then
146323
 
+    dnl Provide a substitute.
146324
 
+    dnl Usually a simple definition in <config.h> is enough. Not so on AIX 5
146325
 
+    dnl with some versions of the /usr/vac/bin/cc compiler. It has an <stdarg.h>
146326
 
+    dnl which does '#undef va_copy', leading to a missing va_copy symbol. For
146327
 
+    dnl this platform, we use an <stdarg.h> substitute. But we cannot use this
146328
 
+    dnl approach on other platforms, because <stdarg.h> often defines only
146329
 
+    dnl preprocessor macros and gl_ABSOLUTE_HEADER, gl_CHECK_NEXT_HEADERS do
146330
 
+    dnl not work in this situation.
146331
 
+    AC_EGREP_CPP([vaccine],
146332
 
+      [#if defined _AIX && !defined __GNUC__
146333
 
+        AIX vaccine
146334
 
+       #endif
146335
 
+      ], [gl_aixcc=yes], [gl_aixcc=no])
146336
 
+    if test $gl_aixcc = yes; then
146337
 
+      dnl Provide a substitute <stdarg.h> file.
146338
 
+      STDARG_H=stdarg.h
146339
 
+      gl_NEXT_HEADERS([stdarg.h])
146340
 
+      dnl Fallback for the case when <stdarg.h> contains only macro definitions.
146341
 
+      if test "$gl_cv_next_stdarg_h" = '""'; then
146342
 
+        gl_cv_next_stdarg_h='"///usr/include/stdarg.h"'
146343
 
+        NEXT_STDARG_H="$gl_cv_next_stdarg_h"
146344
 
+      fi
146345
 
+    else
146346
 
+      dnl Provide a substitute in <config.h>, either __va_copy or as a simple
146347
 
+      dnl assignment.
146348
 
+      gl_CACHE_VAL_SILENT([gl_cv_func___va_copy], [
146349
 
+        AC_COMPILE_IFELSE(
146350
 
+          [AC_LANG_PROGRAM(
146351
 
+             [[#include <stdarg.h>]],
146352
 
+             [[
146353
 
+#ifndef __va_copy
146354
 
+error, bail out
146355
 
+#endif
146356
 
+             ]])],
146357
 
+          [gl_cv_func___va_copy=yes],
146358
 
+          [gl_cv_func___va_copy=no])])
146359
 
+      if test $gl_cv_func___va_copy = yes; then
146360
 
+        AC_DEFINE([va_copy], [__va_copy],
146361
 
+          [Define as a macro for copying va_list variables.])
146362
 
+      else
146363
 
+        AH_VERBATIM([gl_VA_COPY], [/* A replacement for va_copy, if needed.  */
146364
 
+#define gl_va_copy(a,b) ((a) = (b))])
146365
 
+        AC_DEFINE([va_copy], [gl_va_copy],
146366
 
+          [Define as a macro for copying va_list variables.])
146367
 
+      fi
146368
 
+    fi
146369
 
+  fi
146370
 
+  AC_SUBST([STDARG_H])
146371
 
+  AM_CONDITIONAL([GL_GENERATE_STDARG_H], [test -n "$STDARG_H"])
146372
 
+  AC_SUBST([NEXT_STDARG_H])
146373
 
+])
146374
 
+m4trace:m4/stdbool.m4:12: -1- AC_DEFUN([AM_STDBOOL_H], [
146375
 
+  AC_REQUIRE([AC_CHECK_HEADER_STDBOOL])
146376
 
+
146377
 
+  # Define two additional variables used in the Makefile substitution.
146378
 
+
146379
 
+  if test "$ac_cv_header_stdbool_h" = yes; then
146380
 
+    STDBOOL_H=''
146381
 
+  else
146382
 
+    STDBOOL_H='stdbool.h'
146383
 
+  fi
146384
 
+  AC_SUBST([STDBOOL_H])
146385
 
+  AM_CONDITIONAL([GL_GENERATE_STDBOOL_H], [test -n "$STDBOOL_H"])
146386
 
+
146387
 
+  if test "$ac_cv_type__Bool" = yes; then
146388
 
+    HAVE__BOOL=1
146389
 
+  else
146390
 
+    HAVE__BOOL=0
146391
 
+  fi
146392
 
+  AC_SUBST([HAVE__BOOL])
146393
 
+])
146394
 
+m4trace:m4/stdbool.m4:35: -1- AC_DEFUN([gl_STDBOOL_H], [AM_STDBOOL_H])
146395
 
+m4trace:m4/stdbool.m4:39: -1- AC_DEFUN([AC_CHECK_HEADER_STDBOOL], [AC_CACHE_CHECK([for stdbool.h that conforms to C99],
146396
 
+     [ac_cv_header_stdbool_h],
146397
 
+     [AC_COMPILE_IFELSE(
146398
 
+        [AC_LANG_PROGRAM(
146399
 
+           [[
146400
 
+             #include <stdbool.h>
146401
 
+             #ifndef bool
146402
 
+              "error: bool is not defined"
146403
 
+             #endif
146404
 
+             #ifndef false
146405
 
+              "error: false is not defined"
146406
 
+             #endif
146407
 
+             #if false
146408
 
+              "error: false is not 0"
146409
 
+             #endif
146410
 
+             #ifndef true
146411
 
+              "error: true is not defined"
146412
 
+             #endif
146413
 
+             #if true != 1
146414
 
+              "error: true is not 1"
146415
 
+             #endif
146416
 
+             #ifndef __bool_true_false_are_defined
146417
 
+              "error: __bool_true_false_are_defined is not defined"
146418
 
+             #endif
146419
 
+
146420
 
+             struct s { _Bool s: 1; _Bool t; } s;
146421
 
+
146422
 
+             char a[true == 1 ? 1 : -1];
146423
 
+             char b[false == 0 ? 1 : -1];
146424
 
+             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
146425
 
+             char d[(bool) 0.5 == true ? 1 : -1];
146426
 
+             /* See body of main program for 'e'.  */
146427
 
+             char f[(_Bool) 0.0 == false ? 1 : -1];
146428
 
+             char g[true];
146429
 
+             char h[sizeof (_Bool)];
146430
 
+             char i[sizeof s.t];
146431
 
+             enum { j = false, k = true, l = false * true, m = true * 256 };
146432
 
+             /* The following fails for
146433
 
+                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
146434
 
+             _Bool n[m];
146435
 
+             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
146436
 
+             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
146437
 
+             /* Catch a bug in an HP-UX C compiler.  See
146438
 
+                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
146439
 
+                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
146440
 
+              */
146441
 
+             _Bool q = true;
146442
 
+             _Bool *pq = &q;
146443
 
+           ]],
146444
 
+           [[
146445
 
+             bool e = &s;
146446
 
+             *pq |= q;
146447
 
+             *pq |= ! q;
146448
 
+             /* Refer to every declared value, to avoid compiler optimizations.  */
146449
 
+             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
146450
 
+                     + !m + !n + !o + !p + !q + !pq);
146451
 
+           ]])],
146452
 
+        [ac_cv_header_stdbool_h=yes],
146453
 
+        [ac_cv_header_stdbool_h=no])])
146454
 
+   AC_CHECK_TYPES([_Bool])
146455
 
+])
146456
 
+m4trace:m4/stddef_h.m4:8: -1- AC_DEFUN([gl_STDDEF_H], [
146457
 
+  AC_REQUIRE([gl_STDDEF_H_DEFAULTS])
146458
 
+  AC_REQUIRE([gt_TYPE_WCHAR_T])
146459
 
+  STDDEF_H=
146460
 
+  if test $gt_cv_c_wchar_t = no; then
146461
 
+    HAVE_WCHAR_T=0
146462
 
+    STDDEF_H=stddef.h
146463
 
+  fi
146464
 
+  AC_CACHE_CHECK([whether NULL can be used in arbitrary expressions],
146465
 
+    [gl_cv_decl_null_works],
146466
 
+    [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stddef.h>
146467
 
+      int test[2 * (sizeof NULL == sizeof (void *)) -1];
146468
 
+]])],
146469
 
+      [gl_cv_decl_null_works=yes],
146470
 
+      [gl_cv_decl_null_works=no])])
146471
 
+  if test $gl_cv_decl_null_works = no; then
146472
 
+    REPLACE_NULL=1
146473
 
+    STDDEF_H=stddef.h
146474
 
+  fi
146475
 
+  AC_SUBST([STDDEF_H])
146476
 
+  AM_CONDITIONAL([GL_GENERATE_STDDEF_H], [test -n "$STDDEF_H"])
146477
 
+  if test -n "$STDDEF_H"; then
146478
 
+    gl_NEXT_HEADERS([stddef.h])
146479
 
+  fi
146480
 
+])
146481
 
+m4trace:m4/stddef_h.m4:35: -1- AC_DEFUN([gl_STDDEF_MODULE_INDICATOR], [
146482
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
146483
 
+  AC_REQUIRE([gl_STDDEF_H_DEFAULTS])
146484
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
146485
 
+])
146486
 
+m4trace:m4/stddef_h.m4:42: -1- AC_DEFUN([gl_STDDEF_H_DEFAULTS], [
146487
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
146488
 
+  REPLACE_NULL=0;                AC_SUBST([REPLACE_NULL])
146489
 
+  HAVE_WCHAR_T=1;                AC_SUBST([HAVE_WCHAR_T])
146490
 
+])
146491
 
+m4trace:m4/stdint.m4:10: -1- AC_DEFUN_ONCE([gl_STDINT_H], [
146492
 
+  AC_PREREQ([2.59])dnl
146493
 
+
146494
 
+  dnl Check for long long int and unsigned long long int.
146495
 
+  AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
146496
 
+  if test $ac_cv_type_long_long_int = yes; then
146497
 
+    HAVE_LONG_LONG_INT=1
146498
 
+  else
146499
 
+    HAVE_LONG_LONG_INT=0
146500
 
+  fi
146501
 
+  AC_SUBST([HAVE_LONG_LONG_INT])
146502
 
+  AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
146503
 
+  if test $ac_cv_type_unsigned_long_long_int = yes; then
146504
 
+    HAVE_UNSIGNED_LONG_LONG_INT=1
146505
 
+  else
146506
 
+    HAVE_UNSIGNED_LONG_LONG_INT=0
146507
 
+  fi
146508
 
+  AC_SUBST([HAVE_UNSIGNED_LONG_LONG_INT])
146509
 
+
146510
 
+  dnl Check for <wchar.h>, in the same way as gl_WCHAR_H does.
146511
 
+  AC_CHECK_HEADERS_ONCE([wchar.h])
146512
 
+  if test $ac_cv_header_wchar_h = yes; then
146513
 
+    HAVE_WCHAR_H=1
146514
 
+  else
146515
 
+    HAVE_WCHAR_H=0
146516
 
+  fi
146517
 
+  AC_SUBST([HAVE_WCHAR_H])
146518
 
+
146519
 
+  dnl Check for <inttypes.h>.
146520
 
+  dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_inttypes_h.
146521
 
+  if test $ac_cv_header_inttypes_h = yes; then
146522
 
+    HAVE_INTTYPES_H=1
146523
 
+  else
146524
 
+    HAVE_INTTYPES_H=0
146525
 
+  fi
146526
 
+  AC_SUBST([HAVE_INTTYPES_H])
146527
 
+
146528
 
+  dnl Check for <sys/types.h>.
146529
 
+  dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_sys_types_h.
146530
 
+  if test $ac_cv_header_sys_types_h = yes; then
146531
 
+    HAVE_SYS_TYPES_H=1
146532
 
+  else
146533
 
+    HAVE_SYS_TYPES_H=0
146534
 
+  fi
146535
 
+  AC_SUBST([HAVE_SYS_TYPES_H])
146536
 
+
146537
 
+  gl_CHECK_NEXT_HEADERS([stdint.h])
146538
 
+  if test $ac_cv_header_stdint_h = yes; then
146539
 
+    HAVE_STDINT_H=1
146540
 
+  else
146541
 
+    HAVE_STDINT_H=0
146542
 
+  fi
146543
 
+  AC_SUBST([HAVE_STDINT_H])
146544
 
+
146545
 
+  dnl Now see whether we need a substitute <stdint.h>.
146546
 
+  if test $ac_cv_header_stdint_h = yes; then
146547
 
+    AC_CACHE_CHECK([whether stdint.h conforms to C99],
146548
 
+      [gl_cv_header_working_stdint_h],
146549
 
+      [gl_cv_header_working_stdint_h=no
146550
 
+       AC_COMPILE_IFELSE([
146551
 
+         AC_LANG_PROGRAM([[
146552
 
+#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
146553
 
+#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
146554
 
+#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
146555
 
+#include <stdint.h>
146556
 
+/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>.  */
146557
 
+#if !(defined WCHAR_MIN && defined WCHAR_MAX)
146558
 
+#error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
146559
 
+#endif
146560
 
+]
146561
 
+gl_STDINT_INCLUDES
146562
 
+[
146563
 
+#ifdef INT8_MAX
146564
 
+int8_t a1 = INT8_MAX;
146565
 
+int8_t a1min = INT8_MIN;
146566
 
+#endif
146567
 
+#ifdef INT16_MAX
146568
 
+int16_t a2 = INT16_MAX;
146569
 
+int16_t a2min = INT16_MIN;
146570
 
+#endif
146571
 
+#ifdef INT32_MAX
146572
 
+int32_t a3 = INT32_MAX;
146573
 
+int32_t a3min = INT32_MIN;
146574
 
+#endif
146575
 
+#ifdef INT64_MAX
146576
 
+int64_t a4 = INT64_MAX;
146577
 
+int64_t a4min = INT64_MIN;
146578
 
+#endif
146579
 
+#ifdef UINT8_MAX
146580
 
+uint8_t b1 = UINT8_MAX;
146581
 
+#else
146582
 
+typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
146583
 
+#endif
146584
 
+#ifdef UINT16_MAX
146585
 
+uint16_t b2 = UINT16_MAX;
146586
 
+#endif
146587
 
+#ifdef UINT32_MAX
146588
 
+uint32_t b3 = UINT32_MAX;
146589
 
+#endif
146590
 
+#ifdef UINT64_MAX
146591
 
+uint64_t b4 = UINT64_MAX;
146592
 
+#endif
146593
 
+int_least8_t c1 = INT8_C (0x7f);
146594
 
+int_least8_t c1max = INT_LEAST8_MAX;
146595
 
+int_least8_t c1min = INT_LEAST8_MIN;
146596
 
+int_least16_t c2 = INT16_C (0x7fff);
146597
 
+int_least16_t c2max = INT_LEAST16_MAX;
146598
 
+int_least16_t c2min = INT_LEAST16_MIN;
146599
 
+int_least32_t c3 = INT32_C (0x7fffffff);
146600
 
+int_least32_t c3max = INT_LEAST32_MAX;
146601
 
+int_least32_t c3min = INT_LEAST32_MIN;
146602
 
+int_least64_t c4 = INT64_C (0x7fffffffffffffff);
146603
 
+int_least64_t c4max = INT_LEAST64_MAX;
146604
 
+int_least64_t c4min = INT_LEAST64_MIN;
146605
 
+uint_least8_t d1 = UINT8_C (0xff);
146606
 
+uint_least8_t d1max = UINT_LEAST8_MAX;
146607
 
+uint_least16_t d2 = UINT16_C (0xffff);
146608
 
+uint_least16_t d2max = UINT_LEAST16_MAX;
146609
 
+uint_least32_t d3 = UINT32_C (0xffffffff);
146610
 
+uint_least32_t d3max = UINT_LEAST32_MAX;
146611
 
+uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
146612
 
+uint_least64_t d4max = UINT_LEAST64_MAX;
146613
 
+int_fast8_t e1 = INT_FAST8_MAX;
146614
 
+int_fast8_t e1min = INT_FAST8_MIN;
146615
 
+int_fast16_t e2 = INT_FAST16_MAX;
146616
 
+int_fast16_t e2min = INT_FAST16_MIN;
146617
 
+int_fast32_t e3 = INT_FAST32_MAX;
146618
 
+int_fast32_t e3min = INT_FAST32_MIN;
146619
 
+int_fast64_t e4 = INT_FAST64_MAX;
146620
 
+int_fast64_t e4min = INT_FAST64_MIN;
146621
 
+uint_fast8_t f1 = UINT_FAST8_MAX;
146622
 
+uint_fast16_t f2 = UINT_FAST16_MAX;
146623
 
+uint_fast32_t f3 = UINT_FAST32_MAX;
146624
 
+uint_fast64_t f4 = UINT_FAST64_MAX;
146625
 
+#ifdef INTPTR_MAX
146626
 
+intptr_t g = INTPTR_MAX;
146627
 
+intptr_t gmin = INTPTR_MIN;
146628
 
+#endif
146629
 
+#ifdef UINTPTR_MAX
146630
 
+uintptr_t h = UINTPTR_MAX;
146631
 
+#endif
146632
 
+intmax_t i = INTMAX_MAX;
146633
 
+uintmax_t j = UINTMAX_MAX;
146634
 
+
146635
 
+#include <limits.h> /* for CHAR_BIT */
146636
 
+#define TYPE_MINIMUM(t) \
146637
 
+  ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t)))
146638
 
+#define TYPE_MAXIMUM(t) \
146639
 
+  ((t) ((t) 0 < (t) -1 \
146640
 
+        ? (t) -1 \
146641
 
+        : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
146642
 
+struct s {
146643
 
+  int check_PTRDIFF:
146644
 
+      PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
146645
 
+      && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
146646
 
+      ? 1 : -1;
146647
 
+  /* Detect bug in FreeBSD 6.0 / ia64.  */
146648
 
+  int check_SIG_ATOMIC:
146649
 
+      SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
146650
 
+      && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
146651
 
+      ? 1 : -1;
146652
 
+  int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
146653
 
+  int check_WCHAR:
146654
 
+      WCHAR_MIN == TYPE_MINIMUM (wchar_t)
146655
 
+      && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
146656
 
+      ? 1 : -1;
146657
 
+  /* Detect bug in mingw.  */
146658
 
+  int check_WINT:
146659
 
+      WINT_MIN == TYPE_MINIMUM (wint_t)
146660
 
+      && WINT_MAX == TYPE_MAXIMUM (wint_t)
146661
 
+      ? 1 : -1;
146662
 
+
146663
 
+  /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others.  */
146664
 
+  int check_UINT8_C:
146665
 
+        (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
146666
 
+  int check_UINT16_C:
146667
 
+        (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
146668
 
+
146669
 
+  /* Detect bugs in OpenBSD 3.9 stdint.h.  */
146670
 
+#ifdef UINT8_MAX
146671
 
+  int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
146672
 
+#endif
146673
 
+#ifdef UINT16_MAX
146674
 
+  int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
146675
 
+#endif
146676
 
+#ifdef UINT32_MAX
146677
 
+  int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
146678
 
+#endif
146679
 
+#ifdef UINT64_MAX
146680
 
+  int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
146681
 
+#endif
146682
 
+  int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
146683
 
+  int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
146684
 
+  int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
146685
 
+  int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
146686
 
+  int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
146687
 
+  int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
146688
 
+  int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
146689
 
+  int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
146690
 
+  int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
146691
 
+  int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
146692
 
+  int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
146693
 
+};
146694
 
+         ]])],
146695
 
+         [dnl Determine whether the various *_MIN, *_MAX macros are usable
146696
 
+          dnl in preprocessor expression. We could do it by compiling a test
146697
 
+          dnl program for each of these macros. It is faster to run a program
146698
 
+          dnl that inspects the macro expansion.
146699
 
+          dnl This detects a bug on HP-UX 11.23/ia64.
146700
 
+          AC_RUN_IFELSE([
146701
 
+            AC_LANG_PROGRAM([[
146702
 
+#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
146703
 
+#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
146704
 
+#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
146705
 
+#include <stdint.h>
146706
 
+]
146707
 
+gl_STDINT_INCLUDES
146708
 
+[
146709
 
+#include <stdio.h>
146710
 
+#include <string.h>
146711
 
+#define MVAL(macro) MVAL1(macro)
146712
 
+#define MVAL1(expression) #expression
146713
 
+static const char *macro_values[] =
146714
 
+  {
146715
 
+#ifdef INT8_MAX
146716
 
+    MVAL (INT8_MAX),
146717
 
+#endif
146718
 
+#ifdef INT16_MAX
146719
 
+    MVAL (INT16_MAX),
146720
 
+#endif
146721
 
+#ifdef INT32_MAX
146722
 
+    MVAL (INT32_MAX),
146723
 
+#endif
146724
 
+#ifdef INT64_MAX
146725
 
+    MVAL (INT64_MAX),
146726
 
+#endif
146727
 
+#ifdef UINT8_MAX
146728
 
+    MVAL (UINT8_MAX),
146729
 
+#endif
146730
 
+#ifdef UINT16_MAX
146731
 
+    MVAL (UINT16_MAX),
146732
 
+#endif
146733
 
+#ifdef UINT32_MAX
146734
 
+    MVAL (UINT32_MAX),
146735
 
+#endif
146736
 
+#ifdef UINT64_MAX
146737
 
+    MVAL (UINT64_MAX),
146738
 
+#endif
146739
 
+    NULL
146740
 
+  };
146741
 
+]], [[
146742
 
+  const char **mv;
146743
 
+  for (mv = macro_values; *mv != NULL; mv++)
146744
 
+    {
146745
 
+      const char *value = *mv;
146746
 
+      /* Test whether it looks like a cast expression.  */
146747
 
+      if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0
146748
 
+          || strncmp (value, "((unsigned short)"/*)*/, 17) == 0
146749
 
+          || strncmp (value, "((unsigned char)"/*)*/, 16) == 0
146750
 
+          || strncmp (value, "((int)"/*)*/, 6) == 0
146751
 
+          || strncmp (value, "((signed short)"/*)*/, 15) == 0
146752
 
+          || strncmp (value, "((signed char)"/*)*/, 14) == 0)
146753
 
+        return mv - macro_values + 1;
146754
 
+    }
146755
 
+  return 0;
146756
 
+]])],
146757
 
+              [gl_cv_header_working_stdint_h=yes],
146758
 
+              [],
146759
 
+              [dnl When cross-compiling, assume it works.
146760
 
+               gl_cv_header_working_stdint_h=yes
146761
 
+              ])
146762
 
+         ])
146763
 
+      ])
146764
 
+  fi
146765
 
+  if test "$gl_cv_header_working_stdint_h" = yes; then
146766
 
+    STDINT_H=
146767
 
+  else
146768
 
+    dnl Check for <sys/inttypes.h>, and for
146769
 
+    dnl <sys/bitypes.h> (used in Linux libc4 >= 4.6.7 and libc5).
146770
 
+    AC_CHECK_HEADERS([sys/inttypes.h sys/bitypes.h])
146771
 
+    if test $ac_cv_header_sys_inttypes_h = yes; then
146772
 
+      HAVE_SYS_INTTYPES_H=1
146773
 
+    else
146774
 
+      HAVE_SYS_INTTYPES_H=0
146775
 
+    fi
146776
 
+    AC_SUBST([HAVE_SYS_INTTYPES_H])
146777
 
+    if test $ac_cv_header_sys_bitypes_h = yes; then
146778
 
+      HAVE_SYS_BITYPES_H=1
146779
 
+    else
146780
 
+      HAVE_SYS_BITYPES_H=0
146781
 
+    fi
146782
 
+    AC_SUBST([HAVE_SYS_BITYPES_H])
146783
 
+
146784
 
+    gl_STDINT_TYPE_PROPERTIES
146785
 
+    STDINT_H=stdint.h
146786
 
+  fi
146787
 
+  AC_SUBST([STDINT_H])
146788
 
+  AM_CONDITIONAL([GL_GENERATE_STDINT_H], [test -n "$STDINT_H"])
146789
 
+])
146790
 
+m4trace:m4/stdint.m4:313: -1- AC_DEFUN([gl_STDINT_BITSIZEOF], [
146791
 
+  dnl Use a shell loop, to avoid bloating configure, and
146792
 
+  dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into
146793
 
+  dnl   config.h.in,
146794
 
+  dnl - extra AC_SUBST calls, so that the right substitutions are made.
146795
 
+  m4_foreach_w([gltype], [$1],
146796
 
+    [AH_TEMPLATE([BITSIZEOF_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]),
146797
 
+       [Define to the number of bits in type ']gltype['.])])
146798
 
+  for gltype in $1 ; do
146799
 
+    AC_CACHE_CHECK([for bit size of $gltype], [gl_cv_bitsizeof_${gltype}],
146800
 
+      [AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT],
146801
 
+         [$2
146802
 
+#include <limits.h>], [result=unknown])
146803
 
+       eval gl_cv_bitsizeof_${gltype}=\$result
146804
 
+      ])
146805
 
+    eval result=\$gl_cv_bitsizeof_${gltype}
146806
 
+    if test $result = unknown; then
146807
 
+      dnl Use a nonempty default, because some compilers, such as IRIX 5 cc,
146808
 
+      dnl do a syntax check even on unused #if conditions and give an error
146809
 
+      dnl on valid C code like this:
146810
 
+      dnl   #if 0
146811
 
+      dnl   # if  > 32
146812
 
+      dnl   # endif
146813
 
+      dnl   #endif
146814
 
+      result=0
146815
 
+    fi
146816
 
+    GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
146817
 
+    AC_DEFINE_UNQUOTED([BITSIZEOF_${GLTYPE}], [$result])
146818
 
+    eval BITSIZEOF_${GLTYPE}=\$result
146819
 
+  done
146820
 
+  m4_foreach_w([gltype], [$1],
146821
 
+    [AC_SUBST([BITSIZEOF_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))])
146822
 
+])
146823
 
+m4trace:m4/stdint.m4:351: -1- AC_DEFUN([gl_CHECK_TYPES_SIGNED], [
146824
 
+  dnl Use a shell loop, to avoid bloating configure, and
146825
 
+  dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into
146826
 
+  dnl   config.h.in,
146827
 
+  dnl - extra AC_SUBST calls, so that the right substitutions are made.
146828
 
+  m4_foreach_w([gltype], [$1],
146829
 
+    [AH_TEMPLATE([HAVE_SIGNED_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]),
146830
 
+       [Define to 1 if ']gltype[' is a signed integer type.])])
146831
 
+  for gltype in $1 ; do
146832
 
+    AC_CACHE_CHECK([whether $gltype is signed], [gl_cv_type_${gltype}_signed],
146833
 
+      [AC_COMPILE_IFELSE(
146834
 
+         [AC_LANG_PROGRAM([$2[
146835
 
+            int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];]])],
146836
 
+         result=yes, result=no)
146837
 
+       eval gl_cv_type_${gltype}_signed=\$result
146838
 
+      ])
146839
 
+    eval result=\$gl_cv_type_${gltype}_signed
146840
 
+    GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
146841
 
+    if test "$result" = yes; then
146842
 
+      AC_DEFINE_UNQUOTED([HAVE_SIGNED_${GLTYPE}], [1])
146843
 
+      eval HAVE_SIGNED_${GLTYPE}=1
146844
 
+    else
146845
 
+      eval HAVE_SIGNED_${GLTYPE}=0
146846
 
+    fi
146847
 
+  done
146848
 
+  m4_foreach_w([gltype], [$1],
146849
 
+    [AC_SUBST([HAVE_SIGNED_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))])
146850
 
+])
146851
 
+m4trace:m4/stdint.m4:384: -1- AC_DEFUN([gl_INTEGER_TYPE_SUFFIX], [
146852
 
+  dnl Use a shell loop, to avoid bloating configure, and
146853
 
+  dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into
146854
 
+  dnl   config.h.in,
146855
 
+  dnl - extra AC_SUBST calls, so that the right substitutions are made.
146856
 
+  m4_foreach_w([gltype], [$1],
146857
 
+    [AH_TEMPLATE(m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX],
146858
 
+       [Define to l, ll, u, ul, ull, etc., as suitable for
146859
 
+        constants of type ']gltype['.])])
146860
 
+  for gltype in $1 ; do
146861
 
+    AC_CACHE_CHECK([for $gltype integer literal suffix],
146862
 
+      [gl_cv_type_${gltype}_suffix],
146863
 
+      [eval gl_cv_type_${gltype}_suffix=no
146864
 
+       eval result=\$gl_cv_type_${gltype}_signed
146865
 
+       if test "$result" = yes; then
146866
 
+         glsufu=
146867
 
+       else
146868
 
+         glsufu=u
146869
 
+       fi
146870
 
+       for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
146871
 
+         case $glsuf in
146872
 
+           '')  gltype1='int';;
146873
 
+           l)   gltype1='long int';;
146874
 
+           ll)  gltype1='long long int';;
146875
 
+           i64) gltype1='__int64';;
146876
 
+           u)   gltype1='unsigned int';;
146877
 
+           ul)  gltype1='unsigned long int';;
146878
 
+           ull) gltype1='unsigned long long int';;
146879
 
+           ui64)gltype1='unsigned __int64';;
146880
 
+         esac
146881
 
+         AC_COMPILE_IFELSE(
146882
 
+           [AC_LANG_PROGRAM([$2[
146883
 
+              extern $gltype foo;
146884
 
+              extern $gltype1 foo;]])],
146885
 
+           [eval gl_cv_type_${gltype}_suffix=\$glsuf])
146886
 
+         eval result=\$gl_cv_type_${gltype}_suffix
146887
 
+         test "$result" != no && break
146888
 
+       done])
146889
 
+    GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
146890
 
+    eval result=\$gl_cv_type_${gltype}_suffix
146891
 
+    test "$result" = no && result=
146892
 
+    eval ${GLTYPE}_SUFFIX=\$result
146893
 
+    AC_DEFINE_UNQUOTED([${GLTYPE}_SUFFIX], [$result])
146894
 
+  done
146895
 
+  m4_foreach_w([gltype], [$1],
146896
 
+    [AC_SUBST(m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX])])
146897
 
+])
146898
 
+m4trace:m4/stdint.m4:434: -1- AC_DEFUN([gl_STDINT_INCLUDES], [[
146899
 
+  /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
146900
 
+     included before <wchar.h>.  */
146901
 
+  #include <stddef.h>
146902
 
+  #include <signal.h>
146903
 
+  #if HAVE_WCHAR_H
146904
 
+  # include <stdio.h>
146905
 
+  # include <time.h>
146906
 
+  # include <wchar.h>
146907
 
+  #endif
146908
 
+]])
146909
 
+m4trace:m4/stdint.m4:450: -1- AC_DEFUN([gl_STDINT_TYPE_PROPERTIES], [
146910
 
+  AC_REQUIRE([gl_MULTIARCH])
146911
 
+  if test $APPLE_UNIVERSAL_BUILD = 0; then
146912
 
+    gl_STDINT_BITSIZEOF([ptrdiff_t size_t],
146913
 
+      [gl_STDINT_INCLUDES])
146914
 
+  fi
146915
 
+  gl_STDINT_BITSIZEOF([sig_atomic_t wchar_t wint_t],
146916
 
+    [gl_STDINT_INCLUDES])
146917
 
+  gl_CHECK_TYPES_SIGNED([sig_atomic_t wchar_t wint_t],
146918
 
+    [gl_STDINT_INCLUDES])
146919
 
+  gl_cv_type_ptrdiff_t_signed=yes
146920
 
+  gl_cv_type_size_t_signed=no
146921
 
+  if test $APPLE_UNIVERSAL_BUILD = 0; then
146922
 
+    gl_INTEGER_TYPE_SUFFIX([ptrdiff_t size_t],
146923
 
+      [gl_STDINT_INCLUDES])
146924
 
+  fi
146925
 
+  gl_INTEGER_TYPE_SUFFIX([sig_atomic_t wchar_t wint_t],
146926
 
+    [gl_STDINT_INCLUDES])
146927
 
+])
146928
 
+m4trace:m4/stdint_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_STDINT_H], [
146929
 
+  AC_CACHE_CHECK([for stdint.h], [gl_cv_header_stdint_h],
146930
 
+    [AC_COMPILE_IFELSE(
146931
 
+       [AC_LANG_PROGRAM(
146932
 
+          [[#include <sys/types.h>
146933
 
+            #include <stdint.h>]],
146934
 
+          [[uintmax_t i = (uintmax_t) -1; return !i;]])],
146935
 
+       [gl_cv_header_stdint_h=yes],
146936
 
+       [gl_cv_header_stdint_h=no])])
146937
 
+  if test $gl_cv_header_stdint_h = yes; then
146938
 
+    AC_DEFINE_UNQUOTED([HAVE_STDINT_H_WITH_UINTMAX], [1],
146939
 
+      [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
146940
 
+       and declares uintmax_t. ])
146941
 
+  fi
146942
 
+])
146943
 
+m4trace:m4/stdio_h.m4:7: -1- AC_DEFUN([gl_STDIO_H], [
146944
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
146945
 
+  AC_REQUIRE([AC_C_INLINE])
146946
 
+  gl_NEXT_HEADERS([stdio.h])
146947
 
+
146948
 
+  dnl No need to create extra modules for these functions. Everyone who uses
146949
 
+  dnl <stdio.h> likely needs them.
146950
 
+  GNULIB_FSCANF=1
146951
 
+  GNULIB_SCANF=1
146952
 
+  GNULIB_FGETC=1
146953
 
+  GNULIB_GETC=1
146954
 
+  GNULIB_GETCHAR=1
146955
 
+  GNULIB_FGETS=1
146956
 
+  GNULIB_GETS=1
146957
 
+  GNULIB_FREAD=1
146958
 
+  dnl This ifdef is necessary to avoid an error "missing file lib/stdio-read.c"
146959
 
+  dnl "expected source file, required through AC_LIBSOURCES, not found". It is
146960
 
+  dnl also an optimization, to avoid performing a configure check whose result
146961
 
+  dnl is not used. But it does not make the test of GNULIB_STDIO_H_NONBLOCKING
146962
 
+  dnl or GNULIB_NONBLOCKING redundant.
146963
 
+  m4_ifdef([gl_NONBLOCKING_IO], [
146964
 
+    gl_NONBLOCKING_IO
146965
 
+    if test $gl_cv_have_nonblocking != yes; then
146966
 
+      REPLACE_STDIO_READ_FUNCS=1
146967
 
+      AC_LIBOBJ([stdio-read])
146968
 
+    fi
146969
 
+  ])
146970
 
+
146971
 
+  dnl No need to create extra modules for these functions. Everyone who uses
146972
 
+  dnl <stdio.h> likely needs them.
146973
 
+  GNULIB_FPRINTF=1
146974
 
+  GNULIB_PRINTF=1
146975
 
+  GNULIB_VFPRINTF=1
146976
 
+  GNULIB_VPRINTF=1
146977
 
+  GNULIB_FPUTC=1
146978
 
+  GNULIB_PUTC=1
146979
 
+  GNULIB_PUTCHAR=1
146980
 
+  GNULIB_FPUTS=1
146981
 
+  GNULIB_PUTS=1
146982
 
+  GNULIB_FWRITE=1
146983
 
+  dnl This ifdef is necessary to avoid an error "missing file lib/stdio-write.c"
146984
 
+  dnl "expected source file, required through AC_LIBSOURCES, not found". It is
146985
 
+  dnl also an optimization, to avoid performing a configure check whose result
146986
 
+  dnl is not used. But it does not make the test of GNULIB_STDIO_H_SIGPIPE or
146987
 
+  dnl GNULIB_SIGPIPE redundant.
146988
 
+  m4_ifdef([gl_SIGNAL_SIGPIPE], [
146989
 
+    gl_SIGNAL_SIGPIPE
146990
 
+    if test $gl_cv_header_signal_h_SIGPIPE != yes; then
146991
 
+      REPLACE_STDIO_WRITE_FUNCS=1
146992
 
+      AC_LIBOBJ([stdio-write])
146993
 
+    fi
146994
 
+  ])
146995
 
+  dnl This ifdef is necessary to avoid an error "missing file lib/stdio-write.c"
146996
 
+  dnl "expected source file, required through AC_LIBSOURCES, not found". It is
146997
 
+  dnl also an optimization, to avoid performing a configure check whose result
146998
 
+  dnl is not used. But it does not make the test of GNULIB_STDIO_H_NONBLOCKING
146999
 
+  dnl or GNULIB_NONBLOCKING redundant.
147000
 
+  m4_ifdef([gl_NONBLOCKING_IO], [
147001
 
+    gl_NONBLOCKING_IO
147002
 
+    if test $gl_cv_have_nonblocking != yes; then
147003
 
+      REPLACE_STDIO_WRITE_FUNCS=1
147004
 
+      AC_LIBOBJ([stdio-write])
147005
 
+    fi
147006
 
+  ])
147007
 
+
147008
 
+  dnl Check for declarations of anything we want to poison if the
147009
 
+  dnl corresponding gnulib module is not in use, and which is not
147010
 
+  dnl guaranteed by C89.
147011
 
+  gl_WARN_ON_USE_PREPARE([[#include <stdio.h>
147012
 
+    ]], [dprintf fpurge fseeko ftello getdelim getline popen renameat
147013
 
+    snprintf tmpfile vdprintf vsnprintf])
147014
 
+])
147015
 
+m4trace:m4/stdio_h.m4:81: -1- AC_DEFUN([gl_STDIO_MODULE_INDICATOR], [
147016
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
147017
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
147018
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
147019
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
147020
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
147021
 
+])
147022
 
+m4trace:m4/stdio_h.m4:90: -1- AC_DEFUN([gl_STDIO_H_DEFAULTS], [
147023
 
+  GNULIB_DPRINTF=0;              AC_SUBST([GNULIB_DPRINTF])
147024
 
+  GNULIB_FCLOSE=0;               AC_SUBST([GNULIB_FCLOSE])
147025
 
+  GNULIB_FFLUSH=0;               AC_SUBST([GNULIB_FFLUSH])
147026
 
+  GNULIB_FGETC=0;                AC_SUBST([GNULIB_FGETC])
147027
 
+  GNULIB_FGETS=0;                AC_SUBST([GNULIB_FGETS])
147028
 
+  GNULIB_FOPEN=0;                AC_SUBST([GNULIB_FOPEN])
147029
 
+  GNULIB_FPRINTF=0;              AC_SUBST([GNULIB_FPRINTF])
147030
 
+  GNULIB_FPRINTF_POSIX=0;        AC_SUBST([GNULIB_FPRINTF_POSIX])
147031
 
+  GNULIB_FPURGE=0;               AC_SUBST([GNULIB_FPURGE])
147032
 
+  GNULIB_FPUTC=0;                AC_SUBST([GNULIB_FPUTC])
147033
 
+  GNULIB_FPUTS=0;                AC_SUBST([GNULIB_FPUTS])
147034
 
+  GNULIB_FREAD=0;                AC_SUBST([GNULIB_FREAD])
147035
 
+  GNULIB_FREOPEN=0;              AC_SUBST([GNULIB_FREOPEN])
147036
 
+  GNULIB_FSCANF=0;               AC_SUBST([GNULIB_FSCANF])
147037
 
+  GNULIB_FSEEK=0;                AC_SUBST([GNULIB_FSEEK])
147038
 
+  GNULIB_FSEEKO=0;               AC_SUBST([GNULIB_FSEEKO])
147039
 
+  GNULIB_FTELL=0;                AC_SUBST([GNULIB_FTELL])
147040
 
+  GNULIB_FTELLO=0;               AC_SUBST([GNULIB_FTELLO])
147041
 
+  GNULIB_FWRITE=0;               AC_SUBST([GNULIB_FWRITE])
147042
 
+  GNULIB_GETC=0;                 AC_SUBST([GNULIB_GETC])
147043
 
+  GNULIB_GETCHAR=0;              AC_SUBST([GNULIB_GETCHAR])
147044
 
+  GNULIB_GETDELIM=0;             AC_SUBST([GNULIB_GETDELIM])
147045
 
+  GNULIB_GETLINE=0;              AC_SUBST([GNULIB_GETLINE])
147046
 
+  GNULIB_GETS=0;                 AC_SUBST([GNULIB_GETS])
147047
 
+  GNULIB_OBSTACK_PRINTF=0;       AC_SUBST([GNULIB_OBSTACK_PRINTF])
147048
 
+  GNULIB_OBSTACK_PRINTF_POSIX=0; AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX])
147049
 
+  GNULIB_PERROR=0;               AC_SUBST([GNULIB_PERROR])
147050
 
+  GNULIB_POPEN=0;                AC_SUBST([GNULIB_POPEN])
147051
 
+  GNULIB_PRINTF=0;               AC_SUBST([GNULIB_PRINTF])
147052
 
+  GNULIB_PRINTF_POSIX=0;         AC_SUBST([GNULIB_PRINTF_POSIX])
147053
 
+  GNULIB_PUTC=0;                 AC_SUBST([GNULIB_PUTC])
147054
 
+  GNULIB_PUTCHAR=0;              AC_SUBST([GNULIB_PUTCHAR])
147055
 
+  GNULIB_PUTS=0;                 AC_SUBST([GNULIB_PUTS])
147056
 
+  GNULIB_REMOVE=0;               AC_SUBST([GNULIB_REMOVE])
147057
 
+  GNULIB_RENAME=0;               AC_SUBST([GNULIB_RENAME])
147058
 
+  GNULIB_RENAMEAT=0;             AC_SUBST([GNULIB_RENAMEAT])
147059
 
+  GNULIB_SCANF=0;                AC_SUBST([GNULIB_SCANF])
147060
 
+  GNULIB_SNPRINTF=0;             AC_SUBST([GNULIB_SNPRINTF])
147061
 
+  GNULIB_SPRINTF_POSIX=0;        AC_SUBST([GNULIB_SPRINTF_POSIX])
147062
 
+  GNULIB_STDIO_H_NONBLOCKING=0;  AC_SUBST([GNULIB_STDIO_H_NONBLOCKING])
147063
 
+  GNULIB_STDIO_H_SIGPIPE=0;      AC_SUBST([GNULIB_STDIO_H_SIGPIPE])
147064
 
+  GNULIB_TMPFILE=0;              AC_SUBST([GNULIB_TMPFILE])
147065
 
+  GNULIB_VASPRINTF=0;            AC_SUBST([GNULIB_VASPRINTF])
147066
 
+  GNULIB_VFSCANF=0;              AC_SUBST([GNULIB_VFSCANF])
147067
 
+  GNULIB_VSCANF=0;               AC_SUBST([GNULIB_VSCANF])
147068
 
+  GNULIB_VDPRINTF=0;             AC_SUBST([GNULIB_VDPRINTF])
147069
 
+  GNULIB_VFPRINTF=0;             AC_SUBST([GNULIB_VFPRINTF])
147070
 
+  GNULIB_VFPRINTF_POSIX=0;       AC_SUBST([GNULIB_VFPRINTF_POSIX])
147071
 
+  GNULIB_VPRINTF=0;              AC_SUBST([GNULIB_VPRINTF])
147072
 
+  GNULIB_VPRINTF_POSIX=0;        AC_SUBST([GNULIB_VPRINTF_POSIX])
147073
 
+  GNULIB_VSNPRINTF=0;            AC_SUBST([GNULIB_VSNPRINTF])
147074
 
+  GNULIB_VSPRINTF_POSIX=0;       AC_SUBST([GNULIB_VSPRINTF_POSIX])
147075
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
147076
 
+  HAVE_DECL_FPURGE=1;            AC_SUBST([HAVE_DECL_FPURGE])
147077
 
+  HAVE_DECL_FSEEKO=1;            AC_SUBST([HAVE_DECL_FSEEKO])
147078
 
+  HAVE_DECL_FTELLO=1;            AC_SUBST([HAVE_DECL_FTELLO])
147079
 
+  HAVE_DECL_GETDELIM=1;          AC_SUBST([HAVE_DECL_GETDELIM])
147080
 
+  HAVE_DECL_GETLINE=1;           AC_SUBST([HAVE_DECL_GETLINE])
147081
 
+  HAVE_DECL_OBSTACK_PRINTF=1;    AC_SUBST([HAVE_DECL_OBSTACK_PRINTF])
147082
 
+  HAVE_DECL_SNPRINTF=1;          AC_SUBST([HAVE_DECL_SNPRINTF])
147083
 
+  HAVE_DECL_VSNPRINTF=1;         AC_SUBST([HAVE_DECL_VSNPRINTF])
147084
 
+  HAVE_DPRINTF=1;                AC_SUBST([HAVE_DPRINTF])
147085
 
+  HAVE_FSEEKO=1;                 AC_SUBST([HAVE_FSEEKO])
147086
 
+  HAVE_FTELLO=1;                 AC_SUBST([HAVE_FTELLO])
147087
 
+  HAVE_RENAMEAT=1;               AC_SUBST([HAVE_RENAMEAT])
147088
 
+  HAVE_VASPRINTF=1;              AC_SUBST([HAVE_VASPRINTF])
147089
 
+  HAVE_VDPRINTF=1;               AC_SUBST([HAVE_VDPRINTF])
147090
 
+  REPLACE_DPRINTF=0;             AC_SUBST([REPLACE_DPRINTF])
147091
 
+  REPLACE_FCLOSE=0;              AC_SUBST([REPLACE_FCLOSE])
147092
 
+  REPLACE_FFLUSH=0;              AC_SUBST([REPLACE_FFLUSH])
147093
 
+  REPLACE_FOPEN=0;               AC_SUBST([REPLACE_FOPEN])
147094
 
+  REPLACE_FPRINTF=0;             AC_SUBST([REPLACE_FPRINTF])
147095
 
+  REPLACE_FPURGE=0;              AC_SUBST([REPLACE_FPURGE])
147096
 
+  REPLACE_FREOPEN=0;             AC_SUBST([REPLACE_FREOPEN])
147097
 
+  REPLACE_FSEEK=0;               AC_SUBST([REPLACE_FSEEK])
147098
 
+  REPLACE_FSEEKO=0;              AC_SUBST([REPLACE_FSEEKO])
147099
 
+  REPLACE_FTELL=0;               AC_SUBST([REPLACE_FTELL])
147100
 
+  REPLACE_FTELLO=0;              AC_SUBST([REPLACE_FTELLO])
147101
 
+  REPLACE_GETDELIM=0;            AC_SUBST([REPLACE_GETDELIM])
147102
 
+  REPLACE_GETLINE=0;             AC_SUBST([REPLACE_GETLINE])
147103
 
+  REPLACE_OBSTACK_PRINTF=0;      AC_SUBST([REPLACE_OBSTACK_PRINTF])
147104
 
+  REPLACE_PERROR=0;              AC_SUBST([REPLACE_PERROR])
147105
 
+  REPLACE_POPEN=0;               AC_SUBST([REPLACE_POPEN])
147106
 
+  REPLACE_PRINTF=0;              AC_SUBST([REPLACE_PRINTF])
147107
 
+  REPLACE_REMOVE=0;              AC_SUBST([REPLACE_REMOVE])
147108
 
+  REPLACE_RENAME=0;              AC_SUBST([REPLACE_RENAME])
147109
 
+  REPLACE_RENAMEAT=0;            AC_SUBST([REPLACE_RENAMEAT])
147110
 
+  REPLACE_SNPRINTF=0;            AC_SUBST([REPLACE_SNPRINTF])
147111
 
+  REPLACE_SPRINTF=0;             AC_SUBST([REPLACE_SPRINTF])
147112
 
+  REPLACE_STDIO_READ_FUNCS=0;    AC_SUBST([REPLACE_STDIO_READ_FUNCS])
147113
 
+  REPLACE_STDIO_WRITE_FUNCS=0;   AC_SUBST([REPLACE_STDIO_WRITE_FUNCS])
147114
 
+  REPLACE_TMPFILE=0;             AC_SUBST([REPLACE_TMPFILE])
147115
 
+  REPLACE_VASPRINTF=0;           AC_SUBST([REPLACE_VASPRINTF])
147116
 
+  REPLACE_VDPRINTF=0;            AC_SUBST([REPLACE_VDPRINTF])
147117
 
+  REPLACE_VFPRINTF=0;            AC_SUBST([REPLACE_VFPRINTF])
147118
 
+  REPLACE_VPRINTF=0;             AC_SUBST([REPLACE_VPRINTF])
147119
 
+  REPLACE_VSNPRINTF=0;           AC_SUBST([REPLACE_VSNPRINTF])
147120
 
+  REPLACE_VSPRINTF=0;            AC_SUBST([REPLACE_VSPRINTF])
147121
 
+])
147122
 
+m4trace:m4/stdlib_h.m4:7: -1- AC_DEFUN([gl_STDLIB_H], [
147123
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
147124
 
+  gl_NEXT_HEADERS([stdlib.h])
147125
 
+
147126
 
+  dnl Check for declarations of anything we want to poison if the
147127
 
+  dnl corresponding gnulib module is not in use, and which is not
147128
 
+  dnl guaranteed by C89.
147129
 
+  gl_WARN_ON_USE_PREPARE([[#include <stdlib.h>
147130
 
+#if HAVE_SYS_LOADAVG_H
147131
 
+# include <sys/loadavg.h>
147132
 
+#endif
147133
 
+#if HAVE_RANDOM_H
147134
 
+# include <random.h>
147135
 
+#endif
147136
 
+    ]], [_Exit atoll canonicalize_file_name getloadavg getsubopt grantpt mkdtemp
147137
 
+    mkostemp mkostemps mkstemp mkstemps ptsname random_r initstat_r srandom_r
147138
 
+    setstate_r realpath rpmatch setenv strtod strtoll strtoull unlockpt
147139
 
+    unsetenv])
147140
 
+])
147141
 
+m4trace:m4/stdlib_h.m4:28: -1- AC_DEFUN([gl_STDLIB_MODULE_INDICATOR], [
147142
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
147143
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
147144
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
147145
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
147146
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
147147
 
+])
147148
 
+m4trace:m4/stdlib_h.m4:37: -1- AC_DEFUN([gl_STDLIB_H_DEFAULTS], [
147149
 
+  GNULIB__EXIT=0;         AC_SUBST([GNULIB__EXIT])
147150
 
+  GNULIB_ATOLL=0;         AC_SUBST([GNULIB_ATOLL])
147151
 
+  GNULIB_CALLOC_POSIX=0;  AC_SUBST([GNULIB_CALLOC_POSIX])
147152
 
+  GNULIB_CANONICALIZE_FILE_NAME=0;  AC_SUBST([GNULIB_CANONICALIZE_FILE_NAME])
147153
 
+  GNULIB_GETLOADAVG=0;    AC_SUBST([GNULIB_GETLOADAVG])
147154
 
+  GNULIB_GETSUBOPT=0;     AC_SUBST([GNULIB_GETSUBOPT])
147155
 
+  GNULIB_GRANTPT=0;       AC_SUBST([GNULIB_GRANTPT])
147156
 
+  GNULIB_MALLOC_POSIX=0;  AC_SUBST([GNULIB_MALLOC_POSIX])
147157
 
+  GNULIB_MBTOWC=0;        AC_SUBST([GNULIB_MBTOWC])
147158
 
+  GNULIB_MKDTEMP=0;       AC_SUBST([GNULIB_MKDTEMP])
147159
 
+  GNULIB_MKOSTEMP=0;      AC_SUBST([GNULIB_MKOSTEMP])
147160
 
+  GNULIB_MKOSTEMPS=0;     AC_SUBST([GNULIB_MKOSTEMPS])
147161
 
+  GNULIB_MKSTEMP=0;       AC_SUBST([GNULIB_MKSTEMP])
147162
 
+  GNULIB_MKSTEMPS=0;      AC_SUBST([GNULIB_MKSTEMPS])
147163
 
+  GNULIB_PTSNAME=0;       AC_SUBST([GNULIB_PTSNAME])
147164
 
+  GNULIB_PUTENV=0;        AC_SUBST([GNULIB_PUTENV])
147165
 
+  GNULIB_RANDOM_R=0;      AC_SUBST([GNULIB_RANDOM_R])
147166
 
+  GNULIB_REALLOC_POSIX=0; AC_SUBST([GNULIB_REALLOC_POSIX])
147167
 
+  GNULIB_REALPATH=0;      AC_SUBST([GNULIB_REALPATH])
147168
 
+  GNULIB_RPMATCH=0;       AC_SUBST([GNULIB_RPMATCH])
147169
 
+  GNULIB_SETENV=0;        AC_SUBST([GNULIB_SETENV])
147170
 
+  GNULIB_STRTOD=0;        AC_SUBST([GNULIB_STRTOD])
147171
 
+  GNULIB_STRTOLL=0;       AC_SUBST([GNULIB_STRTOLL])
147172
 
+  GNULIB_STRTOULL=0;      AC_SUBST([GNULIB_STRTOULL])
147173
 
+  GNULIB_SYSTEM_POSIX=0;  AC_SUBST([GNULIB_SYSTEM_POSIX])
147174
 
+  GNULIB_UNLOCKPT=0;      AC_SUBST([GNULIB_UNLOCKPT])
147175
 
+  GNULIB_UNSETENV=0;      AC_SUBST([GNULIB_UNSETENV])
147176
 
+  GNULIB_WCTOMB=0;        AC_SUBST([GNULIB_WCTOMB])
147177
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
147178
 
+  HAVE__EXIT=1;              AC_SUBST([HAVE__EXIT])
147179
 
+  HAVE_ATOLL=1;              AC_SUBST([HAVE_ATOLL])
147180
 
+  HAVE_CANONICALIZE_FILE_NAME=1;  AC_SUBST([HAVE_CANONICALIZE_FILE_NAME])
147181
 
+  HAVE_DECL_GETLOADAVG=1;    AC_SUBST([HAVE_DECL_GETLOADAVG])
147182
 
+  HAVE_GETSUBOPT=1;          AC_SUBST([HAVE_GETSUBOPT])
147183
 
+  HAVE_GRANTPT=1;            AC_SUBST([HAVE_GRANTPT])
147184
 
+  HAVE_MKDTEMP=1;            AC_SUBST([HAVE_MKDTEMP])
147185
 
+  HAVE_MKOSTEMP=1;           AC_SUBST([HAVE_MKOSTEMP])
147186
 
+  HAVE_MKOSTEMPS=1;          AC_SUBST([HAVE_MKOSTEMPS])
147187
 
+  HAVE_MKSTEMP=1;            AC_SUBST([HAVE_MKSTEMP])
147188
 
+  HAVE_MKSTEMPS=1;           AC_SUBST([HAVE_MKSTEMPS])
147189
 
+  HAVE_PTSNAME=1;            AC_SUBST([HAVE_PTSNAME])
147190
 
+  HAVE_RANDOM_H=1;           AC_SUBST([HAVE_RANDOM_H])
147191
 
+  HAVE_RANDOM_R=1;           AC_SUBST([HAVE_RANDOM_R])
147192
 
+  HAVE_REALPATH=1;           AC_SUBST([HAVE_REALPATH])
147193
 
+  HAVE_RPMATCH=1;            AC_SUBST([HAVE_RPMATCH])
147194
 
+  HAVE_SETENV=1;             AC_SUBST([HAVE_SETENV])
147195
 
+  HAVE_DECL_SETENV=1;        AC_SUBST([HAVE_DECL_SETENV])
147196
 
+  HAVE_STRTOD=1;             AC_SUBST([HAVE_STRTOD])
147197
 
+  HAVE_STRTOLL=1;            AC_SUBST([HAVE_STRTOLL])
147198
 
+  HAVE_STRTOULL=1;           AC_SUBST([HAVE_STRTOULL])
147199
 
+  HAVE_STRUCT_RANDOM_DATA=1; AC_SUBST([HAVE_STRUCT_RANDOM_DATA])
147200
 
+  HAVE_SYS_LOADAVG_H=0;      AC_SUBST([HAVE_SYS_LOADAVG_H])
147201
 
+  HAVE_UNLOCKPT=1;           AC_SUBST([HAVE_UNLOCKPT])
147202
 
+  HAVE_DECL_UNSETENV=1;      AC_SUBST([HAVE_DECL_UNSETENV])
147203
 
+  REPLACE_CALLOC=0;          AC_SUBST([REPLACE_CALLOC])
147204
 
+  REPLACE_CANONICALIZE_FILE_NAME=0;  AC_SUBST([REPLACE_CANONICALIZE_FILE_NAME])
147205
 
+  REPLACE_MALLOC=0;          AC_SUBST([REPLACE_MALLOC])
147206
 
+  REPLACE_MBTOWC=0;          AC_SUBST([REPLACE_MBTOWC])
147207
 
+  REPLACE_MKSTEMP=0;         AC_SUBST([REPLACE_MKSTEMP])
147208
 
+  REPLACE_PUTENV=0;          AC_SUBST([REPLACE_PUTENV])
147209
 
+  REPLACE_REALLOC=0;         AC_SUBST([REPLACE_REALLOC])
147210
 
+  REPLACE_REALPATH=0;        AC_SUBST([REPLACE_REALPATH])
147211
 
+  REPLACE_SETENV=0;          AC_SUBST([REPLACE_SETENV])
147212
 
+  REPLACE_STRTOD=0;          AC_SUBST([REPLACE_STRTOD])
147213
 
+  REPLACE_UNSETENV=0;        AC_SUBST([REPLACE_UNSETENV])
147214
 
+  REPLACE_WCTOMB=0;          AC_SUBST([REPLACE_WCTOMB])
147215
 
+])
147216
 
+m4trace:m4/stpcpy.m4:7: -1- AC_DEFUN([gl_FUNC_STPCPY], [
147217
 
+  dnl Persuade glibc <string.h> to declare stpcpy().
147218
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
147219
 
+
147220
 
+  dnl The stpcpy() declaration in lib/string.in.h uses 'restrict'.
147221
 
+  AC_REQUIRE([AC_C_RESTRICT])
147222
 
+
147223
 
+  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
147224
 
+  AC_CHECK_FUNCS([stpcpy])
147225
 
+  if test $ac_cv_func_stpcpy = no; then
147226
 
+    HAVE_STPCPY=0
147227
 
+  fi
147228
 
+])
147229
 
+m4trace:m4/stpcpy.m4:23: -1- AC_DEFUN([gl_PREREQ_STPCPY], [
147230
 
+  :
147231
 
+])
147232
 
+m4trace:m4/stpncpy.m4:8: -1- AC_DEFUN([gl_FUNC_STPNCPY], [
147233
 
+  dnl Persuade glibc <string.h> to declare stpncpy().
147234
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
147235
 
+
147236
 
+  dnl The stpncpy() declaration in lib/string.in.h uses 'restrict'.
147237
 
+  AC_REQUIRE([AC_C_RESTRICT])
147238
 
+
147239
 
+  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
147240
 
+
147241
 
+  dnl Both glibc and AIX (4.3.3, 5.1) have an stpncpy() function
147242
 
+  dnl declared in <string.h>. Its side effects are the same as those
147243
 
+  dnl of strncpy():
147244
 
+  dnl      stpncpy (dest, src, n)
147245
 
+  dnl overwrites dest[0..n-1], min(strlen(src),n) bytes coming from src,
147246
 
+  dnl and the remaining bytes being NULs.  However, the return value is
147247
 
+  dnl   in glibc:   dest + min(strlen(src),n)
147248
 
+  dnl   in AIX:     dest + max(0,n-1)
147249
 
+  dnl Only the glibc return value is useful in practice.
147250
 
+
147251
 
+  AC_CHECK_DECLS_ONCE([stpncpy])
147252
 
+  AC_CHECK_FUNCS_ONCE([stpncpy])
147253
 
+  if test $ac_cv_func_stpncpy = yes; then
147254
 
+    AC_CACHE_CHECK([for working stpncpy], [gl_cv_func_stpncpy], [
147255
 
+      AC_RUN_IFELSE(
147256
 
+        [AC_LANG_SOURCE([[
147257
 
+#include <stdlib.h>
147258
 
+#include <string.h> /* for strcpy */
147259
 
+/* The stpncpy prototype is missing in <string.h> on AIX 4.  */
147260
 
+#if !HAVE_DECL_STPNCPY
147261
 
+extern
147262
 
+# ifdef __cplusplus
147263
 
+"C"
147264
 
+# endif
147265
 
+char *stpncpy (char *dest, const char *src, size_t n);
147266
 
+#endif
147267
 
+int main ()
147268
 
+{
147269
 
+  int result = 0;
147270
 
+  const char *src = "Hello";
147271
 
+  char dest[10];
147272
 
+  /* AIX 4.3.3 and AIX 5.1 stpncpy() returns dest+1 here.  */
147273
 
+  {
147274
 
+    strcpy (dest, "\377\377\377\377\377\377");
147275
 
+    if (stpncpy (dest, src, 2) != dest + 2)
147276
 
+      result |= 1;
147277
 
+  }
147278
 
+  /* AIX 4.3.3 and AIX 5.1 stpncpy() returns dest+4 here.  */
147279
 
+  {
147280
 
+    strcpy (dest, "\377\377\377\377\377\377");
147281
 
+    if (stpncpy (dest, src, 5) != dest + 5)
147282
 
+      result |= 2;
147283
 
+  }
147284
 
+  /* AIX 4.3.3 and AIX 5.1 stpncpy() returns dest+6 here.  */
147285
 
+  {
147286
 
+    strcpy (dest, "\377\377\377\377\377\377");
147287
 
+    if (stpncpy (dest, src, 7) != dest + 5)
147288
 
+      result |= 4;
147289
 
+  }
147290
 
+  return result;
147291
 
+}
147292
 
+]])],
147293
 
+        [gl_cv_func_stpncpy=yes],
147294
 
+        [gl_cv_func_stpncpy=no],
147295
 
+        [AC_EGREP_CPP([Thanks for using GNU], [
147296
 
+#include <features.h>
147297
 
+#ifdef __GNU_LIBRARY__
147298
 
+  Thanks for using GNU
147299
 
+#endif
147300
 
+], [gl_cv_func_stpncpy=yes], [gl_cv_func_stpncpy=no])
147301
 
+        ])
147302
 
+    ])
147303
 
+    if test $gl_cv_func_stpncpy = yes; then
147304
 
+      AC_DEFINE([HAVE_STPNCPY], [1],
147305
 
+        [Define if you have the stpncpy() function and it works.])
147306
 
+    else
147307
 
+      REPLACE_STPNCPY=1
147308
 
+    fi
147309
 
+  else
147310
 
+    HAVE_STPNCPY=0
147311
 
+  fi
147312
 
+])
147313
 
+m4trace:m4/stpncpy.m4:92: -1- AC_DEFUN([gl_PREREQ_STPNCPY], [
147314
 
+  :
147315
 
+])
147316
 
+m4trace:m4/strdup.m4:9: -1- AC_DEFUN([gl_FUNC_STRDUP], [
147317
 
+  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
147318
 
+  AC_CHECK_FUNCS_ONCE([strdup])
147319
 
+  AC_CHECK_DECLS_ONCE([strdup])
147320
 
+  if test $ac_cv_have_decl_strdup = no; then
147321
 
+    HAVE_DECL_STRDUP=0
147322
 
+  fi
147323
 
+])
147324
 
+m4trace:m4/strdup.m4:19: -1- AC_DEFUN([gl_FUNC_STRDUP_POSIX], [
147325
 
+  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
147326
 
+  AC_REQUIRE([gl_CHECK_MALLOC_POSIX])
147327
 
+  AC_CHECK_FUNCS_ONCE([strdup])
147328
 
+  if test $ac_cv_func_strdup = yes; then
147329
 
+    if test $gl_cv_func_malloc_posix != yes; then
147330
 
+      REPLACE_STRDUP=1
147331
 
+    fi
147332
 
+  fi
147333
 
+  AC_CHECK_DECLS_ONCE([strdup])
147334
 
+  if test $ac_cv_have_decl_strdup = no; then
147335
 
+    HAVE_DECL_STRDUP=0
147336
 
+  fi
147337
 
+])
147338
 
+m4trace:m4/strdup.m4:36: -1- AC_DEFUN([gl_PREREQ_STRDUP], [:])
147339
 
+m4trace:m4/strerror.m4:7: -1- AC_DEFUN([gl_FUNC_STRERROR], [
147340
 
+  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
147341
 
+  AC_REQUIRE([gl_HEADER_ERRNO_H])
147342
 
+  AC_REQUIRE([gl_FUNC_STRERROR_0])
147343
 
+  m4_ifdef([gl_FUNC_STRERROR_R_WORKS], [
147344
 
+    AC_REQUIRE([gl_FUNC_STRERROR_R_WORKS])
147345
 
+  ])
147346
 
+  if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
147347
 
+    AC_CACHE_CHECK([for working strerror function],
147348
 
+     [gl_cv_func_working_strerror],
147349
 
+     [AC_RUN_IFELSE(
147350
 
+        [AC_LANG_PROGRAM(
147351
 
+           [[#include <string.h>
147352
 
+           ]],
147353
 
+           [[if (!*strerror (-2)) return 1;]])],
147354
 
+        [gl_cv_func_working_strerror=yes],
147355
 
+        [gl_cv_func_working_strerror=no],
147356
 
+        [dnl Be pessimistic on cross-compiles for now.
147357
 
+         gl_cv_func_working_strerror="guessing no"])
147358
 
+    ])
147359
 
+    if test "$gl_cv_func_working_strerror" != yes; then
147360
 
+      dnl The system's strerror() fails to return a string for out-of-range
147361
 
+      dnl integers. Replace it.
147362
 
+      REPLACE_STRERROR=1
147363
 
+    fi
147364
 
+    m4_ifdef([gl_FUNC_STRERROR_R_WORKS], [
147365
 
+      dnl If the system's strerror_r or __xpg_strerror_r clobbers strerror's
147366
 
+      dnl buffer, we must replace strerror.
147367
 
+      case "$gl_cv_func_strerror_r_works" in
147368
 
+        *no) REPLACE_STRERROR=1 ;;
147369
 
+      esac
147370
 
+    ])
147371
 
+  else
147372
 
+    dnl The system's strerror() cannot know about the new errno values we add
147373
 
+    dnl to <errno.h>, or any fix for strerror(0). Replace it.
147374
 
+    REPLACE_STRERROR=1
147375
 
+  fi
147376
 
+])
147377
 
+m4trace:m4/strerror.m4:49: -1- AC_DEFUN([gl_FUNC_STRERROR_0], [
147378
 
+  REPLACE_STRERROR_0=0
147379
 
+  AC_CACHE_CHECK([whether strerror(0) succeeds],
147380
 
+   [gl_cv_func_strerror_0_works],
147381
 
+   [AC_RUN_IFELSE(
147382
 
+      [AC_LANG_PROGRAM(
147383
 
+         [[#include <string.h>
147384
 
+           #include <errno.h>
147385
 
+         ]],
147386
 
+         [[int result = 0;
147387
 
+           char *str;
147388
 
+           errno = 0;
147389
 
+           str = strerror (0);
147390
 
+           if (!*str) result |= 1;
147391
 
+           if (errno) result |= 2;
147392
 
+           if (strstr (str, "nknown") || strstr (str, "ndefined"))
147393
 
+             result |= 4;
147394
 
+           return result;]])],
147395
 
+      [gl_cv_func_strerror_0_works=yes],
147396
 
+      [gl_cv_func_strerror_0_works=no],
147397
 
+      [dnl Be pessimistic on cross-compiles for now.
147398
 
+       gl_cv_func_strerror_0_works="guessing no"])
147399
 
+  ])
147400
 
+  if test "$gl_cv_func_strerror_0_works" != yes; then
147401
 
+    REPLACE_STRERROR_0=1
147402
 
+    AC_DEFINE([REPLACE_STRERROR_0], [1], [Define to 1 if strerror(0)
147403
 
+      does not return a message implying success.])
147404
 
+  fi
147405
 
+])
147406
 
+m4trace:m4/strerror_r.m4:7: -1- AC_DEFUN([gl_FUNC_STRERROR_R], [
147407
 
+  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
147408
 
+  AC_REQUIRE([gl_FUNC_STRERROR_R_WORKS])
147409
 
+
147410
 
+  dnl Persuade Solaris <string.h> to declare strerror_r().
147411
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
147412
 
+
147413
 
+  dnl Some systems don't declare strerror_r() if _THREAD_SAFE and _REENTRANT
147414
 
+  dnl are not defined.
147415
 
+  AC_CHECK_DECLS_ONCE([strerror_r])
147416
 
+  if test $ac_cv_have_decl_strerror_r = no; then
147417
 
+    HAVE_DECL_STRERROR_R=0
147418
 
+  fi
147419
 
+
147420
 
+  if test $ac_cv_func_strerror_r = yes; then
147421
 
+    if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
147422
 
+      if test $gl_cv_func_strerror_r_posix_signature = yes; then
147423
 
+        case "$gl_cv_func_strerror_r_works" in
147424
 
+          dnl The system's strerror_r has bugs.  Replace it.
147425
 
+          *no) REPLACE_STRERROR_R=1 ;;
147426
 
+        esac
147427
 
+      else
147428
 
+        dnl The system's strerror_r() has a wrong signature. Replace it.
147429
 
+        REPLACE_STRERROR_R=1
147430
 
+      fi
147431
 
+    else
147432
 
+      dnl The system's strerror_r() cannot know about the new errno values we
147433
 
+      dnl add to <errno.h>, or any fix for strerror(0). Replace it.
147434
 
+      REPLACE_STRERROR_R=1
147435
 
+    fi
147436
 
+  fi
147437
 
+])
147438
 
+m4trace:m4/strerror_r.m4:42: -1- AC_DEFUN([gl_PREREQ_STRERROR_R], [
147439
 
+  dnl glibc >= 2.3.4 and cygwin 1.7.9 have a function __xpg_strerror_r.
147440
 
+  AC_CHECK_FUNCS_ONCE([__xpg_strerror_r])
147441
 
+  AC_CHECK_FUNCS_ONCE([catgets])
147442
 
+])
147443
 
+m4trace:m4/strerror_r.m4:50: -1- AC_DEFUN([gl_FUNC_STRERROR_R_WORKS], [
147444
 
+  AC_REQUIRE([gl_HEADER_ERRNO_H])
147445
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
147446
 
+  AC_REQUIRE([gl_FUNC_STRERROR_0])
147447
 
+
147448
 
+  AC_CHECK_FUNCS_ONCE([strerror_r])
147449
 
+  if test $ac_cv_func_strerror_r = yes; then
147450
 
+    if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
147451
 
+      dnl The POSIX prototype is:  int strerror_r (int, char *, size_t);
147452
 
+      dnl glibc, Cygwin:           char *strerror_r (int, char *, size_t);
147453
 
+      dnl AIX 5.1, OSF/1 5.1:      int strerror_r (int, char *, int);
147454
 
+      AC_CACHE_CHECK([for strerror_r with POSIX signature],
147455
 
+        [gl_cv_func_strerror_r_posix_signature],
147456
 
+        [AC_COMPILE_IFELSE(
147457
 
+           [AC_LANG_PROGRAM(
147458
 
+              [[#include <string.h>
147459
 
+                int strerror_r (int, char *, size_t);
147460
 
+              ]],
147461
 
+              [])],
147462
 
+           [gl_cv_func_strerror_r_posix_signature=yes],
147463
 
+           [gl_cv_func_strerror_r_posix_signature=no])
147464
 
+        ])
147465
 
+      if test $gl_cv_func_strerror_r_posix_signature = yes; then
147466
 
+        dnl AIX 6.1 strerror_r fails by returning -1, not an error number.
147467
 
+        dnl HP-UX 11.31 strerror_r always fails when the buffer length argument
147468
 
+        dnl is less than 80.
147469
 
+        dnl FreeBSD 8.s strerror_r claims failure on 0
147470
 
+        dnl MacOS X 10.5 strerror_r treats 0 like -1
147471
 
+        dnl Solaris 10 strerror_r corrupts errno on failure
147472
 
+        AC_CACHE_CHECK([whether strerror_r works],
147473
 
+          [gl_cv_func_strerror_r_works],
147474
 
+          [AC_RUN_IFELSE(
147475
 
+             [AC_LANG_PROGRAM(
147476
 
+                [[#include <errno.h>
147477
 
+                  #include <string.h>
147478
 
+                ]],
147479
 
+                [[int result = 0;
147480
 
+                  char buf[79];
147481
 
+                  if (strerror_r (EACCES, buf, 0) < 0)
147482
 
+                    result |= 1;
147483
 
+                  errno = 0;
147484
 
+                  if (strerror_r (EACCES, buf, sizeof buf) != 0)
147485
 
+                    result |= 2;
147486
 
+                  strcpy (buf, "Unknown");
147487
 
+                  if (strerror_r (0, buf, sizeof buf) != 0)
147488
 
+                    result |= 4;
147489
 
+                  if (errno)
147490
 
+                    result |= 8;
147491
 
+                  if (strstr (buf, "nknown") || strstr (buf, "ndefined"))
147492
 
+                    result |= 0x10;
147493
 
+                  errno = 0;
147494
 
+                  *buf = 0;
147495
 
+                  if (strerror_r (-3, buf, sizeof buf) < 0)
147496
 
+                    result |= 0x20;
147497
 
+                  if (errno)
147498
 
+                    result |= 0x40;
147499
 
+                  if (!*buf)
147500
 
+                    result |= 0x80;
147501
 
+                  return result;
147502
 
+                ]])],
147503
 
+             [gl_cv_func_strerror_r_works=yes],
147504
 
+             [gl_cv_func_strerror_r_works=no],
147505
 
+             [
147506
 
+changequote(,)dnl
147507
 
+              case "$host_os" in
147508
 
+                       # Guess no on AIX.
147509
 
+                aix*)  gl_cv_func_strerror_r_works="guessing no";;
147510
 
+                       # Guess no on HP-UX.
147511
 
+                hpux*) gl_cv_func_strerror_r_works="guessing no";;
147512
 
+                       # Guess no on BSD variants.
147513
 
+                *bsd*)  gl_cv_func_strerror_r_works="guessing no";;
147514
 
+                       # Guess yes otherwise.
147515
 
+                *)     gl_cv_func_strerror_r_works="guessing yes";;
147516
 
+              esac
147517
 
+changequote([,])dnl
147518
 
+             ])
147519
 
+          ])
147520
 
+      else
147521
 
+        dnl The system's strerror() has a wrong signature.
147522
 
+        dnl glibc >= 2.3.4 and cygwin 1.7.9 have a function __xpg_strerror_r.
147523
 
+        AC_CHECK_FUNCS_ONCE([__xpg_strerror_r])
147524
 
+        dnl In glibc < 2.14, __xpg_strerror_r does not populate buf on failure.
147525
 
+        dnl In cygwin < 1.7.10, __xpg_strerror_r clobbers strerror's buffer.
147526
 
+        if test $ac_cv_func___xpg_strerror_r = yes; then
147527
 
+          AC_CACHE_CHECK([whether __xpg_strerror_r works],
147528
 
+            [gl_cv_func_strerror_r_works],
147529
 
+            [AC_RUN_IFELSE(
147530
 
+               [AC_LANG_PROGRAM(
147531
 
+                  [[#include <errno.h>
147532
 
+                    #include <string.h>
147533
 
+                    extern
147534
 
+                    #ifdef __cplusplus
147535
 
+                    "C"
147536
 
+                    #endif
147537
 
+                    int __xpg_strerror_r(int, char *, size_t);
147538
 
+                  ]],
147539
 
+                  [[int result = 0;
147540
 
+                    char buf[256] = "^";
147541
 
+                    char copy[256];
147542
 
+                    char *str = strerror (-1);
147543
 
+                    strcpy (copy, str);
147544
 
+                    if (__xpg_strerror_r (-2, buf, 1) == 0)
147545
 
+                      result |= 1;
147546
 
+                    if (*buf)
147547
 
+                      result |= 2;
147548
 
+                    __xpg_strerror_r (-2, buf, 256);
147549
 
+                    if (strcmp (str, copy))
147550
 
+                      result |= 4;
147551
 
+                    return result;
147552
 
+                  ]])],
147553
 
+               [gl_cv_func_strerror_r_works=yes],
147554
 
+               [gl_cv_func_strerror_r_works=no],
147555
 
+               [dnl Guess no on all platforms that have __xpg_strerror_r,
147556
 
+                dnl at least until fixed glibc and cygwin are more common.
147557
 
+                gl_cv_func_strerror_r_works="guessing no"
147558
 
+               ])
147559
 
+            ])
147560
 
+        fi
147561
 
+      fi
147562
 
+    fi
147563
 
+  fi
147564
 
+])
147565
 
+m4trace:m4/strftime.m4:11: -1- AC_DEFUN([gl_FUNC_GNU_STRFTIME], [
147566
 
+  gl_FUNC_STRFTIME
147567
 
+])
147568
 
+m4trace:m4/strftime.m4:17: -1- AC_DEFUN([gl_FUNC_STRFTIME], [
147569
 
+ # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
147570
 
+ AC_REQUIRE([AC_STRUCT_TIMEZONE])
147571
 
+
147572
 
+ AC_REQUIRE([gl_TM_GMTOFF])
147573
 
+
147574
 
+ AC_CHECK_FUNCS_ONCE([tzset])
147575
 
+
147576
 
+ AC_DEFINE([my_strftime], [nstrftime],
147577
 
+   [Define to the name of the strftime replacement function.])
147578
 
+])
147579
 
+m4trace:m4/string_h.m4:12: -1- AC_DEFUN([gl_HEADER_STRING_H], [
147580
 
+  dnl Use AC_REQUIRE here, so that the default behavior below is expanded
147581
 
+  dnl once only, before all statements that occur in other macros.
147582
 
+  AC_REQUIRE([gl_HEADER_STRING_H_BODY])
147583
 
+])
147584
 
+m4trace:m4/string_h.m4:19: -1- AC_DEFUN([gl_HEADER_STRING_H_BODY], [
147585
 
+  AC_REQUIRE([AC_C_RESTRICT])
147586
 
+  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
147587
 
+  gl_NEXT_HEADERS([string.h])
147588
 
+
147589
 
+  dnl Check for declarations of anything we want to poison if the
147590
 
+  dnl corresponding gnulib module is not in use, and which is not
147591
 
+  dnl guaranteed by C89.
147592
 
+  gl_WARN_ON_USE_PREPARE([[#include <string.h>
147593
 
+    ]],
147594
 
+    [ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul
147595
 
+     strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r
147596
 
+     strerror_r strsignal strverscmp])
147597
 
+])
147598
 
+m4trace:m4/string_h.m4:35: -1- AC_DEFUN([gl_STRING_MODULE_INDICATOR], [
147599
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
147600
 
+  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
147601
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
147602
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
147603
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
147604
 
+])
147605
 
+m4trace:m4/string_h.m4:44: -1- AC_DEFUN([gl_HEADER_STRING_H_DEFAULTS], [
147606
 
+  GNULIB_FFSL=0;        AC_SUBST([GNULIB_FFSL])
147607
 
+  GNULIB_FFSLL=0;       AC_SUBST([GNULIB_FFSLL])
147608
 
+  GNULIB_MEMCHR=0;      AC_SUBST([GNULIB_MEMCHR])
147609
 
+  GNULIB_MEMMEM=0;      AC_SUBST([GNULIB_MEMMEM])
147610
 
+  GNULIB_MEMPCPY=0;     AC_SUBST([GNULIB_MEMPCPY])
147611
 
+  GNULIB_MEMRCHR=0;     AC_SUBST([GNULIB_MEMRCHR])
147612
 
+  GNULIB_RAWMEMCHR=0;   AC_SUBST([GNULIB_RAWMEMCHR])
147613
 
+  GNULIB_STPCPY=0;      AC_SUBST([GNULIB_STPCPY])
147614
 
+  GNULIB_STPNCPY=0;     AC_SUBST([GNULIB_STPNCPY])
147615
 
+  GNULIB_STRCHRNUL=0;   AC_SUBST([GNULIB_STRCHRNUL])
147616
 
+  GNULIB_STRDUP=0;      AC_SUBST([GNULIB_STRDUP])
147617
 
+  GNULIB_STRNCAT=0;     AC_SUBST([GNULIB_STRNCAT])
147618
 
+  GNULIB_STRNDUP=0;     AC_SUBST([GNULIB_STRNDUP])
147619
 
+  GNULIB_STRNLEN=0;     AC_SUBST([GNULIB_STRNLEN])
147620
 
+  GNULIB_STRPBRK=0;     AC_SUBST([GNULIB_STRPBRK])
147621
 
+  GNULIB_STRSEP=0;      AC_SUBST([GNULIB_STRSEP])
147622
 
+  GNULIB_STRSTR=0;      AC_SUBST([GNULIB_STRSTR])
147623
 
+  GNULIB_STRCASESTR=0;  AC_SUBST([GNULIB_STRCASESTR])
147624
 
+  GNULIB_STRTOK_R=0;    AC_SUBST([GNULIB_STRTOK_R])
147625
 
+  GNULIB_MBSLEN=0;      AC_SUBST([GNULIB_MBSLEN])
147626
 
+  GNULIB_MBSNLEN=0;     AC_SUBST([GNULIB_MBSNLEN])
147627
 
+  GNULIB_MBSCHR=0;      AC_SUBST([GNULIB_MBSCHR])
147628
 
+  GNULIB_MBSRCHR=0;     AC_SUBST([GNULIB_MBSRCHR])
147629
 
+  GNULIB_MBSSTR=0;      AC_SUBST([GNULIB_MBSSTR])
147630
 
+  GNULIB_MBSCASECMP=0;  AC_SUBST([GNULIB_MBSCASECMP])
147631
 
+  GNULIB_MBSNCASECMP=0; AC_SUBST([GNULIB_MBSNCASECMP])
147632
 
+  GNULIB_MBSPCASECMP=0; AC_SUBST([GNULIB_MBSPCASECMP])
147633
 
+  GNULIB_MBSCASESTR=0;  AC_SUBST([GNULIB_MBSCASESTR])
147634
 
+  GNULIB_MBSCSPN=0;     AC_SUBST([GNULIB_MBSCSPN])
147635
 
+  GNULIB_MBSPBRK=0;     AC_SUBST([GNULIB_MBSPBRK])
147636
 
+  GNULIB_MBSSPN=0;      AC_SUBST([GNULIB_MBSSPN])
147637
 
+  GNULIB_MBSSEP=0;      AC_SUBST([GNULIB_MBSSEP])
147638
 
+  GNULIB_MBSTOK_R=0;    AC_SUBST([GNULIB_MBSTOK_R])
147639
 
+  GNULIB_STRERROR=0;    AC_SUBST([GNULIB_STRERROR])
147640
 
+  GNULIB_STRERROR_R=0;  AC_SUBST([GNULIB_STRERROR_R])
147641
 
+  GNULIB_STRSIGNAL=0;   AC_SUBST([GNULIB_STRSIGNAL])
147642
 
+  GNULIB_STRVERSCMP=0;  AC_SUBST([GNULIB_STRVERSCMP])
147643
 
+  HAVE_MBSLEN=0;        AC_SUBST([HAVE_MBSLEN])
147644
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
147645
 
+  HAVE_FFSL=1;                  AC_SUBST([HAVE_FFSL])
147646
 
+  HAVE_FFSLL=1;                 AC_SUBST([HAVE_FFSLL])
147647
 
+  HAVE_MEMCHR=1;                AC_SUBST([HAVE_MEMCHR])
147648
 
+  HAVE_DECL_MEMMEM=1;           AC_SUBST([HAVE_DECL_MEMMEM])
147649
 
+  HAVE_MEMPCPY=1;               AC_SUBST([HAVE_MEMPCPY])
147650
 
+  HAVE_DECL_MEMRCHR=1;          AC_SUBST([HAVE_DECL_MEMRCHR])
147651
 
+  HAVE_RAWMEMCHR=1;             AC_SUBST([HAVE_RAWMEMCHR])
147652
 
+  HAVE_STPCPY=1;                AC_SUBST([HAVE_STPCPY])
147653
 
+  HAVE_STPNCPY=1;               AC_SUBST([HAVE_STPNCPY])
147654
 
+  HAVE_STRCHRNUL=1;             AC_SUBST([HAVE_STRCHRNUL])
147655
 
+  HAVE_DECL_STRDUP=1;           AC_SUBST([HAVE_DECL_STRDUP])
147656
 
+  HAVE_DECL_STRNDUP=1;          AC_SUBST([HAVE_DECL_STRNDUP])
147657
 
+  HAVE_DECL_STRNLEN=1;          AC_SUBST([HAVE_DECL_STRNLEN])
147658
 
+  HAVE_STRPBRK=1;               AC_SUBST([HAVE_STRPBRK])
147659
 
+  HAVE_STRSEP=1;                AC_SUBST([HAVE_STRSEP])
147660
 
+  HAVE_STRCASESTR=1;            AC_SUBST([HAVE_STRCASESTR])
147661
 
+  HAVE_DECL_STRTOK_R=1;         AC_SUBST([HAVE_DECL_STRTOK_R])
147662
 
+  HAVE_DECL_STRERROR_R=1;       AC_SUBST([HAVE_DECL_STRERROR_R])
147663
 
+  HAVE_DECL_STRSIGNAL=1;        AC_SUBST([HAVE_DECL_STRSIGNAL])
147664
 
+  HAVE_STRVERSCMP=1;            AC_SUBST([HAVE_STRVERSCMP])
147665
 
+  REPLACE_MEMCHR=0;             AC_SUBST([REPLACE_MEMCHR])
147666
 
+  REPLACE_MEMMEM=0;             AC_SUBST([REPLACE_MEMMEM])
147667
 
+  REPLACE_STPNCPY=0;            AC_SUBST([REPLACE_STPNCPY])
147668
 
+  REPLACE_STRDUP=0;             AC_SUBST([REPLACE_STRDUP])
147669
 
+  REPLACE_STRSTR=0;             AC_SUBST([REPLACE_STRSTR])
147670
 
+  REPLACE_STRCASESTR=0;         AC_SUBST([REPLACE_STRCASESTR])
147671
 
+  REPLACE_STRCHRNUL=0;          AC_SUBST([REPLACE_STRCHRNUL])
147672
 
+  REPLACE_STRERROR=0;           AC_SUBST([REPLACE_STRERROR])
147673
 
+  REPLACE_STRERROR_R=0;         AC_SUBST([REPLACE_STRERROR_R])
147674
 
+  REPLACE_STRNCAT=0;            AC_SUBST([REPLACE_STRNCAT])
147675
 
+  REPLACE_STRNDUP=0;            AC_SUBST([REPLACE_STRNDUP])
147676
 
+  REPLACE_STRNLEN=0;            AC_SUBST([REPLACE_STRNLEN])
147677
 
+  REPLACE_STRSIGNAL=0;          AC_SUBST([REPLACE_STRSIGNAL])
147678
 
+  REPLACE_STRTOK_R=0;           AC_SUBST([REPLACE_STRTOK_R])
147679
 
+  UNDEFINE_STRTOK_R=0;          AC_SUBST([UNDEFINE_STRTOK_R])
147680
 
+])
147681
 
+m4trace:m4/strndup.m4:7: -1- AC_DEFUN([gl_FUNC_STRNDUP], [
147682
 
+  dnl Persuade glibc <string.h> to declare strndup().
147683
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
147684
 
+
147685
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
147686
 
+  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
147687
 
+  AC_CHECK_DECLS_ONCE([strndup])
147688
 
+  AC_CHECK_FUNCS_ONCE([strndup])
147689
 
+  if test $ac_cv_have_decl_strndup = no; then
147690
 
+    HAVE_DECL_STRNDUP=0
147691
 
+  fi
147692
 
+
147693
 
+  if test $ac_cv_func_strndup = yes; then
147694
 
+    HAVE_STRNDUP=1
147695
 
+    # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'.
147696
 
+    AC_CACHE_CHECK([for working strndup], [gl_cv_func_strndup_works],
147697
 
+      [AC_RUN_IFELSE([
147698
 
+         AC_LANG_PROGRAM([[#include <string.h>
147699
 
+                           #include <stdlib.h>]], [[
147700
 
+#ifndef HAVE_DECL_STRNDUP
147701
 
+  extern
147702
 
+  #ifdef __cplusplus
147703
 
+  "C"
147704
 
+  #endif
147705
 
+  char *strndup (const char *, size_t);
147706
 
+#endif
147707
 
+  char *s;
147708
 
+  s = strndup ("some longer string", 15);
147709
 
+  free (s);
147710
 
+  s = strndup ("shorter string", 13);
147711
 
+  return s[13] != '\0';]])],
147712
 
+         [gl_cv_func_strndup_works=yes],
147713
 
+         [gl_cv_func_strndup_works=no],
147714
 
+         [
147715
 
+changequote(,)dnl
147716
 
+          case $host_os in
147717
 
+            aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";;
147718
 
+            *)               gl_cv_func_strndup_works="guessing yes";;
147719
 
+          esac
147720
 
+changequote([,])dnl
147721
 
+         ])])
147722
 
+    case $gl_cv_func_strndup_works in
147723
 
+      *no) REPLACE_STRNDUP=1 ;;
147724
 
+    esac
147725
 
+  else
147726
 
+    HAVE_STRNDUP=0
147727
 
+  fi
147728
 
+])
147729
 
+m4trace:m4/strnlen.m4:8: -1- AC_DEFUN([gl_FUNC_STRNLEN], [
147730
 
+  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
147731
 
+
147732
 
+  dnl Persuade glibc <string.h> to declare strnlen().
147733
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
147734
 
+
147735
 
+  AC_CHECK_DECLS_ONCE([strnlen])
147736
 
+  if test $ac_cv_have_decl_strnlen = no; then
147737
 
+    HAVE_DECL_STRNLEN=0
147738
 
+  else
147739
 
+    m4_pushdef([AC_LIBOBJ], [:])
147740
 
+    dnl Note: AC_FUNC_STRNLEN does AC_LIBOBJ([strnlen]).
147741
 
+    AC_FUNC_STRNLEN
147742
 
+    m4_popdef([AC_LIBOBJ])
147743
 
+    if test $ac_cv_func_strnlen_working = no; then
147744
 
+      REPLACE_STRNLEN=1
147745
 
+    fi
147746
 
+  fi
147747
 
+])
147748
 
+m4trace:m4/strnlen.m4:30: -1- AC_DEFUN([gl_PREREQ_STRNLEN], [:])
147749
 
+m4trace:m4/strnumcmp.m4:11: -1- AC_DEFUN([gl_STRINTCMP], [
147750
 
+  AC_LIBSOURCES([strintcmp.c, strnumcmp.h, strnumcmp-in.h])
147751
 
+  AC_LIBOBJ([strintcmp])
147752
 
+
147753
 
+  dnl Prerequisites of lib/strintcmp.c.
147754
 
+  AC_REQUIRE([AC_INLINE])
147755
 
+])
147756
 
+m4trace:m4/strnumcmp.m4:20: -1- AC_DEFUN([gl_STRNUMCMP], [
147757
 
+  AC_LIBSOURCES([strnumcmp.c, strnumcmp.h, strnumcmp-in.h])
147758
 
+  AC_LIBOBJ([strnumcmp])
147759
 
+
147760
 
+  dnl Prerequisites of lib/strnumcmp.c.
147761
 
+  AC_REQUIRE([AC_INLINE])
147762
 
+])
147763
 
+m4trace:m4/strsignal.m4:7: -1- AC_DEFUN([gl_FUNC_STRSIGNAL], [
147764
 
+  dnl Persuade glibc <string.h> to declare strsignal().
147765
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
147766
 
+
147767
 
+  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
147768
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
147769
 
+
147770
 
+  AC_CHECK_DECLS_ONCE([strsignal])
147771
 
+  if test $ac_cv_have_decl_strsignal = no; then
147772
 
+    HAVE_DECL_STRSIGNAL=0
147773
 
+  fi
147774
 
+
147775
 
+  AC_CHECK_FUNCS([strsignal])
147776
 
+  if test $ac_cv_func_strsignal = yes; then
147777
 
+    HAVE_STRSIGNAL=1
147778
 
+    dnl Check if strsignal behaves reasonably for out-of-range signal numbers.
147779
 
+    dnl On Solaris it returns NULL; on AIX 5.1 it returns (char *) -1.
147780
 
+    AC_CACHE_CHECK([whether strsignal always returns a string],
147781
 
+      [gl_cv_func_working_strsignal],
147782
 
+      [AC_RUN_IFELSE(
147783
 
+         [AC_LANG_PROGRAM(
147784
 
+            [[#include <string.h>
147785
 
+#include <unistd.h> /* NetBSD 5.0 declares it in wrong header. */
147786
 
+            ]],
147787
 
+            [[int result = 0;
147788
 
+              char *s = strsignal (-1);
147789
 
+              if (s == (char *) 0)
147790
 
+                result |= 1;
147791
 
+              if (s == (char *) -1)
147792
 
+                result |= 2;
147793
 
+              return result;
147794
 
+            ]])],
147795
 
+         [gl_cv_func_working_strsignal=yes],
147796
 
+         [gl_cv_func_working_strsignal=no],
147797
 
+         [case "$host_os" in
147798
 
+            solaris* | aix*) gl_cv_func_working_strsignal=no;;
147799
 
+            *)               gl_cv_func_working_strsignal="guessing yes";;
147800
 
+          esac])])
147801
 
+    if test "$gl_cv_func_working_strsignal" = no; then
147802
 
+      REPLACE_STRSIGNAL=1
147803
 
+    fi
147804
 
+  else
147805
 
+    HAVE_STRSIGNAL=0
147806
 
+  fi
147807
 
+])
147808
 
+m4trace:m4/strsignal.m4:55: -1- AC_DEFUN([gl_PREREQ_STRSIGNAL], [
147809
 
+  AC_REQUIRE([AC_DECL_SYS_SIGLIST])
147810
 
+  AC_CHECK_DECLS([_sys_siglist], [], [], [#include <signal.h>])
147811
 
+])
147812
 
+m4trace:m4/strstr.m4:8: -1- AC_DEFUN([gl_FUNC_STRSTR_SIMPLE], [
147813
 
+  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
147814
 
+  AC_REQUIRE([gl_FUNC_MEMCHR])
147815
 
+  if test "$gl_cv_func_memchr_works" != yes; then
147816
 
+    REPLACE_STRSTR=1
147817
 
+  else
147818
 
+    dnl Detect http://sourceware.org/bugzilla/show_bug.cgi?id=12092.
147819
 
+    AC_CACHE_CHECK([whether strstr works],
147820
 
+      [gl_cv_func_strstr_works_always],
147821
 
+      [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
147822
 
+#include <string.h> /* for strstr */
147823
 
+#define P "_EF_BF_BD"
147824
 
+#define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P
147825
 
+#define NEEDLE P P P P P
147826
 
+]], [[return !!strstr (HAYSTACK, NEEDLE);
147827
 
+    ]])],
147828
 
+        [gl_cv_func_strstr_works_always=yes],
147829
 
+        [gl_cv_func_strstr_works_always=no],
147830
 
+        [dnl glibc 2.12 and cygwin 1.7.7 have a known bug.  uClibc is not
147831
 
+         dnl affected, since it uses different source code for strstr than
147832
 
+         dnl glibc.
147833
 
+         dnl Assume that it works on all other platforms, even if it is not
147834
 
+         dnl linear.
147835
 
+         AC_EGREP_CPP([Lucky user],
147836
 
+           [
147837
 
+#ifdef __GNU_LIBRARY__
147838
 
+ #include <features.h>
147839
 
+ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \
147840
 
+     || defined __UCLIBC__
147841
 
+  Lucky user
147842
 
+ #endif
147843
 
+#elif defined __CYGWIN__
147844
 
+ #include <cygwin/version.h>
147845
 
+ #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
147846
 
+  Lucky user
147847
 
+ #endif
147848
 
+#else
147849
 
+  Lucky user
147850
 
+#endif
147851
 
+           ],
147852
 
+           [gl_cv_func_strstr_works_always=yes],
147853
 
+           [gl_cv_func_strstr_works_always="guessing no"])
147854
 
+        ])
147855
 
+      ])
147856
 
+    if test "$gl_cv_func_strstr_works_always" != yes; then
147857
 
+      REPLACE_STRSTR=1
147858
 
+    fi
147859
 
+  fi
147860
 
+])
147861
 
+m4trace:m4/strstr.m4:60: -1- AC_DEFUN([gl_FUNC_STRSTR], [
147862
 
+  AC_REQUIRE([gl_FUNC_STRSTR_SIMPLE])
147863
 
+  if test $REPLACE_STRSTR = 0; then
147864
 
+    AC_CACHE_CHECK([whether strstr works in linear time],
147865
 
+      [gl_cv_func_strstr_linear],
147866
 
+      [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
147867
 
+#include <signal.h> /* for signal */
147868
 
+#include <string.h> /* for strstr */
147869
 
+#include <stdlib.h> /* for malloc */
147870
 
+#include <unistd.h> /* for alarm */
147871
 
+static void quit (int sig) { exit (sig + 128); }
147872
 
+]], [[
147873
 
+    int result = 0;
147874
 
+    size_t m = 1000000;
147875
 
+    char *haystack = (char *) malloc (2 * m + 2);
147876
 
+    char *needle = (char *) malloc (m + 2);
147877
 
+    /* Failure to compile this test due to missing alarm is okay,
147878
 
+       since all such platforms (mingw) also have quadratic strstr.  */
147879
 
+    signal (SIGALRM, quit);
147880
 
+    alarm (5);
147881
 
+    /* Check for quadratic performance.  */
147882
 
+    if (haystack && needle)
147883
 
+      {
147884
 
+        memset (haystack, 'A', 2 * m);
147885
 
+        haystack[2 * m] = 'B';
147886
 
+        haystack[2 * m + 1] = 0;
147887
 
+        memset (needle, 'A', m);
147888
 
+        needle[m] = 'B';
147889
 
+        needle[m + 1] = 0;
147890
 
+        if (!strstr (haystack, needle))
147891
 
+          result |= 1;
147892
 
+      }
147893
 
+    return result;
147894
 
+    ]])],
147895
 
+        [gl_cv_func_strstr_linear=yes], [gl_cv_func_strstr_linear=no],
147896
 
+        [dnl Only glibc > 2.12 on processors without SSE 4.2 instructions and
147897
 
+         dnl cygwin > 1.7.7 are known to have a bug-free strstr that works in
147898
 
+         dnl linear time.
147899
 
+         AC_EGREP_CPP([Lucky user],
147900
 
+           [
147901
 
+#include <features.h>
147902
 
+#ifdef __GNU_LIBRARY__
147903
 
+ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \
147904
 
+     && !(defined __i386__ || defined __x86_64__) \
147905
 
+     && !defined __UCLIBC__
147906
 
+  Lucky user
147907
 
+ #endif
147908
 
+#endif
147909
 
+#ifdef __CYGWIN__
147910
 
+ #include <cygwin/version.h>
147911
 
+ #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
147912
 
+  Lucky user
147913
 
+ #endif
147914
 
+#endif
147915
 
+           ],
147916
 
+           [gl_cv_func_strstr_linear=yes],
147917
 
+           [gl_cv_func_strstr_linear="guessing no"])
147918
 
+        ])
147919
 
+      ])
147920
 
+    if test "$gl_cv_func_strstr_linear" != yes; then
147921
 
+      REPLACE_STRSTR=1
147922
 
+    fi
147923
 
+  fi
147924
 
+])
147925
 
+m4trace:m4/strtod.m4:7: -1- AC_DEFUN([gl_FUNC_STRTOD], [
147926
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
147927
 
+  m4_ifdef([gl_FUNC_STRTOD_OBSOLETE], [
147928
 
+    dnl Test whether strtod is declared.
147929
 
+    dnl Don't call AC_FUNC_STRTOD, because it does not have the right guess
147930
 
+    dnl when cross-compiling.
147931
 
+    dnl Don't call AC_CHECK_FUNCS([strtod]) because it would collide with the
147932
 
+    dnl ac_cv_func_strtod variable set by the AC_FUNC_STRTOD macro.
147933
 
+    AC_CHECK_DECLS_ONCE([strtod])
147934
 
+    if test $ac_cv_have_decl_strtod != yes; then
147935
 
+      HAVE_STRTOD=0
147936
 
+    fi
147937
 
+  ])
147938
 
+  if test $HAVE_STRTOD = 1; then
147939
 
+    AC_CACHE_CHECK([whether strtod obeys C99], [gl_cv_func_strtod_works],
147940
 
+      [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
147941
 
+#include <stdlib.h>
147942
 
+#include <math.h>
147943
 
+#include <errno.h>
147944
 
+/* Compare two numbers with ==.
147945
 
+   This is a separate function because IRIX 6.5 "cc -O" miscompiles an
147946
 
+   'x == x' test.  */
147947
 
+static int
147948
 
+numeric_equal (double x, double y)
147949
 
+{
147950
 
+  return x == y;
147951
 
+}
147952
 
+]], [[
147953
 
+  int result = 0;
147954
 
+  {
147955
 
+    /* In some old versions of Linux (2000 or before), strtod mis-parses
147956
 
+       strings with leading '+'.  */
147957
 
+    const char *string = " +69";
147958
 
+    char *term;
147959
 
+    double value = strtod (string, &term);
147960
 
+    if (value != 69 || term != (string + 4))
147961
 
+      result |= 1;
147962
 
+  }
147963
 
+  {
147964
 
+    /* Under Solaris 2.4, strtod returns the wrong value for the
147965
 
+       terminating character under some conditions.  */
147966
 
+    const char *string = "NaN";
147967
 
+    char *term;
147968
 
+    strtod (string, &term);
147969
 
+    if (term != string && *(term - 1) == 0)
147970
 
+      result |= 2;
147971
 
+  }
147972
 
+  {
147973
 
+    /* Older glibc and Cygwin mis-parse "-0x".  */
147974
 
+    const char *string = "-0x";
147975
 
+    char *term;
147976
 
+    double value = strtod (string, &term);
147977
 
+    double zero = 0.0;
147978
 
+    if (1.0 / value != -1.0 / zero || term != (string + 2))
147979
 
+      result |= 4;
147980
 
+  }
147981
 
+  {
147982
 
+    /* Many platforms do not parse hex floats.  */
147983
 
+    const char *string = "0XaP+1";
147984
 
+    char *term;
147985
 
+    double value = strtod (string, &term);
147986
 
+    if (value != 20.0 || term != (string + 6))
147987
 
+      result |= 8;
147988
 
+  }
147989
 
+  {
147990
 
+    /* Many platforms do not parse infinities.  HP-UX 11.31 parses inf,
147991
 
+       but mistakenly sets errno.  */
147992
 
+    const char *string = "inf";
147993
 
+    char *term;
147994
 
+    double value;
147995
 
+    errno = 0;
147996
 
+    value = strtod (string, &term);
147997
 
+    if (value != HUGE_VAL || term != (string + 3) || errno)
147998
 
+      result |= 16;
147999
 
+  }
148000
 
+  {
148001
 
+    /* glibc 2.7 and cygwin 1.5.24 misparse "nan()".  */
148002
 
+    const char *string = "nan()";
148003
 
+    char *term;
148004
 
+    double value = strtod (string, &term);
148005
 
+    if (numeric_equal (value, value) || term != (string + 5))
148006
 
+      result |= 32;
148007
 
+  }
148008
 
+  {
148009
 
+    /* darwin 10.6.1 misparses "nan(".  */
148010
 
+    const char *string = "nan(";
148011
 
+    char *term;
148012
 
+    double value = strtod (string, &term);
148013
 
+    if (numeric_equal (value, value) || term != (string + 3))
148014
 
+      result |= 64;
148015
 
+  }
148016
 
+  return result;
148017
 
+]])],
148018
 
+        [gl_cv_func_strtod_works=yes],
148019
 
+        [gl_cv_func_strtod_works=no],
148020
 
+        [dnl The last known bugs in glibc strtod(), as of this writing,
148021
 
+         dnl were fixed in version 2.8
148022
 
+         AC_EGREP_CPP([Lucky user],
148023
 
+           [
148024
 
+#include <features.h>
148025
 
+#ifdef __GNU_LIBRARY__
148026
 
+ #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8) || (__GLIBC__ > 2)) \
148027
 
+     && !defined __UCLIBC__
148028
 
+  Lucky user
148029
 
+ #endif
148030
 
+#endif
148031
 
+           ],
148032
 
+           [gl_cv_func_strtod_works=yes],
148033
 
+           [gl_cv_func_strtod_works="guessing no"])])])
148034
 
+    if test "$gl_cv_func_strtod_works" != yes; then
148035
 
+      REPLACE_STRTOD=1
148036
 
+    fi
148037
 
+  fi
148038
 
+])
148039
 
+m4trace:m4/strtod.m4:124: -1- AC_DEFUN([gl_PREREQ_STRTOD], [
148040
 
+  AC_REQUIRE([gl_CHECK_LDEXP_NO_LIBM])
148041
 
+  if test $gl_cv_func_ldexp_no_libm = yes; then
148042
 
+    AC_DEFINE([HAVE_LDEXP_IN_LIBC], [1],
148043
 
+      [Define if the ldexp function is available in libc.])
148044
 
+  fi
148045
 
+])
148046
 
+m4trace:m4/strtoimax.m4:7: -1- AC_DEFUN([gl_FUNC_STRTOIMAX], [
148047
 
+  AC_REQUIRE([gl_INTTYPES_H_DEFAULTS])
148048
 
+
148049
 
+  dnl On OSF/1 5.1 with cc, this function is declared but not defined.
148050
 
+  AC_CHECK_FUNCS_ONCE([strtoimax])
148051
 
+  AC_CHECK_DECLS_ONCE([strtoimax])
148052
 
+  if test "$ac_cv_have_decl_strtoimax" != yes; then
148053
 
+    HAVE_DECL_STRTOIMAX=0
148054
 
+  fi
148055
 
+])
148056
 
+m4trace:m4/strtoimax.m4:20: -1- AC_DEFUN([gl_PREREQ_STRTOIMAX], [
148057
 
+  AC_CHECK_DECLS([strtoll])
148058
 
+  AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
148059
 
+])
148060
 
+m4trace:m4/strtoll.m4:7: -1- AC_DEFUN([gl_FUNC_STRTOLL], [
148061
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
148062
 
+  dnl We don't need (and can't compile) the replacement strtoll
148063
 
+  dnl unless the type 'long long int' exists.
148064
 
+  AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
148065
 
+  if test "$ac_cv_type_long_long_int" = yes; then
148066
 
+    AC_CHECK_FUNCS([strtoll])
148067
 
+    if test $ac_cv_func_strtoll = no; then
148068
 
+      HAVE_STRTOLL=0
148069
 
+    fi
148070
 
+  fi
148071
 
+])
148072
 
+m4trace:m4/strtoll.m4:22: -1- AC_DEFUN([gl_PREREQ_STRTOLL], [
148073
 
+  :
148074
 
+])
148075
 
+m4trace:m4/strtoull.m4:7: -1- AC_DEFUN([gl_FUNC_STRTOULL], [
148076
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
148077
 
+  dnl We don't need (and can't compile) the replacement strtoull
148078
 
+  dnl unless the type 'unsigned long long int' exists.
148079
 
+  AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
148080
 
+  if test "$ac_cv_type_unsigned_long_long_int" = yes; then
148081
 
+    AC_CHECK_FUNCS([strtoull])
148082
 
+    if test $ac_cv_func_strtoull = no; then
148083
 
+      HAVE_STRTOULL=0
148084
 
+    fi
148085
 
+  fi
148086
 
+])
148087
 
+m4trace:m4/strtoull.m4:22: -1- AC_DEFUN([gl_PREREQ_STRTOULL], [
148088
 
+  :
148089
 
+])
148090
 
+m4trace:m4/strtoumax.m4:7: -1- AC_DEFUN([gl_FUNC_STRTOUMAX], [
148091
 
+  AC_REQUIRE([gl_INTTYPES_H_DEFAULTS])
148092
 
+
148093
 
+  dnl On OSF/1 5.1 with cc, this function is declared but not defined.
148094
 
+  AC_CHECK_FUNCS_ONCE([strtoumax])
148095
 
+  AC_CHECK_DECLS_ONCE([strtoumax])
148096
 
+  if test "$ac_cv_have_decl_strtoumax" != yes; then
148097
 
+    HAVE_DECL_STRTOUMAX=0
148098
 
+  fi
148099
 
+])
148100
 
+m4trace:m4/strtoumax.m4:20: -1- AC_DEFUN([gl_PREREQ_STRTOUMAX], [
148101
 
+  AC_CHECK_DECLS([strtoull])
148102
 
+  AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
148103
 
+])
148104
 
+m4trace:m4/symlink.m4:11: -1- AC_DEFUN([gl_FUNC_SYMLINK], [
148105
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
148106
 
+  AC_CHECK_FUNCS_ONCE([symlink])
148107
 
+  dnl The best we can do on mingw is provide a dummy that always fails, so
148108
 
+  dnl that compilation can proceed with fewer ifdefs.  On FreeBSD 7.2, AIX 7.1,
148109
 
+  dnl and Solaris 9, we want to fix a bug with trailing slash handling.
148110
 
+  if test $ac_cv_func_symlink = no; then
148111
 
+    HAVE_SYMLINK=0
148112
 
+  else
148113
 
+    AC_CACHE_CHECK([whether symlink handles trailing slash correctly],
148114
 
+      [gl_cv_func_symlink_works],
148115
 
+      [AC_RUN_IFELSE(
148116
 
+         [AC_LANG_PROGRAM(
148117
 
+           [[#include <unistd.h>
148118
 
+           ]],
148119
 
+           [[int result = 0;
148120
 
+             if (!symlink ("a", "conftest.link/"))
148121
 
+               result |= 1;
148122
 
+             if (symlink ("conftest.f", "conftest.lnk2"))
148123
 
+               result |= 2;
148124
 
+             else if (!symlink ("a", "conftest.lnk2/"))
148125
 
+               result |= 4;
148126
 
+             return result;
148127
 
+           ]])],
148128
 
+         [gl_cv_func_symlink_works=yes], [gl_cv_func_symlink_works=no],
148129
 
+         [gl_cv_func_symlink_works="guessing no"])
148130
 
+      rm -f conftest.f conftest.link conftest.lnk2])
148131
 
+    if test "$gl_cv_func_symlink_works" != yes; then
148132
 
+      REPLACE_SYMLINK=1
148133
 
+    fi
148134
 
+  fi
148135
 
+])
148136
 
+m4trace:m4/symlinkat.m4:11: -1- AC_DEFUN([gl_FUNC_SYMLINKAT], [
148137
 
+  AC_REQUIRE([gl_FUNC_OPENAT])
148138
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
148139
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
148140
 
+  AC_CHECK_FUNCS_ONCE([symlinkat])
148141
 
+  if test $ac_cv_func_symlinkat = no; then
148142
 
+    HAVE_SYMLINKAT=0
148143
 
+  fi
148144
 
+])
148145
 
+m4trace:m4/sys_ioctl_h.m4:9: -1- AC_DEFUN([gl_SYS_IOCTL_H], [
148146
 
+  dnl Use AC_REQUIRE here, so that the default behavior below is expanded
148147
 
+  dnl once only, before all statements that occur in other macros.
148148
 
+  AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])
148149
 
+
148150
 
+  AC_CHECK_HEADERS_ONCE([sys/ioctl.h])
148151
 
+  if test $ac_cv_header_sys_ioctl_h = yes; then
148152
 
+    HAVE_SYS_IOCTL_H=1
148153
 
+    dnl Test whether <sys/ioctl.h> declares ioctl(), or whether some other
148154
 
+    dnl header file, such as <unistd.h> or <stropts.h>, is needed for that.
148155
 
+    AC_CACHE_CHECK([whether <sys/ioctl.h> declares ioctl],
148156
 
+      [gl_cv_decl_ioctl_in_sys_ioctl_h],
148157
 
+      [dnl We cannot use AC_CHECK_DECL because it produces its own messages.
148158
 
+       AC_COMPILE_IFELSE(
148159
 
+         [AC_LANG_PROGRAM(
148160
 
+            [AC_INCLUDES_DEFAULT([#include <sys/ioctl.h>])],
148161
 
+            [(void) ioctl;])],
148162
 
+         [gl_cv_decl_ioctl_in_sys_ioctl_h=yes],
148163
 
+         [gl_cv_decl_ioctl_in_sys_ioctl_h=no])
148164
 
+      ])
148165
 
+  else
148166
 
+    HAVE_SYS_IOCTL_H=0
148167
 
+  fi
148168
 
+  AC_SUBST([HAVE_SYS_IOCTL_H])
148169
 
+  dnl <sys/ioctl.h> is always overridden, because of GNULIB_POSIXCHECK.
148170
 
+  gl_CHECK_NEXT_HEADERS([sys/ioctl.h])
148171
 
+
148172
 
+  dnl Check for declarations of anything we want to poison if the
148173
 
+  dnl corresponding gnulib module is not in use.
148174
 
+  gl_WARN_ON_USE_PREPARE([[#include <sys/ioctl.h>
148175
 
+/* Some platforms declare ioctl in the wrong header.  */
148176
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
148177
 
+# include <unistd.h>
148178
 
+#endif
148179
 
+    ]], [ioctl])
148180
 
+])
148181
 
+m4trace:m4/sys_ioctl_h.m4:47: -1- AC_DEFUN([gl_SYS_IOCTL_MODULE_INDICATOR], [
148182
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
148183
 
+  AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])
148184
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
148185
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
148186
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
148187
 
+])
148188
 
+m4trace:m4/sys_ioctl_h.m4:56: -1- AC_DEFUN([gl_SYS_IOCTL_H_DEFAULTS], [
148189
 
+  GNULIB_IOCTL=0;         AC_SUBST([GNULIB_IOCTL])
148190
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
148191
 
+  SYS_IOCTL_H_HAVE_WINSOCK2_H=0; AC_SUBST([SYS_IOCTL_H_HAVE_WINSOCK2_H])
148192
 
+  SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0;
148193
 
+                        AC_SUBST([SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS])
148194
 
+  REPLACE_IOCTL=0;      AC_SUBST([REPLACE_IOCTL])
148195
 
+])
148196
 
+m4trace:m4/sys_select_h.m4:7: -1- AC_DEFUN([gl_HEADER_SYS_SELECT], [
148197
 
+  AC_REQUIRE([AC_C_RESTRICT])
148198
 
+  AC_REQUIRE([gl_SYS_SELECT_H_DEFAULTS])
148199
 
+  AC_CACHE_CHECK([whether <sys/select.h> is self-contained],
148200
 
+    [gl_cv_header_sys_select_h_selfcontained],
148201
 
+    [
148202
 
+      dnl Test against two bugs:
148203
 
+      dnl 1. On many platforms, <sys/select.h> assumes prior inclusion of
148204
 
+      dnl    <sys/types.h>.
148205
 
+      dnl 2. On OSF/1 4.0, <sys/select.h> provides only a forward declaration
148206
 
+      dnl    of 'struct timeval', and no definition of this type.
148207
 
+      AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/select.h>]],
148208
 
+                                         [[struct timeval b;]])],
148209
 
+        [gl_cv_header_sys_select_h_selfcontained=yes],
148210
 
+        [gl_cv_header_sys_select_h_selfcontained=no])
148211
 
+      dnl Test against another bug:
148212
 
+      dnl 3. On Solaris 10, <sys/select.h> provides an FD_ZERO implementation
148213
 
+      dnl    that relies on memset(), but without including <string.h>.
148214
 
+      if test $gl_cv_header_sys_select_h_selfcontained = yes; then
148215
 
+        AC_COMPILE_IFELSE(
148216
 
+          [AC_LANG_PROGRAM([[#include <sys/select.h>]],
148217
 
+                           [[int memset; int bzero;]])
148218
 
+          ],
148219
 
+          [AC_LINK_IFELSE(
148220
 
+             [AC_LANG_PROGRAM([[#include <sys/select.h>]], [[
148221
 
+                  #undef memset
148222
 
+                  #define memset nonexistent_memset
148223
 
+                  extern
148224
 
+                  #ifdef __cplusplus
148225
 
+                  "C"
148226
 
+                  #endif
148227
 
+                  void *memset (void *, int, unsigned long);
148228
 
+                  #undef bzero
148229
 
+                  #define bzero nonexistent_bzero
148230
 
+                  extern
148231
 
+                  #ifdef __cplusplus
148232
 
+                  "C"
148233
 
+                  #endif
148234
 
+                  void bzero (void *, unsigned long);
148235
 
+                  fd_set fds;
148236
 
+                  FD_ZERO (&fds);
148237
 
+                ]])
148238
 
+             ],
148239
 
+             [],
148240
 
+             [gl_cv_header_sys_select_h_selfcontained=no])
148241
 
+          ])
148242
 
+      fi
148243
 
+    ])
148244
 
+  dnl <sys/select.h> is always overridden, because of GNULIB_POSIXCHECK.
148245
 
+  gl_CHECK_NEXT_HEADERS([sys/select.h])
148246
 
+  if test $ac_cv_header_sys_select_h = yes; then
148247
 
+    HAVE_SYS_SELECT_H=1
148248
 
+  else
148249
 
+    HAVE_SYS_SELECT_H=0
148250
 
+  fi
148251
 
+  AC_SUBST([HAVE_SYS_SELECT_H])
148252
 
+  gl_PREREQ_SYS_H_WINSOCK2
148253
 
+
148254
 
+  dnl Check for declarations of anything we want to poison if the
148255
 
+  dnl corresponding gnulib module is not in use.
148256
 
+  gl_WARN_ON_USE_PREPARE([[
148257
 
+/* Some systems require prerequisite headers.  */
148258
 
+#include <sys/types.h>
148259
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__) && HAVE_SYS_TIME_H
148260
 
+# include <sys/time.h>
148261
 
+#endif
148262
 
+#include <sys/select.h>
148263
 
+    ]], [pselect select])
148264
 
+])
148265
 
+m4trace:m4/sys_select_h.m4:78: -1- AC_DEFUN([gl_SYS_SELECT_MODULE_INDICATOR], [
148266
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
148267
 
+  AC_REQUIRE([gl_SYS_SELECT_H_DEFAULTS])
148268
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
148269
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
148270
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
148271
 
+])
148272
 
+m4trace:m4/sys_select_h.m4:87: -1- AC_DEFUN([gl_SYS_SELECT_H_DEFAULTS], [
148273
 
+  GNULIB_PSELECT=0; AC_SUBST([GNULIB_PSELECT])
148274
 
+  GNULIB_SELECT=0; AC_SUBST([GNULIB_SELECT])
148275
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
148276
 
+  HAVE_PSELECT=1; AC_SUBST([HAVE_PSELECT])
148277
 
+  REPLACE_PSELECT=0; AC_SUBST([REPLACE_PSELECT])
148278
 
+  REPLACE_SELECT=0; AC_SUBST([REPLACE_SELECT])
148279
 
+])
148280
 
+m4trace:m4/sys_socket_h.m4:9: -1- AC_DEFUN([gl_HEADER_SYS_SOCKET], [
148281
 
+  AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS])
148282
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
148283
 
+  AC_REQUIRE([AC_C_INLINE])
148284
 
+
148285
 
+  dnl On OSF/1, the functions recv(), send(), recvfrom(), sendto() have
148286
 
+  dnl old-style declarations (with return type 'int' instead of 'ssize_t')
148287
 
+  dnl unless _POSIX_PII_SOCKET is defined.
148288
 
+  case "$host_os" in
148289
 
+    osf*)
148290
 
+      AC_DEFINE([_POSIX_PII_SOCKET], [1],
148291
 
+        [Define to 1 in order to get the POSIX compatible declarations
148292
 
+         of socket functions.])
148293
 
+      ;;
148294
 
+  esac
148295
 
+
148296
 
+  AC_CACHE_CHECK([whether <sys/socket.h> is self-contained],
148297
 
+    [gl_cv_header_sys_socket_h_selfcontained],
148298
 
+    [
148299
 
+      AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/socket.h>]], [[]])],
148300
 
+        [gl_cv_header_sys_socket_h_selfcontained=yes],
148301
 
+        [gl_cv_header_sys_socket_h_selfcontained=no])
148302
 
+    ])
148303
 
+  if test $gl_cv_header_sys_socket_h_selfcontained = yes; then
148304
 
+    dnl If the shutdown function exists, <sys/socket.h> should define
148305
 
+    dnl SHUT_RD, SHUT_WR, SHUT_RDWR.
148306
 
+    AC_CHECK_FUNCS([shutdown])
148307
 
+    if test $ac_cv_func_shutdown = yes; then
148308
 
+      AC_CACHE_CHECK([whether <sys/socket.h> defines the SHUT_* macros],
148309
 
+        [gl_cv_header_sys_socket_h_shut],
148310
 
+        [
148311
 
+          AC_COMPILE_IFELSE(
148312
 
+            [AC_LANG_PROGRAM([[#include <sys/socket.h>]],
148313
 
+               [[int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR };]])],
148314
 
+            [gl_cv_header_sys_socket_h_shut=yes],
148315
 
+            [gl_cv_header_sys_socket_h_shut=no])
148316
 
+        ])
148317
 
+      if test $gl_cv_header_sys_socket_h_shut = no; then
148318
 
+        SYS_SOCKET_H='sys/socket.h'
148319
 
+      fi
148320
 
+    fi
148321
 
+  fi
148322
 
+  # We need to check for ws2tcpip.h now.
148323
 
+  gl_PREREQ_SYS_H_SOCKET
148324
 
+  AC_CHECK_TYPES([struct sockaddr_storage, sa_family_t],,,[
148325
 
+  /* sys/types.h is not needed according to POSIX, but the
148326
 
+     sys/socket.h in i386-unknown-freebsd4.10 and
148327
 
+     powerpc-apple-darwin5.5 required it. */
148328
 
+#include <sys/types.h>
148329
 
+#ifdef HAVE_SYS_SOCKET_H
148330
 
+#include <sys/socket.h>
148331
 
+#endif
148332
 
+#ifdef HAVE_WS2TCPIP_H
148333
 
+#include <ws2tcpip.h>
148334
 
+#endif
148335
 
+])
148336
 
+  if test $ac_cv_type_struct_sockaddr_storage = no; then
148337
 
+    HAVE_STRUCT_SOCKADDR_STORAGE=0
148338
 
+  fi
148339
 
+  if test $ac_cv_type_sa_family_t = no; then
148340
 
+    HAVE_SA_FAMILY_T=0
148341
 
+  fi
148342
 
+  if test $ac_cv_type_struct_sockaddr_storage != no; then
148343
 
+    AC_CHECK_MEMBERS([struct sockaddr_storage.ss_family],
148344
 
+      [],
148345
 
+      [HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=0],
148346
 
+      [#include <sys/types.h>
148347
 
+       #ifdef HAVE_SYS_SOCKET_H
148348
 
+       #include <sys/socket.h>
148349
 
+       #endif
148350
 
+       #ifdef HAVE_WS2TCPIP_H
148351
 
+       #include <ws2tcpip.h>
148352
 
+       #endif
148353
 
+      ])
148354
 
+  fi
148355
 
+  if test $HAVE_STRUCT_SOCKADDR_STORAGE = 0 || test $HAVE_SA_FAMILY_T = 0 \
148356
 
+     || test $HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = 0; then
148357
 
+    SYS_SOCKET_H='sys/socket.h'
148358
 
+  fi
148359
 
+  gl_PREREQ_SYS_H_WINSOCK2
148360
 
+
148361
 
+  dnl Check for declarations of anything we want to poison if the
148362
 
+  dnl corresponding gnulib module is not in use.
148363
 
+  gl_WARN_ON_USE_PREPARE([[
148364
 
+/* Some systems require prerequisite headers.  */
148365
 
+#include <sys/types.h>
148366
 
+#include <sys/socket.h>
148367
 
+    ]], [socket connect accept bind getpeername getsockname getsockopt
148368
 
+    listen recv send recvfrom sendto setsockopt shutdown accept4])
148369
 
+])
148370
 
+m4trace:m4/sys_socket_h.m4:101: -1- AC_DEFUN([gl_PREREQ_SYS_H_SOCKET], [
148371
 
+  dnl Check prerequisites of the <sys/socket.h> replacement.
148372
 
+  AC_REQUIRE([gl_CHECK_SOCKET_HEADERS])
148373
 
+  gl_CHECK_NEXT_HEADERS([sys/socket.h])
148374
 
+  if test $ac_cv_header_sys_socket_h = yes; then
148375
 
+    HAVE_SYS_SOCKET_H=1
148376
 
+    HAVE_WS2TCPIP_H=0
148377
 
+  else
148378
 
+    HAVE_SYS_SOCKET_H=0
148379
 
+    if test $ac_cv_header_ws2tcpip_h = yes; then
148380
 
+      HAVE_WS2TCPIP_H=1
148381
 
+    else
148382
 
+      HAVE_WS2TCPIP_H=0
148383
 
+    fi
148384
 
+  fi
148385
 
+  AC_SUBST([HAVE_SYS_SOCKET_H])
148386
 
+  AC_SUBST([HAVE_WS2TCPIP_H])
148387
 
+])
148388
 
+m4trace:m4/sys_socket_h.m4:124: -1- AC_DEFUN([gl_PREREQ_SYS_H_WINSOCK2], [
148389
 
+  m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])])
148390
 
+  m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])])
148391
 
+  AC_CHECK_HEADERS_ONCE([sys/socket.h])
148392
 
+  if test $ac_cv_header_sys_socket_h != yes; then
148393
 
+    dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make
148394
 
+    dnl the check for those headers unconditional; yet cygwin reports
148395
 
+    dnl that the headers are present but cannot be compiled (since on
148396
 
+    dnl cygwin, all socket information should come from sys/socket.h).
148397
 
+    AC_CHECK_HEADERS([winsock2.h])
148398
 
+  fi
148399
 
+  if test "$ac_cv_header_winsock2_h" = yes; then
148400
 
+    HAVE_WINSOCK2_H=1
148401
 
+    UNISTD_H_HAVE_WINSOCK2_H=1
148402
 
+    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
148403
 
+  else
148404
 
+    HAVE_WINSOCK2_H=0
148405
 
+  fi
148406
 
+  AC_SUBST([HAVE_WINSOCK2_H])
148407
 
+])
148408
 
+m4trace:m4/sys_socket_h.m4:146: -1- AC_DEFUN([gl_SYS_SOCKET_MODULE_INDICATOR], [
148409
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
148410
 
+  AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS])
148411
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
148412
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
148413
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
148414
 
+])
148415
 
+m4trace:m4/sys_socket_h.m4:155: -1- AC_DEFUN([gl_SYS_SOCKET_H_DEFAULTS], [
148416
 
+  GNULIB_SOCKET=0;      AC_SUBST([GNULIB_SOCKET])
148417
 
+  GNULIB_CONNECT=0;     AC_SUBST([GNULIB_CONNECT])
148418
 
+  GNULIB_ACCEPT=0;      AC_SUBST([GNULIB_ACCEPT])
148419
 
+  GNULIB_BIND=0;        AC_SUBST([GNULIB_BIND])
148420
 
+  GNULIB_GETPEERNAME=0; AC_SUBST([GNULIB_GETPEERNAME])
148421
 
+  GNULIB_GETSOCKNAME=0; AC_SUBST([GNULIB_GETSOCKNAME])
148422
 
+  GNULIB_GETSOCKOPT=0;  AC_SUBST([GNULIB_GETSOCKOPT])
148423
 
+  GNULIB_LISTEN=0;      AC_SUBST([GNULIB_LISTEN])
148424
 
+  GNULIB_RECV=0;        AC_SUBST([GNULIB_RECV])
148425
 
+  GNULIB_SEND=0;        AC_SUBST([GNULIB_SEND])
148426
 
+  GNULIB_RECVFROM=0;    AC_SUBST([GNULIB_RECVFROM])
148427
 
+  GNULIB_SENDTO=0;      AC_SUBST([GNULIB_SENDTO])
148428
 
+  GNULIB_SETSOCKOPT=0;  AC_SUBST([GNULIB_SETSOCKOPT])
148429
 
+  GNULIB_SHUTDOWN=0;    AC_SUBST([GNULIB_SHUTDOWN])
148430
 
+  GNULIB_ACCEPT4=0;     AC_SUBST([GNULIB_ACCEPT4])
148431
 
+  HAVE_STRUCT_SOCKADDR_STORAGE=1; AC_SUBST([HAVE_STRUCT_SOCKADDR_STORAGE])
148432
 
+  HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=1;
148433
 
+                        AC_SUBST([HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY])
148434
 
+  HAVE_SA_FAMILY_T=1;   AC_SUBST([HAVE_SA_FAMILY_T])
148435
 
+  HAVE_ACCEPT4=1;       AC_SUBST([HAVE_ACCEPT4])
148436
 
+])
148437
 
+m4trace:m4/sys_stat_h.m4:10: -1- AC_DEFUN([gl_HEADER_SYS_STAT_H], [
148438
 
+  AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
148439
 
+
148440
 
+  dnl For the mkdir substitute.
148441
 
+  AC_REQUIRE([AC_C_INLINE])
148442
 
+
148443
 
+  dnl Check for broken stat macros.
148444
 
+  AC_REQUIRE([AC_HEADER_STAT])
148445
 
+
148446
 
+  gl_CHECK_NEXT_HEADERS([sys/stat.h])
148447
 
+
148448
 
+  dnl Define types that are supposed to be defined in <sys/types.h> or
148449
 
+  dnl <sys/stat.h>.
148450
 
+  AC_CHECK_TYPE([nlink_t], [],
148451
 
+    [AC_DEFINE([nlink_t], [int],
148452
 
+       [Define to the type of st_nlink in struct stat, or a supertype.])],
148453
 
+    [#include <sys/types.h>
148454
 
+     #include <sys/stat.h>])
148455
 
+
148456
 
+  dnl Check for declarations of anything we want to poison if the
148457
 
+  dnl corresponding gnulib module is not in use.
148458
 
+  gl_WARN_ON_USE_PREPARE([[#include <sys/stat.h>
148459
 
+    ]], [fchmodat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat
148460
 
+    mknod mknodat stat utimensat])
148461
 
+])
148462
 
+m4trace:m4/sys_stat_h.m4:37: -1- AC_DEFUN([gl_SYS_STAT_MODULE_INDICATOR], [
148463
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
148464
 
+  AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
148465
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
148466
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
148467
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
148468
 
+])
148469
 
+m4trace:m4/sys_stat_h.m4:46: -1- AC_DEFUN([gl_SYS_STAT_H_DEFAULTS], [
148470
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) dnl for REPLACE_FCHDIR
148471
 
+  GNULIB_FCHMODAT=0;    AC_SUBST([GNULIB_FCHMODAT])
148472
 
+  GNULIB_FSTATAT=0;     AC_SUBST([GNULIB_FSTATAT])
148473
 
+  GNULIB_FUTIMENS=0;    AC_SUBST([GNULIB_FUTIMENS])
148474
 
+  GNULIB_LCHMOD=0;      AC_SUBST([GNULIB_LCHMOD])
148475
 
+  GNULIB_LSTAT=0;       AC_SUBST([GNULIB_LSTAT])
148476
 
+  GNULIB_MKDIRAT=0;     AC_SUBST([GNULIB_MKDIRAT])
148477
 
+  GNULIB_MKFIFO=0;      AC_SUBST([GNULIB_MKFIFO])
148478
 
+  GNULIB_MKFIFOAT=0;    AC_SUBST([GNULIB_MKFIFOAT])
148479
 
+  GNULIB_MKNOD=0;       AC_SUBST([GNULIB_MKNOD])
148480
 
+  GNULIB_MKNODAT=0;     AC_SUBST([GNULIB_MKNODAT])
148481
 
+  GNULIB_STAT=0;        AC_SUBST([GNULIB_STAT])
148482
 
+  GNULIB_UTIMENSAT=0;   AC_SUBST([GNULIB_UTIMENSAT])
148483
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
148484
 
+  HAVE_FCHMODAT=1;      AC_SUBST([HAVE_FCHMODAT])
148485
 
+  HAVE_FSTATAT=1;       AC_SUBST([HAVE_FSTATAT])
148486
 
+  HAVE_FUTIMENS=1;      AC_SUBST([HAVE_FUTIMENS])
148487
 
+  HAVE_LCHMOD=1;        AC_SUBST([HAVE_LCHMOD])
148488
 
+  HAVE_LSTAT=1;         AC_SUBST([HAVE_LSTAT])
148489
 
+  HAVE_MKDIRAT=1;       AC_SUBST([HAVE_MKDIRAT])
148490
 
+  HAVE_MKFIFO=1;        AC_SUBST([HAVE_MKFIFO])
148491
 
+  HAVE_MKFIFOAT=1;      AC_SUBST([HAVE_MKFIFOAT])
148492
 
+  HAVE_MKNOD=1;         AC_SUBST([HAVE_MKNOD])
148493
 
+  HAVE_MKNODAT=1;       AC_SUBST([HAVE_MKNODAT])
148494
 
+  HAVE_UTIMENSAT=1;     AC_SUBST([HAVE_UTIMENSAT])
148495
 
+  REPLACE_FSTAT=0;      AC_SUBST([REPLACE_FSTAT])
148496
 
+  REPLACE_FSTATAT=0;    AC_SUBST([REPLACE_FSTATAT])
148497
 
+  REPLACE_FUTIMENS=0;   AC_SUBST([REPLACE_FUTIMENS])
148498
 
+  REPLACE_LSTAT=0;      AC_SUBST([REPLACE_LSTAT])
148499
 
+  REPLACE_MKDIR=0;      AC_SUBST([REPLACE_MKDIR])
148500
 
+  REPLACE_MKFIFO=0;     AC_SUBST([REPLACE_MKFIFO])
148501
 
+  REPLACE_MKNOD=0;      AC_SUBST([REPLACE_MKNOD])
148502
 
+  REPLACE_STAT=0;       AC_SUBST([REPLACE_STAT])
148503
 
+  REPLACE_UTIMENSAT=0;  AC_SUBST([REPLACE_UTIMENSAT])
148504
 
+])
148505
 
+m4trace:m4/sys_time_h.m4:11: -1- AC_DEFUN([gl_HEADER_SYS_TIME_H], [
148506
 
+  dnl Use AC_REQUIRE here, so that the REPLACE_GETTIMEOFDAY=0 statement
148507
 
+  dnl below is expanded once only, before all REPLACE_GETTIMEOFDAY=1
148508
 
+  dnl statements that occur in other macros.
148509
 
+  AC_REQUIRE([gl_HEADER_SYS_TIME_H_BODY])
148510
 
+])
148511
 
+m4trace:m4/sys_time_h.m4:19: -1- AC_DEFUN([gl_HEADER_SYS_TIME_H_BODY], [
148512
 
+  AC_REQUIRE([AC_C_RESTRICT])
148513
 
+  AC_REQUIRE([gl_HEADER_SYS_TIME_H_DEFAULTS])
148514
 
+  AC_CHECK_HEADERS_ONCE([sys/time.h])
148515
 
+  gl_CHECK_NEXT_HEADERS([sys/time.h])
148516
 
+
148517
 
+  if test $ac_cv_header_sys_time_h != yes; then
148518
 
+    HAVE_SYS_TIME_H=0
148519
 
+  fi
148520
 
+
148521
 
+  AC_CACHE_CHECK([for struct timeval], [gl_cv_sys_struct_timeval],
148522
 
+    [AC_COMPILE_IFELSE(
148523
 
+       [AC_LANG_PROGRAM(
148524
 
+          [[#if HAVE_SYS_TIME_H
148525
 
+             #include <sys/time.h>
148526
 
+            #endif
148527
 
+            #include <time.h>
148528
 
+          ]],
148529
 
+          [[static struct timeval x; x.tv_sec = x.tv_usec;]])],
148530
 
+       [gl_cv_sys_struct_timeval=yes],
148531
 
+       [gl_cv_sys_struct_timeval=no])])
148532
 
+  if test $gl_cv_sys_struct_timeval != yes; then
148533
 
+    HAVE_STRUCT_TIMEVAL=0
148534
 
+  fi
148535
 
+
148536
 
+  dnl Check for declarations of anything we want to poison if the
148537
 
+  dnl corresponding gnulib module is not in use.
148538
 
+  gl_WARN_ON_USE_PREPARE([[
148539
 
+#if HAVE_SYS_TIME_H
148540
 
+# include <sys/time.h>
148541
 
+#endif
148542
 
+#include <time.h>
148543
 
+    ]], [gettimeofday])
148544
 
+])
148545
 
+m4trace:m4/sys_time_h.m4:55: -1- AC_DEFUN([gl_SYS_TIME_MODULE_INDICATOR], [
148546
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
148547
 
+  AC_REQUIRE([gl_HEADER_SYS_TIME_H_DEFAULTS])
148548
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
148549
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
148550
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
148551
 
+])
148552
 
+m4trace:m4/sys_time_h.m4:64: -1- AC_DEFUN([gl_HEADER_SYS_TIME_H_DEFAULTS], [
148553
 
+  GNULIB_GETTIMEOFDAY=0;     AC_SUBST([GNULIB_GETTIMEOFDAY])
148554
 
+  dnl Assume POSIX behavior unless another module says otherwise.
148555
 
+  HAVE_GETTIMEOFDAY=1;       AC_SUBST([HAVE_GETTIMEOFDAY])
148556
 
+  HAVE_STRUCT_TIMEVAL=1;     AC_SUBST([HAVE_STRUCT_TIMEVAL])
148557
 
+  HAVE_SYS_TIME_H=1;         AC_SUBST([HAVE_SYS_TIME_H])
148558
 
+  REPLACE_GETTIMEOFDAY=0;    AC_SUBST([REPLACE_GETTIMEOFDAY])
148559
 
+])
148560
 
+m4trace:m4/sys_uio_h.m4:7: -1- AC_DEFUN([gl_HEADER_SYS_UIO], [
148561
 
+  AC_REQUIRE([gl_SYS_UIO_H_DEFAULTS])
148562
 
+  dnl <sys/uio.h> is always overridden, because of GNULIB_POSIXCHECK.
148563
 
+  gl_CHECK_NEXT_HEADERS([sys/uio.h])
148564
 
+  if test $ac_cv_header_sys_uio_h = yes; then
148565
 
+    HAVE_SYS_UIO_H=1
148566
 
+  else
148567
 
+    HAVE_SYS_UIO_H=0
148568
 
+  fi
148569
 
+  AC_SUBST([HAVE_SYS_UIO_H])
148570
 
+])
148571
 
+m4trace:m4/sys_uio_h.m4:20: -1- AC_DEFUN([gl_SYS_UIO_MODULE_INDICATOR], [
148572
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
148573
 
+  AC_REQUIRE([gl_SYS_UIO_H_DEFAULTS])
148574
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
148575
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
148576
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
148577
 
+])
148578
 
+m4trace:m4/sys_uio_h.m4:29: -1- AC_DEFUN([gl_SYS_UIO_H_DEFAULTS], [
148579
 
+])
148580
 
+m4trace:m4/sys_utsname_h.m4:9: -1- AC_DEFUN([gl_SYS_UTSNAME_H], [
148581
 
+  dnl Use AC_REQUIRE here, so that the default behavior below is expanded
148582
 
+  dnl once only, before all statements that occur in other macros.
148583
 
+  AC_REQUIRE([gl_SYS_UTSNAME_H_DEFAULTS])
148584
 
+
148585
 
+  dnl <sys/utsname.h> is always overridden, because of GNULIB_POSIXCHECK.
148586
 
+  gl_CHECK_NEXT_HEADERS([sys/utsname.h])
148587
 
+  if test $ac_cv_header_sys_utsname_h != yes; then
148588
 
+    HAVE_SYS_UTSNAME_H=0
148589
 
+    HAVE_STRUCT_UTSNAME=0
148590
 
+  else
148591
 
+    HAVE_SYS_UTSNAME_H=1
148592
 
+    AC_CHECK_TYPES([struct utsname], [], [HAVE_STRUCT_UTSNAME=0], [[
148593
 
+/* Minix 3.1.8 has a bug: <stddef.h> must be included before
148594
 
+   <sys/utsname.h>.  */
148595
 
+#include <stddef.h>
148596
 
+#include <sys/utsname.h>
148597
 
+      ]])
148598
 
+  fi
148599
 
+  AC_SUBST([HAVE_SYS_UTSNAME_H])
148600
 
+
148601
 
+  dnl Check for declarations of anything we want to poison if the
148602
 
+  dnl corresponding gnulib module is not in use.
148603
 
+  gl_WARN_ON_USE_PREPARE([[
148604
 
+    /* Minix 3.1.8 has a bug: <stddef.h> must be included before
148605
 
+       <sys/utsname.h>.  */
148606
 
+    #include <stddef.h>
148607
 
+    #include <sys/utsname.h>
148608
 
+    ]], [uname])
148609
 
+])
148610
 
+m4trace:m4/sys_utsname_h.m4:41: -1- AC_DEFUN([gl_SYS_UTSNAME_MODULE_INDICATOR], [
148611
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
148612
 
+  AC_REQUIRE([gl_SYS_UTSNAME_H_DEFAULTS])
148613
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
148614
 
+])
148615
 
+m4trace:m4/sys_utsname_h.m4:48: -1- AC_DEFUN([gl_SYS_UTSNAME_H_DEFAULTS], [
148616
 
+  GNULIB_UNAME=0;         AC_SUBST([GNULIB_UNAME])
148617
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
148618
 
+  HAVE_UNAME=1;           AC_SUBST([HAVE_UNAME])
148619
 
+  HAVE_STRUCT_UTSNAME=1;  AC_SUBST([HAVE_STRUCT_UTSNAME])
148620
 
+])
148621
 
+m4trace:m4/sys_wait_h.m4:7: -1- AC_DEFUN([gl_SYS_WAIT_H], [
148622
 
+  AC_REQUIRE([gl_SYS_WAIT_H_DEFAULTS])
148623
 
+
148624
 
+  dnl <sys/wait.h> is always overridden, because of GNULIB_POSIXCHECK.
148625
 
+  gl_CHECK_NEXT_HEADERS([sys/wait.h])
148626
 
+
148627
 
+  dnl Check for declarations of anything we want to poison if the
148628
 
+  dnl corresponding gnulib module is not in use.
148629
 
+  gl_WARN_ON_USE_PREPARE([[#include <sys/wait.h>]],
148630
 
+    [waitpid])
148631
 
+])
148632
 
+m4trace:m4/sys_wait_h.m4:20: -1- AC_DEFUN([gl_SYS_WAIT_MODULE_INDICATOR], [
148633
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
148634
 
+  AC_REQUIRE([gl_SYS_WAIT_H_DEFAULTS])
148635
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
148636
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
148637
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
148638
 
+])
148639
 
+m4trace:m4/sys_wait_h.m4:29: -1- AC_DEFUN([gl_SYS_WAIT_H_DEFAULTS], [
148640
 
+  GNULIB_WAITPID=0; AC_SUBST([GNULIB_WAITPID])
148641
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
148642
 
+])
148643
 
+m4trace:m4/tempname.m4:10: -1- AC_DEFUN([gl_FUNC_GEN_TEMPNAME], [
148644
 
+  gl_PREREQ_TEMPNAME
148645
 
+])
148646
 
+m4trace:m4/tempname.m4:16: -1- AC_DEFUN([gl_PREREQ_TEMPNAME], [
148647
 
+  :
148648
 
+])
148649
 
+m4trace:m4/termios_h.m4:7: -1- AC_DEFUN([gl_TERMIOS_H], [
148650
 
+  dnl Use AC_REQUIRE here, so that the default behavior below is expanded
148651
 
+  dnl once only, before all statements that occur in other macros.
148652
 
+  AC_REQUIRE([gl_TERMIOS_H_DEFAULTS])
148653
 
+
148654
 
+  gl_CHECK_NEXT_HEADERS([termios.h])
148655
 
+  if test $ac_cv_header_termios_h != yes; then
148656
 
+    HAVE_TERMIOS_H=0
148657
 
+  fi
148658
 
+
148659
 
+  dnl Check for declarations of anything we want to poison if the
148660
 
+  dnl corresponding gnulib module is not in use, and which is not
148661
 
+  dnl guaranteed by C89.
148662
 
+  gl_WARN_ON_USE_PREPARE([[#include <termios.h>]],
148663
 
+    [tcgetsid])
148664
 
+])
148665
 
+m4trace:m4/termios_h.m4:25: -1- AC_DEFUN([gl_TERMIOS_MODULE_INDICATOR], [
148666
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
148667
 
+  AC_REQUIRE([gl_TERMIOS_H_DEFAULTS])
148668
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
148669
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
148670
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
148671
 
+])
148672
 
+m4trace:m4/termios_h.m4:34: -1- AC_DEFUN([gl_TERMIOS_H_DEFAULTS], [
148673
 
+  GNULIB_TCGETSID=0;      AC_SUBST([GNULIB_TCGETSID])
148674
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
148675
 
+  HAVE_DECL_TCGETSID=1;   AC_SUBST([HAVE_DECL_TCGETSID])
148676
 
+  HAVE_TERMIOS_H=1;       AC_SUBST([HAVE_TERMIOS_H])
148677
 
+])
148678
 
+m4trace:m4/thread.m4:7: -1- AC_DEFUN([gl_THREAD], [
148679
 
+  AC_REQUIRE([gl_THREADLIB])
148680
 
+  AC_REQUIRE([AC_C_INLINE])
148681
 
+
148682
 
+  if test $gl_threads_api = posix; then
148683
 
+    gl_save_LIBS="$LIBS"
148684
 
+    LIBS="$LIBS $LIBMULTITHREAD"
148685
 
+    AC_CHECK_FUNCS([pthread_atfork])
148686
 
+    LIBS="$gl_save_LIBS"
148687
 
+  fi
148688
 
+])
148689
 
+m4trace:m4/threadlib.m4:29: -1- AC_DEFUN([gl_THREADLIB_EARLY], [
148690
 
+  AC_REQUIRE([gl_THREADLIB_EARLY_BODY])
148691
 
+])
148692
 
+m4trace:m4/threadlib.m4:36: -1- AC_DEFUN([gl_THREADLIB_EARLY_BODY], [
148693
 
+  dnl Ordering constraints: This macro modifies CPPFLAGS in a way that
148694
 
+  dnl influences the result of the autoconf tests that test for *_unlocked
148695
 
+  dnl declarations, on AIX 5 at least. Therefore it must come early.
148696
 
+  AC_BEFORE([$0], [gl_FUNC_GLIBC_UNLOCKED_IO])dnl
148697
 
+  AC_BEFORE([$0], [gl_ARGP])dnl
148698
 
+
148699
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
148700
 
+  dnl _GNU_SOURCE is needed for pthread_rwlock_t on glibc systems.
148701
 
+  dnl AC_USE_SYSTEM_EXTENSIONS was introduced in autoconf 2.60 and obsoletes
148702
 
+  dnl AC_GNU_SOURCE.
148703
 
+  m4_ifdef([AC_USE_SYSTEM_EXTENSIONS],
148704
 
+    [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])],
148705
 
+    [AC_REQUIRE([AC_GNU_SOURCE])])
148706
 
+  dnl Check for multithreading.
148707
 
+  m4_ifdef([gl_THREADLIB_DEFAULT_NO],
148708
 
+    [m4_divert_text([DEFAULTS], [gl_use_threads_default=no])],
148709
 
+    [m4_divert_text([DEFAULTS], [gl_use_threads_default=])])
148710
 
+  AC_ARG_ENABLE([threads],
148711
 
+AC_HELP_STRING([--enable-threads={posix|solaris|pth|win32}], [specify multithreading API])m4_ifdef([gl_THREADLIB_DEFAULT_NO], [], [
148712
 
+AC_HELP_STRING([--disable-threads], [build without multithread safety])]),
148713
 
+    [gl_use_threads=$enableval],
148714
 
+    [if test -n "$gl_use_threads_default"; then
148715
 
+       gl_use_threads="$gl_use_threads_default"
148716
 
+     else
148717
 
+changequote(,)dnl
148718
 
+       case "$host_os" in
148719
 
+         dnl Disable multithreading by default on OSF/1, because it interferes
148720
 
+         dnl with fork()/exec(): When msgexec is linked with -lpthread, its
148721
 
+         dnl child process gets an endless segmentation fault inside execvp().
148722
 
+         dnl Disable multithreading by default on Cygwin 1.5.x, because it has
148723
 
+         dnl bugs that lead to endless loops or crashes. See
148724
 
+         dnl <http://cygwin.com/ml/cygwin/2009-08/msg00283.html>.
148725
 
+         osf*) gl_use_threads=no ;;
148726
 
+         cygwin*)
148727
 
+               case `uname -r` in
148728
 
+                 1.[0-5].*) gl_use_threads=no ;;
148729
 
+                 *)         gl_use_threads=yes ;;
148730
 
+               esac
148731
 
+               ;;
148732
 
+         *)    gl_use_threads=yes ;;
148733
 
+       esac
148734
 
+changequote([,])dnl
148735
 
+     fi
148736
 
+    ])
148737
 
+  if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
148738
 
+    # For using <pthread.h>:
148739
 
+    case "$host_os" in
148740
 
+      osf*)
148741
 
+        # On OSF/1, the compiler needs the flag -D_REENTRANT so that it
148742
 
+        # groks <pthread.h>. cc also understands the flag -pthread, but
148743
 
+        # we don't use it because 1. gcc-2.95 doesn't understand -pthread,
148744
 
+        # 2. putting a flag into CPPFLAGS that has an effect on the linker
148745
 
+        # causes the AC_LINK_IFELSE test below to succeed unexpectedly,
148746
 
+        # leading to wrong values of LIBTHREAD and LTLIBTHREAD.
148747
 
+        CPPFLAGS="$CPPFLAGS -D_REENTRANT"
148748
 
+        ;;
148749
 
+    esac
148750
 
+    # Some systems optimize for single-threaded programs by default, and
148751
 
+    # need special flags to disable these optimizations. For example, the
148752
 
+    # definition of 'errno' in <errno.h>.
148753
 
+    case "$host_os" in
148754
 
+      aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
148755
 
+      solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
148756
 
+    esac
148757
 
+  fi
148758
 
+])
148759
 
+m4trace:m4/threadlib.m4:107: -1- AC_DEFUN([gl_THREADLIB_BODY], [
148760
 
+  AC_REQUIRE([gl_THREADLIB_EARLY_BODY])
148761
 
+  gl_threads_api=none
148762
 
+  LIBTHREAD=
148763
 
+  LTLIBTHREAD=
148764
 
+  LIBMULTITHREAD=
148765
 
+  LTLIBMULTITHREAD=
148766
 
+  if test "$gl_use_threads" != no; then
148767
 
+    dnl Check whether the compiler and linker support weak declarations.
148768
 
+    AC_CACHE_CHECK([whether imported symbols can be declared weak],
148769
 
+      [gl_cv_have_weak],
148770
 
+      [gl_cv_have_weak=no
148771
 
+       dnl First, test whether the compiler accepts it syntactically.
148772
 
+       AC_LINK_IFELSE(
148773
 
+         [AC_LANG_PROGRAM(
148774
 
+            [[extern void xyzzy ();
148775
 
+#pragma weak xyzzy]],
148776
 
+            [[xyzzy();]])],
148777
 
+         [gl_cv_have_weak=maybe])
148778
 
+       if test $gl_cv_have_weak = maybe; then
148779
 
+         dnl Second, test whether it actually works. On Cygwin 1.7.2, with
148780
 
+         dnl gcc 4.3, symbols declared weak always evaluate to the address 0.
148781
 
+         AC_RUN_IFELSE(
148782
 
+           [AC_LANG_SOURCE([[
148783
 
+#include <stdio.h>
148784
 
+#pragma weak fputs
148785
 
+int main ()
148786
 
+{
148787
 
+  return (fputs == NULL);
148788
 
+}]])],
148789
 
+           [gl_cv_have_weak=yes],
148790
 
+           [gl_cv_have_weak=no],
148791
 
+           [dnl When cross-compiling, assume that only ELF platforms support
148792
 
+            dnl weak symbols.
148793
 
+            AC_EGREP_CPP([Extensible Linking Format],
148794
 
+              [#ifdef __ELF__
148795
 
+               Extensible Linking Format
148796
 
+               #endif
148797
 
+              ],
148798
 
+              [gl_cv_have_weak="guessing yes"],
148799
 
+              [gl_cv_have_weak="guessing no"])
148800
 
+           ])
148801
 
+       fi
148802
 
+      ])
148803
 
+    if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
148804
 
+      # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
148805
 
+      # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY.
148806
 
+      AC_CHECK_HEADER([pthread.h],
148807
 
+        [gl_have_pthread_h=yes], [gl_have_pthread_h=no])
148808
 
+      if test "$gl_have_pthread_h" = yes; then
148809
 
+        # Other possible tests:
148810
 
+        #   -lpthreads (FSU threads, PCthreads)
148811
 
+        #   -lgthreads
148812
 
+        gl_have_pthread=
148813
 
+        # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
148814
 
+        # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
148815
 
+        # the second one only in libpthread, and lock.c needs it.
148816
 
+        AC_LINK_IFELSE(
148817
 
+          [AC_LANG_PROGRAM(
148818
 
+             [[#include <pthread.h>]],
148819
 
+             [[pthread_mutex_lock((pthread_mutex_t*)0);
148820
 
+               pthread_mutexattr_init((pthread_mutexattr_t*)0);]])],
148821
 
+          [gl_have_pthread=yes])
148822
 
+        # Test for libpthread by looking for pthread_kill. (Not pthread_self,
148823
 
+        # since it is defined as a macro on OSF/1.)
148824
 
+        if test -n "$gl_have_pthread"; then
148825
 
+          # The program links fine without libpthread. But it may actually
148826
 
+          # need to link with libpthread in order to create multiple threads.
148827
 
+          AC_CHECK_LIB([pthread], [pthread_kill],
148828
 
+            [LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
148829
 
+             # On Solaris and HP-UX, most pthread functions exist also in libc.
148830
 
+             # Therefore pthread_in_use() needs to actually try to create a
148831
 
+             # thread: pthread_create from libc will fail, whereas
148832
 
+             # pthread_create will actually create a thread.
148833
 
+             case "$host_os" in
148834
 
+               solaris* | hpux*)
148835
 
+                 AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], [1],
148836
 
+                   [Define if the pthread_in_use() detection is hard.])
148837
 
+             esac
148838
 
+            ])
148839
 
+        else
148840
 
+          # Some library is needed. Try libpthread and libc_r.
148841
 
+          AC_CHECK_LIB([pthread], [pthread_kill],
148842
 
+            [gl_have_pthread=yes
148843
 
+             LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
148844
 
+             LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread])
148845
 
+          if test -z "$gl_have_pthread"; then
148846
 
+            # For FreeBSD 4.
148847
 
+            AC_CHECK_LIB([c_r], [pthread_kill],
148848
 
+              [gl_have_pthread=yes
148849
 
+               LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
148850
 
+               LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r])
148851
 
+          fi
148852
 
+        fi
148853
 
+        if test -n "$gl_have_pthread"; then
148854
 
+          gl_threads_api=posix
148855
 
+          AC_DEFINE([USE_POSIX_THREADS], [1],
148856
 
+            [Define if the POSIX multithreading library can be used.])
148857
 
+          if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
148858
 
+            if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
148859
 
+              AC_DEFINE([USE_POSIX_THREADS_WEAK], [1],
148860
 
+                [Define if references to the POSIX multithreading library should be made weak.])
148861
 
+              LIBTHREAD=
148862
 
+              LTLIBTHREAD=
148863
 
+            fi
148864
 
+          fi
148865
 
+        fi
148866
 
+      fi
148867
 
+    fi
148868
 
+    if test -z "$gl_have_pthread"; then
148869
 
+      if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
148870
 
+        gl_have_solaristhread=
148871
 
+        gl_save_LIBS="$LIBS"
148872
 
+        LIBS="$LIBS -lthread"
148873
 
+        AC_LINK_IFELSE(
148874
 
+          [AC_LANG_PROGRAM(
148875
 
+             [[
148876
 
+#include <thread.h>
148877
 
+#include <synch.h>
148878
 
+             ]],
148879
 
+             [[thr_self();]])],
148880
 
+          [gl_have_solaristhread=yes])
148881
 
+        LIBS="$gl_save_LIBS"
148882
 
+        if test -n "$gl_have_solaristhread"; then
148883
 
+          gl_threads_api=solaris
148884
 
+          LIBTHREAD=-lthread
148885
 
+          LTLIBTHREAD=-lthread
148886
 
+          LIBMULTITHREAD="$LIBTHREAD"
148887
 
+          LTLIBMULTITHREAD="$LTLIBTHREAD"
148888
 
+          AC_DEFINE([USE_SOLARIS_THREADS], [1],
148889
 
+            [Define if the old Solaris multithreading library can be used.])
148890
 
+          if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
148891
 
+            AC_DEFINE([USE_SOLARIS_THREADS_WEAK], [1],
148892
 
+              [Define if references to the old Solaris multithreading library should be made weak.])
148893
 
+            LIBTHREAD=
148894
 
+            LTLIBTHREAD=
148895
 
+          fi
148896
 
+        fi
148897
 
+      fi
148898
 
+    fi
148899
 
+    if test "$gl_use_threads" = pth; then
148900
 
+      gl_save_CPPFLAGS="$CPPFLAGS"
148901
 
+      AC_LIB_LINKFLAGS([pth])
148902
 
+      gl_have_pth=
148903
 
+      gl_save_LIBS="$LIBS"
148904
 
+      LIBS="$LIBS $LIBPTH"
148905
 
+      AC_LINK_IFELSE(
148906
 
+        [AC_LANG_PROGRAM([[#include <pth.h>]], [[pth_self();]])],
148907
 
+        [gl_have_pth=yes])
148908
 
+      LIBS="$gl_save_LIBS"
148909
 
+      if test -n "$gl_have_pth"; then
148910
 
+        gl_threads_api=pth
148911
 
+        LIBTHREAD="$LIBPTH"
148912
 
+        LTLIBTHREAD="$LTLIBPTH"
148913
 
+        LIBMULTITHREAD="$LIBTHREAD"
148914
 
+        LTLIBMULTITHREAD="$LTLIBTHREAD"
148915
 
+        AC_DEFINE([USE_PTH_THREADS], [1],
148916
 
+          [Define if the GNU Pth multithreading library can be used.])
148917
 
+        if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
148918
 
+          if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
148919
 
+            AC_DEFINE([USE_PTH_THREADS_WEAK], [1],
148920
 
+              [Define if references to the GNU Pth multithreading library should be made weak.])
148921
 
+            LIBTHREAD=
148922
 
+            LTLIBTHREAD=
148923
 
+          fi
148924
 
+        fi
148925
 
+      else
148926
 
+        CPPFLAGS="$gl_save_CPPFLAGS"
148927
 
+      fi
148928
 
+    fi
148929
 
+    if test -z "$gl_have_pthread"; then
148930
 
+      if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then
148931
 
+        if { case "$host_os" in
148932
 
+               mingw*) true;;
148933
 
+               *) false;;
148934
 
+             esac
148935
 
+           }; then
148936
 
+          gl_threads_api=win32
148937
 
+          AC_DEFINE([USE_WIN32_THREADS], [1],
148938
 
+            [Define if the Win32 multithreading API can be used.])
148939
 
+        fi
148940
 
+      fi
148941
 
+    fi
148942
 
+  fi
148943
 
+  AC_MSG_CHECKING([for multithread API to use])
148944
 
+  AC_MSG_RESULT([$gl_threads_api])
148945
 
+  AC_SUBST([LIBTHREAD])
148946
 
+  AC_SUBST([LTLIBTHREAD])
148947
 
+  AC_SUBST([LIBMULTITHREAD])
148948
 
+  AC_SUBST([LTLIBMULTITHREAD])
148949
 
+])
148950
 
+m4trace:m4/threadlib.m4:300: -1- AC_DEFUN([gl_THREADLIB], [
148951
 
+  AC_REQUIRE([gl_THREADLIB_EARLY])
148952
 
+  AC_REQUIRE([gl_THREADLIB_BODY])
148953
 
+])
148954
 
+m4trace:m4/threadlib.m4:313: -1- AC_DEFUN([gl_DISABLE_THREADS], [
148955
 
+  m4_divert_text([INIT_PREPARE], [gl_use_threads_default=no])
148956
 
+])
148957
 
+m4trace:m4/time_h.m4:13: -1- AC_DEFUN([gl_HEADER_TIME_H], [
148958
 
+  dnl Use AC_REQUIRE here, so that the default behavior below is expanded
148959
 
+  dnl once only, before all statements that occur in other macros.
148960
 
+  AC_REQUIRE([gl_HEADER_TIME_H_BODY])
148961
 
+])
148962
 
+m4trace:m4/time_h.m4:20: -1- AC_DEFUN([gl_HEADER_TIME_H_BODY], [
148963
 
+  AC_REQUIRE([AC_C_RESTRICT])
148964
 
+  AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS])
148965
 
+  gl_NEXT_HEADERS([time.h])
148966
 
+  AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC])
148967
 
+])
148968
 
+m4trace:m4/time_h.m4:31: -1- AC_DEFUN([gl_CHECK_TYPE_STRUCT_TIMESPEC], [
148969
 
+  AC_CHECK_HEADERS_ONCE([sys/time.h])
148970
 
+  AC_CACHE_CHECK([for struct timespec in <time.h>],
148971
 
+    [gl_cv_sys_struct_timespec_in_time_h],
148972
 
+    [AC_COMPILE_IFELSE(
148973
 
+       [AC_LANG_PROGRAM(
148974
 
+          [[#include <time.h>
148975
 
+          ]],
148976
 
+          [[static struct timespec x; x.tv_sec = x.tv_nsec;]])],
148977
 
+       [gl_cv_sys_struct_timespec_in_time_h=yes],
148978
 
+       [gl_cv_sys_struct_timespec_in_time_h=no])])
148979
 
+
148980
 
+  TIME_H_DEFINES_STRUCT_TIMESPEC=0
148981
 
+  SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0
148982
 
+  PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0
148983
 
+  if test $gl_cv_sys_struct_timespec_in_time_h = yes; then
148984
 
+    TIME_H_DEFINES_STRUCT_TIMESPEC=1
148985
 
+  else
148986
 
+    AC_CACHE_CHECK([for struct timespec in <sys/time.h>],
148987
 
+      [gl_cv_sys_struct_timespec_in_sys_time_h],
148988
 
+      [AC_COMPILE_IFELSE(
148989
 
+         [AC_LANG_PROGRAM(
148990
 
+            [[#include <sys/time.h>
148991
 
+            ]],
148992
 
+            [[static struct timespec x; x.tv_sec = x.tv_nsec;]])],
148993
 
+         [gl_cv_sys_struct_timespec_in_sys_time_h=yes],
148994
 
+         [gl_cv_sys_struct_timespec_in_sys_time_h=no])])
148995
 
+    if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then
148996
 
+      SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1
148997
 
+    else
148998
 
+      AC_CACHE_CHECK([for struct timespec in <pthread.h>],
148999
 
+        [gl_cv_sys_struct_timespec_in_pthread_h],
149000
 
+        [AC_COMPILE_IFELSE(
149001
 
+           [AC_LANG_PROGRAM(
149002
 
+              [[#include <pthread.h>
149003
 
+              ]],
149004
 
+              [[static struct timespec x; x.tv_sec = x.tv_nsec;]])],
149005
 
+           [gl_cv_sys_struct_timespec_in_pthread_h=yes],
149006
 
+           [gl_cv_sys_struct_timespec_in_pthread_h=no])])
149007
 
+      if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then
149008
 
+        PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1
149009
 
+      fi
149010
 
+    fi
149011
 
+  fi
149012
 
+  AC_SUBST([TIME_H_DEFINES_STRUCT_TIMESPEC])
149013
 
+  AC_SUBST([SYS_TIME_H_DEFINES_STRUCT_TIMESPEC])
149014
 
+  AC_SUBST([PTHREAD_H_DEFINES_STRUCT_TIMESPEC])
149015
 
+])
149016
 
+m4trace:m4/time_h.m4:81: -1- AC_DEFUN([gl_TIME_MODULE_INDICATOR], [
149017
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
149018
 
+  AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS])
149019
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
149020
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
149021
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
149022
 
+])
149023
 
+m4trace:m4/time_h.m4:90: -1- AC_DEFUN([gl_HEADER_TIME_H_DEFAULTS], [
149024
 
+  GNULIB_MKTIME=0;                       AC_SUBST([GNULIB_MKTIME])
149025
 
+  GNULIB_NANOSLEEP=0;                    AC_SUBST([GNULIB_NANOSLEEP])
149026
 
+  GNULIB_STRPTIME=0;                     AC_SUBST([GNULIB_STRPTIME])
149027
 
+  GNULIB_TIMEGM=0;                       AC_SUBST([GNULIB_TIMEGM])
149028
 
+  GNULIB_TIME_R=0;                       AC_SUBST([GNULIB_TIME_R])
149029
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
149030
 
+  HAVE_DECL_LOCALTIME_R=1;               AC_SUBST([HAVE_DECL_LOCALTIME_R])
149031
 
+  HAVE_NANOSLEEP=1;                      AC_SUBST([HAVE_NANOSLEEP])
149032
 
+  HAVE_STRPTIME=1;                       AC_SUBST([HAVE_STRPTIME])
149033
 
+  HAVE_TIMEGM=1;                         AC_SUBST([HAVE_TIMEGM])
149034
 
+  dnl If another module says to replace or to not replace, do that.
149035
 
+  dnl Otherwise, replace only if someone compiles with -DGNULIB_PORTCHECK;
149036
 
+  dnl this lets maintainers check for portability.
149037
 
+  REPLACE_LOCALTIME_R=GNULIB_PORTCHECK;  AC_SUBST([REPLACE_LOCALTIME_R])
149038
 
+  REPLACE_MKTIME=GNULIB_PORTCHECK;       AC_SUBST([REPLACE_MKTIME])
149039
 
+  REPLACE_NANOSLEEP=GNULIB_PORTCHECK;    AC_SUBST([REPLACE_NANOSLEEP])
149040
 
+  REPLACE_TIMEGM=GNULIB_PORTCHECK;       AC_SUBST([REPLACE_TIMEGM])
149041
 
+])
149042
 
+m4trace:m4/time_r.m4:10: -1- AC_DEFUN([gl_TIME_R], [
149043
 
+  dnl Persuade glibc and Solaris <time.h> to declare localtime_r.
149044
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
149045
 
+
149046
 
+  AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS])
149047
 
+  AC_REQUIRE([AC_C_RESTRICT])
149048
 
+
149049
 
+  dnl Some systems don't declare localtime_r() and gmtime_r() if _REENTRANT is
149050
 
+  dnl not defined.
149051
 
+  AC_CHECK_DECLS_ONCE([localtime_r])
149052
 
+  if test $ac_cv_have_decl_localtime_r = no; then
149053
 
+    HAVE_DECL_LOCALTIME_R=0
149054
 
+  fi
149055
 
+
149056
 
+  AC_CHECK_FUNCS_ONCE([localtime_r])
149057
 
+  if test $ac_cv_func_localtime_r = yes; then
149058
 
+    HAVE_LOCALTIME_R=1
149059
 
+    AC_CACHE_CHECK([whether localtime_r is compatible with its POSIX signature],
149060
 
+      [gl_cv_time_r_posix],
149061
 
+      [AC_COMPILE_IFELSE(
149062
 
+         [AC_LANG_PROGRAM(
149063
 
+            [[#include <time.h>]],
149064
 
+            [[/* We don't need to append 'restrict's to the argument types,
149065
 
+                 even though the POSIX signature has the 'restrict's,
149066
 
+                 since C99 says they can't affect type compatibility.  */
149067
 
+              struct tm * (*ptr) (time_t const *, struct tm *) = localtime_r;
149068
 
+              if (ptr) return 0;
149069
 
+              /* Check the return type is a pointer.
149070
 
+                 On HP-UX 10 it is 'int'.  */
149071
 
+              *localtime_r (0, 0);]])
149072
 
+         ],
149073
 
+         [gl_cv_time_r_posix=yes],
149074
 
+         [gl_cv_time_r_posix=no])
149075
 
+      ])
149076
 
+    if test $gl_cv_time_r_posix = yes; then
149077
 
+      REPLACE_LOCALTIME_R=0
149078
 
+    else
149079
 
+      REPLACE_LOCALTIME_R=1
149080
 
+    fi
149081
 
+  else
149082
 
+    HAVE_LOCALTIME_R=0
149083
 
+  fi
149084
 
+])
149085
 
+m4trace:m4/time_r.m4:56: -1- AC_DEFUN([gl_PREREQ_TIME_R], [
149086
 
+  :
149087
 
+])
149088
 
+m4trace:m4/timer_time.m4:9: -1- AC_DEFUN([gl_TIMER_TIME], [
149089
 
+  dnl Based on clock_time.m4. See details there.
149090
 
+
149091
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
149092
 
+
149093
 
+  LIB_TIMER_TIME=
149094
 
+  AC_SUBST([LIB_TIMER_TIME])
149095
 
+  gl_saved_libs=$LIBS
149096
 
+    AC_SEARCH_LIBS([timer_settime], [rt posix4],
149097
 
+                   [test "$ac_cv_search_timer_settime" = "none required" ||
149098
 
+                    LIB_TIMER_TIME=$ac_cv_search_timer_settime])
149099
 
+    AC_CHECK_FUNCS([timer_settime])
149100
 
+  LIBS=$gl_saved_libs
149101
 
+])
149102
 
+m4trace:m4/timespec.m4:11: -1- AC_DEFUN([gl_TIMESPEC], [
149103
 
+  dnl Prerequisites of lib/timespec.h.
149104
 
+  AC_REQUIRE([AC_C_INLINE])
149105
 
+])
149106
 
+m4trace:m4/tls.m4:9: -1- AC_DEFUN([gl_TLS], [
149107
 
+  AC_REQUIRE([gl_THREADLIB])
149108
 
+])
149109
 
+m4trace:m4/tm_gmtoff.m4:7: -1- AC_DEFUN([gl_TM_GMTOFF], [
149110
 
+ AC_CHECK_MEMBER([struct tm.tm_gmtoff],
149111
 
+                 [AC_DEFINE([HAVE_TM_GMTOFF], [1],
149112
 
+                            [Define if struct tm has the tm_gmtoff member.])],
149113
 
+                 ,
149114
 
+                 [#include <time.h>])
149115
 
+])
149116
 
+m4trace:m4/tzset.m4:17: -1- AC_DEFUN([gl_FUNC_TZSET], [])
149117
 
+m4trace:m4/tzset.m4:20: -1- AC_DEFUN([gl_FUNC_TZSET_CLOBBER], [
149118
 
+  AC_REQUIRE([gl_HEADER_SYS_TIME_H])
149119
 
+  AC_CACHE_CHECK([whether tzset clobbers localtime buffer],
149120
 
+                 gl_cv_func_tzset_clobber,
149121
 
+  [
149122
 
+  AC_RUN_IFELSE([AC_LANG_SOURCE([[
149123
 
+#include <time.h>
149124
 
+#include <stdlib.h>
149125
 
+
149126
 
+int
149127
 
+main ()
149128
 
+{
149129
 
+  time_t t1 = 853958121;
149130
 
+  struct tm *p, s;
149131
 
+  putenv ("TZ=GMT0");
149132
 
+  p = localtime (&t1);
149133
 
+  s = *p;
149134
 
+  putenv ("TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00");
149135
 
+  tzset ();
149136
 
+  return (p->tm_year != s.tm_year
149137
 
+          || p->tm_mon != s.tm_mon
149138
 
+          || p->tm_mday != s.tm_mday
149139
 
+          || p->tm_hour != s.tm_hour
149140
 
+          || p->tm_min != s.tm_min
149141
 
+          || p->tm_sec != s.tm_sec);
149142
 
+}
149143
 
+  ]])],
149144
 
+       [gl_cv_func_tzset_clobber=no],
149145
 
+       [gl_cv_func_tzset_clobber=yes],
149146
 
+       [gl_cv_func_tzset_clobber=yes])])
149147
 
+
149148
 
+  AC_DEFINE([HAVE_RUN_TZSET_TEST], [1],
149149
 
+    [Define to 1 if you have run the test for working tzset.])
149150
 
+])
149151
 
+m4trace:m4/uname.m4:7: -1- AC_DEFUN([gl_FUNC_UNAME], [
149152
 
+  AC_REQUIRE([gl_SYS_UTSNAME_H_DEFAULTS])
149153
 
+  AC_CHECK_FUNCS([uname])
149154
 
+  if test $ac_cv_func_uname = no; then
149155
 
+    HAVE_UNAME=0
149156
 
+  fi
149157
 
+])
149158
 
+m4trace:m4/uname.m4:17: -1- AC_DEFUN([gl_PREREQ_UNAME], [
149159
 
+  :
149160
 
+])
149161
 
+m4trace:m4/ungetc.m4:7: -1- AC_DEFUN_ONCE([gl_FUNC_UNGETC_WORKS], [
149162
 
+  AC_REQUIRE([AC_PROG_CC])
149163
 
+
149164
 
+  AC_CACHE_CHECK([whether ungetc works on arbitrary bytes],
149165
 
+    [gl_cv_func_ungetc_works],
149166
 
+    [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
149167
 
+#include <stdio.h>
149168
 
+      ]], [FILE *f;
149169
 
+           if (!(f = fopen ("conftest.tmp", "w+"))) return 1;
149170
 
+           if (fputs ("abc", f) < 0) return 2;
149171
 
+           rewind (f);
149172
 
+           if (fgetc (f) != 'a') return 3;
149173
 
+           if (fgetc (f) != 'b') return 4;
149174
 
+           if (ungetc ('d', f) != 'd') return 5;
149175
 
+           if (ftell (f) != 1) return 6;
149176
 
+           if (fgetc (f) != 'd') return 7;
149177
 
+           if (ftell (f) != 2) return 8;
149178
 
+           if (fseek (f, 0, SEEK_CUR) != 0) return 9;
149179
 
+           if (ftell (f) != 2) return 10;
149180
 
+           if (fgetc (f) != 'c') return 11;
149181
 
+           fclose (f); remove ("conftest.tmp");])],
149182
 
+        [gl_cv_func_ungetc_works=yes], [gl_cv_func_ungetc_works=no],
149183
 
+        [gl_cv_func_ungetc_works='guessing no'])
149184
 
+    ])
149185
 
+  if test "$gl_cv_func_ungetc_works" != yes; then
149186
 
+    AC_DEFINE([FUNC_UNGETC_BROKEN], [1],
149187
 
+      [Define to 1 if ungetc is broken when used on arbitrary bytes.])
149188
 
+  fi
149189
 
+])
149190
 
+m4trace:m4/unicodeio.m4:7: -1- AC_DEFUN([gl_UNICODEIO], [
149191
 
+  dnl No prerequisites of lib/unicodeio.c.
149192
 
+  :
149193
 
+])
149194
 
+m4trace:m4/unistd-safer.m4:7: -1- AC_DEFUN([gl_UNISTD_SAFER], [
149195
 
+  AC_CHECK_FUNCS_ONCE([pipe])
149196
 
+])
149197
 
+m4trace:m4/unistd_h.m4:9: -1- AC_DEFUN([gl_UNISTD_H], [
149198
 
+  dnl Use AC_REQUIRE here, so that the default behavior below is expanded
149199
 
+  dnl once only, before all statements that occur in other macros.
149200
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
149201
 
+  AC_REQUIRE([AC_C_INLINE])
149202
 
+
149203
 
+  gl_CHECK_NEXT_HEADERS([unistd.h])
149204
 
+  if test $ac_cv_header_unistd_h = yes; then
149205
 
+    HAVE_UNISTD_H=1
149206
 
+  else
149207
 
+    HAVE_UNISTD_H=0
149208
 
+  fi
149209
 
+  AC_SUBST([HAVE_UNISTD_H])
149210
 
+
149211
 
+  dnl Check for declarations of anything we want to poison if the
149212
 
+  dnl corresponding gnulib module is not in use.
149213
 
+  gl_WARN_ON_USE_PREPARE([[#include <unistd.h>
149214
 
+/* Some systems declare various items in the wrong headers.  */
149215
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
149216
 
+# include <fcntl.h>
149217
 
+# include <stdio.h>
149218
 
+# include <stdlib.h>
149219
 
+# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
149220
 
+#  include <io.h>
149221
 
+# endif
149222
 
+#endif
149223
 
+    ]], [chown dup2 dup3 environ euidaccess faccessat fchdir fchownat
149224
 
+    fsync ftruncate getcwd getdomainname getdtablesize getgroups
149225
 
+    gethostname getlogin getlogin_r getpagesize getusershell setusershell
149226
 
+    endusershell group_member lchown link linkat lseek pipe pipe2 pread pwrite
149227
 
+    readlink readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat
149228
 
+    usleep])
149229
 
+])
149230
 
+m4trace:m4/unistd_h.m4:44: -1- AC_DEFUN([gl_UNISTD_MODULE_INDICATOR], [
149231
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
149232
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
149233
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
149234
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
149235
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
149236
 
+])
149237
 
+m4trace:m4/unistd_h.m4:53: -1- AC_DEFUN([gl_UNISTD_H_DEFAULTS], [
149238
 
+  GNULIB_CHOWN=0;                AC_SUBST([GNULIB_CHOWN])
149239
 
+  GNULIB_CLOSE=0;                AC_SUBST([GNULIB_CLOSE])
149240
 
+  GNULIB_DUP2=0;                 AC_SUBST([GNULIB_DUP2])
149241
 
+  GNULIB_DUP3=0;                 AC_SUBST([GNULIB_DUP3])
149242
 
+  GNULIB_ENVIRON=0;              AC_SUBST([GNULIB_ENVIRON])
149243
 
+  GNULIB_EUIDACCESS=0;           AC_SUBST([GNULIB_EUIDACCESS])
149244
 
+  GNULIB_FACCESSAT=0;            AC_SUBST([GNULIB_FACCESSAT])
149245
 
+  GNULIB_FCHDIR=0;               AC_SUBST([GNULIB_FCHDIR])
149246
 
+  GNULIB_FCHOWNAT=0;             AC_SUBST([GNULIB_FCHOWNAT])
149247
 
+  GNULIB_FSYNC=0;                AC_SUBST([GNULIB_FSYNC])
149248
 
+  GNULIB_FTRUNCATE=0;            AC_SUBST([GNULIB_FTRUNCATE])
149249
 
+  GNULIB_GETCWD=0;               AC_SUBST([GNULIB_GETCWD])
149250
 
+  GNULIB_GETDOMAINNAME=0;        AC_SUBST([GNULIB_GETDOMAINNAME])
149251
 
+  GNULIB_GETDTABLESIZE=0;        AC_SUBST([GNULIB_GETDTABLESIZE])
149252
 
+  GNULIB_GETGROUPS=0;            AC_SUBST([GNULIB_GETGROUPS])
149253
 
+  GNULIB_GETHOSTNAME=0;          AC_SUBST([GNULIB_GETHOSTNAME])
149254
 
+  GNULIB_GETLOGIN=0;             AC_SUBST([GNULIB_GETLOGIN])
149255
 
+  GNULIB_GETLOGIN_R=0;           AC_SUBST([GNULIB_GETLOGIN_R])
149256
 
+  GNULIB_GETPAGESIZE=0;          AC_SUBST([GNULIB_GETPAGESIZE])
149257
 
+  GNULIB_GETUSERSHELL=0;         AC_SUBST([GNULIB_GETUSERSHELL])
149258
 
+  GNULIB_GROUP_MEMBER=0;         AC_SUBST([GNULIB_GROUP_MEMBER])
149259
 
+  GNULIB_LCHOWN=0;               AC_SUBST([GNULIB_LCHOWN])
149260
 
+  GNULIB_LINK=0;                 AC_SUBST([GNULIB_LINK])
149261
 
+  GNULIB_LINKAT=0;               AC_SUBST([GNULIB_LINKAT])
149262
 
+  GNULIB_LSEEK=0;                AC_SUBST([GNULIB_LSEEK])
149263
 
+  GNULIB_PIPE=0;                 AC_SUBST([GNULIB_PIPE])
149264
 
+  GNULIB_PIPE2=0;                AC_SUBST([GNULIB_PIPE2])
149265
 
+  GNULIB_PREAD=0;                AC_SUBST([GNULIB_PREAD])
149266
 
+  GNULIB_PWRITE=0;               AC_SUBST([GNULIB_PWRITE])
149267
 
+  GNULIB_READ=0;                 AC_SUBST([GNULIB_READ])
149268
 
+  GNULIB_READLINK=0;             AC_SUBST([GNULIB_READLINK])
149269
 
+  GNULIB_READLINKAT=0;           AC_SUBST([GNULIB_READLINKAT])
149270
 
+  GNULIB_RMDIR=0;                AC_SUBST([GNULIB_RMDIR])
149271
 
+  GNULIB_SLEEP=0;                AC_SUBST([GNULIB_SLEEP])
149272
 
+  GNULIB_SYMLINK=0;              AC_SUBST([GNULIB_SYMLINK])
149273
 
+  GNULIB_SYMLINKAT=0;            AC_SUBST([GNULIB_SYMLINKAT])
149274
 
+  GNULIB_TTYNAME_R=0;            AC_SUBST([GNULIB_TTYNAME_R])
149275
 
+  GNULIB_UNISTD_H_GETOPT=0;      AC_SUBST([GNULIB_UNISTD_H_GETOPT])
149276
 
+  GNULIB_UNISTD_H_NONBLOCKING=0; AC_SUBST([GNULIB_UNISTD_H_NONBLOCKING])
149277
 
+  GNULIB_UNISTD_H_SIGPIPE=0;     AC_SUBST([GNULIB_UNISTD_H_SIGPIPE])
149278
 
+  GNULIB_UNLINK=0;               AC_SUBST([GNULIB_UNLINK])
149279
 
+  GNULIB_UNLINKAT=0;             AC_SUBST([GNULIB_UNLINKAT])
149280
 
+  GNULIB_USLEEP=0;               AC_SUBST([GNULIB_USLEEP])
149281
 
+  GNULIB_WRITE=0;                AC_SUBST([GNULIB_WRITE])
149282
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
149283
 
+  HAVE_CHOWN=1;           AC_SUBST([HAVE_CHOWN])
149284
 
+  HAVE_DUP2=1;            AC_SUBST([HAVE_DUP2])
149285
 
+  HAVE_DUP3=1;            AC_SUBST([HAVE_DUP3])
149286
 
+  HAVE_EUIDACCESS=1;      AC_SUBST([HAVE_EUIDACCESS])
149287
 
+  HAVE_FACCESSAT=1;       AC_SUBST([HAVE_FACCESSAT])
149288
 
+  HAVE_FCHDIR=1;          AC_SUBST([HAVE_FCHDIR])
149289
 
+  HAVE_FCHOWNAT=1;        AC_SUBST([HAVE_FCHOWNAT])
149290
 
+  HAVE_FSYNC=1;           AC_SUBST([HAVE_FSYNC])
149291
 
+  HAVE_FTRUNCATE=1;       AC_SUBST([HAVE_FTRUNCATE])
149292
 
+  HAVE_GETDTABLESIZE=1;   AC_SUBST([HAVE_GETDTABLESIZE])
149293
 
+  HAVE_GETGROUPS=1;       AC_SUBST([HAVE_GETGROUPS])
149294
 
+  HAVE_GETHOSTNAME=1;     AC_SUBST([HAVE_GETHOSTNAME])
149295
 
+  HAVE_GETLOGIN=1;        AC_SUBST([HAVE_GETLOGIN])
149296
 
+  HAVE_GETPAGESIZE=1;     AC_SUBST([HAVE_GETPAGESIZE])
149297
 
+  HAVE_GROUP_MEMBER=1;    AC_SUBST([HAVE_GROUP_MEMBER])
149298
 
+  HAVE_LCHOWN=1;          AC_SUBST([HAVE_LCHOWN])
149299
 
+  HAVE_LINK=1;            AC_SUBST([HAVE_LINK])
149300
 
+  HAVE_LINKAT=1;          AC_SUBST([HAVE_LINKAT])
149301
 
+  HAVE_PIPE=1;            AC_SUBST([HAVE_PIPE])
149302
 
+  HAVE_PIPE2=1;           AC_SUBST([HAVE_PIPE2])
149303
 
+  HAVE_PREAD=1;           AC_SUBST([HAVE_PREAD])
149304
 
+  HAVE_PWRITE=1;          AC_SUBST([HAVE_PWRITE])
149305
 
+  HAVE_READLINK=1;        AC_SUBST([HAVE_READLINK])
149306
 
+  HAVE_READLINKAT=1;      AC_SUBST([HAVE_READLINKAT])
149307
 
+  HAVE_SLEEP=1;           AC_SUBST([HAVE_SLEEP])
149308
 
+  HAVE_SYMLINK=1;         AC_SUBST([HAVE_SYMLINK])
149309
 
+  HAVE_SYMLINKAT=1;       AC_SUBST([HAVE_SYMLINKAT])
149310
 
+  HAVE_UNLINKAT=1;        AC_SUBST([HAVE_UNLINKAT])
149311
 
+  HAVE_USLEEP=1;          AC_SUBST([HAVE_USLEEP])
149312
 
+  HAVE_DECL_ENVIRON=1;    AC_SUBST([HAVE_DECL_ENVIRON])
149313
 
+  HAVE_DECL_FCHDIR=1;     AC_SUBST([HAVE_DECL_FCHDIR])
149314
 
+  HAVE_DECL_GETDOMAINNAME=1; AC_SUBST([HAVE_DECL_GETDOMAINNAME])
149315
 
+  HAVE_DECL_GETLOGIN_R=1; AC_SUBST([HAVE_DECL_GETLOGIN_R])
149316
 
+  HAVE_DECL_GETPAGESIZE=1; AC_SUBST([HAVE_DECL_GETPAGESIZE])
149317
 
+  HAVE_DECL_GETUSERSHELL=1; AC_SUBST([HAVE_DECL_GETUSERSHELL])
149318
 
+  HAVE_DECL_TTYNAME_R=1;  AC_SUBST([HAVE_DECL_TTYNAME_R])
149319
 
+  HAVE_OS_H=0;            AC_SUBST([HAVE_OS_H])
149320
 
+  HAVE_SYS_PARAM_H=0;     AC_SUBST([HAVE_SYS_PARAM_H])
149321
 
+  REPLACE_CHOWN=0;        AC_SUBST([REPLACE_CHOWN])
149322
 
+  REPLACE_CLOSE=0;        AC_SUBST([REPLACE_CLOSE])
149323
 
+  REPLACE_DUP=0;          AC_SUBST([REPLACE_DUP])
149324
 
+  REPLACE_DUP2=0;         AC_SUBST([REPLACE_DUP2])
149325
 
+  REPLACE_FCHOWNAT=0;     AC_SUBST([REPLACE_FCHOWNAT])
149326
 
+  REPLACE_GETCWD=0;       AC_SUBST([REPLACE_GETCWD])
149327
 
+  REPLACE_GETDOMAINNAME=0; AC_SUBST([REPLACE_GETDOMAINNAME])
149328
 
+  REPLACE_GETLOGIN_R=0;   AC_SUBST([REPLACE_GETLOGIN_R])
149329
 
+  REPLACE_GETGROUPS=0;    AC_SUBST([REPLACE_GETGROUPS])
149330
 
+  REPLACE_GETPAGESIZE=0;  AC_SUBST([REPLACE_GETPAGESIZE])
149331
 
+  REPLACE_LCHOWN=0;       AC_SUBST([REPLACE_LCHOWN])
149332
 
+  REPLACE_LINK=0;         AC_SUBST([REPLACE_LINK])
149333
 
+  REPLACE_LINKAT=0;       AC_SUBST([REPLACE_LINKAT])
149334
 
+  REPLACE_LSEEK=0;        AC_SUBST([REPLACE_LSEEK])
149335
 
+  REPLACE_PREAD=0;        AC_SUBST([REPLACE_PREAD])
149336
 
+  REPLACE_PWRITE=0;       AC_SUBST([REPLACE_PWRITE])
149337
 
+  REPLACE_READ=0;         AC_SUBST([REPLACE_READ])
149338
 
+  REPLACE_READLINK=0;     AC_SUBST([REPLACE_READLINK])
149339
 
+  REPLACE_RMDIR=0;        AC_SUBST([REPLACE_RMDIR])
149340
 
+  REPLACE_SLEEP=0;        AC_SUBST([REPLACE_SLEEP])
149341
 
+  REPLACE_SYMLINK=0;      AC_SUBST([REPLACE_SYMLINK])
149342
 
+  REPLACE_TTYNAME_R=0;    AC_SUBST([REPLACE_TTYNAME_R])
149343
 
+  REPLACE_UNLINK=0;       AC_SUBST([REPLACE_UNLINK])
149344
 
+  REPLACE_UNLINKAT=0;     AC_SUBST([REPLACE_UNLINKAT])
149345
 
+  REPLACE_USLEEP=0;       AC_SUBST([REPLACE_USLEEP])
149346
 
+  REPLACE_WRITE=0;        AC_SUBST([REPLACE_WRITE])
149347
 
+  UNISTD_H_HAVE_WINSOCK2_H=0; AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H])
149348
 
+  UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0;
149349
 
+                           AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS])
149350
 
+])
149351
 
+m4trace:m4/unlink-busy.m4:12: -1- AC_DEFUN([gl_FUNC_UNLINK_BUSY_TEXT], [dnl
149352
 
+  AC_CACHE_CHECK([whether a running program can be unlinked],
149353
 
+    gl_cv_func_unlink_busy_text,
149354
 
+    [
149355
 
+      AC_RUN_IFELSE(
149356
 
+        [AC_LANG_SOURCE(
149357
 
+           [AC_INCLUDES_DEFAULT[
149358
 
+            int
149359
 
+            main (int argc, char **argv)
149360
 
+            {
149361
 
+              int result = 0;
149362
 
+              if (argc == 0)
149363
 
+                result |= 1;
149364
 
+              else if (unlink (argv[0]) != 0)
149365
 
+                result |= 2;
149366
 
+              return result;
149367
 
+            }]])],
149368
 
+      gl_cv_func_unlink_busy_text=yes,
149369
 
+      gl_cv_func_unlink_busy_text=no,
149370
 
+      gl_cv_func_unlink_busy_text=no
149371
 
+      )
149372
 
+    ]
149373
 
+  )
149374
 
+
149375
 
+  if test $gl_cv_func_unlink_busy_text = no; then
149376
 
+    INSTALL=$ac_install_sh
149377
 
+  fi
149378
 
+])
149379
 
+m4trace:m4/unlink.m4:7: -1- AC_DEFUN([gl_FUNC_UNLINK], [
149380
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
149381
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
149382
 
+  dnl Detect FreeBSD 7.2, AIX 7.1, Solaris 9 bug.
149383
 
+  AC_CACHE_CHECK([whether unlink honors trailing slashes],
149384
 
+    [gl_cv_func_unlink_honors_slashes],
149385
 
+    [touch conftest.file
149386
 
+     # Assume that if we have lstat, we can also check symlinks.
149387
 
+     if test $ac_cv_func_lstat = yes; then
149388
 
+       ln -s conftest.file conftest.lnk
149389
 
+     fi
149390
 
+     AC_RUN_IFELSE(
149391
 
+       [AC_LANG_PROGRAM(
149392
 
+         [[#include <unistd.h>
149393
 
+           #include <errno.h>
149394
 
+         ]],
149395
 
+         [[int result = 0;
149396
 
+           if (!unlink ("conftest.file/"))
149397
 
+             result |= 1;
149398
 
+           else if (errno != ENOTDIR)
149399
 
+             result |= 2;
149400
 
+#if HAVE_LSTAT
149401
 
+           if (!unlink ("conftest.lnk/"))
149402
 
+             result |= 4;
149403
 
+           else if (errno != ENOTDIR)
149404
 
+             result |= 8;
149405
 
+#endif
149406
 
+           return result;
149407
 
+         ]])],
149408
 
+      [gl_cv_func_unlink_honors_slashes=yes],
149409
 
+      [gl_cv_func_unlink_honors_slashes=no],
149410
 
+      [gl_cv_func_unlink_honors_slashes="guessing no"])
149411
 
+     rm -f conftest.file conftest.lnk])
149412
 
+  dnl Detect MacOS X 10.5.6 bug: On read-write HFS mounts, unlink("..") or
149413
 
+  dnl unlink("../..") succeeds without doing anything.
149414
 
+  AC_CACHE_CHECK([whether unlink of a parent directory fails as it should],
149415
 
+    [gl_cv_func_unlink_parent_fails],
149416
 
+    [case "$host_os" in
149417
 
+       darwin*)
149418
 
+         dnl Try to unlink a subdirectory of /tmp, because /tmp is usually on a
149419
 
+         dnl HFS mount on MacOS X. Use a subdirectory, owned by the current
149420
 
+         dnl user, because otherwise unlink() may fail due to permissions
149421
 
+         dnl reasons, and because when running as root we don't want to risk
149422
 
+         dnl destroying the entire /tmp.
149423
 
+         if {
149424
 
+              # Use the mktemp program if available. If not available, hide the error
149425
 
+              # message.
149426
 
+              tmp=`(umask 077 && mktemp -d /tmp/gtXXXXXX) 2>/dev/null` &&
149427
 
+              test -n "$tmp" && test -d "$tmp"
149428
 
+            } ||
149429
 
+            {
149430
 
+              # Use a simple mkdir command. It is guaranteed to fail if the directory
149431
 
+              # already exists.  $RANDOM is bash specific and expands to empty in shells
149432
 
+              # other than bash, ksh and zsh.  Its use does not increase security;
149433
 
+              # rather, it minimizes the probability of failure in a very cluttered /tmp
149434
 
+              # directory.
149435
 
+              tmp=/tmp/gt$$-$RANDOM
149436
 
+              (umask 077 && mkdir "$tmp")
149437
 
+            }; then
149438
 
+           mkdir "$tmp/subdir"
149439
 
+           GL_SUBDIR_FOR_UNLINK="$tmp/subdir"
149440
 
+           export GL_SUBDIR_FOR_UNLINK
149441
 
+           AC_RUN_IFELSE(
149442
 
+             [AC_LANG_SOURCE([[
149443
 
+                #include <stdlib.h>
149444
 
+                #include <unistd.h>
149445
 
+                int main ()
149446
 
+                {
149447
 
+                  int result = 0;
149448
 
+                  if (chdir (getenv ("GL_SUBDIR_FOR_UNLINK")) != 0)
149449
 
+                    result |= 1;
149450
 
+                  else if (unlink ("..") == 0)
149451
 
+                    result |= 2;
149452
 
+                  return result;
149453
 
+                }
149454
 
+              ]])],
149455
 
+             [gl_cv_func_unlink_parent_fails=yes],
149456
 
+             [gl_cv_func_unlink_parent_fails=no],
149457
 
+             [gl_cv_func_unlink_parent_fails="guessing no"])
149458
 
+           unset GL_SUBDIR_FOR_UNLINK
149459
 
+           rm -rf "$tmp"
149460
 
+         else
149461
 
+           gl_cv_func_unlink_parent_fails="guessing no"
149462
 
+         fi
149463
 
+         ;;
149464
 
+       *)
149465
 
+         gl_cv_func_unlink_parent_fails="guessing yes"
149466
 
+         ;;
149467
 
+     esac
149468
 
+    ])
149469
 
+  case "$gl_cv_func_unlink_parent_fails" in
149470
 
+    *no)
149471
 
+      AC_DEFINE([UNLINK_PARENT_BUG], [1],
149472
 
+        [Define to 1 if unlink() on a parent directory may succeed])
149473
 
+      ;;
149474
 
+  esac
149475
 
+  if test "$gl_cv_func_unlink_honors_slashes" != yes \
149476
 
+     || { case "$gl_cv_func_unlink_parent_fails" in
149477
 
+            *yes) false;;
149478
 
+            *no) true;;
149479
 
+          esac
149480
 
+        }; then
149481
 
+    REPLACE_UNLINK=1
149482
 
+  fi
149483
 
+])
149484
 
+m4trace:m4/unlinkdir.m4:11: -1- AC_DEFUN([gl_UNLINKDIR], [
149485
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
149486
 
+  AC_CHECK_HEADERS_ONCE([priv.h])
149487
 
+
149488
 
+  # The Hurd, the Linux kernel, the FreeBSD kernel version 2.2 and later,
149489
 
+  # Cygwin, and mingw never let anyone (even root) unlink directories.
149490
 
+  # If anyone knows of another system for which unlink can never
149491
 
+  # remove a directory, please report it to <bug-coreutils@gnu.org>.
149492
 
+  # Unfortunately this is difficult to test for, since it requires root access
149493
 
+  # and might create garbage in the file system,
149494
 
+  # so the code below simply relies on the kernel name and version number.
149495
 
+  case $host_os in
149496
 
+  gnu[[0-9]]* | \
149497
 
+  linux-* | linux | \
149498
 
+  freebsd2.2* | freebsd[[3-9]]* | freebsd[[1-9]][[0-9]]* | \
149499
 
+  cygwin | \
149500
 
+  mingw*)
149501
 
+    AC_DEFINE([UNLINK_CANNOT_UNLINK_DIR], [1],
149502
 
+      [Define to 1 if unlink (dir) cannot possibly succeed.]);;
149503
 
+  esac
149504
 
+])
149505
 
+m4trace:m4/unlocked-io.m4:17: -1- AC_DEFUN([gl_FUNC_GLIBC_UNLOCKED_IO], [
149506
 
+  AC_DEFINE([USE_UNLOCKED_IO], [1],
149507
 
+    [Define to 1 if you want getc etc. to use unlocked I/O if available.
149508
 
+     Unlocked I/O can improve performance in unithreaded apps,
149509
 
+     but it is not safe for multithreaded apps.])
149510
 
+
149511
 
+  dnl Persuade glibc and Solaris <stdio.h> to declare
149512
 
+  dnl fgets_unlocked(), fputs_unlocked() etc.
149513
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
149514
 
+
149515
 
+  AC_CHECK_DECLS_ONCE([clearerr_unlocked])
149516
 
+  AC_CHECK_DECLS_ONCE([feof_unlocked])
149517
 
+  AC_CHECK_DECLS_ONCE([ferror_unlocked])
149518
 
+  AC_CHECK_DECLS_ONCE([fflush_unlocked])
149519
 
+  AC_CHECK_DECLS_ONCE([fgets_unlocked])
149520
 
+  AC_CHECK_DECLS_ONCE([fputc_unlocked])
149521
 
+  AC_CHECK_DECLS_ONCE([fputs_unlocked])
149522
 
+  AC_CHECK_DECLS_ONCE([fread_unlocked])
149523
 
+  AC_CHECK_DECLS_ONCE([fwrite_unlocked])
149524
 
+  AC_CHECK_DECLS_ONCE([getc_unlocked])
149525
 
+  AC_CHECK_DECLS_ONCE([getchar_unlocked])
149526
 
+  AC_CHECK_DECLS_ONCE([putc_unlocked])
149527
 
+  AC_CHECK_DECLS_ONCE([putchar_unlocked])
149528
 
+])
149529
 
+m4trace:m4/uptime.m4:10: -1- AC_DEFUN([gl_SYS_PROC_UPTIME], [ dnl Require AC_PROG_CC to see if we're cross compiling.
149530
 
+  AC_REQUIRE([AC_PROG_CC])
149531
 
+  AC_CACHE_CHECK([for /proc/uptime], [gl_cv_have_proc_uptime],
149532
 
+  [gl_cv_have_proc_uptime=no
149533
 
+    test -f /proc/uptime \
149534
 
+      && test "$cross_compiling" = no \
149535
 
+      && cat < /proc/uptime >/dev/null 2>/dev/null \
149536
 
+      && gl_cv_have_proc_uptime=yes])
149537
 
+  if test $gl_cv_have_proc_uptime = yes; then
149538
 
+    AC_DEFINE([HAVE_PROC_UPTIME], [1],
149539
 
+              [  Define if your system has the /proc/uptime special file.])
149540
 
+  fi
149541
 
+])
149542
 
+m4trace:m4/userspec.m4:8: -1- AC_DEFUN([gl_USERSPEC], [
149543
 
+  AC_CHECK_HEADERS_ONCE([sys/param.h])
149544
 
+])
149545
 
+m4trace:m4/usleep.m4:9: -1- AC_DEFUN([gl_FUNC_USLEEP], [
149546
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
149547
 
+  dnl usleep was required in POSIX 2001, but dropped as obsolete in
149548
 
+  dnl POSIX 2008; therefore, it is not always exposed in headers.
149549
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
149550
 
+  AC_CHECK_FUNCS_ONCE([usleep])
149551
 
+  AC_CHECK_TYPE([useconds_t], [],
149552
 
+    [AC_DEFINE([useconds_t], [unsigned int], [Define to an unsigned 32-bit
149553
 
+      type if <sys/types.h> lacks this type.])])
149554
 
+  if test $ac_cv_func_usleep = no; then
149555
 
+    HAVE_USLEEP=0
149556
 
+  else
149557
 
+    dnl POSIX allows implementations to reject arguments larger than
149558
 
+    dnl 999999, but GNU guarantees it will work.
149559
 
+    AC_CACHE_CHECK([whether usleep allows large arguments],
149560
 
+      [gl_cv_func_usleep_works],
149561
 
+      [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
149562
 
+#include <unistd.h>
149563
 
+]], [[return !!usleep (1000000);]])],
149564
 
+        [gl_cv_func_usleep_works=yes], [gl_cv_func_usleep_works=no],
149565
 
+        [gl_cv_func_usleep_works="guessing no"])])
149566
 
+    if test "$gl_cv_func_usleep_works" != yes; then
149567
 
+      REPLACE_USLEEP=1
149568
 
+    fi
149569
 
+  fi
149570
 
+])
149571
 
+m4trace:m4/utimbuf.m4:16: -1- AC_DEFUN([gl_CHECK_TYPE_STRUCT_UTIMBUF], [
149572
 
+  AC_CHECK_HEADERS_ONCE([sys/time.h utime.h])
149573
 
+  AC_CACHE_CHECK([for struct utimbuf], [gl_cv_sys_struct_utimbuf],
149574
 
+    [AC_COMPILE_IFELSE(
149575
 
+       [AC_LANG_PROGRAM(
149576
 
+          [[#if HAVE_SYS_TIME_H
149577
 
+             #include <sys/time.h>
149578
 
+            #endif
149579
 
+            #include <time.h>
149580
 
+            #ifdef HAVE_UTIME_H
149581
 
+             #include <utime.h>
149582
 
+            #endif
149583
 
+          ]],
149584
 
+          [[static struct utimbuf x; x.actime = x.modtime;]])],
149585
 
+       [gl_cv_sys_struct_utimbuf=yes],
149586
 
+       [gl_cv_sys_struct_utimbuf=no])])
149587
 
+
149588
 
+  if test $gl_cv_sys_struct_utimbuf = yes; then
149589
 
+    AC_DEFINE([HAVE_STRUCT_UTIMBUF], [1],
149590
 
+      [Define if struct utimbuf is declared -- usually in <utime.h>.
149591
 
+       Some systems have utime.h but don't declare the struct anywhere. ])
149592
 
+  fi
149593
 
+])
149594
 
+m4trace:m4/utimecmp.m4:7: -1- AC_DEFUN([gl_UTIMECMP], [
149595
 
+  dnl Prerequisites of lib/utimecmp.c.
149596
 
+  AC_REQUIRE([gl_FUNC_UTIMES])
149597
 
+  :
149598
 
+])
149599
 
+m4trace:m4/utimens.m4:8: -1- AC_DEFUN([gl_UTIMENS], [
149600
 
+  dnl Prerequisites of lib/utimens.c.
149601
 
+  AC_REQUIRE([gl_FUNC_UTIMES])
149602
 
+  AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC])
149603
 
+  AC_REQUIRE([gl_CHECK_TYPE_STRUCT_UTIMBUF])
149604
 
+  AC_CHECK_FUNCS_ONCE([futimes futimesat futimens utimensat lutimes])
149605
 
+
149606
 
+  if test $ac_cv_func_futimens = no && test $ac_cv_func_futimesat = yes; then
149607
 
+    dnl FreeBSD 8.0-rc2 mishandles futimesat(fd,NULL,time).  It is not
149608
 
+    dnl standardized, but Solaris implemented it first and uses it as
149609
 
+    dnl its only means to set fd time.
149610
 
+    AC_CACHE_CHECK([whether futimesat handles NULL file],
149611
 
+      [gl_cv_func_futimesat_works],
149612
 
+      [touch conftest.file
149613
 
+       AC_RUN_IFELSE([AC_LANG_PROGRAM([[
149614
 
+#include <stddef.h>
149615
 
+#include <sys/times.h>
149616
 
+#include <fcntl.h>
149617
 
+]], [[    int fd = open ("conftest.file", O_RDWR);
149618
 
+          if (fd < 0) return 1;
149619
 
+          if (futimesat (fd, NULL, NULL)) return 2;
149620
 
+        ]])],
149621
 
+        [gl_cv_func_futimesat_works=yes],
149622
 
+        [gl_cv_func_futimesat_works=no],
149623
 
+        [gl_cv_func_futimesat_works="guessing no"])
149624
 
+      rm -f conftest.file])
149625
 
+    if test "$gl_cv_func_futimesat_works" != yes; then
149626
 
+      AC_DEFINE([FUTIMESAT_NULL_BUG], [1],
149627
 
+        [Define to 1 if futimesat mishandles a NULL file name.])
149628
 
+    fi
149629
 
+  fi
149630
 
+])
149631
 
+m4trace:m4/utimensat.m4:11: -1- AC_DEFUN([gl_FUNC_UTIMENSAT], [
149632
 
+  AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
149633
 
+  AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
149634
 
+  AC_CHECK_FUNCS_ONCE([utimensat])
149635
 
+  if test $ac_cv_func_utimensat = no; then
149636
 
+    HAVE_UTIMENSAT=0
149637
 
+  else
149638
 
+    AC_CACHE_CHECK([whether utimensat works],
149639
 
+      [gl_cv_func_utimensat_works],
149640
 
+      [AC_RUN_IFELSE(
149641
 
+         [AC_LANG_PROGRAM([[
149642
 
+#include <fcntl.h>
149643
 
+#include <sys/stat.h>
149644
 
+#include <unistd.h>
149645
 
+]],         [[int result = 0;
149646
 
+              const char *f = "conftest.file";
149647
 
+              if (close (creat (f, 0600)))
149648
 
+                return 1;
149649
 
+              /* Test whether the AT_SYMLINK_NOFOLLOW flag is supported.  */
149650
 
+              {
149651
 
+                if (utimensat (AT_FDCWD, f, NULL, AT_SYMLINK_NOFOLLOW))
149652
 
+                  result |= 2;
149653
 
+              }
149654
 
+              /* Test whether UTIME_NOW and UTIME_OMIT work.  */
149655
 
+              {
149656
 
+                struct timespec ts[2] = { { 1, UTIME_OMIT }, { 1, UTIME_NOW } };
149657
 
+                if (utimensat (AT_FDCWD, f, ts, 0))
149658
 
+                  result |= 4;
149659
 
+              }
149660
 
+              sleep (1);
149661
 
+              {
149662
 
+                struct timespec ts[2] = { { 1, UTIME_NOW }, { 1, UTIME_OMIT } };
149663
 
+                struct stat st;
149664
 
+                if (utimensat (AT_FDCWD, f, ts, 0))
149665
 
+                  result |= 8;
149666
 
+                if (stat (f, &st))
149667
 
+                  result |= 16;
149668
 
+                else if (st.st_ctime < st.st_atime)
149669
 
+                  result |= 32;
149670
 
+              }
149671
 
+              return result;
149672
 
+            ]])],
149673
 
+dnl FIXME: simplify this in 2012, when file system bugs are no longer common
149674
 
+         [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
149675
 
+#ifdef __linux__
149676
 
+/* The Linux kernel added utimensat in 2.6.22, but has bugs with UTIME_OMIT
149677
 
+   in several file systems as recently as 2.6.32.  Always replace utimensat
149678
 
+   to support older kernels.  */
149679
 
+choke me
149680
 
+#endif
149681
 
+      ]])],
149682
 
+           [gl_cv_func_utimensat_works=yes],
149683
 
+           [gl_cv_func_utimensat_works="needs runtime check"])],
149684
 
+         [gl_cv_func_utimensat_works=no],
149685
 
+         [gl_cv_func_utimensat_works="guessing no"])])
149686
 
+    if test "$gl_cv_func_utimensat_works" != yes; then
149687
 
+      REPLACE_UTIMENSAT=1
149688
 
+    fi
149689
 
+  fi
149690
 
+])
149691
 
+m4trace:m4/utimes.m4:21: -1- AC_DEFUN([gl_FUNC_UTIMES], [
149692
 
+  AC_CACHE_CHECK([whether the utimes function works],
149693
 
+                 [gl_cv_func_working_utimes],
149694
 
+  [
149695
 
+  AC_RUN_IFELSE([AC_LANG_SOURCE([[
149696
 
+#include <sys/types.h>
149697
 
+#include <sys/stat.h>
149698
 
+#include <fcntl.h>
149699
 
+#include <sys/time.h>
149700
 
+#include <time.h>
149701
 
+#include <unistd.h>
149702
 
+#include <stdlib.h>
149703
 
+#include <stdio.h>
149704
 
+#include <utime.h>
149705
 
+
149706
 
+static int
149707
 
+inorder (time_t a, time_t b, time_t c)
149708
 
+{
149709
 
+  return a <= b && b <= c;
149710
 
+}
149711
 
+
149712
 
+int
149713
 
+main ()
149714
 
+{
149715
 
+  int result = 0;
149716
 
+  char const *file = "conftest.utimes";
149717
 
+  static struct timeval timeval[2] = {{9, 10}, {999999, 999999}};
149718
 
+
149719
 
+  /* Test whether utimes() essentially works.  */
149720
 
+  {
149721
 
+    struct stat sbuf;
149722
 
+    FILE *f = fopen (file, "w");
149723
 
+    if (f == NULL)
149724
 
+      result |= 1;
149725
 
+    else if (fclose (f) != 0)
149726
 
+      result |= 1;
149727
 
+    else if (utimes (file, timeval) != 0)
149728
 
+      result |= 2;
149729
 
+    else if (lstat (file, &sbuf) != 0)
149730
 
+      result |= 1;
149731
 
+    else if (!(sbuf.st_atime == timeval[0].tv_sec
149732
 
+               && sbuf.st_mtime == timeval[1].tv_sec))
149733
 
+      result |= 4;
149734
 
+    if (unlink (file) != 0)
149735
 
+      result |= 1;
149736
 
+  }
149737
 
+
149738
 
+  /* Test whether utimes() with a NULL argument sets the file's timestamp
149739
 
+     to the current time.  Use 'fstat' as well as 'time' to
149740
 
+     determine the "current" time, to accommodate NFS file systems
149741
 
+     if there is a time skew between the host and the NFS server.  */
149742
 
+  {
149743
 
+    int fd = open (file, O_WRONLY|O_CREAT, 0644);
149744
 
+    if (fd < 0)
149745
 
+      result |= 1;
149746
 
+    else
149747
 
+      {
149748
 
+        time_t t0, t2;
149749
 
+        struct stat st0, st1, st2;
149750
 
+        if (time (&t0) == (time_t) -1)
149751
 
+          result |= 1;
149752
 
+        else if (fstat (fd, &st0) != 0)
149753
 
+          result |= 1;
149754
 
+        else if (utimes (file, timeval) != 0)
149755
 
+          result |= 2;
149756
 
+        else if (utimes (file, NULL) != 0)
149757
 
+          result |= 8;
149758
 
+        else if (fstat (fd, &st1) != 0)
149759
 
+          result |= 1;
149760
 
+        else if (write (fd, "\n", 1) != 1)
149761
 
+          result |= 1;
149762
 
+        else if (fstat (fd, &st2) != 0)
149763
 
+          result |= 1;
149764
 
+        else if (time (&t2) == (time_t) -1)
149765
 
+          result |= 1;
149766
 
+        else
149767
 
+          {
149768
 
+            int m_ok_POSIX = inorder (t0, st1.st_mtime, t2);
149769
 
+            int m_ok_NFS = inorder (st0.st_mtime, st1.st_mtime, st2.st_mtime);
149770
 
+            if (! (st1.st_atime == st1.st_mtime))
149771
 
+              result |= 16;
149772
 
+            if (! (m_ok_POSIX || m_ok_NFS))
149773
 
+              result |= 32;
149774
 
+          }
149775
 
+        if (close (fd) != 0)
149776
 
+          result |= 1;
149777
 
+      }
149778
 
+    if (unlink (file) != 0)
149779
 
+      result |= 1;
149780
 
+  }
149781
 
+
149782
 
+  /* Test whether utimes() with a NULL argument works on read-only files.  */
149783
 
+  {
149784
 
+    int fd = open (file, O_WRONLY|O_CREAT, 0444);
149785
 
+    if (fd < 0)
149786
 
+      result |= 1;
149787
 
+    else if (close (fd) != 0)
149788
 
+      result |= 1;
149789
 
+    else if (utimes (file, NULL) != 0)
149790
 
+      result |= 64;
149791
 
+    if (unlink (file) != 0)
149792
 
+      result |= 1;
149793
 
+  }
149794
 
+
149795
 
+  return result;
149796
 
+}
149797
 
+  ]])],
149798
 
+       [gl_cv_func_working_utimes=yes],
149799
 
+       [gl_cv_func_working_utimes=no],
149800
 
+       [gl_cv_func_working_utimes=no])])
149801
 
+
149802
 
+  if test $gl_cv_func_working_utimes = yes; then
149803
 
+    AC_DEFINE([HAVE_WORKING_UTIMES], [1], [Define if utimes works properly. ])
149804
 
+  fi
149805
 
+])
149806
 
+m4trace:m4/vasnprintf.m4:7: -1- AC_DEFUN([gl_FUNC_VASNPRINTF], [
149807
 
+  AC_CHECK_FUNCS_ONCE([vasnprintf])
149808
 
+  if test $ac_cv_func_vasnprintf = no; then
149809
 
+    gl_REPLACE_VASNPRINTF
149810
 
+  fi
149811
 
+])
149812
 
+m4trace:m4/vasnprintf.m4:15: -1- AC_DEFUN([gl_REPLACE_VASNPRINTF], [
149813
 
+  AC_CHECK_FUNCS_ONCE([vasnprintf])
149814
 
+  AC_LIBOBJ([vasnprintf])
149815
 
+  AC_LIBOBJ([printf-args])
149816
 
+  AC_LIBOBJ([printf-parse])
149817
 
+  AC_LIBOBJ([asnprintf])
149818
 
+  if test $ac_cv_func_vasnprintf = yes; then
149819
 
+    AC_DEFINE([REPLACE_VASNPRINTF], [1],
149820
 
+      [Define if vasnprintf exists but is overridden by gnulib.])
149821
 
+  fi
149822
 
+  gl_PREREQ_PRINTF_ARGS
149823
 
+  gl_PREREQ_PRINTF_PARSE
149824
 
+  gl_PREREQ_VASNPRINTF
149825
 
+  gl_PREREQ_ASNPRINTF
149826
 
+])
149827
 
+m4trace:m4/vasnprintf.m4:33: -1- AC_DEFUN([gl_PREREQ_PRINTF_ARGS], [
149828
 
+  AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
149829
 
+  AC_REQUIRE([gt_TYPE_WCHAR_T])
149830
 
+  AC_REQUIRE([gt_TYPE_WINT_T])
149831
 
+])
149832
 
+m4trace:m4/vasnprintf.m4:41: -1- AC_DEFUN([gl_PREREQ_PRINTF_PARSE], [
149833
 
+  AC_REQUIRE([gl_FEATURES_H])
149834
 
+  AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
149835
 
+  AC_REQUIRE([gt_TYPE_WCHAR_T])
149836
 
+  AC_REQUIRE([gt_TYPE_WINT_T])
149837
 
+  AC_REQUIRE([AC_TYPE_SIZE_T])
149838
 
+  AC_CHECK_TYPE([ptrdiff_t], ,
149839
 
+    [AC_DEFINE([ptrdiff_t], [long],
149840
 
+       [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
149841
 
+    ])
149842
 
+  AC_REQUIRE([gt_AC_TYPE_INTMAX_T])
149843
 
+])
149844
 
+m4trace:m4/vasnprintf.m4:56: -1- AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF], [
149845
 
+  AC_REQUIRE([AC_C_INLINE])
149846
 
+  AC_REQUIRE([AC_FUNC_ALLOCA])
149847
 
+  AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
149848
 
+  AC_REQUIRE([gt_TYPE_WCHAR_T])
149849
 
+  AC_REQUIRE([gt_TYPE_WINT_T])
149850
 
+  AC_CHECK_FUNCS([snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb])
149851
 
+  dnl Use the _snprintf function only if it is declared (because on NetBSD it
149852
 
+  dnl is defined as a weak alias of snprintf; we prefer to use the latter).
149853
 
+  AC_CHECK_DECLS([_snprintf], , , [#include <stdio.h>])
149854
 
+  dnl We can avoid a lot of code by assuming that snprintf's return value
149855
 
+  dnl conforms to ISO C99. So check that.
149856
 
+  AC_REQUIRE([gl_SNPRINTF_RETVAL_C99])
149857
 
+  case "$gl_cv_func_snprintf_retval_c99" in
149858
 
+    *yes)
149859
 
+      AC_DEFINE([HAVE_SNPRINTF_RETVAL_C99], [1],
149860
 
+        [Define if the return value of the snprintf function is the number of
149861
 
+         of bytes (excluding the terminating NUL) that would have been produced
149862
 
+         if the buffer had been large enough.])
149863
 
+      ;;
149864
 
+  esac
149865
 
+])
149866
 
+m4trace:m4/vasnprintf.m4:82: -1- AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF_LONG_DOUBLE], [
149867
 
+  AC_REQUIRE([gl_PRINTF_LONG_DOUBLE])
149868
 
+  case "$gl_cv_func_printf_long_double" in
149869
 
+    *yes)
149870
 
+      ;;
149871
 
+    *)
149872
 
+      AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1],
149873
 
+        [Define if the vasnprintf implementation needs special code for
149874
 
+         'long double' arguments.])
149875
 
+      ;;
149876
 
+  esac
149877
 
+])
149878
 
+m4trace:m4/vasnprintf.m4:98: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE], [
149879
 
+  AC_REQUIRE([gl_PRINTF_INFINITE])
149880
 
+  case "$gl_cv_func_printf_infinite" in
149881
 
+    *yes)
149882
 
+      ;;
149883
 
+    *)
149884
 
+      AC_DEFINE([NEED_PRINTF_INFINITE_DOUBLE], [1],
149885
 
+        [Define if the vasnprintf implementation needs special code for
149886
 
+         infinite 'double' arguments.])
149887
 
+      ;;
149888
 
+  esac
149889
 
+])
149890
 
+m4trace:m4/vasnprintf.m4:114: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE], [
149891
 
+  AC_REQUIRE([gl_PRINTF_INFINITE_LONG_DOUBLE])
149892
 
+  dnl There is no need to set NEED_PRINTF_INFINITE_LONG_DOUBLE if
149893
 
+  dnl NEED_PRINTF_LONG_DOUBLE is already set.
149894
 
+  AC_REQUIRE([gl_PREREQ_VASNPRINTF_LONG_DOUBLE])
149895
 
+  case "$gl_cv_func_printf_long_double" in
149896
 
+    *yes)
149897
 
+      case "$gl_cv_func_printf_infinite_long_double" in
149898
 
+        *yes)
149899
 
+          ;;
149900
 
+        *)
149901
 
+          AC_DEFINE([NEED_PRINTF_INFINITE_LONG_DOUBLE], [1],
149902
 
+            [Define if the vasnprintf implementation needs special code for
149903
 
+             infinite 'long double' arguments.])
149904
 
+          ;;
149905
 
+      esac
149906
 
+      ;;
149907
 
+  esac
149908
 
+])
149909
 
+m4trace:m4/vasnprintf.m4:136: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_A], [
149910
 
+  AC_REQUIRE([gl_PRINTF_DIRECTIVE_A])
149911
 
+  case "$gl_cv_func_printf_directive_a" in
149912
 
+    *yes)
149913
 
+      ;;
149914
 
+    *)
149915
 
+      AC_DEFINE([NEED_PRINTF_DIRECTIVE_A], [1],
149916
 
+        [Define if the vasnprintf implementation needs special code for
149917
 
+         the 'a' and 'A' directives.])
149918
 
+      AC_CHECK_FUNCS([nl_langinfo])
149919
 
+      ;;
149920
 
+  esac
149921
 
+])
149922
 
+m4trace:m4/vasnprintf.m4:152: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_F], [
149923
 
+  AC_REQUIRE([gl_PRINTF_DIRECTIVE_F])
149924
 
+  case "$gl_cv_func_printf_directive_f" in
149925
 
+    *yes)
149926
 
+      ;;
149927
 
+    *)
149928
 
+      AC_DEFINE([NEED_PRINTF_DIRECTIVE_F], [1],
149929
 
+        [Define if the vasnprintf implementation needs special code for
149930
 
+         the 'F' directive.])
149931
 
+      ;;
149932
 
+  esac
149933
 
+])
149934
 
+m4trace:m4/vasnprintf.m4:167: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_LS], [
149935
 
+  AC_REQUIRE([gl_PRINTF_DIRECTIVE_LS])
149936
 
+  case "$gl_cv_func_printf_directive_ls" in
149937
 
+    *yes)
149938
 
+      ;;
149939
 
+    *)
149940
 
+      AC_DEFINE([NEED_PRINTF_DIRECTIVE_LS], [1],
149941
 
+        [Define if the vasnprintf implementation needs special code for
149942
 
+         the 'ls' directive.])
149943
 
+      ;;
149944
 
+  esac
149945
 
+])
149946
 
+m4trace:m4/vasnprintf.m4:182: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_GROUPING], [
149947
 
+  AC_REQUIRE([gl_PRINTF_FLAG_GROUPING])
149948
 
+  case "$gl_cv_func_printf_flag_grouping" in
149949
 
+    *yes)
149950
 
+      ;;
149951
 
+    *)
149952
 
+      AC_DEFINE([NEED_PRINTF_FLAG_GROUPING], [1],
149953
 
+        [Define if the vasnprintf implementation needs special code for the
149954
 
+         ' flag.])
149955
 
+      ;;
149956
 
+  esac
149957
 
+])
149958
 
+m4trace:m4/vasnprintf.m4:197: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST], [
149959
 
+  AC_REQUIRE([gl_PRINTF_FLAG_LEFTADJUST])
149960
 
+  case "$gl_cv_func_printf_flag_leftadjust" in
149961
 
+    *yes)
149962
 
+      ;;
149963
 
+    *)
149964
 
+      AC_DEFINE([NEED_PRINTF_FLAG_LEFTADJUST], [1],
149965
 
+        [Define if the vasnprintf implementation needs special code for the
149966
 
+         '-' flag.])
149967
 
+      ;;
149968
 
+  esac
149969
 
+])
149970
 
+m4trace:m4/vasnprintf.m4:212: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_ZERO], [
149971
 
+  AC_REQUIRE([gl_PRINTF_FLAG_ZERO])
149972
 
+  case "$gl_cv_func_printf_flag_zero" in
149973
 
+    *yes)
149974
 
+      ;;
149975
 
+    *)
149976
 
+      AC_DEFINE([NEED_PRINTF_FLAG_ZERO], [1],
149977
 
+        [Define if the vasnprintf implementation needs special code for the
149978
 
+         0 flag.])
149979
 
+      ;;
149980
 
+  esac
149981
 
+])
149982
 
+m4trace:m4/vasnprintf.m4:227: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_PRECISION], [
149983
 
+  AC_REQUIRE([gl_PRINTF_PRECISION])
149984
 
+  case "$gl_cv_func_printf_precision" in
149985
 
+    *yes)
149986
 
+      ;;
149987
 
+    *)
149988
 
+      AC_DEFINE([NEED_PRINTF_UNBOUNDED_PRECISION], [1],
149989
 
+        [Define if the vasnprintf implementation needs special code for
149990
 
+         supporting large precisions without arbitrary bounds.])
149991
 
+      AC_DEFINE([NEED_PRINTF_DOUBLE], [1],
149992
 
+        [Define if the vasnprintf implementation needs special code for
149993
 
+         'double' arguments.])
149994
 
+      AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1],
149995
 
+        [Define if the vasnprintf implementation needs special code for
149996
 
+         'long double' arguments.])
149997
 
+      ;;
149998
 
+  esac
149999
 
+])
150000
 
+m4trace:m4/vasnprintf.m4:249: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_ENOMEM], [
150001
 
+  AC_REQUIRE([gl_PRINTF_ENOMEM])
150002
 
+  case "$gl_cv_func_printf_enomem" in
150003
 
+    *yes)
150004
 
+      ;;
150005
 
+    *)
150006
 
+      AC_DEFINE([NEED_PRINTF_ENOMEM], [1],
150007
 
+        [Define if the vasnprintf implementation needs special code for
150008
 
+         surviving out-of-memory conditions.])
150009
 
+      AC_DEFINE([NEED_PRINTF_DOUBLE], [1],
150010
 
+        [Define if the vasnprintf implementation needs special code for
150011
 
+         'double' arguments.])
150012
 
+      AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1],
150013
 
+        [Define if the vasnprintf implementation needs special code for
150014
 
+         'long double' arguments.])
150015
 
+      ;;
150016
 
+  esac
150017
 
+])
150018
 
+m4trace:m4/vasnprintf.m4:270: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_WITH_EXTRAS], [
150019
 
+  AC_REQUIRE([gl_PREREQ_VASNPRINTF])
150020
 
+  gl_PREREQ_VASNPRINTF_LONG_DOUBLE
150021
 
+  gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE
150022
 
+  gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE
150023
 
+  gl_PREREQ_VASNPRINTF_DIRECTIVE_A
150024
 
+  gl_PREREQ_VASNPRINTF_DIRECTIVE_F
150025
 
+  gl_PREREQ_VASNPRINTF_DIRECTIVE_LS
150026
 
+  gl_PREREQ_VASNPRINTF_FLAG_GROUPING
150027
 
+  gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST
150028
 
+  gl_PREREQ_VASNPRINTF_FLAG_ZERO
150029
 
+  gl_PREREQ_VASNPRINTF_PRECISION
150030
 
+  gl_PREREQ_VASNPRINTF_ENOMEM
150031
 
+])
150032
 
+m4trace:m4/vasnprintf.m4:287: -1- AC_DEFUN([gl_PREREQ_ASNPRINTF], [
150033
 
+])
150034
 
+m4trace:m4/vasprintf-posix.m4:7: -1- AC_DEFUN([gl_FUNC_VASPRINTF_POSIX], [
150035
 
+  AC_REQUIRE([gl_PRINTF_SIZES_C99])
150036
 
+  AC_REQUIRE([gl_PRINTF_LONG_DOUBLE])
150037
 
+  AC_REQUIRE([gl_PRINTF_INFINITE])
150038
 
+  AC_REQUIRE([gl_PRINTF_INFINITE_LONG_DOUBLE])
150039
 
+  AC_REQUIRE([gl_PRINTF_DIRECTIVE_A])
150040
 
+  AC_REQUIRE([gl_PRINTF_DIRECTIVE_F])
150041
 
+  AC_REQUIRE([gl_PRINTF_DIRECTIVE_N])
150042
 
+  AC_REQUIRE([gl_PRINTF_DIRECTIVE_LS])
150043
 
+  AC_REQUIRE([gl_PRINTF_POSITIONS])
150044
 
+  AC_REQUIRE([gl_PRINTF_FLAG_GROUPING])
150045
 
+  AC_REQUIRE([gl_PRINTF_FLAG_LEFTADJUST])
150046
 
+  AC_REQUIRE([gl_PRINTF_FLAG_ZERO])
150047
 
+  AC_REQUIRE([gl_PRINTF_PRECISION])
150048
 
+  AC_REQUIRE([gl_PRINTF_ENOMEM])
150049
 
+  gl_cv_func_vasprintf_posix=no
150050
 
+  AC_CHECK_FUNCS([vasprintf])
150051
 
+  case "$gl_cv_func_printf_sizes_c99" in
150052
 
+    *yes)
150053
 
+      case "$gl_cv_func_printf_long_double" in
150054
 
+        *yes)
150055
 
+          case "$gl_cv_func_printf_infinite" in
150056
 
+            *yes)
150057
 
+              case "$gl_cv_func_printf_infinite_long_double" in
150058
 
+                *yes)
150059
 
+                  case "$gl_cv_func_printf_directive_a" in
150060
 
+                    *yes)
150061
 
+                      case "$gl_cv_func_printf_directive_f" in
150062
 
+                        *yes)
150063
 
+                          case "$gl_cv_func_printf_directive_n" in
150064
 
+                            *yes)
150065
 
+                              case "$gl_cv_func_printf_directive_ls" in
150066
 
+                                *yes)
150067
 
+                                  case "$gl_cv_func_printf_positions" in
150068
 
+                                    *yes)
150069
 
+                                      case "$gl_cv_func_printf_flag_grouping" in
150070
 
+                                        *yes)
150071
 
+                                          case "$gl_cv_func_printf_flag_leftadjust" in
150072
 
+                                            *yes)
150073
 
+                                              case "$gl_cv_func_printf_flag_zero" in
150074
 
+                                                *yes)
150075
 
+                                                  case "$gl_cv_func_printf_precision" in
150076
 
+                                                    *yes)
150077
 
+                                                      case "$gl_cv_func_printf_enomem" in
150078
 
+                                                        *yes)
150079
 
+                                                          if test $ac_cv_func_vasprintf = yes; then
150080
 
+                                                            # vasprintf exists and is
150081
 
+                                                            # already POSIX compliant.
150082
 
+                                                            gl_cv_func_vasprintf_posix=yes
150083
 
+                                                          fi
150084
 
+                                                          ;;
150085
 
+                                                      esac
150086
 
+                                                      ;;
150087
 
+                                                  esac
150088
 
+                                                  ;;
150089
 
+                                              esac
150090
 
+                                              ;;
150091
 
+                                          esac
150092
 
+                                          ;;
150093
 
+                                      esac
150094
 
+                                      ;;
150095
 
+                                  esac
150096
 
+                                  ;;
150097
 
+                              esac
150098
 
+                              ;;
150099
 
+                          esac
150100
 
+                          ;;
150101
 
+                      esac
150102
 
+                      ;;
150103
 
+                  esac
150104
 
+                  ;;
150105
 
+              esac
150106
 
+              ;;
150107
 
+          esac
150108
 
+          ;;
150109
 
+      esac
150110
 
+      ;;
150111
 
+  esac
150112
 
+  if test $gl_cv_func_vasprintf_posix = no; then
150113
 
+    gl_PREREQ_VASNPRINTF_LONG_DOUBLE
150114
 
+    gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE
150115
 
+    gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE
150116
 
+    gl_PREREQ_VASNPRINTF_DIRECTIVE_A
150117
 
+    gl_PREREQ_VASNPRINTF_DIRECTIVE_F
150118
 
+    gl_PREREQ_VASNPRINTF_DIRECTIVE_LS
150119
 
+    gl_PREREQ_VASNPRINTF_FLAG_GROUPING
150120
 
+    gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST
150121
 
+    gl_PREREQ_VASNPRINTF_FLAG_ZERO
150122
 
+    gl_PREREQ_VASNPRINTF_PRECISION
150123
 
+    gl_PREREQ_VASNPRINTF_ENOMEM
150124
 
+    gl_REPLACE_VASNPRINTF
150125
 
+    gl_REPLACE_VASPRINTF
150126
 
+  fi
150127
 
+])
150128
 
+m4trace:m4/vasprintf.m4:8: -1- AC_DEFUN([gl_FUNC_VASPRINTF], [
150129
 
+  AC_CHECK_FUNCS([vasprintf])
150130
 
+  if test $ac_cv_func_vasprintf = no; then
150131
 
+    gl_REPLACE_VASPRINTF
150132
 
+  fi
150133
 
+])
150134
 
+m4trace:m4/vasprintf.m4:16: -1- AC_DEFUN([gl_REPLACE_VASPRINTF], [
150135
 
+  AC_LIBOBJ([vasprintf])
150136
 
+  AC_LIBOBJ([asprintf])
150137
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
150138
 
+  if test $ac_cv_func_vasprintf = yes; then
150139
 
+    REPLACE_VASPRINTF=1
150140
 
+  else
150141
 
+    HAVE_VASPRINTF=0
150142
 
+  fi
150143
 
+  gl_PREREQ_VASPRINTF_H
150144
 
+  gl_PREREQ_VASPRINTF
150145
 
+  gl_PREREQ_ASPRINTF
150146
 
+])
150147
 
+m4trace:m4/vasprintf.m4:32: -1- AC_DEFUN([gl_PREREQ_VASPRINTF_H], [
150148
 
+  dnl Persuade glibc <stdio.h> to declare asprintf() and vasprintf().
150149
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
150150
 
+])
150151
 
+m4trace:m4/vasprintf.m4:39: -1- AC_DEFUN([gl_PREREQ_VASPRINTF], [
150152
 
+])
150153
 
+m4trace:m4/vasprintf.m4:44: -1- AC_DEFUN([gl_PREREQ_ASPRINTF], [
150154
 
+])
150155
 
+m4trace:m4/version-etc.m4:20: -1- AC_DEFUN([gl_VERSION_ETC], [dnl
150156
 
+  gl_VERSION_ETC_FLAG([packager],
150157
 
+                      [String identifying the packager of this software])
150158
 
+  gl_VERSION_ETC_FLAG([packager-version],
150159
 
+                      [Packager-specific version information])
150160
 
+  gl_VERSION_ETC_FLAG([packager-bug-reports],
150161
 
+                      [Packager info for bug reports (URL/e-mail/...)])
150162
 
+  if test "X$with_packager" = "X" && \
150163
 
+     test "X$with_packager_version$with_packager_bug_reports" != "X"
150164
 
+  then
150165
 
+    AC_MSG_ERROR([The --with-packager-{bug-reports,version} options require --with-packager])
150166
 
+  fi
150167
 
+])
150168
 
+m4trace:m4/vfprintf-posix.m4:7: -1- AC_DEFUN([gl_FUNC_VFPRINTF_POSIX], [
150169
 
+  AC_REQUIRE([gl_PRINTF_SIZES_C99])
150170
 
+  AC_REQUIRE([gl_PRINTF_LONG_DOUBLE])
150171
 
+  AC_REQUIRE([gl_PRINTF_INFINITE])
150172
 
+  AC_REQUIRE([gl_PRINTF_INFINITE_LONG_DOUBLE])
150173
 
+  AC_REQUIRE([gl_PRINTF_DIRECTIVE_A])
150174
 
+  AC_REQUIRE([gl_PRINTF_DIRECTIVE_F])
150175
 
+  AC_REQUIRE([gl_PRINTF_DIRECTIVE_N])
150176
 
+  AC_REQUIRE([gl_PRINTF_DIRECTIVE_LS])
150177
 
+  AC_REQUIRE([gl_PRINTF_POSITIONS])
150178
 
+  AC_REQUIRE([gl_PRINTF_FLAG_GROUPING])
150179
 
+  AC_REQUIRE([gl_PRINTF_FLAG_LEFTADJUST])
150180
 
+  AC_REQUIRE([gl_PRINTF_FLAG_ZERO])
150181
 
+  AC_REQUIRE([gl_PRINTF_PRECISION])
150182
 
+  AC_REQUIRE([gl_PRINTF_ENOMEM])
150183
 
+  gl_cv_func_vfprintf_posix=no
150184
 
+  case "$gl_cv_func_printf_sizes_c99" in
150185
 
+    *yes)
150186
 
+      case "$gl_cv_func_printf_long_double" in
150187
 
+        *yes)
150188
 
+          case "$gl_cv_func_printf_infinite" in
150189
 
+            *yes)
150190
 
+              case "$gl_cv_func_printf_infinite_long_double" in
150191
 
+                *yes)
150192
 
+                  case "$gl_cv_func_printf_directive_a" in
150193
 
+                    *yes)
150194
 
+                      case "$gl_cv_func_printf_directive_f" in
150195
 
+                        *yes)
150196
 
+                          case "$gl_cv_func_printf_directive_n" in
150197
 
+                            *yes)
150198
 
+                              case "$gl_cv_func_printf_directive_ls" in
150199
 
+                                *yes)
150200
 
+                                  case "$gl_cv_func_printf_positions" in
150201
 
+                                    *yes)
150202
 
+                                      case "$gl_cv_func_printf_flag_grouping" in
150203
 
+                                        *yes)
150204
 
+                                          case "$gl_cv_func_printf_flag_leftadjust" in
150205
 
+                                            *yes)
150206
 
+                                              case "$gl_cv_func_printf_flag_zero" in
150207
 
+                                                *yes)
150208
 
+                                                  case "$gl_cv_func_printf_precision" in
150209
 
+                                                    *yes)
150210
 
+                                                      case "$gl_cv_func_printf_enomem" in
150211
 
+                                                        *yes)
150212
 
+                                                          # vfprintf exists and is
150213
 
+                                                          # already POSIX compliant.
150214
 
+                                                          gl_cv_func_vfprintf_posix=yes
150215
 
+                                                          ;;
150216
 
+                                                      esac
150217
 
+                                                      ;;
150218
 
+                                                  esac
150219
 
+                                                  ;;
150220
 
+                                              esac
150221
 
+                                              ;;
150222
 
+                                          esac
150223
 
+                                          ;;
150224
 
+                                      esac
150225
 
+                                      ;;
150226
 
+                                  esac
150227
 
+                                  ;;
150228
 
+                              esac
150229
 
+                              ;;
150230
 
+                          esac
150231
 
+                          ;;
150232
 
+                      esac
150233
 
+                      ;;
150234
 
+                  esac
150235
 
+                  ;;
150236
 
+              esac
150237
 
+              ;;
150238
 
+          esac
150239
 
+          ;;
150240
 
+      esac
150241
 
+      ;;
150242
 
+  esac
150243
 
+  if test $gl_cv_func_vfprintf_posix = no; then
150244
 
+    gl_PREREQ_VASNPRINTF_LONG_DOUBLE
150245
 
+    gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE
150246
 
+    gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE
150247
 
+    gl_PREREQ_VASNPRINTF_DIRECTIVE_A
150248
 
+    gl_PREREQ_VASNPRINTF_DIRECTIVE_F
150249
 
+    gl_PREREQ_VASNPRINTF_DIRECTIVE_LS
150250
 
+    gl_PREREQ_VASNPRINTF_FLAG_GROUPING
150251
 
+    gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST
150252
 
+    gl_PREREQ_VASNPRINTF_FLAG_ZERO
150253
 
+    gl_PREREQ_VASNPRINTF_PRECISION
150254
 
+    gl_PREREQ_VASNPRINTF_ENOMEM
150255
 
+    gl_REPLACE_VASNPRINTF
150256
 
+    gl_REPLACE_VFPRINTF
150257
 
+  fi
150258
 
+])
150259
 
+m4trace:m4/vfprintf-posix.m4:100: -1- AC_DEFUN([gl_REPLACE_VFPRINTF], [
150260
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
150261
 
+  AC_LIBOBJ([vfprintf])
150262
 
+  REPLACE_VFPRINTF=1
150263
 
+  AC_DEFINE([REPLACE_VFPRINTF_POSIX], [1],
150264
 
+    [Define if vfprintf is overridden by a POSIX compliant gnulib implementation.])
150265
 
+  gl_PREREQ_VFPRINTF
150266
 
+])
150267
 
+m4trace:m4/vfprintf-posix.m4:110: -1- AC_DEFUN([gl_PREREQ_VFPRINTF], [:])
150268
 
+m4trace:m4/vprintf-posix.m4:7: -1- AC_DEFUN([gl_FUNC_VPRINTF_POSIX], [
150269
 
+  AC_REQUIRE([gl_FUNC_VFPRINTF_POSIX])
150270
 
+  if test $gl_cv_func_vfprintf_posix = no; then
150271
 
+    gl_REPLACE_VPRINTF
150272
 
+  fi
150273
 
+])
150274
 
+m4trace:m4/vprintf-posix.m4:15: -1- AC_DEFUN([gl_REPLACE_VPRINTF], [
150275
 
+  AC_REQUIRE([gl_STDIO_H_DEFAULTS])
150276
 
+  AC_LIBOBJ([vprintf])
150277
 
+  REPLACE_VPRINTF=1
150278
 
+  AC_DEFINE([REPLACE_VPRINTF_POSIX], [1],
150279
 
+    [Define if vprintf is overridden by a POSIX compliant gnulib implementation.])
150280
 
+  gl_PREREQ_VPRINTF
150281
 
+])
150282
 
+m4trace:m4/vprintf-posix.m4:25: -1- AC_DEFUN([gl_PREREQ_VPRINTF], [:])
150283
 
+m4trace:m4/warn-on-use.m4:24: -1- AC_DEFUN([gl_WARN_ON_USE_PREPARE], [
150284
 
+  m4_foreach_w([gl_decl], [$2],
150285
 
+    [AH_TEMPLATE([HAVE_RAW_DECL_]AS_TR_CPP(m4_defn([gl_decl])),
150286
 
+      [Define to 1 if ]m4_defn([gl_decl])[ is declared even after
150287
 
+       undefining macros.])])dnl
150288
 
+dnl FIXME: gl_Symbol must be used unquoted until we can assume
150289
 
+dnl autoconf 2.64 or newer.
150290
 
+  for gl_func in m4_flatten([$2]); do
150291
 
+    AS_VAR_PUSHDEF([gl_Symbol], [gl_cv_have_raw_decl_$gl_func])dnl
150292
 
+    AC_CACHE_CHECK([whether $gl_func is declared without a macro],
150293
 
+      gl_Symbol,
150294
 
+      [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$1],
150295
 
+[@%:@undef $gl_func
150296
 
+  (void) $gl_func;])],
150297
 
+        [AS_VAR_SET(gl_Symbol, [yes])], [AS_VAR_SET(gl_Symbol, [no])])])
150298
 
+    AS_VAR_IF(gl_Symbol, [yes],
150299
 
+      [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_RAW_DECL_$gl_func]), [1])
150300
 
+       dnl shortcut - if the raw declaration exists, then set a cache
150301
 
+       dnl variable to allow skipping any later AC_CHECK_DECL efforts
150302
 
+       eval ac_cv_have_decl_$gl_func=yes])
150303
 
+    AS_VAR_POPDEF([gl_Symbol])dnl
150304
 
+  done
150305
 
+])
150306
 
+m4trace:m4/warnings.m4:21: -1- AC_DEFUN([gl_WARN_ADD], [AS_VAR_PUSHDEF([gl_Warn], [gl_cv_warn_$1])dnl
150307
 
+AC_CACHE_CHECK([whether compiler handles $1], m4_defn([gl_Warn]), [
150308
 
+  gl_save_CPPFLAGS="$CPPFLAGS"
150309
 
+  CPPFLAGS="${CPPFLAGS} $1"
150310
 
+  AC_PREPROC_IFELSE([AC_LANG_PROGRAM([])],
150311
 
+                    [AS_VAR_SET(gl_Warn, [yes])],
150312
 
+                    [AS_VAR_SET(gl_Warn, [no])])
150313
 
+  CPPFLAGS="$gl_save_CPPFLAGS"
150314
 
+])
150315
 
+AS_VAR_IF(gl_Warn, [yes],
150316
 
+  [gl_AS_VAR_APPEND(m4_if([$2], [], [[WARN_CFLAGS]], [[$2]]), [" $1"])])
150317
 
+AS_VAR_POPDEF([gl_Warn])dnl
150318
 
+m4_ifval([$2], [AS_LITERAL_IF([$2], [AC_SUBST([$2])], [])])dnl
150319
 
+])
150320
 
+m4trace:m4/wchar_h.m4:12: -1- AC_DEFUN([gl_WCHAR_H], [
150321
 
+  AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
150322
 
+  AC_REQUIRE([gl_WCHAR_H_INLINE_OK])
150323
 
+  dnl Prepare for creating substitute <wchar.h>.
150324
 
+  dnl Check for <wchar.h> (missing in Linux uClibc when built without wide
150325
 
+  dnl character support).
150326
 
+  dnl <wchar.h> is always overridden, because of GNULIB_POSIXCHECK.
150327
 
+  gl_CHECK_NEXT_HEADERS([wchar.h])
150328
 
+  if test $ac_cv_header_wchar_h = yes; then
150329
 
+    HAVE_WCHAR_H=1
150330
 
+  else
150331
 
+    HAVE_WCHAR_H=0
150332
 
+  fi
150333
 
+  AC_SUBST([HAVE_WCHAR_H])
150334
 
+
150335
 
+  AC_REQUIRE([gl_FEATURES_H])
150336
 
+
150337
 
+  AC_REQUIRE([gt_TYPE_WINT_T])
150338
 
+  if test $gt_cv_c_wint_t = yes; then
150339
 
+    HAVE_WINT_T=1
150340
 
+  else
150341
 
+    HAVE_WINT_T=0
150342
 
+  fi
150343
 
+  AC_SUBST([HAVE_WINT_T])
150344
 
+
150345
 
+  dnl Check for declarations of anything we want to poison if the
150346
 
+  dnl corresponding gnulib module is not in use.
150347
 
+  gl_WARN_ON_USE_PREPARE([[
150348
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
150349
 
+   <wchar.h>.
150350
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
150351
 
+   included before <wchar.h>.  */
150352
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
150353
 
+# include <stddef.h>
150354
 
+# include <stdio.h>
150355
 
+# include <time.h>
150356
 
+#endif
150357
 
+#include <wchar.h>
150358
 
+    ]],
150359
 
+    [btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb
150360
 
+     wcsrtombs wcsnrtombs wcwidth wmemchr wmemcmp wmemcpy wmemmove wmemset
150361
 
+     wcslen wcsnlen wcscpy wcpcpy wcsncpy wcpncpy wcscat wcsncat wcscmp
150362
 
+     wcsncmp wcscasecmp wcsncasecmp wcscoll wcsxfrm wcsdup wcschr wcsrchr
150363
 
+     wcscspn wcsspn wcspbrk wcsstr wcstok wcswidth
150364
 
+    ])
150365
 
+])
150366
 
+m4trace:m4/wchar_h.m4:61: -1- AC_DEFUN([gl_WCHAR_H_INLINE_OK], [
150367
 
+  dnl Test whether <wchar.h> suffers due to the transition from '__inline' to
150368
 
+  dnl 'gnu_inline'. See <http://sourceware.org/bugzilla/show_bug.cgi?id=4022>
150369
 
+  dnl and <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42440>. In summary,
150370
 
+  dnl glibc version 2.5 or older, together with gcc version 4.3 or newer and
150371
 
+  dnl the option -std=c99 or -std=gnu99, leads to a broken <wchar.h>.
150372
 
+  AC_CACHE_CHECK([whether <wchar.h> uses 'inline' correctly],
150373
 
+    [gl_cv_header_wchar_h_correct_inline],
150374
 
+    [gl_cv_header_wchar_h_correct_inline=yes
150375
 
+     AC_LANG_CONFTEST([
150376
 
+       AC_LANG_SOURCE([[#define wcstod renamed_wcstod
150377
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
150378
 
+   <wchar.h>.
150379
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
150380
 
+   included before <wchar.h>.  */
150381
 
+#include <stddef.h>
150382
 
+#include <stdio.h>
150383
 
+#include <time.h>
150384
 
+#include <wchar.h>
150385
 
+extern int zero (void);
150386
 
+int main () { return zero(); }
150387
 
+]])])
150388
 
+     if AC_TRY_EVAL([ac_compile]); then
150389
 
+       mv conftest.$ac_objext conftest1.$ac_objext
150390
 
+       AC_LANG_CONFTEST([
150391
 
+         AC_LANG_SOURCE([[#define wcstod renamed_wcstod
150392
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
150393
 
+   <wchar.h>.
150394
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
150395
 
+   included before <wchar.h>.  */
150396
 
+#include <stddef.h>
150397
 
+#include <stdio.h>
150398
 
+#include <time.h>
150399
 
+#include <wchar.h>
150400
 
+int zero (void) { return 0; }
150401
 
+]])])
150402
 
+       if AC_TRY_EVAL([ac_compile]); then
150403
 
+         mv conftest.$ac_objext conftest2.$ac_objext
150404
 
+         if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&AS_MESSAGE_LOG_FD 2>&1; then
150405
 
+           :
150406
 
+         else
150407
 
+           gl_cv_header_wchar_h_correct_inline=no
150408
 
+         fi
150409
 
+       fi
150410
 
+     fi
150411
 
+     rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext
150412
 
+    ])
150413
 
+  if test $gl_cv_header_wchar_h_correct_inline = no; then
150414
 
+    AC_MSG_ERROR([<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS).
150415
 
+This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
150416
 
+C99 mode. You have four options:
150417
 
+  - Add the flag -fgnu89-inline to CC and reconfigure, or
150418
 
+  - Fix your include files, using parts of
150419
 
+    <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
150420
 
+  - Use a gcc version older than 4.3, or
150421
 
+  - Don't use the flags -std=c99 or -std=gnu99.
150422
 
+Configuration aborted.])
150423
 
+  fi
150424
 
+])
150425
 
+m4trace:m4/wchar_h.m4:122: -1- AC_DEFUN([gl_WCHAR_MODULE_INDICATOR], [
150426
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
150427
 
+  AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
150428
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
150429
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
150430
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
150431
 
+])
150432
 
+m4trace:m4/wchar_h.m4:131: -1- AC_DEFUN([gl_WCHAR_H_DEFAULTS], [
150433
 
+  GNULIB_BTOWC=0;       AC_SUBST([GNULIB_BTOWC])
150434
 
+  GNULIB_WCTOB=0;       AC_SUBST([GNULIB_WCTOB])
150435
 
+  GNULIB_MBSINIT=0;     AC_SUBST([GNULIB_MBSINIT])
150436
 
+  GNULIB_MBRTOWC=0;     AC_SUBST([GNULIB_MBRTOWC])
150437
 
+  GNULIB_MBRLEN=0;      AC_SUBST([GNULIB_MBRLEN])
150438
 
+  GNULIB_MBSRTOWCS=0;   AC_SUBST([GNULIB_MBSRTOWCS])
150439
 
+  GNULIB_MBSNRTOWCS=0;  AC_SUBST([GNULIB_MBSNRTOWCS])
150440
 
+  GNULIB_WCRTOMB=0;     AC_SUBST([GNULIB_WCRTOMB])
150441
 
+  GNULIB_WCSRTOMBS=0;   AC_SUBST([GNULIB_WCSRTOMBS])
150442
 
+  GNULIB_WCSNRTOMBS=0;  AC_SUBST([GNULIB_WCSNRTOMBS])
150443
 
+  GNULIB_WCWIDTH=0;     AC_SUBST([GNULIB_WCWIDTH])
150444
 
+  GNULIB_WMEMCHR=0;     AC_SUBST([GNULIB_WMEMCHR])
150445
 
+  GNULIB_WMEMCMP=0;     AC_SUBST([GNULIB_WMEMCMP])
150446
 
+  GNULIB_WMEMCPY=0;     AC_SUBST([GNULIB_WMEMCPY])
150447
 
+  GNULIB_WMEMMOVE=0;    AC_SUBST([GNULIB_WMEMMOVE])
150448
 
+  GNULIB_WMEMSET=0;     AC_SUBST([GNULIB_WMEMSET])
150449
 
+  GNULIB_WCSLEN=0;      AC_SUBST([GNULIB_WCSLEN])
150450
 
+  GNULIB_WCSNLEN=0;     AC_SUBST([GNULIB_WCSNLEN])
150451
 
+  GNULIB_WCSCPY=0;      AC_SUBST([GNULIB_WCSCPY])
150452
 
+  GNULIB_WCPCPY=0;      AC_SUBST([GNULIB_WCPCPY])
150453
 
+  GNULIB_WCSNCPY=0;     AC_SUBST([GNULIB_WCSNCPY])
150454
 
+  GNULIB_WCPNCPY=0;     AC_SUBST([GNULIB_WCPNCPY])
150455
 
+  GNULIB_WCSCAT=0;      AC_SUBST([GNULIB_WCSCAT])
150456
 
+  GNULIB_WCSNCAT=0;     AC_SUBST([GNULIB_WCSNCAT])
150457
 
+  GNULIB_WCSCMP=0;      AC_SUBST([GNULIB_WCSCMP])
150458
 
+  GNULIB_WCSNCMP=0;     AC_SUBST([GNULIB_WCSNCMP])
150459
 
+  GNULIB_WCSCASECMP=0;  AC_SUBST([GNULIB_WCSCASECMP])
150460
 
+  GNULIB_WCSNCASECMP=0; AC_SUBST([GNULIB_WCSNCASECMP])
150461
 
+  GNULIB_WCSCOLL=0;     AC_SUBST([GNULIB_WCSCOLL])
150462
 
+  GNULIB_WCSXFRM=0;     AC_SUBST([GNULIB_WCSXFRM])
150463
 
+  GNULIB_WCSDUP=0;      AC_SUBST([GNULIB_WCSDUP])
150464
 
+  GNULIB_WCSCHR=0;      AC_SUBST([GNULIB_WCSCHR])
150465
 
+  GNULIB_WCSRCHR=0;     AC_SUBST([GNULIB_WCSRCHR])
150466
 
+  GNULIB_WCSCSPN=0;     AC_SUBST([GNULIB_WCSCSPN])
150467
 
+  GNULIB_WCSSPN=0;      AC_SUBST([GNULIB_WCSSPN])
150468
 
+  GNULIB_WCSPBRK=0;     AC_SUBST([GNULIB_WCSPBRK])
150469
 
+  GNULIB_WCSSTR=0;      AC_SUBST([GNULIB_WCSSTR])
150470
 
+  GNULIB_WCSTOK=0;      AC_SUBST([GNULIB_WCSTOK])
150471
 
+  GNULIB_WCSWIDTH=0;    AC_SUBST([GNULIB_WCSWIDTH])
150472
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
150473
 
+  HAVE_BTOWC=1;         AC_SUBST([HAVE_BTOWC])
150474
 
+  HAVE_MBSINIT=1;       AC_SUBST([HAVE_MBSINIT])
150475
 
+  HAVE_MBRTOWC=1;       AC_SUBST([HAVE_MBRTOWC])
150476
 
+  HAVE_MBRLEN=1;        AC_SUBST([HAVE_MBRLEN])
150477
 
+  HAVE_MBSRTOWCS=1;     AC_SUBST([HAVE_MBSRTOWCS])
150478
 
+  HAVE_MBSNRTOWCS=1;    AC_SUBST([HAVE_MBSNRTOWCS])
150479
 
+  HAVE_WCRTOMB=1;       AC_SUBST([HAVE_WCRTOMB])
150480
 
+  HAVE_WCSRTOMBS=1;     AC_SUBST([HAVE_WCSRTOMBS])
150481
 
+  HAVE_WCSNRTOMBS=1;    AC_SUBST([HAVE_WCSNRTOMBS])
150482
 
+  HAVE_WMEMCHR=1;       AC_SUBST([HAVE_WMEMCHR])
150483
 
+  HAVE_WMEMCMP=1;       AC_SUBST([HAVE_WMEMCMP])
150484
 
+  HAVE_WMEMCPY=1;       AC_SUBST([HAVE_WMEMCPY])
150485
 
+  HAVE_WMEMMOVE=1;      AC_SUBST([HAVE_WMEMMOVE])
150486
 
+  HAVE_WMEMSET=1;       AC_SUBST([HAVE_WMEMSET])
150487
 
+  HAVE_WCSLEN=1;        AC_SUBST([HAVE_WCSLEN])
150488
 
+  HAVE_WCSNLEN=1;       AC_SUBST([HAVE_WCSNLEN])
150489
 
+  HAVE_WCSCPY=1;        AC_SUBST([HAVE_WCSCPY])
150490
 
+  HAVE_WCPCPY=1;        AC_SUBST([HAVE_WCPCPY])
150491
 
+  HAVE_WCSNCPY=1;       AC_SUBST([HAVE_WCSNCPY])
150492
 
+  HAVE_WCPNCPY=1;       AC_SUBST([HAVE_WCPNCPY])
150493
 
+  HAVE_WCSCAT=1;        AC_SUBST([HAVE_WCSCAT])
150494
 
+  HAVE_WCSNCAT=1;       AC_SUBST([HAVE_WCSNCAT])
150495
 
+  HAVE_WCSCMP=1;        AC_SUBST([HAVE_WCSCMP])
150496
 
+  HAVE_WCSNCMP=1;       AC_SUBST([HAVE_WCSNCMP])
150497
 
+  HAVE_WCSCASECMP=1;    AC_SUBST([HAVE_WCSCASECMP])
150498
 
+  HAVE_WCSNCASECMP=1;   AC_SUBST([HAVE_WCSNCASECMP])
150499
 
+  HAVE_WCSCOLL=1;       AC_SUBST([HAVE_WCSCOLL])
150500
 
+  HAVE_WCSXFRM=1;       AC_SUBST([HAVE_WCSXFRM])
150501
 
+  HAVE_WCSDUP=1;        AC_SUBST([HAVE_WCSDUP])
150502
 
+  HAVE_WCSCHR=1;        AC_SUBST([HAVE_WCSCHR])
150503
 
+  HAVE_WCSRCHR=1;       AC_SUBST([HAVE_WCSRCHR])
150504
 
+  HAVE_WCSCSPN=1;       AC_SUBST([HAVE_WCSCSPN])
150505
 
+  HAVE_WCSSPN=1;        AC_SUBST([HAVE_WCSSPN])
150506
 
+  HAVE_WCSPBRK=1;       AC_SUBST([HAVE_WCSPBRK])
150507
 
+  HAVE_WCSSTR=1;        AC_SUBST([HAVE_WCSSTR])
150508
 
+  HAVE_WCSTOK=1;        AC_SUBST([HAVE_WCSTOK])
150509
 
+  HAVE_WCSWIDTH=1;      AC_SUBST([HAVE_WCSWIDTH])
150510
 
+  HAVE_DECL_WCTOB=1;    AC_SUBST([HAVE_DECL_WCTOB])
150511
 
+  HAVE_DECL_WCWIDTH=1;  AC_SUBST([HAVE_DECL_WCWIDTH])
150512
 
+  REPLACE_MBSTATE_T=0;  AC_SUBST([REPLACE_MBSTATE_T])
150513
 
+  REPLACE_BTOWC=0;      AC_SUBST([REPLACE_BTOWC])
150514
 
+  REPLACE_WCTOB=0;      AC_SUBST([REPLACE_WCTOB])
150515
 
+  REPLACE_MBSINIT=0;    AC_SUBST([REPLACE_MBSINIT])
150516
 
+  REPLACE_MBRTOWC=0;    AC_SUBST([REPLACE_MBRTOWC])
150517
 
+  REPLACE_MBRLEN=0;     AC_SUBST([REPLACE_MBRLEN])
150518
 
+  REPLACE_MBSRTOWCS=0;  AC_SUBST([REPLACE_MBSRTOWCS])
150519
 
+  REPLACE_MBSNRTOWCS=0; AC_SUBST([REPLACE_MBSNRTOWCS])
150520
 
+  REPLACE_WCRTOMB=0;    AC_SUBST([REPLACE_WCRTOMB])
150521
 
+  REPLACE_WCSRTOMBS=0;  AC_SUBST([REPLACE_WCSRTOMBS])
150522
 
+  REPLACE_WCSNRTOMBS=0; AC_SUBST([REPLACE_WCSNRTOMBS])
150523
 
+  REPLACE_WCWIDTH=0;    AC_SUBST([REPLACE_WCWIDTH])
150524
 
+  REPLACE_WCSWIDTH=0;   AC_SUBST([REPLACE_WCSWIDTH])
150525
 
+])
150526
 
+m4trace:m4/wchar_t.m4:11: -1- AC_DEFUN([gt_TYPE_WCHAR_T], [
150527
 
+  AC_CACHE_CHECK([for wchar_t], [gt_cv_c_wchar_t],
150528
 
+    [AC_COMPILE_IFELSE(
150529
 
+       [AC_LANG_PROGRAM(
150530
 
+          [[#include <stddef.h>
150531
 
+            wchar_t foo = (wchar_t)'\0';]],
150532
 
+          [[]])],
150533
 
+       [gt_cv_c_wchar_t=yes],
150534
 
+       [gt_cv_c_wchar_t=no])])
150535
 
+  if test $gt_cv_c_wchar_t = yes; then
150536
 
+    AC_DEFINE([HAVE_WCHAR_T], [1], [Define if you have the 'wchar_t' type.])
150537
 
+  fi
150538
 
+])
150539
 
+m4trace:m4/wcrtomb.m4:7: -1- AC_DEFUN([gl_FUNC_WCRTOMB], [
150540
 
+  AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
150541
 
+
150542
 
+  AC_REQUIRE([AC_TYPE_MBSTATE_T])
150543
 
+  gl_MBSTATE_T_BROKEN
150544
 
+
150545
 
+  AC_CHECK_FUNCS_ONCE([wcrtomb])
150546
 
+  if test $ac_cv_func_wcrtomb = no; then
150547
 
+    HAVE_WCRTOMB=0
150548
 
+    AC_CHECK_DECLS([wcrtomb],,, [[
150549
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
150550
 
+   <wchar.h>.
150551
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
150552
 
+   included before <wchar.h>.  */
150553
 
+#include <stddef.h>
150554
 
+#include <stdio.h>
150555
 
+#include <time.h>
150556
 
+#include <wchar.h>
150557
 
+]])
150558
 
+    if test $ac_cv_have_decl_wcrtomb = yes; then
150559
 
+      dnl On Minix 3.1.8, the system's <wchar.h> declares wcrtomb() although
150560
 
+      dnl it does not have the function. Avoid a collision with gnulib's
150561
 
+      dnl replacement.
150562
 
+      REPLACE_WCRTOMB=1
150563
 
+    fi
150564
 
+  else
150565
 
+    if test $REPLACE_MBSTATE_T = 1; then
150566
 
+      REPLACE_WCRTOMB=1
150567
 
+    else
150568
 
+      dnl On AIX 4.3, OSF/1 5.1 and Solaris 10, wcrtomb (NULL, 0, NULL) sometimes
150569
 
+      dnl returns 0 instead of 1.
150570
 
+      AC_REQUIRE([AC_PROG_CC])
150571
 
+      AC_REQUIRE([gt_LOCALE_FR])
150572
 
+      AC_REQUIRE([gt_LOCALE_FR_UTF8])
150573
 
+      AC_REQUIRE([gt_LOCALE_JA])
150574
 
+      AC_REQUIRE([gt_LOCALE_ZH_CN])
150575
 
+      AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
150576
 
+      AC_CACHE_CHECK([whether wcrtomb return value is correct],
150577
 
+        [gl_cv_func_wcrtomb_retval],
150578
 
+        [
150579
 
+          dnl Initial guess, used when cross-compiling or when no suitable locale
150580
 
+          dnl is present.
150581
 
+changequote(,)dnl
150582
 
+          case "$host_os" in
150583
 
+                                     # Guess no on AIX 4, OSF/1 and Solaris.
150584
 
+            aix4* | osf* | solaris*) gl_cv_func_wcrtomb_retval="guessing no" ;;
150585
 
+                                     # Guess yes otherwise.
150586
 
+            *)                       gl_cv_func_wcrtomb_retval="guessing yes" ;;
150587
 
+          esac
150588
 
+changequote([,])dnl
150589
 
+          if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
150590
 
+            AC_RUN_IFELSE(
150591
 
+              [AC_LANG_SOURCE([[
150592
 
+#include <locale.h>
150593
 
+#include <string.h>
150594
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
150595
 
+   <wchar.h>.
150596
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
150597
 
+   included before <wchar.h>.  */
150598
 
+#include <stddef.h>
150599
 
+#include <stdio.h>
150600
 
+#include <time.h>
150601
 
+#include <wchar.h>
150602
 
+int main ()
150603
 
+{
150604
 
+  int result = 0;
150605
 
+  if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
150606
 
+    {
150607
 
+      if (wcrtomb (NULL, 0, NULL) != 1)
150608
 
+        result |= 1;
150609
 
+    }
150610
 
+  if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
150611
 
+    {
150612
 
+      if (wcrtomb (NULL, 0, NULL) != 1)
150613
 
+        result |= 2;
150614
 
+    }
150615
 
+  if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
150616
 
+    {
150617
 
+      if (wcrtomb (NULL, 0, NULL) != 1)
150618
 
+        result |= 4;
150619
 
+    }
150620
 
+  if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
150621
 
+    {
150622
 
+      if (wcrtomb (NULL, 0, NULL) != 1)
150623
 
+        result |= 8;
150624
 
+    }
150625
 
+  return result;
150626
 
+}]])],
150627
 
+              [gl_cv_func_wcrtomb_retval=yes],
150628
 
+              [gl_cv_func_wcrtomb_retval=no],
150629
 
+              [:])
150630
 
+          fi
150631
 
+        ])
150632
 
+      case "$gl_cv_func_wcrtomb_retval" in
150633
 
+        *yes) ;;
150634
 
+        *) REPLACE_WCRTOMB=1 ;;
150635
 
+      esac
150636
 
+    fi
150637
 
+  fi
150638
 
+])
150639
 
+m4trace:m4/wcrtomb.m4:110: -1- AC_DEFUN([gl_PREREQ_WCRTOMB], [
150640
 
+  :
150641
 
+])
150642
 
+m4trace:m4/wcswidth.m4:7: -1- AC_DEFUN([gl_FUNC_WCSWIDTH], [
150643
 
+  AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
150644
 
+  AC_REQUIRE([gl_FUNC_WCWIDTH])
150645
 
+  AC_CHECK_FUNCS_ONCE([wcswidth])
150646
 
+  if test $ac_cv_func_wcswidth = no; then
150647
 
+    HAVE_WCSWIDTH=0
150648
 
+  else
150649
 
+    if test $REPLACE_WCWIDTH = 1; then
150650
 
+      dnl If wcwidth needed to be replaced, wcswidth needs to be replaced
150651
 
+      dnl as well.
150652
 
+      REPLACE_WCSWIDTH=1
150653
 
+    fi
150654
 
+  fi
150655
 
+])
150656
 
+m4trace:m4/wctob.m4:7: -1- AC_DEFUN([gl_FUNC_WCTOB], [
150657
 
+  AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
150658
 
+
150659
 
+  AC_CHECK_FUNCS_ONCE([wctob])
150660
 
+  if test $ac_cv_func_wctob = no; then
150661
 
+    HAVE_WCTOB=0
150662
 
+    HAVE_DECL_WCTOB=0
150663
 
+  else
150664
 
+    HAVE_WCTOB=1
150665
 
+
150666
 
+    dnl Solaris 9 has the wctob() function but it does not work.
150667
 
+    dnl Cygwin 1.7.2 has the wctob() function but it clobbers caller-owned
150668
 
+    dnl registers, see <http://cygwin.com/ml/cygwin/2010-05/msg00015.html>.
150669
 
+    AC_REQUIRE([AC_PROG_CC])
150670
 
+    AC_REQUIRE([gt_LOCALE_FR])
150671
 
+    AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
150672
 
+    AC_CACHE_CHECK([whether wctob works],
150673
 
+      [gl_cv_func_wctob_works],
150674
 
+      [
150675
 
+        dnl Initial guess, used when cross-compiling or when no suitable locale
150676
 
+        dnl is present.
150677
 
+changequote(,)dnl
150678
 
+        case "$host_os" in
150679
 
+            # Guess no on Solaris <= 9 and Cygwin.
150680
 
+          solaris2.[1-9] | solaris2.[1-9].* | cygwin*)
150681
 
+            gl_cv_func_wctob_works="guessing no" ;;
150682
 
+            # Guess yes otherwise.
150683
 
+          *) gl_cv_func_wctob_works="guessing yes" ;;
150684
 
+        esac
150685
 
+changequote([,])dnl
150686
 
+        case "$host_os" in
150687
 
+          cygwin*)
150688
 
+            AC_RUN_IFELSE(
150689
 
+              [AC_LANG_SOURCE([[
150690
 
+#include <locale.h>
150691
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
150692
 
+   <wchar.h>.
150693
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
150694
 
+   included before <wchar.h>.  */
150695
 
+#include <stddef.h>
150696
 
+#include <stdio.h>
150697
 
+#include <time.h>
150698
 
+#include <wchar.h>
150699
 
+
150700
 
+register long global __asm__ ("%ebx");
150701
 
+
150702
 
+int main ()
150703
 
+{
150704
 
+  setlocale (LC_ALL, "en_US.UTF-8");
150705
 
+
150706
 
+  global = 0x12345678;
150707
 
+  if (wctob (0x00FC) != -1)
150708
 
+    return 1;
150709
 
+  if (global != 0x12345678)
150710
 
+    return 2;
150711
 
+  return 0;
150712
 
+}]])],
150713
 
+              [:],
150714
 
+              [gl_cv_func_wctob_works=no],
150715
 
+              [:])
150716
 
+            ;;
150717
 
+        esac
150718
 
+        if test "$gl_cv_func_wctob_works" != no && test $LOCALE_FR != none; then
150719
 
+          AC_RUN_IFELSE(
150720
 
+            [AC_LANG_SOURCE([[
150721
 
+#include <locale.h>
150722
 
+#include <string.h>
150723
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
150724
 
+   <wchar.h>.
150725
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
150726
 
+   included before <wchar.h>.  */
150727
 
+#include <stddef.h>
150728
 
+#include <stdio.h>
150729
 
+#include <time.h>
150730
 
+#include <wchar.h>
150731
 
+int main ()
150732
 
+{
150733
 
+  if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
150734
 
+    {
150735
 
+      wchar_t wc;
150736
 
+
150737
 
+      if (mbtowc (&wc, "\374", 1) == 1)
150738
 
+        if (wctob (wc) != (unsigned char) '\374')
150739
 
+          return 1;
150740
 
+    }
150741
 
+  return 0;
150742
 
+}]])],
150743
 
+            [gl_cv_func_wctob_works=yes],
150744
 
+            [gl_cv_func_wctob_works=no],
150745
 
+            [:])
150746
 
+        fi
150747
 
+      ])
150748
 
+    case "$gl_cv_func_wctob_works" in
150749
 
+      *yes) ;;
150750
 
+      *) REPLACE_WCTOB=1 ;;
150751
 
+    esac
150752
 
+    if test $REPLACE_WCTOB = 0; then
150753
 
+
150754
 
+      dnl IRIX 6.5 has the wctob() function but does not declare it.
150755
 
+      AC_CHECK_DECLS([wctob], [], [], [
150756
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
150757
 
+   <wchar.h>.
150758
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
150759
 
+   before <wchar.h>.  */
150760
 
+#include <stddef.h>
150761
 
+#include <stdio.h>
150762
 
+#include <time.h>
150763
 
+#include <wchar.h>
150764
 
+])
150765
 
+      if test $ac_cv_have_decl_wctob != yes; then
150766
 
+        HAVE_DECL_WCTOB=0
150767
 
+      fi
150768
 
+    fi
150769
 
+  fi
150770
 
+])
150771
 
+m4trace:m4/wctob.m4:125: -1- AC_DEFUN([gl_PREREQ_WCTOB], [
150772
 
+  :
150773
 
+])
150774
 
+m4trace:m4/wctomb.m4:7: -1- AC_DEFUN([gl_FUNC_WCTOMB], [
150775
 
+  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
150776
 
+
150777
 
+  if false; then
150778
 
+    REPLACE_WCTOMB=1
150779
 
+  fi
150780
 
+])
150781
 
+m4trace:m4/wctomb.m4:17: -1- AC_DEFUN([gl_PREREQ_WCTOMB], [
150782
 
+  :
150783
 
+])
150784
 
+m4trace:m4/wctype_h.m4:12: -1- AC_DEFUN([gl_WCTYPE_H], [
150785
 
+  AC_REQUIRE([gl_WCTYPE_H_DEFAULTS])
150786
 
+  AC_REQUIRE([AC_PROG_CC])
150787
 
+  AC_REQUIRE([AC_CANONICAL_HOST])
150788
 
+  AC_CHECK_FUNCS_ONCE([iswcntrl])
150789
 
+  if test $ac_cv_func_iswcntrl = yes; then
150790
 
+    HAVE_ISWCNTRL=1
150791
 
+  else
150792
 
+    HAVE_ISWCNTRL=0
150793
 
+  fi
150794
 
+  AC_SUBST([HAVE_ISWCNTRL])
150795
 
+
150796
 
+  AC_REQUIRE([AC_C_INLINE])
150797
 
+
150798
 
+  AC_REQUIRE([gt_TYPE_WINT_T])
150799
 
+  if test $gt_cv_c_wint_t = yes; then
150800
 
+    HAVE_WINT_T=1
150801
 
+  else
150802
 
+    HAVE_WINT_T=0
150803
 
+  fi
150804
 
+  AC_SUBST([HAVE_WINT_T])
150805
 
+
150806
 
+  gl_CHECK_NEXT_HEADERS([wctype.h])
150807
 
+  if test $ac_cv_header_wctype_h = yes; then
150808
 
+    if test $ac_cv_func_iswcntrl = yes; then
150809
 
+      dnl Linux libc5 has an iswprint function that returns 0 for all arguments.
150810
 
+      dnl The other functions are likely broken in the same way.
150811
 
+      AC_CACHE_CHECK([whether iswcntrl works], [gl_cv_func_iswcntrl_works],
150812
 
+        [
150813
 
+          AC_RUN_IFELSE(
150814
 
+            [AC_LANG_SOURCE([[
150815
 
+               /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
150816
 
+                  included before <wchar.h>.
150817
 
+                  BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
150818
 
+                  must be included before <wchar.h>.  */
150819
 
+               #include <stddef.h>
150820
 
+               #include <stdio.h>
150821
 
+               #include <time.h>
150822
 
+               #include <wchar.h>
150823
 
+               #include <wctype.h>
150824
 
+               int main () { return iswprint ('x') == 0; }
150825
 
+            ]])],
150826
 
+            [gl_cv_func_iswcntrl_works=yes], [gl_cv_func_iswcntrl_works=no],
150827
 
+            [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>
150828
 
+                          #if __GNU_LIBRARY__ == 1
150829
 
+                          Linux libc5 i18n is broken.
150830
 
+                          #endif]], [])],
150831
 
+              [gl_cv_func_iswcntrl_works=yes], [gl_cv_func_iswcntrl_works=no])
150832
 
+            ])
150833
 
+        ])
150834
 
+    fi
150835
 
+    HAVE_WCTYPE_H=1
150836
 
+  else
150837
 
+    HAVE_WCTYPE_H=0
150838
 
+  fi
150839
 
+  AC_SUBST([HAVE_WCTYPE_H])
150840
 
+
150841
 
+  if test "$gl_cv_func_iswcntrl_works" = no; then
150842
 
+    REPLACE_ISWCNTRL=1
150843
 
+  else
150844
 
+    REPLACE_ISWCNTRL=0
150845
 
+  fi
150846
 
+  AC_SUBST([REPLACE_ISWCNTRL])
150847
 
+
150848
 
+  if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
150849
 
+    dnl Redefine all of iswcntrl, ..., iswxdigit in <wctype.h>.
150850
 
+    :
150851
 
+  fi
150852
 
+
150853
 
+  if test $REPLACE_ISWCNTRL = 1; then
150854
 
+    REPLACE_TOWLOWER=1
150855
 
+  else
150856
 
+    AC_CHECK_FUNCS([towlower])
150857
 
+    if test $ac_cv_func_towlower = yes; then
150858
 
+      REPLACE_TOWLOWER=0
150859
 
+    else
150860
 
+      AC_CHECK_DECLS([towlower],,,
150861
 
+        [[/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
150862
 
+             included before <wchar.h>.
150863
 
+             BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
150864
 
+             must be included before <wchar.h>.  */
150865
 
+          #include <stddef.h>
150866
 
+          #include <stdio.h>
150867
 
+          #include <time.h>
150868
 
+          #include <wchar.h>
150869
 
+          #if HAVE_WCTYPE_H
150870
 
+          # include <wctype.h>
150871
 
+          #endif
150872
 
+        ]])
150873
 
+      if test $ac_cv_have_decl_towlower = yes; then
150874
 
+        dnl On Minix 3.1.8, the system's <wctype.h> declares towlower() and
150875
 
+        dnl towupper() although it does not have the functions. Avoid a
150876
 
+        dnl collision with gnulib's replacement.
150877
 
+        REPLACE_TOWLOWER=1
150878
 
+      else
150879
 
+        REPLACE_TOWLOWER=0
150880
 
+      fi
150881
 
+    fi
150882
 
+  fi
150883
 
+  AC_SUBST([REPLACE_TOWLOWER])
150884
 
+
150885
 
+  if test $HAVE_ISWCNTRL = 0 || test $REPLACE_TOWLOWER = 1; then
150886
 
+    dnl Redefine towlower, towupper in <wctype.h>.
150887
 
+    :
150888
 
+  fi
150889
 
+
150890
 
+  dnl We assume that the wctype() and iswctype() functions exist if and only
150891
 
+  dnl if the type wctype_t is defined in <wchar.h> or in <wctype.h> if that
150892
 
+  dnl exists.
150893
 
+  dnl HP-UX 11.00 declares all these in <wchar.h> and lacks <wctype.h>.
150894
 
+  AC_CACHE_CHECK([for wctype_t], [gl_cv_type_wctype_t],
150895
 
+    [AC_COMPILE_IFELSE(
150896
 
+       [AC_LANG_PROGRAM(
150897
 
+          [[/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
150898
 
+               included before <wchar.h>.
150899
 
+               BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
150900
 
+               must be included before <wchar.h>.  */
150901
 
+            #include <stddef.h>
150902
 
+            #include <stdio.h>
150903
 
+            #include <time.h>
150904
 
+            #include <wchar.h>
150905
 
+            #if HAVE_WCTYPE_H
150906
 
+            # include <wctype.h>
150907
 
+            #endif
150908
 
+            wctype_t a;
150909
 
+          ]],
150910
 
+          [[]])],
150911
 
+       [gl_cv_type_wctype_t=yes],
150912
 
+       [gl_cv_type_wctype_t=no])
150913
 
+    ])
150914
 
+  if test $gl_cv_type_wctype_t = no; then
150915
 
+    HAVE_WCTYPE_T=0
150916
 
+  fi
150917
 
+
150918
 
+  dnl We assume that the wctrans() and towctrans() functions exist if and only
150919
 
+  dnl if the type wctrans_t is defined in <wctype.h>.
150920
 
+  AC_CACHE_CHECK([for wctrans_t], [gl_cv_type_wctrans_t],
150921
 
+    [AC_COMPILE_IFELSE(
150922
 
+       [AC_LANG_PROGRAM(
150923
 
+          [[/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
150924
 
+               included before <wchar.h>.
150925
 
+               BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
150926
 
+               must be included before <wchar.h>.  */
150927
 
+            #include <stddef.h>
150928
 
+            #include <stdio.h>
150929
 
+            #include <time.h>
150930
 
+            #include <wchar.h>
150931
 
+            #include <wctype.h>
150932
 
+            wctrans_t a;
150933
 
+          ]],
150934
 
+          [[]])],
150935
 
+       [gl_cv_type_wctrans_t=yes],
150936
 
+       [gl_cv_type_wctrans_t=no])
150937
 
+    ])
150938
 
+  if test $gl_cv_type_wctrans_t = no; then
150939
 
+    HAVE_WCTRANS_T=0
150940
 
+  fi
150941
 
+
150942
 
+  dnl Check for declarations of anything we want to poison if the
150943
 
+  dnl corresponding gnulib module is not in use.
150944
 
+  gl_WARN_ON_USE_PREPARE([[
150945
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
150946
 
+   <wchar.h>.
150947
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
150948
 
+   included before <wchar.h>.  */
150949
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
150950
 
+# include <stddef.h>
150951
 
+# include <stdio.h>
150952
 
+# include <time.h>
150953
 
+# include <wchar.h>
150954
 
+#endif
150955
 
+#include <wctype.h>
150956
 
+    ]],
150957
 
+    [wctype iswctype wctrans towctrans
150958
 
+    ])
150959
 
+])
150960
 
+m4trace:m4/wctype_h.m4:190: -1- AC_DEFUN([gl_WCTYPE_MODULE_INDICATOR], [
150961
 
+  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
150962
 
+  AC_REQUIRE([gl_WCTYPE_H_DEFAULTS])
150963
 
+  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
150964
 
+  dnl Define it also as a C macro, for the benefit of the unit tests.
150965
 
+  gl_MODULE_INDICATOR_FOR_TESTS([$1])
150966
 
+])
150967
 
+m4trace:m4/wctype_h.m4:199: -1- AC_DEFUN([gl_WCTYPE_H_DEFAULTS], [
150968
 
+  GNULIB_ISWBLANK=0;    AC_SUBST([GNULIB_ISWBLANK])
150969
 
+  GNULIB_WCTYPE=0;      AC_SUBST([GNULIB_WCTYPE])
150970
 
+  GNULIB_ISWCTYPE=0;    AC_SUBST([GNULIB_ISWCTYPE])
150971
 
+  GNULIB_WCTRANS=0;     AC_SUBST([GNULIB_WCTRANS])
150972
 
+  GNULIB_TOWCTRANS=0;   AC_SUBST([GNULIB_TOWCTRANS])
150973
 
+  dnl Assume proper GNU behavior unless another module says otherwise.
150974
 
+  HAVE_ISWBLANK=1;      AC_SUBST([HAVE_ISWBLANK])
150975
 
+  HAVE_WCTYPE_T=1;      AC_SUBST([HAVE_WCTYPE_T])
150976
 
+  HAVE_WCTRANS_T=1;     AC_SUBST([HAVE_WCTRANS_T])
150977
 
+  REPLACE_ISWBLANK=0;   AC_SUBST([REPLACE_ISWBLANK])
150978
 
+])
150979
 
+m4trace:m4/wcwidth.m4:7: -1- AC_DEFUN([gl_FUNC_WCWIDTH], [
150980
 
+  AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
150981
 
+  AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
150982
 
+
150983
 
+  dnl Persuade glibc <wchar.h> to declare wcwidth().
150984
 
+  AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
150985
 
+
150986
 
+  AC_REQUIRE([gt_TYPE_WCHAR_T])
150987
 
+  AC_REQUIRE([gt_TYPE_WINT_T])
150988
 
+
150989
 
+  AC_CHECK_HEADERS_ONCE([wchar.h])
150990
 
+  AC_CHECK_FUNCS_ONCE([wcwidth])
150991
 
+
150992
 
+  AC_CHECK_DECLS([wcwidth], [], [], [
150993
 
+/* AIX 3.2.5 declares wcwidth in <string.h>. */
150994
 
+#include <string.h>
150995
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
150996
 
+   <wchar.h>.
150997
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
150998
 
+   before <wchar.h>.  */
150999
 
+#include <stddef.h>
151000
 
+#include <stdio.h>
151001
 
+#include <time.h>
151002
 
+#include <wchar.h>
151003
 
+])
151004
 
+  if test $ac_cv_have_decl_wcwidth != yes; then
151005
 
+    HAVE_DECL_WCWIDTH=0
151006
 
+  fi
151007
 
+
151008
 
+  if test $ac_cv_func_wcwidth = yes; then
151009
 
+    HAVE_WCWIDTH=1
151010
 
+    dnl On MacOS X 10.3, wcwidth(0x0301) (COMBINING ACUTE ACCENT) returns 1.
151011
 
+    dnl On OSF/1 5.1, wcwidth(0x200B) (ZERO WIDTH SPACE) returns 1.
151012
 
+    dnl This leads to bugs in 'ls' (coreutils).
151013
 
+    AC_CACHE_CHECK([whether wcwidth works reasonably in UTF-8 locales],
151014
 
+      [gl_cv_func_wcwidth_works],
151015
 
+      [
151016
 
+        AC_RUN_IFELSE(
151017
 
+          [AC_LANG_SOURCE([[
151018
 
+#include <locale.h>
151019
 
+/* AIX 3.2.5 declares wcwidth in <string.h>. */
151020
 
+#include <string.h>
151021
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
151022
 
+   <wchar.h>.
151023
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
151024
 
+   before <wchar.h>.  */
151025
 
+#include <stddef.h>
151026
 
+#include <stdio.h>
151027
 
+#include <time.h>
151028
 
+#include <wchar.h>
151029
 
+#if !HAVE_DECL_WCWIDTH
151030
 
+extern
151031
 
+# ifdef __cplusplus
151032
 
+"C"
151033
 
+# endif
151034
 
+int wcwidth (int);
151035
 
+#endif
151036
 
+int main ()
151037
 
+{
151038
 
+  int result = 0;
151039
 
+  if (setlocale (LC_ALL, "fr_FR.UTF-8") != NULL)
151040
 
+    {
151041
 
+      if (wcwidth (0x0301) > 0)
151042
 
+        result |= 1;
151043
 
+      if (wcwidth (0x200B) > 0)
151044
 
+        result |= 2;
151045
 
+    }
151046
 
+  return result;
151047
 
+}]])],
151048
 
+          [gl_cv_func_wcwidth_works=yes],
151049
 
+          [gl_cv_func_wcwidth_works=no],
151050
 
+          [
151051
 
+changequote(,)dnl
151052
 
+           case "$host_os" in
151053
 
+                     # Guess yes on glibc and AIX 7 systems.
151054
 
+             *-gnu* | aix[7-9]*) gl_cv_func_wcwidth_works="guessing yes";;
151055
 
+             *)                  gl_cv_func_wcwidth_works="guessing no";;
151056
 
+           esac
151057
 
+changequote([,])dnl
151058
 
+          ])
151059
 
+      ])
151060
 
+    case "$gl_cv_func_wcwidth_works" in
151061
 
+      *yes) ;;
151062
 
+      *no) REPLACE_WCWIDTH=1 ;;
151063
 
+    esac
151064
 
+  else
151065
 
+    HAVE_WCWIDTH=0
151066
 
+  fi
151067
 
+  dnl We don't substitute HAVE_WCWIDTH. We assume that if the system does not
151068
 
+  dnl have the wcwidth function, then it does not declare it.
151069
 
+])
151070
 
+m4trace:m4/wint_t.m4:11: -1- AC_DEFUN([gt_TYPE_WINT_T], [
151071
 
+  AC_CACHE_CHECK([for wint_t], [gt_cv_c_wint_t],
151072
 
+    [AC_COMPILE_IFELSE(
151073
 
+       [AC_LANG_PROGRAM(
151074
 
+          [[
151075
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
151076
 
+   <wchar.h>.
151077
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
151078
 
+   before <wchar.h>.  */
151079
 
+#include <stddef.h>
151080
 
+#include <stdio.h>
151081
 
+#include <time.h>
151082
 
+#include <wchar.h>
151083
 
+            wint_t foo = (wchar_t)'\0';]],
151084
 
+          [[]])],
151085
 
+       [gt_cv_c_wint_t=yes],
151086
 
+       [gt_cv_c_wint_t=no])])
151087
 
+  if test $gt_cv_c_wint_t = yes; then
151088
 
+    AC_DEFINE([HAVE_WINT_T], [1], [Define if you have the 'wint_t' type.])
151089
 
+  fi
151090
 
+])
151091
 
+m4trace:m4/write-any-file.m4:11: -1- AC_DEFUN([gl_WRITE_ANY_FILE], [
151092
 
+  AC_CHECK_HEADERS_ONCE([priv.h])
151093
 
+])
151094
 
+m4trace:m4/write.m4:7: -1- AC_DEFUN([gl_FUNC_WRITE], [
151095
 
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
151096
 
+  dnl This ifdef is just an optimization, to avoid performing a configure
151097
 
+  dnl check whose result is not used. It does not make the test of
151098
 
+  dnl GNULIB_UNISTD_H_SIGPIPE or GNULIB_SIGPIPE redundant.
151099
 
+  m4_ifdef([gl_SIGNAL_SIGPIPE], [
151100
 
+    gl_SIGNAL_SIGPIPE
151101
 
+    if test $gl_cv_header_signal_h_SIGPIPE != yes; then
151102
 
+      REPLACE_WRITE=1
151103
 
+    fi
151104
 
+  ])
151105
 
+  m4_ifdef([gl_NONBLOCKING_IO], [
151106
 
+    gl_NONBLOCKING_IO
151107
 
+    if test $gl_cv_have_nonblocking != yes; then
151108
 
+      REPLACE_WRITE=1
151109
 
+    fi
151110
 
+  ])
151111
 
+])
151112
 
+m4trace:m4/xalloc.m4:7: -1- AC_DEFUN([gl_XALLOC], [
151113
 
+  gl_PREREQ_XALLOC
151114
 
+  gl_PREREQ_XMALLOC
151115
 
+])
151116
 
+m4trace:m4/xalloc.m4:14: -1- AC_DEFUN([gl_PREREQ_XALLOC], [
151117
 
+  AC_REQUIRE([gl_INLINE])
151118
 
+  :
151119
 
+])
151120
 
+m4trace:m4/xalloc.m4:20: -1- AC_DEFUN([gl_PREREQ_XMALLOC], [
151121
 
+  :
151122
 
+])
151123
 
+m4trace:m4/xattr.m4:12: -1- AC_DEFUN([gl_FUNC_XATTR], [
151124
 
+  AC_ARG_ENABLE([xattr],
151125
 
+        AC_HELP_STRING([--disable-xattr],
151126
 
+                       [do not support extended attributes]),
151127
 
+        [use_xattr=$enableval], [use_xattr=yes])
151128
 
+
151129
 
+  LIB_XATTR=
151130
 
+  AC_SUBST([LIB_XATTR])
151131
 
+
151132
 
+  if test "$use_xattr" = "yes"; then
151133
 
+    AC_CHECK_HEADERS([attr/error_context.h attr/libattr.h])
151134
 
+    use_xattr=no
151135
 
+    if test $ac_cv_header_attr_libattr_h = yes \
151136
 
+        && test $ac_cv_header_attr_error_context_h = yes; then
151137
 
+      xattr_saved_LIBS=$LIBS
151138
 
+      AC_SEARCH_LIBS([attr_copy_file], [attr],
151139
 
+                     [test "$ac_cv_search_attr_copy_file" = "none required" ||
151140
 
+                        LIB_XATTR=$ac_cv_search_attr_copy_file])
151141
 
+      AC_CHECK_FUNCS([attr_copy_file])
151142
 
+      LIBS=$xattr_saved_LIBS
151143
 
+      if test $ac_cv_func_attr_copy_file = yes; then
151144
 
+        use_xattr=yes
151145
 
+      fi
151146
 
+    fi
151147
 
+    if test $use_xattr = no; then
151148
 
+      AC_MSG_WARN([libattr development library was not found or not usable.])
151149
 
+      AC_MSG_WARN([AC_PACKAGE_NAME will be built without xattr support.])
151150
 
+    fi
151151
 
+  fi
151152
 
+  AC_DEFINE_UNQUOTED([USE_XATTR], [`test $use_xattr != yes; echo $?`],
151153
 
+                     [Define if you want extended attribute support.])
151154
 
+])
151155
 
+m4trace:m4/xfts.m4:7: -1- AC_DEFUN([gl_FUNC_XFTS], [
151156
 
+  AC_LIBSOURCES([xfts.c, xfts.h])
151157
 
+  AC_LIBOBJ([xfts])
151158
 
+
151159
 
+  dnl Prerequisites of lib/xfts.c.
151160
 
+  :
151161
 
+])
151162
 
+m4trace:m4/xgetcwd.m4:7: -1- AC_DEFUN([gl_XGETCWD], [
151163
 
+  :
151164
 
+])
151165
 
+m4trace:m4/xnanosleep.m4:9: -1- AC_DEFUN([gl_XNANOSLEEP], [
151166
 
+  :
151167
 
+])
151168
 
+m4trace:m4/xsize.m4:7: -1- AC_DEFUN([gl_XSIZE], [
151169
 
+  dnl Prerequisites of lib/xsize.h.
151170
 
+  AC_REQUIRE([gl_SIZE_MAX])
151171
 
+  AC_REQUIRE([AC_C_INLINE])
151172
 
+  AC_CHECK_HEADERS([stdint.h])
151173
 
+])
151174
 
+m4trace:m4/xstrndup.m4:7: -1- AC_DEFUN([gl_XSTRNDUP], [
151175
 
+  gl_PREREQ_XSTRNDUP
151176
 
+])
151177
 
+m4trace:m4/xstrndup.m4:13: -1- AC_DEFUN([gl_PREREQ_XSTRNDUP], [
151178
 
+  :
151179
 
+])
151180
 
+m4trace:m4/xstrtod.m4:9: -1- AC_DEFUN([gl_XSTRTOD], [
151181
 
+  :
151182
 
+])
151183
 
+m4trace:m4/xstrtod.m4:15: -1- AC_DEFUN([gl_XSTRTOLD], [
151184
 
+  :
151185
 
+])
151186
 
+m4trace:m4/xstrtol.m4:7: -1- AC_DEFUN([gl_XSTRTOL], [
151187
 
+  :
151188
 
+])
151189
 
+m4trace:m4/xvasprintf.m4:7: -1- AC_DEFUN([gl_XVASPRINTF], [
151190
 
+  dnl Prerequisites of lib/xvasprintf.c.
151191
 
+  AC_REQUIRE([AC_C_INLINE])
151192
 
+])
151193
 
+m4trace:m4/yesno.m4:8: -1- AC_DEFUN([gl_YESNO], [
151194
 
+  dnl No prerequisites of lib/yesno.c.
151195
 
+  :
151196
 
+])
151197
 
+m4trace:m4/yield.m4:7: -1- AC_DEFUN([gl_YIELD], [
151198
 
+  AC_REQUIRE([gl_THREADLIB])
151199
 
+  dnl On some systems, sched_yield is in librt, rather than in libpthread.
151200
 
+  YIELD_LIB=
151201
 
+  if test $gl_threads_api = posix; then
151202
 
+    dnl Solaris has sched_yield in librt, not in libpthread or libc.
151203
 
+    AC_CHECK_LIB([rt], [sched_yield], [YIELD_LIB=-lrt],
151204
 
+      [dnl Solaris 2.5.1, 2.6 has sched_yield in libposix4, not librt.
151205
 
+       AC_CHECK_LIB([posix4], [sched_yield], [YIELD_LIB=-lposix4])])
151206
 
+  fi
151207
 
+  AC_SUBST([YIELD_LIB])
151208
 
+])
151209
 
+m4trace:configure.ac:26: -1- m4_pattern_forbid([^_?A[CHUM]_])
151210
 
+m4trace:configure.ac:26: -1- m4_pattern_forbid([_AC_])
151211
 
+m4trace:configure.ac:26: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
151212
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^AS_FLAGS$])
151213
 
+m4trace:configure.ac:26: -1- m4_pattern_forbid([^_?m4_])
151214
 
+m4trace:configure.ac:26: -1- m4_pattern_forbid([^dnl$])
151215
 
+m4trace:configure.ac:26: -1- m4_pattern_forbid([^_?AS_])
151216
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^SHELL$])
151217
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PATH_SEPARATOR$])
151218
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_NAME$])
151219
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
151220
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_VERSION$])
151221
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_STRING$])
151222
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
151223
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_URL$])
151224
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^exec_prefix$])
151225
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^prefix$])
151226
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^program_transform_name$])
151227
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^bindir$])
151228
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^sbindir$])
151229
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^libexecdir$])
151230
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^datarootdir$])
151231
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^datadir$])
151232
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^sysconfdir$])
151233
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^sharedstatedir$])
151234
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^localstatedir$])
151235
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^includedir$])
151236
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^oldincludedir$])
151237
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^docdir$])
151238
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^infodir$])
151239
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^htmldir$])
151240
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^dvidir$])
151241
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^pdfdir$])
151242
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^psdir$])
151243
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^libdir$])
151244
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^localedir$])
151245
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^mandir$])
151246
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_NAME$])
151247
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
151248
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_VERSION$])
151249
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_STRING$])
151250
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
151251
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_URL$])
151252
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^DEFS$])
151253
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^ECHO_C$])
151254
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^ECHO_N$])
151255
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^ECHO_T$])
151256
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^LIBS$])
151257
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^build_alias$])
151258
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^host_alias$])
151259
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^target_alias$])
151260
 
+m4trace:configure.ac:35: -1- AM_INIT_AUTOMAKE([1.11.1 dist-xz color-tests parallel-tests])
151261
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
151262
 
+m4trace:configure.ac:35: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
151263
 
+m4trace:configure.ac:35: -1- AM_AUTOMAKE_VERSION([1.11.1])
151264
 
+m4trace:configure.ac:35: -1- _AM_AUTOCONF_VERSION([2.68])
151265
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
151266
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
151267
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^INSTALL_DATA$])
151268
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^am__isrc$])
151269
 
+m4trace:configure.ac:35: -1- _AM_SUBST_NOTMAKE([am__isrc])
151270
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^CYGPATH_W$])
151271
 
+m4trace:configure.ac:35: -1- _AM_SET_OPTIONS([1.11.1 dist-xz color-tests parallel-tests])
151272
 
+m4trace:configure.ac:35: -1- _AM_SET_OPTION([1.11.1])
151273
 
+m4trace:configure.ac:35: -2- _AM_MANGLE_OPTION([1.11.1])
151274
 
+m4trace:configure.ac:35: -1- _AM_SET_OPTION([dist-xz])
151275
 
+m4trace:configure.ac:35: -2- _AM_MANGLE_OPTION([dist-xz])
151276
 
+m4trace:configure.ac:35: -1- _AM_SET_OPTION([color-tests])
151277
 
+m4trace:configure.ac:35: -2- _AM_MANGLE_OPTION([color-tests])
151278
 
+m4trace:configure.ac:35: -1- _AM_SET_OPTION([parallel-tests])
151279
 
+m4trace:configure.ac:35: -2- _AM_MANGLE_OPTION([parallel-tests])
151280
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE$])
151281
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^VERSION$])
151282
 
+m4trace:configure.ac:35: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
151283
 
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
151284
 
+m4trace:configure.ac:35: -2- _AM_MANGLE_OPTION([no-define])
151285
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE$])
151286
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^VERSION$])
151287
 
+m4trace:configure.ac:35: -1- AM_SANITY_CHECK
151288
 
+m4trace:configure.ac:35: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
151289
 
+m4trace:configure.ac:35: -1- AM_MISSING_HAS_RUN
151290
 
+m4trace:configure.ac:35: -1- AM_AUX_DIR_EXPAND
151291
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^ACLOCAL$])
151292
 
+m4trace:configure.ac:35: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
151293
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^AUTOCONF$])
151294
 
+m4trace:configure.ac:35: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
151295
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^AUTOMAKE$])
151296
 
+m4trace:configure.ac:35: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
151297
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^AUTOHEADER$])
151298
 
+m4trace:configure.ac:35: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
151299
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^MAKEINFO$])
151300
 
+m4trace:configure.ac:35: -1- AM_PROG_INSTALL_SH
151301
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^install_sh$])
151302
 
+m4trace:configure.ac:35: -1- AM_PROG_INSTALL_STRIP
151303
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^STRIP$])
151304
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
151305
 
+m4trace:configure.ac:35: -1- AM_PROG_MKDIR_P
151306
 
+m4trace:configure.ac:35: -1- AC_PROG_MKDIR_P
151307
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^MKDIR_P$])
151308
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^MKDIR_P$])
151309
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^mkdir_p$])
151310
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^AWK$])
151311
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^SET_MAKE$])
151312
 
+m4trace:configure.ac:35: -1- AM_SET_LEADING_DOT
151313
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^am__leading_dot$])
151314
 
+m4trace:configure.ac:35: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
151315
 
+                            [_AM_PROG_TAR([v7])])])
151316
 
+m4trace:configure.ac:35: -2- _AM_MANGLE_OPTION([tar-ustar])
151317
 
+m4trace:configure.ac:35: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
151318
 
+m4trace:configure.ac:35: -2- _AM_MANGLE_OPTION([tar-pax])
151319
 
+m4trace:configure.ac:35: -1- _AM_PROG_TAR([v7])
151320
 
+m4trace:configure.ac:35: -1- AM_MISSING_PROG([AMTAR], [tar])
151321
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^AMTAR$])
151322
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^am__tar$])
151323
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^am__untar$])
151324
 
+m4trace:configure.ac:35: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
151325
 
+                 [_AM_DEPENDENCIES(CC)],
151326
 
+                 [define([AC_PROG_CC],
151327
 
+                         defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
151328
 
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
151329
 
+                 [_AM_DEPENDENCIES(CXX)],
151330
 
+                 [define([AC_PROG_CXX],
151331
 
+                         defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
151332
 
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
151333
 
+                 [_AM_DEPENDENCIES(OBJC)],
151334
 
+                 [define([AC_PROG_OBJC],
151335
 
+                         defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
151336
 
+])
151337
 
+m4trace:configure.ac:35: -2- _AM_MANGLE_OPTION([no-dependencies])
151338
 
+m4trace:configure.ac:35: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
151339
 
+m4trace:configure.ac:35: -2- _AM_MANGLE_OPTION([silent-rules])
151340
 
+m4trace:configure.ac:36: -1- AM_SILENT_RULES([yes])
151341
 
+m4trace:configure.ac:36: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
151342
 
+m4trace:configure.ac:36: -1- m4_pattern_allow([^AM_BACKSLASH$])
151343
 
+m4trace:configure.ac:36: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
151344
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$])
151345
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^CFLAGS$])
151346
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^LDFLAGS$])
151347
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^LIBS$])
151348
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^CPPFLAGS$])
151349
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$])
151350
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$])
151351
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$])
151352
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$])
151353
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^ac_ct_CC$])
151354
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^EXEEXT$])
151355
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^OBJEXT$])
151356
 
+m4trace:configure.ac:38: -1- _AM_DEPENDENCIES([CC])
151357
 
+m4trace:configure.ac:38: -1- AM_SET_DEPDIR
151358
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^DEPDIR$])
151359
 
+m4trace:configure.ac:38: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
151360
 
+m4trace:configure.ac:38: -1- AM_MAKE_INCLUDE
151361
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^am__include$])
151362
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^am__quote$])
151363
 
+m4trace:configure.ac:38: -1- AM_DEP_TRACK
151364
 
+m4trace:configure.ac:38: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
151365
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^AMDEP_TRUE$])
151366
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^AMDEP_FALSE$])
151367
 
+m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
151368
 
+m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
151369
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
151370
 
+m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
151371
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^CCDEPMODE$])
151372
 
+m4trace:configure.ac:38: -1- AM_CONDITIONAL([am__fastdepCC], [
151373
 
+  test "x$enable_dependency_tracking" != xno \
151374
 
+  && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
151375
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
151376
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
151377
 
+m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
151378
 
+m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
151379
 
+m4trace:configure.ac:39: -1- AM_PROG_CC_C_O
151380
 
+m4trace:configure.ac:39: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$])
151381
 
+m4trace:configure.ac:40: -1- m4_pattern_allow([^CPP$])
151382
 
+m4trace:configure.ac:40: -1- m4_pattern_allow([^CPPFLAGS$])
151383
 
+m4trace:configure.ac:40: -1- m4_pattern_allow([^CPP$])
151384
 
+m4trace:configure.ac:41: -1- m4_pattern_allow([^GREP$])
151385
 
+m4trace:configure.ac:41: -1- m4_pattern_allow([^EGREP$])
151386
 
+m4trace:configure.ac:42: -1- m4_pattern_allow([^RANLIB$])
151387
 
+m4trace:configure.ac:43: -1- m4_pattern_allow([^LN_S$])
151388
 
+m4trace:configure.ac:44: -1- gl_EARLY
151389
 
+m4trace:configure.ac:44: -1- m4_pattern_forbid([^gl_[A-Z]])
151390
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^gl_ES$])
151391
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^gl_LIBOBJS$])
151392
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^gl_LTLIBOBJS$])
151393
 
+m4trace:configure.ac:44: -1- gl_PROG_AR_RANLIB
151394
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^AR$])
151395
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^AR$])
151396
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^ARFLAGS$])
151397
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^RANLIB$])
151398
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^RANLIB$])
151399
 
+m4trace:configure.ac:44: -1- AB_INIT
151400
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^build$])
151401
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^build_cpu$])
151402
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^build_vendor$])
151403
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^build_os$])
151404
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^host$])
151405
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^host_cpu$])
151406
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^host_vendor$])
151407
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^host_os$])
151408
 
+m4trace:configure.ac:44: -1- gl_USE_SYSTEM_EXTENSIONS
151409
 
+m4trace:configure.ac:44: -1- _m4_warn([obsolete], [The macro `AC_GNU_SOURCE' is obsolete.
151410
 
+You should run autoupdate.], [../../lib/autoconf/specific.m4:310: AC_GNU_SOURCE is expanded from...
151411
 
+m4/gnulib-comp.m4:24: gl_EARLY is expanded from...
151412
 
+configure.ac:44: the top level])
151413
 
+m4trace:configure.ac:44: -1- AC_USE_SYSTEM_EXTENSIONS
151414
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^STDC_HEADERS$])
151415
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_POSIX_SOURCE$])
151416
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_POSIX_1_SOURCE$])
151417
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_MINIX$])
151418
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_XOPEN_SOURCE$])
151419
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^__EXTENSIONS__$])
151420
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_ALL_SOURCE$])
151421
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_DARWIN_C_SOURCE$])
151422
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_GNU_SOURCE$])
151423
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$])
151424
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_TANDEM_SOURCE$])
151425
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_LARGEFILE_SOURCE$])
151426
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^HAVE_FSEEKO$])
151427
 
+m4trace:configure.ac:44: -1- gl_FP_IEEE
151428
 
+m4trace:configure.ac:44: -1- AC_SYS_LARGEFILE
151429
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$])
151430
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_LARGE_FILES$])
151431
 
+m4trace:configure.ac:44: -1- gl_THREADLIB_EARLY
151432
 
+m4trace:configure.ac:44: -1- gl_THREADLIB_EARLY_BODY
151433
 
+m4trace:configure.ac:44: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
151434
 
+You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
151435
 
+m4/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from...
151436
 
+m4/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from...
151437
 
+m4/gnulib-comp.m4:24: gl_EARLY is expanded from...
151438
 
+configure.ac:44: the top level])
151439
 
+m4trace:configure.ac:44: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
151440
 
+You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
151441
 
+m4/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from...
151442
 
+m4/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from...
151443
 
+m4/gnulib-comp.m4:24: gl_EARLY is expanded from...
151444
 
+configure.ac:44: the top level])
151445
 
+m4trace:configure.ac:45: -1- gl_INIT
151446
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
151447
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_COND_LIBTOOL_TRUE$])
151448
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_COND_LIBTOOL_FALSE$])
151449
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_TRUE])
151450
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_FALSE])
151451
 
+m4trace:configure.ac:45: -1- gl_COMMON
151452
 
+m4trace:configure.ac:45: -1- gl_00GNULIB
151453
 
+m4trace:configure.ac:45: -1- gl_COMMON_BODY
151454
 
+m4trace:configure.ac:45: -1- gl_FUNC_ACL
151455
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_ACL_H$])
151456
 
+m4trace:configure.ac:45: -1- gl_ACL_GET_FILE([use_acl=1], [])
151457
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACL_LIBACL_H$])
151458
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACL_ENTRIES$])
151459
 
+m4trace:configure.ac:45: -1- gl_LIBOBJ([$ac_func])
151460
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACL_FIRST_ENTRY$])
151461
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACL_TYPE_EXTENDED$])
151462
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FACL$])
151463
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACL_TRIVIAL$])
151464
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETACL$])
151465
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACLV_H$])
151466
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACLX_GET$])
151467
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STATACL$])
151468
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACLSORT$])
151469
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB_ACL$])
151470
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_ACL$])
151471
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_ACL$])
151472
 
+m4trace:configure.ac:45: -1- gl_FUNC_ALLOCA
151473
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^size_t$])
151474
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ALLOCA_H$])
151475
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ALLOCA$])
151476
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ALLOCA$])
151477
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^C_ALLOCA$])
151478
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^CRAY_STACKSEG_END$])
151479
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STACK_DIRECTION$])
151480
 
+m4trace:configure.ac:45: -1- gl_PREREQ_ALLOCA
151481
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ALLOCA$])
151482
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ALLOCA_H$])
151483
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_ALLOCA_H], [test -n "$ALLOCA_H"])
151484
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ALLOCA_H_TRUE$])
151485
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ALLOCA_H_FALSE$])
151486
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ALLOCA_H_TRUE])
151487
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ALLOCA_H_FALSE])
151488
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([areadlinkat])
151489
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_AREADLINKAT$])
151490
 
+m4trace:configure.ac:45: -1- gl_HEADER_ARPA_INET
151491
 
+m4trace:configure.ac:45: -1- gl_ARPA_INET_H_DEFAULTS
151492
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_INET_NTOP$])
151493
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_INET_PTON$])
151494
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_INET_NTOP$])
151495
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_INET_PTON$])
151496
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_arpa_inet_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" arpa/inet.h"])])
151497
 
+_AC_HEADERS_EXPANSION])
151498
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$])
151499
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([arpa/inet.h])
151500
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([arpa/inet.h], [check])
151501
 
+m4trace:configure.ac:45: -1- gl_INCLUDE_NEXT
151502
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INCLUDE_NEXT$])
151503
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INCLUDE_NEXT_AS_FIRST_DIRECTIVE$])
151504
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PRAGMA_SYSTEM_HEADER$])
151505
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PRAGMA_COLUMNS$])
151506
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_arpa_inet_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" arpa/inet.h"])])
151507
 
+_AC_HEADERS_EXPANSION])
151508
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_ARPA_INET_H$])
151509
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H$])
151510
 
+m4trace:configure.ac:45: -1- gl_FEATURES_H
151511
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_features_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" features.h"])])
151512
 
+_AC_HEADERS_EXPANSION])
151513
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FEATURES_H$])
151514
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[
151515
 
+/* On some systems, this header is not self-consistent.  */
151516
 
+#if !(defined __GLIBC__ || defined __UCLIBC__)
151517
 
+# include <sys/socket.h>
151518
 
+#endif
151519
 
+#ifdef __TANDEM
151520
 
+# include <netdb.h>
151521
 
+#endif
151522
 
+#include <arpa/inet.h>
151523
 
+    ]], [inet_ntop inet_pton])
151524
 
+m4trace:configure.ac:45: -1- AC_PROG_MKDIR_P
151525
 
+m4trace:configure.ac:45: -1- gl_ASSERT
151526
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NDEBUG$])
151527
 
+m4trace:configure.ac:45: -1- gl_BACKUPFILE
151528
 
+m4trace:configure.ac:45: -1- gl_CHECK_TYPE_STRUCT_DIRENT_D_INO
151529
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^D_INO_IN_DIRENT$])
151530
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LONG_FILE_NAMES$])
151531
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_pathconf], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" pathconf"])])
151532
 
+_AC_FUNCS_EXPANSION])
151533
 
+m4trace:configure.ac:45: -1- gl_FUNC_BASE64
151534
 
+m4trace:configure.ac:45: -1- gl_PREREQ_BASE64
151535
 
+m4trace:configure.ac:45: -1- AC_C_RESTRICT
151536
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^restrict$])
151537
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^restrict$])
151538
 
+m4trace:configure.ac:45: -1- gl_FUNC_BTOWC
151539
 
+m4trace:configure.ac:45: -1- gl_WCHAR_H_DEFAULTS
151540
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_BTOWC$])
151541
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCTOB$])
151542
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSINIT$])
151543
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBRTOWC$])
151544
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBRLEN$])
151545
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSRTOWCS$])
151546
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSNRTOWCS$])
151547
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCRTOMB$])
151548
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSRTOMBS$])
151549
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSNRTOMBS$])
151550
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCWIDTH$])
151551
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WMEMCHR$])
151552
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WMEMCMP$])
151553
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WMEMCPY$])
151554
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WMEMMOVE$])
151555
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WMEMSET$])
151556
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSLEN$])
151557
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSNLEN$])
151558
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSCPY$])
151559
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCPCPY$])
151560
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSNCPY$])
151561
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCPNCPY$])
151562
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSCAT$])
151563
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSNCAT$])
151564
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSCMP$])
151565
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSNCMP$])
151566
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSCASECMP$])
151567
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSNCASECMP$])
151568
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSCOLL$])
151569
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSXFRM$])
151570
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSDUP$])
151571
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSCHR$])
151572
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSRCHR$])
151573
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSCSPN$])
151574
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSSPN$])
151575
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSPBRK$])
151576
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSSTR$])
151577
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSTOK$])
151578
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSWIDTH$])
151579
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_BTOWC$])
151580
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MBSINIT$])
151581
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MBRTOWC$])
151582
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MBRLEN$])
151583
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MBSRTOWCS$])
151584
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MBSNRTOWCS$])
151585
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCRTOMB$])
151586
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSRTOMBS$])
151587
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSNRTOMBS$])
151588
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WMEMCHR$])
151589
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WMEMCMP$])
151590
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WMEMCPY$])
151591
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WMEMMOVE$])
151592
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WMEMSET$])
151593
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSLEN$])
151594
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSNLEN$])
151595
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSCPY$])
151596
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCPCPY$])
151597
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSNCPY$])
151598
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCPNCPY$])
151599
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSCAT$])
151600
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSNCAT$])
151601
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSCMP$])
151602
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSNCMP$])
151603
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSCASECMP$])
151604
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSNCASECMP$])
151605
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSCOLL$])
151606
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSXFRM$])
151607
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSDUP$])
151608
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSCHR$])
151609
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSRCHR$])
151610
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSCSPN$])
151611
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSSPN$])
151612
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSPBRK$])
151613
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSSTR$])
151614
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSTOK$])
151615
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSWIDTH$])
151616
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_WCTOB$])
151617
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_WCWIDTH$])
151618
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MBSTATE_T$])
151619
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_BTOWC$])
151620
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_WCTOB$])
151621
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MBSINIT$])
151622
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MBRTOWC$])
151623
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MBRLEN$])
151624
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MBSRTOWCS$])
151625
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MBSNRTOWCS$])
151626
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_WCRTOMB$])
151627
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_WCSRTOMBS$])
151628
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_WCSNRTOMBS$])
151629
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_WCWIDTH$])
151630
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_WCSWIDTH$])
151631
 
+m4trace:configure.ac:45: -1- gl_WCHAR_H_INLINE_OK
151632
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_btowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" btowc"])])
151633
 
+_AC_FUNCS_EXPANSION])
151634
 
+m4trace:configure.ac:45: -1- gt_LOCALE_FR
151635
 
+m4trace:configure.ac:45: -1- AM_LANGINFO_CODESET
151636
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$])
151637
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR$])
151638
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([btowc.c])
151639
 
+m4trace:configure.ac:45: -1- gl_PREREQ_BTOWC
151640
 
+m4trace:configure.ac:45: -1- gl_WCHAR_MODULE_INDICATOR([btowc])
151641
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([btowc])
151642
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[btowc]],
151643
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
151644
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
151645
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([btowc])
151646
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_BTOWC$])
151647
 
+m4trace:configure.ac:45: -1- gl_C_STRTOD
151648
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRTOD_L$])
151649
 
+m4trace:configure.ac:45: -1- gl_C_STRTOLD
151650
 
+m4trace:configure.ac:45: -1- gl_C99_STRTOLD
151651
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_C99_STRTOLD$])
151652
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRTOLD_L$])
151653
 
+m4trace:configure.ac:45: -1- gl_FUNC_CALLOC_GNU
151654
 
+m4trace:configure.ac:45: -1- gl_STDLIB_H_DEFAULTS
151655
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB__EXIT$])
151656
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ATOLL$])
151657
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CALLOC_POSIX$])
151658
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CANONICALIZE_FILE_NAME$])
151659
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETLOADAVG$])
151660
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETSUBOPT$])
151661
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GRANTPT$])
151662
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MALLOC_POSIX$])
151663
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBTOWC$])
151664
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKDTEMP$])
151665
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKOSTEMP$])
151666
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKOSTEMPS$])
151667
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKSTEMP$])
151668
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKSTEMPS$])
151669
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PTSNAME$])
151670
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PUTENV$])
151671
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_RANDOM_R$])
151672
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_REALLOC_POSIX$])
151673
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_REALPATH$])
151674
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_RPMATCH$])
151675
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SETENV$])
151676
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRTOD$])
151677
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRTOLL$])
151678
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRTOULL$])
151679
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SYSTEM_POSIX$])
151680
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNLOCKPT$])
151681
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNSETENV$])
151682
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCTOMB$])
151683
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE__EXIT$])
151684
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ATOLL$])
151685
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_CANONICALIZE_FILE_NAME$])
151686
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETLOADAVG$])
151687
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETSUBOPT$])
151688
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GRANTPT$])
151689
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKDTEMP$])
151690
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKOSTEMP$])
151691
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKOSTEMPS$])
151692
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKSTEMP$])
151693
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKSTEMPS$])
151694
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTSNAME$])
151695
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_RANDOM_H$])
151696
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_RANDOM_R$])
151697
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_REALPATH$])
151698
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_RPMATCH$])
151699
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SETENV$])
151700
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SETENV$])
151701
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRTOD$])
151702
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRTOLL$])
151703
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRTOULL$])
151704
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_RANDOM_DATA$])
151705
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_LOADAVG_H$])
151706
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNLOCKPT$])
151707
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_UNSETENV$])
151708
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_CALLOC$])
151709
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_CANONICALIZE_FILE_NAME$])
151710
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MALLOC$])
151711
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MBTOWC$])
151712
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MKSTEMP$])
151713
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_PUTENV$])
151714
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_REALLOC$])
151715
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_REALPATH$])
151716
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SETENV$])
151717
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRTOD$])
151718
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_UNSETENV$])
151719
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_WCTOMB$])
151720
 
+m4trace:configure.ac:45: -1- _AC_FUNC_CALLOC_IF([AC_DEFINE([HAVE_CALLOC_GNU], [1],
151721
 
+               [Define to 1 if your system has a GNU libc compatible `calloc'
151722
 
+                function, and to 0 otherwise.])], [AC_DEFINE([HAVE_CALLOC_GNU], [0])
151723
 
+     REPLACE_CALLOC=1
151724
 
+    ])
151725
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_CALLOC_GNU$])
151726
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_CALLOC_GNU$])
151727
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([calloc.c])
151728
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([calloc-gnu])
151729
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CALLOC_GNU$])
151730
 
+m4trace:configure.ac:45: -1- gl_FUNC_CALLOC_POSIX
151731
 
+m4trace:configure.ac:45: -1- gl_CHECK_MALLOC_POSIX
151732
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_CALLOC_POSIX$])
151733
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([calloc.c])
151734
 
+m4trace:configure.ac:45: -1- gl_STDLIB_MODULE_INDICATOR([calloc-posix])
151735
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([calloc-posix])
151736
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[calloc-posix]],
151737
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
151738
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
151739
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([calloc-posix])
151740
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_CALLOC_POSIX$])
151741
 
+m4trace:configure.ac:45: -1- gl_PREREQ_CANON_HOST
151742
 
+m4trace:configure.ac:45: -1- gl_FUNC_CANONICALIZE_FILENAME_MODE
151743
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_canonicalize_file_name], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" canonicalize_file_name"])])
151744
 
+_AC_FUNCS_EXPANSION])
151745
 
+m4trace:configure.ac:45: -1- gl_DOUBLE_SLASH_ROOT
151746
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DOUBLE_SLASH_IS_DISTINCT_ROOT$])
151747
 
+m4trace:configure.ac:45: -1- gl_FUNC_REALPATH_WORKS
151748
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_realpath], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" realpath"])])
151749
 
+_AC_FUNCS_EXPANSION])
151750
 
+m4trace:configure.ac:45: -1- GL_NOCRASH
151751
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FUNC_REALPATH_WORKS$])
151752
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([canonicalize])
151753
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CANONICALIZE$])
151754
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([canonicalize])
151755
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_CANONICALIZE$])
151756
 
+m4trace:configure.ac:45: -1- gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
151757
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([canonicalize_file_name])
151758
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[canonicalize_file_name]],
151759
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
151760
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
151761
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([canonicalize_file_name])
151762
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_CANONICALIZE_FILE_NAME$])
151763
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_readlinkat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" readlinkat"])])
151764
 
+_AC_FUNCS_EXPANSION])
151765
 
+m4trace:configure.ac:45: -1- gl_FUNC_CHDIR_LONG
151766
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([chdir-long.c])
151767
 
+m4trace:configure.ac:45: -1- gl_PREREQ_CHDIR_LONG
151768
 
+m4trace:configure.ac:45: -1- gl_FUNC_CHOWN
151769
 
+m4trace:configure.ac:45: -1- gl_UNISTD_H_DEFAULTS
151770
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CHOWN$])
151771
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CLOSE$])
151772
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_DUP2$])
151773
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_DUP3$])
151774
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ENVIRON$])
151775
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_EUIDACCESS$])
151776
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FACCESSAT$])
151777
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FCHDIR$])
151778
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FCHOWNAT$])
151779
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FSYNC$])
151780
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FTRUNCATE$])
151781
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETCWD$])
151782
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETDOMAINNAME$])
151783
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETDTABLESIZE$])
151784
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETGROUPS$])
151785
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETHOSTNAME$])
151786
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETLOGIN$])
151787
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETLOGIN_R$])
151788
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETPAGESIZE$])
151789
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETUSERSHELL$])
151790
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GROUP_MEMBER$])
151791
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LCHOWN$])
151792
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LINK$])
151793
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LINKAT$])
151794
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LSEEK$])
151795
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PIPE$])
151796
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PIPE2$])
151797
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PREAD$])
151798
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PWRITE$])
151799
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_READ$])
151800
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_READLINK$])
151801
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_READLINKAT$])
151802
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_RMDIR$])
151803
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SLEEP$])
151804
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SYMLINK$])
151805
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SYMLINKAT$])
151806
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TTYNAME_R$])
151807
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNISTD_H_GETOPT$])
151808
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNISTD_H_NONBLOCKING$])
151809
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNISTD_H_SIGPIPE$])
151810
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNLINK$])
151811
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNLINKAT$])
151812
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_USLEEP$])
151813
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WRITE$])
151814
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_CHOWN$])
151815
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DUP2$])
151816
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DUP3$])
151817
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_EUIDACCESS$])
151818
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FACCESSAT$])
151819
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FCHDIR$])
151820
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FCHOWNAT$])
151821
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FSYNC$])
151822
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FTRUNCATE$])
151823
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETDTABLESIZE$])
151824
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETGROUPS$])
151825
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$])
151826
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETLOGIN$])
151827
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$])
151828
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GROUP_MEMBER$])
151829
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LCHOWN$])
151830
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LINK$])
151831
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LINKAT$])
151832
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PIPE$])
151833
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PIPE2$])
151834
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PREAD$])
151835
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PWRITE$])
151836
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_READLINK$])
151837
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_READLINKAT$])
151838
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SLEEP$])
151839
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYMLINK$])
151840
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYMLINKAT$])
151841
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNLINKAT$])
151842
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_USLEEP$])
151843
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ENVIRON$])
151844
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FCHDIR$])
151845
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETDOMAINNAME$])
151846
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETLOGIN_R$])
151847
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETPAGESIZE$])
151848
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETUSERSHELL$])
151849
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TTYNAME_R$])
151850
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_OS_H$])
151851
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$])
151852
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_CHOWN$])
151853
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_CLOSE$])
151854
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_DUP$])
151855
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_DUP2$])
151856
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FCHOWNAT$])
151857
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GETCWD$])
151858
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GETDOMAINNAME$])
151859
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GETLOGIN_R$])
151860
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GETGROUPS$])
151861
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GETPAGESIZE$])
151862
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_LCHOWN$])
151863
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_LINK$])
151864
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_LINKAT$])
151865
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_LSEEK$])
151866
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_PREAD$])
151867
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_PWRITE$])
151868
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_READ$])
151869
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_READLINK$])
151870
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_RMDIR$])
151871
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SLEEP$])
151872
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SYMLINK$])
151873
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_TTYNAME_R$])
151874
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_UNLINK$])
151875
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_UNLINKAT$])
151876
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_USLEEP$])
151877
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_WRITE$])
151878
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H$])
151879
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS$])
151880
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^uid_t$])
151881
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^gid_t$])
151882
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNISTD_H$])
151883
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_CHOWN$])
151884
 
+m4trace:configure.ac:45: -1- gl_FUNC_CHOWN_FOLLOWS_SYMLINK
151885
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^CHOWN_MODIFIES_SYMLINK$])
151886
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_chown], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" chown"])])
151887
 
+_AC_FUNCS_EXPANSION])
151888
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fchown], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fchown"])])
151889
 
+_AC_FUNCS_EXPANSION])
151890
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE$])
151891
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^CHOWN_TRAILING_SLASH_BUG$])
151892
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^CHOWN_CHANGE_TIME_BUG$])
151893
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([chown.c])
151894
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fchown-stub.c])
151895
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([chown])
151896
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([chown])
151897
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[chown]],
151898
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
151899
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
151900
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([chown])
151901
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_CHOWN$])
151902
 
+m4trace:configure.ac:45: -1- gl_CLOCK_TIME
151903
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB_CLOCK_GETTIME$])
151904
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
151905
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_CLOEXEC$])
151906
 
+m4trace:configure.ac:45: -1- gl_FUNC_CLOSE
151907
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SYS_H_WINSOCK2
151908
 
+m4trace:configure.ac:45: -1- gl_SYS_IOCTL_H_DEFAULTS
151909
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_IOCTL$])
151910
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SYS_IOCTL_H_HAVE_WINSOCK2_H$])
151911
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS$])
151912
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_IOCTL$])
151913
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_socket_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/socket.h"])])
151914
 
+_AC_HEADERS_EXPANSION])
151915
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
151916
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
151917
 
+m4trace:configure.ac:45: -1- gl_TEST_FCHDIR
151918
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fchdir], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fchdir"])])
151919
 
+_AC_FUNCS_EXPANSION])
151920
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([close.c])
151921
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([close])
151922
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([close])
151923
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[close]],
151924
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
151925
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
151926
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([close])
151927
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_CLOSE$])
151928
 
+m4trace:configure.ac:45: -1- gl_CLOSE_STREAM
151929
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([close-stream])
151930
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CLOSE_STREAM$])
151931
 
+m4trace:configure.ac:45: -1- gl_CLOSEIN
151932
 
+m4trace:configure.ac:45: -1- gl_CLOSEOUT
151933
 
+m4trace:configure.ac:45: -1- gl_CONFIG_H
151934
 
+m4trace:configure.ac:45: -1- gl_CONFIGMAKE_PREP
151935
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^datarootdir$])
151936
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^docdir$])
151937
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^htmldir$])
151938
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^dvidir$])
151939
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^pdfdir$])
151940
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^psdir$])
151941
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^lispdir$])
151942
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^localedir$])
151943
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^pkglibexecdir$])
151944
 
+m4trace:configure.ac:45: -1- gl_MD5
151945
 
+m4trace:configure.ac:45: -1- gl_BIGENDIAN
151946
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
151947
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
151948
 
+m4trace:configure.ac:45: -1- gl_SHA1
151949
 
+m4trace:configure.ac:45: -1- gl_SHA256
151950
 
+m4trace:configure.ac:45: -1- gl_SHA512
151951
 
+m4trace:configure.ac:45: -1- gl_CTYPE_H
151952
 
+m4trace:configure.ac:45: -1- gl_CTYPE_H_DEFAULTS
151953
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISBLANK$])
151954
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISBLANK$])
151955
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS([ctype.h])
151956
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([ctype.h], [assume])
151957
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_CTYPE_H$])
151958
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_CTYPE_H$])
151959
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <ctype.h>
151960
 
+    ]], [isblank])
151961
 
+m4trace:configure.ac:45: -1- gl_CYCLE_CHECK
151962
 
+m4trace:configure.ac:45: -1- gl_CHECK_TYPE_STRUCT_DIRENT_D_INO
151963
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^D_INO_IN_DIRENT$])
151964
 
+m4trace:configure.ac:45: -1- gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE
151965
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_DIRENT_D_TYPE$])
151966
 
+m4trace:configure.ac:45: -1- gl_DIRENT_H
151967
 
+m4trace:configure.ac:45: -1- gl_DIRENT_H_DEFAULTS
151968
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_DIRFD$])
151969
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FDOPENDIR$])
151970
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SCANDIR$])
151971
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ALPHASORT$])
151972
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_DIRFD$])
151973
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FDOPENDIR$])
151974
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FDOPENDIR$])
151975
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SCANDIR$])
151976
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ALPHASORT$])
151977
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_CLOSEDIR$])
151978
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_DIRFD$])
151979
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FDOPENDIR$])
151980
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_OPENDIR$])
151981
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([dirent.h])
151982
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([dirent.h], [check])
151983
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_dirent_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" dirent.h"])])
151984
 
+_AC_HEADERS_EXPANSION])
151985
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_DIRENT_H$])
151986
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_DIRENT_H$])
151987
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <dirent.h>
151988
 
+    ]], [alphasort dirfd fdopendir scandir])
151989
 
+m4trace:configure.ac:45: -1- gl_DIRENT_SAFER
151990
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fdopendir], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fdopendir"])])
151991
 
+_AC_FUNCS_EXPANSION])
151992
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([dirent-safer])
151993
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_DIRENT_SAFER$])
151994
 
+m4trace:configure.ac:45: -1- gl_FUNC_DIRFD
151995
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DIRFD$])
151996
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_DIRFD$])
151997
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([dirfd.c])
151998
 
+m4trace:configure.ac:45: -1- gl_PREREQ_DIRFD
151999
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DIR_FD_MEMBER_NAME$])
152000
 
+m4trace:configure.ac:45: -1- gl_DIRENT_MODULE_INDICATOR([dirfd])
152001
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([dirfd])
152002
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[dirfd]],
152003
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152004
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152005
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([dirfd])
152006
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_DIRFD$])
152007
 
+m4trace:configure.ac:45: -1- gl_DIRNAME
152008
 
+m4trace:configure.ac:45: -1- gl_DIRNAME_LGPL
152009
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([dirname])
152010
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_DIRNAME$])
152011
 
+m4trace:configure.ac:45: -1- gl_DIRNAME_LGPL
152012
 
+m4trace:configure.ac:45: -1- gl_DOUBLE_SLASH_ROOT
152013
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DOUBLE_SLASH_IS_DISTINCT_ROOT$])
152014
 
+m4trace:configure.ac:45: -1- gl_FUNC_DUP2
152015
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DUP2$])
152016
 
+m4trace:configure.ac:45: -1- gl_TEST_FCHDIR
152017
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fchdir], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fchdir"])])
152018
 
+_AC_FUNCS_EXPANSION])
152019
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([dup2.c])
152020
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([dup2])
152021
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([dup2])
152022
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[dup2]],
152023
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152024
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152025
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([dup2])
152026
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_DUP2$])
152027
 
+m4trace:configure.ac:45: -1- gl_ENVIRON
152028
 
+m4trace:configure.ac:45: -1- gt_CHECK_VAR_DECL([#include <unistd.h>], [environ])
152029
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ENVIRON_DECL$])
152030
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([environ])
152031
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([environ])
152032
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[environ]],
152033
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152034
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152035
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([environ])
152036
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_ENVIRON$])
152037
 
+m4trace:configure.ac:45: -1- gl_HEADER_ERRNO_H
152038
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS([errno.h])
152039
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([errno.h], [assume])
152040
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_ERRNO_H$])
152041
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_ERRNO_H$])
152042
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ERRNO_H$])
152043
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_ERRNO_H], [test -n "$ERRNO_H"])
152044
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ERRNO_H_TRUE$])
152045
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ERRNO_H_FALSE$])
152046
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ERRNO_H_TRUE])
152047
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ERRNO_H_FALSE])
152048
 
+m4trace:configure.ac:45: -1- gl_REPLACE_ERRNO_VALUE([EMULTIHOP])
152049
 
+m4trace:configure.ac:45: -1- AC_COMPUTE_INT([gl_cv_header_errno_h_EMULTIHOP], [EMULTIHOP], [
152050
 
+#define _XOPEN_SOURCE_EXTENDED 1
152051
 
+#include <errno.h>
152052
 
+/* The following two lines are a workaround against an autoconf-2.52 bug.  */
152053
 
+#include <stdio.h>
152054
 
+#include <stdlib.h>
152055
 
+])
152056
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^EMULTIHOP_HIDDEN$])
152057
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^EMULTIHOP_VALUE$])
152058
 
+m4trace:configure.ac:45: -1- gl_REPLACE_ERRNO_VALUE([ENOLINK])
152059
 
+m4trace:configure.ac:45: -1- AC_COMPUTE_INT([gl_cv_header_errno_h_ENOLINK], [ENOLINK], [
152060
 
+#define _XOPEN_SOURCE_EXTENDED 1
152061
 
+#include <errno.h>
152062
 
+/* The following two lines are a workaround against an autoconf-2.52 bug.  */
152063
 
+#include <stdio.h>
152064
 
+#include <stdlib.h>
152065
 
+])
152066
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ENOLINK_HIDDEN$])
152067
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ENOLINK_VALUE$])
152068
 
+m4trace:configure.ac:45: -1- gl_REPLACE_ERRNO_VALUE([EOVERFLOW])
152069
 
+m4trace:configure.ac:45: -1- AC_COMPUTE_INT([gl_cv_header_errno_h_EOVERFLOW], [EOVERFLOW], [
152070
 
+#define _XOPEN_SOURCE_EXTENDED 1
152071
 
+#include <errno.h>
152072
 
+/* The following two lines are a workaround against an autoconf-2.52 bug.  */
152073
 
+#include <stdio.h>
152074
 
+#include <stdlib.h>
152075
 
+])
152076
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^EOVERFLOW_HIDDEN$])
152077
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^EOVERFLOW_VALUE$])
152078
 
+m4trace:configure.ac:45: -1- gl_ERROR
152079
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([error.c])
152080
 
+m4trace:configure.ac:45: -1- gl_PREREQ_ERROR
152081
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$])
152082
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRERROR_R$])
152083
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STRERROR_R_CHAR_P$])
152084
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=error:3:c-format])
152085
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION_INIT
152086
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format])
152087
 
+m4trace:configure.ac:45: -1- gl_FUNC_EUIDACCESS
152088
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_EUIDACCESS$])
152089
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([euidaccess.c])
152090
 
+m4trace:configure.ac:45: -1- gl_PREREQ_EUIDACCESS
152091
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_faccessat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" faccessat"])])
152092
 
+_AC_FUNCS_EXPANSION])
152093
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_libgen_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" libgen.h"])])
152094
 
+_AC_HEADERS_EXPANSION])
152095
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_setregid], [_AC_CHECK_DECLS([setregid])])
152096
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SETREGID$])
152097
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETGROUPS_T$])
152098
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETGROUPS$])
152099
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB_EACCESS$])
152100
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_EACCESS$])
152101
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([euidaccess])
152102
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([euidaccess])
152103
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[euidaccess]],
152104
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152105
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152106
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([euidaccess])
152107
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_EUIDACCESS$])
152108
 
+m4trace:configure.ac:45: -1- gl_FUNC_FACCESSAT
152109
 
+m4trace:configure.ac:45: -1- gl_FUNC_OPENAT
152110
 
+m4trace:configure.ac:45: -1- gl_FCNTL_H_DEFAULTS
152111
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FCNTL$])
152112
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_NONBLOCKING$])
152113
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_OPEN$])
152114
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_OPENAT$])
152115
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FCNTL$])
152116
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_OPENAT$])
152117
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FCNTL$])
152118
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_OPEN$])
152119
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_OPENAT$])
152120
 
+m4trace:configure.ac:45: -1- gl_SYS_STAT_H_DEFAULTS
152121
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FCHMODAT$])
152122
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FSTATAT$])
152123
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FUTIMENS$])
152124
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LCHMOD$])
152125
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LSTAT$])
152126
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKDIRAT$])
152127
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKFIFO$])
152128
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKFIFOAT$])
152129
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKNOD$])
152130
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKNODAT$])
152131
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STAT$])
152132
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UTIMENSAT$])
152133
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FCHMODAT$])
152134
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FSTATAT$])
152135
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FUTIMENS$])
152136
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LCHMOD$])
152137
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LSTAT$])
152138
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKDIRAT$])
152139
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKFIFO$])
152140
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKFIFOAT$])
152141
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKNOD$])
152142
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKNODAT$])
152143
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UTIMENSAT$])
152144
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FSTAT$])
152145
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FSTATAT$])
152146
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FUTIMENS$])
152147
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_LSTAT$])
152148
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MKDIR$])
152149
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MKFIFO$])
152150
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MKNOD$])
152151
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STAT$])
152152
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_UTIMENSAT$])
152153
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fchmodat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fchmodat"])])
152154
 
+_AC_FUNCS_EXPANSION])
152155
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_lchmod], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lchmod"])])
152156
 
+_AC_FUNCS_EXPANSION])
152157
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mkdirat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mkdirat"])])
152158
 
+_AC_FUNCS_EXPANSION])
152159
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_openat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" openat"])])
152160
 
+_AC_FUNCS_EXPANSION])
152161
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_unlinkat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" unlinkat"])])
152162
 
+_AC_FUNCS_EXPANSION])
152163
 
+m4trace:configure.ac:45: -1- gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
152164
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LSTAT_FOLLOWS_SLASHED_SYMLINK$])
152165
 
+m4trace:configure.ac:45: -1- gl_FUNC_UNLINK
152166
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UNLINK_PARENT_BUG$])
152167
 
+m4trace:configure.ac:45: -1- gl_PREREQ_OPENAT
152168
 
+m4trace:configure.ac:45: -1- gl_PROMOTED_TYPE_MODE_T
152169
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^mode_t$])
152170
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PROMOTED_MODE_T$])
152171
 
+m4trace:configure.ac:45: -1- gl_FUNC_FCHOWNAT
152172
 
+m4trace:configure.ac:45: -1- gl_FUNC_FCHOWNAT_DEREF_BUG([REPLACE_FCHOWNAT=1
152173
 
+        AC_DEFINE([FCHOWNAT_NOFOLLOW_BUG], [1],
152174
 
+                  [Define to 1 if your platform has fchownat, but it cannot
152175
 
+                   perform lchown tasks.])
152176
 
+       ])
152177
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FCHOWNAT_NOFOLLOW_BUG$])
152178
 
+m4trace:configure.ac:45: -1- gl_FUNC_FCHOWNAT_EMPTY_FILENAME_BUG([REPLACE_FCHOWNAT=1
152179
 
+        AC_DEFINE([FCHOWNAT_EMPTY_FILENAME_BUG], [1],
152180
 
+                  [Define to 1 if your platform has fchownat, but it does
152181
 
+                   not reject an empty file name.])
152182
 
+       ])
152183
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FCHOWNAT_EMPTY_FILENAME_BUG$])
152184
 
+m4trace:configure.ac:45: -1- gl_FUNC_FSTATAT
152185
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fstatat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fstatat"])])
152186
 
+_AC_FUNCS_EXPANSION])
152187
 
+m4trace:configure.ac:45: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
152188
 
+../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
152189
 
+../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
152190
 
+../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
152191
 
+m4/openat.m4:161: gl_FUNC_FSTATAT is expanded from...
152192
 
+m4/openat.m4:11: gl_FUNC_OPENAT is expanded from...
152193
 
+m4/faccessat.m4:11: gl_FUNC_FACCESSAT is expanded from...
152194
 
+m4/gnulib-comp.m4:703: gl_INIT is expanded from...
152195
 
+configure.ac:45: the top level])
152196
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FSTATAT_ZERO_FLAG_BROKEN$])
152197
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([openat])
152198
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_OPENAT$])
152199
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_access], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" access"])])
152200
 
+_AC_FUNCS_EXPANSION])
152201
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_faccessat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" faccessat"])])
152202
 
+_AC_FUNCS_EXPANSION])
152203
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([faccessat.c])
152204
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([faccessat])
152205
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FACCESSAT$])
152206
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([faccessat])
152207
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([faccessat])
152208
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[faccessat]],
152209
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152210
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152211
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([faccessat])
152212
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FACCESSAT$])
152213
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_posix_fadvise], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" posix_fadvise"])])
152214
 
+_AC_FUNCS_EXPANSION])
152215
 
+m4trace:configure.ac:45: -1- gl_FUNC_FCHDIR
152216
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_fchdir], [_AC_CHECK_DECLS([fchdir])])
152217
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FCHDIR$])
152218
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fchdir.c])
152219
 
+m4trace:configure.ac:45: -1- gl_PREREQ_FCHDIR
152220
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FCHDIR$])
152221
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_OPEN_DIRECTORY$])
152222
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([fchdir])
152223
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fchdir])
152224
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[fchdir]],
152225
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152226
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152227
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([fchdir])
152228
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FCHDIR$])
152229
 
+m4trace:configure.ac:45: -1- gl_FUNC_FCLOSE
152230
 
+m4trace:configure.ac:45: -1- gl_STDIO_H_DEFAULTS
152231
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_DPRINTF$])
152232
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FCLOSE$])
152233
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FFLUSH$])
152234
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FGETC$])
152235
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FGETS$])
152236
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FOPEN$])
152237
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FPRINTF$])
152238
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FPRINTF_POSIX$])
152239
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FPURGE$])
152240
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FPUTC$])
152241
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FPUTS$])
152242
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FREAD$])
152243
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FREOPEN$])
152244
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FSCANF$])
152245
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FSEEK$])
152246
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FSEEKO$])
152247
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FTELL$])
152248
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FTELLO$])
152249
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FWRITE$])
152250
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETC$])
152251
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETCHAR$])
152252
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETDELIM$])
152253
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETLINE$])
152254
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETS$])
152255
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF$])
152256
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF_POSIX$])
152257
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PERROR$])
152258
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_POPEN$])
152259
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PRINTF$])
152260
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PRINTF_POSIX$])
152261
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PUTC$])
152262
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PUTCHAR$])
152263
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PUTS$])
152264
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_REMOVE$])
152265
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_RENAME$])
152266
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_RENAMEAT$])
152267
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SCANF$])
152268
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SNPRINTF$])
152269
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SPRINTF_POSIX$])
152270
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STDIO_H_NONBLOCKING$])
152271
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STDIO_H_SIGPIPE$])
152272
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TMPFILE$])
152273
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VASPRINTF$])
152274
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VFSCANF$])
152275
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VSCANF$])
152276
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VDPRINTF$])
152277
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VFPRINTF$])
152278
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VFPRINTF_POSIX$])
152279
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VPRINTF$])
152280
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VPRINTF_POSIX$])
152281
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VSNPRINTF$])
152282
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VSPRINTF_POSIX$])
152283
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FPURGE$])
152284
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FSEEKO$])
152285
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FTELLO$])
152286
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETDELIM$])
152287
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETLINE$])
152288
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_OBSTACK_PRINTF$])
152289
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$])
152290
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_VSNPRINTF$])
152291
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DPRINTF$])
152292
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FSEEKO$])
152293
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FTELLO$])
152294
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_RENAMEAT$])
152295
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_VASPRINTF$])
152296
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_VDPRINTF$])
152297
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_DPRINTF$])
152298
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FCLOSE$])
152299
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FFLUSH$])
152300
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FOPEN$])
152301
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FPRINTF$])
152302
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FPURGE$])
152303
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FREOPEN$])
152304
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FSEEK$])
152305
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FSEEKO$])
152306
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FTELL$])
152307
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FTELLO$])
152308
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GETDELIM$])
152309
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GETLINE$])
152310
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_OBSTACK_PRINTF$])
152311
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_PERROR$])
152312
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_POPEN$])
152313
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_PRINTF$])
152314
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_REMOVE$])
152315
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_RENAME$])
152316
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_RENAMEAT$])
152317
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SNPRINTF$])
152318
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SPRINTF$])
152319
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STDIO_READ_FUNCS$])
152320
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STDIO_WRITE_FUNCS$])
152321
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_TMPFILE$])
152322
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VASPRINTF$])
152323
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VDPRINTF$])
152324
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VFPRINTF$])
152325
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VPRINTF$])
152326
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VSNPRINTF$])
152327
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VSPRINTF$])
152328
 
+m4trace:configure.ac:45: -1- gl_FUNC_FFLUSH_STDIN
152329
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fclose.c])
152330
 
+m4trace:configure.ac:45: -1- gl_STDIO_MODULE_INDICATOR([fclose])
152331
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fclose])
152332
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[fclose]],
152333
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152334
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152335
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([fclose])
152336
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FCLOSE$])
152337
 
+m4trace:configure.ac:45: -1- gl_FUNC_FCNTL
152338
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fcntl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fcntl"])])
152339
 
+_AC_FUNCS_EXPANSION])
152340
 
+m4trace:configure.ac:45: -1- gl_REPLACE_FCNTL
152341
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fcntl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fcntl"])])
152342
 
+_AC_FUNCS_EXPANSION])
152343
 
+m4trace:configure.ac:45: -1- gl_REPLACE_FCNTL
152344
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fcntl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fcntl"])])
152345
 
+_AC_FUNCS_EXPANSION])
152346
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FCNTL_DUPFD_BUGGY$])
152347
 
+m4trace:configure.ac:45: -1- gl_REPLACE_FCNTL
152348
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fcntl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fcntl"])])
152349
 
+_AC_FUNCS_EXPANSION])
152350
 
+m4trace:configure.ac:45: -1- gl_TEST_FCHDIR
152351
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fchdir], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fchdir"])])
152352
 
+_AC_FUNCS_EXPANSION])
152353
 
+m4trace:configure.ac:45: -1- gl_REPLACE_FCNTL
152354
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fcntl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fcntl"])])
152355
 
+_AC_FUNCS_EXPANSION])
152356
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fcntl.c])
152357
 
+m4trace:configure.ac:45: -1- gl_FCNTL_MODULE_INDICATOR([fcntl])
152358
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fcntl])
152359
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[fcntl]],
152360
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152361
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152362
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([fcntl])
152363
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FCNTL$])
152364
 
+m4trace:configure.ac:45: -1- gl_FCNTL_H
152365
 
+m4trace:configure.ac:45: -1- gl_FCNTL_O_FLAGS
152366
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WORKING_O_NOATIME$])
152367
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WORKING_O_NOFOLLOW$])
152368
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS([fcntl.h])
152369
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([fcntl.h], [assume])
152370
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_FCNTL_H$])
152371
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_FCNTL_H$])
152372
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <fcntl.h>
152373
 
+    ]], [fcntl openat])
152374
 
+m4trace:configure.ac:45: -1- gl_FCNTL_SAFER
152375
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([fcntl-safer])
152376
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FCNTL_SAFER$])
152377
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([fd-safer-flag])
152378
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FD_SAFER_FLAG$])
152379
 
+m4trace:configure.ac:45: -1- gl_FUNC_FDOPENDIR
152380
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FDOPENDIR$])
152381
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fdopendir], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fdopendir"])])
152382
 
+_AC_FUNCS_EXPANSION])
152383
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fdopendir.c])
152384
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([openat-proc.c])
152385
 
+m4trace:configure.ac:45: -1- gl_DIRENT_MODULE_INDICATOR([fdopendir])
152386
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fdopendir])
152387
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[fdopendir]],
152388
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152389
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152390
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([fdopendir])
152391
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FDOPENDIR$])
152392
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([fdopendir])
152393
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FDOPENDIR$])
152394
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([fdutimensat])
152395
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FDUTIMENSAT$])
152396
 
+m4trace:configure.ac:45: -1- gl_FUNC_FFLUSH
152397
 
+m4trace:configure.ac:45: -1- gl_FUNC_FFLUSH_STDIN
152398
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fflush.c])
152399
 
+m4trace:configure.ac:45: -1- gl_PREREQ_FFLUSH
152400
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([fflush])
152401
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FFLUSH$])
152402
 
+m4trace:configure.ac:45: -1- gl_STDIO_MODULE_INDICATOR([fflush])
152403
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fflush])
152404
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[fflush]],
152405
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152406
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152407
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([fflush])
152408
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FFLUSH$])
152409
 
+m4trace:configure.ac:45: -1- gl_FILEBLOCKS
152410
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_BLOCKS$])
152411
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ST_BLOCKS$])
152412
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fileblocks.c])
152413
 
+m4trace:configure.ac:45: -1- gl_PREREQ_FILEBLOCKS
152414
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])])
152415
 
+_AC_HEADERS_EXPANSION])
152416
 
+m4trace:configure.ac:45: -1- gl_FILEMODE
152417
 
+m4trace:configure.ac:45: -1- AC_STRUCT_ST_DM_MODE
152418
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ST_DM_MODE$])
152419
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_strmode], [_AC_CHECK_DECLS([strmode])])
152420
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRMODE$])
152421
 
+m4trace:configure.ac:45: -1- gl_FILE_NAME_CONCAT
152422
 
+m4trace:configure.ac:45: -1- gl_FILE_NAME_CONCAT_LGPL
152423
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mempcpy], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mempcpy"])])
152424
 
+_AC_FUNCS_EXPANSION])
152425
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([filenamecat])
152426
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FILENAMECAT$])
152427
 
+m4trace:configure.ac:45: -1- gl_FILE_NAME_CONCAT_LGPL
152428
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mempcpy], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mempcpy"])])
152429
 
+_AC_FUNCS_EXPANSION])
152430
 
+m4trace:configure.ac:45: -1- AC_C_FLEXIBLE_ARRAY_MEMBER
152431
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLEXIBLE_ARRAY_MEMBER$])
152432
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLEXIBLE_ARRAY_MEMBER$])
152433
 
+m4trace:configure.ac:45: -1- gl_FLOAT_H
152434
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS([float.h])
152435
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([float.h], [assume])
152436
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_FLOAT_H$])
152437
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_FLOAT_H$])
152438
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLOAT_H$])
152439
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_FLOAT_H], [test -n "$FLOAT_H"])
152440
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_FLOAT_H_TRUE$])
152441
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_FLOAT_H_FALSE$])
152442
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_FLOAT_H_TRUE])
152443
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_FLOAT_H_FALSE])
152444
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([float.c])
152445
 
+m4trace:configure.ac:45: -1- gl_FUNC_FNMATCH_POSIX
152446
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FNMATCH_H$])
152447
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_FNMATCH_H], [test -n "$FNMATCH_H"])
152448
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_FNMATCH_H_TRUE$])
152449
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_FNMATCH_H_FALSE$])
152450
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_FNMATCH_H_TRUE])
152451
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_FNMATCH_H_FALSE])
152452
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fnmatch.c])
152453
 
+m4trace:configure.ac:45: -1- gl_PREREQ_FNMATCH
152454
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^fnmatch$])
152455
 
+m4trace:configure.ac:45: -1- AC_TYPE_MBSTATE_T
152456
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MBSTATE_T$])
152457
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^mbstate_t$])
152458
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ISBLANK$])
152459
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_btowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" btowc"])])
152460
 
+_AC_FUNCS_EXPANSION])
152461
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_isblank], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" isblank"])])
152462
 
+_AC_FUNCS_EXPANSION])
152463
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_iswctype], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" iswctype"])])
152464
 
+_AC_FUNCS_EXPANSION])
152465
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbsrtowcs], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsrtowcs"])])
152466
 
+_AC_FUNCS_EXPANSION])
152467
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mempcpy], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mempcpy"])])
152468
 
+_AC_FUNCS_EXPANSION])
152469
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_wmemchr], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wmemchr"])])
152470
 
+_AC_FUNCS_EXPANSION])
152471
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_wmemcpy], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wmemcpy"])])
152472
 
+_AC_FUNCS_EXPANSION])
152473
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_wmempcpy], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wmempcpy"])])
152474
 
+_AC_FUNCS_EXPANSION])
152475
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_wctype_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wctype.h"])])
152476
 
+_AC_HEADERS_EXPANSION])
152477
 
+m4trace:configure.ac:45: -1- gl_FUNC_FNMATCH_GNU
152478
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fnmatch.c])
152479
 
+m4trace:configure.ac:45: -1- gl_PREREQ_FNMATCH
152480
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^fnmatch$])
152481
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ISBLANK$])
152482
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_btowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" btowc"])])
152483
 
+_AC_FUNCS_EXPANSION])
152484
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_isblank], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" isblank"])])
152485
 
+_AC_FUNCS_EXPANSION])
152486
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_iswctype], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" iswctype"])])
152487
 
+_AC_FUNCS_EXPANSION])
152488
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbsrtowcs], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsrtowcs"])])
152489
 
+_AC_FUNCS_EXPANSION])
152490
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mempcpy], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mempcpy"])])
152491
 
+_AC_FUNCS_EXPANSION])
152492
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_wmemchr], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wmemchr"])])
152493
 
+_AC_FUNCS_EXPANSION])
152494
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_wmemcpy], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wmemcpy"])])
152495
 
+_AC_FUNCS_EXPANSION])
152496
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_wmempcpy], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wmempcpy"])])
152497
 
+_AC_FUNCS_EXPANSION])
152498
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_wctype_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wctype.h"])])
152499
 
+_AC_HEADERS_EXPANSION])
152500
 
+m4trace:configure.ac:45: -1- gl_FUNC_FOPEN
152501
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FOPEN_TRAILING_SLASH_BUG$])
152502
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fopen.c])
152503
 
+m4trace:configure.ac:45: -1- gl_PREREQ_FOPEN
152504
 
+m4trace:configure.ac:45: -1- gl_STDIO_MODULE_INDICATOR([fopen])
152505
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fopen])
152506
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[fopen]],
152507
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152508
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152509
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([fopen])
152510
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FOPEN$])
152511
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([fopen-safer])
152512
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FOPEN_SAFER$])
152513
 
+m4trace:configure.ac:45: -1- gl_FUNC_FPENDING
152514
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_stdio_ext_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" stdio_ext.h"])])
152515
 
+_AC_HEADERS_EXPANSION])
152516
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func___fpending], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" __fpending"])])
152517
 
+_AC_FUNCS_EXPANSION])
152518
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL___FPENDING$])
152519
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fpending.c])
152520
 
+m4trace:configure.ac:45: -1- gl_PREREQ_FPENDING
152521
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PENDING_OUTPUT_N_BYTES$])
152522
 
+m4trace:configure.ac:45: -1- gl_FUNC_FPURGE
152523
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fpurge], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fpurge"])])
152524
 
+_AC_FUNCS_EXPANSION])
152525
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func___fpurge], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" __fpurge"])])
152526
 
+_AC_FUNCS_EXPANSION])
152527
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FPURGE$])
152528
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fpurge.c])
152529
 
+m4trace:configure.ac:45: -1- gl_STDIO_MODULE_INDICATOR([fpurge])
152530
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fpurge])
152531
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[fpurge]],
152532
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152533
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152534
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([fpurge])
152535
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FPURGE$])
152536
 
+m4trace:configure.ac:45: -1- gl_FUNC_FREADING
152537
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func___freading], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" __freading"])])
152538
 
+_AC_FUNCS_EXPANSION])
152539
 
+m4trace:configure.ac:45: -1- gl_FUNC_FREOPEN
152540
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([freopen.c])
152541
 
+m4trace:configure.ac:45: -1- gl_PREREQ_FREOPEN
152542
 
+m4trace:configure.ac:45: -1- gl_STDIO_MODULE_INDICATOR([freopen])
152543
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([freopen])
152544
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[freopen]],
152545
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152546
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152547
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([freopen])
152548
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FREOPEN$])
152549
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([freopen-safer])
152550
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FREOPEN_SAFER$])
152551
 
+m4trace:configure.ac:45: -1- gl_FUNC_FREXP_NO_LIBM
152552
 
+m4trace:configure.ac:45: -1- gl_MATH_H_DEFAULTS
152553
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ACOSL$])
152554
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ASINL$])
152555
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ATANL$])
152556
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CEIL$])
152557
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CEILF$])
152558
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CEILL$])
152559
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_COSL$])
152560
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_EXPL$])
152561
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FLOOR$])
152562
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FLOORF$])
152563
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FLOORL$])
152564
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FREXP$])
152565
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FREXPL$])
152566
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISFINITE$])
152567
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISINF$])
152568
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISNAN$])
152569
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISNANF$])
152570
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISNAND$])
152571
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISNANL$])
152572
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LDEXPL$])
152573
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LOGB$])
152574
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LOGL$])
152575
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ROUND$])
152576
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ROUNDF$])
152577
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ROUNDL$])
152578
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SIGNBIT$])
152579
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SINL$])
152580
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SQRTL$])
152581
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TANL$])
152582
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TRUNC$])
152583
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TRUNCF$])
152584
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TRUNCL$])
152585
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACOSL$])
152586
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ASINL$])
152587
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ATANL$])
152588
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_COSL$])
152589
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_EXPL$])
152590
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISNANF$])
152591
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISNAND$])
152592
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISNANL$])
152593
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LOGL$])
152594
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SINL$])
152595
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SQRTL$])
152596
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TANL$])
152597
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ACOSL$])
152598
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ASINL$])
152599
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ATANL$])
152600
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_CEILF$])
152601
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_CEILL$])
152602
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_COSL$])
152603
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_EXPL$])
152604
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FLOORF$])
152605
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FLOORL$])
152606
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FREXPL$])
152607
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_LDEXPL$])
152608
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_LOGB$])
152609
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_LOGL$])
152610
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ROUND$])
152611
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ROUNDF$])
152612
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ROUNDL$])
152613
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SINL$])
152614
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SQRTL$])
152615
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TANL$])
152616
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TRUNC$])
152617
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TRUNCF$])
152618
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TRUNCL$])
152619
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_CEIL$])
152620
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_CEILF$])
152621
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_CEILL$])
152622
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FLOOR$])
152623
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FLOORF$])
152624
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FLOORL$])
152625
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FREXP$])
152626
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FREXPL$])
152627
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_HUGE_VAL$])
152628
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ISFINITE$])
152629
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ISINF$])
152630
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ISNAN$])
152631
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_LDEXPL$])
152632
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_NAN$])
152633
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ROUND$])
152634
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ROUNDF$])
152635
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ROUNDL$])
152636
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SIGNBIT$])
152637
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SIGNBIT_USING_GCC$])
152638
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_TRUNC$])
152639
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_TRUNCF$])
152640
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_TRUNCL$])
152641
 
+m4trace:configure.ac:45: -1- gl_CHECK_FREXP_NO_LIBM
152642
 
+m4trace:configure.ac:45: -1- gl_FUNC_FREXP_WORKS
152643
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FREXP_IN_LIBC$])
152644
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([frexp.c])
152645
 
+m4trace:configure.ac:45: -1- gl_MATH_MODULE_INDICATOR([frexp])
152646
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([frexp])
152647
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[frexp]],
152648
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152649
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152650
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([frexp])
152651
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FREXP$])
152652
 
+m4trace:configure.ac:45: -1- gl_FUNC_FREXPL_NO_LIBM
152653
 
+m4trace:configure.ac:45: -1- gl_CHECK_FREXPL_NO_LIBM
152654
 
+m4trace:configure.ac:45: -1- gl_FUNC_FREXPL_WORKS
152655
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FREXPL_IN_LIBC$])
152656
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([frexpl.c])
152657
 
+m4trace:configure.ac:45: -1- gl_MATH_MODULE_INDICATOR([frexpl])
152658
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([frexpl])
152659
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[frexpl]],
152660
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152661
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152662
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([frexpl])
152663
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FREXPL$])
152664
 
+m4trace:configure.ac:45: -1- gl_FUNC_FSEEK
152665
 
+m4trace:configure.ac:45: -1- gl_FUNC_FSEEKO
152666
 
+m4trace:configure.ac:45: -1- gl_STDIN_LARGE_OFFSET
152667
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_fseeko], [_AC_CHECK_DECLS([fseeko])])
152668
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FSEEKO$])
152669
 
+m4trace:configure.ac:45: -1- gl_FUNC_FFLUSH_STDIN
152670
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fseek.c])
152671
 
+m4trace:configure.ac:45: -1- gl_STDIO_MODULE_INDICATOR([fseek])
152672
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fseek])
152673
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[fseek]],
152674
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152675
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152676
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([fseek])
152677
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FSEEK$])
152678
 
+m4trace:configure.ac:45: -1- gl_FUNC_FSEEKO
152679
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_fseeko], [_AC_CHECK_DECLS([fseeko])])
152680
 
+m4trace:configure.ac:45: -1- gl_FUNC_FFLUSH_STDIN
152681
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fseeko.c])
152682
 
+m4trace:configure.ac:45: -1- gl_STDIO_MODULE_INDICATOR([fseeko])
152683
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fseeko])
152684
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[fseeko]],
152685
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152686
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152687
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([fseeko])
152688
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FSEEKO$])
152689
 
+m4trace:configure.ac:45: -1- gl_FSUSAGE
152690
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])])
152691
 
+_AC_HEADERS_EXPANSION])
152692
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_vfs_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/vfs.h"])])
152693
 
+_AC_HEADERS_EXPANSION])
152694
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_fs_types_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/fs_types.h"])])
152695
 
+_AC_HEADERS_EXPANSION])
152696
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_MOUNT_H$])
152697
 
+m4trace:configure.ac:45: -1- gl_FILE_SYSTEM_USAGE([gl_cv_fs_space=yes], [gl_cv_fs_space=no])
152698
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_STATVFS64$])
152699
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_STATVFS$])
152700
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_STATFS3_OSF1$])
152701
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_STATFS2_BSIZE$])
152702
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_STATFS4$])
152703
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_STATFS2_FSIZE$])
152704
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_STATFS2_FS_DATA$])
152705
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_READ_FILSYS$])
152706
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fsusage.c])
152707
 
+m4trace:configure.ac:45: -1- gl_PREREQ_FSUSAGE_EXTRA
152708
 
+m4trace:configure.ac:45: -1- gl_STATFS_TRUNCATES
152709
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STATFS_TRUNCATES_BLOCK_COUNTS$])
152710
 
+m4trace:configure.ac:45: -1- gl_FUNC_FSYNC
152711
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fsync], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fsync"])])
152712
 
+_AC_FUNCS_EXPANSION])
152713
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fsync.c])
152714
 
+m4trace:configure.ac:45: -1- gl_PREREQ_FSYNC
152715
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([fsync])
152716
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fsync])
152717
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[fsync]],
152718
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152719
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152720
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([fsync])
152721
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FSYNC$])
152722
 
+m4trace:configure.ac:45: -1- gl_FUNC_FTELL
152723
 
+m4trace:configure.ac:45: -1- gl_FUNC_FTELLO
152724
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_ftello], [_AC_CHECK_DECLS([ftello])])
152725
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FTELLO$])
152726
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE$])
152727
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([ftell.c])
152728
 
+m4trace:configure.ac:45: -1- gl_STDIO_MODULE_INDICATOR([ftell])
152729
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([ftell])
152730
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[ftell]],
152731
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152732
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152733
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([ftell])
152734
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FTELL$])
152735
 
+m4trace:configure.ac:45: -1- gl_FUNC_FTELLO
152736
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_ftello], [_AC_CHECK_DECLS([ftello])])
152737
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE$])
152738
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([ftello.c])
152739
 
+m4trace:configure.ac:45: -1- gl_STDIO_MODULE_INDICATOR([ftello])
152740
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([ftello])
152741
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[ftello]],
152742
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152743
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152744
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([ftello])
152745
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FTELLO$])
152746
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_strtof], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" strtof"])])
152747
 
+_AC_FUNCS_EXPANSION])
152748
 
+m4trace:configure.ac:45: -1- gl_FUNC_FTS
152749
 
+m4trace:configure.ac:45: -1- gl_FUNC_FTS_CORE
152750
 
+m4trace:configure.ac:45: -1- gl_FUNC_OPENAT
152751
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fchmodat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fchmodat"])])
152752
 
+_AC_FUNCS_EXPANSION])
152753
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_lchmod], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lchmod"])])
152754
 
+_AC_FUNCS_EXPANSION])
152755
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mkdirat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mkdirat"])])
152756
 
+_AC_FUNCS_EXPANSION])
152757
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_openat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" openat"])])
152758
 
+_AC_FUNCS_EXPANSION])
152759
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_unlinkat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" unlinkat"])])
152760
 
+_AC_FUNCS_EXPANSION])
152761
 
+m4trace:configure.ac:45: -1- gl_PREREQ_OPENAT
152762
 
+m4trace:configure.ac:45: -1- gl_FUNC_FCHOWNAT
152763
 
+m4trace:configure.ac:45: -1- gl_FUNC_FCHOWNAT_DEREF_BUG([REPLACE_FCHOWNAT=1
152764
 
+        AC_DEFINE([FCHOWNAT_NOFOLLOW_BUG], [1],
152765
 
+                  [Define to 1 if your platform has fchownat, but it cannot
152766
 
+                   perform lchown tasks.])
152767
 
+       ])
152768
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FCHOWNAT_NOFOLLOW_BUG$])
152769
 
+m4trace:configure.ac:45: -1- gl_FUNC_FCHOWNAT_EMPTY_FILENAME_BUG([REPLACE_FCHOWNAT=1
152770
 
+        AC_DEFINE([FCHOWNAT_EMPTY_FILENAME_BUG], [1],
152771
 
+                  [Define to 1 if your platform has fchownat, but it does
152772
 
+                   not reject an empty file name.])
152773
 
+       ])
152774
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FCHOWNAT_EMPTY_FILENAME_BUG$])
152775
 
+m4trace:configure.ac:45: -1- gl_FUNC_FSTATAT
152776
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fstatat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fstatat"])])
152777
 
+_AC_FUNCS_EXPANSION])
152778
 
+m4trace:configure.ac:45: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
152779
 
+../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
152780
 
+../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
152781
 
+../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
152782
 
+m4/openat.m4:161: gl_FUNC_FSTATAT is expanded from...
152783
 
+m4/openat.m4:11: gl_FUNC_OPENAT is expanded from...
152784
 
+m4/fts.m4:12: gl_FUNC_FTS_CORE is expanded from...
152785
 
+m4/fts.m4:7: gl_FUNC_FTS is expanded from...
152786
 
+m4/gnulib-comp.m4:703: gl_INIT is expanded from...
152787
 
+configure.ac:45: the top level])
152788
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FSTATAT_ZERO_FLAG_BROKEN$])
152789
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([openat])
152790
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_OPENAT$])
152791
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fstatfs], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fstatfs"])])
152792
 
+_AC_FUNCS_EXPANSION])
152793
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])])
152794
 
+_AC_HEADERS_EXPANSION])
152795
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_vfs_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/vfs.h"])])
152796
 
+_AC_HEADERS_EXPANSION])
152797
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STATFS_F_TYPE$])
152798
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fts.c])
152799
 
+m4trace:configure.ac:45: -1- gl_FUNC_FUTIMENS
152800
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_futimens], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" futimens"])])
152801
 
+_AC_FUNCS_EXPANSION])
152802
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([futimens.c])
152803
 
+m4trace:configure.ac:45: -1- gl_SYS_STAT_MODULE_INDICATOR([futimens])
152804
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([futimens])
152805
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[futimens]],
152806
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152807
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152808
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([futimens])
152809
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FUTIMENS$])
152810
 
+m4trace:configure.ac:45: -1- gl_GETADDRINFO
152811
 
+m4trace:configure.ac:45: -1- gl_HEADER_SYS_SOCKET
152812
 
+m4trace:configure.ac:45: -1- gl_SYS_SOCKET_H_DEFAULTS
152813
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SOCKET$])
152814
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CONNECT$])
152815
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ACCEPT$])
152816
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_BIND$])
152817
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETPEERNAME$])
152818
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETSOCKNAME$])
152819
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETSOCKOPT$])
152820
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LISTEN$])
152821
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_RECV$])
152822
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SEND$])
152823
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_RECVFROM$])
152824
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SENDTO$])
152825
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SETSOCKOPT$])
152826
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SHUTDOWN$])
152827
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ACCEPT4$])
152828
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$])
152829
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY$])
152830
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SA_FAMILY_T$])
152831
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACCEPT4$])
152832
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^_POSIX_PII_SOCKET$])
152833
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SHUTDOWN$])
152834
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SYS_H_SOCKET
152835
 
+m4trace:configure.ac:45: -1- gl_CHECK_SOCKET_HEADERS
152836
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_socket_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/socket.h"])])
152837
 
+_AC_HEADERS_EXPANSION])
152838
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$])
152839
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([sys/socket.h])
152840
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([sys/socket.h], [check])
152841
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_socket_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/socket.h"])])
152842
 
+_AC_HEADERS_EXPANSION])
152843
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_SOCKET_H$])
152844
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H$])
152845
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$])
152846
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$])
152847
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$])
152848
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SA_FAMILY_T$])
152849
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY$])
152850
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SYS_H_WINSOCK2
152851
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_socket_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/socket.h"])])
152852
 
+_AC_HEADERS_EXPANSION])
152853
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
152854
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
152855
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[
152856
 
+/* Some systems require prerequisite headers.  */
152857
 
+#include <sys/types.h>
152858
 
+#include <sys/socket.h>
152859
 
+    ]], [socket connect accept bind getpeername getsockname getsockopt
152860
 
+    listen recv send recvfrom sendto setsockopt shutdown accept4])
152861
 
+m4trace:configure.ac:45: -1- gl_HEADER_NETDB
152862
 
+m4trace:configure.ac:45: -1- gl_NETDB_H_DEFAULTS
152863
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETADDRINFO$])
152864
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_ADDRINFO$])
152865
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FREEADDRINFO$])
152866
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GAI_STRERROR$])
152867
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETADDRINFO$])
152868
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETNAMEINFO$])
152869
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GAI_STRERROR$])
152870
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([netdb.h])
152871
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([netdb.h], [check])
152872
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_netdb_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" netdb.h"])])
152873
 
+_AC_HEADERS_EXPANSION])
152874
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_NETDB_H$])
152875
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_NETDB_H$])
152876
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NETDB_H$])
152877
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <netdb.h>]], [getaddrinfo freeaddrinfo gai_strerror getnameinfo])
152878
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GAI_STRERROR$])
152879
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GAI_STRERRORA$])
152880
 
+m4trace:configure.ac:45: -1- gl_PREREQ_GETADDRINFO
152881
 
+m4trace:configure.ac:45: -1- gl_HOSTENT
152882
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$])
152883
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HOSTENT_LIB$])
152884
 
+m4trace:configure.ac:45: -1- gl_SERVENT
152885
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETSERVBYNAME$])
152886
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SERVENT_LIB$])
152887
 
+m4trace:configure.ac:45: -1- gl_FUNC_INET_NTOP
152888
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_INET_NTOP$])
152889
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INET_NTOP_LIB$])
152890
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_netdb_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" netdb.h"])])
152891
 
+_AC_HEADERS_EXPANSION])
152892
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_INET_NTOP$])
152893
 
+m4trace:configure.ac:45: -1- gl_SOCKET_FAMILIES
152894
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_netinet_in_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" netinet/in.h"])])
152895
 
+_AC_HEADERS_EXPANSION])
152896
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_IPV4$])
152897
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_IPV6$])
152898
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_SA_LEN$])
152899
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_netinet_in_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" netinet/in.h"])])
152900
 
+_AC_HEADERS_EXPANSION])
152901
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETADDRINFO$])
152902
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FREEADDRINFO$])
152903
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETNAMEINFO$])
152904
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_ADDRINFO$])
152905
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETADDRINFO_LIB$])
152906
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([getaddrinfo.c])
152907
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([gai_strerror.c])
152908
 
+m4trace:configure.ac:45: -1- gl_NETDB_MODULE_INDICATOR([getaddrinfo])
152909
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([getaddrinfo])
152910
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[getaddrinfo]],
152911
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152912
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152913
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([getaddrinfo])
152914
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETADDRINFO$])
152915
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETCWD
152916
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETCWD_NULL
152917
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETCWD_SIGNATURE
152918
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETCWD_PATH_MAX
152919
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_getcwd], [_AC_CHECK_DECLS([getcwd])])
152920
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETCWD$])
152921
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PARTLY_WORKING_GETCWD$])
152922
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETCWD_ABORT_BUG([gl_abort_bug=yes])
152923
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_getcwd], [_AC_CHECK_DECLS([getcwd])])
152924
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$])
152925
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([getcwd.c])
152926
 
+m4trace:configure.ac:45: -1- gl_PREREQ_GETCWD
152927
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([getcwd])
152928
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETCWD$])
152929
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([getcwd])
152930
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([getcwd])
152931
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[getcwd]],
152932
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152933
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152934
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([getcwd])
152935
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETCWD$])
152936
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETCWD_LGPL
152937
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([getcwd-lgpl.c])
152938
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([getcwd])
152939
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([getcwd])
152940
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[getcwd]],
152941
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152942
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152943
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([getcwd])
152944
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETCWD$])
152945
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETDELIM
152946
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_getdelim], [_AC_CHECK_DECLS([getdelim])])
152947
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETDELIM$])
152948
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_getdelim], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" getdelim"])])
152949
 
+_AC_FUNCS_EXPANSION])
152950
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([getdelim.c])
152951
 
+m4trace:configure.ac:45: -1- gl_PREREQ_GETDELIM
152952
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$])
152953
 
+m4trace:configure.ac:45: -1- gl_STDIO_MODULE_INDICATOR([getdelim])
152954
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([getdelim])
152955
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[getdelim]],
152956
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152957
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152958
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([getdelim])
152959
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETDELIM$])
152960
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETDTABLESIZE
152961
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_getdtablesize], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" getdtablesize"])])
152962
 
+_AC_FUNCS_EXPANSION])
152963
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([getdtablesize.c])
152964
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([getdtablesize])
152965
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([getdtablesize])
152966
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[getdtablesize]],
152967
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152968
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152969
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([getdtablesize])
152970
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETDTABLESIZE$])
152971
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETGROUPS
152972
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETGROUPS_ZERO_BUG$])
152973
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([getgroups.c])
152974
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([getgroups])
152975
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([getgroups])
152976
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[getgroups]],
152977
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
152978
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
152979
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([getgroups])
152980
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETGROUPS$])
152981
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETHOSTNAME
152982
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SYS_H_WINSOCK2
152983
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_socket_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/socket.h"])])
152984
 
+_AC_HEADERS_EXPANSION])
152985
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
152986
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
152987
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$])
152988
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETHOSTNAME_LIB$])
152989
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])])
152990
 
+_AC_HEADERS_EXPANSION])
152991
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_socket_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/socket.h"])])
152992
 
+_AC_HEADERS_EXPANSION])
152993
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_netdb_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" netdb.h"])])
152994
 
+_AC_HEADERS_EXPANSION])
152995
 
+m4trace:configure.ac:45: -1- AC_COMPUTE_INT([gl_cv_decl_HOST_NAME_MAX], [MAXHOSTNAMELEN], [
152996
 
+#include <sys/types.h>
152997
 
+#if HAVE_SYS_PARAM_H
152998
 
+# include <sys/param.h>
152999
 
+#endif
153000
 
+#if HAVE_SYS_SOCKET_H
153001
 
+# include <sys/socket.h>
153002
 
+#endif
153003
 
+#if HAVE_NETDB_H
153004
 
+# include <netdb.h>
153005
 
+#endif
153006
 
+], [dnl The system does not define MAXHOSTNAMELEN in any of the common
153007
 
+           dnl headers. Use a safe fallback.
153008
 
+           gl_cv_decl_HOST_NAME_MAX=256
153009
 
+          ])
153010
 
+m4trace:configure.ac:45: -1- _m4_warn([obsolete], [The macro `_AC_COMPUTE_INT' is obsolete and will be deleted in a
153011
 
+future version or Autoconf.  Hence, it is suggested that you use
153012
 
+instead the public AC_COMPUTE_INT macro.  Note that the arguments are
153013
 
+slightly different between the two.], [../../lib/autoconf/general.m4:3075: _AC_COMPUTE_INT is expanded from...
153014
 
+../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
153015
 
+../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
153016
 
+../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
153017
 
+m4/gethostname.m4:10: gl_FUNC_GETHOSTNAME is expanded from...
153018
 
+m4/gnulib-comp.m4:703: gl_INIT is expanded from...
153019
 
+configure.ac:45: the top level])
153020
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HOST_NAME_MAX$])
153021
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([gethostname.c])
153022
 
+m4trace:configure.ac:45: -1- gl_PREREQ_GETHOSTNAME
153023
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNAME$])
153024
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([gethostname])
153025
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([gethostname])
153026
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[gethostname]],
153027
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153028
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153029
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([gethostname])
153030
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETHOSTNAME$])
153031
 
+m4trace:configure.ac:45: -1- gl_GETHRXTIME
153032
 
+m4trace:configure.ac:45: -1- gl_ARITHMETIC_HRTIME_T
153033
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ARITHMETIC_HRTIME_T$])
153034
 
+m4trace:configure.ac:45: -1- gl_XTIME
153035
 
+m4trace:configure.ac:45: -1- AC_TYPE_LONG_LONG_INT
153036
 
+m4trace:configure.ac:45: -1- AC_TYPE_UNSIGNED_LONG_LONG_INT
153037
 
+m4trace:configure.ac:45: -1- _AC_TYPE_LONG_LONG_SNIPPET
153038
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$])
153039
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$])
153040
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETHRTIME$])
153041
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_nanouptime], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" nanouptime"])])
153042
 
+_AC_FUNCS_EXPANSION])
153043
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB_GETHRXTIME$])
153044
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([gethrxtime.c])
153045
 
+m4trace:configure.ac:45: -1- gl_PREREQ_GETHRXTIME
153046
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_microuptime], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" microuptime"])])
153047
 
+_AC_FUNCS_EXPANSION])
153048
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETLINE
153049
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_getline], [_AC_CHECK_DECLS([getline])])
153050
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETLINE$])
153051
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([getline.c])
153052
 
+m4trace:configure.ac:45: -1- gl_PREREQ_GETLINE
153053
 
+m4trace:configure.ac:45: -1- gl_STDIO_MODULE_INDICATOR([getline])
153054
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([getline])
153055
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[getline]],
153056
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153057
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153058
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([getline])
153059
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETLINE$])
153060
 
+m4trace:configure.ac:45: -1- gl_GETLOADAVG
153061
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LIBKSTAT$])
153062
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LIBPERFSTAT$])
153063
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DGUX$])
153064
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LIBDGC$])
153065
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETLOADAVG_LIBS$])
153066
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_LOADAVG_H$])
153067
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([getloadavg.c])
153068
 
+m4trace:configure.ac:45: -1- gl_PREREQ_GETLOADAVG
153069
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PSTAT_GETDYNAMIC$])
153070
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SVR4$])
153071
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UMAX$])
153072
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UMAX4_3$])
153073
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UMAX$])
153074
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MACH_MACH_H$])
153075
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NLIST_H$])
153076
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_NLIST_N_UN_N_NAME$])
153077
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^N_NAME_POINTER$])
153078
 
+m4trace:configure.ac:45: -1- gl_STDLIB_MODULE_INDICATOR([getloadavg])
153079
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([getloadavg])
153080
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[getloadavg]],
153081
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153082
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153083
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([getloadavg])
153084
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETLOADAVG$])
153085
 
+m4trace:configure.ac:45: -1- gl_GETNDELIM2
153086
 
+m4trace:configure.ac:45: -1- gl_PREREQ_GETNDELIM2
153087
 
+m4trace:configure.ac:45: -1- gt_TYPE_SSIZE_T
153088
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ssize_t$])
153089
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_flockfile], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" flockfile"])])
153090
 
+_AC_FUNCS_EXPANSION])
153091
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_funlockfile], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" funlockfile"])])
153092
 
+_AC_FUNCS_EXPANSION])
153093
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETOPT_GNU
153094
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETOPT_POSIX
153095
 
+m4trace:configure.ac:45: -1- gl_GETOPT_IFELSE([
153096
 
+      REPLACE_GETOPT=1
153097
 
+    ], [])
153098
 
+m4trace:configure.ac:45: -1- gl_GETOPT_CHECK_HEADERS
153099
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([getopt.h])
153100
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([getopt.h], [check])
153101
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_getopt_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" getopt.h"])])
153102
 
+_AC_HEADERS_EXPANSION])
153103
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_GETOPT_H$])
153104
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_GETOPT_H$])
153105
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETOPT_H$])
153106
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETOPT_H$])
153107
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETOPT_LONG_ONLY$])
153108
 
+m4trace:configure.ac:45: -1- GL_NOCRASH
153109
 
+m4trace:configure.ac:45: -1- gl_GETOPT_SUBSTITUTE_HEADER
153110
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^__GETOPT_PREFIX$])
153111
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETOPT_H$])
153112
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([getopt.c])
153113
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([getopt1.c])
153114
 
+m4trace:configure.ac:45: -1- gl_PREREQ_GETOPT
153115
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_getenv], [_AC_CHECK_DECLS([getenv])])
153116
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETENV$])
153117
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
153118
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETOPT_GNU$])
153119
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETOPT_POSIX
153120
 
+m4trace:configure.ac:45: -1- gl_GETOPT_IFELSE([
153121
 
+      REPLACE_GETOPT=1
153122
 
+    ], [])
153123
 
+m4trace:configure.ac:45: -1- gl_GETOPT_SUBSTITUTE_HEADER
153124
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^__GETOPT_PREFIX$])
153125
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETOPT_H$])
153126
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([getopt.c])
153127
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([getopt1.c])
153128
 
+m4trace:configure.ac:45: -1- gl_PREREQ_GETOPT
153129
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_getenv], [_AC_CHECK_DECLS([getenv])])
153130
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETPAGESIZE
153131
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$])
153132
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_OS_H$])
153133
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$])
153134
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([getpagesize.c])
153135
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([getpagesize])
153136
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([getpagesize])
153137
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[getpagesize]],
153138
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153139
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153140
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([getpagesize])
153141
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETPAGESIZE$])
153142
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETPASS_GNU
153143
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_getpass], [_AC_CHECK_DECLS([getpass])])
153144
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETPASS$])
153145
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^getpass$])
153146
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([getpass.c])
153147
 
+m4trace:configure.ac:45: -1- gl_PREREQ_GETPASS
153148
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_stdio_ext_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" stdio_ext.h"])])
153149
 
+_AC_HEADERS_EXPANSION])
153150
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_termios_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" termios.h"])])
153151
 
+_AC_HEADERS_EXPANSION])
153152
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func___fsetlocking], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" __fsetlocking"])])
153153
 
+_AC_FUNCS_EXPANSION])
153154
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_tcgetattr], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" tcgetattr"])])
153155
 
+_AC_FUNCS_EXPANSION])
153156
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_tcsetattr], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" tcsetattr"])])
153157
 
+_AC_FUNCS_EXPANSION])
153158
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL___FSETLOCKING$])
153159
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_fflush_unlocked], [_AC_CHECK_DECLS([fflush_unlocked])])
153160
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FFLUSH_UNLOCKED$])
153161
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_flockfile], [_AC_CHECK_DECLS([flockfile])])
153162
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FLOCKFILE$])
153163
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_fputs_unlocked], [_AC_CHECK_DECLS([fputs_unlocked])])
153164
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FPUTS_UNLOCKED$])
153165
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_funlockfile], [_AC_CHECK_DECLS([funlockfile])])
153166
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FUNLOCKFILE$])
153167
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_putc_unlocked], [_AC_CHECK_DECLS([putc_unlocked])])
153168
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_PUTC_UNLOCKED$])
153169
 
+m4trace:configure.ac:45: -1- AM_GNU_GETTEXT_VERSION([0.18.1])
153170
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBINTL$])
153171
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LTLIBINTL$])
153172
 
+m4trace:configure.ac:45: -1- gl_GETTIME
153173
 
+m4trace:configure.ac:45: -1- gl_TIMESPEC
153174
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_gettimeofday], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" gettimeofday"])])
153175
 
+_AC_FUNCS_EXPANSION])
153176
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_nanotime], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" nanotime"])])
153177
 
+_AC_FUNCS_EXPANSION])
153178
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETTIMEOFDAY
153179
 
+m4trace:configure.ac:45: -1- gl_HEADER_SYS_TIME_H
153180
 
+m4trace:configure.ac:45: -1- gl_HEADER_SYS_TIME_H_BODY
153181
 
+m4trace:configure.ac:45: -1- gl_HEADER_SYS_TIME_H_DEFAULTS
153182
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETTIMEOFDAY$])
153183
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETTIMEOFDAY$])
153184
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_TIMEVAL$])
153185
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$])
153186
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GETTIMEOFDAY$])
153187
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_time_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/time.h"])])
153188
 
+_AC_HEADERS_EXPANSION])
153189
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([sys/time.h])
153190
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([sys/time.h], [check])
153191
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_time_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/time.h"])])
153192
 
+_AC_HEADERS_EXPANSION])
153193
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_TIME_H$])
153194
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H$])
153195
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[
153196
 
+#if HAVE_SYS_TIME_H
153197
 
+# include <sys/time.h>
153198
 
+#endif
153199
 
+#include <time.h>
153200
 
+    ]], [gettimeofday])
153201
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_gettimeofday], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" gettimeofday"])])
153202
 
+_AC_FUNCS_EXPANSION])
153203
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETTIMEOFDAY_CLOBBER
153204
 
+m4trace:configure.ac:45: -1- gl_GETTIMEOFDAY_REPLACE_LOCALTIME
153205
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^gmtime$])
153206
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^localtime$])
153207
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETTIMEOFDAY_CLOBBERS_LOCALTIME$])
153208
 
+m4trace:configure.ac:45: -1- gl_FUNC_TZSET_CLOBBER
153209
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_RUN_TZSET_TEST$])
153210
 
+m4trace:configure.ac:45: -1- gl_GETTIMEOFDAY_REPLACE_LOCALTIME
153211
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^gmtime$])
153212
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^localtime$])
153213
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^tzset$])
153214
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^TZSET_CLOBBERS_LOCALTIME$])
153215
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETTIMEOFDAY_TIMEZONE$])
153216
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([gettimeofday.c])
153217
 
+m4trace:configure.ac:45: -1- gl_PREREQ_GETTIMEOFDAY
153218
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$])
153219
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE__FTIME$])
153220
 
+m4trace:configure.ac:45: -1- gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
153221
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([gettimeofday])
153222
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[gettimeofday]],
153223
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153224
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153225
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([gettimeofday])
153226
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETTIMEOFDAY$])
153227
 
+m4trace:configure.ac:45: -1- gl_GETUGROUPS
153228
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_grp_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" grp.h"])])
153229
 
+_AC_HEADERS_EXPANSION])
153230
 
+m4trace:configure.ac:45: -1- gl_FUNC_GETUSERSHELL
153231
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_getusershell], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" getusershell"])])
153232
 
+_AC_FUNCS_EXPANSION])
153233
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETUSERSHELL$])
153234
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([getusershell.c])
153235
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([getusershell])
153236
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([getusershell])
153237
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[getusershell]],
153238
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153239
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153240
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([getusershell])
153241
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETUSERSHELL$])
153242
 
+m4trace:configure.ac:45: -1- gl_GNU_MAKE
153243
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GNU_MAKE], [${MAKE-make} --version /cannot/make/this >/dev/null 2>&1])
153244
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNU_MAKE_TRUE$])
153245
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNU_MAKE_FALSE$])
153246
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GNU_MAKE_TRUE])
153247
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GNU_MAKE_FALSE])
153248
 
+m4trace:configure.ac:45: -1- gl_FUNC_GROUP_MEMBER
153249
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([group-member.c])
153250
 
+m4trace:configure.ac:45: -1- gl_PREREQ_GROUP_MEMBER
153251
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([group-member])
153252
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([group-member])
153253
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[group-member]],
153254
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153255
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153256
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([group-member])
153257
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GROUP_MEMBER$])
153258
 
+m4trace:configure.ac:45: -1- gl_HARD_LOCALE
153259
 
+m4trace:configure.ac:45: -1- gl_HOST_OS
153260
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HOST_OPERATING_SYSTEM$])
153261
 
+m4trace:configure.ac:45: -1- gl_HOSTENT
153262
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$])
153263
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HOSTENT_LIB$])
153264
 
+m4trace:configure.ac:45: -1- gl_HUMAN
153265
 
+m4trace:configure.ac:45: -1- gl_I_RING
153266
 
+m4trace:configure.ac:45: -1- AM_ICONV
153267
 
+m4trace:configure.ac:45: -1- AM_ICONV_LINK
153268
 
+m4trace:configure.ac:45: -1- AM_ICONV_LINKFLAGS_BODY
153269
 
+m4trace:configure.ac:45: -1- AC_LIB_PREPARE_PREFIX
153270
 
+m4trace:configure.ac:45: -1- AC_LIB_RPATH
153271
 
+m4trace:configure.ac:45: -1- AC_LIB_PROG_LD
153272
 
+m4trace:configure.ac:45: -1- AC_LIB_PROG_LD_GNU
153273
 
+m4trace:configure.ac:45: -1- AC_LIB_LINKFLAGS_BODY([iconv])
153274
 
+m4trace:configure.ac:45: -1- AC_LIB_PREPARE_MULTILIB
153275
 
+m4trace:configure.ac:45: -1- AC_LIB_WITH_FINAL_PREFIX([
153276
 
+    eval additional_includedir=\"$includedir\"
153277
 
+    eval additional_libdir=\"$libdir\"
153278
 
+  ])
153279
 
+m4trace:configure.ac:45: -1- AC_LIB_WITH_FINAL_PREFIX([
153280
 
+          eval additional_includedir=\"$includedir\"
153281
 
+          eval additional_libdir=\"$libdir\"
153282
 
+        ])
153283
 
+m4trace:configure.ac:45: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
153284
 
+m4trace:configure.ac:45: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
153285
 
+m4trace:configure.ac:45: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
153286
 
+m4trace:configure.ac:45: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
153287
 
+m4trace:configure.ac:45: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
153288
 
+m4trace:configure.ac:45: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
153289
 
+m4trace:configure.ac:45: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
153290
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ICONV$])
153291
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBICONV$])
153292
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LTLIBICONV$])
153293
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ICONV_CONST$])
153294
 
+m4trace:configure.ac:45: -1- gl_ICONV_H_DEFAULTS
153295
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ICONV$])
153296
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ICONV_CONST$])
153297
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ICONV$])
153298
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ICONV_OPEN$])
153299
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ICONV_UTF$])
153300
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ICONV_H$])
153301
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_ICONV_H], [test -n "$ICONV_H"])
153302
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ICONV_H_TRUE$])
153303
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ICONV_H_FALSE$])
153304
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ICONV_H_TRUE])
153305
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ICONV_H_FALSE])
153306
 
+m4trace:configure.ac:45: -1- gl_ICONV_MODULE_INDICATOR([iconv])
153307
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([iconv])
153308
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[iconv]],
153309
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153310
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153311
 
+m4trace:configure.ac:45: -1- gl_ICONV_H
153312
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([iconv.h])
153313
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([iconv.h], [check])
153314
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_iconv_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" iconv.h"])])
153315
 
+_AC_HEADERS_EXPANSION])
153316
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_ICONV_H$])
153317
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_ICONV_H$])
153318
 
+m4trace:configure.ac:45: -1- gl_FUNC_ICONV_OPEN
153319
 
+m4trace:configure.ac:45: -1- gl_REPLACE_ICONV_H
153320
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_ICONV_H], [test -n "$ICONV_H"])
153321
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ICONV_H_TRUE$])
153322
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ICONV_H_FALSE$])
153323
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ICONV_H_TRUE])
153324
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ICONV_H_FALSE])
153325
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ICONV_FLAVOR$])
153326
 
+m4trace:configure.ac:45: -1- gl_REPLACE_ICONV_OPEN
153327
 
+m4trace:configure.ac:45: -1- gl_REPLACE_ICONV_H
153328
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_ICONV_H], [test -n "$ICONV_H"])
153329
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ICONV_H_TRUE$])
153330
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ICONV_H_FALSE$])
153331
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ICONV_H_TRUE])
153332
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ICONV_H_FALSE])
153333
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([iconv_open.c])
153334
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([iconv.c])
153335
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([iconv_close.c])
153336
 
+m4trace:configure.ac:45: -1- gl_IDCACHE
153337
 
+m4trace:configure.ac:45: -1- gl_FUNC_INET_NTOP
153338
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_INET_NTOP$])
153339
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INET_NTOP_LIB$])
153340
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_netdb_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" netdb.h"])])
153341
 
+_AC_HEADERS_EXPANSION])
153342
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_INET_NTOP$])
153343
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([inet_ntop.c])
153344
 
+m4trace:configure.ac:45: -1- gl_PREREQ_INET_NTOP
153345
 
+m4trace:configure.ac:45: -1- gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
153346
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([inet_ntop])
153347
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[inet_ntop]],
153348
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153349
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153350
 
+m4trace:configure.ac:45: -1- gl_INLINE
153351
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_INLINE$])
153352
 
+m4trace:configure.ac:45: -1- gl_INTTOSTR
153353
 
+m4trace:configure.ac:45: -1- gl_PREREQ_INTTOSTR
153354
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^off_t$])
153355
 
+m4trace:configure.ac:45: -1- gl_PREREQ_IMAXTOSTR
153356
 
+m4trace:configure.ac:45: -1- gl_PREREQ_OFFTOSTR
153357
 
+m4trace:configure.ac:45: -1- gl_PREREQ_UMAXTOSTR
153358
 
+m4trace:configure.ac:45: -1- gl_PREREQ_UINTTOSTR
153359
 
+m4trace:configure.ac:45: -1- gl_INTTYPES_H
153360
 
+m4trace:configure.ac:45: -1- gl_INTTYPES_INCOMPLETE
153361
 
+m4trace:configure.ac:45: -1- gl_STDINT_H
153362
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$])
153363
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$])
153364
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_wchar_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wchar.h"])])
153365
 
+_AC_HEADERS_EXPANSION])
153366
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCHAR_H$])
153367
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_INTTYPES_H$])
153368
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$])
153369
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([stdint.h])
153370
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([stdint.h], [check])
153371
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_stdint_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" stdint.h"])])
153372
 
+_AC_HEADERS_EXPANSION])
153373
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_STDINT_H$])
153374
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDINT_H$])
153375
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STDINT_H$])
153376
 
+m4trace:configure.ac:45: -1- gl_STDINT_INCLUDES
153377
 
+m4trace:configure.ac:45: -1- gl_STDINT_INCLUDES
153378
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_INTTYPES_H$])
153379
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_BITYPES_H$])
153380
 
+m4trace:configure.ac:45: -1- gl_STDINT_TYPE_PROPERTIES
153381
 
+m4trace:configure.ac:45: -1- gl_MULTIARCH
153382
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^APPLE_UNIVERSAL_BUILD$])
153383
 
+m4trace:configure.ac:45: -1- gl_STDINT_BITSIZEOF([ptrdiff_t size_t], [gl_STDINT_INCLUDES])
153384
 
+m4trace:configure.ac:45: -1- AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT], [gl_STDINT_INCLUDES
153385
 
+#include <limits.h>], [result=unknown])
153386
 
+m4trace:configure.ac:45: -1- gl_STDINT_INCLUDES
153387
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^BITSIZEOF_PTRDIFF_T$])
153388
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^BITSIZEOF_SIZE_T$])
153389
 
+m4trace:configure.ac:45: -1- gl_STDINT_BITSIZEOF([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES])
153390
 
+m4trace:configure.ac:45: -1- AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT], [gl_STDINT_INCLUDES
153391
 
+#include <limits.h>], [result=unknown])
153392
 
+m4trace:configure.ac:45: -1- gl_STDINT_INCLUDES
153393
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^BITSIZEOF_SIG_ATOMIC_T$])
153394
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^BITSIZEOF_WCHAR_T$])
153395
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^BITSIZEOF_WINT_T$])
153396
 
+m4trace:configure.ac:45: -1- gl_CHECK_TYPES_SIGNED([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES])
153397
 
+m4trace:configure.ac:45: -1- gl_STDINT_INCLUDES
153398
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGNED_SIG_ATOMIC_T$])
153399
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGNED_WCHAR_T$])
153400
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGNED_WINT_T$])
153401
 
+m4trace:configure.ac:45: -1- gl_INTEGER_TYPE_SUFFIX([ptrdiff_t size_t], [gl_STDINT_INCLUDES])
153402
 
+m4trace:configure.ac:45: -1- gl_STDINT_INCLUDES
153403
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PTRDIFF_T_SUFFIX$])
153404
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SIZE_T_SUFFIX$])
153405
 
+m4trace:configure.ac:45: -1- gl_INTEGER_TYPE_SUFFIX([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES])
153406
 
+m4trace:configure.ac:45: -1- gl_STDINT_INCLUDES
153407
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SIG_ATOMIC_T_SUFFIX$])
153408
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WCHAR_T_SUFFIX$])
153409
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WINT_T_SUFFIX$])
153410
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STDINT_H$])
153411
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_STDINT_H], [test -n "$STDINT_H"])
153412
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDINT_H_TRUE$])
153413
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDINT_H_FALSE$])
153414
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDINT_H_TRUE])
153415
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDINT_H_FALSE])
153416
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_inttypes_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" inttypes.h"])])
153417
 
+_AC_HEADERS_EXPANSION])
153418
 
+m4trace:configure.ac:45: -1- gl_INTTYPES_H_DEFAULTS
153419
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_IMAXABS$])
153420
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_IMAXDIV$])
153421
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRTOIMAX$])
153422
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRTOUMAX$])
153423
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_IMAXABS$])
153424
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_IMAXDIV$])
153425
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRTOIMAX$])
153426
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRTOUMAX$])
153427
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INT32_MAX_LT_INTMAX_MAX$])
153428
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INT64_MAX_EQ_LONG_MAX$])
153429
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PRI_MACROS_BROKEN$])
153430
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PRIPTR_PREFIX$])
153431
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UINT32_MAX_LT_UINTMAX_MAX$])
153432
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UINT64_MAX_EQ_ULONG_MAX$])
153433
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([inttypes.h])
153434
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([inttypes.h], [check])
153435
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_inttypes_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" inttypes.h"])])
153436
 
+_AC_HEADERS_EXPANSION])
153437
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_INTTYPES_H$])
153438
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H$])
153439
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_TRIGGER_STDC_LIMIT_MACROS$])
153440
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <inttypes.h>
153441
 
+    ]], [imaxabs imaxdiv strtoimax strtoumax])
153442
 
+m4trace:configure.ac:45: -1- gl_INTTYPES_PRI_SCN
153443
 
+m4trace:configure.ac:45: -1- gt_INTTYPES_PRI
153444
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_INTTYPES_H$])
153445
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PRI_MACROS_BROKEN$])
153446
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PRI_MACROS_BROKEN$])
153447
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PRIPTR_PREFIX$])
153448
 
+m4trace:configure.ac:45: -1- gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION([INT32_MAX_LT_INTMAX_MAX], [defined INT32_MAX && defined INTMAX_MAX], [INT32_MAX < INTMAX_MAX], [sizeof (int) < sizeof (long long int)])
153449
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INT32_MAX_LT_INTMAX_MAX$])
153450
 
+m4trace:configure.ac:45: -1- gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION([INT64_MAX_EQ_LONG_MAX], [defined INT64_MAX], [INT64_MAX == LONG_MAX], [sizeof (long long int) == sizeof (long int)])
153451
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INT64_MAX_EQ_LONG_MAX$])
153452
 
+m4trace:configure.ac:45: -1- gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION([UINT32_MAX_LT_UINTMAX_MAX], [defined UINT32_MAX && defined UINTMAX_MAX], [UINT32_MAX < UINTMAX_MAX], [sizeof (unsigned int) < sizeof (unsigned long long int)])
153453
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UINT32_MAX_LT_UINTMAX_MAX$])
153454
 
+m4trace:configure.ac:45: -1- gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION([UINT64_MAX_EQ_ULONG_MAX], [defined UINT64_MAX], [UINT64_MAX == ULONG_MAX], [sizeof (unsigned long long int) == sizeof (unsigned long int)])
153455
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UINT64_MAX_EQ_ULONG_MAX$])
153456
 
+m4trace:configure.ac:45: -1- gl_INTTYPES_INCOMPLETE
153457
 
+m4trace:configure.ac:45: -1- gl_ISAPIPE
153458
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISAPIPE$])
153459
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([isapipe.c])
153460
 
+m4trace:configure.ac:45: -1- gl_PREREQ_ISAPIPE
153461
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FIFO_PIPES$])
153462
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FIFO_PIPES$])
153463
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PIPE_LINK_COUNT_MAX$])
153464
 
+m4trace:configure.ac:45: -1- gl_FUNC_ISBLANK
153465
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_isblank], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" isblank"])])
153466
 
+_AC_FUNCS_EXPANSION])
153467
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([isblank.c])
153468
 
+m4trace:configure.ac:45: -1- gl_CTYPE_MODULE_INDICATOR([isblank])
153469
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([isblank])
153470
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[isblank]],
153471
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153472
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153473
 
+m4trace:configure.ac:45: -1- gl_FUNC_ISNAND_NO_LIBM
153474
 
+m4trace:configure.ac:45: -1- gl_HAVE_ISNAND_NO_LIBM
153475
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISNAND_IN_LIBC$])
153476
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([isnand.c])
153477
 
+m4trace:configure.ac:45: -1- gl_PREREQ_ISNAND
153478
 
+m4trace:configure.ac:45: -1- gl_DOUBLE_EXPONENT_LOCATION
153479
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
153480
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DBL_EXPBIT0_WORD$])
153481
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DBL_EXPBIT0_BIT$])
153482
 
+m4trace:configure.ac:45: -1- gl_FUNC_ISNANF_NO_LIBM
153483
 
+m4trace:configure.ac:45: -1- gl_HAVE_ISNANF_NO_LIBM
153484
 
+m4trace:configure.ac:45: -1- gl_ISNANF_WORKS
153485
 
+m4trace:configure.ac:45: -1- gl_FLOAT_EXPONENT_LOCATION
153486
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$])
153487
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$])
153488
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISNANF_IN_LIBC$])
153489
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([isnanf.c])
153490
 
+m4trace:configure.ac:45: -1- gl_PREREQ_ISNANF
153491
 
+m4trace:configure.ac:45: -1- gl_FLOAT_EXPONENT_LOCATION
153492
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$])
153493
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$])
153494
 
+m4trace:configure.ac:45: -1- gl_FUNC_ISNANL_NO_LIBM
153495
 
+m4trace:configure.ac:45: -1- gl_HAVE_ISNANL_NO_LIBM
153496
 
+m4trace:configure.ac:45: -1- gl_FUNC_ISNANL_WORKS
153497
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISNANL_IN_LIBC$])
153498
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([isnanl.c])
153499
 
+m4trace:configure.ac:45: -1- gl_PREREQ_ISNANL
153500
 
+m4trace:configure.ac:45: -1- gl_LONG_DOUBLE_EXPONENT_LOCATION
153501
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LDBL_EXPBIT0_WORD$])
153502
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LDBL_EXPBIT0_BIT$])
153503
 
+m4trace:configure.ac:45: -1- gl_FUNC_ISWBLANK
153504
 
+m4trace:configure.ac:45: -1- gl_WCTYPE_H_DEFAULTS
153505
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISWBLANK$])
153506
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCTYPE$])
153507
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISWCTYPE$])
153508
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCTRANS$])
153509
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TOWCTRANS$])
153510
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISWBLANK$])
153511
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCTYPE_T$])
153512
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCTRANS_T$])
153513
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ISWBLANK$])
153514
 
+m4trace:configure.ac:45: -1- gl_WCTYPE_H
153515
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_iswcntrl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" iswcntrl"])])
153516
 
+_AC_FUNCS_EXPANSION])
153517
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISWCNTRL$])
153518
 
+m4trace:configure.ac:45: -1- gt_TYPE_WINT_T
153519
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINT_T$])
153520
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINT_T$])
153521
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([wctype.h])
153522
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([wctype.h], [check])
153523
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_wctype_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wctype.h"])])
153524
 
+_AC_HEADERS_EXPANSION])
153525
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_WCTYPE_H$])
153526
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H$])
153527
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCTYPE_H$])
153528
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ISWCNTRL$])
153529
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TOWLOWER$])
153530
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TOWLOWER$])
153531
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_TOWLOWER$])
153532
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[
153533
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
153534
 
+   <wchar.h>.
153535
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
153536
 
+   included before <wchar.h>.  */
153537
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
153538
 
+# include <stddef.h>
153539
 
+# include <stdio.h>
153540
 
+# include <time.h>
153541
 
+# include <wchar.h>
153542
 
+#endif
153543
 
+#include <wctype.h>
153544
 
+    ]], [wctype iswctype wctrans towctrans
153545
 
+    ])
153546
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_iswblank], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" iswblank"])])
153547
 
+_AC_FUNCS_EXPANSION])
153548
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ISWBLANK$])
153549
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([iswblank.c])
153550
 
+m4trace:configure.ac:45: -1- gl_WCTYPE_MODULE_INDICATOR([iswblank])
153551
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([iswblank])
153552
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[iswblank]],
153553
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153554
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153555
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([iswblank])
153556
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_ISWBLANK$])
153557
 
+m4trace:configure.ac:45: -1- gl_LANGINFO_H
153558
 
+m4trace:configure.ac:45: -1- gl_LANGINFO_H_DEFAULTS
153559
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_NL_LANGINFO$])
153560
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NL_LANGINFO$])
153561
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_NL_LANGINFO$])
153562
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([langinfo.h])
153563
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([langinfo.h], [check])
153564
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_langinfo_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" langinfo.h"])])
153565
 
+_AC_HEADERS_EXPANSION])
153566
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_LANGINFO_H$])
153567
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H$])
153568
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_langinfo_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" langinfo.h"])])
153569
 
+_AC_HEADERS_EXPANSION])
153570
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LANGINFO_H$])
153571
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$])
153572
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LANGINFO_T_FMT_AMPM$])
153573
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LANGINFO_ERA$])
153574
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LANGINFO_YESEXPR$])
153575
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <langinfo.h>
153576
 
+    ]], [nl_langinfo])
153577
 
+m4trace:configure.ac:45: -1- gl_FUNC_LCHMOD
153578
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_lchmod], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lchmod"])])
153579
 
+_AC_FUNCS_EXPANSION])
153580
 
+m4trace:configure.ac:45: -1- gl_SYS_STAT_MODULE_INDICATOR([lchmod])
153581
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([lchmod])
153582
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[lchmod]],
153583
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153584
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153585
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([lchmod])
153586
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_LCHMOD$])
153587
 
+m4trace:configure.ac:45: -1- gl_FUNC_LCHOWN
153588
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_lchmod], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lchmod"])])
153589
 
+_AC_FUNCS_EXPANSION])
153590
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LCHOWN$])
153591
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([lchown.c])
153592
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([lchown])
153593
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([lchown])
153594
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[lchown]],
153595
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153596
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153597
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([lchown])
153598
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_LCHOWN$])
153599
 
+m4trace:configure.ac:45: -1- gl_IGNORE_UNUSED_LIBRARIES
153600
 
+m4trace:configure.ac:45: -1- _gl_IGNORE_UNUSED_LIBRARIES_OPTIONS
153601
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^IGNORE_UNUSED_LIBRARIES_CFLAGS$])
153602
 
+m4trace:configure.ac:45: -1- gl_FUNC_LINK
153603
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_link], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" link"])])
153604
 
+_AC_FUNCS_EXPANSION])
153605
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([link.c])
153606
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([link])
153607
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([link])
153608
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[link]],
153609
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153610
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153611
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([link])
153612
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_LINK$])
153613
 
+m4trace:configure.ac:45: -1- gl_FUNC_LINK_FOLLOWS_SYMLINK
153614
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_readlink], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" readlink"])])
153615
 
+_AC_FUNCS_EXPANSION])
153616
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LINK_FOLLOWS_SYMLINKS$])
153617
 
+m4trace:configure.ac:45: -1- gl_FUNC_LINKAT
153618
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_linkat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" linkat"])])
153619
 
+_AC_FUNCS_EXPANSION])
153620
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_symlink], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" symlink"])])
153621
 
+_AC_FUNCS_EXPANSION])
153622
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])])
153623
 
+_AC_HEADERS_EXPANSION])
153624
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LINKAT_TRAILING_SLASH_BUG$])
153625
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([linkat.c])
153626
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([at-func2.c])
153627
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([linkat])
153628
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([linkat])
153629
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[linkat]],
153630
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153631
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153632
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([linkat])
153633
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_LINKAT$])
153634
 
+m4trace:configure.ac:45: -1- gl_LOCALCHARSET
153635
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_getc_unlocked], [_AC_CHECK_DECLS([getc_unlocked])])
153636
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$])
153637
 
+m4trace:configure.ac:45: -1- gl_GLIBC21
153638
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GLIBC21$])
153639
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALCHARSET_TESTS_ENVIRONMENT$])
153640
 
+m4trace:configure.ac:45: -1- gl_LOCALE_H
153641
 
+m4trace:configure.ac:45: -1- gl_LOCALE_H_DEFAULTS
153642
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SETLOCALE$])
153643
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_DUPLOCALE$])
153644
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DUPLOCALE$])
153645
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SETLOCALE$])
153646
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_DUPLOCALE$])
153647
 
+m4trace:configure.ac:45: -1- gl_STDDEF_H
153648
 
+m4trace:configure.ac:45: -1- gl_STDDEF_H_DEFAULTS
153649
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_NULL$])
153650
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCHAR_T$])
153651
 
+m4trace:configure.ac:45: -1- gt_TYPE_WCHAR_T
153652
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCHAR_T$])
153653
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STDDEF_H$])
153654
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_STDDEF_H], [test -n "$STDDEF_H"])
153655
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDDEF_H_TRUE$])
153656
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDDEF_H_FALSE$])
153657
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDDEF_H_TRUE])
153658
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDDEF_H_FALSE])
153659
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS([stddef.h])
153660
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([stddef.h], [assume])
153661
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_STDDEF_H$])
153662
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDDEF_H$])
153663
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_xlocale_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" xlocale.h"])])
153664
 
+_AC_HEADERS_EXPANSION])
153665
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_XLOCALE_H$])
153666
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS([locale.h])
153667
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([locale.h], [assume])
153668
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_LOCALE_H$])
153669
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_LOCALE_H$])
153670
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <locale.h>
153671
 
+/* Some systems provide declarations in a non-standard header.  */
153672
 
+#if HAVE_XLOCALE_H
153673
 
+# include <xlocale.h>
153674
 
+#endif
153675
 
+    ]], [setlocale duplocale])
153676
 
+m4trace:configure.ac:45: -1- gl_LOCK
153677
 
+m4trace:configure.ac:45: -1- gl_THREADLIB
153678
 
+m4trace:configure.ac:45: -1- gl_THREADLIB_BODY
153679
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PTHREAD_IN_USE_DETECTION_HARD$])
153680
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_POSIX_THREADS$])
153681
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_POSIX_THREADS_WEAK$])
153682
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_SOLARIS_THREADS$])
153683
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_SOLARIS_THREADS_WEAK$])
153684
 
+m4trace:configure.ac:45: -1- AC_LIB_LINKFLAGS([pth])
153685
 
+m4trace:configure.ac:45: -1- AC_LIB_LINKFLAGS_BODY([pth], [])
153686
 
+m4trace:configure.ac:45: -1- AC_LIB_WITH_FINAL_PREFIX([
153687
 
+    eval additional_includedir=\"$includedir\"
153688
 
+    eval additional_libdir=\"$libdir\"
153689
 
+  ])
153690
 
+m4trace:configure.ac:45: -1- AC_LIB_WITH_FINAL_PREFIX([
153691
 
+          eval additional_includedir=\"$includedir\"
153692
 
+          eval additional_libdir=\"$libdir\"
153693
 
+        ])
153694
 
+m4trace:configure.ac:45: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
153695
 
+m4trace:configure.ac:45: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
153696
 
+m4trace:configure.ac:45: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
153697
 
+m4trace:configure.ac:45: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
153698
 
+m4trace:configure.ac:45: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
153699
 
+m4trace:configure.ac:45: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCPTH])
153700
 
+m4trace:configure.ac:45: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
153701
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBPTH$])
153702
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LTLIBPTH$])
153703
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBPTH_PREFIX$])
153704
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_PTH_THREADS$])
153705
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_PTH_THREADS_WEAK$])
153706
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_WIN32_THREADS$])
153707
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBTHREAD$])
153708
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LTLIBTHREAD$])
153709
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBMULTITHREAD$])
153710
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LTLIBMULTITHREAD$])
153711
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_RWLOCK$])
153712
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_MUTEX_RECURSIVE$])
153713
 
+m4trace:configure.ac:45: -1- gl_PREREQ_LOCK
153714
 
+m4trace:configure.ac:45: -1- gl_FUNC_LSEEK
153715
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LSEEK_PIPE_BROKEN$])
153716
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([lseek.c])
153717
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([lseek])
153718
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([lseek])
153719
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[lseek]],
153720
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153721
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153722
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([lseek])
153723
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_LSEEK$])
153724
 
+m4trace:configure.ac:45: -1- gl_FUNC_LSTAT
153725
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_lstat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lstat"])])
153726
 
+_AC_FUNCS_EXPANSION])
153727
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([lstat.c])
153728
 
+m4trace:configure.ac:45: -1- gl_PREREQ_LSTAT
153729
 
+m4trace:configure.ac:45: -1- gl_SYS_STAT_MODULE_INDICATOR([lstat])
153730
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([lstat])
153731
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[lstat]],
153732
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153733
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153734
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([lstat])
153735
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_LSTAT$])
153736
 
+m4trace:configure.ac:45: -1- gl_FUNC_MALLOC_GNU
153737
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
153738
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MALLOC_GNU$])
153739
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MALLOC_GNU$])
153740
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([malloc.c])
153741
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([malloc-gnu])
153742
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MALLOC_GNU$])
153743
 
+m4trace:configure.ac:45: -1- gl_FUNC_MALLOC_POSIX
153744
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MALLOC_POSIX$])
153745
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([malloc.c])
153746
 
+m4trace:configure.ac:45: -1- gl_STDLIB_MODULE_INDICATOR([malloc-posix])
153747
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([malloc-posix])
153748
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[malloc-posix]],
153749
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153750
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153751
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([malloc-posix])
153752
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MALLOC_POSIX$])
153753
 
+m4trace:configure.ac:45: -1- gl_MALLOCA
153754
 
+m4trace:configure.ac:45: -1- gl_EEMALLOC
153755
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
153756
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MALLOC_0_IS_NONNULL$])
153757
 
+m4trace:configure.ac:45: -1- gl_MATH_H
153758
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([math.h])
153759
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([math.h], [check])
153760
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_math_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" math.h"])])
153761
 
+_AC_HEADERS_EXPANSION])
153762
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_MATH_H$])
153763
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_MATH_H$])
153764
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <math.h>
153765
 
+    ]], [acosl asinl atanl ceilf ceill cosl expl floorf floorl frexpl
153766
 
+    ldexpl logb logl round roundf roundl sinl sqrtl tanl trunc truncf truncl])
153767
 
+m4trace:configure.ac:45: -1- gl_MBCHAR
153768
 
+m4trace:configure.ac:45: -1- gl_MBITER
153769
 
+m4trace:configure.ac:45: -1- gl_FUNC_MBRLEN
153770
 
+m4trace:configure.ac:45: -1- gl_FUNC_MBRTOWC
153771
 
+m4trace:configure.ac:45: -1- gl_MBSTATE_T_BROKEN
153772
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])])
153773
 
+_AC_FUNCS_EXPANSION])
153774
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])])
153775
 
+_AC_FUNCS_EXPANSION])
153776
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_INCOMPLETE_STATE
153777
 
+m4trace:configure.ac:45: -1- gt_LOCALE_JA
153778
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_JA$])
153779
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_SANITYCHECK
153780
 
+m4trace:configure.ac:45: -1- gt_LOCALE_ZH_CN
153781
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
153782
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])])
153783
 
+_AC_FUNCS_EXPANSION])
153784
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MBRTOWC$])
153785
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_NULL_ARG1
153786
 
+m4trace:configure.ac:45: -1- gt_LOCALE_FR_UTF8
153787
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
153788
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_NULL_ARG2
153789
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_RETVAL
153790
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_NUL_RETVAL
153791
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG1_BUG$])
153792
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG2_BUG$])
153793
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MBRTOWC_RETVAL_BUG$])
153794
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MBRTOWC_NUL_RETVAL_BUG$])
153795
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbrlen], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrlen"])])
153796
 
+_AC_FUNCS_EXPANSION])
153797
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MBRLEN$])
153798
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([mbrlen.c])
153799
 
+m4trace:configure.ac:45: -1- gl_PREREQ_MBRLEN
153800
 
+m4trace:configure.ac:45: -1- gl_WCHAR_MODULE_INDICATOR([mbrlen])
153801
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mbrlen])
153802
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[mbrlen]],
153803
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153804
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153805
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([mbrlen])
153806
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MBRLEN$])
153807
 
+m4trace:configure.ac:45: -1- gl_FUNC_MBRTOWC
153808
 
+m4trace:configure.ac:45: -1- gl_MBSTATE_T_BROKEN
153809
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])])
153810
 
+_AC_FUNCS_EXPANSION])
153811
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])])
153812
 
+_AC_FUNCS_EXPANSION])
153813
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_INCOMPLETE_STATE
153814
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_SANITYCHECK
153815
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])])
153816
 
+_AC_FUNCS_EXPANSION])
153817
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MBRTOWC$])
153818
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_NULL_ARG1
153819
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_NULL_ARG2
153820
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_RETVAL
153821
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_NUL_RETVAL
153822
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG1_BUG$])
153823
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG2_BUG$])
153824
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MBRTOWC_RETVAL_BUG$])
153825
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MBRTOWC_NUL_RETVAL_BUG$])
153826
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([mbrtowc.c])
153827
 
+m4trace:configure.ac:45: -1- gl_PREREQ_MBRTOWC
153828
 
+m4trace:configure.ac:45: -1- gl_WCHAR_MODULE_INDICATOR([mbrtowc])
153829
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mbrtowc])
153830
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[mbrtowc]],
153831
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153832
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153833
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([mbrtowc])
153834
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MBRTOWC$])
153835
 
+m4trace:configure.ac:45: -1- gl_STRING_MODULE_INDICATOR([mbscasecmp])
153836
 
+m4trace:configure.ac:45: -1- gl_HEADER_STRING_H_DEFAULTS
153837
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FFSL$])
153838
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FFSLL$])
153839
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MEMCHR$])
153840
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MEMMEM$])
153841
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MEMPCPY$])
153842
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MEMRCHR$])
153843
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_RAWMEMCHR$])
153844
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STPCPY$])
153845
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STPNCPY$])
153846
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRCHRNUL$])
153847
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRDUP$])
153848
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRNCAT$])
153849
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRNDUP$])
153850
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRNLEN$])
153851
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRPBRK$])
153852
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRSEP$])
153853
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRSTR$])
153854
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRCASESTR$])
153855
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRTOK_R$])
153856
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSLEN$])
153857
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSNLEN$])
153858
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSCHR$])
153859
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSRCHR$])
153860
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSSTR$])
153861
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSCASECMP$])
153862
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSNCASECMP$])
153863
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSPCASECMP$])
153864
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSCASESTR$])
153865
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSCSPN$])
153866
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSPBRK$])
153867
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSSPN$])
153868
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSSEP$])
153869
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSTOK_R$])
153870
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRERROR$])
153871
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRERROR_R$])
153872
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRSIGNAL$])
153873
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRVERSCMP$])
153874
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MBSLEN$])
153875
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FFSL$])
153876
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FFSLL$])
153877
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MEMCHR$])
153878
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MEMMEM$])
153879
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MEMPCPY$])
153880
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MEMRCHR$])
153881
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_RAWMEMCHR$])
153882
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STPCPY$])
153883
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STPNCPY$])
153884
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRCHRNUL$])
153885
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$])
153886
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$])
153887
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$])
153888
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRPBRK$])
153889
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRSEP$])
153890
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRCASESTR$])
153891
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRTOK_R$])
153892
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$])
153893
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$])
153894
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRVERSCMP$])
153895
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MEMCHR$])
153896
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MEMMEM$])
153897
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STPNCPY$])
153898
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRDUP$])
153899
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRSTR$])
153900
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRCASESTR$])
153901
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRCHRNUL$])
153902
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRERROR$])
153903
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRERROR_R$])
153904
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRNCAT$])
153905
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRNDUP$])
153906
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRNLEN$])
153907
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRSIGNAL$])
153908
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRTOK_R$])
153909
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UNDEFINE_STRTOK_R$])
153910
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mbscasecmp])
153911
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[mbscasecmp]],
153912
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153913
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153914
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([mbscasecmp])
153915
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MBSCASECMP$])
153916
 
+m4trace:configure.ac:45: -1- gl_FUNC_MBSINIT
153917
 
+m4trace:configure.ac:45: -1- gl_MBSTATE_T_BROKEN
153918
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])])
153919
 
+_AC_FUNCS_EXPANSION])
153920
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])])
153921
 
+_AC_FUNCS_EXPANSION])
153922
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_INCOMPLETE_STATE
153923
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_SANITYCHECK
153924
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])])
153925
 
+_AC_FUNCS_EXPANSION])
153926
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MBSINIT$])
153927
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([mbsinit.c])
153928
 
+m4trace:configure.ac:45: -1- gl_PREREQ_MBSINIT
153929
 
+m4trace:configure.ac:45: -1- gl_WCHAR_MODULE_INDICATOR([mbsinit])
153930
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mbsinit])
153931
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[mbsinit]],
153932
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153933
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153934
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([mbsinit])
153935
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MBSINIT$])
153936
 
+m4trace:configure.ac:45: -1- gl_FUNC_MBSLEN
153937
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbslen], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbslen"])])
153938
 
+_AC_FUNCS_EXPANSION])
153939
 
+m4trace:configure.ac:45: -1- gl_STRING_MODULE_INDICATOR([mbslen])
153940
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mbslen])
153941
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[mbslen]],
153942
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153943
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153944
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([mbslen])
153945
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MBSLEN$])
153946
 
+m4trace:configure.ac:45: -1- gl_FUNC_MBSRTOWCS
153947
 
+m4trace:configure.ac:45: -1- gl_MBSTATE_T_BROKEN
153948
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])])
153949
 
+_AC_FUNCS_EXPANSION])
153950
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])])
153951
 
+_AC_FUNCS_EXPANSION])
153952
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_INCOMPLETE_STATE
153953
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_SANITYCHECK
153954
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbsrtowcs], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsrtowcs"])])
153955
 
+_AC_FUNCS_EXPANSION])
153956
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MBSRTOWCS$])
153957
 
+m4trace:configure.ac:45: -1- gl_MBSRTOWCS_WORKS
153958
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([mbsrtowcs.c])
153959
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([mbsrtowcs-state.c])
153960
 
+m4trace:configure.ac:45: -1- gl_PREREQ_MBSRTOWCS
153961
 
+m4trace:configure.ac:45: -1- gl_WCHAR_MODULE_INDICATOR([mbsrtowcs])
153962
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mbsrtowcs])
153963
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[mbsrtowcs]],
153964
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153965
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153966
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([mbsrtowcs])
153967
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MBSRTOWCS$])
153968
 
+m4trace:configure.ac:45: -1- gl_STRING_MODULE_INDICATOR([mbsstr])
153969
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mbsstr])
153970
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[mbsstr]],
153971
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153972
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153973
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([mbsstr])
153974
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MBSSTR$])
153975
 
+m4trace:configure.ac:45: -1- gl_MBSWIDTH
153976
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_wchar_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wchar.h"])])
153977
 
+_AC_HEADERS_EXPANSION])
153978
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_isascii], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" isascii"])])
153979
 
+_AC_FUNCS_EXPANSION])
153980
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])])
153981
 
+_AC_FUNCS_EXPANSION])
153982
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MBSWIDTH_IN_WCHAR_H$])
153983
 
+m4trace:configure.ac:45: -1- AC_TYPE_MBSTATE_T
153984
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MBSTATE_T$])
153985
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^mbstate_t$])
153986
 
+m4trace:configure.ac:45: -1- gl_FUNC_MBTOWC
153987
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([mbtowc.c])
153988
 
+m4trace:configure.ac:45: -1- gl_PREREQ_MBTOWC
153989
 
+m4trace:configure.ac:45: -1- gl_STDLIB_MODULE_INDICATOR([mbtowc])
153990
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mbtowc])
153991
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[mbtowc]],
153992
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
153993
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
153994
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([mbtowc])
153995
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MBTOWC$])
153996
 
+m4trace:configure.ac:45: -1- gl_MBITER
153997
 
+m4trace:configure.ac:45: -1- gl_MEMCASECMP
153998
 
+m4trace:configure.ac:45: -1- gl_FUNC_MEMCHR
153999
 
+m4trace:configure.ac:45: -1- gl_FUNC_MMAP_ANON
154000
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
154001
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
154002
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])])
154003
 
+_AC_HEADERS_EXPANSION])
154004
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])])
154005
 
+_AC_FUNCS_EXPANSION])
154006
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([memchr.c])
154007
 
+m4trace:configure.ac:45: -1- gl_PREREQ_MEMCHR
154008
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_BP_SYM_H$])
154009
 
+m4trace:configure.ac:45: -1- gl_STRING_MODULE_INDICATOR([memchr])
154010
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([memchr])
154011
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[memchr]],
154012
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154013
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154014
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([memchr])
154015
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MEMCHR$])
154016
 
+m4trace:configure.ac:45: -1- gl_MEMCOLL
154017
 
+m4trace:configure.ac:45: -1- gl_FUNC_MEMPCPY
154018
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MEMPCPY$])
154019
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([mempcpy.c])
154020
 
+m4trace:configure.ac:45: -1- gl_PREREQ_MEMPCPY
154021
 
+m4trace:configure.ac:45: -1- gl_STRING_MODULE_INDICATOR([mempcpy])
154022
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mempcpy])
154023
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[mempcpy]],
154024
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154025
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154026
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([mempcpy])
154027
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MEMPCPY$])
154028
 
+m4trace:configure.ac:45: -1- gl_FUNC_MEMRCHR
154029
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_memrchr], [_AC_CHECK_DECLS([memrchr])])
154030
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MEMRCHR$])
154031
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MEMRCHR$])
154032
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([memrchr.c])
154033
 
+m4trace:configure.ac:45: -1- gl_PREREQ_MEMRCHR
154034
 
+m4trace:configure.ac:45: -1- gl_STRING_MODULE_INDICATOR([memrchr])
154035
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([memrchr])
154036
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[memrchr]],
154037
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154038
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154039
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([memrchr])
154040
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MEMRCHR$])
154041
 
+m4trace:configure.ac:45: -1- gl_MGETGROUPS
154042
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_getgrouplist], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" getgrouplist"])])
154043
 
+_AC_FUNCS_EXPANSION])
154044
 
+m4trace:configure.ac:45: -1- gl_MKANCESDIRS
154045
 
+m4trace:configure.ac:45: -1- gl_FUNC_MKDIR
154046
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])])
154047
 
+_AC_HEADERS_EXPANSION])
154048
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FUNC_MKDIR_DOT_BUG$])
154049
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([mkdir.c])
154050
 
+m4trace:configure.ac:45: -1- gl_MKDIR_PARENTS
154051
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fchmod], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fchmod"])])
154052
 
+_AC_FUNCS_EXPANSION])
154053
 
+m4trace:configure.ac:45: -1- gl_FUNC_MKSTEMP
154054
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mkstemp], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mkstemp"])])
154055
 
+_AC_FUNCS_EXPANSION])
154056
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([mkstemp.c])
154057
 
+m4trace:configure.ac:45: -1- gl_PREREQ_MKSTEMP
154058
 
+m4trace:configure.ac:45: -1- gl_STDLIB_MODULE_INDICATOR([mkstemp])
154059
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mkstemp])
154060
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[mkstemp]],
154061
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154062
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154063
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([mkstemp])
154064
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MKSTEMP$])
154065
 
+m4trace:configure.ac:45: -1- gl_FUNC_MKTIME
154066
 
+m4trace:configure.ac:45: -1- gl_HEADER_TIME_H_DEFAULTS
154067
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKTIME$])
154068
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_NANOSLEEP$])
154069
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRPTIME$])
154070
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TIMEGM$])
154071
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TIME_R$])
154072
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_LOCALTIME_R$])
154073
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NANOSLEEP$])
154074
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRPTIME$])
154075
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TIMEGM$])
154076
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_LOCALTIME_R$])
154077
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MKTIME$])
154078
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_NANOSLEEP$])
154079
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_TIMEGM$])
154080
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])])
154081
 
+_AC_HEADERS_EXPANSION])
154082
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_alarm], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" alarm"])])
154083
 
+_AC_FUNCS_EXPANSION])
154084
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([mktime.c])
154085
 
+m4trace:configure.ac:45: -1- gl_PREREQ_MKTIME
154086
 
+m4trace:configure.ac:45: -1- gl_TIME_MODULE_INDICATOR([mktime])
154087
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mktime])
154088
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[mktime]],
154089
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154090
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154091
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([mktime])
154092
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MKTIME$])
154093
 
+m4trace:configure.ac:45: -1- gl_MODECHANGE
154094
 
+m4trace:configure.ac:45: -1- gl_MOUNTLIST
154095
 
+m4trace:configure.ac:45: -1- gl_LIST_MOUNTED_FILE_SYSTEMS([gl_cv_list_mounted_fs=yes], [gl_cv_list_mounted_fs=no])
154096
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])])
154097
 
+_AC_HEADERS_EXPANSION])
154098
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_statvfs_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/statvfs.h"])])
154099
 
+_AC_HEADERS_EXPANSION])
154100
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_UCRED_H$])
154101
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_MOUNT_H$])
154102
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_FSSTAT_F_FSTYPENAME$])
154103
 
+m4trace:configure.ac:45: -1- AC_FUNC_GETMNTENT
154104
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETMNTENT$])
154105
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_LISTMNTENT$])
154106
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_VMOUNT$])
154107
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_GETMNTENT1$])
154108
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_GETMNTENT2$])
154109
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_HASMNTOPT$])
154110
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_GETFSSTAT$])
154111
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_FREAD_FSTYP$])
154112
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_GETMNTINFO$])
154113
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_GETMNTINFO2$])
154114
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_GETMNT$])
154115
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FS_INFO_H$])
154116
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_FS_STAT_DEV$])
154117
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_FREAD$])
154118
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STATVFS$])
154119
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_INTERIX_STATVFS$])
154120
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([mountlist.c])
154121
 
+m4trace:configure.ac:45: -1- gl_PREREQ_MOUNTLIST_EXTRA
154122
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_MNTENT_H$])
154123
 
+m4trace:configure.ac:45: -1- gl_FSTYPENAME
154124
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STATFS_F_FSTYPENAME$])
154125
 
+m4trace:configure.ac:45: -1- gl_MPSORT
154126
 
+m4trace:configure.ac:45: -1- gl_MULTIARCH
154127
 
+m4trace:configure.ac:45: -1- gl_FUNC_NANOSLEEP
154128
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_time_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/time.h"])])
154129
 
+_AC_HEADERS_EXPANSION])
154130
 
+m4trace:configure.ac:45: -1- gl_FUNC_SELECT
154131
 
+m4trace:configure.ac:45: -1- gl_HEADER_SYS_SELECT
154132
 
+m4trace:configure.ac:45: -1- gl_SYS_SELECT_H_DEFAULTS
154133
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PSELECT$])
154134
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SELECT$])
154135
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PSELECT$])
154136
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_PSELECT$])
154137
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SELECT$])
154138
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([sys/select.h])
154139
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([sys/select.h], [check])
154140
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_select_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/select.h"])])
154141
 
+_AC_HEADERS_EXPANSION])
154142
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_SELECT_H$])
154143
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H$])
154144
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$])
154145
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SYS_H_WINSOCK2
154146
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_socket_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/socket.h"])])
154147
 
+_AC_HEADERS_EXPANSION])
154148
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
154149
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
154150
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[
154151
 
+/* Some systems require prerequisite headers.  */
154152
 
+#include <sys/types.h>
154153
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__) && HAVE_SYS_TIME_H
154154
 
+# include <sys/time.h>
154155
 
+#endif
154156
 
+#include <sys/select.h>
154157
 
+    ]], [pselect select])
154158
 
+m4trace:configure.ac:45: -1- gl_SOCKETS
154159
 
+m4trace:configure.ac:45: -1- gl_SOCKETLIB
154160
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SYS_H_WINSOCK2
154161
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_socket_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/socket.h"])])
154162
 
+_AC_HEADERS_EXPANSION])
154163
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
154164
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
154165
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WINDOWS_SOCKETS$])
154166
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBSOCKET$])
154167
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SOCKETS
154168
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_select_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/select.h"])])
154169
 
+_AC_HEADERS_EXPANSION])
154170
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB_NANOSLEEP$])
154171
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_BUG_BIG_NANOSLEEP$])
154172
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([nanosleep.c])
154173
 
+m4trace:configure.ac:45: -1- gl_PREREQ_NANOSLEEP
154174
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_select_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/select.h"])])
154175
 
+_AC_HEADERS_EXPANSION])
154176
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SIG_HANDLER_H
154177
 
+m4trace:configure.ac:45: -1- gl_TIME_MODULE_INDICATOR([nanosleep])
154178
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([nanosleep])
154179
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[nanosleep]],
154180
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154181
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154182
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([nanosleep])
154183
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_NANOSLEEP$])
154184
 
+m4trace:configure.ac:45: -1- gl_HEADER_NETDB
154185
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([netdb.h])
154186
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([netdb.h], [check])
154187
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_netdb_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" netdb.h"])])
154188
 
+_AC_HEADERS_EXPANSION])
154189
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_NETDB_H$])
154190
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_NETDB_H$])
154191
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NETDB_H$])
154192
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <netdb.h>]], [getaddrinfo freeaddrinfo gai_strerror getnameinfo])
154193
 
+m4trace:configure.ac:45: -1- gl_HEADER_NETINET_IN
154194
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$])
154195
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([netinet/in.h])
154196
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([netinet/in.h], [check])
154197
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_netinet_in_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" netinet/in.h"])])
154198
 
+_AC_HEADERS_EXPANSION])
154199
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_NETINET_IN_H$])
154200
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H$])
154201
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$])
154202
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NETINET_IN_H$])
154203
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_NETINET_IN_H], [test -n "$NETINET_IN_H"])
154204
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_NETINET_IN_H_TRUE$])
154205
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_NETINET_IN_H_FALSE$])
154206
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_NETINET_IN_H_TRUE])
154207
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_NETINET_IN_H_FALSE])
154208
 
+m4trace:configure.ac:45: -1- AC_PROG_MKDIR_P
154209
 
+m4trace:configure.ac:45: -1- gl_FUNC_NL_LANGINFO
154210
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_nl_langinfo], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" nl_langinfo"])])
154211
 
+_AC_FUNCS_EXPANSION])
154212
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FUNC_NL_LANGINFO_YESEXPR_WORKS$])
154213
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_NL_LANGINFO$])
154214
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([nl_langinfo.c])
154215
 
+m4trace:configure.ac:45: -1- gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
154216
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([nl_langinfo])
154217
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[nl_langinfo]],
154218
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154219
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154220
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([nl_langinfo])
154221
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_NL_LANGINFO$])
154222
 
+m4trace:configure.ac:45: -1- gl_NPROC
154223
 
+m4trace:configure.ac:45: -1- gl_PREREQ_NPROC
154224
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_SYSCTL_H$])
154225
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SCHED_GETAFFINITY_LIKE_GLIBC$])
154226
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_OBSTACK$])
154227
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([obstack.c])
154228
 
+m4trace:configure.ac:45: -1- gl_FUNC_OPEN
154229
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_lstat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lstat"])])
154230
 
+_AC_FUNCS_EXPANSION])
154231
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^OPEN_TRAILING_SLASH_BUG$])
154232
 
+m4trace:configure.ac:45: -1- gl_TEST_FCHDIR
154233
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fchdir], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fchdir"])])
154234
 
+_AC_FUNCS_EXPANSION])
154235
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([open.c])
154236
 
+m4trace:configure.ac:45: -1- gl_PREREQ_OPEN
154237
 
+m4trace:configure.ac:45: -1- gl_FCNTL_MODULE_INDICATOR([open])
154238
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([open])
154239
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[open]],
154240
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154241
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154242
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([open])
154243
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_OPEN$])
154244
 
+m4trace:configure.ac:45: -1- gl_FUNC_OPENAT
154245
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fchmodat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fchmodat"])])
154246
 
+_AC_FUNCS_EXPANSION])
154247
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_lchmod], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lchmod"])])
154248
 
+_AC_FUNCS_EXPANSION])
154249
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mkdirat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mkdirat"])])
154250
 
+_AC_FUNCS_EXPANSION])
154251
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_openat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" openat"])])
154252
 
+_AC_FUNCS_EXPANSION])
154253
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_unlinkat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" unlinkat"])])
154254
 
+_AC_FUNCS_EXPANSION])
154255
 
+m4trace:configure.ac:45: -1- gl_PREREQ_OPENAT
154256
 
+m4trace:configure.ac:45: -1- gl_FUNC_FCHOWNAT
154257
 
+m4trace:configure.ac:45: -1- gl_FUNC_FCHOWNAT_DEREF_BUG([REPLACE_FCHOWNAT=1
154258
 
+        AC_DEFINE([FCHOWNAT_NOFOLLOW_BUG], [1],
154259
 
+                  [Define to 1 if your platform has fchownat, but it cannot
154260
 
+                   perform lchown tasks.])
154261
 
+       ])
154262
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FCHOWNAT_NOFOLLOW_BUG$])
154263
 
+m4trace:configure.ac:45: -1- gl_FUNC_FCHOWNAT_EMPTY_FILENAME_BUG([REPLACE_FCHOWNAT=1
154264
 
+        AC_DEFINE([FCHOWNAT_EMPTY_FILENAME_BUG], [1],
154265
 
+                  [Define to 1 if your platform has fchownat, but it does
154266
 
+                   not reject an empty file name.])
154267
 
+       ])
154268
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FCHOWNAT_EMPTY_FILENAME_BUG$])
154269
 
+m4trace:configure.ac:45: -1- gl_FUNC_FSTATAT
154270
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fstatat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fstatat"])])
154271
 
+_AC_FUNCS_EXPANSION])
154272
 
+m4trace:configure.ac:45: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
154273
 
+../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
154274
 
+../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
154275
 
+../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
154276
 
+m4/openat.m4:161: gl_FUNC_FSTATAT is expanded from...
154277
 
+m4/openat.m4:11: gl_FUNC_OPENAT is expanded from...
154278
 
+m4/gnulib-comp.m4:703: gl_INIT is expanded from...
154279
 
+configure.ac:45: the top level])
154280
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FSTATAT_ZERO_FLAG_BROKEN$])
154281
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([openat])
154282
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_OPENAT$])
154283
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([openat-proc.c])
154284
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fchmodat.c])
154285
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fstatat.c])
154286
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([mkdirat.c])
154287
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([openat.c])
154288
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([unlinkat.c])
154289
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([fchownat.c])
154290
 
+m4trace:configure.ac:45: -1- gl_OPENAT_SAFER
154291
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([openat-safer])
154292
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_OPENAT_SAFER$])
154293
 
+m4trace:configure.ac:45: -1- gl_PARSE_DATETIME
154294
 
+m4trace:configure.ac:45: -1- AM_STDBOOL_H
154295
 
+m4trace:configure.ac:45: -1- AC_CHECK_HEADER_STDBOOL
154296
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE__BOOL$])
154297
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STDBOOL_H$])
154298
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_STDBOOL_H], [test -n "$STDBOOL_H"])
154299
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDBOOL_H_TRUE$])
154300
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDBOOL_H_FALSE$])
154301
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDBOOL_H_TRUE])
154302
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDBOOL_H_FALSE])
154303
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE__BOOL$])
154304
 
+m4trace:configure.ac:45: -1- gl_BISON
154305
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^YACC$])
154306
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^YFLAGS$])
154307
 
+m4trace:configure.ac:45: -1- gl_C_COMPOUND_LITERALS
154308
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_COMPOUND_LITERALS$])
154309
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^TM_IN_SYS_TIME$])
154310
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_TM_TM_ZONE$])
154311
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TM_ZONE$])
154312
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TZNAME$])
154313
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TZNAME$])
154314
 
+m4trace:configure.ac:45: -1- gl_TM_GMTOFF
154315
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TM_GMTOFF$])
154316
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^TIME_T_FITS_IN_LONG_INT$])
154317
 
+m4trace:configure.ac:45: -1- gl_PATHMAX
154318
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])])
154319
 
+_AC_HEADERS_EXPANSION])
154320
 
+m4trace:configure.ac:45: -1- gl_PERL
154321
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PERL$])
154322
 
+m4trace:configure.ac:45: -1- gl_PHYSMEM
154323
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_SYSCTL_H$])
154324
 
+m4trace:configure.ac:45: -1- gl_SYS__SYSTEM_CONFIGURATION
154325
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE__SYSTEM_CONFIGURATION$])
154326
 
+m4trace:configure.ac:45: -1- gl_POSIX_SHELL
154327
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^POSIX_SHELL$])
154328
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PREFERABLY_POSIX_SHELL$])
154329
 
+m4trace:configure.ac:45: -1- gl_POSIXTM
154330
 
+m4trace:configure.ac:45: -1- gl_POSIXVER
154331
 
+m4trace:configure.ac:45: -1- gl_DEFAULT_POSIX2_VERSION
154332
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DEFAULT_POSIX2_VERSION$])
154333
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DEFAULT_POSIX2_VERSION$])
154334
 
+m4trace:configure.ac:45: -1- gl_FUNC_PRINTF_FREXP
154335
 
+m4trace:configure.ac:45: -1- gl_FUNC_FREXP_WORKS
154336
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FREXP_IN_LIBC$])
154337
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LDEXP_IN_LIBC$])
154338
 
+m4trace:configure.ac:45: -1- gl_FUNC_PRINTF_FREXPL
154339
 
+m4trace:configure.ac:45: -1- gl_CHECK_FREXPL_NO_LIBM
154340
 
+m4trace:configure.ac:45: -1- gl_FUNC_FREXPL_WORKS
154341
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FREXPL_IN_LIBC$])
154342
 
+m4trace:configure.ac:45: -1- gl_CHECK_LDEXPL_NO_LIBM
154343
 
+m4trace:configure.ac:45: -1- gl_FUNC_LDEXPL_WORKS
154344
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LDEXPL_IN_LIBC$])
154345
 
+m4trace:configure.ac:45: -1- gl_PRIV_SET
154346
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETPPRIV$])
154347
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_priv_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" priv.h"])])
154348
 
+_AC_HEADERS_EXPANSION])
154349
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_NAME$])
154350
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME$])
154351
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--keyword='proper_name:1,\"This is a proper name. See the gettext manual, section Names.\"'])
154352
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--keyword='proper_name_utf8:1,\"This is a proper name. See the gettext manual, section Names.\"'])
154353
 
+m4trace:configure.ac:45: -1- gl_PTHREAD_CHECK
154354
 
+m4trace:configure.ac:45: -1- gl_PTHREAD_DEFAULTS
154355
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_H$])
154356
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_T$])
154357
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_SPINLOCK_T$])
154358
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([pthread.h])
154359
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([pthread.h], [check])
154360
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_pthread_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" pthread.h"])])
154361
 
+_AC_HEADERS_EXPANSION])
154362
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_PTHREAD_H$])
154363
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H$])
154364
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_T$])
154365
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_SPINLOCK_T$])
154366
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PTHREAD_H$])
154367
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_PTHREAD_H], [test -n "$PTHREAD_H"])
154368
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_PTHREAD_H_TRUE$])
154369
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_PTHREAD_H_FALSE$])
154370
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_PTHREAD_H_TRUE])
154371
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_PTHREAD_H_FALSE])
154372
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB_PTHREAD$])
154373
 
+m4trace:configure.ac:45: -1- gl_FUNC_PUTENV
154374
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([putenv.c])
154375
 
+m4trace:configure.ac:45: -1- gl_STDLIB_MODULE_INDICATOR([putenv])
154376
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([putenv])
154377
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[putenv]],
154378
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154379
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154380
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([putenv])
154381
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_PUTENV$])
154382
 
+m4trace:configure.ac:45: -1- gl_QUOTE
154383
 
+m4trace:configure.ac:45: -1- gl_QUOTEARG
154384
 
+m4trace:configure.ac:45: -1- gl_FUNC_READ
154385
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([read.c])
154386
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([read])
154387
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([read])
154388
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[read]],
154389
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154390
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154391
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([read])
154392
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_READ$])
154393
 
+m4trace:configure.ac:45: -1- gl_PREREQ_READ_FILE
154394
 
+m4trace:configure.ac:45: -1- gl_FUNC_READLINK
154395
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_readlink], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" readlink"])])
154396
 
+_AC_FUNCS_EXPANSION])
154397
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^READLINK_TRAILING_SLASH_BUG$])
154398
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([readlink.c])
154399
 
+m4trace:configure.ac:45: -1- gl_PREREQ_READLINK
154400
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([readlink])
154401
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([readlink])
154402
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[readlink]],
154403
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154404
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154405
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([readlink])
154406
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_READLINK$])
154407
 
+m4trace:configure.ac:45: -1- gl_FUNC_READLINKAT
154408
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_readlinkat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" readlinkat"])])
154409
 
+_AC_FUNCS_EXPANSION])
154410
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([readlinkat.c])
154411
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([readlinkat])
154412
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([readlinkat])
154413
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[readlinkat]],
154414
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154415
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154416
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([readlinkat])
154417
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_READLINKAT$])
154418
 
+m4trace:configure.ac:45: -1- gl_READTOKENS
154419
 
+m4trace:configure.ac:45: -1- gl_READUTMP
154420
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_utmp_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" utmp.h"])])
154421
 
+_AC_HEADERS_EXPANSION])
154422
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_utmpx_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" utmpx.h"])])
154423
 
+_AC_HEADERS_EXPANSION])
154424
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_utmpname], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" utmpname"])])
154425
 
+_AC_FUNCS_EXPANSION])
154426
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_utmpxname], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" utmpxname"])])
154427
 
+_AC_FUNCS_EXPANSION])
154428
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETUTENT$])
154429
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_USER$])
154430
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_USER$])
154431
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_NAME$])
154432
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_NAME$])
154433
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_TYPE$])
154434
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_TYPE$])
154435
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_PID$])
154436
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_PID$])
154437
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_ID$])
154438
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_ID$])
154439
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_EXIT$])
154440
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_EXIT$])
154441
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_EXIT_UT_EXIT$])
154442
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_EXIT_UT_EXIT$])
154443
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_EXIT_E_EXIT$])
154444
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_EXIT_E_EXIT$])
154445
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_EXIT_UT_TERMINATION$])
154446
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_EXIT_UT_TERMINATION$])
154447
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_EXIT_E_TERMINATION$])
154448
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_EXIT_E_TERMINATION$])
154449
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([readutmp.c])
154450
 
+m4trace:configure.ac:45: -1- gl_FUNC_REALLOC_GNU
154451
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
154452
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_REALLOC_GNU$])
154453
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_REALLOC_GNU$])
154454
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([realloc.c])
154455
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([realloc-gnu])
154456
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_REALLOC_GNU$])
154457
 
+m4trace:configure.ac:45: -1- gl_FUNC_REALLOC_POSIX
154458
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_REALLOC_POSIX$])
154459
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([realloc.c])
154460
 
+m4trace:configure.ac:45: -1- gl_STDLIB_MODULE_INDICATOR([realloc-posix])
154461
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([realloc-posix])
154462
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[realloc-posix]],
154463
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154464
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154465
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([realloc-posix])
154466
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_REALLOC_POSIX$])
154467
 
+m4trace:configure.ac:45: -1- gl_REGEX
154468
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^_REGEX_LARGE_OFFSETS$])
154469
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_syntax_options$])
154470
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_set_syntax$])
154471
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_compile_pattern$])
154472
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_compile_fastmap$])
154473
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_search$])
154474
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_search_2$])
154475
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_match$])
154476
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_match_2$])
154477
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_set_registers$])
154478
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_comp$])
154479
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_exec$])
154480
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^regcomp$])
154481
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^regexec$])
154482
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^regerror$])
154483
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^regfree$])
154484
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([regex.c])
154485
 
+m4trace:configure.ac:45: -1- gl_PREREQ_REGEX
154486
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LIBINTL_H$])
154487
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_isblank], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" isblank"])])
154488
 
+_AC_FUNCS_EXPANSION])
154489
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_iswctype], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" iswctype"])])
154490
 
+_AC_FUNCS_EXPANSION])
154491
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_wcscoll], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wcscoll"])])
154492
 
+_AC_FUNCS_EXPANSION])
154493
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ISBLANK$])
154494
 
+m4trace:configure.ac:45: -1- gl_FUNC_REMOVE
154495
 
+m4trace:configure.ac:45: -1- gl_FUNC_RMDIR
154496
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([remove.c])
154497
 
+m4trace:configure.ac:45: -1- gl_STDIO_MODULE_INDICATOR([remove])
154498
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([remove])
154499
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[remove]],
154500
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154501
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154502
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([remove])
154503
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_REMOVE$])
154504
 
+m4trace:configure.ac:45: -1- gl_FUNC_RENAME
154505
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_lstat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lstat"])])
154506
 
+_AC_FUNCS_EXPANSION])
154507
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^RENAME_TRAILING_SLASH_DEST_BUG$])
154508
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^RENAME_TRAILING_SLASH_SOURCE_BUG$])
154509
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^RENAME_HARD_LINK_BUG$])
154510
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^RENAME_DEST_EXISTS_BUG$])
154511
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([rename.c])
154512
 
+m4trace:configure.ac:45: -1- gl_STDIO_MODULE_INDICATOR([rename])
154513
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([rename])
154514
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[rename]],
154515
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154516
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154517
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([rename])
154518
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_RENAME$])
154519
 
+m4trace:configure.ac:45: -1- gl_FUNC_RMDIR
154520
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([rmdir.c])
154521
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([rmdir])
154522
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([rmdir])
154523
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[rmdir]],
154524
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154525
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154526
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([rmdir])
154527
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_RMDIR$])
154528
 
+m4trace:configure.ac:45: -1- gl_ROOT_DEV_INO
154529
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([root-dev-ino.c])
154530
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LSTAT_FOLLOWS_SLASHED_SYMLINK$])
154531
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([lstat.c])
154532
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([lstat.c])
154533
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LSTAT_EMPTY_STRING_BUG$])
154534
 
+m4trace:configure.ac:45: -1- gl_FUNC_RPMATCH
154535
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_RPMATCH$])
154536
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([rpmatch.c])
154537
 
+m4trace:configure.ac:45: -1- gl_PREREQ_RPMATCH
154538
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LANGINFO_YESEXPR$])
154539
 
+m4trace:configure.ac:45: -1- gl_STDLIB_MODULE_INDICATOR([rpmatch])
154540
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([rpmatch])
154541
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[rpmatch]],
154542
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154543
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154544
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([rpmatch])
154545
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_RPMATCH$])
154546
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SAFE_READ
154547
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SAFE_WRITE
154548
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SAFE_READ
154549
 
+m4trace:configure.ac:45: -1- gl_SAME
154550
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_pathconf], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" pathconf"])])
154551
 
+_AC_FUNCS_EXPANSION])
154552
 
+m4trace:configure.ac:45: -1- gl_SAVE_CWD
154553
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_fchdir], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fchdir"])])
154554
 
+_AC_FUNCS_EXPANSION])
154555
 
+m4trace:configure.ac:45: -1- gl_SAVEDIR
154556
 
+m4trace:configure.ac:45: -1- gl_SAVEWD
154557
 
+m4trace:configure.ac:45: -1- gl_SCHED_H
154558
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([sched.h])
154559
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([sched.h], [check])
154560
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sched_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sched.h"])])
154561
 
+_AC_HEADERS_EXPANSION])
154562
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SCHED_H$])
154563
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SCHED_H$])
154564
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SCHED_H$])
154565
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SCHED_PARAM$])
154566
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SCHED_H$])
154567
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_SCHED_H], [test -n "$SCHED_H"])
154568
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_SCHED_H_TRUE$])
154569
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_SCHED_H_FALSE$])
154570
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_SCHED_H_TRUE])
154571
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_SCHED_H_FALSE])
154572
 
+m4trace:configure.ac:45: -1- gl_FUNC_SELECT
154573
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_select_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/select.h"])])
154574
 
+_AC_HEADERS_EXPANSION])
154575
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([select.c])
154576
 
+m4trace:configure.ac:45: -1- gl_SYS_SELECT_MODULE_INDICATOR([select])
154577
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([select])
154578
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[select]],
154579
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154580
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154581
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([select])
154582
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SELECT$])
154583
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SELINUX_FLASK_H$])
154584
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([selinux-at.c])
154585
 
+m4trace:configure.ac:45: -1- gl_HEADERS_SELINUX_SELINUX_H
154586
 
+m4trace:configure.ac:45: -1- gl_LIBSELINUX
154587
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB_SELINUX$])
154588
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SELINUX_SELINUX_H$])
154589
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([selinux/selinux.h])
154590
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([selinux/selinux.h], [check])
154591
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_selinux_selinux_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" selinux/selinux.h"])])
154592
 
+_AC_HEADERS_EXPANSION])
154593
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SELINUX_SELINUX_H$])
154594
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SELINUX_SELINUX_H$])
154595
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^getfilecon$])
154596
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^lgetfilecon$])
154597
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^fgetfilecon$])
154598
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SELINUX_SELINUX_H$])
154599
 
+m4trace:configure.ac:45: -1- gl_HEADERS_SELINUX_CONTEXT_H
154600
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SELINUX_CONTEXT_H$])
154601
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SELINUX_CONTEXT_H$])
154602
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_SELINUX_CONTEXT_H], [test -n "$SELINUX_CONTEXT_H"])
154603
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_SELINUX_CONTEXT_H_TRUE$])
154604
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_SELINUX_CONTEXT_H_FALSE$])
154605
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_SELINUX_CONTEXT_H_TRUE])
154606
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_SELINUX_CONTEXT_H_FALSE])
154607
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([getfilecon.c])
154608
 
+m4trace:configure.ac:45: -1- gl_SERVENT
154609
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETSERVBYNAME$])
154610
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SERVENT_LIB$])
154611
 
+m4trace:configure.ac:45: -1- gl_FUNC_SETENV
154612
 
+m4trace:configure.ac:45: -1- gl_FUNC_SETENV_SEPARATE
154613
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_setenv], [_AC_CHECK_DECLS([setenv])])
154614
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SETENV$])
154615
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_setenv], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" setenv"])])
154616
 
+_AC_FUNCS_EXPANSION])
154617
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SETENV
154618
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])])
154619
 
+_AC_HEADERS_EXPANSION])
154620
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SEARCH_H$])
154621
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TSEARCH$])
154622
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([setenv.c])
154623
 
+m4trace:configure.ac:45: -1- gl_STDLIB_MODULE_INDICATOR([setenv])
154624
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([setenv])
154625
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[setenv]],
154626
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154627
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154628
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([setenv])
154629
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SETENV$])
154630
 
+m4trace:configure.ac:45: -1- gl_SETTIME
154631
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_settimeofday], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" settimeofday"])])
154632
 
+_AC_FUNCS_EXPANSION])
154633
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_stime], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" stime"])])
154634
 
+_AC_FUNCS_EXPANSION])
154635
 
+m4trace:configure.ac:45: -1- gl_FUNC_SIG2STR
154636
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIG2STR$])
154637
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([sig2str.c])
154638
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SIG2STR
154639
 
+m4trace:configure.ac:45: -1- gl_SIGACTION
154640
 
+m4trace:configure.ac:45: -1- gl_SIGNAL_H_DEFAULTS
154641
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PTHREAD_SIGMASK$])
154642
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SIGNAL_H_SIGPIPE$])
154643
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SIGPROCMASK$])
154644
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SIGACTION$])
154645
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_POSIX_SIGNALBLOCKING$])
154646
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_SIGMASK$])
154647
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGSET_T$])
154648
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGINFO_T$])
154649
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGACTION$])
154650
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SIGACTION_SA_SIGACTION$])
154651
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TYPE_VOLATILE_SIG_ATOMIC_T$])
154652
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGHANDLER_T$])
154653
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_PTHREAD_SIGMASK$])
154654
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_sigaction], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" sigaction"])])
154655
 
+_AC_FUNCS_EXPANSION])
154656
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SIGACTION_SA_SIGACTION$])
154657
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([sigaction.c])
154658
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SIGACTION
154659
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_sigaltstack], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" sigaltstack"])])
154660
 
+_AC_FUNCS_EXPANSION])
154661
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_siginterrupt], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" siginterrupt"])])
154662
 
+_AC_FUNCS_EXPANSION])
154663
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGINFO_T$])
154664
 
+m4trace:configure.ac:45: -1- gl_SIGNAL_MODULE_INDICATOR([sigaction])
154665
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([sigaction])
154666
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[sigaction]],
154667
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154668
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154669
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([sigaction])
154670
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SIGACTION$])
154671
 
+m4trace:configure.ac:45: -1- gl_SIGNAL_H
154672
 
+m4trace:configure.ac:45: -1- gl_CHECK_TYPE_SIGSET_T
154673
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGSET_T$])
154674
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS([signal.h])
154675
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([signal.h], [assume])
154676
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SIGNAL_H$])
154677
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H$])
154678
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <signal.h>
154679
 
+    ]], [pthread_sigmask sigaction
154680
 
+    sigaddset sigdelset sigemptyset sigfillset sigismember
154681
 
+    sigpending sigprocmask])
154682
 
+m4trace:configure.ac:45: -1- gl_SIGNBIT
154683
 
+m4trace:configure.ac:45: -1- gl_SIGNBIT_TEST_PROGRAM
154684
 
+m4trace:configure.ac:45: -1- gl_SIGNBIT_TEST_PROGRAM
154685
 
+m4trace:configure.ac:45: -1- gl_FLOAT_SIGN_LOCATION
154686
 
+m4trace:configure.ac:45: -1- gl_FLOATTYPE_SIGN_LOCATION([float], [gl_cv_cc_float_signbit], [f], [FLT])
154687
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLT_SIGNBIT_WORD$])
154688
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLT_SIGNBIT_BIT$])
154689
 
+m4trace:configure.ac:45: -1- gl_DOUBLE_SIGN_LOCATION
154690
 
+m4trace:configure.ac:45: -1- gl_FLOATTYPE_SIGN_LOCATION([double], [gl_cv_cc_double_signbit], [], [DBL])
154691
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DBL_SIGNBIT_WORD$])
154692
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DBL_SIGNBIT_BIT$])
154693
 
+m4trace:configure.ac:45: -1- gl_LONG_DOUBLE_SIGN_LOCATION
154694
 
+m4trace:configure.ac:45: -1- gl_FLOATTYPE_SIGN_LOCATION([long double], [gl_cv_cc_long_double_signbit], [L], [LDBL])
154695
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LDBL_SIGNBIT_WORD$])
154696
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LDBL_SIGNBIT_BIT$])
154697
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGNF$])
154698
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_COPYSIGNF_IN_LIBC$])
154699
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGN$])
154700
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_COPYSIGN_IN_LIBC$])
154701
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGNL$])
154702
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_COPYSIGNL_IN_LIBC$])
154703
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([signbitf.c])
154704
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([signbitd.c])
154705
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([signbitl.c])
154706
 
+m4trace:configure.ac:45: -1- gl_MATH_MODULE_INDICATOR([signbit])
154707
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([signbit])
154708
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[signbit]],
154709
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154710
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154711
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([signbit])
154712
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SIGNBIT$])
154713
 
+m4trace:configure.ac:45: -1- gl_SIGNALBLOCKING
154714
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([sigprocmask.c])
154715
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SIGPROCMASK
154716
 
+m4trace:configure.ac:45: -1- gl_SIGNAL_MODULE_INDICATOR([sigprocmask])
154717
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([sigprocmask])
154718
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[sigprocmask]],
154719
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154720
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154721
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([sigprocmask])
154722
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SIGPROCMASK$])
154723
 
+m4trace:configure.ac:45: -1- gl_SIZE_MAX
154724
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STDINT_H$])
154725
 
+m4trace:configure.ac:45: -1- AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1], [#include <stddef.h>
154726
 
+#include <limits.h>], [size_t_bits_minus_1=])
154727
 
+m4trace:configure.ac:45: -1- AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)], [#include <stddef.h>], [fits_in_uint=])
154728
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SIZE_MAX$])
154729
 
+m4trace:configure.ac:45: -1- gl_FUNC_SNPRINTF
154730
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SNPRINTF$])
154731
 
+m4trace:configure.ac:45: -1- gl_SNPRINTF_SIZE1
154732
 
+m4trace:configure.ac:45: -1- gl_SNPRINTF_RETVAL_C99
154733
 
+m4trace:configure.ac:45: -1- gl_PRINTF_POSITIONS
154734
 
+m4trace:configure.ac:45: -1- gl_REPLACE_SNPRINTF
154735
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([snprintf.c])
154736
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SNPRINTF
154737
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_snprintf], [_AC_CHECK_DECLS([snprintf])])
154738
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$])
154739
 
+m4trace:configure.ac:45: -1- gl_STDIO_MODULE_INDICATOR([snprintf])
154740
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([snprintf])
154741
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[snprintf]],
154742
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154743
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154744
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([snprintf])
154745
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SNPRINTF$])
154746
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([snprintf])
154747
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SNPRINTF$])
154748
 
+m4trace:configure.ac:45: -1- gl_SOCKETLIB
154749
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SYS_H_WINSOCK2
154750
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_socket_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/socket.h"])])
154751
 
+_AC_HEADERS_EXPANSION])
154752
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
154753
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
154754
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WINDOWS_SOCKETS$])
154755
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBSOCKET$])
154756
 
+m4trace:configure.ac:45: -1- gl_SOCKETS
154757
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SOCKETS
154758
 
+m4trace:configure.ac:45: -1- gl_TYPE_SOCKLEN_T
154759
 
+m4trace:configure.ac:45: -1- gl_SOCKET_HEADERS
154760
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^socklen_t$])
154761
 
+m4trace:configure.ac:45: -1- gt_TYPE_SSIZE_T
154762
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ssize_t$])
154763
 
+m4trace:configure.ac:45: -1- gl_FUNC_STAT
154764
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_lstat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lstat"])])
154765
 
+_AC_FUNCS_EXPANSION])
154766
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FUNC_STAT_DIR$])
154767
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FUNC_STAT_FILE$])
154768
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([stat.c])
154769
 
+m4trace:configure.ac:45: -1- gl_PREREQ_STAT
154770
 
+m4trace:configure.ac:45: -1- gl_SYS_STAT_MODULE_INDICATOR([stat])
154771
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([stat])
154772
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[stat]],
154773
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154774
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154775
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([stat])
154776
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STAT$])
154777
 
+m4trace:configure.ac:45: -1- gl_STAT_SIZE
154778
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])])
154779
 
+_AC_HEADERS_EXPANSION])
154780
 
+m4trace:configure.ac:45: -1- gl_STAT_TIME
154781
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_time_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/time.h"])])
154782
 
+_AC_HEADERS_EXPANSION])
154783
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC$])
154784
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC$])
154785
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC$])
154786
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_ATIMENSEC$])
154787
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC$])
154788
 
+m4trace:configure.ac:45: -1- gl_STAT_BIRTHTIME
154789
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_time_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/time.h"])])
154790
 
+_AC_HEADERS_EXPANSION])
154791
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC$])
154792
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC$])
154793
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC$])
154794
 
+m4trace:configure.ac:45: -1- gl_STDARG_H
154795
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS([stdarg.h])
154796
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([stdarg.h], [assume])
154797
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_STDARG_H$])
154798
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDARG_H$])
154799
 
+m4trace:configure.ac:45: -1- gl_CACHE_VAL_SILENT([gl_cv_func___va_copy], [
154800
 
+        AC_COMPILE_IFELSE(
154801
 
+          [AC_LANG_PROGRAM(
154802
 
+             [[#include <stdarg.h>]],
154803
 
+             [[
154804
 
+#ifndef __va_copy
154805
 
+error, bail out
154806
 
+#endif
154807
 
+             ]])],
154808
 
+          [gl_cv_func___va_copy=yes],
154809
 
+          [gl_cv_func___va_copy=no])])
154810
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^va_copy$])
154811
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^va_copy$])
154812
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STDARG_H$])
154813
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_STDARG_H], [test -n "$STDARG_H"])
154814
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDARG_H_TRUE$])
154815
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDARG_H_FALSE$])
154816
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDARG_H_TRUE])
154817
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDARG_H_FALSE])
154818
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_STDARG_H$])
154819
 
+m4trace:configure.ac:45: -1- AM_STDBOOL_H
154820
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STDBOOL_H$])
154821
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_STDBOOL_H], [test -n "$STDBOOL_H"])
154822
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDBOOL_H_TRUE$])
154823
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDBOOL_H_FALSE$])
154824
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDBOOL_H_TRUE])
154825
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDBOOL_H_FALSE])
154826
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE__BOOL$])
154827
 
+m4trace:configure.ac:45: -1- gl_STDDEF_H
154828
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STDDEF_H$])
154829
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_STDDEF_H], [test -n "$STDDEF_H"])
154830
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDDEF_H_TRUE$])
154831
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDDEF_H_FALSE$])
154832
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDDEF_H_TRUE])
154833
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDDEF_H_FALSE])
154834
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS([stddef.h])
154835
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([stddef.h], [assume])
154836
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_STDDEF_H$])
154837
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDDEF_H$])
154838
 
+m4trace:configure.ac:45: -1- gl_STDINT_H
154839
 
+m4trace:configure.ac:45: -1- gl_STDIO_H
154840
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS([stdio.h])
154841
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([stdio.h], [assume])
154842
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_STDIO_H$])
154843
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDIO_H$])
154844
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <stdio.h>
154845
 
+    ]], [dprintf fpurge fseeko ftello getdelim getline popen renameat
154846
 
+    snprintf tmpfile vdprintf vsnprintf])
154847
 
+m4trace:configure.ac:45: -1- gl_STDLIB_H
154848
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS([stdlib.h])
154849
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([stdlib.h], [assume])
154850
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_STDLIB_H$])
154851
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDLIB_H$])
154852
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <stdlib.h>
154853
 
+#if HAVE_SYS_LOADAVG_H
154854
 
+# include <sys/loadavg.h>
154855
 
+#endif
154856
 
+#if HAVE_RANDOM_H
154857
 
+# include <random.h>
154858
 
+#endif
154859
 
+    ]], [_Exit atoll canonicalize_file_name getloadavg getsubopt grantpt mkdtemp
154860
 
+    mkostemp mkostemps mkstemp mkstemps ptsname random_r initstat_r srandom_r
154861
 
+    setstate_r realpath rpmatch setenv strtod strtoll strtoull unlockpt
154862
 
+    unsetenv])
154863
 
+m4trace:configure.ac:45: -1- gl_FUNC_STPCPY
154864
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STPCPY$])
154865
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([stpcpy.c])
154866
 
+m4trace:configure.ac:45: -1- gl_PREREQ_STPCPY
154867
 
+m4trace:configure.ac:45: -1- gl_STRING_MODULE_INDICATOR([stpcpy])
154868
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([stpcpy])
154869
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[stpcpy]],
154870
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154871
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154872
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([stpcpy])
154873
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STPCPY$])
154874
 
+m4trace:configure.ac:45: -1- gl_FUNC_STPNCPY
154875
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_stpncpy], [_AC_CHECK_DECLS([stpncpy])])
154876
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STPNCPY$])
154877
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_stpncpy], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" stpncpy"])])
154878
 
+_AC_FUNCS_EXPANSION])
154879
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STPNCPY$])
154880
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([stpncpy.c])
154881
 
+m4trace:configure.ac:45: -1- gl_PREREQ_STPNCPY
154882
 
+m4trace:configure.ac:45: -1- gl_STRING_MODULE_INDICATOR([stpncpy])
154883
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([stpncpy])
154884
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[stpncpy]],
154885
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154886
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154887
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([stpncpy])
154888
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STPNCPY$])
154889
 
+m4trace:configure.ac:45: -1- gl_FUNC_STRDUP_POSIX
154890
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_strdup], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" strdup"])])
154891
 
+_AC_FUNCS_EXPANSION])
154892
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_strdup], [_AC_CHECK_DECLS([strdup])])
154893
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$])
154894
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([strdup.c])
154895
 
+m4trace:configure.ac:45: -1- gl_PREREQ_STRDUP
154896
 
+m4trace:configure.ac:45: -1- gl_STRING_MODULE_INDICATOR([strdup])
154897
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strdup])
154898
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[strdup]],
154899
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154900
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154901
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([strdup])
154902
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRDUP$])
154903
 
+m4trace:configure.ac:45: -1- gl_FUNC_STRERROR
154904
 
+m4trace:configure.ac:45: -1- gl_FUNC_STRERROR_0
154905
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRERROR_0$])
154906
 
+m4trace:configure.ac:45: -1- gl_FUNC_STRERROR_R_WORKS
154907
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_strerror_r], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" strerror_r"])])
154908
 
+_AC_FUNCS_EXPANSION])
154909
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func___xpg_strerror_r], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" __xpg_strerror_r"])])
154910
 
+_AC_FUNCS_EXPANSION])
154911
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([strerror.c])
154912
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([strerror])
154913
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRERROR$])
154914
 
+m4trace:configure.ac:45: -1- gl_STRING_MODULE_INDICATOR([strerror])
154915
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strerror])
154916
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[strerror]],
154917
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154918
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154919
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([strerror])
154920
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRERROR$])
154921
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([strerror-override.c])
154922
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SYS_H_WINSOCK2
154923
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_socket_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/socket.h"])])
154924
 
+_AC_HEADERS_EXPANSION])
154925
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
154926
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
154927
 
+m4trace:configure.ac:45: -1- gl_FUNC_GNU_STRFTIME
154928
 
+m4trace:configure.ac:45: -1- gl_FUNC_STRFTIME
154929
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_tzset], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" tzset"])])
154930
 
+_AC_FUNCS_EXPANSION])
154931
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^my_strftime$])
154932
 
+m4trace:configure.ac:45: -1- gl_HEADER_STRING_H
154933
 
+m4trace:configure.ac:45: -1- gl_HEADER_STRING_H_BODY
154934
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS([string.h])
154935
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([string.h], [assume])
154936
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_STRING_H$])
154937
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STRING_H$])
154938
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <string.h>
154939
 
+    ]], [ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul
154940
 
+     strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r
154941
 
+     strerror_r strsignal strverscmp])
154942
 
+m4trace:configure.ac:45: -1- gl_FUNC_STRNDUP
154943
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_strndup], [_AC_CHECK_DECLS([strndup])])
154944
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$])
154945
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_strndup], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" strndup"])])
154946
 
+_AC_FUNCS_EXPANSION])
154947
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([strndup.c])
154948
 
+m4trace:configure.ac:45: -1- gl_STRING_MODULE_INDICATOR([strndup])
154949
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strndup])
154950
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[strndup]],
154951
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154952
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154953
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([strndup])
154954
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRNDUP$])
154955
 
+m4trace:configure.ac:45: -1- gl_FUNC_STRNLEN
154956
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_strnlen], [_AC_CHECK_DECLS([strnlen])])
154957
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$])
154958
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([strnlen.c])
154959
 
+m4trace:configure.ac:45: -1- gl_PREREQ_STRNLEN
154960
 
+m4trace:configure.ac:45: -1- gl_STRING_MODULE_INDICATOR([strnlen])
154961
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strnlen])
154962
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[strnlen]],
154963
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154964
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154965
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([strnlen])
154966
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRNLEN$])
154967
 
+m4trace:configure.ac:45: -1- gl_FUNC_STRSIGNAL
154968
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_strsignal], [_AC_CHECK_DECLS([strsignal])])
154969
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$])
154970
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRSIGNAL$])
154971
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([strsignal.c])
154972
 
+m4trace:configure.ac:45: -1- gl_PREREQ_STRSIGNAL
154973
 
+m4trace:configure.ac:45: -1- _m4_warn([obsolete], [The macro `AC_DECL_SYS_SIGLIST' is obsolete.
154974
 
+You should run autoupdate.], [../../lib/autoconf/specific.m4:41: AC_DECL_SYS_SIGLIST is expanded from...
154975
 
+m4/strsignal.m4:55: gl_PREREQ_STRSIGNAL is expanded from...
154976
 
+m4/gnulib-comp.m4:703: gl_INIT is expanded from...
154977
 
+configure.ac:45: the top level])
154978
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SYS_SIGLIST$])
154979
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL__SYS_SIGLIST$])
154980
 
+m4trace:configure.ac:45: -1- gl_STRING_MODULE_INDICATOR([strsignal])
154981
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strsignal])
154982
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[strsignal]],
154983
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154984
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154985
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([strsignal])
154986
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRSIGNAL$])
154987
 
+m4trace:configure.ac:45: -1- gl_FUNC_STRSTR_SIMPLE
154988
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([strstr.c])
154989
 
+m4trace:configure.ac:45: -1- gl_STRING_MODULE_INDICATOR([strstr])
154990
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strstr])
154991
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[strstr]],
154992
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
154993
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
154994
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([strstr])
154995
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRSTR$])
154996
 
+m4trace:configure.ac:45: -1- gl_FUNC_STRTOD
154997
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([strtod.c])
154998
 
+m4trace:configure.ac:45: -1- gl_PREREQ_STRTOD
154999
 
+m4trace:configure.ac:45: -1- gl_CHECK_LDEXP_NO_LIBM
155000
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LDEXP_IN_LIBC$])
155001
 
+m4trace:configure.ac:45: -1- gl_STDLIB_MODULE_INDICATOR([strtod])
155002
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strtod])
155003
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[strtod]],
155004
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155005
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155006
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([strtod])
155007
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRTOD$])
155008
 
+m4trace:configure.ac:45: -1- gl_FUNC_STRTOIMAX
155009
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_strtoimax], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" strtoimax"])])
155010
 
+_AC_FUNCS_EXPANSION])
155011
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_strtoimax], [_AC_CHECK_DECLS([strtoimax])])
155012
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRTOIMAX$])
155013
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([strtoimax.c])
155014
 
+m4trace:configure.ac:45: -1- gl_PREREQ_STRTOIMAX
155015
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRTOLL$])
155016
 
+m4trace:configure.ac:45: -1- gl_INTTYPES_MODULE_INDICATOR([strtoimax])
155017
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strtoimax])
155018
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[strtoimax]],
155019
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155020
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155021
 
+m4trace:configure.ac:45: -1- gl_FUNC_STRTOLL
155022
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRTOLL$])
155023
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([strtoll.c])
155024
 
+m4trace:configure.ac:45: -1- gl_PREREQ_STRTOLL
155025
 
+m4trace:configure.ac:45: -1- gl_STDLIB_MODULE_INDICATOR([strtoll])
155026
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strtoll])
155027
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[strtoll]],
155028
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155029
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155030
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([strtoll])
155031
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRTOLL$])
155032
 
+m4trace:configure.ac:45: -1- gl_FUNC_STRTOULL
155033
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRTOULL$])
155034
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([strtoull.c])
155035
 
+m4trace:configure.ac:45: -1- gl_PREREQ_STRTOULL
155036
 
+m4trace:configure.ac:45: -1- gl_STDLIB_MODULE_INDICATOR([strtoull])
155037
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strtoull])
155038
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[strtoull]],
155039
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155040
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155041
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([strtoull])
155042
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRTOULL$])
155043
 
+m4trace:configure.ac:45: -1- gl_FUNC_STRTOUMAX
155044
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_strtoumax], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" strtoumax"])])
155045
 
+_AC_FUNCS_EXPANSION])
155046
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_strtoumax], [_AC_CHECK_DECLS([strtoumax])])
155047
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRTOUMAX$])
155048
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([strtoumax.c])
155049
 
+m4trace:configure.ac:45: -1- gl_PREREQ_STRTOUMAX
155050
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRTOULL$])
155051
 
+m4trace:configure.ac:45: -1- gl_INTTYPES_MODULE_INDICATOR([strtoumax])
155052
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strtoumax])
155053
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[strtoumax]],
155054
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155055
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155056
 
+m4trace:configure.ac:45: -1- gl_FUNC_SYMLINK
155057
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_symlink], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" symlink"])])
155058
 
+_AC_FUNCS_EXPANSION])
155059
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([symlink.c])
155060
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([symlink])
155061
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([symlink])
155062
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[symlink]],
155063
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155064
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155065
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([symlink])
155066
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SYMLINK$])
155067
 
+m4trace:configure.ac:45: -1- gl_SYS_IOCTL_H
155068
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_ioctl_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/ioctl.h"])])
155069
 
+_AC_HEADERS_EXPANSION])
155070
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$])
155071
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([sys/ioctl.h])
155072
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([sys/ioctl.h], [check])
155073
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_ioctl_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/ioctl.h"])])
155074
 
+_AC_HEADERS_EXPANSION])
155075
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_IOCTL_H$])
155076
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H$])
155077
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <sys/ioctl.h>
155078
 
+/* Some platforms declare ioctl in the wrong header.  */
155079
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
155080
 
+# include <unistd.h>
155081
 
+#endif
155082
 
+    ]], [ioctl])
155083
 
+m4trace:configure.ac:45: -1- AC_PROG_MKDIR_P
155084
 
+m4trace:configure.ac:45: -1- gl_HEADER_SYS_SELECT
155085
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([sys/select.h])
155086
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([sys/select.h], [check])
155087
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_select_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/select.h"])])
155088
 
+_AC_HEADERS_EXPANSION])
155089
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_SELECT_H$])
155090
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H$])
155091
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$])
155092
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SYS_H_WINSOCK2
155093
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_socket_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/socket.h"])])
155094
 
+_AC_HEADERS_EXPANSION])
155095
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
155096
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
155097
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[
155098
 
+/* Some systems require prerequisite headers.  */
155099
 
+#include <sys/types.h>
155100
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__) && HAVE_SYS_TIME_H
155101
 
+# include <sys/time.h>
155102
 
+#endif
155103
 
+#include <sys/select.h>
155104
 
+    ]], [pselect select])
155105
 
+m4trace:configure.ac:45: -1- AC_PROG_MKDIR_P
155106
 
+m4trace:configure.ac:45: -1- gl_HEADER_SYS_SOCKET
155107
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^_POSIX_PII_SOCKET$])
155108
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SHUTDOWN$])
155109
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SYS_H_SOCKET
155110
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([sys/socket.h])
155111
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([sys/socket.h], [check])
155112
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_socket_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/socket.h"])])
155113
 
+_AC_HEADERS_EXPANSION])
155114
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_SOCKET_H$])
155115
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H$])
155116
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$])
155117
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$])
155118
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$])
155119
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SA_FAMILY_T$])
155120
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY$])
155121
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SYS_H_WINSOCK2
155122
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_socket_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/socket.h"])])
155123
 
+_AC_HEADERS_EXPANSION])
155124
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
155125
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
155126
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[
155127
 
+/* Some systems require prerequisite headers.  */
155128
 
+#include <sys/types.h>
155129
 
+#include <sys/socket.h>
155130
 
+    ]], [socket connect accept bind getpeername getsockname getsockopt
155131
 
+    listen recv send recvfrom sendto setsockopt shutdown accept4])
155132
 
+m4trace:configure.ac:45: -1- AC_PROG_MKDIR_P
155133
 
+m4trace:configure.ac:45: -1- gl_HEADER_SYS_STAT_H
155134
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_MACROS_BROKEN$])
155135
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([sys/stat.h])
155136
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([sys/stat.h], [check])
155137
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_stat_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/stat.h"])])
155138
 
+_AC_HEADERS_EXPANSION])
155139
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_STAT_H$])
155140
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H$])
155141
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^nlink_t$])
155142
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <sys/stat.h>
155143
 
+    ]], [fchmodat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat
155144
 
+    mknod mknodat stat utimensat])
155145
 
+m4trace:configure.ac:45: -1- AC_PROG_MKDIR_P
155146
 
+m4trace:configure.ac:45: -1- gl_HEADER_SYS_TIME_H
155147
 
+m4trace:configure.ac:45: -1- AC_PROG_MKDIR_P
155148
 
+m4trace:configure.ac:45: -1- gl_HEADER_SYS_UIO
155149
 
+m4trace:configure.ac:45: -1- gl_SYS_UIO_H_DEFAULTS
155150
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([sys/uio.h])
155151
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([sys/uio.h], [check])
155152
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_uio_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/uio.h"])])
155153
 
+_AC_HEADERS_EXPANSION])
155154
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_UIO_H$])
155155
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H$])
155156
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_UIO_H$])
155157
 
+m4trace:configure.ac:45: -1- AC_PROG_MKDIR_P
155158
 
+m4trace:configure.ac:45: -1- gl_SYS_UTSNAME_H
155159
 
+m4trace:configure.ac:45: -1- gl_SYS_UTSNAME_H_DEFAULTS
155160
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNAME$])
155161
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNAME$])
155162
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTSNAME$])
155163
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([sys/utsname.h])
155164
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([sys/utsname.h], [check])
155165
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_utsname_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/utsname.h"])])
155166
 
+_AC_HEADERS_EXPANSION])
155167
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_UTSNAME_H$])
155168
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_UTSNAME_H$])
155169
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTSNAME$])
155170
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_UTSNAME_H$])
155171
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[
155172
 
+    /* Minix 3.1.8 has a bug: <stddef.h> must be included before
155173
 
+       <sys/utsname.h>.  */
155174
 
+    #include <stddef.h>
155175
 
+    #include <sys/utsname.h>
155176
 
+    ]], [uname])
155177
 
+m4trace:configure.ac:45: -1- AC_PROG_MKDIR_P
155178
 
+m4trace:configure.ac:45: -1- gl_SYS_WAIT_H
155179
 
+m4trace:configure.ac:45: -1- gl_SYS_WAIT_H_DEFAULTS
155180
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WAITPID$])
155181
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([sys/wait.h])
155182
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([sys/wait.h], [check])
155183
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_wait_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/wait.h"])])
155184
 
+_AC_HEADERS_EXPANSION])
155185
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_WAIT_H$])
155186
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H$])
155187
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <sys/wait.h>]], [waitpid])
155188
 
+m4trace:configure.ac:45: -1- AC_PROG_MKDIR_P
155189
 
+m4trace:configure.ac:45: -1- gl_FUNC_GEN_TEMPNAME
155190
 
+m4trace:configure.ac:45: -1- gl_PREREQ_TEMPNAME
155191
 
+m4trace:configure.ac:45: -1- gl_TERMIOS_H
155192
 
+m4trace:configure.ac:45: -1- gl_TERMIOS_H_DEFAULTS
155193
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TCGETSID$])
155194
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TCGETSID$])
155195
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TERMIOS_H$])
155196
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([termios.h])
155197
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([termios.h], [check])
155198
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_termios_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" termios.h"])])
155199
 
+_AC_HEADERS_EXPANSION])
155200
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_TERMIOS_H$])
155201
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_TERMIOS_H$])
155202
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <termios.h>]], [tcgetsid])
155203
 
+m4trace:configure.ac:45: -1- gl_THREADLIB
155204
 
+m4trace:configure.ac:45: -1- gl_HEADER_TIME_H
155205
 
+m4trace:configure.ac:45: -1- gl_HEADER_TIME_H_BODY
155206
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS([time.h])
155207
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([time.h], [assume])
155208
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_TIME_H$])
155209
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_TIME_H$])
155210
 
+m4trace:configure.ac:45: -1- gl_CHECK_TYPE_STRUCT_TIMESPEC
155211
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_time_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/time.h"])])
155212
 
+_AC_HEADERS_EXPANSION])
155213
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^TIME_H_DEFINES_STRUCT_TIMESPEC$])
155214
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SYS_TIME_H_DEFINES_STRUCT_TIMESPEC$])
155215
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PTHREAD_H_DEFINES_STRUCT_TIMESPEC$])
155216
 
+m4trace:configure.ac:45: -1- gl_TIME_R
155217
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_localtime_r], [_AC_CHECK_DECLS([localtime_r])])
155218
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_LOCALTIME_R$])
155219
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_localtime_r], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" localtime_r"])])
155220
 
+_AC_FUNCS_EXPANSION])
155221
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([time_r.c])
155222
 
+m4trace:configure.ac:45: -1- gl_PREREQ_TIME_R
155223
 
+m4trace:configure.ac:45: -1- gl_TIME_MODULE_INDICATOR([time_r])
155224
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([time_r])
155225
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[time_r]],
155226
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155227
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155228
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([time_r])
155229
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_TIME_R$])
155230
 
+m4trace:configure.ac:45: -1- gl_TIMER_TIME
155231
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB_TIMER_TIME$])
155232
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TIMER_SETTIME$])
155233
 
+m4trace:configure.ac:45: -1- gl_TIMESPEC
155234
 
+m4trace:configure.ac:45: -1- gl_TLS
155235
 
+m4trace:configure.ac:45: -1- gl_FUNC_TZSET
155236
 
+m4trace:configure.ac:45: -1- gl_FUNC_UNAME
155237
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNAME$])
155238
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([uname.c])
155239
 
+m4trace:configure.ac:45: -1- gl_PREREQ_UNAME
155240
 
+m4trace:configure.ac:45: -1- gl_SYS_UTSNAME_MODULE_INDICATOR([uname])
155241
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([uname])
155242
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[uname]],
155243
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155244
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155245
 
+m4trace:configure.ac:45: -1- gl_UNICODEIO
155246
 
+m4trace:configure.ac:45: -1- gl_UNISTD_H
155247
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([unistd.h])
155248
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([unistd.h], [check])
155249
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])])
155250
 
+_AC_HEADERS_EXPANSION])
155251
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_UNISTD_H$])
155252
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_UNISTD_H$])
155253
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNISTD_H$])
155254
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[#include <unistd.h>
155255
 
+/* Some systems declare various items in the wrong headers.  */
155256
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
155257
 
+# include <fcntl.h>
155258
 
+# include <stdio.h>
155259
 
+# include <stdlib.h>
155260
 
+# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
155261
 
+#  include <io.h>
155262
 
+# endif
155263
 
+#endif
155264
 
+    ]], [chown dup2 dup3 environ euidaccess faccessat fchdir fchownat
155265
 
+    fsync ftruncate getcwd getdomainname getdtablesize getgroups
155266
 
+    gethostname getlogin getlogin_r getpagesize getusershell setusershell
155267
 
+    endusershell group_member lchown link linkat lseek pipe pipe2 pread pwrite
155268
 
+    readlink readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat
155269
 
+    usleep])
155270
 
+m4trace:configure.ac:45: -1- gl_UNISTD_SAFER
155271
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_pipe], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" pipe"])])
155272
 
+_AC_FUNCS_EXPANSION])
155273
 
+m4trace:configure.ac:45: -1- gl_LIBUNISTRING_LIBHEADER([0.9.2], [unistr.h])
155274
 
+m4trace:configure.ac:45: -1- gl_LIBUNISTRING_LIB_PREPARE
155275
 
+m4trace:configure.ac:45: -1- gl_LIBUNISTRING_VERSION_CMP([0.9.2])
155276
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_UNISTR_H$])
155277
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
155278
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNISTR_U8_MBTOUCR$])
155279
 
+m4trace:configure.ac:45: -1- gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr])
155280
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR], [gl_LIBUNISTRING_VERSION_CMP([0.9])])
155281
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE$])
155282
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE$])
155283
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE])
155284
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE])
155285
 
+m4trace:configure.ac:45: -1- gl_LIBUNISTRING_VERSION_CMP([0.9])
155286
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([unistr/u8-uctomb])
155287
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNISTR_U8_UCTOMB$])
155288
 
+m4trace:configure.ac:45: -1- gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb])
155289
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB], [gl_LIBUNISTRING_VERSION_CMP([0.9])])
155290
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE$])
155291
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE$])
155292
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE])
155293
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE])
155294
 
+m4trace:configure.ac:45: -1- gl_LIBUNISTRING_VERSION_CMP([0.9])
155295
 
+m4trace:configure.ac:45: -1- gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
155296
 
+m4trace:configure.ac:45: -1- gl_LIBUNISTRING_VERSION_CMP([0.9])
155297
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_UNITYPES_H$])
155298
 
+m4trace:configure.ac:45: -1- gl_LIBUNISTRING_LIBHEADER([0.9], [uniwidth.h])
155299
 
+m4trace:configure.ac:45: -1- gl_LIBUNISTRING_VERSION_CMP([0.9])
155300
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_UNIWIDTH_H$])
155301
 
+m4trace:configure.ac:45: -1- gl_LIBUNISTRING_MODULE([0.9.4], [uniwidth/width])
155302
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH], [gl_LIBUNISTRING_VERSION_CMP([0.9.4])])
155303
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE$])
155304
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE$])
155305
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE])
155306
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE])
155307
 
+m4trace:configure.ac:45: -1- gl_LIBUNISTRING_VERSION_CMP([0.9.4])
155308
 
+m4trace:configure.ac:45: -1- gl_FUNC_UNLINK
155309
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UNLINK_PARENT_BUG$])
155310
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([unlink.c])
155311
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([unlink])
155312
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([unlink])
155313
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[unlink]],
155314
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155315
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155316
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([unlink])
155317
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_UNLINK$])
155318
 
+m4trace:configure.ac:45: -1- gl_FUNC_UNLINK_BUSY_TEXT
155319
 
+m4trace:configure.ac:45: -1- gl_FUNC_GLIBC_UNLOCKED_IO
155320
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_UNLOCKED_IO$])
155321
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_clearerr_unlocked], [_AC_CHECK_DECLS([clearerr_unlocked])])
155322
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_CLEARERR_UNLOCKED$])
155323
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_feof_unlocked], [_AC_CHECK_DECLS([feof_unlocked])])
155324
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FEOF_UNLOCKED$])
155325
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_ferror_unlocked], [_AC_CHECK_DECLS([ferror_unlocked])])
155326
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FERROR_UNLOCKED$])
155327
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_fflush_unlocked], [_AC_CHECK_DECLS([fflush_unlocked])])
155328
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_fgets_unlocked], [_AC_CHECK_DECLS([fgets_unlocked])])
155329
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FGETS_UNLOCKED$])
155330
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_fputc_unlocked], [_AC_CHECK_DECLS([fputc_unlocked])])
155331
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FPUTC_UNLOCKED$])
155332
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_fputs_unlocked], [_AC_CHECK_DECLS([fputs_unlocked])])
155333
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_fread_unlocked], [_AC_CHECK_DECLS([fread_unlocked])])
155334
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FREAD_UNLOCKED$])
155335
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_fwrite_unlocked], [_AC_CHECK_DECLS([fwrite_unlocked])])
155336
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FWRITE_UNLOCKED$])
155337
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_getc_unlocked], [_AC_CHECK_DECLS([getc_unlocked])])
155338
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_getchar_unlocked], [_AC_CHECK_DECLS([getchar_unlocked])])
155339
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETCHAR_UNLOCKED$])
155340
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_putc_unlocked], [_AC_CHECK_DECLS([putc_unlocked])])
155341
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_putchar_unlocked], [_AC_CHECK_DECLS([putchar_unlocked])])
155342
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_PUTCHAR_UNLOCKED$])
155343
 
+m4trace:configure.ac:45: -1- gl_FUNC_UNSETENV
155344
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_unsetenv], [_AC_CHECK_DECLS([unsetenv])])
155345
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_UNSETENV$])
155346
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNSETENV$])
155347
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^VOID_UNSETENV$])
155348
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([unsetenv.c])
155349
 
+m4trace:configure.ac:45: -1- gl_PREREQ_UNSETENV
155350
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])])
155351
 
+_AC_HEADERS_EXPANSION])
155352
 
+m4trace:configure.ac:45: -1- gl_STDLIB_MODULE_INDICATOR([unsetenv])
155353
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([unsetenv])
155354
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[unsetenv]],
155355
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155356
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155357
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([unsetenv])
155358
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_UNSETENV$])
155359
 
+m4trace:configure.ac:45: -1- gl_SYS_PROC_UPTIME
155360
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PROC_UPTIME$])
155361
 
+m4trace:configure.ac:45: -1- gl_USERSPEC
155362
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])])
155363
 
+_AC_HEADERS_EXPANSION])
155364
 
+m4trace:configure.ac:45: -1- gl_UTIMECMP
155365
 
+m4trace:configure.ac:45: -1- gl_FUNC_UTIMES
155366
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WORKING_UTIMES$])
155367
 
+m4trace:configure.ac:45: -1- gl_UTIMENS
155368
 
+m4trace:configure.ac:45: -1- gl_CHECK_TYPE_STRUCT_UTIMBUF
155369
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_time_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/time.h"])])
155370
 
+_AC_HEADERS_EXPANSION])
155371
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_utime_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" utime.h"])])
155372
 
+_AC_HEADERS_EXPANSION])
155373
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTIMBUF$])
155374
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_futimes], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" futimes"])])
155375
 
+_AC_FUNCS_EXPANSION])
155376
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_futimesat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" futimesat"])])
155377
 
+_AC_FUNCS_EXPANSION])
155378
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_futimens], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" futimens"])])
155379
 
+_AC_FUNCS_EXPANSION])
155380
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_utimensat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" utimensat"])])
155381
 
+_AC_FUNCS_EXPANSION])
155382
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_lutimes], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lutimes"])])
155383
 
+_AC_FUNCS_EXPANSION])
155384
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FUTIMESAT_NULL_BUG$])
155385
 
+m4trace:configure.ac:45: -1- gl_FUNC_UTIMENSAT
155386
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_utimensat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" utimensat"])])
155387
 
+_AC_FUNCS_EXPANSION])
155388
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([utimensat.c])
155389
 
+m4trace:configure.ac:45: -1- gl_SYS_STAT_MODULE_INDICATOR([utimensat])
155390
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([utimensat])
155391
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[utimensat]],
155392
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155393
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155394
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([utimensat])
155395
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_UTIMENSAT$])
155396
 
+m4trace:configure.ac:45: -1- gl_FUNC_VASNPRINTF
155397
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_vasnprintf], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" vasnprintf"])])
155398
 
+_AC_FUNCS_EXPANSION])
155399
 
+m4trace:configure.ac:45: -1- gl_REPLACE_VASNPRINTF
155400
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_vasnprintf], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" vasnprintf"])])
155401
 
+_AC_FUNCS_EXPANSION])
155402
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([vasnprintf.c])
155403
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([printf-args.c])
155404
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([printf-parse.c])
155405
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([asnprintf.c])
155406
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$])
155407
 
+m4trace:configure.ac:45: -1- gl_PREREQ_PRINTF_ARGS
155408
 
+m4trace:configure.ac:45: -1- gl_PREREQ_PRINTF_PARSE
155409
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ptrdiff_t$])
155410
 
+m4trace:configure.ac:45: -1- gt_AC_TYPE_INTMAX_T
155411
 
+m4trace:configure.ac:45: -1- gl_AC_HEADER_INTTYPES_H
155412
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_INTTYPES_H_WITH_UINTMAX$])
155413
 
+m4trace:configure.ac:45: -1- gl_AC_HEADER_STDINT_H
155414
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STDINT_H_WITH_UINTMAX$])
155415
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_INTMAX_T$])
155416
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^intmax_t$])
155417
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF
155418
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL__SNPRINTF$])
155419
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SNPRINTF_RETVAL_C99$])
155420
 
+m4trace:configure.ac:45: -1- gl_PREREQ_ASNPRINTF
155421
 
+m4trace:configure.ac:45: -1- gl_FUNC_VASPRINTF
155422
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_VASPRINTF$])
155423
 
+m4trace:configure.ac:45: -1- gl_REPLACE_VASPRINTF
155424
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([vasprintf.c])
155425
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([asprintf.c])
155426
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASPRINTF_H
155427
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASPRINTF
155428
 
+m4trace:configure.ac:45: -1- gl_PREREQ_ASPRINTF
155429
 
+m4trace:configure.ac:45: -1- gl_STDIO_MODULE_INDICATOR([vasprintf])
155430
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([vasprintf])
155431
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[vasprintf]],
155432
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155433
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155434
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([vasprintf])
155435
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_VASPRINTF$])
155436
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=asprintf:2:c-format])
155437
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=vasprintf:2:c-format])
155438
 
+m4trace:configure.ac:45: -1- gl_FUNC_VASPRINTF_POSIX
155439
 
+m4trace:configure.ac:45: -1- gl_PRINTF_SIZES_C99
155440
 
+m4trace:configure.ac:45: -1- gl_PRINTF_LONG_DOUBLE
155441
 
+m4trace:configure.ac:45: -1- gl_PRINTF_INFINITE
155442
 
+m4trace:configure.ac:45: -1- gl_PRINTF_INFINITE_LONG_DOUBLE
155443
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^CHECK_PRINTF_SAFE$])
155444
 
+m4trace:configure.ac:45: -1- GL_NOCRASH
155445
 
+m4trace:configure.ac:45: -1- gl_PRINTF_DIRECTIVE_A
155446
 
+m4trace:configure.ac:45: -1- gl_PRINTF_DIRECTIVE_F
155447
 
+m4trace:configure.ac:45: -1- gl_PRINTF_DIRECTIVE_N
155448
 
+m4trace:configure.ac:45: -1- gl_PRINTF_DIRECTIVE_LS
155449
 
+m4trace:configure.ac:45: -1- gl_PRINTF_FLAG_GROUPING
155450
 
+m4trace:configure.ac:45: -1- gl_PRINTF_FLAG_LEFTADJUST
155451
 
+m4trace:configure.ac:45: -1- gl_PRINTF_FLAG_ZERO
155452
 
+m4trace:configure.ac:45: -1- gl_PRINTF_PRECISION
155453
 
+m4trace:configure.ac:45: -1- gl_PRINTF_ENOMEM
155454
 
+m4trace:configure.ac:45: -2- GL_NOCRASH
155455
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_VASPRINTF$])
155456
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_LONG_DOUBLE
155457
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$])
155458
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE
155459
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_INFINITE_DOUBLE$])
155460
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE
155461
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_INFINITE_LONG_DOUBLE$])
155462
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_DIRECTIVE_A
155463
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_A$])
155464
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NL_LANGINFO$])
155465
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_DIRECTIVE_F
155466
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_F$])
155467
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_DIRECTIVE_LS
155468
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_LS$])
155469
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_FLAG_GROUPING
155470
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_GROUPING$])
155471
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST
155472
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_LEFTADJUST$])
155473
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_FLAG_ZERO
155474
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_ZERO$])
155475
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_PRECISION
155476
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_UNBOUNDED_PRECISION$])
155477
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DOUBLE$])
155478
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$])
155479
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_ENOMEM
155480
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_ENOMEM$])
155481
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DOUBLE$])
155482
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$])
155483
 
+m4trace:configure.ac:45: -1- gl_REPLACE_VASNPRINTF
155484
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_vasnprintf], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" vasnprintf"])])
155485
 
+_AC_FUNCS_EXPANSION])
155486
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([vasnprintf.c])
155487
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([printf-args.c])
155488
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([printf-parse.c])
155489
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([asnprintf.c])
155490
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$])
155491
 
+m4trace:configure.ac:45: -1- gl_PREREQ_PRINTF_ARGS
155492
 
+m4trace:configure.ac:45: -1- gl_PREREQ_PRINTF_PARSE
155493
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ptrdiff_t$])
155494
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF
155495
 
+m4trace:configure.ac:45: -1- gl_PREREQ_ASNPRINTF
155496
 
+m4trace:configure.ac:45: -1- gl_REPLACE_VASPRINTF
155497
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([vasprintf.c])
155498
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([asprintf.c])
155499
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASPRINTF_H
155500
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASPRINTF
155501
 
+m4trace:configure.ac:45: -1- gl_PREREQ_ASPRINTF
155502
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=verror:3:c-format])
155503
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=verror_at_line:5:c-format])
155504
 
+m4trace:configure.ac:45: -1- gl_VERSION_ETC
155505
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PACKAGE_PACKAGER$])
155506
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PACKAGE_PACKAGER_VERSION$])
155507
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PACKAGE_PACKAGER_BUG_REPORTS$])
155508
 
+m4trace:configure.ac:45: -1- gl_FUNC_VFPRINTF_POSIX
155509
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_LONG_DOUBLE
155510
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE
155511
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_INFINITE_DOUBLE$])
155512
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE
155513
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_INFINITE_LONG_DOUBLE$])
155514
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_DIRECTIVE_A
155515
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_A$])
155516
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NL_LANGINFO$])
155517
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_DIRECTIVE_F
155518
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_F$])
155519
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_DIRECTIVE_LS
155520
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_LS$])
155521
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_FLAG_GROUPING
155522
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_GROUPING$])
155523
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST
155524
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_LEFTADJUST$])
155525
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_FLAG_ZERO
155526
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_ZERO$])
155527
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_PRECISION
155528
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_UNBOUNDED_PRECISION$])
155529
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DOUBLE$])
155530
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$])
155531
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF_ENOMEM
155532
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_ENOMEM$])
155533
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DOUBLE$])
155534
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$])
155535
 
+m4trace:configure.ac:45: -1- gl_REPLACE_VASNPRINTF
155536
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_vasnprintf], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" vasnprintf"])])
155537
 
+_AC_FUNCS_EXPANSION])
155538
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([vasnprintf.c])
155539
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([printf-args.c])
155540
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([printf-parse.c])
155541
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([asnprintf.c])
155542
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$])
155543
 
+m4trace:configure.ac:45: -1- gl_PREREQ_PRINTF_ARGS
155544
 
+m4trace:configure.ac:45: -1- gl_PREREQ_PRINTF_PARSE
155545
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ptrdiff_t$])
155546
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VASNPRINTF
155547
 
+m4trace:configure.ac:45: -1- gl_PREREQ_ASNPRINTF
155548
 
+m4trace:configure.ac:45: -1- gl_REPLACE_VFPRINTF
155549
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([vfprintf.c])
155550
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VFPRINTF_POSIX$])
155551
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VFPRINTF
155552
 
+m4trace:configure.ac:45: -1- gl_STDIO_MODULE_INDICATOR([vfprintf-posix])
155553
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([vfprintf-posix])
155554
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[vfprintf-posix]],
155555
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155556
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155557
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([vfprintf-posix])
155558
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_VFPRINTF_POSIX$])
155559
 
+m4trace:configure.ac:45: -1- gl_FUNC_VPRINTF_POSIX
155560
 
+m4trace:configure.ac:45: -1- gl_REPLACE_VPRINTF
155561
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([vprintf.c])
155562
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VPRINTF_POSIX$])
155563
 
+m4trace:configure.ac:45: -1- gl_PREREQ_VPRINTF
155564
 
+m4trace:configure.ac:45: -1- gl_STDIO_MODULE_INDICATOR([vprintf-posix])
155565
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([vprintf-posix])
155566
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[vprintf-posix]],
155567
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155568
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155569
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([vprintf-posix])
155570
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_VPRINTF_POSIX$])
155571
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WARN_CFLAGS$])
155572
 
+m4trace:configure.ac:45: -1- gl_WCHAR_H
155573
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([wchar.h])
155574
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([wchar.h], [check])
155575
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_wchar_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wchar.h"])])
155576
 
+_AC_HEADERS_EXPANSION])
155577
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_WCHAR_H$])
155578
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCHAR_H$])
155579
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCHAR_H$])
155580
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINT_T$])
155581
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[
155582
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
155583
 
+   <wchar.h>.
155584
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
155585
 
+   included before <wchar.h>.  */
155586
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
155587
 
+# include <stddef.h>
155588
 
+# include <stdio.h>
155589
 
+# include <time.h>
155590
 
+#endif
155591
 
+#include <wchar.h>
155592
 
+    ]], [btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb
155593
 
+     wcsrtombs wcsnrtombs wcwidth wmemchr wmemcmp wmemcpy wmemmove wmemset
155594
 
+     wcslen wcsnlen wcscpy wcpcpy wcsncpy wcpncpy wcscat wcsncat wcscmp
155595
 
+     wcsncmp wcscasecmp wcsncasecmp wcscoll wcsxfrm wcsdup wcschr wcsrchr
155596
 
+     wcscspn wcsspn wcspbrk wcsstr wcstok wcswidth
155597
 
+    ])
155598
 
+m4trace:configure.ac:45: -1- gl_FUNC_WCRTOMB
155599
 
+m4trace:configure.ac:45: -1- gl_MBSTATE_T_BROKEN
155600
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])])
155601
 
+_AC_FUNCS_EXPANSION])
155602
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])])
155603
 
+_AC_FUNCS_EXPANSION])
155604
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_INCOMPLETE_STATE
155605
 
+m4trace:configure.ac:45: -1- gl_MBRTOWC_SANITYCHECK
155606
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_wcrtomb], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wcrtomb"])])
155607
 
+_AC_FUNCS_EXPANSION])
155608
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_WCRTOMB$])
155609
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([wcrtomb.c])
155610
 
+m4trace:configure.ac:45: -1- gl_PREREQ_WCRTOMB
155611
 
+m4trace:configure.ac:45: -1- gl_WCHAR_MODULE_INDICATOR([wcrtomb])
155612
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([wcrtomb])
155613
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[wcrtomb]],
155614
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155615
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155616
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([wcrtomb])
155617
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_WCRTOMB$])
155618
 
+m4trace:configure.ac:45: -1- gl_FUNC_WCSWIDTH
155619
 
+m4trace:configure.ac:45: -1- gl_FUNC_WCWIDTH
155620
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_wchar_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wchar.h"])])
155621
 
+_AC_HEADERS_EXPANSION])
155622
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_wcwidth], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wcwidth"])])
155623
 
+_AC_FUNCS_EXPANSION])
155624
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_WCWIDTH$])
155625
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_wcswidth], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wcswidth"])])
155626
 
+_AC_FUNCS_EXPANSION])
155627
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([wcswidth.c])
155628
 
+m4trace:configure.ac:45: -1- gl_WCHAR_MODULE_INDICATOR([wcswidth])
155629
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([wcswidth])
155630
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[wcswidth]],
155631
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155632
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155633
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([wcswidth])
155634
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_WCSWIDTH$])
155635
 
+m4trace:configure.ac:45: -1- gl_WCTYPE_H
155636
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_iswcntrl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" iswcntrl"])])
155637
 
+_AC_FUNCS_EXPANSION])
155638
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISWCNTRL$])
155639
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINT_T$])
155640
 
+m4trace:configure.ac:45: -1- gl_CHECK_NEXT_HEADERS([wctype.h])
155641
 
+m4trace:configure.ac:45: -1- gl_NEXT_HEADERS_INTERNAL([wctype.h], [check])
155642
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_wctype_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wctype.h"])])
155643
 
+_AC_HEADERS_EXPANSION])
155644
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_WCTYPE_H$])
155645
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H$])
155646
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCTYPE_H$])
155647
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ISWCNTRL$])
155648
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TOWLOWER$])
155649
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TOWLOWER$])
155650
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_TOWLOWER$])
155651
 
+m4trace:configure.ac:45: -1- gl_WARN_ON_USE_PREPARE([[
155652
 
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
155653
 
+   <wchar.h>.
155654
 
+   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
155655
 
+   included before <wchar.h>.  */
155656
 
+#if !(defined __GLIBC__ && !defined __UCLIBC__)
155657
 
+# include <stddef.h>
155658
 
+# include <stdio.h>
155659
 
+# include <time.h>
155660
 
+# include <wchar.h>
155661
 
+#endif
155662
 
+#include <wctype.h>
155663
 
+    ]], [wctype iswctype wctrans towctrans
155664
 
+    ])
155665
 
+m4trace:configure.ac:45: -1- gl_FUNC_WCWIDTH
155666
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_wchar_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wchar.h"])])
155667
 
+_AC_HEADERS_EXPANSION])
155668
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_wcwidth], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wcwidth"])])
155669
 
+_AC_FUNCS_EXPANSION])
155670
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_WCWIDTH$])
155671
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([wcwidth.c])
155672
 
+m4trace:configure.ac:45: -1- gl_WCHAR_MODULE_INDICATOR([wcwidth])
155673
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([wcwidth])
155674
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[wcwidth]],
155675
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155676
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155677
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([wcwidth])
155678
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_WCWIDTH$])
155679
 
+m4trace:configure.ac:45: -1- gl_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL
155680
 
+m4trace:configure.ac:45: -1- gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H
155681
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GWINSZ_IN_SYS_IOCTL$])
155682
 
+m4trace:configure.ac:45: -1- gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H
155683
 
+m4trace:configure.ac:45: -1- gl_WINSIZE_IN_PTEM
155684
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WINSIZE_IN_PTEM$])
155685
 
+m4trace:configure.ac:45: -1- gl_FUNC_WRITE
155686
 
+m4trace:configure.ac:45: -1- gl_LIBSOURCES([write.c])
155687
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([write])
155688
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([write])
155689
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[write]],
155690
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155691
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155692
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([write])
155693
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_WRITE$])
155694
 
+m4trace:configure.ac:45: -1- gl_WRITE_ANY_FILE
155695
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_priv_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" priv.h"])])
155696
 
+_AC_HEADERS_EXPANSION])
155697
 
+m4trace:configure.ac:45: -1- gl_XALLOC
155698
 
+m4trace:configure.ac:45: -1- gl_PREREQ_XALLOC
155699
 
+m4trace:configure.ac:45: -1- gl_PREREQ_XMALLOC
155700
 
+m4trace:configure.ac:45: -1- gl_XGETCWD
155701
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR([xgetgroups])
155702
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_XGETGROUPS$])
155703
 
+m4trace:configure.ac:45: -1- gl_XNANOSLEEP
155704
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=xprintf:1:c-format])
155705
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=xvprintf:1:c-format])
155706
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=xfprintf:2:c-format])
155707
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=xvfprintf:2:c-format])
155708
 
+m4trace:configure.ac:45: -1- gl_XSIZE
155709
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STDINT_H$])
155710
 
+m4trace:configure.ac:45: -1- gl_XSTRNDUP
155711
 
+m4trace:configure.ac:45: -1- gl_PREREQ_XSTRNDUP
155712
 
+m4trace:configure.ac:45: -1- gl_XSTRTOD
155713
 
+m4trace:configure.ac:45: -1- gl_XSTRTOL
155714
 
+m4trace:configure.ac:45: -1- gl_XSTRTOLD
155715
 
+m4trace:configure.ac:45: -1- gl_XVASPRINTF
155716
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=xasprintf:1:c-format])
155717
 
+m4trace:configure.ac:45: -1- gl_YESNO
155718
 
+m4trace:configure.ac:45: -1- gl_COMMON
155719
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^gltests_WITNESS$])
155720
 
+m4trace:configure.ac:45: -1- gltests_LIBSOURCES([accept.c])
155721
 
+m4trace:configure.ac:45: -1- gl_SYS_SOCKET_MODULE_INDICATOR([accept])
155722
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([accept])
155723
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[accept]],
155724
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155725
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155726
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([GNULIB_[]m4_translit([[accept]],
155727
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155728
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155729
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([accept])
155730
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_ACCEPT$])
155731
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_alarm], [_AC_CHECK_DECLS([alarm])])
155732
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ALARM$])
155733
 
+m4trace:configure.ac:45: -1- gltests_LIBSOURCES([bind.c])
155734
 
+m4trace:configure.ac:45: -1- gl_SYS_SOCKET_MODULE_INDICATOR([bind])
155735
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([bind])
155736
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[bind]],
155737
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155738
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155739
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([GNULIB_[]m4_translit([[bind]],
155740
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155741
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155742
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([bind])
155743
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_BIND$])
155744
 
+m4trace:configure.ac:45: -1- gt_LOCALE_FR
155745
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR$])
155746
 
+m4trace:configure.ac:45: -1- gt_LOCALE_FR_UTF8
155747
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
155748
 
+m4trace:configure.ac:45: -1- gt_LOCALE_FR
155749
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR$])
155750
 
+m4trace:configure.ac:45: -1- gt_LOCALE_TR_UTF8
155751
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_TR_UTF8$])
155752
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_getegid], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" getegid"])])
155753
 
+_AC_FUNCS_EXPANSION])
155754
 
+m4trace:configure.ac:45: -1- gltests_LIBSOURCES([connect.c])
155755
 
+m4trace:configure.ac:45: -1- gl_SYS_SOCKET_MODULE_INDICATOR([connect])
155756
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([connect])
155757
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[connect]],
155758
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155759
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155760
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([GNULIB_[]m4_translit([[connect]],
155761
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155762
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155763
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([connect])
155764
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_CONNECT$])
155765
 
+m4trace:configure.ac:45: -1- gl_FUNC_UNGETC_WORKS
155766
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FUNC_UNGETC_BROKEN$])
155767
 
+m4trace:configure.ac:45: -1- gl_FUNC_UNGETC_WORKS
155768
 
+m4trace:configure.ac:45: -1- gl_FUNC_UNGETC_WORKS
155769
 
+m4trace:configure.ac:45: -1- gl_FUNC_UNGETC_WORKS
155770
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
155771
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
155772
 
+m4trace:configure.ac:45: -1- gl_FUNC_INET_PTON
155773
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_INET_PTON$])
155774
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INET_PTON_LIB$])
155775
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_netdb_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" netdb.h"])])
155776
 
+_AC_HEADERS_EXPANSION])
155777
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_INET_PTON$])
155778
 
+m4trace:configure.ac:45: -1- gltests_LIBSOURCES([inet_pton.c])
155779
 
+m4trace:configure.ac:45: -1- gl_PREREQ_INET_PTON
155780
 
+m4trace:configure.ac:45: -1- gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
155781
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([inet_pton])
155782
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[inet_pton]],
155783
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155784
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155785
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([GNULIB_[]m4_translit([[inet_pton]],
155786
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155787
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155788
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
155789
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
155790
 
+m4trace:configure.ac:45: -1- gl_FUNC_IOCTL
155791
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_IOCTL$])
155792
 
+m4trace:configure.ac:45: -1- gltests_LIBSOURCES([ioctl.c])
155793
 
+m4trace:configure.ac:45: -1- gl_SYS_IOCTL_MODULE_INDICATOR([ioctl])
155794
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([ioctl])
155795
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[ioctl]],
155796
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155797
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155798
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([GNULIB_[]m4_translit([[ioctl]],
155799
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155800
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155801
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([ioctl])
155802
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_IOCTL$])
155803
 
+m4trace:configure.ac:45: -1- gl_DOUBLE_EXPONENT_LOCATION
155804
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
155805
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DBL_EXPBIT0_WORD$])
155806
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DBL_EXPBIT0_BIT$])
155807
 
+m4trace:configure.ac:45: -1- gl_FLOAT_EXPONENT_LOCATION
155808
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$])
155809
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$])
155810
 
+m4trace:configure.ac:45: -1- gl_LONG_DOUBLE_EXPONENT_LOCATION
155811
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LDBL_EXPBIT0_WORD$])
155812
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LDBL_EXPBIT0_BIT$])
155813
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_getegid], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" getegid"])])
155814
 
+_AC_FUNCS_EXPANSION])
155815
 
+m4trace:configure.ac:45: -1- gltests_LIBSOURCES([listen.c])
155816
 
+m4trace:configure.ac:45: -1- gl_SYS_SOCKET_MODULE_INDICATOR([listen])
155817
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([listen])
155818
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[listen]],
155819
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155820
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155821
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([GNULIB_[]m4_translit([[listen]],
155822
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155823
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155824
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([listen])
155825
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_LISTEN$])
155826
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_newlocale], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" newlocale"])])
155827
 
+_AC_FUNCS_EXPANSION])
155828
 
+m4trace:configure.ac:45: -1- gl_LOCALENAME
155829
 
+m4trace:configure.ac:45: -1- gt_LC_MESSAGES
155830
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LC_MESSAGES$])
155831
 
+m4trace:configure.ac:45: -1- gt_INTL_MACOSX
155832
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_CFPREFERENCESCOPYAPPVALUE$])
155833
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_CFLOCALECOPYCURRENT$])
155834
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INTL_MACOSX_LIBS$])
155835
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_newlocale], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" newlocale"])])
155836
 
+_AC_FUNCS_EXPANSION])
155837
 
+m4trace:configure.ac:45: -1- gt_LOCALE_FR
155838
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR$])
155839
 
+m4trace:configure.ac:45: -1- gt_LOCALE_FR_UTF8
155840
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
155841
 
+m4trace:configure.ac:45: -1- gt_LOCALE_JA
155842
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_JA$])
155843
 
+m4trace:configure.ac:45: -1- gt_LOCALE_ZH_CN
155844
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
155845
 
+m4trace:configure.ac:45: -1- gt_LOCALE_TR_UTF8
155846
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_TR_UTF8$])
155847
 
+m4trace:configure.ac:45: -1- gt_LOCALE_FR_UTF8
155848
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
155849
 
+m4trace:configure.ac:45: -1- gt_LOCALE_FR
155850
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR$])
155851
 
+m4trace:configure.ac:45: -1- gt_LOCALE_FR_UTF8
155852
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
155853
 
+m4trace:configure.ac:45: -1- gt_LOCALE_JA
155854
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_JA$])
155855
 
+m4trace:configure.ac:45: -1- gt_LOCALE_ZH_CN
155856
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
155857
 
+m4trace:configure.ac:45: -1- gt_LOCALE_FR_UTF8
155858
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
155859
 
+m4trace:configure.ac:45: -1- gt_LOCALE_ZH_CN
155860
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
155861
 
+m4trace:configure.ac:45: -1- gl_FUNC_MMAP_ANON
155862
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
155863
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
155864
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])])
155865
 
+_AC_HEADERS_EXPANSION])
155866
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])])
155867
 
+_AC_FUNCS_EXPANSION])
155868
 
+m4trace:configure.ac:45: -1- gl_FUNC_MMAP_ANON
155869
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
155870
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
155871
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])])
155872
 
+_AC_HEADERS_EXPANSION])
155873
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])])
155874
 
+_AC_FUNCS_EXPANSION])
155875
 
+m4trace:configure.ac:45: -1- gl_FUNC_MMAP_ANON
155876
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
155877
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
155878
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])])
155879
 
+_AC_HEADERS_EXPANSION])
155880
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])])
155881
 
+_AC_FUNCS_EXPANSION])
155882
 
+m4trace:configure.ac:45: -1- gl_FUNC_MMAP_ANON
155883
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
155884
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
155885
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])])
155886
 
+_AC_HEADERS_EXPANSION])
155887
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])])
155888
 
+_AC_FUNCS_EXPANSION])
155889
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_alarm], [_AC_CHECK_DECLS([alarm])])
155890
 
+m4trace:configure.ac:45: -1- gt_LOCALE_FR
155891
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR$])
155892
 
+m4trace:configure.ac:45: -1- gt_LOCALE_FR_UTF8
155893
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
155894
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_getegid], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" getegid"])])
155895
 
+_AC_FUNCS_EXPANSION])
155896
 
+m4trace:configure.ac:45: -1- gl_FUNC_PERROR
155897
 
+m4trace:configure.ac:45: -1- gl_FUNC_STRERROR_R
155898
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_strerror_r], [_AC_CHECK_DECLS([strerror_r])])
155899
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$])
155900
 
+m4trace:configure.ac:45: -1- gltests_LIBSOURCES([perror.c])
155901
 
+m4trace:configure.ac:45: -1- gl_STRING_MODULE_INDICATOR([perror])
155902
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([perror])
155903
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[perror]],
155904
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155905
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155906
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([GNULIB_[]m4_translit([[perror]],
155907
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155908
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155909
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([perror])
155910
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_PERROR$])
155911
 
+m4trace:configure.ac:45: -1- gl_FUNC_PIPE
155912
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_pipe], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" pipe"])])
155913
 
+_AC_FUNCS_EXPANSION])
155914
 
+m4trace:configure.ac:45: -1- gltests_LIBSOURCES([pipe.c])
155915
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([pipe])
155916
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([pipe])
155917
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[pipe]],
155918
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155919
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155920
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([GNULIB_[]m4_translit([[pipe]],
155921
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155922
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155923
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([pipe])
155924
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_PIPE$])
155925
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_wait_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/wait.h"])])
155926
 
+_AC_HEADERS_EXPANSION])
155927
 
+m4trace:configure.ac:45: -1- gl_FUNC_SETLOCALE
155928
 
+m4trace:configure.ac:45: -1- gltests_LIBSOURCES([setlocale.c])
155929
 
+m4trace:configure.ac:45: -1- gl_PREREQ_SETLOCALE
155930
 
+m4trace:configure.ac:45: -1- gl_LOCALE_MODULE_INDICATOR([setlocale])
155931
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([setlocale])
155932
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[setlocale]],
155933
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155934
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155935
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([GNULIB_[]m4_translit([[setlocale]],
155936
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155937
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155938
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([setlocale])
155939
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SETLOCALE$])
155940
 
+m4trace:configure.ac:45: -1- gt_LOCALE_FR
155941
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR$])
155942
 
+m4trace:configure.ac:45: -1- gt_LOCALE_FR_UTF8
155943
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
155944
 
+m4trace:configure.ac:45: -1- gt_LOCALE_JA
155945
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_JA$])
155946
 
+m4trace:configure.ac:45: -1- gt_LOCALE_ZH_CN
155947
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
155948
 
+m4trace:configure.ac:45: -1- gltests_LIBSOURCES([setsockopt.c])
155949
 
+m4trace:configure.ac:45: -1- gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt])
155950
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([setsockopt])
155951
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[setsockopt]],
155952
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155953
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155954
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([GNULIB_[]m4_translit([[setsockopt]],
155955
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155956
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155957
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([setsockopt])
155958
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SETSOCKOPT$])
155959
 
+m4trace:configure.ac:45: -1- gl_FUNC_SLEEP
155960
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SLEEP$])
155961
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_sleep], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" sleep"])])
155962
 
+_AC_FUNCS_EXPANSION])
155963
 
+m4trace:configure.ac:45: -1- gltests_LIBSOURCES([sleep.c])
155964
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([sleep])
155965
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([sleep])
155966
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[sleep]],
155967
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155968
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155969
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([GNULIB_[]m4_translit([[sleep]],
155970
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155971
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155972
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([sleep])
155973
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SLEEP$])
155974
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_alarm], [_AC_CHECK_DECLS([alarm])])
155975
 
+m4trace:configure.ac:45: -1- gltests_LIBSOURCES([socket.c])
155976
 
+m4trace:configure.ac:45: -1- gl_SYS_SOCKET_MODULE_INDICATOR([socket])
155977
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([socket])
155978
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[socket]],
155979
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155980
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155981
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([GNULIB_[]m4_translit([[socket]],
155982
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
155983
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
155984
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([socket])
155985
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SOCKET$])
155986
 
+m4trace:configure.ac:45: -1- gt_TYPE_WCHAR_T
155987
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCHAR_T$])
155988
 
+m4trace:configure.ac:45: -1- gt_TYPE_WINT_T
155989
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINT_T$])
155990
 
+m4trace:configure.ac:45: -1- gl_FUNC_STRERROR_R
155991
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Check_Decl_strerror_r], [_AC_CHECK_DECLS([strerror_r])])
155992
 
+m4trace:configure.ac:45: -1- gltests_LIBSOURCES([strerror_r.c])
155993
 
+m4trace:configure.ac:45: -1- gl_PREREQ_STRERROR_R
155994
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func___xpg_strerror_r], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" __xpg_strerror_r"])])
155995
 
+_AC_FUNCS_EXPANSION])
155996
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_catgets], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" catgets"])])
155997
 
+_AC_FUNCS_EXPANSION])
155998
 
+m4trace:configure.ac:45: -1- gl_STRING_MODULE_INDICATOR([strerror_r])
155999
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strerror_r])
156000
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[strerror_r]],
156001
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
156002
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
156003
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([GNULIB_[]m4_translit([[strerror_r]],
156004
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
156005
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
156006
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([strerror_r])
156007
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRERROR_R$])
156008
 
+m4trace:configure.ac:45: -1- gl_FUNC_MMAP_ANON
156009
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
156010
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
156011
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])])
156012
 
+_AC_HEADERS_EXPANSION])
156013
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])])
156014
 
+_AC_FUNCS_EXPANSION])
156015
 
+m4trace:configure.ac:45: -1- gl_FUNC_SYMLINKAT
156016
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_symlinkat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" symlinkat"])])
156017
 
+_AC_FUNCS_EXPANSION])
156018
 
+m4trace:configure.ac:45: -1- gltests_LIBSOURCES([symlinkat.c])
156019
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([symlinkat])
156020
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([symlinkat])
156021
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[symlinkat]],
156022
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
156023
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
156024
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([GNULIB_[]m4_translit([[symlinkat]],
156025
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
156026
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
156027
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([symlinkat])
156028
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SYMLINKAT$])
156029
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_shutdown], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" shutdown"])])
156030
 
+_AC_FUNCS_EXPANSION])
156031
 
+m4trace:configure.ac:45: -1- gl_THREAD
156032
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_ATFORK$])
156033
 
+m4trace:configure.ac:45: -1- gl_UNLINKDIR
156034
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Header_priv_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" priv.h"])])
156035
 
+_AC_HEADERS_EXPANSION])
156036
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UNLINK_CANNOT_UNLINK_DIR$])
156037
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^abs_aux_dir$])
156038
 
+m4trace:configure.ac:45: -1- gl_FUNC_USLEEP
156039
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_usleep], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" usleep"])])
156040
 
+_AC_FUNCS_EXPANSION])
156041
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^useconds_t$])
156042
 
+m4trace:configure.ac:45: -1- gltests_LIBSOURCES([usleep.c])
156043
 
+m4trace:configure.ac:45: -1- gl_UNISTD_MODULE_INDICATOR([usleep])
156044
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([usleep])
156045
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[usleep]],
156046
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
156047
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
156048
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([GNULIB_[]m4_translit([[usleep]],
156049
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
156050
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
156051
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([usleep])
156052
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_USLEEP$])
156053
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^abs_aux_dir$])
156054
 
+m4trace:configure.ac:45: -1- gt_LOCALE_FR
156055
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR$])
156056
 
+m4trace:configure.ac:45: -1- gt_LOCALE_FR_UTF8
156057
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
156058
 
+m4trace:configure.ac:45: -1- gt_LOCALE_JA
156059
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_JA$])
156060
 
+m4trace:configure.ac:45: -1- gt_LOCALE_ZH_CN
156061
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
156062
 
+m4trace:configure.ac:45: -1- gl_FUNC_WCTOB
156063
 
+m4trace:configure.ac:45: -1- AC_DEFUN([_AC_Func_wctob], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wctob"])])
156064
 
+_AC_FUNCS_EXPANSION])
156065
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_WCTOB$])
156066
 
+m4trace:configure.ac:45: -1- gltests_LIBSOURCES([wctob.c])
156067
 
+m4trace:configure.ac:45: -1- gl_PREREQ_WCTOB
156068
 
+m4trace:configure.ac:45: -1- gl_WCHAR_MODULE_INDICATOR([wctob])
156069
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([wctob])
156070
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[wctob]],
156071
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
156072
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
156073
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([GNULIB_[]m4_translit([[wctob]],
156074
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
156075
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
156076
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([wctob])
156077
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_WCTOB$])
156078
 
+m4trace:configure.ac:45: -1- gl_FUNC_WCTOMB
156079
 
+m4trace:configure.ac:45: -1- gltests_LIBSOURCES([wctomb.c])
156080
 
+m4trace:configure.ac:45: -1- gl_PREREQ_WCTOMB
156081
 
+m4trace:configure.ac:45: -1- gl_STDLIB_MODULE_INDICATOR([wctomb])
156082
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE([wctomb])
156083
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX([GNULIB_[]m4_translit([[wctomb]],
156084
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
156085
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
156086
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([GNULIB_[]m4_translit([[wctomb]],
156087
 
+                          [abcdefghijklmnopqrstuvwxyz./-],
156088
 
+                          [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], [gl_MODULE_INDICATOR_CONDITION])
156089
 
+m4trace:configure.ac:45: -1- gl_MODULE_INDICATOR_FOR_TESTS([wctomb])
156090
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_WCTOMB$])
156091
 
+m4trace:configure.ac:45: -1- gl_YIELD
156092
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^YIELD_LIB$])
156093
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBCOREUTILS_LIBDEPS$])
156094
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBCOREUTILS_LTLIBDEPS$])
156095
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBTESTS_LIBDEPS$])
156096
 
+m4trace:configure.ac:46: -1- coreutils_MACROS
156097
 
+m4trace:configure.ac:46: -1- AM_MISSING_PROG([HELP2MAN], [help2man])
156098
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HELP2MAN$])
156099
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^MAN$])
156100
 
+m4trace:configure.ac:46: -1- _m4_warn([obsolete], [The macro `AC_ISC_POSIX' is obsolete.
156101
 
+You should run autoupdate.], [../../lib/autoconf/specific.m4:442: AC_ISC_POSIX is expanded from...
156102
 
+m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
156103
 
+configure.ac:46: the top level])
156104
 
+m4trace:configure.ac:46: -1- gl_CHECK_ALL_TYPES
156105
 
+m4trace:configure.ac:46: -1- AM_C_PROTOTYPES
156106
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^PROTOTYPES$])
156107
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^__PROTOTYPES$])
156108
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_STRING_H$])
156109
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^U$])
156110
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^ANSI2KNR$])
156111
 
+m4trace:configure.ac:46: -1- _AM_SUBST_NOTMAKE([ANSI2KNR])
156112
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^volatile$])
156113
 
+m4trace:configure.ac:46: -1- gl_CHECK_ALL_HEADERS
156114
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Header_hurd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" hurd.h"])])
156115
 
+_AC_HEADERS_EXPANSION])
156116
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Header_paths_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" paths.h"])])
156117
 
+_AC_HEADERS_EXPANSION])
156118
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Header_priv_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" priv.h"])])
156119
 
+_AC_HEADERS_EXPANSION])
156120
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Header_stropts_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" stropts.h"])])
156121
 
+_AC_HEADERS_EXPANSION])
156122
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])])
156123
 
+_AC_HEADERS_EXPANSION])
156124
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Header_sys_resource_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/resource.h"])])
156125
 
+_AC_HEADERS_EXPANSION])
156126
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Header_sys_systeminfo_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/systeminfo.h"])])
156127
 
+_AC_HEADERS_EXPANSION])
156128
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Header_syslog_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" syslog.h"])])
156129
 
+_AC_HEADERS_EXPANSION])
156130
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_SYS_SYSCTL_H$])
156131
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_AUTHOR$])
156132
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^pid_t$])
156133
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^ino_t$])
156134
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^major_t$])
156135
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^minor_t$])
156136
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^MAJOR_IN_MKDEV$])
156137
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^MAJOR_IN_SYSMACROS$])
156138
 
+m4trace:configure.ac:46: -1- gl_CHECK_DECLS
156139
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^TIME_WITH_SYS_TIME$])
156140
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Header_grp_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" grp.h"])])
156141
 
+_AC_HEADERS_EXPANSION])
156142
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Header_pwd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" pwd.h"])])
156143
 
+_AC_HEADERS_EXPANSION])
156144
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_DECL_GETGRGID$])
156145
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_DECL_GETPWUID$])
156146
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_DECL_TTYNAME$])
156147
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Check_Decl_geteuid], [_AC_CHECK_DECLS([geteuid])])
156148
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_DECL_GETEUID$])
156149
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Check_Decl_getlogin], [_AC_CHECK_DECLS([getlogin])])
156150
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_DECL_GETLOGIN$])
156151
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Check_Decl_getuid], [_AC_CHECK_DECLS([getuid])])
156152
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_DECL_GETUID$])
156153
 
+m4trace:configure.ac:46: -1- gl_PREREQ
156154
 
+m4trace:configure.ac:46: -1- gl_FUNC_NONREENTRANT_EUIDACCESS
156155
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^PREFER_NONREENTRANT_EUIDACCESS$])
156156
 
+m4trace:configure.ac:46: -1- gl_EUIDACCESS_STAT
156157
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^LIB@&t@OBJS$])
156158
 
+m4trace:configure.ac:46: -1- gl_FD_REOPEN
156159
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^LIB@&t@OBJS$])
156160
 
+m4trace:configure.ac:46: -1- gl_FUNC_XATTR
156161
 
+m4trace:configure.ac:46: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
156162
 
+You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
156163
 
+m4/xattr.m4:12: gl_FUNC_XATTR is expanded from...
156164
 
+m4/prereq.m4:28: gl_PREREQ is expanded from...
156165
 
+m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
156166
 
+configure.ac:46: the top level])
156167
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^LIB_XATTR$])
156168
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_ATTR_COPY_FILE$])
156169
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^USE_XATTR$])
156170
 
+m4trace:configure.ac:46: -1- gl_FUNC_XFTS
156171
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^LIB@&t@OBJS$])
156172
 
+m4trace:configure.ac:46: -1- gl_STRINTCMP
156173
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^LIB@&t@OBJS$])
156174
 
+m4trace:configure.ac:46: -1- _m4_warn([obsolete], [The macro `AC_INLINE' is obsolete.
156175
 
+You should run autoupdate.], [../../lib/autoconf/oldnames.m4:61: AC_INLINE is expanded from...
156176
 
+m4/strnumcmp.m4:11: gl_STRINTCMP is expanded from...
156177
 
+m4/prereq.m4:28: gl_PREREQ is expanded from...
156178
 
+m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
156179
 
+configure.ac:46: the top level])
156180
 
+m4trace:configure.ac:46: -1- gl_STRNUMCMP
156181
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^LIB@&t@OBJS$])
156182
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^ARGMATCH_DIE$])
156183
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^ARGMATCH_DIE_DECL$])
156184
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_directio], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" directio"])])
156185
 
+_AC_FUNCS_EXPANSION])
156186
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_MATCHPATHCON_INIT_PREFIX$])
156187
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_nl_langinfo], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" nl_langinfo"])])
156188
 
+_AC_FUNCS_EXPANSION])
156189
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_setrlimit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" setrlimit"])])
156190
 
+_AC_FUNCS_EXPANSION])
156191
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_INOTIFY_INIT$])
156192
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_INOTIFY$])
156193
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_endgrent], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" endgrent"])])
156194
 
+_AC_FUNCS_EXPANSION])
156195
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_endpwent], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" endpwent"])])
156196
 
+_AC_FUNCS_EXPANSION])
156197
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_fchown], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fchown"])])
156198
 
+_AC_FUNCS_EXPANSION])
156199
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_fchmod], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fchmod"])])
156200
 
+_AC_FUNCS_EXPANSION])
156201
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_ftruncate], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" ftruncate"])])
156202
 
+_AC_FUNCS_EXPANSION])
156203
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_iswspace], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" iswspace"])])
156204
 
+_AC_FUNCS_EXPANSION])
156205
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_mkfifo], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mkfifo"])])
156206
 
+_AC_FUNCS_EXPANSION])
156207
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_mbrlen], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrlen"])])
156208
 
+_AC_FUNCS_EXPANSION])
156209
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_setgroups], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" setgroups"])])
156210
 
+_AC_FUNCS_EXPANSION])
156211
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_sethostname], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" sethostname"])])
156212
 
+_AC_FUNCS_EXPANSION])
156213
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_siginterrupt], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" siginterrupt"])])
156214
 
+_AC_FUNCS_EXPANSION])
156215
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_sync], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" sync"])])
156216
 
+_AC_FUNCS_EXPANSION])
156217
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_sysctl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" sysctl"])])
156218
 
+_AC_FUNCS_EXPANSION])
156219
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_sysinfo], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" sysinfo"])])
156220
 
+_AC_FUNCS_EXPANSION])
156221
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Func_tcgetpgrp], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" tcgetpgrp"])])
156222
 
+_AC_FUNCS_EXPANSION])
156223
 
+m4trace:configure.ac:46: -1- cu_PREREQ_STAT_PROG
156224
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Header_OS_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" OS.h"])])
156225
 
+_AC_HEADERS_EXPANSION])
156226
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Header_netinet_in_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" netinet/in.h"])])
156227
 
+_AC_HEADERS_EXPANSION])
156228
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])])
156229
 
+_AC_HEADERS_EXPANSION])
156230
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Header_sys_vfs_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/vfs.h"])])
156231
 
+_AC_HEADERS_EXPANSION])
156232
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_NFS_VFS_H$])
156233
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_NFS_NFS_CLIENT_H$])
156234
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_STRUCT_STATVFS_F_BASETYPE$])
156235
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_STRUCT_STATVFS_F_FSTYPENAME$])
156236
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_STRUCT_STATVFS_F_TYPE$])
156237
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_STRUCT_STATVFS_F_NAMEMAX$])
156238
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^STRUCT_STATVFS_F_FSID_IS_INTEGER$])
156239
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_STRUCT_STATFS_F_NAMELEN$])
156240
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_STRUCT_STATFS_F_TYPE$])
156241
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^STRUCT_STATFS_F_FSID_IS_INTEGER$])
156242
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^LIB_FDATASYNC$])
156243
 
+m4trace:configure.ac:46: -1- AC_DEFUN([_AC_Check_Decl_fdatasync], [_AC_CHECK_DECLS([fdatasync])])
156244
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_DECL_FDATASYNC$])
156245
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_FDATASYNC$])
156246
 
+m4trace:configure.ac:46: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
156247
 
+You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
156248
 
+m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
156249
 
+configure.ac:46: the top level])
156250
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_CAP$])
156251
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^LIB_CAP$])
156252
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^SEQ_LIBM$])
156253
 
+m4trace:configure.ac:46: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
156254
 
+You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
156255
 
+m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
156256
 
+configure.ac:46: the top level])
156257
 
+m4trace:configure.ac:46: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
156258
 
+You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
156259
 
+../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
156260
 
+../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
156261
 
+../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
156262
 
+../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
156263
 
+m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
156264
 
+configure.ac:46: the top level])
156265
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^TTY_GROUP_NAME$])
156266
 
+m4trace:configure.ac:60: -1- gl_WARN_ADD([-Werror], [WERROR_CFLAGS])
156267
 
+m4trace:configure.ac:60: -1- m4_pattern_allow([^WERROR_CFLAGS$])
156268
 
+m4trace:configure.ac:61: -1- m4_pattern_allow([^WERROR_CFLAGS$])
156269
 
+m4trace:configure.ac:97: -1- gl_MANYWARN_ALL_GCC([ws])
156270
 
+m4trace:configure.ac:98: -1- gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw])
156271
 
+m4trace:configure.ac:100: -1- gl_WARN_ADD([$w])
156272
 
+m4trace:configure.ac:102: -1- gl_WARN_ADD([-Wno-sign-compare])
156273
 
+m4trace:configure.ac:103: -1- gl_WARN_ADD([-Wno-unused-parameter])
156274
 
+m4trace:configure.ac:104: -1- gl_WARN_ADD([-Wsuggest-attribute=const])
156275
 
+m4trace:configure.ac:105: -1- gl_WARN_ADD([-Wsuggest-attribute=pure])
156276
 
+m4trace:configure.ac:106: -1- gl_WARN_ADD([-Wsuggest-attribute=noreturn])
156277
 
+m4trace:configure.ac:110: -1- gl_WARN_ADD([-Wno-logical-op])
156278
 
+m4trace:configure.ac:112: -1- gl_WARN_ADD([-fdiagnostics-show-option])
156279
 
+m4trace:configure.ac:113: -1- gl_WARN_ADD([-funit-at-a-time])
156280
 
+m4trace:configure.ac:115: -1- m4_pattern_allow([^WARN_CFLAGS$])
156281
 
+m4trace:configure.ac:117: -1- m4_pattern_allow([^lint$])
156282
 
+m4trace:configure.ac:118: -1- m4_pattern_allow([^_FORTIFY_SOURCE$])
156283
 
+m4trace:configure.ac:120: -1- m4_pattern_allow([^GNULIB_PORTCHECK$])
156284
 
+m4trace:configure.ac:133: -1- gl_MANYWARN_COMPLEMENT([GNULIB_WARN_CFLAGS], [$WARN_CFLAGS], [$nw])
156285
 
+m4trace:configure.ac:134: -1- m4_pattern_allow([^GNULIB_WARN_CFLAGS$])
156286
 
+m4trace:configure.ac:139: -1- gl_MANYWARN_COMPLEMENT([GNULIB_TEST_WARN_CFLAGS], [$GNULIB_WARN_CFLAGS], [$nw])
156287
 
+m4trace:configure.ac:141: -1- m4_pattern_allow([^GNULIB_TEST_WARN_CFLAGS$])
156288
 
+m4trace:configure.ac:144: -1- m4_pattern_allow([^HAVE_VFORK_H$])
156289
 
+m4trace:configure.ac:144: -1- m4_pattern_allow([^HAVE_WORKING_VFORK$])
156290
 
+m4trace:configure.ac:144: -1- m4_pattern_allow([^vfork$])
156291
 
+m4trace:configure.ac:144: -1- m4_pattern_allow([^HAVE_WORKING_FORK$])
156292
 
+m4trace:configure.ac:148: -2- gl_ADD_PROG([optional_bin_progs], [chroot])
156293
 
+m4trace:configure.ac:147: -1- m4_pattern_allow([^HAVE_CHROOT$])
156294
 
+m4trace:configure.ac:150: -2- gl_ADD_PROG([optional_bin_progs], [hostid])
156295
 
+m4trace:configure.ac:149: -1- m4_pattern_allow([^HAVE_GETHOSTID$])
156296
 
+m4trace:configure.ac:152: -1- gl_WINSIZE_IN_PTEM
156297
 
+m4trace:configure.ac:152: -1- m4_pattern_allow([^WINSIZE_IN_PTEM$])
156298
 
+m4trace:configure.ac:198: -1- m4_pattern_allow([^LOCALTIME_CACHE$])
156299
 
+m4trace:configure.ac:202: -1- m4_pattern_allow([^HAVE_INITGROUPS$])
156300
 
+m4trace:configure.ac:204: -1- m4_pattern_allow([^HAVE_LIBOS$])
156301
 
+m4trace:configure.ac:207: -1- m4_pattern_allow([^HAVE_SYSLOG$])
156302
 
+m4trace:configure.ac:211: -1- m4_pattern_allow([^HAVE_SYSLOG$])
156303
 
+m4trace:configure.ac:227: -1- m4_pattern_allow([^HAVE_NICE$])
156304
 
+m4trace:configure.ac:231: -1- gl_ADD_PROG([optional_bin_progs], [nice])
156305
 
+m4trace:configure.ac:234: -1- AC_DEFUN([coreutils_DUMMY_1], [
156306
 
+  AC_REQUIRE([gl_READUTMP])
156307
 
+  if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then
156308
 
+    gl_ADD_PROG([optional_bin_progs], [who])
156309
 
+    gl_ADD_PROG([optional_bin_progs], [users])
156310
 
+    gl_ADD_PROG([optional_bin_progs], [pinky])
156311
 
+  fi
156312
 
+])
156313
 
+m4trace:configure.ac:243: -1- coreutils_DUMMY_1
156314
 
+m4trace:configure.ac:243: -1- gl_ADD_PROG([optional_bin_progs], [who])
156315
 
+m4trace:configure.ac:243: -1- gl_ADD_PROG([optional_bin_progs], [users])
156316
 
+m4trace:configure.ac:243: -1- gl_ADD_PROG([optional_bin_progs], [pinky])
156317
 
+m4trace:configure.ac:254: -1- m4_pattern_allow([^HAVE_UT_HOST$])
156318
 
+m4trace:configure.ac:266: -1- m4_pattern_allow([^HAVE_UTMPX_H$])
156319
 
+m4trace:configure.ac:267: -1- m4_pattern_allow([^HAVE_UT_HOST$])
156320
 
+m4trace:configure.ac:271: -1- GNULIB_BOOT_TIME([gl_ADD_PROG([optional_bin_progs], [uptime])])
156321
 
+m4trace:configure.ac:271: -1- m4_pattern_allow([^HAVE_SYSCTL$])
156322
 
+m4trace:configure.ac:271: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])])
156323
 
+_AC_HEADERS_EXPANSION])
156324
 
+m4trace:configure.ac:271: -1- m4_pattern_allow([^HAVE_SYS_SYSCTL_H$])
156325
 
+m4trace:configure.ac:271: -1- AC_DEFUN([_AC_Header_utmp_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" utmp.h"])])
156326
 
+_AC_HEADERS_EXPANSION])
156327
 
+m4trace:configure.ac:271: -1- AC_DEFUN([_AC_Header_utmpx_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" utmpx.h"])])
156328
 
+_AC_HEADERS_EXPANSION])
156329
 
+m4trace:configure.ac:271: -1- AC_DEFUN([_AC_Header_OS_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" OS.h"])])
156330
 
+_AC_HEADERS_EXPANSION])
156331
 
+m4trace:configure.ac:271: -1- gl_ADD_PROG([optional_bin_progs], [uptime])
156332
 
+m4trace:configure.ac:274: -1- gl_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL
156333
 
+m4trace:configure.ac:274: -1- m4_pattern_allow([^GWINSZ_IN_SYS_IOCTL$])
156334
 
+m4trace:configure.ac:277: -1- gl_ADD_PROG([optional_bin_progs], [stty])
156335
 
+m4trace:configure.ac:293: -1- m4_pattern_allow([^TERMIOS_NEEDS_XOPEN_SOURCE$])
156336
 
+m4trace:configure.ac:306: -1- m4_pattern_allow([^HAVE_C_LINE$])
156337
 
+m4trace:configure.ac:311: -1- gl_WINSIZE_IN_PTEM
156338
 
+m4trace:configure.ac:311: -1- m4_pattern_allow([^WINSIZE_IN_PTEM$])
156339
 
+m4trace:configure.ac:313: -1- gl_HEADER_TIOCGWINSZ_IN_TERMIOS_H
156340
 
+m4trace:configure.ac:332: -1- m4_pattern_allow([^GWINSZ_IN_SYS_PTY$])
156341
 
+m4trace:configure.ac:337: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$])
156342
 
+m4trace:configure.ac:337: -1- m4_pattern_allow([^HAVE_DECL_SYS_SIGLIST$])
156343
 
+m4trace:configure.ac:337: -1- m4_pattern_allow([^HAVE_DECL__SYS_SIGLIST$])
156344
 
+m4trace:configure.ac:337: -1- m4_pattern_allow([^HAVE_DECL___SYS_SIGLIST$])
156345
 
+m4trace:configure.ac:341: -1- cu_LIB_CHECK
156346
 
+m4trace:configure.ac:341: -1- m4_pattern_allow([^HAVE_LIBYPSEC$])
156347
 
+m4trace:configure.ac:341: -1- m4_pattern_allow([^HAVE_LIBLDGC$])
156348
 
+m4trace:configure.ac:341: -1- m4_pattern_allow([^HAVE_SHADOW_H$])
156349
 
+m4trace:configure.ac:341: -1- m4_pattern_allow([^HAVE_STRUCT_SPWD_SP_PWDP$])
156350
 
+m4trace:configure.ac:341: -1- m4_pattern_allow([^HAVE_GETSPNAM$])
156351
 
+m4trace:configure.ac:341: -1- m4_pattern_allow([^LIB_CRYPT$])
156352
 
+m4trace:configure.ac:342: -1- cu_GMP
156353
 
+m4trace:configure.ac:342: -1- m4_pattern_allow([^LIB_GMP$])
156354
 
+m4trace:configure.ac:342: -1- m4_pattern_allow([^HAVE_GMP$])
156355
 
+m4trace:configure.ac:346: -1- gl_ADD_PROG([optional_bin_progs], [df])
156356
 
+m4trace:configure.ac:357: -1- gl_ADD_PROG([optional_bin_progs], [stdbuf])
156357
 
+m4trace:configure.ac:369: -1- gl_ADD_PROG([optional_bin_progs], [$gl_i])
156358
 
+m4trace:configure.ac:409: -1- gl_INCLUDE_EXCLUDE_PROG([optional_bin_progs], [arch,hostname,su])
156359
 
+m4trace:configure.ac:409: -1- gl_REMOVE_PROG([optional_bin_progs], [$gl_i])
156360
 
+m4trace:configure.ac:409: -1- gl_ADD_PROG([optional_bin_progs], [$gl_i])
156361
 
+m4trace:configure.ac:415: -1- gl_ADD_PROG([optional_pkglib_progs], [libstdbuf.so])
156362
 
+m4trace:configure.ac:420: -1- m4_pattern_allow([^INSTALL_SU$])
156363
 
+m4trace:configure.ac:438: -1- m4_pattern_allow([^OPTIONAL_BIN_PROGS$])
156364
 
+m4trace:configure.ac:440: -1- m4_pattern_allow([^OPTIONAL_PKGLIB_PROGS$])
156365
 
+m4trace:configure.ac:442: -1- m4_pattern_allow([^NO_INSTALL_PROGS_DEFAULT$])
156366
 
+m4trace:configure.ac:444: -1- AM_CONDITIONAL([CROSS_COMPILING], [test "$cross_compiling" = yes])
156367
 
+m4trace:configure.ac:444: -1- m4_pattern_allow([^CROSS_COMPILING_TRUE$])
156368
 
+m4trace:configure.ac:444: -1- m4_pattern_allow([^CROSS_COMPILING_FALSE$])
156369
 
+m4trace:configure.ac:444: -1- _AM_SUBST_NOTMAKE([CROSS_COMPILING_TRUE])
156370
 
+m4trace:configure.ac:444: -1- _AM_SUBST_NOTMAKE([CROSS_COMPILING_FALSE])
156371
 
+m4trace:configure.ac:449: -1- m4_pattern_allow([^CONFIG_STATUS_DEPENDENCIES$])
156372
 
+m4trace:configure.ac:454: -1- AM_GNU_GETTEXT([external], [need-formatstring-macros])
156373
 
+m4trace:configure.ac:454: -1- AM_GNU_GETTEXT_NEED([need-formatstring-macros])
156374
 
+m4trace:configure.ac:454: -1- AM_PO_SUBDIRS
156375
 
+m4trace:configure.ac:454: -1- AM_NLS
156376
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^USE_NLS$])
156377
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^GETTEXT_MACRO_VERSION$])
156378
 
+m4trace:configure.ac:454: -1- AM_PATH_PROG_WITH_TEST([MSGFMT], [msgfmt], [$ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
156379
 
+     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:])
156380
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^MSGFMT$])
156381
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^GMSGFMT$])
156382
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^MSGFMT_015$])
156383
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^GMSGFMT_015$])
156384
 
+m4trace:configure.ac:454: -1- AM_PATH_PROG_WITH_TEST([XGETTEXT], [xgettext], [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
156385
 
+     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:])
156386
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^XGETTEXT$])
156387
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^XGETTEXT_015$])
156388
 
+m4trace:configure.ac:454: -1- AM_PATH_PROG_WITH_TEST([MSGMERGE], [msgmerge], [$ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1], [:])
156389
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^MSGMERGE$])
156390
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^localedir$])
156391
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^XGETTEXT_EXTRA_OPTIONS$])
156392
 
+m4trace:configure.ac:454: -1- gt_INTL_MACOSX
156393
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^HAVE_CFPREFERENCESCOPYAPPVALUE$])
156394
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^HAVE_CFLOCALECOPYCURRENT$])
156395
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^INTL_MACOSX_LIBS$])
156396
 
+m4trace:configure.ac:454: -1- AM_ICONV_LINK
156397
 
+m4trace:configure.ac:454: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
156398
 
+m4trace:configure.ac:454: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
156399
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^HAVE_ICONV$])
156400
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^LIBICONV$])
156401
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^LTLIBICONV$])
156402
 
+m4trace:configure.ac:454: -1- AC_LIB_LINKFLAGS_BODY([intl])
156403
 
+m4trace:configure.ac:454: -1- AC_LIB_WITH_FINAL_PREFIX([
156404
 
+    eval additional_includedir=\"$includedir\"
156405
 
+    eval additional_libdir=\"$libdir\"
156406
 
+  ])
156407
 
+m4trace:configure.ac:454: -1- AC_LIB_WITH_FINAL_PREFIX([
156408
 
+          eval additional_includedir=\"$includedir\"
156409
 
+          eval additional_libdir=\"$libdir\"
156410
 
+        ])
156411
 
+m4trace:configure.ac:454: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
156412
 
+m4trace:configure.ac:454: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
156413
 
+m4trace:configure.ac:454: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
156414
 
+m4trace:configure.ac:454: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
156415
 
+m4trace:configure.ac:454: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
156416
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^ENABLE_NLS$])
156417
 
+m4trace:configure.ac:454: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
156418
 
+m4trace:configure.ac:454: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
156419
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^HAVE_GETTEXT$])
156420
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^HAVE_DCGETTEXT$])
156421
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^INTLLIBS$])
156422
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^LIBINTL$])
156423
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^LTLIBINTL$])
156424
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^POSUB$])
156425
 
+m4trace:configure.ac:455: -1- AM_GNU_GETTEXT_VERSION([0.18.1])
156426
 
+m4trace:configure.ac:458: -1- gt_LOCALE_FR
156427
 
+m4trace:configure.ac:458: -1- m4_pattern_allow([^LOCALE_FR$])
156428
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^LIB@&t@OBJS$])
156429
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^LTLIBOBJS$])
156430
 
+m4trace:configure.ac:470: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
156431
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
156432
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
156433
 
+m4trace:configure.ac:470: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
156434
 
+m4trace:configure.ac:470: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
156435
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^CONFIG_INCLUDE$])
156436
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^gl_LIBOBJS$])
156437
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^gl_LTLIBOBJS$])
156438
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^gltests_LIBOBJS$])
156439
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^gltests_LTLIBOBJS$])
156440
 
+m4trace:configure.ac:470: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
156441
 
+m4trace:configure.ac:470: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
156442
 
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' coreutils-8.13~/autom4te.cache/traces.1 coreutils-8.13/autom4te.cache/traces.1
156443
 
--- coreutils-8.13~/autom4te.cache/traces.1     1969-12-31 19:00:00.000000000 -0500
156444
 
+++ coreutils-8.13/autom4te.cache/traces.1      2011-10-01 12:40:39.832953337 -0400
156445
 
@@ -0,0 +1,9206 @@
156446
 
+m4trace:aclocal.m4:1040: -1- m4_include([m4/00gnulib.m4])
156447
 
+m4trace:aclocal.m4:1041: -1- m4_include([m4/acl.m4])
156448
 
+m4trace:aclocal.m4:1042: -1- m4_include([m4/alloca.m4])
156449
 
+m4trace:aclocal.m4:1043: -1- m4_include([m4/arpa_inet_h.m4])
156450
 
+m4trace:aclocal.m4:1044: -1- m4_include([m4/assert.m4])
156451
 
+m4trace:aclocal.m4:1045: -1- m4_include([m4/autobuild.m4])
156452
 
+m4trace:aclocal.m4:1046: -1- m4_include([m4/backupfile.m4])
156453
 
+m4trace:aclocal.m4:1047: -1- m4_include([m4/base64.m4])
156454
 
+m4trace:aclocal.m4:1048: -1- m4_include([m4/bison.m4])
156455
 
+m4trace:aclocal.m4:1049: -1- m4_include([m4/boottime.m4])
156456
 
+m4trace:aclocal.m4:1050: -1- m4_include([m4/btowc.m4])
156457
 
+m4trace:aclocal.m4:1051: -1- m4_include([m4/c-strtod.m4])
156458
 
+m4trace:aclocal.m4:1052: -1- m4_include([m4/calloc.m4])
156459
 
+m4trace:aclocal.m4:1053: -1- m4_include([m4/canon-host.m4])
156460
 
+m4trace:aclocal.m4:1054: -1- m4_include([m4/canonicalize.m4])
156461
 
+m4trace:aclocal.m4:1055: -1- m4_include([m4/chdir-long.m4])
156462
 
+m4trace:aclocal.m4:1056: -1- m4_include([m4/check-decl.m4])
156463
 
+m4trace:aclocal.m4:1057: -1- m4_include([m4/chown.m4])
156464
 
+m4trace:aclocal.m4:1058: -1- m4_include([m4/clock_time.m4])
156465
 
+m4trace:aclocal.m4:1059: -1- m4_include([m4/close-stream.m4])
156466
 
+m4trace:aclocal.m4:1060: -1- m4_include([m4/close.m4])
156467
 
+m4trace:aclocal.m4:1061: -1- m4_include([m4/closein.m4])
156468
 
+m4trace:aclocal.m4:1062: -1- m4_include([m4/closeout.m4])
156469
 
+m4trace:aclocal.m4:1063: -1- m4_include([m4/codeset.m4])
156470
 
+m4trace:aclocal.m4:1064: -1- m4_include([m4/config-h.m4])
156471
 
+m4trace:aclocal.m4:1065: -1- m4_include([m4/configmake.m4])
156472
 
+m4trace:aclocal.m4:1066: -1- m4_include([m4/ctype.m4])
156473
 
+m4trace:aclocal.m4:1067: -1- m4_include([m4/cycle-check.m4])
156474
 
+m4trace:aclocal.m4:1068: -1- m4_include([m4/d-ino.m4])
156475
 
+m4trace:aclocal.m4:1069: -1- m4_include([m4/d-type.m4])
156476
 
+m4trace:aclocal.m4:1070: -1- m4_include([m4/dirent-safer.m4])
156477
 
+m4trace:aclocal.m4:1071: -1- m4_include([m4/dirent_h.m4])
156478
 
+m4trace:aclocal.m4:1072: -1- m4_include([m4/dirfd.m4])
156479
 
+m4trace:aclocal.m4:1073: -1- m4_include([m4/dirname.m4])
156480
 
+m4trace:aclocal.m4:1074: -1- m4_include([m4/double-slash-root.m4])
156481
 
+m4trace:aclocal.m4:1075: -1- m4_include([m4/dup2.m4])
156482
 
+m4trace:aclocal.m4:1076: -1- m4_include([m4/eealloc.m4])
156483
 
+m4trace:aclocal.m4:1077: -1- m4_include([m4/environ.m4])
156484
 
+m4trace:aclocal.m4:1078: -1- m4_include([m4/errno_h.m4])
156485
 
+m4trace:aclocal.m4:1079: -1- m4_include([m4/error.m4])
156486
 
+m4trace:aclocal.m4:1080: -1- m4_include([m4/euidaccess-stat.m4])
156487
 
+m4trace:aclocal.m4:1081: -1- m4_include([m4/euidaccess.m4])
156488
 
+m4trace:aclocal.m4:1082: -1- m4_include([m4/exponentd.m4])
156489
 
+m4trace:aclocal.m4:1083: -1- m4_include([m4/exponentf.m4])
156490
 
+m4trace:aclocal.m4:1084: -1- m4_include([m4/exponentl.m4])
156491
 
+m4trace:aclocal.m4:1085: -1- m4_include([m4/extensions.m4])
156492
 
+m4trace:aclocal.m4:1086: -1- m4_include([m4/faccessat.m4])
156493
 
+m4trace:aclocal.m4:1087: -1- m4_include([m4/fchdir.m4])
156494
 
+m4trace:aclocal.m4:1088: -1- m4_include([m4/fclose.m4])
156495
 
+m4trace:aclocal.m4:1089: -1- m4_include([m4/fcntl-o.m4])
156496
 
+m4trace:aclocal.m4:1090: -1- m4_include([m4/fcntl-safer.m4])
156497
 
+m4trace:aclocal.m4:1091: -1- m4_include([m4/fcntl.m4])
156498
 
+m4trace:aclocal.m4:1092: -1- m4_include([m4/fcntl_h.m4])
156499
 
+m4trace:aclocal.m4:1093: -1- m4_include([m4/fd-reopen.m4])
156500
 
+m4trace:aclocal.m4:1094: -1- m4_include([m4/fdopendir.m4])
156501
 
+m4trace:aclocal.m4:1095: -1- m4_include([m4/fflush.m4])
156502
 
+m4trace:aclocal.m4:1096: -1- m4_include([m4/fileblocks.m4])
156503
 
+m4trace:aclocal.m4:1097: -1- m4_include([m4/filemode.m4])
156504
 
+m4trace:aclocal.m4:1098: -1- m4_include([m4/filenamecat.m4])
156505
 
+m4trace:aclocal.m4:1099: -1- m4_include([m4/flexmember.m4])
156506
 
+m4trace:aclocal.m4:1100: -1- m4_include([m4/float_h.m4])
156507
 
+m4trace:aclocal.m4:1101: -1- m4_include([m4/fnmatch.m4])
156508
 
+m4trace:aclocal.m4:1102: -1- m4_include([m4/fopen.m4])
156509
 
+m4trace:aclocal.m4:1103: -1- m4_include([m4/fpending.m4])
156510
 
+m4trace:aclocal.m4:1104: -1- m4_include([m4/fpieee.m4])
156511
 
+m4trace:aclocal.m4:1105: -1- m4_include([m4/fpurge.m4])
156512
 
+m4trace:aclocal.m4:1106: -1- m4_include([m4/freading.m4])
156513
 
+m4trace:aclocal.m4:1107: -1- m4_include([m4/freopen.m4])
156514
 
+m4trace:aclocal.m4:1108: -1- m4_include([m4/frexp.m4])
156515
 
+m4trace:aclocal.m4:1109: -1- m4_include([m4/frexpl.m4])
156516
 
+m4trace:aclocal.m4:1110: -1- m4_include([m4/fseek.m4])
156517
 
+m4trace:aclocal.m4:1111: -1- m4_include([m4/fseeko.m4])
156518
 
+m4trace:aclocal.m4:1112: -1- m4_include([m4/fstypename.m4])
156519
 
+m4trace:aclocal.m4:1113: -1- m4_include([m4/fsusage.m4])
156520
 
+m4trace:aclocal.m4:1114: -1- m4_include([m4/fsync.m4])
156521
 
+m4trace:aclocal.m4:1115: -1- m4_include([m4/ftell.m4])
156522
 
+m4trace:aclocal.m4:1116: -1- m4_include([m4/ftello.m4])
156523
 
+m4trace:aclocal.m4:1117: -1- m4_include([m4/fts.m4])
156524
 
+m4trace:aclocal.m4:1118: -1- m4_include([m4/futimens.m4])
156525
 
+m4trace:aclocal.m4:1119: -1- m4_include([m4/getaddrinfo.m4])
156526
 
+m4trace:aclocal.m4:1120: -1- m4_include([m4/getcwd-abort-bug.m4])
156527
 
+m4trace:aclocal.m4:1121: -1- m4_include([m4/getcwd-path-max.m4])
156528
 
+m4trace:aclocal.m4:1122: -1- m4_include([m4/getcwd.m4])
156529
 
+m4trace:aclocal.m4:1123: -1- m4_include([m4/getdelim.m4])
156530
 
+m4trace:aclocal.m4:1124: -1- m4_include([m4/getdtablesize.m4])
156531
 
+m4trace:aclocal.m4:1125: -1- m4_include([m4/getgroups.m4])
156532
 
+m4trace:aclocal.m4:1126: -1- m4_include([m4/gethostname.m4])
156533
 
+m4trace:aclocal.m4:1127: -1- m4_include([m4/gethrxtime.m4])
156534
 
+m4trace:aclocal.m4:1128: -1- m4_include([m4/getline.m4])
156535
 
+m4trace:aclocal.m4:1129: -1- m4_include([m4/getloadavg.m4])
156536
 
+m4trace:aclocal.m4:1130: -1- m4_include([m4/getndelim2.m4])
156537
 
+m4trace:aclocal.m4:1131: -1- m4_include([m4/getopt.m4])
156538
 
+m4trace:aclocal.m4:1132: -1- m4_include([m4/getpagesize.m4])
156539
 
+m4trace:aclocal.m4:1133: -1- m4_include([m4/getpass.m4])
156540
 
+m4trace:aclocal.m4:1134: -1- m4_include([m4/gettext.m4])
156541
 
+m4trace:aclocal.m4:1135: -1- m4_include([m4/gettime.m4])
156542
 
+m4trace:aclocal.m4:1136: -1- m4_include([m4/gettimeofday.m4])
156543
 
+m4trace:aclocal.m4:1137: -1- m4_include([m4/getugroups.m4])
156544
 
+m4trace:aclocal.m4:1138: -1- m4_include([m4/getusershell.m4])
156545
 
+m4trace:aclocal.m4:1139: -1- m4_include([m4/glibc21.m4])
156546
 
+m4trace:aclocal.m4:1140: -1- m4_include([m4/gmp.m4])
156547
 
+m4trace:aclocal.m4:1141: -1- m4_include([m4/gnu-make.m4])
156548
 
+m4trace:aclocal.m4:1142: -1- m4_include([m4/gnulib-common.m4])
156549
 
+m4trace:aclocal.m4:1143: -1- m4_include([m4/gnulib-comp.m4])
156550
 
+m4trace:aclocal.m4:1144: -1- m4_include([m4/group-member.m4])
156551
 
+m4trace:aclocal.m4:1145: -1- m4_include([m4/hard-locale.m4])
156552
 
+m4trace:aclocal.m4:1146: -1- m4_include([m4/host-os.m4])
156553
 
+m4trace:aclocal.m4:1147: -1- m4_include([m4/hostent.m4])
156554
 
+m4trace:aclocal.m4:1148: -1- m4_include([m4/human.m4])
156555
 
+m4trace:aclocal.m4:1149: -1- m4_include([m4/i-ring.m4])
156556
 
+m4trace:aclocal.m4:1150: -1- m4_include([m4/iconv.m4])
156557
 
+m4trace:aclocal.m4:1151: -1- m4_include([m4/iconv_h.m4])
156558
 
+m4trace:aclocal.m4:1152: -1- m4_include([m4/iconv_open.m4])
156559
 
+m4trace:aclocal.m4:1153: -1- m4_include([m4/idcache.m4])
156560
 
+m4trace:aclocal.m4:1154: -1- m4_include([m4/include-exclude-prog.m4])
156561
 
+m4trace:aclocal.m4:1155: -1- m4_include([m4/include_next.m4])
156562
 
+m4trace:aclocal.m4:1156: -1- m4_include([m4/inet_ntop.m4])
156563
 
+m4trace:aclocal.m4:1157: -1- m4_include([m4/inet_pton.m4])
156564
 
+m4trace:aclocal.m4:1158: -1- m4_include([m4/inline.m4])
156565
 
+m4trace:aclocal.m4:1159: -1- m4_include([m4/intlmacosx.m4])
156566
 
+m4trace:aclocal.m4:1160: -1- m4_include([m4/intmax_t.m4])
156567
 
+m4trace:aclocal.m4:1161: -1- m4_include([m4/inttostr.m4])
156568
 
+m4trace:aclocal.m4:1162: -1- m4_include([m4/inttypes-pri.m4])
156569
 
+m4trace:aclocal.m4:1163: -1- m4_include([m4/inttypes.m4])
156570
 
+m4trace:aclocal.m4:1164: -1- m4_include([m4/inttypes_h.m4])
156571
 
+m4trace:aclocal.m4:1165: -1- m4_include([m4/ioctl.m4])
156572
 
+m4trace:aclocal.m4:1166: -1- m4_include([m4/isapipe.m4])
156573
 
+m4trace:aclocal.m4:1167: -1- m4_include([m4/isblank.m4])
156574
 
+m4trace:aclocal.m4:1168: -1- m4_include([m4/isnand.m4])
156575
 
+m4trace:aclocal.m4:1169: -1- m4_include([m4/isnanf.m4])
156576
 
+m4trace:aclocal.m4:1170: -1- m4_include([m4/isnanl.m4])
156577
 
+m4trace:aclocal.m4:1171: -1- m4_include([m4/iswblank.m4])
156578
 
+m4trace:aclocal.m4:1172: -1- m4_include([m4/jm-macros.m4])
156579
 
+m4trace:aclocal.m4:1173: -1- m4_include([m4/jm-winsz1.m4])
156580
 
+m4trace:aclocal.m4:1174: -1- m4_include([m4/jm-winsz2.m4])
156581
 
+m4trace:aclocal.m4:1175: -1- m4_include([m4/langinfo_h.m4])
156582
 
+m4trace:aclocal.m4:1176: -1- m4_include([m4/largefile.m4])
156583
 
+m4trace:aclocal.m4:1177: -1- m4_include([m4/lchmod.m4])
156584
 
+m4trace:aclocal.m4:1178: -1- m4_include([m4/lchown.m4])
156585
 
+m4trace:aclocal.m4:1179: -1- m4_include([m4/lcmessage.m4])
156586
 
+m4trace:aclocal.m4:1180: -1- m4_include([m4/ldexp.m4])
156587
 
+m4trace:aclocal.m4:1181: -1- m4_include([m4/ldexpl.m4])
156588
 
+m4trace:aclocal.m4:1182: -1- m4_include([m4/lib-check.m4])
156589
 
+m4trace:aclocal.m4:1183: -1- m4_include([m4/lib-ignore.m4])
156590
 
+m4trace:aclocal.m4:1184: -1- m4_include([m4/lib-ld.m4])
156591
 
+m4trace:aclocal.m4:1185: -1- m4_include([m4/lib-link.m4])
156592
 
+m4trace:aclocal.m4:1186: -1- m4_include([m4/lib-prefix.m4])
156593
 
+m4trace:aclocal.m4:1187: -1- m4_include([m4/libunistring-base.m4])
156594
 
+m4trace:aclocal.m4:1188: -1- m4_include([m4/link-follow.m4])
156595
 
+m4trace:aclocal.m4:1189: -1- m4_include([m4/link.m4])
156596
 
+m4trace:aclocal.m4:1190: -1- m4_include([m4/linkat.m4])
156597
 
+m4trace:aclocal.m4:1191: -1- m4_include([m4/localcharset.m4])
156598
 
+m4trace:aclocal.m4:1192: -1- m4_include([m4/locale-fr.m4])
156599
 
+m4trace:aclocal.m4:1193: -1- m4_include([m4/locale-ja.m4])
156600
 
+m4trace:aclocal.m4:1194: -1- m4_include([m4/locale-tr.m4])
156601
 
+m4trace:aclocal.m4:1195: -1- m4_include([m4/locale-zh.m4])
156602
 
+m4trace:aclocal.m4:1196: -1- m4_include([m4/locale_h.m4])
156603
 
+m4trace:aclocal.m4:1197: -1- m4_include([m4/localename.m4])
156604
 
+m4trace:aclocal.m4:1198: -1- m4_include([m4/lock.m4])
156605
 
+m4trace:aclocal.m4:1199: -1- m4_include([m4/longlong.m4])
156606
 
+m4trace:aclocal.m4:1200: -1- m4_include([m4/ls-mntd-fs.m4])
156607
 
+m4trace:aclocal.m4:1201: -1- m4_include([m4/lseek.m4])
156608
 
+m4trace:aclocal.m4:1202: -1- m4_include([m4/lstat.m4])
156609
 
+m4trace:aclocal.m4:1203: -1- m4_include([m4/malloc.m4])
156610
 
+m4trace:aclocal.m4:1204: -1- m4_include([m4/malloca.m4])
156611
 
+m4trace:aclocal.m4:1205: -1- m4_include([m4/manywarnings.m4])
156612
 
+m4trace:aclocal.m4:1206: -1- m4_include([m4/math_h.m4])
156613
 
+m4trace:aclocal.m4:1207: -1- m4_include([m4/mbchar.m4])
156614
 
+m4trace:aclocal.m4:1208: -1- m4_include([m4/mbiter.m4])
156615
 
+m4trace:aclocal.m4:1209: -1- m4_include([m4/mbrlen.m4])
156616
 
+m4trace:aclocal.m4:1210: -1- m4_include([m4/mbrtowc.m4])
156617
 
+m4trace:aclocal.m4:1211: -1- m4_include([m4/mbsinit.m4])
156618
 
+m4trace:aclocal.m4:1212: -1- m4_include([m4/mbslen.m4])
156619
 
+m4trace:aclocal.m4:1213: -1- m4_include([m4/mbsrtowcs.m4])
156620
 
+m4trace:aclocal.m4:1214: -1- m4_include([m4/mbstate_t.m4])
156621
 
+m4trace:aclocal.m4:1215: -1- m4_include([m4/mbswidth.m4])
156622
 
+m4trace:aclocal.m4:1216: -1- m4_include([m4/mbtowc.m4])
156623
 
+m4trace:aclocal.m4:1217: -1- m4_include([m4/md5.m4])
156624
 
+m4trace:aclocal.m4:1218: -1- m4_include([m4/memcasecmp.m4])
156625
 
+m4trace:aclocal.m4:1219: -1- m4_include([m4/memchr.m4])
156626
 
+m4trace:aclocal.m4:1220: -1- m4_include([m4/memcoll.m4])
156627
 
+m4trace:aclocal.m4:1221: -1- m4_include([m4/mempcpy.m4])
156628
 
+m4trace:aclocal.m4:1222: -1- m4_include([m4/memrchr.m4])
156629
 
+m4trace:aclocal.m4:1223: -1- m4_include([m4/mgetgroups.m4])
156630
 
+m4trace:aclocal.m4:1224: -1- m4_include([m4/mkancesdirs.m4])
156631
 
+m4trace:aclocal.m4:1225: -1- m4_include([m4/mkdir-p.m4])
156632
 
+m4trace:aclocal.m4:1226: -1- m4_include([m4/mkdir.m4])
156633
 
+m4trace:aclocal.m4:1227: -1- m4_include([m4/mkstemp.m4])
156634
 
+m4trace:aclocal.m4:1228: -1- m4_include([m4/mktime.m4])
156635
 
+m4trace:aclocal.m4:1229: -1- m4_include([m4/mmap-anon.m4])
156636
 
+m4trace:aclocal.m4:1230: -1- m4_include([m4/mode_t.m4])
156637
 
+m4trace:aclocal.m4:1231: -1- m4_include([m4/modechange.m4])
156638
 
+m4trace:aclocal.m4:1232: -1- m4_include([m4/mountlist.m4])
156639
 
+m4trace:aclocal.m4:1233: -1- m4_include([m4/mpsort.m4])
156640
 
+m4trace:aclocal.m4:1234: -1- m4_include([m4/multiarch.m4])
156641
 
+m4trace:aclocal.m4:1235: -1- m4_include([m4/nanosleep.m4])
156642
 
+m4trace:aclocal.m4:1236: -1- m4_include([m4/netdb_h.m4])
156643
 
+m4trace:aclocal.m4:1237: -1- m4_include([m4/netinet_in_h.m4])
156644
 
+m4trace:aclocal.m4:1238: -1- m4_include([m4/nl_langinfo.m4])
156645
 
+m4trace:aclocal.m4:1239: -1- m4_include([m4/nls.m4])
156646
 
+m4trace:aclocal.m4:1240: -1- m4_include([m4/nocrash.m4])
156647
 
+m4trace:aclocal.m4:1241: -1- m4_include([m4/nproc.m4])
156648
 
+m4trace:aclocal.m4:1242: -1- m4_include([m4/open.m4])
156649
 
+m4trace:aclocal.m4:1243: -1- m4_include([m4/openat.m4])
156650
 
+m4trace:aclocal.m4:1244: -1- m4_include([m4/parse-datetime.m4])
156651
 
+m4trace:aclocal.m4:1245: -1- m4_include([m4/pathmax.m4])
156652
 
+m4trace:aclocal.m4:1246: -1- m4_include([m4/perl.m4])
156653
 
+m4trace:aclocal.m4:1247: -1- m4_include([m4/perror.m4])
156654
 
+m4trace:aclocal.m4:1248: -1- m4_include([m4/physmem.m4])
156655
 
+m4trace:aclocal.m4:1249: -1- m4_include([m4/pipe.m4])
156656
 
+m4trace:aclocal.m4:1250: -1- m4_include([m4/po.m4])
156657
 
+m4trace:aclocal.m4:1251: -1- m4_include([m4/posix-shell.m4])
156658
 
+m4trace:aclocal.m4:1252: -1- m4_include([m4/posixtm.m4])
156659
 
+m4trace:aclocal.m4:1253: -1- m4_include([m4/posixver.m4])
156660
 
+m4trace:aclocal.m4:1254: -1- m4_include([m4/prereq.m4])
156661
 
+m4trace:m4/prereq.m4:4: -1- m4_pattern_forbid([^gl_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])
156662
 
+m4trace:aclocal.m4:1255: -1- m4_include([m4/printf-frexp.m4])
156663
 
+m4trace:aclocal.m4:1256: -1- m4_include([m4/printf-frexpl.m4])
156664
 
+m4trace:aclocal.m4:1257: -1- m4_include([m4/printf.m4])
156665
 
+m4trace:aclocal.m4:1258: -1- m4_include([m4/priv-set.m4])
156666
 
+m4trace:aclocal.m4:1259: -1- m4_include([m4/progtest.m4])
156667
 
+m4trace:aclocal.m4:1260: -1- m4_include([m4/pthread.m4])
156668
 
+m4trace:aclocal.m4:1261: -1- m4_include([m4/putenv.m4])
156669
 
+m4trace:aclocal.m4:1262: -1- m4_include([m4/quote.m4])
156670
 
+m4trace:aclocal.m4:1263: -1- m4_include([m4/quotearg.m4])
156671
 
+m4trace:aclocal.m4:1264: -1- m4_include([m4/read-file.m4])
156672
 
+m4trace:aclocal.m4:1265: -1- m4_include([m4/read.m4])
156673
 
+m4trace:aclocal.m4:1266: -1- m4_include([m4/readlink.m4])
156674
 
+m4trace:aclocal.m4:1267: -1- m4_include([m4/readlinkat.m4])
156675
 
+m4trace:aclocal.m4:1268: -1- m4_include([m4/readtokens.m4])
156676
 
+m4trace:aclocal.m4:1269: -1- m4_include([m4/readutmp.m4])
156677
 
+m4trace:aclocal.m4:1270: -1- m4_include([m4/realloc.m4])
156678
 
+m4trace:aclocal.m4:1271: -1- m4_include([m4/regex.m4])
156679
 
+m4trace:aclocal.m4:1272: -1- m4_include([m4/remove.m4])
156680
 
+m4trace:aclocal.m4:1273: -1- m4_include([m4/rename.m4])
156681
 
+m4trace:aclocal.m4:1274: -1- m4_include([m4/rmdir.m4])
156682
 
+m4trace:aclocal.m4:1275: -1- m4_include([m4/root-dev-ino.m4])
156683
 
+m4trace:aclocal.m4:1276: -1- m4_include([m4/rpmatch.m4])
156684
 
+m4trace:aclocal.m4:1277: -1- m4_include([m4/safe-read.m4])
156685
 
+m4trace:aclocal.m4:1278: -1- m4_include([m4/safe-write.m4])
156686
 
+m4trace:aclocal.m4:1279: -1- m4_include([m4/same.m4])
156687
 
+m4trace:aclocal.m4:1280: -1- m4_include([m4/save-cwd.m4])
156688
 
+m4trace:aclocal.m4:1281: -1- m4_include([m4/savedir.m4])
156689
 
+m4trace:aclocal.m4:1282: -1- m4_include([m4/savewd.m4])
156690
 
+m4trace:aclocal.m4:1283: -1- m4_include([m4/sched_h.m4])
156691
 
+m4trace:aclocal.m4:1284: -1- m4_include([m4/select.m4])
156692
 
+m4trace:aclocal.m4:1285: -1- m4_include([m4/selinux-context-h.m4])
156693
 
+m4trace:aclocal.m4:1286: -1- m4_include([m4/selinux-selinux-h.m4])
156694
 
+m4trace:aclocal.m4:1287: -1- m4_include([m4/servent.m4])
156695
 
+m4trace:aclocal.m4:1288: -1- m4_include([m4/setenv.m4])
156696
 
+m4trace:aclocal.m4:1289: -1- m4_include([m4/setlocale.m4])
156697
 
+m4trace:aclocal.m4:1290: -1- m4_include([m4/settime.m4])
156698
 
+m4trace:aclocal.m4:1291: -1- m4_include([m4/sha1.m4])
156699
 
+m4trace:aclocal.m4:1292: -1- m4_include([m4/sha256.m4])
156700
 
+m4trace:aclocal.m4:1293: -1- m4_include([m4/sha512.m4])
156701
 
+m4trace:aclocal.m4:1294: -1- m4_include([m4/sig2str.m4])
156702
 
+m4trace:aclocal.m4:1295: -1- m4_include([m4/sigaction.m4])
156703
 
+m4trace:aclocal.m4:1296: -1- m4_include([m4/signal_h.m4])
156704
 
+m4trace:aclocal.m4:1297: -1- m4_include([m4/signalblocking.m4])
156705
 
+m4trace:aclocal.m4:1298: -1- m4_include([m4/signbit.m4])
156706
 
+m4trace:aclocal.m4:1299: -1- m4_include([m4/size_max.m4])
156707
 
+m4trace:aclocal.m4:1300: -1- m4_include([m4/sleep.m4])
156708
 
+m4trace:aclocal.m4:1301: -1- m4_include([m4/snprintf.m4])
156709
 
+m4trace:aclocal.m4:1302: -1- m4_include([m4/socketlib.m4])
156710
 
+m4trace:aclocal.m4:1303: -1- m4_include([m4/sockets.m4])
156711
 
+m4trace:aclocal.m4:1304: -1- m4_include([m4/socklen.m4])
156712
 
+m4trace:aclocal.m4:1305: -1- m4_include([m4/sockpfaf.m4])
156713
 
+m4trace:aclocal.m4:1306: -1- m4_include([m4/ssize_t.m4])
156714
 
+m4trace:aclocal.m4:1307: -1- m4_include([m4/st_dm_mode.m4])
156715
 
+m4trace:aclocal.m4:1308: -1- m4_include([m4/stat-prog.m4])
156716
 
+m4trace:aclocal.m4:1309: -1- m4_include([m4/stat-size.m4])
156717
 
+m4trace:aclocal.m4:1310: -1- m4_include([m4/stat-time.m4])
156718
 
+m4trace:aclocal.m4:1311: -1- m4_include([m4/stat.m4])
156719
 
+m4trace:aclocal.m4:1312: -1- m4_include([m4/stdarg.m4])
156720
 
+m4trace:aclocal.m4:1313: -1- m4_include([m4/stdbool.m4])
156721
 
+m4trace:aclocal.m4:1314: -1- m4_include([m4/stddef_h.m4])
156722
 
+m4trace:aclocal.m4:1315: -1- m4_include([m4/stdint.m4])
156723
 
+m4trace:aclocal.m4:1316: -1- m4_include([m4/stdint_h.m4])
156724
 
+m4trace:aclocal.m4:1317: -1- m4_include([m4/stdio_h.m4])
156725
 
+m4trace:aclocal.m4:1318: -1- m4_include([m4/stdlib_h.m4])
156726
 
+m4trace:aclocal.m4:1319: -1- m4_include([m4/stpcpy.m4])
156727
 
+m4trace:aclocal.m4:1320: -1- m4_include([m4/stpncpy.m4])
156728
 
+m4trace:aclocal.m4:1321: -1- m4_include([m4/strdup.m4])
156729
 
+m4trace:aclocal.m4:1322: -1- m4_include([m4/strerror.m4])
156730
 
+m4trace:aclocal.m4:1323: -1- m4_include([m4/strerror_r.m4])
156731
 
+m4trace:aclocal.m4:1324: -1- m4_include([m4/strftime.m4])
156732
 
+m4trace:aclocal.m4:1325: -1- m4_include([m4/string_h.m4])
156733
 
+m4trace:aclocal.m4:1326: -1- m4_include([m4/strndup.m4])
156734
 
+m4trace:aclocal.m4:1327: -1- m4_include([m4/strnlen.m4])
156735
 
+m4trace:aclocal.m4:1328: -1- m4_include([m4/strnumcmp.m4])
156736
 
+m4trace:aclocal.m4:1329: -1- m4_include([m4/strsignal.m4])
156737
 
+m4trace:aclocal.m4:1330: -1- m4_include([m4/strstr.m4])
156738
 
+m4trace:aclocal.m4:1331: -1- m4_include([m4/strtod.m4])
156739
 
+m4trace:aclocal.m4:1332: -1- m4_include([m4/strtoimax.m4])
156740
 
+m4trace:aclocal.m4:1333: -1- m4_include([m4/strtoll.m4])
156741
 
+m4trace:aclocal.m4:1334: -1- m4_include([m4/strtoull.m4])
156742
 
+m4trace:aclocal.m4:1335: -1- m4_include([m4/strtoumax.m4])
156743
 
+m4trace:aclocal.m4:1336: -1- m4_include([m4/symlink.m4])
156744
 
+m4trace:aclocal.m4:1337: -1- m4_include([m4/symlinkat.m4])
156745
 
+m4trace:aclocal.m4:1338: -1- m4_include([m4/sys_ioctl_h.m4])
156746
 
+m4trace:aclocal.m4:1339: -1- m4_include([m4/sys_select_h.m4])
156747
 
+m4trace:aclocal.m4:1340: -1- m4_include([m4/sys_socket_h.m4])
156748
 
+m4trace:aclocal.m4:1341: -1- m4_include([m4/sys_stat_h.m4])
156749
 
+m4trace:aclocal.m4:1342: -1- m4_include([m4/sys_time_h.m4])
156750
 
+m4trace:aclocal.m4:1343: -1- m4_include([m4/sys_uio_h.m4])
156751
 
+m4trace:aclocal.m4:1344: -1- m4_include([m4/sys_utsname_h.m4])
156752
 
+m4trace:aclocal.m4:1345: -1- m4_include([m4/sys_wait_h.m4])
156753
 
+m4trace:aclocal.m4:1346: -1- m4_include([m4/tempname.m4])
156754
 
+m4trace:aclocal.m4:1347: -1- m4_include([m4/termios_h.m4])
156755
 
+m4trace:aclocal.m4:1348: -1- m4_include([m4/thread.m4])
156756
 
+m4trace:aclocal.m4:1349: -1- m4_include([m4/threadlib.m4])
156757
 
+m4trace:aclocal.m4:1350: -1- m4_include([m4/time_h.m4])
156758
 
+m4trace:aclocal.m4:1351: -1- m4_include([m4/time_r.m4])
156759
 
+m4trace:aclocal.m4:1352: -1- m4_include([m4/timer_time.m4])
156760
 
+m4trace:aclocal.m4:1353: -1- m4_include([m4/timespec.m4])
156761
 
+m4trace:aclocal.m4:1354: -1- m4_include([m4/tls.m4])
156762
 
+m4trace:aclocal.m4:1355: -1- m4_include([m4/tm_gmtoff.m4])
156763
 
+m4trace:aclocal.m4:1356: -1- m4_include([m4/tzset.m4])
156764
 
+m4trace:aclocal.m4:1357: -1- m4_include([m4/uname.m4])
156765
 
+m4trace:aclocal.m4:1358: -1- m4_include([m4/ungetc.m4])
156766
 
+m4trace:aclocal.m4:1359: -1- m4_include([m4/unicodeio.m4])
156767
 
+m4trace:aclocal.m4:1360: -1- m4_include([m4/unistd-safer.m4])
156768
 
+m4trace:aclocal.m4:1361: -1- m4_include([m4/unistd_h.m4])
156769
 
+m4trace:aclocal.m4:1362: -1- m4_include([m4/unlink-busy.m4])
156770
 
+m4trace:aclocal.m4:1363: -1- m4_include([m4/unlink.m4])
156771
 
+m4trace:aclocal.m4:1364: -1- m4_include([m4/unlinkdir.m4])
156772
 
+m4trace:aclocal.m4:1365: -1- m4_include([m4/unlocked-io.m4])
156773
 
+m4trace:aclocal.m4:1366: -1- m4_include([m4/uptime.m4])
156774
 
+m4trace:aclocal.m4:1367: -1- m4_include([m4/userspec.m4])
156775
 
+m4trace:aclocal.m4:1368: -1- m4_include([m4/usleep.m4])
156776
 
+m4trace:aclocal.m4:1369: -1- m4_include([m4/utimbuf.m4])
156777
 
+m4trace:aclocal.m4:1370: -1- m4_include([m4/utimecmp.m4])
156778
 
+m4trace:aclocal.m4:1371: -1- m4_include([m4/utimens.m4])
156779
 
+m4trace:aclocal.m4:1372: -1- m4_include([m4/utimensat.m4])
156780
 
+m4trace:aclocal.m4:1373: -1- m4_include([m4/utimes.m4])
156781
 
+m4trace:aclocal.m4:1374: -1- m4_include([m4/vasnprintf.m4])
156782
 
+m4trace:aclocal.m4:1375: -1- m4_include([m4/vasprintf-posix.m4])
156783
 
+m4trace:aclocal.m4:1376: -1- m4_include([m4/vasprintf.m4])
156784
 
+m4trace:aclocal.m4:1377: -1- m4_include([m4/version-etc.m4])
156785
 
+m4trace:aclocal.m4:1378: -1- m4_include([m4/vfprintf-posix.m4])
156786
 
+m4trace:aclocal.m4:1379: -1- m4_include([m4/vprintf-posix.m4])
156787
 
+m4trace:aclocal.m4:1380: -1- m4_include([m4/warn-on-use.m4])
156788
 
+m4trace:aclocal.m4:1381: -1- m4_include([m4/warnings.m4])
156789
 
+m4trace:aclocal.m4:1382: -1- m4_include([m4/wchar_h.m4])
156790
 
+m4trace:aclocal.m4:1383: -1- m4_include([m4/wchar_t.m4])
156791
 
+m4trace:aclocal.m4:1384: -1- m4_include([m4/wcrtomb.m4])
156792
 
+m4trace:aclocal.m4:1385: -1- m4_include([m4/wcswidth.m4])
156793
 
+m4trace:aclocal.m4:1386: -1- m4_include([m4/wctob.m4])
156794
 
+m4trace:aclocal.m4:1387: -1- m4_include([m4/wctomb.m4])
156795
 
+m4trace:aclocal.m4:1388: -1- m4_include([m4/wctype_h.m4])
156796
 
+m4trace:aclocal.m4:1389: -1- m4_include([m4/wcwidth.m4])
156797
 
+m4trace:aclocal.m4:1390: -1- m4_include([m4/wint_t.m4])
156798
 
+m4trace:aclocal.m4:1391: -1- m4_include([m4/write-any-file.m4])
156799
 
+m4trace:aclocal.m4:1392: -1- m4_include([m4/write.m4])
156800
 
+m4trace:aclocal.m4:1393: -1- m4_include([m4/xalloc.m4])
156801
 
+m4trace:aclocal.m4:1394: -1- m4_include([m4/xattr.m4])
156802
 
+m4trace:aclocal.m4:1395: -1- m4_include([m4/xfts.m4])
156803
 
+m4trace:aclocal.m4:1396: -1- m4_include([m4/xgetcwd.m4])
156804
 
+m4trace:aclocal.m4:1397: -1- m4_include([m4/xnanosleep.m4])
156805
 
+m4trace:aclocal.m4:1398: -1- m4_include([m4/xsize.m4])
156806
 
+m4trace:aclocal.m4:1399: -1- m4_include([m4/xstrndup.m4])
156807
 
+m4trace:aclocal.m4:1400: -1- m4_include([m4/xstrtod.m4])
156808
 
+m4trace:aclocal.m4:1401: -1- m4_include([m4/xstrtol.m4])
156809
 
+m4trace:aclocal.m4:1402: -1- m4_include([m4/xvasprintf.m4])
156810
 
+m4trace:aclocal.m4:1403: -1- m4_include([m4/yesno.m4])
156811
 
+m4trace:aclocal.m4:1404: -1- m4_include([m4/yield.m4])
156812
 
+m4trace:configure.ac:26: -1- AC_INIT([GNU coreutils], [8.13], [bug-coreutils@gnu.org])
156813
 
+m4trace:configure.ac:26: -1- m4_pattern_forbid([^_?A[CHUM]_])
156814
 
+m4trace:configure.ac:26: -1- m4_pattern_forbid([_AC_])
156815
 
+m4trace:configure.ac:26: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
156816
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^AS_FLAGS$])
156817
 
+m4trace:configure.ac:26: -1- m4_pattern_forbid([^_?m4_])
156818
 
+m4trace:configure.ac:26: -1- m4_pattern_forbid([^dnl$])
156819
 
+m4trace:configure.ac:26: -1- m4_pattern_forbid([^_?AS_])
156820
 
+m4trace:configure.ac:26: -1- AC_SUBST([SHELL])
156821
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([SHELL])
156822
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^SHELL$])
156823
 
+m4trace:configure.ac:26: -1- AC_SUBST([PATH_SEPARATOR])
156824
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
156825
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PATH_SEPARATOR$])
156826
 
+m4trace:configure.ac:26: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME],      ['AC_PACKAGE_NAME'])])
156827
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([PACKAGE_NAME])
156828
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_NAME$])
156829
 
+m4trace:configure.ac:26: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME],   ['AC_PACKAGE_TARNAME'])])
156830
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
156831
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
156832
 
+m4trace:configure.ac:26: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION],   ['AC_PACKAGE_VERSION'])])
156833
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
156834
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_VERSION$])
156835
 
+m4trace:configure.ac:26: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING],    ['AC_PACKAGE_STRING'])])
156836
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([PACKAGE_STRING])
156837
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_STRING$])
156838
 
+m4trace:configure.ac:26: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
156839
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
156840
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
156841
 
+m4trace:configure.ac:26: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL],       ['AC_PACKAGE_URL'])])
156842
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([PACKAGE_URL])
156843
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_URL$])
156844
 
+m4trace:configure.ac:26: -1- AC_SUBST([exec_prefix], [NONE])
156845
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([exec_prefix])
156846
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^exec_prefix$])
156847
 
+m4trace:configure.ac:26: -1- AC_SUBST([prefix], [NONE])
156848
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([prefix])
156849
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^prefix$])
156850
 
+m4trace:configure.ac:26: -1- AC_SUBST([program_transform_name], [s,x,x,])
156851
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([program_transform_name])
156852
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^program_transform_name$])
156853
 
+m4trace:configure.ac:26: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
156854
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([bindir])
156855
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^bindir$])
156856
 
+m4trace:configure.ac:26: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
156857
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([sbindir])
156858
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^sbindir$])
156859
 
+m4trace:configure.ac:26: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
156860
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([libexecdir])
156861
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^libexecdir$])
156862
 
+m4trace:configure.ac:26: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
156863
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([datarootdir])
156864
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^datarootdir$])
156865
 
+m4trace:configure.ac:26: -1- AC_SUBST([datadir], ['${datarootdir}'])
156866
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([datadir])
156867
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^datadir$])
156868
 
+m4trace:configure.ac:26: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
156869
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([sysconfdir])
156870
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^sysconfdir$])
156871
 
+m4trace:configure.ac:26: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
156872
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([sharedstatedir])
156873
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^sharedstatedir$])
156874
 
+m4trace:configure.ac:26: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
156875
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([localstatedir])
156876
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^localstatedir$])
156877
 
+m4trace:configure.ac:26: -1- AC_SUBST([includedir], ['${prefix}/include'])
156878
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([includedir])
156879
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^includedir$])
156880
 
+m4trace:configure.ac:26: -1- AC_SUBST([oldincludedir], ['/usr/include'])
156881
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([oldincludedir])
156882
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^oldincludedir$])
156883
 
+m4trace:configure.ac:26: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
156884
 
+                                    ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
156885
 
+                                    ['${datarootdir}/doc/${PACKAGE}'])])
156886
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([docdir])
156887
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^docdir$])
156888
 
+m4trace:configure.ac:26: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
156889
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([infodir])
156890
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^infodir$])
156891
 
+m4trace:configure.ac:26: -1- AC_SUBST([htmldir], ['${docdir}'])
156892
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([htmldir])
156893
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^htmldir$])
156894
 
+m4trace:configure.ac:26: -1- AC_SUBST([dvidir], ['${docdir}'])
156895
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([dvidir])
156896
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^dvidir$])
156897
 
+m4trace:configure.ac:26: -1- AC_SUBST([pdfdir], ['${docdir}'])
156898
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([pdfdir])
156899
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^pdfdir$])
156900
 
+m4trace:configure.ac:26: -1- AC_SUBST([psdir], ['${docdir}'])
156901
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([psdir])
156902
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^psdir$])
156903
 
+m4trace:configure.ac:26: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
156904
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([libdir])
156905
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^libdir$])
156906
 
+m4trace:configure.ac:26: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
156907
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([localedir])
156908
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^localedir$])
156909
 
+m4trace:configure.ac:26: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
156910
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([mandir])
156911
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^mandir$])
156912
 
+m4trace:configure.ac:26: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
156913
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_NAME$])
156914
 
+m4trace:configure.ac:26: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
156915
 
+@%:@undef PACKAGE_NAME])
156916
 
+m4trace:configure.ac:26: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
156917
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
156918
 
+m4trace:configure.ac:26: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
156919
 
+@%:@undef PACKAGE_TARNAME])
156920
 
+m4trace:configure.ac:26: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
156921
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_VERSION$])
156922
 
+m4trace:configure.ac:26: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
156923
 
+@%:@undef PACKAGE_VERSION])
156924
 
+m4trace:configure.ac:26: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
156925
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_STRING$])
156926
 
+m4trace:configure.ac:26: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
156927
 
+@%:@undef PACKAGE_STRING])
156928
 
+m4trace:configure.ac:26: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
156929
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
156930
 
+m4trace:configure.ac:26: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
156931
 
+@%:@undef PACKAGE_BUGREPORT])
156932
 
+m4trace:configure.ac:26: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
156933
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^PACKAGE_URL$])
156934
 
+m4trace:configure.ac:26: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
156935
 
+@%:@undef PACKAGE_URL])
156936
 
+m4trace:configure.ac:26: -1- AC_SUBST([DEFS])
156937
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([DEFS])
156938
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^DEFS$])
156939
 
+m4trace:configure.ac:26: -1- AC_SUBST([ECHO_C])
156940
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([ECHO_C])
156941
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^ECHO_C$])
156942
 
+m4trace:configure.ac:26: -1- AC_SUBST([ECHO_N])
156943
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([ECHO_N])
156944
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^ECHO_N$])
156945
 
+m4trace:configure.ac:26: -1- AC_SUBST([ECHO_T])
156946
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([ECHO_T])
156947
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^ECHO_T$])
156948
 
+m4trace:configure.ac:26: -1- AC_SUBST([LIBS])
156949
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([LIBS])
156950
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^LIBS$])
156951
 
+m4trace:configure.ac:26: -1- AC_SUBST([build_alias])
156952
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([build_alias])
156953
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^build_alias$])
156954
 
+m4trace:configure.ac:26: -1- AC_SUBST([host_alias])
156955
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([host_alias])
156956
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^host_alias$])
156957
 
+m4trace:configure.ac:26: -1- AC_SUBST([target_alias])
156958
 
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([target_alias])
156959
 
+m4trace:configure.ac:26: -1- m4_pattern_allow([^target_alias$])
156960
 
+m4trace:configure.ac:32: -1- AC_CONFIG_AUX_DIR([build-aux])
156961
 
+m4trace:configure.ac:33: -1- AC_CONFIG_HEADERS([lib/config.h:lib/config.hin])
156962
 
+m4trace:configure.ac:35: -1- AM_INIT_AUTOMAKE([1.11.1 dist-xz color-tests parallel-tests])
156963
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
156964
 
+m4trace:configure.ac:35: -1- AM_AUTOMAKE_VERSION([1.11.1])
156965
 
+m4trace:configure.ac:35: -1- AC_REQUIRE_AUX_FILE([install-sh])
156966
 
+m4trace:configure.ac:35: -1- AC_SUBST([INSTALL_PROGRAM])
156967
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
156968
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
156969
 
+m4trace:configure.ac:35: -1- AC_SUBST([INSTALL_SCRIPT])
156970
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
156971
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
156972
 
+m4trace:configure.ac:35: -1- AC_SUBST([INSTALL_DATA])
156973
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([INSTALL_DATA])
156974
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^INSTALL_DATA$])
156975
 
+m4trace:configure.ac:35: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
156976
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([am__isrc])
156977
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^am__isrc$])
156978
 
+m4trace:configure.ac:35: -1- _AM_SUBST_NOTMAKE([am__isrc])
156979
 
+m4trace:configure.ac:35: -1- AC_SUBST([CYGPATH_W])
156980
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([CYGPATH_W])
156981
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^CYGPATH_W$])
156982
 
+m4trace:configure.ac:35: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
156983
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([PACKAGE])
156984
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE$])
156985
 
+m4trace:configure.ac:35: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
156986
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([VERSION])
156987
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^VERSION$])
156988
 
+m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
156989
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE$])
156990
 
+m4trace:configure.ac:35: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
156991
 
+@%:@undef PACKAGE])
156992
 
+m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
156993
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^VERSION$])
156994
 
+m4trace:configure.ac:35: -1- AH_OUTPUT([VERSION], [/* Version number of package */
156995
 
+@%:@undef VERSION])
156996
 
+m4trace:configure.ac:35: -1- AC_REQUIRE_AUX_FILE([missing])
156997
 
+m4trace:configure.ac:35: -1- AC_SUBST([ACLOCAL])
156998
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([ACLOCAL])
156999
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^ACLOCAL$])
157000
 
+m4trace:configure.ac:35: -1- AC_SUBST([AUTOCONF])
157001
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([AUTOCONF])
157002
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^AUTOCONF$])
157003
 
+m4trace:configure.ac:35: -1- AC_SUBST([AUTOMAKE])
157004
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([AUTOMAKE])
157005
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^AUTOMAKE$])
157006
 
+m4trace:configure.ac:35: -1- AC_SUBST([AUTOHEADER])
157007
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([AUTOHEADER])
157008
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^AUTOHEADER$])
157009
 
+m4trace:configure.ac:35: -1- AC_SUBST([MAKEINFO])
157010
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([MAKEINFO])
157011
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^MAKEINFO$])
157012
 
+m4trace:configure.ac:35: -1- AC_SUBST([install_sh])
157013
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([install_sh])
157014
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^install_sh$])
157015
 
+m4trace:configure.ac:35: -1- AC_SUBST([STRIP])
157016
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([STRIP])
157017
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^STRIP$])
157018
 
+m4trace:configure.ac:35: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
157019
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
157020
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
157021
 
+m4trace:configure.ac:35: -1- AC_REQUIRE_AUX_FILE([install-sh])
157022
 
+m4trace:configure.ac:35: -1- AC_SUBST([MKDIR_P])
157023
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([MKDIR_P])
157024
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^MKDIR_P$])
157025
 
+m4trace:configure.ac:35: -1- AC_SUBST([MKDIR_P])
157026
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([MKDIR_P])
157027
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^MKDIR_P$])
157028
 
+m4trace:configure.ac:35: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
157029
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([mkdir_p])
157030
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^mkdir_p$])
157031
 
+m4trace:configure.ac:35: -1- AC_SUBST([AWK])
157032
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([AWK])
157033
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^AWK$])
157034
 
+m4trace:configure.ac:35: -1- AC_SUBST([SET_MAKE])
157035
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([SET_MAKE])
157036
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^SET_MAKE$])
157037
 
+m4trace:configure.ac:35: -1- AC_SUBST([am__leading_dot])
157038
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([am__leading_dot])
157039
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^am__leading_dot$])
157040
 
+m4trace:configure.ac:35: -1- AC_SUBST([AMTAR])
157041
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([AMTAR])
157042
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^AMTAR$])
157043
 
+m4trace:configure.ac:35: -1- AC_SUBST([am__tar])
157044
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([am__tar])
157045
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^am__tar$])
157046
 
+m4trace:configure.ac:35: -1- AC_SUBST([am__untar])
157047
 
+m4trace:configure.ac:35: -1- AC_SUBST_TRACE([am__untar])
157048
 
+m4trace:configure.ac:35: -1- m4_pattern_allow([^am__untar$])
157049
 
+m4trace:configure.ac:36: -1- AM_SILENT_RULES([yes])
157050
 
+m4trace:configure.ac:36: -1- AC_SUBST([AM_DEFAULT_VERBOSITY])
157051
 
+m4trace:configure.ac:36: -1- AC_SUBST_TRACE([AM_DEFAULT_VERBOSITY])
157052
 
+m4trace:configure.ac:36: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
157053
 
+m4trace:configure.ac:36: -1- AC_SUBST([AM_BACKSLASH])
157054
 
+m4trace:configure.ac:36: -1- AC_SUBST_TRACE([AM_BACKSLASH])
157055
 
+m4trace:configure.ac:36: -1- m4_pattern_allow([^AM_BACKSLASH$])
157056
 
+m4trace:configure.ac:36: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
157057
 
+m4trace:configure.ac:38: -1- AC_SUBST([CC])
157058
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([CC])
157059
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$])
157060
 
+m4trace:configure.ac:38: -1- AC_SUBST([CFLAGS])
157061
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([CFLAGS])
157062
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^CFLAGS$])
157063
 
+m4trace:configure.ac:38: -1- AC_SUBST([LDFLAGS])
157064
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([LDFLAGS])
157065
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^LDFLAGS$])
157066
 
+m4trace:configure.ac:38: -1- AC_SUBST([LIBS])
157067
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([LIBS])
157068
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^LIBS$])
157069
 
+m4trace:configure.ac:38: -1- AC_SUBST([CPPFLAGS])
157070
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([CPPFLAGS])
157071
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^CPPFLAGS$])
157072
 
+m4trace:configure.ac:38: -1- AC_SUBST([CC])
157073
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([CC])
157074
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$])
157075
 
+m4trace:configure.ac:38: -1- AC_SUBST([CC])
157076
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([CC])
157077
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$])
157078
 
+m4trace:configure.ac:38: -1- AC_SUBST([CC])
157079
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([CC])
157080
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$])
157081
 
+m4trace:configure.ac:38: -1- AC_SUBST([CC])
157082
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([CC])
157083
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$])
157084
 
+m4trace:configure.ac:38: -1- AC_SUBST([ac_ct_CC])
157085
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([ac_ct_CC])
157086
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^ac_ct_CC$])
157087
 
+m4trace:configure.ac:38: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
157088
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([EXEEXT])
157089
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^EXEEXT$])
157090
 
+m4trace:configure.ac:38: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
157091
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([OBJEXT])
157092
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^OBJEXT$])
157093
 
+m4trace:configure.ac:38: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
157094
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([DEPDIR])
157095
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^DEPDIR$])
157096
 
+m4trace:configure.ac:38: -1- AC_SUBST([am__include])
157097
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([am__include])
157098
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^am__include$])
157099
 
+m4trace:configure.ac:38: -1- AC_SUBST([am__quote])
157100
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([am__quote])
157101
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^am__quote$])
157102
 
+m4trace:configure.ac:38: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
157103
 
+m4trace:configure.ac:38: -1- AC_SUBST([AMDEP_TRUE])
157104
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([AMDEP_TRUE])
157105
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^AMDEP_TRUE$])
157106
 
+m4trace:configure.ac:38: -1- AC_SUBST([AMDEP_FALSE])
157107
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([AMDEP_FALSE])
157108
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^AMDEP_FALSE$])
157109
 
+m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
157110
 
+m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
157111
 
+m4trace:configure.ac:38: -1- AC_SUBST([AMDEPBACKSLASH])
157112
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
157113
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
157114
 
+m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
157115
 
+m4trace:configure.ac:38: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
157116
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([CCDEPMODE])
157117
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^CCDEPMODE$])
157118
 
+m4trace:configure.ac:38: -1- AM_CONDITIONAL([am__fastdepCC], [
157119
 
+  test "x$enable_dependency_tracking" != xno \
157120
 
+  && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
157121
 
+m4trace:configure.ac:38: -1- AC_SUBST([am__fastdepCC_TRUE])
157122
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
157123
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
157124
 
+m4trace:configure.ac:38: -1- AC_SUBST([am__fastdepCC_FALSE])
157125
 
+m4trace:configure.ac:38: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
157126
 
+m4trace:configure.ac:38: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
157127
 
+m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
157128
 
+m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
157129
 
+m4trace:configure.ac:39: -1- AM_PROG_CC_C_O
157130
 
+m4trace:configure.ac:39: -1- AC_DEFINE_TRACE_LITERAL([NO_MINUS_C_MINUS_O])
157131
 
+m4trace:configure.ac:39: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$])
157132
 
+m4trace:configure.ac:39: -1- AH_OUTPUT([NO_MINUS_C_MINUS_O], [/* Define to 1 if your C compiler doesn\'t accept -c and -o together. */
157133
 
+@%:@undef NO_MINUS_C_MINUS_O])
157134
 
+m4trace:configure.ac:39: -1- AC_REQUIRE_AUX_FILE([compile])
157135
 
+m4trace:configure.ac:40: -1- AC_SUBST([CPP])
157136
 
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([CPP])
157137
 
+m4trace:configure.ac:40: -1- m4_pattern_allow([^CPP$])
157138
 
+m4trace:configure.ac:40: -1- AC_SUBST([CPPFLAGS])
157139
 
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([CPPFLAGS])
157140
 
+m4trace:configure.ac:40: -1- m4_pattern_allow([^CPPFLAGS$])
157141
 
+m4trace:configure.ac:40: -1- AC_SUBST([CPP])
157142
 
+m4trace:configure.ac:40: -1- AC_SUBST_TRACE([CPP])
157143
 
+m4trace:configure.ac:40: -1- m4_pattern_allow([^CPP$])
157144
 
+m4trace:configure.ac:41: -1- AC_SUBST([GREP])
157145
 
+m4trace:configure.ac:41: -1- AC_SUBST_TRACE([GREP])
157146
 
+m4trace:configure.ac:41: -1- m4_pattern_allow([^GREP$])
157147
 
+m4trace:configure.ac:41: -1- AC_SUBST([EGREP])
157148
 
+m4trace:configure.ac:41: -1- AC_SUBST_TRACE([EGREP])
157149
 
+m4trace:configure.ac:41: -1- m4_pattern_allow([^EGREP$])
157150
 
+m4trace:configure.ac:42: -1- AC_SUBST([RANLIB])
157151
 
+m4trace:configure.ac:42: -1- AC_SUBST_TRACE([RANLIB])
157152
 
+m4trace:configure.ac:42: -1- m4_pattern_allow([^RANLIB$])
157153
 
+m4trace:configure.ac:43: -1- AC_SUBST([LN_S], [$as_ln_s])
157154
 
+m4trace:configure.ac:43: -1- AC_SUBST_TRACE([LN_S])
157155
 
+m4trace:configure.ac:43: -1- m4_pattern_allow([^LN_S$])
157156
 
+m4trace:configure.ac:44: -1- m4_pattern_forbid([^gl_[A-Z]])
157157
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^gl_ES$])
157158
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^gl_LIBOBJS$])
157159
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^gl_LTLIBOBJS$])
157160
 
+m4trace:configure.ac:44: -1- AC_SUBST([AR])
157161
 
+m4trace:configure.ac:44: -1- AC_SUBST_TRACE([AR])
157162
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^AR$])
157163
 
+m4trace:configure.ac:44: -1- AC_SUBST([AR])
157164
 
+m4trace:configure.ac:44: -1- AC_SUBST_TRACE([AR])
157165
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^AR$])
157166
 
+m4trace:configure.ac:44: -1- AC_SUBST([ARFLAGS])
157167
 
+m4trace:configure.ac:44: -1- AC_SUBST_TRACE([ARFLAGS])
157168
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^ARFLAGS$])
157169
 
+m4trace:configure.ac:44: -1- AC_SUBST([RANLIB])
157170
 
+m4trace:configure.ac:44: -1- AC_SUBST_TRACE([RANLIB])
157171
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^RANLIB$])
157172
 
+m4trace:configure.ac:44: -1- AC_SUBST([RANLIB])
157173
 
+m4trace:configure.ac:44: -1- AC_SUBST_TRACE([RANLIB])
157174
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^RANLIB$])
157175
 
+m4trace:configure.ac:44: -1- AC_CANONICAL_BUILD
157176
 
+m4trace:configure.ac:44: -1- AC_REQUIRE_AUX_FILE([config.sub])
157177
 
+m4trace:configure.ac:44: -1- AC_REQUIRE_AUX_FILE([config.guess])
157178
 
+m4trace:configure.ac:44: -1- AC_SUBST([build], [$ac_cv_build])
157179
 
+m4trace:configure.ac:44: -1- AC_SUBST_TRACE([build])
157180
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^build$])
157181
 
+m4trace:configure.ac:44: -1- AC_SUBST([build_cpu], [$[1]])
157182
 
+m4trace:configure.ac:44: -1- AC_SUBST_TRACE([build_cpu])
157183
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^build_cpu$])
157184
 
+m4trace:configure.ac:44: -1- AC_SUBST([build_vendor], [$[2]])
157185
 
+m4trace:configure.ac:44: -1- AC_SUBST_TRACE([build_vendor])
157186
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^build_vendor$])
157187
 
+m4trace:configure.ac:44: -1- AC_SUBST([build_os])
157188
 
+m4trace:configure.ac:44: -1- AC_SUBST_TRACE([build_os])
157189
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^build_os$])
157190
 
+m4trace:configure.ac:44: -1- AC_CANONICAL_HOST
157191
 
+m4trace:configure.ac:44: -1- AC_SUBST([host], [$ac_cv_host])
157192
 
+m4trace:configure.ac:44: -1- AC_SUBST_TRACE([host])
157193
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^host$])
157194
 
+m4trace:configure.ac:44: -1- AC_SUBST([host_cpu], [$[1]])
157195
 
+m4trace:configure.ac:44: -1- AC_SUBST_TRACE([host_cpu])
157196
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^host_cpu$])
157197
 
+m4trace:configure.ac:44: -1- AC_SUBST([host_vendor], [$[2]])
157198
 
+m4trace:configure.ac:44: -1- AC_SUBST_TRACE([host_vendor])
157199
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^host_vendor$])
157200
 
+m4trace:configure.ac:44: -1- AC_SUBST([host_os])
157201
 
+m4trace:configure.ac:44: -1- AC_SUBST_TRACE([host_os])
157202
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^host_os$])
157203
 
+m4trace:configure.ac:44: -1- _m4_warn([obsolete], [The macro `AC_GNU_SOURCE' is obsolete.
157204
 
+You should run autoupdate.], [../../lib/autoconf/specific.m4:310: AC_GNU_SOURCE is expanded from...
157205
 
+m4/gnulib-comp.m4:24: gl_EARLY is expanded from...
157206
 
+configure.ac:44: the top level])
157207
 
+m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
157208
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^STDC_HEADERS$])
157209
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
157210
 
+@%:@undef STDC_HEADERS])
157211
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
157212
 
+@%:@undef HAVE_SYS_TYPES_H])
157213
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
157214
 
+@%:@undef HAVE_SYS_STAT_H])
157215
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
157216
 
+@%:@undef HAVE_STDLIB_H])
157217
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
157218
 
+@%:@undef HAVE_STRING_H])
157219
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
157220
 
+@%:@undef HAVE_MEMORY_H])
157221
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
157222
 
+@%:@undef HAVE_STRINGS_H])
157223
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
157224
 
+@%:@undef HAVE_INTTYPES_H])
157225
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
157226
 
+@%:@undef HAVE_STDINT_H])
157227
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
157228
 
+@%:@undef HAVE_UNISTD_H])
157229
 
+m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_SOURCE])
157230
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_POSIX_SOURCE$])
157231
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([_POSIX_SOURCE], [/* Define to 1 if you need to in order for `stat\' and other things to work. */
157232
 
+@%:@undef _POSIX_SOURCE])
157233
 
+m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_1_SOURCE])
157234
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_POSIX_1_SOURCE$])
157235
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([_POSIX_1_SOURCE], [/* Define to 2 if the system does not provide POSIX.1 features except with
157236
 
+   this defined. */
157237
 
+@%:@undef _POSIX_1_SOURCE])
157238
 
+m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([_MINIX])
157239
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_MINIX$])
157240
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([_MINIX], [/* Define to 1 if on MINIX. */
157241
 
+@%:@undef _MINIX])
157242
 
+m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([_XOPEN_SOURCE])
157243
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_XOPEN_SOURCE$])
157244
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([_XOPEN_SOURCE], [/* Define to 500 only on HP-UX. */
157245
 
+@%:@undef _XOPEN_SOURCE])
157246
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([__EXTENSIONS__], [/* Enable extensions on AIX 3, Interix.  */
157247
 
+#ifndef _ALL_SOURCE
157248
 
+# undef _ALL_SOURCE
157249
 
+#endif
157250
 
+/* Enable general extensions on MacOS X.  */
157251
 
+#ifndef _DARWIN_C_SOURCE
157252
 
+# undef _DARWIN_C_SOURCE
157253
 
+#endif
157254
 
+/* Enable GNU extensions on systems that have them.  */
157255
 
+#ifndef _GNU_SOURCE
157256
 
+# undef _GNU_SOURCE
157257
 
+#endif
157258
 
+/* Enable threading extensions on Solaris.  */
157259
 
+#ifndef _POSIX_PTHREAD_SEMANTICS
157260
 
+# undef _POSIX_PTHREAD_SEMANTICS
157261
 
+#endif
157262
 
+/* Enable extensions on HP NonStop.  */
157263
 
+#ifndef _TANDEM_SOURCE
157264
 
+# undef _TANDEM_SOURCE
157265
 
+#endif
157266
 
+/* Enable general extensions on Solaris.  */
157267
 
+#ifndef __EXTENSIONS__
157268
 
+# undef __EXTENSIONS__
157269
 
+#endif
157270
 
+])
157271
 
+m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([__EXTENSIONS__])
157272
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^__EXTENSIONS__$])
157273
 
+m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([_ALL_SOURCE])
157274
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_ALL_SOURCE$])
157275
 
+m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([_DARWIN_C_SOURCE])
157276
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_DARWIN_C_SOURCE$])
157277
 
+m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([_GNU_SOURCE])
157278
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_GNU_SOURCE$])
157279
 
+m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_PTHREAD_SEMANTICS])
157280
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$])
157281
 
+m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([_TANDEM_SOURCE])
157282
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_TANDEM_SOURCE$])
157283
 
+m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([_LARGEFILE_SOURCE])
157284
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_LARGEFILE_SOURCE$])
157285
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([_LARGEFILE_SOURCE], [/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
157286
 
+@%:@undef _LARGEFILE_SOURCE])
157287
 
+m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSEEKO])
157288
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^HAVE_FSEEKO$])
157289
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([HAVE_FSEEKO], [/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
157290
 
+@%:@undef HAVE_FSEEKO])
157291
 
+m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS])
157292
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$])
157293
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */
157294
 
+@%:@undef _FILE_OFFSET_BITS])
157295
 
+m4trace:configure.ac:44: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES])
157296
 
+m4trace:configure.ac:44: -1- m4_pattern_allow([^_LARGE_FILES$])
157297
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */
157298
 
+@%:@undef _LARGE_FILES])
157299
 
+m4trace:configure.ac:44: -1- AH_OUTPUT([_DARWIN_USE_64_BIT_INODE], [/* Enable large inode numbers on Mac OS X.  */
157300
 
+#ifndef _DARWIN_USE_64_BIT_INODE
157301
 
+# define _DARWIN_USE_64_BIT_INODE 1
157302
 
+#endif])
157303
 
+m4trace:configure.ac:44: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
157304
 
+You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
157305
 
+m4/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from...
157306
 
+m4/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from...
157307
 
+m4/gnulib-comp.m4:24: gl_EARLY is expanded from...
157308
 
+configure.ac:44: the top level])
157309
 
+m4trace:configure.ac:44: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
157310
 
+You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
157311
 
+m4/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from...
157312
 
+m4/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from...
157313
 
+m4/gnulib-comp.m4:24: gl_EARLY is expanded from...
157314
 
+configure.ac:44: the top level])
157315
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
157316
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_COND_LIBTOOL_TRUE])
157317
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_COND_LIBTOOL_TRUE])
157318
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_COND_LIBTOOL_TRUE$])
157319
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_COND_LIBTOOL_FALSE])
157320
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_COND_LIBTOOL_FALSE])
157321
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_COND_LIBTOOL_FALSE$])
157322
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_TRUE])
157323
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_FALSE])
157324
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([_Noreturn], [/* The _Noreturn keyword of draft C1X.  */
157325
 
+#ifndef _Noreturn
157326
 
+# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \\
157327
 
+      || 0x5110 <= __SUNPRO_C)
157328
 
+#  define _Noreturn __attribute__ ((__noreturn__))
157329
 
+# elif 1200 <= _MSC_VER
157330
 
+#  define _Noreturn __declspec (noreturn)
157331
 
+# else
157332
 
+#  define _Noreturn
157333
 
+# endif
157334
 
+#endif
157335
 
+])
157336
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([isoc99_inline], [/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
157337
 
+   the ISO C 99 semantics of \'extern inline\' (unlike the GNU C semantics of
157338
 
+   earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
157339
 
+   __APPLE__ && __MACH__ test for MacOS X.
157340
 
+   __APPLE_CC__ tests for the Apple compiler and its version.
157341
 
+   __STDC_VERSION__ tests for the C99 mode.  */
157342
 
+#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
157343
 
+# define __GNUC_STDC_INLINE__ 1
157344
 
+#endif])
157345
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([unused_parameter], [/* Define as a marker that can be attached to declarations that might not
157346
 
+    be used.  This helps to reduce warnings, such as from
157347
 
+    GCC -Wunused-parameter.  */
157348
 
+#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
157349
 
+# define _GL_UNUSED __attribute__ ((__unused__))
157350
 
+#else
157351
 
+# define _GL_UNUSED
157352
 
+#endif
157353
 
+/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
157354
 
+   is a misnomer outside of parameter lists.  */
157355
 
+#define _UNUSED_PARAMETER_ _GL_UNUSED
157356
 
+
157357
 
+/* The __pure__ attribute was added in gcc 2.96.  */
157358
 
+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
157359
 
+# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
157360
 
+#else
157361
 
+# define _GL_ATTRIBUTE_PURE /* empty */
157362
 
+#endif
157363
 
+
157364
 
+/* The __const__ attribute was added in gcc 2.95.  */
157365
 
+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
157366
 
+# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
157367
 
+#else
157368
 
+# define _GL_ATTRIBUTE_CONST /* empty */
157369
 
+#endif
157370
 
+])
157371
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
157372
 
+   calls it, or to nothing if \'inline\' is not supported under any name.  */
157373
 
+#ifndef __cplusplus
157374
 
+#undef inline
157375
 
+#endif])
157376
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_ACL_H], [/* Define to 1 if you have the <sys/acl.h> header file. */
157377
 
+@%:@undef HAVE_SYS_ACL_H])
157378
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_ACL_H])
157379
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_ACL_H$])
157380
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_GET_FILE], [/* Define to 1 if you have the `acl_get_file\' function. */
157381
 
+@%:@undef HAVE_ACL_GET_FILE])
157382
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_GET_FD], [/* Define to 1 if you have the `acl_get_fd\' function. */
157383
 
+@%:@undef HAVE_ACL_GET_FD])
157384
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_SET_FILE], [/* Define to 1 if you have the `acl_set_file\' function. */
157385
 
+@%:@undef HAVE_ACL_SET_FILE])
157386
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_SET_FD], [/* Define to 1 if you have the `acl_set_fd\' function. */
157387
 
+@%:@undef HAVE_ACL_SET_FD])
157388
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_FREE], [/* Define to 1 if you have the `acl_free\' function. */
157389
 
+@%:@undef HAVE_ACL_FREE])
157390
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_FROM_MODE], [/* Define to 1 if you have the `acl_from_mode\' function. */
157391
 
+@%:@undef HAVE_ACL_FROM_MODE])
157392
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_FROM_TEXT], [/* Define to 1 if you have the `acl_from_text\' function. */
157393
 
+@%:@undef HAVE_ACL_FROM_TEXT])
157394
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_DELETE_DEF_FILE], [/* Define to 1 if you have the `acl_delete_def_file\' function. */
157395
 
+@%:@undef HAVE_ACL_DELETE_DEF_FILE])
157396
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_EXTENDED_FILE], [/* Define to 1 if you have the `acl_extended_file\' function. */
157397
 
+@%:@undef HAVE_ACL_EXTENDED_FILE])
157398
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_EXTENDED_FILE_NOFOLLOW], [/* Define to 1 if you have the `acl_extended_file_nofollow\' function. */
157399
 
+@%:@undef HAVE_ACL_EXTENDED_FILE_NOFOLLOW])
157400
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_DELETE_FD_NP], [/* Define to 1 if you have the `acl_delete_fd_np\' function. */
157401
 
+@%:@undef HAVE_ACL_DELETE_FD_NP])
157402
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_DELETE_FILE_NP], [/* Define to 1 if you have the `acl_delete_file_np\' function. */
157403
 
+@%:@undef HAVE_ACL_DELETE_FILE_NP])
157404
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_COPY_EXT_NATIVE], [/* Define to 1 if you have the `acl_copy_ext_native\' function. */
157405
 
+@%:@undef HAVE_ACL_COPY_EXT_NATIVE])
157406
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_CREATE_ENTRY_NP], [/* Define to 1 if you have the `acl_create_entry_np\' function. */
157407
 
+@%:@undef HAVE_ACL_CREATE_ENTRY_NP])
157408
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_TO_SHORT_TEXT], [/* Define to 1 if you have the `acl_to_short_text\' function. */
157409
 
+@%:@undef HAVE_ACL_TO_SHORT_TEXT])
157410
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_FREE_TEXT], [/* Define to 1 if you have the `acl_free_text\' function. */
157411
 
+@%:@undef HAVE_ACL_FREE_TEXT])
157412
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_LIBACL_H], [/* Define to 1 if you have the <acl/libacl.h> header file. */
157413
 
+@%:@undef HAVE_ACL_LIBACL_H])
157414
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ACL_LIBACL_H])
157415
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACL_LIBACL_H$])
157416
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_ENTRIES], [/* Define to 1 if you have the `acl_entries\' function. */
157417
 
+@%:@undef HAVE_ACL_ENTRIES])
157418
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ACL_ENTRIES])
157419
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACL_ENTRIES$])
157420
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ACL_FIRST_ENTRY])
157421
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACL_FIRST_ENTRY$])
157422
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_FIRST_ENTRY], [/* Define to 1 if the constant ACL_FIRST_ENTRY exists. */
157423
 
+@%:@undef HAVE_ACL_FIRST_ENTRY])
157424
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ACL_TYPE_EXTENDED])
157425
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACL_TYPE_EXTENDED$])
157426
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_TYPE_EXTENDED], [/* Define to 1 if the ACL type ACL_TYPE_EXTENDED exists. */
157427
 
+@%:@undef HAVE_ACL_TYPE_EXTENDED])
157428
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FACL], [/* Define to 1 if you have the `facl\' function. */
157429
 
+@%:@undef HAVE_FACL])
157430
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FACL])
157431
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FACL$])
157432
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACL_TRIVIAL], [/* Define to 1 if you have the `acl_trivial\' function. */
157433
 
+@%:@undef HAVE_ACL_TRIVIAL])
157434
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ACL_TRIVIAL])
157435
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACL_TRIVIAL$])
157436
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETACL], [/* Define to 1 if you have the `getacl\' function. */
157437
 
+@%:@undef HAVE_GETACL])
157438
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETACL])
157439
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETACL$])
157440
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACLV_H], [/* Define to 1 if you have the <aclv.h> header file. */
157441
 
+@%:@undef HAVE_ACLV_H])
157442
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ACLV_H])
157443
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACLV_H$])
157444
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACLX_GET], [/* Define to 1 if you have the `aclx_get\' function. */
157445
 
+@%:@undef HAVE_ACLX_GET])
157446
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ACLX_GET])
157447
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACLX_GET$])
157448
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STATACL], [/* Define to 1 if you have the `statacl\' function. */
157449
 
+@%:@undef HAVE_STATACL])
157450
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STATACL])
157451
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STATACL$])
157452
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACLSORT], [/* Define to 1 if you have the `aclsort\' function. */
157453
 
+@%:@undef HAVE_ACLSORT])
157454
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ACLSORT])
157455
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACLSORT$])
157456
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIB_ACL])
157457
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIB_ACL])
157458
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB_ACL$])
157459
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([USE_ACL])
157460
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_ACL$])
157461
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([USE_ACL], [/* Define to nonzero if you want access control list support. */
157462
 
+@%:@undef USE_ACL])
157463
 
+m4trace:configure.ac:45: -1- AC_SUBST([USE_ACL])
157464
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([USE_ACL])
157465
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_ACL$])
157466
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([size_t])
157467
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^size_t$])
157468
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
157469
 
+@%:@undef size_t])
157470
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA_H])
157471
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ALLOCA_H$])
157472
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ALLOCA_H], [/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
157473
 
+   */
157474
 
+@%:@undef HAVE_ALLOCA_H])
157475
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA])
157476
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ALLOCA$])
157477
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ALLOCA], [/* Define to 1 if you have `alloca\', as a function or macro. */
157478
 
+@%:@undef HAVE_ALLOCA])
157479
 
+m4trace:configure.ac:45: -1- AC_SUBST([ALLOCA], [\${LIBOBJDIR}alloca.$ac_objext])
157480
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([ALLOCA])
157481
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ALLOCA$])
157482
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([C_ALLOCA])
157483
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^C_ALLOCA$])
157484
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([C_ALLOCA], [/* Define to 1 if using `alloca.c\'. */
157485
 
+@%:@undef C_ALLOCA])
157486
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([CRAY_STACKSEG_END])
157487
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^CRAY_STACKSEG_END$])
157488
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([CRAY_STACKSEG_END], [/* Define to one of `_getb67\', `GETB67\', `getb67\' for Cray-2 and Cray-YMP
157489
 
+   systems. This function is required for `alloca.c\' support on those systems.
157490
 
+   */
157491
 
+@%:@undef CRAY_STACKSEG_END])
157492
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([STACK_DIRECTION], [/* If using the C implementation of alloca, define if you know the
157493
 
+   direction of stack growth for your system; otherwise it will be
157494
 
+   automatically deduced at runtime.
157495
 
+        STACK_DIRECTION > 0 => grows toward higher addresses
157496
 
+        STACK_DIRECTION < 0 => grows toward lower addresses
157497
 
+        STACK_DIRECTION = 0 => direction of growth unknown */
157498
 
+@%:@undef STACK_DIRECTION])
157499
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([STACK_DIRECTION])
157500
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STACK_DIRECTION$])
157501
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA])
157502
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ALLOCA$])
157503
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ALLOCA], [/* Define to 1 if you have \'alloca\' after including <alloca.h>, a header that
157504
 
+   may be supplied by this distribution. */
157505
 
+@%:@undef HAVE_ALLOCA])
157506
 
+m4trace:configure.ac:45: -1- AC_SUBST([ALLOCA_H])
157507
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([ALLOCA_H])
157508
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ALLOCA_H$])
157509
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_ALLOCA_H], [test -n "$ALLOCA_H"])
157510
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_ALLOCA_H_TRUE])
157511
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_ALLOCA_H_TRUE])
157512
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ALLOCA_H_TRUE$])
157513
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_ALLOCA_H_FALSE])
157514
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_ALLOCA_H_FALSE])
157515
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ALLOCA_H_FALSE$])
157516
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ALLOCA_H_TRUE])
157517
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ALLOCA_H_FALSE])
157518
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_AREADLINKAT])
157519
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_AREADLINKAT$])
157520
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_AREADLINKAT], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
157521
 
+   whether the gnulib module areadlinkat shall be considered present. */
157522
 
+@%:@undef GNULIB_AREADLINKAT])
157523
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_INET_NTOP])
157524
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_INET_NTOP])
157525
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_INET_NTOP$])
157526
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_INET_PTON])
157527
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_INET_PTON])
157528
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_INET_PTON$])
157529
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_INET_NTOP])
157530
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_INET_NTOP])
157531
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_INET_NTOP$])
157532
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_INET_PTON])
157533
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_INET_PTON])
157534
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_INET_PTON$])
157535
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the <arpa/inet.h> header file. */
157536
 
+@%:@undef HAVE_ARPA_INET_H])
157537
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_ARPA_INET_H])
157538
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_ARPA_INET_H])
157539
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$])
157540
 
+m4trace:configure.ac:45: -1- AC_SUBST([INCLUDE_NEXT])
157541
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([INCLUDE_NEXT])
157542
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INCLUDE_NEXT$])
157543
 
+m4trace:configure.ac:45: -1- AC_SUBST([INCLUDE_NEXT_AS_FIRST_DIRECTIVE])
157544
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([INCLUDE_NEXT_AS_FIRST_DIRECTIVE])
157545
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INCLUDE_NEXT_AS_FIRST_DIRECTIVE$])
157546
 
+m4trace:configure.ac:45: -1- AC_SUBST([PRAGMA_SYSTEM_HEADER])
157547
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([PRAGMA_SYSTEM_HEADER])
157548
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PRAGMA_SYSTEM_HEADER$])
157549
 
+m4trace:configure.ac:45: -1- AC_SUBST([PRAGMA_COLUMNS])
157550
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([PRAGMA_COLUMNS])
157551
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PRAGMA_COLUMNS$])
157552
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the <arpa/inet.h> header file. */
157553
 
+@%:@undef HAVE_ARPA_INET_H])
157554
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_ARPA_INET_H], [AS_VAR_GET(gl_next_header)])
157555
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_ARPA_INET_H])
157556
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_ARPA_INET_H$])
157557
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H], [$gl_next_as_first_directive])
157558
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H])
157559
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H$])
157560
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FEATURES_H], [/* Define to 1 if you have the <features.h> header file. */
157561
 
+@%:@undef HAVE_FEATURES_H])
157562
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_FEATURES_H])
157563
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_FEATURES_H])
157564
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FEATURES_H$])
157565
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_INET_NTOP], [/* Define to 1 if inet_ntop is declared even after undefining macros. */
157566
 
+@%:@undef HAVE_RAW_DECL_INET_NTOP])
157567
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_INET_PTON], [/* Define to 1 if inet_pton is declared even after undefining macros. */
157568
 
+@%:@undef HAVE_RAW_DECL_INET_PTON])
157569
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NDEBUG])
157570
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NDEBUG$])
157571
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NDEBUG], [/* Define to 1 if assertions should be disabled. */
157572
 
+@%:@undef NDEBUG])
157573
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([D_INO_IN_DIRENT])
157574
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^D_INO_IN_DIRENT$])
157575
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([D_INO_IN_DIRENT], [/* Define if struct dirent has a member d_ino that actually works. */
157576
 
+@%:@undef D_INO_IN_DIRENT])
157577
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_FILE_NAMES])
157578
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LONG_FILE_NAMES$])
157579
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LONG_FILE_NAMES], [/* Define to 1 if you support file names longer than 14 characters. */
157580
 
+@%:@undef HAVE_LONG_FILE_NAMES])
157581
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PATHCONF], [/* Define to 1 if you have the `pathconf\' function. */
157582
 
+@%:@undef HAVE_PATHCONF])
157583
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([restrict], [/* Define to the equivalent of the C99 \'restrict\' keyword, or to
157584
 
+   nothing if this is not supported.  Do not define if restrict is
157585
 
+   supported directly.  */
157586
 
+#undef restrict
157587
 
+/* Work around a bug in Sun C++: it does not support _Restrict or
157588
 
+   __restrict__, even though the corresponding Sun C compiler ends up with
157589
 
+   "#define restrict _Restrict" or "#define restrict __restrict__" in the
157590
 
+   previous line.  Perhaps some future version of Sun C++ will work with
157591
 
+   restrict; if so, hopefully it defines __RESTRICT like Sun C does.  */
157592
 
+#if defined __SUNPRO_CC && !defined __RESTRICT
157593
 
+# define _Restrict
157594
 
+# define __restrict__
157595
 
+#endif])
157596
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([restrict])
157597
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^restrict$])
157598
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([restrict])
157599
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^restrict$])
157600
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_BTOWC])
157601
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_BTOWC])
157602
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_BTOWC$])
157603
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCTOB])
157604
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCTOB])
157605
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCTOB$])
157606
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBSINIT])
157607
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBSINIT])
157608
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSINIT$])
157609
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBRTOWC])
157610
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBRTOWC])
157611
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBRTOWC$])
157612
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBRLEN])
157613
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBRLEN])
157614
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBRLEN$])
157615
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBSRTOWCS])
157616
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBSRTOWCS])
157617
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSRTOWCS$])
157618
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBSNRTOWCS])
157619
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBSNRTOWCS])
157620
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSNRTOWCS$])
157621
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCRTOMB])
157622
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCRTOMB])
157623
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCRTOMB$])
157624
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSRTOMBS])
157625
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSRTOMBS])
157626
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSRTOMBS$])
157627
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSNRTOMBS])
157628
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSNRTOMBS])
157629
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSNRTOMBS$])
157630
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCWIDTH])
157631
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCWIDTH])
157632
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCWIDTH$])
157633
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WMEMCHR])
157634
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WMEMCHR])
157635
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WMEMCHR$])
157636
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WMEMCMP])
157637
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WMEMCMP])
157638
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WMEMCMP$])
157639
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WMEMCPY])
157640
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WMEMCPY])
157641
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WMEMCPY$])
157642
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WMEMMOVE])
157643
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WMEMMOVE])
157644
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WMEMMOVE$])
157645
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WMEMSET])
157646
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WMEMSET])
157647
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WMEMSET$])
157648
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSLEN])
157649
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSLEN])
157650
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSLEN$])
157651
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSNLEN])
157652
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSNLEN])
157653
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSNLEN$])
157654
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSCPY])
157655
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSCPY])
157656
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSCPY$])
157657
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCPCPY])
157658
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCPCPY])
157659
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCPCPY$])
157660
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSNCPY])
157661
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSNCPY])
157662
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSNCPY$])
157663
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCPNCPY])
157664
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCPNCPY])
157665
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCPNCPY$])
157666
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSCAT])
157667
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSCAT])
157668
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSCAT$])
157669
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSNCAT])
157670
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSNCAT])
157671
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSNCAT$])
157672
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSCMP])
157673
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSCMP])
157674
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSCMP$])
157675
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSNCMP])
157676
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSNCMP])
157677
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSNCMP$])
157678
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSCASECMP])
157679
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSCASECMP])
157680
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSCASECMP$])
157681
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSNCASECMP])
157682
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSNCASECMP])
157683
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSNCASECMP$])
157684
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSCOLL])
157685
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSCOLL])
157686
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSCOLL$])
157687
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSXFRM])
157688
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSXFRM])
157689
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSXFRM$])
157690
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSDUP])
157691
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSDUP])
157692
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSDUP$])
157693
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSCHR])
157694
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSCHR])
157695
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSCHR$])
157696
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSRCHR])
157697
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSRCHR])
157698
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSRCHR$])
157699
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSCSPN])
157700
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSCSPN])
157701
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSCSPN$])
157702
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSSPN])
157703
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSSPN])
157704
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSSPN$])
157705
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSPBRK])
157706
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSPBRK])
157707
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSPBRK$])
157708
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSSTR])
157709
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSSTR])
157710
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSSTR$])
157711
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSTOK])
157712
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSTOK])
157713
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSTOK$])
157714
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCSWIDTH])
157715
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCSWIDTH])
157716
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCSWIDTH$])
157717
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_BTOWC])
157718
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_BTOWC])
157719
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_BTOWC$])
157720
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MBSINIT])
157721
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MBSINIT])
157722
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MBSINIT$])
157723
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MBRTOWC])
157724
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MBRTOWC])
157725
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MBRTOWC$])
157726
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MBRLEN])
157727
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MBRLEN])
157728
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MBRLEN$])
157729
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MBSRTOWCS])
157730
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MBSRTOWCS])
157731
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MBSRTOWCS$])
157732
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MBSNRTOWCS])
157733
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MBSNRTOWCS])
157734
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MBSNRTOWCS$])
157735
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCRTOMB])
157736
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCRTOMB])
157737
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCRTOMB$])
157738
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSRTOMBS])
157739
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSRTOMBS])
157740
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSRTOMBS$])
157741
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSNRTOMBS])
157742
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSNRTOMBS])
157743
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSNRTOMBS$])
157744
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WMEMCHR])
157745
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WMEMCHR])
157746
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WMEMCHR$])
157747
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WMEMCMP])
157748
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WMEMCMP])
157749
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WMEMCMP$])
157750
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WMEMCPY])
157751
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WMEMCPY])
157752
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WMEMCPY$])
157753
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WMEMMOVE])
157754
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WMEMMOVE])
157755
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WMEMMOVE$])
157756
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WMEMSET])
157757
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WMEMSET])
157758
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WMEMSET$])
157759
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSLEN])
157760
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSLEN])
157761
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSLEN$])
157762
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSNLEN])
157763
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSNLEN])
157764
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSNLEN$])
157765
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSCPY])
157766
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSCPY])
157767
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSCPY$])
157768
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCPCPY])
157769
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCPCPY])
157770
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCPCPY$])
157771
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSNCPY])
157772
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSNCPY])
157773
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSNCPY$])
157774
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCPNCPY])
157775
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCPNCPY])
157776
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCPNCPY$])
157777
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSCAT])
157778
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSCAT])
157779
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSCAT$])
157780
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSNCAT])
157781
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSNCAT])
157782
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSNCAT$])
157783
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSCMP])
157784
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSCMP])
157785
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSCMP$])
157786
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSNCMP])
157787
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSNCMP])
157788
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSNCMP$])
157789
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSCASECMP])
157790
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSCASECMP])
157791
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSCASECMP$])
157792
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSNCASECMP])
157793
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSNCASECMP])
157794
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSNCASECMP$])
157795
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSCOLL])
157796
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSCOLL])
157797
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSCOLL$])
157798
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSXFRM])
157799
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSXFRM])
157800
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSXFRM$])
157801
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSDUP])
157802
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSDUP])
157803
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSDUP$])
157804
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSCHR])
157805
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSCHR])
157806
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSCHR$])
157807
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSRCHR])
157808
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSRCHR])
157809
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSRCHR$])
157810
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSCSPN])
157811
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSCSPN])
157812
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSCSPN$])
157813
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSSPN])
157814
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSSPN])
157815
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSSPN$])
157816
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSPBRK])
157817
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSPBRK])
157818
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSPBRK$])
157819
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSSTR])
157820
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSSTR])
157821
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSSTR$])
157822
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSTOK])
157823
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSTOK])
157824
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSTOK$])
157825
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCSWIDTH])
157826
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCSWIDTH])
157827
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCSWIDTH$])
157828
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_WCTOB])
157829
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_WCTOB])
157830
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_WCTOB$])
157831
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_WCWIDTH])
157832
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_WCWIDTH])
157833
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_WCWIDTH$])
157834
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_MBSTATE_T])
157835
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_MBSTATE_T])
157836
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MBSTATE_T$])
157837
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_BTOWC])
157838
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_BTOWC])
157839
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_BTOWC$])
157840
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_WCTOB])
157841
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_WCTOB])
157842
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_WCTOB$])
157843
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_MBSINIT])
157844
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_MBSINIT])
157845
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MBSINIT$])
157846
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_MBRTOWC])
157847
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_MBRTOWC])
157848
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MBRTOWC$])
157849
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_MBRLEN])
157850
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_MBRLEN])
157851
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MBRLEN$])
157852
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_MBSRTOWCS])
157853
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_MBSRTOWCS])
157854
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MBSRTOWCS$])
157855
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_MBSNRTOWCS])
157856
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_MBSNRTOWCS])
157857
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MBSNRTOWCS$])
157858
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_WCRTOMB])
157859
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_WCRTOMB])
157860
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_WCRTOMB$])
157861
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_WCSRTOMBS])
157862
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_WCSRTOMBS])
157863
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_WCSRTOMBS$])
157864
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_WCSNRTOMBS])
157865
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_WCSNRTOMBS])
157866
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_WCSNRTOMBS$])
157867
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_WCWIDTH])
157868
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_WCWIDTH])
157869
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_WCWIDTH$])
157870
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_WCSWIDTH])
157871
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_WCSWIDTH])
157872
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_WCSWIDTH$])
157873
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_BTOWC], [/* Define to 1 if you have the `btowc\' function. */
157874
 
+@%:@undef HAVE_BTOWC])
157875
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LANGINFO_CODESET])
157876
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$])
157877
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LANGINFO_CODESET], [/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
157878
 
+@%:@undef HAVE_LANGINFO_CODESET])
157879
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_FR])
157880
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_FR])
157881
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR$])
157882
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_BTOWC])
157883
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_BTOWC$])
157884
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_BTOWC], [/* Define to 1 when the gnulib module btowc should be tested. */
157885
 
+@%:@undef GNULIB_TEST_BTOWC])
157886
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRTOD_L], [/* Define to 1 if you have the `strtod_l\' function. */
157887
 
+@%:@undef HAVE_STRTOD_L])
157888
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOD_L])
157889
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRTOD_L$])
157890
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_C99_STRTOLD])
157891
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_C99_STRTOLD$])
157892
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_C99_STRTOLD], [/* Define to 1 if strtold conforms to C99. */
157893
 
+@%:@undef HAVE_C99_STRTOLD])
157894
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRTOLD_L], [/* Define to 1 if you have the `strtold_l\' function. */
157895
 
+@%:@undef HAVE_STRTOLD_L])
157896
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOLD_L])
157897
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRTOLD_L$])
157898
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB__EXIT])
157899
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB__EXIT])
157900
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB__EXIT$])
157901
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ATOLL])
157902
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ATOLL])
157903
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ATOLL$])
157904
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_CALLOC_POSIX])
157905
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_CALLOC_POSIX])
157906
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CALLOC_POSIX$])
157907
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_CANONICALIZE_FILE_NAME])
157908
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_CANONICALIZE_FILE_NAME])
157909
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CANONICALIZE_FILE_NAME$])
157910
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETLOADAVG])
157911
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETLOADAVG])
157912
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETLOADAVG$])
157913
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETSUBOPT])
157914
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETSUBOPT])
157915
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETSUBOPT$])
157916
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GRANTPT])
157917
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GRANTPT])
157918
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GRANTPT$])
157919
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MALLOC_POSIX])
157920
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MALLOC_POSIX])
157921
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MALLOC_POSIX$])
157922
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBTOWC])
157923
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBTOWC])
157924
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBTOWC$])
157925
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MKDTEMP])
157926
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MKDTEMP])
157927
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKDTEMP$])
157928
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MKOSTEMP])
157929
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MKOSTEMP])
157930
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKOSTEMP$])
157931
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MKOSTEMPS])
157932
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MKOSTEMPS])
157933
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKOSTEMPS$])
157934
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MKSTEMP])
157935
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MKSTEMP])
157936
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKSTEMP$])
157937
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MKSTEMPS])
157938
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MKSTEMPS])
157939
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKSTEMPS$])
157940
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_PTSNAME])
157941
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_PTSNAME])
157942
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PTSNAME$])
157943
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_PUTENV])
157944
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_PUTENV])
157945
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PUTENV$])
157946
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_RANDOM_R])
157947
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_RANDOM_R])
157948
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_RANDOM_R$])
157949
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_REALLOC_POSIX])
157950
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_REALLOC_POSIX])
157951
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_REALLOC_POSIX$])
157952
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_REALPATH])
157953
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_REALPATH])
157954
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_REALPATH$])
157955
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_RPMATCH])
157956
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_RPMATCH])
157957
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_RPMATCH$])
157958
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SETENV])
157959
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SETENV])
157960
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SETENV$])
157961
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRTOD])
157962
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRTOD])
157963
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRTOD$])
157964
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRTOLL])
157965
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRTOLL])
157966
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRTOLL$])
157967
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRTOULL])
157968
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRTOULL])
157969
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRTOULL$])
157970
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SYSTEM_POSIX])
157971
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SYSTEM_POSIX])
157972
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SYSTEM_POSIX$])
157973
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_UNLOCKPT])
157974
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_UNLOCKPT])
157975
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNLOCKPT$])
157976
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_UNSETENV])
157977
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_UNSETENV])
157978
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNSETENV$])
157979
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCTOMB])
157980
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCTOMB])
157981
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCTOMB$])
157982
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE__EXIT])
157983
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE__EXIT])
157984
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE__EXIT$])
157985
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_ATOLL])
157986
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_ATOLL])
157987
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ATOLL$])
157988
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_CANONICALIZE_FILE_NAME])
157989
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_CANONICALIZE_FILE_NAME])
157990
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_CANONICALIZE_FILE_NAME$])
157991
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_GETLOADAVG])
157992
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_GETLOADAVG])
157993
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETLOADAVG$])
157994
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_GETSUBOPT])
157995
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_GETSUBOPT])
157996
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETSUBOPT$])
157997
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_GRANTPT])
157998
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_GRANTPT])
157999
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GRANTPT$])
158000
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MKDTEMP])
158001
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MKDTEMP])
158002
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKDTEMP$])
158003
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MKOSTEMP])
158004
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MKOSTEMP])
158005
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKOSTEMP$])
158006
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MKOSTEMPS])
158007
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MKOSTEMPS])
158008
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKOSTEMPS$])
158009
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MKSTEMP])
158010
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MKSTEMP])
158011
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKSTEMP$])
158012
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MKSTEMPS])
158013
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MKSTEMPS])
158014
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKSTEMPS$])
158015
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_PTSNAME])
158016
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_PTSNAME])
158017
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTSNAME$])
158018
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_RANDOM_H])
158019
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_RANDOM_H])
158020
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_RANDOM_H$])
158021
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_RANDOM_R])
158022
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_RANDOM_R])
158023
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_RANDOM_R$])
158024
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_REALPATH])
158025
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_REALPATH])
158026
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_REALPATH$])
158027
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_RPMATCH])
158028
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_RPMATCH])
158029
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_RPMATCH$])
158030
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SETENV])
158031
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SETENV])
158032
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SETENV$])
158033
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_SETENV])
158034
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_SETENV])
158035
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SETENV$])
158036
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STRTOD])
158037
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STRTOD])
158038
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRTOD$])
158039
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STRTOLL])
158040
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STRTOLL])
158041
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRTOLL$])
158042
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STRTOULL])
158043
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STRTOULL])
158044
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRTOULL$])
158045
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STRUCT_RANDOM_DATA])
158046
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STRUCT_RANDOM_DATA])
158047
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_RANDOM_DATA$])
158048
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SYS_LOADAVG_H])
158049
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SYS_LOADAVG_H])
158050
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_LOADAVG_H$])
158051
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_UNLOCKPT])
158052
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_UNLOCKPT])
158053
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNLOCKPT$])
158054
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_UNSETENV])
158055
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_UNSETENV])
158056
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_UNSETENV$])
158057
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_CALLOC])
158058
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_CALLOC])
158059
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_CALLOC$])
158060
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_CANONICALIZE_FILE_NAME])
158061
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_CANONICALIZE_FILE_NAME])
158062
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_CANONICALIZE_FILE_NAME$])
158063
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_MALLOC])
158064
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_MALLOC])
158065
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MALLOC$])
158066
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_MBTOWC])
158067
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_MBTOWC])
158068
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MBTOWC$])
158069
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_MKSTEMP])
158070
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_MKSTEMP])
158071
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MKSTEMP$])
158072
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_PUTENV])
158073
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_PUTENV])
158074
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_PUTENV$])
158075
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_REALLOC])
158076
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_REALLOC])
158077
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_REALLOC$])
158078
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_REALPATH])
158079
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_REALPATH])
158080
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_REALPATH$])
158081
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_SETENV])
158082
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_SETENV])
158083
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SETENV$])
158084
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_STRTOD])
158085
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_STRTOD])
158086
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRTOD$])
158087
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_UNSETENV])
158088
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_UNSETENV])
158089
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_UNSETENV$])
158090
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_WCTOMB])
158091
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_WCTOMB])
158092
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_WCTOMB$])
158093
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CALLOC_GNU])
158094
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_CALLOC_GNU$])
158095
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_CALLOC_GNU], [/* Define to 1 if your system has a GNU libc compatible `calloc\' function, and
158096
 
+   to 0 otherwise. */
158097
 
+@%:@undef HAVE_CALLOC_GNU])
158098
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CALLOC_GNU])
158099
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_CALLOC_GNU$])
158100
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_CALLOC_GNU])
158101
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CALLOC_GNU$])
158102
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_CALLOC_GNU], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
158103
 
+   whether the gnulib module calloc-gnu shall be considered present. */
158104
 
+@%:@undef GNULIB_CALLOC_GNU])
158105
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CALLOC_POSIX])
158106
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_CALLOC_POSIX$])
158107
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_CALLOC_POSIX], [/* Define if the \'calloc\' function is POSIX compliant. */
158108
 
+@%:@undef HAVE_CALLOC_POSIX])
158109
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_CALLOC_POSIX])
158110
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_CALLOC_POSIX$])
158111
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_CALLOC_POSIX], [/* Define to 1 when the gnulib module calloc-posix should be tested. */
158112
 
+@%:@undef GNULIB_TEST_CALLOC_POSIX])
158113
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_CANONICALIZE_FILE_NAME], [/* Define to 1 if you have the `canonicalize_file_name\' function. */
158114
 
+@%:@undef HAVE_CANONICALIZE_FILE_NAME])
158115
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([DOUBLE_SLASH_IS_DISTINCT_ROOT])
158116
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DOUBLE_SLASH_IS_DISTINCT_ROOT$])
158117
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([DOUBLE_SLASH_IS_DISTINCT_ROOT], [/* Define to 1 if // is a file system root distinct from /. */
158118
 
+@%:@undef DOUBLE_SLASH_IS_DISTINCT_ROOT])
158119
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_REALPATH], [/* Define to 1 if you have the `realpath\' function. */
158120
 
+@%:@undef HAVE_REALPATH])
158121
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FUNC_REALPATH_WORKS])
158122
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FUNC_REALPATH_WORKS$])
158123
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FUNC_REALPATH_WORKS], [/* Define to 1 if realpath() can malloc memory, always gives an absolute path,
158124
 
+   and handles trailing slash correctly. */
158125
 
+@%:@undef FUNC_REALPATH_WORKS])
158126
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_CANONICALIZE])
158127
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CANONICALIZE$])
158128
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_CANONICALIZE], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
158129
 
+   whether the gnulib module canonicalize shall be considered present. */
158130
 
+@%:@undef GNULIB_CANONICALIZE])
158131
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_CANONICALIZE])
158132
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_CANONICALIZE$])
158133
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_CANONICALIZE], [/* Define to 1 when the gnulib module canonicalize should be tested. */
158134
 
+@%:@undef GNULIB_TEST_CANONICALIZE])
158135
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_CANONICALIZE_FILE_NAME])
158136
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_CANONICALIZE_FILE_NAME$])
158137
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_CANONICALIZE_FILE_NAME], [/* Define to 1 when the gnulib module canonicalize_file_name should be tested.
158138
 
+   */
158139
 
+@%:@undef GNULIB_TEST_CANONICALIZE_FILE_NAME])
158140
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_READLINKAT], [/* Define to 1 if you have the `readlinkat\' function. */
158141
 
+@%:@undef HAVE_READLINKAT])
158142
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_CHOWN])
158143
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_CHOWN])
158144
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CHOWN$])
158145
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_CLOSE])
158146
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_CLOSE])
158147
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CLOSE$])
158148
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_DUP2])
158149
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_DUP2])
158150
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_DUP2$])
158151
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_DUP3])
158152
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_DUP3])
158153
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_DUP3$])
158154
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ENVIRON])
158155
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ENVIRON])
158156
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ENVIRON$])
158157
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_EUIDACCESS])
158158
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_EUIDACCESS])
158159
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_EUIDACCESS$])
158160
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FACCESSAT])
158161
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FACCESSAT])
158162
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FACCESSAT$])
158163
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FCHDIR])
158164
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FCHDIR])
158165
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FCHDIR$])
158166
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FCHOWNAT])
158167
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FCHOWNAT])
158168
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FCHOWNAT$])
158169
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FSYNC])
158170
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FSYNC])
158171
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FSYNC$])
158172
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FTRUNCATE])
158173
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FTRUNCATE])
158174
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FTRUNCATE$])
158175
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETCWD])
158176
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETCWD])
158177
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETCWD$])
158178
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETDOMAINNAME])
158179
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETDOMAINNAME])
158180
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETDOMAINNAME$])
158181
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETDTABLESIZE])
158182
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETDTABLESIZE])
158183
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETDTABLESIZE$])
158184
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETGROUPS])
158185
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETGROUPS])
158186
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETGROUPS$])
158187
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETHOSTNAME])
158188
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETHOSTNAME])
158189
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETHOSTNAME$])
158190
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETLOGIN])
158191
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETLOGIN])
158192
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETLOGIN$])
158193
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETLOGIN_R])
158194
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETLOGIN_R])
158195
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETLOGIN_R$])
158196
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETPAGESIZE])
158197
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETPAGESIZE])
158198
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETPAGESIZE$])
158199
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETUSERSHELL])
158200
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETUSERSHELL])
158201
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETUSERSHELL$])
158202
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GROUP_MEMBER])
158203
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GROUP_MEMBER])
158204
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GROUP_MEMBER$])
158205
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_LCHOWN])
158206
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_LCHOWN])
158207
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LCHOWN$])
158208
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_LINK])
158209
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_LINK])
158210
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LINK$])
158211
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_LINKAT])
158212
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_LINKAT])
158213
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LINKAT$])
158214
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_LSEEK])
158215
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_LSEEK])
158216
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LSEEK$])
158217
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_PIPE])
158218
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_PIPE])
158219
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PIPE$])
158220
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_PIPE2])
158221
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_PIPE2])
158222
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PIPE2$])
158223
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_PREAD])
158224
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_PREAD])
158225
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PREAD$])
158226
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_PWRITE])
158227
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_PWRITE])
158228
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PWRITE$])
158229
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_READ])
158230
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_READ])
158231
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_READ$])
158232
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_READLINK])
158233
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_READLINK])
158234
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_READLINK$])
158235
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_READLINKAT])
158236
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_READLINKAT])
158237
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_READLINKAT$])
158238
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_RMDIR])
158239
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_RMDIR])
158240
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_RMDIR$])
158241
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SLEEP])
158242
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SLEEP])
158243
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SLEEP$])
158244
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SYMLINK])
158245
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SYMLINK])
158246
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SYMLINK$])
158247
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SYMLINKAT])
158248
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SYMLINKAT])
158249
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SYMLINKAT$])
158250
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_TTYNAME_R])
158251
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_TTYNAME_R])
158252
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TTYNAME_R$])
158253
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_UNISTD_H_GETOPT])
158254
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_UNISTD_H_GETOPT])
158255
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNISTD_H_GETOPT$])
158256
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_UNISTD_H_NONBLOCKING])
158257
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_UNISTD_H_NONBLOCKING])
158258
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNISTD_H_NONBLOCKING$])
158259
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_UNISTD_H_SIGPIPE])
158260
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_UNISTD_H_SIGPIPE])
158261
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNISTD_H_SIGPIPE$])
158262
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_UNLINK])
158263
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_UNLINK])
158264
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNLINK$])
158265
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_UNLINKAT])
158266
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_UNLINKAT])
158267
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNLINKAT$])
158268
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_USLEEP])
158269
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_USLEEP])
158270
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_USLEEP$])
158271
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WRITE])
158272
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WRITE])
158273
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WRITE$])
158274
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_CHOWN])
158275
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_CHOWN])
158276
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_CHOWN$])
158277
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DUP2])
158278
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DUP2])
158279
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DUP2$])
158280
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DUP3])
158281
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DUP3])
158282
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DUP3$])
158283
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_EUIDACCESS])
158284
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_EUIDACCESS])
158285
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_EUIDACCESS$])
158286
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_FACCESSAT])
158287
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_FACCESSAT])
158288
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FACCESSAT$])
158289
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_FCHDIR])
158290
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_FCHDIR])
158291
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FCHDIR$])
158292
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_FCHOWNAT])
158293
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_FCHOWNAT])
158294
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FCHOWNAT$])
158295
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_FSYNC])
158296
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_FSYNC])
158297
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FSYNC$])
158298
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_FTRUNCATE])
158299
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_FTRUNCATE])
158300
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FTRUNCATE$])
158301
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_GETDTABLESIZE])
158302
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_GETDTABLESIZE])
158303
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETDTABLESIZE$])
158304
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_GETGROUPS])
158305
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_GETGROUPS])
158306
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETGROUPS$])
158307
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_GETHOSTNAME])
158308
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_GETHOSTNAME])
158309
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$])
158310
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_GETLOGIN])
158311
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_GETLOGIN])
158312
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETLOGIN$])
158313
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_GETPAGESIZE])
158314
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_GETPAGESIZE])
158315
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$])
158316
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_GROUP_MEMBER])
158317
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_GROUP_MEMBER])
158318
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GROUP_MEMBER$])
158319
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_LCHOWN])
158320
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_LCHOWN])
158321
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LCHOWN$])
158322
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_LINK])
158323
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_LINK])
158324
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LINK$])
158325
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_LINKAT])
158326
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_LINKAT])
158327
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LINKAT$])
158328
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_PIPE])
158329
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_PIPE])
158330
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PIPE$])
158331
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_PIPE2])
158332
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_PIPE2])
158333
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PIPE2$])
158334
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_PREAD])
158335
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_PREAD])
158336
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PREAD$])
158337
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_PWRITE])
158338
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_PWRITE])
158339
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PWRITE$])
158340
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_READLINK])
158341
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_READLINK])
158342
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_READLINK$])
158343
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_READLINKAT])
158344
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_READLINKAT])
158345
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_READLINKAT$])
158346
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SLEEP])
158347
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SLEEP])
158348
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SLEEP$])
158349
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SYMLINK])
158350
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SYMLINK])
158351
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYMLINK$])
158352
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SYMLINKAT])
158353
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SYMLINKAT])
158354
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYMLINKAT$])
158355
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_UNLINKAT])
158356
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_UNLINKAT])
158357
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNLINKAT$])
158358
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_USLEEP])
158359
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_USLEEP])
158360
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_USLEEP$])
158361
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_ENVIRON])
158362
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_ENVIRON])
158363
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ENVIRON$])
158364
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_FCHDIR])
158365
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_FCHDIR])
158366
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FCHDIR$])
158367
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_GETDOMAINNAME])
158368
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_GETDOMAINNAME])
158369
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETDOMAINNAME$])
158370
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_GETLOGIN_R])
158371
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_GETLOGIN_R])
158372
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETLOGIN_R$])
158373
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_GETPAGESIZE])
158374
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_GETPAGESIZE])
158375
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETPAGESIZE$])
158376
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_GETUSERSHELL])
158377
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_GETUSERSHELL])
158378
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETUSERSHELL$])
158379
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_TTYNAME_R])
158380
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_TTYNAME_R])
158381
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TTYNAME_R$])
158382
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_OS_H])
158383
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_OS_H])
158384
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_OS_H$])
158385
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SYS_PARAM_H])
158386
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SYS_PARAM_H])
158387
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$])
158388
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_CHOWN])
158389
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_CHOWN])
158390
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_CHOWN$])
158391
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_CLOSE])
158392
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_CLOSE])
158393
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_CLOSE$])
158394
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_DUP])
158395
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_DUP])
158396
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_DUP$])
158397
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_DUP2])
158398
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_DUP2])
158399
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_DUP2$])
158400
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FCHOWNAT])
158401
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FCHOWNAT])
158402
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FCHOWNAT$])
158403
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_GETCWD])
158404
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_GETCWD])
158405
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GETCWD$])
158406
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_GETDOMAINNAME])
158407
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_GETDOMAINNAME])
158408
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GETDOMAINNAME$])
158409
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_GETLOGIN_R])
158410
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_GETLOGIN_R])
158411
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GETLOGIN_R$])
158412
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_GETGROUPS])
158413
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_GETGROUPS])
158414
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GETGROUPS$])
158415
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_GETPAGESIZE])
158416
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_GETPAGESIZE])
158417
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GETPAGESIZE$])
158418
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_LCHOWN])
158419
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_LCHOWN])
158420
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_LCHOWN$])
158421
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_LINK])
158422
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_LINK])
158423
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_LINK$])
158424
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_LINKAT])
158425
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_LINKAT])
158426
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_LINKAT$])
158427
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_LSEEK])
158428
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_LSEEK])
158429
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_LSEEK$])
158430
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_PREAD])
158431
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_PREAD])
158432
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_PREAD$])
158433
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_PWRITE])
158434
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_PWRITE])
158435
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_PWRITE$])
158436
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_READ])
158437
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_READ])
158438
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_READ$])
158439
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_READLINK])
158440
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_READLINK])
158441
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_READLINK$])
158442
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_RMDIR])
158443
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_RMDIR])
158444
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_RMDIR$])
158445
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_SLEEP])
158446
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_SLEEP])
158447
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SLEEP$])
158448
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_SYMLINK])
158449
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_SYMLINK])
158450
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SYMLINK$])
158451
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_TTYNAME_R])
158452
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_TTYNAME_R])
158453
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_TTYNAME_R$])
158454
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_UNLINK])
158455
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_UNLINK])
158456
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_UNLINK$])
158457
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_UNLINKAT])
158458
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_UNLINKAT])
158459
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_UNLINKAT$])
158460
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_USLEEP])
158461
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_USLEEP])
158462
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_USLEEP$])
158463
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_WRITE])
158464
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_WRITE])
158465
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_WRITE$])
158466
 
+m4trace:configure.ac:45: -1- AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H])
158467
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([UNISTD_H_HAVE_WINSOCK2_H])
158468
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H$])
158469
 
+m4trace:configure.ac:45: -1- AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS])
158470
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS])
158471
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS$])
158472
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([uid_t])
158473
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^uid_t$])
158474
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([uid_t], [/* Define to `int\' if <sys/types.h> doesn\'t define. */
158475
 
+@%:@undef uid_t])
158476
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([gid_t])
158477
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^gid_t$])
158478
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([gid_t], [/* Define to `int\' if <sys/types.h> doesn\'t define. */
158479
 
+@%:@undef gid_t])
158480
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
158481
 
+@%:@undef HAVE_UNISTD_H])
158482
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNISTD_H])
158483
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNISTD_H$])
158484
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CHOWN])
158485
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_CHOWN$])
158486
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_CHOWN], [/* Define to 1 if your system has a working `chown\' function. */
158487
 
+@%:@undef HAVE_CHOWN])
158488
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([CHOWN_MODIFIES_SYMLINK])
158489
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^CHOWN_MODIFIES_SYMLINK$])
158490
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([CHOWN_MODIFIES_SYMLINK], [/* Define if chown modifies symlinks. */
158491
 
+@%:@undef CHOWN_MODIFIES_SYMLINK])
158492
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_CHOWN], [/* Define to 1 if you have the `chown\' function. */
158493
 
+@%:@undef HAVE_CHOWN])
158494
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FCHOWN], [/* Define to 1 if you have the `fchown\' function. */
158495
 
+@%:@undef HAVE_FCHOWN])
158496
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE])
158497
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE$])
158498
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE], [/* Define if chown is not POSIX compliant regarding IDs of -1. */
158499
 
+@%:@undef CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE])
158500
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([CHOWN_TRAILING_SLASH_BUG])
158501
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^CHOWN_TRAILING_SLASH_BUG$])
158502
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([CHOWN_TRAILING_SLASH_BUG], [/* Define to 1 if chown mishandles trailing slash. */
158503
 
+@%:@undef CHOWN_TRAILING_SLASH_BUG])
158504
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([CHOWN_CHANGE_TIME_BUG])
158505
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^CHOWN_CHANGE_TIME_BUG$])
158506
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([CHOWN_CHANGE_TIME_BUG], [/* Define to 1 if chown fails to change ctime when at least one argument was
158507
 
+   not -1. */
158508
 
+@%:@undef CHOWN_CHANGE_TIME_BUG])
158509
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_CHOWN])
158510
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_CHOWN$])
158511
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_CHOWN], [/* Define to 1 when the gnulib module chown should be tested. */
158512
 
+@%:@undef GNULIB_TEST_CHOWN])
158513
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIB_CLOCK_GETTIME])
158514
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIB_CLOCK_GETTIME])
158515
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB_CLOCK_GETTIME$])
158516
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_CLOCK_GETTIME], [/* Define to 1 if you have the `clock_gettime\' function. */
158517
 
+@%:@undef HAVE_CLOCK_GETTIME])
158518
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_CLOCK_SETTIME], [/* Define to 1 if you have the `clock_settime\' function. */
158519
 
+@%:@undef HAVE_CLOCK_SETTIME])
158520
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_CLOEXEC])
158521
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_CLOEXEC$])
158522
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_CLOEXEC], [/* Define to 1 when the gnulib module cloexec should be tested. */
158523
 
+@%:@undef GNULIB_TEST_CLOEXEC])
158524
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_IOCTL])
158525
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_IOCTL])
158526
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_IOCTL$])
158527
 
+m4trace:configure.ac:45: -1- AC_SUBST([SYS_IOCTL_H_HAVE_WINSOCK2_H])
158528
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([SYS_IOCTL_H_HAVE_WINSOCK2_H])
158529
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SYS_IOCTL_H_HAVE_WINSOCK2_H$])
158530
 
+m4trace:configure.ac:45: -1- AC_SUBST([SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS])
158531
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS])
158532
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS$])
158533
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_IOCTL])
158534
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_IOCTL])
158535
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_IOCTL$])
158536
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
158537
 
+@%:@undef HAVE_SYS_SOCKET_H])
158538
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the <winsock2.h> header file. */
158539
 
+@%:@undef HAVE_WINSOCK2_H])
158540
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H])
158541
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
158542
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WINSOCK2_H])
158543
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WINSOCK2_H])
158544
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
158545
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FCHDIR], [/* Define to 1 if you have the `fchdir\' function. */
158546
 
+@%:@undef HAVE_FCHDIR])
158547
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_CLOSE])
158548
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_CLOSE$])
158549
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_CLOSE], [/* Define to 1 when the gnulib module close should be tested. */
158550
 
+@%:@undef GNULIB_TEST_CLOSE])
158551
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_CLOSE_STREAM])
158552
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CLOSE_STREAM$])
158553
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_CLOSE_STREAM], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
158554
 
+   whether the gnulib module close-stream shall be considered present. */
158555
 
+@%:@undef GNULIB_CLOSE_STREAM])
158556
 
+m4trace:configure.ac:45: -1- AC_SUBST([datarootdir], ['${datadir}'])
158557
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([datarootdir])
158558
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^datarootdir$])
158559
 
+m4trace:configure.ac:45: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
158560
 
+      ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
158561
 
+      ['${datarootdir}/doc/${PACKAGE}'])])
158562
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([docdir])
158563
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^docdir$])
158564
 
+m4trace:configure.ac:45: -1- AC_SUBST([htmldir], ['${docdir}'])
158565
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([htmldir])
158566
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^htmldir$])
158567
 
+m4trace:configure.ac:45: -1- AC_SUBST([dvidir], ['${docdir}'])
158568
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([dvidir])
158569
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^dvidir$])
158570
 
+m4trace:configure.ac:45: -1- AC_SUBST([pdfdir], ['${docdir}'])
158571
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([pdfdir])
158572
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^pdfdir$])
158573
 
+m4trace:configure.ac:45: -1- AC_SUBST([psdir], ['${docdir}'])
158574
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([psdir])
158575
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^psdir$])
158576
 
+m4trace:configure.ac:45: -1- AC_SUBST([lispdir], ['${datarootdir}/emacs/site-lisp'])
158577
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([lispdir])
158578
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^lispdir$])
158579
 
+m4trace:configure.ac:45: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
158580
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([localedir])
158581
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^localedir$])
158582
 
+m4trace:configure.ac:45: -1- AC_SUBST([pkglibexecdir], ['${libexecdir}/${PACKAGE}'])
158583
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([pkglibexecdir])
158584
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^pkglibexecdir$])
158585
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
158586
 
+   significant byte first (like Motorola and SPARC, unlike Intel). */
158587
 
+#if defined AC_APPLE_UNIVERSAL_BUILD
158588
 
+# if defined __BIG_ENDIAN__
158589
 
+#  define WORDS_BIGENDIAN 1
158590
 
+# endif
158591
 
+#else
158592
 
+# ifndef WORDS_BIGENDIAN
158593
 
+#  undef WORDS_BIGENDIAN
158594
 
+# endif
158595
 
+#endif])
158596
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
158597
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
158598
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD])
158599
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
158600
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */
158601
 
+@%:@undef AC_APPLE_UNIVERSAL_BUILD])
158602
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ISBLANK])
158603
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ISBLANK])
158604
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISBLANK$])
158605
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_ISBLANK])
158606
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_ISBLANK])
158607
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISBLANK$])
158608
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_CTYPE_H], [AS_VAR_GET(gl_next_header)])
158609
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_CTYPE_H])
158610
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_CTYPE_H$])
158611
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_CTYPE_H], [$gl_next_as_first_directive])
158612
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_CTYPE_H])
158613
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_CTYPE_H$])
158614
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_ISBLANK], [/* Define to 1 if isblank is declared even after undefining macros. */
158615
 
+@%:@undef HAVE_RAW_DECL_ISBLANK])
158616
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([D_INO_IN_DIRENT])
158617
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^D_INO_IN_DIRENT$])
158618
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([D_INO_IN_DIRENT], [/* Define if struct dirent has a member d_ino that actually works. */
158619
 
+@%:@undef D_INO_IN_DIRENT])
158620
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_DIRENT_D_TYPE])
158621
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_DIRENT_D_TYPE$])
158622
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_DIRENT_D_TYPE], [/* Define if there is a member named d_type in the struct describing directory
158623
 
+   headers. */
158624
 
+@%:@undef HAVE_STRUCT_DIRENT_D_TYPE])
158625
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_DIRFD])
158626
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_DIRFD])
158627
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_DIRFD$])
158628
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FDOPENDIR])
158629
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FDOPENDIR])
158630
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FDOPENDIR$])
158631
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SCANDIR])
158632
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SCANDIR])
158633
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SCANDIR$])
158634
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ALPHASORT])
158635
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ALPHASORT])
158636
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ALPHASORT$])
158637
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_DIRFD])
158638
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_DIRFD])
158639
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_DIRFD$])
158640
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_FDOPENDIR])
158641
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_FDOPENDIR])
158642
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FDOPENDIR$])
158643
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_FDOPENDIR])
158644
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_FDOPENDIR])
158645
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FDOPENDIR$])
158646
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SCANDIR])
158647
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SCANDIR])
158648
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SCANDIR$])
158649
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_ALPHASORT])
158650
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_ALPHASORT])
158651
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ALPHASORT$])
158652
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_CLOSEDIR])
158653
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_CLOSEDIR])
158654
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_CLOSEDIR$])
158655
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_DIRFD])
158656
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_DIRFD])
158657
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_DIRFD$])
158658
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FDOPENDIR])
158659
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FDOPENDIR])
158660
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FDOPENDIR$])
158661
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_OPENDIR])
158662
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_OPENDIR])
158663
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_OPENDIR$])
158664
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DIRENT_H], [/* Define to 1 if you have the <dirent.h> header file. */
158665
 
+@%:@undef HAVE_DIRENT_H])
158666
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_DIRENT_H], [AS_VAR_GET(gl_next_header)])
158667
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_DIRENT_H])
158668
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_DIRENT_H$])
158669
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_DIRENT_H], [$gl_next_as_first_directive])
158670
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_DIRENT_H])
158671
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_DIRENT_H$])
158672
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_ALPHASORT], [/* Define to 1 if alphasort is declared even after undefining macros. */
158673
 
+@%:@undef HAVE_RAW_DECL_ALPHASORT])
158674
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_DIRFD], [/* Define to 1 if dirfd is declared even after undefining macros. */
158675
 
+@%:@undef HAVE_RAW_DECL_DIRFD])
158676
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FDOPENDIR], [/* Define to 1 if fdopendir is declared even after undefining macros. */
158677
 
+@%:@undef HAVE_RAW_DECL_FDOPENDIR])
158678
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SCANDIR], [/* Define to 1 if scandir is declared even after undefining macros. */
158679
 
+@%:@undef HAVE_RAW_DECL_SCANDIR])
158680
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FDOPENDIR], [/* Define to 1 if you have the `fdopendir\' function. */
158681
 
+@%:@undef HAVE_FDOPENDIR])
158682
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_DIRENT_SAFER])
158683
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_DIRENT_SAFER$])
158684
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_DIRENT_SAFER], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
158685
 
+   whether the gnulib module dirent-safer shall be considered present. */
158686
 
+@%:@undef GNULIB_DIRENT_SAFER])
158687
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DIRFD], [/* Define to 1 if you have the `dirfd\' function. */
158688
 
+@%:@undef HAVE_DIRFD])
158689
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DIRFD])
158690
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DIRFD$])
158691
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_DIRFD])
158692
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_DIRFD$])
158693
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_DIRFD], [/* Define to 1 if you have the declaration of `dirfd\', and to 0 if you don\'t.
158694
 
+   */
158695
 
+@%:@undef HAVE_DECL_DIRFD])
158696
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([DIR_FD_MEMBER_NAME])
158697
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DIR_FD_MEMBER_NAME$])
158698
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([DIR_FD_MEMBER_NAME], [/* the name of the file descriptor member of DIR */
158699
 
+@%:@undef DIR_FD_MEMBER_NAME])
158700
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([DIR_TO_FD], [#ifdef DIR_FD_MEMBER_NAME
158701
 
+# define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME)
158702
 
+#else
158703
 
+# define DIR_TO_FD(Dir_p) -1
158704
 
+#endif
158705
 
+])
158706
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_DIRFD])
158707
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_DIRFD$])
158708
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_DIRFD], [/* Define to 1 when the gnulib module dirfd should be tested. */
158709
 
+@%:@undef GNULIB_TEST_DIRFD])
158710
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_DIRNAME])
158711
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_DIRNAME$])
158712
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_DIRNAME], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
158713
 
+   whether the gnulib module dirname shall be considered present. */
158714
 
+@%:@undef GNULIB_DIRNAME])
158715
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([DOUBLE_SLASH_IS_DISTINCT_ROOT])
158716
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DOUBLE_SLASH_IS_DISTINCT_ROOT$])
158717
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([DOUBLE_SLASH_IS_DISTINCT_ROOT], [/* Define to 1 if // is a file system root distinct from /. */
158718
 
+@%:@undef DOUBLE_SLASH_IS_DISTINCT_ROOT])
158719
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DUP2])
158720
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DUP2$])
158721
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DUP2], [/* Define to 1 if you have the \'dup2\' function. */
158722
 
+@%:@undef HAVE_DUP2])
158723
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FCHDIR], [/* Define to 1 if you have the `fchdir\' function. */
158724
 
+@%:@undef HAVE_FCHDIR])
158725
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_DUP2])
158726
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_DUP2$])
158727
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_DUP2], [/* Define to 1 when the gnulib module dup2 should be tested. */
158728
 
+@%:@undef GNULIB_TEST_DUP2])
158729
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ENVIRON_DECL])
158730
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ENVIRON_DECL$])
158731
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ENVIRON_DECL], [/* Define if you have the declaration of environ. */
158732
 
+@%:@undef HAVE_ENVIRON_DECL])
158733
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_ENVIRON])
158734
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_ENVIRON$])
158735
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_ENVIRON], [/* Define to 1 when the gnulib module environ should be tested. */
158736
 
+@%:@undef GNULIB_TEST_ENVIRON])
158737
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_ERRNO_H], [AS_VAR_GET(gl_next_header)])
158738
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_ERRNO_H])
158739
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_ERRNO_H$])
158740
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_ERRNO_H], [$gl_next_as_first_directive])
158741
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_ERRNO_H])
158742
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_ERRNO_H$])
158743
 
+m4trace:configure.ac:45: -1- AC_SUBST([ERRNO_H])
158744
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([ERRNO_H])
158745
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ERRNO_H$])
158746
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_ERRNO_H], [test -n "$ERRNO_H"])
158747
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_ERRNO_H_TRUE])
158748
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_ERRNO_H_TRUE])
158749
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ERRNO_H_TRUE$])
158750
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_ERRNO_H_FALSE])
158751
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_ERRNO_H_FALSE])
158752
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ERRNO_H_FALSE$])
158753
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ERRNO_H_TRUE])
158754
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ERRNO_H_FALSE])
158755
 
+m4trace:configure.ac:45: -1- AC_SUBST([EMULTIHOP_HIDDEN])
158756
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([EMULTIHOP_HIDDEN])
158757
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^EMULTIHOP_HIDDEN$])
158758
 
+m4trace:configure.ac:45: -1- AC_SUBST([EMULTIHOP_VALUE])
158759
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([EMULTIHOP_VALUE])
158760
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^EMULTIHOP_VALUE$])
158761
 
+m4trace:configure.ac:45: -1- AC_SUBST([ENOLINK_HIDDEN])
158762
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([ENOLINK_HIDDEN])
158763
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ENOLINK_HIDDEN$])
158764
 
+m4trace:configure.ac:45: -1- AC_SUBST([ENOLINK_VALUE])
158765
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([ENOLINK_VALUE])
158766
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ENOLINK_VALUE$])
158767
 
+m4trace:configure.ac:45: -1- AC_SUBST([EOVERFLOW_HIDDEN])
158768
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([EOVERFLOW_HIDDEN])
158769
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^EOVERFLOW_HIDDEN$])
158770
 
+m4trace:configure.ac:45: -1- AC_SUBST([EOVERFLOW_VALUE])
158771
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([EOVERFLOW_VALUE])
158772
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^EOVERFLOW_VALUE$])
158773
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRERROR_R])
158774
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$])
158775
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_STRERROR_R], [/* Define to 1 if you have the declaration of `strerror_r\', and to 0 if you
158776
 
+   don\'t. */
158777
 
+@%:@undef HAVE_DECL_STRERROR_R])
158778
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRERROR_R], [/* Define to 1 if you have the `strerror_r\' function. */
158779
 
+@%:@undef HAVE_STRERROR_R])
158780
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR_R])
158781
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRERROR_R$])
158782
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([STRERROR_R_CHAR_P])
158783
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STRERROR_R_CHAR_P$])
158784
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([STRERROR_R_CHAR_P], [/* Define to 1 if strerror_r returns char *. */
158785
 
+@%:@undef STRERROR_R_CHAR_P])
158786
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=error:3:c-format])
158787
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format])
158788
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_EUIDACCESS], [/* Define to 1 if you have the `euidaccess\' function. */
158789
 
+@%:@undef HAVE_EUIDACCESS])
158790
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EUIDACCESS])
158791
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_EUIDACCESS$])
158792
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FACCESSAT], [/* Define to 1 if you have the `faccessat\' function. */
158793
 
+@%:@undef HAVE_FACCESSAT])
158794
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the <libgen.h> header file. */
158795
 
+@%:@undef HAVE_LIBGEN_H])
158796
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_SETREGID])
158797
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SETREGID$])
158798
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_SETREGID], [/* Define to 1 if you have the declaration of `setregid\', and to 0 if you
158799
 
+   don\'t. */
158800
 
+@%:@undef HAVE_DECL_SETREGID])
158801
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GETGROUPS_T])
158802
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETGROUPS_T$])
158803
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GETGROUPS_T], [/* Define to the type of elements in the array set by `getgroups\'. Usually
158804
 
+   this is either `int\' or `gid_t\'. */
158805
 
+@%:@undef GETGROUPS_T])
158806
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETGROUPS])
158807
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETGROUPS$])
158808
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETGROUPS], [/* Define to 1 if your system has a working `getgroups\' function. */
158809
 
+@%:@undef HAVE_GETGROUPS])
158810
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIB_EACCESS])
158811
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIB_EACCESS])
158812
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB_EACCESS$])
158813
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_EACCESS], [/* Define to 1 if you have the `eaccess\' function. */
158814
 
+@%:@undef HAVE_EACCESS])
158815
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EACCESS])
158816
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_EACCESS$])
158817
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_EUIDACCESS])
158818
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_EUIDACCESS$])
158819
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_EUIDACCESS], [/* Define to 1 when the gnulib module euidaccess should be tested. */
158820
 
+@%:@undef GNULIB_TEST_EUIDACCESS])
158821
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FCNTL])
158822
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FCNTL])
158823
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FCNTL$])
158824
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_NONBLOCKING])
158825
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_NONBLOCKING])
158826
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_NONBLOCKING$])
158827
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_OPEN])
158828
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_OPEN])
158829
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_OPEN$])
158830
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_OPENAT])
158831
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_OPENAT])
158832
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_OPENAT$])
158833
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_FCNTL])
158834
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_FCNTL])
158835
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FCNTL$])
158836
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_OPENAT])
158837
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_OPENAT])
158838
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_OPENAT$])
158839
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FCNTL])
158840
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FCNTL])
158841
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FCNTL$])
158842
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_OPEN])
158843
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_OPEN])
158844
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_OPEN$])
158845
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_OPENAT])
158846
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_OPENAT])
158847
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_OPENAT$])
158848
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FCHMODAT])
158849
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FCHMODAT])
158850
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FCHMODAT$])
158851
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FSTATAT])
158852
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FSTATAT])
158853
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FSTATAT$])
158854
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FUTIMENS])
158855
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FUTIMENS])
158856
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FUTIMENS$])
158857
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_LCHMOD])
158858
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_LCHMOD])
158859
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LCHMOD$])
158860
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_LSTAT])
158861
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_LSTAT])
158862
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LSTAT$])
158863
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MKDIRAT])
158864
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MKDIRAT])
158865
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKDIRAT$])
158866
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MKFIFO])
158867
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MKFIFO])
158868
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKFIFO$])
158869
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MKFIFOAT])
158870
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MKFIFOAT])
158871
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKFIFOAT$])
158872
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MKNOD])
158873
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MKNOD])
158874
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKNOD$])
158875
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MKNODAT])
158876
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MKNODAT])
158877
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKNODAT$])
158878
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STAT])
158879
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STAT])
158880
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STAT$])
158881
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_UTIMENSAT])
158882
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_UTIMENSAT])
158883
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UTIMENSAT$])
158884
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_FCHMODAT])
158885
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_FCHMODAT])
158886
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FCHMODAT$])
158887
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_FSTATAT])
158888
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_FSTATAT])
158889
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FSTATAT$])
158890
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_FUTIMENS])
158891
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_FUTIMENS])
158892
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FUTIMENS$])
158893
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_LCHMOD])
158894
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_LCHMOD])
158895
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LCHMOD$])
158896
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_LSTAT])
158897
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_LSTAT])
158898
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LSTAT$])
158899
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MKDIRAT])
158900
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MKDIRAT])
158901
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKDIRAT$])
158902
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MKFIFO])
158903
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MKFIFO])
158904
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKFIFO$])
158905
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MKFIFOAT])
158906
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MKFIFOAT])
158907
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKFIFOAT$])
158908
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MKNOD])
158909
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MKNOD])
158910
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKNOD$])
158911
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MKNODAT])
158912
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MKNODAT])
158913
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MKNODAT$])
158914
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_UTIMENSAT])
158915
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_UTIMENSAT])
158916
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UTIMENSAT$])
158917
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FSTAT])
158918
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FSTAT])
158919
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FSTAT$])
158920
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FSTATAT])
158921
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FSTATAT])
158922
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FSTATAT$])
158923
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FUTIMENS])
158924
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FUTIMENS])
158925
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FUTIMENS$])
158926
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_LSTAT])
158927
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_LSTAT])
158928
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_LSTAT$])
158929
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_MKDIR])
158930
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_MKDIR])
158931
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MKDIR$])
158932
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_MKFIFO])
158933
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_MKFIFO])
158934
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MKFIFO$])
158935
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_MKNOD])
158936
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_MKNOD])
158937
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MKNOD$])
158938
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_STAT])
158939
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_STAT])
158940
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STAT$])
158941
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_UTIMENSAT])
158942
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_UTIMENSAT])
158943
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_UTIMENSAT$])
158944
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FCHMODAT], [/* Define to 1 if you have the `fchmodat\' function. */
158945
 
+@%:@undef HAVE_FCHMODAT])
158946
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LCHMOD], [/* Define to 1 if you have the `lchmod\' function. */
158947
 
+@%:@undef HAVE_LCHMOD])
158948
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MKDIRAT], [/* Define to 1 if you have the `mkdirat\' function. */
158949
 
+@%:@undef HAVE_MKDIRAT])
158950
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_OPENAT], [/* Define to 1 if you have the `openat\' function. */
158951
 
+@%:@undef HAVE_OPENAT])
158952
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UNLINKAT], [/* Define to 1 if you have the `unlinkat\' function. */
158953
 
+@%:@undef HAVE_UNLINKAT])
158954
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([LSTAT_FOLLOWS_SLASHED_SYMLINK])
158955
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LSTAT_FOLLOWS_SLASHED_SYMLINK$])
158956
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([LSTAT_FOLLOWS_SLASHED_SYMLINK], [/* Define to 1 if `lstat\' dereferences a symlink specified with a trailing
158957
 
+   slash. */
158958
 
+@%:@undef LSTAT_FOLLOWS_SLASHED_SYMLINK])
158959
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([UNLINK_PARENT_BUG])
158960
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UNLINK_PARENT_BUG$])
158961
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([UNLINK_PARENT_BUG], [/* Define to 1 if unlink() on a parent directory may succeed */
158962
 
+@%:@undef UNLINK_PARENT_BUG])
158963
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([mode_t])
158964
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^mode_t$])
158965
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([mode_t], [/* Define to `int\' if <sys/types.h> does not define. */
158966
 
+@%:@undef mode_t])
158967
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([PROMOTED_MODE_T])
158968
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PROMOTED_MODE_T$])
158969
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([PROMOTED_MODE_T], [/* Define to the type that is the result of default argument promotions of
158970
 
+   type mode_t. */
158971
 
+@%:@undef PROMOTED_MODE_T])
158972
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FCHOWNAT_NOFOLLOW_BUG])
158973
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FCHOWNAT_NOFOLLOW_BUG$])
158974
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FCHOWNAT_NOFOLLOW_BUG], [/* Define to 1 if your platform has fchownat, but it cannot perform lchown
158975
 
+   tasks. */
158976
 
+@%:@undef FCHOWNAT_NOFOLLOW_BUG])
158977
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FCHOWNAT_EMPTY_FILENAME_BUG])
158978
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FCHOWNAT_EMPTY_FILENAME_BUG$])
158979
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FCHOWNAT_EMPTY_FILENAME_BUG], [/* Define to 1 if your platform has fchownat, but it does not reject an empty
158980
 
+   file name. */
158981
 
+@%:@undef FCHOWNAT_EMPTY_FILENAME_BUG])
158982
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FSTATAT], [/* Define to 1 if you have the `fstatat\' function. */
158983
 
+@%:@undef HAVE_FSTATAT])
158984
 
+m4trace:configure.ac:45: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
158985
 
+../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
158986
 
+../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
158987
 
+../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
158988
 
+m4/openat.m4:161: gl_FUNC_FSTATAT is expanded from...
158989
 
+m4/openat.m4:11: gl_FUNC_OPENAT is expanded from...
158990
 
+m4/faccessat.m4:11: gl_FUNC_FACCESSAT is expanded from...
158991
 
+m4/gnulib-comp.m4:703: gl_INIT is expanded from...
158992
 
+configure.ac:45: the top level])
158993
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FSTATAT_ZERO_FLAG_BROKEN])
158994
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FSTATAT_ZERO_FLAG_BROKEN$])
158995
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FSTATAT_ZERO_FLAG_BROKEN], [/* Define to 1 if fstatat (..., 0) does not work, as in AIX 7.1. */
158996
 
+@%:@undef FSTATAT_ZERO_FLAG_BROKEN])
158997
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_OPENAT])
158998
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_OPENAT$])
158999
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_OPENAT], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
159000
 
+   whether the gnulib module openat shall be considered present. */
159001
 
+@%:@undef GNULIB_OPENAT])
159002
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ACCESS], [/* Define to 1 if you have the `access\' function. */
159003
 
+@%:@undef HAVE_ACCESS])
159004
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FACCESSAT], [/* Define to 1 if you have the `faccessat\' function. */
159005
 
+@%:@undef HAVE_FACCESSAT])
159006
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_FACCESSAT])
159007
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FACCESSAT$])
159008
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_FACCESSAT], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
159009
 
+   whether the gnulib module faccessat shall be considered present. */
159010
 
+@%:@undef GNULIB_FACCESSAT])
159011
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FACCESSAT])
159012
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FACCESSAT$])
159013
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_FACCESSAT], [/* Define to 1 when the gnulib module faccessat should be tested. */
159014
 
+@%:@undef GNULIB_TEST_FACCESSAT])
159015
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_POSIX_FADVISE], [/* Define to 1 if you have the `posix_fadvise\' function. */
159016
 
+@%:@undef HAVE_POSIX_FADVISE])
159017
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FCHDIR])
159018
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FCHDIR$])
159019
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_FCHDIR], [/* Define to 1 if you have the declaration of `fchdir\', and to 0 if you don\'t.
159020
 
+   */
159021
 
+@%:@undef HAVE_DECL_FCHDIR])
159022
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_FCHDIR])
159023
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FCHDIR$])
159024
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([REPLACE_FCHDIR], [/* Define to 1 if gnulib\'s fchdir() replacement is used. */
159025
 
+@%:@undef REPLACE_FCHDIR])
159026
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_OPEN_DIRECTORY])
159027
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_OPEN_DIRECTORY$])
159028
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([REPLACE_OPEN_DIRECTORY], [/* Define to 1 if open() should work around the inability to open a directory.
159029
 
+   */
159030
 
+@%:@undef REPLACE_OPEN_DIRECTORY])
159031
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FCHDIR])
159032
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FCHDIR$])
159033
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_FCHDIR], [/* Define to 1 when the gnulib module fchdir should be tested. */
159034
 
+@%:@undef GNULIB_TEST_FCHDIR])
159035
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_DPRINTF])
159036
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_DPRINTF])
159037
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_DPRINTF$])
159038
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FCLOSE])
159039
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FCLOSE])
159040
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FCLOSE$])
159041
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FFLUSH])
159042
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FFLUSH])
159043
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FFLUSH$])
159044
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FGETC])
159045
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FGETC])
159046
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FGETC$])
159047
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FGETS])
159048
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FGETS])
159049
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FGETS$])
159050
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FOPEN])
159051
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FOPEN])
159052
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FOPEN$])
159053
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FPRINTF])
159054
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FPRINTF])
159055
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FPRINTF$])
159056
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FPRINTF_POSIX])
159057
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FPRINTF_POSIX])
159058
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FPRINTF_POSIX$])
159059
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FPURGE])
159060
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FPURGE])
159061
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FPURGE$])
159062
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FPUTC])
159063
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FPUTC])
159064
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FPUTC$])
159065
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FPUTS])
159066
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FPUTS])
159067
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FPUTS$])
159068
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FREAD])
159069
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FREAD])
159070
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FREAD$])
159071
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FREOPEN])
159072
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FREOPEN])
159073
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FREOPEN$])
159074
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FSCANF])
159075
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FSCANF])
159076
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FSCANF$])
159077
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FSEEK])
159078
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FSEEK])
159079
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FSEEK$])
159080
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FSEEKO])
159081
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FSEEKO])
159082
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FSEEKO$])
159083
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FTELL])
159084
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FTELL])
159085
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FTELL$])
159086
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FTELLO])
159087
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FTELLO])
159088
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FTELLO$])
159089
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FWRITE])
159090
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FWRITE])
159091
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FWRITE$])
159092
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETC])
159093
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETC])
159094
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETC$])
159095
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETCHAR])
159096
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETCHAR])
159097
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETCHAR$])
159098
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETDELIM])
159099
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETDELIM])
159100
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETDELIM$])
159101
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETLINE])
159102
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETLINE])
159103
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETLINE$])
159104
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETS])
159105
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETS])
159106
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETS$])
159107
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_OBSTACK_PRINTF])
159108
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_OBSTACK_PRINTF])
159109
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF$])
159110
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX])
159111
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_OBSTACK_PRINTF_POSIX])
159112
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF_POSIX$])
159113
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_PERROR])
159114
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_PERROR])
159115
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PERROR$])
159116
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_POPEN])
159117
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_POPEN])
159118
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_POPEN$])
159119
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_PRINTF])
159120
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_PRINTF])
159121
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PRINTF$])
159122
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_PRINTF_POSIX])
159123
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_PRINTF_POSIX])
159124
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PRINTF_POSIX$])
159125
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_PUTC])
159126
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_PUTC])
159127
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PUTC$])
159128
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_PUTCHAR])
159129
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_PUTCHAR])
159130
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PUTCHAR$])
159131
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_PUTS])
159132
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_PUTS])
159133
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PUTS$])
159134
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_REMOVE])
159135
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_REMOVE])
159136
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_REMOVE$])
159137
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_RENAME])
159138
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_RENAME])
159139
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_RENAME$])
159140
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_RENAMEAT])
159141
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_RENAMEAT])
159142
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_RENAMEAT$])
159143
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SCANF])
159144
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SCANF])
159145
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SCANF$])
159146
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SNPRINTF])
159147
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SNPRINTF])
159148
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SNPRINTF$])
159149
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SPRINTF_POSIX])
159150
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SPRINTF_POSIX])
159151
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SPRINTF_POSIX$])
159152
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STDIO_H_NONBLOCKING])
159153
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STDIO_H_NONBLOCKING])
159154
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STDIO_H_NONBLOCKING$])
159155
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STDIO_H_SIGPIPE])
159156
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STDIO_H_SIGPIPE])
159157
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STDIO_H_SIGPIPE$])
159158
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_TMPFILE])
159159
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_TMPFILE])
159160
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TMPFILE$])
159161
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_VASPRINTF])
159162
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_VASPRINTF])
159163
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VASPRINTF$])
159164
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_VFSCANF])
159165
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_VFSCANF])
159166
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VFSCANF$])
159167
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_VSCANF])
159168
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_VSCANF])
159169
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VSCANF$])
159170
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_VDPRINTF])
159171
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_VDPRINTF])
159172
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VDPRINTF$])
159173
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_VFPRINTF])
159174
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_VFPRINTF])
159175
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VFPRINTF$])
159176
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_VFPRINTF_POSIX])
159177
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_VFPRINTF_POSIX])
159178
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VFPRINTF_POSIX$])
159179
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_VPRINTF])
159180
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_VPRINTF])
159181
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VPRINTF$])
159182
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_VPRINTF_POSIX])
159183
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_VPRINTF_POSIX])
159184
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VPRINTF_POSIX$])
159185
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_VSNPRINTF])
159186
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_VSNPRINTF])
159187
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VSNPRINTF$])
159188
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_VSPRINTF_POSIX])
159189
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_VSPRINTF_POSIX])
159190
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_VSPRINTF_POSIX$])
159191
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_FPURGE])
159192
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_FPURGE])
159193
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FPURGE$])
159194
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_FSEEKO])
159195
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_FSEEKO])
159196
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FSEEKO$])
159197
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_FTELLO])
159198
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_FTELLO])
159199
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FTELLO$])
159200
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_GETDELIM])
159201
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_GETDELIM])
159202
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETDELIM$])
159203
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_GETLINE])
159204
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_GETLINE])
159205
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETLINE$])
159206
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_OBSTACK_PRINTF])
159207
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_OBSTACK_PRINTF])
159208
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_OBSTACK_PRINTF$])
159209
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_SNPRINTF])
159210
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_SNPRINTF])
159211
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$])
159212
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_VSNPRINTF])
159213
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_VSNPRINTF])
159214
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_VSNPRINTF$])
159215
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DPRINTF])
159216
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DPRINTF])
159217
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DPRINTF$])
159218
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_FSEEKO])
159219
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_FSEEKO])
159220
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FSEEKO$])
159221
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_FTELLO])
159222
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_FTELLO])
159223
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FTELLO$])
159224
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_RENAMEAT])
159225
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_RENAMEAT])
159226
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_RENAMEAT$])
159227
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_VASPRINTF])
159228
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_VASPRINTF])
159229
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_VASPRINTF$])
159230
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_VDPRINTF])
159231
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_VDPRINTF])
159232
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_VDPRINTF$])
159233
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_DPRINTF])
159234
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_DPRINTF])
159235
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_DPRINTF$])
159236
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FCLOSE])
159237
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FCLOSE])
159238
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FCLOSE$])
159239
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FFLUSH])
159240
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FFLUSH])
159241
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FFLUSH$])
159242
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FOPEN])
159243
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FOPEN])
159244
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FOPEN$])
159245
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FPRINTF])
159246
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FPRINTF])
159247
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FPRINTF$])
159248
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FPURGE])
159249
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FPURGE])
159250
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FPURGE$])
159251
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FREOPEN])
159252
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FREOPEN])
159253
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FREOPEN$])
159254
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FSEEK])
159255
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FSEEK])
159256
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FSEEK$])
159257
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FSEEKO])
159258
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FSEEKO])
159259
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FSEEKO$])
159260
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FTELL])
159261
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FTELL])
159262
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FTELL$])
159263
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FTELLO])
159264
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FTELLO])
159265
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FTELLO$])
159266
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_GETDELIM])
159267
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_GETDELIM])
159268
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GETDELIM$])
159269
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_GETLINE])
159270
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_GETLINE])
159271
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GETLINE$])
159272
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_OBSTACK_PRINTF])
159273
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_OBSTACK_PRINTF])
159274
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_OBSTACK_PRINTF$])
159275
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_PERROR])
159276
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_PERROR])
159277
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_PERROR$])
159278
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_POPEN])
159279
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_POPEN])
159280
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_POPEN$])
159281
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_PRINTF])
159282
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_PRINTF])
159283
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_PRINTF$])
159284
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_REMOVE])
159285
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_REMOVE])
159286
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_REMOVE$])
159287
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_RENAME])
159288
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_RENAME])
159289
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_RENAME$])
159290
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_RENAMEAT])
159291
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_RENAMEAT])
159292
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_RENAMEAT$])
159293
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_SNPRINTF])
159294
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_SNPRINTF])
159295
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SNPRINTF$])
159296
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_SPRINTF])
159297
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_SPRINTF])
159298
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SPRINTF$])
159299
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_STDIO_READ_FUNCS])
159300
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_STDIO_READ_FUNCS])
159301
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STDIO_READ_FUNCS$])
159302
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_STDIO_WRITE_FUNCS])
159303
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_STDIO_WRITE_FUNCS])
159304
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STDIO_WRITE_FUNCS$])
159305
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_TMPFILE])
159306
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_TMPFILE])
159307
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_TMPFILE$])
159308
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_VASPRINTF])
159309
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_VASPRINTF])
159310
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VASPRINTF$])
159311
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_VDPRINTF])
159312
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_VDPRINTF])
159313
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VDPRINTF$])
159314
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_VFPRINTF])
159315
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_VFPRINTF])
159316
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VFPRINTF$])
159317
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_VPRINTF])
159318
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_VPRINTF])
159319
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VPRINTF$])
159320
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_VSNPRINTF])
159321
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_VSNPRINTF])
159322
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VSNPRINTF$])
159323
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_VSPRINTF])
159324
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_VSPRINTF])
159325
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VSPRINTF$])
159326
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FCLOSE])
159327
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FCLOSE$])
159328
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_FCLOSE], [/* Define to 1 when the gnulib module fclose should be tested. */
159329
 
+@%:@undef GNULIB_TEST_FCLOSE])
159330
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */
159331
 
+@%:@undef HAVE_FCNTL])
159332
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */
159333
 
+@%:@undef HAVE_FCNTL])
159334
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */
159335
 
+@%:@undef HAVE_FCNTL])
159336
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FCNTL_DUPFD_BUGGY])
159337
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FCNTL_DUPFD_BUGGY$])
159338
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FCNTL_DUPFD_BUGGY], [/* Define this to 1 if F_DUPFD behavior does not match POSIX */
159339
 
+@%:@undef FCNTL_DUPFD_BUGGY])
159340
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */
159341
 
+@%:@undef HAVE_FCNTL])
159342
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FCHDIR], [/* Define to 1 if you have the `fchdir\' function. */
159343
 
+@%:@undef HAVE_FCHDIR])
159344
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */
159345
 
+@%:@undef HAVE_FCNTL])
159346
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FCNTL])
159347
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FCNTL$])
159348
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_FCNTL], [/* Define to 1 when the gnulib module fcntl should be tested. */
159349
 
+@%:@undef GNULIB_TEST_FCNTL])
159350
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_O_NOATIME])
159351
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WORKING_O_NOATIME$])
159352
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WORKING_O_NOATIME], [/* Define to 1 if O_NOATIME works. */
159353
 
+@%:@undef HAVE_WORKING_O_NOATIME])
159354
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_O_NOFOLLOW])
159355
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WORKING_O_NOFOLLOW$])
159356
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WORKING_O_NOFOLLOW], [/* Define to 1 if O_NOFOLLOW works. */
159357
 
+@%:@undef HAVE_WORKING_O_NOFOLLOW])
159358
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_FCNTL_H], [AS_VAR_GET(gl_next_header)])
159359
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_FCNTL_H])
159360
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_FCNTL_H$])
159361
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_FCNTL_H], [$gl_next_as_first_directive])
159362
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_FCNTL_H])
159363
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_FCNTL_H$])
159364
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FCNTL], [/* Define to 1 if fcntl is declared even after undefining macros. */
159365
 
+@%:@undef HAVE_RAW_DECL_FCNTL])
159366
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_OPENAT], [/* Define to 1 if openat is declared even after undefining macros. */
159367
 
+@%:@undef HAVE_RAW_DECL_OPENAT])
159368
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_FCNTL_SAFER])
159369
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FCNTL_SAFER$])
159370
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_FCNTL_SAFER], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
159371
 
+   whether the gnulib module fcntl-safer shall be considered present. */
159372
 
+@%:@undef GNULIB_FCNTL_SAFER])
159373
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_FD_SAFER_FLAG])
159374
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FD_SAFER_FLAG$])
159375
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_FD_SAFER_FLAG], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
159376
 
+   whether the gnulib module fd-safer-flag shall be considered present. */
159377
 
+@%:@undef GNULIB_FD_SAFER_FLAG])
159378
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FDOPENDIR])
159379
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FDOPENDIR$])
159380
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_FDOPENDIR], [/* Define to 1 if you have the declaration of `fdopendir\', and to 0 if you
159381
 
+   don\'t. */
159382
 
+@%:@undef HAVE_DECL_FDOPENDIR])
159383
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FDOPENDIR], [/* Define to 1 if you have the `fdopendir\' function. */
159384
 
+@%:@undef HAVE_FDOPENDIR])
159385
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FDOPENDIR])
159386
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FDOPENDIR$])
159387
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_FDOPENDIR], [/* Define to 1 when the gnulib module fdopendir should be tested. */
159388
 
+@%:@undef GNULIB_TEST_FDOPENDIR])
159389
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_FDOPENDIR])
159390
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FDOPENDIR$])
159391
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_FDOPENDIR], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
159392
 
+   whether the gnulib module fdopendir shall be considered present. */
159393
 
+@%:@undef GNULIB_FDOPENDIR])
159394
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_FDUTIMENSAT])
159395
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FDUTIMENSAT$])
159396
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_FDUTIMENSAT], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
159397
 
+   whether the gnulib module fdutimensat shall be considered present. */
159398
 
+@%:@undef GNULIB_FDUTIMENSAT])
159399
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_FFLUSH])
159400
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FFLUSH$])
159401
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_FFLUSH], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
159402
 
+   whether the gnulib module fflush shall be considered present. */
159403
 
+@%:@undef GNULIB_FFLUSH])
159404
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FFLUSH])
159405
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FFLUSH$])
159406
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_FFLUSH], [/* Define to 1 when the gnulib module fflush should be tested. */
159407
 
+@%:@undef GNULIB_TEST_FFLUSH])
159408
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STAT_ST_BLOCKS])
159409
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_BLOCKS$])
159410
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_STAT_ST_BLOCKS], [/* Define to 1 if `st_blocks\' is a member of `struct stat\'. */
159411
 
+@%:@undef HAVE_STRUCT_STAT_ST_BLOCKS])
159412
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ST_BLOCKS])
159413
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ST_BLOCKS$])
159414
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ST_BLOCKS], [/* Define to 1 if your `struct stat\' has `st_blocks\'. Deprecated, use
159415
 
+   `HAVE_STRUCT_STAT_ST_BLOCKS\' instead. */
159416
 
+@%:@undef HAVE_ST_BLOCKS])
159417
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
159418
 
+@%:@undef HAVE_SYS_PARAM_H])
159419
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ST_DM_MODE])
159420
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ST_DM_MODE$])
159421
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ST_DM_MODE], [/* Define if struct stat has an st_dm_mode member. */
159422
 
+@%:@undef HAVE_ST_DM_MODE])
159423
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRMODE])
159424
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRMODE$])
159425
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_STRMODE], [/* Define to 1 if you have the declaration of `strmode\', and to 0 if you
159426
 
+   don\'t. */
159427
 
+@%:@undef HAVE_DECL_STRMODE])
159428
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MEMPCPY], [/* Define to 1 if you have the `mempcpy\' function. */
159429
 
+@%:@undef HAVE_MEMPCPY])
159430
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_FILENAMECAT])
159431
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FILENAMECAT$])
159432
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_FILENAMECAT], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
159433
 
+   whether the gnulib module filenamecat shall be considered present. */
159434
 
+@%:@undef GNULIB_FILENAMECAT])
159435
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MEMPCPY], [/* Define to 1 if you have the `mempcpy\' function. */
159436
 
+@%:@undef HAVE_MEMPCPY])
159437
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FLEXIBLE_ARRAY_MEMBER])
159438
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLEXIBLE_ARRAY_MEMBER$])
159439
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FLEXIBLE_ARRAY_MEMBER], [/* Define to nothing if C supports flexible array members, and to 1 if it does
159440
 
+   not. That way, with a declaration like `struct s { int n; double
159441
 
+   d@<:@FLEXIBLE_ARRAY_MEMBER@:>@; };\', the struct hack can be used with pre-C99
159442
 
+   compilers. When computing the size of such an object, don\'t use \'sizeof
159443
 
+   (struct s)\' as it overestimates the size. Use \'offsetof (struct s, d)\'
159444
 
+   instead. Don\'t use \'offsetof (struct s, d@<:@0@:>@)\', as this doesn\'t work with
159445
 
+   MSVC and with C++ compilers. */
159446
 
+@%:@undef FLEXIBLE_ARRAY_MEMBER])
159447
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FLEXIBLE_ARRAY_MEMBER])
159448
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLEXIBLE_ARRAY_MEMBER$])
159449
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_FLOAT_H], [AS_VAR_GET(gl_next_header)])
159450
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_FLOAT_H])
159451
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_FLOAT_H$])
159452
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_FLOAT_H], [$gl_next_as_first_directive])
159453
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_FLOAT_H])
159454
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_FLOAT_H$])
159455
 
+m4trace:configure.ac:45: -1- AC_SUBST([FLOAT_H])
159456
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([FLOAT_H])
159457
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLOAT_H$])
159458
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_FLOAT_H], [test -n "$FLOAT_H"])
159459
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_FLOAT_H_TRUE])
159460
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_FLOAT_H_TRUE])
159461
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_FLOAT_H_TRUE$])
159462
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_FLOAT_H_FALSE])
159463
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_FLOAT_H_FALSE])
159464
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_FLOAT_H_FALSE$])
159465
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_FLOAT_H_TRUE])
159466
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_FLOAT_H_FALSE])
159467
 
+m4trace:configure.ac:45: -1- AC_SUBST([FNMATCH_H])
159468
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([FNMATCH_H])
159469
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FNMATCH_H$])
159470
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_FNMATCH_H], [test -n "$FNMATCH_H"])
159471
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_FNMATCH_H_TRUE])
159472
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_FNMATCH_H_TRUE])
159473
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_FNMATCH_H_TRUE$])
159474
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_FNMATCH_H_FALSE])
159475
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_FNMATCH_H_FALSE])
159476
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_FNMATCH_H_FALSE$])
159477
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_FNMATCH_H_TRUE])
159478
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_FNMATCH_H_FALSE])
159479
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([fnmatch])
159480
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^fnmatch$])
159481
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([fnmatch], [/* Define to a replacement function name for fnmatch(). */
159482
 
+@%:@undef fnmatch])
159483
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MBSTATE_T])
159484
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MBSTATE_T$])
159485
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBSTATE_T], [/* Define to 1 if <wchar.h> declares mbstate_t. */
159486
 
+@%:@undef HAVE_MBSTATE_T])
159487
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([mbstate_t])
159488
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^mbstate_t$])
159489
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([mbstate_t], [/* Define to a type if <wchar.h> does not define. */
159490
 
+@%:@undef mbstate_t])
159491
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_ISBLANK])
159492
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ISBLANK$])
159493
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_ISBLANK], [/* Define to 1 if you have the declaration of `isblank\', and to 0 if you
159494
 
+   don\'t. */
159495
 
+@%:@undef HAVE_DECL_ISBLANK])
159496
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_BTOWC], [/* Define to 1 if you have the `btowc\' function. */
159497
 
+@%:@undef HAVE_BTOWC])
159498
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ISBLANK], [/* Define to 1 if you have the `isblank\' function. */
159499
 
+@%:@undef HAVE_ISBLANK])
159500
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ISWCTYPE], [/* Define to 1 if you have the `iswctype\' function. */
159501
 
+@%:@undef HAVE_ISWCTYPE])
159502
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBSRTOWCS], [/* Define to 1 if you have the `mbsrtowcs\' function. */
159503
 
+@%:@undef HAVE_MBSRTOWCS])
159504
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MEMPCPY], [/* Define to 1 if you have the `mempcpy\' function. */
159505
 
+@%:@undef HAVE_MEMPCPY])
159506
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WMEMCHR], [/* Define to 1 if you have the `wmemchr\' function. */
159507
 
+@%:@undef HAVE_WMEMCHR])
159508
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WMEMCPY], [/* Define to 1 if you have the `wmemcpy\' function. */
159509
 
+@%:@undef HAVE_WMEMCPY])
159510
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WMEMPCPY], [/* Define to 1 if you have the `wmempcpy\' function. */
159511
 
+@%:@undef HAVE_WMEMPCPY])
159512
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCTYPE_H], [/* Define to 1 if you have the <wctype.h> header file. */
159513
 
+@%:@undef HAVE_WCTYPE_H])
159514
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([fnmatch])
159515
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^fnmatch$])
159516
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([fnmatch], [/* Define to a replacement function name for fnmatch(). */
159517
 
+@%:@undef fnmatch])
159518
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_ISBLANK])
159519
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ISBLANK$])
159520
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_ISBLANK], [/* Define to 1 if you have the declaration of `isblank\', and to 0 if you
159521
 
+   don\'t. */
159522
 
+@%:@undef HAVE_DECL_ISBLANK])
159523
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_BTOWC], [/* Define to 1 if you have the `btowc\' function. */
159524
 
+@%:@undef HAVE_BTOWC])
159525
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ISBLANK], [/* Define to 1 if you have the `isblank\' function. */
159526
 
+@%:@undef HAVE_ISBLANK])
159527
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ISWCTYPE], [/* Define to 1 if you have the `iswctype\' function. */
159528
 
+@%:@undef HAVE_ISWCTYPE])
159529
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBSRTOWCS], [/* Define to 1 if you have the `mbsrtowcs\' function. */
159530
 
+@%:@undef HAVE_MBSRTOWCS])
159531
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MEMPCPY], [/* Define to 1 if you have the `mempcpy\' function. */
159532
 
+@%:@undef HAVE_MEMPCPY])
159533
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WMEMCHR], [/* Define to 1 if you have the `wmemchr\' function. */
159534
 
+@%:@undef HAVE_WMEMCHR])
159535
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WMEMCPY], [/* Define to 1 if you have the `wmemcpy\' function. */
159536
 
+@%:@undef HAVE_WMEMCPY])
159537
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WMEMPCPY], [/* Define to 1 if you have the `wmempcpy\' function. */
159538
 
+@%:@undef HAVE_WMEMPCPY])
159539
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCTYPE_H], [/* Define to 1 if you have the <wctype.h> header file. */
159540
 
+@%:@undef HAVE_WCTYPE_H])
159541
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FOPEN_TRAILING_SLASH_BUG])
159542
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FOPEN_TRAILING_SLASH_BUG$])
159543
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FOPEN_TRAILING_SLASH_BUG], [/* Define to 1 if fopen() fails to recognize a trailing slash. */
159544
 
+@%:@undef FOPEN_TRAILING_SLASH_BUG])
159545
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FOPEN])
159546
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FOPEN$])
159547
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_FOPEN], [/* Define to 1 when the gnulib module fopen should be tested. */
159548
 
+@%:@undef GNULIB_TEST_FOPEN])
159549
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_FOPEN_SAFER])
159550
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FOPEN_SAFER$])
159551
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_FOPEN_SAFER], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
159552
 
+   whether the gnulib module fopen-safer shall be considered present. */
159553
 
+@%:@undef GNULIB_FOPEN_SAFER])
159554
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STDIO_EXT_H], [/* Define to 1 if you have the <stdio_ext.h> header file. */
159555
 
+@%:@undef HAVE_STDIO_EXT_H])
159556
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE___FPENDING], [/* Define to 1 if you have the `__fpending\' function. */
159557
 
+@%:@undef HAVE___FPENDING])
159558
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL___FPENDING])
159559
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL___FPENDING$])
159560
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL___FPENDING], [/* Define to 1 if you have the declaration of `__fpending\', and to 0 if you
159561
 
+   don\'t. */
159562
 
+@%:@undef HAVE_DECL___FPENDING])
159563
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([PENDING_OUTPUT_N_BYTES])
159564
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PENDING_OUTPUT_N_BYTES$])
159565
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([PENDING_OUTPUT_N_BYTES], [/* the number of pending output bytes on stream `fp\' */
159566
 
+@%:@undef PENDING_OUTPUT_N_BYTES])
159567
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FPURGE], [/* Define to 1 if you have the `fpurge\' function. */
159568
 
+@%:@undef HAVE_FPURGE])
159569
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE___FPURGE], [/* Define to 1 if you have the `__fpurge\' function. */
159570
 
+@%:@undef HAVE___FPURGE])
159571
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FPURGE])
159572
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FPURGE$])
159573
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_FPURGE], [/* Define to 1 if you have the declaration of `fpurge\', and to 0 if you don\'t.
159574
 
+   */
159575
 
+@%:@undef HAVE_DECL_FPURGE])
159576
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FPURGE])
159577
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FPURGE$])
159578
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_FPURGE], [/* Define to 1 when the gnulib module fpurge should be tested. */
159579
 
+@%:@undef GNULIB_TEST_FPURGE])
159580
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE___FREADING], [/* Define to 1 if you have the `__freading\' function. */
159581
 
+@%:@undef HAVE___FREADING])
159582
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FREOPEN])
159583
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FREOPEN$])
159584
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_FREOPEN], [/* Define to 1 when the gnulib module freopen should be tested. */
159585
 
+@%:@undef GNULIB_TEST_FREOPEN])
159586
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_FREOPEN_SAFER])
159587
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FREOPEN_SAFER$])
159588
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_FREOPEN_SAFER], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
159589
 
+   whether the gnulib module freopen-safer shall be considered present. */
159590
 
+@%:@undef GNULIB_FREOPEN_SAFER])
159591
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ACOSL])
159592
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ACOSL])
159593
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ACOSL$])
159594
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ASINL])
159595
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ASINL])
159596
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ASINL$])
159597
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ATANL])
159598
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ATANL])
159599
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ATANL$])
159600
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_CEIL])
159601
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_CEIL])
159602
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CEIL$])
159603
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_CEILF])
159604
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_CEILF])
159605
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CEILF$])
159606
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_CEILL])
159607
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_CEILL])
159608
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CEILL$])
159609
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_COSL])
159610
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_COSL])
159611
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_COSL$])
159612
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_EXPL])
159613
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_EXPL])
159614
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_EXPL$])
159615
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FLOOR])
159616
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FLOOR])
159617
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FLOOR$])
159618
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FLOORF])
159619
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FLOORF])
159620
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FLOORF$])
159621
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FLOORL])
159622
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FLOORL])
159623
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FLOORL$])
159624
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FREXP])
159625
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FREXP])
159626
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FREXP$])
159627
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FREXPL])
159628
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FREXPL])
159629
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FREXPL$])
159630
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ISFINITE])
159631
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ISFINITE])
159632
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISFINITE$])
159633
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ISINF])
159634
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ISINF])
159635
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISINF$])
159636
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ISNAN])
159637
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ISNAN])
159638
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISNAN$])
159639
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ISNANF])
159640
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ISNANF])
159641
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISNANF$])
159642
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ISNAND])
159643
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ISNAND])
159644
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISNAND$])
159645
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ISNANL])
159646
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ISNANL])
159647
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISNANL$])
159648
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_LDEXPL])
159649
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_LDEXPL])
159650
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LDEXPL$])
159651
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_LOGB])
159652
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_LOGB])
159653
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LOGB$])
159654
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_LOGL])
159655
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_LOGL])
159656
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LOGL$])
159657
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ROUND])
159658
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ROUND])
159659
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ROUND$])
159660
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ROUNDF])
159661
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ROUNDF])
159662
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ROUNDF$])
159663
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ROUNDL])
159664
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ROUNDL])
159665
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ROUNDL$])
159666
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SIGNBIT])
159667
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SIGNBIT])
159668
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SIGNBIT$])
159669
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SINL])
159670
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SINL])
159671
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SINL$])
159672
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SQRTL])
159673
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SQRTL])
159674
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SQRTL$])
159675
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_TANL])
159676
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_TANL])
159677
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TANL$])
159678
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_TRUNC])
159679
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_TRUNC])
159680
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TRUNC$])
159681
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_TRUNCF])
159682
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_TRUNCF])
159683
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TRUNCF$])
159684
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_TRUNCL])
159685
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_TRUNCL])
159686
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TRUNCL$])
159687
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_ACOSL])
159688
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_ACOSL])
159689
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACOSL$])
159690
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_ASINL])
159691
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_ASINL])
159692
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ASINL$])
159693
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_ATANL])
159694
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_ATANL])
159695
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ATANL$])
159696
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_COSL])
159697
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_COSL])
159698
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_COSL$])
159699
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_EXPL])
159700
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_EXPL])
159701
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_EXPL$])
159702
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_ISNANF])
159703
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_ISNANF])
159704
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISNANF$])
159705
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_ISNAND])
159706
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_ISNAND])
159707
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISNAND$])
159708
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_ISNANL])
159709
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_ISNANL])
159710
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISNANL$])
159711
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_LOGL])
159712
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_LOGL])
159713
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LOGL$])
159714
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SINL])
159715
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SINL])
159716
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SINL$])
159717
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SQRTL])
159718
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SQRTL])
159719
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SQRTL$])
159720
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_TANL])
159721
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_TANL])
159722
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TANL$])
159723
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_ACOSL])
159724
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_ACOSL])
159725
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ACOSL$])
159726
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_ASINL])
159727
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_ASINL])
159728
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ASINL$])
159729
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_ATANL])
159730
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_ATANL])
159731
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ATANL$])
159732
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_CEILF])
159733
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_CEILF])
159734
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_CEILF$])
159735
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_CEILL])
159736
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_CEILL])
159737
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_CEILL$])
159738
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_COSL])
159739
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_COSL])
159740
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_COSL$])
159741
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_EXPL])
159742
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_EXPL])
159743
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_EXPL$])
159744
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_FLOORF])
159745
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_FLOORF])
159746
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FLOORF$])
159747
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_FLOORL])
159748
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_FLOORL])
159749
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FLOORL$])
159750
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_FREXPL])
159751
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_FREXPL])
159752
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FREXPL$])
159753
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_LDEXPL])
159754
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_LDEXPL])
159755
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_LDEXPL$])
159756
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_LOGB])
159757
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_LOGB])
159758
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_LOGB$])
159759
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_LOGL])
159760
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_LOGL])
159761
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_LOGL$])
159762
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_ROUND])
159763
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_ROUND])
159764
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ROUND$])
159765
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_ROUNDF])
159766
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_ROUNDF])
159767
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ROUNDF$])
159768
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_ROUNDL])
159769
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_ROUNDL])
159770
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ROUNDL$])
159771
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_SINL])
159772
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_SINL])
159773
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SINL$])
159774
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_SQRTL])
159775
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_SQRTL])
159776
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SQRTL$])
159777
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_TANL])
159778
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_TANL])
159779
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TANL$])
159780
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_TRUNC])
159781
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_TRUNC])
159782
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TRUNC$])
159783
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_TRUNCF])
159784
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_TRUNCF])
159785
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TRUNCF$])
159786
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_TRUNCL])
159787
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_TRUNCL])
159788
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TRUNCL$])
159789
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_CEIL])
159790
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_CEIL])
159791
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_CEIL$])
159792
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_CEILF])
159793
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_CEILF])
159794
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_CEILF$])
159795
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_CEILL])
159796
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_CEILL])
159797
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_CEILL$])
159798
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FLOOR])
159799
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FLOOR])
159800
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FLOOR$])
159801
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FLOORF])
159802
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FLOORF])
159803
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FLOORF$])
159804
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FLOORL])
159805
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FLOORL])
159806
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FLOORL$])
159807
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FREXP])
159808
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FREXP])
159809
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FREXP$])
159810
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_FREXPL])
159811
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_FREXPL])
159812
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FREXPL$])
159813
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_HUGE_VAL])
159814
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_HUGE_VAL])
159815
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_HUGE_VAL$])
159816
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_ISFINITE])
159817
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_ISFINITE])
159818
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ISFINITE$])
159819
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_ISINF])
159820
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_ISINF])
159821
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ISINF$])
159822
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_ISNAN])
159823
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_ISNAN])
159824
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ISNAN$])
159825
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_LDEXPL])
159826
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_LDEXPL])
159827
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_LDEXPL$])
159828
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_NAN])
159829
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_NAN])
159830
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_NAN$])
159831
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_ROUND])
159832
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_ROUND])
159833
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ROUND$])
159834
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_ROUNDF])
159835
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_ROUNDF])
159836
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ROUNDF$])
159837
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_ROUNDL])
159838
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_ROUNDL])
159839
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ROUNDL$])
159840
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_SIGNBIT])
159841
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_SIGNBIT])
159842
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SIGNBIT$])
159843
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_SIGNBIT_USING_GCC])
159844
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_SIGNBIT_USING_GCC])
159845
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SIGNBIT_USING_GCC$])
159846
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_TRUNC])
159847
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_TRUNC])
159848
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_TRUNC$])
159849
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_TRUNCF])
159850
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_TRUNCF])
159851
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_TRUNCF$])
159852
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_TRUNCL])
159853
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_TRUNCL])
159854
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_TRUNCL$])
159855
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREXP_IN_LIBC])
159856
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FREXP_IN_LIBC$])
159857
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FREXP_IN_LIBC], [/* Define if the frexp() function is available in libc. */
159858
 
+@%:@undef HAVE_FREXP_IN_LIBC])
159859
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FREXP])
159860
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FREXP$])
159861
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_FREXP], [/* Define to 1 when the gnulib module frexp should be tested. */
159862
 
+@%:@undef GNULIB_TEST_FREXP])
159863
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREXPL_IN_LIBC])
159864
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FREXPL_IN_LIBC$])
159865
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FREXPL_IN_LIBC], [/* Define if the frexpl() function is available in libc. */
159866
 
+@%:@undef HAVE_FREXPL_IN_LIBC])
159867
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FREXPL])
159868
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FREXPL$])
159869
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_FREXPL], [/* Define to 1 when the gnulib module frexpl should be tested. */
159870
 
+@%:@undef GNULIB_TEST_FREXPL])
159871
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FSEEKO])
159872
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FSEEKO$])
159873
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_FSEEKO], [/* Define to 1 if you have the declaration of `fseeko\', and to 0 if you don\'t.
159874
 
+   */
159875
 
+@%:@undef HAVE_DECL_FSEEKO])
159876
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FSEEK])
159877
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FSEEK$])
159878
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_FSEEK], [/* Define to 1 when the gnulib module fseek should be tested. */
159879
 
+@%:@undef GNULIB_TEST_FSEEK])
159880
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FSEEKO])
159881
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FSEEKO$])
159882
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_FSEEKO], [/* Define to 1 when the gnulib module fseeko should be tested. */
159883
 
+@%:@undef GNULIB_TEST_FSEEKO])
159884
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
159885
 
+@%:@undef HAVE_SYS_PARAM_H])
159886
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_VFS_H], [/* Define to 1 if you have the <sys/vfs.h> header file. */
159887
 
+@%:@undef HAVE_SYS_VFS_H])
159888
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_FS_TYPES_H], [/* Define to 1 if you have the <sys/fs_types.h> header file. */
159889
 
+@%:@undef HAVE_SYS_FS_TYPES_H])
159890
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_MOUNT_H], [/* Define to 1 if you have the <sys/mount.h> header file. */
159891
 
+@%:@undef HAVE_SYS_MOUNT_H])
159892
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_MOUNT_H])
159893
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_MOUNT_H$])
159894
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([STAT_STATVFS64])
159895
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_STATVFS64$])
159896
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([STAT_STATVFS64], [/* Define if statvfs64 should be preferred over statvfs. */
159897
 
+@%:@undef STAT_STATVFS64])
159898
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([STAT_STATVFS])
159899
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_STATVFS$])
159900
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([STAT_STATVFS], [/* Define if there is a function named statvfs. (SVR4) */
159901
 
+@%:@undef STAT_STATVFS])
159902
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([STAT_STATFS3_OSF1])
159903
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_STATFS3_OSF1$])
159904
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([STAT_STATFS3_OSF1], [/* Define if statfs takes 3 args. (DEC Alpha running OSF/1) */
159905
 
+@%:@undef STAT_STATFS3_OSF1])
159906
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([STAT_STATFS2_BSIZE])
159907
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_STATFS2_BSIZE$])
159908
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([STAT_STATFS2_BSIZE], [/* Define if statfs takes 2 args and struct statfs has a field named f_bsize.
159909
 
+   (4.3BSD, SunOS 4, HP-UX, AIX PS/2) */
159910
 
+@%:@undef STAT_STATFS2_BSIZE])
159911
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([STAT_STATFS4])
159912
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_STATFS4$])
159913
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([STAT_STATFS4], [/* Define if statfs takes 4 args. (SVR3, Dynix, old Irix, old AIX, Dolphin) */
159914
 
+@%:@undef STAT_STATFS4])
159915
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([STAT_STATFS2_FSIZE])
159916
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_STATFS2_FSIZE$])
159917
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([STAT_STATFS2_FSIZE], [/* Define if statfs takes 2 args and struct statfs has a field named f_fsize.
159918
 
+   (4.4BSD, NetBSD) */
159919
 
+@%:@undef STAT_STATFS2_FSIZE])
159920
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([STAT_STATFS2_FS_DATA])
159921
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_STATFS2_FS_DATA$])
159922
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([STAT_STATFS2_FS_DATA], [/* Define if statfs takes 2 args and the second argument has type struct
159923
 
+   fs_data. (Ultrix) */
159924
 
+@%:@undef STAT_STATFS2_FS_DATA])
159925
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([STAT_READ_FILSYS])
159926
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_READ_FILSYS$])
159927
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([STAT_READ_FILSYS], [/* Define if there is no specific function for reading file systems usage
159928
 
+   information and you have the <sys/filsys.h> header file. (SVR2) */
159929
 
+@%:@undef STAT_READ_FILSYS])
159930
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DUSTAT_H], [/* Define to 1 if you have the <dustat.h> header file. */
159931
 
+@%:@undef HAVE_DUSTAT_H])
159932
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_FS_S5PARAM_H], [/* Define to 1 if you have the <sys/fs/s5param.h> header file. */
159933
 
+@%:@undef HAVE_SYS_FS_S5PARAM_H])
159934
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_FILSYS_H], [/* Define to 1 if you have the <sys/filsys.h> header file. */
159935
 
+@%:@undef HAVE_SYS_FILSYS_H])
159936
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_STATFS_H], [/* Define to 1 if you have the <sys/statfs.h> header file. */
159937
 
+@%:@undef HAVE_SYS_STATFS_H])
159938
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([STATFS_TRUNCATES_BLOCK_COUNTS])
159939
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STATFS_TRUNCATES_BLOCK_COUNTS$])
159940
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([STATFS_TRUNCATES_BLOCK_COUNTS], [/* Define if the block counts reported by statfs may be truncated to 2GB and
159941
 
+   the correct values may be stored in the f_spare array. (SunOS 4.1.2, 4.1.3,
159942
 
+   and 4.1.3_U1 are reported to have this problem. SunOS 4.1.1 seems not to be
159943
 
+   affected.) */
159944
 
+@%:@undef STATFS_TRUNCATES_BLOCK_COUNTS])
159945
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FSYNC], [/* Define to 1 if you have the `fsync\' function. */
159946
 
+@%:@undef HAVE_FSYNC])
159947
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FSYNC])
159948
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FSYNC$])
159949
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_FSYNC], [/* Define to 1 when the gnulib module fsync should be tested. */
159950
 
+@%:@undef GNULIB_TEST_FSYNC])
159951
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FTELLO])
159952
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FTELLO$])
159953
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_FTELLO], [/* Define to 1 if you have the declaration of `ftello\', and to 0 if you don\'t.
159954
 
+   */
159955
 
+@%:@undef HAVE_DECL_FTELLO])
159956
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE])
159957
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE$])
159958
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE], [/* Define to 1 if the system\'s ftello function has the Solaris bug. */
159959
 
+@%:@undef FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE])
159960
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FTELL])
159961
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FTELL$])
159962
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_FTELL], [/* Define to 1 when the gnulib module ftell should be tested. */
159963
 
+@%:@undef GNULIB_TEST_FTELL])
159964
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE])
159965
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE$])
159966
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE], [/* Define to 1 if the system\'s ftello function has the Solaris bug. */
159967
 
+@%:@undef FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE])
159968
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FTELLO])
159969
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FTELLO$])
159970
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_FTELLO], [/* Define to 1 when the gnulib module ftello should be tested. */
159971
 
+@%:@undef GNULIB_TEST_FTELLO])
159972
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRTOF], [/* Define to 1 if you have the `strtof\' function. */
159973
 
+@%:@undef HAVE_STRTOF])
159974
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FCHMODAT], [/* Define to 1 if you have the `fchmodat\' function. */
159975
 
+@%:@undef HAVE_FCHMODAT])
159976
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LCHMOD], [/* Define to 1 if you have the `lchmod\' function. */
159977
 
+@%:@undef HAVE_LCHMOD])
159978
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MKDIRAT], [/* Define to 1 if you have the `mkdirat\' function. */
159979
 
+@%:@undef HAVE_MKDIRAT])
159980
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_OPENAT], [/* Define to 1 if you have the `openat\' function. */
159981
 
+@%:@undef HAVE_OPENAT])
159982
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UNLINKAT], [/* Define to 1 if you have the `unlinkat\' function. */
159983
 
+@%:@undef HAVE_UNLINKAT])
159984
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FCHOWNAT_NOFOLLOW_BUG])
159985
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FCHOWNAT_NOFOLLOW_BUG$])
159986
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FCHOWNAT_NOFOLLOW_BUG], [/* Define to 1 if your platform has fchownat, but it cannot perform lchown
159987
 
+   tasks. */
159988
 
+@%:@undef FCHOWNAT_NOFOLLOW_BUG])
159989
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FCHOWNAT_EMPTY_FILENAME_BUG])
159990
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FCHOWNAT_EMPTY_FILENAME_BUG$])
159991
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FCHOWNAT_EMPTY_FILENAME_BUG], [/* Define to 1 if your platform has fchownat, but it does not reject an empty
159992
 
+   file name. */
159993
 
+@%:@undef FCHOWNAT_EMPTY_FILENAME_BUG])
159994
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FSTATAT], [/* Define to 1 if you have the `fstatat\' function. */
159995
 
+@%:@undef HAVE_FSTATAT])
159996
 
+m4trace:configure.ac:45: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
159997
 
+../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
159998
 
+../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
159999
 
+../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
160000
 
+m4/openat.m4:161: gl_FUNC_FSTATAT is expanded from...
160001
 
+m4/openat.m4:11: gl_FUNC_OPENAT is expanded from...
160002
 
+m4/fts.m4:12: gl_FUNC_FTS_CORE is expanded from...
160003
 
+m4/fts.m4:7: gl_FUNC_FTS is expanded from...
160004
 
+m4/gnulib-comp.m4:703: gl_INIT is expanded from...
160005
 
+configure.ac:45: the top level])
160006
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FSTATAT_ZERO_FLAG_BROKEN])
160007
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FSTATAT_ZERO_FLAG_BROKEN$])
160008
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FSTATAT_ZERO_FLAG_BROKEN], [/* Define to 1 if fstatat (..., 0) does not work, as in AIX 7.1. */
160009
 
+@%:@undef FSTATAT_ZERO_FLAG_BROKEN])
160010
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_OPENAT])
160011
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_OPENAT$])
160012
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_OPENAT], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
160013
 
+   whether the gnulib module openat shall be considered present. */
160014
 
+@%:@undef GNULIB_OPENAT])
160015
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FSTATFS], [/* Define to 1 if you have the `fstatfs\' function. */
160016
 
+@%:@undef HAVE_FSTATFS])
160017
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
160018
 
+@%:@undef HAVE_SYS_PARAM_H])
160019
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_VFS_H], [/* Define to 1 if you have the <sys/vfs.h> header file. */
160020
 
+@%:@undef HAVE_SYS_VFS_H])
160021
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STATFS_F_TYPE])
160022
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STATFS_F_TYPE$])
160023
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_STATFS_F_TYPE], [/* Define to 1 if `f_type\' is a member of `struct statfs\'. */
160024
 
+@%:@undef HAVE_STRUCT_STATFS_F_TYPE])
160025
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FUTIMENS], [/* Define to 1 if you have the `futimens\' function. */
160026
 
+@%:@undef HAVE_FUTIMENS])
160027
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FUTIMENS])
160028
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_FUTIMENS$])
160029
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_FUTIMENS], [/* Define to 1 when the gnulib module futimens should be tested. */
160030
 
+@%:@undef GNULIB_TEST_FUTIMENS])
160031
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SOCKET])
160032
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SOCKET])
160033
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SOCKET$])
160034
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_CONNECT])
160035
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_CONNECT])
160036
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_CONNECT$])
160037
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ACCEPT])
160038
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ACCEPT])
160039
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ACCEPT$])
160040
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_BIND])
160041
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_BIND])
160042
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_BIND$])
160043
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETPEERNAME])
160044
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETPEERNAME])
160045
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETPEERNAME$])
160046
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETSOCKNAME])
160047
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETSOCKNAME])
160048
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETSOCKNAME$])
160049
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETSOCKOPT])
160050
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETSOCKOPT])
160051
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETSOCKOPT$])
160052
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_LISTEN])
160053
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_LISTEN])
160054
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_LISTEN$])
160055
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_RECV])
160056
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_RECV])
160057
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_RECV$])
160058
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SEND])
160059
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SEND])
160060
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SEND$])
160061
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_RECVFROM])
160062
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_RECVFROM])
160063
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_RECVFROM$])
160064
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SENDTO])
160065
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SENDTO])
160066
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SENDTO$])
160067
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SETSOCKOPT])
160068
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SETSOCKOPT])
160069
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SETSOCKOPT$])
160070
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SHUTDOWN])
160071
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SHUTDOWN])
160072
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SHUTDOWN$])
160073
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ACCEPT4])
160074
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ACCEPT4])
160075
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ACCEPT4$])
160076
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STRUCT_SOCKADDR_STORAGE])
160077
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STRUCT_SOCKADDR_STORAGE])
160078
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$])
160079
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY])
160080
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY])
160081
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY$])
160082
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SA_FAMILY_T])
160083
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SA_FAMILY_T])
160084
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SA_FAMILY_T$])
160085
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_ACCEPT4])
160086
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_ACCEPT4])
160087
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ACCEPT4$])
160088
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_PII_SOCKET])
160089
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^_POSIX_PII_SOCKET$])
160090
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([_POSIX_PII_SOCKET], [/* Define to 1 in order to get the POSIX compatible declarations of socket
160091
 
+   functions. */
160092
 
+@%:@undef _POSIX_PII_SOCKET])
160093
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SHUTDOWN], [/* Define to 1 if you have the `shutdown\' function. */
160094
 
+@%:@undef HAVE_SHUTDOWN])
160095
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SHUTDOWN])
160096
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SHUTDOWN$])
160097
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
160098
 
+@%:@undef HAVE_SYS_SOCKET_H])
160099
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WS2TCPIP_H], [/* Define to 1 if you have the <ws2tcpip.h> header file. */
160100
 
+@%:@undef HAVE_WS2TCPIP_H])
160101
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WS2TCPIP_H])
160102
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$])
160103
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
160104
 
+@%:@undef HAVE_SYS_SOCKET_H])
160105
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_SYS_SOCKET_H], [AS_VAR_GET(gl_next_header)])
160106
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_SYS_SOCKET_H])
160107
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_SOCKET_H$])
160108
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H], [$gl_next_as_first_directive])
160109
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H])
160110
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H$])
160111
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SYS_SOCKET_H])
160112
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SYS_SOCKET_H])
160113
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$])
160114
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WS2TCPIP_H])
160115
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WS2TCPIP_H])
160116
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$])
160117
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE])
160118
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$])
160119
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE], [/* Define to 1 if the system has the type `struct sockaddr_storage\'. */
160120
 
+@%:@undef HAVE_STRUCT_SOCKADDR_STORAGE])
160121
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SA_FAMILY_T])
160122
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SA_FAMILY_T$])
160123
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SA_FAMILY_T], [/* Define to 1 if the system has the type `sa_family_t\'. */
160124
 
+@%:@undef HAVE_SA_FAMILY_T])
160125
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY])
160126
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY$])
160127
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY], [/* Define to 1 if `ss_family\' is a member of `struct sockaddr_storage\'. */
160128
 
+@%:@undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY])
160129
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
160130
 
+@%:@undef HAVE_SYS_SOCKET_H])
160131
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the <winsock2.h> header file. */
160132
 
+@%:@undef HAVE_WINSOCK2_H])
160133
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H])
160134
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
160135
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WINSOCK2_H])
160136
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WINSOCK2_H])
160137
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
160138
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SOCKET], [/* Define to 1 if socket is declared even after undefining macros. */
160139
 
+@%:@undef HAVE_RAW_DECL_SOCKET])
160140
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_CONNECT], [/* Define to 1 if connect is declared even after undefining macros. */
160141
 
+@%:@undef HAVE_RAW_DECL_CONNECT])
160142
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_ACCEPT], [/* Define to 1 if accept is declared even after undefining macros. */
160143
 
+@%:@undef HAVE_RAW_DECL_ACCEPT])
160144
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_BIND], [/* Define to 1 if bind is declared even after undefining macros. */
160145
 
+@%:@undef HAVE_RAW_DECL_BIND])
160146
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETPEERNAME], [/* Define to 1 if getpeername is declared even after undefining macros. */
160147
 
+@%:@undef HAVE_RAW_DECL_GETPEERNAME])
160148
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETSOCKNAME], [/* Define to 1 if getsockname is declared even after undefining macros. */
160149
 
+@%:@undef HAVE_RAW_DECL_GETSOCKNAME])
160150
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETSOCKOPT], [/* Define to 1 if getsockopt is declared even after undefining macros. */
160151
 
+@%:@undef HAVE_RAW_DECL_GETSOCKOPT])
160152
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_LISTEN], [/* Define to 1 if listen is declared even after undefining macros. */
160153
 
+@%:@undef HAVE_RAW_DECL_LISTEN])
160154
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_RECV], [/* Define to 1 if recv is declared even after undefining macros. */
160155
 
+@%:@undef HAVE_RAW_DECL_RECV])
160156
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SEND], [/* Define to 1 if send is declared even after undefining macros. */
160157
 
+@%:@undef HAVE_RAW_DECL_SEND])
160158
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_RECVFROM], [/* Define to 1 if recvfrom is declared even after undefining macros. */
160159
 
+@%:@undef HAVE_RAW_DECL_RECVFROM])
160160
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SENDTO], [/* Define to 1 if sendto is declared even after undefining macros. */
160161
 
+@%:@undef HAVE_RAW_DECL_SENDTO])
160162
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SETSOCKOPT], [/* Define to 1 if setsockopt is declared even after undefining macros. */
160163
 
+@%:@undef HAVE_RAW_DECL_SETSOCKOPT])
160164
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SHUTDOWN], [/* Define to 1 if shutdown is declared even after undefining macros. */
160165
 
+@%:@undef HAVE_RAW_DECL_SHUTDOWN])
160166
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_ACCEPT4], [/* Define to 1 if accept4 is declared even after undefining macros. */
160167
 
+@%:@undef HAVE_RAW_DECL_ACCEPT4])
160168
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETADDRINFO])
160169
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETADDRINFO])
160170
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETADDRINFO$])
160171
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STRUCT_ADDRINFO])
160172
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STRUCT_ADDRINFO])
160173
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_ADDRINFO$])
160174
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_FREEADDRINFO])
160175
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_FREEADDRINFO])
160176
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FREEADDRINFO$])
160177
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_GAI_STRERROR])
160178
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_GAI_STRERROR])
160179
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GAI_STRERROR$])
160180
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_GETADDRINFO])
160181
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_GETADDRINFO])
160182
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETADDRINFO$])
160183
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_GETNAMEINFO])
160184
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_GETNAMEINFO])
160185
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETNAMEINFO$])
160186
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_GAI_STRERROR])
160187
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_GAI_STRERROR])
160188
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GAI_STRERROR$])
160189
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
160190
 
+@%:@undef HAVE_NETDB_H])
160191
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_NETDB_H], [AS_VAR_GET(gl_next_header)])
160192
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_NETDB_H])
160193
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_NETDB_H$])
160194
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_NETDB_H], [$gl_next_as_first_directive])
160195
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_NETDB_H])
160196
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_NETDB_H$])
160197
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_NETDB_H])
160198
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_NETDB_H])
160199
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NETDB_H$])
160200
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETADDRINFO], [/* Define to 1 if getaddrinfo is declared even after undefining macros. */
160201
 
+@%:@undef HAVE_RAW_DECL_GETADDRINFO])
160202
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FREEADDRINFO], [/* Define to 1 if freeaddrinfo is declared even after undefining macros. */
160203
 
+@%:@undef HAVE_RAW_DECL_FREEADDRINFO])
160204
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GAI_STRERROR], [/* Define to 1 if gai_strerror is declared even after undefining macros. */
160205
 
+@%:@undef HAVE_RAW_DECL_GAI_STRERROR])
160206
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETNAMEINFO], [/* Define to 1 if getnameinfo is declared even after undefining macros. */
160207
 
+@%:@undef HAVE_RAW_DECL_GETNAMEINFO])
160208
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GAI_STRERROR])
160209
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GAI_STRERROR$])
160210
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_GAI_STRERROR], [/* Define to 1 if you have the declaration of `gai_strerror\', and to 0 if you
160211
 
+   don\'t. */
160212
 
+@%:@undef HAVE_DECL_GAI_STRERROR])
160213
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GAI_STRERRORA])
160214
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GAI_STRERRORA$])
160215
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_GAI_STRERRORA], [/* Define to 1 if you have the declaration of `gai_strerrorA\', and to 0 if you
160216
 
+   don\'t. */
160217
 
+@%:@undef HAVE_DECL_GAI_STRERRORA])
160218
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the `gethostbyname\' function. */
160219
 
+@%:@undef HAVE_GETHOSTBYNAME])
160220
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME])
160221
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$])
160222
 
+m4trace:configure.ac:45: -1- AC_SUBST([HOSTENT_LIB])
160223
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HOSTENT_LIB])
160224
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HOSTENT_LIB$])
160225
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETSERVBYNAME], [/* Define to 1 if you have the `getservbyname\' function. */
160226
 
+@%:@undef HAVE_GETSERVBYNAME])
160227
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETSERVBYNAME])
160228
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETSERVBYNAME$])
160229
 
+m4trace:configure.ac:45: -1- AC_SUBST([SERVENT_LIB])
160230
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([SERVENT_LIB])
160231
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SERVENT_LIB$])
160232
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* Define to 1 if you have the `inet_ntop\' function. */
160233
 
+@%:@undef HAVE_INET_NTOP])
160234
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_NTOP])
160235
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_INET_NTOP$])
160236
 
+m4trace:configure.ac:45: -1- AC_SUBST([INET_NTOP_LIB])
160237
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([INET_NTOP_LIB])
160238
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INET_NTOP_LIB$])
160239
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
160240
 
+@%:@undef HAVE_NETDB_H])
160241
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_INET_NTOP])
160242
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_INET_NTOP$])
160243
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_INET_NTOP], [/* Define to 1 if you have the declaration of `inet_ntop\', and to 0 if you
160244
 
+   don\'t. */
160245
 
+@%:@undef HAVE_DECL_INET_NTOP])
160246
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
160247
 
+@%:@undef HAVE_NETINET_IN_H])
160248
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IPV4])
160249
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_IPV4$])
160250
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_IPV4], [/* Define to 1 if <sys/socket.h> defines AF_INET. */
160251
 
+@%:@undef HAVE_IPV4])
160252
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IPV6])
160253
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_IPV6$])
160254
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_IPV6], [/* Define to 1 if <sys/socket.h> defines AF_INET6. */
160255
 
+@%:@undef HAVE_IPV6])
160256
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_SA_LEN])
160257
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_SA_LEN$])
160258
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_SA_LEN], [/* Define to 1 if `sa_len\' is a member of `struct sockaddr\'. */
160259
 
+@%:@undef HAVE_STRUCT_SOCKADDR_SA_LEN])
160260
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
160261
 
+@%:@undef HAVE_NETINET_IN_H])
160262
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETADDRINFO])
160263
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETADDRINFO$])
160264
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_GETADDRINFO], [/* Define to 1 if you have the declaration of `getaddrinfo\', and to 0 if you
160265
 
+   don\'t. */
160266
 
+@%:@undef HAVE_DECL_GETADDRINFO])
160267
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FREEADDRINFO])
160268
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FREEADDRINFO$])
160269
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_FREEADDRINFO], [/* Define to 1 if you have the declaration of `freeaddrinfo\', and to 0 if you
160270
 
+   don\'t. */
160271
 
+@%:@undef HAVE_DECL_FREEADDRINFO])
160272
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETNAMEINFO])
160273
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETNAMEINFO$])
160274
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_GETNAMEINFO], [/* Define to 1 if you have the declaration of `getnameinfo\', and to 0 if you
160275
 
+   don\'t. */
160276
 
+@%:@undef HAVE_DECL_GETNAMEINFO])
160277
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_ADDRINFO])
160278
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_ADDRINFO$])
160279
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_ADDRINFO], [/* Define to 1 if the system has the type `struct addrinfo\'. */
160280
 
+@%:@undef HAVE_STRUCT_ADDRINFO])
160281
 
+m4trace:configure.ac:45: -1- AC_SUBST([GETADDRINFO_LIB])
160282
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GETADDRINFO_LIB])
160283
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETADDRINFO_LIB$])
160284
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETADDRINFO])
160285
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETADDRINFO$])
160286
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_GETADDRINFO], [/* Define to 1 when the gnulib module getaddrinfo should be tested. */
160287
 
+@%:@undef GNULIB_TEST_GETADDRINFO])
160288
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETCWD])
160289
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETCWD$])
160290
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_GETCWD], [/* Define to 1 if you have the declaration of `getcwd\', and to 0 if you don\'t.
160291
 
+   */
160292
 
+@%:@undef HAVE_DECL_GETCWD])
160293
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PARTLY_WORKING_GETCWD])
160294
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PARTLY_WORKING_GETCWD$])
160295
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PARTLY_WORKING_GETCWD], [/* Define to 1 if getcwd works, except it sometimes fails when it shouldn\'t,
160296
 
+   setting errno to ERANGE, ENAMETOOLONG, or ENOENT. */
160297
 
+@%:@undef HAVE_PARTLY_WORKING_GETCWD])
160298
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETPAGESIZE], [/* Define to 1 if you have the `getpagesize\' function. */
160299
 
+@%:@undef HAVE_GETPAGESIZE])
160300
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPAGESIZE])
160301
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$])
160302
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_GETCWD])
160303
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETCWD$])
160304
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_GETCWD], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
160305
 
+   whether the gnulib module getcwd shall be considered present. */
160306
 
+@%:@undef GNULIB_GETCWD])
160307
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETCWD])
160308
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETCWD$])
160309
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_GETCWD], [/* Define to 1 when the gnulib module getcwd should be tested. */
160310
 
+@%:@undef GNULIB_TEST_GETCWD])
160311
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETCWD])
160312
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETCWD$])
160313
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_GETCWD], [/* Define to 1 when the gnulib module getcwd should be tested. */
160314
 
+@%:@undef GNULIB_TEST_GETCWD])
160315
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETDELIM])
160316
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETDELIM$])
160317
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_GETDELIM], [/* Define to 1 if you have the declaration of `getdelim\', and to 0 if you
160318
 
+   don\'t. */
160319
 
+@%:@undef HAVE_DECL_GETDELIM])
160320
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETDELIM], [/* Define to 1 if you have the `getdelim\' function. */
160321
 
+@%:@undef HAVE_GETDELIM])
160322
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FLOCKFILE], [/* Define to 1 if you have the `flockfile\' function. */
160323
 
+@%:@undef HAVE_FLOCKFILE])
160324
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FUNLOCKFILE], [/* Define to 1 if you have the `funlockfile\' function. */
160325
 
+@%:@undef HAVE_FUNLOCKFILE])
160326
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETC_UNLOCKED])
160327
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$])
160328
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_GETC_UNLOCKED], [/* Define to 1 if you have the declaration of `getc_unlocked\', and to 0 if you
160329
 
+   don\'t. */
160330
 
+@%:@undef HAVE_DECL_GETC_UNLOCKED])
160331
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETDELIM])
160332
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETDELIM$])
160333
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_GETDELIM], [/* Define to 1 when the gnulib module getdelim should be tested. */
160334
 
+@%:@undef GNULIB_TEST_GETDELIM])
160335
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETDTABLESIZE], [/* Define to 1 if you have the `getdtablesize\' function. */
160336
 
+@%:@undef HAVE_GETDTABLESIZE])
160337
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETDTABLESIZE])
160338
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETDTABLESIZE$])
160339
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_GETDTABLESIZE], [/* Define to 1 when the gnulib module getdtablesize should be tested. */
160340
 
+@%:@undef GNULIB_TEST_GETDTABLESIZE])
160341
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GETGROUPS_ZERO_BUG])
160342
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETGROUPS_ZERO_BUG$])
160343
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GETGROUPS_ZERO_BUG], [/* Define this to 1 if getgroups(0,NULL) does not return the number of groups.
160344
 
+   */
160345
 
+@%:@undef GETGROUPS_ZERO_BUG])
160346
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETGROUPS])
160347
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETGROUPS$])
160348
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_GETGROUPS], [/* Define to 1 when the gnulib module getgroups should be tested. */
160349
 
+@%:@undef GNULIB_TEST_GETGROUPS])
160350
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
160351
 
+@%:@undef HAVE_SYS_SOCKET_H])
160352
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the <winsock2.h> header file. */
160353
 
+@%:@undef HAVE_WINSOCK2_H])
160354
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H])
160355
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
160356
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WINSOCK2_H])
160357
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WINSOCK2_H])
160358
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
160359
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETHOSTNAME], [/* Define to 1 if you have the `gethostname\' function. */
160360
 
+@%:@undef HAVE_GETHOSTNAME])
160361
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTNAME])
160362
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$])
160363
 
+m4trace:configure.ac:45: -1- AC_SUBST([GETHOSTNAME_LIB])
160364
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GETHOSTNAME_LIB])
160365
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETHOSTNAME_LIB$])
160366
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
160367
 
+@%:@undef HAVE_SYS_PARAM_H])
160368
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
160369
 
+@%:@undef HAVE_SYS_SOCKET_H])
160370
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
160371
 
+@%:@undef HAVE_NETDB_H])
160372
 
+m4trace:configure.ac:45: -1- _m4_warn([obsolete], [The macro `_AC_COMPUTE_INT' is obsolete and will be deleted in a
160373
 
+future version or Autoconf.  Hence, it is suggested that you use
160374
 
+instead the public AC_COMPUTE_INT macro.  Note that the arguments are
160375
 
+slightly different between the two.], [../../lib/autoconf/general.m4:3075: _AC_COMPUTE_INT is expanded from...
160376
 
+../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
160377
 
+../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
160378
 
+../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
160379
 
+m4/gethostname.m4:10: gl_FUNC_GETHOSTNAME is expanded from...
160380
 
+m4/gnulib-comp.m4:703: gl_INIT is expanded from...
160381
 
+configure.ac:45: the top level])
160382
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HOST_NAME_MAX])
160383
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HOST_NAME_MAX$])
160384
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HOST_NAME_MAX], [/* Define HOST_NAME_MAX when <limits.h> does not define it. */
160385
 
+@%:@undef HOST_NAME_MAX])
160386
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UNAME], [/* Define to 1 if you have the `uname\' function. */
160387
 
+@%:@undef HAVE_UNAME])
160388
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNAME])
160389
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNAME$])
160390
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETHOSTNAME])
160391
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETHOSTNAME$])
160392
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_GETHOSTNAME], [/* Define to 1 when the gnulib module gethostname should be tested. */
160393
 
+@%:@undef GNULIB_TEST_GETHOSTNAME])
160394
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ARITHMETIC_HRTIME_T])
160395
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ARITHMETIC_HRTIME_T$])
160396
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ARITHMETIC_HRTIME_T], [/* Define if you have an arithmetic hrtime_t type. */
160397
 
+@%:@undef HAVE_ARITHMETIC_HRTIME_T])
160398
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNSIGNED_LONG_LONG_INT])
160399
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$])
160400
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UNSIGNED_LONG_LONG_INT], [/* Define to 1 if the system has the type `unsigned long long int\'. */
160401
 
+@%:@undef HAVE_UNSIGNED_LONG_LONG_INT])
160402
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_LONG_INT])
160403
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$])
160404
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LONG_LONG_INT], [/* Define to 1 if the system has the type `long long int\'. */
160405
 
+@%:@undef HAVE_LONG_LONG_INT])
160406
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETHRTIME])
160407
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETHRTIME$])
160408
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_GETHRTIME], [/* Define to 1 if you have the declaration of `gethrtime\', and to 0 if you
160409
 
+   don\'t. */
160410
 
+@%:@undef HAVE_DECL_GETHRTIME])
160411
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NANOUPTIME], [/* Define to 1 if you have the `nanouptime\' function. */
160412
 
+@%:@undef HAVE_NANOUPTIME])
160413
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIB_GETHRXTIME])
160414
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIB_GETHRXTIME])
160415
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB_GETHRXTIME$])
160416
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MICROUPTIME], [/* Define to 1 if you have the `microuptime\' function. */
160417
 
+@%:@undef HAVE_MICROUPTIME])
160418
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETLINE])
160419
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETLINE$])
160420
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_GETLINE], [/* Define to 1 if you have the declaration of `getline\', and to 0 if you
160421
 
+   don\'t. */
160422
 
+@%:@undef HAVE_DECL_GETLINE])
160423
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETLINE])
160424
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETLINE$])
160425
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_GETLINE], [/* Define to 1 when the gnulib module getline should be tested. */
160426
 
+@%:@undef GNULIB_TEST_GETLINE])
160427
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LIBKSTAT], [/* Define to 1 if you have the `kstat\' library (-lkstat). */
160428
 
+@%:@undef HAVE_LIBKSTAT])
160429
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBKSTAT])
160430
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LIBKSTAT$])
160431
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LIBPERFSTAT], [/* Define to 1 if you have the `perfstat\' library (-lperfstat). */
160432
 
+@%:@undef HAVE_LIBPERFSTAT])
160433
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPERFSTAT])
160434
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LIBPERFSTAT$])
160435
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([DGUX])
160436
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DGUX$])
160437
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([DGUX], [/* Define to 1 for DGUX with <sys/dg_sys_info.h>. */
160438
 
+@%:@undef DGUX])
160439
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LIBDGC], [/* Define to 1 if you have the `dgc\' library (-ldgc). */
160440
 
+@%:@undef HAVE_LIBDGC])
160441
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDGC])
160442
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LIBDGC$])
160443
 
+m4trace:configure.ac:45: -1- AC_SUBST([GETLOADAVG_LIBS])
160444
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GETLOADAVG_LIBS])
160445
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETLOADAVG_LIBS$])
160446
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_LOADAVG_H], [/* Define to 1 if you have the <sys/loadavg.h> header file. */
160447
 
+@%:@undef HAVE_SYS_LOADAVG_H])
160448
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_LOADAVG_H])
160449
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_LOADAVG_H$])
160450
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PSTAT_GETDYNAMIC], [/* Define to 1 if you have the `pstat_getdynamic\' function. */
160451
 
+@%:@undef HAVE_PSTAT_GETDYNAMIC])
160452
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PSTAT_GETDYNAMIC])
160453
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PSTAT_GETDYNAMIC$])
160454
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([SVR4])
160455
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SVR4$])
160456
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([SVR4], [/* Define to 1 on System V Release 4. */
160457
 
+@%:@undef SVR4])
160458
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([UMAX])
160459
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UMAX$])
160460
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([UMAX], [/* Define to 1 for Encore UMAX. */
160461
 
+@%:@undef UMAX])
160462
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([UMAX4_3])
160463
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UMAX4_3$])
160464
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([UMAX4_3], [/* Define to 1 for Encore UMAX 4.3 that has <inq_status/cpustats.h> instead of
160465
 
+   <sys/cpustats.h>. */
160466
 
+@%:@undef UMAX4_3])
160467
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([UMAX])
160468
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UMAX$])
160469
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MACH_MACH_H], [/* Define to 1 if you have the <mach/mach.h> header file. */
160470
 
+@%:@undef HAVE_MACH_MACH_H])
160471
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MACH_MACH_H])
160472
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MACH_MACH_H$])
160473
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NLIST_H], [/* Define to 1 if you have the <nlist.h> header file. */
160474
 
+@%:@undef HAVE_NLIST_H])
160475
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NLIST_H])
160476
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NLIST_H$])
160477
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_NLIST_N_UN_N_NAME])
160478
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_NLIST_N_UN_N_NAME$])
160479
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_NLIST_N_UN_N_NAME], [/* Define to 1 if `n_un.n_name\' is a member of `struct nlist\'. */
160480
 
+@%:@undef HAVE_STRUCT_NLIST_N_UN_N_NAME])
160481
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([N_NAME_POINTER])
160482
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^N_NAME_POINTER$])
160483
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([N_NAME_POINTER], [/* Define to 1 if the nlist n_name member is a pointer */
160484
 
+@%:@undef N_NAME_POINTER])
160485
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETLOADAVG])
160486
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETLOADAVG$])
160487
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_GETLOADAVG], [/* Define to 1 when the gnulib module getloadavg should be tested. */
160488
 
+@%:@undef GNULIB_TEST_GETLOADAVG])
160489
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([ssize_t])
160490
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ssize_t$])
160491
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([ssize_t], [/* Define as a signed type of the same size as size_t. */
160492
 
+@%:@undef ssize_t])
160493
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FLOCKFILE], [/* Define to 1 if you have the `flockfile\' function. */
160494
 
+@%:@undef HAVE_FLOCKFILE])
160495
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FUNLOCKFILE], [/* Define to 1 if you have the `funlockfile\' function. */
160496
 
+@%:@undef HAVE_FUNLOCKFILE])
160497
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETOPT_H], [/* Define to 1 if you have the <getopt.h> header file. */
160498
 
+@%:@undef HAVE_GETOPT_H])
160499
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_GETOPT_H], [AS_VAR_GET(gl_next_header)])
160500
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_GETOPT_H])
160501
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_GETOPT_H$])
160502
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_GETOPT_H], [$gl_next_as_first_directive])
160503
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_GETOPT_H])
160504
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_GETOPT_H$])
160505
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_GETOPT_H])
160506
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_GETOPT_H])
160507
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETOPT_H$])
160508
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETOPT_H], [/* Define to 1 if you have the <getopt.h> header file. */
160509
 
+@%:@undef HAVE_GETOPT_H])
160510
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETOPT_H])
160511
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETOPT_H$])
160512
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETOPT_LONG_ONLY], [/* Define to 1 if you have the `getopt_long_only\' function. */
160513
 
+@%:@undef HAVE_GETOPT_LONG_ONLY])
160514
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETOPT_LONG_ONLY])
160515
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETOPT_LONG_ONLY$])
160516
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([__GETOPT_PREFIX])
160517
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^__GETOPT_PREFIX$])
160518
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([__GETOPT_PREFIX], [/* Define to rpl_ if the getopt replacement functions and variables should be
160519
 
+   used. */
160520
 
+@%:@undef __GETOPT_PREFIX])
160521
 
+m4trace:configure.ac:45: -1- AC_SUBST([GETOPT_H])
160522
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GETOPT_H])
160523
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETOPT_H$])
160524
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETENV])
160525
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETENV$])
160526
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_GETENV], [/* Define to 1 if you have the declaration of `getenv\', and to 0 if you don\'t.
160527
 
+   */
160528
 
+@%:@undef HAVE_DECL_GETENV])
160529
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETOPT_GNU])
160530
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETOPT_GNU$])
160531
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_GETOPT_GNU], [/* Define to 1 when the gnulib module getopt-gnu should be tested. */
160532
 
+@%:@undef GNULIB_TEST_GETOPT_GNU])
160533
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([__GETOPT_PREFIX])
160534
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^__GETOPT_PREFIX$])
160535
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([__GETOPT_PREFIX], [/* Define to rpl_ if the getopt replacement functions and variables should be
160536
 
+   used. */
160537
 
+@%:@undef __GETOPT_PREFIX])
160538
 
+m4trace:configure.ac:45: -1- AC_SUBST([GETOPT_H])
160539
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GETOPT_H])
160540
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETOPT_H$])
160541
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETPAGESIZE], [/* Define to 1 if you have the `getpagesize\' function. */
160542
 
+@%:@undef HAVE_GETPAGESIZE])
160543
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPAGESIZE])
160544
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$])
160545
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_OS_H], [/* Define to 1 if you have the <OS.h> header file. */
160546
 
+@%:@undef HAVE_OS_H])
160547
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OS_H])
160548
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_OS_H$])
160549
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
160550
 
+@%:@undef HAVE_SYS_PARAM_H])
160551
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_PARAM_H])
160552
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$])
160553
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETPAGESIZE])
160554
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETPAGESIZE$])
160555
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_GETPAGESIZE], [/* Define to 1 when the gnulib module getpagesize should be tested. */
160556
 
+@%:@undef GNULIB_TEST_GETPAGESIZE])
160557
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETPASS])
160558
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETPASS$])
160559
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_GETPASS], [/* Define to 1 if you have the declaration of `getpass\', and to 0 if you
160560
 
+   don\'t. */
160561
 
+@%:@undef HAVE_DECL_GETPASS])
160562
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([getpass])
160563
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^getpass$])
160564
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([getpass], [/* Define to a replacement function name for getpass(). */
160565
 
+@%:@undef getpass])
160566
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STDIO_EXT_H], [/* Define to 1 if you have the <stdio_ext.h> header file. */
160567
 
+@%:@undef HAVE_STDIO_EXT_H])
160568
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_TERMIOS_H], [/* Define to 1 if you have the <termios.h> header file. */
160569
 
+@%:@undef HAVE_TERMIOS_H])
160570
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE___FSETLOCKING], [/* Define to 1 if you have the `__fsetlocking\' function. */
160571
 
+@%:@undef HAVE___FSETLOCKING])
160572
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_TCGETATTR], [/* Define to 1 if you have the `tcgetattr\' function. */
160573
 
+@%:@undef HAVE_TCGETATTR])
160574
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_TCSETATTR], [/* Define to 1 if you have the `tcsetattr\' function. */
160575
 
+@%:@undef HAVE_TCSETATTR])
160576
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL___FSETLOCKING])
160577
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL___FSETLOCKING$])
160578
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL___FSETLOCKING], [/* Define to 1 if you have the declaration of `__fsetlocking\', and to 0 if you
160579
 
+   don\'t. */
160580
 
+@%:@undef HAVE_DECL___FSETLOCKING])
160581
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FFLUSH_UNLOCKED])
160582
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FFLUSH_UNLOCKED$])
160583
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_FFLUSH_UNLOCKED], [/* Define to 1 if you have the declaration of `fflush_unlocked\', and to 0 if
160584
 
+   you don\'t. */
160585
 
+@%:@undef HAVE_DECL_FFLUSH_UNLOCKED])
160586
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FLOCKFILE])
160587
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FLOCKFILE$])
160588
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_FLOCKFILE], [/* Define to 1 if you have the declaration of `flockfile\', and to 0 if you
160589
 
+   don\'t. */
160590
 
+@%:@undef HAVE_DECL_FLOCKFILE])
160591
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FPUTS_UNLOCKED])
160592
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FPUTS_UNLOCKED$])
160593
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_FPUTS_UNLOCKED], [/* Define to 1 if you have the declaration of `fputs_unlocked\', and to 0 if
160594
 
+   you don\'t. */
160595
 
+@%:@undef HAVE_DECL_FPUTS_UNLOCKED])
160596
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FUNLOCKFILE])
160597
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FUNLOCKFILE$])
160598
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_FUNLOCKFILE], [/* Define to 1 if you have the declaration of `funlockfile\', and to 0 if you
160599
 
+   don\'t. */
160600
 
+@%:@undef HAVE_DECL_FUNLOCKFILE])
160601
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PUTC_UNLOCKED])
160602
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_PUTC_UNLOCKED$])
160603
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_PUTC_UNLOCKED], [/* Define to 1 if you have the declaration of `putc_unlocked\', and to 0 if you
160604
 
+   don\'t. */
160605
 
+@%:@undef HAVE_DECL_PUTC_UNLOCKED])
160606
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBINTL])
160607
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBINTL])
160608
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBINTL$])
160609
 
+m4trace:configure.ac:45: -1- AC_SUBST([LTLIBINTL])
160610
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LTLIBINTL])
160611
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LTLIBINTL$])
160612
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the `gettimeofday\' function. */
160613
 
+@%:@undef HAVE_GETTIMEOFDAY])
160614
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NANOTIME], [/* Define to 1 if you have the `nanotime\' function. */
160615
 
+@%:@undef HAVE_NANOTIME])
160616
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_GETTIMEOFDAY])
160617
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_GETTIMEOFDAY])
160618
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_GETTIMEOFDAY$])
160619
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_GETTIMEOFDAY])
160620
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_GETTIMEOFDAY])
160621
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETTIMEOFDAY$])
160622
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STRUCT_TIMEVAL])
160623
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STRUCT_TIMEVAL])
160624
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_TIMEVAL$])
160625
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SYS_TIME_H])
160626
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SYS_TIME_H])
160627
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$])
160628
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_GETTIMEOFDAY])
160629
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_GETTIMEOFDAY])
160630
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_GETTIMEOFDAY$])
160631
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
160632
 
+@%:@undef HAVE_SYS_TIME_H])
160633
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
160634
 
+@%:@undef HAVE_SYS_TIME_H])
160635
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_SYS_TIME_H], [AS_VAR_GET(gl_next_header)])
160636
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_SYS_TIME_H])
160637
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_TIME_H$])
160638
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H], [$gl_next_as_first_directive])
160639
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H])
160640
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H$])
160641
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETTIMEOFDAY], [/* Define to 1 if gettimeofday is declared even after undefining macros. */
160642
 
+@%:@undef HAVE_RAW_DECL_GETTIMEOFDAY])
160643
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the `gettimeofday\' function. */
160644
 
+@%:@undef HAVE_GETTIMEOFDAY])
160645
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([gmtime])
160646
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^gmtime$])
160647
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([gmtime], [/* Define to rpl_gmtime if the replacement function should be used. */
160648
 
+@%:@undef gmtime])
160649
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([localtime])
160650
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^localtime$])
160651
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([localtime], [/* Define to rpl_localtime if the replacement function should be used. */
160652
 
+@%:@undef localtime])
160653
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GETTIMEOFDAY_CLOBBERS_LOCALTIME])
160654
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETTIMEOFDAY_CLOBBERS_LOCALTIME$])
160655
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GETTIMEOFDAY_CLOBBERS_LOCALTIME], [/* Define if gettimeofday clobbers the localtime buffer. */
160656
 
+@%:@undef GETTIMEOFDAY_CLOBBERS_LOCALTIME])
160657
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RUN_TZSET_TEST])
160658
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_RUN_TZSET_TEST$])
160659
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RUN_TZSET_TEST], [/* Define to 1 if you have run the test for working tzset. */
160660
 
+@%:@undef HAVE_RUN_TZSET_TEST])
160661
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([gmtime])
160662
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^gmtime$])
160663
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([gmtime], [/* Define to rpl_gmtime if the replacement function should be used. */
160664
 
+@%:@undef gmtime])
160665
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([localtime])
160666
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^localtime$])
160667
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([localtime], [/* Define to rpl_localtime if the replacement function should be used. */
160668
 
+@%:@undef localtime])
160669
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([tzset])
160670
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^tzset$])
160671
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([tzset], [/* Define to rpl_tzset if the wrapper function should be used. */
160672
 
+@%:@undef tzset])
160673
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([TZSET_CLOBBERS_LOCALTIME])
160674
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^TZSET_CLOBBERS_LOCALTIME$])
160675
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([TZSET_CLOBBERS_LOCALTIME], [/* Define if tzset clobbers localtime\'s static buffer. */
160676
 
+@%:@undef TZSET_CLOBBERS_LOCALTIME])
160677
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GETTIMEOFDAY_TIMEZONE])
160678
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GETTIMEOFDAY_TIMEZONE$])
160679
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GETTIMEOFDAY_TIMEZONE], [/* Define this to \'void\' or \'struct timezone\' to match the system\'s
160680
 
+   declaration of the second argument to gettimeofday. */
160681
 
+@%:@undef GETTIMEOFDAY_TIMEZONE])
160682
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_TIMEB_H], [/* Define to 1 if you have the <sys/timeb.h> header file. */
160683
 
+@%:@undef HAVE_SYS_TIMEB_H])
160684
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIMEB_H])
160685
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$])
160686
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE__FTIME], [/* Define to 1 if you have the `_ftime\' function. */
160687
 
+@%:@undef HAVE__FTIME])
160688
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE__FTIME])
160689
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE__FTIME$])
160690
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETTIMEOFDAY])
160691
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETTIMEOFDAY$])
160692
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_GETTIMEOFDAY], [/* Define to 1 when the gnulib module gettimeofday should be tested. */
160693
 
+@%:@undef GNULIB_TEST_GETTIMEOFDAY])
160694
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GRP_H], [/* Define to 1 if you have the <grp.h> header file. */
160695
 
+@%:@undef HAVE_GRP_H])
160696
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETUSERSHELL], [/* Define to 1 if you have the `getusershell\' function. */
160697
 
+@%:@undef HAVE_GETUSERSHELL])
160698
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETUSERSHELL])
160699
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETUSERSHELL$])
160700
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_GETUSERSHELL], [/* Define to 1 if you have the declaration of `getusershell\', and to 0 if you
160701
 
+   don\'t. */
160702
 
+@%:@undef HAVE_DECL_GETUSERSHELL])
160703
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETUSERSHELL])
160704
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GETUSERSHELL$])
160705
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_GETUSERSHELL], [/* Define to 1 when the gnulib module getusershell should be tested. */
160706
 
+@%:@undef GNULIB_TEST_GETUSERSHELL])
160707
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GNU_MAKE], [${MAKE-make} --version /cannot/make/this >/dev/null 2>&1])
160708
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNU_MAKE_TRUE])
160709
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNU_MAKE_TRUE])
160710
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNU_MAKE_TRUE$])
160711
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNU_MAKE_FALSE])
160712
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNU_MAKE_FALSE])
160713
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNU_MAKE_FALSE$])
160714
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GNU_MAKE_TRUE])
160715
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GNU_MAKE_FALSE])
160716
 
+m4trace:configure.ac:45: -1- AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [], [GNUmakefile=$GNUmakefile])
160717
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GROUP_MEMBER])
160718
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_GROUP_MEMBER$])
160719
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_GROUP_MEMBER], [/* Define to 1 when the gnulib module group-member should be tested. */
160720
 
+@%:@undef GNULIB_TEST_GROUP_MEMBER])
160721
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HOST_OPERATING_SYSTEM])
160722
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HOST_OPERATING_SYSTEM$])
160723
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HOST_OPERATING_SYSTEM], [/* The host operating system. */
160724
 
+@%:@undef HOST_OPERATING_SYSTEM])
160725
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the `gethostbyname\' function. */
160726
 
+@%:@undef HAVE_GETHOSTBYNAME])
160727
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTBYNAME])
160728
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$])
160729
 
+m4trace:configure.ac:45: -1- AC_SUBST([HOSTENT_LIB])
160730
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HOSTENT_LIB])
160731
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HOSTENT_LIB$])
160732
 
+m4trace:configure.ac:45: -1- AC_REQUIRE_AUX_FILE([config.rpath])
160733
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ICONV])
160734
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ICONV$])
160735
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ICONV], [/* Define if you have the iconv() function and it works. */
160736
 
+@%:@undef HAVE_ICONV])
160737
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBICONV])
160738
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBICONV])
160739
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBICONV$])
160740
 
+m4trace:configure.ac:45: -1- AC_SUBST([LTLIBICONV])
160741
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LTLIBICONV])
160742
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LTLIBICONV$])
160743
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([ICONV_CONST])
160744
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ICONV_CONST$])
160745
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([ICONV_CONST], [/* Define as const if the declaration of iconv() needs const. */
160746
 
+@%:@undef ICONV_CONST])
160747
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ICONV])
160748
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ICONV])
160749
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ICONV$])
160750
 
+m4trace:configure.ac:45: -1- AC_SUBST([ICONV_CONST])
160751
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([ICONV_CONST])
160752
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ICONV_CONST$])
160753
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_ICONV])
160754
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_ICONV])
160755
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ICONV$])
160756
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_ICONV_OPEN])
160757
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_ICONV_OPEN])
160758
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ICONV_OPEN$])
160759
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_ICONV_UTF])
160760
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_ICONV_UTF])
160761
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ICONV_UTF$])
160762
 
+m4trace:configure.ac:45: -1- AC_SUBST([ICONV_H])
160763
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([ICONV_H])
160764
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ICONV_H$])
160765
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_ICONV_H], [test -n "$ICONV_H"])
160766
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_ICONV_H_TRUE])
160767
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_ICONV_H_TRUE])
160768
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ICONV_H_TRUE$])
160769
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_ICONV_H_FALSE])
160770
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_ICONV_H_FALSE])
160771
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ICONV_H_FALSE$])
160772
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ICONV_H_TRUE])
160773
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ICONV_H_FALSE])
160774
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ICONV_H], [/* Define to 1 if you have the <iconv.h> header file. */
160775
 
+@%:@undef HAVE_ICONV_H])
160776
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_ICONV_H], [AS_VAR_GET(gl_next_header)])
160777
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_ICONV_H])
160778
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_ICONV_H$])
160779
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_ICONV_H], [$gl_next_as_first_directive])
160780
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_ICONV_H])
160781
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_ICONV_H$])
160782
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_ICONV_H], [test -n "$ICONV_H"])
160783
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_ICONV_H_TRUE])
160784
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_ICONV_H_TRUE])
160785
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ICONV_H_TRUE$])
160786
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_ICONV_H_FALSE])
160787
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_ICONV_H_FALSE])
160788
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ICONV_H_FALSE$])
160789
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ICONV_H_TRUE])
160790
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ICONV_H_FALSE])
160791
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([ICONV_FLAVOR])
160792
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ICONV_FLAVOR$])
160793
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([ICONV_FLAVOR], [/* Define to a symbolic name denoting the flavor of iconv_open()
160794
 
+   implementation. */
160795
 
+@%:@undef ICONV_FLAVOR])
160796
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_ICONV_H], [test -n "$ICONV_H"])
160797
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_ICONV_H_TRUE])
160798
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_ICONV_H_TRUE])
160799
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ICONV_H_TRUE$])
160800
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_ICONV_H_FALSE])
160801
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_ICONV_H_FALSE])
160802
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_ICONV_H_FALSE$])
160803
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ICONV_H_TRUE])
160804
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_ICONV_H_FALSE])
160805
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* Define to 1 if you have the `inet_ntop\' function. */
160806
 
+@%:@undef HAVE_INET_NTOP])
160807
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_NTOP])
160808
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_INET_NTOP$])
160809
 
+m4trace:configure.ac:45: -1- AC_SUBST([INET_NTOP_LIB])
160810
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([INET_NTOP_LIB])
160811
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INET_NTOP_LIB$])
160812
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
160813
 
+@%:@undef HAVE_NETDB_H])
160814
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_INET_NTOP])
160815
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_INET_NTOP$])
160816
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_INET_NTOP], [/* Define to 1 if you have the declaration of `inet_ntop\', and to 0 if you
160817
 
+   don\'t. */
160818
 
+@%:@undef HAVE_DECL_INET_NTOP])
160819
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INLINE])
160820
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_INLINE$])
160821
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_INLINE], [/* Define to 1 if the compiler supports one of the keywords \'inline\',
160822
 
+   \'__inline__\', \'__inline\' and effectively inlines functions marked as such.
160823
 
+   */
160824
 
+@%:@undef HAVE_INLINE])
160825
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([off_t])
160826
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^off_t$])
160827
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([off_t], [/* Define to `long int\' if <sys/types.h> does not define. */
160828
 
+@%:@undef off_t])
160829
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_LONG_LONG_INT])
160830
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_LONG_LONG_INT])
160831
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$])
160832
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_UNSIGNED_LONG_LONG_INT])
160833
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_UNSIGNED_LONG_LONG_INT])
160834
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$])
160835
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCHAR_H], [/* Define to 1 if you have the <wchar.h> header file. */
160836
 
+@%:@undef HAVE_WCHAR_H])
160837
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCHAR_H])
160838
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCHAR_H])
160839
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCHAR_H$])
160840
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_INTTYPES_H])
160841
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_INTTYPES_H])
160842
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_INTTYPES_H$])
160843
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SYS_TYPES_H])
160844
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SYS_TYPES_H])
160845
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$])
160846
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
160847
 
+@%:@undef HAVE_STDINT_H])
160848
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_STDINT_H], [AS_VAR_GET(gl_next_header)])
160849
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_STDINT_H])
160850
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_STDINT_H$])
160851
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDINT_H], [$gl_next_as_first_directive])
160852
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDINT_H])
160853
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDINT_H$])
160854
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STDINT_H])
160855
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STDINT_H])
160856
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STDINT_H$])
160857
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_INTTYPES_H], [/* Define to 1 if you have the <sys/inttypes.h> header file. */
160858
 
+@%:@undef HAVE_SYS_INTTYPES_H])
160859
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_BITYPES_H], [/* Define to 1 if you have the <sys/bitypes.h> header file. */
160860
 
+@%:@undef HAVE_SYS_BITYPES_H])
160861
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SYS_INTTYPES_H])
160862
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SYS_INTTYPES_H])
160863
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_INTTYPES_H$])
160864
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SYS_BITYPES_H])
160865
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SYS_BITYPES_H])
160866
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_BITYPES_H$])
160867
 
+m4trace:configure.ac:45: -1- AC_SUBST([APPLE_UNIVERSAL_BUILD])
160868
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([APPLE_UNIVERSAL_BUILD])
160869
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^APPLE_UNIVERSAL_BUILD$])
160870
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([BITSIZEOF_PTRDIFF_T], [/* Define to the number of bits in type \'ptrdiff_t\'. */
160871
 
+@%:@undef BITSIZEOF_PTRDIFF_T])
160872
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([BITSIZEOF_SIZE_T], [/* Define to the number of bits in type \'size_t\'. */
160873
 
+@%:@undef BITSIZEOF_SIZE_T])
160874
 
+m4trace:configure.ac:45: -1- AC_SUBST([BITSIZEOF_PTRDIFF_T])
160875
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([BITSIZEOF_PTRDIFF_T])
160876
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^BITSIZEOF_PTRDIFF_T$])
160877
 
+m4trace:configure.ac:45: -1- AC_SUBST([BITSIZEOF_SIZE_T])
160878
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([BITSIZEOF_SIZE_T])
160879
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^BITSIZEOF_SIZE_T$])
160880
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([BITSIZEOF_SIG_ATOMIC_T], [/* Define to the number of bits in type \'sig_atomic_t\'. */
160881
 
+@%:@undef BITSIZEOF_SIG_ATOMIC_T])
160882
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([BITSIZEOF_WCHAR_T], [/* Define to the number of bits in type \'wchar_t\'. */
160883
 
+@%:@undef BITSIZEOF_WCHAR_T])
160884
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([BITSIZEOF_WINT_T], [/* Define to the number of bits in type \'wint_t\'. */
160885
 
+@%:@undef BITSIZEOF_WINT_T])
160886
 
+m4trace:configure.ac:45: -1- AC_SUBST([BITSIZEOF_SIG_ATOMIC_T])
160887
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([BITSIZEOF_SIG_ATOMIC_T])
160888
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^BITSIZEOF_SIG_ATOMIC_T$])
160889
 
+m4trace:configure.ac:45: -1- AC_SUBST([BITSIZEOF_WCHAR_T])
160890
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([BITSIZEOF_WCHAR_T])
160891
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^BITSIZEOF_WCHAR_T$])
160892
 
+m4trace:configure.ac:45: -1- AC_SUBST([BITSIZEOF_WINT_T])
160893
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([BITSIZEOF_WINT_T])
160894
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^BITSIZEOF_WINT_T$])
160895
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SIGNED_SIG_ATOMIC_T], [/* Define to 1 if \'sig_atomic_t\' is a signed integer type. */
160896
 
+@%:@undef HAVE_SIGNED_SIG_ATOMIC_T])
160897
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SIGNED_WCHAR_T], [/* Define to 1 if \'wchar_t\' is a signed integer type. */
160898
 
+@%:@undef HAVE_SIGNED_WCHAR_T])
160899
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SIGNED_WINT_T], [/* Define to 1 if \'wint_t\' is a signed integer type. */
160900
 
+@%:@undef HAVE_SIGNED_WINT_T])
160901
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SIGNED_SIG_ATOMIC_T])
160902
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SIGNED_SIG_ATOMIC_T])
160903
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGNED_SIG_ATOMIC_T$])
160904
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SIGNED_WCHAR_T])
160905
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SIGNED_WCHAR_T])
160906
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGNED_WCHAR_T$])
160907
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SIGNED_WINT_T])
160908
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SIGNED_WINT_T])
160909
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGNED_WINT_T$])
160910
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([PTRDIFF_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
160911
 
+   \'ptrdiff_t\'. */
160912
 
+@%:@undef PTRDIFF_T_SUFFIX])
160913
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([SIZE_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
160914
 
+   \'size_t\'. */
160915
 
+@%:@undef SIZE_T_SUFFIX])
160916
 
+m4trace:configure.ac:45: -1- AC_SUBST([PTRDIFF_T_SUFFIX])
160917
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([PTRDIFF_T_SUFFIX])
160918
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PTRDIFF_T_SUFFIX$])
160919
 
+m4trace:configure.ac:45: -1- AC_SUBST([SIZE_T_SUFFIX])
160920
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([SIZE_T_SUFFIX])
160921
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SIZE_T_SUFFIX$])
160922
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([SIG_ATOMIC_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
160923
 
+   \'sig_atomic_t\'. */
160924
 
+@%:@undef SIG_ATOMIC_T_SUFFIX])
160925
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([WCHAR_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
160926
 
+   \'wchar_t\'. */
160927
 
+@%:@undef WCHAR_T_SUFFIX])
160928
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([WINT_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
160929
 
+   \'wint_t\'. */
160930
 
+@%:@undef WINT_T_SUFFIX])
160931
 
+m4trace:configure.ac:45: -1- AC_SUBST([SIG_ATOMIC_T_SUFFIX])
160932
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([SIG_ATOMIC_T_SUFFIX])
160933
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SIG_ATOMIC_T_SUFFIX$])
160934
 
+m4trace:configure.ac:45: -1- AC_SUBST([WCHAR_T_SUFFIX])
160935
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([WCHAR_T_SUFFIX])
160936
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WCHAR_T_SUFFIX$])
160937
 
+m4trace:configure.ac:45: -1- AC_SUBST([WINT_T_SUFFIX])
160938
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([WINT_T_SUFFIX])
160939
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WINT_T_SUFFIX$])
160940
 
+m4trace:configure.ac:45: -1- AC_SUBST([STDINT_H])
160941
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([STDINT_H])
160942
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STDINT_H$])
160943
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_STDINT_H], [test -n "$STDINT_H"])
160944
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_STDINT_H_TRUE])
160945
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_STDINT_H_TRUE])
160946
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDINT_H_TRUE$])
160947
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_STDINT_H_FALSE])
160948
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_STDINT_H_FALSE])
160949
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDINT_H_FALSE$])
160950
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDINT_H_TRUE])
160951
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDINT_H_FALSE])
160952
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
160953
 
+@%:@undef HAVE_INTTYPES_H])
160954
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_IMAXABS])
160955
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_IMAXABS])
160956
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_IMAXABS$])
160957
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_IMAXDIV])
160958
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_IMAXDIV])
160959
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_IMAXDIV$])
160960
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRTOIMAX])
160961
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRTOIMAX])
160962
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRTOIMAX$])
160963
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRTOUMAX])
160964
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRTOUMAX])
160965
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRTOUMAX$])
160966
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_IMAXABS])
160967
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_IMAXABS])
160968
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_IMAXABS$])
160969
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_IMAXDIV])
160970
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_IMAXDIV])
160971
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_IMAXDIV$])
160972
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_STRTOIMAX])
160973
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_STRTOIMAX])
160974
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRTOIMAX$])
160975
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_STRTOUMAX])
160976
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_STRTOUMAX])
160977
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRTOUMAX$])
160978
 
+m4trace:configure.ac:45: -1- AC_SUBST([INT32_MAX_LT_INTMAX_MAX])
160979
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([INT32_MAX_LT_INTMAX_MAX])
160980
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INT32_MAX_LT_INTMAX_MAX$])
160981
 
+m4trace:configure.ac:45: -1- AC_SUBST([INT64_MAX_EQ_LONG_MAX])
160982
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([INT64_MAX_EQ_LONG_MAX])
160983
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INT64_MAX_EQ_LONG_MAX$])
160984
 
+m4trace:configure.ac:45: -1- AC_SUBST([PRI_MACROS_BROKEN])
160985
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([PRI_MACROS_BROKEN])
160986
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PRI_MACROS_BROKEN$])
160987
 
+m4trace:configure.ac:45: -1- AC_SUBST([PRIPTR_PREFIX])
160988
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([PRIPTR_PREFIX])
160989
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PRIPTR_PREFIX$])
160990
 
+m4trace:configure.ac:45: -1- AC_SUBST([UINT32_MAX_LT_UINTMAX_MAX])
160991
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([UINT32_MAX_LT_UINTMAX_MAX])
160992
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UINT32_MAX_LT_UINTMAX_MAX$])
160993
 
+m4trace:configure.ac:45: -1- AC_SUBST([UINT64_MAX_EQ_ULONG_MAX])
160994
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([UINT64_MAX_EQ_ULONG_MAX])
160995
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UINT64_MAX_EQ_ULONG_MAX$])
160996
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
160997
 
+@%:@undef HAVE_INTTYPES_H])
160998
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_INTTYPES_H], [AS_VAR_GET(gl_next_header)])
160999
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_INTTYPES_H])
161000
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_INTTYPES_H$])
161001
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H], [$gl_next_as_first_directive])
161002
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H])
161003
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H$])
161004
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GL_TRIGGER_STDC_LIMIT_MACROS])
161005
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_TRIGGER_STDC_LIMIT_MACROS$])
161006
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GL_TRIGGER_STDC_LIMIT_MACROS], [/* Define to make the limit macros in <stdint.h> visible. */
161007
 
+@%:@undef GL_TRIGGER_STDC_LIMIT_MACROS])
161008
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([__STDC_LIMIT_MACROS_ZZZ], [/* Ensure that <stdint.h> defines the limit macros, since gnulib\'s
161009
 
+   <inttypes.h> relies on them.  */
161010
 
+#if defined __cplusplus && !defined __STDC_LIMIT_MACROS && GL_TRIGGER_STDC_LIMIT_MACROS
161011
 
+# define __STDC_LIMIT_MACROS 1
161012
 
+#endif
161013
 
+])
161014
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_IMAXABS], [/* Define to 1 if imaxabs is declared even after undefining macros. */
161015
 
+@%:@undef HAVE_RAW_DECL_IMAXABS])
161016
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_IMAXDIV], [/* Define to 1 if imaxdiv is declared even after undefining macros. */
161017
 
+@%:@undef HAVE_RAW_DECL_IMAXDIV])
161018
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STRTOIMAX], [/* Define to 1 if strtoimax is declared even after undefining macros. */
161019
 
+@%:@undef HAVE_RAW_DECL_STRTOIMAX])
161020
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STRTOUMAX], [/* Define to 1 if strtoumax is declared even after undefining macros. */
161021
 
+@%:@undef HAVE_RAW_DECL_STRTOUMAX])
161022
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
161023
 
+@%:@undef HAVE_INTTYPES_H])
161024
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTTYPES_H])
161025
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_INTTYPES_H$])
161026
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([PRI_MACROS_BROKEN])
161027
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PRI_MACROS_BROKEN$])
161028
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([PRI_MACROS_BROKEN], [/* Define if <inttypes.h> exists and defines unusable PRI* macros. */
161029
 
+@%:@undef PRI_MACROS_BROKEN])
161030
 
+m4trace:configure.ac:45: -1- AC_SUBST([PRI_MACROS_BROKEN])
161031
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([PRI_MACROS_BROKEN])
161032
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PRI_MACROS_BROKEN$])
161033
 
+m4trace:configure.ac:45: -1- AC_SUBST([PRIPTR_PREFIX])
161034
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([PRIPTR_PREFIX])
161035
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PRIPTR_PREFIX$])
161036
 
+m4trace:configure.ac:45: -1- AC_SUBST([INT32_MAX_LT_INTMAX_MAX])
161037
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([INT32_MAX_LT_INTMAX_MAX])
161038
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INT32_MAX_LT_INTMAX_MAX$])
161039
 
+m4trace:configure.ac:45: -1- AC_SUBST([INT64_MAX_EQ_LONG_MAX])
161040
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([INT64_MAX_EQ_LONG_MAX])
161041
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INT64_MAX_EQ_LONG_MAX$])
161042
 
+m4trace:configure.ac:45: -1- AC_SUBST([UINT32_MAX_LT_UINTMAX_MAX])
161043
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([UINT32_MAX_LT_UINTMAX_MAX])
161044
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UINT32_MAX_LT_UINTMAX_MAX$])
161045
 
+m4trace:configure.ac:45: -1- AC_SUBST([UINT64_MAX_EQ_ULONG_MAX])
161046
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([UINT64_MAX_EQ_ULONG_MAX])
161047
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UINT64_MAX_EQ_ULONG_MAX$])
161048
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ISAPIPE], [/* Define to 1 if you have the `isapipe\' function. */
161049
 
+@%:@undef HAVE_ISAPIPE])
161050
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ISAPIPE])
161051
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISAPIPE$])
161052
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FIFO_PIPES])
161053
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FIFO_PIPES$])
161054
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FIFO_PIPES], [/* Define to 1 if pipes are FIFOs, 0 if sockets. Leave undefined if not known.
161055
 
+   */
161056
 
+@%:@undef HAVE_FIFO_PIPES])
161057
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FIFO_PIPES])
161058
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FIFO_PIPES$])
161059
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([PIPE_LINK_COUNT_MAX])
161060
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PIPE_LINK_COUNT_MAX$])
161061
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([PIPE_LINK_COUNT_MAX], [/* Define to the maximum link count that a true pipe can have. */
161062
 
+@%:@undef PIPE_LINK_COUNT_MAX])
161063
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ISBLANK], [/* Define to 1 if you have the `isblank\' function. */
161064
 
+@%:@undef HAVE_ISBLANK])
161065
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ISNAND_IN_LIBC])
161066
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISNAND_IN_LIBC$])
161067
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ISNAND_IN_LIBC], [/* Define if the isnan(double) function is available in libc. */
161068
 
+@%:@undef HAVE_ISNAND_IN_LIBC])
161069
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
161070
 
+   significant byte first (like Motorola and SPARC, unlike Intel). */
161071
 
+#if defined AC_APPLE_UNIVERSAL_BUILD
161072
 
+# if defined __BIG_ENDIAN__
161073
 
+#  define WORDS_BIGENDIAN 1
161074
 
+# endif
161075
 
+#else
161076
 
+# ifndef WORDS_BIGENDIAN
161077
 
+#  undef WORDS_BIGENDIAN
161078
 
+# endif
161079
 
+#endif])
161080
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD])
161081
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
161082
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */
161083
 
+@%:@undef AC_APPLE_UNIVERSAL_BUILD])
161084
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([DBL_EXPBIT0_WORD])
161085
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DBL_EXPBIT0_WORD$])
161086
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([DBL_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'double\'. */
161087
 
+@%:@undef DBL_EXPBIT0_WORD])
161088
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([DBL_EXPBIT0_BIT])
161089
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DBL_EXPBIT0_BIT$])
161090
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([DBL_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of
161091
 
+   \'double\'. */
161092
 
+@%:@undef DBL_EXPBIT0_BIT])
161093
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_WORD])
161094
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$])
161095
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FLT_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'float\'. */
161096
 
+@%:@undef FLT_EXPBIT0_WORD])
161097
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_BIT])
161098
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$])
161099
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FLT_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of
161100
 
+   \'float\'. */
161101
 
+@%:@undef FLT_EXPBIT0_BIT])
161102
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ISNANF_IN_LIBC])
161103
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISNANF_IN_LIBC$])
161104
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ISNANF_IN_LIBC], [/* Define if the isnan(float) function is available in libc. */
161105
 
+@%:@undef HAVE_ISNANF_IN_LIBC])
161106
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_WORD])
161107
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$])
161108
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FLT_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'float\'. */
161109
 
+@%:@undef FLT_EXPBIT0_WORD])
161110
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_BIT])
161111
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$])
161112
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FLT_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of
161113
 
+   \'float\'. */
161114
 
+@%:@undef FLT_EXPBIT0_BIT])
161115
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ISNANL_IN_LIBC])
161116
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISNANL_IN_LIBC$])
161117
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ISNANL_IN_LIBC], [/* Define if the isnan(long double) function is available in libc. */
161118
 
+@%:@undef HAVE_ISNANL_IN_LIBC])
161119
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([LDBL_EXPBIT0_WORD])
161120
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LDBL_EXPBIT0_WORD$])
161121
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([LDBL_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'long double\'. */
161122
 
+@%:@undef LDBL_EXPBIT0_WORD])
161123
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([LDBL_EXPBIT0_BIT])
161124
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LDBL_EXPBIT0_BIT$])
161125
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([LDBL_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of
161126
 
+   \'long double\'. */
161127
 
+@%:@undef LDBL_EXPBIT0_BIT])
161128
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ISWBLANK])
161129
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ISWBLANK])
161130
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISWBLANK$])
161131
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCTYPE])
161132
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCTYPE])
161133
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCTYPE$])
161134
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_ISWCTYPE])
161135
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_ISWCTYPE])
161136
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_ISWCTYPE$])
161137
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WCTRANS])
161138
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WCTRANS])
161139
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WCTRANS$])
161140
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_TOWCTRANS])
161141
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_TOWCTRANS])
161142
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TOWCTRANS$])
161143
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_ISWBLANK])
161144
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_ISWBLANK])
161145
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISWBLANK$])
161146
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCTYPE_T])
161147
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCTYPE_T])
161148
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCTYPE_T$])
161149
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCTRANS_T])
161150
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCTRANS_T])
161151
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCTRANS_T$])
161152
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_ISWBLANK])
161153
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_ISWBLANK])
161154
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ISWBLANK$])
161155
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ISWCNTRL], [/* Define to 1 if you have the `iswcntrl\' function. */
161156
 
+@%:@undef HAVE_ISWCNTRL])
161157
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_ISWCNTRL])
161158
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_ISWCNTRL])
161159
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISWCNTRL$])
161160
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINT_T])
161161
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINT_T$])
161162
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WINT_T], [/* Define if you have the \'wint_t\' type. */
161163
 
+@%:@undef HAVE_WINT_T])
161164
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WINT_T])
161165
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WINT_T])
161166
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINT_T$])
161167
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCTYPE_H], [/* Define to 1 if you have the <wctype.h> header file. */
161168
 
+@%:@undef HAVE_WCTYPE_H])
161169
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_WCTYPE_H], [AS_VAR_GET(gl_next_header)])
161170
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_WCTYPE_H])
161171
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_WCTYPE_H$])
161172
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H], [$gl_next_as_first_directive])
161173
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H])
161174
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H$])
161175
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCTYPE_H])
161176
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCTYPE_H])
161177
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCTYPE_H$])
161178
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_ISWCNTRL])
161179
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_ISWCNTRL])
161180
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ISWCNTRL$])
161181
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_TOWLOWER], [/* Define to 1 if you have the `towlower\' function. */
161182
 
+@%:@undef HAVE_TOWLOWER])
161183
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TOWLOWER])
161184
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TOWLOWER$])
161185
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_TOWLOWER])
161186
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TOWLOWER$])
161187
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_TOWLOWER], [/* Define to 1 if you have the declaration of `towlower\', and to 0 if you
161188
 
+   don\'t. */
161189
 
+@%:@undef HAVE_DECL_TOWLOWER])
161190
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_TOWLOWER])
161191
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_TOWLOWER])
161192
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_TOWLOWER$])
161193
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCTYPE], [/* Define to 1 if wctype is declared even after undefining macros. */
161194
 
+@%:@undef HAVE_RAW_DECL_WCTYPE])
161195
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_ISWCTYPE], [/* Define to 1 if iswctype is declared even after undefining macros. */
161196
 
+@%:@undef HAVE_RAW_DECL_ISWCTYPE])
161197
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCTRANS], [/* Define to 1 if wctrans is declared even after undefining macros. */
161198
 
+@%:@undef HAVE_RAW_DECL_WCTRANS])
161199
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_TOWCTRANS], [/* Define to 1 if towctrans is declared even after undefining macros. */
161200
 
+@%:@undef HAVE_RAW_DECL_TOWCTRANS])
161201
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ISWBLANK], [/* Define to 1 if you have the `iswblank\' function. */
161202
 
+@%:@undef HAVE_ISWBLANK])
161203
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_ISWBLANK])
161204
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ISWBLANK$])
161205
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_ISWBLANK], [/* Define to 1 if you have the declaration of `iswblank\', and to 0 if you
161206
 
+   don\'t. */
161207
 
+@%:@undef HAVE_DECL_ISWBLANK])
161208
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_ISWBLANK])
161209
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_ISWBLANK$])
161210
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_ISWBLANK], [/* Define to 1 when the gnulib module iswblank should be tested. */
161211
 
+@%:@undef GNULIB_TEST_ISWBLANK])
161212
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_NL_LANGINFO])
161213
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_NL_LANGINFO])
161214
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_NL_LANGINFO$])
161215
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_NL_LANGINFO])
161216
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_NL_LANGINFO])
161217
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NL_LANGINFO$])
161218
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_NL_LANGINFO])
161219
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_NL_LANGINFO])
161220
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_NL_LANGINFO$])
161221
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LANGINFO_H], [/* Define to 1 if you have the <langinfo.h> header file. */
161222
 
+@%:@undef HAVE_LANGINFO_H])
161223
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_LANGINFO_H], [AS_VAR_GET(gl_next_header)])
161224
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_LANGINFO_H])
161225
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_LANGINFO_H$])
161226
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H], [$gl_next_as_first_directive])
161227
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H])
161228
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H$])
161229
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LANGINFO_H], [/* Define to 1 if you have the <langinfo.h> header file. */
161230
 
+@%:@undef HAVE_LANGINFO_H])
161231
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_LANGINFO_H])
161232
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_LANGINFO_H])
161233
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LANGINFO_H$])
161234
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_LANGINFO_CODESET])
161235
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_LANGINFO_CODESET])
161236
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$])
161237
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_LANGINFO_T_FMT_AMPM])
161238
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_LANGINFO_T_FMT_AMPM])
161239
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LANGINFO_T_FMT_AMPM$])
161240
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_LANGINFO_ERA])
161241
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_LANGINFO_ERA])
161242
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LANGINFO_ERA$])
161243
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_LANGINFO_YESEXPR])
161244
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_LANGINFO_YESEXPR])
161245
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LANGINFO_YESEXPR$])
161246
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_NL_LANGINFO], [/* Define to 1 if nl_langinfo is declared even after undefining macros. */
161247
 
+@%:@undef HAVE_RAW_DECL_NL_LANGINFO])
161248
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LCHMOD], [/* Define to 1 if you have the `lchmod\' function. */
161249
 
+@%:@undef HAVE_LCHMOD])
161250
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_LCHMOD])
161251
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_LCHMOD$])
161252
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_LCHMOD], [/* Define to 1 when the gnulib module lchmod should be tested. */
161253
 
+@%:@undef GNULIB_TEST_LCHMOD])
161254
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LCHMOD], [/* Define to 1 if you have the `lchmod\' function. */
161255
 
+@%:@undef HAVE_LCHMOD])
161256
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LCHOWN], [/* Define to 1 if you have the `lchown\' function. */
161257
 
+@%:@undef HAVE_LCHOWN])
161258
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LCHOWN])
161259
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LCHOWN$])
161260
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_LCHOWN])
161261
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_LCHOWN$])
161262
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_LCHOWN], [/* Define to 1 when the gnulib module lchown should be tested. */
161263
 
+@%:@undef GNULIB_TEST_LCHOWN])
161264
 
+m4trace:configure.ac:45: -1- AC_SUBST([IGNORE_UNUSED_LIBRARIES_CFLAGS])
161265
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([IGNORE_UNUSED_LIBRARIES_CFLAGS])
161266
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^IGNORE_UNUSED_LIBRARIES_CFLAGS$])
161267
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LINK], [/* Define to 1 if you have the `link\' function. */
161268
 
+@%:@undef HAVE_LINK])
161269
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_LINK])
161270
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_LINK$])
161271
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_LINK], [/* Define to 1 when the gnulib module link should be tested. */
161272
 
+@%:@undef GNULIB_TEST_LINK])
161273
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_READLINK], [/* Define to 1 if you have the `readlink\' function. */
161274
 
+@%:@undef HAVE_READLINK])
161275
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([LINK_FOLLOWS_SYMLINKS])
161276
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LINK_FOLLOWS_SYMLINKS$])
161277
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([LINK_FOLLOWS_SYMLINKS], [/* Define to 1 if `link(2)\' dereferences symbolic links, 0 if it creates hard
161278
 
+   links to symlinks, -1 if it depends on the variable __xpg4, and -2 if
161279
 
+   unknown. */
161280
 
+@%:@undef LINK_FOLLOWS_SYMLINKS])
161281
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LINKAT], [/* Define to 1 if you have the `linkat\' function. */
161282
 
+@%:@undef HAVE_LINKAT])
161283
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYMLINK], [/* Define to 1 if you have the `symlink\' function. */
161284
 
+@%:@undef HAVE_SYMLINK])
161285
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
161286
 
+@%:@undef HAVE_SYS_PARAM_H])
161287
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([LINKAT_TRAILING_SLASH_BUG])
161288
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LINKAT_TRAILING_SLASH_BUG$])
161289
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([LINKAT_TRAILING_SLASH_BUG], [/* Define to 1 if linkat fails to recognize a trailing slash. */
161290
 
+@%:@undef LINKAT_TRAILING_SLASH_BUG])
161291
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_LINKAT])
161292
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_LINKAT$])
161293
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_LINKAT], [/* Define to 1 when the gnulib module linkat should be tested. */
161294
 
+@%:@undef GNULIB_TEST_LINKAT])
161295
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETC_UNLOCKED])
161296
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$])
161297
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_GETC_UNLOCKED], [/* Define to 1 if you have the declaration of `getc_unlocked\', and to 0 if you
161298
 
+   don\'t. */
161299
 
+@%:@undef HAVE_DECL_GETC_UNLOCKED])
161300
 
+m4trace:configure.ac:45: -1- AC_SUBST([GLIBC21])
161301
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GLIBC21])
161302
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GLIBC21$])
161303
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
161304
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALCHARSET_TESTS_ENVIRONMENT])
161305
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALCHARSET_TESTS_ENVIRONMENT$])
161306
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SETLOCALE])
161307
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SETLOCALE])
161308
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SETLOCALE$])
161309
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_DUPLOCALE])
161310
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_DUPLOCALE])
161311
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_DUPLOCALE$])
161312
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DUPLOCALE])
161313
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DUPLOCALE])
161314
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DUPLOCALE$])
161315
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_SETLOCALE])
161316
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_SETLOCALE])
161317
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SETLOCALE$])
161318
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_DUPLOCALE])
161319
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_DUPLOCALE])
161320
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_DUPLOCALE$])
161321
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_NULL])
161322
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_NULL])
161323
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_NULL$])
161324
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCHAR_T])
161325
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCHAR_T])
161326
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCHAR_T$])
161327
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WCHAR_T])
161328
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCHAR_T$])
161329
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCHAR_T], [/* Define if you have the \'wchar_t\' type. */
161330
 
+@%:@undef HAVE_WCHAR_T])
161331
 
+m4trace:configure.ac:45: -1- AC_SUBST([STDDEF_H])
161332
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([STDDEF_H])
161333
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STDDEF_H$])
161334
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_STDDEF_H], [test -n "$STDDEF_H"])
161335
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_STDDEF_H_TRUE])
161336
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_STDDEF_H_TRUE])
161337
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDDEF_H_TRUE$])
161338
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_STDDEF_H_FALSE])
161339
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_STDDEF_H_FALSE])
161340
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDDEF_H_FALSE$])
161341
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDDEF_H_TRUE])
161342
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDDEF_H_FALSE])
161343
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_STDDEF_H], [AS_VAR_GET(gl_next_header)])
161344
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_STDDEF_H])
161345
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_STDDEF_H$])
161346
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDDEF_H], [$gl_next_as_first_directive])
161347
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDDEF_H])
161348
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDDEF_H$])
161349
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_XLOCALE_H], [/* Define to 1 if you have the <xlocale.h> header file. */
161350
 
+@%:@undef HAVE_XLOCALE_H])
161351
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_XLOCALE_H])
161352
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_XLOCALE_H])
161353
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_XLOCALE_H$])
161354
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_LOCALE_H], [AS_VAR_GET(gl_next_header)])
161355
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_LOCALE_H])
161356
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_LOCALE_H$])
161357
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_LOCALE_H], [$gl_next_as_first_directive])
161358
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_LOCALE_H])
161359
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_LOCALE_H$])
161360
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SETLOCALE], [/* Define to 1 if setlocale is declared even after undefining macros. */
161361
 
+@%:@undef HAVE_RAW_DECL_SETLOCALE])
161362
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_DUPLOCALE], [/* Define to 1 if duplocale is declared even after undefining macros. */
161363
 
+@%:@undef HAVE_RAW_DECL_DUPLOCALE])
161364
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([PTHREAD_IN_USE_DETECTION_HARD])
161365
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PTHREAD_IN_USE_DETECTION_HARD$])
161366
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([PTHREAD_IN_USE_DETECTION_HARD], [/* Define if the pthread_in_use() detection is hard. */
161367
 
+@%:@undef PTHREAD_IN_USE_DETECTION_HARD])
161368
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([USE_POSIX_THREADS])
161369
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_POSIX_THREADS$])
161370
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([USE_POSIX_THREADS], [/* Define if the POSIX multithreading library can be used. */
161371
 
+@%:@undef USE_POSIX_THREADS])
161372
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([USE_POSIX_THREADS_WEAK])
161373
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_POSIX_THREADS_WEAK$])
161374
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([USE_POSIX_THREADS_WEAK], [/* Define if references to the POSIX multithreading library should be made
161375
 
+   weak. */
161376
 
+@%:@undef USE_POSIX_THREADS_WEAK])
161377
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([USE_SOLARIS_THREADS])
161378
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_SOLARIS_THREADS$])
161379
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([USE_SOLARIS_THREADS], [/* Define if the old Solaris multithreading library can be used. */
161380
 
+@%:@undef USE_SOLARIS_THREADS])
161381
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([USE_SOLARIS_THREADS_WEAK])
161382
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_SOLARIS_THREADS_WEAK$])
161383
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([USE_SOLARIS_THREADS_WEAK], [/* Define if references to the old Solaris multithreading library should be
161384
 
+   made weak. */
161385
 
+@%:@undef USE_SOLARIS_THREADS_WEAK])
161386
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBPTH])
161387
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBPTH])
161388
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBPTH$])
161389
 
+m4trace:configure.ac:45: -1- AC_SUBST([LTLIBPTH])
161390
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LTLIBPTH])
161391
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LTLIBPTH$])
161392
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBPTH_PREFIX])
161393
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBPTH_PREFIX])
161394
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBPTH_PREFIX$])
161395
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([USE_PTH_THREADS])
161396
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_PTH_THREADS$])
161397
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([USE_PTH_THREADS], [/* Define if the GNU Pth multithreading library can be used. */
161398
 
+@%:@undef USE_PTH_THREADS])
161399
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([USE_PTH_THREADS_WEAK])
161400
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_PTH_THREADS_WEAK$])
161401
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([USE_PTH_THREADS_WEAK], [/* Define if references to the GNU Pth multithreading library should be made
161402
 
+   weak. */
161403
 
+@%:@undef USE_PTH_THREADS_WEAK])
161404
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_THREADS])
161405
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_WIN32_THREADS$])
161406
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([USE_WIN32_THREADS], [/* Define if the Win32 multithreading API can be used. */
161407
 
+@%:@undef USE_WIN32_THREADS])
161408
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBTHREAD])
161409
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBTHREAD])
161410
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBTHREAD$])
161411
 
+m4trace:configure.ac:45: -1- AC_SUBST([LTLIBTHREAD])
161412
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LTLIBTHREAD])
161413
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LTLIBTHREAD$])
161414
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBMULTITHREAD])
161415
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBMULTITHREAD])
161416
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBMULTITHREAD$])
161417
 
+m4trace:configure.ac:45: -1- AC_SUBST([LTLIBMULTITHREAD])
161418
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LTLIBMULTITHREAD])
161419
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LTLIBMULTITHREAD$])
161420
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD_RWLOCK])
161421
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_RWLOCK$])
161422
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PTHREAD_RWLOCK], [/* Define if the POSIX multithreading library has read/write locks. */
161423
 
+@%:@undef HAVE_PTHREAD_RWLOCK])
161424
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD_MUTEX_RECURSIVE])
161425
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_MUTEX_RECURSIVE$])
161426
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PTHREAD_MUTEX_RECURSIVE], [/* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */
161427
 
+@%:@undef HAVE_PTHREAD_MUTEX_RECURSIVE])
161428
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([LSEEK_PIPE_BROKEN])
161429
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LSEEK_PIPE_BROKEN$])
161430
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([LSEEK_PIPE_BROKEN], [/* Define to 1 if lseek does not detect pipes. */
161431
 
+@%:@undef LSEEK_PIPE_BROKEN])
161432
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_LSEEK])
161433
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_LSEEK$])
161434
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_LSEEK], [/* Define to 1 when the gnulib module lseek should be tested. */
161435
 
+@%:@undef GNULIB_TEST_LSEEK])
161436
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define to 1 if you have the `lstat\' function. */
161437
 
+@%:@undef HAVE_LSTAT])
161438
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_LSTAT])
161439
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_LSTAT$])
161440
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_LSTAT], [/* Define to 1 when the gnulib module lstat should be tested. */
161441
 
+@%:@undef GNULIB_TEST_LSTAT])
161442
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
161443
 
+@%:@undef HAVE_STDLIB_H])
161444
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
161445
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
161446
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_GNU])
161447
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MALLOC_GNU$])
161448
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MALLOC_GNU], [/* Define to 1 if your system has a GNU libc compatible \'malloc\' function, and
161449
 
+   to 0 otherwise. */
161450
 
+@%:@undef HAVE_MALLOC_GNU])
161451
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_GNU])
161452
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MALLOC_GNU$])
161453
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_MALLOC_GNU])
161454
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MALLOC_GNU$])
161455
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_MALLOC_GNU], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
161456
 
+   whether the gnulib module malloc-gnu shall be considered present. */
161457
 
+@%:@undef GNULIB_MALLOC_GNU])
161458
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_POSIX])
161459
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MALLOC_POSIX$])
161460
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MALLOC_POSIX], [/* Define if the \'malloc\' function is POSIX compliant. */
161461
 
+@%:@undef HAVE_MALLOC_POSIX])
161462
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MALLOC_POSIX])
161463
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MALLOC_POSIX$])
161464
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_MALLOC_POSIX], [/* Define to 1 when the gnulib module malloc-posix should be tested. */
161465
 
+@%:@undef GNULIB_TEST_MALLOC_POSIX])
161466
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
161467
 
+@%:@undef HAVE_STDLIB_H])
161468
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
161469
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
161470
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MALLOC_0_IS_NONNULL])
161471
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MALLOC_0_IS_NONNULL$])
161472
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MALLOC_0_IS_NONNULL], [/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
161473
 
+@%:@undef MALLOC_0_IS_NONNULL])
161474
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MATH_H], [/* Define to 1 if you have the <math.h> header file. */
161475
 
+@%:@undef HAVE_MATH_H])
161476
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_MATH_H], [AS_VAR_GET(gl_next_header)])
161477
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_MATH_H])
161478
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_MATH_H$])
161479
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_MATH_H], [$gl_next_as_first_directive])
161480
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_MATH_H])
161481
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_MATH_H$])
161482
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_ACOSL], [/* Define to 1 if acosl is declared even after undefining macros. */
161483
 
+@%:@undef HAVE_RAW_DECL_ACOSL])
161484
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_ASINL], [/* Define to 1 if asinl is declared even after undefining macros. */
161485
 
+@%:@undef HAVE_RAW_DECL_ASINL])
161486
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_ATANL], [/* Define to 1 if atanl is declared even after undefining macros. */
161487
 
+@%:@undef HAVE_RAW_DECL_ATANL])
161488
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_CEILF], [/* Define to 1 if ceilf is declared even after undefining macros. */
161489
 
+@%:@undef HAVE_RAW_DECL_CEILF])
161490
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_CEILL], [/* Define to 1 if ceill is declared even after undefining macros. */
161491
 
+@%:@undef HAVE_RAW_DECL_CEILL])
161492
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_COSL], [/* Define to 1 if cosl is declared even after undefining macros. */
161493
 
+@%:@undef HAVE_RAW_DECL_COSL])
161494
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_EXPL], [/* Define to 1 if expl is declared even after undefining macros. */
161495
 
+@%:@undef HAVE_RAW_DECL_EXPL])
161496
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FLOORF], [/* Define to 1 if floorf is declared even after undefining macros. */
161497
 
+@%:@undef HAVE_RAW_DECL_FLOORF])
161498
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FLOORL], [/* Define to 1 if floorl is declared even after undefining macros. */
161499
 
+@%:@undef HAVE_RAW_DECL_FLOORL])
161500
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FREXPL], [/* Define to 1 if frexpl is declared even after undefining macros. */
161501
 
+@%:@undef HAVE_RAW_DECL_FREXPL])
161502
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_LDEXPL], [/* Define to 1 if ldexpl is declared even after undefining macros. */
161503
 
+@%:@undef HAVE_RAW_DECL_LDEXPL])
161504
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_LOGB], [/* Define to 1 if logb is declared even after undefining macros. */
161505
 
+@%:@undef HAVE_RAW_DECL_LOGB])
161506
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_LOGL], [/* Define to 1 if logl is declared even after undefining macros. */
161507
 
+@%:@undef HAVE_RAW_DECL_LOGL])
161508
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_ROUND], [/* Define to 1 if round is declared even after undefining macros. */
161509
 
+@%:@undef HAVE_RAW_DECL_ROUND])
161510
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_ROUNDF], [/* Define to 1 if roundf is declared even after undefining macros. */
161511
 
+@%:@undef HAVE_RAW_DECL_ROUNDF])
161512
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_ROUNDL], [/* Define to 1 if roundl is declared even after undefining macros. */
161513
 
+@%:@undef HAVE_RAW_DECL_ROUNDL])
161514
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SINL], [/* Define to 1 if sinl is declared even after undefining macros. */
161515
 
+@%:@undef HAVE_RAW_DECL_SINL])
161516
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SQRTL], [/* Define to 1 if sqrtl is declared even after undefining macros. */
161517
 
+@%:@undef HAVE_RAW_DECL_SQRTL])
161518
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_TANL], [/* Define to 1 if tanl is declared even after undefining macros. */
161519
 
+@%:@undef HAVE_RAW_DECL_TANL])
161520
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_TRUNC], [/* Define to 1 if trunc is declared even after undefining macros. */
161521
 
+@%:@undef HAVE_RAW_DECL_TRUNC])
161522
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_TRUNCF], [/* Define to 1 if truncf is declared even after undefining macros. */
161523
 
+@%:@undef HAVE_RAW_DECL_TRUNCF])
161524
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_TRUNCL], [/* Define to 1 if truncl is declared even after undefining macros. */
161525
 
+@%:@undef HAVE_RAW_DECL_TRUNCL])
161526
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */
161527
 
+@%:@undef HAVE_MBSINIT])
161528
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */
161529
 
+@%:@undef HAVE_MBRTOWC])
161530
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_JA])
161531
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_JA])
161532
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_JA$])
161533
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_ZH_CN])
161534
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_ZH_CN])
161535
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
161536
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */
161537
 
+@%:@undef HAVE_MBRTOWC])
161538
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_MBRTOWC])
161539
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MBRTOWC$])
161540
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_MBRTOWC], [/* Define to 1 if you have the declaration of `mbrtowc\', and to 0 if you
161541
 
+   don\'t. */
161542
 
+@%:@undef HAVE_DECL_MBRTOWC])
161543
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_FR_UTF8])
161544
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8])
161545
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
161546
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_NULL_ARG1_BUG])
161547
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG1_BUG$])
161548
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MBRTOWC_NULL_ARG1_BUG], [/* Define if the mbrtowc function has the NULL pwc argument bug. */
161549
 
+@%:@undef MBRTOWC_NULL_ARG1_BUG])
161550
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_NULL_ARG2_BUG])
161551
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG2_BUG$])
161552
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MBRTOWC_NULL_ARG2_BUG], [/* Define if the mbrtowc function has the NULL string argument bug. */
161553
 
+@%:@undef MBRTOWC_NULL_ARG2_BUG])
161554
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_RETVAL_BUG])
161555
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MBRTOWC_RETVAL_BUG$])
161556
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MBRTOWC_RETVAL_BUG], [/* Define if the mbrtowc function returns a wrong return value. */
161557
 
+@%:@undef MBRTOWC_RETVAL_BUG])
161558
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_NUL_RETVAL_BUG])
161559
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MBRTOWC_NUL_RETVAL_BUG$])
161560
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MBRTOWC_NUL_RETVAL_BUG], [/* Define if the mbrtowc function does not return 0 for a NUL character. */
161561
 
+@%:@undef MBRTOWC_NUL_RETVAL_BUG])
161562
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBRLEN], [/* Define to 1 if you have the `mbrlen\' function. */
161563
 
+@%:@undef HAVE_MBRLEN])
161564
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_MBRLEN])
161565
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MBRLEN$])
161566
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_MBRLEN], [/* Define to 1 if you have the declaration of `mbrlen\', and to 0 if you don\'t.
161567
 
+   */
161568
 
+@%:@undef HAVE_DECL_MBRLEN])
161569
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MBRLEN])
161570
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MBRLEN$])
161571
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_MBRLEN], [/* Define to 1 when the gnulib module mbrlen should be tested. */
161572
 
+@%:@undef GNULIB_TEST_MBRLEN])
161573
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */
161574
 
+@%:@undef HAVE_MBSINIT])
161575
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */
161576
 
+@%:@undef HAVE_MBRTOWC])
161577
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */
161578
 
+@%:@undef HAVE_MBRTOWC])
161579
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_MBRTOWC])
161580
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MBRTOWC$])
161581
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_MBRTOWC], [/* Define to 1 if you have the declaration of `mbrtowc\', and to 0 if you
161582
 
+   don\'t. */
161583
 
+@%:@undef HAVE_DECL_MBRTOWC])
161584
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_NULL_ARG1_BUG])
161585
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG1_BUG$])
161586
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MBRTOWC_NULL_ARG1_BUG], [/* Define if the mbrtowc function has the NULL pwc argument bug. */
161587
 
+@%:@undef MBRTOWC_NULL_ARG1_BUG])
161588
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_NULL_ARG2_BUG])
161589
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG2_BUG$])
161590
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MBRTOWC_NULL_ARG2_BUG], [/* Define if the mbrtowc function has the NULL string argument bug. */
161591
 
+@%:@undef MBRTOWC_NULL_ARG2_BUG])
161592
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_RETVAL_BUG])
161593
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MBRTOWC_RETVAL_BUG$])
161594
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MBRTOWC_RETVAL_BUG], [/* Define if the mbrtowc function returns a wrong return value. */
161595
 
+@%:@undef MBRTOWC_RETVAL_BUG])
161596
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_NUL_RETVAL_BUG])
161597
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MBRTOWC_NUL_RETVAL_BUG$])
161598
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MBRTOWC_NUL_RETVAL_BUG], [/* Define if the mbrtowc function does not return 0 for a NUL character. */
161599
 
+@%:@undef MBRTOWC_NUL_RETVAL_BUG])
161600
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MBRTOWC])
161601
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MBRTOWC$])
161602
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_MBRTOWC], [/* Define to 1 when the gnulib module mbrtowc should be tested. */
161603
 
+@%:@undef GNULIB_TEST_MBRTOWC])
161604
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FFSL])
161605
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FFSL])
161606
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FFSL$])
161607
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_FFSLL])
161608
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_FFSLL])
161609
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_FFSLL$])
161610
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MEMCHR])
161611
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MEMCHR])
161612
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MEMCHR$])
161613
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MEMMEM])
161614
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MEMMEM])
161615
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MEMMEM$])
161616
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MEMPCPY])
161617
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MEMPCPY])
161618
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MEMPCPY$])
161619
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MEMRCHR])
161620
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MEMRCHR])
161621
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MEMRCHR$])
161622
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_RAWMEMCHR])
161623
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_RAWMEMCHR])
161624
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_RAWMEMCHR$])
161625
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STPCPY])
161626
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STPCPY])
161627
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STPCPY$])
161628
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STPNCPY])
161629
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STPNCPY])
161630
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STPNCPY$])
161631
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRCHRNUL])
161632
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRCHRNUL])
161633
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRCHRNUL$])
161634
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRDUP])
161635
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRDUP])
161636
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRDUP$])
161637
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRNCAT])
161638
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRNCAT])
161639
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRNCAT$])
161640
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRNDUP])
161641
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRNDUP])
161642
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRNDUP$])
161643
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRNLEN])
161644
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRNLEN])
161645
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRNLEN$])
161646
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRPBRK])
161647
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRPBRK])
161648
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRPBRK$])
161649
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRSEP])
161650
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRSEP])
161651
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRSEP$])
161652
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRSTR])
161653
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRSTR])
161654
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRSTR$])
161655
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRCASESTR])
161656
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRCASESTR])
161657
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRCASESTR$])
161658
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRTOK_R])
161659
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRTOK_R])
161660
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRTOK_R$])
161661
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBSLEN])
161662
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBSLEN])
161663
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSLEN$])
161664
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBSNLEN])
161665
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBSNLEN])
161666
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSNLEN$])
161667
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBSCHR])
161668
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBSCHR])
161669
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSCHR$])
161670
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBSRCHR])
161671
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBSRCHR])
161672
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSRCHR$])
161673
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBSSTR])
161674
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBSSTR])
161675
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSSTR$])
161676
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBSCASECMP])
161677
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBSCASECMP])
161678
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSCASECMP$])
161679
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBSNCASECMP])
161680
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBSNCASECMP])
161681
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSNCASECMP$])
161682
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBSPCASECMP])
161683
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBSPCASECMP])
161684
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSPCASECMP$])
161685
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBSCASESTR])
161686
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBSCASESTR])
161687
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSCASESTR$])
161688
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBSCSPN])
161689
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBSCSPN])
161690
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSCSPN$])
161691
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBSPBRK])
161692
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBSPBRK])
161693
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSPBRK$])
161694
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBSSPN])
161695
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBSSPN])
161696
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSSPN$])
161697
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBSSEP])
161698
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBSSEP])
161699
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSSEP$])
161700
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MBSTOK_R])
161701
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MBSTOK_R])
161702
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MBSTOK_R$])
161703
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRERROR])
161704
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRERROR])
161705
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRERROR$])
161706
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRERROR_R])
161707
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRERROR_R])
161708
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRERROR_R$])
161709
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRSIGNAL])
161710
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRSIGNAL])
161711
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRSIGNAL$])
161712
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRVERSCMP])
161713
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRVERSCMP])
161714
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRVERSCMP$])
161715
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MBSLEN])
161716
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MBSLEN])
161717
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MBSLEN$])
161718
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_FFSL])
161719
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_FFSL])
161720
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FFSL$])
161721
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_FFSLL])
161722
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_FFSLL])
161723
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FFSLL$])
161724
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MEMCHR])
161725
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MEMCHR])
161726
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MEMCHR$])
161727
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_MEMMEM])
161728
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_MEMMEM])
161729
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MEMMEM$])
161730
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_MEMPCPY])
161731
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_MEMPCPY])
161732
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MEMPCPY$])
161733
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_MEMRCHR])
161734
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_MEMRCHR])
161735
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MEMRCHR$])
161736
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_RAWMEMCHR])
161737
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_RAWMEMCHR])
161738
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_RAWMEMCHR$])
161739
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STPCPY])
161740
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STPCPY])
161741
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STPCPY$])
161742
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STPNCPY])
161743
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STPNCPY])
161744
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STPNCPY$])
161745
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STRCHRNUL])
161746
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STRCHRNUL])
161747
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRCHRNUL$])
161748
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_STRDUP])
161749
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_STRDUP])
161750
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$])
161751
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_STRNDUP])
161752
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_STRNDUP])
161753
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$])
161754
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_STRNLEN])
161755
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_STRNLEN])
161756
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$])
161757
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STRPBRK])
161758
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STRPBRK])
161759
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRPBRK$])
161760
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STRSEP])
161761
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STRSEP])
161762
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRSEP$])
161763
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STRCASESTR])
161764
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STRCASESTR])
161765
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRCASESTR$])
161766
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_STRTOK_R])
161767
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_STRTOK_R])
161768
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRTOK_R$])
161769
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_STRERROR_R])
161770
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_STRERROR_R])
161771
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$])
161772
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_STRSIGNAL])
161773
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_STRSIGNAL])
161774
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$])
161775
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STRVERSCMP])
161776
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STRVERSCMP])
161777
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRVERSCMP$])
161778
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_MEMCHR])
161779
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_MEMCHR])
161780
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MEMCHR$])
161781
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_MEMMEM])
161782
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_MEMMEM])
161783
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MEMMEM$])
161784
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_STPNCPY])
161785
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_STPNCPY])
161786
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STPNCPY$])
161787
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_STRDUP])
161788
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_STRDUP])
161789
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRDUP$])
161790
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_STRSTR])
161791
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_STRSTR])
161792
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRSTR$])
161793
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_STRCASESTR])
161794
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_STRCASESTR])
161795
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRCASESTR$])
161796
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_STRCHRNUL])
161797
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_STRCHRNUL])
161798
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRCHRNUL$])
161799
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_STRERROR])
161800
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_STRERROR])
161801
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRERROR$])
161802
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_STRERROR_R])
161803
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_STRERROR_R])
161804
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRERROR_R$])
161805
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_STRNCAT])
161806
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_STRNCAT])
161807
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRNCAT$])
161808
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_STRNDUP])
161809
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_STRNDUP])
161810
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRNDUP$])
161811
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_STRNLEN])
161812
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_STRNLEN])
161813
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRNLEN$])
161814
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_STRSIGNAL])
161815
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_STRSIGNAL])
161816
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRSIGNAL$])
161817
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_STRTOK_R])
161818
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_STRTOK_R])
161819
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRTOK_R$])
161820
 
+m4trace:configure.ac:45: -1- AC_SUBST([UNDEFINE_STRTOK_R])
161821
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([UNDEFINE_STRTOK_R])
161822
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UNDEFINE_STRTOK_R$])
161823
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MBSCASECMP])
161824
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MBSCASECMP$])
161825
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_MBSCASECMP], [/* Define to 1 when the gnulib module mbscasecmp should be tested. */
161826
 
+@%:@undef GNULIB_TEST_MBSCASECMP])
161827
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */
161828
 
+@%:@undef HAVE_MBSINIT])
161829
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */
161830
 
+@%:@undef HAVE_MBRTOWC])
161831
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */
161832
 
+@%:@undef HAVE_MBSINIT])
161833
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_MBSINIT])
161834
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MBSINIT$])
161835
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_MBSINIT], [/* Define to 1 if you have the declaration of `mbsinit\', and to 0 if you
161836
 
+   don\'t. */
161837
 
+@%:@undef HAVE_DECL_MBSINIT])
161838
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MBSINIT])
161839
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MBSINIT$])
161840
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_MBSINIT], [/* Define to 1 when the gnulib module mbsinit should be tested. */
161841
 
+@%:@undef GNULIB_TEST_MBSINIT])
161842
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBSLEN], [/* Define to 1 if you have the `mbslen\' function. */
161843
 
+@%:@undef HAVE_MBSLEN])
161844
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MBSLEN])
161845
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MBSLEN$])
161846
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_MBSLEN], [/* Define to 1 when the gnulib module mbslen should be tested. */
161847
 
+@%:@undef GNULIB_TEST_MBSLEN])
161848
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */
161849
 
+@%:@undef HAVE_MBSINIT])
161850
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */
161851
 
+@%:@undef HAVE_MBRTOWC])
161852
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBSRTOWCS], [/* Define to 1 if you have the `mbsrtowcs\' function. */
161853
 
+@%:@undef HAVE_MBSRTOWCS])
161854
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_MBSRTOWCS])
161855
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MBSRTOWCS$])
161856
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_MBSRTOWCS], [/* Define to 1 if you have the declaration of `mbsrtowcs\', and to 0 if you
161857
 
+   don\'t. */
161858
 
+@%:@undef HAVE_DECL_MBSRTOWCS])
161859
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MBSRTOWCS])
161860
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MBSRTOWCS$])
161861
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_MBSRTOWCS], [/* Define to 1 when the gnulib module mbsrtowcs should be tested. */
161862
 
+@%:@undef GNULIB_TEST_MBSRTOWCS])
161863
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MBSSTR])
161864
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MBSSTR$])
161865
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_MBSSTR], [/* Define to 1 when the gnulib module mbsstr should be tested. */
161866
 
+@%:@undef GNULIB_TEST_MBSSTR])
161867
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCHAR_H], [/* Define to 1 if you have the <wchar.h> header file. */
161868
 
+@%:@undef HAVE_WCHAR_H])
161869
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ISASCII], [/* Define to 1 if you have the `isascii\' function. */
161870
 
+@%:@undef HAVE_ISASCII])
161871
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */
161872
 
+@%:@undef HAVE_MBSINIT])
161873
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_MBSWIDTH_IN_WCHAR_H])
161874
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MBSWIDTH_IN_WCHAR_H$])
161875
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_MBSWIDTH_IN_WCHAR_H], [/* Define to 1 if you have a declaration of mbswidth() in <wchar.h>, and to 0
161876
 
+   otherwise. */
161877
 
+@%:@undef HAVE_DECL_MBSWIDTH_IN_WCHAR_H])
161878
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MBSTATE_T])
161879
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MBSTATE_T$])
161880
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBSTATE_T], [/* Define to 1 if <wchar.h> declares mbstate_t. */
161881
 
+@%:@undef HAVE_MBSTATE_T])
161882
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([mbstate_t])
161883
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^mbstate_t$])
161884
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([mbstate_t], [/* Define to a type if <wchar.h> does not define. */
161885
 
+@%:@undef mbstate_t])
161886
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MBTOWC])
161887
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MBTOWC$])
161888
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_MBTOWC], [/* Define to 1 when the gnulib module mbtowc should be tested. */
161889
 
+@%:@undef GNULIB_TEST_MBTOWC])
161890
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS])
161891
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
161892
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */
161893
 
+@%:@undef MAP_ANONYMOUS])
161894
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS])
161895
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
161896
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including
161897
 
+   config.h and <sys/mman.h>. */
161898
 
+@%:@undef HAVE_MAP_ANONYMOUS])
161899
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
161900
 
+@%:@undef HAVE_SYS_MMAN_H])
161901
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */
161902
 
+@%:@undef HAVE_MPROTECT])
161903
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_BP_SYM_H], [/* Define to 1 if you have the <bp-sym.h> header file. */
161904
 
+@%:@undef HAVE_BP_SYM_H])
161905
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BP_SYM_H])
161906
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_BP_SYM_H$])
161907
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MEMCHR])
161908
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MEMCHR$])
161909
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_MEMCHR], [/* Define to 1 when the gnulib module memchr should be tested. */
161910
 
+@%:@undef GNULIB_TEST_MEMCHR])
161911
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MEMPCPY], [/* Define to 1 if you have the `mempcpy\' function. */
161912
 
+@%:@undef HAVE_MEMPCPY])
161913
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMPCPY])
161914
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MEMPCPY$])
161915
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MEMPCPY])
161916
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MEMPCPY$])
161917
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_MEMPCPY], [/* Define to 1 when the gnulib module mempcpy should be tested. */
161918
 
+@%:@undef GNULIB_TEST_MEMPCPY])
161919
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_MEMRCHR])
161920
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_MEMRCHR$])
161921
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_MEMRCHR], [/* Define to 1 if you have the declaration of `memrchr\', and to 0 if you
161922
 
+   don\'t. */
161923
 
+@%:@undef HAVE_DECL_MEMRCHR])
161924
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MEMRCHR], [/* Define to 1 if you have the `memrchr\' function. */
161925
 
+@%:@undef HAVE_MEMRCHR])
161926
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMRCHR])
161927
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MEMRCHR$])
161928
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MEMRCHR])
161929
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MEMRCHR$])
161930
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_MEMRCHR], [/* Define to 1 when the gnulib module memrchr should be tested. */
161931
 
+@%:@undef GNULIB_TEST_MEMRCHR])
161932
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETGROUPLIST], [/* Define to 1 if you have the `getgrouplist\' function. */
161933
 
+@%:@undef HAVE_GETGROUPLIST])
161934
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
161935
 
+@%:@undef HAVE_UNISTD_H])
161936
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FUNC_MKDIR_DOT_BUG])
161937
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FUNC_MKDIR_DOT_BUG$])
161938
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FUNC_MKDIR_DOT_BUG], [/* Define to 1 if mkdir mistakenly creates a directory given with a trailing
161939
 
+   dot component. */
161940
 
+@%:@undef FUNC_MKDIR_DOT_BUG])
161941
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FCHMOD], [/* Define to 1 if you have the `fchmod\' function. */
161942
 
+@%:@undef HAVE_FCHMOD])
161943
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MKSTEMP], [/* Define to 1 if you have the `mkstemp\' function. */
161944
 
+@%:@undef HAVE_MKSTEMP])
161945
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MKSTEMP])
161946
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MKSTEMP$])
161947
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_MKSTEMP], [/* Define to 1 when the gnulib module mkstemp should be tested. */
161948
 
+@%:@undef GNULIB_TEST_MKSTEMP])
161949
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_MKTIME])
161950
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_MKTIME])
161951
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_MKTIME$])
161952
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_NANOSLEEP])
161953
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_NANOSLEEP])
161954
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_NANOSLEEP$])
161955
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_STRPTIME])
161956
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_STRPTIME])
161957
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRPTIME$])
161958
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_TIMEGM])
161959
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_TIMEGM])
161960
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TIMEGM$])
161961
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_TIME_R])
161962
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_TIME_R])
161963
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TIME_R$])
161964
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_LOCALTIME_R])
161965
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_LOCALTIME_R])
161966
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_LOCALTIME_R$])
161967
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_NANOSLEEP])
161968
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_NANOSLEEP])
161969
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NANOSLEEP$])
161970
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STRPTIME])
161971
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STRPTIME])
161972
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRPTIME$])
161973
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_TIMEGM])
161974
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_TIMEGM])
161975
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TIMEGM$])
161976
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_LOCALTIME_R])
161977
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_LOCALTIME_R])
161978
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_LOCALTIME_R$])
161979
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_MKTIME])
161980
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_MKTIME])
161981
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_MKTIME$])
161982
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_NANOSLEEP])
161983
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_NANOSLEEP])
161984
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_NANOSLEEP$])
161985
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_TIMEGM])
161986
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_TIMEGM])
161987
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_TIMEGM$])
161988
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
161989
 
+@%:@undef HAVE_UNISTD_H])
161990
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ALARM], [/* Define to 1 if you have the `alarm\' function. */
161991
 
+@%:@undef HAVE_ALARM])
161992
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MKTIME])
161993
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_MKTIME$])
161994
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_MKTIME], [/* Define to 1 when the gnulib module mktime should be tested. */
161995
 
+@%:@undef GNULIB_TEST_MKTIME])
161996
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LISTMNTENT], [/* Define to 1 if you have the `listmntent\' function. */
161997
 
+@%:@undef HAVE_LISTMNTENT])
161998
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETMNTINFO], [/* Define to 1 if you have the `getmntinfo\' function. */
161999
 
+@%:@undef HAVE_GETMNTINFO])
162000
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
162001
 
+@%:@undef HAVE_SYS_PARAM_H])
162002
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_STATVFS_H], [/* Define to 1 if you have the <sys/statvfs.h> header file. */
162003
 
+@%:@undef HAVE_SYS_STATVFS_H])
162004
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_UCRED_H], [/* Define to 1 if you have the <sys/ucred.h> header file. */
162005
 
+@%:@undef HAVE_SYS_UCRED_H])
162006
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_UCRED_H])
162007
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_UCRED_H$])
162008
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_MOUNT_H], [/* Define to 1 if you have the <sys/mount.h> header file. */
162009
 
+@%:@undef HAVE_SYS_MOUNT_H])
162010
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_MOUNT_H])
162011
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_MOUNT_H$])
162012
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MNTENT_H], [/* Define to 1 if you have the <mntent.h> header file. */
162013
 
+@%:@undef HAVE_MNTENT_H])
162014
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_FS_TYPES_H], [/* Define to 1 if you have the <sys/fs_types.h> header file. */
162015
 
+@%:@undef HAVE_SYS_FS_TYPES_H])
162016
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_FSSTAT_F_FSTYPENAME])
162017
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_FSSTAT_F_FSTYPENAME$])
162018
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_FSSTAT_F_FSTYPENAME], [/* Define to 1 if `f_fstypename\' is a member of `struct fsstat\'. */
162019
 
+@%:@undef HAVE_STRUCT_FSSTAT_F_FSTYPENAME])
162020
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETMNTENT], [/* Define to 1 if you have the `getmntent\' function. */
162021
 
+@%:@undef HAVE_GETMNTENT])
162022
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETMNTENT])
162023
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETMNTENT$])
162024
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MOUNTED_LISTMNTENT])
162025
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_LISTMNTENT$])
162026
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MOUNTED_LISTMNTENT], [/* Define if there is a function named listmntent that can be used to list all
162027
 
+   mounted file systems. (UNICOS) */
162028
 
+@%:@undef MOUNTED_LISTMNTENT])
162029
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MOUNTED_VMOUNT])
162030
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_VMOUNT$])
162031
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MOUNTED_VMOUNT], [/* Define if there is a function named mntctl that can be used to read the
162032
 
+   list of mounted file systems, and there is a system header file that
162033
 
+   declares `struct vmount.\' (AIX) */
162034
 
+@%:@undef MOUNTED_VMOUNT])
162035
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MOUNTED_GETMNTENT1])
162036
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_GETMNTENT1$])
162037
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MOUNTED_GETMNTENT1], [/* Define if there is a function named getmntent for reading the list of
162038
 
+   mounted file systems, and that function takes a single argument. (4.3BSD,
162039
 
+   SunOS, HP-UX, Dynix, Irix) */
162040
 
+@%:@undef MOUNTED_GETMNTENT1])
162041
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MOUNTED_GETMNTENT2])
162042
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_GETMNTENT2$])
162043
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MOUNTED_GETMNTENT2], [/* Define if there is a function named getmntent for reading the list of
162044
 
+   mounted file systems, and that function takes two arguments. (SVR4) */
162045
 
+@%:@undef MOUNTED_GETMNTENT2])
162046
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_HASMNTOPT], [/* Define to 1 if you have the `hasmntopt\' function. */
162047
 
+@%:@undef HAVE_HASMNTOPT])
162048
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_HASMNTOPT])
162049
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_HASMNTOPT$])
162050
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MOUNTED_GETFSSTAT])
162051
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_GETFSSTAT$])
162052
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MOUNTED_GETFSSTAT], [/* Define if there is a function named getfsstat for reading the list of
162053
 
+   mounted file systems. (DEC Alpha running OSF/1) */
162054
 
+@%:@undef MOUNTED_GETFSSTAT])
162055
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MOUNTED_FREAD_FSTYP])
162056
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_FREAD_FSTYP$])
162057
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MOUNTED_FREAD_FSTYP], [/* Define if (like SVR2) there is no specific function for reading the list of
162058
 
+   mounted file systems, and your system has these header files: <sys/fstyp.h>
162059
 
+   and <sys/statfs.h>. (SVR3) */
162060
 
+@%:@undef MOUNTED_FREAD_FSTYP])
162061
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MOUNTED_GETMNTINFO])
162062
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_GETMNTINFO$])
162063
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MOUNTED_GETMNTINFO], [/* Define if there is a function named getmntinfo for reading the list of
162064
 
+   mounted file systems and it returns an array of \'struct statfs\'. (4.4BSD,
162065
 
+   Darwin) */
162066
 
+@%:@undef MOUNTED_GETMNTINFO])
162067
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MOUNTED_GETMNTINFO2])
162068
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_GETMNTINFO2$])
162069
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MOUNTED_GETMNTINFO2], [/* Define if there is a function named getmntinfo for reading the list of
162070
 
+   mounted file systems and it returns an array of \'struct statvfs\'. (NetBSD
162071
 
+   3.0) */
162072
 
+@%:@undef MOUNTED_GETMNTINFO2])
162073
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MOUNTED_GETMNT])
162074
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_GETMNT$])
162075
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MOUNTED_GETMNT], [/* Define if there is a function named getmnt for reading the list of mounted
162076
 
+   file systems. (Ultrix) */
162077
 
+@%:@undef MOUNTED_GETMNT])
162078
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NEXT_DEV], [/* Define to 1 if you have the `next_dev\' function. */
162079
 
+@%:@undef HAVE_NEXT_DEV])
162080
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FS_STAT_DEV], [/* Define to 1 if you have the `fs_stat_dev\' function. */
162081
 
+@%:@undef HAVE_FS_STAT_DEV])
162082
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FS_INFO_H], [/* Define to 1 if you have the <fs_info.h> header file. */
162083
 
+@%:@undef HAVE_FS_INFO_H])
162084
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FS_INFO_H])
162085
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FS_INFO_H$])
162086
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MOUNTED_FS_STAT_DEV])
162087
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_FS_STAT_DEV$])
162088
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MOUNTED_FS_STAT_DEV], [/* Define if there are functions named next_dev and fs_stat_dev for reading
162089
 
+   the list of mounted file systems. (BeOS) */
162090
 
+@%:@undef MOUNTED_FS_STAT_DEV])
162091
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MOUNTED_FREAD])
162092
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_FREAD$])
162093
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MOUNTED_FREAD], [/* Define if there is no specific function for reading the list of mounted
162094
 
+   file systems. fread will be used to read /etc/mnttab. (SVR2) */
162095
 
+@%:@undef MOUNTED_FREAD])
162096
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STATVFS], [/* Define to 1 if you have the `statvfs\' function. */
162097
 
+@%:@undef HAVE_STATVFS])
162098
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STATVFS])
162099
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STATVFS$])
162100
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MOUNTED_INTERIX_STATVFS])
162101
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MOUNTED_INTERIX_STATVFS$])
162102
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MOUNTED_INTERIX_STATVFS], [/* Define if we are on interix, and ought to use statvfs plus some special
162103
 
+   knowledge on where mounted filesystems can be found. (Interix) */
162104
 
+@%:@undef MOUNTED_INTERIX_STATVFS])
162105
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_MNTENT_H], [/* Define to 1 if you have the <sys/mntent.h> header file. */
162106
 
+@%:@undef HAVE_SYS_MNTENT_H])
162107
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_MNTENT_H])
162108
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_MNTENT_H$])
162109
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STATFS_F_FSTYPENAME])
162110
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STATFS_F_FSTYPENAME$])
162111
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_STATFS_F_FSTYPENAME], [/* Define to 1 if `f_fstypename\' is a member of `struct statfs\'. */
162112
 
+@%:@undef HAVE_STRUCT_STATFS_F_FSTYPENAME])
162113
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
162114
 
+@%:@undef HAVE_SYS_TIME_H])
162115
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_PSELECT])
162116
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_PSELECT])
162117
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PSELECT$])
162118
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SELECT])
162119
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SELECT])
162120
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SELECT$])
162121
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_PSELECT])
162122
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_PSELECT])
162123
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PSELECT$])
162124
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_PSELECT])
162125
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_PSELECT])
162126
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_PSELECT$])
162127
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_SELECT])
162128
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_SELECT])
162129
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_SELECT$])
162130
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the <sys/select.h> header file. */
162131
 
+@%:@undef HAVE_SYS_SELECT_H])
162132
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_SYS_SELECT_H], [AS_VAR_GET(gl_next_header)])
162133
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_SYS_SELECT_H])
162134
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_SELECT_H$])
162135
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H], [$gl_next_as_first_directive])
162136
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H])
162137
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H$])
162138
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SYS_SELECT_H])
162139
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SYS_SELECT_H])
162140
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$])
162141
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
162142
 
+@%:@undef HAVE_SYS_SOCKET_H])
162143
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the <winsock2.h> header file. */
162144
 
+@%:@undef HAVE_WINSOCK2_H])
162145
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H])
162146
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
162147
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WINSOCK2_H])
162148
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WINSOCK2_H])
162149
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
162150
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_PSELECT], [/* Define to 1 if pselect is declared even after undefining macros. */
162151
 
+@%:@undef HAVE_RAW_DECL_PSELECT])
162152
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SELECT], [/* Define to 1 if select is declared even after undefining macros. */
162153
 
+@%:@undef HAVE_RAW_DECL_SELECT])
162154
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
162155
 
+@%:@undef HAVE_SYS_SOCKET_H])
162156
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the <winsock2.h> header file. */
162157
 
+@%:@undef HAVE_WINSOCK2_H])
162158
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H])
162159
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
162160
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WINSOCK2_H])
162161
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WINSOCK2_H])
162162
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
162163
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([WINDOWS_SOCKETS])
162164
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WINDOWS_SOCKETS$])
162165
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([WINDOWS_SOCKETS], [/* Define if WSAStartup is needed. */
162166
 
+@%:@undef WINDOWS_SOCKETS])
162167
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBSOCKET])
162168
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBSOCKET])
162169
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBSOCKET$])
162170
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the <sys/select.h> header file. */
162171
 
+@%:@undef HAVE_SYS_SELECT_H])
162172
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIB_NANOSLEEP])
162173
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIB_NANOSLEEP])
162174
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB_NANOSLEEP$])
162175
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BUG_BIG_NANOSLEEP])
162176
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_BUG_BIG_NANOSLEEP$])
162177
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_BUG_BIG_NANOSLEEP], [/* Define to 1 if nanosleep mishandles large arguments. */
162178
 
+@%:@undef HAVE_BUG_BIG_NANOSLEEP])
162179
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the <sys/select.h> header file. */
162180
 
+@%:@undef HAVE_SYS_SELECT_H])
162181
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_NANOSLEEP])
162182
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_NANOSLEEP$])
162183
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_NANOSLEEP], [/* Define to 1 when the gnulib module nanosleep should be tested. */
162184
 
+@%:@undef GNULIB_TEST_NANOSLEEP])
162185
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
162186
 
+@%:@undef HAVE_NETDB_H])
162187
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_NETDB_H], [AS_VAR_GET(gl_next_header)])
162188
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_NETDB_H])
162189
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_NETDB_H$])
162190
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_NETDB_H], [$gl_next_as_first_directive])
162191
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_NETDB_H])
162192
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_NETDB_H$])
162193
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_NETDB_H])
162194
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_NETDB_H])
162195
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NETDB_H$])
162196
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETADDRINFO], [/* Define to 1 if getaddrinfo is declared even after undefining macros. */
162197
 
+@%:@undef HAVE_RAW_DECL_GETADDRINFO])
162198
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FREEADDRINFO], [/* Define to 1 if freeaddrinfo is declared even after undefining macros. */
162199
 
+@%:@undef HAVE_RAW_DECL_FREEADDRINFO])
162200
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GAI_STRERROR], [/* Define to 1 if gai_strerror is declared even after undefining macros. */
162201
 
+@%:@undef HAVE_RAW_DECL_GAI_STRERROR])
162202
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETNAMEINFO], [/* Define to 1 if getnameinfo is declared even after undefining macros. */
162203
 
+@%:@undef HAVE_RAW_DECL_GETNAMEINFO])
162204
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
162205
 
+@%:@undef HAVE_NETINET_IN_H])
162206
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN_H])
162207
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$])
162208
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
162209
 
+@%:@undef HAVE_NETINET_IN_H])
162210
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_NETINET_IN_H], [AS_VAR_GET(gl_next_header)])
162211
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_NETINET_IN_H])
162212
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_NETINET_IN_H$])
162213
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H], [$gl_next_as_first_directive])
162214
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H])
162215
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_NETINET_IN_H$])
162216
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_NETINET_IN_H])
162217
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_NETINET_IN_H])
162218
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$])
162219
 
+m4trace:configure.ac:45: -1- AC_SUBST([NETINET_IN_H])
162220
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NETINET_IN_H])
162221
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NETINET_IN_H$])
162222
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_NETINET_IN_H], [test -n "$NETINET_IN_H"])
162223
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_NETINET_IN_H_TRUE])
162224
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_NETINET_IN_H_TRUE])
162225
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_NETINET_IN_H_TRUE$])
162226
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_NETINET_IN_H_FALSE])
162227
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_NETINET_IN_H_FALSE])
162228
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_NETINET_IN_H_FALSE$])
162229
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_NETINET_IN_H_TRUE])
162230
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_NETINET_IN_H_FALSE])
162231
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NL_LANGINFO], [/* Define to 1 if you have the `nl_langinfo\' function. */
162232
 
+@%:@undef HAVE_NL_LANGINFO])
162233
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FUNC_NL_LANGINFO_YESEXPR_WORKS])
162234
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FUNC_NL_LANGINFO_YESEXPR_WORKS$])
162235
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FUNC_NL_LANGINFO_YESEXPR_WORKS], [/* Define to 1 if nl_langinfo (YESEXPR) returns a non-empty string. */
162236
 
+@%:@undef FUNC_NL_LANGINFO_YESEXPR_WORKS])
162237
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_NL_LANGINFO])
162238
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_NL_LANGINFO$])
162239
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([REPLACE_NL_LANGINFO], [/* Define if nl_langinfo exists but is overridden by gnulib. */
162240
 
+@%:@undef REPLACE_NL_LANGINFO])
162241
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_NL_LANGINFO])
162242
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_NL_LANGINFO$])
162243
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_NL_LANGINFO], [/* Define to 1 when the gnulib module nl_langinfo should be tested. */
162244
 
+@%:@undef GNULIB_TEST_NL_LANGINFO])
162245
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_PSTAT_H], [/* Define to 1 if you have the <sys/pstat.h> header file. */
162246
 
+@%:@undef HAVE_SYS_PSTAT_H])
162247
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SYSMP_H], [/* Define to 1 if you have the <sys/sysmp.h> header file. */
162248
 
+@%:@undef HAVE_SYS_SYSMP_H])
162249
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
162250
 
+@%:@undef HAVE_SYS_PARAM_H])
162251
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SYSCTL_H], [/* Define to 1 if you have the <sys/sysctl.h> header file. */
162252
 
+@%:@undef HAVE_SYS_SYSCTL_H])
162253
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SYSCTL_H])
162254
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_SYSCTL_H$])
162255
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SCHED_GETAFFINITY], [/* Define to 1 if you have the `sched_getaffinity\' function. */
162256
 
+@%:@undef HAVE_SCHED_GETAFFINITY])
162257
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SCHED_GETAFFINITY_NP], [/* Define to 1 if you have the `sched_getaffinity_np\' function. */
162258
 
+@%:@undef HAVE_SCHED_GETAFFINITY_NP])
162259
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PSTAT_GETDYNAMIC], [/* Define to 1 if you have the `pstat_getdynamic\' function. */
162260
 
+@%:@undef HAVE_PSTAT_GETDYNAMIC])
162261
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYSMP], [/* Define to 1 if you have the `sysmp\' function. */
162262
 
+@%:@undef HAVE_SYSMP])
162263
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYSCTL], [/* Define to 1 if you have the `sysctl\' function. */
162264
 
+@%:@undef HAVE_SYSCTL])
162265
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SCHED_GETAFFINITY_LIKE_GLIBC])
162266
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SCHED_GETAFFINITY_LIKE_GLIBC$])
162267
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SCHED_GETAFFINITY_LIKE_GLIBC], [/* Define to 1 if sched_getaffinity has a glibc compatible declaration. */
162268
 
+@%:@undef HAVE_SCHED_GETAFFINITY_LIKE_GLIBC])
162269
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OBSTACK])
162270
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_OBSTACK$])
162271
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_OBSTACK], [/* Define to 1 if libc includes obstacks. */
162272
 
+@%:@undef HAVE_OBSTACK])
162273
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define to 1 if you have the `lstat\' function. */
162274
 
+@%:@undef HAVE_LSTAT])
162275
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([OPEN_TRAILING_SLASH_BUG])
162276
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^OPEN_TRAILING_SLASH_BUG$])
162277
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([OPEN_TRAILING_SLASH_BUG], [/* Define to 1 if open() fails to recognize a trailing slash. */
162278
 
+@%:@undef OPEN_TRAILING_SLASH_BUG])
162279
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FCHDIR], [/* Define to 1 if you have the `fchdir\' function. */
162280
 
+@%:@undef HAVE_FCHDIR])
162281
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_OPEN])
162282
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_OPEN$])
162283
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_OPEN], [/* Define to 1 when the gnulib module open should be tested. */
162284
 
+@%:@undef GNULIB_TEST_OPEN])
162285
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FCHMODAT], [/* Define to 1 if you have the `fchmodat\' function. */
162286
 
+@%:@undef HAVE_FCHMODAT])
162287
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LCHMOD], [/* Define to 1 if you have the `lchmod\' function. */
162288
 
+@%:@undef HAVE_LCHMOD])
162289
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MKDIRAT], [/* Define to 1 if you have the `mkdirat\' function. */
162290
 
+@%:@undef HAVE_MKDIRAT])
162291
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_OPENAT], [/* Define to 1 if you have the `openat\' function. */
162292
 
+@%:@undef HAVE_OPENAT])
162293
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UNLINKAT], [/* Define to 1 if you have the `unlinkat\' function. */
162294
 
+@%:@undef HAVE_UNLINKAT])
162295
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FCHOWNAT_NOFOLLOW_BUG])
162296
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FCHOWNAT_NOFOLLOW_BUG$])
162297
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FCHOWNAT_NOFOLLOW_BUG], [/* Define to 1 if your platform has fchownat, but it cannot perform lchown
162298
 
+   tasks. */
162299
 
+@%:@undef FCHOWNAT_NOFOLLOW_BUG])
162300
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FCHOWNAT_EMPTY_FILENAME_BUG])
162301
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FCHOWNAT_EMPTY_FILENAME_BUG$])
162302
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FCHOWNAT_EMPTY_FILENAME_BUG], [/* Define to 1 if your platform has fchownat, but it does not reject an empty
162303
 
+   file name. */
162304
 
+@%:@undef FCHOWNAT_EMPTY_FILENAME_BUG])
162305
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FSTATAT], [/* Define to 1 if you have the `fstatat\' function. */
162306
 
+@%:@undef HAVE_FSTATAT])
162307
 
+m4trace:configure.ac:45: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
162308
 
+../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
162309
 
+../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
162310
 
+../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
162311
 
+m4/openat.m4:161: gl_FUNC_FSTATAT is expanded from...
162312
 
+m4/openat.m4:11: gl_FUNC_OPENAT is expanded from...
162313
 
+m4/gnulib-comp.m4:703: gl_INIT is expanded from...
162314
 
+configure.ac:45: the top level])
162315
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FSTATAT_ZERO_FLAG_BROKEN])
162316
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FSTATAT_ZERO_FLAG_BROKEN$])
162317
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FSTATAT_ZERO_FLAG_BROKEN], [/* Define to 1 if fstatat (..., 0) does not work, as in AIX 7.1. */
162318
 
+@%:@undef FSTATAT_ZERO_FLAG_BROKEN])
162319
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_OPENAT])
162320
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_OPENAT$])
162321
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_OPENAT], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
162322
 
+   whether the gnulib module openat shall be considered present. */
162323
 
+@%:@undef GNULIB_OPENAT])
162324
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_OPENAT_SAFER])
162325
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_OPENAT_SAFER$])
162326
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_OPENAT_SAFER], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
162327
 
+   whether the gnulib module openat-safer shall be considered present. */
162328
 
+@%:@undef GNULIB_OPENAT_SAFER])
162329
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
162330
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE__BOOL$])
162331
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
162332
 
+@%:@undef HAVE__BOOL])
162333
 
+m4trace:configure.ac:45: -1- AC_SUBST([STDBOOL_H])
162334
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([STDBOOL_H])
162335
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STDBOOL_H$])
162336
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_STDBOOL_H], [test -n "$STDBOOL_H"])
162337
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_STDBOOL_H_TRUE])
162338
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_STDBOOL_H_TRUE])
162339
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDBOOL_H_TRUE$])
162340
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_STDBOOL_H_FALSE])
162341
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_STDBOOL_H_FALSE])
162342
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDBOOL_H_FALSE$])
162343
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDBOOL_H_TRUE])
162344
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDBOOL_H_FALSE])
162345
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE__BOOL])
162346
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE__BOOL])
162347
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE__BOOL$])
162348
 
+m4trace:configure.ac:45: -1- AC_SUBST([YACC])
162349
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([YACC])
162350
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^YACC$])
162351
 
+m4trace:configure.ac:45: -1- AC_SUBST([YFLAGS])
162352
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([YFLAGS])
162353
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^YFLAGS$])
162354
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_COMPOUND_LITERALS])
162355
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_COMPOUND_LITERALS$])
162356
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_COMPOUND_LITERALS], [/* Define if you have compound literals. */
162357
 
+@%:@undef HAVE_COMPOUND_LITERALS])
162358
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([TM_IN_SYS_TIME])
162359
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^TM_IN_SYS_TIME$])
162360
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([TM_IN_SYS_TIME], [/* Define to 1 if your <sys/time.h> declares `struct tm\'. */
162361
 
+@%:@undef TM_IN_SYS_TIME])
162362
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TM_TM_ZONE])
162363
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_TM_TM_ZONE$])
162364
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_TM_TM_ZONE], [/* Define to 1 if `tm_zone\' is a member of `struct tm\'. */
162365
 
+@%:@undef HAVE_STRUCT_TM_TM_ZONE])
162366
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TM_ZONE])
162367
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TM_ZONE$])
162368
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_TM_ZONE], [/* Define to 1 if your `struct tm\' has `tm_zone\'. Deprecated, use
162369
 
+   `HAVE_STRUCT_TM_TM_ZONE\' instead. */
162370
 
+@%:@undef HAVE_TM_ZONE])
162371
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_TZNAME])
162372
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TZNAME$])
162373
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_TZNAME], [/* Define to 1 if you have the declaration of `tzname\', and to 0 if you don\'t.
162374
 
+   */
162375
 
+@%:@undef HAVE_DECL_TZNAME])
162376
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TZNAME])
162377
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TZNAME$])
162378
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_TZNAME], [/* Define to 1 if you don\'t have `tm_zone\' but do have the external array
162379
 
+   `tzname\'. */
162380
 
+@%:@undef HAVE_TZNAME])
162381
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TM_GMTOFF])
162382
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TM_GMTOFF$])
162383
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_TM_GMTOFF], [/* Define if struct tm has the tm_gmtoff member. */
162384
 
+@%:@undef HAVE_TM_GMTOFF])
162385
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([TIME_T_FITS_IN_LONG_INT])
162386
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^TIME_T_FITS_IN_LONG_INT$])
162387
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([TIME_T_FITS_IN_LONG_INT], [/* Define to 1 if all \'time_t\' values fit in a \'long int\'. */
162388
 
+@%:@undef TIME_T_FITS_IN_LONG_INT])
162389
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
162390
 
+@%:@undef HAVE_SYS_PARAM_H])
162391
 
+m4trace:configure.ac:45: -1- AC_SUBST([PERL])
162392
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([PERL])
162393
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PERL$])
162394
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_PSTAT_H], [/* Define to 1 if you have the <sys/pstat.h> header file. */
162395
 
+@%:@undef HAVE_SYS_PSTAT_H])
162396
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SYSMP_H], [/* Define to 1 if you have the <sys/sysmp.h> header file. */
162397
 
+@%:@undef HAVE_SYS_SYSMP_H])
162398
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SYSINFO_H], [/* Define to 1 if you have the <sys/sysinfo.h> header file. */
162399
 
+@%:@undef HAVE_SYS_SYSINFO_H])
162400
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MACHINE_HAL_SYSINFO_H], [/* Define to 1 if you have the <machine/hal_sysinfo.h> header file. */
162401
 
+@%:@undef HAVE_MACHINE_HAL_SYSINFO_H])
162402
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_TABLE_H], [/* Define to 1 if you have the <sys/table.h> header file. */
162403
 
+@%:@undef HAVE_SYS_TABLE_H])
162404
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
162405
 
+@%:@undef HAVE_SYS_PARAM_H])
162406
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SYSTEMCFG_H], [/* Define to 1 if you have the <sys/systemcfg.h> header file. */
162407
 
+@%:@undef HAVE_SYS_SYSTEMCFG_H])
162408
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SYSCTL_H], [/* Define to 1 if you have the <sys/sysctl.h> header file. */
162409
 
+@%:@undef HAVE_SYS_SYSCTL_H])
162410
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SYSCTL_H])
162411
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_SYSCTL_H$])
162412
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PSTAT_GETSTATIC], [/* Define to 1 if you have the `pstat_getstatic\' function. */
162413
 
+@%:@undef HAVE_PSTAT_GETSTATIC])
162414
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PSTAT_GETDYNAMIC], [/* Define to 1 if you have the `pstat_getdynamic\' function. */
162415
 
+@%:@undef HAVE_PSTAT_GETDYNAMIC])
162416
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYSMP], [/* Define to 1 if you have the `sysmp\' function. */
162417
 
+@%:@undef HAVE_SYSMP])
162418
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETSYSINFO], [/* Define to 1 if you have the `getsysinfo\' function. */
162419
 
+@%:@undef HAVE_GETSYSINFO])
162420
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYSCTL], [/* Define to 1 if you have the `sysctl\' function. */
162421
 
+@%:@undef HAVE_SYSCTL])
162422
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_TABLE], [/* Define to 1 if you have the `table\' function. */
162423
 
+@%:@undef HAVE_TABLE])
162424
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE__SYSTEM_CONFIGURATION])
162425
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE__SYSTEM_CONFIGURATION$])
162426
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE__SYSTEM_CONFIGURATION], [/* Define to 1 if you have the external variable, _system_configuration with a
162427
 
+   member named physmem. */
162428
 
+@%:@undef HAVE__SYSTEM_CONFIGURATION])
162429
 
+m4trace:configure.ac:45: -1- AC_SUBST([POSIX_SHELL])
162430
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([POSIX_SHELL])
162431
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^POSIX_SHELL$])
162432
 
+m4trace:configure.ac:45: -1- AC_SUBST([PREFERABLY_POSIX_SHELL])
162433
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([PREFERABLY_POSIX_SHELL])
162434
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PREFERABLY_POSIX_SHELL$])
162435
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([DEFAULT_POSIX2_VERSION])
162436
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DEFAULT_POSIX2_VERSION$])
162437
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([DEFAULT_POSIX2_VERSION], [/* Define the default level of POSIX conformance. The value is of the form
162438
 
+   YYYYMM, specifying the year and month the standard was adopted. If not
162439
 
+   defined here, it defaults to the value of _POSIX2_VERSION in <unistd.h>.
162440
 
+   Define to 199209 to default to POSIX 1003.2-1992, which makes standard
162441
 
+   programs like `head\', `tail\', and `sort\' accept obsolete options like `+10\'
162442
 
+   and `-10\'. Define to 200112 to default to POSIX 1003.1-2001, which makes
162443
 
+   these standard programs treat leading-`+\' operands as file names and
162444
 
+   require modern usages like `-n 10\' instead of `-10\'. Whether defined here
162445
 
+   or not, the default can be overridden at run time via the _POSIX2_VERSION
162446
 
+   environment variable. */
162447
 
+@%:@undef DEFAULT_POSIX2_VERSION])
162448
 
+m4trace:configure.ac:45: -1- AC_SUBST([DEFAULT_POSIX2_VERSION])
162449
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([DEFAULT_POSIX2_VERSION])
162450
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DEFAULT_POSIX2_VERSION$])
162451
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREXP_IN_LIBC])
162452
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FREXP_IN_LIBC$])
162453
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FREXP_IN_LIBC], [/* Define if the frexp function is available in libc. */
162454
 
+@%:@undef HAVE_FREXP_IN_LIBC])
162455
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDEXP_IN_LIBC])
162456
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LDEXP_IN_LIBC$])
162457
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LDEXP_IN_LIBC], [/* Define if the ldexp function is available in libc. */
162458
 
+@%:@undef HAVE_LDEXP_IN_LIBC])
162459
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREXPL_IN_LIBC])
162460
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_FREXPL_IN_LIBC$])
162461
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FREXPL_IN_LIBC], [/* Define if the frexpl function is available in libc. */
162462
 
+@%:@undef HAVE_FREXPL_IN_LIBC])
162463
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDEXPL_IN_LIBC])
162464
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LDEXPL_IN_LIBC$])
162465
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LDEXPL_IN_LIBC], [/* Define if the ldexpl function is available in libc. */
162466
 
+@%:@undef HAVE_LDEXPL_IN_LIBC])
162467
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETPPRIV], [/* Define to 1 if you have the `getppriv\' function. */
162468
 
+@%:@undef HAVE_GETPPRIV])
162469
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPPRIV])
162470
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETPPRIV$])
162471
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PRIV_H], [/* Define to 1 if you have the <priv.h> header file. */
162472
 
+@%:@undef HAVE_PRIV_H])
162473
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PROGRAM_INVOCATION_NAME])
162474
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_NAME$])
162475
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_PROGRAM_INVOCATION_NAME], [/* Define to 1 if you have the declaration of `program_invocation_name\', and
162476
 
+   to 0 if you don\'t. */
162477
 
+@%:@undef HAVE_DECL_PROGRAM_INVOCATION_NAME])
162478
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME])
162479
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME$])
162480
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME], [/* Define to 1 if you have the declaration of `program_invocation_short_name\',
162481
 
+   and to 0 if you don\'t. */
162482
 
+@%:@undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME])
162483
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--keyword='proper_name:1,\"This is a proper name. See the gettext manual, section Names.\"'])
162484
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--keyword='proper_name_utf8:1,\"This is a proper name. See the gettext manual, section Names.\"'])
162485
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_PTHREAD_H])
162486
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_PTHREAD_H])
162487
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_H$])
162488
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_PTHREAD_T])
162489
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_PTHREAD_T])
162490
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_T$])
162491
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_PTHREAD_SPINLOCK_T])
162492
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_PTHREAD_SPINLOCK_T])
162493
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_SPINLOCK_T$])
162494
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PTHREAD_H], [/* Define to 1 if you have the <pthread.h> header file. */
162495
 
+@%:@undef HAVE_PTHREAD_H])
162496
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_PTHREAD_H], [AS_VAR_GET(gl_next_header)])
162497
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_PTHREAD_H])
162498
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_PTHREAD_H$])
162499
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H], [$gl_next_as_first_directive])
162500
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H])
162501
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_PTHREAD_H$])
162502
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD_T])
162503
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_T$])
162504
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PTHREAD_T], [/* Define to 1 if the system has the type `pthread_t\'. */
162505
 
+@%:@undef HAVE_PTHREAD_T])
162506
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD_SPINLOCK_T])
162507
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_SPINLOCK_T$])
162508
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PTHREAD_SPINLOCK_T], [/* Define to 1 if the system has the type `pthread_spinlock_t\'. */
162509
 
+@%:@undef HAVE_PTHREAD_SPINLOCK_T])
162510
 
+m4trace:configure.ac:45: -1- AC_SUBST([PTHREAD_H])
162511
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([PTHREAD_H])
162512
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PTHREAD_H$])
162513
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_PTHREAD_H], [test -n "$PTHREAD_H"])
162514
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_PTHREAD_H_TRUE])
162515
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_PTHREAD_H_TRUE])
162516
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_PTHREAD_H_TRUE$])
162517
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_PTHREAD_H_FALSE])
162518
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_PTHREAD_H_FALSE])
162519
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_PTHREAD_H_FALSE$])
162520
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_PTHREAD_H_TRUE])
162521
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_PTHREAD_H_FALSE])
162522
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIB_PTHREAD])
162523
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIB_PTHREAD])
162524
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB_PTHREAD$])
162525
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_PUTENV])
162526
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_PUTENV$])
162527
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_PUTENV], [/* Define to 1 when the gnulib module putenv should be tested. */
162528
 
+@%:@undef GNULIB_TEST_PUTENV])
162529
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_READ])
162530
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_READ$])
162531
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_READ], [/* Define to 1 when the gnulib module read should be tested. */
162532
 
+@%:@undef GNULIB_TEST_READ])
162533
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_READLINK], [/* Define to 1 if you have the `readlink\' function. */
162534
 
+@%:@undef HAVE_READLINK])
162535
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([READLINK_TRAILING_SLASH_BUG])
162536
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^READLINK_TRAILING_SLASH_BUG$])
162537
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([READLINK_TRAILING_SLASH_BUG], [/* Define to 1 if readlink fails to recognize a trailing slash. */
162538
 
+@%:@undef READLINK_TRAILING_SLASH_BUG])
162539
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_READLINK])
162540
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_READLINK$])
162541
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_READLINK], [/* Define to 1 when the gnulib module readlink should be tested. */
162542
 
+@%:@undef GNULIB_TEST_READLINK])
162543
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_READLINKAT], [/* Define to 1 if you have the `readlinkat\' function. */
162544
 
+@%:@undef HAVE_READLINKAT])
162545
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_READLINKAT])
162546
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_READLINKAT$])
162547
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_READLINKAT], [/* Define to 1 when the gnulib module readlinkat should be tested. */
162548
 
+@%:@undef GNULIB_TEST_READLINKAT])
162549
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UTMP_H], [/* Define to 1 if you have the <utmp.h> header file. */
162550
 
+@%:@undef HAVE_UTMP_H])
162551
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UTMPX_H], [/* Define to 1 if you have the <utmpx.h> header file. */
162552
 
+@%:@undef HAVE_UTMPX_H])
162553
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UTMPNAME], [/* Define to 1 if you have the `utmpname\' function. */
162554
 
+@%:@undef HAVE_UTMPNAME])
162555
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UTMPXNAME], [/* Define to 1 if you have the `utmpxname\' function. */
162556
 
+@%:@undef HAVE_UTMPXNAME])
162557
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETUTENT])
162558
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETUTENT$])
162559
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_GETUTENT], [/* Define to 1 if you have the declaration of `getutent\', and to 0 if you
162560
 
+   don\'t. */
162561
 
+@%:@undef HAVE_DECL_GETUTENT])
162562
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_USER])
162563
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_USER$])
162564
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_USER], [/* Define to 1 if `ut_user\' is a member of `struct utmpx\'. */
162565
 
+@%:@undef HAVE_STRUCT_UTMPX_UT_USER])
162566
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_USER])
162567
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_USER$])
162568
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_USER], [/* Define to 1 if `ut_user\' is a member of `struct utmp\'. */
162569
 
+@%:@undef HAVE_STRUCT_UTMP_UT_USER])
162570
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_NAME])
162571
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_NAME$])
162572
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_NAME], [/* Define to 1 if `ut_name\' is a member of `struct utmpx\'. */
162573
 
+@%:@undef HAVE_STRUCT_UTMPX_UT_NAME])
162574
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_NAME])
162575
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_NAME$])
162576
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_NAME], [/* Define to 1 if `ut_name\' is a member of `struct utmp\'. */
162577
 
+@%:@undef HAVE_STRUCT_UTMP_UT_NAME])
162578
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_TYPE])
162579
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_TYPE$])
162580
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_TYPE], [/* Define to 1 if `ut_type\' is a member of `struct utmpx\'. */
162581
 
+@%:@undef HAVE_STRUCT_UTMPX_UT_TYPE])
162582
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_TYPE])
162583
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_TYPE$])
162584
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_TYPE], [/* Define to 1 if `ut_type\' is a member of `struct utmp\'. */
162585
 
+@%:@undef HAVE_STRUCT_UTMP_UT_TYPE])
162586
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_PID])
162587
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_PID$])
162588
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_PID], [/* Define to 1 if `ut_pid\' is a member of `struct utmpx\'. */
162589
 
+@%:@undef HAVE_STRUCT_UTMPX_UT_PID])
162590
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_PID])
162591
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_PID$])
162592
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_PID], [/* Define to 1 if `ut_pid\' is a member of `struct utmp\'. */
162593
 
+@%:@undef HAVE_STRUCT_UTMP_UT_PID])
162594
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_ID])
162595
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_ID$])
162596
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_ID], [/* Define to 1 if `ut_id\' is a member of `struct utmpx\'. */
162597
 
+@%:@undef HAVE_STRUCT_UTMPX_UT_ID])
162598
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_ID])
162599
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_ID$])
162600
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_ID], [/* Define to 1 if `ut_id\' is a member of `struct utmp\'. */
162601
 
+@%:@undef HAVE_STRUCT_UTMP_UT_ID])
162602
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_EXIT])
162603
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_EXIT$])
162604
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_EXIT], [/* Define to 1 if `ut_exit\' is a member of `struct utmpx\'. */
162605
 
+@%:@undef HAVE_STRUCT_UTMPX_UT_EXIT])
162606
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_EXIT])
162607
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_EXIT$])
162608
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_EXIT], [/* Define to 1 if `ut_exit\' is a member of `struct utmp\'. */
162609
 
+@%:@undef HAVE_STRUCT_UTMP_UT_EXIT])
162610
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_EXIT_UT_EXIT])
162611
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_EXIT_UT_EXIT$])
162612
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_EXIT_UT_EXIT], [/* Define to 1 if `ut_exit.ut_exit\' is a member of `struct utmpx\'. */
162613
 
+@%:@undef HAVE_STRUCT_UTMPX_UT_EXIT_UT_EXIT])
162614
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_EXIT_UT_EXIT])
162615
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_EXIT_UT_EXIT$])
162616
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_EXIT_UT_EXIT], [/* Define to 1 if `ut_exit.ut_exit\' is a member of `struct utmp\'. */
162617
 
+@%:@undef HAVE_STRUCT_UTMP_UT_EXIT_UT_EXIT])
162618
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_EXIT_E_EXIT])
162619
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_EXIT_E_EXIT$])
162620
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_EXIT_E_EXIT], [/* Define to 1 if `ut_exit.e_exit\' is a member of `struct utmpx\'. */
162621
 
+@%:@undef HAVE_STRUCT_UTMPX_UT_EXIT_E_EXIT])
162622
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_EXIT_E_EXIT])
162623
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_EXIT_E_EXIT$])
162624
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_EXIT_E_EXIT], [/* Define to 1 if `ut_exit.e_exit\' is a member of `struct utmp\'. */
162625
 
+@%:@undef HAVE_STRUCT_UTMP_UT_EXIT_E_EXIT])
162626
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_EXIT_UT_TERMINATION])
162627
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_EXIT_UT_TERMINATION$])
162628
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_EXIT_UT_TERMINATION], [/* Define to 1 if `ut_exit.ut_termination\' is a member of `struct utmpx\'. */
162629
 
+@%:@undef HAVE_STRUCT_UTMPX_UT_EXIT_UT_TERMINATION])
162630
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_EXIT_UT_TERMINATION])
162631
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_EXIT_UT_TERMINATION$])
162632
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_EXIT_UT_TERMINATION], [/* Define to 1 if `ut_exit.ut_termination\' is a member of `struct utmp\'. */
162633
 
+@%:@undef HAVE_STRUCT_UTMP_UT_EXIT_UT_TERMINATION])
162634
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMPX_UT_EXIT_E_TERMINATION])
162635
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMPX_UT_EXIT_E_TERMINATION$])
162636
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMPX_UT_EXIT_E_TERMINATION], [/* Define to 1 if `ut_exit.e_termination\' is a member of `struct utmpx\'. */
162637
 
+@%:@undef HAVE_STRUCT_UTMPX_UT_EXIT_E_TERMINATION])
162638
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTMP_UT_EXIT_E_TERMINATION])
162639
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTMP_UT_EXIT_E_TERMINATION$])
162640
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTMP_UT_EXIT_E_TERMINATION], [/* Define to 1 if `ut_exit.e_termination\' is a member of `struct utmp\'. */
162641
 
+@%:@undef HAVE_STRUCT_UTMP_UT_EXIT_E_TERMINATION])
162642
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
162643
 
+@%:@undef HAVE_STDLIB_H])
162644
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
162645
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
162646
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC_GNU])
162647
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_REALLOC_GNU$])
162648
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_REALLOC_GNU], [/* Define to 1 if your system has a GNU libc compatible \'realloc\' function,
162649
 
+   and to 0 otherwise. */
162650
 
+@%:@undef HAVE_REALLOC_GNU])
162651
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC_GNU])
162652
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_REALLOC_GNU$])
162653
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_REALLOC_GNU])
162654
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_REALLOC_GNU$])
162655
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_REALLOC_GNU], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
162656
 
+   whether the gnulib module realloc-gnu shall be considered present. */
162657
 
+@%:@undef GNULIB_REALLOC_GNU])
162658
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC_POSIX])
162659
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_REALLOC_POSIX$])
162660
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_REALLOC_POSIX], [/* Define if the \'realloc\' function is POSIX compliant. */
162661
 
+@%:@undef HAVE_REALLOC_POSIX])
162662
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_REALLOC_POSIX])
162663
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_REALLOC_POSIX$])
162664
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_REALLOC_POSIX], [/* Define to 1 when the gnulib module realloc-posix should be tested. */
162665
 
+@%:@undef GNULIB_TEST_REALLOC_POSIX])
162666
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([_REGEX_LARGE_OFFSETS])
162667
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^_REGEX_LARGE_OFFSETS$])
162668
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([_REGEX_LARGE_OFFSETS], [/* Define if you want regoff_t to be at least as wide POSIX requires. */
162669
 
+@%:@undef _REGEX_LARGE_OFFSETS])
162670
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([re_syntax_options])
162671
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_syntax_options$])
162672
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([re_syntax_options], [/* Define to rpl_re_syntax_options if the replacement should be used. */
162673
 
+@%:@undef re_syntax_options])
162674
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([re_set_syntax])
162675
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_set_syntax$])
162676
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([re_set_syntax], [/* Define to rpl_re_set_syntax if the replacement should be used. */
162677
 
+@%:@undef re_set_syntax])
162678
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([re_compile_pattern])
162679
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_compile_pattern$])
162680
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([re_compile_pattern], [/* Define to rpl_re_compile_pattern if the replacement should be used. */
162681
 
+@%:@undef re_compile_pattern])
162682
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([re_compile_fastmap])
162683
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_compile_fastmap$])
162684
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([re_compile_fastmap], [/* Define to rpl_re_compile_fastmap if the replacement should be used. */
162685
 
+@%:@undef re_compile_fastmap])
162686
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([re_search])
162687
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_search$])
162688
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([re_search], [/* Define to rpl_re_search if the replacement should be used. */
162689
 
+@%:@undef re_search])
162690
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([re_search_2])
162691
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_search_2$])
162692
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([re_search_2], [/* Define to rpl_re_search_2 if the replacement should be used. */
162693
 
+@%:@undef re_search_2])
162694
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([re_match])
162695
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_match$])
162696
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([re_match], [/* Define to rpl_re_match if the replacement should be used. */
162697
 
+@%:@undef re_match])
162698
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([re_match_2])
162699
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_match_2$])
162700
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([re_match_2], [/* Define to rpl_re_match_2 if the replacement should be used. */
162701
 
+@%:@undef re_match_2])
162702
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([re_set_registers])
162703
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_set_registers$])
162704
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([re_set_registers], [/* Define to rpl_re_set_registers if the replacement should be used. */
162705
 
+@%:@undef re_set_registers])
162706
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([re_comp])
162707
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_comp$])
162708
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([re_comp], [/* Define to rpl_re_comp if the replacement should be used. */
162709
 
+@%:@undef re_comp])
162710
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([re_exec])
162711
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^re_exec$])
162712
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([re_exec], [/* Define to rpl_re_exec if the replacement should be used. */
162713
 
+@%:@undef re_exec])
162714
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([regcomp])
162715
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^regcomp$])
162716
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([regcomp], [/* Define to rpl_regcomp if the replacement should be used. */
162717
 
+@%:@undef regcomp])
162718
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([regexec])
162719
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^regexec$])
162720
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([regexec], [/* Define to rpl_regexec if the replacement should be used. */
162721
 
+@%:@undef regexec])
162722
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([regerror])
162723
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^regerror$])
162724
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([regerror], [/* Define to rpl_regerror if the replacement should be used. */
162725
 
+@%:@undef regerror])
162726
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([regfree])
162727
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^regfree$])
162728
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([regfree], [/* Define to rpl_regfree if the replacement should be used. */
162729
 
+@%:@undef regfree])
162730
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LIBINTL_H], [/* Define to 1 if you have the <libintl.h> header file. */
162731
 
+@%:@undef HAVE_LIBINTL_H])
162732
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBINTL_H])
162733
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LIBINTL_H$])
162734
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ISBLANK], [/* Define to 1 if you have the `isblank\' function. */
162735
 
+@%:@undef HAVE_ISBLANK])
162736
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ISWCTYPE], [/* Define to 1 if you have the `iswctype\' function. */
162737
 
+@%:@undef HAVE_ISWCTYPE])
162738
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCSCOLL], [/* Define to 1 if you have the `wcscoll\' function. */
162739
 
+@%:@undef HAVE_WCSCOLL])
162740
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_ISBLANK])
162741
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ISBLANK$])
162742
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_ISBLANK], [/* Define to 1 if you have the declaration of `isblank\', and to 0 if you
162743
 
+   don\'t. */
162744
 
+@%:@undef HAVE_DECL_ISBLANK])
162745
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_REMOVE])
162746
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_REMOVE$])
162747
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_REMOVE], [/* Define to 1 when the gnulib module remove should be tested. */
162748
 
+@%:@undef GNULIB_TEST_REMOVE])
162749
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define to 1 if you have the `lstat\' function. */
162750
 
+@%:@undef HAVE_LSTAT])
162751
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([RENAME_TRAILING_SLASH_DEST_BUG])
162752
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^RENAME_TRAILING_SLASH_DEST_BUG$])
162753
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([RENAME_TRAILING_SLASH_DEST_BUG], [/* Define if rename does not correctly handle slashes on the destination
162754
 
+   argument, such as on Solaris 10 or NetBSD 1.6. */
162755
 
+@%:@undef RENAME_TRAILING_SLASH_DEST_BUG])
162756
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([RENAME_TRAILING_SLASH_SOURCE_BUG])
162757
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^RENAME_TRAILING_SLASH_SOURCE_BUG$])
162758
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([RENAME_TRAILING_SLASH_SOURCE_BUG], [/* Define if rename does not correctly handle slashes on the source argument,
162759
 
+   such as on Solaris 9 or cygwin 1.5. */
162760
 
+@%:@undef RENAME_TRAILING_SLASH_SOURCE_BUG])
162761
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([RENAME_HARD_LINK_BUG])
162762
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^RENAME_HARD_LINK_BUG$])
162763
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([RENAME_HARD_LINK_BUG], [/* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or
162764
 
+   Cygwin 1.5. */
162765
 
+@%:@undef RENAME_HARD_LINK_BUG])
162766
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([RENAME_DEST_EXISTS_BUG])
162767
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^RENAME_DEST_EXISTS_BUG$])
162768
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([RENAME_DEST_EXISTS_BUG], [/* Define if rename does not work when the destination file exists, as on
162769
 
+   Cygwin 1.5 or Windows. */
162770
 
+@%:@undef RENAME_DEST_EXISTS_BUG])
162771
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_RENAME])
162772
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_RENAME$])
162773
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_RENAME], [/* Define to 1 when the gnulib module rename should be tested. */
162774
 
+@%:@undef GNULIB_TEST_RENAME])
162775
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_RMDIR])
162776
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_RMDIR$])
162777
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_RMDIR], [/* Define to 1 when the gnulib module rmdir should be tested. */
162778
 
+@%:@undef GNULIB_TEST_RMDIR])
162779
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([LSTAT_FOLLOWS_SLASHED_SYMLINK])
162780
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LSTAT_FOLLOWS_SLASHED_SYMLINK$])
162781
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([LSTAT_FOLLOWS_SLASHED_SYMLINK], [/* Define to 1 if `lstat\' dereferences a symlink specified with a trailing
162782
 
+   slash. */
162783
 
+@%:@undef LSTAT_FOLLOWS_SLASHED_SYMLINK])
162784
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LSTAT_EMPTY_STRING_BUG])
162785
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LSTAT_EMPTY_STRING_BUG$])
162786
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LSTAT_EMPTY_STRING_BUG], [/* Define to 1 if `lstat\' has the bug that it succeeds when given the
162787
 
+   zero-length file name argument. */
162788
 
+@%:@undef HAVE_LSTAT_EMPTY_STRING_BUG])
162789
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RPMATCH], [/* Define to 1 if you have the `rpmatch\' function. */
162790
 
+@%:@undef HAVE_RPMATCH])
162791
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RPMATCH])
162792
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_RPMATCH$])
162793
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LANGINFO_YESEXPR])
162794
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LANGINFO_YESEXPR$])
162795
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LANGINFO_YESEXPR], [/* Define if you have <langinfo.h> and nl_langinfo(YESEXPR). */
162796
 
+@%:@undef HAVE_LANGINFO_YESEXPR])
162797
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_RPMATCH])
162798
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_RPMATCH$])
162799
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_RPMATCH], [/* Define to 1 when the gnulib module rpmatch should be tested. */
162800
 
+@%:@undef GNULIB_TEST_RPMATCH])
162801
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PATHCONF], [/* Define to 1 if you have the `pathconf\' function. */
162802
 
+@%:@undef HAVE_PATHCONF])
162803
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FCHDIR], [/* Define to 1 if you have the `fchdir\' function. */
162804
 
+@%:@undef HAVE_FCHDIR])
162805
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SCHED_H], [/* Define to 1 if you have the <sched.h> header file. */
162806
 
+@%:@undef HAVE_SCHED_H])
162807
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_SCHED_H], [AS_VAR_GET(gl_next_header)])
162808
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_SCHED_H])
162809
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SCHED_H$])
162810
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SCHED_H], [$gl_next_as_first_directive])
162811
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SCHED_H])
162812
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SCHED_H$])
162813
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SCHED_H])
162814
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SCHED_H])
162815
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SCHED_H$])
162816
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STRUCT_SCHED_PARAM])
162817
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STRUCT_SCHED_PARAM])
162818
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SCHED_PARAM$])
162819
 
+m4trace:configure.ac:45: -1- AC_SUBST([SCHED_H])
162820
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([SCHED_H])
162821
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SCHED_H$])
162822
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_SCHED_H], [test -n "$SCHED_H"])
162823
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_SCHED_H_TRUE])
162824
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_SCHED_H_TRUE])
162825
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_SCHED_H_TRUE$])
162826
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_SCHED_H_FALSE])
162827
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_SCHED_H_FALSE])
162828
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_SCHED_H_FALSE$])
162829
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_SCHED_H_TRUE])
162830
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_SCHED_H_FALSE])
162831
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the <sys/select.h> header file. */
162832
 
+@%:@undef HAVE_SYS_SELECT_H])
162833
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SELECT])
162834
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SELECT$])
162835
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_SELECT], [/* Define to 1 when the gnulib module select should be tested. */
162836
 
+@%:@undef GNULIB_TEST_SELECT])
162837
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SELINUX_FLASK_H], [/* Define to 1 if you have the <selinux/flask.h> header file. */
162838
 
+@%:@undef HAVE_SELINUX_FLASK_H])
162839
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SELINUX_FLASK_H])
162840
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SELINUX_FLASK_H$])
162841
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIB_SELINUX])
162842
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIB_SELINUX])
162843
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB_SELINUX$])
162844
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SELINUX_SELINUX_H], [/* Define to 1 if you have the <selinux/selinux.h> header file. */
162845
 
+@%:@undef HAVE_SELINUX_SELINUX_H])
162846
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SELINUX_SELINUX_H])
162847
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SELINUX_SELINUX_H$])
162848
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SELINUX_SELINUX_H], [/* Define to 1 if you have the <selinux/selinux.h> header file. */
162849
 
+@%:@undef HAVE_SELINUX_SELINUX_H])
162850
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_SELINUX_SELINUX_H], [AS_VAR_GET(gl_next_header)])
162851
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_SELINUX_SELINUX_H])
162852
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SELINUX_SELINUX_H$])
162853
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SELINUX_SELINUX_H], [$gl_next_as_first_directive])
162854
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SELINUX_SELINUX_H])
162855
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SELINUX_SELINUX_H$])
162856
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([getfilecon])
162857
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^getfilecon$])
162858
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([getfilecon], [/* Always use our getfilecon wrapper. */
162859
 
+@%:@undef getfilecon])
162860
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([lgetfilecon])
162861
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^lgetfilecon$])
162862
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([lgetfilecon], [/* Always use our lgetfilecon wrapper. */
162863
 
+@%:@undef lgetfilecon])
162864
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([fgetfilecon])
162865
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^fgetfilecon$])
162866
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([fgetfilecon], [/* Always use our fgetfilecon wrapper. */
162867
 
+@%:@undef fgetfilecon])
162868
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SELINUX_SELINUX_H])
162869
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SELINUX_SELINUX_H$])
162870
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SELINUX_CONTEXT_H], [/* Define to 1 if you have the <selinux/context.h> header file. */
162871
 
+@%:@undef HAVE_SELINUX_CONTEXT_H])
162872
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SELINUX_CONTEXT_H])
162873
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SELINUX_CONTEXT_H$])
162874
 
+m4trace:configure.ac:45: -1- AC_SUBST([SELINUX_CONTEXT_H])
162875
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([SELINUX_CONTEXT_H])
162876
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SELINUX_CONTEXT_H$])
162877
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_SELINUX_CONTEXT_H], [test -n "$SELINUX_CONTEXT_H"])
162878
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_SELINUX_CONTEXT_H_TRUE])
162879
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_SELINUX_CONTEXT_H_TRUE])
162880
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_SELINUX_CONTEXT_H_TRUE$])
162881
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_SELINUX_CONTEXT_H_FALSE])
162882
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_SELINUX_CONTEXT_H_FALSE])
162883
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_SELINUX_CONTEXT_H_FALSE$])
162884
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_SELINUX_CONTEXT_H_TRUE])
162885
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_SELINUX_CONTEXT_H_FALSE])
162886
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETSERVBYNAME], [/* Define to 1 if you have the `getservbyname\' function. */
162887
 
+@%:@undef HAVE_GETSERVBYNAME])
162888
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETSERVBYNAME])
162889
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_GETSERVBYNAME$])
162890
 
+m4trace:configure.ac:45: -1- AC_SUBST([SERVENT_LIB])
162891
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([SERVENT_LIB])
162892
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SERVENT_LIB$])
162893
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_SETENV])
162894
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SETENV$])
162895
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_SETENV], [/* Define to 1 if you have the declaration of `setenv\', and to 0 if you don\'t.
162896
 
+   */
162897
 
+@%:@undef HAVE_DECL_SETENV])
162898
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SETENV], [/* Define to 1 if you have the `setenv\' function. */
162899
 
+@%:@undef HAVE_SETENV])
162900
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
162901
 
+@%:@undef HAVE_UNISTD_H])
162902
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SEARCH_H], [/* Define to 1 if you have the <search.h> header file. */
162903
 
+@%:@undef HAVE_SEARCH_H])
162904
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SEARCH_H])
162905
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SEARCH_H$])
162906
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_TSEARCH], [/* Define to 1 if you have the `tsearch\' function. */
162907
 
+@%:@undef HAVE_TSEARCH])
162908
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TSEARCH])
162909
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TSEARCH$])
162910
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SETENV])
162911
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SETENV$])
162912
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_SETENV], [/* Define to 1 when the gnulib module setenv should be tested. */
162913
 
+@%:@undef GNULIB_TEST_SETENV])
162914
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SETTIMEOFDAY], [/* Define to 1 if you have the `settimeofday\' function. */
162915
 
+@%:@undef HAVE_SETTIMEOFDAY])
162916
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STIME], [/* Define to 1 if you have the `stime\' function. */
162917
 
+@%:@undef HAVE_STIME])
162918
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SIG2STR], [/* Define to 1 if you have the `sig2str\' function. */
162919
 
+@%:@undef HAVE_SIG2STR])
162920
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIG2STR])
162921
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIG2STR$])
162922
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_PTHREAD_SIGMASK])
162923
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_PTHREAD_SIGMASK])
162924
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_PTHREAD_SIGMASK$])
162925
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SIGNAL_H_SIGPIPE])
162926
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SIGNAL_H_SIGPIPE])
162927
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SIGNAL_H_SIGPIPE$])
162928
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SIGPROCMASK])
162929
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SIGPROCMASK])
162930
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SIGPROCMASK$])
162931
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_SIGACTION])
162932
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_SIGACTION])
162933
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SIGACTION$])
162934
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_POSIX_SIGNALBLOCKING])
162935
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_POSIX_SIGNALBLOCKING])
162936
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_POSIX_SIGNALBLOCKING$])
162937
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_PTHREAD_SIGMASK])
162938
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_PTHREAD_SIGMASK])
162939
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_SIGMASK$])
162940
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SIGSET_T])
162941
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SIGSET_T])
162942
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGSET_T$])
162943
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SIGINFO_T])
162944
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SIGINFO_T])
162945
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGINFO_T$])
162946
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SIGACTION])
162947
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SIGACTION])
162948
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGACTION$])
162949
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STRUCT_SIGACTION_SA_SIGACTION])
162950
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STRUCT_SIGACTION_SA_SIGACTION])
162951
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SIGACTION_SA_SIGACTION$])
162952
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_TYPE_VOLATILE_SIG_ATOMIC_T])
162953
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_TYPE_VOLATILE_SIG_ATOMIC_T])
162954
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TYPE_VOLATILE_SIG_ATOMIC_T$])
162955
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SIGHANDLER_T])
162956
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SIGHANDLER_T])
162957
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGHANDLER_T$])
162958
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_PTHREAD_SIGMASK])
162959
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_PTHREAD_SIGMASK])
162960
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_PTHREAD_SIGMASK$])
162961
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SIGACTION], [/* Define to 1 if you have the `sigaction\' function. */
162962
 
+@%:@undef HAVE_SIGACTION])
162963
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SIGACTION_SA_SIGACTION])
162964
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SIGACTION_SA_SIGACTION$])
162965
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_SIGACTION_SA_SIGACTION], [/* Define to 1 if `sa_sigaction\' is a member of `struct sigaction\'. */
162966
 
+@%:@undef HAVE_STRUCT_SIGACTION_SA_SIGACTION])
162967
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SIGALTSTACK], [/* Define to 1 if you have the `sigaltstack\' function. */
162968
 
+@%:@undef HAVE_SIGALTSTACK])
162969
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SIGINTERRUPT], [/* Define to 1 if you have the `siginterrupt\' function. */
162970
 
+@%:@undef HAVE_SIGINTERRUPT])
162971
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGINFO_T])
162972
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGINFO_T$])
162973
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SIGINFO_T], [/* Define to 1 if the system has the type `siginfo_t\'. */
162974
 
+@%:@undef HAVE_SIGINFO_T])
162975
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SIGACTION])
162976
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SIGACTION$])
162977
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_SIGACTION], [/* Define to 1 when the gnulib module sigaction should be tested. */
162978
 
+@%:@undef GNULIB_TEST_SIGACTION])
162979
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGSET_T])
162980
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SIGSET_T$])
162981
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SIGSET_T], [/* Define to 1 if the system has the type `sigset_t\'. */
162982
 
+@%:@undef HAVE_SIGSET_T])
162983
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_SIGNAL_H], [AS_VAR_GET(gl_next_header)])
162984
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_SIGNAL_H])
162985
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SIGNAL_H$])
162986
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H], [$gl_next_as_first_directive])
162987
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H])
162988
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H$])
162989
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_PTHREAD_SIGMASK], [/* Define to 1 if pthread_sigmask is declared even after undefining macros. */
162990
 
+@%:@undef HAVE_RAW_DECL_PTHREAD_SIGMASK])
162991
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SIGACTION], [/* Define to 1 if sigaction is declared even after undefining macros. */
162992
 
+@%:@undef HAVE_RAW_DECL_SIGACTION])
162993
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SIGADDSET], [/* Define to 1 if sigaddset is declared even after undefining macros. */
162994
 
+@%:@undef HAVE_RAW_DECL_SIGADDSET])
162995
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SIGDELSET], [/* Define to 1 if sigdelset is declared even after undefining macros. */
162996
 
+@%:@undef HAVE_RAW_DECL_SIGDELSET])
162997
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SIGEMPTYSET], [/* Define to 1 if sigemptyset is declared even after undefining macros. */
162998
 
+@%:@undef HAVE_RAW_DECL_SIGEMPTYSET])
162999
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SIGFILLSET], [/* Define to 1 if sigfillset is declared even after undefining macros. */
163000
 
+@%:@undef HAVE_RAW_DECL_SIGFILLSET])
163001
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SIGISMEMBER], [/* Define to 1 if sigismember is declared even after undefining macros. */
163002
 
+@%:@undef HAVE_RAW_DECL_SIGISMEMBER])
163003
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SIGPENDING], [/* Define to 1 if sigpending is declared even after undefining macros. */
163004
 
+@%:@undef HAVE_RAW_DECL_SIGPENDING])
163005
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SIGPROCMASK], [/* Define to 1 if sigprocmask is declared even after undefining macros. */
163006
 
+@%:@undef HAVE_RAW_DECL_SIGPROCMASK])
163007
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FLT_SIGNBIT_WORD])
163008
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLT_SIGNBIT_WORD$])
163009
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FLT_SIGNBIT_WORD], [/* Define as the word index where to find the sign of \'float\'. */
163010
 
+@%:@undef FLT_SIGNBIT_WORD])
163011
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FLT_SIGNBIT_BIT])
163012
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLT_SIGNBIT_BIT$])
163013
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FLT_SIGNBIT_BIT], [/* Define as the bit index in the word where to find the sign of \'float\'. */
163014
 
+@%:@undef FLT_SIGNBIT_BIT])
163015
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([DBL_SIGNBIT_WORD])
163016
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DBL_SIGNBIT_WORD$])
163017
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([DBL_SIGNBIT_WORD], [/* Define as the word index where to find the sign of \'double\'. */
163018
 
+@%:@undef DBL_SIGNBIT_WORD])
163019
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([DBL_SIGNBIT_BIT])
163020
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DBL_SIGNBIT_BIT$])
163021
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([DBL_SIGNBIT_BIT], [/* Define as the bit index in the word where to find the sign of \'double\'. */
163022
 
+@%:@undef DBL_SIGNBIT_BIT])
163023
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([LDBL_SIGNBIT_WORD])
163024
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LDBL_SIGNBIT_WORD$])
163025
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([LDBL_SIGNBIT_WORD], [/* Define as the word index where to find the sign of \'long double\'. */
163026
 
+@%:@undef LDBL_SIGNBIT_WORD])
163027
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([LDBL_SIGNBIT_BIT])
163028
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LDBL_SIGNBIT_BIT$])
163029
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([LDBL_SIGNBIT_BIT], [/* Define as the bit index in the word where to find the sign of \'long
163030
 
+   double\'. */
163031
 
+@%:@undef LDBL_SIGNBIT_BIT])
163032
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_COPYSIGNF])
163033
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGNF$])
163034
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_COPYSIGNF], [/* Define to 1 if you have the declaration of `copysignf\', and to 0 if you
163035
 
+   don\'t. */
163036
 
+@%:@undef HAVE_DECL_COPYSIGNF])
163037
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_COPYSIGNF_IN_LIBC])
163038
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_COPYSIGNF_IN_LIBC$])
163039
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_COPYSIGNF_IN_LIBC], [/* Define if the copysignf function is declared in <math.h> and available in
163040
 
+   libc. */
163041
 
+@%:@undef HAVE_COPYSIGNF_IN_LIBC])
163042
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_COPYSIGN])
163043
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGN$])
163044
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_COPYSIGN], [/* Define to 1 if you have the declaration of `copysign\', and to 0 if you
163045
 
+   don\'t. */
163046
 
+@%:@undef HAVE_DECL_COPYSIGN])
163047
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_COPYSIGN_IN_LIBC])
163048
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_COPYSIGN_IN_LIBC$])
163049
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_COPYSIGN_IN_LIBC], [/* Define if the copysign function is declared in <math.h> and available in
163050
 
+   libc. */
163051
 
+@%:@undef HAVE_COPYSIGN_IN_LIBC])
163052
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_COPYSIGNL])
163053
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGNL$])
163054
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_COPYSIGNL], [/* Define to 1 if you have the declaration of `copysignl\', and to 0 if you
163055
 
+   don\'t. */
163056
 
+@%:@undef HAVE_DECL_COPYSIGNL])
163057
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_COPYSIGNL_IN_LIBC])
163058
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_COPYSIGNL_IN_LIBC$])
163059
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_COPYSIGNL_IN_LIBC], [/* Define if the copysignl function is declared in <math.h> and available in
163060
 
+   libc. */
163061
 
+@%:@undef HAVE_COPYSIGNL_IN_LIBC])
163062
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SIGNBIT])
163063
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SIGNBIT$])
163064
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_SIGNBIT], [/* Define to 1 when the gnulib module signbit should be tested. */
163065
 
+@%:@undef GNULIB_TEST_SIGNBIT])
163066
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SIGPROCMASK])
163067
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SIGPROCMASK$])
163068
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_SIGPROCMASK], [/* Define to 1 when the gnulib module sigprocmask should be tested. */
163069
 
+@%:@undef GNULIB_TEST_SIGPROCMASK])
163070
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
163071
 
+@%:@undef HAVE_STDINT_H])
163072
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H])
163073
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STDINT_H$])
163074
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([SIZE_MAX])
163075
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SIZE_MAX$])
163076
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([SIZE_MAX], [/* Define as the maximum value of type \'size_t\', if the system doesn\'t define
163077
 
+   it. */
163078
 
+@%:@undef SIZE_MAX])
163079
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([SIZE_MAX], [/* Define as the maximum value of type \'size_t\', if the system doesn\'t define
163080
 
+   it. */
163081
 
+#ifndef SIZE_MAX
163082
 
+# undef SIZE_MAX
163083
 
+#endif])
163084
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the `snprintf\' function. */
163085
 
+@%:@undef HAVE_SNPRINTF])
163086
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SNPRINTF])
163087
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SNPRINTF$])
163088
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_SNPRINTF])
163089
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$])
163090
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_SNPRINTF], [/* Define to 1 if you have the declaration of `snprintf\', and to 0 if you
163091
 
+   don\'t. */
163092
 
+@%:@undef HAVE_DECL_SNPRINTF])
163093
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SNPRINTF])
163094
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SNPRINTF$])
163095
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_SNPRINTF], [/* Define to 1 when the gnulib module snprintf should be tested. */
163096
 
+@%:@undef GNULIB_TEST_SNPRINTF])
163097
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_SNPRINTF])
163098
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_SNPRINTF$])
163099
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_SNPRINTF], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
163100
 
+   whether the gnulib module snprintf shall be considered present. */
163101
 
+@%:@undef GNULIB_SNPRINTF])
163102
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
163103
 
+@%:@undef HAVE_SYS_SOCKET_H])
163104
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the <winsock2.h> header file. */
163105
 
+@%:@undef HAVE_WINSOCK2_H])
163106
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H])
163107
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
163108
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WINSOCK2_H])
163109
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WINSOCK2_H])
163110
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
163111
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([WINDOWS_SOCKETS])
163112
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WINDOWS_SOCKETS$])
163113
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([WINDOWS_SOCKETS], [/* Define if WSAStartup is needed. */
163114
 
+@%:@undef WINDOWS_SOCKETS])
163115
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBSOCKET])
163116
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBSOCKET])
163117
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBSOCKET$])
163118
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([socklen_t])
163119
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^socklen_t$])
163120
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([socklen_t], [/* type to use in place of socklen_t if not defined */
163121
 
+@%:@undef socklen_t])
163122
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([ssize_t])
163123
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ssize_t$])
163124
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([ssize_t], [/* Define as a signed type of the same size as size_t. */
163125
 
+@%:@undef ssize_t])
163126
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define to 1 if you have the `lstat\' function. */
163127
 
+@%:@undef HAVE_LSTAT])
163128
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_FUNC_STAT_DIR])
163129
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FUNC_STAT_DIR$])
163130
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([REPLACE_FUNC_STAT_DIR], [/* Define to 1 if stat needs help when passed a directory name with a trailing
163131
 
+   slash */
163132
 
+@%:@undef REPLACE_FUNC_STAT_DIR])
163133
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_FUNC_STAT_FILE])
163134
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_FUNC_STAT_FILE$])
163135
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([REPLACE_FUNC_STAT_FILE], [/* Define to 1 if stat needs help when passed a file name with a trailing
163136
 
+   slash */
163137
 
+@%:@undef REPLACE_FUNC_STAT_FILE])
163138
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STAT])
163139
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STAT$])
163140
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_STAT], [/* Define to 1 when the gnulib module stat should be tested. */
163141
 
+@%:@undef GNULIB_TEST_STAT])
163142
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
163143
 
+@%:@undef HAVE_SYS_PARAM_H])
163144
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
163145
 
+@%:@undef HAVE_SYS_TIME_H])
163146
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC])
163147
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC$])
163148
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC], [/* Define to 1 if `st_atim.tv_nsec\' is a member of `struct stat\'. */
163149
 
+@%:@undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC])
163150
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC])
163151
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC$])
163152
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC], [/* Define to 1 if the type of the st_atim member of a struct stat is struct
163153
 
+   timespec. */
163154
 
+@%:@undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC])
163155
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC])
163156
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC$])
163157
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC], [/* Define to 1 if `st_atimespec.tv_nsec\' is a member of `struct stat\'. */
163158
 
+@%:@undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC])
163159
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STAT_ST_ATIMENSEC])
163160
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_ATIMENSEC$])
163161
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_STAT_ST_ATIMENSEC], [/* Define to 1 if `st_atimensec\' is a member of `struct stat\'. */
163162
 
+@%:@undef HAVE_STRUCT_STAT_ST_ATIMENSEC])
163163
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC])
163164
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC$])
163165
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC], [/* Define to 1 if `st_atim.st__tim.tv_nsec\' is a member of `struct stat\'. */
163166
 
+@%:@undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC])
163167
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
163168
 
+@%:@undef HAVE_SYS_TIME_H])
163169
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC])
163170
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC$])
163171
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC], [/* Define to 1 if `st_birthtimespec.tv_nsec\' is a member of `struct stat\'. */
163172
 
+@%:@undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC])
163173
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC])
163174
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC$])
163175
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC], [/* Define to 1 if `st_birthtimensec\' is a member of `struct stat\'. */
163176
 
+@%:@undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC])
163177
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC])
163178
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC$])
163179
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC], [/* Define to 1 if `st_birthtim.tv_nsec\' is a member of `struct stat\'. */
163180
 
+@%:@undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC])
163181
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_STDARG_H], [AS_VAR_GET(gl_next_header)])
163182
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_STDARG_H])
163183
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_STDARG_H$])
163184
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDARG_H], [$gl_next_as_first_directive])
163185
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDARG_H])
163186
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDARG_H$])
163187
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([va_copy])
163188
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^va_copy$])
163189
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([va_copy], [/* Define as a macro for copying va_list variables. */
163190
 
+@%:@undef va_copy])
163191
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([gl_VA_COPY], [/* A replacement for va_copy, if needed.  */
163192
 
+#define gl_va_copy(a,b) ((a) = (b))])
163193
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([va_copy])
163194
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^va_copy$])
163195
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([va_copy], [/* Define as a macro for copying va_list variables. */
163196
 
+@%:@undef va_copy])
163197
 
+m4trace:configure.ac:45: -1- AC_SUBST([STDARG_H])
163198
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([STDARG_H])
163199
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STDARG_H$])
163200
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_STDARG_H], [test -n "$STDARG_H"])
163201
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_STDARG_H_TRUE])
163202
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_STDARG_H_TRUE])
163203
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDARG_H_TRUE$])
163204
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_STDARG_H_FALSE])
163205
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_STDARG_H_FALSE])
163206
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDARG_H_FALSE$])
163207
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDARG_H_TRUE])
163208
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDARG_H_FALSE])
163209
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_STDARG_H])
163210
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_STDARG_H])
163211
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_STDARG_H$])
163212
 
+m4trace:configure.ac:45: -1- AC_SUBST([STDBOOL_H])
163213
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([STDBOOL_H])
163214
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STDBOOL_H$])
163215
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_STDBOOL_H], [test -n "$STDBOOL_H"])
163216
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_STDBOOL_H_TRUE])
163217
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_STDBOOL_H_TRUE])
163218
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDBOOL_H_TRUE$])
163219
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_STDBOOL_H_FALSE])
163220
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_STDBOOL_H_FALSE])
163221
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDBOOL_H_FALSE$])
163222
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDBOOL_H_TRUE])
163223
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDBOOL_H_FALSE])
163224
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE__BOOL])
163225
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE__BOOL])
163226
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE__BOOL$])
163227
 
+m4trace:configure.ac:45: -1- AC_SUBST([STDDEF_H])
163228
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([STDDEF_H])
163229
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STDDEF_H$])
163230
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([GL_GENERATE_STDDEF_H], [test -n "$STDDEF_H"])
163231
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_STDDEF_H_TRUE])
163232
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_STDDEF_H_TRUE])
163233
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDDEF_H_TRUE$])
163234
 
+m4trace:configure.ac:45: -1- AC_SUBST([GL_GENERATE_STDDEF_H_FALSE])
163235
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GL_GENERATE_STDDEF_H_FALSE])
163236
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GL_GENERATE_STDDEF_H_FALSE$])
163237
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDDEF_H_TRUE])
163238
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDDEF_H_FALSE])
163239
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_STDDEF_H], [AS_VAR_GET(gl_next_header)])
163240
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_STDDEF_H])
163241
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_STDDEF_H$])
163242
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDDEF_H], [$gl_next_as_first_directive])
163243
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDDEF_H])
163244
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDDEF_H$])
163245
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_STDIO_H], [AS_VAR_GET(gl_next_header)])
163246
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_STDIO_H])
163247
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_STDIO_H$])
163248
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDIO_H], [$gl_next_as_first_directive])
163249
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDIO_H])
163250
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDIO_H$])
163251
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_DPRINTF], [/* Define to 1 if dprintf is declared even after undefining macros. */
163252
 
+@%:@undef HAVE_RAW_DECL_DPRINTF])
163253
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FPURGE], [/* Define to 1 if fpurge is declared even after undefining macros. */
163254
 
+@%:@undef HAVE_RAW_DECL_FPURGE])
163255
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FSEEKO], [/* Define to 1 if fseeko is declared even after undefining macros. */
163256
 
+@%:@undef HAVE_RAW_DECL_FSEEKO])
163257
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FTELLO], [/* Define to 1 if ftello is declared even after undefining macros. */
163258
 
+@%:@undef HAVE_RAW_DECL_FTELLO])
163259
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETDELIM], [/* Define to 1 if getdelim is declared even after undefining macros. */
163260
 
+@%:@undef HAVE_RAW_DECL_GETDELIM])
163261
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETLINE], [/* Define to 1 if getline is declared even after undefining macros. */
163262
 
+@%:@undef HAVE_RAW_DECL_GETLINE])
163263
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_POPEN], [/* Define to 1 if popen is declared even after undefining macros. */
163264
 
+@%:@undef HAVE_RAW_DECL_POPEN])
163265
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_RENAMEAT], [/* Define to 1 if renameat is declared even after undefining macros. */
163266
 
+@%:@undef HAVE_RAW_DECL_RENAMEAT])
163267
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SNPRINTF], [/* Define to 1 if snprintf is declared even after undefining macros. */
163268
 
+@%:@undef HAVE_RAW_DECL_SNPRINTF])
163269
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_TMPFILE], [/* Define to 1 if tmpfile is declared even after undefining macros. */
163270
 
+@%:@undef HAVE_RAW_DECL_TMPFILE])
163271
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_VDPRINTF], [/* Define to 1 if vdprintf is declared even after undefining macros. */
163272
 
+@%:@undef HAVE_RAW_DECL_VDPRINTF])
163273
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_VSNPRINTF], [/* Define to 1 if vsnprintf is declared even after undefining macros. */
163274
 
+@%:@undef HAVE_RAW_DECL_VSNPRINTF])
163275
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_STDLIB_H], [AS_VAR_GET(gl_next_header)])
163276
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_STDLIB_H])
163277
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_STDLIB_H$])
163278
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDLIB_H], [$gl_next_as_first_directive])
163279
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDLIB_H])
163280
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDLIB_H$])
163281
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL__EXIT], [/* Define to 1 if _Exit is declared even after undefining macros. */
163282
 
+@%:@undef HAVE_RAW_DECL__EXIT])
163283
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_ATOLL], [/* Define to 1 if atoll is declared even after undefining macros. */
163284
 
+@%:@undef HAVE_RAW_DECL_ATOLL])
163285
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_CANONICALIZE_FILE_NAME], [/* Define to 1 if canonicalize_file_name is declared even after undefining
163286
 
+   macros. */
163287
 
+@%:@undef HAVE_RAW_DECL_CANONICALIZE_FILE_NAME])
163288
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETLOADAVG], [/* Define to 1 if getloadavg is declared even after undefining macros. */
163289
 
+@%:@undef HAVE_RAW_DECL_GETLOADAVG])
163290
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETSUBOPT], [/* Define to 1 if getsubopt is declared even after undefining macros. */
163291
 
+@%:@undef HAVE_RAW_DECL_GETSUBOPT])
163292
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GRANTPT], [/* Define to 1 if grantpt is declared even after undefining macros. */
163293
 
+@%:@undef HAVE_RAW_DECL_GRANTPT])
163294
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MKDTEMP], [/* Define to 1 if mkdtemp is declared even after undefining macros. */
163295
 
+@%:@undef HAVE_RAW_DECL_MKDTEMP])
163296
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MKOSTEMP], [/* Define to 1 if mkostemp is declared even after undefining macros. */
163297
 
+@%:@undef HAVE_RAW_DECL_MKOSTEMP])
163298
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MKOSTEMPS], [/* Define to 1 if mkostemps is declared even after undefining macros. */
163299
 
+@%:@undef HAVE_RAW_DECL_MKOSTEMPS])
163300
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MKSTEMP], [/* Define to 1 if mkstemp is declared even after undefining macros. */
163301
 
+@%:@undef HAVE_RAW_DECL_MKSTEMP])
163302
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MKSTEMPS], [/* Define to 1 if mkstemps is declared even after undefining macros. */
163303
 
+@%:@undef HAVE_RAW_DECL_MKSTEMPS])
163304
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_PTSNAME], [/* Define to 1 if ptsname is declared even after undefining macros. */
163305
 
+@%:@undef HAVE_RAW_DECL_PTSNAME])
163306
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_RANDOM_R], [/* Define to 1 if random_r is declared even after undefining macros. */
163307
 
+@%:@undef HAVE_RAW_DECL_RANDOM_R])
163308
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_INITSTAT_R], [/* Define to 1 if initstat_r is declared even after undefining macros. */
163309
 
+@%:@undef HAVE_RAW_DECL_INITSTAT_R])
163310
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SRANDOM_R], [/* Define to 1 if srandom_r is declared even after undefining macros. */
163311
 
+@%:@undef HAVE_RAW_DECL_SRANDOM_R])
163312
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SETSTATE_R], [/* Define to 1 if setstate_r is declared even after undefining macros. */
163313
 
+@%:@undef HAVE_RAW_DECL_SETSTATE_R])
163314
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_REALPATH], [/* Define to 1 if realpath is declared even after undefining macros. */
163315
 
+@%:@undef HAVE_RAW_DECL_REALPATH])
163316
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_RPMATCH], [/* Define to 1 if rpmatch is declared even after undefining macros. */
163317
 
+@%:@undef HAVE_RAW_DECL_RPMATCH])
163318
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SETENV], [/* Define to 1 if setenv is declared even after undefining macros. */
163319
 
+@%:@undef HAVE_RAW_DECL_SETENV])
163320
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STRTOD], [/* Define to 1 if strtod is declared even after undefining macros. */
163321
 
+@%:@undef HAVE_RAW_DECL_STRTOD])
163322
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STRTOLL], [/* Define to 1 if strtoll is declared even after undefining macros. */
163323
 
+@%:@undef HAVE_RAW_DECL_STRTOLL])
163324
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STRTOULL], [/* Define to 1 if strtoull is declared even after undefining macros. */
163325
 
+@%:@undef HAVE_RAW_DECL_STRTOULL])
163326
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_UNLOCKPT], [/* Define to 1 if unlockpt is declared even after undefining macros. */
163327
 
+@%:@undef HAVE_RAW_DECL_UNLOCKPT])
163328
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_UNSETENV], [/* Define to 1 if unsetenv is declared even after undefining macros. */
163329
 
+@%:@undef HAVE_RAW_DECL_UNSETENV])
163330
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STPCPY], [/* Define to 1 if you have the `stpcpy\' function. */
163331
 
+@%:@undef HAVE_STPCPY])
163332
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STPCPY])
163333
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STPCPY$])
163334
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STPCPY])
163335
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STPCPY$])
163336
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_STPCPY], [/* Define to 1 when the gnulib module stpcpy should be tested. */
163337
 
+@%:@undef GNULIB_TEST_STPCPY])
163338
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STPNCPY])
163339
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STPNCPY$])
163340
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_STPNCPY], [/* Define to 1 if you have the declaration of `stpncpy\', and to 0 if you
163341
 
+   don\'t. */
163342
 
+@%:@undef HAVE_DECL_STPNCPY])
163343
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STPNCPY], [/* Define to 1 if you have the `stpncpy\' function. */
163344
 
+@%:@undef HAVE_STPNCPY])
163345
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STPNCPY])
163346
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STPNCPY$])
163347
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STPNCPY], [/* Define if you have the stpncpy() function and it works. */
163348
 
+@%:@undef HAVE_STPNCPY])
163349
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STPNCPY])
163350
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STPNCPY$])
163351
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_STPNCPY], [/* Define to 1 when the gnulib module stpncpy should be tested. */
163352
 
+@%:@undef GNULIB_TEST_STPNCPY])
163353
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */
163354
 
+@%:@undef HAVE_STRDUP])
163355
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRDUP])
163356
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$])
163357
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_STRDUP], [/* Define to 1 if you have the declaration of `strdup\', and to 0 if you don\'t.
163358
 
+   */
163359
 
+@%:@undef HAVE_DECL_STRDUP])
163360
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRDUP])
163361
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRDUP$])
163362
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_STRDUP], [/* Define to 1 when the gnulib module strdup should be tested. */
163363
 
+@%:@undef GNULIB_TEST_STRDUP])
163364
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_STRERROR_0])
163365
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_STRERROR_0$])
163366
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([REPLACE_STRERROR_0], [/* Define to 1 if strerror(0) does not return a message implying success. */
163367
 
+@%:@undef REPLACE_STRERROR_0])
163368
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRERROR_R], [/* Define to 1 if you have the `strerror_r\' function. */
163369
 
+@%:@undef HAVE_STRERROR_R])
163370
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE___XPG_STRERROR_R], [/* Define to 1 if you have the `__xpg_strerror_r\' function. */
163371
 
+@%:@undef HAVE___XPG_STRERROR_R])
163372
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_STRERROR])
163373
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_STRERROR$])
163374
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_STRERROR], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
163375
 
+   whether the gnulib module strerror shall be considered present. */
163376
 
+@%:@undef GNULIB_STRERROR])
163377
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRERROR])
163378
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRERROR$])
163379
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_STRERROR], [/* Define to 1 when the gnulib module strerror should be tested. */
163380
 
+@%:@undef GNULIB_TEST_STRERROR])
163381
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
163382
 
+@%:@undef HAVE_SYS_SOCKET_H])
163383
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the <winsock2.h> header file. */
163384
 
+@%:@undef HAVE_WINSOCK2_H])
163385
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H])
163386
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
163387
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WINSOCK2_H])
163388
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WINSOCK2_H])
163389
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
163390
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_TZSET], [/* Define to 1 if you have the `tzset\' function. */
163391
 
+@%:@undef HAVE_TZSET])
163392
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([my_strftime])
163393
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^my_strftime$])
163394
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([my_strftime], [/* Define to the name of the strftime replacement function. */
163395
 
+@%:@undef my_strftime])
163396
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_STRING_H], [AS_VAR_GET(gl_next_header)])
163397
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_STRING_H])
163398
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_STRING_H$])
163399
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STRING_H], [$gl_next_as_first_directive])
163400
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STRING_H])
163401
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STRING_H$])
163402
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FFSL], [/* Define to 1 if ffsl is declared even after undefining macros. */
163403
 
+@%:@undef HAVE_RAW_DECL_FFSL])
163404
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FFSLL], [/* Define to 1 if ffsll is declared even after undefining macros. */
163405
 
+@%:@undef HAVE_RAW_DECL_FFSLL])
163406
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MEMMEM], [/* Define to 1 if memmem is declared even after undefining macros. */
163407
 
+@%:@undef HAVE_RAW_DECL_MEMMEM])
163408
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MEMPCPY], [/* Define to 1 if mempcpy is declared even after undefining macros. */
163409
 
+@%:@undef HAVE_RAW_DECL_MEMPCPY])
163410
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MEMRCHR], [/* Define to 1 if memrchr is declared even after undefining macros. */
163411
 
+@%:@undef HAVE_RAW_DECL_MEMRCHR])
163412
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_RAWMEMCHR], [/* Define to 1 if rawmemchr is declared even after undefining macros. */
163413
 
+@%:@undef HAVE_RAW_DECL_RAWMEMCHR])
163414
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STPCPY], [/* Define to 1 if stpcpy is declared even after undefining macros. */
163415
 
+@%:@undef HAVE_RAW_DECL_STPCPY])
163416
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STPNCPY], [/* Define to 1 if stpncpy is declared even after undefining macros. */
163417
 
+@%:@undef HAVE_RAW_DECL_STPNCPY])
163418
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STRCHRNUL], [/* Define to 1 if strchrnul is declared even after undefining macros. */
163419
 
+@%:@undef HAVE_RAW_DECL_STRCHRNUL])
163420
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STRDUP], [/* Define to 1 if strdup is declared even after undefining macros. */
163421
 
+@%:@undef HAVE_RAW_DECL_STRDUP])
163422
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STRNCAT], [/* Define to 1 if strncat is declared even after undefining macros. */
163423
 
+@%:@undef HAVE_RAW_DECL_STRNCAT])
163424
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STRNDUP], [/* Define to 1 if strndup is declared even after undefining macros. */
163425
 
+@%:@undef HAVE_RAW_DECL_STRNDUP])
163426
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STRNLEN], [/* Define to 1 if strnlen is declared even after undefining macros. */
163427
 
+@%:@undef HAVE_RAW_DECL_STRNLEN])
163428
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STRPBRK], [/* Define to 1 if strpbrk is declared even after undefining macros. */
163429
 
+@%:@undef HAVE_RAW_DECL_STRPBRK])
163430
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STRSEP], [/* Define to 1 if strsep is declared even after undefining macros. */
163431
 
+@%:@undef HAVE_RAW_DECL_STRSEP])
163432
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STRCASESTR], [/* Define to 1 if strcasestr is declared even after undefining macros. */
163433
 
+@%:@undef HAVE_RAW_DECL_STRCASESTR])
163434
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STRTOK_R], [/* Define to 1 if strtok_r is declared even after undefining macros. */
163435
 
+@%:@undef HAVE_RAW_DECL_STRTOK_R])
163436
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STRERROR_R], [/* Define to 1 if strerror_r is declared even after undefining macros. */
163437
 
+@%:@undef HAVE_RAW_DECL_STRERROR_R])
163438
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STRSIGNAL], [/* Define to 1 if strsignal is declared even after undefining macros. */
163439
 
+@%:@undef HAVE_RAW_DECL_STRSIGNAL])
163440
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STRVERSCMP], [/* Define to 1 if strverscmp is declared even after undefining macros. */
163441
 
+@%:@undef HAVE_RAW_DECL_STRVERSCMP])
163442
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRNDUP])
163443
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$])
163444
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_STRNDUP], [/* Define to 1 if you have the declaration of `strndup\', and to 0 if you
163445
 
+   don\'t. */
163446
 
+@%:@undef HAVE_DECL_STRNDUP])
163447
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRNDUP], [/* Define to 1 if you have the `strndup\' function. */
163448
 
+@%:@undef HAVE_STRNDUP])
163449
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRNDUP])
163450
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRNDUP$])
163451
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_STRNDUP], [/* Define to 1 when the gnulib module strndup should be tested. */
163452
 
+@%:@undef GNULIB_TEST_STRNDUP])
163453
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRNLEN])
163454
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$])
163455
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_STRNLEN], [/* Define to 1 if you have the declaration of `strnlen\', and to 0 if you
163456
 
+   don\'t. */
163457
 
+@%:@undef HAVE_DECL_STRNLEN])
163458
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRNLEN])
163459
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRNLEN$])
163460
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_STRNLEN], [/* Define to 1 when the gnulib module strnlen should be tested. */
163461
 
+@%:@undef GNULIB_TEST_STRNLEN])
163462
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRSIGNAL])
163463
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$])
163464
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_STRSIGNAL], [/* Define to 1 if you have the declaration of `strsignal\', and to 0 if you
163465
 
+   don\'t. */
163466
 
+@%:@undef HAVE_DECL_STRSIGNAL])
163467
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRSIGNAL], [/* Define to 1 if you have the `strsignal\' function. */
163468
 
+@%:@undef HAVE_STRSIGNAL])
163469
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRSIGNAL])
163470
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRSIGNAL$])
163471
 
+m4trace:configure.ac:45: -1- _m4_warn([obsolete], [The macro `AC_DECL_SYS_SIGLIST' is obsolete.
163472
 
+You should run autoupdate.], [../../lib/autoconf/specific.m4:41: AC_DECL_SYS_SIGLIST is expanded from...
163473
 
+m4/strsignal.m4:55: gl_PREREQ_STRSIGNAL is expanded from...
163474
 
+m4/gnulib-comp.m4:703: gl_INIT is expanded from...
163475
 
+configure.ac:45: the top level])
163476
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_SYS_SIGLIST])
163477
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SYS_SIGLIST$])
163478
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_SYS_SIGLIST], [/* Define to 1 if you have the declaration of `sys_siglist\', and to 0 if you
163479
 
+   don\'t. */
163480
 
+@%:@undef HAVE_DECL_SYS_SIGLIST])
163481
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL__SYS_SIGLIST])
163482
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL__SYS_SIGLIST$])
163483
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL__SYS_SIGLIST], [/* Define to 1 if you have the declaration of `_sys_siglist\', and to 0 if you
163484
 
+   don\'t. */
163485
 
+@%:@undef HAVE_DECL__SYS_SIGLIST])
163486
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRSIGNAL])
163487
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRSIGNAL$])
163488
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_STRSIGNAL], [/* Define to 1 when the gnulib module strsignal should be tested. */
163489
 
+@%:@undef GNULIB_TEST_STRSIGNAL])
163490
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRSTR])
163491
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRSTR$])
163492
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_STRSTR], [/* Define to 1 when the gnulib module strstr should be tested. */
163493
 
+@%:@undef GNULIB_TEST_STRSTR])
163494
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDEXP_IN_LIBC])
163495
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LDEXP_IN_LIBC$])
163496
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LDEXP_IN_LIBC], [/* Define if the ldexp function is available in libc. */
163497
 
+@%:@undef HAVE_LDEXP_IN_LIBC])
163498
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRTOD])
163499
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRTOD$])
163500
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_STRTOD], [/* Define to 1 when the gnulib module strtod should be tested. */
163501
 
+@%:@undef GNULIB_TEST_STRTOD])
163502
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRTOIMAX], [/* Define to 1 if you have the `strtoimax\' function. */
163503
 
+@%:@undef HAVE_STRTOIMAX])
163504
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRTOIMAX])
163505
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRTOIMAX$])
163506
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_STRTOIMAX], [/* Define to 1 if you have the declaration of `strtoimax\', and to 0 if you
163507
 
+   don\'t. */
163508
 
+@%:@undef HAVE_DECL_STRTOIMAX])
163509
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRTOLL])
163510
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRTOLL$])
163511
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_STRTOLL], [/* Define to 1 if you have the declaration of `strtoll\', and to 0 if you
163512
 
+   don\'t. */
163513
 
+@%:@undef HAVE_DECL_STRTOLL])
163514
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRTOLL], [/* Define to 1 if you have the `strtoll\' function. */
163515
 
+@%:@undef HAVE_STRTOLL])
163516
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOLL])
163517
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRTOLL$])
163518
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRTOLL])
163519
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRTOLL$])
163520
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_STRTOLL], [/* Define to 1 when the gnulib module strtoll should be tested. */
163521
 
+@%:@undef GNULIB_TEST_STRTOLL])
163522
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRTOULL], [/* Define to 1 if you have the `strtoull\' function. */
163523
 
+@%:@undef HAVE_STRTOULL])
163524
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOULL])
163525
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRTOULL$])
163526
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRTOULL])
163527
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRTOULL$])
163528
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_STRTOULL], [/* Define to 1 when the gnulib module strtoull should be tested. */
163529
 
+@%:@undef GNULIB_TEST_STRTOULL])
163530
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRTOUMAX], [/* Define to 1 if you have the `strtoumax\' function. */
163531
 
+@%:@undef HAVE_STRTOUMAX])
163532
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRTOUMAX])
163533
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRTOUMAX$])
163534
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_STRTOUMAX], [/* Define to 1 if you have the declaration of `strtoumax\', and to 0 if you
163535
 
+   don\'t. */
163536
 
+@%:@undef HAVE_DECL_STRTOUMAX])
163537
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRTOULL])
163538
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRTOULL$])
163539
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_STRTOULL], [/* Define to 1 if you have the declaration of `strtoull\', and to 0 if you
163540
 
+   don\'t. */
163541
 
+@%:@undef HAVE_DECL_STRTOULL])
163542
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYMLINK], [/* Define to 1 if you have the `symlink\' function. */
163543
 
+@%:@undef HAVE_SYMLINK])
163544
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SYMLINK])
163545
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SYMLINK$])
163546
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_SYMLINK], [/* Define to 1 when the gnulib module symlink should be tested. */
163547
 
+@%:@undef GNULIB_TEST_SYMLINK])
163548
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the <sys/ioctl.h> header file. */
163549
 
+@%:@undef HAVE_SYS_IOCTL_H])
163550
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SYS_IOCTL_H])
163551
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SYS_IOCTL_H])
163552
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$])
163553
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the <sys/ioctl.h> header file. */
163554
 
+@%:@undef HAVE_SYS_IOCTL_H])
163555
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_SYS_IOCTL_H], [AS_VAR_GET(gl_next_header)])
163556
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_SYS_IOCTL_H])
163557
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_IOCTL_H$])
163558
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H], [$gl_next_as_first_directive])
163559
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H])
163560
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H$])
163561
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_IOCTL], [/* Define to 1 if ioctl is declared even after undefining macros. */
163562
 
+@%:@undef HAVE_RAW_DECL_IOCTL])
163563
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the <sys/select.h> header file. */
163564
 
+@%:@undef HAVE_SYS_SELECT_H])
163565
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_SYS_SELECT_H], [AS_VAR_GET(gl_next_header)])
163566
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_SYS_SELECT_H])
163567
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_SELECT_H$])
163568
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H], [$gl_next_as_first_directive])
163569
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H])
163570
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H$])
163571
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SYS_SELECT_H])
163572
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SYS_SELECT_H])
163573
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$])
163574
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
163575
 
+@%:@undef HAVE_SYS_SOCKET_H])
163576
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the <winsock2.h> header file. */
163577
 
+@%:@undef HAVE_WINSOCK2_H])
163578
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H])
163579
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
163580
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WINSOCK2_H])
163581
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WINSOCK2_H])
163582
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
163583
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_PSELECT], [/* Define to 1 if pselect is declared even after undefining macros. */
163584
 
+@%:@undef HAVE_RAW_DECL_PSELECT])
163585
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SELECT], [/* Define to 1 if select is declared even after undefining macros. */
163586
 
+@%:@undef HAVE_RAW_DECL_SELECT])
163587
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_PII_SOCKET])
163588
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^_POSIX_PII_SOCKET$])
163589
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([_POSIX_PII_SOCKET], [/* Define to 1 in order to get the POSIX compatible declarations of socket
163590
 
+   functions. */
163591
 
+@%:@undef _POSIX_PII_SOCKET])
163592
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SHUTDOWN], [/* Define to 1 if you have the `shutdown\' function. */
163593
 
+@%:@undef HAVE_SHUTDOWN])
163594
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SHUTDOWN])
163595
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SHUTDOWN$])
163596
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
163597
 
+@%:@undef HAVE_SYS_SOCKET_H])
163598
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_SYS_SOCKET_H], [AS_VAR_GET(gl_next_header)])
163599
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_SYS_SOCKET_H])
163600
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_SOCKET_H$])
163601
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H], [$gl_next_as_first_directive])
163602
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H])
163603
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H$])
163604
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SYS_SOCKET_H])
163605
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SYS_SOCKET_H])
163606
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$])
163607
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WS2TCPIP_H])
163608
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WS2TCPIP_H])
163609
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$])
163610
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE])
163611
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$])
163612
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE], [/* Define to 1 if the system has the type `struct sockaddr_storage\'. */
163613
 
+@%:@undef HAVE_STRUCT_SOCKADDR_STORAGE])
163614
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SA_FAMILY_T])
163615
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SA_FAMILY_T$])
163616
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SA_FAMILY_T], [/* Define to 1 if the system has the type `sa_family_t\'. */
163617
 
+@%:@undef HAVE_SA_FAMILY_T])
163618
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY])
163619
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY$])
163620
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY], [/* Define to 1 if `ss_family\' is a member of `struct sockaddr_storage\'. */
163621
 
+@%:@undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY])
163622
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
163623
 
+@%:@undef HAVE_SYS_SOCKET_H])
163624
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the <winsock2.h> header file. */
163625
 
+@%:@undef HAVE_WINSOCK2_H])
163626
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H])
163627
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
163628
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WINSOCK2_H])
163629
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WINSOCK2_H])
163630
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
163631
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SOCKET], [/* Define to 1 if socket is declared even after undefining macros. */
163632
 
+@%:@undef HAVE_RAW_DECL_SOCKET])
163633
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_CONNECT], [/* Define to 1 if connect is declared even after undefining macros. */
163634
 
+@%:@undef HAVE_RAW_DECL_CONNECT])
163635
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_ACCEPT], [/* Define to 1 if accept is declared even after undefining macros. */
163636
 
+@%:@undef HAVE_RAW_DECL_ACCEPT])
163637
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_BIND], [/* Define to 1 if bind is declared even after undefining macros. */
163638
 
+@%:@undef HAVE_RAW_DECL_BIND])
163639
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETPEERNAME], [/* Define to 1 if getpeername is declared even after undefining macros. */
163640
 
+@%:@undef HAVE_RAW_DECL_GETPEERNAME])
163641
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETSOCKNAME], [/* Define to 1 if getsockname is declared even after undefining macros. */
163642
 
+@%:@undef HAVE_RAW_DECL_GETSOCKNAME])
163643
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETSOCKOPT], [/* Define to 1 if getsockopt is declared even after undefining macros. */
163644
 
+@%:@undef HAVE_RAW_DECL_GETSOCKOPT])
163645
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_LISTEN], [/* Define to 1 if listen is declared even after undefining macros. */
163646
 
+@%:@undef HAVE_RAW_DECL_LISTEN])
163647
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_RECV], [/* Define to 1 if recv is declared even after undefining macros. */
163648
 
+@%:@undef HAVE_RAW_DECL_RECV])
163649
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SEND], [/* Define to 1 if send is declared even after undefining macros. */
163650
 
+@%:@undef HAVE_RAW_DECL_SEND])
163651
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_RECVFROM], [/* Define to 1 if recvfrom is declared even after undefining macros. */
163652
 
+@%:@undef HAVE_RAW_DECL_RECVFROM])
163653
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SENDTO], [/* Define to 1 if sendto is declared even after undefining macros. */
163654
 
+@%:@undef HAVE_RAW_DECL_SENDTO])
163655
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SETSOCKOPT], [/* Define to 1 if setsockopt is declared even after undefining macros. */
163656
 
+@%:@undef HAVE_RAW_DECL_SETSOCKOPT])
163657
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SHUTDOWN], [/* Define to 1 if shutdown is declared even after undefining macros. */
163658
 
+@%:@undef HAVE_RAW_DECL_SHUTDOWN])
163659
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_ACCEPT4], [/* Define to 1 if accept4 is declared even after undefining macros. */
163660
 
+@%:@undef HAVE_RAW_DECL_ACCEPT4])
163661
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([STAT_MACROS_BROKEN])
163662
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^STAT_MACROS_BROKEN$])
163663
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([STAT_MACROS_BROKEN], [/* Define to 1 if the `S_IS*\' macros in <sys/stat.h> do not work properly. */
163664
 
+@%:@undef STAT_MACROS_BROKEN])
163665
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
163666
 
+@%:@undef HAVE_SYS_STAT_H])
163667
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_SYS_STAT_H], [AS_VAR_GET(gl_next_header)])
163668
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_SYS_STAT_H])
163669
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_STAT_H$])
163670
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H], [$gl_next_as_first_directive])
163671
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H])
163672
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H$])
163673
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([nlink_t])
163674
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^nlink_t$])
163675
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([nlink_t], [/* Define to the type of st_nlink in struct stat, or a supertype. */
163676
 
+@%:@undef nlink_t])
163677
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FCHMODAT], [/* Define to 1 if fchmodat is declared even after undefining macros. */
163678
 
+@%:@undef HAVE_RAW_DECL_FCHMODAT])
163679
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FSTATAT], [/* Define to 1 if fstatat is declared even after undefining macros. */
163680
 
+@%:@undef HAVE_RAW_DECL_FSTATAT])
163681
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FUTIMENS], [/* Define to 1 if futimens is declared even after undefining macros. */
163682
 
+@%:@undef HAVE_RAW_DECL_FUTIMENS])
163683
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_LCHMOD], [/* Define to 1 if lchmod is declared even after undefining macros. */
163684
 
+@%:@undef HAVE_RAW_DECL_LCHMOD])
163685
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_LSTAT], [/* Define to 1 if lstat is declared even after undefining macros. */
163686
 
+@%:@undef HAVE_RAW_DECL_LSTAT])
163687
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MKDIRAT], [/* Define to 1 if mkdirat is declared even after undefining macros. */
163688
 
+@%:@undef HAVE_RAW_DECL_MKDIRAT])
163689
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MKFIFO], [/* Define to 1 if mkfifo is declared even after undefining macros. */
163690
 
+@%:@undef HAVE_RAW_DECL_MKFIFO])
163691
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MKFIFOAT], [/* Define to 1 if mkfifoat is declared even after undefining macros. */
163692
 
+@%:@undef HAVE_RAW_DECL_MKFIFOAT])
163693
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MKNOD], [/* Define to 1 if mknod is declared even after undefining macros. */
163694
 
+@%:@undef HAVE_RAW_DECL_MKNOD])
163695
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MKNODAT], [/* Define to 1 if mknodat is declared even after undefining macros. */
163696
 
+@%:@undef HAVE_RAW_DECL_MKNODAT])
163697
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_STAT], [/* Define to 1 if stat is declared even after undefining macros. */
163698
 
+@%:@undef HAVE_RAW_DECL_STAT])
163699
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_UTIMENSAT], [/* Define to 1 if utimensat is declared even after undefining macros. */
163700
 
+@%:@undef HAVE_RAW_DECL_UTIMENSAT])
163701
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_UIO_H], [/* Define to 1 if you have the <sys/uio.h> header file. */
163702
 
+@%:@undef HAVE_SYS_UIO_H])
163703
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_SYS_UIO_H], [AS_VAR_GET(gl_next_header)])
163704
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_SYS_UIO_H])
163705
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_UIO_H$])
163706
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H], [$gl_next_as_first_directive])
163707
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H])
163708
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_UIO_H$])
163709
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SYS_UIO_H])
163710
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SYS_UIO_H])
163711
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_UIO_H$])
163712
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_UNAME])
163713
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_UNAME])
163714
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNAME$])
163715
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_UNAME])
163716
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_UNAME])
163717
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNAME$])
163718
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_STRUCT_UTSNAME])
163719
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_STRUCT_UTSNAME])
163720
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTSNAME$])
163721
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_UTSNAME_H], [/* Define to 1 if you have the <sys/utsname.h> header file. */
163722
 
+@%:@undef HAVE_SYS_UTSNAME_H])
163723
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_SYS_UTSNAME_H], [AS_VAR_GET(gl_next_header)])
163724
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_SYS_UTSNAME_H])
163725
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_UTSNAME_H$])
163726
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_UTSNAME_H], [$gl_next_as_first_directive])
163727
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_UTSNAME_H])
163728
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_UTSNAME_H$])
163729
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTSNAME])
163730
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTSNAME$])
163731
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTSNAME], [/* Define to 1 if the system has the type `struct utsname\'. */
163732
 
+@%:@undef HAVE_STRUCT_UTSNAME])
163733
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_SYS_UTSNAME_H])
163734
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_SYS_UTSNAME_H])
163735
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SYS_UTSNAME_H$])
163736
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_UNAME], [/* Define to 1 if uname is declared even after undefining macros. */
163737
 
+@%:@undef HAVE_RAW_DECL_UNAME])
163738
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_WAITPID])
163739
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_WAITPID])
163740
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_WAITPID$])
163741
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the <sys/wait.h> header file. */
163742
 
+@%:@undef HAVE_SYS_WAIT_H])
163743
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_SYS_WAIT_H], [AS_VAR_GET(gl_next_header)])
163744
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_SYS_WAIT_H])
163745
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_SYS_WAIT_H$])
163746
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H], [$gl_next_as_first_directive])
163747
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H])
163748
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H$])
163749
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WAITPID], [/* Define to 1 if waitpid is declared even after undefining macros. */
163750
 
+@%:@undef HAVE_RAW_DECL_WAITPID])
163751
 
+m4trace:configure.ac:45: -1- AC_SUBST([GNULIB_TCGETSID])
163752
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GNULIB_TCGETSID])
163753
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TCGETSID$])
163754
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_DECL_TCGETSID])
163755
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_DECL_TCGETSID])
163756
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TCGETSID$])
163757
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_TERMIOS_H])
163758
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_TERMIOS_H])
163759
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TERMIOS_H$])
163760
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_TERMIOS_H], [/* Define to 1 if you have the <termios.h> header file. */
163761
 
+@%:@undef HAVE_TERMIOS_H])
163762
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_TERMIOS_H], [AS_VAR_GET(gl_next_header)])
163763
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_TERMIOS_H])
163764
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_TERMIOS_H$])
163765
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_TERMIOS_H], [$gl_next_as_first_directive])
163766
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_TERMIOS_H])
163767
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_TERMIOS_H$])
163768
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_TCGETSID], [/* Define to 1 if tcgetsid is declared even after undefining macros. */
163769
 
+@%:@undef HAVE_RAW_DECL_TCGETSID])
163770
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_TIME_H], [AS_VAR_GET(gl_next_header)])
163771
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_TIME_H])
163772
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_TIME_H$])
163773
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_TIME_H], [$gl_next_as_first_directive])
163774
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_TIME_H])
163775
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_TIME_H$])
163776
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
163777
 
+@%:@undef HAVE_SYS_TIME_H])
163778
 
+m4trace:configure.ac:45: -1- AC_SUBST([TIME_H_DEFINES_STRUCT_TIMESPEC])
163779
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([TIME_H_DEFINES_STRUCT_TIMESPEC])
163780
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^TIME_H_DEFINES_STRUCT_TIMESPEC$])
163781
 
+m4trace:configure.ac:45: -1- AC_SUBST([SYS_TIME_H_DEFINES_STRUCT_TIMESPEC])
163782
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([SYS_TIME_H_DEFINES_STRUCT_TIMESPEC])
163783
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^SYS_TIME_H_DEFINES_STRUCT_TIMESPEC$])
163784
 
+m4trace:configure.ac:45: -1- AC_SUBST([PTHREAD_H_DEFINES_STRUCT_TIMESPEC])
163785
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([PTHREAD_H_DEFINES_STRUCT_TIMESPEC])
163786
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PTHREAD_H_DEFINES_STRUCT_TIMESPEC$])
163787
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_LOCALTIME_R])
163788
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_LOCALTIME_R$])
163789
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_LOCALTIME_R], [/* Define to 1 if you have the declaration of `localtime_r\', and to 0 if you
163790
 
+   don\'t. */
163791
 
+@%:@undef HAVE_DECL_LOCALTIME_R])
163792
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LOCALTIME_R], [/* Define to 1 if you have the `localtime_r\' function. */
163793
 
+@%:@undef HAVE_LOCALTIME_R])
163794
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_TIME_R])
163795
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_TIME_R$])
163796
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_TIME_R], [/* Define to 1 when the gnulib module time_r should be tested. */
163797
 
+@%:@undef GNULIB_TEST_TIME_R])
163798
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIB_TIMER_TIME])
163799
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIB_TIMER_TIME])
163800
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIB_TIMER_TIME$])
163801
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_TIMER_SETTIME], [/* Define to 1 if you have the `timer_settime\' function. */
163802
 
+@%:@undef HAVE_TIMER_SETTIME])
163803
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TIMER_SETTIME])
163804
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TIMER_SETTIME$])
163805
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UNAME], [/* Define to 1 if you have the `uname\' function. */
163806
 
+@%:@undef HAVE_UNAME])
163807
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNAME])
163808
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNAME$])
163809
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
163810
 
+@%:@undef HAVE_UNISTD_H])
163811
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_UNISTD_H], [AS_VAR_GET(gl_next_header)])
163812
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_UNISTD_H])
163813
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_UNISTD_H$])
163814
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_UNISTD_H], [$gl_next_as_first_directive])
163815
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_UNISTD_H])
163816
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_UNISTD_H$])
163817
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_UNISTD_H])
163818
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_UNISTD_H])
163819
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNISTD_H$])
163820
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_CHOWN], [/* Define to 1 if chown is declared even after undefining macros. */
163821
 
+@%:@undef HAVE_RAW_DECL_CHOWN])
163822
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_DUP2], [/* Define to 1 if dup2 is declared even after undefining macros. */
163823
 
+@%:@undef HAVE_RAW_DECL_DUP2])
163824
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_DUP3], [/* Define to 1 if dup3 is declared even after undefining macros. */
163825
 
+@%:@undef HAVE_RAW_DECL_DUP3])
163826
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_ENVIRON], [/* Define to 1 if environ is declared even after undefining macros. */
163827
 
+@%:@undef HAVE_RAW_DECL_ENVIRON])
163828
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_EUIDACCESS], [/* Define to 1 if euidaccess is declared even after undefining macros. */
163829
 
+@%:@undef HAVE_RAW_DECL_EUIDACCESS])
163830
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FACCESSAT], [/* Define to 1 if faccessat is declared even after undefining macros. */
163831
 
+@%:@undef HAVE_RAW_DECL_FACCESSAT])
163832
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FCHDIR], [/* Define to 1 if fchdir is declared even after undefining macros. */
163833
 
+@%:@undef HAVE_RAW_DECL_FCHDIR])
163834
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FCHOWNAT], [/* Define to 1 if fchownat is declared even after undefining macros. */
163835
 
+@%:@undef HAVE_RAW_DECL_FCHOWNAT])
163836
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FSYNC], [/* Define to 1 if fsync is declared even after undefining macros. */
163837
 
+@%:@undef HAVE_RAW_DECL_FSYNC])
163838
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_FTRUNCATE], [/* Define to 1 if ftruncate is declared even after undefining macros. */
163839
 
+@%:@undef HAVE_RAW_DECL_FTRUNCATE])
163840
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETCWD], [/* Define to 1 if getcwd is declared even after undefining macros. */
163841
 
+@%:@undef HAVE_RAW_DECL_GETCWD])
163842
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETDOMAINNAME], [/* Define to 1 if getdomainname is declared even after undefining macros. */
163843
 
+@%:@undef HAVE_RAW_DECL_GETDOMAINNAME])
163844
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETDTABLESIZE], [/* Define to 1 if getdtablesize is declared even after undefining macros. */
163845
 
+@%:@undef HAVE_RAW_DECL_GETDTABLESIZE])
163846
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETGROUPS], [/* Define to 1 if getgroups is declared even after undefining macros. */
163847
 
+@%:@undef HAVE_RAW_DECL_GETGROUPS])
163848
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETHOSTNAME], [/* Define to 1 if gethostname is declared even after undefining macros. */
163849
 
+@%:@undef HAVE_RAW_DECL_GETHOSTNAME])
163850
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETLOGIN], [/* Define to 1 if getlogin is declared even after undefining macros. */
163851
 
+@%:@undef HAVE_RAW_DECL_GETLOGIN])
163852
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETLOGIN_R], [/* Define to 1 if getlogin_r is declared even after undefining macros. */
163853
 
+@%:@undef HAVE_RAW_DECL_GETLOGIN_R])
163854
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETPAGESIZE], [/* Define to 1 if getpagesize is declared even after undefining macros. */
163855
 
+@%:@undef HAVE_RAW_DECL_GETPAGESIZE])
163856
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GETUSERSHELL], [/* Define to 1 if getusershell is declared even after undefining macros. */
163857
 
+@%:@undef HAVE_RAW_DECL_GETUSERSHELL])
163858
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SETUSERSHELL], [/* Define to 1 if setusershell is declared even after undefining macros. */
163859
 
+@%:@undef HAVE_RAW_DECL_SETUSERSHELL])
163860
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_ENDUSERSHELL], [/* Define to 1 if endusershell is declared even after undefining macros. */
163861
 
+@%:@undef HAVE_RAW_DECL_ENDUSERSHELL])
163862
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_GROUP_MEMBER], [/* Define to 1 if group_member is declared even after undefining macros. */
163863
 
+@%:@undef HAVE_RAW_DECL_GROUP_MEMBER])
163864
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_LCHOWN], [/* Define to 1 if lchown is declared even after undefining macros. */
163865
 
+@%:@undef HAVE_RAW_DECL_LCHOWN])
163866
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_LINK], [/* Define to 1 if link is declared even after undefining macros. */
163867
 
+@%:@undef HAVE_RAW_DECL_LINK])
163868
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_LINKAT], [/* Define to 1 if linkat is declared even after undefining macros. */
163869
 
+@%:@undef HAVE_RAW_DECL_LINKAT])
163870
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_LSEEK], [/* Define to 1 if lseek is declared even after undefining macros. */
163871
 
+@%:@undef HAVE_RAW_DECL_LSEEK])
163872
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_PIPE], [/* Define to 1 if pipe is declared even after undefining macros. */
163873
 
+@%:@undef HAVE_RAW_DECL_PIPE])
163874
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_PIPE2], [/* Define to 1 if pipe2 is declared even after undefining macros. */
163875
 
+@%:@undef HAVE_RAW_DECL_PIPE2])
163876
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_PREAD], [/* Define to 1 if pread is declared even after undefining macros. */
163877
 
+@%:@undef HAVE_RAW_DECL_PREAD])
163878
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_PWRITE], [/* Define to 1 if pwrite is declared even after undefining macros. */
163879
 
+@%:@undef HAVE_RAW_DECL_PWRITE])
163880
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_READLINK], [/* Define to 1 if readlink is declared even after undefining macros. */
163881
 
+@%:@undef HAVE_RAW_DECL_READLINK])
163882
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_READLINKAT], [/* Define to 1 if readlinkat is declared even after undefining macros. */
163883
 
+@%:@undef HAVE_RAW_DECL_READLINKAT])
163884
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_RMDIR], [/* Define to 1 if rmdir is declared even after undefining macros. */
163885
 
+@%:@undef HAVE_RAW_DECL_RMDIR])
163886
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SLEEP], [/* Define to 1 if sleep is declared even after undefining macros. */
163887
 
+@%:@undef HAVE_RAW_DECL_SLEEP])
163888
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SYMLINK], [/* Define to 1 if symlink is declared even after undefining macros. */
163889
 
+@%:@undef HAVE_RAW_DECL_SYMLINK])
163890
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_SYMLINKAT], [/* Define to 1 if symlinkat is declared even after undefining macros. */
163891
 
+@%:@undef HAVE_RAW_DECL_SYMLINKAT])
163892
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_TTYNAME_R], [/* Define to 1 if ttyname_r is declared even after undefining macros. */
163893
 
+@%:@undef HAVE_RAW_DECL_TTYNAME_R])
163894
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_UNLINK], [/* Define to 1 if unlink is declared even after undefining macros. */
163895
 
+@%:@undef HAVE_RAW_DECL_UNLINK])
163896
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_UNLINKAT], [/* Define to 1 if unlinkat is declared even after undefining macros. */
163897
 
+@%:@undef HAVE_RAW_DECL_UNLINKAT])
163898
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_USLEEP], [/* Define to 1 if usleep is declared even after undefining macros. */
163899
 
+@%:@undef HAVE_RAW_DECL_USLEEP])
163900
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PIPE], [/* Define to 1 if you have the `pipe\' function. */
163901
 
+@%:@undef HAVE_PIPE])
163902
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBUNISTRING_UNISTR_H])
163903
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBUNISTRING_UNISTR_H])
163904
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_UNISTR_H$])
163905
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_UNISTR_U8_MBTOUCR])
163906
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNISTR_U8_MBTOUCR$])
163907
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_UNISTR_U8_MBTOUCR], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
163908
 
+   whether the gnulib module unistr/u8-mbtoucr shall be considered present. */
163909
 
+@%:@undef GNULIB_UNISTR_U8_MBTOUCR])
163910
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR], [gl_LIBUNISTRING_VERSION_CMP([0.9])])
163911
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE])
163912
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE])
163913
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE$])
163914
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE])
163915
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE])
163916
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE$])
163917
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_TRUE])
163918
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR_FALSE])
163919
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_UNISTR_U8_UCTOMB])
163920
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_UNISTR_U8_UCTOMB$])
163921
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_UNISTR_U8_UCTOMB], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
163922
 
+   whether the gnulib module unistr/u8-uctomb shall be considered present. */
163923
 
+@%:@undef GNULIB_UNISTR_U8_UCTOMB])
163924
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB], [gl_LIBUNISTRING_VERSION_CMP([0.9])])
163925
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE])
163926
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE])
163927
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE$])
163928
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE])
163929
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE])
163930
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE$])
163931
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_TRUE])
163932
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB_FALSE])
163933
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBUNISTRING_UNITYPES_H])
163934
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBUNISTRING_UNITYPES_H])
163935
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_UNITYPES_H$])
163936
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBUNISTRING_UNIWIDTH_H])
163937
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBUNISTRING_UNIWIDTH_H])
163938
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_UNIWIDTH_H$])
163939
 
+m4trace:configure.ac:45: -1- AM_CONDITIONAL([LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH], [gl_LIBUNISTRING_VERSION_CMP([0.9.4])])
163940
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE])
163941
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE])
163942
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE$])
163943
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE])
163944
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE])
163945
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE$])
163946
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE])
163947
 
+m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE])
163948
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([UNLINK_PARENT_BUG])
163949
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UNLINK_PARENT_BUG$])
163950
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([UNLINK_PARENT_BUG], [/* Define to 1 if unlink() on a parent directory may succeed */
163951
 
+@%:@undef UNLINK_PARENT_BUG])
163952
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_UNLINK])
163953
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_UNLINK$])
163954
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_UNLINK], [/* Define to 1 when the gnulib module unlink should be tested. */
163955
 
+@%:@undef GNULIB_TEST_UNLINK])
163956
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([USE_UNLOCKED_IO])
163957
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^USE_UNLOCKED_IO$])
163958
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([USE_UNLOCKED_IO], [/* Define to 1 if you want getc etc. to use unlocked I/O if available.
163959
 
+   Unlocked I/O can improve performance in unithreaded apps, but it is not
163960
 
+   safe for multithreaded apps. */
163961
 
+@%:@undef USE_UNLOCKED_IO])
163962
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_CLEARERR_UNLOCKED])
163963
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_CLEARERR_UNLOCKED$])
163964
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_CLEARERR_UNLOCKED], [/* Define to 1 if you have the declaration of `clearerr_unlocked\', and to 0 if
163965
 
+   you don\'t. */
163966
 
+@%:@undef HAVE_DECL_CLEARERR_UNLOCKED])
163967
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FEOF_UNLOCKED])
163968
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FEOF_UNLOCKED$])
163969
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_FEOF_UNLOCKED], [/* Define to 1 if you have the declaration of `feof_unlocked\', and to 0 if you
163970
 
+   don\'t. */
163971
 
+@%:@undef HAVE_DECL_FEOF_UNLOCKED])
163972
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FERROR_UNLOCKED])
163973
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FERROR_UNLOCKED$])
163974
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_FERROR_UNLOCKED], [/* Define to 1 if you have the declaration of `ferror_unlocked\', and to 0 if
163975
 
+   you don\'t. */
163976
 
+@%:@undef HAVE_DECL_FERROR_UNLOCKED])
163977
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FGETS_UNLOCKED])
163978
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FGETS_UNLOCKED$])
163979
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_FGETS_UNLOCKED], [/* Define to 1 if you have the declaration of `fgets_unlocked\', and to 0 if
163980
 
+   you don\'t. */
163981
 
+@%:@undef HAVE_DECL_FGETS_UNLOCKED])
163982
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FPUTC_UNLOCKED])
163983
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FPUTC_UNLOCKED$])
163984
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_FPUTC_UNLOCKED], [/* Define to 1 if you have the declaration of `fputc_unlocked\', and to 0 if
163985
 
+   you don\'t. */
163986
 
+@%:@undef HAVE_DECL_FPUTC_UNLOCKED])
163987
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FREAD_UNLOCKED])
163988
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FREAD_UNLOCKED$])
163989
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_FREAD_UNLOCKED], [/* Define to 1 if you have the declaration of `fread_unlocked\', and to 0 if
163990
 
+   you don\'t. */
163991
 
+@%:@undef HAVE_DECL_FREAD_UNLOCKED])
163992
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FWRITE_UNLOCKED])
163993
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_FWRITE_UNLOCKED$])
163994
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_FWRITE_UNLOCKED], [/* Define to 1 if you have the declaration of `fwrite_unlocked\', and to 0 if
163995
 
+   you don\'t. */
163996
 
+@%:@undef HAVE_DECL_FWRITE_UNLOCKED])
163997
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETCHAR_UNLOCKED])
163998
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_GETCHAR_UNLOCKED$])
163999
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_GETCHAR_UNLOCKED], [/* Define to 1 if you have the declaration of `getchar_unlocked\', and to 0 if
164000
 
+   you don\'t. */
164001
 
+@%:@undef HAVE_DECL_GETCHAR_UNLOCKED])
164002
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PUTCHAR_UNLOCKED])
164003
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_PUTCHAR_UNLOCKED$])
164004
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_PUTCHAR_UNLOCKED], [/* Define to 1 if you have the declaration of `putchar_unlocked\', and to 0 if
164005
 
+   you don\'t. */
164006
 
+@%:@undef HAVE_DECL_PUTCHAR_UNLOCKED])
164007
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_UNSETENV])
164008
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_UNSETENV$])
164009
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_UNSETENV], [/* Define to 1 if you have the declaration of `unsetenv\', and to 0 if you
164010
 
+   don\'t. */
164011
 
+@%:@undef HAVE_DECL_UNSETENV])
164012
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UNSETENV], [/* Define to 1 if you have the `unsetenv\' function. */
164013
 
+@%:@undef HAVE_UNSETENV])
164014
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNSETENV])
164015
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_UNSETENV$])
164016
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([VOID_UNSETENV])
164017
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^VOID_UNSETENV$])
164018
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([VOID_UNSETENV], [/* Define to 1 if unsetenv returns void instead of int. */
164019
 
+@%:@undef VOID_UNSETENV])
164020
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
164021
 
+@%:@undef HAVE_UNISTD_H])
164022
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_UNSETENV])
164023
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_UNSETENV$])
164024
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_UNSETENV], [/* Define to 1 when the gnulib module unsetenv should be tested. */
164025
 
+@%:@undef GNULIB_TEST_UNSETENV])
164026
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PROC_UPTIME])
164027
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PROC_UPTIME$])
164028
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PROC_UPTIME], [/* Define if your system has the /proc/uptime special file. */
164029
 
+@%:@undef HAVE_PROC_UPTIME])
164030
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
164031
 
+@%:@undef HAVE_SYS_PARAM_H])
164032
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_UTIMES])
164033
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WORKING_UTIMES$])
164034
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WORKING_UTIMES], [/* Define if utimes works properly. */
164035
 
+@%:@undef HAVE_WORKING_UTIMES])
164036
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
164037
 
+@%:@undef HAVE_SYS_TIME_H])
164038
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UTIME_H], [/* Define to 1 if you have the <utime.h> header file. */
164039
 
+@%:@undef HAVE_UTIME_H])
164040
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UTIMBUF])
164041
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STRUCT_UTIMBUF$])
164042
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRUCT_UTIMBUF], [/* Define if struct utimbuf is declared -- usually in <utime.h>. Some systems
164043
 
+   have utime.h but don\'t declare the struct anywhere. */
164044
 
+@%:@undef HAVE_STRUCT_UTIMBUF])
164045
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FUTIMES], [/* Define to 1 if you have the `futimes\' function. */
164046
 
+@%:@undef HAVE_FUTIMES])
164047
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FUTIMESAT], [/* Define to 1 if you have the `futimesat\' function. */
164048
 
+@%:@undef HAVE_FUTIMESAT])
164049
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_FUTIMENS], [/* Define to 1 if you have the `futimens\' function. */
164050
 
+@%:@undef HAVE_FUTIMENS])
164051
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UTIMENSAT], [/* Define to 1 if you have the `utimensat\' function. */
164052
 
+@%:@undef HAVE_UTIMENSAT])
164053
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LUTIMES], [/* Define to 1 if you have the `lutimes\' function. */
164054
 
+@%:@undef HAVE_LUTIMES])
164055
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FUTIMESAT_NULL_BUG])
164056
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FUTIMESAT_NULL_BUG$])
164057
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FUTIMESAT_NULL_BUG], [/* Define to 1 if futimesat mishandles a NULL file name. */
164058
 
+@%:@undef FUTIMESAT_NULL_BUG])
164059
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_UTIMENSAT], [/* Define to 1 if you have the `utimensat\' function. */
164060
 
+@%:@undef HAVE_UTIMENSAT])
164061
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_UTIMENSAT])
164062
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_UTIMENSAT$])
164063
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_UTIMENSAT], [/* Define to 1 when the gnulib module utimensat should be tested. */
164064
 
+@%:@undef GNULIB_TEST_UTIMENSAT])
164065
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the `vasnprintf\' function. */
164066
 
+@%:@undef HAVE_VASNPRINTF])
164067
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the `vasnprintf\' function. */
164068
 
+@%:@undef HAVE_VASNPRINTF])
164069
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_VASNPRINTF])
164070
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$])
164071
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([REPLACE_VASNPRINTF], [/* Define if vasnprintf exists but is overridden by gnulib. */
164072
 
+@%:@undef REPLACE_VASNPRINTF])
164073
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([ptrdiff_t])
164074
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ptrdiff_t$])
164075
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([ptrdiff_t], [/* Define as the type of the result of subtracting two pointers, if the system
164076
 
+   doesn\'t define it. */
164077
 
+@%:@undef ptrdiff_t])
164078
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTTYPES_H_WITH_UINTMAX])
164079
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_INTTYPES_H_WITH_UINTMAX$])
164080
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_INTTYPES_H_WITH_UINTMAX], [/* Define if <inttypes.h> exists, doesn\'t clash with <sys/types.h>, and
164081
 
+   declares uintmax_t. */
164082
 
+@%:@undef HAVE_INTTYPES_H_WITH_UINTMAX])
164083
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H_WITH_UINTMAX])
164084
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STDINT_H_WITH_UINTMAX$])
164085
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STDINT_H_WITH_UINTMAX], [/* Define if <stdint.h> exists, doesn\'t clash with <sys/types.h>, and declares
164086
 
+   uintmax_t. */
164087
 
+@%:@undef HAVE_STDINT_H_WITH_UINTMAX])
164088
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTMAX_T])
164089
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_INTMAX_T$])
164090
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_INTMAX_T], [/* Define if you have the \'intmax_t\' type in <stdint.h> or <inttypes.h>. */
164091
 
+@%:@undef HAVE_INTMAX_T])
164092
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([intmax_t])
164093
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^intmax_t$])
164094
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([intmax_t], [/* Define to long or long long if <stdint.h> and <inttypes.h> don\'t define. */
164095
 
+@%:@undef intmax_t])
164096
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the `snprintf\' function. */
164097
 
+@%:@undef HAVE_SNPRINTF])
164098
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STRNLEN], [/* Define to 1 if you have the `strnlen\' function. */
164099
 
+@%:@undef HAVE_STRNLEN])
164100
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCSLEN], [/* Define to 1 if you have the `wcslen\' function. */
164101
 
+@%:@undef HAVE_WCSLEN])
164102
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCSNLEN], [/* Define to 1 if you have the `wcsnlen\' function. */
164103
 
+@%:@undef HAVE_WCSNLEN])
164104
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */
164105
 
+@%:@undef HAVE_MBRTOWC])
164106
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCRTOMB], [/* Define to 1 if you have the `wcrtomb\' function. */
164107
 
+@%:@undef HAVE_WCRTOMB])
164108
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL__SNPRINTF])
164109
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL__SNPRINTF$])
164110
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL__SNPRINTF], [/* Define to 1 if you have the declaration of `_snprintf\', and to 0 if you
164111
 
+   don\'t. */
164112
 
+@%:@undef HAVE_DECL__SNPRINTF])
164113
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SNPRINTF_RETVAL_C99])
164114
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_SNPRINTF_RETVAL_C99$])
164115
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SNPRINTF_RETVAL_C99], [/* Define if the return value of the snprintf function is the number of of
164116
 
+   bytes (excluding the terminating NUL) that would have been produced if the
164117
 
+   buffer had been large enough. */
164118
 
+@%:@undef HAVE_SNPRINTF_RETVAL_C99])
164119
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the `vasprintf\' function. */
164120
 
+@%:@undef HAVE_VASPRINTF])
164121
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VASPRINTF])
164122
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_VASPRINTF$])
164123
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_VASPRINTF])
164124
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_VASPRINTF$])
164125
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_VASPRINTF], [/* Define to 1 when the gnulib module vasprintf should be tested. */
164126
 
+@%:@undef GNULIB_TEST_VASPRINTF])
164127
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=asprintf:2:c-format])
164128
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=vasprintf:2:c-format])
164129
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([CHECK_PRINTF_SAFE])
164130
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^CHECK_PRINTF_SAFE$])
164131
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([CHECK_PRINTF_SAFE], [/* Define if you wish *printf() functions that have a safe handling of
164132
 
+   non-IEEE-754 \'long double\' values. */
164133
 
+@%:@undef CHECK_PRINTF_SAFE])
164134
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the `vasprintf\' function. */
164135
 
+@%:@undef HAVE_VASPRINTF])
164136
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VASPRINTF])
164137
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_VASPRINTF$])
164138
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_LONG_DOUBLE])
164139
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$])
164140
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_LONG_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'long
164141
 
+   double\' arguments. */
164142
 
+@%:@undef NEED_PRINTF_LONG_DOUBLE])
164143
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_INFINITE_DOUBLE])
164144
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_INFINITE_DOUBLE$])
164145
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_INFINITE_DOUBLE], [/* Define if the vasnprintf implementation needs special code for infinite
164146
 
+   \'double\' arguments. */
164147
 
+@%:@undef NEED_PRINTF_INFINITE_DOUBLE])
164148
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_INFINITE_LONG_DOUBLE])
164149
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_INFINITE_LONG_DOUBLE$])
164150
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_INFINITE_LONG_DOUBLE], [/* Define if the vasnprintf implementation needs special code for infinite
164151
 
+   \'long double\' arguments. */
164152
 
+@%:@undef NEED_PRINTF_INFINITE_LONG_DOUBLE])
164153
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DIRECTIVE_A])
164154
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_A$])
164155
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_DIRECTIVE_A], [/* Define if the vasnprintf implementation needs special code for the \'a\' and
164156
 
+   \'A\' directives. */
164157
 
+@%:@undef NEED_PRINTF_DIRECTIVE_A])
164158
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NL_LANGINFO], [/* Define to 1 if you have the `nl_langinfo\' function. */
164159
 
+@%:@undef HAVE_NL_LANGINFO])
164160
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NL_LANGINFO])
164161
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NL_LANGINFO$])
164162
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DIRECTIVE_F])
164163
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_F$])
164164
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_DIRECTIVE_F], [/* Define if the vasnprintf implementation needs special code for the \'F\'
164165
 
+   directive. */
164166
 
+@%:@undef NEED_PRINTF_DIRECTIVE_F])
164167
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DIRECTIVE_LS])
164168
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_LS$])
164169
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_DIRECTIVE_LS], [/* Define if the vasnprintf implementation needs special code for the \'ls\'
164170
 
+   directive. */
164171
 
+@%:@undef NEED_PRINTF_DIRECTIVE_LS])
164172
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_FLAG_GROUPING])
164173
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_GROUPING$])
164174
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_FLAG_GROUPING], [/* Define if the vasnprintf implementation needs special code for the \' flag.
164175
 
+   */
164176
 
+@%:@undef NEED_PRINTF_FLAG_GROUPING])
164177
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_FLAG_LEFTADJUST])
164178
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_LEFTADJUST$])
164179
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_FLAG_LEFTADJUST], [/* Define if the vasnprintf implementation needs special code for the \'-\'
164180
 
+   flag. */
164181
 
+@%:@undef NEED_PRINTF_FLAG_LEFTADJUST])
164182
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_FLAG_ZERO])
164183
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_ZERO$])
164184
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_FLAG_ZERO], [/* Define if the vasnprintf implementation needs special code for the 0 flag.
164185
 
+   */
164186
 
+@%:@undef NEED_PRINTF_FLAG_ZERO])
164187
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_UNBOUNDED_PRECISION])
164188
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_UNBOUNDED_PRECISION$])
164189
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_UNBOUNDED_PRECISION], [/* Define if the vasnprintf implementation needs special code for supporting
164190
 
+   large precisions without arbitrary bounds. */
164191
 
+@%:@undef NEED_PRINTF_UNBOUNDED_PRECISION])
164192
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DOUBLE])
164193
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DOUBLE$])
164194
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'double\'
164195
 
+   arguments. */
164196
 
+@%:@undef NEED_PRINTF_DOUBLE])
164197
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_LONG_DOUBLE])
164198
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$])
164199
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_LONG_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'long
164200
 
+   double\' arguments. */
164201
 
+@%:@undef NEED_PRINTF_LONG_DOUBLE])
164202
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_ENOMEM])
164203
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_ENOMEM$])
164204
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_ENOMEM], [/* Define if the vasnprintf implementation needs special code for surviving
164205
 
+   out-of-memory conditions. */
164206
 
+@%:@undef NEED_PRINTF_ENOMEM])
164207
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DOUBLE])
164208
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DOUBLE$])
164209
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'double\'
164210
 
+   arguments. */
164211
 
+@%:@undef NEED_PRINTF_DOUBLE])
164212
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_LONG_DOUBLE])
164213
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$])
164214
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_LONG_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'long
164215
 
+   double\' arguments. */
164216
 
+@%:@undef NEED_PRINTF_LONG_DOUBLE])
164217
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the `vasnprintf\' function. */
164218
 
+@%:@undef HAVE_VASNPRINTF])
164219
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_VASNPRINTF])
164220
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$])
164221
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([REPLACE_VASNPRINTF], [/* Define if vasnprintf exists but is overridden by gnulib. */
164222
 
+@%:@undef REPLACE_VASNPRINTF])
164223
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([ptrdiff_t])
164224
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ptrdiff_t$])
164225
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([ptrdiff_t], [/* Define as the type of the result of subtracting two pointers, if the system
164226
 
+   doesn\'t define it. */
164227
 
+@%:@undef ptrdiff_t])
164228
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=verror:3:c-format])
164229
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=verror_at_line:5:c-format])
164230
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_PACKAGER])
164231
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PACKAGE_PACKAGER$])
164232
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([PACKAGE_PACKAGER], [/* String identifying the packager of this software */
164233
 
+@%:@undef PACKAGE_PACKAGER])
164234
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_PACKAGER_VERSION])
164235
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PACKAGE_PACKAGER_VERSION$])
164236
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([PACKAGE_PACKAGER_VERSION], [/* Packager-specific version information */
164237
 
+@%:@undef PACKAGE_PACKAGER_VERSION])
164238
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_PACKAGER_BUG_REPORTS])
164239
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^PACKAGE_PACKAGER_BUG_REPORTS$])
164240
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([PACKAGE_PACKAGER_BUG_REPORTS], [/* Packager info for bug reports (URL/e-mail/...) */
164241
 
+@%:@undef PACKAGE_PACKAGER_BUG_REPORTS])
164242
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_INFINITE_DOUBLE])
164243
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_INFINITE_DOUBLE$])
164244
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_INFINITE_DOUBLE], [/* Define if the vasnprintf implementation needs special code for infinite
164245
 
+   \'double\' arguments. */
164246
 
+@%:@undef NEED_PRINTF_INFINITE_DOUBLE])
164247
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_INFINITE_LONG_DOUBLE])
164248
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_INFINITE_LONG_DOUBLE$])
164249
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_INFINITE_LONG_DOUBLE], [/* Define if the vasnprintf implementation needs special code for infinite
164250
 
+   \'long double\' arguments. */
164251
 
+@%:@undef NEED_PRINTF_INFINITE_LONG_DOUBLE])
164252
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DIRECTIVE_A])
164253
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_A$])
164254
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_DIRECTIVE_A], [/* Define if the vasnprintf implementation needs special code for the \'a\' and
164255
 
+   \'A\' directives. */
164256
 
+@%:@undef NEED_PRINTF_DIRECTIVE_A])
164257
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NL_LANGINFO], [/* Define to 1 if you have the `nl_langinfo\' function. */
164258
 
+@%:@undef HAVE_NL_LANGINFO])
164259
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NL_LANGINFO])
164260
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_NL_LANGINFO$])
164261
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DIRECTIVE_F])
164262
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_F$])
164263
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_DIRECTIVE_F], [/* Define if the vasnprintf implementation needs special code for the \'F\'
164264
 
+   directive. */
164265
 
+@%:@undef NEED_PRINTF_DIRECTIVE_F])
164266
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DIRECTIVE_LS])
164267
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_LS$])
164268
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_DIRECTIVE_LS], [/* Define if the vasnprintf implementation needs special code for the \'ls\'
164269
 
+   directive. */
164270
 
+@%:@undef NEED_PRINTF_DIRECTIVE_LS])
164271
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_FLAG_GROUPING])
164272
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_GROUPING$])
164273
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_FLAG_GROUPING], [/* Define if the vasnprintf implementation needs special code for the \' flag.
164274
 
+   */
164275
 
+@%:@undef NEED_PRINTF_FLAG_GROUPING])
164276
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_FLAG_LEFTADJUST])
164277
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_LEFTADJUST$])
164278
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_FLAG_LEFTADJUST], [/* Define if the vasnprintf implementation needs special code for the \'-\'
164279
 
+   flag. */
164280
 
+@%:@undef NEED_PRINTF_FLAG_LEFTADJUST])
164281
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_FLAG_ZERO])
164282
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_ZERO$])
164283
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_FLAG_ZERO], [/* Define if the vasnprintf implementation needs special code for the 0 flag.
164284
 
+   */
164285
 
+@%:@undef NEED_PRINTF_FLAG_ZERO])
164286
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_UNBOUNDED_PRECISION])
164287
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_UNBOUNDED_PRECISION$])
164288
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_UNBOUNDED_PRECISION], [/* Define if the vasnprintf implementation needs special code for supporting
164289
 
+   large precisions without arbitrary bounds. */
164290
 
+@%:@undef NEED_PRINTF_UNBOUNDED_PRECISION])
164291
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DOUBLE])
164292
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DOUBLE$])
164293
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'double\'
164294
 
+   arguments. */
164295
 
+@%:@undef NEED_PRINTF_DOUBLE])
164296
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_LONG_DOUBLE])
164297
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$])
164298
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_LONG_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'long
164299
 
+   double\' arguments. */
164300
 
+@%:@undef NEED_PRINTF_LONG_DOUBLE])
164301
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_ENOMEM])
164302
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_ENOMEM$])
164303
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_ENOMEM], [/* Define if the vasnprintf implementation needs special code for surviving
164304
 
+   out-of-memory conditions. */
164305
 
+@%:@undef NEED_PRINTF_ENOMEM])
164306
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DOUBLE])
164307
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_DOUBLE$])
164308
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'double\'
164309
 
+   arguments. */
164310
 
+@%:@undef NEED_PRINTF_DOUBLE])
164311
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_LONG_DOUBLE])
164312
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$])
164313
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([NEED_PRINTF_LONG_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'long
164314
 
+   double\' arguments. */
164315
 
+@%:@undef NEED_PRINTF_LONG_DOUBLE])
164316
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the `vasnprintf\' function. */
164317
 
+@%:@undef HAVE_VASNPRINTF])
164318
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_VASNPRINTF])
164319
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$])
164320
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([REPLACE_VASNPRINTF], [/* Define if vasnprintf exists but is overridden by gnulib. */
164321
 
+@%:@undef REPLACE_VASNPRINTF])
164322
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([ptrdiff_t])
164323
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^ptrdiff_t$])
164324
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([ptrdiff_t], [/* Define as the type of the result of subtracting two pointers, if the system
164325
 
+   doesn\'t define it. */
164326
 
+@%:@undef ptrdiff_t])
164327
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_VFPRINTF_POSIX])
164328
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VFPRINTF_POSIX$])
164329
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([REPLACE_VFPRINTF_POSIX], [/* Define if vfprintf is overridden by a POSIX compliant gnulib
164330
 
+   implementation. */
164331
 
+@%:@undef REPLACE_VFPRINTF_POSIX])
164332
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_VFPRINTF_POSIX])
164333
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_VFPRINTF_POSIX$])
164334
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_VFPRINTF_POSIX], [/* Define to 1 when the gnulib module vfprintf-posix should be tested. */
164335
 
+@%:@undef GNULIB_TEST_VFPRINTF_POSIX])
164336
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_VPRINTF_POSIX])
164337
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_VPRINTF_POSIX$])
164338
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([REPLACE_VPRINTF_POSIX], [/* Define if vprintf is overridden by a POSIX compliant gnulib implementation.
164339
 
+   */
164340
 
+@%:@undef REPLACE_VPRINTF_POSIX])
164341
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_VPRINTF_POSIX])
164342
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_VPRINTF_POSIX$])
164343
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_VPRINTF_POSIX], [/* Define to 1 when the gnulib module vprintf-posix should be tested. */
164344
 
+@%:@undef GNULIB_TEST_VPRINTF_POSIX])
164345
 
+m4trace:configure.ac:45: -1- AC_SUBST([WARN_CFLAGS])
164346
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([WARN_CFLAGS])
164347
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WARN_CFLAGS$])
164348
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCHAR_H], [/* Define to 1 if you have the <wchar.h> header file. */
164349
 
+@%:@undef HAVE_WCHAR_H])
164350
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_WCHAR_H], [AS_VAR_GET(gl_next_header)])
164351
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_WCHAR_H])
164352
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_WCHAR_H$])
164353
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_WCHAR_H], [$gl_next_as_first_directive])
164354
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_WCHAR_H])
164355
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCHAR_H$])
164356
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCHAR_H])
164357
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCHAR_H])
164358
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCHAR_H$])
164359
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WINT_T])
164360
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WINT_T])
164361
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINT_T$])
164362
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_BTOWC], [/* Define to 1 if btowc is declared even after undefining macros. */
164363
 
+@%:@undef HAVE_RAW_DECL_BTOWC])
164364
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCTOB], [/* Define to 1 if wctob is declared even after undefining macros. */
164365
 
+@%:@undef HAVE_RAW_DECL_WCTOB])
164366
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MBSINIT], [/* Define to 1 if mbsinit is declared even after undefining macros. */
164367
 
+@%:@undef HAVE_RAW_DECL_MBSINIT])
164368
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MBRTOWC], [/* Define to 1 if mbrtowc is declared even after undefining macros. */
164369
 
+@%:@undef HAVE_RAW_DECL_MBRTOWC])
164370
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MBRLEN], [/* Define to 1 if mbrlen is declared even after undefining macros. */
164371
 
+@%:@undef HAVE_RAW_DECL_MBRLEN])
164372
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MBSRTOWCS], [/* Define to 1 if mbsrtowcs is declared even after undefining macros. */
164373
 
+@%:@undef HAVE_RAW_DECL_MBSRTOWCS])
164374
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_MBSNRTOWCS], [/* Define to 1 if mbsnrtowcs is declared even after undefining macros. */
164375
 
+@%:@undef HAVE_RAW_DECL_MBSNRTOWCS])
164376
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCRTOMB], [/* Define to 1 if wcrtomb is declared even after undefining macros. */
164377
 
+@%:@undef HAVE_RAW_DECL_WCRTOMB])
164378
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSRTOMBS], [/* Define to 1 if wcsrtombs is declared even after undefining macros. */
164379
 
+@%:@undef HAVE_RAW_DECL_WCSRTOMBS])
164380
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSNRTOMBS], [/* Define to 1 if wcsnrtombs is declared even after undefining macros. */
164381
 
+@%:@undef HAVE_RAW_DECL_WCSNRTOMBS])
164382
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCWIDTH], [/* Define to 1 if wcwidth is declared even after undefining macros. */
164383
 
+@%:@undef HAVE_RAW_DECL_WCWIDTH])
164384
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WMEMCHR], [/* Define to 1 if wmemchr is declared even after undefining macros. */
164385
 
+@%:@undef HAVE_RAW_DECL_WMEMCHR])
164386
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WMEMCMP], [/* Define to 1 if wmemcmp is declared even after undefining macros. */
164387
 
+@%:@undef HAVE_RAW_DECL_WMEMCMP])
164388
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WMEMCPY], [/* Define to 1 if wmemcpy is declared even after undefining macros. */
164389
 
+@%:@undef HAVE_RAW_DECL_WMEMCPY])
164390
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WMEMMOVE], [/* Define to 1 if wmemmove is declared even after undefining macros. */
164391
 
+@%:@undef HAVE_RAW_DECL_WMEMMOVE])
164392
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WMEMSET], [/* Define to 1 if wmemset is declared even after undefining macros. */
164393
 
+@%:@undef HAVE_RAW_DECL_WMEMSET])
164394
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSLEN], [/* Define to 1 if wcslen is declared even after undefining macros. */
164395
 
+@%:@undef HAVE_RAW_DECL_WCSLEN])
164396
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSNLEN], [/* Define to 1 if wcsnlen is declared even after undefining macros. */
164397
 
+@%:@undef HAVE_RAW_DECL_WCSNLEN])
164398
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSCPY], [/* Define to 1 if wcscpy is declared even after undefining macros. */
164399
 
+@%:@undef HAVE_RAW_DECL_WCSCPY])
164400
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCPCPY], [/* Define to 1 if wcpcpy is declared even after undefining macros. */
164401
 
+@%:@undef HAVE_RAW_DECL_WCPCPY])
164402
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSNCPY], [/* Define to 1 if wcsncpy is declared even after undefining macros. */
164403
 
+@%:@undef HAVE_RAW_DECL_WCSNCPY])
164404
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCPNCPY], [/* Define to 1 if wcpncpy is declared even after undefining macros. */
164405
 
+@%:@undef HAVE_RAW_DECL_WCPNCPY])
164406
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSCAT], [/* Define to 1 if wcscat is declared even after undefining macros. */
164407
 
+@%:@undef HAVE_RAW_DECL_WCSCAT])
164408
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSNCAT], [/* Define to 1 if wcsncat is declared even after undefining macros. */
164409
 
+@%:@undef HAVE_RAW_DECL_WCSNCAT])
164410
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSCMP], [/* Define to 1 if wcscmp is declared even after undefining macros. */
164411
 
+@%:@undef HAVE_RAW_DECL_WCSCMP])
164412
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSNCMP], [/* Define to 1 if wcsncmp is declared even after undefining macros. */
164413
 
+@%:@undef HAVE_RAW_DECL_WCSNCMP])
164414
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSCASECMP], [/* Define to 1 if wcscasecmp is declared even after undefining macros. */
164415
 
+@%:@undef HAVE_RAW_DECL_WCSCASECMP])
164416
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSNCASECMP], [/* Define to 1 if wcsncasecmp is declared even after undefining macros. */
164417
 
+@%:@undef HAVE_RAW_DECL_WCSNCASECMP])
164418
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSCOLL], [/* Define to 1 if wcscoll is declared even after undefining macros. */
164419
 
+@%:@undef HAVE_RAW_DECL_WCSCOLL])
164420
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSXFRM], [/* Define to 1 if wcsxfrm is declared even after undefining macros. */
164421
 
+@%:@undef HAVE_RAW_DECL_WCSXFRM])
164422
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSDUP], [/* Define to 1 if wcsdup is declared even after undefining macros. */
164423
 
+@%:@undef HAVE_RAW_DECL_WCSDUP])
164424
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSCHR], [/* Define to 1 if wcschr is declared even after undefining macros. */
164425
 
+@%:@undef HAVE_RAW_DECL_WCSCHR])
164426
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSRCHR], [/* Define to 1 if wcsrchr is declared even after undefining macros. */
164427
 
+@%:@undef HAVE_RAW_DECL_WCSRCHR])
164428
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSCSPN], [/* Define to 1 if wcscspn is declared even after undefining macros. */
164429
 
+@%:@undef HAVE_RAW_DECL_WCSCSPN])
164430
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSSPN], [/* Define to 1 if wcsspn is declared even after undefining macros. */
164431
 
+@%:@undef HAVE_RAW_DECL_WCSSPN])
164432
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSPBRK], [/* Define to 1 if wcspbrk is declared even after undefining macros. */
164433
 
+@%:@undef HAVE_RAW_DECL_WCSPBRK])
164434
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSSTR], [/* Define to 1 if wcsstr is declared even after undefining macros. */
164435
 
+@%:@undef HAVE_RAW_DECL_WCSSTR])
164436
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSTOK], [/* Define to 1 if wcstok is declared even after undefining macros. */
164437
 
+@%:@undef HAVE_RAW_DECL_WCSTOK])
164438
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSWIDTH], [/* Define to 1 if wcswidth is declared even after undefining macros. */
164439
 
+@%:@undef HAVE_RAW_DECL_WCSWIDTH])
164440
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */
164441
 
+@%:@undef HAVE_MBSINIT])
164442
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */
164443
 
+@%:@undef HAVE_MBRTOWC])
164444
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCRTOMB], [/* Define to 1 if you have the `wcrtomb\' function. */
164445
 
+@%:@undef HAVE_WCRTOMB])
164446
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_WCRTOMB])
164447
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_WCRTOMB$])
164448
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_WCRTOMB], [/* Define to 1 if you have the declaration of `wcrtomb\', and to 0 if you
164449
 
+   don\'t. */
164450
 
+@%:@undef HAVE_DECL_WCRTOMB])
164451
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_WCRTOMB])
164452
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_WCRTOMB$])
164453
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_WCRTOMB], [/* Define to 1 when the gnulib module wcrtomb should be tested. */
164454
 
+@%:@undef GNULIB_TEST_WCRTOMB])
164455
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCHAR_H], [/* Define to 1 if you have the <wchar.h> header file. */
164456
 
+@%:@undef HAVE_WCHAR_H])
164457
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCWIDTH], [/* Define to 1 if you have the `wcwidth\' function. */
164458
 
+@%:@undef HAVE_WCWIDTH])
164459
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_WCWIDTH])
164460
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_WCWIDTH$])
164461
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_WCWIDTH], [/* Define to 1 if you have the declaration of `wcwidth\', and to 0 if you
164462
 
+   don\'t. */
164463
 
+@%:@undef HAVE_DECL_WCWIDTH])
164464
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCSWIDTH], [/* Define to 1 if you have the `wcswidth\' function. */
164465
 
+@%:@undef HAVE_WCSWIDTH])
164466
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_WCSWIDTH])
164467
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_WCSWIDTH$])
164468
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_WCSWIDTH], [/* Define to 1 when the gnulib module wcswidth should be tested. */
164469
 
+@%:@undef GNULIB_TEST_WCSWIDTH])
164470
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_ISWCNTRL], [/* Define to 1 if you have the `iswcntrl\' function. */
164471
 
+@%:@undef HAVE_ISWCNTRL])
164472
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_ISWCNTRL])
164473
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_ISWCNTRL])
164474
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_ISWCNTRL$])
164475
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WINT_T])
164476
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WINT_T])
164477
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINT_T$])
164478
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCTYPE_H], [/* Define to 1 if you have the <wctype.h> header file. */
164479
 
+@%:@undef HAVE_WCTYPE_H])
164480
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_WCTYPE_H], [AS_VAR_GET(gl_next_header)])
164481
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_WCTYPE_H])
164482
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_WCTYPE_H$])
164483
 
+m4trace:configure.ac:45: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H], [$gl_next_as_first_directive])
164484
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H])
164485
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H$])
164486
 
+m4trace:configure.ac:45: -1- AC_SUBST([HAVE_WCTYPE_H])
164487
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([HAVE_WCTYPE_H])
164488
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCTYPE_H$])
164489
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_ISWCNTRL])
164490
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_ISWCNTRL])
164491
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_ISWCNTRL$])
164492
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_TOWLOWER], [/* Define to 1 if you have the `towlower\' function. */
164493
 
+@%:@undef HAVE_TOWLOWER])
164494
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TOWLOWER])
164495
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_TOWLOWER$])
164496
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_TOWLOWER])
164497
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_TOWLOWER$])
164498
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_TOWLOWER], [/* Define to 1 if you have the declaration of `towlower\', and to 0 if you
164499
 
+   don\'t. */
164500
 
+@%:@undef HAVE_DECL_TOWLOWER])
164501
 
+m4trace:configure.ac:45: -1- AC_SUBST([REPLACE_TOWLOWER])
164502
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([REPLACE_TOWLOWER])
164503
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^REPLACE_TOWLOWER$])
164504
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCTYPE], [/* Define to 1 if wctype is declared even after undefining macros. */
164505
 
+@%:@undef HAVE_RAW_DECL_WCTYPE])
164506
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_ISWCTYPE], [/* Define to 1 if iswctype is declared even after undefining macros. */
164507
 
+@%:@undef HAVE_RAW_DECL_ISWCTYPE])
164508
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_WCTRANS], [/* Define to 1 if wctrans is declared even after undefining macros. */
164509
 
+@%:@undef HAVE_RAW_DECL_WCTRANS])
164510
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_RAW_DECL_TOWCTRANS], [/* Define to 1 if towctrans is declared even after undefining macros. */
164511
 
+@%:@undef HAVE_RAW_DECL_TOWCTRANS])
164512
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCHAR_H], [/* Define to 1 if you have the <wchar.h> header file. */
164513
 
+@%:@undef HAVE_WCHAR_H])
164514
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCWIDTH], [/* Define to 1 if you have the `wcwidth\' function. */
164515
 
+@%:@undef HAVE_WCWIDTH])
164516
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_WCWIDTH])
164517
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_WCWIDTH$])
164518
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_WCWIDTH], [/* Define to 1 if you have the declaration of `wcwidth\', and to 0 if you
164519
 
+   don\'t. */
164520
 
+@%:@undef HAVE_DECL_WCWIDTH])
164521
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_WCWIDTH])
164522
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_WCWIDTH$])
164523
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_WCWIDTH], [/* Define to 1 when the gnulib module wcwidth should be tested. */
164524
 
+@%:@undef GNULIB_TEST_WCWIDTH])
164525
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GWINSZ_IN_SYS_IOCTL])
164526
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GWINSZ_IN_SYS_IOCTL$])
164527
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GWINSZ_IN_SYS_IOCTL], [/* Define if your system defines TIOCGWINSZ in sys/ioctl.h. */
164528
 
+@%:@undef GWINSZ_IN_SYS_IOCTL])
164529
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([WINSIZE_IN_PTEM])
164530
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WINSIZE_IN_PTEM$])
164531
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([WINSIZE_IN_PTEM], [/* Define if sys/ptem.h is required for struct winsize. */
164532
 
+@%:@undef WINSIZE_IN_PTEM])
164533
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_WRITE])
164534
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_WRITE$])
164535
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_WRITE], [/* Define to 1 when the gnulib module write should be tested. */
164536
 
+@%:@undef GNULIB_TEST_WRITE])
164537
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PRIV_H], [/* Define to 1 if you have the <priv.h> header file. */
164538
 
+@%:@undef HAVE_PRIV_H])
164539
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_XGETGROUPS])
164540
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_XGETGROUPS$])
164541
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_XGETGROUPS], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
164542
 
+   whether the gnulib module xgetgroups shall be considered present. */
164543
 
+@%:@undef GNULIB_XGETGROUPS])
164544
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=xprintf:1:c-format])
164545
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=xvprintf:1:c-format])
164546
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=xfprintf:2:c-format])
164547
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=xvfprintf:2:c-format])
164548
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
164549
 
+@%:@undef HAVE_STDINT_H])
164550
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H])
164551
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_STDINT_H$])
164552
 
+m4trace:configure.ac:45: -1- AM_XGETTEXT_OPTION([--flag=xasprintf:1:c-format])
164553
 
+m4trace:configure.ac:45: -1- AC_SUBST([gltests_WITNESS])
164554
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([gltests_WITNESS])
164555
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^gltests_WITNESS$])
164556
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_ACCEPT])
164557
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_ACCEPT$])
164558
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_ACCEPT], [/* Define to 1 when the gnulib module accept should be tested. */
164559
 
+@%:@undef GNULIB_TEST_ACCEPT])
164560
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_ALARM])
164561
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_ALARM$])
164562
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_ALARM], [/* Define to 1 if you have the declaration of `alarm\', and to 0 if you don\'t.
164563
 
+   */
164564
 
+@%:@undef HAVE_DECL_ALARM])
164565
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_BIND])
164566
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_BIND$])
164567
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_BIND], [/* Define to 1 when the gnulib module bind should be tested. */
164568
 
+@%:@undef GNULIB_TEST_BIND])
164569
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_FR])
164570
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_FR])
164571
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR$])
164572
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_FR_UTF8])
164573
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8])
164574
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
164575
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_FR])
164576
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_FR])
164577
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR$])
164578
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_TR_UTF8])
164579
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_TR_UTF8])
164580
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_TR_UTF8$])
164581
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETEGID], [/* Define to 1 if you have the `getegid\' function. */
164582
 
+@%:@undef HAVE_GETEGID])
164583
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_CONNECT])
164584
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_CONNECT$])
164585
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_CONNECT], [/* Define to 1 when the gnulib module connect should be tested. */
164586
 
+@%:@undef GNULIB_TEST_CONNECT])
164587
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FUNC_UNGETC_BROKEN])
164588
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FUNC_UNGETC_BROKEN$])
164589
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FUNC_UNGETC_BROKEN], [/* Define to 1 if ungetc is broken when used on arbitrary bytes. */
164590
 
+@%:@undef FUNC_UNGETC_BROKEN])
164591
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
164592
 
+   significant byte first (like Motorola and SPARC, unlike Intel). */
164593
 
+#if defined AC_APPLE_UNIVERSAL_BUILD
164594
 
+# if defined __BIG_ENDIAN__
164595
 
+#  define WORDS_BIGENDIAN 1
164596
 
+# endif
164597
 
+#else
164598
 
+# ifndef WORDS_BIGENDIAN
164599
 
+#  undef WORDS_BIGENDIAN
164600
 
+# endif
164601
 
+#endif])
164602
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
164603
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
164604
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD])
164605
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
164606
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */
164607
 
+@%:@undef AC_APPLE_UNIVERSAL_BUILD])
164608
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_INET_PTON], [/* Define to 1 if you have the `inet_pton\' function. */
164609
 
+@%:@undef HAVE_INET_PTON])
164610
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INET_PTON])
164611
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_INET_PTON$])
164612
 
+m4trace:configure.ac:45: -1- AC_SUBST([INET_PTON_LIB])
164613
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([INET_PTON_LIB])
164614
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INET_PTON_LIB$])
164615
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
164616
 
+@%:@undef HAVE_NETDB_H])
164617
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_INET_PTON])
164618
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_INET_PTON$])
164619
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_INET_PTON], [/* Define to 1 if you have the declaration of `inet_pton\', and to 0 if you
164620
 
+   don\'t. */
164621
 
+@%:@undef HAVE_DECL_INET_PTON])
164622
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
164623
 
+   significant byte first (like Motorola and SPARC, unlike Intel). */
164624
 
+#if defined AC_APPLE_UNIVERSAL_BUILD
164625
 
+# if defined __BIG_ENDIAN__
164626
 
+#  define WORDS_BIGENDIAN 1
164627
 
+# endif
164628
 
+#else
164629
 
+# ifndef WORDS_BIGENDIAN
164630
 
+#  undef WORDS_BIGENDIAN
164631
 
+# endif
164632
 
+#endif])
164633
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
164634
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
164635
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD])
164636
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
164637
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */
164638
 
+@%:@undef AC_APPLE_UNIVERSAL_BUILD])
164639
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_IOCTL], [/* Define to 1 if you have the `ioctl\' function. */
164640
 
+@%:@undef HAVE_IOCTL])
164641
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTL])
164642
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_IOCTL$])
164643
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_IOCTL])
164644
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_IOCTL$])
164645
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_IOCTL], [/* Define to 1 when the gnulib module ioctl should be tested. */
164646
 
+@%:@undef GNULIB_TEST_IOCTL])
164647
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
164648
 
+   significant byte first (like Motorola and SPARC, unlike Intel). */
164649
 
+#if defined AC_APPLE_UNIVERSAL_BUILD
164650
 
+# if defined __BIG_ENDIAN__
164651
 
+#  define WORDS_BIGENDIAN 1
164652
 
+# endif
164653
 
+#else
164654
 
+# ifndef WORDS_BIGENDIAN
164655
 
+#  undef WORDS_BIGENDIAN
164656
 
+# endif
164657
 
+#endif])
164658
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD])
164659
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
164660
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */
164661
 
+@%:@undef AC_APPLE_UNIVERSAL_BUILD])
164662
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([DBL_EXPBIT0_WORD])
164663
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DBL_EXPBIT0_WORD$])
164664
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([DBL_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'double\'. */
164665
 
+@%:@undef DBL_EXPBIT0_WORD])
164666
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([DBL_EXPBIT0_BIT])
164667
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^DBL_EXPBIT0_BIT$])
164668
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([DBL_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of
164669
 
+   \'double\'. */
164670
 
+@%:@undef DBL_EXPBIT0_BIT])
164671
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_WORD])
164672
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$])
164673
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FLT_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'float\'. */
164674
 
+@%:@undef FLT_EXPBIT0_WORD])
164675
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_BIT])
164676
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$])
164677
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([FLT_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of
164678
 
+   \'float\'. */
164679
 
+@%:@undef FLT_EXPBIT0_BIT])
164680
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([LDBL_EXPBIT0_WORD])
164681
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LDBL_EXPBIT0_WORD$])
164682
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([LDBL_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'long double\'. */
164683
 
+@%:@undef LDBL_EXPBIT0_WORD])
164684
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([LDBL_EXPBIT0_BIT])
164685
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LDBL_EXPBIT0_BIT$])
164686
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([LDBL_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of
164687
 
+   \'long double\'. */
164688
 
+@%:@undef LDBL_EXPBIT0_BIT])
164689
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETEGID], [/* Define to 1 if you have the `getegid\' function. */
164690
 
+@%:@undef HAVE_GETEGID])
164691
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_LISTEN])
164692
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_LISTEN$])
164693
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_LISTEN], [/* Define to 1 when the gnulib module listen should be tested. */
164694
 
+@%:@undef GNULIB_TEST_LISTEN])
164695
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NEWLOCALE], [/* Define to 1 if you have the `newlocale\' function. */
164696
 
+@%:@undef HAVE_NEWLOCALE])
164697
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LC_MESSAGES])
164698
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_LC_MESSAGES$])
164699
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_LC_MESSAGES], [/* Define if your <locale.h> file defines LC_MESSAGES. */
164700
 
+@%:@undef HAVE_LC_MESSAGES])
164701
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CFPREFERENCESCOPYAPPVALUE])
164702
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_CFPREFERENCESCOPYAPPVALUE$])
164703
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_CFPREFERENCESCOPYAPPVALUE], [/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
164704
 
+   the CoreFoundation framework. */
164705
 
+@%:@undef HAVE_CFPREFERENCESCOPYAPPVALUE])
164706
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CFLOCALECOPYCURRENT])
164707
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_CFLOCALECOPYCURRENT$])
164708
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_CFLOCALECOPYCURRENT], [/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
164709
 
+   CoreFoundation framework. */
164710
 
+@%:@undef HAVE_CFLOCALECOPYCURRENT])
164711
 
+m4trace:configure.ac:45: -1- AC_SUBST([INTL_MACOSX_LIBS])
164712
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([INTL_MACOSX_LIBS])
164713
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^INTL_MACOSX_LIBS$])
164714
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SETLOCALE], [/* Define to 1 if you have the `setlocale\' function. */
164715
 
+@%:@undef HAVE_SETLOCALE])
164716
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_USELOCALE], [/* Define to 1 if you have the `uselocale\' function. */
164717
 
+@%:@undef HAVE_USELOCALE])
164718
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_NEWLOCALE], [/* Define to 1 if you have the `newlocale\' function. */
164719
 
+@%:@undef HAVE_NEWLOCALE])
164720
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_FR])
164721
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_FR])
164722
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR$])
164723
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_FR_UTF8])
164724
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8])
164725
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
164726
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_JA])
164727
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_JA])
164728
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_JA$])
164729
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_ZH_CN])
164730
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_ZH_CN])
164731
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
164732
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_TR_UTF8])
164733
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_TR_UTF8])
164734
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_TR_UTF8$])
164735
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_FR_UTF8])
164736
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8])
164737
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
164738
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_FR])
164739
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_FR])
164740
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR$])
164741
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_FR_UTF8])
164742
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8])
164743
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
164744
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_JA])
164745
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_JA])
164746
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_JA$])
164747
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_ZH_CN])
164748
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_ZH_CN])
164749
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
164750
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_FR_UTF8])
164751
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8])
164752
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
164753
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_ZH_CN])
164754
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_ZH_CN])
164755
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
164756
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS])
164757
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
164758
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */
164759
 
+@%:@undef MAP_ANONYMOUS])
164760
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS])
164761
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
164762
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including
164763
 
+   config.h and <sys/mman.h>. */
164764
 
+@%:@undef HAVE_MAP_ANONYMOUS])
164765
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
164766
 
+@%:@undef HAVE_SYS_MMAN_H])
164767
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */
164768
 
+@%:@undef HAVE_MPROTECT])
164769
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS])
164770
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
164771
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */
164772
 
+@%:@undef MAP_ANONYMOUS])
164773
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS])
164774
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
164775
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including
164776
 
+   config.h and <sys/mman.h>. */
164777
 
+@%:@undef HAVE_MAP_ANONYMOUS])
164778
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
164779
 
+@%:@undef HAVE_SYS_MMAN_H])
164780
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */
164781
 
+@%:@undef HAVE_MPROTECT])
164782
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS])
164783
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
164784
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */
164785
 
+@%:@undef MAP_ANONYMOUS])
164786
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS])
164787
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
164788
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including
164789
 
+   config.h and <sys/mman.h>. */
164790
 
+@%:@undef HAVE_MAP_ANONYMOUS])
164791
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
164792
 
+@%:@undef HAVE_SYS_MMAN_H])
164793
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */
164794
 
+@%:@undef HAVE_MPROTECT])
164795
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS])
164796
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
164797
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */
164798
 
+@%:@undef MAP_ANONYMOUS])
164799
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS])
164800
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
164801
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including
164802
 
+   config.h and <sys/mman.h>. */
164803
 
+@%:@undef HAVE_MAP_ANONYMOUS])
164804
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
164805
 
+@%:@undef HAVE_SYS_MMAN_H])
164806
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */
164807
 
+@%:@undef HAVE_MPROTECT])
164808
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_FR])
164809
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_FR])
164810
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR$])
164811
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_FR_UTF8])
164812
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8])
164813
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
164814
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_GETEGID], [/* Define to 1 if you have the `getegid\' function. */
164815
 
+@%:@undef HAVE_GETEGID])
164816
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRERROR_R])
164817
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$])
164818
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_STRERROR_R], [/* Define to 1 if you have the declaration of `strerror_r\', and to 0 if you
164819
 
+   don\'t. */
164820
 
+@%:@undef HAVE_DECL_STRERROR_R])
164821
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_PERROR])
164822
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_PERROR$])
164823
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_PERROR], [/* Define to 1 when the gnulib module perror should be tested. */
164824
 
+@%:@undef GNULIB_TEST_PERROR])
164825
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PIPE], [/* Define to 1 if you have the `pipe\' function. */
164826
 
+@%:@undef HAVE_PIPE])
164827
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_PIPE])
164828
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_PIPE$])
164829
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_PIPE], [/* Define to 1 when the gnulib module pipe should be tested. */
164830
 
+@%:@undef GNULIB_TEST_PIPE])
164831
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the <sys/wait.h> header file. */
164832
 
+@%:@undef HAVE_SYS_WAIT_H])
164833
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SETLOCALE])
164834
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SETLOCALE$])
164835
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_SETLOCALE], [/* Define to 1 when the gnulib module setlocale should be tested. */
164836
 
+@%:@undef GNULIB_TEST_SETLOCALE])
164837
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_FR])
164838
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_FR])
164839
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR$])
164840
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_FR_UTF8])
164841
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8])
164842
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
164843
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_JA])
164844
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_JA])
164845
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_JA$])
164846
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_ZH_CN])
164847
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_ZH_CN])
164848
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
164849
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SETSOCKOPT])
164850
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SETSOCKOPT$])
164851
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_SETSOCKOPT], [/* Define to 1 when the gnulib module setsockopt should be tested. */
164852
 
+@%:@undef GNULIB_TEST_SETSOCKOPT])
164853
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_SLEEP])
164854
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_SLEEP$])
164855
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_SLEEP], [/* Define to 1 if you have the declaration of `sleep\', and to 0 if you don\'t.
164856
 
+   */
164857
 
+@%:@undef HAVE_DECL_SLEEP])
164858
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SLEEP], [/* Define to 1 if you have the `sleep\' function. */
164859
 
+@%:@undef HAVE_SLEEP])
164860
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SLEEP])
164861
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SLEEP$])
164862
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_SLEEP], [/* Define to 1 when the gnulib module sleep should be tested. */
164863
 
+@%:@undef GNULIB_TEST_SLEEP])
164864
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SOCKET])
164865
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SOCKET$])
164866
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_SOCKET], [/* Define to 1 when the gnulib module socket should be tested. */
164867
 
+@%:@undef GNULIB_TEST_SOCKET])
164868
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WCHAR_T])
164869
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WCHAR_T$])
164870
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCHAR_T], [/* Define if you have the \'wchar_t\' type. */
164871
 
+@%:@undef HAVE_WCHAR_T])
164872
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINT_T])
164873
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_WINT_T$])
164874
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WINT_T], [/* Define if you have the \'wint_t\' type. */
164875
 
+@%:@undef HAVE_WINT_T])
164876
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE___XPG_STRERROR_R], [/* Define to 1 if you have the `__xpg_strerror_r\' function. */
164877
 
+@%:@undef HAVE___XPG_STRERROR_R])
164878
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_CATGETS], [/* Define to 1 if you have the `catgets\' function. */
164879
 
+@%:@undef HAVE_CATGETS])
164880
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRERROR_R])
164881
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_STRERROR_R$])
164882
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_STRERROR_R], [/* Define to 1 when the gnulib module strerror_r should be tested. */
164883
 
+@%:@undef GNULIB_TEST_STRERROR_R])
164884
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS])
164885
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
164886
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */
164887
 
+@%:@undef MAP_ANONYMOUS])
164888
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS])
164889
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
164890
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including
164891
 
+   config.h and <sys/mman.h>. */
164892
 
+@%:@undef HAVE_MAP_ANONYMOUS])
164893
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
164894
 
+@%:@undef HAVE_SYS_MMAN_H])
164895
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */
164896
 
+@%:@undef HAVE_MPROTECT])
164897
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SYMLINKAT], [/* Define to 1 if you have the `symlinkat\' function. */
164898
 
+@%:@undef HAVE_SYMLINKAT])
164899
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SYMLINKAT])
164900
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_SYMLINKAT$])
164901
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_SYMLINKAT], [/* Define to 1 when the gnulib module symlinkat should be tested. */
164902
 
+@%:@undef GNULIB_TEST_SYMLINKAT])
164903
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_SHUTDOWN], [/* Define to 1 if you have the `shutdown\' function. */
164904
 
+@%:@undef HAVE_SHUTDOWN])
164905
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PTHREAD_ATFORK], [/* Define to 1 if you have the `pthread_atfork\' function. */
164906
 
+@%:@undef HAVE_PTHREAD_ATFORK])
164907
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD_ATFORK])
164908
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_PTHREAD_ATFORK$])
164909
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_PRIV_H], [/* Define to 1 if you have the <priv.h> header file. */
164910
 
+@%:@undef HAVE_PRIV_H])
164911
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([UNLINK_CANNOT_UNLINK_DIR])
164912
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^UNLINK_CANNOT_UNLINK_DIR$])
164913
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([UNLINK_CANNOT_UNLINK_DIR], [/* Define to 1 if unlink (dir) cannot possibly succeed. */
164914
 
+@%:@undef UNLINK_CANNOT_UNLINK_DIR])
164915
 
+m4trace:configure.ac:45: -1- AC_SUBST([abs_aux_dir])
164916
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([abs_aux_dir])
164917
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^abs_aux_dir$])
164918
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_USLEEP], [/* Define to 1 if you have the `usleep\' function. */
164919
 
+@%:@undef HAVE_USLEEP])
164920
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([useconds_t])
164921
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^useconds_t$])
164922
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([useconds_t], [/* Define to an unsigned 32-bit type if <sys/types.h> lacks this type. */
164923
 
+@%:@undef useconds_t])
164924
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_USLEEP])
164925
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_USLEEP$])
164926
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_USLEEP], [/* Define to 1 when the gnulib module usleep should be tested. */
164927
 
+@%:@undef GNULIB_TEST_USLEEP])
164928
 
+m4trace:configure.ac:45: -1- AC_SUBST([abs_aux_dir])
164929
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([abs_aux_dir])
164930
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^abs_aux_dir$])
164931
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_FR])
164932
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_FR])
164933
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR$])
164934
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_FR_UTF8])
164935
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8])
164936
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
164937
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_JA])
164938
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_JA])
164939
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_JA$])
164940
 
+m4trace:configure.ac:45: -1- AC_SUBST([LOCALE_ZH_CN])
164941
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LOCALE_ZH_CN])
164942
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
164943
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_WCTOB], [/* Define to 1 if you have the `wctob\' function. */
164944
 
+@%:@undef HAVE_WCTOB])
164945
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_WCTOB])
164946
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE_DECL_WCTOB$])
164947
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([HAVE_DECL_WCTOB], [/* Define to 1 if you have the declaration of `wctob\', and to 0 if you don\'t.
164948
 
+   */
164949
 
+@%:@undef HAVE_DECL_WCTOB])
164950
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_WCTOB])
164951
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_WCTOB$])
164952
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_WCTOB], [/* Define to 1 when the gnulib module wctob should be tested. */
164953
 
+@%:@undef GNULIB_TEST_WCTOB])
164954
 
+m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_WCTOMB])
164955
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^GNULIB_TEST_WCTOMB$])
164956
 
+m4trace:configure.ac:45: -1- AH_OUTPUT([GNULIB_TEST_WCTOMB], [/* Define to 1 when the gnulib module wctomb should be tested. */
164957
 
+@%:@undef GNULIB_TEST_WCTOMB])
164958
 
+m4trace:configure.ac:45: -1- AC_SUBST([YIELD_LIB])
164959
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([YIELD_LIB])
164960
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^YIELD_LIB$])
164961
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBCOREUTILS_LIBDEPS])
164962
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBCOREUTILS_LIBDEPS])
164963
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBCOREUTILS_LIBDEPS$])
164964
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBCOREUTILS_LTLIBDEPS])
164965
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBCOREUTILS_LTLIBDEPS])
164966
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBCOREUTILS_LTLIBDEPS$])
164967
 
+m4trace:configure.ac:45: -1- AC_SUBST([LIBTESTS_LIBDEPS])
164968
 
+m4trace:configure.ac:45: -1- AC_SUBST_TRACE([LIBTESTS_LIBDEPS])
164969
 
+m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBTESTS_LIBDEPS$])
164970
 
+m4trace:configure.ac:46: -1- AC_SUBST([HELP2MAN])
164971
 
+m4trace:configure.ac:46: -1- AC_SUBST_TRACE([HELP2MAN])
164972
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HELP2MAN$])
164973
 
+m4trace:configure.ac:46: -1- AC_SUBST([MAN])
164974
 
+m4trace:configure.ac:46: -1- AC_SUBST_TRACE([MAN])
164975
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^MAN$])
164976
 
+m4trace:configure.ac:46: -1- _m4_warn([obsolete], [The macro `AC_ISC_POSIX' is obsolete.
164977
 
+You should run autoupdate.], [../../lib/autoconf/specific.m4:442: AC_ISC_POSIX is expanded from...
164978
 
+m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
164979
 
+configure.ac:46: the top level])
164980
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([PROTOTYPES])
164981
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^PROTOTYPES$])
164982
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([PROTOTYPES], [/* Define to 1 if the C compiler supports function prototypes. */
164983
 
+@%:@undef PROTOTYPES])
164984
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([__PROTOTYPES])
164985
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^__PROTOTYPES$])
164986
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([__PROTOTYPES], [/* Define like PROTOTYPES; this can be used by system headers. */
164987
 
+@%:@undef __PROTOTYPES])
164988
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
164989
 
+@%:@undef HAVE_STRING_H])
164990
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRING_H])
164991
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_STRING_H$])
164992
 
+m4trace:configure.ac:46: -1- AC_SUBST([U])
164993
 
+m4trace:configure.ac:46: -1- AC_SUBST_TRACE([U])
164994
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^U$])
164995
 
+m4trace:configure.ac:46: -1- AC_SUBST([ANSI2KNR])
164996
 
+m4trace:configure.ac:46: -1- AC_SUBST_TRACE([ANSI2KNR])
164997
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^ANSI2KNR$])
164998
 
+m4trace:configure.ac:46: -1- _AM_SUBST_NOTMAKE([ANSI2KNR])
164999
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([volatile])
165000
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^volatile$])
165001
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([volatile], [/* Define to empty if the keyword `volatile\' does not work. Warning: valid
165002
 
+   code using `volatile\' can become incorrect without. Disable with care. */
165003
 
+@%:@undef volatile])
165004
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_HURD_H], [/* Define to 1 if you have the <hurd.h> header file. */
165005
 
+@%:@undef HAVE_HURD_H])
165006
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_PATHS_H], [/* Define to 1 if you have the <paths.h> header file. */
165007
 
+@%:@undef HAVE_PATHS_H])
165008
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_PRIV_H], [/* Define to 1 if you have the <priv.h> header file. */
165009
 
+@%:@undef HAVE_PRIV_H])
165010
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_STROPTS_H], [/* Define to 1 if you have the <stropts.h> header file. */
165011
 
+@%:@undef HAVE_STROPTS_H])
165012
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
165013
 
+@%:@undef HAVE_SYS_PARAM_H])
165014
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_SYS_RESOURCE_H], [/* Define to 1 if you have the <sys/resource.h> header file. */
165015
 
+@%:@undef HAVE_SYS_RESOURCE_H])
165016
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_SYS_SYSTEMINFO_H], [/* Define to 1 if you have the <sys/systeminfo.h> header file. */
165017
 
+@%:@undef HAVE_SYS_SYSTEMINFO_H])
165018
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_SYSLOG_H], [/* Define to 1 if you have the <syslog.h> header file. */
165019
 
+@%:@undef HAVE_SYSLOG_H])
165020
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_SYS_SYSCTL_H], [/* Define to 1 if you have the <sys/sysctl.h> header file. */
165021
 
+@%:@undef HAVE_SYS_SYSCTL_H])
165022
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SYSCTL_H])
165023
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_SYS_SYSCTL_H$])
165024
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STAT_ST_AUTHOR])
165025
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_STRUCT_STAT_ST_AUTHOR$])
165026
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_STRUCT_STAT_ST_AUTHOR], [/* Define to 1 if `st_author\' is a member of `struct stat\'. */
165027
 
+@%:@undef HAVE_STRUCT_STAT_ST_AUTHOR])
165028
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([pid_t])
165029
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^pid_t$])
165030
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([pid_t], [/* Define to `int\' if <sys/types.h> does not define. */
165031
 
+@%:@undef pid_t])
165032
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([ino_t])
165033
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^ino_t$])
165034
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([ino_t], [/* Define to `unsigned long int\' if <sys/types.h> does not define. */
165035
 
+@%:@undef ino_t])
165036
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([major_t])
165037
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^major_t$])
165038
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([major_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
165039
 
+@%:@undef major_t])
165040
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([minor_t])
165041
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^minor_t$])
165042
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([minor_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
165043
 
+@%:@undef minor_t])
165044
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([MAJOR_IN_MKDEV])
165045
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^MAJOR_IN_MKDEV$])
165046
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([MAJOR_IN_MKDEV], [/* Define to 1 if `major\', `minor\', and `makedev\' are declared in <mkdev.h>.
165047
 
+   */
165048
 
+@%:@undef MAJOR_IN_MKDEV])
165049
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([MAJOR_IN_SYSMACROS])
165050
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^MAJOR_IN_SYSMACROS$])
165051
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([MAJOR_IN_SYSMACROS], [/* Define to 1 if `major\', `minor\', and `makedev\' are declared in
165052
 
+   <sysmacros.h>. */
165053
 
+@%:@undef MAJOR_IN_SYSMACROS])
165054
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
165055
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^TIME_WITH_SYS_TIME$])
165056
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
165057
 
+@%:@undef TIME_WITH_SYS_TIME])
165058
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_GRP_H], [/* Define to 1 if you have the <grp.h> header file. */
165059
 
+@%:@undef HAVE_GRP_H])
165060
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_PWD_H], [/* Define to 1 if you have the <pwd.h> header file. */
165061
 
+@%:@undef HAVE_PWD_H])
165062
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETGRGID])
165063
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_DECL_GETGRGID$])
165064
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_DECL_GETGRGID], [/* Define to 1 if you have the declaration of `getgrgid\', and to 0 if you
165065
 
+   don\'t. */
165066
 
+@%:@undef HAVE_DECL_GETGRGID])
165067
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETPWUID])
165068
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_DECL_GETPWUID$])
165069
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_DECL_GETPWUID], [/* Define to 1 if you have the declaration of `getpwuid\', and to 0 if you
165070
 
+   don\'t. */
165071
 
+@%:@undef HAVE_DECL_GETPWUID])
165072
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_TTYNAME])
165073
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_DECL_TTYNAME$])
165074
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_DECL_TTYNAME], [/* Define to 1 if you have the declaration of `ttyname\', and to 0 if you
165075
 
+   don\'t. */
165076
 
+@%:@undef HAVE_DECL_TTYNAME])
165077
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETEUID])
165078
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_DECL_GETEUID$])
165079
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_DECL_GETEUID], [/* Define to 1 if you have the declaration of `geteuid\', and to 0 if you
165080
 
+   don\'t. */
165081
 
+@%:@undef HAVE_DECL_GETEUID])
165082
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETLOGIN])
165083
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_DECL_GETLOGIN$])
165084
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_DECL_GETLOGIN], [/* Define to 1 if you have the declaration of `getlogin\', and to 0 if you
165085
 
+   don\'t. */
165086
 
+@%:@undef HAVE_DECL_GETLOGIN])
165087
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETUID])
165088
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_DECL_GETUID$])
165089
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_DECL_GETUID], [/* Define to 1 if you have the declaration of `getuid\', and to 0 if you don\'t.
165090
 
+   */
165091
 
+@%:@undef HAVE_DECL_GETUID])
165092
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([PREFER_NONREENTRANT_EUIDACCESS])
165093
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^PREFER_NONREENTRANT_EUIDACCESS$])
165094
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([PREFER_NONREENTRANT_EUIDACCESS], [/* Define this if you prefer euidaccess to return the correct result even if
165095
 
+   this would make it nonreentrant. Define this only if your entire
165096
 
+   application is safe even if the uid or gid might temporarily change. If
165097
 
+   your application uses signal handlers or threads it is probably not safe.
165098
 
+   */
165099
 
+@%:@undef PREFER_NONREENTRANT_EUIDACCESS])
165100
 
+m4trace:configure.ac:46: -1- AC_LIBSOURCE([euidaccess-stat.c])
165101
 
+m4trace:configure.ac:46: -1- AC_LIBSOURCE([euidaccess-stat.h])
165102
 
+m4trace:configure.ac:46: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS euidaccess-stat.$ac_objext"])
165103
 
+m4trace:configure.ac:46: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
165104
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^LIB@&t@OBJS$])
165105
 
+m4trace:configure.ac:46: -1- AC_LIBSOURCE([euidaccess-stat.c])
165106
 
+m4trace:configure.ac:46: -1- AC_LIBSOURCE([fd-reopen.c])
165107
 
+m4trace:configure.ac:46: -1- AC_LIBSOURCE([fd-reopen.h])
165108
 
+m4trace:configure.ac:46: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS fd-reopen.$ac_objext"])
165109
 
+m4trace:configure.ac:46: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
165110
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^LIB@&t@OBJS$])
165111
 
+m4trace:configure.ac:46: -1- AC_LIBSOURCE([fd-reopen.c])
165112
 
+m4trace:configure.ac:46: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
165113
 
+You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
165114
 
+m4/xattr.m4:12: gl_FUNC_XATTR is expanded from...
165115
 
+m4/prereq.m4:28: gl_PREREQ is expanded from...
165116
 
+m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
165117
 
+configure.ac:46: the top level])
165118
 
+m4trace:configure.ac:46: -1- AC_SUBST([LIB_XATTR])
165119
 
+m4trace:configure.ac:46: -1- AC_SUBST_TRACE([LIB_XATTR])
165120
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^LIB_XATTR$])
165121
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_ATTR_ERROR_CONTEXT_H], [/* Define to 1 if you have the <attr/error_context.h> header file. */
165122
 
+@%:@undef HAVE_ATTR_ERROR_CONTEXT_H])
165123
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_ATTR_LIBATTR_H], [/* Define to 1 if you have the <attr/libattr.h> header file. */
165124
 
+@%:@undef HAVE_ATTR_LIBATTR_H])
165125
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_ATTR_COPY_FILE], [/* Define to 1 if you have the `attr_copy_file\' function. */
165126
 
+@%:@undef HAVE_ATTR_COPY_FILE])
165127
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ATTR_COPY_FILE])
165128
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_ATTR_COPY_FILE$])
165129
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([USE_XATTR])
165130
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^USE_XATTR$])
165131
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([USE_XATTR], [/* Define if you want extended attribute support. */
165132
 
+@%:@undef USE_XATTR])
165133
 
+m4trace:configure.ac:46: -1- AC_LIBSOURCE([xfts.c])
165134
 
+m4trace:configure.ac:46: -1- AC_LIBSOURCE([xfts.h])
165135
 
+m4trace:configure.ac:46: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS xfts.$ac_objext"])
165136
 
+m4trace:configure.ac:46: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
165137
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^LIB@&t@OBJS$])
165138
 
+m4trace:configure.ac:46: -1- AC_LIBSOURCE([xfts.c])
165139
 
+m4trace:configure.ac:46: -1- AC_LIBSOURCE([strintcmp.c])
165140
 
+m4trace:configure.ac:46: -1- AC_LIBSOURCE([strnumcmp.h])
165141
 
+m4trace:configure.ac:46: -1- AC_LIBSOURCE([strnumcmp-in.h])
165142
 
+m4trace:configure.ac:46: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS strintcmp.$ac_objext"])
165143
 
+m4trace:configure.ac:46: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
165144
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^LIB@&t@OBJS$])
165145
 
+m4trace:configure.ac:46: -1- AC_LIBSOURCE([strintcmp.c])
165146
 
+m4trace:configure.ac:46: -1- _m4_warn([obsolete], [The macro `AC_INLINE' is obsolete.
165147
 
+You should run autoupdate.], [../../lib/autoconf/oldnames.m4:61: AC_INLINE is expanded from...
165148
 
+m4/strnumcmp.m4:11: gl_STRINTCMP is expanded from...
165149
 
+m4/prereq.m4:28: gl_PREREQ is expanded from...
165150
 
+m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
165151
 
+configure.ac:46: the top level])
165152
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
165153
 
+   calls it, or to nothing if \'inline\' is not supported under any name.  */
165154
 
+#ifndef __cplusplus
165155
 
+#undef inline
165156
 
+#endif])
165157
 
+m4trace:configure.ac:46: -1- AC_LIBSOURCE([strnumcmp.c])
165158
 
+m4trace:configure.ac:46: -1- AC_LIBSOURCE([strnumcmp.h])
165159
 
+m4trace:configure.ac:46: -1- AC_LIBSOURCE([strnumcmp-in.h])
165160
 
+m4trace:configure.ac:46: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS strnumcmp.$ac_objext"])
165161
 
+m4trace:configure.ac:46: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
165162
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^LIB@&t@OBJS$])
165163
 
+m4trace:configure.ac:46: -1- AC_LIBSOURCE([strnumcmp.c])
165164
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([ARGMATCH_DIE])
165165
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^ARGMATCH_DIE$])
165166
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([ARGMATCH_DIE], [/* Define to the function xargmatch calls on failures. */
165167
 
+@%:@undef ARGMATCH_DIE])
165168
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([ARGMATCH_DIE_DECL])
165169
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^ARGMATCH_DIE_DECL$])
165170
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([ARGMATCH_DIE_DECL], [/* Define to the declaration of the xargmatch failure function. */
165171
 
+@%:@undef ARGMATCH_DIE_DECL])
165172
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_DIRECTIO], [/* Define to 1 if you have the `directio\' function. */
165173
 
+@%:@undef HAVE_DIRECTIO])
165174
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_MATCHPATHCON_INIT_PREFIX], [/* Define to 1 if you have the `matchpathcon_init_prefix\' function. */
165175
 
+@%:@undef HAVE_MATCHPATHCON_INIT_PREFIX])
165176
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MATCHPATHCON_INIT_PREFIX])
165177
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_MATCHPATHCON_INIT_PREFIX$])
165178
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_NL_LANGINFO], [/* Define to 1 if you have the `nl_langinfo\' function. */
165179
 
+@%:@undef HAVE_NL_LANGINFO])
165180
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_SETRLIMIT], [/* Define to 1 if you have the `setrlimit\' function. */
165181
 
+@%:@undef HAVE_SETRLIMIT])
165182
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_INOTIFY_INIT], [/* Define to 1 if you have the `inotify_init\' function. */
165183
 
+@%:@undef HAVE_INOTIFY_INIT])
165184
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INOTIFY_INIT])
165185
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_INOTIFY_INIT$])
165186
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INOTIFY])
165187
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_INOTIFY$])
165188
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_INOTIFY], [/* Define to 1 if you have usable inotify support. */
165189
 
+@%:@undef HAVE_INOTIFY])
165190
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_ENDGRENT], [/* Define to 1 if you have the `endgrent\' function. */
165191
 
+@%:@undef HAVE_ENDGRENT])
165192
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_ENDPWENT], [/* Define to 1 if you have the `endpwent\' function. */
165193
 
+@%:@undef HAVE_ENDPWENT])
165194
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_FCHOWN], [/* Define to 1 if you have the `fchown\' function. */
165195
 
+@%:@undef HAVE_FCHOWN])
165196
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_FCHMOD], [/* Define to 1 if you have the `fchmod\' function. */
165197
 
+@%:@undef HAVE_FCHMOD])
165198
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_FTRUNCATE], [/* Define to 1 if you have the `ftruncate\' function. */
165199
 
+@%:@undef HAVE_FTRUNCATE])
165200
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_ISWSPACE], [/* Define to 1 if you have the `iswspace\' function. */
165201
 
+@%:@undef HAVE_ISWSPACE])
165202
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_MKFIFO], [/* Define to 1 if you have the `mkfifo\' function. */
165203
 
+@%:@undef HAVE_MKFIFO])
165204
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_MBRLEN], [/* Define to 1 if you have the `mbrlen\' function. */
165205
 
+@%:@undef HAVE_MBRLEN])
165206
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_SETGROUPS], [/* Define to 1 if you have the `setgroups\' function. */
165207
 
+@%:@undef HAVE_SETGROUPS])
165208
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_SETHOSTNAME], [/* Define to 1 if you have the `sethostname\' function. */
165209
 
+@%:@undef HAVE_SETHOSTNAME])
165210
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_SIGINTERRUPT], [/* Define to 1 if you have the `siginterrupt\' function. */
165211
 
+@%:@undef HAVE_SIGINTERRUPT])
165212
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_SYNC], [/* Define to 1 if you have the `sync\' function. */
165213
 
+@%:@undef HAVE_SYNC])
165214
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_SYSCTL], [/* Define to 1 if you have the `sysctl\' function. */
165215
 
+@%:@undef HAVE_SYSCTL])
165216
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_SYSINFO], [/* Define to 1 if you have the `sysinfo\' function. */
165217
 
+@%:@undef HAVE_SYSINFO])
165218
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_TCGETPGRP], [/* Define to 1 if you have the `tcgetpgrp\' function. */
165219
 
+@%:@undef HAVE_TCGETPGRP])
165220
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_OS_H], [/* Define to 1 if you have the <OS.h> header file. */
165221
 
+@%:@undef HAVE_OS_H])
165222
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
165223
 
+@%:@undef HAVE_NETINET_IN_H])
165224
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
165225
 
+@%:@undef HAVE_SYS_PARAM_H])
165226
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_SYS_VFS_H], [/* Define to 1 if you have the <sys/vfs.h> header file. */
165227
 
+@%:@undef HAVE_SYS_VFS_H])
165228
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_NFS_VFS_H], [/* Define to 1 if you have the <nfs/vfs.h> header file. */
165229
 
+@%:@undef HAVE_NFS_VFS_H])
165230
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NFS_VFS_H])
165231
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_NFS_VFS_H$])
165232
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_NFS_NFS_CLIENT_H], [/* Define to 1 if you have the <nfs/nfs_client.h> header file. */
165233
 
+@%:@undef HAVE_NFS_NFS_CLIENT_H])
165234
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NFS_NFS_CLIENT_H])
165235
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_NFS_NFS_CLIENT_H$])
165236
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STATVFS_F_BASETYPE])
165237
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_STRUCT_STATVFS_F_BASETYPE$])
165238
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_STRUCT_STATVFS_F_BASETYPE], [/* Define to 1 if `f_basetype\' is a member of `struct statvfs\'. */
165239
 
+@%:@undef HAVE_STRUCT_STATVFS_F_BASETYPE])
165240
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STATVFS_F_FSTYPENAME])
165241
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_STRUCT_STATVFS_F_FSTYPENAME$])
165242
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_STRUCT_STATVFS_F_FSTYPENAME], [/* Define to 1 if `f_fstypename\' is a member of `struct statvfs\'. */
165243
 
+@%:@undef HAVE_STRUCT_STATVFS_F_FSTYPENAME])
165244
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STATVFS_F_TYPE])
165245
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_STRUCT_STATVFS_F_TYPE$])
165246
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_STRUCT_STATVFS_F_TYPE], [/* Define to 1 if `f_type\' is a member of `struct statvfs\'. */
165247
 
+@%:@undef HAVE_STRUCT_STATVFS_F_TYPE])
165248
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STATVFS_F_NAMEMAX])
165249
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_STRUCT_STATVFS_F_NAMEMAX$])
165250
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_STRUCT_STATVFS_F_NAMEMAX], [/* Define to 1 if `f_namemax\' is a member of `struct statvfs\'. */
165251
 
+@%:@undef HAVE_STRUCT_STATVFS_F_NAMEMAX])
165252
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([STRUCT_STATVFS_F_FSID_IS_INTEGER])
165253
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^STRUCT_STATVFS_F_FSID_IS_INTEGER$])
165254
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([STRUCT_STATVFS_F_FSID_IS_INTEGER], [/* Define to 1 if the f_fsid member of struct statvfs is an integer. */
165255
 
+@%:@undef STRUCT_STATVFS_F_FSID_IS_INTEGER])
165256
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STATFS_F_NAMELEN])
165257
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_STRUCT_STATFS_F_NAMELEN$])
165258
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_STRUCT_STATFS_F_NAMELEN], [/* Define to 1 if `f_namelen\' is a member of `struct statfs\'. */
165259
 
+@%:@undef HAVE_STRUCT_STATFS_F_NAMELEN])
165260
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STATFS_F_TYPE])
165261
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_STRUCT_STATFS_F_TYPE$])
165262
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_STRUCT_STATFS_F_TYPE], [/* Define to 1 if `f_type\' is a member of `struct statfs\'. */
165263
 
+@%:@undef HAVE_STRUCT_STATFS_F_TYPE])
165264
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([STRUCT_STATFS_F_FSID_IS_INTEGER])
165265
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^STRUCT_STATFS_F_FSID_IS_INTEGER$])
165266
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([STRUCT_STATFS_F_FSID_IS_INTEGER], [/* Define to 1 if the f_fsid member of struct statfs is an integer. */
165267
 
+@%:@undef STRUCT_STATFS_F_FSID_IS_INTEGER])
165268
 
+m4trace:configure.ac:46: -1- AC_SUBST([LIB_FDATASYNC])
165269
 
+m4trace:configure.ac:46: -1- AC_SUBST_TRACE([LIB_FDATASYNC])
165270
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^LIB_FDATASYNC$])
165271
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FDATASYNC])
165272
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_DECL_FDATASYNC$])
165273
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_DECL_FDATASYNC], [/* Define to 1 if you have the declaration of `fdatasync\', and to 0 if you
165274
 
+   don\'t. */
165275
 
+@%:@undef HAVE_DECL_FDATASYNC])
165276
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_FDATASYNC], [/* Define to 1 if you have the `fdatasync\' function. */
165277
 
+@%:@undef HAVE_FDATASYNC])
165278
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FDATASYNC])
165279
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_FDATASYNC$])
165280
 
+m4trace:configure.ac:46: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
165281
 
+You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
165282
 
+m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
165283
 
+configure.ac:46: the top level])
165284
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CAP])
165285
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^HAVE_CAP$])
165286
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([HAVE_CAP], [/* libcap usability */
165287
 
+@%:@undef HAVE_CAP])
165288
 
+m4trace:configure.ac:46: -1- AC_SUBST([LIB_CAP])
165289
 
+m4trace:configure.ac:46: -1- AC_SUBST_TRACE([LIB_CAP])
165290
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^LIB_CAP$])
165291
 
+m4trace:configure.ac:46: -1- AC_SUBST([SEQ_LIBM])
165292
 
+m4trace:configure.ac:46: -1- AC_SUBST_TRACE([SEQ_LIBM])
165293
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^SEQ_LIBM$])
165294
 
+m4trace:configure.ac:46: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
165295
 
+You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
165296
 
+m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
165297
 
+configure.ac:46: the top level])
165298
 
+m4trace:configure.ac:46: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
165299
 
+You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
165300
 
+../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
165301
 
+../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
165302
 
+../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
165303
 
+../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
165304
 
+m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
165305
 
+configure.ac:46: the top level])
165306
 
+m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([TTY_GROUP_NAME])
165307
 
+m4trace:configure.ac:46: -1- m4_pattern_allow([^TTY_GROUP_NAME$])
165308
 
+m4trace:configure.ac:46: -1- AH_OUTPUT([TTY_GROUP_NAME], [/* group used by system for TTYs */
165309
 
+@%:@undef TTY_GROUP_NAME])
165310
 
+m4trace:configure.ac:60: -1- AC_SUBST([WERROR_CFLAGS])
165311
 
+m4trace:configure.ac:60: -1- AC_SUBST_TRACE([WERROR_CFLAGS])
165312
 
+m4trace:configure.ac:60: -1- m4_pattern_allow([^WERROR_CFLAGS$])
165313
 
+m4trace:configure.ac:61: -1- AC_SUBST([WERROR_CFLAGS])
165314
 
+m4trace:configure.ac:61: -1- AC_SUBST_TRACE([WERROR_CFLAGS])
165315
 
+m4trace:configure.ac:61: -1- m4_pattern_allow([^WERROR_CFLAGS$])
165316
 
+m4trace:configure.ac:115: -1- AC_SUBST([WARN_CFLAGS])
165317
 
+m4trace:configure.ac:115: -1- AC_SUBST_TRACE([WARN_CFLAGS])
165318
 
+m4trace:configure.ac:115: -1- m4_pattern_allow([^WARN_CFLAGS$])
165319
 
+m4trace:configure.ac:117: -1- AC_DEFINE_TRACE_LITERAL([lint])
165320
 
+m4trace:configure.ac:117: -1- m4_pattern_allow([^lint$])
165321
 
+m4trace:configure.ac:117: -1- AH_OUTPUT([lint], [/* Define to 1 if the compiler is checking for lint. */
165322
 
+@%:@undef lint])
165323
 
+m4trace:configure.ac:118: -1- AC_DEFINE_TRACE_LITERAL([_FORTIFY_SOURCE])
165324
 
+m4trace:configure.ac:118: -1- m4_pattern_allow([^_FORTIFY_SOURCE$])
165325
 
+m4trace:configure.ac:118: -1- AH_OUTPUT([_FORTIFY_SOURCE], [/* enable compile-time and run-time bounds-checking, and some warnings */
165326
 
+@%:@undef _FORTIFY_SOURCE])
165327
 
+m4trace:configure.ac:120: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_PORTCHECK])
165328
 
+m4trace:configure.ac:120: -1- m4_pattern_allow([^GNULIB_PORTCHECK$])
165329
 
+m4trace:configure.ac:120: -1- AH_OUTPUT([GNULIB_PORTCHECK], [/* enable some gnulib portability checks */
165330
 
+@%:@undef GNULIB_PORTCHECK])
165331
 
+m4trace:configure.ac:134: -1- AC_SUBST([GNULIB_WARN_CFLAGS])
165332
 
+m4trace:configure.ac:134: -1- AC_SUBST_TRACE([GNULIB_WARN_CFLAGS])
165333
 
+m4trace:configure.ac:134: -1- m4_pattern_allow([^GNULIB_WARN_CFLAGS$])
165334
 
+m4trace:configure.ac:141: -1- AC_SUBST([GNULIB_TEST_WARN_CFLAGS])
165335
 
+m4trace:configure.ac:141: -1- AC_SUBST_TRACE([GNULIB_TEST_WARN_CFLAGS])
165336
 
+m4trace:configure.ac:141: -1- m4_pattern_allow([^GNULIB_TEST_WARN_CFLAGS$])
165337
 
+m4trace:configure.ac:144: -1- AH_OUTPUT([HAVE_VFORK_H], [/* Define to 1 if you have the <vfork.h> header file. */
165338
 
+@%:@undef HAVE_VFORK_H])
165339
 
+m4trace:configure.ac:144: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VFORK_H])
165340
 
+m4trace:configure.ac:144: -1- m4_pattern_allow([^HAVE_VFORK_H$])
165341
 
+m4trace:configure.ac:144: -1- AH_OUTPUT([HAVE_FORK], [/* Define to 1 if you have the `fork\' function. */
165342
 
+@%:@undef HAVE_FORK])
165343
 
+m4trace:configure.ac:144: -1- AH_OUTPUT([HAVE_VFORK], [/* Define to 1 if you have the `vfork\' function. */
165344
 
+@%:@undef HAVE_VFORK])
165345
 
+m4trace:configure.ac:144: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_VFORK])
165346
 
+m4trace:configure.ac:144: -1- m4_pattern_allow([^HAVE_WORKING_VFORK$])
165347
 
+m4trace:configure.ac:144: -1- AH_OUTPUT([HAVE_WORKING_VFORK], [/* Define to 1 if `vfork\' works. */
165348
 
+@%:@undef HAVE_WORKING_VFORK])
165349
 
+m4trace:configure.ac:144: -1- AC_DEFINE_TRACE_LITERAL([vfork])
165350
 
+m4trace:configure.ac:144: -1- m4_pattern_allow([^vfork$])
165351
 
+m4trace:configure.ac:144: -1- AH_OUTPUT([vfork], [/* Define as `fork\' if `vfork\' does not work. */
165352
 
+@%:@undef vfork])
165353
 
+m4trace:configure.ac:144: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_FORK])
165354
 
+m4trace:configure.ac:144: -1- m4_pattern_allow([^HAVE_WORKING_FORK$])
165355
 
+m4trace:configure.ac:144: -1- AH_OUTPUT([HAVE_WORKING_FORK], [/* Define to 1 if `fork\' works. */
165356
 
+@%:@undef HAVE_WORKING_FORK])
165357
 
+m4trace:configure.ac:147: -1- AH_OUTPUT([HAVE_CHROOT], [/* Define to 1 if you have the `chroot\' function. */
165358
 
+@%:@undef HAVE_CHROOT])
165359
 
+m4trace:configure.ac:147: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CHROOT])
165360
 
+m4trace:configure.ac:147: -1- m4_pattern_allow([^HAVE_CHROOT$])
165361
 
+m4trace:configure.ac:149: -1- AH_OUTPUT([HAVE_GETHOSTID], [/* Define to 1 if you have the `gethostid\' function. */
165362
 
+@%:@undef HAVE_GETHOSTID])
165363
 
+m4trace:configure.ac:149: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTID])
165364
 
+m4trace:configure.ac:149: -1- m4_pattern_allow([^HAVE_GETHOSTID$])
165365
 
+m4trace:configure.ac:152: -1- AC_DEFINE_TRACE_LITERAL([WINSIZE_IN_PTEM])
165366
 
+m4trace:configure.ac:152: -1- m4_pattern_allow([^WINSIZE_IN_PTEM$])
165367
 
+m4trace:configure.ac:152: -1- AH_OUTPUT([WINSIZE_IN_PTEM], [/* Define if sys/ptem.h is required for struct winsize. */
165368
 
+@%:@undef WINSIZE_IN_PTEM])
165369
 
+m4trace:configure.ac:198: -1- AC_DEFINE_TRACE_LITERAL([LOCALTIME_CACHE])
165370
 
+m4trace:configure.ac:198: -1- m4_pattern_allow([^LOCALTIME_CACHE$])
165371
 
+m4trace:configure.ac:198: -1- AH_OUTPUT([LOCALTIME_CACHE], [/* FIXME */
165372
 
+@%:@undef LOCALTIME_CACHE])
165373
 
+m4trace:configure.ac:202: -1- AH_OUTPUT([HAVE_INITGROUPS], [/* Define to 1 if you have the `initgroups\' function. */
165374
 
+@%:@undef HAVE_INITGROUPS])
165375
 
+m4trace:configure.ac:202: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INITGROUPS])
165376
 
+m4trace:configure.ac:202: -1- m4_pattern_allow([^HAVE_INITGROUPS$])
165377
 
+m4trace:configure.ac:204: -1- AH_OUTPUT([HAVE_LIBOS], [/* Define to 1 if you have the `os\' library (-los). */
165378
 
+@%:@undef HAVE_LIBOS])
165379
 
+m4trace:configure.ac:204: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBOS])
165380
 
+m4trace:configure.ac:204: -1- m4_pattern_allow([^HAVE_LIBOS$])
165381
 
+m4trace:configure.ac:207: -1- AH_OUTPUT([HAVE_SYSLOG], [/* Define to 1 if you have the `syslog\' function. */
165382
 
+@%:@undef HAVE_SYSLOG])
165383
 
+m4trace:configure.ac:207: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYSLOG])
165384
 
+m4trace:configure.ac:207: -1- m4_pattern_allow([^HAVE_SYSLOG$])
165385
 
+m4trace:configure.ac:211: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYSLOG])
165386
 
+m4trace:configure.ac:211: -1- m4_pattern_allow([^HAVE_SYSLOG$])
165387
 
+m4trace:configure.ac:211: -1- AH_OUTPUT([HAVE_SYSLOG], [/* FIXME */
165388
 
+@%:@undef HAVE_SYSLOG])
165389
 
+m4trace:configure.ac:227: -1- AH_OUTPUT([HAVE_NICE], [/* Define to 1 if you have the `nice\' function. */
165390
 
+@%:@undef HAVE_NICE])
165391
 
+m4trace:configure.ac:227: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NICE])
165392
 
+m4trace:configure.ac:227: -1- m4_pattern_allow([^HAVE_NICE$])
165393
 
+m4trace:configure.ac:254: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UT_HOST])
165394
 
+m4trace:configure.ac:254: -1- m4_pattern_allow([^HAVE_UT_HOST$])
165395
 
+m4trace:configure.ac:254: -1- AH_OUTPUT([HAVE_UT_HOST], [/* FIXME */
165396
 
+@%:@undef HAVE_UT_HOST])
165397
 
+m4trace:configure.ac:266: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UTMPX_H])
165398
 
+m4trace:configure.ac:266: -1- m4_pattern_allow([^HAVE_UTMPX_H$])
165399
 
+m4trace:configure.ac:266: -1- AH_OUTPUT([HAVE_UTMPX_H], [/* FIXME */
165400
 
+@%:@undef HAVE_UTMPX_H])
165401
 
+m4trace:configure.ac:267: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UT_HOST])
165402
 
+m4trace:configure.ac:267: -1- m4_pattern_allow([^HAVE_UT_HOST$])
165403
 
+m4trace:configure.ac:267: -1- AH_OUTPUT([HAVE_UT_HOST], [/* FIXME */
165404
 
+@%:@undef HAVE_UT_HOST])
165405
 
+m4trace:configure.ac:271: -1- AH_OUTPUT([HAVE_SYSCTL], [/* Define to 1 if you have the `sysctl\' function. */
165406
 
+@%:@undef HAVE_SYSCTL])
165407
 
+m4trace:configure.ac:271: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYSCTL])
165408
 
+m4trace:configure.ac:271: -1- m4_pattern_allow([^HAVE_SYSCTL$])
165409
 
+m4trace:configure.ac:271: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
165410
 
+@%:@undef HAVE_SYS_PARAM_H])
165411
 
+m4trace:configure.ac:271: -1- AH_OUTPUT([HAVE_SYS_SYSCTL_H], [/* Define to 1 if you have the <sys/sysctl.h> header file. */
165412
 
+@%:@undef HAVE_SYS_SYSCTL_H])
165413
 
+m4trace:configure.ac:271: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SYSCTL_H])
165414
 
+m4trace:configure.ac:271: -1- m4_pattern_allow([^HAVE_SYS_SYSCTL_H$])
165415
 
+m4trace:configure.ac:271: -1- AH_OUTPUT([HAVE_UTMP_H], [/* Define to 1 if you have the <utmp.h> header file. */
165416
 
+@%:@undef HAVE_UTMP_H])
165417
 
+m4trace:configure.ac:271: -1- AH_OUTPUT([HAVE_UTMPX_H], [/* Define to 1 if you have the <utmpx.h> header file. */
165418
 
+@%:@undef HAVE_UTMPX_H])
165419
 
+m4trace:configure.ac:271: -1- AH_OUTPUT([HAVE_OS_H], [/* Define to 1 if you have the <OS.h> header file. */
165420
 
+@%:@undef HAVE_OS_H])
165421
 
+m4trace:configure.ac:274: -1- AC_DEFINE_TRACE_LITERAL([GWINSZ_IN_SYS_IOCTL])
165422
 
+m4trace:configure.ac:274: -1- m4_pattern_allow([^GWINSZ_IN_SYS_IOCTL$])
165423
 
+m4trace:configure.ac:274: -1- AH_OUTPUT([GWINSZ_IN_SYS_IOCTL], [/* Define if your system defines TIOCGWINSZ in sys/ioctl.h. */
165424
 
+@%:@undef GWINSZ_IN_SYS_IOCTL])
165425
 
+m4trace:configure.ac:293: -1- AC_DEFINE_TRACE_LITERAL([TERMIOS_NEEDS_XOPEN_SOURCE])
165426
 
+m4trace:configure.ac:293: -1- m4_pattern_allow([^TERMIOS_NEEDS_XOPEN_SOURCE$])
165427
 
+m4trace:configure.ac:293: -1- AH_OUTPUT([TERMIOS_NEEDS_XOPEN_SOURCE], [/* FIXME */
165428
 
+@%:@undef TERMIOS_NEEDS_XOPEN_SOURCE])
165429
 
+m4trace:configure.ac:306: -1- AC_DEFINE_TRACE_LITERAL([HAVE_C_LINE])
165430
 
+m4trace:configure.ac:306: -1- m4_pattern_allow([^HAVE_C_LINE$])
165431
 
+m4trace:configure.ac:306: -1- AH_OUTPUT([HAVE_C_LINE], [/* FIXME */
165432
 
+@%:@undef HAVE_C_LINE])
165433
 
+m4trace:configure.ac:311: -1- AC_DEFINE_TRACE_LITERAL([WINSIZE_IN_PTEM])
165434
 
+m4trace:configure.ac:311: -1- m4_pattern_allow([^WINSIZE_IN_PTEM$])
165435
 
+m4trace:configure.ac:311: -1- AH_OUTPUT([WINSIZE_IN_PTEM], [/* Define if sys/ptem.h is required for struct winsize. */
165436
 
+@%:@undef WINSIZE_IN_PTEM])
165437
 
+m4trace:configure.ac:332: -1- AC_DEFINE_TRACE_LITERAL([GWINSZ_IN_SYS_PTY])
165438
 
+m4trace:configure.ac:332: -1- m4_pattern_allow([^GWINSZ_IN_SYS_PTY$])
165439
 
+m4trace:configure.ac:332: -1- AH_OUTPUT([GWINSZ_IN_SYS_PTY], [/* Define if your system defines TIOCGWINSZ in sys/pty.h. */
165440
 
+@%:@undef GWINSZ_IN_SYS_PTY])
165441
 
+m4trace:configure.ac:337: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRSIGNAL])
165442
 
+m4trace:configure.ac:337: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$])
165443
 
+m4trace:configure.ac:337: -1- AH_OUTPUT([HAVE_DECL_STRSIGNAL], [/* Define to 1 if you have the declaration of `strsignal\', and to 0 if you
165444
 
+   don\'t. */
165445
 
+@%:@undef HAVE_DECL_STRSIGNAL])
165446
 
+m4trace:configure.ac:337: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_SYS_SIGLIST])
165447
 
+m4trace:configure.ac:337: -1- m4_pattern_allow([^HAVE_DECL_SYS_SIGLIST$])
165448
 
+m4trace:configure.ac:337: -1- AH_OUTPUT([HAVE_DECL_SYS_SIGLIST], [/* Define to 1 if you have the declaration of `sys_siglist\', and to 0 if you
165449
 
+   don\'t. */
165450
 
+@%:@undef HAVE_DECL_SYS_SIGLIST])
165451
 
+m4trace:configure.ac:337: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL__SYS_SIGLIST])
165452
 
+m4trace:configure.ac:337: -1- m4_pattern_allow([^HAVE_DECL__SYS_SIGLIST$])
165453
 
+m4trace:configure.ac:337: -1- AH_OUTPUT([HAVE_DECL__SYS_SIGLIST], [/* Define to 1 if you have the declaration of `_sys_siglist\', and to 0 if you
165454
 
+   don\'t. */
165455
 
+@%:@undef HAVE_DECL__SYS_SIGLIST])
165456
 
+m4trace:configure.ac:337: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL___SYS_SIGLIST])
165457
 
+m4trace:configure.ac:337: -1- m4_pattern_allow([^HAVE_DECL___SYS_SIGLIST$])
165458
 
+m4trace:configure.ac:337: -1- AH_OUTPUT([HAVE_DECL___SYS_SIGLIST], [/* Define to 1 if you have the declaration of `__sys_siglist\', and to 0 if you
165459
 
+   don\'t. */
165460
 
+@%:@undef HAVE_DECL___SYS_SIGLIST])
165461
 
+m4trace:configure.ac:341: -1- AH_OUTPUT([HAVE_LIBYPSEC], [/* Define to 1 if you have the `ypsec\' library (-lypsec). */
165462
 
+@%:@undef HAVE_LIBYPSEC])
165463
 
+m4trace:configure.ac:341: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBYPSEC])
165464
 
+m4trace:configure.ac:341: -1- m4_pattern_allow([^HAVE_LIBYPSEC$])
165465
 
+m4trace:configure.ac:341: -1- AH_OUTPUT([HAVE_LIBLDGC], [/* Define to 1 if you have the `ldgc\' library (-lldgc). */
165466
 
+@%:@undef HAVE_LIBLDGC])
165467
 
+m4trace:configure.ac:341: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBLDGC])
165468
 
+m4trace:configure.ac:341: -1- m4_pattern_allow([^HAVE_LIBLDGC$])
165469
 
+m4trace:configure.ac:341: -1- AH_OUTPUT([HAVE_SHADOW_H], [/* Define to 1 if you have the <shadow.h> header file. */
165470
 
+@%:@undef HAVE_SHADOW_H])
165471
 
+m4trace:configure.ac:341: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SHADOW_H])
165472
 
+m4trace:configure.ac:341: -1- m4_pattern_allow([^HAVE_SHADOW_H$])
165473
 
+m4trace:configure.ac:341: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SPWD_SP_PWDP])
165474
 
+m4trace:configure.ac:341: -1- m4_pattern_allow([^HAVE_STRUCT_SPWD_SP_PWDP$])
165475
 
+m4trace:configure.ac:341: -1- AH_OUTPUT([HAVE_STRUCT_SPWD_SP_PWDP], [/* Define to 1 if `sp_pwdp\' is a member of `struct spwd\'. */
165476
 
+@%:@undef HAVE_STRUCT_SPWD_SP_PWDP])
165477
 
+m4trace:configure.ac:341: -1- AH_OUTPUT([HAVE_GETSPNAM], [/* Define to 1 if you have the `getspnam\' function. */
165478
 
+@%:@undef HAVE_GETSPNAM])
165479
 
+m4trace:configure.ac:341: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETSPNAM])
165480
 
+m4trace:configure.ac:341: -1- m4_pattern_allow([^HAVE_GETSPNAM$])
165481
 
+m4trace:configure.ac:341: -1- AC_SUBST([LIB_CRYPT])
165482
 
+m4trace:configure.ac:341: -1- AC_SUBST_TRACE([LIB_CRYPT])
165483
 
+m4trace:configure.ac:341: -1- m4_pattern_allow([^LIB_CRYPT$])
165484
 
+m4trace:configure.ac:342: -1- AC_SUBST([LIB_GMP])
165485
 
+m4trace:configure.ac:342: -1- AC_SUBST_TRACE([LIB_GMP])
165486
 
+m4trace:configure.ac:342: -1- m4_pattern_allow([^LIB_GMP$])
165487
 
+m4trace:configure.ac:342: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GMP])
165488
 
+m4trace:configure.ac:342: -1- m4_pattern_allow([^HAVE_GMP$])
165489
 
+m4trace:configure.ac:342: -1- AH_OUTPUT([HAVE_GMP], [/* Define if you have GNU libgmp (or replacement) */
165490
 
+@%:@undef HAVE_GMP])
165491
 
+m4trace:configure.ac:420: -1- AC_SUBST([INSTALL_SU])
165492
 
+m4trace:configure.ac:420: -1- AC_SUBST_TRACE([INSTALL_SU])
165493
 
+m4trace:configure.ac:420: -1- m4_pattern_allow([^INSTALL_SU$])
165494
 
+m4trace:configure.ac:438: -1- AC_SUBST([OPTIONAL_BIN_PROGS])
165495
 
+m4trace:configure.ac:438: -1- AC_SUBST_TRACE([OPTIONAL_BIN_PROGS])
165496
 
+m4trace:configure.ac:438: -1- m4_pattern_allow([^OPTIONAL_BIN_PROGS$])
165497
 
+m4trace:configure.ac:440: -1- AC_SUBST([OPTIONAL_PKGLIB_PROGS])
165498
 
+m4trace:configure.ac:440: -1- AC_SUBST_TRACE([OPTIONAL_PKGLIB_PROGS])
165499
 
+m4trace:configure.ac:440: -1- m4_pattern_allow([^OPTIONAL_PKGLIB_PROGS$])
165500
 
+m4trace:configure.ac:442: -1- AC_SUBST([NO_INSTALL_PROGS_DEFAULT])
165501
 
+m4trace:configure.ac:442: -1- AC_SUBST_TRACE([NO_INSTALL_PROGS_DEFAULT])
165502
 
+m4trace:configure.ac:442: -1- m4_pattern_allow([^NO_INSTALL_PROGS_DEFAULT$])
165503
 
+m4trace:configure.ac:444: -1- AM_CONDITIONAL([CROSS_COMPILING], [test "$cross_compiling" = yes])
165504
 
+m4trace:configure.ac:444: -1- AC_SUBST([CROSS_COMPILING_TRUE])
165505
 
+m4trace:configure.ac:444: -1- AC_SUBST_TRACE([CROSS_COMPILING_TRUE])
165506
 
+m4trace:configure.ac:444: -1- m4_pattern_allow([^CROSS_COMPILING_TRUE$])
165507
 
+m4trace:configure.ac:444: -1- AC_SUBST([CROSS_COMPILING_FALSE])
165508
 
+m4trace:configure.ac:444: -1- AC_SUBST_TRACE([CROSS_COMPILING_FALSE])
165509
 
+m4trace:configure.ac:444: -1- m4_pattern_allow([^CROSS_COMPILING_FALSE$])
165510
 
+m4trace:configure.ac:444: -1- _AM_SUBST_NOTMAKE([CROSS_COMPILING_TRUE])
165511
 
+m4trace:configure.ac:444: -1- _AM_SUBST_NOTMAKE([CROSS_COMPILING_FALSE])
165512
 
+m4trace:configure.ac:449: -1- AC_SUBST([CONFIG_STATUS_DEPENDENCIES])
165513
 
+m4trace:configure.ac:449: -1- AC_SUBST_TRACE([CONFIG_STATUS_DEPENDENCIES])
165514
 
+m4trace:configure.ac:449: -1- m4_pattern_allow([^CONFIG_STATUS_DEPENDENCIES$])
165515
 
+m4trace:configure.ac:454: -1- AM_GNU_GETTEXT([external], [need-formatstring-macros])
165516
 
+m4trace:configure.ac:454: -1- AM_NLS
165517
 
+m4trace:configure.ac:454: -1- AC_SUBST([USE_NLS])
165518
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([USE_NLS])
165519
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^USE_NLS$])
165520
 
+m4trace:configure.ac:454: -1- AC_SUBST([GETTEXT_MACRO_VERSION], [0.18])
165521
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([GETTEXT_MACRO_VERSION])
165522
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^GETTEXT_MACRO_VERSION$])
165523
 
+m4trace:configure.ac:454: -1- AC_SUBST([MSGFMT])
165524
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([MSGFMT])
165525
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^MSGFMT$])
165526
 
+m4trace:configure.ac:454: -1- AC_SUBST([GMSGFMT])
165527
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([GMSGFMT])
165528
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^GMSGFMT$])
165529
 
+m4trace:configure.ac:454: -1- AC_SUBST([MSGFMT_015])
165530
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([MSGFMT_015])
165531
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^MSGFMT_015$])
165532
 
+m4trace:configure.ac:454: -1- AC_SUBST([GMSGFMT_015])
165533
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([GMSGFMT_015])
165534
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^GMSGFMT_015$])
165535
 
+m4trace:configure.ac:454: -1- AC_SUBST([XGETTEXT])
165536
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([XGETTEXT])
165537
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^XGETTEXT$])
165538
 
+m4trace:configure.ac:454: -1- AC_SUBST([XGETTEXT_015])
165539
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([XGETTEXT_015])
165540
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^XGETTEXT_015$])
165541
 
+m4trace:configure.ac:454: -1- AC_SUBST([MSGMERGE])
165542
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([MSGMERGE])
165543
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^MSGMERGE$])
165544
 
+m4trace:configure.ac:454: -1- AC_SUBST([localedir])
165545
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([localedir])
165546
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^localedir$])
165547
 
+m4trace:configure.ac:454: -1- AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
165548
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([XGETTEXT_EXTRA_OPTIONS])
165549
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^XGETTEXT_EXTRA_OPTIONS$])
165550
 
+m4trace:configure.ac:454: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CFPREFERENCESCOPYAPPVALUE])
165551
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^HAVE_CFPREFERENCESCOPYAPPVALUE$])
165552
 
+m4trace:configure.ac:454: -1- AH_OUTPUT([HAVE_CFPREFERENCESCOPYAPPVALUE], [/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
165553
 
+   the CoreFoundation framework. */
165554
 
+@%:@undef HAVE_CFPREFERENCESCOPYAPPVALUE])
165555
 
+m4trace:configure.ac:454: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CFLOCALECOPYCURRENT])
165556
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^HAVE_CFLOCALECOPYCURRENT$])
165557
 
+m4trace:configure.ac:454: -1- AH_OUTPUT([HAVE_CFLOCALECOPYCURRENT], [/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
165558
 
+   CoreFoundation framework. */
165559
 
+@%:@undef HAVE_CFLOCALECOPYCURRENT])
165560
 
+m4trace:configure.ac:454: -1- AC_SUBST([INTL_MACOSX_LIBS])
165561
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([INTL_MACOSX_LIBS])
165562
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^INTL_MACOSX_LIBS$])
165563
 
+m4trace:configure.ac:454: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ICONV])
165564
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^HAVE_ICONV$])
165565
 
+m4trace:configure.ac:454: -1- AH_OUTPUT([HAVE_ICONV], [/* Define if you have the iconv() function and it works. */
165566
 
+@%:@undef HAVE_ICONV])
165567
 
+m4trace:configure.ac:454: -1- AC_SUBST([LIBICONV])
165568
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([LIBICONV])
165569
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^LIBICONV$])
165570
 
+m4trace:configure.ac:454: -1- AC_SUBST([LTLIBICONV])
165571
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([LTLIBICONV])
165572
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^LTLIBICONV$])
165573
 
+m4trace:configure.ac:454: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_NLS])
165574
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^ENABLE_NLS$])
165575
 
+m4trace:configure.ac:454: -1- AH_OUTPUT([ENABLE_NLS], [/* Define to 1 if translation of program messages to the user\'s native
165576
 
+   language is requested. */
165577
 
+@%:@undef ENABLE_NLS])
165578
 
+m4trace:configure.ac:454: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETTEXT])
165579
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^HAVE_GETTEXT$])
165580
 
+m4trace:configure.ac:454: -1- AH_OUTPUT([HAVE_GETTEXT], [/* Define if the GNU gettext() function is already present or preinstalled. */
165581
 
+@%:@undef HAVE_GETTEXT])
165582
 
+m4trace:configure.ac:454: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DCGETTEXT])
165583
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^HAVE_DCGETTEXT$])
165584
 
+m4trace:configure.ac:454: -1- AH_OUTPUT([HAVE_DCGETTEXT], [/* Define if the GNU dcgettext() function is already present or preinstalled.
165585
 
+   */
165586
 
+@%:@undef HAVE_DCGETTEXT])
165587
 
+m4trace:configure.ac:454: -1- AC_SUBST([INTLLIBS])
165588
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([INTLLIBS])
165589
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^INTLLIBS$])
165590
 
+m4trace:configure.ac:454: -1- AC_SUBST([LIBINTL])
165591
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([LIBINTL])
165592
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^LIBINTL$])
165593
 
+m4trace:configure.ac:454: -1- AC_SUBST([LTLIBINTL])
165594
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([LTLIBINTL])
165595
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^LTLIBINTL$])
165596
 
+m4trace:configure.ac:454: -1- AC_SUBST([POSUB])
165597
 
+m4trace:configure.ac:454: -1- AC_SUBST_TRACE([POSUB])
165598
 
+m4trace:configure.ac:454: -1- m4_pattern_allow([^POSUB$])
165599
 
+m4trace:configure.ac:458: -1- AC_SUBST([LOCALE_FR])
165600
 
+m4trace:configure.ac:458: -1- AC_SUBST_TRACE([LOCALE_FR])
165601
 
+m4trace:configure.ac:458: -1- m4_pattern_allow([^LOCALE_FR$])
165602
 
+m4trace:configure.ac:460: -1- AC_CONFIG_FILES([Makefile
165603
 
+  doc/Makefile
165604
 
+  lib/Makefile
165605
 
+  man/Makefile
165606
 
+  po/Makefile.in
165607
 
+  src/Makefile
165608
 
+  tests/Makefile
165609
 
+  gnulib-tests/Makefile
165610
 
+  ])
165611
 
+m4trace:configure.ac:470: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
165612
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
165613
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^LIB@&t@OBJS$])
165614
 
+m4trace:configure.ac:470: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
165615
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([LTLIBOBJS])
165616
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^LTLIBOBJS$])
165617
 
+m4trace:configure.ac:470: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
165618
 
+m4trace:configure.ac:470: -1- AC_SUBST([am__EXEEXT_TRUE])
165619
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
165620
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
165621
 
+m4trace:configure.ac:470: -1- AC_SUBST([am__EXEEXT_FALSE])
165622
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
165623
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
165624
 
+m4trace:configure.ac:470: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
165625
 
+m4trace:configure.ac:470: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
165626
 
+m4trace:configure.ac:470: -1- AC_SUBST([CONFIG_INCLUDE], [lib/config.h])
165627
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([CONFIG_INCLUDE])
165628
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^CONFIG_INCLUDE$])
165629
 
+m4trace:configure.ac:470: -1- AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
165630
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([gl_LIBOBJS])
165631
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^gl_LIBOBJS$])
165632
 
+m4trace:configure.ac:470: -1- AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
165633
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([gl_LTLIBOBJS])
165634
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^gl_LTLIBOBJS$])
165635
 
+m4trace:configure.ac:470: -1- AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
165636
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([gltests_LIBOBJS])
165637
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^gltests_LIBOBJS$])
165638
 
+m4trace:configure.ac:470: -1- AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
165639
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([gltests_LTLIBOBJS])
165640
 
+m4trace:configure.ac:470: -1- m4_pattern_allow([^gltests_LTLIBOBJS$])
165641
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([top_builddir])
165642
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([top_build_prefix])
165643
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([srcdir])
165644
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([abs_srcdir])
165645
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([top_srcdir])
165646
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([abs_top_srcdir])
165647
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([builddir])
165648
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([abs_builddir])
165649
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([abs_top_builddir])
165650
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([INSTALL])
165651
 
+m4trace:configure.ac:470: -1- AC_SUBST_TRACE([MKDIR_P])
165652
 
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' coreutils-8.13~/configure coreutils-8.13/configure
165653
 
--- coreutils-8.13~/configure   2011-10-01 12:40:00.000000000 -0400
165654
 
+++ coreutils-8.13/configure    2011-10-01 12:40:41.768972570 -0400
165655
 
@@ -25589,9 +25589,16 @@
165656
 
           ;;
165657
 
       esac
165658
 
       ;;
165659
 
+    linux*)
165660
 
+      case "$host_cpu" in
165661
 
+        powerpc*)
165662
 
+          FLOAT_H=float.h
165663
 
+          ;;
165664
 
+      esac
165665
 
+      ;;
165666
 
   esac
165667
 
   case "$host_os" in
165668
 
-    aix* | freebsd*)
165669
 
+    aix* | freebsd* | linux*)
165670
 
       if test -n "$FLOAT_H"; then
165671
 
         REPLACE_FLOAT_LDBL=1
165672
 
       fi
165673
 
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' coreutils-8.13~/lib/float.c coreutils-8.13/lib/float.c
165674
 
--- coreutils-8.13~/lib/float.c 2011-07-08 16:33:25.000000000 -0400
165675
 
+++ coreutils-8.13/lib/float.c  2011-10-01 12:40:16.720723779 -0400
165676
 
@@ -20,7 +20,7 @@
165677
 
 /* Specification.  */
165678
 
 #include <float.h>
165679
 
 
165680
 
-#if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__
165681
 
+#if (defined _ARCH_PPC || defined _POWER) && (defined _AIX || defined __linux__) && (LDBL_MANT_DIG == 106) && defined __GNUC__
165682
 
 const union gl_long_double_union gl_LDBL_MAX =
165683
 
   { { DBL_MAX, DBL_MAX / (double)134217728UL / (double)134217728UL } };
165684
 
 #elif defined __i386__
165685
 
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' coreutils-8.13~/lib/float.in.h coreutils-8.13/lib/float.in.h
165686
 
--- coreutils-8.13~/lib/float.in.h      2011-07-08 16:33:25.000000000 -0400
165687
 
+++ coreutils-8.13/lib/float.in.h       2011-10-01 12:40:16.720723779 -0400
165688
 
@@ -109,7 +109,8 @@
165689
 
 #endif
165690
 
 
165691
 
 /* On AIX 7.1 with gcc 4.2, the values of LDBL_MIN_EXP, LDBL_MIN, LDBL_MAX are
165692
 
-   wrong.  */
165693
 
+   wrong.
165694
 
+   On Linux/PowerPC with gcc 4.4, the value of LDBL_MAX is wrong.  */
165695
 
 #if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__
165696
 
 # undef LDBL_MIN_EXP
165697
 
 # define LDBL_MIN_EXP DBL_MIN_EXP
165698
 
@@ -117,6 +118,8 @@
165699
 
 # define LDBL_MIN_10_EXP DBL_MIN_10_EXP
165700
 
 # undef LDBL_MIN
165701
 
 # define LDBL_MIN 2.22507385850720138309023271733240406422e-308L /* DBL_MIN = 2^-1022 */
165702
 
+#endif
165703
 
+#if (defined _ARCH_PPC || defined _POWER) && (defined _AIX || defined __linux__) && (LDBL_MANT_DIG == 106) && defined __GNUC__
165704
 
 # undef LDBL_MAX
165705
 
 /* LDBL_MAX is represented as { 0x7FEFFFFF, 0xFFFFFFFF, 0x7C8FFFFF, 0xFFFFFFFF }.
165706
 
    It is not easy to define:
165707
 
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' coreutils-8.13~/m4/float_h.m4 coreutils-8.13/m4/float_h.m4
165708
 
--- coreutils-8.13~/m4/float_h.m4       2011-07-08 16:33:25.000000000 -0400
165709
 
+++ coreutils-8.13/m4/float_h.m4        2011-10-01 12:40:16.724723824 -0400
165710
 
@@ -1,4 +1,4 @@
165711
 
-# float_h.m4 serial 7
165712
 
+# float_h.m4 serial 8
165713
 
 dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc.
165714
 
 dnl This file is free software; the Free Software Foundation
165715
 
 dnl gives unlimited permission to copy and/or distribute it,
165716
 
@@ -33,9 +33,16 @@
165717
 
           ;;
165718
 
       esac
165719
 
       ;;
165720
 
+    linux*)
165721
 
+      case "$host_cpu" in
165722
 
+        powerpc*)
165723
 
+          FLOAT_H=float.h
165724
 
+          ;;
165725
 
+      esac
165726
 
+      ;;
165727
 
   esac
165728
 
   case "$host_os" in
165729
 
-    aix* | freebsd*)
165730
 
+    aix* | freebsd* | linux*)
165731
 
       if test -n "$FLOAT_H"; then
165732
 
         REPLACE_FLOAT_LDBL=1
165733
 
       fi